/* ═══════════════════════════════════════════════════════════════════
   QUITOWEB° — LATITUD CERO
   Design system 2026 · Andean equatorial luxury × engineering precision
   Canvas: volcanic green-black · Accent: equatorial gold · Inversion: ivory
   Type: Fraunces (display) · Archivo (UI/body) · Spline Sans Mono (data)
   ═══════════════════════════════════════════════════════════════════ */

/* ── 1 · Tokens ──────────────────────────────────────────────────── */
:root {
  /* canvas */
  --ink:        #0B100D;
  --ink-2:      #0F1611;
  --ink-3:      #141D16;
  --ink-4:      #1A2620;

  /* light inversion */
  --paper:      #F2ECDC;
  --paper-2:    #EAE2CD;
  --ink-on-paper: #161C16;
  --dim-on-paper: #5B6357;
  --line-on-paper: rgba(22, 28, 22, .16);

  /* text */
  --bone:       #EFE9DA;
  --bone-dim:   #A2AC9F;

  /* accents */
  --gold:       #D9A93F;
  --gold-2:     #EAC56C;
  --gold-deep:  #8F6D1E;
  --jade:       #46A881;
  --jade-2:     #6CC9A3;
  --jade-deep:  #12251C;

  /* hairlines */
  --line:        rgba(239, 233, 218, .10);
  --line-strong: rgba(239, 233, 218, .2);

  /* type */
  --f-display: "Fraunces", "Iowan Old Style", Georgia, serif;
  --f-body:    "Archivo", "Helvetica Neue", Arial, sans-serif;
  --f-mono:    "Spline Sans Mono", "SF Mono", "Cascadia Mono", monospace;

  /* rhythm */
  --sp-section: clamp(5.5rem, 11vw, 9.5rem);
  --wrap-max: 1280px;
  --wrap-pad: clamp(1.25rem, 4.5vw, 3rem);

  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --ease-swift: cubic-bezier(.65, 0, .35, 1);
}

/* ── 2 · Reset / base ────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  background: var(--ink);
  color: var(--bone);
  font-family: var(--f-body);
  font-size: 1rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}

img, svg, video { display: block; max-width: 100%; }
img { height: auto; }

a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
ul, ol { list-style: none; }
strong { font-weight: 600; }

::selection { background: var(--gold); color: var(--ink); }

::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: var(--ink); }
::-webkit-scrollbar-thumb { background: var(--ink-4); border-radius: 5px; border: 2px solid var(--ink); }
::-webkit-scrollbar-thumb:hover { background: var(--gold-deep); }

:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 2px; }

.skip-link {
  position: fixed; top: -100%; left: 1rem; z-index: 300;
  padding: .8rem 1.4rem; background: var(--gold); color: var(--ink);
  font-family: var(--f-mono); font-size: .78rem; letter-spacing: .08em; text-transform: uppercase;
  transition: top .25s var(--ease-out);
}
.skip-link:focus { top: 1rem; }

/* film grain over everything */
.grain {
  position: fixed; inset: -50%; z-index: 120; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.55'/%3E%3C/svg%3E");
  opacity: .045;
}

/* ── 3 · Typography ──────────────────────────────────────────────── */
h1, h2, h3 { font-family: var(--f-display); font-weight: 480; color: inherit; }

.display-1 {
  font-family: var(--f-display);
  font-size: clamp(3.1rem, 8.6vw, 7.2rem);
  font-weight: 460;
  line-height: .99;
  letter-spacing: -.022em;
  font-variation-settings: "opsz" 144;
  text-wrap: balance;
}
.display-2 {
  font-family: var(--f-display);
  font-size: clamp(2.2rem, 4.8vw, 3.9rem);
  font-weight: 470;
  line-height: 1.04;
  letter-spacing: -.018em;
  font-variation-settings: "opsz" 100;
  text-wrap: balance;
}
.display-3 {
  font-family: var(--f-display);
  font-size: clamp(1.55rem, 2.6vw, 2.1rem);
  font-weight: 500;
  line-height: 1.12;
  letter-spacing: -.012em;
}

/* the signature flourish: italic gold emphasis inside displays */
.display-1 em, .display-2 em, .display-3 em, .quote em {
  font-style: italic;
  font-weight: 400;
  color: var(--gold);
}
.section--paper .display-1 em, .section--paper .display-2 em, .section--paper .display-3 em { color: var(--gold-deep); }

.lead {
  font-size: clamp(1.05rem, 1.5vw, 1.22rem);
  line-height: 1.7;
  color: var(--bone-dim);
  max-width: 56ch;
  text-wrap: pretty;
}
.section--paper .lead { color: var(--dim-on-paper); }

.mono { font-family: var(--f-mono); font-weight: 400; }

.mono-tag {
  display: inline-flex; align-items: center; gap: .65em;
  font-family: var(--f-mono); font-size: .72rem; font-weight: 500;
  letter-spacing: .22em; text-transform: uppercase;
  color: var(--gold);
}
.mono-tag::before { content: ""; width: 7px; height: 7px; background: currentColor; rotate: 45deg; flex: none; }
.section--paper .mono-tag { color: var(--gold-deep); }
.mono-tag--plain::before { display: none; }

/* ── 4 · Layout primitives ───────────────────────────────────────── */
.wrap { width: 100%; max-width: var(--wrap-max); margin-inline: auto; padding-inline: var(--wrap-pad); }
.wrap--narrow { max-width: 880px; }

.section { padding-block: var(--sp-section); position: relative; }
.section--paper { background: var(--paper); color: var(--ink-on-paper); }
.section--raised { background: var(--ink-2); }

/* equator divider — full-width hairline with a coordinate chip */
.eq { position: relative; height: 1px; background: var(--line); }
.eq span {
  position: absolute; left: 50%; top: 50%; translate: -50% -50%;
  background: var(--ink); padding: .35rem 1.1rem;
  font-family: var(--f-mono); font-size: .66rem; letter-spacing: .3em; text-transform: uppercase;
  color: var(--bone-dim); white-space: nowrap;
}
.eq span::before, .eq span::after { content: "·"; color: var(--gold); margin-inline: .5em; }
.section--paper .eq { background: var(--line-on-paper); }
.section--paper .eq span { background: var(--paper); color: var(--dim-on-paper); }

/* section heading block */
.sec-head { display: grid; gap: 1.4rem; margin-bottom: clamp(3rem, 6vw, 4.5rem); max-width: 56rem; }
.sec-head .lead { margin-top: .2rem; }
.sec-head--center { margin-inline: auto; text-align: center; justify-items: center; }
.sec-head--split {
  max-width: none;
  grid-template-columns: 1fr auto;
  align-items: end; gap: 2rem;
}
@media (max-width: 760px) { .sec-head--split { grid-template-columns: 1fr; align-items: start; } }

/* ── 5 · Buttons & links ─────────────────────────────────────────── */
.btn {
  position: relative; isolation: isolate;
  display: inline-flex; align-items: center; justify-content: center; gap: .8rem;
  padding: 1.02rem 1.85rem;
  font-family: var(--f-body); font-size: .8rem; font-weight: 650;
  letter-spacing: .12em; text-transform: uppercase;
  border-radius: 2px; border: 1px solid transparent;
  transition: color .35s var(--ease-out), border-color .35s var(--ease-out),
              translate .35s var(--ease-out), box-shadow .35s var(--ease-out);
  overflow: hidden;
}
.btn::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  translate: 0 0; transition: translate .45s var(--ease-swift);
}
.btn .btn-arrow { transition: translate .35s var(--ease-out); }
.btn:hover .btn-arrow { translate: 5px 0; }

.btn--gold { color: var(--ink); }
.btn--gold::before { background: var(--gold); }
.btn--gold:hover { box-shadow: 0 14px 36px -12px rgba(217, 169, 63, .55); translate: 0 -2px; }
.btn--gold:hover::before { background: var(--gold-2); }

.btn--line { color: var(--bone); border-color: var(--line-strong); }
.btn--line::before { background: var(--bone); translate: 0 101%; }
.btn--line:hover { color: var(--ink); border-color: var(--bone); }
.btn--line:hover::before { translate: 0 0; }

.section--paper .btn--line { color: var(--ink-on-paper); border-color: rgba(22,28,22,.35); }
.section--paper .btn--line::before { background: var(--ink-on-paper); }
.section--paper .btn--line:hover { color: var(--paper); }

.btn--jade { color: #07130D; }
.btn--jade::before { background: var(--jade); }
.btn--jade:hover { box-shadow: 0 14px 36px -12px rgba(70, 168, 129, .5); translate: 0 -2px; }
.btn--jade:hover::before { background: var(--jade-2); }

/* arrow text link */
.link-arrow {
  display: inline-flex; align-items: center; gap: .6rem;
  font-family: var(--f-mono); font-size: .74rem; font-weight: 500;
  letter-spacing: .18em; text-transform: uppercase; color: var(--gold);
  padding-bottom: .35rem; position: relative;
}
.link-arrow::after {
  content: ""; position: absolute; left: 0; bottom: 0; height: 1px; width: 100%;
  background: currentColor; transform: scaleX(0); transform-origin: right;
  transition: transform .45s var(--ease-swift);
}
.link-arrow:hover::after { transform: scaleX(1); transform-origin: left; }
.link-arrow .btn-arrow { transition: translate .3s var(--ease-out); }
.link-arrow:hover .btn-arrow { translate: 4px 0; }
.section--paper .link-arrow { color: var(--gold-deep); }

/* ── 6 · Header ──────────────────────────────────────────────────── */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 200;
  transition: background .4s var(--ease-out), box-shadow .4s var(--ease-out);
}
.site-header.scrolled {
  background: rgba(11, 16, 13, .85);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 var(--line);
}
.nav {
  display: flex; align-items: center; justify-content: space-between; gap: 2rem;
  height: 76px;
}
.logo {
  font-family: var(--f-display); font-size: 1.42rem; font-weight: 560;
  letter-spacing: -.01em; line-height: 1; color: var(--bone);
  display: inline-flex; align-items: baseline;
}
.logo .deg { color: var(--gold); font-weight: 400; margin-left: .06em; }

.nav-links { display: flex; align-items: center; gap: clamp(1.2rem, 2.4vw, 2.2rem); }
.nav-links a {
  font-size: .76rem; font-weight: 550; letter-spacing: .1em; text-transform: uppercase;
  color: var(--bone-dim); transition: color .25s;
  position: relative; padding-block: .4rem;
}
.nav-links a:hover { color: var(--bone); }
.nav-links a[aria-current="page"] { color: var(--bone); }
.nav-links a[aria-current="page"]::before {
  content: "°"; color: var(--gold); position: absolute; left: -.85em; top: .28rem;
  font-family: var(--f-display); font-size: 1rem;
}
.nav-cta { flex: none; display: flex; align-items: center; gap: 1.3rem; }
.nav-cta .btn { padding: .72rem 1.3rem; font-size: .72rem; }

/* language switch — tipografía idéntica al nav, activo en dorado.
   Área táctil mínima 44×44px (Apple HIG) vía padding/min-size: el texto
   conserva su tamaño visual; el gap baja porque el padding ya separa. */
.lang-switch { display: inline-flex; align-items: center; gap: .15rem; }
.lang-switch a {
  font-size: .76rem; font-weight: 550; letter-spacing: .1em; text-transform: uppercase;
  color: var(--bone-dim); line-height: 1;
  min-width: 44px; min-height: 44px; padding: .4rem;
  display: inline-flex; align-items: center; justify-content: center;
  transition: color .25s; cursor: pointer;
}
.lang-switch a:hover { color: var(--bone); }
.lang-switch a[aria-current="true"],
.lang-switch a[aria-current="true"]:hover { color: #C9A84C; font-weight: 600; cursor: default; }
.lang-switch .sep { width: 1px; height: .85em; background: var(--line-strong); font-size: 0; }

/* variante dentro del menú móvil (hereda el registro mono del pie).
   Mantiene los 44×44px táctiles; margen negativo vertical para que la
   caja táctil no infle la altura visual del pie. */
.mobile-menu-foot .lang-switch { gap: .15rem; }
.mobile-menu-foot .lang-switch a {
  font-family: var(--f-mono); font-size: .7rem; font-weight: 400;
  letter-spacing: .14em; margin-block: -12px;
}
.mobile-menu-foot .lang-switch a[aria-current="true"],
.mobile-menu-foot .lang-switch a[aria-current="true"]:hover { color: #C9A84C; font-weight: 500; }

/* burger */
.burger {
  display: none; flex-direction: column; justify-content: center; gap: 7px;
  width: 44px; height: 44px; padding: 10px; z-index: 220;
}
.burger span { display: block; height: 1.5px; background: var(--bone); transition: all .4s var(--ease-swift); }
.burger[aria-expanded="true"] span:nth-child(1) { translate: 0 4.2px; rotate: 45deg; }
.burger[aria-expanded="true"] span:nth-child(2) { translate: 0 -4.2px; rotate: -45deg; }

/* mobile overlay menu */
.mobile-menu {
  position: fixed; inset: 0; z-index: 190; /* below the fixed header so logo + burger stay usable */
  background: var(--ink);
  display: flex; flex-direction: column; justify-content: space-between;
  padding: 7.5rem var(--wrap-pad) 2.5rem;
  visibility: hidden; opacity: 0; translate: 0 -12px;
  transition: opacity .4s var(--ease-out), translate .4s var(--ease-out), visibility 0s .4s;
}
.mobile-menu.open { visibility: visible; opacity: 1; translate: 0 0; transition-delay: 0s; }
.mobile-menu nav { display: grid; gap: .4rem; }
.mobile-menu nav a {
  font-family: var(--f-display); font-size: clamp(2rem, 8.5vw, 3.2rem); font-weight: 470;
  line-height: 1.18; letter-spacing: -.015em; color: var(--bone);
  display: flex; align-items: baseline; gap: 1rem;
  opacity: 0; translate: 0 18px;
  transition: opacity .5s var(--ease-out), translate .5s var(--ease-out);
  transition-delay: calc(var(--i) * 55ms + 80ms);
}
.mobile-menu.open nav a { opacity: 1; translate: 0 0; }
.mobile-menu nav a .idx { font-family: var(--f-mono); font-size: .7rem; color: var(--gold); letter-spacing: .2em; }
.mobile-menu nav a[aria-current="page"] { color: var(--gold); }
.mobile-menu-foot {
  display: flex; flex-wrap: wrap; gap: 1rem 2rem;
  font-family: var(--f-mono); font-size: .7rem; letter-spacing: .14em; text-transform: uppercase;
  color: var(--bone-dim); border-top: 1px solid var(--line); padding-top: 1.6rem;
}
.mobile-menu-foot a:hover { color: var(--gold); }

@media (max-width: 920px) {
  .nav-links, .nav-cta { display: none; }
  .burger { display: flex; }
}

body.menu-locked { overflow: hidden; }

/* ── 7 · Hero ────────────────────────────────────────────────────── */
.hero {
  position: relative; overflow: clip;
  padding-top: clamp(9.5rem, 17vh, 13rem);
  padding-bottom: clamp(4rem, 8vw, 6.5rem);
  min-height: 92svh;
  display: flex; flex-direction: column; justify-content: space-between; gap: 4rem;
}
.hero--sub { min-height: 0; padding-bottom: clamp(3.5rem, 7vw, 5.5rem); gap: 0; }

/* topographic contour backdrop */
.topo {
  position: absolute; inset: 0; pointer-events: none; overflow: hidden;
}
.topo svg {
  position: absolute; top: -28%; right: -16%;
  width: min(1100px, 100vw); height: auto; opacity: .75;
  animation: topo-drift 90s linear infinite alternate;
}
@keyframes topo-drift {
  from { transform: rotate(0deg) scale(1); }
  to   { transform: rotate(7deg) scale(1.07); }
}
.dawn {
  position: absolute; pointer-events: none;
  width: 60vw; height: 60vw; max-width: 900px; max-height: 900px;
  top: -22%; right: -12%;
  background: radial-gradient(circle, rgba(217, 169, 63, .13), rgba(217, 169, 63, .035) 42%, transparent 68%);
  filter: blur(10px);
}
.dawn--jade { background: radial-gradient(circle, rgba(70, 168, 129, .12), rgba(70, 168, 129, .03) 45%, transparent 70%); }

.hero-coords {
  position: absolute; right: var(--wrap-pad); top: 50%; translate: 0 -50%;
  display: none; flex-direction: column; gap: 2.4rem;
  font-family: var(--f-mono); font-size: .64rem; letter-spacing: .3em;
  color: var(--bone-dim); text-transform: uppercase;
  writing-mode: vertical-rl;
}
.hero-coords span::before { content: "— "; color: var(--gold); }
@media (min-width: 1100px) { .hero-coords { display: flex; } }

.hero-inner { position: relative; display: grid; gap: 2.4rem; max-width: 62rem; }
.hero-inner .lead { max-width: 50ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: .6rem; }

/* hero footer ticker (proof points) */
.hero-proof {
  position: relative; border-top: 1px solid var(--line);
  display: flex; flex-wrap: wrap; gap: .5rem 3rem;
  padding-top: 1.5rem;
}
.hero-proof span {
  font-family: var(--f-mono); font-size: .7rem; letter-spacing: .18em; text-transform: uppercase;
  color: var(--bone-dim); display: inline-flex; align-items: center; gap: .7rem;
}
.hero-proof span::before { content: ""; width: 5px; height: 5px; background: var(--jade); rotate: 45deg; }

/* load-in choreography */
.rise { opacity: 0; translate: 0 34px; animation: rise .9s var(--ease-out) forwards; animation-delay: var(--d, 0s); }
@keyframes rise { to { opacity: 1; translate: 0 0; } }

/* ── 8 · Marquee ─────────────────────────────────────────────────── */
.marquee {
  overflow: hidden; border-block: 1px solid var(--line);
  padding-block: 1.15rem; position: relative;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.marquee-track { display: flex; width: max-content; animation: marquee 36s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-track ul { display: flex; align-items: center; flex: none; }
.marquee-track li {
  font-family: var(--f-mono); font-size: .76rem; letter-spacing: .26em; text-transform: uppercase;
  color: var(--bone-dim); white-space: nowrap; padding-inline: 1.9rem;
  display: inline-flex; align-items: center; gap: 3.8rem;
}
.marquee-track li::after { content: "◆"; color: var(--gold); font-size: .55rem; }
@keyframes marquee { to { translate: -50% 0; } }

/* ── 9 · Service index rows (home) ──────────────────────────────── */
.svc-list { border-bottom: 1px solid var(--line); }
.svc {
  display: grid; grid-template-columns: 4.5rem 1.15fr .9fr 3.5rem;
  align-items: center; gap: 2rem;
  padding-block: 2.4rem; border-top: 1px solid var(--line);
  position: relative; transition: background .4s var(--ease-out);
}
.svc:hover { background: linear-gradient(90deg, transparent, rgba(217, 169, 63, .05) 55%, transparent); }
.svc-idx { font-size: .76rem; color: var(--gold); letter-spacing: .2em; }
.svc-name {
  font-family: var(--f-display); font-size: clamp(1.7rem, 3.4vw, 2.7rem); font-weight: 480;
  letter-spacing: -.015em; line-height: 1.05;
  transition: translate .45s var(--ease-out), color .3s;
}
.svc:hover .svc-name { translate: 10px 0; color: var(--gold-2); }
.svc-desc { color: var(--bone-dim); font-size: .95rem; max-width: 44ch; margin-top: .55rem; }
.svc-meta {
  font-family: var(--f-mono); font-size: .7rem; letter-spacing: .16em; text-transform: uppercase;
  color: var(--bone-dim); text-align: left; line-height: 2;
}
.svc-meta b { color: var(--bone); font-weight: 500; display: block; }
.svc-go {
  width: 3.2rem; height: 3.2rem; border: 1px solid var(--line-strong); border-radius: 50%;
  display: grid; place-items: center; font-size: 1.05rem; color: var(--bone);
  transition: all .4s var(--ease-out); justify-self: end;
}
.svc:hover .svc-go { background: var(--gold); border-color: var(--gold); color: var(--ink); rotate: -45deg; }
@media (max-width: 880px) {
  .svc { grid-template-columns: 3rem 1fr 3rem; row-gap: .4rem; }
  .svc-meta { grid-column: 2; }
  .svc-go { grid-row: 1; grid-column: 3; }
}

/* ── 10 · AndesIA chat device ────────────────────────────────────── */
.chat-scene { position: relative; display: grid; justify-items: center; }
.chat-device {
  width: min(396px, 100%);
  background: linear-gradient(160deg, var(--ink-3), var(--ink-2));
  border: 1px solid var(--line-strong);
  border-radius: 22px;
  box-shadow: 0 40px 90px -30px rgba(0, 0, 0, .65), 0 0 0 1px rgba(0,0,0,.3);
  overflow: hidden;
  position: relative; z-index: 2;
}
.chat-head {
  display: flex; align-items: center; gap: .9rem;
  padding: 1.05rem 1.25rem; border-bottom: 1px solid var(--line);
  background: rgba(239, 233, 218, .03);
}
.chat-avatar {
  width: 42px; height: 42px; border-radius: 50%; flex: none;
  background: radial-gradient(circle at 30% 25%, var(--gold-2), var(--gold-deep));
  display: grid; place-items: center;
  font-family: var(--f-display); font-weight: 600; font-size: 1.15rem; color: var(--ink);
}
.chat-id b { display: block; font-size: .92rem; font-weight: 600; letter-spacing: .01em; }
.chat-id span { font-family: var(--f-mono); font-size: .66rem; letter-spacing: .12em; text-transform: uppercase; color: var(--jade-2); display: inline-flex; align-items: center; gap: .45rem; }
.chat-id span::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--jade); animation: pulse-dot 2.2s ease-in-out infinite; }
@keyframes pulse-dot { 50% { opacity: .35; } }

.chat-body { padding: 1.3rem 1.15rem 1.5rem; display: grid; gap: .85rem; }
.msg {
  max-width: 84%; padding: .78rem 1rem; border-radius: 14px;
  font-size: .88rem; line-height: 1.5;
  transition: opacity .55s var(--ease-out), translate .55s var(--ease-out), scale .55s var(--ease-out);
}
html.js .chat-device:not(.play) .msg { opacity: 0; translate: 0 14px; scale: .97; }
.chat-device.play .msg { opacity: 1; translate: 0 0; scale: 1; transition-delay: var(--d, 0s); }
.msg--in  { background: rgba(239, 233, 218, .07); border-bottom-left-radius: 4px; justify-self: start; }
.msg--out { background: var(--jade-deep); border: 1px solid rgba(70, 168, 129, .25); border-bottom-right-radius: 4px; justify-self: end; }
.msg .meta { display: block; margin-top: .35rem; font-family: var(--f-mono); font-size: .6rem; letter-spacing: .1em; color: var(--bone-dim); text-transform: uppercase; }
.msg .ok { color: var(--jade-2); }

/* voice note bubble */
.voice { display: flex; align-items: center; gap: .7rem; min-width: 200px; }
.voice-play { width: 30px; height: 30px; border-radius: 50%; background: var(--jade); color: #07130D; display: grid; place-items: center; font-size: .7rem; flex: none; }
.voice-wave { display: flex; align-items: center; gap: 2.5px; height: 22px; flex: 1; }
.voice-wave i {
  width: 2.5px; border-radius: 2px; background: var(--jade-2); height: 30%;
  animation: wave 1.15s ease-in-out infinite; animation-delay: calc(var(--i) * .09s);
}
.chat-device:not(.play) .voice-wave i { animation-play-state: paused; }
@keyframes wave { 0%, 100% { height: 25%; } 50% { height: 95%; } }
.voice-time { font-family: var(--f-mono); font-size: .64rem; color: var(--bone-dim); }

/* quick-reply chips inside a message (reminder mock) */
.msg-actions { display: flex; gap: .45rem; margin-top: .65rem; flex-wrap: wrap; }
.msg-actions span {
  font-family: var(--f-mono); font-size: .6rem; letter-spacing: .08em; text-transform: uppercase;
  border: 1px solid rgba(70, 168, 129, .45); color: var(--jade-2);
  padding: .34rem .65rem; border-radius: 999px; white-space: nowrap;
}

/* typing indicator */
.typing { display: inline-flex; gap: 4.5px; padding: .9rem 1.05rem; }
.typing i { width: 6px; height: 6px; border-radius: 50%; background: var(--bone-dim); animation: typing 1.3s ease-in-out infinite; animation-delay: calc(var(--i) * .18s); }
@keyframes typing { 0%, 60%, 100% { translate: 0 0; opacity: .4; } 30% { translate: 0 -5px; opacity: 1; } }

/* floating annotations around the device */
.chat-note {
  position: absolute; z-index: 3;
  font-family: var(--f-mono); font-size: .62rem; letter-spacing: .22em; text-transform: uppercase;
  color: var(--bone-dim);
  border: 1px solid var(--line-strong); background: rgba(11, 16, 13, .8);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  padding: .55rem .9rem; border-radius: 2px;
  display: inline-flex; gap: .6rem; align-items: center;
}
.chat-note::before { content: ""; width: 5px; height: 5px; background: var(--gold); rotate: 45deg; }
.chat-note--tl { top: 8%; left: -3%; animation: float-slow 7s ease-in-out infinite; }
.chat-note--br { bottom: 12%; right: -2%; animation: float-slow 8s ease-in-out 1.2s infinite; }
@keyframes float-slow { 50% { translate: 0 -9px; } }
@media (max-width: 1100px) { .chat-note--tl { left: 0; } .chat-note--br { right: 0; } }

/* feature list next to chat */
.power-list { display: grid; gap: 0; border-top: 1px solid var(--line); }
.power {
  display: grid; grid-template-columns: 3rem 1fr; gap: 1.2rem;
  padding-block: 1.55rem; border-bottom: 1px solid var(--line);
}
.power-icn {
  width: 2.7rem; height: 2.7rem; border: 1px solid var(--line-strong); border-radius: 50%;
  display: grid; place-items: center; color: var(--gold); font-size: 1rem;
}
.power b { font-family: var(--f-display); font-size: 1.18rem; font-weight: 520; letter-spacing: -.01em; display: block; margin-bottom: .3rem; }
.power p { color: var(--bone-dim); font-size: .93rem; max-width: 52ch; }

/* ── 11 · Cards ──────────────────────────────────────────────────── */
.card-grid { display: grid; gap: 1.1rem; grid-template-columns: repeat(auto-fit, minmax(min(310px, 100%), 1fr)); align-items: stretch; }

.plan-card {
  position: relative; display: flex; flex-direction: column;
  background: var(--ink-3); border: 1px solid var(--line); border-radius: 5px;
  padding: clamp(1.7rem, 2.6vw, 2.4rem);
  transition: translate .45s var(--ease-out), border-color .45s var(--ease-out), box-shadow .45s var(--ease-out);
}
.plan-card:hover { translate: 0 -6px; border-color: rgba(217, 169, 63, .4); box-shadow: 0 30px 60px -28px rgba(0, 0, 0, .7); }
.plan-card--featured {
  border-color: rgba(217, 169, 63, .55);
  background:
    radial-gradient(120% 80% at 80% -10%, rgba(217, 169, 63, .12), transparent 55%),
    var(--ink-3);
}
.plan-flag {
  position: absolute; top: 0; left: 50%; translate: -50% -50%;
  background: var(--gold); color: var(--ink);
  font-family: var(--f-mono); font-size: .62rem; font-weight: 500; letter-spacing: .24em; text-transform: uppercase;
  padding: .42rem 1rem; border-radius: 2px; white-space: nowrap;
}
.plan-kicker { font-family: var(--f-mono); font-size: .66rem; letter-spacing: .22em; text-transform: uppercase; color: var(--bone-dim); margin-bottom: .8rem; }
.plan-name { font-family: var(--f-display); font-size: 1.65rem; font-weight: 520; letter-spacing: -.01em; }
.plan-desc { color: var(--bone-dim); font-size: .92rem; margin-top: .5rem; min-height: 2.8em; }

.plan-price { display: flex; align-items: baseline; gap: .8rem; flex-wrap: wrap; margin-block: 1.4rem .4rem; }
.plan-price-was { font-family: var(--f-mono); font-size: .92rem; color: var(--bone-dim); text-decoration: line-through; text-decoration-color: rgba(217,169,63,.6); }
.plan-price-now { font-family: var(--f-display); font-size: clamp(2.6rem, 4vw, 3.3rem); font-weight: 540; line-height: 1; letter-spacing: -.02em; }
.plan-price-now sup { font-size: .45em; font-weight: 460; margin-right: .08em; }
.plan-price-suffix { font-family: var(--f-mono); font-size: .64rem; letter-spacing: .16em; text-transform: uppercase; color: var(--bone-dim); width: 100%; }
.plan-save { display: inline-block; font-family: var(--f-mono); font-size: .62rem; letter-spacing: .14em; color: var(--jade-2); border: 1px solid rgba(70,168,129,.35); padding: .25rem .6rem; border-radius: 2px; margin-bottom: 1rem; align-self: flex-start; }

.plan-feats { display: grid; gap: .68rem; padding-block: 1.4rem; border-top: 1px solid var(--line); margin-top: auto; }
.plan-feats li { display: grid; grid-template-columns: 1rem 1fr; gap: .7rem; font-size: .9rem; color: var(--bone-dim); line-height: 1.5; }
.plan-feats li::before { content: "◆"; color: var(--gold); font-size: .5rem; line-height: 2.4; }
.plan-feats li b { color: var(--bone); font-weight: 550; }
/* negative variant — used for "the problem" lists */
.plan-feats--x li::before { content: "✕"; color: rgba(239, 233, 218, .35); font-size: .8rem; line-height: 1.7; }

.plan-fine { font-family: var(--f-mono); font-size: .67rem; line-height: 1.8; letter-spacing: .04em; color: var(--bone-dim); border-top: 1px solid var(--line); padding-top: 1rem; margin-bottom: 1.4rem; }
.plan-fine b { color: var(--gold); font-weight: 500; }
.plan-card .btn { width: 100%; }

/* small info / value cards */
.info-card {
  background: var(--ink-3); border: 1px solid var(--line); border-radius: 5px;
  padding: 1.9rem; transition: translate .4s var(--ease-out), border-color .4s;
}
.info-card:hover { translate: 0 -5px; border-color: rgba(217, 169, 63, .35); }
.info-card .icn {
  width: 2.9rem; height: 2.9rem; border: 1px solid var(--line-strong); border-radius: 50%;
  display: grid; place-items: center; font-size: 1.05rem; color: var(--gold); margin-bottom: 1.3rem;
}
.info-card h3 { font-size: 1.22rem; font-weight: 530; letter-spacing: -.01em; margin-bottom: .55rem; }
.info-card p { color: var(--bone-dim); font-size: .93rem; }
.section--paper .info-card { background: rgba(255, 255, 255, .42); border-color: var(--line-on-paper); }
.section--paper .info-card p { color: var(--dim-on-paper); }
.section--paper .info-card .icn { color: var(--gold-deep); border-color: rgba(22,28,22,.3); }

/* ── 12 · Stats ──────────────────────────────────────────────────── */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); border-inline: 1px solid var(--line); }
.stat { padding: clamp(1.6rem, 3vw, 2.8rem) clamp(1.2rem, 2.4vw, 2.2rem); border-left: 1px solid var(--line); }
.stat:first-child { border-left: 0; }
.stat-num {
  font-family: var(--f-display); font-weight: 480; line-height: .95; letter-spacing: -.025em;
  font-size: clamp(3rem, 6.5vw, 5.4rem); color: var(--gold);
  font-variant-numeric: tabular-nums;
}
.stat-num sup { font-size: .5em; color: var(--bone); font-weight: 420; }
.stat-label { margin-top: .9rem; font-family: var(--f-mono); font-size: .67rem; letter-spacing: .18em; text-transform: uppercase; color: var(--bone-dim); line-height: 1.9; }
@media (max-width: 820px) {
  .stats { grid-template-columns: 1fr 1fr; border-top: 1px solid var(--line); }
  .stat { border-bottom: 1px solid var(--line); }
  .stat:nth-child(3) { border-left: 0; }
}

/* ── 13 · Portfolio editorial ────────────────────────────────────── */
.work-list { display: grid; gap: clamp(3.5rem, 7vw, 6rem); }
.work {
  display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(1.8rem, 4vw, 4rem);
  align-items: end;
}
.work:nth-child(even) .work-media { order: 2; }
.work-media {
  position: relative; overflow: hidden; border-radius: 4px;
  border: 1px solid var(--line-on-paper);
  aspect-ratio: 16 / 10.5; background: var(--paper-2);
}
.section:not(.section--paper) .work-media { border-color: var(--line); background: var(--ink-3); }
.work-media img {
  width: 100%; height: 100%; object-fit: cover; object-position: top center;
  transition: scale 1.1s var(--ease-out), filter .6s;
  filter: saturate(.92);
}
.work:hover .work-media img { scale: 1.045; filter: saturate(1.05); }
.work-media .work-tag {
  position: absolute; top: 1rem; left: 1rem;
  background: rgba(11, 16, 13, .82); color: var(--bone);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  font-family: var(--f-mono); font-size: .6rem; letter-spacing: .2em; text-transform: uppercase;
  padding: .45rem .8rem; border-radius: 2px;
}
.work-info .mono-idx { font-family: var(--f-mono); font-size: .68rem; letter-spacing: .24em; color: var(--gold-deep); }
.section:not(.section--paper) .work-info .mono-idx { color: var(--gold); }
.work-info h3 {
  font-family: var(--f-display); font-size: clamp(1.9rem, 3.6vw, 3rem); font-weight: 480;
  letter-spacing: -.018em; line-height: 1.03; margin-block: .8rem .9rem;
}
.work-info p { color: var(--dim-on-paper); max-width: 46ch; }
.section:not(.section--paper) .work-info p { color: var(--bone-dim); }
.work-stack { display: flex; flex-wrap: wrap; gap: .45rem; margin-block: 1.3rem 1.6rem; }
.work-stack li {
  font-family: var(--f-mono); font-size: .62rem; letter-spacing: .14em; text-transform: uppercase;
  border: 1px solid var(--line-on-paper); color: var(--dim-on-paper);
  padding: .35rem .7rem; border-radius: 999px;
}
.section:not(.section--paper) .work-stack li { border-color: var(--line-strong); color: var(--bone-dim); }
@media (max-width: 880px) {
  .work { grid-template-columns: 1fr; align-items: start; }
  .work:nth-child(even) .work-media { order: 0; }
}

/* ── 14 · Process steps ──────────────────────────────────────────── */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border-top: 1px solid var(--line-on-paper); }
.step { padding: 2rem 1.7rem 2.4rem 0; border-right: 1px solid var(--line-on-paper); padding-left: 1.7rem; position: relative; }
.step:first-child { padding-left: 0; }
.step:last-child { border-right: 0; }
.step-idx {
  font-family: var(--f-display); font-style: italic; font-weight: 420;
  font-size: 2.6rem; color: var(--gold-deep); line-height: 1;
}
.step h3 { font-size: 1.18rem; font-weight: 560; margin-block: 1.1rem .5rem; letter-spacing: -.01em; }
.step p { font-size: .9rem; color: var(--dim-on-paper); }
.step .dur { display: block; margin-top: 1.1rem; font-family: var(--f-mono); font-size: .62rem; letter-spacing: .2em; text-transform: uppercase; color: var(--gold-deep); }
@media (max-width: 980px) {
  .steps { grid-template-columns: 1fr 1fr; }
  .step { border-bottom: 1px solid var(--line-on-paper); padding-left: 1.7rem; }
  .step:nth-child(odd) { padding-left: 0; border-right: 1px solid var(--line-on-paper); }
  .step:nth-child(even) { border-right: 0; }
}
@media (max-width: 560px) {
  .steps { grid-template-columns: 1fr; }
  .step, .step:nth-child(odd) { border-right: 0; padding-left: 0; }
}

/* dark variant */
.steps--dark { border-color: var(--line); }
.steps--dark .step { border-color: var(--line); }
.steps--dark .step-idx { color: var(--gold); }
.steps--dark .step p { color: var(--bone-dim); }
.steps--dark .step .dur { color: var(--gold); }

/* ── 15 · Testimonials ───────────────────────────────────────────── */
.quote-stage { position: relative; min-height: 21rem; }
.quote {
  position: absolute; inset: 0;
  display: grid; align-content: start; gap: 2rem;
  opacity: 0; translate: 0 24px; visibility: hidden;
  transition: opacity .65s var(--ease-out), translate .65s var(--ease-out), visibility 0s .65s;
}
.quote.active { opacity: 1; translate: 0 0; visibility: visible; transition-delay: .1s, .1s, 0s; position: relative; }
.quote blockquote {
  font-family: var(--f-display); font-weight: 440;
  font-size: clamp(1.35rem, 2.6vw, 2.05rem); line-height: 1.34; letter-spacing: -.01em;
  max-width: 30ch; text-wrap: pretty;
}
.quote blockquote::before { content: "“"; display: block; color: var(--gold); font-size: 3.4rem; line-height: .4; margin-bottom: 1.4rem; font-weight: 600; }
.quote-by { display: grid; gap: .15rem; }
.quote-by b { font-weight: 600; font-size: .98rem; }
.quote-by span { font-family: var(--f-mono); font-size: .68rem; letter-spacing: .16em; text-transform: uppercase; color: var(--bone-dim); }
.quote-stars { color: var(--gold); letter-spacing: .25em; font-size: .8rem; }

.quote-controls { display: flex; align-items: center; gap: 1.4rem; margin-top: 2.6rem; }
.quote-counter { font-family: var(--f-mono); font-size: .72rem; letter-spacing: .25em; color: var(--bone-dim); }
.quote-counter b { color: var(--gold); font-weight: 500; }
.quote-btn {
  width: 3rem; height: 3rem; border: 1px solid var(--line-strong); border-radius: 50%;
  display: grid; place-items: center; color: var(--bone); font-size: .95rem;
  transition: all .35s var(--ease-out);
}
.quote-btn:hover { background: var(--gold); border-color: var(--gold); color: var(--ink); }

/* ── 16 · Comparison table ───────────────────────────────────────── */
.versus { border: 1px solid var(--line); border-radius: 5px; overflow: hidden; }
.versus-row { display: grid; grid-template-columns: 1fr 1.1fr 1.3fr; }
.versus-row > div { padding: 1.25rem 1.5rem; border-top: 1px solid var(--line); font-size: .92rem; }
.versus-row > div:not(:first-child) { border-left: 1px solid var(--line); }
.versus-row--head > div {
  border-top: 0; background: var(--ink-2);
  font-family: var(--f-mono); font-size: .66rem; letter-spacing: .22em; text-transform: uppercase; color: var(--bone-dim);
}
.versus-row--head .us-col { color: var(--gold); }
.versus-feat { color: var(--bone); font-weight: 550; }
.versus-them { color: var(--bone-dim); }
.versus-them::before { content: "✕"; color: rgba(239, 233, 218, .3); margin-right: .7rem; font-size: .8rem; }
.versus-us { color: var(--bone); background: rgba(217, 169, 63, .045); }
.versus-us::before { content: "✓"; color: var(--gold); margin-right: .7rem; }
@media (max-width: 760px) {
  .versus-row { grid-template-columns: 1fr; }
  .versus-row > div:not(:first-child) { border-left: 0; }
  .versus-row--head { display: none; }
  .versus-feat { background: var(--ink-2); font-family: var(--f-mono); font-size: .68rem; letter-spacing: .2em; text-transform: uppercase; }
}

/* spec table (email limits) */
.spec-table { width: 100%; border-collapse: collapse; }
.spec-table th, .spec-table td { text-align: left; padding: 1.1rem 1.3rem; border-bottom: 1px solid var(--line); font-size: .92rem; }
.spec-table thead th {
  font-family: var(--f-mono); font-size: .65rem; letter-spacing: .2em; text-transform: uppercase;
  color: var(--bone-dim); font-weight: 500; border-bottom: 1px solid var(--line-strong);
}
.spec-table tbody th { color: var(--bone-dim); font-weight: 450; }
.spec-table td { color: var(--bone); font-variant-numeric: tabular-nums; }
.spec-table .hl { color: var(--gold); }

/* ── 17 · FAQ accordion ──────────────────────────────────────────── */
.faq { border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-q {
  width: 100%; display: flex; align-items: baseline; justify-content: space-between; gap: 2rem;
  padding-block: 1.6rem; text-align: left;
  font-family: var(--f-display); font-size: clamp(1.12rem, 1.9vw, 1.42rem); font-weight: 500; letter-spacing: -.01em;
  transition: color .3s;
}
.faq-q:hover { color: var(--gold-2); }
.faq-q .x {
  flex: none; font-family: var(--f-body); font-weight: 300; font-size: 1.5rem; line-height: 1;
  color: var(--gold); transition: rotate .45s var(--ease-swift);
}
.faq-item.open .faq-q .x { rotate: 45deg; }
.faq-a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .5s var(--ease-swift); }
.faq-a > div { overflow: hidden; }
.faq-a p { padding-bottom: 1.7rem; color: var(--bone-dim); max-width: 68ch; }
.faq-item.open .faq-a { grid-template-rows: 1fr; }

/* ── 18 · CTA finale ─────────────────────────────────────────────── */
.cta {
  position: relative; overflow: clip; text-align: center;
  padding-block: clamp(6rem, 12vw, 10rem);
}
.cta .display-1 { font-size: clamp(2.7rem, 7vw, 5.8rem); margin-bottom: 1.6rem; }
.cta .lead { margin-inline: auto; margin-bottom: 2.6rem; }
.cta-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 1rem; }
.cta-note { margin-top: 2.2rem; font-family: var(--f-mono); font-size: .68rem; letter-spacing: .22em; text-transform: uppercase; color: var(--bone-dim); }
.cta-note b { color: var(--jade-2); font-weight: 500; }

/* ── 19 · Footer ─────────────────────────────────────────────────── */
.site-footer { border-top: 1px solid var(--line); position: relative; overflow: clip; background: var(--ink); }
.footer-grid {
  display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr;
  gap: 3rem; padding-block: 4.5rem 4rem;
}
.footer-brand p { color: var(--bone-dim); font-size: .92rem; max-width: 30ch; margin-block: 1.2rem 1.6rem; }
.footer-coords { font-family: var(--f-mono); font-size: .66rem; letter-spacing: .2em; text-transform: uppercase; color: var(--bone-dim); line-height: 2.2; }
.footer-coords b { color: var(--gold); font-weight: 500; }
.footer-col h4 { font-family: var(--f-mono); font-size: .66rem; font-weight: 500; letter-spacing: .24em; text-transform: uppercase; color: var(--bone-dim); margin-bottom: 1.4rem; }
.footer-col ul { display: grid; gap: .7rem; }
.footer-col a { color: var(--bone); font-size: .92rem; transition: color .25s; }
.footer-col a:hover { color: var(--gold); }
.footer-col li span { display: block; font-family: var(--f-mono); font-size: .64rem; letter-spacing: .1em; color: var(--bone-dim); margin-top: .1rem; }
.footer-bottom {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem;
  border-top: 1px solid var(--line); padding-block: 1.7rem 2rem;
  font-family: var(--f-mono); font-size: .65rem; letter-spacing: .14em; text-transform: uppercase; color: var(--bone-dim);
}
.footer-bottom a:hover { color: var(--gold); }
.footer-watermark {
  display: block; text-align: center; user-select: none; pointer-events: none;
  font-family: var(--f-display); font-weight: 560; letter-spacing: -.03em;
  font-size: clamp(5rem, 17.5vw, 16rem); line-height: .78; translate: 0 18%;
  color: transparent; -webkit-text-stroke: 1px rgba(239, 233, 218, .07);
}
.footer-watermark .deg { -webkit-text-stroke-color: rgba(217, 169, 63, .22); }
@media (max-width: 980px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; gap: 2.4rem; } }

/* ── 20 · Forms ──────────────────────────────────────────────────── */
.field { display: grid; gap: .55rem; }
.field label { font-family: var(--f-mono); font-size: .66rem; font-weight: 500; letter-spacing: .22em; text-transform: uppercase; color: var(--bone-dim); }
.field input, .field select, .field textarea {
  width: 100%; background: var(--ink-2); color: var(--bone);
  border: 1px solid var(--line); border-radius: 3px;
  padding: .95rem 1.1rem; font: inherit; font-size: .95rem;
  transition: border-color .3s, background .3s;
  appearance: none;
}
.field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23A2AC9F' stroke-width='1.5'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 1.1rem center;
}
.field input::placeholder, .field textarea::placeholder { color: rgba(162, 172, 159, .55); }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--gold); background: var(--ink-3);
}
.field textarea { resize: vertical; min-height: 9rem; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.3rem; }
.form-grid .field--full { grid-column: 1 / -1; }
@media (max-width: 640px) { .form-grid { grid-template-columns: 1fr; } }
.form-hint { font-family: var(--f-mono); font-size: .66rem; letter-spacing: .1em; color: var(--bone-dim); line-height: 1.9; }
.form-hint a { color: var(--gold); }

/* contact channel card */
.channel {
  display: flex; flex-direction: column; gap: .4rem;
  border: 1px solid var(--line); border-radius: 5px; padding: 1.7rem;
  background: var(--ink-3); transition: border-color .35s, translate .35s var(--ease-out);
}
.channel:hover { border-color: rgba(217, 169, 63, .4); translate: 0 -4px; }
.channel .ch-kind { font-family: var(--f-mono); font-size: .62rem; letter-spacing: .24em; text-transform: uppercase; color: var(--gold); margin-bottom: .7rem; display: flex; align-items: center; gap: .6rem; }
.channel .ch-kind::before { content: ""; width: 5px; height: 5px; background: currentColor; rotate: 45deg; }
.channel b { font-family: var(--f-display); font-size: 1.28rem; font-weight: 520; letter-spacing: -.01em; }
.channel p { color: var(--bone-dim); font-size: .88rem; }

/* ── 21 · Page helpers ───────────────────────────────────────────── */
.crumb { font-family: var(--f-mono); font-size: .66rem; letter-spacing: .26em; text-transform: uppercase; color: var(--bone-dim); display: flex; gap: .9em; flex-wrap: wrap; }
.crumb a:hover { color: var(--gold); }
.crumb .sep { color: var(--gold); }

.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2.5rem, 6vw, 5.5rem); align-items: center; }
.two-col--top { align-items: start; }
@media (max-width: 920px) { .two-col { grid-template-columns: 1fr; } }

.prose { display: grid; gap: 1.2rem; color: var(--bone-dim); max-width: 64ch; }
.prose strong { color: var(--bone); }
.prose h3 { color: var(--bone); font-size: 1.3rem; margin-top: 1rem; }
.section--paper .prose { color: var(--dim-on-paper); }
.section--paper .prose strong, .section--paper .prose h3 { color: var(--ink-on-paper); }

.founder-media { position: relative; }
.founder-media img { border-radius: 5px; border: 1px solid var(--line); filter: saturate(.9); }
.founder-media figcaption {
  position: absolute; left: 1.2rem; bottom: 1.2rem;
  background: rgba(11, 16, 13, .85); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  border: 1px solid var(--line-strong); border-radius: 3px;
  padding: .8rem 1.1rem;
}
.founder-media figcaption b { display: block; font-family: var(--f-display); font-size: 1.05rem; font-weight: 540; }
.founder-media figcaption span { font-family: var(--f-mono); font-size: .6rem; letter-spacing: .18em; text-transform: uppercase; color: var(--gold); }

.badge-row { display: flex; flex-wrap: wrap; gap: .6rem; }
.badge-row li {
  font-family: var(--f-mono); font-size: .64rem; letter-spacing: .16em; text-transform: uppercase;
  border: 1px solid var(--line-strong); color: var(--bone-dim);
  padding: .5rem .95rem; border-radius: 999px;
  display: inline-flex; align-items: center; gap: .55rem;
}
.badge-row li::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--jade); }

.error-hero { min-height: 88svh; display: grid; place-content: center; text-align: center; gap: 1.6rem; position: relative; padding: 2rem; }
.error-code { font-family: var(--f-display); font-size: clamp(6rem, 22vw, 15rem); font-weight: 480; line-height: .9; letter-spacing: -.04em; }
.error-code em { color: var(--gold); font-style: italic; font-weight: 380; }

/* legal */
.legal-body h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); margin-block: 2.8rem 1rem; }
.legal-body h3 { font-size: 1.15rem; font-weight: 560; margin-block: 1.8rem .5rem; color: var(--bone); }
.legal-body p, .legal-body li { color: var(--bone-dim); font-size: .96rem; margin-bottom: .8rem; max-width: 72ch; }
.legal-body ul { list-style: none; padding-left: 1.2rem; }
.legal-body ul li { position: relative; }
.legal-body ul li::before { content: "◆"; color: var(--gold); font-size: .5rem; position: absolute; left: -1.2rem; top: .55em; }

/* ── 22 · Scroll reveal ───────────────────────────────────────────
   Hidden states are gated behind html.js: without JavaScript the
   whole site stays fully visible. */
html.js [data-io] { opacity: 0; translate: 0 36px; transition: opacity .85s var(--ease-out), translate .85s var(--ease-out); transition-delay: var(--d, 0s); }
html.js [data-io].in { opacity: 1; translate: 0 0; }
html.js [data-io="fade"] { translate: 0 0; }
html.js [data-io="left"] { translate: -42px 0; }
html.js [data-io="right"] { translate: 42px 0; }
html.js [data-io="left"].in, html.js [data-io="right"].in { translate: 0 0; }

/* ── 23 · Motion preferences ─────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001s !important; animation-iteration-count: 1 !important; transition-duration: .001s !important; }
  .rise, [data-io] { opacity: 1 !important; translate: 0 0 !important; }
  .msg { opacity: 1 !important; translate: 0 0 !important; scale: 1 !important; }
  .marquee-track { animation: none !important; }
}

/* ── 24 · Print: keep it sane ────────────────────────────────────── */
@media print {
  .grain, .site-header, .mobile-menu, .cta, .site-footer .footer-watermark { display: none !important; }
  body { background: #fff; color: #000; }
  html.js [data-io], html.js .chat-device:not(.play) .msg { opacity: 1 !important; translate: 0 0 !important; scale: 1 !important; }
}
