/* erickantunes.com.br — sistema visual do redesign 23/09/2026
   Editorial cinematográfico: preto de sala de cinema, papel quente, serif de revista,
   metadados em mono como claquete. Mesmos tokens, composições diferentes por página. */

@font-face { font-family: 'Bodoni Moda'; font-style: normal; font-weight: 400 700; font-display: swap; src: url(/assets/fonts/BodoniModa-normal-400-700.woff2) format('woff2'); }
@font-face { font-family: 'Bodoni Moda'; font-style: italic; font-weight: 400 600; font-display: swap; src: url(/assets/fonts/BodoniModa-italic-400-600.woff2) format('woff2'); }
@font-face { font-family: 'Hanken Grotesk'; font-style: normal; font-weight: 400 600; font-display: swap; src: url(/assets/fonts/HankenGrotesk-normal-400-600.woff2) format('woff2'); }
@font-face { font-family: 'IBM Plex Mono'; font-style: normal; font-weight: 400; font-display: swap; src: url(/assets/fonts/IBMPlexMono-normal-400.woff2) format('woff2'); }
@font-face { font-family: 'IBM Plex Mono'; font-style: normal; font-weight: 500; font-display: swap; src: url(/assets/fonts/IBMPlexMono-normal-500.woff2) format('woff2'); }

/* ── SINAIS (setas e marcas) ───────────────────────────────────────────────
   Os subsets 'latin' de Bodoni Moda, Hanken Grotesk e IBM Plex Mono NAO trazem
   U+2192 →, U+2190 ←, U+2193 ↓, U+2194 ↔, U+2197 ↗, U+21BA ↺, U+2713 ✓,
   U+25CB ○, U+25CF ● nem U+2715 ✕ — e todos sao usados aqui como elemento de
   design (seta de acao, link externo, selo da garantia, ponto de gravacao,
   fechar o visor). Sem esta face o navegador cai na fonte do sistema: medido em
   23/09/2026 com o CDP do Chromium, o site renderizava 56 elementos em Segoe UI
   / Segoe UI Semibold / Segoe UI Symbol e a seta de 129,6 px do "proximo
   projeto" em Times New Roman.
   Desenhada a partir da propria Hanken Grotesk (scripts/build-marks-font.py):
   → e ← sao nativas da familia, ↑ ↓ ↗ sao a horizontal girada, e ↔ ↺ ○ ● ✓ ✕
   sao tracos no mesmo peso medido na haste da seta.
   O unicode-range cobre so esses pontos: nenhum outro glifo e afetado. */
@font-face { font-family: 'EA Marks'; font-style: normal; font-weight: 400; font-display: block; src: url(/assets/fonts/ea-marks-400.woff2) format('woff2'); unicode-range: U+2190-2194, U+2197, U+21BA, U+2713, U+25CB, U+25CF, U+2715; }
@font-face { font-family: 'EA Marks'; font-style: normal; font-weight: 500 900; font-display: block; src: url(/assets/fonts/ea-marks-600.woff2) format('woff2'); unicode-range: U+2190-2194, U+2197, U+21BA, U+2713, U+25CB, U+25CF, U+2715; }

:root {
  --ink: #0a0a0b;
  --ink-2: #111113;
  --ink-3: #1a1a1d;
  --line: rgba(236, 232, 225, 0.13);
  --line-strong: rgba(236, 232, 225, 0.28);
  --paper: #ece8e1;
  --paper-2: #c2bcb2;
  --stone: #8f8a82;
  --signal: #9395ff;           /* violeta-azulado frio: só foco, marcador de tempo e um detalhe por tela */

  --serif: 'EA Marks', 'Bodoni Moda', 'Didot', 'Bodoni 72', Georgia, serif;
  --sans: 'EA Marks', 'Hanken Grotesk', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --mono: 'EA Marks', 'IBM Plex Mono', ui-monospace, 'SFMono-Regular', Consolas, monospace;

  /* escala tipografica — 6 degraus. Antes havia 24 tamanhos fixos, oito deles
     entre 0.60 e 0.74rem (9,6 a 11,8 px): diferenca que ninguem enxerga e que
     so prova que o valor foi digitado por componente. Um degrau por papel. */
  --fs-plate: 0.64rem;    /* 10,2 px — mono maiusculo miudo (claquete, indice) */
  --fs-label: 0.72rem;    /* 11,5 px — mono maiusculo padrao (ficha, etiqueta) */
  --fs-cap: 0.88rem;      /* 14,1 px — legenda, metadado em sans */
  --fs-ui: 0.97rem;       /* 15,5 px — botao, link, chip */
  --fs-body: 1.0625rem;   /* 17 px   — corpo de texto */
  --fs-lead: 1.32rem;     /* 21,1 px — entrada, titulo de peca, assinatura */

  --t-fast: 200ms;
  --t-ui: 380ms;
  --t-ed: 850ms;
  --t-special: 1200ms;
  --ease-film: cubic-bezier(0.7, 0, 0.2, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);

  --gutter: clamp(20px, 4vw, 56px);
  --maxw: 1440px;
  --header-h: 68px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: var(--header-h); }
body {
  margin: 0;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img, video, picture { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3, h4, p, ul, ol, figure, blockquote, dl, dd { margin: 0; }
ul[role="list"], ol[role="list"] { list-style: none; padding: 0; }
button { font: inherit; color: inherit; }

:focus-visible { outline: 2px solid var(--signal); outline-offset: 3px; }
.skip {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  background: var(--paper); color: var(--ink); padding: 10px 16px; font-weight: 600;
  transition: top var(--t-fast);
}
.skip:focus { top: 12px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- tipografia ---------- */
.display {
  font-family: var(--serif);
  font-weight: 400;
  font-optical-sizing: auto;
  line-height: 0.98;
  letter-spacing: -0.02em;
}
.display em, .serif-it { font-style: italic; font-weight: 400; }
.slate {
  font-family: var(--mono);
  font-size: var(--fs-label);
  font-weight: 400;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--paper-2);
}
.slate b { font-weight: 500; color: var(--paper); }
.slate .dot { display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: var(--signal); margin-right: 8px; vertical-align: 1px; }
.lede { font-size: clamp(1.05rem, 1.35vw, 1.3rem); line-height: 1.55; color: var(--paper-2); max-width: 46ch; }
.prose p { color: var(--paper-2); max-width: 60ch; }
.prose p + p { margin-top: 1em; }
.prose strong { color: var(--paper); font-weight: 600; }

/* ---------- layout ---------- */
.wrap { width: min(var(--maxw), 100% - 2 * var(--gutter)); margin-inline: auto; }
.grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: clamp(16px, 2vw, 32px); }
.rule { height: 1px; background: var(--line); border: 0; margin: 0; }
section { position: relative; }

/* ---------- ações ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 12px;
  min-height: 48px; padding: 0 22px;
  border: 1px solid var(--paper); border-radius: 2px;
  background: var(--paper); color: var(--ink);
  font-family: var(--sans); font-weight: 600; font-size: var(--fs-ui); letter-spacing: 0.01em;
  text-decoration: none; cursor: pointer;
  transition: background var(--t-fast), color var(--t-fast), border-color var(--t-fast);
}
.btn:hover { background: transparent; color: var(--paper); }
.btn--line { background: transparent; color: var(--paper); border-color: var(--line-strong); }
.btn--line:hover { border-color: var(--paper); }
.btn .arr { transition: transform var(--t-ui) var(--ease-out); }
.btn:hover .arr { transform: translateX(4px); }
.link {
  display: inline-flex; align-items: center; gap: 10px; min-height: 44px;
  font-weight: 600; text-decoration: none;
  background: linear-gradient(currentColor, currentColor) 0 calc(100% - 10px) / 100% 1px no-repeat;
  transition: background-size var(--t-ui) var(--ease-out);
}
.link:hover { background-size: 0% 1px; background-position: 100% calc(100% - 10px); }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 24px; }

/* ---------- cabeçalho ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 50; height: var(--header-h);
  display: flex; align-items: center;
  transition: background var(--t-ui), border-color var(--t-ui), transform var(--t-ui) var(--ease-out);
  border-bottom: 1px solid transparent;
}
.site-header.is-solid { background: rgba(10, 10, 11, 0.92); border-color: var(--line); }
@supports (backdrop-filter: blur(1px)) { .site-header.is-solid { background: rgba(10, 10, 11, 0.78); backdrop-filter: blur(14px); } }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.wordmark { display: inline-flex; align-items: baseline; gap: 12px; text-decoration: none; }
.wordmark .name { font-family: var(--serif); font-size: var(--fs-lead); letter-spacing: -0.01em; }
.wordmark .role { font-family: var(--mono); font-size: var(--fs-plate); letter-spacing: 0.16em; text-transform: uppercase; color: var(--paper-2); }
.nav { display: flex; align-items: center; gap: 30px; }
.nav a { font-size: var(--fs-cap); text-decoration: none; color: var(--paper-2); transition: color var(--t-fast); padding: 12px 0; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--paper); }
.nav a[aria-current="page"] { background: linear-gradient(var(--signal), var(--signal)) 0 calc(100% - 6px) / 100% 1px no-repeat; }
.nav .btn { min-height: 40px; padding: 0 16px; color: var(--ink); }
.nav .btn:hover { color: var(--paper); }
.menu-btn {
  display: none; align-items: center; gap: 10px; min-height: 44px; padding: 0 4px;
  background: none; border: 0; cursor: pointer;
  font-family: var(--mono); font-size: var(--fs-label); letter-spacing: 0.16em; text-transform: uppercase;
}
.menu-btn .bars { width: 22px; height: 9px; position: relative; }
.menu-btn .bars::before, .menu-btn .bars::after { content: ""; position: absolute; left: 0; right: 0; height: 1px; background: currentColor; transition: transform var(--t-ui) var(--ease-out), top var(--t-ui) var(--ease-out); }
.menu-btn .bars::before { top: 0; }
.menu-btn .bars::after { top: 8px; }
.menu-open .menu-btn .bars::before { top: 4px; transform: rotate(45deg); }
.menu-open .menu-btn .bars::after { top: 4px; transform: rotate(-45deg); }

.menu-panel {
  position: fixed; inset: 0; z-index: 40; background: var(--ink);
  padding: calc(var(--header-h) + 28px) var(--gutter) 32px;
  display: flex; flex-direction: column; justify-content: space-between;
  clip-path: inset(0 0 100% 0);
  visibility: hidden;
  transition: clip-path var(--t-ed) var(--ease-film), visibility 0s linear var(--t-ed);
}
.menu-open .menu-panel { clip-path: inset(0 0 0 0); visibility: visible; transition: clip-path var(--t-ed) var(--ease-film), visibility 0s; }
.menu-panel ol { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; }
.menu-panel ol a { display: flex; align-items: baseline; gap: 16px; text-decoration: none; padding: 6px 0; }
.menu-panel ol a span { font-family: var(--mono); font-size: var(--fs-label); color: var(--stone); letter-spacing: 0.12em; }
.menu-panel ol a strong { font-family: var(--serif); font-weight: 400; font-size: clamp(2.4rem, 11vw, 3.4rem); line-height: 1.05; }
.menu-panel .slate { display: grid; gap: 10px; }
.menu-panel .slate a { text-decoration: none; }
body.menu-open { overflow: hidden; }

/* ---------- mídia ---------- */
.frame { position: relative; overflow: hidden; background: var(--ink-3); border-radius: 2px; }
.frame > img, .frame > picture, .frame > picture > img, .frame > video { width: 100%; height: 100%; object-fit: cover; }
.frame--916 { aspect-ratio: 9 / 16; }
.frame--45 { aspect-ratio: 4 / 5; }
.caption { margin-top: 12px; display: flex; justify-content: space-between; gap: 16px; }

.sound-btn {
  position: absolute; z-index: 3; right: 12px; bottom: 12px;
  display: inline-flex; align-items: center; gap: 8px; min-height: 36px; padding: 0 12px;
  background: rgba(10, 10, 11, 0.72); border: 1px solid var(--line-strong); border-radius: 2px; cursor: pointer;
  font-family: var(--mono); font-size: var(--fs-label); letter-spacing: 0.12em; text-transform: uppercase; color: var(--paper);
}
.sound-btn:hover { border-color: var(--paper); }

/* V3: marcadores internos removidos da pagina; dado faltante vira comentario no HTML. */

/* ---------- movimento (cada tipo tem uma função) ---------- */
/* máscara de linha: título entra como legenda de abertura */
.ln { display: block; overflow: hidden; padding-bottom: 0.08em; margin-bottom: -0.08em; }
.ln > span { display: block; }
.js [data-reveal="mask"] .ln > span { transform: translateY(105%); transition: transform var(--t-ed) var(--ease-film); }
.js [data-reveal="mask"].is-in .ln > span { transform: none; }
.js [data-reveal="mask"].is-in .ln:nth-child(2) > span { transition-delay: 90ms; }
.js [data-reveal="mask"].is-in .ln:nth-child(3) > span { transition-delay: 180ms; }
.js [data-reveal="mask"].is-in .ln:nth-child(4) > span { transition-delay: 270ms; }
/* cortina: imagem entra como corte de montagem, da esquerda para a direita */
.js [data-reveal="wipe"] { clip-path: inset(0 100% 0 0); transition: clip-path var(--t-special) var(--ease-film); }
.js [data-reveal="wipe"].is-in { clip-path: inset(0 0 0 0); }
/* íris + push lento: aproxima a câmera enquanto abre o quadro */
.js [data-reveal="iris"] { clip-path: inset(10% 10% 10% 10%); transition: clip-path var(--t-special) var(--ease-film); }
.js [data-reveal="iris"] img, .js [data-reveal="iris"] video { transform: scale(1.12); transition: transform 2200ms var(--ease-out); }
.js [data-reveal="iris"].is-in { clip-path: inset(0 0 0 0); }
.js [data-reveal="iris"].is-in img, .js [data-reveal="iris"].is-in video { transform: scale(1); }
/* tracking: etiqueta mono fecha o espaçamento como título de crédito */
.js [data-reveal="track"] { letter-spacing: 0.5em; opacity: 0; transition: letter-spacing var(--t-special) var(--ease-out), opacity var(--t-ed); }
.js [data-reveal="track"].is-in { letter-spacing: 0.14em; opacity: 1; }
/* corte seco: aparece de uma vez, sem transição — ritmo de montagem */
.js [data-reveal="cut"] { visibility: hidden; }
.js [data-reveal="cut"].is-in { visibility: visible; }

/* ---------- rodapé ---------- */
.site-footer { border-top: 1px solid var(--line); padding: 64px 0 40px; margin-top: 0; }
.site-footer .grid { row-gap: 40px; }
.site-footer .sign { grid-column: 1 / span 5; }
.site-footer .sign .display { font-size: clamp(2rem, 3.2vw, 3rem); }
.site-footer .sign p { margin-top: 16px; color: var(--paper-2); max-width: 40ch; font-size: var(--fs-ui); }
.site-footer nav { grid-column: 7 / span 3; }
.site-footer .contacts { grid-column: 10 / span 3; }
.site-footer ul { list-style: none; padding: 0; margin: 14px 0 0; display: grid; gap: 4px; }
.site-footer li a { text-decoration: none; color: var(--paper-2); display: inline-block; padding: 6px 0; }
.site-footer li a:hover { color: var(--paper); }
.site-footer .base { grid-column: 1 / -1; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding-top: 28px; border-top: 1px solid var(--line); }

/* ================= HOME ================= */
.hero {
  min-height: 100svh; display: grid; align-items: end;
  padding: calc(var(--header-h) + 24px) 0 40px;
  overflow: hidden;
}
.hero .grid { align-items: end; }
.hero-copy { grid-column: 1 / span 7; position: relative; z-index: 2; padding-bottom: 12px; }
.hero h1 { font-size: clamp(3rem, 6.4vw, 6.6rem); max-width: 11ch; }
.hero .lede { margin-top: 28px; }
.hero .actions { margin-top: 32px; }
.hero-film { grid-column: 8 / span 4; position: relative; z-index: 1; align-self: center; justify-self: end; width: min(100%, calc((100svh - var(--header-h) - 120px) * 9 / 16)); }
.hero-film .frame { aspect-ratio: 9 / 16; }
.js .hero-film .frame { clip-path: inset(38% 0 38% 0); transition: clip-path var(--t-special) var(--ease-film) 250ms; }
.js .hero.is-open .hero-film .frame { clip-path: inset(0 0 0 0); }
.hero-film .tc { display: flex; justify-content: space-between; gap: 12px; margin-top: 12px; }
.hero-film .tc output { font-variant-numeric: tabular-nums; color: var(--paper); }
.hero-foot { grid-column: 1 / -1; display: flex; justify-content: space-between; gap: 16px; margin-top: 40px; padding-top: 18px; border-top: 1px solid var(--line); }

.signature { padding: clamp(96px, 14vw, 180px) 0 clamp(72px, 10vw, 140px); }
.signature .line { grid-column: 1 / -1; font-size: clamp(2.2rem, 5.6vw, 5.8rem); }
.signature .line .plus { font-style: normal; color: var(--signal); font-family: var(--sans); font-weight: 400; margin: 0 0.12em; font-size: 0.7em; vertical-align: 0.1em; }
.signature .note { grid-column: 7 / span 5; margin-top: 40px; }
.signature .note p { color: var(--paper-2); }

/* projeto em destaque: tríptico que vira quadro único ao rolar */
.feature { height: 190vh; }
.feature-stage { position: sticky; top: 0; height: 100svh; overflow: hidden; }
.feature-panels { position: absolute; inset: var(--header-h) 0 0 0; }
.feature-panel { position: absolute; top: 0; bottom: 0; width: 33.334%; will-change: transform, opacity; }
.feature-panel .frame { height: 100%; border-radius: 0; }
.feature-panel:nth-child(1) { left: 0; }
.feature-panel:nth-child(2) { left: 33.333%; }
.feature-panel:nth-child(3) { left: 66.666%; }
.feature-copy {
  position: absolute; z-index: 2; left: var(--gutter); top: calc(var(--header-h) + 40px); bottom: 48px;
  width: min(42%, 560px);
  display: flex; flex-direction: column; justify-content: space-between;
}
.js .feature-copy { opacity: 0; transform: translateY(24px); visibility: hidden; }
.feature-tag { position: absolute; z-index: 2; left: var(--gutter); bottom: 28px; background: rgba(10, 10, 11, 0.7); padding: 8px 12px; }
.feature.is-static { height: 100svh; }
.feature-copy .num { font-family: var(--serif); font-size: clamp(5rem, 11vw, 10rem); line-height: 0.8; color: transparent; -webkit-text-stroke: 1px var(--line-strong); }
.feature-copy h2 { font-size: clamp(2.6rem, 5vw, 4.8rem); margin-top: 18px; }
.feature-copy .meta { margin-top: 16px; }
.feature-copy p { margin-top: 20px; color: var(--paper-2); max-width: 44ch; }
.feature-copy .link { margin-top: 20px; }
.feature-strip { display: none; }

/* showreel */
.reel { padding: clamp(96px, 12vw, 160px) 0; background: var(--ink-2); border-block: 1px solid var(--line); }
.reel-head { grid-column: 1 / span 6; }
.reel-head h2 { font-size: clamp(2.6rem, 5vw, 4.6rem); margin-top: 16px; }
.reel-head p { margin-top: 20px; color: var(--paper-2); max-width: 44ch; }
.reel-chapters { grid-column: 1 / span 6; margin-top: 44px; list-style: none; padding: 0; counter-reset: cap; }
.reel-chapters li { border-top: 1px solid var(--line); }
.reel-chapters li:last-child { border-bottom: 1px solid var(--line); }
.reel-chapters button {
  width: 100%; display: grid; grid-template-columns: 76px 1fr auto; align-items: baseline; gap: 16px;
  padding: 11px 0; background: none; border: 0; text-align: left; cursor: pointer; color: var(--paper-2);
  transition: color var(--t-fast);
}
.reel-chapters button:hover { color: var(--paper); }
.reel-chapters .t { font-family: var(--mono); font-size: var(--fs-label); letter-spacing: 0.08em; font-variant-numeric: tabular-nums; }
.reel-chapters .n { font-family: var(--serif); font-size: var(--fs-lead); }
.reel-chapters .k { font-family: var(--mono); font-size: var(--fs-plate); letter-spacing: 0.12em; text-transform: uppercase; color: var(--stone); }
.reel-chapters li.is-now button { color: var(--paper); }
.reel-chapters li.is-now .t { color: var(--signal); }
.reel-player { grid-column: 8 / span 4; grid-row: 1 / span 2; align-self: start; position: sticky; top: calc(var(--header-h) + 24px); }
.reel-player .frame { aspect-ratio: 9 / 16; max-height: calc(100svh - var(--header-h) - 140px); margin-inline: auto; }
.player-bar { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 14px; margin-top: 14px; }
.player-bar button {
  min-width: 44px; min-height: 44px; background: none; border: 1px solid var(--line-strong); border-radius: 2px; cursor: pointer;
  font-family: var(--mono); font-size: var(--fs-label); letter-spacing: 0.12em; text-transform: uppercase; padding: 0 12px;
}
.player-bar button:hover { border-color: var(--paper); }
.progress { position: relative; height: 28px; cursor: pointer; }
.progress::before { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 1px; background: var(--line-strong); }
.progress span { position: absolute; left: 0; top: calc(50% - 1px); height: 3px; background: var(--paper); width: 0; }
.progress i { position: absolute; top: 50%; width: 1px; height: 9px; margin-top: -4px; background: var(--stone); }
.player-note { margin-top: 12px; font-size: var(--fs-cap); color: var(--stone); }

/* universos */
.worlds { padding: clamp(96px, 12vw, 170px) 0 clamp(72px, 9vw, 120px); }
.worlds-head { grid-column: 1 / span 8; }
.worlds-head h2 { font-size: clamp(2.4rem, 4.4vw, 4rem); margin-top: 16px; }
.world-list { list-style: none; padding: 0; margin: 56px 0 0; }
.world { border-top: 1px solid var(--line); }
.world:last-child { border-bottom: 1px solid var(--line); }
.world a { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: clamp(16px, 2vw, 32px); align-items: center; padding: clamp(22px, 3vw, 38px) 0; text-decoration: none; }
.world .idx { grid-column: 1 / span 1; }
.world h3 { grid-column: 2 / span 5; font-size: clamp(2.6rem, 6.2vw, 6.2rem); transition: transform var(--t-ui) var(--ease-out), font-style var(--t-fast); }
.world p { grid-column: 7 / span 4; color: var(--paper-2); }
.world .go { grid-column: 12 / span 1; justify-self: end; font-size: var(--fs-lead); transition: transform var(--t-ui) var(--ease-out); }
.world .thumbs { display: none; }
@media (hover: hover) and (pointer: fine) {
  .world a:hover h3 { transform: translateX(14px); font-style: italic; }
  .world a:hover .go { transform: translateX(6px); }
}
.world-preview {
  position: fixed; z-index: 30; left: 0; top: 0; width: 220px; aspect-ratio: 9 / 16;
  pointer-events: none; opacity: 0; transform: translate3d(-50%, -50%, 0) scale(0.92);
  transition: opacity var(--t-ui), transform var(--t-ui) var(--ease-out);
}
.world-preview.is-on { opacity: 1; transform: translate3d(-50%, -50%, 0) scale(1); }
.world-preview img { width: 100%; height: 100%; object-fit: cover; }
.worlds-foot { grid-column: 1 / -1; margin-top: 36px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; }

/* manifesto */
.manifesto { padding: clamp(80px, 10vw, 150px) 0; }
.manifesto .portrait { grid-column: 1 / span 5; }
.manifesto .text { grid-column: 7 / span 6; align-self: center; }
.manifesto h2 { font-size: clamp(2.6rem, 5vw, 4.8rem); margin-top: 18px; }
.manifesto .prose { margin-top: 28px; }
.manifesto .link { margin-top: 24px; }

/* prova */
.quotes { padding: clamp(72px, 9vw, 130px) 0; border-top: 1px solid var(--line); }
.quotes .slate { grid-column: 1 / -1; }
.quote { margin-top: 40px; }
.quote:nth-of-type(1) { grid-column: 1 / span 7; }
.quote:nth-of-type(2) { grid-column: 6 / span 7; margin-top: 72px; }
.quote p { font-family: var(--serif); font-style: italic; font-size: clamp(1.7rem, 2.8vw, 2.7rem); line-height: 1.18; }
.quote footer { margin-top: 18px; }

/* chamada final */
.finale { position: relative; min-height: 92svh; display: grid; align-items: end; overflow: hidden; border-top: 1px solid var(--line); }
.finale-media { position: absolute; inset: 0 0 0 46%; }
.finale-media picture, .finale-media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
.finale-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, var(--ink) 0%, rgba(10, 10, 11, 0.55) 30%, rgba(10, 10, 11, 0) 60%), linear-gradient(0deg, rgba(10, 10, 11, 0.75), transparent 35%); }
.finale-copy { position: relative; z-index: 1; padding: 120px 0 72px; }
.finale h2 { font-size: clamp(3rem, 7vw, 7rem); max-width: 10ch; margin-top: 18px; }
.finale .actions { margin-top: 36px; }
.finale .credit { margin-top: 48px; }

/* ================= PÁGINAS INTERNAS ================= */
.page-head { padding: calc(var(--header-h) + clamp(48px, 8vw, 120px)) 0 clamp(40px, 6vw, 80px); }
.page-head h1 { grid-column: 1 / span 9; font-size: clamp(3.4rem, 9vw, 9rem); margin-top: 18px; }
.page-head .lede { grid-column: 1 / span 6; margin-top: 28px; }
.page-head .aside { grid-column: 9 / span 4; align-self: end; }

/* projetos: seleção */
.selected { padding-bottom: clamp(72px, 9vw, 130px); }
.sel-item a { text-decoration: none; display: block; }
.sel-item .frame { aspect-ratio: 4 / 5; }
.sel-item--a { grid-column: 1 / span 7; grid-row: span 2; }
.sel-item--a .frame { aspect-ratio: 4 / 5; }
.sel-item--b { grid-column: 9 / span 4; }
.sel-item--c { grid-column: 9 / span 4; margin-top: 40px; }
.sel-item h2 { font-size: clamp(2rem, 3.4vw, 3.2rem); margin-top: 16px; }
.sel-item .slate { margin-top: 14px; }
.sel-item .frame img, .sel-item .frame video { transition: transform 1400ms var(--ease-out); }
@media (hover: hover) { .sel-item a:hover .frame img { transform: scale(1.035); } }

/* projetos: todo o trabalho */
.archive { padding: clamp(72px, 9vw, 120px) 0 clamp(96px, 12vw, 160px); border-top: 1px solid var(--line); }
.archive-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 24px; }
.archive-head h2 { font-size: clamp(2.4rem, 4.6vw, 4.2rem); }
.filters { display: flex; flex-wrap: wrap; gap: 6px 22px; margin-top: 28px; }
.filters button {
  min-height: 44px; background: none; border: 0; padding: 0; cursor: pointer;
  font-family: var(--mono); font-size: var(--fs-label); letter-spacing: 0.12em; text-transform: uppercase; color: var(--stone);
}
.filters button sup { font-size: var(--fs-plate); margin-left: 4px; }
.filters button:hover { color: var(--paper); }
.filters button[aria-pressed="true"] { color: var(--paper); background: linear-gradient(var(--signal), var(--signal)) 0 calc(100% - 10px) / 100% 1px no-repeat; }
.work-grid { list-style: none; padding: 0; margin: 40px 0 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 40px clamp(14px, 1.6vw, 24px); }
.work button { display: block; width: 100%; padding: 0; background: none; border: 0; text-align: left; cursor: pointer; }
.work .frame { aspect-ratio: 9 / 16; }
.work .frame video { position: absolute; inset: 0; opacity: 0; transition: opacity var(--t-ui); }
.work .frame.is-playing video { opacity: 1; }
.work h3 { font-family: var(--serif); font-weight: 400; font-size: var(--fs-lead); line-height: 1.15; margin-top: 14px; }
.work .slate { margin-top: 8px; display: block; }
.work .hook { margin-top: 6px; font-size: var(--fs-cap); color: var(--stone); }
.work.is-hidden { display: none; }
.cursor-tag {
  position: fixed; z-index: 30; left: 0; top: 0; pointer-events: none;
  font-family: var(--mono); font-size: var(--fs-label); letter-spacing: 0.16em; text-transform: uppercase;
  background: var(--paper); color: var(--ink); padding: 6px 10px;
  opacity: 0; transform: translate3d(-50%, -50%, 0); transition: opacity var(--t-fast);
}
.cursor-tag.is-on { opacity: 1; }

/* lightbox */
.viewer { border: 0; padding: 0; background: transparent; color: var(--paper); max-width: none; max-height: none; width: 100%; height: 100%; }
.viewer::backdrop { background: rgba(10, 10, 11, 0.96); }
.viewer-inner { height: 100%; display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; gap: 40px; padding: 72px var(--gutter) 32px; }
.viewer video { height: calc(100svh - 120px); aspect-ratio: 9 / 16; max-width: calc(100vw - 2 * var(--gutter)); background: #000; object-fit: contain; }
.viewer-info h2 { font-size: clamp(2rem, 3vw, 3rem); margin-top: 14px; }
.viewer-info p { margin-top: 14px; color: var(--paper-2); max-width: 34ch; }
.viewer-info .actions { margin-top: 24px; }
.viewer-close { position: absolute; top: 16px; right: var(--gutter); min-height: 44px; padding: 0 14px; background: none; border: 1px solid var(--line-strong); border-radius: 2px; cursor: pointer; font-family: var(--mono); font-size: var(--fs-label); letter-spacing: 0.14em; text-transform: uppercase; }

/* case individual */
.case-hero { padding: calc(var(--header-h) + 32px) 0 clamp(64px, 8vw, 110px); }
.case-hero .film { grid-column: 7 / span 5; grid-row: 1 / span 3; }
.case-hero .film .frame { aspect-ratio: 9 / 16; max-height: calc(100svh - var(--header-h) - 64px); margin-left: auto; }
.case-hero .title { grid-column: 1 / span 6; align-self: end; }
.case-hero h1 { font-size: clamp(3.4rem, 8vw, 8rem); margin-top: 16px; }
.case-hero .lede { margin-top: 24px; }
.case-meta { grid-column: 1 / span 6; align-self: end; margin-top: 48px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 24px; }
.case-meta div { border-top: 1px solid var(--line); padding: 12px 0; }
.case-meta dt { font-family: var(--mono); font-size: var(--fs-plate); letter-spacing: 0.14em; text-transform: uppercase; color: var(--stone); }
.case-meta dd { margin-top: 4px; font-size: var(--fs-ui); }
.chapter { padding: clamp(72px, 9vw, 130px) 0; border-top: 1px solid var(--line); }
.chapter-label { grid-column: 1 / span 3; }
.chapter-label h2 { font-family: var(--serif); font-weight: 400; font-size: clamp(2rem, 3vw, 2.8rem); line-height: 1.05; margin-top: 12px; }
.chapter-body { grid-column: 5 / span 7; }
.chapter-body .display.big { font-size: clamp(2rem, 3.6vw, 3.4rem); line-height: 1.12; }
.chapter-body .prose { margin-top: 24px; }
.diptych { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr 1fr; gap: clamp(14px, 2vw, 28px); margin-top: 48px; }
.diptych figure .frame { aspect-ratio: 9 / 14; }
.diptych figcaption { margin-top: 12px; }
.sequence { grid-column: 1 / -1; margin-top: 48px; list-style: none; padding: 0; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: clamp(8px, 1vw, 16px); counter-reset: seq; }
.sequence li .frame { aspect-ratio: 9 / 16; }
.sequence li .slate { display: block; margin-top: 10px; }
.sequence li .slate::before { counter-increment: seq; content: "0" counter(seq) " "; color: var(--signal); }
.detail-pair { grid-column: 1 / -1; display: grid; grid-template-columns: 5fr 7fr; gap: clamp(14px, 2vw, 28px); align-items: end; margin-top: 48px; }
.push { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(10px, 1.4vw, 20px); margin-top: 48px; }
.push .frame { aspect-ratio: 9 / 16; }
.push figure:nth-child(2) { margin-top: 64px; }
.push figure:nth-child(3) { margin-top: 128px; }
.push figcaption { margin-top: 10px; }
.deliver { list-style: none; padding: 0; margin: 24px 0 0; }
.deliver li { display: flex; justify-content: space-between; gap: 16px; border-top: 1px solid var(--line); padding: 14px 0; }
.deliver li:last-child { border-bottom: 1px solid var(--line); }
.deliver li span:last-child { font-family: var(--mono); font-size: var(--fs-label); letter-spacing: 0.1em; color: var(--stone); text-transform: uppercase; }
.result-film { grid-column: 1 / span 4; }
.result-film .frame { aspect-ratio: 9 / 16; }
.result-text { grid-column: 6 / span 7; align-self: center; }
.next-case { display: block; text-decoration: none; position: relative; overflow: hidden; border-top: 1px solid var(--line); }
.next-case .wrap { position: relative; z-index: 1; padding: clamp(80px, 10vw, 150px) 0; }
.next-case .display { font-size: clamp(3rem, 9vw, 9rem); margin-top: 14px; transition: transform var(--t-ed) var(--ease-out); }
.next-case .bg { position: absolute; inset: 0; opacity: 0.28; transition: opacity var(--t-ed); }
.next-case .bg picture { display: block; width: 100%; height: 100%; }
.next-case .bg img { width: 100%; height: 100%; object-fit: cover; }
.next-case:hover .bg { opacity: 0.45; }
.next-case:hover .display { transform: translateX(18px); }

/* sobre */
.about-hero { padding: calc(var(--header-h) + 40px) 0 clamp(72px, 9vw, 130px); }
.about-hero .portrait { grid-column: 1 / span 5; grid-row: 1 / span 2; }
.about-hero .title { grid-column: 7 / span 6; align-self: end; }
.about-hero h1 { font-size: clamp(3.2rem, 7vw, 7rem); margin-top: 16px; }
.about-hero .lede { margin-top: 28px; }
.principles { list-style: none; padding: 0; margin: 0; grid-column: 1 / -1; }
.principles li { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: clamp(16px, 2vw, 32px); border-top: 1px solid var(--line); padding: clamp(24px, 3vw, 40px) 0; }
.principles li:last-child { border-bottom: 1px solid var(--line); }
.principles .slate { grid-column: 1 / span 2; padding-top: 10px; }
.principles h3 { grid-column: 3 / span 5; font-family: var(--serif); font-weight: 400; font-size: clamp(1.8rem, 3vw, 2.8rem); line-height: 1.08; }
.principles p { grid-column: 8 / span 5; color: var(--paper-2); padding-top: 8px; }
.cameo { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(10px, 1.4vw, 20px); margin-top: 48px; }
.cameo figure:nth-child(even) { margin-top: 56px; }
.cameo .frame { aspect-ratio: 9 / 16; }
.cameo figcaption { margin-top: 10px; }
.tools { grid-column: 5 / span 8; font-family: var(--serif); font-size: clamp(1.8rem, 3.6vw, 3.4rem); line-height: 1.15; }
.tools span { color: var(--stone); font-style: italic; }

/* contato */
.contact-page { padding: calc(var(--header-h) + clamp(40px, 7vw, 100px)) 0 clamp(80px, 10vw, 140px); }
.contact-page .title { grid-column: 1 / span 5; }
.contact-page h1 { font-size: clamp(3.2rem, 7vw, 6.6rem); margin-top: 16px; }
.contact-page .lede { margin-top: 24px; }
.direct { margin-top: 40px; list-style: none; padding: 0; }
.direct li { border-top: 1px solid var(--line); }
.direct li:last-child { border-bottom: 1px solid var(--line); }
.direct a { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 16px 0; text-decoration: none; }
.direct a strong { font-family: var(--serif); font-weight: 400; font-size: 1.5rem; }
.brief { grid-column: 7 / span 6; }
.brief fieldset { border: 0; padding: 0; margin: 0 0 28px; }
.brief legend, .brief label > span { display: block; font-family: var(--mono); font-size: var(--fs-label); letter-spacing: 0.14em; text-transform: uppercase; color: var(--paper-2); margin-bottom: 10px; }
.brief .q { font-family: var(--serif); font-size: clamp(1.6rem, 2.4vw, 2.2rem); line-height: 1.15; margin-bottom: 20px; text-transform: none; letter-spacing: -0.01em; color: var(--paper); font-weight: 400; }
.brief .row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.brief label { display: block; margin-bottom: 22px; }
.brief input, .brief textarea, .brief select {
  width: 100%; min-height: 48px; padding: 10px 0; background: transparent; color: var(--paper);
  border: 0; border-bottom: 1px solid var(--line-strong); border-radius: 0; font: inherit; font-size: var(--fs-body);
}
.brief select { appearance: none; background: linear-gradient(45deg, transparent 50%, var(--paper-2) 50%) calc(100% - 12px) 50% / 6px 6px no-repeat, linear-gradient(-45deg, transparent 50%, var(--paper-2) 50%) calc(100% - 6px) 50% / 6px 6px no-repeat; }
.brief select option { background: var(--ink-2); color: var(--paper); }
.brief textarea { min-height: 120px; resize: vertical; }
.brief input:focus, .brief textarea:focus, .brief select:focus { outline: none; border-bottom-color: var(--signal); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips label { margin: 0; }
.chips input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.chips span { display: inline-flex !important; align-items: center; min-height: 44px; padding: 0 16px; margin: 0 !important; border: 1px solid var(--line-strong); border-radius: 2px; cursor: pointer; font-family: var(--sans) !important; font-size: var(--fs-cap) !important; letter-spacing: 0 !important; text-transform: none !important; color: var(--paper-2) !important; transition: border-color var(--t-fast), color var(--t-fast), background var(--t-fast); }
.chips input:checked + span { border-color: var(--paper); color: var(--ink) !important; background: var(--paper); }
.chips input:focus-visible + span { outline: 2px solid var(--signal); outline-offset: 2px; }
.brief .send { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; margin-top: 8px; }
.brief .hint { font-size: var(--fs-cap); color: var(--stone); margin-top: 14px; }
.brief .err { color: #ffb4a8; font-size: var(--fs-cap); margin-top: 10px; min-height: 1.4em; }

/* ================= RESPONSIVO ================= */
@media (max-width: 1100px) {
  .work-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .sequence { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 28px; }
}

@media (max-width: 900px) {
  :root { --header-h: 60px; }
  .grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .grid > * { grid-column: 1 / -1 !important; grid-row: auto !important; }
  .nav { display: none; }
  .menu-btn { display: inline-flex; }
  .wordmark .role { display: none; }

  /* hero: o filme vertical vira a própria tela */
  .hero { padding: 0; min-height: 100svh; align-items: end; }
  .hero-film { position: absolute; inset: 0; width: 100%; z-index: 0; }
  .hero-film .frame { aspect-ratio: auto; height: 100%; border-radius: 0; }
  .js .hero-film .frame { clip-path: inset(0 0 0 0); }
  .hero-film .frame::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10, 10, 11, 0.55) 0%, rgba(10, 10, 11, 0) 22%, rgba(10, 10, 11, 0) 38%, rgba(10, 10, 11, 0.92) 72%, var(--ink) 100%); }
  .hero-film .tc { position: absolute; top: calc(var(--header-h) + 8px); left: var(--gutter); right: var(--gutter); margin: 0; z-index: 2; }
  .hero-copy { padding: 0 0 8px; }
  .hero h1 { font-size: clamp(2.7rem, 12.4vw, 3.6rem); max-width: 12ch; }
  .hero .lede { margin-top: 18px; font-size: var(--fs-ui); }
  .hero .actions { margin-top: 24px; }
  .hero .actions .btn { flex: 1 1 auto; justify-content: center; }
  .hero-foot { margin-top: 24px; padding-bottom: 20px; }
  .hero-foot .slate:last-child { display: none; }

  .signature .note { margin-top: 28px; }

  /* destaques: sem pin; um projeto por vez, faixa com swipe opcional */
  .feature { height: auto; padding: 64px 0 24px; border-top: 1px solid var(--line); }
  .feature-stage { position: static; height: auto; overflow: visible; }
  .feature-panels { display: none; }
  .feature-copy, .js .feature-copy { position: static; width: auto; opacity: 1; transform: none; visibility: visible; padding: 0 var(--gutter); display: block; }
  .feature-tag { display: none; }
  .feature-copy .num { font-size: 4.6rem; }
  .feature-copy h2 { font-size: clamp(2.4rem, 11vw, 3.2rem); }
  .feature-strip {
    display: flex; gap: 10px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 0 var(--gutter); margin: 28px 0 0;
    scrollbar-width: none; list-style: none;
  }
  .feature-strip::-webkit-scrollbar { display: none; }
  .feature-strip li { flex: 0 0 78%; scroll-snap-align: center; }
  .feature-strip .frame { aspect-ratio: 9 / 14; }
  .feature-strip .slate { display: block; margin-top: 8px; }

  .reel-player { position: static; margin-top: 36px; }
  .reel-player .frame { max-height: 78svh; }
  .reel-chapters { margin-top: 28px; }

  .world a { grid-template-columns: 1fr auto; row-gap: 8px; }
  .world .idx { grid-column: 1 / -1; }
  .world h3 { grid-column: 1 / 2; font-size: clamp(2.6rem, 12vw, 3.6rem); }
  .world .go { grid-column: 2 / 3; grid-row: 2; }
  .world p { grid-column: 1 / -1; }
  .world .thumbs { display: flex; grid-column: 1 / -1; gap: 8px; margin-top: 10px; }
  .world .thumbs .frame { flex: 1; aspect-ratio: 3 / 4; }
  .world-preview { display: none; }

  .manifesto .text { margin-top: 36px; }
  .quote:nth-of-type(2) { margin-top: 48px; }

  .finale { min-height: auto; }
  .finale-media { position: relative; inset: auto; height: 70svh; }
  .finale-media::after { background: linear-gradient(0deg, var(--ink) 0%, rgba(10, 10, 11, 0) 50%); }
  .finale-copy { padding: 0 0 72px; margin-top: -120px; }
  .finale .actions .btn { flex: 1 1 auto; justify-content: center; }

  .site-footer .grid > * { grid-column: 1 / -1 !important; }

  /* legenda em coluna estreita (3 quadros lado a lado): quebra em vez de invadir o quadro vizinho */
  .caption { flex-wrap: wrap; row-gap: 2px; }

  .page-head .aside { margin-top: 28px; }
  .sel-item--c, .sel-item--b { margin-top: 48px; }
  .work-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 12px; }
  .work h3 { font-size: var(--fs-body); }
  .work .hook { display: none; }
  .viewer-inner { grid-template-columns: 1fr; gap: 16px; padding: 64px 12px 20px; align-content: center; justify-items: center; }
  .viewer video { height: min(72svh, calc((100vw - 24px) * 16 / 9)); }
  .viewer-info { text-align: center; }
  .viewer-info h2 { font-size: 1.6rem; }
  .viewer-info p { display: none; }
  .viewer-info .actions { justify-content: center; margin-top: 14px; }
  .viewer-spacer { display: none; }

  .case-hero .film { margin-bottom: 36px; }
  .case-hero .film .frame { max-height: 70svh; margin-inline: auto; }
  .case-meta { margin-top: 32px; }
  .chapter-body { margin-top: 24px; }
  .diptych { gap: 8px; }
  .detail-pair { grid-template-columns: 1fr; }
  .sequence { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 62%; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 8px; }
  .sequence li { scroll-snap-align: start; }
  .push { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
  .push figure:nth-child(2) { margin-top: 32px; }
  .push figure:nth-child(3) { margin-top: 64px; }
  .result-text { margin-top: 32px; }

  .about-hero .title { margin-top: 32px; }
  .principles li { grid-template-columns: 1fr; row-gap: 10px; }
  .principles li > * { grid-column: 1 / -1 !important; padding-top: 0 !important; }
  .cameo { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cameo figure:nth-child(even) { margin-top: 40px; }

  .brief { margin-top: 56px; }
  .brief .row { grid-template-columns: 1fr; gap: 0; }
}

@media (max-width: 480px) {
  .site-footer .base { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: 1ms !important; animation-duration: 1ms !important; transition-delay: 0ms !important; }
  .js [data-reveal] { clip-path: none !important; visibility: visible !important; opacity: 1 !important; }
  .js [data-reveal="track"] { letter-spacing: 0.14em; }
  .js [data-reveal] .ln > span, .js [data-reveal] img, .js [data-reveal] video { transform: none !important; }
  .js .hero-film .frame { clip-path: none; }
}

/* ================= V3 · FRAME / CUT ================= */
/* capa de case: o quadro abre de 2.39:1 para 16:9 (mudança de crop), sem fade */
.case-cover { position: relative; min-height: 100svh; display: grid; align-items: end; overflow: hidden; background: var(--ink); }
.case-cover .cover { position: absolute; inset: 0; }
.case-cover .cover picture, .case-cover .cover img { width: 100%; height: 100%; object-fit: cover; }
.case-cover .cover::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, var(--ink) 0%, rgba(10, 10, 11, 0.78) 24%, rgba(10, 10, 11, 0.2) 52%, rgba(10, 10, 11, 0) 64%), linear-gradient(180deg, rgba(10, 10, 11, 0.6) 0%, rgba(10, 10, 11, 0) 20%); }
.js [data-reveal="crop"] { clip-path: inset(12.8% 0 12.8% 0); transition: clip-path var(--t-special) var(--ease-film) 120ms; }
.js [data-reveal="crop"] img { transform: scale(1.06); transition: transform 2200ms var(--ease-out); }
.js [data-reveal="crop"].is-in { clip-path: inset(0 0 0 0); }
.js [data-reveal="crop"].is-in img { transform: none; }
.case-cover > .wrap { position: relative; z-index: 1; padding: calc(var(--header-h) + 48px) 0 clamp(32px, 4vw, 56px); }
.case-cover .title { grid-column: 1 / span 8; }
.case-cover h1 { font-size: clamp(3.4rem, 9vw, 9rem); margin-top: 14px; }
.case-cover .lede { margin-top: 20px; color: var(--paper); }
.case-cover .tc { grid-column: 9 / span 4; justify-self: end; align-self: end; font-variant-numeric: tabular-nums; }
.case-cover .case-meta { grid-column: 1 / -1; grid-template-columns: repeat(5, minmax(0, 1fr)); margin-top: clamp(32px, 4vw, 56px); }
.case-cover .case-meta--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

/* material real: a peça como foi entregue, no formato original */
.material { grid-column: 5 / span 8; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(10px, 1.4vw, 20px); margin-top: 0; }
.material--one { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: end; }
.material .frame { aspect-ratio: 9 / 16; }
.material video { background: #000; }
.material .note { color: var(--paper-2); font-size: var(--fs-cap); max-width: 32ch; }
.material figcaption { margin-top: 10px; }
.result-body .deliver { margin-top: 28px; }
.result-body .quote { margin-top: 40px; }
.result-body .quote p { font-size: clamp(1.5rem, 2.4vw, 2.2rem); }

/* próximo projeto: a capa seguinte ocupa a tela num corte seco antes de navegar */
.next-case > .wrap { display: block; }
.next-case .bg { opacity: 0.42; }
.next-case .bg picture, .next-case .bg img { width: 100%; height: 100%; object-fit: cover; }
.next-case .bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, var(--ink) 0%, rgba(10, 10, 11, 0.4) 55%, rgba(10, 10, 11, 0) 100%); }
.next-case:hover .bg { opacity: 0.62; }
.next-case .bg img { transition: transform var(--t-special) var(--ease-out); }
@media (hover: hover) { .next-case:hover .bg img { transform: scale(1.04); } }
html.is-cut .next-case { position: fixed; inset: 0; z-index: 90; border: 0; }
html.is-cut .next-case .bg { opacity: 1; transition: none; }
html.is-cut .next-case .bg::after, html.is-cut .next-case .wrap { display: none; }
html.is-cut .next-case .bg img { transform: none; transition: none; }

/* portfólio: Selected Work em capas 16:9 */
.sel-v3 { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: clamp(16px, 2vw, 32px); row-gap: clamp(48px, 6vw, 88px); margin-top: 28px; }
.sel-v3 .sel-item { grid-column: span 6; grid-row: auto; margin: 0; }
.sel-v3 .sel-item--a { grid-column: 1 / -1; }
.sel-v3 .sel-item .frame, .sel-v3 .sel-item--a .frame { aspect-ratio: 16 / 9; }
.sel-v3 .sel-item--a .frame { aspect-ratio: 2.39 / 1; }
.sel-v3 .row { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; margin-top: 14px; }
.sel-v3 .row .slate { margin: 0; }
.sel-v3 h2 { margin-top: 10px; }
.sel-v3 .sel-item .frame img { transition: transform 1400ms var(--ease-out); }
@media (hover: hover) { .sel-v3 .sel-item--a a:hover .frame img { transform: scale(1.03); } }

/* sobre: pranchas do processo */
.plates { grid-column: 1 / -1; display: grid; grid-template-columns: 7fr 5fr; gap: clamp(14px, 2vw, 28px); margin-top: 48px; align-items: end; }
.plates .frame { aspect-ratio: 3 / 2; }
.plates figure:nth-child(2) .frame { aspect-ratio: 4 / 5; }
.plates figcaption { margin-top: 10px; }

@media (max-width: 900px) {
  .case-cover { min-height: 0; display: block; }
  .case-cover .cover { position: relative; inset: auto; aspect-ratio: 4 / 5; }
  .case-cover .cover::after { background: linear-gradient(0deg, var(--ink) 0%, rgba(10, 10, 11, 0) 42%), linear-gradient(180deg, rgba(10, 10, 11, 0.6) 0%, rgba(10, 10, 11, 0) 22%); }
  .case-cover > .wrap { padding: 0 0 48px; margin-top: -96px; }
  .case-cover h1 { font-size: clamp(3rem, 14vw, 4.4rem); }
  .case-cover .tc { justify-self: start; margin-top: 16px; }
  .case-cover .case-meta, .case-cover .case-meta--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .material { margin-top: 28px; gap: 8px; }
  .material--one { grid-template-columns: 1fr; }
  .material--one .frame { max-height: 78svh; margin-inline: auto; }
  .material .note { margin-top: 8px; }
  .sel-v3 { grid-template-columns: 1fr; row-gap: 48px; }
  .sel-v3 .sel-item, .sel-v3 .sel-item--a { grid-column: 1 / -1; }
  .sel-v3 .sel-item .frame, .sel-v3 .sel-item--a .frame { aspect-ratio: 4 / 5; }
  .sel-v3 .row { flex-direction: column; gap: 4px; }
  .plates { grid-template-columns: 1fr; }
  .plates figure:nth-child(2) .frame { aspect-ratio: 3 / 2; }
}

@media (prefers-reduced-motion: reduce) {
  html.is-cut .next-case { position: relative; }
}

/* Contato: campos fora do assunto selecionado não participam do formulário. */
.brief [hidden] { display: none !important; }
