/* ============================================================================
   ocastro v2: tokens e composição própria.
   O motor (scrollcraft.css/js) não é editado. Aqui só entram:
     1. seis cores herdadas de ocastro.com.br + duas famílias
     2. o markup desta página (classes .bar, .hero, .proc, .work, .niches,
        .about, .land) sem tocar em nenhum [data-sc-*]
   ========================================================================== */

:root {
  /* paleta do portfólio atual: tinta, papel, cinza. Acento = papel. */
  --sc-canvas:     #0A0A0A;
  --sc-surface:    #141414;
  --sc-ink:        #EFEEEA;
  --sc-ink-soft:   #8D8B86;
  --sc-accent:     #EFEEEA;
  --sc-accent-ink: #0A0A0A;
  --graphite:      #343434;
  --deep:          #050505;

  --sc-font-display: "Inter Tight", "Helvetica Neue", Arial, system-ui, sans-serif;
  --sc-font-text:    "Inter Tight", "Helvetica Neue", Arial, system-ui, sans-serif;
  --sc-font-mono:    "Inter Tight", "Helvetica Neue", Arial, system-ui, sans-serif;

  --sc-shadow-color: 0 0% 1%;
  --r-media: 14px;          /* mídia e molduras */
  --r-pill: 999px;          /* controles */
  --bar-h: 4.25rem;
}

/* O motor escreve --sc-p (progresso do ato) em cada ato, a cada quadro. Como variável comum ela é herdada,
   e o navegador recalcula o estilo da seção inteira por quadro mesmo sem ninguém usá-la. Registrada como
   não herdável, só o elemento do ato é invalidado. Em navegador sem @property, nada muda. */
@property --sc-p { syntax: "<number>"; inherits: false; initial-value: 0; }

html { background: var(--sc-canvas); }
body { font-weight: 400; }
.sc-display { font-weight: 700; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: fixed; left: 1rem; top: -4rem; z-index: 100; background: var(--sc-ink); color: var(--sc-canvas);
  padding: .6rem 1rem; border-radius: var(--r-pill); font-weight: 500; transition: top 160ms var(--sc-ease-out); }
.skip:focus { top: 1rem; }
.noscript { padding: 2rem var(--sc-gutter); color: var(--sc-ink-soft); }

/* ------------------------------------------------------------- botões --- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  min-height: 2.75rem; padding: 0 1.35rem;
  border-radius: var(--r-pill); border: 1px solid transparent;
  font-family: var(--sc-font-text); font-size: var(--sc-t-sm); font-weight: 500;
  letter-spacing: -0.005em; line-height: 1; white-space: nowrap; text-decoration: none;
  cursor: pointer;
  transition: background-color var(--sc-d-fast) var(--sc-ease-out), color var(--sc-d-fast) var(--sc-ease-out),
              border-color var(--sc-d-fast) var(--sc-ease-out), translate var(--sc-d-fast) var(--sc-ease-out);
}
.btn:active { translate: 0 1px; }
.btn--primary { background: var(--sc-accent); color: var(--sc-accent-ink); }
.btn--ghost { background: transparent; color: var(--sc-ink); border-color: var(--sc-hairline-strong); }
.btn--lg { min-height: 3.25rem; padding: 0 1.7rem; font-size: var(--sc-t-base); }
.btn--xl { min-height: 4rem; padding: 0 2.4rem; font-size: var(--sc-t-lg); font-weight: 600; letter-spacing: -0.02em; }
@media (hover: hover) and (pointer: fine) {
  .btn--primary:hover { background: #fff; }
  .btn--ghost:hover { border-color: var(--sc-ink); background: color-mix(in oklab, var(--sc-ink) 8%, transparent); }
}

/* --------------------------------------------------------- barra (pílula) -- */
.bar {
  position: fixed; inset: 0 0 auto 0; z-index: var(--sc-z-chrome);
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 1rem;
  padding: .9rem var(--sc-gutter);
  pointer-events: none;
}
.bar > * { pointer-events: auto; }
.bar__brand { display: inline-flex; align-items: center; gap: .65rem; justify-self: start; text-decoration: none;
  font-weight: 600; letter-spacing: -0.02em; font-size: var(--sc-t-sm); }
.bar__mark { flex: none; border-radius: 9px; }
.bar__brand { padding: .3rem .85rem .3rem .3rem; margin-left: -.3rem; border-radius: var(--r-pill);
  background: color-mix(in oklab, var(--sc-canvas) 62%, transparent); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  transition: background-color var(--sc-d-base) var(--sc-ease-out); }
.bar__nav {
  display: flex; gap: .15rem; padding: .3rem;
  border-radius: var(--r-pill);
  background: color-mix(in oklab, var(--sc-canvas) 78%, transparent);
  border: 1px solid var(--sc-hairline);
  box-shadow: var(--sc-e2);
  -webkit-backdrop-filter: blur(14px) saturate(1.1); backdrop-filter: blur(14px) saturate(1.1);
}
.bar__nav a {
  padding: .55rem 1rem; border-radius: var(--r-pill); text-decoration: none;
  font-size: var(--sc-t-sm); font-weight: 450; color: var(--sc-ink-soft);
  transition: color var(--sc-d-fast) var(--sc-ease-out), background-color var(--sc-d-fast) var(--sc-ease-out);
}
.bar__nav a[aria-current="true"] { color: var(--sc-ink); background: color-mix(in oklab, var(--sc-ink) 11%, transparent); }
@media (hover: hover) and (pointer: fine) { .bar__nav a:hover { color: var(--sc-ink); } }
/* sobre o papel: marca e botão invertem para tinta */
.bar { transition: color var(--sc-d-base) var(--sc-ease-out); }
.bar[data-ground="paper"] .bar__brand { color: #0A0A0A; background: rgb(239 238 234 / .72); }
.bar[data-ground="paper"] .bar__mark rect { fill: #0A0A0A; }
.bar[data-ground="paper"] .bar__mark path { stroke: #EFEEEA; }
.bar[data-ground="paper"] .bar__mark text { fill: #EFEEEA; }
.bar[data-ground="paper"] .bar__cta { background: #0A0A0A; color: #EFEEEA; }
.bar[data-ground="paper"] .bar__toggle { color: #0A0A0A; border-color: rgb(10 10 10 / .25); background: rgb(239 238 234 / .8); }
.bar__cta { box-shadow: 0 0 0 1px rgb(10 10 10 / .32), var(--sc-e2); }
.bar__end { justify-self: end; display: flex; align-items: center; gap: .6rem; }
.bar__toggle { display: none; }

@media (max-width: 860px) {
  .bar { grid-template-columns: 1fr auto; padding-block: .7rem; }
  .bar__name { display: none; }
  .bar__toggle {
    display: inline-grid; place-items: center; width: 2.75rem; height: 2.75rem;
    border-radius: var(--r-pill); border: 1px solid var(--sc-hairline-strong);
    background: color-mix(in oklab, var(--sc-canvas) 78%, transparent); color: var(--sc-ink); cursor: pointer;
  }
  .bar__toggle-i { width: 1.05rem; height: 2px; background: currentColor; position: relative; box-shadow: 0 -5px 0 currentColor, 0 5px 0 currentColor; }
  .bar__nav {
    position: fixed; left: var(--sc-gutter); right: var(--sc-gutter); top: 4.4rem;
    flex-direction: column; padding: .5rem; border-radius: 1.25rem;
    opacity: 0; visibility: hidden; translate: 0 -.5rem;
    transition: opacity var(--sc-d-base) var(--sc-ease-out), translate var(--sc-d-base) var(--sc-ease-out), visibility 0s var(--sc-d-base);
    background: color-mix(in oklab, var(--sc-canvas) 94%, transparent);
  }
  .bar__nav.is-open { opacity: 1; visibility: visible; translate: 0 0; transition-delay: 0s; }
  .bar__nav a { padding: 1rem 1.1rem; font-size: var(--sc-t-base); color: var(--sc-ink); }
}

/* celular: o desfoque de fundo e o grão custam GPU a cada quadro e quase não aparecem em tela densa */
@media (max-width: 860px) {
  .bar__nav, .bar__brand, .bar__toggle { -webkit-backdrop-filter: none; backdrop-filter: none; }
  .bar__brand { background: color-mix(in oklab, var(--sc-canvas) 80%, transparent); }
  .bar__toggle { background: color-mix(in oklab, var(--sc-canvas) 92%, transparent); }
  .sc-grain { display: none; }
}

/* ----------------------------------------------------------------- hero --- */
/* A lente: o rosto é o chão da página. A identidade vem do rosto, do anel e da voz. */
.hero, .hero__stage { background: var(--deep); }
.hero__stage { --face-d: min(86vh, 52vw); }
.hero__bg { position: absolute; inset: 0; overflow: hidden; }
.hero__bg img { width: 100%; height: 100%; max-width: none; object-fit: cover; transform: scaleX(-1); opacity: .85; }
@media (hover: hover) and (pointer: fine) { .hero__bg img { will-change: transform; } }
.hero__halo { position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: radial-gradient(38% 56% at 71% 50%, rgb(239 238 234 / .13), transparent 72%); }

/* rosto + anel */
.face { position: absolute; z-index: 2; width: var(--face-d); aspect-ratio: 1 / 1; transform-origin: 52.2% 38.56%; will-change: transform; }
/* O anel é um canvas desenhado uma vez pelo site.js. Girar um canvas é só composição na GPU:
   nada é repintado por quadro (o texto SVG girando via JS repintava duas vezes por quadro).
   A volta lenta é uma animação CSS da propriedade \`rotate\`, que roda fora da thread principal;
   o JS só soma uma rotação em \`transform\` quando o scroll muda. */
.face__ring { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; display: block; transform-origin: 50% 50%; will-change: transform; }
@media (prefers-reduced-motion: no-preference) {
  .face__ring { animation: ring-spin 72s linear infinite; }
}
@keyframes ring-spin { to { rotate: 360deg; } }
.face__disc { position: absolute; inset: 10%; border-radius: 50%; box-shadow: var(--sc-e3); }
.face__disc img { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; border-radius: 50%; }
.lens { position: absolute; left: 47.29%; top: 31.09%; width: 10.95%; height: 9.22%; pointer-events: none; }
.hero .face { right: max(var(--sc-gutter), 3vw); top: 50%; translate: 0 -50%; }

/* o mural que a lente enxerga: abre da lente até a tela inteira */
.wall { position: absolute; inset: 0; z-index: 3; overflow: hidden; pointer-events: none; clip-path: polygon(0 0, 0 0, 0 0); background: var(--deep); }
.wall__in { position: absolute; left: 0; top: 0; transform-origin: 0 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.1vw; padding-inline: 1.1vw; will-change: transform; }
.wall__in::after { content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(118deg, rgb(255 255 255 / .38), transparent 38%, transparent 62%, rgb(255 255 255 / .14)); opacity: var(--sheen, 1); }
.wall__col { display: flex; flex-direction: column; gap: 1.1vw; will-change: transform; }
.wall__col img { width: 100%; height: auto; max-width: none; border-radius: 10px; flex: none; background: #1a1a1a; }

/* texto */
.hero__copy { position: absolute; z-index: var(--sc-z-copy); left: var(--sc-gutter); bottom: clamp(2.5rem, 12vh, 7rem); max-width: min(34rem, 40vw); }
.hero__hi { margin: 0 0 .35rem; font-size: clamp(2rem, 1rem + 2vw, 3.2rem); line-height: 1; color: #CFCEC9; }
.hero__h1 { font-size: clamp(2.5rem, .5rem + 4.1vw, 5.4rem); line-height: .98; letter-spacing: -0.045em; text-wrap: balance; }
.hero__sub { margin: clamp(1rem, 2.2vh, 1.6rem) 0 0; max-width: 34ch; font-size: var(--sc-t-lg); line-height: 1.4; letter-spacing: -0.015em; color: #D8D7D3; text-wrap: balance; }
.hero__cta { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: clamp(1.4rem, 3.2vh, 2.2rem); }
.dive { position: absolute; z-index: var(--sc-z-copy); left: var(--sc-gutter); top: 50%; translate: 0 -50%; margin: 0;
  max-width: 10ch; font-size: clamp(2.6rem, 1rem + 4.6vw, 6.4rem); line-height: .98; color: var(--sc-ink); }

/* aviso de rolagem: um rótulo pequeno e uma linha fina que se desenha e some. Só no começo:
   o motor o apaga assim que a pessoa começa a rolar. */
.scroll-hint { position: absolute; z-index: var(--sc-z-copy); left: 50%; bottom: clamp(.8rem, 2.4vh, 1.5rem); translate: -50% 0; margin: 0;
  display: flex; flex-direction: column; align-items: center; gap: .6rem; pointer-events: none;
  font-size: .6875rem; font-weight: 500; letter-spacing: .18em; text-transform: uppercase; color: #A9A7A1; }
.scroll-hint i { display: block; width: 1px; height: 2.4rem; transform-origin: 50% 0;
  background: linear-gradient(to bottom, rgb(239 238 234 / .75), rgb(239 238 234 / 0)); }
@media (prefers-reduced-motion: no-preference) {
  .scroll-hint i { animation: hint-line 2.4s var(--sc-ease-in-out) infinite; }
}
@keyframes hint-line {
  0%   { transform: scaleY(0); opacity: 0; }
  30%  { opacity: 1; }
  65%  { transform: scaleY(1); opacity: 1; }
  100% { transform: scaleY(1); opacity: 0; }
}

/* a voz: Instrument Serif itálico, a fala dele no meio da tipografia seca */
.voice { font-family: "Instrument Serif", Georgia, "Times New Roman", serif; font-style: italic; font-weight: 400; letter-spacing: -0.015em; }
.sc-display em, .close__h2 em { font-family: "Instrument Serif", Georgia, serif; font-style: italic; font-weight: 400; font-size: 1.12em; letter-spacing: -0.02em; }

@media (max-width: 860px) {
  .hero__stage { --face-d: min(104vw, 54svh); }
  .hero .face { right: auto; left: 50%; top: 2.2rem; translate: -50% 0; }
  .hero__copy { max-width: none; right: var(--sc-gutter); bottom: calc(clamp(1.4rem, 4.5vh, 2.6rem) + 2.7rem); }
  .hero__hi { font-size: 1.9rem; }
  .hero__h1 { font-size: clamp(2.3rem, 10.6vw, 3.3rem); }
  .hero__sub { font-size: var(--sc-t-base); }
  .hero__cta .btn { flex: 1 1 auto; }
  .scroll-hint { bottom: .7rem; gap: .45rem; }
  .scroll-hint i { height: 1.5rem; }
  .dive { top: auto; bottom: 22%; translate: 0 0; max-width: 11ch; font-size: clamp(2.4rem, 11vw, 3.6rem); }
  .wall__in { grid-template-columns: repeat(2, 1fr); }
  .wall__col:nth-child(n+3) { display: none; }
}
/* celulares baixos: o rosto cede espaço para o texto não encostar no anel */
@media (max-width: 860px) and (max-height: 700px) {
  .hero__stage { --face-d: min(96vw, 45svh); }
  .hero .face { top: 1.2rem; }
  .hero__hi { font-size: 1.6rem; margin-bottom: .1rem; }
  .hero__sub { margin-top: .7rem; }
  .hero__cta { margin-top: 1rem; }
}

/* -------------------------------------------------------------- processo --- */
.proc { background: var(--sc-canvas); padding-top: clamp(3rem, 6vw, 6rem); }
.proc__head { max-width: 44rem; }
.proc__head .sc-display { max-width: 15ch; }
.steps { list-style: none; margin: clamp(3rem, 7vw, 6.5rem) 0 0; padding: 0; border-top: 1px solid var(--sc-hairline-strong); }
.step {
  display: grid; align-items: center; gap: clamp(1.25rem, 3vw, 3rem);
  grid-template-columns: minmax(3.5rem, 8rem) minmax(0, 1fr) minmax(0, 1.1fr);
  padding-block: clamp(2rem, 4.5vw, 4rem);
  border-bottom: 1px solid var(--sc-hairline);
}
.step__n {
  font-family: var(--sc-font-display); font-weight: 600; letter-spacing: -0.05em; line-height: .8;
  font-size: clamp(3.4rem, 1.4rem + 7vw, 8.5rem);
  color: transparent; -webkit-text-stroke: 1px var(--sc-ink-soft);
}
.step__txt h3 { margin: 0; font-size: var(--sc-t-2xl); font-weight: 600; letter-spacing: -0.035em; line-height: 1; }
.step__txt p { margin: var(--sc-4) 0 0; color: var(--sc-ink-soft); max-width: 36ch; text-wrap: pretty; }

.viz {
  position: relative; border-radius: var(--r-media); background: var(--sc-surface);
  border: 1px solid var(--sc-hairline); box-shadow: var(--sc-e2), var(--sc-edge); overflow: hidden;
  clip-path: inset(0 100% 0 0 round var(--r-media));
  transition: clip-path 1000ms var(--sc-ease-out) 120ms;
}
.step.sc-in .viz { clip-path: inset(0 0 0 0 round var(--r-media)); }
.viz__tag { margin: 0; font-family: var(--sc-font-mono); font-size: var(--sc-t-xs); letter-spacing: .06em; text-transform: uppercase; color: var(--sc-ink-soft); }
.viz--brief, .viz--live { padding: clamp(1.1rem, 2.2vw, 1.8rem); }
.viz ul { list-style: none; margin: var(--sc-4) 0 0; padding: 0; }
.viz--brief li { padding: .8rem 0; border-top: 1px solid var(--sc-hairline); font-size: var(--sc-t-base); letter-spacing: -0.01em; }
.viz--brief li:first-child { border-top: 0; padding-top: .2rem; }
.viz--brief li::before { content: "→"; display: inline-block; width: 1.6rem; color: var(--sc-ink-soft); }
.viz--live li { padding: .8rem 0; border-top: 1px solid var(--sc-hairline); }
.viz--live li:first-child { border-top: 0; padding-top: .2rem; }
.viz--live a { font-family: var(--sc-font-mono); font-size: var(--sc-t-sm); text-decoration: none; letter-spacing: 0; }
.viz--code { height: clamp(15rem, 24vw, 21rem); }
.viz--code img { position: absolute; inset: 0 0 auto 0; width: 100%; height: auto; max-width: none; opacity: .94; }
.viz--code .viz__tag {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 2.6rem 1.2rem 1rem;
  background: linear-gradient(to top, color-mix(in oklab, var(--sc-surface) 96%, transparent) 20%, transparent);
  color: color-mix(in oklab, var(--sc-ink) 86%, transparent);
}
@media (hover: hover) and (pointer: fine) {
  .viz--live a:hover { text-decoration: underline; text-underline-offset: .25em; }
}
@media (max-width: 860px) {
  .step { grid-template-columns: 1fr; gap: 1.1rem; }
  .step__n { font-size: 3.6rem; }
  .viz--code { height: 17rem; }
}

/* ------------------------------------------------------------- trabalhos --- */
/* Corte duro para o papel. O token de tinta é redefinido E a cor é reafirmada,
   porque `color` herdado não se atualiza sozinho (taste.md). */
.work {
  --sc-canvas: #EFEEEA; --sc-surface: #E4E3DE; --sc-ink: #0A0A0A; --sc-ink-soft: #55534F;
  --sc-accent: #0A0A0A; --sc-accent-ink: #EFEEEA; --sc-shadow-color: 40 8% 8%;
  background: var(--sc-canvas); color: var(--sc-ink);
}
.work__stage { background: var(--sc-canvas); display: flex; align-items: center; }
.rail { align-items: center; gap: clamp(1.5rem, 3vw, 3rem); padding-inline: var(--sc-gutter); padding-top: 3rem; }
.rail__lead, .rail__end { flex: none; width: clamp(19rem, 30vw, 31rem); }
.rail__lead .sc-display { font-size: var(--sc-t-3xl); max-width: 9ch; }
.rail__lead .sc-body { margin-top: var(--sc-5); max-width: 30ch; }
.rail__end { padding-inline: 1rem 4vw; }
.rail__end .sc-display { max-width: 11ch; margin-bottom: var(--sc-6); }

.proj { flex: none; width: clamp(16.5rem, 21vw, 22rem); }
.proj__link { display: block; text-decoration: none; color: var(--sc-ink); }
.proj__frame {
  border-radius: var(--r-media); background: #fff; overflow: hidden;
  border: 1px solid color-mix(in oklab, var(--sc-ink) 14%, transparent);
  box-shadow: var(--sc-e3);
  transition: translate var(--sc-d-base) var(--sc-ease-out);
}
.proj__bar {
  margin: 0; padding: .55rem .9rem; font-family: var(--sc-font-mono); font-size: .68rem; letter-spacing: .02em;
  color: var(--sc-ink-soft); background: color-mix(in oklab, var(--sc-canvas) 70%, #fff);
  border-bottom: 1px solid color-mix(in oklab, var(--sc-ink) 10%, transparent);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.proj__view { position: relative; height: clamp(18rem, 52vh, 27rem); overflow: hidden; background: #d8d7d2; }
.proj__img { position: absolute; left: 0; top: 0; width: 100%; height: auto; max-width: none; will-change: transform; }
.proj h3 { margin: 1.15rem 0 0; font-size: var(--sc-t-lg); font-weight: 600; letter-spacing: -0.03em; line-height: 1.1; }
.proj__seg { margin: .3rem 0 0; color: var(--sc-ink-soft); font-size: var(--sc-t-sm); }
.proj__stack { margin: .2rem 0 0; font-family: var(--sc-font-mono); font-size: var(--sc-t-xs); color: var(--sc-ink-soft); letter-spacing: .01em; }
.proj__open { display: inline-block; margin-top: .85rem; font-size: var(--sc-t-sm); font-weight: 500; border-bottom: 1px solid currentColor; padding-bottom: 1px; }
@media (hover: hover) and (pointer: fine) {
  .proj__link:hover .proj__frame { translate: 0 -4px; }
}
@media (max-width: 860px) {
  .proj { width: 72vw; }
  .rail__lead, .rail__end { width: 78vw; }
  .proj__view { height: min(24rem, 56svh); }
  .rail__lead .sc-display { font-size: clamp(2.5rem, 11vw, 3.4rem); }
}

/* ---------------------------------------------------------------- nichos --- */
.niches { background: var(--sc-canvas); }
.niches__head { max-width: 40rem; }
.niches__head .sc-display { max-width: 12ch; }
.nlist { list-style: none; margin: clamp(2.5rem, 6vw, 5rem) 0 0; padding: 0; border-top: 1px solid var(--sc-hairline-strong); }
.nrow {
  position: relative; display: grid; align-items: baseline; gap: .6rem clamp(1rem, 3vw, 3rem);
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.3fr) 13rem;
  padding-block: clamp(1.1rem, 2.4vw, 2rem); border-bottom: 1px solid var(--sc-hairline);
  transition: opacity 620ms var(--sc-ease-out), transform 620ms var(--sc-ease-out);
}
.nrow__name { margin: 0; font-size: clamp(2rem, 1.2rem + 3.6vw, 4.6rem); font-weight: 600; letter-spacing: -0.045em; line-height: 1; }
.nrow__sites { margin: 0; display: flex; flex-wrap: wrap; gap: .3rem 1.4rem; color: var(--sc-ink-soft); font-size: var(--sc-t-base); }
.nrow__sites a { text-decoration: none; transition: color var(--sc-d-fast) var(--sc-ease-out); }
.nrow__count { justify-self: end; font-family: var(--sc-font-mono); font-size: var(--sc-t-xs); letter-spacing: .06em; text-transform: uppercase; color: var(--sc-ink-soft); white-space: nowrap; }
.nrow__peek {
  position: absolute; z-index: 2; right: 0; top: 50%; width: 13rem; height: auto; aspect-ratio: 4 / 3;
  object-fit: cover; object-position: top; border-radius: var(--r-media); box-shadow: var(--sc-e3);
  border: 1px solid var(--sc-hairline-strong);
  opacity: 0; translate: 0 -46%; scale: .96; pointer-events: none; max-width: none;
  transition: opacity var(--sc-d-base) var(--sc-ease-out), translate var(--sc-d-base) var(--sc-ease-out), scale var(--sc-d-base) var(--sc-ease-out);
}
@media (hover: hover) and (pointer: fine) {
  .nlist:hover .nrow:not(:hover):not(:focus-within) { opacity: .38; }
  .nrow:hover .nrow__peek, .nrow:focus-within .nrow__peek { opacity: 1; translate: 0 -50%; scale: 1; }
  .nrow__sites a:hover { color: var(--sc-ink); text-decoration: underline; text-underline-offset: .25em; }
}
@media (max-width: 1099px) {
  .nrow { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.3fr) auto; }
  .nrow__peek { display: none; }
}
@media (max-width: 860px) {
  .nrow { grid-template-columns: 1fr auto; }
  .nrow__sites { grid-column: 1 / -1; grid-row: 2; }
  .nrow__peek { display: none; }
}

/* ------------------------------------------------------------------ sobre --- */
.about, .about__stage { background: var(--deep); }
.about__stage { --face-d: min(66vh, 40vw); }
.about__bg { position: absolute; inset: 0; background: url("assets/studio-wall.webp") center / cover; opacity: .6; transform: scaleX(-1); }
.face--about { right: max(var(--sc-gutter), 4vw); top: 50%; translate: 0 -50%; transform-origin: 50% 50%; }
.mani { position: absolute; inset: 0; z-index: var(--sc-z-copy); pointer-events: none; }
.mani__l { position: absolute; left: var(--sc-gutter); top: 50%; translate: 0 -50%; margin: 0; max-width: min(15ch, 52vw);
  font-family: var(--sc-font-display); font-weight: 700; font-size: clamp(2.3rem, 1rem + 4.4vw, 5.8rem); line-height: 1; letter-spacing: -0.045em; text-wrap: balance; }
.mani__l.voice { font-family: "Instrument Serif", Georgia, "Times New Roman", serif; font-style: italic; font-weight: 400; letter-spacing: -0.02em; font-size: clamp(3.2rem, 1rem + 6.6vw, 8rem); max-width: 9ch; }
.mani__l--d { font-size: clamp(4.4rem, 1rem + 9.4vw, 12rem) !important; max-width: 7ch; }
@media (max-width: 860px) {
  .about__stage { --face-d: min(92vw, 44svh); }
  .face--about { right: auto; left: 50%; top: 2.2rem; translate: -50% 0; }
  .mani__l { top: auto; bottom: 14%; translate: 0 0; max-width: calc(100vw - 2 * var(--sc-gutter)); font-size: clamp(2.2rem, 9.6vw, 3.4rem); }
  .mani__l.voice { font-size: clamp(3.2rem, 15vw, 5rem); max-width: 100%; }
  .mani__l--d { font-size: clamp(4.6rem, 24vw, 8rem) !important; }
}

/* ------------------------------------------------------------------ pouso --- */
/* o fechamento: o rosto de novo, o botão, e a página para */
.close { background: var(--deep); min-height: 100svh; display: flex; flex-direction: column; justify-content: space-between; padding-top: clamp(5.5rem, 12vh, 9rem); }
.close__in { display: flex; justify-content: center; }
.close__stack { display: flex; flex-direction: column; align-items: center; text-align: center; max-width: 46rem; }
.close__stack > * + * { margin-top: var(--sc-4); }
.face--close { position: relative; --face-d: min(40vh, 66vw); width: var(--face-d); transform-origin: 50% 50%; margin-bottom: var(--sc-3); }
.close__h2 { font-size: clamp(2.7rem, 1.2rem + 5.2vw, 6.2rem); letter-spacing: -0.045em; line-height: .98; max-width: 11ch; margin-top: var(--sc-5); }
.close__lede { max-width: 42ch; color: #D4D3CF; font-size: var(--sc-t-lg); line-height: 1.42; letter-spacing: -0.015em; text-wrap: balance; }
.close__act { margin-top: var(--sc-6) !important; }
.close__act .btn { box-shadow: 0 26px 60px -22px rgb(239 238 234 / .38); }
.close__lede span { display: block; }
.close__facts { color: var(--sc-ink-soft); font-size: var(--sc-t-sm); max-width: 48ch; }
.close__facts strong { color: var(--sc-ink); font-weight: 600; }
.copy { background: none; border: 0; padding: .35rem .5rem; cursor: pointer; font-size: var(--sc-t-sm); color: #D4D3CF; text-decoration: underline; text-decoration-color: rgb(239 238 234 / .35); text-underline-offset: .3em; transition: color var(--sc-d-fast) var(--sc-ease-out), text-decoration-color var(--sc-d-fast) var(--sc-ease-out); }
@media (hover: hover) and (pointer: fine) { .copy:hover { color: #fff; text-decoration-color: #fff; } }
.foot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem 2rem; padding: clamp(2.5rem, 7vh, 4.5rem) var(--sc-gutter) clamp(1rem, 3vh, 1.8rem); font-size: var(--sc-t-xs); color: #A9A7A1; }
.foot p { margin: 0; }
.foot__links { display: flex; flex-wrap: wrap; gap: .3rem 1.4rem; }
.foot a { color: #A9A7A1; text-decoration: none; transition: color var(--sc-d-fast) var(--sc-ease-out); }
@media (hover: hover) and (pointer: fine) { .foot a:hover { color: var(--sc-ink); } }

/* --------------------------------------------------- movimento reduzido --- */
@media (prefers-reduced-motion: reduce) {
  .viz { clip-path: none; transition: none; }
  .proj__img { transform: none !important; }
  .face, .face__ring, .wall__in, .wall__col { transform: none !important; }
  .btn, .proj__frame, .nrow, .nrow__peek { transition-duration: 1ms; }
  .rail { padding-top: 0; }
}
