/* bentocorp.org · "Ideas in. Software out." Black and white, one signal accent, the slogan is the interface.
   Shared by the English pages (/) and the Portuguese pages (/pt/): every URL here is root-absolute. */

@font-face { font-family: 'Familjen Grotesk'; font-weight: 400; font-style: normal; font-display: swap;
  src: url('/media/fonts/familjen-grotesk/familjen-grotesk-latin-400-normal.woff2') format('woff2'); }
@font-face { font-family: 'Familjen Grotesk'; font-weight: 500; font-style: normal; font-display: swap;
  src: url('/media/fonts/familjen-grotesk/familjen-grotesk-latin-500-normal.woff2') format('woff2'); }
@font-face { font-family: 'Azeret Mono'; font-weight: 400; font-style: normal; font-display: swap;
  src: url('/media/fonts/azeret-mono/azeret-mono-latin-400-normal.woff2') format('woff2'); }
/* Metric-matched fallbacks (measured against the real fonts) so a late swap moves nothing. */
@font-face { font-family: 'FG Fallback'; font-weight: 400; src: local('Arial'), local('ArialMT');
  size-adjust: 93.53%; ascent-override: 110.1%; descent-override: 24.6%; line-gap-override: 0%; }
@font-face { font-family: 'FG Fallback'; font-weight: 500; src: local('Arial'), local('ArialMT');
  size-adjust: 96.05%; ascent-override: 107.2%; descent-override: 23.95%; line-gap-override: 0%; }
@font-face { font-family: 'AZ Fallback'; src: local('Courier New'), local('CourierNewPSMT');
  size-adjust: 108.32%; ascent-override: 86.8%; descent-override: 21.2%; line-gap-override: 0%; }

:root {
  --black: #000;
  --white: #fff;
  --accent: #e0533c;
  --ink-2: #555;        /* secondary text on white: 7.5:1 */
  --ink-3: #6b6b6b;     /* muted large text on white: 5.3:1 */
  --paper-2: #a3a3a3;   /* secondary text on black: 8.3:1 */
  --paper-3: #8f8f8f;   /* muted large text on black: 6.6:1 */
  --rule-d: #2b2b2b;
  --pad: clamp(16px, 3.9vw, 56px);
  --head-h: 76px;
  --font: 'Familjen Grotesk', 'FG Fallback', Arial, sans-serif;
  --mono: 'Azeret Mono', 'AZ Fallback', ui-monospace, 'Courier New', monospace;
  --split: linear-gradient(90deg, var(--white) 0 50%, var(--black) 50% 100%);
  --ease: cubic-bezier(.7, 0, .25, 1);
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0; background: var(--white); color: var(--black);
  font: 400 17px/1.5 var(--font);
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img, video, svg { display: block; max-width: 100%; }
p, h1, h2, h3, h4, figure, ol, ul, dl, dd { margin: 0; }
ol, ul { padding: 0; list-style: none; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
code { font-family: var(--mono); font-size: .88em; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

.sr-only {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip {
  position: absolute; left: 12px; top: -80px; z-index: 100; padding: 12px 16px;
  background: var(--black); color: var(--white); font-weight: 500; text-decoration: none; outline-color: var(--accent);
}
.skip:focus { top: 12px; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
a:focus:not(:focus-visible), button:focus:not(:focus-visible), summary:focus:not(:focus-visible) { outline: none; }
section[id], article[id], div[id] { scroll-margin-top: 12px; }
html:not(.js) .js-only { display: none !important; }

/* ---------- buttons and links ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  min-height: 48px; padding: 0 20px; border: 0; border-radius: 0; cursor: pointer;
  font: 500 16px/1.1 var(--font); letter-spacing: -0.005em; text-decoration: none; white-space: nowrap;
  transition: background-color .2s, color .2s;
}
.btn .arr { display: inline-block; transition: transform .25s var(--ease); }
.btn:hover .arr { transform: translateX(4px); }
.btn-w { background: var(--white); color: var(--black); }
.btn-w:hover { background: var(--accent); }
.btn-b { background: var(--black); color: var(--white); }
.btn-b:hover { background: #262626; }
.link {
  display: inline-block; padding: 12px 0; line-height: 1.35;
  color: var(--white); font-size: 15px; text-decoration: underline; text-decoration-thickness: 1px;
  text-underline-offset: 5px; text-decoration-color: #8a8a8a;
}
.link:hover { text-decoration-color: currentColor; }
.link .soft { color: var(--paper-2); }
.link-d { color: var(--black); text-decoration-color: #8a8a8a; }
.link-d .soft { color: var(--ink-2); }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 22px; }

/* ---------- header ---------- */
.site-header {
  position: relative; z-index: 30; isolation: isolate;
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 20px;
  height: var(--head-h); padding: 0 var(--pad); background: var(--split);
}
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--black); text-decoration: none; min-height: 44px; justify-self: start; }
.brand-mark { width: 30px; height: 30px; flex: none; }
.brand-word { width: 61px; height: 30px; flex: none; }
.nav-desk ul { display: flex; gap: 6px; }
.nav-desk a {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 9px;
  font-size: 15px; font-weight: 500; text-decoration: none;
}
/* the main nav sits across the split: its words invert like the conveyor */
.nav-desk .t {
  color: var(--white); mix-blend-mode: difference;
  background: linear-gradient(var(--white), var(--white)) 0 100% / 0 1px no-repeat; padding-bottom: 3px;
  transition: background-size .25s var(--ease);
}
.nav-desk a:hover .t { background-size: 100% 1px; }
.head-right { display: flex; align-items: center; gap: 18px; justify-self: end; color: var(--white); }
.lang-switch { display: flex; align-items: center; font: 400 12px/1 var(--mono); letter-spacing: .08em; }
.lang-switch a {
  position: relative; display: inline-flex; align-items: center; justify-content: center;
  min-width: 44px; min-height: 44px; color: inherit;
  text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px;
}
.lang-switch a[aria-current] { text-decoration: none; }
.lang-switch a[aria-current]::before {
  content: ""; position: absolute; left: 7px; right: 7px; top: 10px; bottom: 10px; border: 1px solid currentColor;
}
.lang-switch a:not([aria-current]):hover { text-decoration-thickness: 2px; }
.btn-cta { min-height: 44px; padding: 0 18px; font-size: 15px; background: var(--white); color: var(--black); }
.btn-cta::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); }
.btn-cta:hover { background: var(--accent); }
.btn-cta:hover::before { background: var(--black); }

/* phone and tablet menu: <details>, works without JS */
.menu { display: none; }
.menu-btn {
  display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding: 0 14px;
  border: 1px solid currentColor; cursor: pointer; list-style: none;
  font: 400 12px/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; user-select: none;
}
.menu-btn::-webkit-details-marker { display: none; }
.menu-ico { position: relative; width: 16px; height: 10px; }
.menu-ico i { position: absolute; left: 0; right: 0; height: 2px; background: currentColor; transition: transform .25s var(--ease), top .25s var(--ease); }
.menu-ico i:first-child { top: 0; }
.menu-ico i:last-child { top: 8px; }
.menu[open] .menu-ico i:first-child { top: 4px; transform: rotate(45deg); }
.menu[open] .menu-ico i:last-child { top: 4px; transform: rotate(-45deg); }
.menu-panel {
  position: absolute; left: 0; right: 0; top: 100%; z-index: 40;
  min-height: calc(100svh - var(--head-h)); max-height: calc(100svh - var(--head-h)); overflow-y: auto; overscroll-behavior: contain;
  padding: 8px var(--pad) 28px; background: var(--black); color: var(--white);
  border-top: 1px solid var(--rule-d); box-shadow: 0 24px 48px rgba(0, 0, 0, .35);
}
.menu-links a {
  display: flex; align-items: baseline; gap: 16px; min-height: 56px; padding: 12px 0;
  border-bottom: 1px solid var(--rule-d); text-decoration: none;
  font: 500 26px/1.1 var(--font); letter-spacing: -0.02em;
}
.menu-links span { font: 400 11px/1 var(--mono); color: var(--paper-2); letter-spacing: .08em; width: 22px; flex: none; }
.menu-lang { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 20px; margin: 18px 0; font: 400 13px/1 var(--mono); letter-spacing: .04em; }
.menu-lang-on { color: var(--paper-2); }
.menu-lang a { display: inline-flex; align-items: center; min-height: 44px; text-decoration: underline; text-underline-offset: 4px; }
.menu-cta { width: 100%; }

/* ---------- hero ---------- */
.hero {
  --h1: clamp(56px, min(8vw, 12.2svh), 128px);
  --box: min(100%, 584px, calc((100svh - 520px) * 1.6));
  position: relative; isolation: isolate;
  display: flex; flex-direction: column; justify-content: space-between;
  gap: clamp(16px, 3svh, 36px);
  padding: clamp(10px, 2.4svh, 30px) var(--pad) clamp(24px, 4svh, 48px);
  background: var(--split);
}
@media (min-aspect-ratio: 5 / 4) and (min-width: 761px) {
  .hero { min-height: calc(100svh - var(--head-h)); }
}

/* slogan: the h1 holds only the words; the conveyor is a sibling on the same (sub)grid */
.slogan {
  display: grid; grid-template-columns: max-content minmax(0, 1fr) max-content; grid-template-rows: auto auto;
  align-items: center;
}
.slogan-h1 {
  grid-column: 1 / -1; grid-row: 1 / -1;
  display: grid; grid-template-columns: subgrid; grid-template-rows: subgrid; align-items: center;
  font: 500 var(--h1)/.86 var(--font); letter-spacing: -0.048em;
}
.half { display: contents; }
.w { display: block; padding-bottom: .02em; }
.w-ideas { grid-row: 1; grid-column: 1 / 3; justify-self: start; color: var(--black); }
.w-in    { grid-row: 2; grid-column: 1; color: var(--black); }
.w-soft  { grid-row: 1; grid-column: 2 / 4; justify-self: end; color: var(--white); }
.w-out   { grid-row: 2; grid-column: 3; justify-self: end; color: var(--white); }
@supports not (grid-template-rows: subgrid) {
  .slogan { display: block; }
  .slogan-h1 { grid-template-columns: 1fr 1fr; grid-template-rows: auto auto; }
  .belt { display: none !important; }
}

.belt {
  grid-row: 2; grid-column: 2; position: relative; display: block;
  height: 44px; margin: 0 calc(var(--h1) * .16) 0 calc(var(--h1) * .2); top: calc(var(--h1) * .06);
  overflow: hidden; /* no transform or z-index here: the line must blend with the split behind the hero */
}
.belt::before {
  content: ""; position: absolute; left: 0; right: 3px; top: 50%; height: 2px; margin-top: -1px;
  background: var(--white); mix-blend-mode: difference;
}
.belt::after {
  content: ""; position: absolute; right: 3px; top: 50%; width: 12px; height: 12px; margin-top: -6px;
  border-top: 2px solid var(--white); border-right: 2px solid var(--white);
  transform: rotate(45deg); transform-origin: 70% 30%; mix-blend-mode: difference;
}
.belt-ticks {
  position: absolute; left: -56px; right: 14px; top: calc(50% + 7px); height: 5px;
  background: repeating-linear-gradient(90deg, var(--white) 0 1px, transparent 1px 14px);
  mix-blend-mode: difference; opacity: .55;
}
.packet {
  position: absolute; right: 30px; top: 50%; translate: 0 -50%;
  display: inline-flex; align-items: center; gap: 8px; height: 28px; padding: 0 11px 0 9px;
  background: var(--accent); color: var(--black);
  font: 400 11.5px/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; white-space: nowrap;
  will-change: transform;
}
.packet-dot { width: 7px; height: 7px; background: var(--black); flex: none; }

/* machine: IN board (left, white) and OUT screen (right, black) */
.machine {
  display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: auto auto 1fr;
  grid-template-areas: "anchor ." "in out" "also out";
  column-gap: calc(var(--pad) * 2); row-gap: 0;
}
.anchor { grid-area: anchor; width: var(--box); padding-bottom: clamp(14px, 2.2svh, 24px); font-size: 16px; line-height: 1.42; color: var(--ink-2); }
.anchor strong { color: var(--black); font-weight: 500; }
.in  { grid-area: in;  width: var(--box); justify-self: start; }
.out { grid-area: out; width: var(--box); justify-self: end; align-self: start; color: var(--white); container: out / inline-size; }
.also { grid-area: also; align-self: end; display: flex; flex-wrap: wrap; align-items: center; gap: 0 22px; width: var(--box); }

.in-head, .out-head {
  display: flex; align-items: flex-end; justify-content: space-between; gap: 16px;
  height: 46px; padding-bottom: 12px;
}
.q { font: 500 clamp(20px, 1.85vw, 27px)/1 var(--font); letter-spacing: -0.025em; }
.hint, .out-head { font: 400 11px/1 var(--mono); letter-spacing: .09em; text-transform: uppercase; }
.hint { color: var(--ink-2); padding-bottom: 3px; }
.out-head { color: var(--paper-2); }
.out-tag { display: inline-flex; align-items: center; gap: 10px; flex: none; color: var(--white); white-space: nowrap; }
.out-k { color: var(--black); background: var(--white); padding: 4px 6px 3px; }
.meta { min-width: 0; text-align: right; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; padding-bottom: 3px; }
@container out (max-width: 560px) {
  .out-title { display: none; }
  .out-head { justify-content: flex-start; }
  .meta { text-align: left; }
}

.chips { display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: 1fr 1fr; gap: 10px; aspect-ratio: 16 / 10; }
.chip {
  position: relative; display: flex; flex-direction: column; justify-content: space-between; gap: 10px;
  padding: 16px 18px 18px; min-height: 0;
  border: 1.5px solid var(--black); background: var(--white); color: var(--black);
  text-decoration: none; cursor: pointer; user-select: none; -webkit-tap-highlight-color: transparent;
  transition: background-color .22s, color .22s;
}
.chip-n { font: 400 11px/1 var(--mono); letter-spacing: .08em; color: var(--ink-2); transition: color .22s; }
.chip-mark {
  position: absolute; top: 14px; right: 14px; width: 16px; height: 16px; border-radius: 50%;
  border: 1.5px solid currentColor; transition: background-color .22s, border-color .22s, box-shadow .22s;
}
.chip-t { font: 500 clamp(17px, 1.8vw, 27px)/1.04 var(--font); letter-spacing: -0.025em; text-wrap: balance; transition: transform .3s var(--ease); }
.nw { white-space: nowrap; }
.chip:hover { background: #f1f1f1; }
.chip:hover .chip-t { transform: translateX(4px); }
.chip.is-on, .chip.is-on:hover { background: var(--black); color: var(--white); }
.chip.is-on .chip-t { transform: none; }
.chip.is-on .chip-n { color: var(--paper-2); }
.chip.is-on .chip-mark { background: var(--accent); border-color: var(--accent); box-shadow: 0 0 0 4px rgba(224, 83, 60, .25); }

/* OUT panels */
.panel { display: block; }
.stage { position: relative; aspect-ratio: 16 / 10; overflow: hidden; container-type: inline-size; background: #0a0a0a; }
.panel .actions { margin-top: 18px; min-height: 48px; }
@keyframes print { from { clip-path: inset(0 100% 0 0); } to { clip-path: inset(0 0 0 0); } }
@keyframes rise { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.panel.enter .stage { animation: print .5s .28s var(--ease) both; }
.panel.enter .out-head, .panel.enter .actions { animation: rise .35s .5s ease-out both; }

.browser { position: absolute; inset: 0; display: flex; flex-direction: column; border: 1px solid #333; background: #111; }
.browser-bar {
  display: flex; align-items: center; gap: 12px; height: 30px; padding: 0 10px; flex: none;
  border-bottom: 1px solid #2a2a2a; font: 400 10.5px/1 var(--mono); color: var(--paper-2); letter-spacing: .03em;
}
.dots { display: flex; gap: 5px; }
.dots i { width: 7px; height: 7px; border-radius: 50%; background: #3d3d3d; }
.url { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.segs { display: flex; gap: 4px; }
.seg { position: relative; width: 22px; height: 2px; background: #3a3a3a; overflow: hidden; }
.seg-fill { position: absolute; inset: 0; background: var(--white); transform: scaleX(0); transform-origin: 0 50%; }
.seg.done .seg-fill { transform: scaleX(1); }
@keyframes fill { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.seg.is-on .seg-fill { animation: fill 3.4s linear both; animation-play-state: paused; }
.is-running .seg.is-on .seg-fill { animation-play-state: running; }
html:not(.js) .seg.is-on .seg-fill { animation: none; transform: scaleX(1); }
.browser-view { position: relative; flex: 1; overflow: hidden; background: #000; }
.shot { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 0; opacity: 0; transition: opacity .7s ease; }
.shot.is-on { opacity: 1; }
.shot-bg { background: #000 no-repeat 50% 0 / cover; }
/* frames 2 and 3 load only once the cycle starts (never without JS) */
.cycle-ready .shot-garrafa { background-image: url('/media/showcase/garrafa-diagonal-sm.webp');
  background-image: image-set(url('/media/showcase/garrafa-diagonal-sm.webp') 1x, url('/media/showcase/garrafa-diagonal.webp') 2x); }
.cycle-ready .shot-clube { background-image: url('/media/showcase/clube-pictograma-sm.webp');
  background-image: image-set(url('/media/showcase/clube-pictograma-sm.webp') 1x, url('/media/showcase/clube-pictograma.webp') 2x); }
.shot-name {
  position: absolute; left: 10px; bottom: 10px; display: inline-flex; gap: 8px; align-items: center;
  padding: 6px 8px; background: var(--black); color: var(--white);
  font: 400 10.5px/1 var(--mono); letter-spacing: .06em; text-transform: uppercase;
}
.shot-k { color: var(--paper-2); }

/* pause/play control, with a visible word (WCAG 2.2.2) */
.motion {
  position: absolute; right: 10px; bottom: 10px; z-index: 2;
  display: inline-flex; align-items: center; gap: 9px; height: 40px; padding: 0 13px 0 12px;
  border: 1px solid #555; background: rgba(0, 0, 0, .82); color: var(--white); cursor: pointer;
  font: 400 11px/1 var(--mono); letter-spacing: .1em; text-transform: uppercase;
}
.motion:hover { border-color: var(--white); }
.motion-ico { position: relative; width: 10px; height: 11px; flex: none; }
.motion-ico::before, .motion-ico::after { content: ""; position: absolute; top: 0; width: 3.5px; height: 11px; background: currentColor; }
.motion-ico::before { left: 0; }
.motion-ico::after { right: 0; }
.motion.is-paused .motion-ico::before { left: 1px; width: 0; height: 0; background: none;
  border-style: solid; border-width: 5.5px 0 5.5px 9px; border-color: transparent transparent transparent currentColor; }
.motion.is-paused .motion-ico::after { display: none; }
.motion-light { position: static; border-color: var(--black); background: var(--white); color: var(--black); }
.motion-light:hover { background: var(--black); color: var(--white); }

/* agent: animated illustration, generic text only */
.stage-agent { background: #050505; border: 1px solid #2e2e2e; }
.agent { position: absolute; inset: 0; padding: 5.2cqw 5.6cqw; font-size: clamp(10.5px, 2.5cqw, 16px); color: var(--white); }
.ill {
  position: absolute; top: 4.6cqw; right: 5.6cqw; z-index: 1;
  padding: .42em .6em .36em; border: 1px solid var(--accent); color: var(--accent);
  font: 400 .78em/1 var(--mono); letter-spacing: .1em; text-transform: uppercase;
}
.agent-ui { display: flex; flex-direction: column; height: 100%; gap: 1em; }
.agent-top { display: flex; flex-direction: column; gap: .45em; font: 400 .82em/1.2 var(--mono); color: var(--paper-2); letter-spacing: .04em; }
.agent-run { display: inline-flex; align-items: center; gap: .6em; color: var(--white); text-transform: uppercase; letter-spacing: .1em; }
.agent-run i { width: .55em; height: .55em; border-radius: 50%; background: var(--white); }
.steps { display: flex; flex-direction: column; gap: .2em; flex: 1; justify-content: center; }
.steps li { display: flex; align-items: center; gap: .8em; padding: .32em 0; border-bottom: 1px solid #1f1f1f; font: 500 1.08em/1.1 var(--font); }
.tick { position: relative; width: 1.05em; height: 1.05em; flex: none; border-radius: 50%; background: var(--white); }
.tick::after { content: ""; position: absolute; left: .34em; top: .2em; width: .26em; height: .48em; border: solid var(--black); border-width: 0 .13em .13em 0; transform: rotate(45deg); }
.sn { flex: 1; }
.st { font: 400 .74em/1 var(--mono); color: var(--paper-2); letter-spacing: .08em; text-transform: uppercase; }
.steps .hold .tick { background: none; border: .13em solid var(--accent); }
.steps .hold .tick::after { display: none; }
.steps .hold .st { color: var(--accent); }
.approve { display: flex; align-items: center; justify-content: space-between; gap: 1em; flex-wrap: wrap; padding: .85em 1em; background: var(--white); color: var(--black); }
.approve-t { display: inline-flex; align-items: center; gap: .6em; font: 500 1.05em/1.15 var(--font); }
.approve-t i { width: .6em; height: .6em; border-radius: 50%; background: var(--accent); flex: none; }
.approve-b { display: flex; gap: .5em; }
.fb { padding: .55em .85em; border: 1px solid var(--black); font: 500 .9em/1 var(--font); white-space: nowrap; }
.fb-on { background: var(--black); color: var(--white); }
@keyframes stepIn { from { opacity: 0; transform: translateX(-8px); } to { opacity: 1; transform: none; } }
@keyframes pop { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
@keyframes pulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(224, 83, 60, .6); } 50% { box-shadow: 0 0 0 .5em rgba(224, 83, 60, 0); } }
@media (prefers-reduced-motion: no-preference) {
  .js .out .agent .steps li, .js .agent.is-live .steps li { animation: stepIn .3s calc(var(--i) * .26s + .45s) var(--ease) both; }
  .js .out .agent .approve, .js .agent.is-live .approve { animation: pop .38s calc(var(--i) * .26s + .5s) var(--ease) both; }
  .js .out .agent .approve-t i, .js .agent.is-live .approve-t i { animation: pulse 1.2s calc(var(--i) * .26s + .9s) 3; }
  .js .agent[data-reveal]:not(.is-live) .steps li, .js .agent[data-reveal]:not(.is-live) .approve { opacity: 0; }
}

/* hero 3D output */
.stage-3d { background: #000; }
.stage-3d .poster, .stage-3d .vid { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 45%; }
.poster-heroes { background: #000 url('/media/heroes-poster.webp') no-repeat 50% 45% / cover; }
.vid { opacity: 0; transition: opacity .5s; }
.vid.is-playing { opacity: 1; }
.relight-tile { position: absolute; left: 10px; bottom: 10px; z-index: 1; width: clamp(128px, 32cqw, 210px); background: var(--black); border: 1px solid #3a3a3a; }
.relight-img { width: 100%; aspect-ratio: 16 / 9; background: #111 url('/media/relight-poster.webp') no-repeat 50% 40% / cover; }
.relight-tile figcaption { display: flex; flex-direction: column; gap: 3px; padding: 7px 9px 8px; font: 400 10px/1.1 var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--paper-2); }
.relight-tile strong { font: 500 13px/1 var(--font); letter-spacing: .02em; color: var(--white); }

/* hero training output */
.stage-train { background: var(--white); color: var(--black); }
.train { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: space-between; padding: 6cqw 6cqw 5.4cqw; }
.train-big { font: 500 clamp(26px, 7.4cqw, 50px)/.95 var(--font); letter-spacing: -0.04em; }
.train-big span { display: block; }
.train-list { display: flex; flex-direction: column; border-top: 1.5px solid var(--black); }
.train-list li { display: flex; gap: 1em; align-items: baseline; padding: .55em 0; border-bottom: 1px solid #d6d6d6; font: 400 clamp(13px, 2.7cqw, 17px)/1.25 var(--font); }
.train-list span { font: 400 .72em/1 var(--mono); color: var(--ink-2); letter-spacing: .06em; }

/* also strip */
.also a { display: inline-flex; align-items: center; gap: 6px; min-height: 48px; font-size: 15px; text-decoration: none; color: var(--black); }
.also strong { font-weight: 500; text-decoration: underline; text-underline-offset: 5px; text-decoration-thickness: 1px; }
.also a:hover strong { text-decoration-color: var(--accent); }
.also .soft { color: var(--ink-2); }
.also-k { font: 400 10.5px/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; padding: 5px 6px 4px; border: 1px solid var(--black); margin-right: -8px; }

/* ---------- sections ---------- */
.sec { padding: clamp(72px, 9vw, 136px) var(--pad); }
.sec-light { background: var(--white); color: var(--black); }
.sec-dark { background: var(--black); color: var(--white); }
.sec-head {
  display: flex; flex-direction: column; gap: 20px;
  padding-bottom: clamp(26px, 3.2vw, 44px); margin-bottom: clamp(40px, 5.4vw, 80px); border-bottom: 2px solid currentColor;
}
.kicker { display: flex; align-items: center; gap: 12px; font: 400 11px/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; }
.kn { border: 1px solid currentColor; padding: 5px 6px 4px; }
.sec h2 { font: 500 clamp(42px, 6.6vw, 108px)/.92 var(--font); letter-spacing: -0.047em; text-wrap: balance; }
.h2-2 { display: block; color: var(--ink-3); }
.sec-dark .h2-2 { color: var(--paper-3); }
.sec h3 { font: 500 clamp(28px, 3vw, 44px)/1.02 var(--font); letter-spacing: -0.035em; }
:where(.sec-light) p { color: #444; }
:where(.sec-dark) p { color: #c4c4c4; }
.note { margin-top: 22px; padding: 10px 12px; border-left: 2px solid var(--accent); font: 400 12px/1.5 var(--mono); letter-spacing: .02em; }
.sec-light .note { background: #f4f4f4; color: var(--black); }
.sec-dark .note { background: #111; color: var(--white); }

/* business: websites */
.biz { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 5vw, 88px); align-items: center; }
.biz + .biz { margin-top: clamp(72px, 9vw, 136px); }
.biz-text > p:not(.actions):not(.stats-note) { margin-top: 16px; font-size: 18px; max-width: 42ch; }
.biz-text .actions { margin-top: 30px; }
.stats { display: flex; gap: clamp(28px, 4vw, 56px); margin-top: 32px; }
.stats div { display: flex; flex-direction: column-reverse; }
.stats dd { font: 500 clamp(60px, 6.4vw, 104px)/.86 var(--font); letter-spacing: -0.055em; }
.stats dt { margin-top: 10px; font: 400 11px/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--ink-2); }
.stats-note { margin-top: 14px; font-size: 14px; color: var(--ink-2) !important; }

.reel { --reel-w: clamp(220px, 21vw, 300px); min-width: 0; }
.reel-window { position: relative; overflow: hidden; margin-right: calc(var(--pad) * -1); border-top: 2px solid var(--black); padding-top: 18px; }
.reel-track {
  display: flex; gap: 14px; width: max-content; padding: 0 14px 22px 0;
  min-height: calc(var(--reel-w) * .7 + 2px + 8px + 11px + 22px); /* reserved before JS fills it: no layout shift */
  background: repeating-linear-gradient(90deg, var(--black) 0 1px, transparent 1px 14px) 0 100% / 100% 7px repeat-x;
}
.reel-track li { flex: none; width: var(--reel-w); }
html:not(.js) .reel-track[data-reel-track] { display: none; }
.reel-track img { width: 100%; height: auto; aspect-ratio: 480 / 336; object-fit: cover; object-position: 50% 0; background: #eee; border: 1px solid var(--black); }
.reel-track figcaption { margin-top: 8px; font: 400 11px/1 var(--mono); letter-spacing: .06em; text-transform: uppercase; }
@keyframes reel { from { transform: translateX(-50%); } to { transform: translateX(0); } }
.reel.is-anim .reel-track { animation: reel 70s linear infinite; animation-play-state: paused; }
.reel.is-anim.is-running .reel-track { animation-play-state: running; }
.reel:not(.is-anim) .reel-window { overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: thin; }
.reel:not(.is-anim) .reel-track li { scroll-snap-align: start; }
.reel-foot { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 14px; }
.reel-cap { font: 400 11px/1.4 var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--ink-2) !important; }

/* business: agents */
.biz-agents { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
.biz-agents .stage { order: -1; }
.stage-agent-lg { aspect-ratio: 16 / 11; }
.ticks { margin-top: 22px; border-top: 1px solid var(--black); }
.ticks li { position: relative; padding: 12px 0 12px 28px; border-bottom: 1px solid #d6d6d6; font-size: 16px; }
.ticks li::before { content: ""; position: absolute; left: 2px; top: 19px; width: 10px; height: 10px; background: var(--black); }
.ticks li:last-child::before { background: var(--accent); }

/* how we work: four stations on one belt */
.how { margin-top: clamp(80px, 10vw, 148px); }
.how-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: clamp(32px, 4vw, 56px); }
.how-title { font-size: clamp(34px, 4.4vw, 68px) !important; }
.how-head p { max-width: 38ch; font-size: 17px; }
.stations { position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.stations::before { content: ""; position: absolute; left: 0; right: 4px; top: 17px; height: 2px; background: var(--black); }
.stations::after {
  content: ""; position: absolute; right: 4px; top: 12px; width: 12px; height: 12px;
  border-top: 2px solid var(--black); border-right: 2px solid var(--black); transform: rotate(45deg);
}
.station { position: relative; display: flex; flex-direction: column; gap: 10px; padding: 56px 28px 0 0; }
.station::before { content: ""; position: absolute; left: 0; top: 9px; width: 18px; height: 18px; background: var(--white); border: 2px solid var(--black); }
.station-key::before { background: var(--accent); border-color: var(--accent); }
.st-n { font: 400 11px/1 var(--mono); letter-spacing: .08em; color: var(--ink-2); }
.st-name { font: 500 clamp(24px, 2.3vw, 34px)/1 var(--font); letter-spacing: -0.03em; }
.st-line { font-size: 16px; line-height: 1.45; color: #444; }

/* games */
.game { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(32px, 5vw, 80px); align-items: center; }
.game + .game { margin-top: clamp(72px, 9vw, 136px); }
.game-flip { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
.game-flip .frame { order: 2; }
.frame { position: relative; aspect-ratio: 16 / 9; overflow: hidden; background: #0b0b0b; border: 1px solid #262626; }
.frame-poster, .frame .vid { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.game-text > p:not(.actions):not(.note):not(.tagline) { margin-top: 16px; font-size: 18px; max-width: 44ch; }
.game-text .actions { margin-top: 28px; }
.tagline { margin-bottom: 14px; font: 400 11px/1 var(--mono) !important; letter-spacing: .1em; text-transform: uppercase; color: var(--accent) !important; }
.packs { margin-top: 26px; border-top: 1px solid var(--white); }
.packs div { display: flex; justify-content: space-between; align-items: baseline; gap: 18px; padding: 11px 0; border-bottom: 1px solid var(--rule-d); }
.packs dt { font: 500 16px/1.25 var(--font); }
.packs dd { font: 400 11px/1.35 var(--mono); letter-spacing: .04em; color: var(--paper-2); text-align: right; }
.pack-free dt { color: var(--black); background: var(--accent); padding: 3px 7px 2px; font: 400 11px/1.2 var(--mono); letter-spacing: .1em; text-transform: uppercase; align-self: center; }
.pack-free dd { color: var(--white); font: 400 15px/1.35 var(--font); letter-spacing: 0; }

/* teams */
.teams { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); grid-template-areas: "lead list" "act list"; gap: 0 clamp(32px, 5vw, 88px); }
.teams-lead { grid-area: lead; font-size: clamp(19px, 1.6vw, 23px); line-height: 1.45; max-width: 34ch; }
.teams .actions { grid-area: act; align-self: start; margin-top: 30px; }
.teams-list { grid-area: list; border-top: 2px solid var(--black); }
.teams-list li {
  display: grid; grid-template-columns: 56px 1fr; align-items: baseline; padding: 24px 0 26px; border-bottom: 1px solid var(--black);
  font: 400 clamp(22px, 2.5vw, 36px)/1.12 var(--font); letter-spacing: -0.025em; color: var(--ink-3);
}
.teams-list strong { font-weight: 500; color: var(--black); }
.tn { font: 400 11px/1 var(--mono); letter-spacing: .08em; color: var(--black); }

/* hub */
.hub { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(32px, 5vw, 80px); align-items: center; }
.hub-fig { background: var(--white); padding: clamp(14px, 3vw, 44px); }
.hub-fig img { width: 100%; height: auto; aspect-ratio: 660 / 400; }
.hub-lead { font-size: clamp(19px, 1.6vw, 23px); line-height: 1.45; color: var(--white) !important; }
.hub-facts { display: grid; grid-template-columns: 1fr 1fr; gap: 0 28px; margin-top: 28px; border-top: 1px solid var(--white); }
.hub-facts div { display: flex; flex-direction: column-reverse; justify-content: flex-end; gap: 6px; padding: 14px 0; border-bottom: 1px solid var(--rule-d); }
.hub-facts dt { font: 400 11px/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--paper-2); }
.hub-facts dd { font-size: 16px; }
.hub-facts .hf-big dd { font: 500 clamp(52px, 5vw, 80px)/.9 var(--font); letter-spacing: -0.05em; }
.hub .actions { margin-top: 28px; }
.soft-note { font: 400 11px/1.4 var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--paper-2); }

/* about */
.about-lead { font: 500 clamp(22px, 2.6vw, 38px)/1.2 var(--font) !important; letter-spacing: -0.02em; color: var(--black) !important; max-width: 34ch; }
.pillars { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px clamp(24px, 3vw, 48px); margin-top: clamp(40px, 5vw, 72px); }
.pillars li { border-top: 2px solid var(--black); padding-top: 18px; }
.pn { font: 400 11px/1 var(--mono); letter-spacing: .08em; }
.pillars h3 { margin: 18px 0 10px; font-size: clamp(22px, 2vw, 30px) !important; }
.pillars p { font-size: 16px; }
.honest {
  display: flex; align-items: center; gap: 12px; margin-top: clamp(40px, 5vw, 72px); padding: 16px 18px;
  border: 1.5px solid var(--black); font: 400 13px/1.45 var(--mono); letter-spacing: .02em; color: var(--black) !important;
}
.honest::before { content: ""; width: 9px; height: 9px; flex: none; background: var(--accent); }

/* contact */
.contact { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 5vw, 88px); align-items: start; }
.contact-lead { font-size: clamp(19px, 1.6vw, 23px); line-height: 1.45; max-width: 34ch; }
.btn-xl { min-height: 64px; padding: 0 28px; margin-top: 32px; font-size: 21px; }
.address { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 20px; font: 400 15px/1.4 var(--mono); color: var(--white) !important; word-break: break-all; }
.address-k { font-size: 10.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--paper-2); border: 1px solid #555; padding: 4px 6px 3px; }
.draft { background: var(--white); color: var(--black); padding: clamp(22px, 3vw, 40px); }
.draft h3 { font-size: clamp(26px, 2.4vw, 36px) !important; }
.draft-intro { margin-top: 10px; color: #444 !important; font-size: 15px; max-width: 56ch; }
.field { display: flex; flex-direction: column; gap: 8px; margin-top: 20px; }
.field label { font-size: 14px; font-weight: 500; }
.field input, .field select, .field textarea {
  width: 100%; min-height: 50px; padding: 12px 14px; border: 1.5px solid var(--black); border-radius: 0;
  background: var(--white); font-size: 16px; line-height: 1.4;
}
.field textarea { min-height: 120px; resize: vertical; }
.field select {
  appearance: none; -webkit-appearance: none; padding-right: 44px; cursor: pointer;
  background: var(--white) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23000' stroke-width='1.6'/%3E%3C/svg%3E") no-repeat calc(100% - 16px) 50% / 12px 8px;
}
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.field ::placeholder { color: #767676; }
.draft-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 22px; margin-top: 24px; }
.draft-out { display: block; margin-top: 14px; font-size: 15px; line-height: 1.5; }
.draft-out:empty { display: none; }
.draft-out.is-error { padding: 12px 14px; border-left: 3px solid #b3261e; background: #fbeeed; color: #8c1d18; }
.draft-out.is-valid { padding: 12px 14px; border-left: 3px solid var(--accent); background: #f4f4f4; }
.draft-out a { color: var(--black); font-weight: 500; }
.draft-demo { margin-top: 16px; font: 400 11px/1.4 var(--mono) !important; letter-spacing: .04em; color: var(--ink-2) !important; }

/* ---------- footer ---------- */
.site-footer { padding: clamp(56px, 7vw, 96px) var(--pad) 28px; background: var(--black); color: var(--white); border-top: 1px solid var(--rule-d); }
.foot-top { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 24px; padding-bottom: 36px; border-bottom: 1px solid var(--rule-d); }
.brand-foot { color: var(--white); }
.brand-foot .brand-mark { width: 40px; height: 40px; }
.brand-foot .brand-word { width: 81px; height: 40px; }
.foot-slogan { font: 500 clamp(34px, 4.6vw, 72px)/.95 var(--font); letter-spacing: -0.045em; }
.foot-nav { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; padding: 36px 0; }
.foot-k { margin-bottom: 12px; font: 400 11px/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--paper-2); }
.foot-nav a { display: inline-flex; align-items: center; min-height: 40px; font-size: 15px; text-decoration: none; }
.foot-nav a:hover { text-decoration: underline; text-underline-offset: 4px; }
.foot-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; padding-top: 22px; border-top: 1px solid var(--rule-d); font: 400 12px/1.5 var(--mono); letter-spacing: .04em; color: var(--paper-2); }

/* ---------- desktop nav breakpoint ---------- */
@media (max-width: 1199px) {
  .site-header { grid-template-columns: 1fr auto; }
  .nav-desk { display: none; }
  .menu { display: block; }
}

/* ---------- mid widths (tablet) ---------- */
@media (max-width: 1000px) and (min-width: 761px) {
  .hero { --box: 100%; }
  .chips { aspect-ratio: auto; grid-template-rows: none; grid-auto-rows: minmax(104px, auto); min-height: calc((50vw - var(--pad) * 2) * .75); }
  .stage { aspect-ratio: 4 / 3; }
  .stage-agent-lg { aspect-ratio: 16 / 11; }
  .hint { display: none; }
  .biz, .biz-agents, .game, .game-flip, .hub, .contact { grid-template-columns: minmax(0, 1fr); }
  .biz-agents .stage, .game-flip .frame { order: 0; }
  .stations { grid-template-columns: 1fr 1fr; row-gap: 40px; }
  .stations::before, .stations::after { display: none; }
  .station::before { top: 0; }
  .station { padding-top: 36px; border-top: 2px solid var(--black); }
  .station::before { top: -10px; }
  .teams { grid-template-columns: minmax(0, 1fr); grid-template-areas: "lead" "list" "act"; }
  .teams-list { margin-top: 32px; }
}

/* ---------- phone ---------- */
@media (max-width: 760px) {
  :root { --head-h: 60px; }
  .site-header { background: var(--white); gap: 8px; }
  .head-right { gap: 6px; color: var(--black); }
  .btn-cta { display: none; }
  .lang-switch a[aria-current]::before { left: 8px; right: 8px; }
  .menu-btn { padding: 0 12px; gap: 9px; }

  .hero {
    --h1: clamp(40px, 12.6vw, 66px);
    --box: 100%;
    background: var(--white); justify-content: flex-start; gap: 12px; padding: 4px var(--pad) 0;
  }
  .slogan { grid-template-columns: minmax(0, 1fr); grid-template-rows: auto auto auto; }
  .slogan-h1 { line-height: .9; }
  .half { display: block; }
  .half-in { grid-row: 1; grid-column: 1; justify-self: start; }
  .half-out { grid-row: 3; grid-column: 1; justify-self: end; }
  .half .w { display: inline; color: var(--black); }
  .belt { grid-row: 2; grid-column: 1; height: 36px; margin: 2px 0 6px; top: 0; }
  .packet { right: 38px; height: 24px; gap: 7px; padding: 0 9px 0 8px; font-size: 10.5px; }
  .packet-dot { width: 6px; height: 6px; }

  .machine { grid-template-columns: minmax(0, 1fr); grid-template-rows: none; grid-template-areas: "anchor" "in" "out" "also"; }
  .anchor, .in, .out, .also { width: auto; justify-self: stretch; }
  .anchor { font-size: 15px; padding-bottom: 14px; }
  .in-head { height: auto; padding-bottom: 10px; }
  .q { font-size: 20px; }
  .hint { display: none; }
  .chips { aspect-ratio: auto; grid-template-rows: none; grid-auto-rows: minmax(80px, auto); gap: 8px; }
  .chip { padding: 10px 12px 11px; gap: 6px; }
  .chip-mark { top: 10px; right: 10px; width: 14px; height: 14px; }
  .chip-t { font-size: clamp(15.5px, 4.4vw, 19px); line-height: 1.08; }

  .out { background: var(--black); margin: 18px calc(var(--pad) * -1) 0; padding: 18px var(--pad) 4px; }
  .out-head { height: auto; padding-bottom: 12px; }
  .stage { aspect-ratio: 4 / 3; }
  .panel .actions { margin-top: 14px; }
  .panel .actions .btn { flex: 1 1 auto; }
  .motion { height: 44px; }
  .also { background: var(--black); margin: 0 calc(var(--pad) * -1); padding: 6px var(--pad) 22px; gap: 0 18px; border-top: 1px solid var(--rule-d); }
  .also a { color: var(--white); min-height: 44px; }
  .also .soft { color: var(--paper-2); }
  .also-k { border-color: #666; color: var(--white); margin-right: 0; }

  .sec h2 { font-size: clamp(38px, 11vw, 56px); }
  .biz, .biz-agents, .game, .game-flip, .hub, .contact { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .biz-agents .stage, .game-flip .frame { order: 0; }
  .stage-agent-lg { aspect-ratio: 4 / 3.2; }
  .actions .btn { flex: 1 1 100%; }
  .stats dd { font-size: 64px; }
  .reel { --reel-w: 240px; }
  .how-head { flex-direction: column; align-items: flex-start; }
  .stations { grid-template-columns: minmax(0, 1fr); row-gap: 0; padding-left: 2px; }
  .stations::before { left: 9px; right: auto; top: 0; bottom: 14px; width: 2px; height: auto; }
  .stations::after { left: 4px; right: auto; top: auto; bottom: 6px; transform: rotate(135deg); }
  .station { padding: 0 0 30px 40px; }
  .station::before { top: 2px; }
  .teams { grid-template-columns: minmax(0, 1fr); grid-template-areas: "lead" "list" "act"; }
  .teams-list { margin-top: 28px; }
  .teams-list li { grid-template-columns: 40px 1fr; }
  .hub-facts .hf-big dd { font-size: 56px; }
  .pillars { grid-template-columns: minmax(0, 1fr); }
  .btn-xl { width: 100%; }
  .draft-actions .btn { flex: 1 1 100%; }
  .foot-nav { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .foot-nav a { display: flex; min-height: 44px; }
}
@media (max-width: 374px) {
  .brand-word { display: none; }
  .brand-foot .brand-word { display: block; }
}

/* ---------- privacy and 404 ---------- */
.site-header-simple { grid-template-columns: 1fr auto; }
.doc-hero {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: calc(var(--pad) * 2); align-items: end;
  padding: clamp(48px, 7vw, 104px) var(--pad) clamp(40px, 5vw, 72px); background: var(--split); isolation: isolate;
}
.doc-promise { justify-self: end; width: min(100%, 440px); color: var(--white); border-top: 1px solid var(--white); }
.doc-promise li {
  display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--rule-d);
  font: 500 clamp(22px, 2.4vw, 34px)/1.05 var(--font); letter-spacing: -0.03em;
}
.doc-promise li::after { content: ""; width: 10px; height: 10px; flex: none; background: var(--accent); }
.doc-hero h1 { font: 500 clamp(52px, 8vw, 128px)/.88 var(--font); letter-spacing: -0.048em; color: var(--white); mix-blend-mode: difference; }
.doc-hero .kicker { color: var(--white); mix-blend-mode: difference; margin-bottom: 26px; }
.doc-lead { max-width: 52ch; margin-top: 28px; font-size: clamp(18px, 1.5vw, 21px); line-height: 1.5; color: var(--white); mix-blend-mode: difference; }
.doc { padding: clamp(48px, 6vw, 96px) var(--pad); }
.doc-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(36px, 4vw, 64px) clamp(32px, 5vw, 88px); }
.doc-card { border-top: 2px solid var(--black); padding-top: 20px; }
.doc-card h2 { margin: 16px 0 14px; font: 500 clamp(26px, 2.4vw, 36px)/1.05 var(--font); letter-spacing: -0.03em; }
.doc-card p { color: #333; }
.doc-card p + p { margin-top: 12px; }
.doc-card ul { margin-top: 12px; border-top: 1px solid #d6d6d6; }
.doc-card li { padding: 11px 0; border-bottom: 1px solid #d6d6d6; color: #333; }
.doc-card a { color: var(--black); text-underline-offset: 3px; }
.legal { margin-top: 6px; border-top: 1px solid #d6d6d6; }
.legal div { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); gap: 16px; padding: 11px 0; border-bottom: 1px solid #d6d6d6; }
.legal dt { font: 400 11px/1.6 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--ink-2); }
.legal code { background: #f1f1f1; padding: 2px 5px; }
.doc-back { display: flex; flex-wrap: wrap; gap: 12px 22px; align-items: center; margin-top: clamp(40px, 5vw, 72px); }
.nf { min-height: calc(100svh - var(--head-h)); display: flex; flex-direction: column; justify-content: center; gap: 28px; padding: 48px var(--pad); background: var(--split); isolation: isolate; }
.nf h1 { font: 500 clamp(48px, 8vw, 132px)/.9 var(--font); letter-spacing: -0.048em; color: var(--white); mix-blend-mode: difference; max-width: 12ch; }
.nf .kicker, .nf-line { color: var(--white); mix-blend-mode: difference; }
.nf-line { font-size: 18px; }
.nf .actions { margin-top: 4px; }
.nf .btn-b { mix-blend-mode: normal; }
@media (max-width: 760px) {
  .doc-hero, .nf { background: var(--white); }
  .doc-hero { grid-template-columns: minmax(0, 1fr); }
  .doc-promise { justify-self: stretch; width: auto; margin-top: 32px; color: var(--black); border-top-color: var(--black); }
  .doc-promise li { border-bottom-color: #d6d6d6; font-size: 24px; }
  .doc-grid { grid-template-columns: minmax(0, 1fr); }
  .legal div { grid-template-columns: minmax(0, 1fr); gap: 4px; }
}

/* ---------- reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .01ms !important; }
  .panel.enter .stage, .panel.enter .out-head, .panel.enter .actions { animation: none; }
}
@media (forced-colors: active) {
  .chip.is-on { outline: 3px solid Highlight; }
  .belt::before, .belt::after, .belt-ticks, .nav-desk .t { mix-blend-mode: normal; }
}

/* Old Portuguese anchors kept on /pt/ (#o-que-fazemos, #trabalho) so any earlier link still lands in the right place. */
.anchor-alias { position: absolute; width: 0; height: 0; overflow: hidden; scroll-margin-top: 12px; } /* out of flex/grid flow: never takes a cell or a gap */

/* Sections below the first screen are laid out only when they come near the viewport: the first frame no longer
   pays for the whole page (trace 2026-11-25: ~650 ms of layout before first paint on a throttled phone). */
.sec { content-visibility: auto; contain-intrinsic-size: auto 1000px; }
