/* Newsreader Display (titles) and Schibsted Grotesk (text), hosted with the page under SIL OFL 1.1. */
@font-face { font-family: 'Newsreader Display'; font-style: normal; font-weight: 300 400; font-display: swap; src: url('fonts/newsreader-display-latin.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Newsreader Display'; font-style: normal; font-weight: 300 400; font-display: swap; src: url('fonts/newsreader-display-latin-ext.woff2') format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Newsreader Display'; font-style: italic; font-weight: 300 400; font-display: swap; src: url('fonts/newsreader-display-italic-latin.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Newsreader Display'; font-style: italic; font-weight: 300 400; font-display: swap; src: url('fonts/newsreader-display-italic-latin-ext.woff2') format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Schibsted Grotesk'; font-style: normal; font-weight: 400 900; font-display: swap; src: url('fonts/schibsted-grotesk-latin.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Schibsted Grotesk'; font-style: normal; font-weight: 400 900; font-display: swap; src: url('fonts/schibsted-grotesk-latin-ext.woff2') format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
:root {
  --paper: #f7f4ef; --ink: #25221f; --wine: #6f2038; --paper-deep: #e9e3d9;
  --line: #c9beb5; --white: #fff; --muted: #665d56;
  --display: 'Newsreader Display', Georgia, serif; --body: 'Schibsted Grotesk', Arial, sans-serif;
  --page-gutter: clamp(22px, 5vw, 80px); --max-width: 1320px;
  --mobile-section-space: 40px; --mobile-title-size: clamp(36px, 9.6vw, 54px); --mobile-anchor-offset: 68px; --mobile-brand-row-height: 60px;
  --scroll-thumb: #847267; --scroll-track: #e9e3d9; --scroll-hover: #6f2038; --scroll-active: #25221f;
  --motion-curve: .2,.65,.3,1; --motion-ease: cubic-bezier(var(--motion-curve));
  --motion-micro: 200ms; --motion-enter: 650ms; --motion-image: 750ms; --motion-stagger: 70ms;
  --motion-distance: 36px; --motion-reveal-distance: 36px; --motion-scroll-factor: 1; --motion-chapter-shift: 28px;
  --chapter-duration: var(--motion-enter);
  --radius-xl: 32px; --radius-lg: 24px; --radius-md: 16px; --radius-sm: 10px; --radius-pill: 999px;
  --card-shadow: 0 1px 2px rgb(37 34 31 / .05), 0 14px 34px rgb(37 34 31 / .08);
}
* { box-sizing: border-box; scrollbar-width: thin; scrollbar-color: var(--scroll-thumb) var(--scroll-track); }
*::-webkit-scrollbar { width: 9px; height: 9px; }
*::-webkit-scrollbar-track { background: var(--scroll-track); }
*::-webkit-scrollbar-thumb { background: var(--scroll-thumb); border: 2px solid var(--scroll-track); border-radius: 9px; }
*::-webkit-scrollbar-thumb:hover { background: var(--scroll-hover); }
*::-webkit-scrollbar-thumb:active { background: var(--scroll-active); }
html { scroll-behavior: smooth; scroll-padding-top: 100px; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 16px/1.65 var(--body); }
body:has(dialog[open]) { overflow: hidden; }
::selection { background: var(--wine); color: var(--paper); }
a { color: inherit; text-decoration: none; cursor: pointer; }
button { font: inherit; cursor: pointer; }
a, button { -webkit-tap-highlight-color: transparent; }
a:active, button:active { opacity: .75; }
:where(a, button, input, select):focus-visible { outline: 2px solid var(--wine); outline-offset: 5px; }
button:disabled { cursor: default; }
img { display: block; max-width: 100%; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { font-family: var(--display); font-weight: 400; line-height: 1; }
em { font-weight: 400; }
section { scroll-margin-top: 16px; }
[hidden] { display: none !important; }
.skip-link { position: fixed; z-index: 100; top: 8px; left: 10px; padding: 10px 16px; background: var(--paper); transform: translateY(-160%); }
.skip-link:focus { transform: none; }
.reading-progress { position: fixed; inset: 0 0 auto; height: 3px; pointer-events: none; z-index: 50; }
.reading-progress span { display: block; height: 100%; background: var(--wine); transform: scaleX(0); transform-origin: left; }
.site-header { height: 84px; display: flex; align-items: center; justify-content: space-between; padding: 0 var(--page-gutter); position: sticky; top: 0; z-index: 10; border-bottom: 1px solid var(--line); background: var(--paper); }
.wordmark { font: 400 30px/1 var(--display); letter-spacing: -.01em; }
.wordmark-dot { color: var(--wine); }
.desktop-nav { display: flex; gap: 34px; font-size: 14px; }
.desktop-nav a { padding: 12px 0; transition: color var(--motion-micro); }
.desktop-nav a:hover { color: var(--wine); }
.desktop-nav a[aria-current="location"] { color: var(--wine); box-shadow: inset 0 -2px var(--wine); }
.menu-button { border: 0; background: none; display: flex; align-items: center; gap: 14px; padding: 12px 0 12px 14px; font-size: 14px; min-height: 48px; }
.menu-lines { width: 22px; height: 10px; border-top: 1px solid; border-bottom: 1px solid; transition: width var(--motion-micro); }
.menu-button:hover .menu-lines { width: 28px; }
.header-actions { display: flex; align-items: center; gap: 16px; }
.hero { position: relative; display: grid; grid-template-columns: 1.15fr 1fr; grid-template-areas: "meta meta" "title media" "bottom bottom"; column-gap: clamp(24px,4vw,64px); align-items: center; padding: 26px var(--page-gutter) 36px; max-width: 1600px; margin: auto; }
.hero-title { grid-area: title; font-size: clamp(100px,13.2vw,200px); letter-spacing: -.055em; position: relative; z-index: 2; line-height: .94; width: 100%; margin: 42px 0; }
.hero-title > span { display: block; }
.hero-title-second { font-size: .84em; margin-left: clamp(12px,2.5vw,40px); white-space: nowrap; }
.hero-title em { color: var(--wine); }
.hero-visual { grid-area: media; margin-top: 30px; }
.hero-media { width: 100%; height: clamp(420px,39vw,560px); }
.hero-media:not(.has-source) { height: clamp(340px,32vw,440px); }
.motion-line { display: block; overflow: clip; padding: .03em .03em .17em 0; margin-bottom: -.17em; }
.motion-line-inner { display: block; }
[data-motion-engine="fallback"] [data-motion],
[data-motion-engine="fallback"] .motion-line-inner,
[data-motion-engine="fallback"] .hero-visual,
[data-motion-engine="fallback"] .hero-bottom { opacity: 1 !important; transform: none !important; translate: none !important; }
.motion-accent { display: inline-block; position: relative; isolation: isolate; }
.motion-accent-mark { position: absolute; z-index: -1; left: 0; right: 0; bottom: .09em; height: .12em; background: var(--wine); opacity: .14; transform-origin: left; pointer-events: none; }
.hero-title .motion-line { padding-bottom: .2em; margin-bottom: -.2em; }
.photo-slot { position: relative; overflow: hidden; background: var(--paper-deep); }
.photo-slot > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity var(--motion-enter) var(--motion-ease); }
.photo-slot.has-photo > img { opacity: 1; }
.photo-slot.has-photo > .photo-empty { opacity: 0; visibility: hidden; }
.photo-empty { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 24px; height: 100%; width: 100%; padding: 30px; color: var(--wine); transition: opacity var(--motion-enter) var(--motion-ease); }
.hero-monogram { border: 1px solid var(--line); }
.hero-monogram > span:first-child { font: italic 400 clamp(170px, 18vw, 290px)/.8 var(--display); letter-spacing: -.12em; padding-right: .08em; }
.photo-empty-caption { font: 400 12px/1.7 var(--body); letter-spacing: .04em; text-align: center; }
.hero-bottom { grid-area: bottom; border-top: 1px solid var(--line); padding-top: 24px; display: flex; align-items: end; justify-content: space-between; gap: 25px; margin-top: 30px; }
.hero-bottom p { font-size: 16px; line-height: 1.6; }
.hero-role { display: block; margin-bottom: 10px; color: var(--wine); font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; }
.scroll-link { display: flex; align-items: center; justify-content: center; gap: 20px; font-size: 14px; min-height: 50px; padding: 12px 20px; border: 1px solid var(--line); transition: color var(--motion-micro), border-color var(--motion-micro); }
.scroll-link:hover { color: var(--wine); border-color: var(--wine); }
.scroll-line { display: block; height: 24px; width: 1px; background: currentColor; position: relative; }
.scroll-line::after { content: ''; position: absolute; bottom: 0; left: -3px; width: 7px; height: 7px; border-right: 1px solid; border-bottom: 1px solid; transform: rotate(45deg); }
.section-pad { padding: 100px var(--page-gutter); }
.eyebrow { display: block; text-transform: uppercase; font-size: 12px; font-weight: 600; letter-spacing: .12em; margin-bottom: 30px; }
.introduction { max-width: var(--max-width); margin: 35px auto 0; border-top: 1px solid var(--line); display: grid; grid-template-columns: 1.25fr 1fr; gap: 45px; }
.introduction .eyebrow { grid-column: 1/-1; margin: 0; }
.introduction h2 { font-size: clamp(45px, 5.6vw, 80px); line-height: 1.04; letter-spacing: -.025em; }
.introduction h2 em { color: var(--wine); }
.hero, .story, .television { overflow: clip; }
.story { background: var(--wine); color: var(--paper); position: relative; }
.story-stage { display: none; }
.has-story .story-stage { display: grid; grid-template-columns: 1fr 1fr; gap: 7vw; align-items: center; position: relative; padding: 60px var(--page-gutter); touch-action: pan-y pinch-zoom; }
.story-stage:focus-visible { outline: 2px solid var(--paper); outline-offset: -8px; }
.story-visual { min-width: 0; }
.story-portrait { position: relative; overflow: hidden; background: var(--paper-deep); height: clamp(440px, 40vw, 560px); user-select: none; cursor: grab; }
.story-portrait:active { cursor: grabbing; }
.story-slide { position: absolute; inset: 0; opacity: 0; visibility: hidden; pointer-events: none; transform: translateX(var(--chapter-offset,var(--motion-chapter-shift))) scale(1.025); transition: opacity var(--chapter-duration) var(--motion-ease), transform var(--chapter-duration) var(--motion-ease), visibility 0s var(--chapter-duration); }
.story-slide.is-active { opacity: 1; visibility: visible; pointer-events: auto; transform: none; transition-delay: 0s; }
.story-empty { align-items: flex-start; padding: 40px; }
.story-empty > span { font: italic 400 clamp(50px, 6vw, 88px)/1.04 var(--display); letter-spacing: -.04em; }
.story-word { position: absolute; z-index: 2; bottom: 20px; left: 25px; color: var(--wine); font: 400 14px/1.4 var(--body); background: var(--paper); padding: 8px 14px; pointer-events: none; }
.story-portrait:not(.has-active-photo) .story-word { display: none; }
.story-caption { position: relative; max-width: 570px; }
.story-caption h2 { font-size: clamp(48px, 5.7vw, 82px); min-height: 2.08em; line-height: 1.04; letter-spacing: -.025em; margin-bottom: 26px; }
.story-caption p { font-size: 16px; min-height: 8em; line-height: 1.65; max-width: 440px; }
.story-caption .eyebrow { margin-bottom: 20px; }
.story-progress { display: flex; gap: 10px; margin-bottom: 30px; }
.story-progress > span { height: 2px; width: 54px; background: rgb(247 244 239 / .3); position: relative; overflow: hidden; }
.story-progress > span::after { content: ''; position: absolute; inset: 0; background: var(--paper); transform: scaleX(0); transform-origin: left; transition: transform var(--motion-enter); }
.story-progress > span.active::after { transform: scaleX(1); }
.chapter-count { display: block; font-size: 12px; margin-top: 20px; opacity: .85; }
.chapter-navigation { display: flex; gap: 12px; margin-top: 18px; align-items: stretch; }
.chapter-navigation button, .chapter-navigation a { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 12px 18px; border: 1px solid rgb(247 244 239 / .5); background: none; color: var(--paper); font-size: 14px; line-height: 1.4; transition: background var(--motion-micro), color var(--motion-micro); }
.chapter-navigation .chapter-primary { flex: 1; background: var(--paper); color: var(--wine); border-color: var(--paper); }
.chapter-navigation button:hover:not(:disabled), .chapter-navigation a:hover { background: var(--white); color: var(--wine); }
.chapter-navigation button:disabled { opacity: .4; }
.chapter-navigation :focus-visible { outline-color: var(--paper); }
.story-chapters { padding: 40px var(--page-gutter); }
.chapter { max-width: 680px; margin: auto; padding: 45px 0; }
.chapter h2 { font-size: clamp(48px, 6vw, 90px); line-height: 1.03; letter-spacing: -.025em; margin-bottom: 28px; }
.chapter p { max-width: 470px; }
.section-heading h2, .books h2, .encounters h2, .contact-section h2 { font-size: clamp(54px, 6.7vw, 96px); line-height: 1.03; letter-spacing: -.035em; }
.section-heading h2 em, .books h2 em, .encounters h2 em { color: var(--wine); }
.television, .books { max-width: 1600px; margin: auto; }
.television { display: grid; grid-template-columns: 1fr 1fr; gap: 36px clamp(40px,7vw,100px); align-items: start; }
.television .section-heading { grid-column: 1; grid-row: 1; }
.tv-image { grid-column: 2; grid-row: 1/span 2; margin: 0; }
.tv-photo { aspect-ratio: 4/5; max-height: 620px; }
.tv-photo:not(.has-source) { aspect-ratio: auto; height: clamp(340px,32vw,460px); }
.tv-empty { align-items: flex-start; justify-content: space-between; padding: 40px; }
.tv-empty > span:first-child { font: 400 clamp(65px, 9vw, 140px)/.95 var(--display); letter-spacing: -.04em; }
.tv-empty .photo-empty-caption { text-align: left; }
.tv-image figcaption { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-top: 22px; color: var(--muted); font-size: 14px; }
.anniversary { color: var(--wine); display: flex; align-items: center; gap: 16px; }
.anniversary strong { font: 400 74px/.85 var(--display); letter-spacing: -.07em; font-variant-numeric: lining-nums; }
.anniversary > span { font-size: 12px; line-height: 1.5; }
.tv-bottom { grid-column: 1; grid-row: 2; display: flex; flex-direction: column; align-items: start; gap: 22px; margin-top: 0; padding-top: 28px; border-top: 1px solid var(--line); }
.tv-bottom p { max-width: 500px; }
.text-link { display: inline-block; font-size: 14px; line-height: 1.6; border-bottom: 1px solid currentColor; padding: 10px 0; transition: color var(--motion-micro); max-width: 100%; }
.text-link:hover { color: var(--wine); }
.quote-section { padding: 95px var(--page-gutter) 105px; text-align: center; background: var(--paper-deep); overflow: clip; }
.quote-rule { display: block; width: min(440px,75%); height: 1px; background: var(--wine); margin: 0 auto 40px; transform-origin: left; }
.quote-line { display: block; }
.quote-section blockquote { margin: 0; }
.quote-section blockquote p { font: 400 clamp(46px, 6.4vw, 90px)/1.07 var(--display); letter-spacing: -.035em; }
.quote-section blockquote em { color: var(--wine); }
.quote-section cite { display: block; font: 400 12px/1.6 var(--body); margin-top: 36px; }
.books-heading{display:flex;justify-content:space-between;gap:40px;align-items:end;margin-bottom:55px}
.books-heading>p{color:var(--muted);max-width:340px;font-size:16px}
.books-navigation{display:flex;justify-content:space-between;align-items:center;gap:16px;margin-bottom:24px;border-top:1px solid var(--line);padding-top:18px}
.books-browse-copy{display:flex;align-items:center;gap:20px;font-size:12px;line-height:1.5}
.books-position{color:var(--wine);font-weight:600;white-space:nowrap}
.book-gallery{position:relative;--books-arrow-size:52px;--books-arrow-outset:26px}
.books-controls{position:absolute;left:0;right:0;top:var(--books-arrow-y,219px);height:var(--books-arrow-size);transform:translateY(-50%);pointer-events:none;z-index:2}
.books-arrow{position:absolute;top:0;display:inline-flex;align-items:center;justify-content:center;width:var(--books-arrow-size);height:var(--books-arrow-size);padding:0;border:1px solid rgb(111 32 56 / .16);border-radius:50%;background:var(--white);color:var(--wine);box-shadow:0 6px 22px rgb(37 34 31 / .09);pointer-events:auto;transition:background var(--motion-micro),color var(--motion-micro),border-color var(--motion-micro),box-shadow var(--motion-micro)}
.books-arrow svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round;transition:translate var(--motion-micro) var(--motion-ease)}
#books-prev{left:calc(-1 * var(--books-arrow-outset))}
#books-next{right:calc(-1 * var(--books-arrow-outset))}
@media(hover:hover){.books-arrow:hover:not(:disabled){background:var(--wine);border-color:var(--wine);color:var(--white);box-shadow:0 8px 24px rgb(111 32 56 / .2)}#books-next:hover svg{translate:2px 0}#books-prev:hover svg{translate:-2px 0}}
.book-track{display:grid;grid-auto-flow:column;grid-auto-columns:calc((100% - 72px)/3);grid-template-columns:none;gap:36px;overflow-x:auto;overscroll-behavior-x:contain;scroll-snap-type:x mandatory;scroll-padding-inline:0;padding:4px 0 18px;user-select:none}
.book-track:focus-visible{outline:2px solid var(--wine);outline-offset:5px}
.book-track.is-dragging{scroll-snap-type:none;scroll-behavior:auto}
.book-card{min-width:0;scroll-snap-align:start}
@media(min-width:701px){.book-card{scroll-snap-align:none}.book-card:nth-child(3n+1){scroll-snap-align:start}}
.book-track .book-button:focus-visible{outline-offset:-3px}
@media(hover:hover){.book-track,.book-track .book-button{cursor:grab}.book-track.is-dragging,.book-track.is-dragging *{cursor:grabbing}}
.book-button{display:flex;flex-direction:column;height:100%;padding:0;background:none;border:0;width:100%;text-align:left;color:var(--ink)}
.book-cover{height:430px;background:var(--paper-deep);display:flex;align-items:center;justify-content:center;overflow:hidden;padding:35px;transition:background var(--motion-micro)}
.book-cover{width:100%;flex-shrink:0}
.book-cover img{width:100%;height:100%;object-fit:contain;transition:transform var(--motion-enter) var(--motion-ease);filter:drop-shadow(4px 8px 7px rgb(37 34 31 / .12))}
.cover-doces{background:#ece8df}
.cover-capacho{background:#eee5e6}
.cover-homens{background:#e5e5e8}
.cover-santas{background:#ede9df}
.cover-somem{background:#ece8d9}
.cover-rafael{background:#e5dfd9}
@media(hover:hover){.book-button:hover .book-cover img{transform:translateY(-7px) rotate(-2deg)}}
.book-kind{display:block;font-size:12px;color:var(--muted);margin-top:24px}
.book-title{display:block;font:400 36px/1.1 var(--display);letter-spacing:-.015em;margin-top:8px;min-height:2.2em}
.book-action{border-top:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;padding:16px 0 5px;font-size:14px;color:var(--wine);width:100%;margin-top:auto;min-height:48px}
.book-action>span{font-size:25px;line-height:1}

.encounters { background: var(--paper-deep); overflow: hidden; display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 5vw; }
.encounters-word { font: italic 400 clamp(90px,13vw,220px)/1 var(--display); letter-spacing: -.08em; color: var(--wine); position: relative; left: -.04em; writing-mode: vertical-rl; transform: rotate(180deg); height: 450px; }
.encounters-content { max-width: 600px; }
.encounters h2 { font-size: clamp(48px,4.9vw,76px); }
.encounters p { max-width: 430px; margin: 30px 0 22px; }
.contact-section { background: var(--wine); color: var(--paper); }
.contact-section h2 { font-size: clamp(64px,8.4vw,130px); }
.contact-section h2 em { color: var(--paper-deep); }
.contact-bottom { display: flex; align-items: end; justify-content: space-between; gap: 30px; margin-top: 50px; }
.contact-bottom p { max-width: 330px; }
.whatsapp-button { display: inline-flex; align-items: center; justify-content: center; gap: 18px; background: var(--paper); color: var(--wine); padding: 20px 35px; font-size: 16px; transition: background var(--motion-micro); min-height: 64px; border: 1px solid var(--paper); }
.whatsapp-button:hover { background: var(--white); }
.whatsapp-button:disabled { opacity: .75; }
.whatsapp-button:disabled:hover { background: var(--paper); }
.whatsapp-button svg { width: 22px; height: 22px; flex-shrink: 0; fill: none; stroke: currentColor; stroke-width: 1.6; }
.contact-section :focus-visible { outline-color: var(--paper); }
.credits-button { border: 0; border-bottom: 1px solid var(--line); padding: 12px 0; font-size: 12px; background: none; color: var(--muted); min-height: 44px; }
.credits-button:hover { color: var(--wine); }
dialog { padding: 0; border: 0; color: var(--paper); background: var(--wine); max-width: 100%; max-height: 100vh; max-height: 100dvh; overscroll-behavior: contain; }
dialog::backdrop { background: rgb(37 34 31 / .45); }
.menu-dialog { width: 100%; height: 100vh; height: 100dvh; margin: 0; overflow: auto; }
.menu-dialog :focus-visible { outline-color: var(--paper); }
.dialog-top { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 20px var(--page-gutter); border-bottom: 1px solid rgb(247 244 239 / .25); font-size: 16px; }
.close-button { color: inherit; border: 0; background: none; padding: 10px 0 10px 12px; font-size: 14px; display: flex; gap: 14px; align-items: center; min-height: 48px; }
.close-button span { font-size: 28px; line-height: 1; }
.close-button:hover { opacity: .65; }
.menu-dialog nav { display: flex; flex-direction: column; padding: 40px var(--page-gutter); gap: 10px; }
.menu-dialog nav a { font: 400 clamp(46px,7vw,90px)/1.1 var(--display); width: fit-content; padding: 8px 0; transition: opacity .18s; }
.menu-dialog nav a:hover { opacity: .65; }
.menu-instagram { display: inline-block; margin: 0 var(--page-gutter) 35px; font-size: 14px; padding: 10px 0; border-bottom: 1px solid rgb(247 244 239 / .5); }
.menu-dialog :focus-visible { outline-color: var(--paper); }
.book-dialog, .credits-dialog { background: var(--paper); color: var(--ink); width: min(930px,calc(100% - 40px)); margin: auto; max-height: calc(100vh - 40px); max-height: calc(100dvh - 40px); overflow: auto; }
.book-dialog .dialog-top, .credits-dialog .dialog-top { padding: 18px 30px; border-color: var(--line); }
.book-dialog .dialog-top { position: sticky; top: 0; z-index: 2; background: var(--paper); }
.book-detail { display: grid; grid-template-columns: 240px 1fr; gap: 45px; padding: 40px; }
.book-detail > img { width: 100%; height: 330px; object-fit: contain; }
.book-detail .book-empty { padding: 22px; }
.book-detail .book-empty > span { font-size: 36px; }
.book-detail h2 { font-size: 50px; line-height: 1.05; letter-spacing: -.02em; margin-bottom: 25px; }
.book-detail .eyebrow { margin-bottom: 20px; }
.book-detail-meta { font-size: 12px; color: var(--muted); margin: 25px 0; }
.book-subtitle { font-size: 18px; color: var(--wine); margin: -12px 0 20px; }
.solid-button { display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 15px 25px; background: var(--wine); color: var(--paper); font-size: 14px; transition: background var(--motion-micro); min-height: 48px; }
.solid-button:hover { background: var(--ink); }
.credits-dialog { max-width: 650px; }
.credits-dialog h2 { font: 400 28px/1.1 var(--display); }
.credits-content { padding: 30px; }
.credits-content p + p { margin-top: 20px; }
.credits-content ul { padding-left: 20px; margin-top: 25px; }
.credits-content li { margin-bottom: 10px; }
.credits-content a { text-decoration: underline; font-size: 14px; }
.credits-content a:hover { color: var(--wine); }
@media (max-width: 1000px) {
  .header-actions { gap: 8px; }
  .desktop-nav { gap: 22px; }
  .book-cover { height: 350px; padding: 22px; }
  .book-track { grid-auto-columns: calc((100% - 44px)/3); gap: 22px; }
  .book-title { font-size: 30px; }
  .book-empty { padding: 22px; }
  .books-heading > p { max-width: 270px; }
  .tv-bottom { align-items: start; flex-direction: column; gap: 18px; }
}
@media (max-width: 700px) {
  :root { --motion-enter: 420ms; --motion-image: 480ms; --motion-stagger: 28ms; --motion-distance: 12px; --motion-reveal-distance: 28px; --motion-scroll-factor: .25; --motion-chapter-shift: 16px; }
  .story-slide { transform: translateX(var(--chapter-offset,var(--motion-chapter-shift))); }
  html { scroll-padding-top: var(--mobile-anchor-offset); }
  .site-header { height: auto; display: grid; grid-template-columns: 1fr auto; grid-template-rows: var(--mobile-brand-row-height) auto; top: calc(-1 * var(--mobile-brand-row-height)); }
  .site-header:has(.wordmark:focus-visible) { top: 0; }
  .site-header .wordmark { grid-column: 1; grid-row: 1; padding: 0; }
  .site-header .header-actions { grid-column: 2; grid-row: 2; margin-left: 8px; border-top: 1px solid var(--line); }
  .menu-button { gap: 0; padding: 10px; min-height: 44px; min-width: 44px; }
  .menu-button > span:first-child { display: none; }
  .wordmark { font-size: 25px; }
  .desktop-nav { display: flex; grid-column: 1; grid-row: 2; justify-content: space-between; gap: 0; border-top: 1px solid var(--line); font-size: 12px; }
  .desktop-nav a { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 8px 6px; }
  .hero { grid-template-columns: minmax(0,1fr); grid-template-areas: "meta" "title" "media" "bottom"; padding-top: 20px; padding-bottom: 32px; scroll-margin-top: var(--mobile-brand-row-height); }
  .hero-title { font-size: clamp(76px,23vw,140px); margin: 24px 0; line-height: .93; }
  .hero-title-second { font-size: .76em; white-space: nowrap; margin-left: 22px; }
  .hero-visual { margin: 0; }
  .hero-media { width: 100%; height: clamp(280px,80vw,420px); }
  .hero-media:not(.has-source) { height: 240px; }
  .hero-monogram > span:first-child { font-size: clamp(150px,44vw,220px); }
  .hero-monogram { gap: 20px; padding: 25px; }
  .hero-bottom { align-items: start; flex-direction: column; gap: 18px; margin-top: 24px; padding-top: 20px; }
  .scroll-link { width: 100%; justify-content: space-between; padding: 12px 18px; }
  .section-pad { padding: var(--mobile-section-space) var(--page-gutter); }
  .eyebrow { margin-bottom: 18px; }
  .introduction { display: block; margin-top: 0; }
  .introduction .eyebrow { margin-bottom: 20px; }
  .introduction h2 { font-size: var(--mobile-title-size); }
  .has-story .story-stage { display: flex; flex-direction: column; gap: 0; padding: 0; align-items: stretch; }
  .story-portrait { height: clamp(220px,64vw,320px); }
  .story-portrait:not(.has-source) { height: 190px; }
  .story-empty { padding: 28px var(--page-gutter); }
  .story-empty > span { font-size: clamp(45px,13vw,68px); }
  .story-word { left: auto; right: 22px; bottom: 18px; font-size: 12px; }
  .story-caption { padding: 22px var(--page-gutter) 24px; max-width: none; }
  .story-caption h2 { font-size: var(--mobile-title-size); margin-bottom: 18px; }
  .story-caption p { min-height: 8.25em; max-width: none; }
  .story-caption .eyebrow { margin-bottom: 15px; }
  .story-progress { margin-bottom: 20px; }
  .story-progress > span { width: 38px; }
  .chapter-count { margin-top: 18px; }
  .chapter-navigation { gap: 10px; margin-top: 16px; }
  .chapter-navigation button, .chapter-navigation a { padding: 12px 14px; }
  .chapter h2 { font-size: 48px; }
  .section-heading h2, .books h2, .encounters h2 { font-size: var(--mobile-title-size); }
  .television { display: block; }
  .tv-image { margin-top: 28px; }
  .tv-bottom { margin-top: 28px; padding-top: 24px; }
  .television .section-heading h2 { font-size: clamp(42px,11vw,64px); }
  .tv-photo { aspect-ratio: 4/3; }
  .tv-photo:not(.has-source) { aspect-ratio: auto; height: 210px; }
  .tv-empty { padding: 28px; }
  .tv-empty > span:first-child { font-size: clamp(58px,18vw,90px); }
  .tv-empty .photo-empty-caption { max-width: 200px; font-size: 12px; }
  .tv-image figcaption { font-size: 12px; gap: 12px; padding-top: 18px; }
  .tv-image figcaption > span:first-child { max-width: 125px; }
  .anniversary strong { font-size: 48px; }
  .anniversary { gap: 10px; }
  .quote-section { padding: var(--mobile-section-space) var(--page-gutter); }
  .quote-section blockquote p { font-size: var(--mobile-title-size); }
  .quote-rule { margin-bottom: 28px; }
  .quote-section cite { max-width: 260px; margin: 24px auto 0; }
  .books-heading { display: block; margin-bottom: 24px; }
  .books-heading > p { margin-top: 20px; max-width: 100%; }
  .books-heading-note { display: none; }
  .books-heading > p br { display: none; }
  .books-navigation { margin-bottom: 20px; padding-top: 16px; }
  .books-browse-copy { flex-direction: column; align-items: start; gap: 4px; }
  .book-gallery { --books-arrow-size:48px; --books-arrow-outset:12px; }
  .book-track { grid-auto-columns: 80%; gap: 20px; }
  .book-card { max-width: none; }
  .book-cover { height: clamp(260px,76vw,340px); aspect-ratio: auto; padding: 12px; }
  .cover-capacho img, .cover-homens img { scale: 1.65; }
  .cover-santas img { scale: 1.25; }
  .book-empty { padding: 26px; }
  .book-empty > span { font-size: 42px; }
  .book-title { min-height: 2.2em; font-size: clamp(26px,7vw,32px); margin: 6px 0 12px; }
  .book-kind { margin-top: 16px; min-height: 3em; line-height: 1.5; }
  .book-action { font-size: 14px; min-height: 44px; padding: 12px 0 2px; gap: 6px; }
  .book-action > span { font-size: 22px; }
  .encounters { display: block; }
  .encounters-word { display: none; }
  .encounters .eyebrow { max-width: 260px; }
  .encounters p { margin-top: 24px; }
  .contact-section h2 { font-size: clamp(48px,13vw,76px); }
  .contact-bottom { display: block; margin-top: 24px; }
  .whatsapp-button { margin-top: 24px; width: 100%; padding: 16px 25px; min-height: 56px; }
  .book-dialog, .credits-dialog { width: calc(100% - 24px); max-height: calc(100vh - 24px); max-height: calc(100dvh - 24px); }
  .book-dialog .dialog-top, .credits-dialog .dialog-top { padding: 12px 20px; }
  .book-detail { display: grid; grid-template-columns: 96px minmax(0,1fr); gap: 16px; padding: 24px 20px; }
  .book-detail > div { display: contents; }
  .book-detail > img { grid-column: 1; grid-row: 1/span 2; height: 150px; width: 100%; margin: 0; }
  .book-detail .eyebrow { grid-column: 2; align-self: end; margin: 0; letter-spacing: .06em; }
  .book-detail h2 { grid-column: 2; font-size: clamp(28px,8vw,36px); margin: 0; align-self: start; }
  .book-detail p, .book-detail .solid-button { grid-column: 1/-1; }
  .book-detail-meta { margin: 4px 0; }
  .book-subtitle { margin: 0; }
  .book-detail .solid-button { width: 100%; }
  .credits-content { padding: 24px 20px; }
  .menu-dialog nav { padding-top: 35px; }
  .menu-dialog nav a { font-size: clamp(36px,11vw,52px); }
}
@media (max-width: 350px) {
  .story-caption p { min-height: 9.9em; }
  .tv-image figcaption { gap: 10px; }
  .chapter-navigation button, .chapter-navigation a { padding-left: 12px; padding-right: 12px; }
  .tv-empty { padding: 22px; }
}
@media (forced-colors: active) {
  * { scrollbar-color: auto; }
  :where(a, button, input, select):focus-visible { outline-color: Highlight; }
  .menu-lines { border-color: ButtonText; }
}

.photo-pending { gap: 16px; padding: 26px; border: 1px dashed var(--line); text-align: center; }
.photo-pending-label { font: 600 12px/1.4 var(--body); text-transform: uppercase; letter-spacing: .1em; }
.photo-pending-note { font: 400 14px/1.6 var(--body); color: var(--muted); max-width: 260px; }
.story-portrait:not(.has-photo) .story-word { display: none; }
@media(max-width:700px) { .photo-pending { gap: 9px; padding: 16px; } .photo-pending-label { letter-spacing: .06em; } .photo-pending-note { font-size: 12px; } }

/* Milestones, press, contact paths and footer */
.milestones { grid-column: 1/-1; display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); margin: 30px 0 0; border-top: 1px solid var(--line); }
.milestone { padding: 30px 30px 0 0; }
.milestone + .milestone { padding-left: 30px; border-left: 1px solid var(--line); }
.milestone dt { font: 400 clamp(64px,7vw,104px)/.9 var(--display); letter-spacing: -.05em; color: var(--wine); font-variant-numeric: lining-nums; }
.milestone dd { margin: 14px 0 0; max-width: 260px; font-size: 14px; line-height: 1.6; color: var(--muted); }
.milestone dd em { font-style: italic; color: var(--ink); }
.press { max-width: 1600px; margin: auto; display: grid; grid-template-columns: minmax(0,.9fr) minmax(0,1.1fr); gap: 40px clamp(40px,7vw,100px); align-items: start; }
.press-heading h2 { font-size: clamp(48px,5.4vw,80px); line-height: 1.03; letter-spacing: -.035em; }
.press-heading h2 em { color: var(--wine); }
.press-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.press-item { border-bottom: 1px solid var(--line); }
.press-item a { display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 10px 24px; padding: 26px 0; transition: color var(--motion-micro); }
.press-source { grid-column: 1/-1; font-size: 12px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--wine); }
.press-title { font: 400 clamp(26px,2.4vw,36px)/1.15 var(--display); letter-spacing: -.015em; }
.press-action { align-self: end; white-space: nowrap; font-size: 14px; border-bottom: 1px solid currentColor; padding-bottom: 2px; }
.press-action { display: inline-flex; align-items: center; gap: 6px; }
@media(hover:hover){ .press-item a:hover { color: var(--wine); } .press-item a:hover .press-action .icon { translate: 2px -2px; } }
.contact-actions { display: flex; flex-direction: column; align-items: stretch; gap: 16px; }
.contact-instagram { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; font-size: 14px; text-align: center; padding: 10px 0; color: var(--paper); opacity: .9; }
.contact-instagram strong { font-weight: 600; border-bottom: 1px solid rgb(247 244 239 / .6); }
.contact-instagram:hover { opacity: 1; }
.site-footer { padding: 56px var(--page-gutter) max(36px,env(safe-area-inset-bottom)); display: grid; grid-template-columns: 1.2fr 1fr auto; gap: 28px 48px; align-items: start; max-width: 1600px; margin: auto; }
.footer-meta { display: flex; flex-direction: column; align-items: start; gap: 4px; font-size: 14px; }
.footer-meta small { margin-top: 12px; }
/* Pending photos read as an intentional editorial frame, while still naming the missing photo. */
.photo-pending { border: 0; box-shadow: inset 0 0 0 1px var(--line); background: linear-gradient(135deg, var(--paper-deep), #e2d9cd); overflow: hidden; }
.photo-pending::before { content: 'S.'; position: absolute; right: -.04em; bottom: -.3em; font: italic 400 clamp(220px,26vw,400px)/1 var(--display); letter-spacing: -.08em; color: var(--wine); opacity: .07; pointer-events: none; }
.photo-pending > * { position: relative; }
@media (max-width: 1000px) {
  .press { grid-template-columns: minmax(0,1fr); }
  .site-footer { grid-template-columns: 1fr 1fr; }
  .footer-meta { grid-column: 1/-1; }
}
@media (max-width: 700px) {
  .hero-role { margin-bottom: 8px; letter-spacing: .08em; }
  .milestones { grid-template-columns: minmax(0,1fr); margin-top: 32px; }
  .milestone, .milestone + .milestone { display: grid; grid-template-columns: 76px minmax(0,1fr); align-items: center; gap: 16px; padding: 18px 0; border-left: 0; border-bottom: 1px solid var(--line); }
  .milestone dt { font-size: 60px; }
  .milestone dd { margin: 0; max-width: none; }
  .press { display: block; }
  .press-heading h2 { font-size: var(--mobile-title-size); }
  .press-list { margin-top: 28px; }
  .press-item a { grid-template-columns: minmax(0,1fr); padding: 22px 0; }
  .press-title { font-size: clamp(24px,6.6vw,30px); }
  .press-action { justify-self: start; }
  .contact-actions { margin-top: 24px; gap: 8px; }
  .contact-actions .whatsapp-button { margin-top: 0; }
  .site-footer { grid-template-columns: minmax(0,1fr); gap: 24px; padding-top: 36px; }
  .photo-pending::before { font-size: 200px; }
}
.not-found { max-width: 900px; margin: auto; min-height: calc(100vh - 84px); min-height: calc(100dvh - 84px); display: flex; flex-direction: column; justify-content: center; align-items: start; gap: 28px; }
.not-found .eyebrow { margin: 0; color: var(--wine); }
.not-found h1 { font-size: clamp(54px,9vw,120px); line-height: 1.02; letter-spacing: -.035em; }
.not-found h1 em { color: var(--wine); }
.not-found p { max-width: 420px; }

/* Quadro a quadro: icons, buttons, frames, pixels, ticker, numbered sections */
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.icon { width: 18px; height: 18px; flex-shrink: 0; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; transition: translate var(--motion-micro) var(--motion-ease); }
.button-solid { border: 0; font-family: inherit; cursor: pointer; position: relative; isolation: isolate; overflow: hidden; display: inline-flex; align-items: center; justify-content: space-between; gap: 18px; min-height: 52px; padding: 14px 22px; background: var(--wine); color: var(--paper); font-size: 14px; font-weight: 600; letter-spacing: .01em; }
.button-solid::before, .scroll-link::before, .whatsapp-button::before { content: ''; position: absolute; inset: 0; z-index: -1; background: var(--ink); transform: scaleX(0); transform-origin: left; transition: transform .45s var(--motion-ease); }
.scroll-link, .whatsapp-button { position: relative; isolation: isolate; overflow: hidden; }
.scroll-link::before { background: var(--wine); }
.whatsapp-button::before { background: var(--white); }
@media(hover:hover){
  .button-solid:hover::before, .scroll-link:hover::before, .whatsapp-button:not(:disabled):hover::before { transform: scaleX(1); }
  .scroll-link:hover { color: var(--paper); border-color: var(--wine); }
  .button-solid:hover .icon, .link-icon:hover .icon, .contact-instagram:hover .icon, .solid-button:hover .icon { translate: 3px -1px; }
}
.button-solid:active, .scroll-link:active, .whatsapp-button:active { transform: scale(.985); }
.link-icon { display: inline-flex; align-items: center; gap: 8px; }
.story-index { display: block; margin-bottom: 22px; font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; opacity: .85; }

/* Viewfinder corners and pixel dissolve */
.frame-corners { position: absolute; z-index: 3; inset: 14px; pointer-events: none; color: var(--wine); }
.photo-slot.has-photo .frame-corners, .story-portrait.has-active-photo .frame-corners { color: var(--paper); }
.frame-corners i { position: absolute; width: 22px; height: 22px; border: 0 solid currentColor; }
.frame-corners i:nth-child(1) { top: 0; left: 0; border-width: 1.5px 0 0 1.5px; }
.frame-corners i:nth-child(2) { top: 0; right: 0; border-width: 1.5px 1.5px 0 0; }
.frame-corners i:nth-child(3) { bottom: 0; left: 0; border-width: 0 0 1.5px 1.5px; }
.frame-corners i:nth-child(4) { bottom: 0; right: 0; border-width: 0 1.5px 1.5px 0; }
.pixel-veil { position: absolute; inset: 0; z-index: 4; display: grid; grid-template-columns: repeat(var(--cols), 1fr); grid-auto-rows: 1fr; pointer-events: none; --reveal: 0; }
.pixel-veil > span { background: var(--paper); opacity: clamp(0, calc((var(--t) - var(--reveal)) * 7 + 1), 1); }
.pixel-veil > span:nth-child(3n) { background: var(--paper-deep); }
.pixel-veil > span:nth-child(7n) { background: var(--line); }
.pixel-veil > span:nth-child(11n) { background: var(--wine); }
.story .pixel-veil > span { background: var(--wine); }
.story .pixel-veil > span:nth-child(3n) { background: #5e1b30; }
.story .pixel-veil > span:nth-child(7n) { background: var(--paper-deep); }

/* Ticker band */
.ticker { overflow: clip; background: var(--wine); color: var(--paper); padding: 16px 0; border-block: 1px solid var(--wine); }
.ticker-row { display: flex; width: max-content; white-space: nowrap; font: italic 400 clamp(30px,4.4vw,64px)/1.15 var(--display); letter-spacing: -.02em; will-change: transform; }
.ticker-row > span { display: inline-flex; align-items: center; }
.ticker-row > span::after { content: ''; width: .22em; height: .22em; margin: 0 .55em; background: currentColor; }
.ticker-row-alt { font: 600 clamp(12px,1.1vw,15px)/2.4 var(--body); font-style: normal; letter-spacing: .14em; text-transform: uppercase; color: rgb(247 244 239 / .78); }
.ticker-row-alt > span::after { width: 5px; height: 5px; margin: 0 22px; }

/* Signature segments */
.segments { max-width: 1600px; margin: auto; }
.segments-heading h2 { font-size: clamp(48px,5.4vw,80px); line-height: 1.03; letter-spacing: -.035em; }
.segments-heading h2 em { color: var(--wine); }

/* Lecture themes */
.themes { list-style: none; margin: 28px 0 0; padding: 0; border-top: 1px solid var(--line); max-width: 560px; }
.themes li { display: flex; align-items: baseline; gap: 18px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.theme-name { font: 400 clamp(28px,2.6vw,38px)/1.1 var(--display); letter-spacing: -.015em; }
.encounters-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 28px; margin-top: 30px; }
.encounters p { margin-bottom: 0; }
.tv-bottom .button-solid { align-self: start; }

/* Desktop section rail with pixel indicators */
.section-rail { display: none; }
@media (min-width: 1180px) {
  .section-rail { position: fixed; z-index: 9; left: 14px; top: 50%; transform: translateY(-50%); display: flex; flex-direction: column; gap: 2px; }
  .section-rail a { display: flex; align-items: center; gap: 10px; min-height: 28px; font-size: 11px; font-weight: 600; letter-spacing: .1em; color: var(--muted); }
  .rail-pixel { width: 7px; height: 7px; border: 1px solid currentColor; transition: background var(--motion-micro), transform var(--motion-micro); }
  .section-rail a { position: relative; }
  .rail-label { position: absolute; left: 100%; margin-left: 8px; padding: 3px 8px; background: var(--paper); color: var(--wine); box-shadow: 0 4px 14px rgb(37 34 31 / .12); white-space: nowrap; opacity: 0; translate: -6px 0; transition: opacity var(--motion-micro), translate var(--motion-micro); text-transform: uppercase; pointer-events: none; }
  .section-rail a:hover .rail-label, .section-rail a:focus-visible .rail-label { opacity: 1; translate: 0 0; }
  .section-rail a[aria-current] { color: var(--wine); }
  .section-rail a[aria-current] .rail-pixel { background: var(--wine); transform: scale(1.3); }
  [data-rail-tone="dark"] .section-rail a { color: rgb(247 244 239 / .75); }
  [data-rail-tone="dark"] .section-rail a[aria-current] { color: var(--paper); }
  [data-rail-tone="dark"] .section-rail a[aria-current] .rail-pixel { background: var(--paper); }
}

/* Mobile dock: one thumb-reach action after the opening */
.mobile-dock { display: none; }
@media (max-width: 700px) {
  .mobile-dock { position: fixed; z-index: 9; left: 12px; right: 12px; bottom: max(12px, env(safe-area-inset-bottom)); display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 58px; padding: 8px 8px 8px 16px; background: var(--ink); color: var(--paper); box-shadow: 0 12px 30px rgb(37 34 31 / .28); transform: translateY(calc(100% + 24px)); transition: transform .4s var(--motion-ease); }
  [data-dock="on"] .mobile-dock { transform: none; }
  .mobile-dock-copy { display: flex; flex-direction: column; min-width: 0; font-size: 12px; line-height: 1.35; }
  .mobile-dock-copy strong { font: 400 20px/1.1 var(--display); }
  .mobile-dock-copy span { opacity: .75; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .mobile-dock-action { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 10px 14px; background: var(--paper); color: var(--wine); font-size: 14px; font-weight: 600; }
  .ticker { padding: 12px 0; }
  .ticker-row { font-size: 30px; }
  .ticker-row-alt { font-size: 11px; }
  .segments-heading h2 { font-size: var(--mobile-title-size); }
  .themes { margin-top: 22px; }
  .theme-name { font-size: 28px; }
  .encounters-actions { flex-direction: column; align-items: stretch; gap: 8px; margin-top: 24px; }
  .encounters-actions .text-link { align-self: start; }
  .tv-bottom .button-solid { align-self: stretch; }
  .button-solid { min-height: 56px; }
  .frame-corners { inset: 10px; }
  .frame-corners i { width: 16px; height: 16px; }
  .story-index { margin-bottom: 16px; }
}
@media (max-width: 350px) { .mobile-dock-copy span { display: none; } }

/* Formas suaves: rounded cards and pill controls, while pixels stay square */
.hero-media, .tv-photo, .story-portrait, .book-cover { border-radius: var(--radius-lg); }
.photo-pending { border-radius: inherit; }
.frame-corners i { width: 26px; height: 26px; }
.frame-corners i:nth-child(1) { border-top-left-radius: 12px; }
.frame-corners i:nth-child(2) { border-top-right-radius: 12px; }
.frame-corners i:nth-child(3) { border-bottom-left-radius: 12px; }
.frame-corners i:nth-child(4) { border-bottom-right-radius: 12px; }
.button-solid, .scroll-link, .whatsapp-button, .solid-button, .chapter-navigation button, .chapter-navigation a { border-radius: var(--radius-pill); }
.button-solid { padding: 14px 18px 14px 24px; }
.button-solid .icon { width: 32px; height: 32px; padding: 7px; border-radius: 50%; background: rgb(247 244 239 / .14); }
.chapter-navigation button, .chapter-navigation a { gap: 10px; }
.chapter-navigation .chapter-primary { justify-content: space-between; padding-left: 22px; padding-right: 18px; }
@media(hover:hover){ .chapter-navigation .chapter-primary:hover .icon { translate: 3px 0; } #chapter-continue:hover .icon { translate: 0 3px; } }
.scroll-link { padding-left: 24px; padding-right: 24px; }
.book-dialog, .credits-dialog { border-radius: var(--radius-lg); }
.book-detail > img { border-radius: var(--radius-sm); }

/* Milestones as soft tiles (information, not buttons) */
.milestones { gap: 12px; border-top: 0; margin-top: 36px; }
.milestone, .milestone + .milestone { padding: 26px 26px 24px; border: 0; border-radius: var(--radius-lg); background: var(--paper-deep); }
.milestone dd { max-width: none; }

/* Quadros: rounded frames with an icon, counter and soft depth */

/* Press: each article is one tappable card with a clear action chip */
.press-list { border-top: 0; display: grid; gap: 12px; }
.press-item { border-bottom: 0; }
.press-item a { padding: 24px 26px; border-radius: var(--radius-lg); background: var(--white); box-shadow: var(--card-shadow); transition: color var(--motion-micro), translate var(--motion-micro) var(--motion-ease), box-shadow var(--motion-micro); }
.press-action { align-self: end; padding: 8px 10px 8px 16px; border: 1px solid var(--line); border-bottom: 1px solid var(--line); border-radius: var(--radius-pill); }
.press-action .icon { width: 26px; height: 26px; padding: 5px; border-radius: 50%; background: var(--paper-deep); color: var(--wine); }
@media(hover:hover){ .press-item a:hover { translate: 0 -3px; box-shadow: 0 2px 4px rgb(37 34 31 / .06), 0 22px 40px rgb(37 34 31 / .12); } }

/* Books: rounded covers and a pill action with a round badge */
.book-action, .book-action > span { font-size: 14px; }
.book-action { border-top: 0; margin-top: auto; padding: 8px 8px 8px 18px; border: 1px solid var(--line); border-radius: var(--radius-pill); min-height: 48px; }
.book-action-badge { display: inline-flex; align-items: center; justify-content: center; width: 32px; height: 32px; border-radius: 50%; background: var(--wine); color: var(--paper); transition: transform var(--motion-micro) var(--motion-ease); }
.book-action-badge svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; }
@media(hover:hover){ .book-button:hover .book-action { border-color: var(--wine); } .book-button:hover .book-action-badge { transform: rotate(90deg); } }

/* Lecture themes as soft tags */
.themes { display: flex; flex-wrap: wrap; gap: 10px; border-top: 0; }
.themes li { gap: 12px; align-items: center; padding: 8px 20px 8px 8px; border: 0; border-radius: var(--radius-pill); background: var(--paper); }
.theme-name { font-size: clamp(22px,2vw,28px); }

/* Contact as a rounded wine card on the page */
.contact-section { margin: 24px var(--page-gutter) 0; border-radius: var(--radius-xl); }

/* Dock and rail */
.mobile-dock { border-radius: var(--radius-pill); }
.mobile-dock-action { border-radius: var(--radius-pill); }
.rail-label { border-radius: var(--radius-pill); }

@media (max-width: 700px) {
  :root { --radius-xl: 26px; --radius-lg: 20px; }
  .has-story .story-stage { padding-top: 16px; }
  .story-portrait { margin: 0 var(--page-gutter); }
  .milestones { margin-top: 28px; gap: 10px; }
  .milestone, .milestone + .milestone { grid-template-columns: 70px minmax(0,1fr); padding: 16px 18px; }
  .press-list { margin-top: 24px; gap: 10px; }
  .press-item a { padding: 20px; }
  .press-action { margin-top: 6px; }
  .book-action { padding: 6px 6px 6px 16px; min-height: 46px; }
  .themes li { padding-right: 16px; }
  .theme-name { font-size: 22px; }
  .contact-section { margin: 16px 12px 0; padding-left: calc(var(--page-gutter) - 12px); padding-right: calc(var(--page-gutter) - 12px); }
  .mobile-dock { padding-left: 20px; }
}

.whatsapp-note { font-size: 12px; text-align: center; opacity: .8; }
.contact-bottom { align-items: end; }

@media (max-width: 700px) {
}

/* Essencial: fewer words, more air */
.hero { grid-template-areas: "title media" "bottom bottom"; padding-top: 40px; }
.hero-role { margin: 0; max-width: 520px; font-size: 13px; line-height: 1.6; }
.hero-bottom { align-items: center; }
.photo-pending { gap: 10px; }
.photo-pending-label { color: var(--wine); }
.photo-pending-note { font-size: 13px; }
.introduction { grid-template-columns: minmax(0,1fr); gap: 36px; }
.introduction h2 { font-size: clamp(52px,6.6vw,104px); max-width: 15ch; }
.milestones { margin-top: 12px; }
.segments-heading h2, .press-heading h2 { max-width: 11ch; }
.books-heading { margin-bottom: 40px; }
.books-navigation { border-top: 0; padding-top: 0; }
.encounters .themes { margin-top: 34px; }
.contact-bottom { margin-top: 40px; }
.whatsapp-note { opacity: .65; }
.site-footer { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 20px 40px; padding-top: 44px; }
.footer-meta { flex-direction: row; align-items: center; flex-wrap: wrap; gap: 6px 28px; }
.footer-meta small { margin: 0; }
@media (max-width: 700px) {
  .hero { grid-template-areas: "title" "media" "bottom"; padding-top: 24px; }
  .hero-media:not(.has-source) { height: 280px; }
  .hero-role { font-size: 12px; }
  .hero-bottom { align-items: stretch; }
  .introduction { gap: 24px; }
  .introduction h2 { font-size: clamp(40px,11vw,58px); }
  .milestones { margin-top: 4px; }
  .books-heading { margin-bottom: 24px; }
  .encounters .themes { margin-top: 24px; }
  .contact-bottom { margin-top: 28px; }
  .site-footer { flex-direction: column; align-items: start; gap: 16px; padding-top: 32px; }
  .footer-meta { flex-direction: column; align-items: start; gap: 2px; }
  .footer-meta small { margin-top: 8px; }
}
.hero-role { display: flex; align-items: center; gap: 14px; color: var(--ink); font-size: 17px; font-weight: 400; letter-spacing: 0; text-transform: none; }
.introduction { border-top: 0; margin-top: 0; }
@media (max-width: 700px) {
  .hero-role { font-size: 15px; letter-spacing: 0; gap: 12px; }
  .milestones { margin-top: 16px; }
}
@media (max-width: 700px) { .segments-heading h2, .press-heading h2 { max-width: none; } }

/* Editorial 2: refined palette, Instrument type, covers and index lists */
:root {
  --paper: #f5f0e8; --paper-deep: #ebe3d7; --ink: #1d1916; --wine: #6a1b33; --line: #d3c7ba; --muted: #6a6159;
  --blush: #ecd8d1; --sand: #e3d6c4; --wine-deep: #4f1325;
  --scroll-track: #ebe3d7;
}
h1, h2, h3 { letter-spacing: -.01em; }
.hero-title { letter-spacing: -.035em; line-height: .9; font-size: clamp(110px,14.5vw,230px); }
.hero-title-second { font-size: .86em; }
.introduction h2, .story-caption h2, .section-heading h2, .books h2, .encounters h2, .contact-section h2, .segments-heading h2, .press-heading h2, .quote-section blockquote p { letter-spacing: -.02em; }
.eyebrow, .ticker-row-alt { font-family: var(--body); }
.icon { stroke-width: 1.4; }
.button-solid .icon { width: 20px; height: 20px; padding: 0; background: none; }
.button-solid { padding: 14px 24px; }

/* Ticker: two rows */
.ticker { padding: 14px 0 10px; }
.ticker-row { font-size: clamp(36px,5vw,76px); line-height: 1.05; }
.ticker-row > span::after { width: .16em; height: .16em; margin: 0 .5em; border-radius: 50%; }
.ticker-row-alt { margin-top: 6px; font-size: clamp(11px,1vw,13px); font-weight: 500; }
.ticker-row-alt > span::after { border-radius: 0; }

/* Milestones: large numerals with hairlines, no tiles */
.milestones { gap: 0; border-top: 1px solid var(--line); }
.milestone, .milestone + .milestone { background: none; border-radius: 0; padding: 28px 28px 6px 0; }
.milestone + .milestone { padding-left: 28px; border-left: 1px solid var(--line); }
.milestone dt { font-size: clamp(84px,10vw,150px); line-height: .85; letter-spacing: -.03em; }
.milestone dd { margin-top: 10px; font-size: 14px; }

/* Quadros: magazine covers */
.segments-heading { display: grid; grid-template-columns: minmax(0,1fr) auto; align-items: end; gap: 24px; }
.segments-heading .eyebrow { grid-column: 1/-1; }
.segments-heading h2 { max-width: none; }
.covers { list-style: none; margin: 48px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 18px; }
.cover { transform-origin: 50% 80%; }
.cover-inner { position: relative; display: flex; flex-direction: column; aspect-ratio: 3/4; padding: 20px 20px 22px; border-radius: 6px; background: var(--wine); color: var(--paper); box-shadow: 0 2px 4px rgb(29 25 22 / .08), 0 24px 44px -18px rgb(29 25 22 / .35); overflow: hidden; transition: transform .5s var(--motion-ease); }
.cover-inner::before { content: ''; position: absolute; inset: 9px; border: 1px solid currentColor; opacity: .22; border-radius: 3px; pointer-events: none; }
.cover:nth-child(2) .cover-inner { background: var(--ink); }
.cover:nth-child(3) .cover-inner { background: var(--blush); color: var(--wine-deep); }
.cover:nth-child(4) .cover-inner { background: var(--sand); color: var(--ink); }
.cover-mast { display: flex; justify-content: space-between; gap: 10px; padding: 4px 6px 12px; border-bottom: 1px solid currentColor; border-color: color-mix(in srgb, currentColor 30%, transparent); font-size: 11px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; }
.cover h3 { margin: auto 0 0; padding: 0 6px; font-size: clamp(44px,4.4vw,74px); line-height: .92; letter-spacing: -.02em; }
.cover h3 em { display: block; font-style: italic; }
.cover p { margin-top: 16px; padding: 14px 6px 0; border-top: 1px solid; border-top-color: color-mix(in srgb, currentColor 30%, transparent); font-size: 14px; line-height: 1.5; opacity: .9; }
@media(hover:hover){ .cover:hover .cover-inner { transform: translateY(-8px) rotate(-1deg); } }
.covers:focus-visible { outline: 2px solid var(--wine); outline-offset: 8px; }

/* Press: editorial index, no boxes */
.press-list { gap: 0; border-top: 1px solid var(--line); }
.press-item { border-bottom: 1px solid var(--line); }
.press-item a { padding: 26px 0; border-radius: 0; background: none; box-shadow: none; transition: opacity var(--motion-micro), color var(--motion-micro); }
.press-title { font-size: clamp(28px,2.6vw,40px); line-height: 1.08; letter-spacing: -.01em; }
.press-action { padding: 0; border: 0; border-radius: 0; gap: 8px; font-weight: 500; }
.press-action .icon { width: 18px; height: 18px; padding: 0; background: none; border-radius: 0; color: currentColor; }
@media(hover:hover){
  .press-list:hover .press-item a { opacity: .45; }
  .press-list:hover .press-item a:hover { opacity: 1; color: var(--wine); translate: none; box-shadow: none; }
}

/* Lecture themes: large serif lines */
.themes { display: block; border-top: 1px solid var(--line); max-width: 640px; }
.themes li { display: flex; align-items: baseline; gap: 18px; padding: 14px 0; border-radius: 0; background: none; border-bottom: 1px solid var(--line); }
.theme-name { font-size: clamp(32px,3.2vw,48px); line-height: 1.05; }

/* Books: plain action line */
.book-action { border: 0; border-top: 1px solid var(--line); border-radius: 0; padding: 14px 0 4px; }
.book-action-icon { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.4; stroke-linecap: round; transition: transform var(--motion-micro) var(--motion-ease); }
@media(hover:hover){ .book-button:hover .book-action-icon { transform: rotate(90deg); } }

@media (max-width: 1000px) {
  .covers { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media (max-width: 700px) {
  .hero-title { font-size: clamp(88px,26vw,150px); }
  .ticker-row { font-size: 38px; }
  .segments-heading { display: block; }
  .covers { display: grid; grid-auto-flow: column; grid-template-columns: none; grid-auto-columns: 74%; gap: 14px; margin: 28px calc(-1 * var(--page-gutter)) 0; padding: 14px var(--page-gutter) 36px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--page-gutter); overscroll-behavior-x: contain; scrollbar-width: none; }
  .covers::-webkit-scrollbar { display: none; }
  .cover { scroll-snap-align: start; }
  .cover h3 { font-size: clamp(46px,14vw,60px); }
  .milestones { border-top: 0; }
  .milestone, .milestone + .milestone { grid-template-columns: 96px minmax(0,1fr); padding: 14px 0; border-left: 0; border-bottom: 1px solid var(--line); }
  .milestone:first-child { border-top: 1px solid var(--line); }
  .milestone dt { font-size: 76px; }
  .milestone dd { margin: 0; }
  .press-item a { padding: 22px 0; }
  .press-title { font-size: clamp(26px,7.4vw,32px); }
  .theme-name { font-size: 32px; }
}
.book-cover { border-radius: 10px; }
@media (max-width: 700px) { .hero-title { font-size: clamp(92px,28vw,150px); } }

/* Personal page: commercial requests point to the commercial page */
.contact-lead { opacity: .8; }
.contact-commercial { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; margin-top: 4px; padding-top: 14px; border-top: 1px solid rgb(245 240 232 / .2); font-size: 13px; letter-spacing: .02em; color: var(--paper); opacity: .75; }
.contact-commercial:hover { opacity: 1; }
.menu-links { display: flex; flex-direction: column; align-items: start; gap: 4px; margin: 0 var(--page-gutter) 35px; }
.menu-links .menu-instagram { display: inline-flex; align-items: center; gap: 8px; margin: 0; }
@media(hover:hover){ .contact-commercial:hover .icon, .menu-links a:hover .icon { translate: 3px -1px; } }


/* Menu: compact on notebook, every item fits the screen */
@media (min-width: 701px) {
  .menu-dialog nav { padding: 44px var(--page-gutter) 28px; gap: 0; max-width: 760px; }
  .menu-dialog nav a { font-size: clamp(30px, 3vw, 44px); line-height: 1.15; padding: 7px 0; transition: opacity .18s, translate .25s var(--motion-ease); }
  .menu-dialog nav a:hover { opacity: 1; translate: 10px 0; }
  .menu-dialog nav:hover a:not(:hover) { opacity: .55; }
}
@media (max-width: 700px) {
  .menu-dialog nav { gap: 2px; }
  .menu-dialog nav a { font-size: clamp(34px,10vw,46px); padding: 6px 0; }
}

/* Redação: Newsreader Display + Schibsted Grotesk */
h1, h2, h3, em { font-weight: 300; }
h1, h2, h3 { letter-spacing: -.015em; }
.hero-title { font-size: clamp(96px,12.4vw,196px); line-height: .9; letter-spacing: -.035em; }
.introduction h2, .story-caption h2, .section-heading h2, .books h2, .encounters h2, .contact-section h2, .segments-heading h2, .press-heading h2 { letter-spacing: -.025em; line-height: 1; }
.quote-section blockquote p { letter-spacing: -.02em; line-height: 1.04; }
.cover h3 { font-weight: 300; letter-spacing: -.025em; line-height: .95; }
.book-title, .theme-name, .press-title { font-weight: 300; letter-spacing: -.01em; }
/* Wordmark: tracked capitals with a wine pixel instead of a full stop */
.wordmark { font: 600 13px/1 var(--body); letter-spacing: .32em; text-transform: uppercase; display: inline-flex; align-items: center; }
.wordmark-dot { display: inline-block; width: 6px; height: 6px; margin-left: .5em; background: var(--wine); font-size: 0; color: transparent; overflow: hidden; }
.site-footer .wordmark { font-size: 13px; }
/* Ticker: calmer and lighter */
.ticker { padding: 18px 0 14px; }
.ticker-row { font-size: clamp(34px,4.2vw,62px); font-style: italic; font-weight: 300; line-height: 1.1; }
.ticker-row > span::after { width: 5px; height: 5px; margin: 0 .7em; border-radius: 0; opacity: .7; }
.ticker-row-alt { margin-top: 12px; padding-top: 12px; border-top: 1px solid rgb(245 240 232 / .18); font: 500 12px/1.6 var(--body); font-style: normal; letter-spacing: .24em; color: rgb(245 240 232 / .7); }
.ticker-row-alt > span::after { width: 4px; height: 4px; margin: 0 26px; }
/* Hero action: a straight arrow */
.scroll-link { gap: 16px; }
.scroll-link .icon { width: 20px; height: 20px; stroke-width: 1.4; }
@media(hover:hover){ .scroll-link:hover .icon { translate: 0 3px; } }
/* Palestras: heading and action on the left, themes on the right */
.encounters { display: block; }
.encounters-content { max-width: 1440px; margin: auto; display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); grid-template-areas: "eyebrow eyebrow" "title themes" "actions themes"; gap: 0 clamp(40px,7vw,110px); align-items: start; }
.encounters-content > .eyebrow { grid-area: eyebrow; }
.encounters-content > h2 { grid-area: title; }
.encounters-content > .themes { grid-area: themes; margin-top: 6px; max-width: none; }
.encounters-content > .encounters-actions { grid-area: actions; align-self: end; }
.encounters h2 { font-size: clamp(46px,5vw,76px); }
/* Book dialog without store buttons */
.book-detail-meta { margin-bottom: 0; }
@media (max-width: 700px) {
  .hero-title { font-size: clamp(78px,23.5vw,124px); }
  .wordmark { font-size: 12px; letter-spacing: .28em; }
  .ticker { padding: 14px 0 12px; }
  .ticker-row { font-size: 32px; }
  .ticker-row-alt { font-size: 11px; letter-spacing: .2em; margin-top: 10px; padding-top: 10px; }
  .ticker-row-alt > span::after { margin: 0 18px; }
  .encounters-content { display: block; }
  .encounters-content > .themes { margin-top: 24px; }
}

.whatsapp-button:disabled { opacity: 1; cursor: default; }

/* Final pass: footer links get a full 44 px touch target; the dock carries the tracked-caps wordmark with its pixel. */
.footer-meta a { display: inline-flex; align-items: center; min-height: 44px; }
@media (max-width: 700px) {
  .mobile-dock-copy strong { display: inline-flex; align-items: center; font: 600 12px/1 var(--body); letter-spacing: .28em; text-transform: uppercase; }
  .mobile-dock-copy strong::after { content: ""; width: 5px; height: 5px; margin-left: .4em; background: var(--blush); }
}

/* Notebook and desktop: sections of the same paper colour sat 200 px apart, which read as empty bands between them.
   Tighter, even spacing keeps the rhythm without blank stretches. */
@media (min-width: 701px) {
  .section-pad { padding-block: clamp(64px, 6vw, 84px); }
  .quote-section { padding-block: clamp(64px, 6vw, 84px); }
}

/* Accessibility pass: each rail number takes the tone of the section behind it (scroll.js), so none is left grey
   on wine; the wordmark link gets a 44 px touch target in the header and the footer. */
@media (min-width: 1180px) {
  .section-rail a[data-tone="dark"] { color: rgb(247 244 239 / .82); }
  .section-rail a[data-tone="dark"][aria-current] { color: var(--paper); }
  .section-rail a[data-tone="dark"][aria-current] .rail-pixel { background: var(--paper); }
  .section-rail a[data-tone="light"] { color: var(--muted); }
  .section-rail a[data-tone="light"][aria-current] { color: var(--wine); }
  .section-rail a[data-tone="light"][aria-current] .rail-pixel { background: var(--wine); }
}
.wordmark { min-height: 44px; }
