/* raphaelaguinaga.com — v13 · one continuous scroll of pitches + Filmografia, Sobre o autor, Outros trabalhos */
:root {
  --ink: #0b0b0d; --ink-2: #131316; --ink-3: #1b1b20; --line: rgba(243, 237, 226, .12);
  --paper: #f3ede2; --soft: #d9d2c5; --muted: #a39d93;
  --gold: #e8b04b; --gold-2: #ffd27a; --ok: #8fd6a4; --busy: #ffb37a;
  --serif: "Fraunces", Georgia, serif; --sans: "Instrument Sans", system-ui, -apple-system, sans-serif;
  --gutter: clamp(20px, 5vw, 72px); --max: 1280px; --bar: 66px; --pbar: 46px;
  --c1: var(--gold); --c2: #120c05;
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { scroll-behavior: auto; -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--bar) + var(--pbar)); }
body { margin: 0; background: var(--ink); color: var(--paper); font: 400 18px/1.6 var(--sans); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img, video { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; color: inherit; }
svg { width: 1em; height: 1em; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 99; background: var(--gold); color: var(--ink); padding: 8px 14px; }
.skip:focus { left: 8px; }
:focus-visible { outline: 2px solid var(--gold-2); outline-offset: 3px; }

/* ---------- type ---------- */
.kicker { display: flex; flex-wrap: wrap; align-items: baseline; gap: .55em; margin: 0 0 18px; font: 600 13px/1.3 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--soft); }
.kicker .num { color: var(--c1); font-size: 15px; }
.kicker .of { color: var(--muted); margin-right: .6em; }
.title { margin: 0; font: 400 clamp(46px, 8.4vw, 124px)/.92 var(--serif); letter-spacing: -.025em; text-wrap: balance; }
.title small { display: block; margin-top: .35em; font: italic 300 .32em/1.15 var(--serif); letter-spacing: 0; color: var(--soft); }
.title small.alt { font: 500 13px/1.3 var(--sans); letter-spacing: .18em; text-transform: uppercase; color: var(--muted); margin-top: 18px; }
.log { margin: 26px 0 0; max-width: 34ch; font: 300 clamp(21px, 2.3vw, 30px)/1.35 var(--serif); color: var(--paper); text-wrap: pretty; }
.label { display: flex; align-items: center; gap: 12px; margin: 0 0 22px; font: 600 12.5px/1 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--c1); }
.label::before { content: ""; width: 28px; height: 1px; background: currentColor; }
.big { margin: 0; font: 400 clamp(30px, 3.6vw, 52px)/1.1 var(--serif); letter-spacing: -.01em; text-wrap: balance; }
.h2 { margin: 0 0 14px; font: 400 clamp(32px, 4vw, 54px)/1.05 var(--serif); }
.lede { font-size: 19px; color: var(--soft); max-width: 52ch; }
.prose p { margin: 0 0 1.1em; font-size: 19px; line-height: 1.7; color: var(--soft); max-width: 62ch; }
.prose-lg p { font: 300 clamp(20px, 1.8vw, 24px)/1.6 var(--serif); color: var(--paper); max-width: 58ch; }
.prose-lg p:first-child::first-letter { float: left; font-size: 3.4em; line-height: .85; padding: .06em .1em 0 0; color: var(--gold); }
.prose b, .timeline b { color: var(--paper); font-weight: 600; }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 50px; padding: 0 24px; border: 0; border-radius: 999px; background: var(--paper); color: var(--ink); font: 600 15.5px/1 var(--sans); text-decoration: none; cursor: pointer; transition: transform .2s, background .2s; }
.btn:hover { background: #fff; transform: translateY(-1px); }
.btn svg { font-size: 19px; }
.btn-ghost { background: rgba(11, 11, 13, .45); color: var(--paper); box-shadow: inset 0 0 0 1px rgba(243, 237, 226, .4); backdrop-filter: blur(6px); }
.btn-ghost:hover { background: rgba(11, 11, 13, .7); }
.btn-block { width: 100%; margin-top: 26px; background: var(--c1); color: #0b0b0d; }
.btn-block:hover { background: var(--paper); }
.chip { display: inline-flex; align-items: center; gap: 6px; min-height: 36px; padding: 0 14px; border: 1px solid var(--line); border-radius: 999px; background: transparent; font: 500 14px/1 var(--sans); color: var(--paper); text-decoration: none; cursor: pointer; }
.chip:hover { border-color: var(--gold); color: var(--gold-2); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; }
.cta-row { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; margin: 34px 0 0; }
.hint { display: inline-flex; align-items: center; gap: 8px; font: 500 14px/1 var(--sans); letter-spacing: .06em; color: var(--soft); text-decoration: none; }
.hint svg { animation: bob 2.2s ease-in-out infinite; }
@keyframes bob { 50% { transform: translateY(4px); } }

/* ---------- top bar ---------- */
.top { position: fixed; inset: 0 0 auto; z-index: 40; height: var(--bar); display: flex; align-items: center; gap: 28px; padding: 0 var(--gutter); background: linear-gradient(rgba(11, 11, 13, .82), rgba(11, 11, 13, 0)); transition: background .3s; }
.top.solid, body:not([data-view="projetos"]) .top.solid { background: rgba(11, 11, 13, .94); backdrop-filter: blur(12px); }
.brand { font: 400 22px/1 var(--serif); letter-spacing: -.01em; text-decoration: none; white-space: nowrap; }
.menu { display: flex; gap: 26px; margin-left: auto; }
.menu a { position: relative; font: 500 14.5px/1 var(--sans); color: var(--soft); text-decoration: none; padding: 8px 0; }
.menu a:hover, .menu a.on { color: var(--paper); }
.menu a.on::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--gold); }
.tools { display: flex; align-items: center; gap: 12px; }
.pill { display: inline-flex; align-items: center; gap: 8px; min-height: 38px; padding: 0 16px; border-radius: 999px; background: var(--gold); color: var(--ink); font: 600 14px/1 var(--sans); text-decoration: none; white-space: nowrap; }
.pill:hover, .pill.on { background: var(--gold-2); }
.lang { font: 600 13px/1 var(--sans); letter-spacing: .1em; color: var(--soft); text-decoration: none; padding: 10px 4px; }
.lang:hover { color: var(--gold-2); }
.burger { display: none; width: 44px; height: 44px; border: 0; background: none; cursor: pointer; }
.burger span { display: block; width: 22px; height: 2px; margin: 5px auto; background: var(--paper); transition: transform .25s, opacity .25s; }

/* ---------- project bar (sticky, projects only) ---------- */
.pbar { position: fixed; top: var(--bar); left: 0; right: 0; z-index: 35; height: var(--pbar); display: flex; align-items: center; gap: 16px; padding: 0 var(--gutter); background: rgba(11, 11, 13, .9); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
body:not(.slate) .pbar { display: none; }
.pbar button { display: inline-flex; align-items: center; gap: 8px; height: 32px; padding: 0 12px; border: 1px solid var(--line); border-radius: 999px; background: none; cursor: pointer; font: 600 13px/1 var(--sans); color: var(--paper); }
.pbar button:hover { border-color: var(--c1); }
.pbar .ix-ico { display: grid; grid-template-columns: repeat(2, 4px); gap: 2px; }
.pbar .ix-ico i { width: 4px; height: 4px; background: currentColor; }
.p-now { flex: 1; min-width: 0; margin: 0; font: 400 17px/1 var(--serif); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.p-now i { font: 600 13px/1 var(--sans); font-style: normal; color: var(--c1); margin-right: 12px; letter-spacing: .08em; }
.p-now i span { color: var(--muted); }
.p-nav { display: flex; gap: 6px; }
.p-nav button { width: 32px; padding: 0; justify-content: center; }
.p-prog { position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: var(--c1); transform-origin: 0 50%; transform: scaleX(0); transition: transform .15s linear, background .4s; }

/* ---------- rail ---------- */
.rail { position: fixed; right: 14px; top: 50%; z-index: 30; transform: translateY(-50%); display: flex; flex-direction: column; gap: 4px; }
.rail a { position: relative; display: flex; align-items: center; justify-content: flex-end; height: 18px; text-decoration: none; }
.rail a i { display: block; width: 7px; height: 7px; border-radius: 50%; background: rgba(243, 237, 226, .35); font-size: 0; transition: all .25s; }
.rail a.on i { height: 18px; border-radius: 4px; background: var(--c1, var(--gold)); }
.rail a span { position: absolute; right: 18px; padding: 5px 10px; border-radius: 6px; background: rgba(11, 11, 13, .92); font: 500 12.5px/1 var(--sans); white-space: nowrap; opacity: 0; transform: translateX(6px); pointer-events: none; transition: all .2s; }
.rail a:hover span { opacity: 1; transform: none; }
.rail a:hover i { background: var(--paper); }

/* ---------- sections ---------- */
main { display: block; }
.view[hidden] { display: none; }
.pg { position: relative; padding: clamp(80px, 11vh, 140px) 0; }
.pg-in { position: relative; z-index: 2; width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.wide-in { max-width: 1520px; }
.sec-dark { background: var(--ink-2); }
.split { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(36px, 6vw, 96px); align-items: center; }
.split-top { align-items: start; margin-top: 90px; }

/* reveal */
.rv { opacity: 0; transform: translateY(26px); transition: opacity .9s cubic-bezier(.2, .7, .2, 1), transform .9s cubic-bezier(.2, .7, .2, 1); }
.rv.in { opacity: 1; transform: none; }
html:not(.ready) .rv { opacity: 1; transform: none; }

/* ---------- PROJECT: cover ---------- */
.proj { position: relative; background: var(--ink); }
.proj + .proj { border-top: 1px solid var(--line); }
.pg-cover { --p: 1; --x: 0; min-height: 100svh; display: flex; align-items: flex-end; padding: calc(var(--bar) + var(--pbar) + 40px) 0 clamp(56px, 10vh, 110px); overflow: hidden; }
.pg-cover .key { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

.shade { position: absolute; inset: 0; z-index: 1; background:
  linear-gradient(90deg, rgba(8, 8, 10, .92) 0%, rgba(8, 8, 10, .74) 34%, rgba(8, 8, 10, .18) 68%, rgba(8, 8, 10, 0) 100%),
  linear-gradient(0deg, rgba(8, 8, 10, .9) 0%, rgba(8, 8, 10, 0) 46%),
  linear-gradient(180deg, rgba(8, 8, 10, .6) 0%, rgba(8, 8, 10, 0) 22%); }
.pg-cover .pg-in { max-width: var(--max); }
.pg-cover .pg-in > * { max-width: 760px; }
.pg-cover .title { text-shadow: 0 2px 40px rgba(0, 0, 0, .5); }
/* poster cover (O Filme da Vida) */
.has-poster .key-blur { filter: blur(40px) brightness(.45) saturate(1.2); transform: scale(1.2); }

.poster-art { position: absolute; z-index: 1; right: max(var(--gutter), calc((100vw - var(--max)) / 2 + var(--gutter))); top: calc(var(--bar) + var(--pbar) + 28px); bottom: 48px; height: calc(100% - var(--bar) - var(--pbar) - 76px); width: auto; aspect-ratio: 2 / 3; object-fit: cover; border-radius: 4px; box-shadow: 0 40px 120px rgba(0, 0, 0, .7); }
.has-poster .shade { background: linear-gradient(90deg, rgba(8, 8, 10, .9) 0%, rgba(8, 8, 10, .55) 50%, rgba(8, 8, 10, 0) 70%); }
.has-poster .pg-in > * { max-width: min(700px, 50%); }
.has-poster .title { font-size: clamp(46px, 6.4vw, 108px); }

/* ---------- PROJECT: proposal ---------- */
.pg-prop { background: var(--ink); }
.pg-prop .big { color: var(--paper); }
.syn { margin: 26px 0 0; font-size: 19.5px; line-height: 1.7; color: var(--soft); max-width: 54ch; }
.tone { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin: 34px 0 0; padding-top: 26px; border-top: 1px solid var(--line); font-size: 16px; line-height: 1.5; color: var(--paper); }
.tone small { display: block; margin-bottom: 6px; font: 600 11.5px/1 var(--sans); letter-spacing: .18em; text-transform: uppercase; color: var(--c1); }
.prop-art { margin: 0; position: relative; }
.prop-art img, .prop-art video { width: 100%; aspect-ratio: 4 / 5; max-height: 78vh; object-fit: cover; border-radius: 4px; background: #000; }
.prop-art video { aspect-ratio: 16 / 9; object-fit: contain; }
.prop-art::after { content: ""; position: absolute; inset: auto -14px -14px auto; width: 40%; height: 40%; border: 1px solid var(--c1); border-radius: 4px; z-index: -1; opacity: .6; }
.prop-art figcaption { margin-top: 12px; font: 500 13px/1.3 var(--sans); color: var(--muted); }

/* ---------- PROJECT: references ---------- */
.pg-refs { background: linear-gradient(180deg, var(--ink) 0%, color-mix(in srgb, var(--c2) 70%, var(--ink)) 100%); }
.refline { max-width: 22ch; }
.refs { list-style: none; margin: 56px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(18px, 3vw, 40px); }
.ref img { width: 100%; aspect-ratio: 2 / 3; object-fit: cover; border-radius: 4px; box-shadow: 0 24px 60px rgba(0, 0, 0, .5); transition: transform .4s; }
.ref:hover img { transform: translateY(-6px); }
.ref-meta { display: block; margin-top: 18px; }
.ref-meta b { display: block; font: 400 23px/1.15 var(--serif); }
.ref-meta span { display: block; margin-top: 6px; font: 500 13.5px/1.3 var(--sans); color: var(--muted); }
.ref-meta em { display: block; margin-top: 10px; font-style: normal; font-size: 16px; line-height: 1.5; color: var(--soft); }

/* ---------- PROJECT: why + fact sheet (solid dark field, large type) ---------- */
.pg-why { background: #08080a; padding-bottom: 0; }
.why-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .9fr); gap: clamp(36px, 6vw, 88px); align-items: start; }
.why-h { margin: 0; font: 400 clamp(34px, 3.8vw, 54px)/1.08 var(--serif); letter-spacing: -.01em; color: #fff; text-wrap: balance; }
.points { list-style: none; margin: 44px 0 0; padding: 0; counter-reset: p; }
.points li { display: grid; grid-template-columns: 56px 1fr; gap: 10px; padding: 24px 0; border-top: 1px solid var(--line); }
.points li span { font: 400 30px/1 var(--serif); color: var(--c1); }
.points li p { margin: 0; font: 400 clamp(19px, 1.6vw, 22px)/1.5 var(--sans); color: #f6f1e8; }
.card { position: sticky; top: calc(var(--bar) + var(--pbar) + 24px); padding: 30px; border-radius: 6px; background: var(--ink-3); box-shadow: inset 0 0 0 1px var(--line); }
.sheet { margin: 0; display: grid; gap: 0; }
.sheet > div { display: grid; grid-template-columns: 118px 1fr; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.sheet > div.wide { grid-template-columns: 1fr; border: 0; padding-bottom: 0; }
.sheet dt { font: 600 11.5px/1.6 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.sheet dd { margin: 0; font-size: 16.5px; line-height: 1.45; }
.sheet dd small { display: block; color: var(--muted); font-size: 14px; }
.sheet dd.hi { font-weight: 600; }
.sheet dd.ok { color: var(--ok); }
.sheet dd.busy { color: var(--busy); }
.card-links { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 16px; margin: 16px 0 0; }
.card-links a, .card-links button { display: inline-flex; align-items: center; gap: 7px; padding: 6px 0; border: 0; background: none; font: 500 14px/1.2 var(--sans); color: var(--soft); text-decoration: none; cursor: pointer; }
.card-links a:hover, .card-links button:hover { color: var(--paper); }
.card-links svg { font-size: 16px; color: var(--c1); }
.track { list-style: none; margin: 8px 0 0; padding: 0; display: grid; grid-template-columns: repeat(var(--n), minmax(0, 1fr)); gap: 4px; }
.track li { position: relative; padding-top: 14px; font: 500 10.5px/1.2 var(--sans); color: var(--muted); }
.track li::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 4px; border-radius: 2px; background: rgba(243, 237, 226, .14); }
.track li.done::before { background: color-mix(in srgb, var(--c1) 55%, transparent); }
.track li.now::before { background: var(--c1); }
.track li.now { color: var(--paper); font-weight: 700; }
.track li span { display: block; overflow: hidden; text-overflow: ellipsis; }
.track li.now span { overflow: visible; width: max-content; max-width: 150px; }
.track li.now:nth-last-child(-n+3) span { margin-left: auto; text-align: right; position: relative; right: 0; }
.track li:not(.now) span { visibility: hidden; }
.next-up { display: flex; align-items: center; gap: 18px; max-width: var(--max); margin: clamp(80px, 12vh, 130px) auto 0; padding: 34px var(--gutter) 40px; border-top: 1px solid var(--line); text-decoration: none; }
.next-up small { font: 600 12px/1.2 var(--sans); letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }
.next-up b { flex: 1; font: 400 clamp(26px, 3vw, 40px)/1.1 var(--serif); }
.next-up svg { font-size: 34px; color: var(--c1); transition: transform .3s; }
.next-up:hover svg { transform: translateY(4px); }

/* ---------- index overlay ---------- */
.ix { position: fixed; inset: 0; z-index: 60; overflow: auto; background: rgba(8, 8, 10, .97); backdrop-filter: blur(10px); padding: calc(var(--bar) + 20px) var(--gutter) 60px; }
.ix[hidden] { display: none; }
.ix-head { display: flex; align-items: center; justify-content: space-between; max-width: var(--max); margin: 0 auto 26px; }
.ix-head h2 { margin: 0; font: 400 34px/1 var(--serif); }
.ix-close { width: 46px; height: 46px; border: 1px solid var(--line); border-radius: 50%; background: none; font-size: 24px; cursor: pointer; }
.ix-filters { max-width: var(--max); margin: 0 auto 18px; }
.ix-filters .chip small { color: var(--muted); font-size: 12px; }
.ix-filters .chip.on { background: var(--paper); color: var(--ink); border-color: var(--paper); }
.ix-filters .chip.on small { color: #5a554d; }
.ix ol li[hidden] { display: none; }
.ix ol { list-style: none; max-width: var(--max); margin: 0 auto; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 0 48px; }
.ix ol a { display: grid; grid-template-columns: 44px 1fr auto 12px; align-items: center; gap: 14px; padding: 18px 0; border-bottom: 1px solid var(--line); text-decoration: none; }
.ix ol a:hover .ix-t { color: var(--c1); }
.ix-n { font: 600 13px/1 var(--sans); color: var(--c1); }
.ix-t { font: 400 24px/1.15 var(--serif); transition: color .2s; }
.ix-g { font: 500 13px/1.2 var(--sans); color: var(--muted); text-align: right; }
.ix ol i { width: 8px; height: 8px; border-radius: 50%; background: var(--ok); }
.ix ol i.busy { background: var(--busy); }
body.ix-open { overflow: hidden; }

/* ---------- FILMOGRAFIA ---------- */
.film-hero .key { object-position: 50% 40%; }
.credit-line { margin: 18px 0 0; font: 500 14px/1.4 var(--sans); letter-spacing: .06em; color: var(--soft); }
.laurels { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 30px 20px; }
.laurel { text-align: center; }
.laurel a { text-decoration: none; display: block; }
.laurel-medal { position: relative; width: 168px; height: 172px; margin: 0 auto; color: var(--gold); display: grid; place-items: center; }
.laurel.sel .laurel-medal { color: var(--soft); }
.wreath { position: absolute; inset: 0; width: 100%; height: 100%; }
.laurel-in { position: relative; display: flex; flex-direction: column; align-items: center; gap: 4px; max-width: 96px; }
.laurel-in small { font: 600 10px/1 var(--sans); letter-spacing: .2em; text-transform: uppercase; }
.laurel-in b { font: 400 19px/1.05 var(--serif); color: var(--paper); }
.laurel-in em { font: 600 12px/1 var(--sans); font-style: normal; color: var(--muted); }
.laurel-fest { margin: 12px auto 0; max-width: 220px; font-size: 14.5px; line-height: 1.4; color: var(--soft); }
.imdb-in { display: flex; flex-direction: column; align-items: center; gap: 6px; width: 136px; height: 136px; justify-content: center; border-radius: 50%; box-shadow: inset 0 0 0 1px rgba(245, 197, 24, .5); }
.imdb-logo { padding: 3px 7px; border-radius: 3px; background: #f5c518; color: #000; font: 800 15px/1 var(--sans); }
.imdb-in b { font: 400 36px/1 var(--serif); color: var(--paper); }
.imdb-in b small { font-size: .45em; color: var(--muted); }
.imdb-in > span:last-child { font: 600 10px/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.nums { list-style: none; margin: 80px 0 0; padding: 40px 0 0; border-top: 1px solid var(--line); display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.nums b { display: block; font: 300 clamp(44px, 5vw, 72px)/1 var(--serif); color: var(--gold); }
.nums span { display: block; margin-top: 10px; font-size: 15.5px; line-height: 1.4; color: var(--soft); }
.acts { list-style: none; margin: 0; padding: 0; }
.acts li { display: grid; grid-template-columns: 46px 1fr; gap: 8px; padding: 16px 0; border-top: 1px solid var(--line); font-size: 17.5px; line-height: 1.55; color: var(--paper); }
.acts li span { font: italic 400 22px/1.2 var(--serif); color: var(--gold); }
.gallery { list-style: none; margin: 0; padding: 0; columns: 3 280px; column-gap: 14px; }
.gallery li { break-inside: avoid; margin-bottom: 14px; }
.gallery button { display: block; width: 100%; padding: 0; border: 0; background: none; cursor: zoom-in; overflow: hidden; border-radius: 3px; }
.gallery img { width: 100%; height: auto; transition: transform .6s, filter .4s; filter: saturate(.9); }
.gallery button:hover img { transform: scale(1.03); filter: none; }
.quote { margin: 0 auto; max-width: 980px; text-align: center; }
.quote p { margin: 0; font: italic 300 clamp(30px, 3.6vw, 52px)/1.2 var(--serif); text-wrap: balance; }
.quote cite { display: block; margin-top: 20px; font: 600 12.5px/1 var(--sans); font-style: normal; letter-spacing: .2em; text-transform: uppercase; color: var(--gold); }
.quote.small { margin: 40px 0 0; text-align: left; max-width: 760px; }
.quote.small p { font-size: clamp(24px, 2.6vw, 34px); color: var(--soft); }
.cast { list-style: none; margin: 0; padding: 0; }
.cast li { padding: 16px 0; border-top: 1px solid var(--line); }
.cast b { display: block; font: 400 22px/1.2 var(--serif); }
.cast span { display: block; margin-top: 4px; font-size: 15.5px; line-height: 1.5; color: var(--soft); }
.notes { list-style: none; margin: 0 0 40px; padding: 0; }
.notes li { position: relative; padding: 0 0 16px 22px; font-size: 16.5px; line-height: 1.55; color: var(--paper); }
.notes li::before { content: ""; position: absolute; left: 0; top: .7em; width: 10px; height: 1px; background: var(--gold); }
.split-top .chips { margin-bottom: 40px; }
.press { list-style: none; margin: 0; padding: 0; }
.press a { display: block; padding: 14px 0; border-top: 1px solid var(--line); text-decoration: none; font-size: 16.5px; line-height: 1.4; }
.press a:hover { color: var(--gold-2); }
.press small { display: block; margin-bottom: 4px; font: 600 11.5px/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--gold); }
.press-lg { display: grid; grid-template-columns: 1fr 1fr; gap: 0 48px; }
.press-lg a { display: grid; grid-template-columns: 1fr auto; padding: 24px 0; }
.press-lg small { grid-column: 1 / -1; }
.press-lg b { font: 400 23px/1.25 var(--serif); }
.press-lg i { font-style: normal; color: var(--gold); align-self: end; }
.films { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 40px 32px; }
.film-art { overflow: hidden; border-radius: 4px; aspect-ratio: 16 / 9; background: #000; }
.film-art .fimg { width: 100%; height: 100%; object-fit: cover; transition: transform .8s; }
.film:hover .fimg { transform: scale(1.04); }
.film-meta { padding-top: 18px; }
.film-y { margin: 0; font: 600 12px/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--gold); }
.film h4 { margin: 10px 0 8px; font: 400 30px/1.1 var(--serif); }
.film-note { margin: 0 0 16px; font-size: 16px; line-height: 1.5; color: var(--soft); }

/* ---------- SOBRE O AUTOR ---------- */
.author-hero { min-height: 92svh; display: flex; align-items: center; padding-top: calc(var(--bar) + 60px); background:
  radial-gradient(70% 90% at 85% 10%, rgba(232, 176, 75, .16), transparent 60%), var(--ink); }
.author-hero .title { font-size: clamp(56px, 10vw, 150px); }
.roles { margin: 22px 0 0; font: 500 clamp(14px, 1.4vw, 17px)/1.4 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--gold); }
.author-hero .nums { margin-top: 60px; }
.honours { display: grid; grid-template-columns: repeat(2, 1fr); gap: 40px 56px; margin-top: 80px; }
.hon h3 { margin: 0 0 8px; font: 600 12.5px/1 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--gold); }
.hon ul { list-style: none; margin: 0; padding: 0; }
.hon li { padding: 14px 0; border-top: 1px solid var(--line); }
.hon b { display: block; font: 400 20px/1.25 var(--serif); }
.hon span { display: block; margin-top: 4px; font-size: 15px; color: var(--soft); }
.timeline { list-style: none; margin: 0; padding: 0; position: relative; }
.timeline::before { content: ""; position: absolute; left: 110px; top: 6px; bottom: 6px; width: 1px; background: var(--line); }
.timeline li { display: grid; grid-template-columns: 92px 1fr; gap: 36px; padding: 16px 0; }
.timeline .y { position: relative; font: 400 24px/1.2 var(--serif); color: var(--gold); }
.timeline .y::after { content: ""; position: absolute; right: -22px; top: .45em; width: 9px; height: 9px; border-radius: 50%; background: var(--gold); }
.timeline p { margin: 0; font-size: 18px; line-height: 1.6; color: var(--soft); max-width: 70ch; }

/* ---------- OUTROS TRABALHOS ---------- */
.other-hero { min-height: 70svh; display: flex; align-items: flex-end; padding-top: calc(var(--bar) + 60px); background: radial-gradient(60% 80% at 20% 100%, rgba(232, 176, 75, .14), transparent 60%), var(--ink); }
.other-hero .title { max-width: 14ch; font-size: clamp(46px, 7vw, 104px); }
.poem { min-height: 100svh; display: flex; align-items: center; background: radial-gradient(80% 70% at 50% 50%, color-mix(in srgb, var(--pc) 13%, transparent), transparent 70%), var(--ink); border-top: 1px solid var(--line); }
.verse .ln { margin: 0; font: 300 clamp(34px, 5.4vw, 80px)/1.12 var(--serif); letter-spacing: -.015em; color: var(--paper); }
.verse .ln:nth-child(even) { padding-left: clamp(24px, 6vw, 110px); font-style: italic; color: var(--pc); }
.verse-en { margin-top: 34px; }
.verse-en .ln { margin: 0; font: 400 clamp(16px, 1.5vw, 20px)/1.55 var(--sans); color: var(--soft); }
.poem-src { margin: 40px 0 0; font: 600 12.5px/1 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.poem-src i { font-style: normal; color: var(--pc); }
.poem .ln { opacity: 0; transform: translateY(.5em); filter: blur(6px); transition: opacity 1s, transform 1s cubic-bezier(.2, .7, .2, 1), filter 1s; transition-delay: calc(var(--j) * .32s); }
.poem.in .ln { opacity: 1; transform: none; filter: none; }
html:not(.ready) .poem .ln { opacity: 1; transform: none; filter: none; }
.shelf { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 28px; }
.book img { width: 100%; aspect-ratio: 2 / 3; object-fit: cover; border-radius: 3px; box-shadow: 0 24px 50px rgba(0, 0, 0, .5); }
.book h4 { margin: 18px 0 4px; font: 400 21px/1.2 var(--serif); }
.book > p { margin: 0 0 12px; font-size: 14.5px; color: var(--muted); }
.audio { display: grid; grid-template-columns: .8fr 1fr; gap: clamp(36px, 6vw, 88px); align-items: center; }
.audio-art { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 6px; }
#audioEl { width: 100%; margin: 26px 0 12px; }
.tracks { list-style: none; margin: 0; padding: 0; }
.tracks button { display: grid; grid-template-columns: 36px 1fr auto; gap: 12px; align-items: center; width: 100%; padding: 14px 4px; border: 0; border-top: 1px solid var(--line); background: none; text-align: left; cursor: pointer; }
.tracks button:hover b, .tracks button[aria-pressed="true"] b { color: var(--gold-2); }
.tracks span { font: 600 12px/1 var(--sans); color: var(--gold); }
.tracks b { font: 400 19px/1.3 var(--serif); }
.tracks i { font-style: normal; font-size: 14px; color: var(--muted); }

/* ---------- contact footer ---------- */
.contact { padding: clamp(90px, 14vh, 150px) 0 40px; background: var(--ink-2); border-top: 1px solid var(--line); }
.contact .h2 { max-width: 16ch; }
.contact-links { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; margin-top: 30px; }
.contact-links a { font-size: 17px; text-decoration: none; color: var(--soft); }
.contact-links a:hover { color: var(--gold-2); }
.contact-links a.big { font: 400 clamp(26px, 3.6vw, 48px)/1.1 var(--serif); color: var(--paper); text-decoration: underline; text-decoration-color: var(--gold); text-decoration-thickness: 1px; text-underline-offset: .18em; }
.foot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin: 90px 0 0; padding-top: 24px; border-top: 1px solid var(--line); font-size: 14px; color: var(--muted); }
.foot a { text-decoration: none; }
.foot a:hover { color: var(--gold-2); }

/* ---------- lightbox ---------- */
.lb { width: min(1200px, 94vw); max-height: 92vh; padding: 0; border: 0; background: #000; color: var(--paper); overflow: visible; }
.lb::backdrop { background: rgba(0, 0, 0, .9); }
.lb-body video, .lb-body iframe { width: 100%; aspect-ratio: 16 / 9; border: 0; display: block; }
.lb-body.is-img { background: none; }
.lb-body.is-img img { max-height: 90vh; width: auto; margin: 0 auto; }
.lb-x { position: absolute; top: -48px; right: 0; width: 42px; height: 42px; border: 0; border-radius: 50%; background: rgba(243, 237, 226, .15); font-size: 26px; cursor: pointer; }

/* ---------- responsive ---------- */
@media (max-width: 1100px) {
  .menu { gap: 18px; }
  .shelf { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 920px) {
  :root { --bar: 60px; --pbar: 44px; }
  .burger { display: block; }
  .menu { position: fixed; inset: var(--bar) 0 auto; z-index: 50; flex-direction: column; gap: 0; margin: 0; padding: 10px var(--gutter) 26px; background: rgba(11, 11, 13, .98); transform: translateY(-120%); transition: transform .3s; }
  .menu a { padding: 16px 0; font: 400 26px/1 var(--serif); color: var(--paper); border-bottom: 1px solid var(--line); }
  .menu a.on::after { display: none; }
  .menu a.on { color: var(--gold); }
  .menu-open .menu { transform: none; }
  .menu-open .burger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .menu-open .burger span:nth-child(2) { opacity: 0; }
  .menu-open .burger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .tools { margin-left: auto; }
  .rail { display: none; }
  .split, .why-grid, .audio { grid-template-columns: minmax(0, 1fr); }
  .card { position: static; }
  .refs { grid-template-columns: repeat(3, 1fr); gap: 12px; }
  .ref-meta b { font-size: 18px; }
  .ref-meta em { font-size: 14.5px; }
  .nums { grid-template-columns: 1fr 1fr; }
  .films, .press-lg, .honours, .ix ol { grid-template-columns: 1fr; }
  .prop-art img { aspect-ratio: 4 / 3; }
  .prop-art::after { display: none; }
  .has-poster .key-blur { filter: none; transform: none; object-position: 50% 30%; }
  .has-poster .poster-art { display: none; }
  .has-poster .shade { background: linear-gradient(0deg, rgba(8, 8, 10, .96) 0%, rgba(8, 8, 10, .78) 42%, rgba(8, 8, 10, 0) 72%); }
  .has-poster .pg-in > * { max-width: 640px; }
}
@media (max-width: 640px) {
  body { font-size: 17px; }
  .brand { font-size: 19px; }
  .pill { min-height: 34px; padding: 0 12px; font-size: 13px; }
  .pill .pill-long { display: none; }
  .pg { padding: 72px 0; }
  .pg-cover { padding-bottom: 48px; }
  .shade { background: linear-gradient(0deg, rgba(8, 8, 10, .96) 0%, rgba(8, 8, 10, .8) 45%, rgba(8, 8, 10, .2) 75%, rgba(8, 8, 10, .45) 100%); }
  .title { font-size: clamp(42px, 12vw, 64px); }
  .log { font-size: 20px; }
  .refs { grid-template-columns: 1fr; gap: 30px; }
  .ref { display: grid; grid-template-columns: 110px 1fr; gap: 16px; align-items: start; }
  .ref-meta { margin-top: 0; }
  .tone { grid-template-columns: 1fr; }
  .points li { grid-template-columns: 42px 1fr; }
  .points li p { font-size: 18.5px; }
  .card { padding: 22px; }
  .sheet > div { grid-template-columns: 1fr; gap: 4px; }
  .p-now { font-size: 15px; }
  .pbar .ix-txt { display: none; }
  .shelf { grid-template-columns: 1fr 1fr; }
  .timeline::before { left: 0; }
  .timeline li { grid-template-columns: 1fr; gap: 4px; padding-left: 22px; }
  .timeline .y::after { left: -26px; right: auto; }
  .laurel-medal { width: 140px; height: 144px; }
  .laurels { grid-template-columns: 1fr 1fr; }
  .verse .ln:nth-child(even) { padding-left: 18px; }
  .ix-g { display: none; }
  .ix ol a { grid-template-columns: 36px 1fr 12px; }
  .ix-t { font-size: 22px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

/* =========================================================
   v15 — opening screen, slate, apertures, story motifs, film-strip rail
   ========================================================= */
/* masked word / letter reveals */
.w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .26em; margin-bottom: -.26em; } /* room for g, p, y descenders under tight title leading */
.w > span { display: inline-block; transform: translateY(108%); transition: transform 1.05s cubic-bezier(.2, .75, .12, 1); transition-delay: calc(var(--i) * 42ms + var(--d0, 120ms)); }
.rv.in .w > span, .in > .w > span, .in .title .w > span, .hero.in .w > span { transform: none; }
.ch { display: inline-block; transform: translateY(110%) rotate(6deg); transform-origin: 0 100%; transition: transform 1.2s cubic-bezier(.2, .75, .12, 1); transition-delay: calc(var(--i) * 45ms + 200ms); }
.w:has(.ch) > .ch { transform: translateY(110%) rotate(6deg); }
.hero.in .ch { transform: none !important; }
html:not(.ready) .w > span, html:not(.ready) .ch { transform: none; }
/* children of a cover arrive one after another */
.pg-cover .pg-in.rv { opacity: calc(1 - var(--x) * 1.5); transform: translateY(calc(var(--x) * -90px)); transition: none; }
.pg-cover .pg-in > * { opacity: 0; transform: translateY(18px); transition: opacity .9s, transform .9s cubic-bezier(.2, .7, .2, 1); }
.pg-cover .pg-in > .title { opacity: 1; transform: none; }
.pg-cover .pg-in.in > * { opacity: 1; transform: none; }
.pg-cover .pg-in > :nth-child(1) { transition-delay: .05s; } .pg-cover .pg-in > :nth-child(3) { transition-delay: .55s; } .pg-cover .pg-in > :nth-child(4) { transition-delay: .75s; } .pg-cover .pg-in > :nth-child(5) { transition-delay: .95s; }

/* the aperture: the frame opens as the cover arrives, and the content lifts away as it leaves */
.aperture { position: absolute; inset: 0; overflow: hidden; clip-path: inset(calc((1 - var(--p)) * 9%) calc((1 - var(--p)) * 12%) round calc((1 - var(--p)) * 14px)); will-change: clip-path; }
.aperture .key:not(.key-blur) { transform: scale(calc(1.16 - var(--p) * .12 + var(--x) * .08)) translateY(calc(var(--x) * 8%)); will-change: transform; }
.pg-cover .shade { z-index: 1; }
.pg-cover canvas.fx { position: absolute; inset: 0; z-index: 1; width: 100%; height: 100%; pointer-events: none; }
.pg-cover .poster-art { transform: translateY(calc((1 - var(--p)) * 60px + var(--x) * -40px)) scale(calc(.94 + var(--p) * .06)); }
.bignum { position: absolute; z-index: 1; right: calc(var(--gutter) - .06em); bottom: -.16em; font: 300 clamp(180px, 34vw, 520px)/1 var(--serif); letter-spacing: -.05em; color: transparent; -webkit-text-stroke: 1px rgba(243, 237, 226, .22); pointer-events: none; transform: translateY(calc(var(--x) * -120px + (1 - var(--p)) * 80px)); }

/* ---------- story motifs ---------- */
.motif { position: absolute; inset: 0; z-index: 1; pointer-events: none; opacity: 0; transition: opacity 1.2s; }
.motif.on, .motif.still { opacity: 1; }
.motif i { position: absolute; display: block; }
/* O Filme da Vida: the projector beam */
.m-beam { inset: -10% 30% 20% -10%; background: conic-gradient(from 118deg at 0 0, transparent 0deg, rgba(255, 236, 190, .2) 14deg, rgba(255, 236, 190, .05) 26deg, transparent 32deg); filter: blur(6px); animation: flicker 4s steps(12) infinite; mix-blend-mode: screen; }
@keyframes flicker { 0%, 100% { opacity: .9; } 20% { opacity: .65; } 37% { opacity: 1; } 52% { opacity: .75; } 70% { opacity: .95; } 85% { opacity: .7; } }
/* Crime na Casa Geyer: empty frames and the count of what vanished */
.m-frames { position: absolute; right: 8%; top: 22%; display: flex; gap: 22px; }
.m-frames i { position: relative; width: 90px; height: 116px; border: 2px solid rgba(232, 176, 75, .55); box-shadow: inset 0 0 0 6px rgba(232, 176, 75, .08); opacity: 0; transform: translateY(20px); transition: opacity 1s, transform 1s; }
.m-frames i:nth-child(2) { width: 120px; height: 90px; margin-top: 30px; } .m-frames i:nth-child(3) { height: 140px; }
.motif.on .m-frames i { opacity: 1; transform: none; } .motif.on .m-frames i:nth-child(2) { transition-delay: .3s; } .motif.on .m-frames i:nth-child(3) { transition-delay: .6s; }
.m-count { position: absolute; right: 8%; top: calc(22% + 170px); list-style: none; margin: 0; padding: 14px 18px; display: flex; gap: 26px; background: rgba(8, 8, 10, .72); border-left: 2px solid var(--c1); }
.m-count b { display: block; font: 400 30px/1 var(--serif); color: var(--paper); font-variant-numeric: tabular-nums; }
.m-count span { font: 600 10.5px/1.3 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--soft); }
.m-count li:last-child b { color: var(--c1); }
/* Exodus: frost at the edges */
.m-frost { inset: 0; background: radial-gradient(120% 90% at 50% 50%, transparent 55%, rgba(200, 230, 255, .2) 100%); }
/* Morte S.A.: the heart monitor */
.m-ecg { position: absolute; right: 0; top: 30%; width: 62%; height: 120px; fill: none; stroke: #ff3b4e; stroke-width: 2.2; stroke-linejoin: round; filter: drop-shadow(0 0 6px rgba(255, 59, 78, .8)); stroke-dasharray: 1400; stroke-dashoffset: 1400; animation: ecg var(--beat, .9s) linear infinite; animation-duration: calc(var(--beat, .83s) * 2.4); }
@keyframes ecg { 0% { stroke-dashoffset: 1400; opacity: 1; } 70% { stroke-dashoffset: 0; opacity: 1; } 100% { stroke-dashoffset: 0; opacity: 0; } }
.m-bpm { position: absolute; right: 8%; top: calc(30% + 130px); margin: 0; font: 600 12px/1 var(--sans); letter-spacing: .2em; color: #ff8a96; }
.m-bpm b { font: 400 40px/1 var(--serif); color: #ff3b4e; margin-right: 6px; font-variant-numeric: tabular-nums; }
.m-pulse { inset: 0; background: radial-gradient(80% 70% at 70% 45%, rgba(255, 30, 50, .16), transparent 70%); animation: pulse var(--beat, .83s) ease-out infinite; }
@keyframes pulse { 0% { opacity: 1; } 60%, 100% { opacity: .2; } }
/* Hábito de Sangue: candlelight */
.m-candle { inset: 0; background: radial-gradient(60% 60% at 74% 52%, rgba(255, 150, 60, .2), transparent 70%); mix-blend-mode: screen; animation: candle 3.2s ease-in-out infinite alternate; }
@keyframes candle { 0% { opacity: .55; transform: scale(1); } 30% { opacity: .9; } 55% { opacity: .65; transform: scale(1.03) translateX(-6px); } 80% { opacity: 1; } 100% { opacity: .7; transform: scale(.99); } }
/* Sítio: the flashlight in the dark */
.m-dark { inset: 0; --fx: 70%; --fy: 45%; background: radial-gradient(circle at var(--fx) var(--fy), rgba(0, 0, 0, 0) 0, rgba(0, 0, 0, 0) 110px, rgba(4, 6, 4, .55) 210px, rgba(4, 6, 4, .9) 380px); }
.motif.still .m-dark { display: none; }
/* Maculelê: heat */
.m-heat { inset: 40% 0 0; background: linear-gradient(0deg, rgba(255, 90, 20, .22), transparent); animation: flicker 3s steps(9) infinite; mix-blend-mode: screen; }
/* Sob Pressão: the taxi meter */
.m-meter { position: absolute; right: 8%; top: 26%; margin: 0; padding: 10px 16px; border-radius: 4px; background: rgba(8, 8, 10, .8); box-shadow: inset 0 0 0 1px rgba(255, 196, 70, .5); font: 600 10.5px/1 var(--sans); letter-spacing: .2em; color: #ffc446; text-align: right; }
.m-meter b { display: block; margin-top: 6px; font: 500 30px/1 "SF Mono", ui-monospace, Menlo, monospace; letter-spacing: .02em; color: #ffdf8a; text-shadow: 0 0 12px rgba(255, 196, 70, .6); }
/* Partiu México: sun and road */
.m-sun { right: 10%; top: 14%; width: 220px; height: 220px; border-radius: 50%; background: radial-gradient(circle, rgba(255, 210, 120, .5), rgba(255, 140, 60, .12) 50%, transparent 70%); mix-blend-mode: screen; animation: flicker 6s steps(6) infinite; }
.m-road { left: 0; right: 0; bottom: 9%; height: 6px; background: repeating-linear-gradient(90deg, rgba(255, 214, 120, .75) 0 60px, transparent 60px 120px); animation: road .6s linear infinite; opacity: .75; }
@keyframes road { to { background-position: -120px 0; } }
/* Subversivo: going viral, live */
.m-live { position: absolute; right: 8%; top: 24%; display: flex; align-items: center; gap: 10px; margin: 0; padding: 10px 16px; background: rgba(8, 8, 10, .8); font: 700 12px/1 var(--sans); letter-spacing: .18em; color: #ff4d3a; }
.m-live i { position: static; width: 10px; height: 10px; border-radius: 50%; background: #ff4d3a; animation: blink 1s steps(2) infinite; }
.m-live b { margin-left: 8px; font: 500 22px/1 var(--serif); letter-spacing: 0; color: var(--paper); font-variant-numeric: tabular-nums; }
.m-live span { font-weight: 500; letter-spacing: .1em; color: var(--soft); }
@keyframes blink { 50% { opacity: 0; } }
.m-glitch { inset: 0; background: repeating-linear-gradient(0deg, rgba(255, 77, 58, .06) 0 2px, transparent 2px 5px); animation: glitch 5s steps(1) infinite; }
@keyframes glitch { 0%, 92%, 100% { transform: none; opacity: .4; } 93% { transform: translateX(-8px); opacity: 1; } 95% { transform: translateX(6px); } 97% { transform: none; opacity: .6; } }
/* Briga de Cachorro Grande: the reticle locks on */
.m-reticle { position: absolute; width: 150px; height: 150px; right: 14%; top: 26%; fill: none; stroke: rgba(255, 120, 80, .85); stroke-width: 1.2; animation: hunt 9s cubic-bezier(.6, 0, .3, 1) infinite; filter: drop-shadow(0 0 4px rgba(255, 90, 50, .6)); }
@keyframes hunt { 0% { transform: translate(0, 0) scale(1.3); } 22% { transform: translate(-140px, 60px) scale(1); } 30% { transform: translate(-140px, 60px) scale(.82); } 48% { transform: translate(40px, 140px) scale(1.1); } 70% { transform: translate(-60px, -30px) scale(.8); } 78% { transform: translate(-60px, -30px) scale(.7); } 100% { transform: translate(0, 0) scale(1.3); } }
.m-coords { position: absolute; right: 8%; bottom: 14%; margin: 0; font: 500 13px/1 "SF Mono", ui-monospace, Menlo, monospace; letter-spacing: .12em; color: rgba(255, 160, 120, .95); }
/* Genesis: the banned AI's HUD */
.m-scan { inset: 0; background: repeating-linear-gradient(0deg, rgba(34, 195, 166, .07) 0 1px, transparent 1px 4px); }
.m-scan::after { content: ""; position: absolute; left: 0; right: 0; height: 22%; background: linear-gradient(transparent, rgba(34, 195, 166, .14), transparent); animation: sweep 5s linear infinite; }
@keyframes sweep { from { top: -22%; } to { top: 100%; } }
.m-hud { right: 7%; top: 20%; width: 300px; height: 190px; background:
  linear-gradient(#22c3a6, #22c3a6) 0 0 / 22px 2px no-repeat, linear-gradient(#22c3a6, #22c3a6) 0 0 / 2px 22px no-repeat,
  linear-gradient(#22c3a6, #22c3a6) 100% 0 / 22px 2px no-repeat, linear-gradient(#22c3a6, #22c3a6) 100% 0 / 2px 22px no-repeat,
  linear-gradient(#22c3a6, #22c3a6) 0 100% / 22px 2px no-repeat, linear-gradient(#22c3a6, #22c3a6) 0 100% / 2px 22px no-repeat,
  linear-gradient(#22c3a6, #22c3a6) 100% 100% / 22px 2px no-repeat, linear-gradient(#22c3a6, #22c3a6) 100% 100% / 2px 22px no-repeat; opacity: .8; }
.m-ai { position: absolute; right: calc(7% + 22px); top: calc(20% + 64px); width: 256px; margin: 0; font: 500 13px/1.7 "SF Mono", ui-monospace, Menlo, monospace; color: #6ff0d6; text-shadow: 0 0 8px rgba(34, 195, 166, .7); }
.m-ai span { display: block; min-height: 1.7em; }
/* Guerra Santa: light from above */
.m-rays { inset: -20% -10% 30%; background: repeating-conic-gradient(from 170deg at 62% -10%, rgba(255, 200, 140, .12) 0deg 3deg, transparent 3deg 9deg); mask-image: linear-gradient(#000, transparent 85%); -webkit-mask-image: linear-gradient(#000, transparent 85%); animation: rays 14s ease-in-out infinite alternate; mix-blend-mode: screen; }
@keyframes rays { to { transform: rotate(4deg); opacity: .6; } }

/* ---------- opening screen ---------- */
.hero { --x: 0; position: relative; min-height: 100svh; display: flex; align-items: center; overflow: hidden; background: #060607; padding: calc(var(--bar) + 30px) 0 120px; }
.hero-sheet { position: absolute; inset: -12% -8%; z-index: 0; display: flex; flex-direction: column; justify-content: center; gap: 26px; transform: rotate(-7deg) scale(calc(1 + var(--x) * .18)); opacity: calc(.5 - var(--x) * .35); transition: opacity 2s; }
.hero:not(.in) .hero-sheet { opacity: 0; }
.hero-sheet .row { display: flex; gap: 14px; width: max-content; padding: 16px 0; animation: drift 120s linear infinite;
  background: repeating-linear-gradient(90deg, rgba(243, 237, 226, .16) 0 10px, transparent 10px 22px) 0 4px / 100% 6px no-repeat, repeating-linear-gradient(90deg, rgba(243, 237, 226, .16) 0 10px, transparent 10px 22px) 0 calc(100% - 4px) / 100% 6px no-repeat, #000; }
.hero-sheet .row:nth-child(2) { animation-direction: reverse; animation-duration: 150s; }
.hero-sheet .row:nth-child(3) { animation-duration: 100s; }
.hero-sheet img { height: 22vh; aspect-ratio: 16 / 10; object-fit: cover; filter: grayscale(.4) brightness(.8); }
@keyframes drift { to { transform: translateX(-50%); } }
.hero::before { content: ""; position: absolute; inset: 0; z-index: 1; background: radial-gradient(90% 80% at 30% 55%, rgba(6, 6, 7, .96) 20%, rgba(6, 6, 7, .78) 55%, rgba(6, 6, 7, .5) 100%), linear-gradient(0deg, #0b0b0d 0%, transparent 30%); }
.hero canvas.fx { position: absolute; inset: 0; z-index: 1; width: 100%; height: 100%; pointer-events: none; }
.hero-in { position: relative; z-index: 2; width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); transform: translateY(calc(var(--x) * -140px)); opacity: calc(1 - var(--x) * 1.6); }
.hero-name { margin: 0; font: 300 clamp(64px, 14.5vw, 232px)/.86 var(--serif); letter-spacing: -.045em; }
.hero-name .ln { display: block; }
.hero-name .ln + .ln { padding-left: .55em; }
.hero-roles { margin: clamp(22px, 3.4vh, 40px) 0 0; display: flex; flex-wrap: wrap; gap: 4px 0; font: 300 clamp(24px, 3.1vw, 46px)/1.15 var(--serif); letter-spacing: -.01em; color: var(--paper); }
.hero-roles span { opacity: 0; transform: translateY(14px); transition: opacity .9s, transform .9s cubic-bezier(.2, .7, .2, 1); }
.hero-roles span:nth-child(1) { transition-delay: .9s; } .hero-roles span:nth-child(2) { transition-delay: 1.05s; } .hero-roles span:nth-child(3) { transition-delay: 1.2s; } .hero-roles span:nth-child(4) { transition-delay: 1.35s; }
.hero-roles span + span::before { content: "·"; margin: 0 .42em; color: var(--gold); }
.hero.in .hero-roles span { opacity: 1; transform: none; }
.hero-cue { position: absolute; z-index: 2; left: 50%; bottom: clamp(22px, 4vh, 40px); transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; gap: 14px; width: max-content; max-width: calc(100% - 40px); font: 600 12.5px/1.3 var(--sans); letter-spacing: .2em; text-transform: uppercase; text-align: center; color: var(--paper); text-decoration: none; opacity: 0; transition: opacity 1s 1.7s, color .3s; }
.hero.in .hero-cue { opacity: calc(1 - var(--x) * 4); }
.hero-cue b { display: grid; place-items: center; width: 52px; height: 52px; border: 1px solid var(--gold); border-radius: 50%; color: var(--gold); animation: bob 1.8s ease-in-out infinite; transition: background .3s, color .3s; }
.hero-cue b svg { width: 20px; height: 20px; }
.hero-cue:hover { color: var(--gold-2); } .hero-cue:hover b { background: var(--gold); color: #0b0b0d; }
.still .hero-cue b { animation: none; }


/* ---------- the project bar waits until project 01 ---------- */
.pbar { transition: transform .5s cubic-bezier(.2, .7, .2, 1), opacity .4s; }
body.pre .pbar { transform: translateY(-100%); opacity: 0; pointer-events: none; }
body.pre .rail.strip { opacity: 0; pointer-events: none; transform: translate(20px, -50%); }

/* ---------- film-strip rail (projects) ---------- */
.rail { transition: opacity .5s, transform .5s; }
.rail.strip { right: 12px; gap: 0; padding: 10px 6px; background: #000; border-radius: 3px;
  background-image: repeating-linear-gradient(180deg, rgba(243, 237, 226, .22) 0 4px, transparent 4px 9px), repeating-linear-gradient(180deg, rgba(243, 237, 226, .22) 0 4px, transparent 4px 9px);
  background-size: 3px 100%, 3px 100%; background-position: 1px 0, calc(100% - 1px) 0; background-repeat: no-repeat; box-shadow: 0 10px 40px rgba(0, 0, 0, .6); }
.rail.strip a { height: auto; padding: 2px 4px; }
.rail.strip a img { width: 46px; height: 28px; object-fit: cover; border-radius: 1px; filter: grayscale(1) brightness(.55); transition: filter .3s, transform .3s; }
.rail.strip a:hover img { filter: grayscale(.2) brightness(.9); }
.rail.strip a.on img { filter: none; transform: scale(1.12); box-shadow: 0 0 0 2px var(--c1); }
.rail.strip a span { right: 64px; }

/* ---------- index thumbnails + shortcuts ---------- */
.ix ol a { grid-template-columns: 56px 44px 1fr auto 12px; }
.ix-th { width: 56px; height: 36px; object-fit: cover; border-radius: 2px; filter: grayscale(.6) brightness(.8); transition: filter .3s; }
.ix ol a:hover .ix-th { filter: none; }
.ix-keys { max-width: var(--max); margin: 26px auto 0; font: 500 13px/1.4 var(--sans); color: var(--muted); }

/* ---------- pitch screens: more motion ---------- */
.prop-art { overflow: hidden; border-radius: 4px; }
.prop-art img { transform: translateY(var(--py, 0)) scale(1.14); transition: clip-path 1.4s cubic-bezier(.7, 0, .2, 1); clip-path: inset(0 0 100% 0); }
.prop-art.in img { clip-path: inset(0); }
.prop-art::after { display: none; }
.refs .ref { opacity: 0; transform: translateY(70px) rotate(var(--rot, 0deg)); transition: opacity .9s, transform 1.1s cubic-bezier(.2, .7, .2, 1); }
.refs .ref:nth-child(1) { --rot: -7deg; } .refs .ref:nth-child(2) { transition-delay: .15s; } .refs .ref:nth-child(3) { --rot: 7deg; transition-delay: .3s; }
.refs.in .ref { opacity: 1; transform: none; }
.points li { position: relative; border-top-color: transparent; opacity: 0; transform: translateX(-16px); transition: opacity .8s, transform .9s cubic-bezier(.2, .7, .2, 1); }
.points li::before { content: ""; position: absolute; left: 0; right: 0; top: -1px; height: 1px; background: var(--line); transform: scaleX(0); transform-origin: left; transition: transform 1.2s cubic-bezier(.7, 0, .2, 1); }
.rv.in .points li { opacity: 1; transform: none; } .rv.in .points li::before { transform: none; }
.points li:nth-child(1), .points li:nth-child(1)::before { transition-delay: .5s; } .points li:nth-child(2), .points li:nth-child(2)::before { transition-delay: .7s; } .points li:nth-child(3), .points li:nth-child(3)::before { transition-delay: .9s; }
.track li::before { transition: background .4s; }
.card .track li.done::before, .card .track li.now::before { transform-origin: left; transform: scaleX(0); transition: transform .5s cubic-bezier(.2, .7, .2, 1); }
.card.in .track li.done::before, .card.in .track li.now::before { transform: none; }
.card.in .track li:nth-child(2)::before { transition-delay: .25s; } .card.in .track li:nth-child(3)::before { transition-delay: .5s; } .card.in .track li:nth-child(4)::before { transition-delay: .75s; }
.next-up b .w > span { transition-duration: .8s; }

@media (max-width: 920px) {
  .m-frames, .m-count, .m-meter, .m-live, .m-hud, .m-ai, .m-bpm { right: var(--gutter); top: calc(var(--bar) + var(--pbar) + 22px); transform: scale(.82); transform-origin: top right; }
  .m-frames { display: none; } .m-count { top: calc(var(--bar) + var(--pbar) + 22px); }
  .m-ecg { width: 90%; top: 22%; } .m-reticle { right: 8%; top: 18%; width: 110px; height: 110px; }
  .m-hud { display: none; } .m-ai { top: calc(var(--bar) + var(--pbar) + 30px); }
  .bignum { font-size: 52vw; bottom: auto; top: 18%; }
}
@media (max-width: 640px) {
  .hero { align-items: flex-end; padding-bottom: 170px; }
  .hero-roles { flex-direction: column; gap: 2px; font-size: 25px; }
  .hero-roles span + span::before { content: none; }
  .hero-roles span:nth-child(even) { padding-left: .9em; color: var(--soft); font-style: italic; }
  .hero-name { font-size: clamp(56px, 18vw, 92px); }
  .hero-name .ln + .ln { padding-left: .3em; }
  .hero-sheet img { height: 15vh; }
  .m-count { gap: 14px; padding: 10px 12px; } .m-count b { font-size: 22px; }
  .ix ol a { grid-template-columns: 44px 30px 1fr 12px; }
  .ix-th { width: 44px; height: 30px; }
}
@media (prefers-reduced-motion: reduce) {
  .aperture { clip-path: none !important; } .aperture .key, .pg-cover .pg-in, .hero-in, .hero-sheet, .bignum, .poster-art { transform: none !important; opacity: 1 !important; }
  .pg-cover .pg-in > *, .points li, .refs .ref, .prop-art img { opacity: 1 !important; transform: none !important; clip-path: none !important; }
  .w > span, .ch { transform: none !important; }
  .hero-sheet .row { animation: none; }
}
@media (min-width: 921px) { .pg-cover .poster-art { right: calc(max(var(--gutter), calc((100vw - var(--max)) / 2 + var(--gutter))) + 56px); } }

/* v15.1: no project numbers */
.ix ol a { grid-template-columns: 56px 1fr auto 12px; }
@media (max-width: 640px) { .ix ol a { grid-template-columns: 44px 1fr 12px; } }

/* pause-motion control */
.motion-btn { position: fixed; left: 16px; bottom: 16px; z-index: 45; width: 40px; height: 40px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 50%; background: rgba(11, 11, 13, .82); backdrop-filter: blur(8px); color: var(--soft); cursor: pointer; transition: color .2s, border-color .2s; }
.motion-btn:hover { color: var(--paper); border-color: var(--gold); }
.motion-btn svg { font-size: 16px; } .motion-btn .i-play { display: none; }
.still .motion-btn .i-play { display: block; } .still .motion-btn .i-pause { display: none; }
.still *, .still *::before, .still *::after { animation-play-state: paused !important; }
.still canvas.fx { opacity: .6; }
/* plain-text slate for search engines and readers without JavaScript (the script replaces it) */
.js .seo { display: none; }
.seo { max-width: 760px; margin: 0 auto; padding: calc(var(--bar) + 40px) var(--gutter) 80px; font-size: 18px; line-height: 1.6; color: var(--soft); }
.seo h1 { font: 300 clamp(48px, 8vw, 96px)/1 var(--serif); color: var(--paper); margin: 0 0 12px; }
.seo h2 { font: 400 34px/1.1 var(--serif); color: var(--paper); margin: 64px 0 8px; }
.seo h3 { font: 400 21px/1.3 var(--serif); color: var(--paper); }
.seo a { color: var(--gold-2); }

/* author portrait: a corrected print, shown as a print. Sharp edges, soft shadow, an offset gold frame and a little grain */
.author-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 0 clamp(30px, 5vw, 80px); align-items: center; }
.author-grid .nums { grid-column: 1 / -1; }
.portrait { position: relative; margin: 0 14px 14px 0; max-width: 460px; justify-self: end; width: 100%; isolation: isolate; }
.portrait::before { content: ""; position: absolute; inset: 14px -14px -14px 14px; border: 1px solid var(--gold-2); border-radius: 3px; opacity: .55; z-index: -1; }
.portrait .ph { display: block; position: relative; overflow: hidden; border-radius: 3px; background: #15130f;
  box-shadow: 0 30px 60px -20px rgba(0,0,0,.75), 0 0 0 1px rgba(255,255,255,.06); }
.portrait img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover;
  transform: translateY(calc(var(--py, 0px) * .35)) scale(1.06); filter: saturate(.94) contrast(1.03); }
.portrait .ph::after { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .16; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>"); }
@media (max-width: 920px) {
  .author-grid { grid-template-columns: minmax(0, 1fr); }
  .portrait { order: -1; justify-self: center; max-width: 300px; margin-bottom: 34px; }
}

/* =========================================================
   v16 — Outros trabalhos: poet, author, storyteller
   ========================================================= */
.o-hero { position: relative; overflow: hidden; min-height: 100svh; display: flex; align-items: center; padding: calc(var(--bar) + 50px) 0 70px; }
.o-glow { position: absolute; inset: -20%; pointer-events: none;
  background: radial-gradient(38% 38% at 22% 30%, rgba(255, 122, 89, .26), transparent 70%), radial-gradient(34% 34% at 82% 22%, rgba(127, 183, 255, .22), transparent 70%), radial-gradient(40% 40% at 70% 86%, rgba(242, 141, 192, .2), transparent 70%), radial-gradient(30% 30% at 34% 82%, rgba(255, 207, 92, .18), transparent 70%);
  animation: oglow 18s ease-in-out infinite alternate; }
@keyframes oglow { to { transform: rotate(8deg) scale(1.1); } }
.o-hero .pg-in { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 50px clamp(30px, 5vw, 80px); align-items: center; }
.o-hero .kicker { color: #ffcf5c; }
.o-title { margin: 0 0 24px; font: 300 clamp(48px, 7vw, 108px)/.96 var(--serif); letter-spacing: -.035em; text-wrap: balance; }
.o-title .w:nth-child(2) { color: #ffcf5c; font-style: italic; }
.o-title .w:nth-child(n+3) { color: #9ec8ff; }
.o-hero .lede { margin: 0; max-width: 44ch; }
.o-fan { position: relative; height: clamp(300px, 40vw, 540px); transform: translateY(var(--py, 0)); }
.o-fan img { position: absolute; left: 50%; top: 50%; width: clamp(120px, 14vw, 210px); aspect-ratio: 2 / 3; object-fit: cover; border-radius: 3px 6px 6px 3px; box-shadow: 0 30px 60px -12px rgba(0, 0, 0, .75);
  transform: translate(-50%, -50%) translateX(calc(var(--o) * 42%)) translateY(calc(var(--a) * 7%)) rotate(calc(var(--o) * 7deg));
  transition: transform .7s cubic-bezier(.2, .7, .2, 1); animation: fanin 1.3s cubic-bezier(.2, .7, .2, 1) both; animation-delay: calc(.3s + var(--a) * .12s); }
.o-fan:hover img { transform: translate(-50%, -50%) translateX(calc(var(--o) * 62%)) translateY(calc(var(--a) * 4%)) rotate(calc(var(--o) * 9deg)); }
@keyframes fanin { from { transform: translate(-50%, -40%) scale(.85); opacity: 0; } }
.o-tiles { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.o-tile { position: relative; display: flex; align-items: center; gap: 16px; padding: 14px 18px 14px 14px; border-radius: 16px; overflow: hidden; background: rgba(255, 255, 255, .04); border: 1px solid var(--line); color: var(--paper); text-decoration: none; transition: border-color .3s, transform .3s; }
.o-tile::before { content: ""; position: absolute; inset: 0; background: radial-gradient(120% 140% at 0% 50%, color-mix(in srgb, var(--tc) 24%, transparent), transparent 62%); }
.o-tile img { position: relative; width: 60px; height: 60px; object-fit: cover; border-radius: 10px; flex: none; }
.o-tile span { position: relative; display: flex; flex-direction: column; gap: 5px; flex: 1; min-width: 0; }
.o-tile b { font: 400 clamp(22px, 2vw, 28px)/1 var(--serif); }
.o-tile small { font: 500 13.5px/1.3 var(--sans); color: var(--soft); }
.o-tile svg { position: relative; width: 22px; height: 22px; color: var(--tc); transition: transform .3s; }
.o-tile:hover { transform: translateY(-3px); border-color: var(--tc); }
.o-tile:hover svg { transform: translateY(3px); }

/* poems: a pinned stage; each verse takes its turn as the reader scrolls */
.o-poems { position: relative; height: calc(var(--n) * 80svh + 100svh); }
.op-stage { position: sticky; top: 0; height: 100svh; overflow: hidden; background: #0b0b0d; }
.op-stage::before { content: ""; position: absolute; inset: 0; background-color: var(--pc); opacity: .2; transition: background-color 1.2s;
  -webkit-mask-image: radial-gradient(60% 58% at 46% 52%, #000, transparent); mask-image: radial-gradient(60% 58% at 46% 52%, #000, transparent); }
.op-head { position: absolute; z-index: 2; top: calc(var(--bar) + 26px); left: var(--gutter); margin: 0; color: var(--soft); }
.op-head i { font-style: normal; color: var(--pc); transition: color 1s; }
.op-v { position: absolute; inset: 0; z-index: 1; display: flex; flex-direction: column; justify-content: center; width: 100%; max-width: var(--max); margin: 0 auto; padding: calc(var(--bar) + 60px) var(--gutter) 110px; pointer-events: none; }
.op-v .ln { opacity: 0; transform: translateY(.55em); filter: blur(8px); transition: opacity .7s, transform .9s cubic-bezier(.2, .7, .2, 1), filter .7s; transition-delay: calc(var(--j) * 80ms); }
.op-v:not(.on) .ln { transform: translateY(-.35em); transition-delay: 0s; transition-duration: .45s; }
.op-v.on .ln { opacity: 1; transform: none; filter: none; }
.op-v .poem-src { opacity: 0; transition: opacity .6s; color: var(--muted); }
.op-v.on .poem-src { opacity: 1; transition-delay: .5s; }
.op-v .poem-src::before { content: "— "; color: var(--pc); }
.op-dots { position: absolute; z-index: 2; left: 50%; bottom: 36px; transform: translateX(-50%); display: flex; gap: 8px; list-style: none; margin: 0; padding: 0; }
.op-dots li { width: 18px; height: 3px; border-radius: 2px; background: rgba(243, 237, 226, .22); transition: width .4s, background .4s; }
.op-dots li.on { width: 46px; background: var(--pc); }
.op-book { position: absolute; z-index: 3; right: calc(var(--gutter) + 34px); bottom: 26px; display: flex; align-items: center; gap: 12px; color: var(--paper); text-decoration: none; font: 600 13px/1 var(--sans); letter-spacing: .06em; }
.op-book img { width: 52px; aspect-ratio: 2 / 3; object-fit: cover; border-radius: 3px; box-shadow: 0 10px 24px rgba(0, 0, 0, .6); transform: rotate(-6deg); transition: transform .3s; }
.op-book:hover { color: var(--pc); } .op-book:hover img { transform: rotate(0) scale(1.06); }

/* library */
.o-lib { position: relative; padding: clamp(100px, 14vh, 150px) 0; background: linear-gradient(180deg, #0b0b0d, #15111a 50%, #0b0b0d); }
.o-head .kicker { color: #ff7a59; }
.o-head .big { max-width: 16ch; font-size: clamp(34px, 4.4vw, 64px); }
.o-shelf { list-style: none; margin: 54px 0 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: clamp(14px, 1.8vw, 26px); align-items: stretch; }
.o-book { position: relative; display: flex; flex-direction: column; padding: 18px 18px 22px; border-radius: 18px; background: linear-gradient(180deg, color-mix(in srgb, var(--bc) 18%, #141317), #111014 72%); border: 1px solid color-mix(in srgb, var(--bc) 30%, transparent); }
.o-book.rv { transition: opacity .9s var(--d), transform .9s cubic-bezier(.2, .7, .2, 1) var(--d), border-color .3s; }
.o-book.rv.in:hover { transform: translateY(-8px); border-color: var(--bc); transition-delay: 0s; }
.o-g { align-self: flex-start; padding: 6px 10px; border-radius: 999px; background: var(--bc); color: #141014; font: 700 10.5px/1 var(--sans); letter-spacing: .12em; text-transform: uppercase; }
.o-cover { margin: 18px 0 18px; perspective: 900px; }
.o-cover img { display: block; width: 100%; aspect-ratio: 2 / 3; object-fit: cover; border-radius: 2px 6px 6px 2px; box-shadow: inset 3px 0 0 rgba(255, 255, 255, .14), 0 26px 40px -14px rgba(0, 0, 0, .85); transform: rotateY(-16deg); transform-origin: left center; transition: transform .6s cubic-bezier(.2, .7, .2, 1); }
.o-book:hover .o-cover img { transform: rotateY(0) scale(1.03); }
.o-book h3 { margin: 0 0 6px; font: 400 clamp(20px, 1.7vw, 24px)/1.12 var(--serif); }
.o-sub { margin: 0 0 10px; font-size: 14px; line-height: 1.4; color: var(--soft); }
.o-log { margin: 0 0 16px; font-size: 14px; line-height: 1.5; color: var(--muted); display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
.o-act { margin: auto 0 0; display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.o-pitch { flex-basis: 100%; margin-top: 8px; font: 600 13px/1.3 var(--sans); color: var(--bc); text-decoration: none; }
.o-pitch:hover { text-decoration: underline; }

/* audiobooks */
.o-audio { position: relative; padding: clamp(100px, 14vh, 150px) 0; background: radial-gradient(60% 70% at 12% 40%, rgba(127, 183, 255, .2), transparent 70%), radial-gradient(50% 60% at 92% 72%, rgba(242, 141, 192, .16), transparent 70%), #0d0f1e; }
.oa-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(36px, 6vw, 90px); align-items: center; }
.oa-art { position: relative; border-radius: 22px; overflow: hidden; background: #cbd0d7; box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .85); }
.oa-art img { display: block; width: 100%; aspect-ratio: 16 / 10; object-fit: cover; transition: transform 10s linear; }
.oa-art.on img { transform: scale(1.1); }
.eq { position: absolute; left: 16px; bottom: 16px; display: flex; gap: 4px; align-items: flex-end; height: 38px; padding: 8px 10px; border-radius: 10px; background: rgba(13, 15, 30, .85); }
.eq i { width: 5px; height: 30%; border-radius: 2px; background: #ffcf5c; }
.oa-art.on .eq i { animation: eq .8s ease-in-out infinite alternate; }
.eq i:nth-child(2) { animation-delay: -.3s !important; background: #ff7a59; } .eq i:nth-child(3) { animation-delay: -.6s !important; background: #7fb7ff; } .eq i:nth-child(4) { animation-delay: -.15s !important; background: #f28dc0; } .eq i:nth-child(5) { animation-delay: -.45s !important; background: #9be3c8; }
@keyframes eq { from { height: 18%; } to { height: 100%; } }
.o-audio .kicker { color: #9ec8ff; }
.player { display: flex; align-items: center; gap: 18px; margin: 30px 0 14px; padding: 16px 20px 16px 16px; border-radius: 20px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .1); }
.pp { flex: none; display: grid; place-items: center; width: 62px; height: 62px; border-radius: 50%; border: 0; background: #ffcf5c; color: #141014; cursor: pointer; transition: transform .2s, background .2s; }
.pp:hover { transform: scale(1.06); background: #ffe08f; }
.pp svg { width: 26px; height: 26px; fill: currentColor; stroke: none; }
.pp .i-pause, .player.on .pp .i-play { display: none; }
.player.on .pp .i-pause { display: block; }
.pl-info { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 5px; }
.pl-info small { font: 600 11px/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: #9ec8ff; }
.pl-info b { font: 400 clamp(19px, 1.8vw, 24px)/1.2 var(--serif); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pl-bar { display: flex; align-items: center; gap: 10px; font: 500 12px/1 var(--sans); color: var(--soft); font-variant-numeric: tabular-nums; }
.pl-bar input { flex: 1; min-width: 0; height: 4px; margin: 0; border-radius: 2px; -webkit-appearance: none; appearance: none; background: linear-gradient(90deg, #ffcf5c var(--v, 0%), rgba(255, 255, 255, .18) var(--v, 0%)); cursor: pointer; }
.pl-bar input::-webkit-slider-thumb { -webkit-appearance: none; width: 14px; height: 14px; border-radius: 50%; background: #fff; }
.pl-bar input::-moz-range-thumb { width: 14px; height: 14px; border: 0; border-radius: 50%; background: #fff; }
.o-audio .tracks button { grid-template-columns: 34px 1fr auto; padding: 13px 12px; border-radius: 12px; transition: background .25s; }
.o-audio .tracks button:hover { background: rgba(255, 255, 255, .05); }
.o-audio .tracks button[aria-pressed="true"] { background: rgba(255, 207, 92, .1); }
.o-audio .tracks button[aria-pressed="true"] b { color: #ffcf5c; }
.tracks .tn em { font-style: normal; }
.tracks .bars { display: none; height: 14px; gap: 2px; align-items: flex-end; }
.tracks .bars i { width: 3px; height: 40%; border-radius: 1px; background: #ffcf5c; animation: eq .6s ease-in-out infinite alternate; }
.tracks .bars i:nth-child(2) { animation-delay: -.2s; } .tracks .bars i:nth-child(3) { animation-delay: -.4s; }
.tracks button.playing .tn em { display: none; }
.tracks button.playing .bars { display: inline-flex; }
.tracks .td { font-size: 14px; color: var(--muted); font-variant-numeric: tabular-nums; }

/* curation */
.o-cur { padding: 0 0 clamp(90px, 12vh, 140px); background: #0d0f1e; }
.o-cur-in { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); align-items: center; gap: clamp(24px, 4vw, 60px); border-radius: 22px; overflow: hidden; background: linear-gradient(90deg, #1b1622, #0b0b0d); border: 1px solid var(--line); color: var(--paper); text-decoration: none; }
.o-cur-in img { display: block; width: 100%; height: 100%; min-height: 260px; max-height: 380px; object-fit: cover; transition: transform .8s; }
.o-cur-in:hover img { transform: scale(1.04); }
.o-cur-in > span { display: flex; flex-direction: column; gap: 14px; padding: 30px 34px 30px 0; }
.o-cur-in .kicker { margin: 0; color: var(--gold); }
.o-cur-in b { font: 300 clamp(24px, 2.6vw, 38px)/1.15 var(--serif); }
.o-cur-in em { font: 600 13px/1 var(--sans); font-style: normal; letter-spacing: .12em; text-transform: uppercase; color: var(--gold-2); }

.still .o-glow, .still .o-fan img, .still .eq i, .still .tracks .bars i { animation: none; }
@media (max-width: 1100px) { .o-shelf { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 920px) {
  .o-hero .pg-in, .oa-grid, .o-cur-in { grid-template-columns: minmax(0, 1fr); }
  .o-fan { height: 300px; order: -1; }
  .o-fan img { width: 128px; }
  .o-tiles { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .o-cur-in > span { padding: 0 24px 28px; }
  .o-cur-in img { max-height: 260px; min-height: 0; aspect-ratio: 16 / 10; }
  .op-book { right: auto; left: var(--gutter); bottom: 64px; }
  .op-book img { width: 40px; }
  .op-v { padding-bottom: 150px; }
}
@media (max-width: 720px) {
  .o-shelf { grid-auto-flow: column; grid-template-columns: none; grid-auto-columns: 74vw; overflow-x: auto; scroll-snap-type: x mandatory; margin-right: calc(var(--gutter) * -1); padding-right: var(--gutter); scrollbar-width: none; }
  .o-shelf::-webkit-scrollbar { display: none; }
  .o-book { scroll-snap-align: start; }
}

/* v17 — footer: name, role, Instagram only */
.contact { padding: clamp(80px, 12vh, 130px) 0 clamp(60px, 9vh, 90px); }
.foot-in { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.foot-name { margin: 0; font: 300 clamp(44px, 7vw, 104px)/.95 var(--serif); letter-spacing: -.035em; color: var(--paper); }
.foot-role { margin: 0; font: 300 clamp(20px, 2.2vw, 30px)/1.3 var(--serif); color: var(--soft); }

/* v18 — top bar without the name; full descenders in the opening name */
.brand { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
@media (max-width: 920px) { .top .tools { margin-left: auto; } }
.hero-name .w { padding-bottom: .26em; margin-bottom: -.26em; }

/* footer: Instagram as an icon */
.foot-ig { display: inline-grid; place-items: center; width: 54px; height: 54px; margin-top: 26px; border: 1px solid var(--line); border-radius: 50%; color: var(--paper); transition: color .3s, border-color .3s, transform .3s; }
.foot-ig svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.6; }
.foot-ig svg .dot { fill: currentColor; stroke: none; }
.foot-ig:hover, .foot-ig:focus-visible { color: var(--gold-2); border-color: var(--gold); transform: translateY(-2px); }

/* Outras linguagens: one short poem between sections */
.o-verse { position: relative; padding: clamp(90px, 16vh, 170px) 0; background: radial-gradient(60% 70% at 50% 50%, color-mix(in srgb, var(--pc) 13%, transparent), transparent 70%), var(--ink); overflow: hidden; }
.o-verse::before, .o-verse::after { content: ""; position: absolute; left: 50%; width: 1px; height: clamp(40px, 8vh, 80px); background: linear-gradient(transparent, var(--pc)); opacity: .55; }
.o-verse::before { top: 0; } .o-verse::after { bottom: 0; transform: scaleY(-1); }
.ov { margin: 0 auto; max-width: 18ch; text-align: center; }
.ov .ln { margin: 0; font: 300 clamp(36px, 5.6vw, 84px)/1.08 var(--serif); letter-spacing: -.02em; color: var(--paper); opacity: 0; transform: translateY(.45em); filter: blur(6px); transition: opacity 1s, transform 1.1s cubic-bezier(.2, .7, .2, 1), filter 1s; transition-delay: calc(var(--j) * .28s); }
.ov .ln:last-of-type { font-style: italic; color: var(--pc); }
.ov.in .ln, html:not(.ready) .ov .ln { opacity: 1; transform: none; filter: none; }
.ov-en { margin-top: 22px; font: 400 15px/1.6 var(--sans); color: var(--soft); }
.ov footer { margin-top: 28px; font: 500 12px/1.4 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.ov footer a { color: var(--soft); text-decoration: none; border-bottom: 1px solid var(--pc); }
.ov footer a:hover { color: var(--paper); }
@media (prefers-reduced-motion: reduce) { .ov .ln { transition: none; opacity: 1; transform: none; filter: none; } }
/* v19: poster never wider than 42% of the window, so it never runs under the cover text */
.poster-art { height: min(calc(100% - var(--bar) - var(--pbar) - 76px), 63vw); }
/* v19: a project jump lands on the full cover (the bars sit over it) */
.proj { scroll-margin-top: calc(-1 * (var(--bar) + var(--pbar))); }
/* v19: titles inside "X meets Y" set as spaced small capitals in the project colour */
.refline .w.cap > span { font-size: .74em; letter-spacing: .07em; color: var(--c1); font-weight: 500; }
/* v19: the three reference posters fit on one screen with the headline */
.pg-refs .refs { max-width: min(100%, max(640px, calc((100vh - 400px) * 1.7))); }
/* v19: cover loglines stay on the dark side of the image; bio lines at a reading measure */
.pg-cover .pg-in > .log { max-width: min(600px, 100%); }
.prose-lg p { max-width: 48ch; }
@media (max-width: 920px) {
  /* v19: phone cover text sits on a solid dark field; the poster shows above it */
  .has-poster .shade { background: linear-gradient(0deg, rgba(8, 8, 10, .97) 0%, rgba(8, 8, 10, .95) 50%, rgba(8, 8, 10, .6) 64%, rgba(8, 8, 10, 0) 80%); }
  /* v19: roles in one voice on phone, like the name */
  .hero-roles span:nth-child(even) { padding-left: 0; color: var(--paper); font-style: normal; }
}
@media (max-width: 920px) {
  /* v19: the motion button lives in the empty top-left of the bar, never over text */
  .motion-btn { top: 12px; bottom: auto; left: var(--gutter); width: 36px; height: 36px; z-index: 70; }
}

/* =========================================================
   v20 — CAMERA: every cover opens like a trailer
   cam = the hit + the plunge on scroll · key = the slow camera move · cut = the depth layer
   ========================================================= */
.aperture { perspective: 1400px; }
.cam { position: absolute; inset: 0; scale: calc(1 + var(--x) * .35); translate: 0 calc(var(--x) * 5%); will-change: transform; }
.aperture .key:not(.key-blur) { transform: none; transform-origin: var(--focus, 50% 50%); }
.aperture .key.cut { pointer-events: none; }
.aperture::after { content: ""; position: absolute; inset: 0; z-index: 4; background: #000; opacity: calc(var(--x) * .7); pointer-events: none; }

/* the slow move, only while on screen */
.cam-vis .aperture .key:not(.key-blur) { animation: var(--kb, kb-push) var(--kbt, 26s) ease-in-out infinite alternate; }
[data-cam="push"] { --kb: kb-push; }
[data-cam="creep"] { --kb: kb-creep; --kbt: 34s; }
[data-cam="roll"] { --kb: kb-roll; --kbt: 30s; }
[data-cam="truckL"] { --kb: kb-truckL; --kbt: 22s; }
[data-cam="truckR"] { --kb: kb-truckR; --kbt: 22s; }
[data-cam="rise"] { --kb: kb-rise; --kbt: 28s; }
[data-cam="breathe"] { --kb: kb-breathe; --kbt: 9s; }
[data-cam="handheld"] { --kb: kb-hand; --kbt: 7s; }
[data-cam="snarl"] { --kb: kb-snarl; --kbt: 12s; }
[data-cam="depth"] { --kb: kb-plate; --kbt: 22s; }
.cam-vis[data-cam="depth"] .aperture .key.cut { animation-name: kb-deep; }
[data-cam="vertigo"] { --kb: kb-vertigo; --kbt: 18s; }
.cam-vis[data-cam="vertigo"] .aperture .key.cut { animation: none; }
@keyframes kb-push { from { transform: scale(1.04); } to { transform: scale(1.24); } }
@keyframes kb-creep { from { transform: scale(1.02); } to { transform: scale(1.2) translateY(-1%); } }
@keyframes kb-roll { from { transform: scale(1.14) rotate(-2.5deg); } to { transform: scale(1.26) rotate(2deg); } }
@keyframes kb-truckL { from { transform: scale(1.14) translateX(3.5%); } to { transform: scale(1.18) translateX(-3.5%); } }
@keyframes kb-truckR { from { transform: scale(1.14) translateX(-3.5%); } to { transform: scale(1.18) translateX(3.5%); } }
@keyframes kb-rise { from { transform: scale(1.16) translateY(5%); } to { transform: scale(1.22) translateY(-5%); } }
@keyframes kb-breathe { from { transform: scale(1.05); } to { transform: scale(1.13); } }
@keyframes kb-hand {
  0% { transform: scale(1.14) translate(0, 0) rotate(0); } 20% { transform: scale(1.15) translate(-.7%, .4%) rotate(-.35deg); }
  40% { transform: scale(1.16) translate(.5%, -.4%) rotate(.25deg); } 60% { transform: scale(1.16) translate(-.3%, -.6%) rotate(-.2deg); }
  80% { transform: scale(1.17) translate(.6%, .3%) rotate(.3deg); } 100% { transform: scale(1.18) translate(-.2%, .5%) rotate(-.1deg); } }
@keyframes kb-snarl {
  0% { transform: scale(1.06); } 46% { transform: scale(1.15); } 47% { transform: scale(1.19) translate(-.9%, .5%); } 49% { transform: scale(1.15); }
  93% { transform: scale(1.25); } 94% { transform: scale(1.29) translate(.9%, -.4%); } 96%, 100% { transform: scale(1.25); } }
@keyframes kb-plate { from { transform: scale(1.04); } to { transform: scale(1.12); } }
@keyframes kb-deep { from { transform: scale(1.04); } to { transform: scale(1.23); } }
@keyframes kb-vertigo { from { transform: scale(1); } to { transform: scale(1.22); } }

/* posters float in space; the blurred backdrop drifts */
.cam-vis.has-poster .poster-art { animation: kb-float 16s ease-in-out infinite alternate; }
.cam-vis.has-poster .key-blur { animation: kb-blur 30s ease-in-out infinite alternate; }
@keyframes kb-float { from { rotate: .2 1 0 -7deg; translate: 0 1%; } to { rotate: .1 1 0 5deg; translate: 0 -1.5%; } }
@keyframes kb-blur { from { transform: scale(1.2) translate(-3%, 0); } to { transform: scale(1.32) translate(3%, -2%); } }

/* the hit: letterbox opens, the image lands, a flash in the story's colour */
.flash { position: absolute; inset: 0; z-index: 2; background: var(--hitc, #fff); opacity: 0; mix-blend-mode: screen; pointer-events: none; }
.lb { position: absolute; left: 0; right: 0; z-index: 3; height: 50.5%; background: #050506; display: none; pointer-events: none; }
.lb-t { top: 0; transform-origin: 50% 0; } .lb-b { bottom: 0; transform-origin: 50% 100%; }
.cam-armed .lb { display: block; }
.cam-go .lb { animation: lb-open 1s cubic-bezier(.75, 0, .2, 1) both; }
.cam-go .cam { animation: hit-in 1.6s cubic-bezier(.16, 1, .3, 1) both; }
.cam-go .flash { animation: fl-one 1.2s ease-out .15s both; }
.cam-go.has-poster .poster-art { animation: poster-in 1.5s cubic-bezier(.16, 1, .3, 1) .25s both, kb-float 16s ease-in-out 1.75s infinite alternate; }
[data-hit="punch"].cam-go .lb { animation-duration: .45s; }
[data-hit="punch"].cam-go .cam { animation: hit-punch .9s cubic-bezier(.2, 1.3, .35, 1) both; }
[data-hit="punch"].cam-go .flash { animation: fl-one .6s ease-out .1s both; }
[data-hit="slow"].cam-go .lb { animation-duration: 2.8s; }
[data-hit="slow"].cam-go .cam { animation: hit-slow 4.5s cubic-bezier(.3, 0, .2, 1) both; }
[data-hit="slow"] .flash { display: none; }
[data-hit="strobe"].cam-go .flash { animation: fl-strobe 1.7s linear both; }
[data-hit="strike"].cam-go .flash { animation: fl-strike 2s ease-out .2s both; }
[data-hit="paparazzi"].cam-go .flash { animation: fl-pap 2s linear .2s both; }
@keyframes lb-open { from { transform: scaleY(1); } to { transform: scaleY(0); } }
@keyframes hit-in { from { transform: scale(1.32); } to { transform: none; } }
@keyframes hit-punch { from { transform: scale(1.55); } to { transform: none; } }
@keyframes hit-slow { from { transform: scale(1.16); } to { transform: none; } }
@keyframes poster-in { from { opacity: 0; scale: .86; } to { opacity: 1; scale: 1; } }
@keyframes fl-one { 0% { opacity: 0; } 10% { opacity: .85; } 100% { opacity: 0; } }
@keyframes fl-strobe { 0% { opacity: 0; } 5% { opacity: .75; } 9% { opacity: 0; } 20% { opacity: .5; } 24% { opacity: .05; } 33% { opacity: .9; } 100% { opacity: 0; } }
@keyframes fl-strike { 0% { opacity: 0; } 4% { opacity: .95; } 8% { opacity: .1; } 14% { opacity: .8; } 45% { opacity: 0; } 100% { opacity: 0; } }
@keyframes fl-pap { 0%, 100% { opacity: 0; } 4% { opacity: .9; } 8% { opacity: 0; } 19% { opacity: .8; } 23% { opacity: 0; } 31% { opacity: .95; } 35% { opacity: 0; } 55% { opacity: .7; } 60% { opacity: 0; } }

/* paused or reduced motion: no bars, no flash, no move */
.still .lb, .still .flash { display: none !important; }
.still .cam, .still .aperture .key, .still .poster-art, .still .key-blur { animation: none !important; }
@media (prefers-reduced-motion: reduce) { .lb, .flash { display: none !important; } .cam, .aperture .key, .poster-art, .key-blur { animation: none !important; } }

/* v20: the roles sit lower under the name */
.hero-roles { margin-top: clamp(56px, 11vh, 132px); }
@media (max-width: 920px) { .hero-roles { margin-top: clamp(40px, 7vh, 72px); } }
@media (max-width: 920px) { .cam-vis.has-poster .key-blur { animation-name: kb-blur-sm; } }
@keyframes kb-blur-sm { from { transform: scale(1); } to { transform: scale(1.08); } }
/* desktop reframing, so the subject stands clear of the cover text */
@media (min-width: 921px) { .cam { scale: calc(var(--fsd, 1) * (1 + var(--x) * .35)); transform-origin: var(--fod, 50% 50%); } }
/* copy on the right when the subject owns the left of the frame (desktop) */
@media (min-width: 921px) {
  .pg-cover.txt-r .pg-in > * { margin-left: max(0px, calc(100% - 620px)); }
  .pg-cover.txt-r .shade { transform: scaleX(-1); }
}

/* v21 — slate tiers: a quiet title card before each group */
.tier-break { position: relative; display: grid; place-items: center; min-height: 52vh; padding: 96px var(--gutter); background: var(--ink); text-align: center; border-top: 1px solid rgba(255,255,255,.08); }
.tier-break .tb-in { max-width: 720px; }
.tier-break small { display: block; margin-bottom: 20px; font: 600 12.5px/1 var(--sans); letter-spacing: .22em; text-transform: uppercase; color: var(--muted); }
.tier-break h2 { margin: 0; font: 400 clamp(40px, 6.4vw, 92px)/.98 var(--serif); letter-spacing: -.02em; color: var(--paper); text-wrap: balance; }
.tier-break p { margin: 22px auto 0; max-width: 34ch; font: italic 300 clamp(18px, 1.8vw, 24px)/1.4 var(--serif); color: var(--soft); }
.tier-break::after { content: ""; position: absolute; left: 50%; bottom: 40px; width: 1px; height: 44px; background: linear-gradient(rgba(255,255,255,.4), transparent); }
@media (max-width: 920px) { .tier-break { min-height: 40vh; padding: 72px var(--gutter); } }

/* v23 — the pitch screens carry the look of each project: its own image, darkened and tinted, never flat black */
.pg-prop, .pg-refs, .pg-why { isolation: isolate; overflow: hidden; background: var(--ink); }
.pg-bg { position: absolute; inset: 0; z-index: -1; overflow: hidden; }
.pg-bg img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.9) brightness(.8) blur(1px); transform: scale(1.05); }
.pg-bg::before { content: ""; position: absolute; inset: 0; z-index: 1; background: color-mix(in srgb, var(--c1) 22%, transparent); mix-blend-mode: soft-light; }
.pg-bg::after { content: ""; position: absolute; inset: 0; z-index: 2; background:
  linear-gradient(90deg, rgba(8,8,10,.86) 0%, rgba(8,8,10,.62) 50%, rgba(8,8,10,.4) 100%),
  linear-gradient(180deg, rgba(8,8,10,.7) 0%, transparent 20%, transparent 75%, rgba(8,8,10,.85) 100%); }
.pg-refs .pg-bg::after { background: linear-gradient(180deg, rgba(8,8,10,.82) 0%, rgba(8,8,10,.55) 40%, rgba(8,8,10,.8) 100%); }
.pg-why .pg-bg::after { background: linear-gradient(90deg, rgba(8,8,10,.88) 0%, rgba(8,8,10,.66) 55%, rgba(8,8,10,.5) 100%), linear-gradient(180deg, transparent 60%, rgba(8,8,10,.95) 100%); }
.pg-why .card { background: rgba(14,14,16,.84); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
@media (max-width: 920px) { .pg-bg::after, .pg-refs .pg-bg::after, .pg-why .pg-bg::after { background: rgba(8,8,10,.74); } }

/* v24: IMDb badge inside the Juan button */
.btn .imdb-logo { display: inline-block; padding: 3px 6px; font-size: 12px; margin-right: 6px; vertical-align: 1px; }

/* ---------- v25: three slate pages, Literatura, Produção Cultural, chapter path ---------- */
@media (min-width: 921px) and (max-width: 1320px) { .menu { gap: 16px; } .menu a { font-size: 13.5px; } .top .brand { font-size: 19px; } }
@media (min-width: 921px) and (max-width: 1080px) { .menu { gap: 12px; } .menu a { font-size: 12.5px; } }
/* format title cards */
.grp { min-height: 64vh; }
.view:not(#projetos) .grp { min-height: 92svh; padding-top: calc(var(--bar) + 70px); }
.grp .tb-in { max-width: 860px; }
.gsws { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 34px; }
.gsw { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 18px; border: 1px solid var(--line); border-radius: 999px; font: 500 14.5px/1 var(--sans); color: var(--soft); text-decoration: none; transition: border-color .2s, color .2s; }
.gsw small { margin: 0; font: 600 12px/1 var(--sans); letter-spacing: 0; color: var(--muted); }
.gsw:hover { color: var(--paper); border-color: rgba(243, 237, 226, .4); }
.gsw.on { background: var(--paper); border-color: var(--paper); color: var(--ink); }
.gsw.on small { color: var(--ink); opacity: .6; }
.grp .grp-cue { position: absolute; left: 50%; bottom: 26px; transform: translateX(-50%); z-index: 2; display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line); color: var(--paper); font-size: 20px; }
.grp .grp-cue:hover { border-color: var(--gold); color: var(--gold); }
.grp::after { display: none; }
/* next chapter */
.chap { padding: clamp(70px, 10vh, 120px) var(--gutter); background: var(--ink); border-top: 1px solid var(--line); }
.chap-in { display: grid; grid-template-columns: 1fr auto; grid-template-areas: "s a" "b a" "t a"; align-items: center; gap: 10px 30px; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); color: var(--paper); text-decoration: none; }
.chap-in small { grid-area: s; font: 600 12.5px/1 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--gold); }
.chap-in b { grid-area: b; font: 300 clamp(44px, 7vw, 104px)/1 var(--serif); letter-spacing: -.02em; }
.chap-in span { grid-area: t; max-width: 52ch; font: italic 300 clamp(18px, 1.8vw, 23px)/1.4 var(--serif); color: var(--soft); }
.chap-in svg { grid-area: a; width: clamp(48px, 6vw, 84px); height: auto; color: var(--gold); transition: transform .35s; }
.chap-in:hover svg { transform: translateX(8px); }
.chap-in:hover b { color: var(--gold-2, var(--gold)); }
/* Produção Cultural */
.cu-hero .key { object-position: 50% 55%; }
.cu-hero .title { font-size: clamp(42px, 7vw, 104px); }
.cu-hero .log { max-width: 46ch; font-size: clamp(19px, 1.9vw, 25px); }
.nums-top { margin: 0 0 clamp(70px, 10vh, 110px); padding: 0 0 40px; border-top: 0; border-bottom: 1px solid var(--line); }
.cu-sub { margin-top: clamp(60px, 9vh, 96px); }
.venues { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.venue { padding: 30px 28px 32px; border: 1px solid var(--line); border-radius: 16px; background: linear-gradient(160deg, rgba(232, 163, 58, .08), rgba(255, 255, 255, .015) 60%); }
.venue > b { display: inline-block; font: 300 clamp(54px, 5.4vw, 80px)/1 var(--serif); color: var(--gold); }
.venue > small { margin-left: 8px; font: 600 12px/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.venue h3 { margin: 22px 0 6px; font: 400 26px/1.15 var(--serif); }
.venue .where { margin: 0 0 14px; font: 600 12.5px/1.3 var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--soft); }
.venue p { margin: 0; font-size: 16px; line-height: 1.55; color: var(--soft); }
.cu-prose { margin-top: 30px; }
.cu-fig { margin: 0; }
.cu-fig img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 6px; box-shadow: 0 40px 100px -30px rgba(0, 0, 0, .8); }
.cu-fig figcaption { margin-top: 12px; font: italic 300 15px/1.4 var(--serif); color: var(--muted); }
.cu-laurels { margin-top: clamp(60px, 9vh, 96px); }
.cu-vids { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.cu-vid { display: block; width: 100%; padding: 0; border: 0; background: none; text-align: left; cursor: pointer; color: var(--paper); }
.cu-vid .ph { position: relative; display: block; aspect-ratio: 16 / 9; overflow: hidden; border-radius: 8px; background: #000; }
.cu-vid img { width: 100%; height: 100%; object-fit: cover; filter: brightness(.78); transition: transform .8s, filter .4s; }
.cu-vid b { position: absolute; left: 14px; bottom: 12px; display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: var(--gold); color: var(--ink); font-size: 16px; }
.cu-vid:hover img { transform: scale(1.04); filter: brightness(.95); }
.cu-vid .cap { display: block; margin-top: 12px; font-size: 15px; line-height: 1.45; color: var(--soft); }
.split-head { align-items: end; margin-bottom: 36px; }
.split-head .prose span { display: block; font-size: 18px; line-height: 1.6; color: var(--soft); max-width: 60ch; }
.cu-art { columns: 3 260px; }
.cu-photos { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 14px; }
.cu-photos figure { margin: 0; }
.cu-photos img { display: block; width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 3px; }
.nums-2 { grid-template-columns: repeat(2, 1fr); margin-top: 50px; }
.cu-x { font-size: 16px; line-height: 1.55; color: var(--soft); }
.cu-estrela { margin: 26px 0 0; }
.cu-estrela a { font: 500 16px/1.4 var(--sans); color: var(--gold); text-decoration: none; border-bottom: 1px solid rgba(232, 163, 58, .4); }
.cu-estrela a:hover { border-color: var(--gold); }
/* Literatura: the hero without the fan of covers (each cover appears once, on the shelf) */
#literatura .o-hero { min-height: 70svh; }
#literatura .o-hero .pg-in { grid-template-columns: minmax(0, 1fr); }
#literatura .o-hero .o-title { max-width: 16ch; }
@media (max-width: 920px) {
  .venues, .cu-vids { grid-template-columns: 1fr; }
  .cu-photos { grid-template-columns: 1fr; }
  .chap-in { grid-template-columns: 1fr; grid-template-areas: "s" "b" "t" "a"; }
  .chap-in svg { margin-top: 10px; width: 44px; }
  .view:not(#projetos) .grp { min-height: 80svh; }
  .gsw { min-height: 36px; padding: 0 14px; font-size: 13.5px; }
}
.cu-hero .shade { background: linear-gradient(90deg, rgba(8, 8, 10, .9) 0%, rgba(8, 8, 10, .66) 50%, rgba(8, 8, 10, .3) 100%), linear-gradient(0deg, rgba(8, 8, 10, .9) 0%, transparent 65%); }
.cu-photos { grid-template-columns: 1fr; }
.cu-photos img { aspect-ratio: 21 / 8; }
/* v26: availability on every cover and title card; proof line on the opening */
.av-badge { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 16px; padding: 7px 13px; border-radius: 999px; font: 600 12px/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; background: rgba(11, 11, 13, .62); backdrop-filter: blur(6px); }
.av-badge::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.av-badge.busy { color: var(--ink); background: var(--gold); }
.av-badge.ok { color: #8fe3b0; box-shadow: inset 0 0 0 1px rgba(143, 227, 176, .45); }
.tier-break .grp-st { max-width: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 22px; margin: 18px 0 0 !important; font-style: normal !important; }
.grp-st b { display: inline-flex; align-items: center; gap: 8px; font: 600 12.5px/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; }
.grp-st b::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.grp-st .st-busy { color: var(--gold); }
.grp-st .st-ok { color: #8fe3b0; }
.hero-proof { list-style: none; display: flex; flex-wrap: wrap; gap: 10px 0; margin: clamp(22px, 3.6vh, 40px) 0 0; padding: 0; font: 600 clamp(11.5px, .95vw, 13.5px)/1.2 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--soft); }
.hero-proof li { opacity: 0; transform: translateY(10px); transition: opacity .8s, transform .8s cubic-bezier(.2, .7, .2, 1); transition-delay: calc(1.6s + var(--k) * .12s); }
.hero-proof li + li::before { content: ""; display: inline-block; width: 5px; height: 5px; margin: 0 14px 2px; border-radius: 50%; background: var(--gold); vertical-align: middle; }
.hero-proof li:first-child { color: var(--gold); }
.hero.in .hero-proof li { opacity: 1; transform: none; }
@media (max-width: 640px) { .hero-proof { flex-direction: column; gap: 9px; } .hero-proof li + li::before { content: none; } }
@media (prefers-reduced-motion: reduce) { .hero-proof li { opacity: 1; transform: none; } }

/* ============ v27 ============ */
/* Filmografia: the other films as a wall of posters, each one plays its film */
.posters { list-style: none; margin: 34px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(18px, 2.4vw, 36px); }
.pst { all: unset; display: block; cursor: pointer; width: 100%; }
.pst-art { position: relative; display: block; aspect-ratio: 2 / 3; overflow: hidden; border-radius: 4px; background: var(--ink-3); box-shadow: 0 30px 70px -28px rgba(0, 0, 0, .9), inset 0 0 0 1px var(--line); transform: translateY(0); transition: transform .5s cubic-bezier(.2, .7, .2, 1), box-shadow .5s; }
.pst-art img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s cubic-bezier(.2, .7, .2, 1), filter .5s; }
.pst-art b { position: absolute; left: 50%; top: 50%; width: 64px; height: 64px; margin: -32px 0 0 -32px; display: grid; place-items: center; border-radius: 50%; background: rgba(11, 11, 13, .72); color: var(--paper); font-size: 20px; padding-left: 4px; box-sizing: border-box; box-shadow: inset 0 0 0 1px rgba(243, 237, 226, .35); opacity: 0; transform: scale(.85); transition: opacity .35s, transform .35s; backdrop-filter: blur(4px); }
.pst:hover .pst-art, .pst:focus-visible .pst-art { transform: translateY(-8px); box-shadow: 0 44px 90px -30px rgba(0, 0, 0, .95), inset 0 0 0 1px rgba(232, 176, 75, .5); }
.pst:hover .pst-art img, .pst:focus-visible .pst-art img { transform: scale(1.04); }
.pst:hover .pst-art b, .pst:focus-visible .pst-art b { opacity: 1; transform: scale(1); }
.pst-y { display: block; margin-top: 18px; font: 600 11.5px/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--gold); }
.pst-t { display: block; margin-top: 8px; font: 400 clamp(22px, 2vw, 28px)/1.1 var(--serif); color: var(--paper); }
.pst-n { display: block; margin-top: 8px; font-size: 14.5px; line-height: 1.5; color: var(--soft); }
.posters li.rv { transition-delay: var(--d, 0ms); }
@media (max-width: 920px) { .posters { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (hover: none) { .pst-art b { opacity: .9; transform: none; } }

/* Produção Cultural: the network, one row per venue, one bar per screen */
.net { margin-top: clamp(64px, 8vw, 110px); }
.net-head { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 12px 40px; }
.net-head .label { grid-column: 1 / -1; }
.net-head .big { max-width: 18ch; }
.net-sum { margin: 0; font: 600 12.5px/1.4 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--soft); white-space: nowrap; }
.net-sum b { font: 300 34px/1 var(--serif); letter-spacing: 0; color: var(--gold); margin-right: 4px; }
ol.venues { counter-reset: none; display: block; margin-top: 36px; border-top: 1px solid var(--line); }
ol.venues .venue { display: grid; grid-template-columns: 74px minmax(0, 1.25fr) minmax(0, 1fr); gap: 0 clamp(20px, 3vw, 48px); align-items: start; padding: 30px 0; border: 0; border-bottom: 1px solid var(--line); border-radius: 0; background: none; transition-delay: var(--d, 0ms); }
.v-y { font: 400 22px/1.2 var(--serif); color: var(--gold); padding-top: 4px; }
ol.venues .venue h3 { margin: 0 0 6px; }
.v-seats > b { font: 300 clamp(44px, 4.4vw, 64px)/1 var(--serif); color: var(--paper); }
.v-seats > small { display: inline-block; margin-left: 8px; font: 600 11.5px/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.bars { display: grid; gap: 7px; margin-top: 16px; }
.bars i { position: relative; display: block; height: 14px; width: var(--w); min-width: 34px; border-radius: 2px; background: linear-gradient(90deg, var(--gold), var(--gold-2)); transform-origin: left; transform: scaleX(0); transition: transform 1.1s cubic-bezier(.2, .7, .2, 1) calc(var(--d, 0ms) + 250ms); }
.venue.in .bars i, .venue.seen .bars i, .venue.on .bars i { transform: scaleX(1); }
.bars em { position: absolute; left: calc(100% + 10px); top: 50%; transform: translateY(-50%); font: 600 12px/1 var(--sans); font-style: normal; color: var(--soft); }
.net-fig { margin-top: clamp(48px, 6vw, 80px); align-items: center; }
.net-fig .cu-fig img { aspect-ratio: 16 / 9; }
.net-fig .prose p { font: 400 clamp(19px, 1.6vw, 23px)/1.55 var(--serif); color: var(--paper); }
@media (max-width: 760px) {
  .net-head { grid-template-columns: 1fr; }
  ol.venues .venue { grid-template-columns: 54px minmax(0, 1fr); }
  .v-seats { grid-column: 2; margin-top: 18px; }
}

/* the Copacabana room, two photos and one caption */
.cu-photos { grid-template-columns: 1.6fr 1fr; }
.cu-photos img { aspect-ratio: 4 / 3; }
.cu-cap { grid-column: 1 / -1; margin: 4px 0 0; font: italic 300 15px/1.4 var(--serif); color: var(--muted); }
@media (max-width: 760px) { .cu-photos { grid-template-columns: 1fr; } }
