/* ==========================================================================
   ZENTH Digital Agency
   Layout concept: a black stage with one chrome object (the coin). Everything
   else is editorial and left-aligned on a 12-column grid, with mono labels.
   ========================================================================== */

@font-face { font-family: "Geist"; src: url("../fonts/Geist-Variable.woff2") format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; }
@font-face { font-family: "Geist Mono"; src: url("../fonts/GeistMono-Variable.woff2") format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; }
@font-face { font-family: "Instrument Serif"; src: url("../fonts/instrument-serif-latin-400-italic.woff2") format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: "Instrument Serif"; src: url("../fonts/instrument-serif-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }

:root {
  color-scheme: dark;
  /* Color: graphite neutrals with a faint cool bias, chrome as the only accent */
  --bg: #070708;
  --bg-raise: #0e0e11;
  --bg-card: #141418;
  --bg-hover: #1b1b20;
  --line: rgba(226, 229, 236, 0.10);
  --line-strong: rgba(226, 229, 236, 0.22);
  --fg: #ecedf0;
  --fg-2: #a4a7b0;
  --fg-3: #74777f;
  --steel: #9ea6b6;
  --invert-bg: #ecedf0;
  --invert-fg: #0a0a0c;
  --chrome: linear-gradient(176deg, #ffffff 8%, #c9ccd3 46%, #7b7f88 92%);
  --chrome-soft: linear-gradient(176deg, #f4f5f7 0%, #a9adb6 100%);

  /* Type */
  --f-sans: "Geist", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --f-mono: "Geist Mono", ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  --f-serif: "Instrument Serif", "Iowan Old Style", Georgia, serif;
  --t-hero: clamp(3rem, 6.9vw, 8.4rem);
  --t-1: clamp(2.6rem, 6.2vw, 6.8rem);
  --t-2: clamp(1.9rem, 3.9vw, 4.1rem);
  --t-3: clamp(1.35rem, 2.1vw, 2.1rem);
  --t-lead: clamp(1.0625rem, 1.35vw, 1.3rem);
  --t-body: 1.0625rem;
  --t-small: 0.875rem;
  --t-label: 0.75rem;

  /* Space + shape */
  --gutter: clamp(20px, 4vw, 56px);
  --section: clamp(96px, 14vw, 200px);
  --radius: 12px;
  --radius-lg: 22px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-in-out: cubic-bezier(0.76, 0, 0.24, 1);
  --nav-h: 76px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: auto; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--f-sans);
  font-size: var(--t-body);
  line-height: 1.55;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
/* Film grain. A single fixed layer, never animated, so it costs nothing on scroll. */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 120;
  pointer-events: none;
  opacity: 0.055;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .9 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

img, svg, video, canvas { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4, p, ul, ol, figure, blockquote, dl, dd { margin: 0; }
ul, ol { padding: 0; list-style: none; }
::selection { background: var(--fg); color: var(--bg); }

:focus { outline: none; }
:focus-visible { outline: 2px solid var(--fg); outline-offset: 4px; border-radius: 4px; }

[hidden] { display: none !important; }
.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-link { position: fixed; left: 16px; top: -100px; z-index: 200; background: var(--invert-bg); color: var(--invert-fg); padding: 12px 18px; border-radius: 999px; font-weight: 500; }
.skip-link:focus { top: calc(16px + env(safe-area-inset-top, 0px)); }

/* ---------- Layout ---------- */
.wrap {
  width: 100%;
  max-width: 1480px;
  margin-inline: auto;
  padding-left: max(var(--gutter), env(safe-area-inset-left, 0px));
  padding-right: max(var(--gutter), env(safe-area-inset-right, 0px));
}
.section { padding-block: var(--section); position: relative; }
.section--tight { padding-block: calc(var(--section) * 0.6); }
.grid-12 { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: clamp(16px, 2vw, 32px); }

/* ---------- Type ---------- */
.label {
  font-size: var(--t-small);
  font-weight: 450;
  letter-spacing: -0.005em;
  color: var(--fg-2);
}
.label--dot::before { content: ""; display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: #f3c96a; margin-right: 10px; vertical-align: 2px; box-shadow: 0 0 12px rgba(243,201,106,.7); }
.display {
  font-weight: 600;
  letter-spacing: -0.045em;
  line-height: 0.94;
  text-wrap: balance;
}
.display em, .serif {
  font-family: var(--f-serif);
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.015em;
}
.chrome-text {
  background: var(--chrome);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}
.h1 { font-size: var(--t-1); }
.h2 { font-size: var(--t-2); line-height: 1; }
.h3 { font-size: var(--t-3); line-height: 1.12; letter-spacing: -0.03em; font-weight: 500; }
.lead { font-size: var(--t-lead); line-height: 1.5; color: var(--fg-2); max-width: 36ch; text-wrap: pretty; }
.body-copy { color: var(--fg-2); max-width: 62ch; text-wrap: pretty; }
.muted { color: var(--fg-2); }
.tnum { font-variant-numeric: tabular-nums; }

/* Split-text wrappers (built by JS) */
.sw { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: 0.08em; margin-bottom: -0.08em; }
.sw > .si { display: inline-block; will-change: transform; }

/* ---------- Buttons ---------- */
.btn {
  --h: 54px;
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 14px;
  height: var(--h);
  padding: 0 8px 0 26px;
  border-radius: 999px;
  font-size: 0.9375rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  white-space: nowrap;
  isolation: isolate;
  transition: background-color .4s var(--ease), color .4s var(--ease), border-color .4s var(--ease);
}
.btn--primary { background: var(--invert-bg); color: var(--invert-fg); }
@media (hover: hover) { .btn--primary:hover { background: #ffffff; } }
.btn--ghost { border: 1px solid var(--line-strong); color: var(--fg); background: rgba(255,255,255,0.02); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
@media (hover: hover) { .btn--ghost:hover { border-color: var(--fg); } }
.btn--sm { --h: 44px; padding-left: 20px; font-size: 0.875rem; }
.btn__text { position: relative; display: inline-block; overflow: hidden; height: 1.3em; line-height: 1.3em; }
.btn__text span { display: block; transition: transform .55s var(--ease); }
.btn__text span + span { position: absolute; left: 0; top: 100%; }
@media (hover: hover) { .btn:hover .btn__text span { transform: translateY(-100%); } }
.btn__icon {
  display: grid; place-items: center;
  width: calc(var(--h) - 14px); height: calc(var(--h) - 14px);
  border-radius: 50%;
  background: var(--invert-fg); color: var(--invert-bg);
  transition: transform .55s var(--ease);
}
.btn--ghost .btn__icon { background: var(--fg); color: var(--bg); }
.btn__icon svg { width: 14px; height: 14px; }
@media (hover: hover) { .btn:hover .btn__icon { transform: rotate(-45deg); } }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }

.link-u { position: relative; display: inline-block; }
.link-u::after { content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform .6s var(--ease); }
@media (hover: hover) { .link-u:hover::after { transform: scaleX(1); transform-origin: left; } }

/* ---------- Nav ---------- */
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 61; background: var(--bg); }
.nav {
  position: fixed;
  top: env(safe-area-inset-top, 0px);
  left: 0; right: 0;
  z-index: 60;
  transition: transform .7s var(--ease), background-color .5s var(--ease), border-color .5s var(--ease);
  border-bottom: 1px solid transparent;
}
.nav.is-scrolled { background: rgba(7,7,8,0.72); backdrop-filter: blur(18px) saturate(140%); -webkit-backdrop-filter: blur(18px) saturate(140%); border-color: var(--line); }
.nav.is-hidden { transform: translateY(-110%); }
.nav__inner { height: var(--nav-h); display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 12px; font-weight: 600; letter-spacing: 0.18em; font-size: 0.95rem; }
.brand__mark { width: 30px; height: 30px; }
.nav__links { display: flex; gap: 34px; font-size: 0.9rem; color: var(--fg-2); }
.nav__links a { transition: color .3s; }
@media (hover: hover) { .nav__links a:hover, .nav__links a[aria-current="page"] { color: var(--fg); } }
.nav__links a[aria-current="page"]::before { content: ""; display: inline-block; width: 5px; height: 5px; border-radius: 50%; background: var(--fg); margin-right: 8px; vertical-align: 2px; }
.nav__cta { display: flex; align-items: center; gap: 12px; }
.menu-btn { display: none; width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--line-strong); position: relative; }
.menu-btn span { position: absolute; left: 15px; right: 15px; height: 1.5px; background: var(--fg); transition: transform .5s var(--ease), top .5s var(--ease); }
.menu-btn span:nth-child(1) { top: 20px; }
.menu-btn span:nth-child(2) { top: 27px; }
.menu-open .menu-btn span:nth-child(1) { top: 23.5px; transform: rotate(45deg); }
.menu-open .menu-btn span:nth-child(2) { top: 23.5px; transform: rotate(-45deg); }

.menu {
  position: fixed; inset: 0; z-index: 59;
  background: var(--bg);
  padding-top: calc(var(--nav-h) + env(safe-area-inset-top, 0px) + 24px);
  padding-bottom: calc(32px + env(safe-area-inset-bottom, 0px));
  display: flex; flex-direction: column; justify-content: space-between;
  clip-path: inset(0 0 100% 0);
  visibility: hidden;
  transition: clip-path .8s var(--ease-in-out), visibility 0s .8s;
}
.menu-open .menu { clip-path: inset(0 0 0 0); visibility: visible; transition: clip-path .8s var(--ease-in-out), visibility 0s 0s; }
/* Menu: one clear row per page, number + title + what you will find there */
.menu__links { display: grid; border-top: 1px solid var(--line); }
.menu__links li { border-bottom: 1px solid var(--line); }
.menu__links a { display: block; overflow: hidden; padding-block: clamp(10px, 1.7vh, 18px); }
.menu__row { display: grid; grid-template-columns: 2.4rem minmax(0, 1fr); column-gap: 10px; row-gap: 2px; align-items: baseline;
  transform: translateY(105%); transition: transform .8s var(--ease); }
.menu__num { grid-row: 1; font-family: var(--f-mono); font-size: .8rem; color: var(--fg-3); letter-spacing: .02em; }
.menu__title { grid-row: 1; font-size: clamp(2rem, 8.6vw, 3.4rem); font-weight: 600; letter-spacing: -0.025em; line-height: 1.04; color: var(--fg); }
.menu__desc { grid-column: 2; font-size: .95rem; line-height: 1.4; color: var(--fg-2); }
/* Current page: a dark, muted tone instead of gold, on a deep grey panel */
.menu__links a[aria-current="page"] { background: linear-gradient(90deg, #121216, #0c0c0f); margin-inline: -12px; padding-inline: 12px; border-radius: 14px; }
.menu__links a[aria-current="page"] .menu__num { color: #4a4d55; }
.menu__links a[aria-current="page"] .menu__title { color: #5d6068; }
.menu__links a[aria-current="page"] .menu__desc { color: #4a4d55; }
.menu__links a:active .menu__title { opacity: .7; }
.menu-open .menu__row { transform: none; }
.menu-open .menu__links li:nth-child(2) .menu__row { transition-delay: .05s; }
.menu-open .menu__links li:nth-child(3) .menu__row { transition-delay: .10s; }
.menu-open .menu__links li:nth-child(4) .menu__row { transition-delay: .15s; }
.menu-open .menu__links li:nth-child(5) .menu__row { transition-delay: .20s; }
.menu__foot { display: grid; gap: 18px; }

/* ---------- Loader ---------- */
.loader { display: none; }
.js .loader {
  display: flex;
  position: fixed; inset: 0; z-index: 110;
  background: #050506;
  flex-direction: column; justify-content: space-between;
  padding: calc(28px + env(safe-area-inset-top, 0px)) max(var(--gutter), env(safe-area-inset-right, 0px)) calc(28px + env(safe-area-inset-bottom, 0px)) max(var(--gutter), env(safe-area-inset-left, 0px));
  animation: loader-failsafe .01s 4.5s forwards;
}
.js.no-loader .loader { display: none; }
@keyframes loader-failsafe { to { opacity: 0; visibility: hidden; } }
.loader__top, .loader__bottom { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; }
.loader__center { display: grid; place-items: center; gap: 22px; }
.loader__word { display: flex; font-weight: 600; font-size: clamp(3rem, 13vw, 11rem); letter-spacing: -0.05em; line-height: 0.9; overflow: hidden; }
.loader__word span { display: inline-block; transform: translateY(105%); }
.loader__count { font-family: var(--f-mono); font-size: clamp(2rem, 5vw, 3.5rem); font-weight: 400; letter-spacing: -0.04em; color: var(--fg); font-variant-numeric: tabular-nums; }
.loader__bar { position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--fg); transform: scaleX(0); transform-origin: left; }

/* ---------- Page transition ---------- */
.curtain { position: fixed; inset: 0; z-index: 105; background: #050506; pointer-events: none; transform: translateY(101%); display: grid; place-items: center; }
.curtain.is-covering { transform: none; }
.curtain__mark { width: 44px; height: 44px; opacity: .9; }

/* ---------- Cursor ---------- */
.cursor { display: none; }
.has-cursor .cursor { display: block; position: fixed; left: 0; top: 0; z-index: 130; pointer-events: none; }
.cursor__dot, .cursor__ring { position: fixed; left: 0; top: 0; border-radius: 50%; pointer-events: none; will-change: transform; }
.cursor__dot { width: 6px; height: 6px; margin: -3px 0 0 -3px; background: #fff; mix-blend-mode: difference; }
.cursor__ring {
  width: 40px; height: 40px; margin: -20px 0 0 -20px;
  border: 1px solid rgba(255,255,255,.45);
  display: grid; place-items: center;
  transition: width .5s var(--ease), height .5s var(--ease), margin .5s var(--ease), background-color .4s var(--ease), border-color .4s var(--ease), opacity .3s;
}
.cursor__label { font-size: 0.8125rem; font-weight: 500; color: var(--invert-fg); opacity: 0; transition: opacity .3s; white-space: nowrap; }
.cursor.is-hover .cursor__ring { width: 64px; height: 64px; margin: -32px 0 0 -32px; border-color: rgba(255,255,255,.8); }
.cursor.has-label .cursor__ring { width: 92px; height: 92px; margin: -46px 0 0 -46px; background: var(--invert-bg); border-color: var(--invert-bg); }
.cursor.has-label .cursor__label { opacity: 1; }
.cursor.has-label .cursor__dot { opacity: 0; }
.cursor.is-hidden .cursor__ring, .cursor.is-hidden .cursor__dot { opacity: 0; }
.has-cursor, .has-cursor a, .has-cursor button, .has-cursor label, .has-cursor summary { cursor: none; }
.has-cursor input, .has-cursor textarea, .has-cursor select { cursor: text; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex; flex-direction: column; justify-content: flex-end;
  padding-top: calc(var(--nav-h) + 24px);
  padding-bottom: clamp(28px, 5vh, 56px);
  overflow: hidden;
  isolation: isolate;
}
/* The coin's size and position live in these variables. coin.js reads the same
   values, so the static poster, the shadow and the WebGL coin always line up. */
.hero__stage {
  --stage-h: 100svh; --fh: .38; --fw: .6; --cy: 36%;
  --coin-d: min(calc(var(--stage-h) * var(--fh)), calc(100vw * var(--fw)));
  position: absolute; inset: 0; z-index: -1;
}
.hero__glow {
  position: absolute; left: 50%; top: var(--cy);
  width: calc(var(--coin-d) * 3); aspect-ratio: 1; max-width: none;
  transform: translate(-50%, -50%);
  background: radial-gradient(closest-side, rgba(150,156,170,0.20), rgba(110,114,126,0.07) 45%, transparent 72%);
  pointer-events: none;
}
.hero__floor {
  position: absolute; left: 50%; top: calc(var(--cy) + var(--coin-d) / 2 + 4px);
  width: calc(var(--coin-d) * .8); height: 22px;
  transform: translate(-50%, 0) scaleX(var(--shadow-s, 1));
  opacity: var(--shadow-o, .7);
  background: radial-gradient(closest-side, rgba(0,0,0,.95), transparent);
  filter: blur(6px);
  pointer-events: none;
}
.coin-canvas { position: absolute; inset: 0; width: 100% !important; height: 100% !important; opacity: 0; }
.coin-poster {
  position: absolute; left: 50%; top: var(--cy);
  width: calc(var(--coin-d) / .9); max-width: none;
  transform: translate(-50%, -50%);
  transition: opacity .8s var(--ease);
  pointer-events: none;
}
.coin-live .coin-poster { opacity: 0; }
.hero__top { position: absolute; left: 0; right: 0; top: calc(var(--nav-h) + 20px); display: flex; justify-content: space-between; gap: 16px; }
.hero__inner { position: relative; }
.hero__title { font-size: var(--t-hero); }
.hero__title em { padding-right: 0.06em; }
.hero__row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 360px); gap: 40px; align-items: end; }
.hero__aside { display: grid; gap: 26px; justify-items: start; }
.flip-btn {
  position: absolute; left: 50%; top: calc(var(--cy) + var(--coin-d) / 2 + 30px);
  transform: translateX(-50%);
  z-index: 2;
  display: inline-flex; align-items: center; gap: 10px;
  padding: 10px 16px; border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(14,14,17,.5);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  font-size: 0.8125rem; color: var(--fg-2);
  transition: color .3s, border-color .3s;
}
@media (hover: hover) { .flip-btn:hover { color: var(--fg); border-color: var(--line-strong); } }
.flip-btn svg { width: 14px; height: 14px; }
.scroll-cue { display: inline-flex; align-items: center; gap: 12px; }
.scroll-cue__line { width: 1px; height: 36px; background: linear-gradient(var(--fg), transparent); transform-origin: top; animation: cue 2.4s var(--ease) infinite; }
@keyframes cue { 0% { transform: scaleY(0); } 50% { transform: scaleY(1); transform-origin: top; } 51% { transform-origin: bottom; } 100% { transform: scaleY(0); transform-origin: bottom; } }

/* ---------- Marquee ---------- */
.marquee { border-block: 1px solid var(--line); padding-block: 26px; overflow: hidden; position: relative; -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.marquee__track { display: flex; width: max-content; animation: marquee 48s linear infinite; }
@media (hover: hover) { .marquee:hover .marquee__track { animation-play-state: paused; } }
.marquee__group { display: flex; align-items: center; gap: clamp(48px, 7vw, 110px); padding-right: clamp(48px, 7vw, 110px); }
.logo-word { font-size: clamp(1.15rem, 1.8vw, 1.6rem); color: var(--fg-3); white-space: nowrap; transition: color .3s; letter-spacing: -0.02em; }
@media (hover: hover) { .logo-word:hover { color: var(--fg); } }
.logo-word--serif { font-family: var(--f-serif); font-style: italic; font-size: clamp(1.35rem, 2.1vw, 1.9rem); }
.logo-word--mono { font-family: var(--f-mono); font-size: clamp(.95rem, 1.4vw, 1.2rem); letter-spacing: .08em; text-transform: uppercase; }
.logo-word--bold { font-weight: 700; letter-spacing: -0.05em; }
.logo-word--wide { font-weight: 500; letter-spacing: .32em; text-transform: uppercase; font-size: clamp(.9rem, 1.3vw, 1.1rem); }
@keyframes marquee { to { transform: translateX(-50%); } }
.marquee-label { text-align: center; margin-bottom: 18px; }

/* ---------- Manifesto ---------- */
.manifesto__text { font-size: var(--t-2); font-weight: 500; letter-spacing: -0.035em; line-height: 1.08; max-width: 22ch; text-wrap: balance; }
.manifesto__text .mw { transition: none; }
.manifesto__grid { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 9fr); gap: 32px; }

/* ---------- Section heads ---------- */
.s-head { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 9fr); gap: 32px; align-items: end; margin-bottom: clamp(48px, 7vw, 96px); }
.s-head__title { font-size: var(--t-1); }
.s-head__side { display: flex; justify-content: space-between; align-items: end; gap: 24px; flex-wrap: wrap; }

/* ---------- Case cards ---------- */
.cases { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: clamp(16px, 2vw, 32px); row-gap: clamp(64px, 8vw, 120px); }
.case { display: grid; gap: 22px; min-width: 0; }
.case--full { grid-column: 1 / -1; }
.case--left { grid-column: 1 / span 6; }
.case--right { grid-column: 8 / span 5; margin-top: clamp(80px, 14vw, 220px); }
.case__media { position: relative; overflow: hidden; border-radius: var(--radius); aspect-ratio: 16 / 10; background: var(--bg-card); max-width: 100%; }
.case--full .case__media { aspect-ratio: 21 / 10; }
.case__media img { width: 100%; height: 115%; object-fit: cover; transform: translateY(-6%) scale(1.02); will-change: transform; transition: scale 1.2s var(--ease); }
@media (hover: hover) { .case:hover .case__media img { scale: 1.05; } }
.case__media::after { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: inset 0 0 0 1px var(--line); pointer-events: none; }
.case__badge { position: absolute; left: 20px; top: 20px; z-index: 2; }
.case__metric-float { position: absolute; right: 20px; bottom: 20px; z-index: 2; text-align: right; }
.case__metric-float b { display: block; font-size: clamp(2rem, 4vw, 3.6rem); font-weight: 600; letter-spacing: -0.05em; line-height: 1; }
.case__meta { display: flex; justify-content: space-between; align-items: start; gap: 20px; }
.case__title { font-size: var(--t-3); font-weight: 500; letter-spacing: -0.03em; line-height: 1.1; }
.case__client { margin-bottom: 8px; }
.case__tags { display: flex; flex-wrap: wrap; gap: 8px; justify-content: flex-end; }
.tag { font-size: 0.8125rem; color: var(--fg-2); border: 1px solid var(--line); border-radius: 999px; padding: 6px 11px; white-space: nowrap; }
.tag--glass { background: rgba(10,10,12,.55); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); color: var(--fg); border-color: rgba(255,255,255,.14); }

/* ---------- Services list ---------- */
.svc-list { border-top: 1px solid var(--line); }
.svc { border-bottom: 1px solid var(--line); position: relative; }
.svc__row { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 5fr) minmax(0, 4fr); gap: 32px; align-items: center; padding-block: clamp(28px, 3.4vw, 46px); transition: padding .6s var(--ease); }
.svc__name { font-size: var(--t-2); font-weight: 600; letter-spacing: -0.045em; line-height: 1; grid-column: 2; transition: transform .7s var(--ease), color .4s; }
.svc__kind { grid-column: 1; grid-row: 1; }
.svc__desc { grid-column: 3; color: var(--fg-2); font-size: 0.975rem; max-width: 40ch; }
@media (hover: hover) { .svc:hover .svc__name { transform: translateX(18px); } }
@media (hover: hover) { .svc-list:hover .svc:not(:hover) .svc__name { color: var(--fg-3); } }
.svc-preview {
  position: fixed; left: 0; top: 0; z-index: 40;
  width: 300px; aspect-ratio: 4 / 5;
  margin: -190px 0 0 -150px;
  border-radius: var(--radius);
  overflow: hidden;
  pointer-events: none;
  opacity: 0;
  transform: scale(.85);
  transition: opacity .4s var(--ease), transform .6s var(--ease);
  box-shadow: 0 40px 80px rgba(0,0,0,.6);
}
.svc-preview.is-on { opacity: 1; transform: scale(1); }
.svc-preview img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .4s; }
.svc-preview img.is-active { opacity: 1; }

/* ---------- Process ---------- */
.process { overflow: hidden; }
.process__pin { position: relative; }
.process__track { display: flex; gap: clamp(16px, 2vw, 28px); padding-left: max(var(--gutter), env(safe-area-inset-left, 0px)); padding-right: max(var(--gutter), env(safe-area-inset-right, 0px)); width: max-content; will-change: transform; }
.process__intro { width: min(36vw, 520px); flex: none; display: flex; flex-direction: column; justify-content: space-between; gap: 40px; padding-right: 3vw; }
.step {
  flex: none;
  width: min(30vw, 440px);
  min-height: min(62vh, 560px);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(24px, 2.6vw, 38px);
  display: flex; flex-direction: column; justify-content: space-between; gap: 36px;
  background: linear-gradient(180deg, var(--bg-raise), var(--bg));
  position: relative; overflow: hidden;
}
.step::before { content: ""; position: absolute; inset: 0; background: radial-gradient(120% 60% at 100% 0%, rgba(160,166,180,.10), transparent 60%); pointer-events: none; }
.step__num { font-family: var(--f-mono); font-size: clamp(3.5rem, 6vw, 6rem); font-weight: 300; letter-spacing: -0.06em; line-height: .9; background: var(--chrome); -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent; }
.step__title { font-size: var(--t-3); font-weight: 500; letter-spacing: -0.03em; margin-bottom: 14px; }
.step__time { margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: 12px; }
.process__bar { height: 1px; background: var(--line); margin-top: 48px; position: relative; }
.process__bar span { position: absolute; inset: 0; background: var(--fg); transform: scaleX(0); transform-origin: left; }

/* ---------- Testimonials ---------- */
.quotes { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 9fr); gap: 32px; }
.quote-stage { position: relative; display: grid; }
.quote { grid-area: 1 / 1; display: grid; gap: 36px; opacity: 0; visibility: hidden; transition: opacity .8s var(--ease), visibility 0s .8s; }
.quote.is-active { opacity: 1; visibility: visible; transition: opacity .8s var(--ease), visibility 0s 0s; }
.quote blockquote { font-family: var(--f-serif); font-style: italic; font-size: clamp(1.9rem, 3.8vw, 3.8rem); line-height: 1.08; letter-spacing: -0.015em; text-wrap: balance; }
.quote figcaption { display: flex; align-items: center; gap: 16px; }
.quote__avatar { width: 48px; height: 48px; border-radius: 50%; background: var(--chrome-soft); display: grid; place-items: center; color: var(--invert-fg); font-weight: 600; font-size: .9rem; flex: none; }
.quote__who b { display: block; font-weight: 500; }
.quote-ctrl { display: flex; align-items: center; gap: 18px; margin-top: 48px; }
.round-btn { width: 52px; height: 52px; border-radius: 50%; border: 1px solid var(--line-strong); display: grid; place-items: center; transition: background-color .3s, color .3s, border-color .3s; }
@media (hover: hover) { .round-btn:hover { background: var(--fg); color: var(--bg); border-color: var(--fg); } }
.round-btn svg { width: 16px; height: 16px; }
.quote-count { font-family: var(--f-mono); font-size: var(--t-small); color: var(--fg-2); font-variant-numeric: tabular-nums; }

/* ---------- Engagements ---------- */
.plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(14px, 1.6vw, 24px); }
.plan {
  position: relative;
  border-radius: var(--radius-lg);
  padding: clamp(26px, 2.6vw, 40px);
  background: var(--bg-raise);
  border: 1px solid var(--line);
  display: flex; flex-direction: column; gap: 28px;
  min-width: 0;
}
.plan--feature { background: linear-gradient(var(--bg-card), var(--bg-card)) padding-box, linear-gradient(160deg, rgba(255,255,255,.55), rgba(255,255,255,.06) 40%, rgba(255,255,255,.28)) border-box; border: 1px solid transparent; }
.plan__head { display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.plan__name { font-size: clamp(1.8rem, 2.8vw, 2.6rem); font-weight: 600; letter-spacing: -0.045em; line-height: 1; }
.plan__fit { color: var(--fg-2); }
.plan__list { display: grid; gap: 12px; padding-top: 24px; border-top: 1px solid var(--line); flex: 1; }
.plan__list li { display: grid; grid-template-columns: 18px minmax(0, 1fr); gap: 12px; color: var(--fg-2); font-size: .975rem; }
.plan__list li::before { content: ""; width: 10px; height: 10px; margin-top: 7px; border: 1px solid var(--fg-2); border-radius: 50%; }
.plan__price { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; padding-top: 22px; border-top: 1px solid var(--line); }

/* ---------- FAQ ---------- */
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 24px; padding-block: 28px; font-size: clamp(1.15rem, 1.7vw, 1.5rem); font-weight: 500; letter-spacing: -0.02em; }
.faq summary::-webkit-details-marker { display: none; }
.faq__icon { width: 36px; height: 36px; flex: none; border-radius: 50%; border: 1px solid var(--line-strong); position: relative; transition: transform .5s var(--ease), background-color .3s; }
.faq__icon::before, .faq__icon::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 1.5px; background: var(--fg); transform: translate(-50%, -50%); }
.faq__icon::after { transform: translate(-50%, -50%) rotate(90deg); transition: transform .5s var(--ease); }
.faq details[open] .faq__icon::after { transform: translate(-50%, -50%) rotate(0deg); }
.faq__a { padding-bottom: 30px; max-width: 64ch; color: var(--fg-2); }

/* ---------- Final CTA ---------- */
.cta { text-align: center; position: relative; overflow: hidden; isolation: isolate; }
.cta::before { content: ""; position: absolute; left: 50%; top: 55%; width: min(1100px, 140vw); aspect-ratio: 2 / 1; transform: translate(-50%, -50%); background: radial-gradient(closest-side, rgba(150,156,170,.16), transparent 70%); z-index: -1; }
.cta__title { font-size: clamp(3.2rem, 10vw, 11rem); margin-inline: auto; max-width: 12ch; }
.cta__lead { margin: 32px auto 44px; text-align: center; max-width: 44ch; }
.cta .btn-row { justify-content: center; }
.cta__note { margin-top: 28px; }

/* ---------- Footer ---------- */
.footer { border-top: 1px solid var(--line); padding-top: clamp(64px, 8vw, 110px); overflow: hidden; }
.footer__grid { display: grid; grid-template-columns: minmax(0, 5fr) repeat(3, minmax(0, 2fr)) minmax(0, 1fr); gap: 32px; }
.footer__col { display: grid; gap: 14px; align-content: start; }
.footer__col a { color: var(--fg-2); transition: color .3s; width: fit-content; }
@media (hover: hover) { .footer__col a:hover { color: var(--fg); } }
.footer__news p { color: var(--fg-2); max-width: 34ch; margin-bottom: 22px; }
.footer__word { font-weight: 700; font-size: 26.5vw; letter-spacing: -0.075em; line-height: .78; margin-top: clamp(56px, 8vw, 110px); margin-left: -0.04em; white-space: nowrap; background: linear-gradient(180deg, #2a2b30 0%, #121215 85%); -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent; user-select: none; }
.footer__base { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; padding-block: 26px calc(26px + env(safe-area-inset-bottom, 0px)); border-top: 1px solid var(--line); color: var(--fg-3); font-size: var(--t-small); }
@media (hover: hover) { .footer__base a:hover { color: var(--fg); } }
.preview-note { color: var(--fg-3); }

/* ---------- Inner page hero ---------- */
.page-hero { padding-top: calc(var(--nav-h) + clamp(72px, 12vw, 180px)); padding-bottom: clamp(56px, 8vw, 110px); position: relative; }
.page-hero__title { font-size: clamp(3.4rem, 11vw, 12rem); }
.page-hero__row { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 9fr); gap: 32px; margin-top: clamp(36px, 5vw, 64px); align-items: start; }

/* ---------- Work page ---------- */
.filters { display: flex; flex-wrap: wrap; gap: 10px; }
.filter { padding: 10px 18px; border-radius: 999px; border: 1px solid var(--line); color: var(--fg-2); font-size: .9rem; transition: all .3s; }
@media (hover: hover) { .filter:hover { color: var(--fg); border-color: var(--line-strong); } }
.filter[aria-pressed="true"] { background: var(--fg); color: var(--bg); border-color: var(--fg); }
.work-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: clamp(16px, 2vw, 32px); row-gap: clamp(56px, 7vw, 100px); }
.work-grid .case:nth-child(even) { margin-top: clamp(0px, 10vw, 160px); }
.work-grid .case.is-filtered { display: none; }
.work-grid.is-filtering .case:nth-child(even) { margin-top: 0; }

/* ---------- Case study page ---------- */
.cs-meta { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; border-top: 1px solid var(--line); padding-top: 28px; }
.cs-meta dt { margin-bottom: 8px; }
.cs-cover { border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 16 / 9; position: relative; max-width: 100%; }
.cs-cover img { width: 100%; height: 115%; object-fit: cover; }
.cs-block { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 9fr); gap: 32px; }
.cs-block + .cs-block { margin-top: clamp(64px, 8vw, 120px); }
.cs-block__body { display: grid; gap: 24px; }
.cs-block__body .h3 { max-width: 28ch; }
.cs-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 32px; border-top: 1px solid var(--line); }
.cs-list li { padding-block: 20px; border-bottom: 1px solid var(--line); display: flex; gap: 16px; color: var(--fg-2); }
.cs-list li span { font-family: var(--f-mono); color: var(--fg-3); font-size: var(--t-small); }
.stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(14px, 1.6vw, 24px); }
.stat { border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(24px, 2.6vw, 38px); background: var(--bg-raise); display: grid; gap: 40px; }
.stat b { font-size: clamp(3rem, 6vw, 5.6rem); font-weight: 600; letter-spacing: -0.06em; line-height: .9; }
.gallery { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: clamp(14px, 1.6vw, 24px); }
.gallery figure { border-radius: var(--radius); overflow: hidden; position: relative; max-width: 100%; }
.gallery figure:nth-child(1) { grid-column: 1 / span 7; aspect-ratio: 4 / 3; }
.gallery figure:nth-child(2) { grid-column: 8 / span 5; aspect-ratio: 4 / 5; }
.gallery img { width: 100%; height: 100%; object-fit: cover; }
.next-case { display: block; border-top: 1px solid var(--line); padding-top: 40px; }
.next-case__title { font-size: clamp(3rem, 9vw, 9.5rem); transition: transform .8s var(--ease); }
@media (hover: hover) { .next-case:hover .next-case__title { transform: translateX(2vw); } }

/* ---------- Services page ---------- */
.svc-detail { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 5vw, 80px); padding-block: clamp(56px, 7vw, 100px); border-top: 1px solid var(--line); align-items: start; }
.svc-detail__media { border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 4 / 5; position: sticky; top: calc(var(--nav-h) + 32px); max-width: 100%; }
.svc-detail__media img { width: 100%; height: 100%; object-fit: cover; }
.svc-detail__body { display: grid; gap: 28px; align-content: start; }
.svc-detail__title { font-size: var(--t-1); }
.deliverables { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 28px; border-top: 1px solid var(--line); }
.deliverables li { padding-block: 16px; border-bottom: 1px solid var(--line); color: var(--fg-2); font-size: .975rem; }
.fit-box { border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 24px; display: grid; gap: 8px; background: var(--bg-raise); }

/* ---------- Contact ---------- */
.contact { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: clamp(32px, 5vw, 80px); align-items: start; }
.contact__aside { display: grid; gap: 24px; position: sticky; top: calc(var(--nav-h) + 32px); }
.book-card { border-radius: var(--radius-lg); padding: clamp(24px, 2.6vw, 36px); background: linear-gradient(var(--bg-card), var(--bg-card)) padding-box, linear-gradient(160deg, rgba(255,255,255,.5), rgba(255,255,255,.05) 45%, rgba(255,255,255,.22)) border-box; border: 1px solid transparent; display: grid; gap: 20px; }
.book-card__title { font-size: clamp(1.6rem, 2.4vw, 2.2rem); font-weight: 600; letter-spacing: -0.04em; line-height: 1.05; }
.info-list { display: grid; gap: 0; border-top: 1px solid var(--line); }
.info-list li { display: flex; justify-content: space-between; gap: 16px; padding-block: 16px; border-bottom: 1px solid var(--line); font-size: .95rem; }
.info-list li span:first-child { color: var(--fg-2); }
.form { display: grid; gap: 36px; }
.form__row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 36px 28px; }
.field { display: grid; gap: 10px; min-width: 0; }
.field label, .field legend { font-size: var(--t-small); color: var(--fg-2); padding: 0; }
.field input, .field select, .field textarea {
  width: 100%;
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--line-strong);
  border-radius: 0;
  padding: 10px 0 14px;
  font-size: 1.15rem;
  color: var(--fg);
  transition: border-color .3s;
  -webkit-appearance: none; appearance: none;
}
.field select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none' stroke='%23a4a7b0' stroke-width='1.5'%3E%3Cpath d='M1 1.5l5 5 5-5'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 4px center; padding-right: 28px; }
.field select option { background: var(--bg-card); color: var(--fg); }
.field textarea { min-height: 140px; resize: vertical; line-height: 1.5; }
.field input::placeholder, .field textarea::placeholder { color: var(--fg-3); }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--fg); outline: none; }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible { outline: none; box-shadow: 0 1px 0 0 var(--fg); }
.field.is-invalid input, .field.is-invalid select, .field.is-invalid textarea { border-color: #e58f8f; }
.field__error { color: #f0a3a3; font-size: var(--t-small); min-height: 0; }
fieldset.field { border: 0; margin: 0; padding: 0; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 6px; }
.chip { position: relative; }
.chip input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.chip span { display: inline-block; padding: 11px 18px; border-radius: 999px; border: 1px solid var(--line-strong); font-size: .95rem; color: var(--fg-2); transition: all .3s var(--ease); }
@media (hover: hover) { .chip:hover span { color: var(--fg); border-color: var(--fg-2); } }
.chip input:checked + span { background: var(--fg); color: var(--bg); border-color: var(--fg); }
.chip input:focus-visible + span { outline: 2px solid var(--fg); outline-offset: 3px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form__foot { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; }
.form__status { font-size: .95rem; color: var(--fg-2); }
.form-success { display: grid; gap: 22px; padding: clamp(28px, 4vw, 56px); border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--bg-raise); }
.form-success__title { font-size: var(--t-2); }

/* ---------- 404 ---------- */
.nf { min-height: 100svh; display: grid; place-items: center; text-align: center; padding-block: 120px; }
.nf__code { font-size: clamp(7rem, 30vw, 26rem); line-height: .8; }

/* Hero text waits for the intro, with a failsafe if scripts never run */
.js [data-hero-split], .js [data-hero-fade] { opacity: 0; animation: hero-failsafe .01s 3.2s forwards; }
.hero-ready [data-hero-split], .hero-ready [data-hero-fade] { opacity: 1; animation: none; }
@keyframes hero-failsafe { to { opacity: 1; } }

/* ---------- Reveal defaults (JS sets initial states only for below-the-fold items) ---------- */
[data-reveal] { will-change: auto; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .nav__links { display: none; }
  .menu-btn { display: block; }
  .nav__cta .btn { display: none; }
  .svc__row { grid-template-columns: minmax(0, 1fr); gap: 14px; }
  .svc__name, .svc__kind, .svc__desc { grid-column: 1; grid-row: auto; }
  .svc:hover .svc__name { transform: none; }
  .svc-list:hover .svc:not(:hover) .svc__name { color: var(--fg); }
  .plans { grid-template-columns: minmax(0, 1fr); }
  .footer__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .footer__news { grid-column: 1 / -1; }
  .footer__grid > .footer__col:last-child { display: none; }
  .contact { grid-template-columns: minmax(0, 1fr); }
  .contact__aside { position: static; }
}
@media (min-width: 1081px) { .menu { display: none; } }

@media (max-width: 860px) {
  :root { --nav-h: 68px; }
  .hero__row { grid-template-columns: minmax(0, 1fr); gap: 26px; }
  .s-head, .manifesto__grid, .quotes, .page-hero__row, .cs-block { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .case--left, .case--right, .case--full { grid-column: 1 / -1; margin-top: 0; }
  .case--full .case__media { aspect-ratio: 16 / 10; }
  .case__meta { flex-direction: column; }
  .case__tags { justify-content: flex-start; }
  .work-grid { grid-template-columns: minmax(0, 1fr); }
  .work-grid .case:nth-child(even) { margin-top: 0; }
  .svc-detail { grid-template-columns: minmax(0, 1fr); }
  .svc-detail__media { position: relative; top: 0; aspect-ratio: 16 / 10; }
  .deliverables, .cs-list { grid-template-columns: minmax(0, 1fr); }
  .stats { grid-template-columns: minmax(0, 1fr); }
  .cs-meta { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .gallery figure:nth-child(1), .gallery figure:nth-child(2) { grid-column: 1 / -1; aspect-ratio: 4 / 3; }
  .form__row { grid-template-columns: minmax(0, 1fr); }
  .process__track { flex-direction: column; width: auto; }
  .process__intro, .step { width: auto; min-height: 0; }
  .process__bar { display: none; }
  .quote-ctrl { margin-top: 32px; }
  .svc-preview { display: none; }
}
@media (max-width: 560px) {
  .footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero__meta .label:last-child { display: none; }
  .btn-row .btn { flex: 1 1 auto; justify-content: space-between; }
  .flip-btn { top: calc(36% + 33vw); }
}

/* Short, wide screens: keep the coin and headline from colliding */
@media (min-width: 861px) and (max-height: 760px) {
  .hero__title { font-size: clamp(3rem, 7vw, 7rem); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .marquee__track { animation: none; flex-wrap: wrap; width: auto; justify-content: center; }
  .marquee__group[aria-hidden="true"] { display: none; }
  .marquee__group { flex-wrap: wrap; justify-content: center; row-gap: 20px; }
  .scroll-cue__line { animation: none; }
}

/* ==========================================================================
   Additions: gold accent, showcase laptop, mobile hero, transitions
   ========================================================================== */
:root { --gold: linear-gradient(172deg, #fff1c9 0%, #f3c96a 34%, #c18f35 72%, #f2d083 100%); }
.gold-text { background: var(--gold); -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent; }
.hero__glow { background: radial-gradient(closest-side, rgba(214,170,92,0.18), rgba(140,120,96,0.07) 45%, transparent 72%); }

.arriving .curtain { transform: none; animation: curtain-failsafe .01s 2.5s forwards; }
@keyframes curtain-failsafe { to { transform: translateY(-101%); } }

.case__link { display: block; border-radius: var(--radius); }
.manifesto__side { margin-top: clamp(28px, 4vw, 48px); }
.nav__cta .btn--ghost { display: inline-flex; }

/* ---------- Showcase ---------- */
.showcase { position: relative; }
.showcase__pin { position: relative; height: 100vh; height: 100svh; min-height: 640px; overflow: hidden; }
.showcase__stage { position: absolute; inset: 0; }
.showcase__stage::before { content: ""; position: absolute; left: 66%; top: 52%; width: 70vw; aspect-ratio: 1.6; transform: translate(-50%, -50%); background: radial-gradient(closest-side, rgba(150,158,176,.16), transparent 70%); pointer-events: none; }
.laptop-canvas { position: absolute; inset: 0; width: 100% !important; height: 100% !important; }
.laptop-poster { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 70% 50%; transition: opacity .8s var(--ease); }
.laptop-live .laptop-poster { opacity: 0; }
.showcase__ui { position: relative; z-index: 2; height: 100%; display: grid; grid-template-rows: auto 1fr auto; gap: 24px; padding-block: calc(var(--nav-h) + 28px) 40px; pointer-events: none; }
.showcase__ui > * { pointer-events: auto; max-width: 400px; }
.showcase__list { align-self: center; display: grid; counter-reset: sc; border-bottom: 1px solid var(--line); }
.sc-item { width: 100%; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 14px; align-items: center; text-align: left; padding: 16px 0; border-top: 1px solid var(--line); color: var(--fg-3); transition: color .4s var(--ease); position: relative; }
.sc-item::before { content: ""; position: absolute; left: 0; top: -1px; height: 1px; width: 100%; background: var(--fg); transform: scaleX(0); transform-origin: left; transition: transform .8s var(--ease); }
.sc-item.is-active::before { transform: scaleX(1); }
.sc-item__n { font-family: var(--f-mono); font-size: var(--t-label); letter-spacing: .1em; }
.sc-item__body { display: grid; gap: 2px; min-width: 0; }
.sc-item__body b { font-weight: 500; font-size: 1.05rem; letter-spacing: -0.01em; }
.sc-item__body span { font-size: .9rem; color: inherit; opacity: .85; }
.sc-item__metric { font-size: .95rem; font-variant-numeric: tabular-nums; }
@media (hover: hover) { .sc-item:hover, .sc-item.is-active { color: var(--fg); } }
.sc-item.is-active .sc-item__body span { color: var(--fg-2); opacity: 1; }
.showcase__foot { display: grid; gap: 22px; }
.showcase__progress { height: 1px; background: var(--line); position: relative; }
.showcase__progress span { position: absolute; inset: 0; background: var(--fg); transform: scaleX(0); transform-origin: left; }

@media (max-width: 860px) {
  .showcase__pin { height: auto; min-height: 0; display: flex; flex-direction: column; padding-block: var(--section); }
  .showcase__ui { display: contents; }
  .showcase__ui > * { max-width: none; padding-left: max(var(--gutter), env(safe-area-inset-left, 0px)); padding-right: max(var(--gutter), env(safe-area-inset-right, 0px)); }
  .showcase__head { order: 0; }
  .showcase__stage { order: 1; position: relative; inset: auto; aspect-ratio: 1 / .9; width: 100%; max-width: 100%; margin-block: 8px; }
  .showcase__stage::before { left: 50%; width: 120vw; }
  .laptop-poster { object-position: 50% 50%; }
  .showcase__list { order: 2; margin-inline: max(var(--gutter), env(safe-area-inset-left, 0px)); padding: 0 !important; }
  .showcase__foot { order: 3; margin-top: 28px; }
  .showcase__progress { display: none; }

  /* hero: coin on top, words below */
  .hero { min-height: 0; justify-content: flex-start; padding-top: 0; padding-bottom: 48px; }
  .hero__stage { --stage-h: 58svh; --fh: .62; --fw: .66; --cy: 56%; position: relative; inset: auto; height: 58svh; min-height: 360px; z-index: 0; }
  .hero__top { top: calc(var(--nav-h) + 12px); }
  .hero__top .label:last-child { display: none; }
  .hero__inner { margin-top: -12px; }
  .hero__title { max-width: none; }
}
@media (max-width: 1080px) {
  .nav__cta .btn--ghost { display: none; }
}

/* Split headings wrap each word in its own layer, so the gradient has to sit on the words */
.gold-text .si, .chrome-text .si { -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent; padding-right: 0.04em; }
.gold-text .si { background-image: var(--gold); }
.chrome-text .si { background-image: var(--chrome); }
@media (max-width: 860px) {
  .flip-btn { top: auto; bottom: 10px; left: auto; right: max(var(--gutter), env(safe-area-inset-right, 0px)); transform: none; }
  .hero__top { display: none; }
}

/* ---------- Silent partner (NDA) ---------- */
.silent__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 3vw, 48px); border-top: 1px solid var(--line); padding-top: clamp(32px, 4vw, 56px); }
.silent__item { display: grid; gap: 14px; align-content: start; min-width: 0; }
.silent__icon { width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; color: #f3c96a; border: 1px solid rgba(243,201,106,.35); background: radial-gradient(circle at 30% 30%, rgba(243,201,106,.14), transparent 70%); }
.silent__icon svg { width: 20px; height: 20px; }
.silent__title { font-size: var(--t-3); font-weight: 500; letter-spacing: -0.03em; line-height: 1.1; }
.silent__item p { max-width: 40ch; }
@media (max-width: 860px) { .silent__grid { grid-template-columns: minmax(0, 1fr); } }

/* Business types marquee: one voice, gold stars between */
.marquee__group { gap: clamp(26px, 3.2vw, 52px); padding-right: clamp(26px, 3.2vw, 52px); }
.marquee-star { width: 12px; height: 12px; color: #c9a14f; flex: none; opacity: .85; }
.logo-word { color: var(--fg-2); }
.quote__avatar svg { width: 20px; height: 20px; }
.case__metric-float .label { display: block; max-width: 26ch; margin-left: auto; }

/* ---------- Offers: bolder voice, slight hover ---------- */
.plan { overflow: hidden; isolation: isolate; transition: transform .6s var(--ease), border-color .4s var(--ease), box-shadow .6s var(--ease); }
.plan::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: 0; transition: opacity .5s var(--ease);
  background: radial-gradient(380px circle at var(--mx, 50%) var(--my, 0%), rgba(243, 201, 106, .11), transparent 62%); }
.plan__name { font-size: clamp(2.3rem, 3.5vw, 3.4rem); font-weight: 700; letter-spacing: -0.055em; line-height: .95; }
.plan__fit { color: var(--fg); font-size: clamp(1.15rem, 1.45vw, 1.4rem); font-weight: 500; letter-spacing: -0.02em; line-height: 1.25; max-width: 22ch; }
.plan__list li { transition: color .4s var(--ease); }
.plan__list li::before { transition: border-color .4s var(--ease), background-color .4s var(--ease); }
.plan--feature { background: linear-gradient(var(--bg-card), var(--bg-card)) padding-box, var(--gold) border-box; }
.plan--feature .tag--glass { color: #f3c96a; border-color: rgba(243, 201, 106, .45); }
@media (hover: hover) and (pointer: fine) {
  .plan:hover { transform: translateY(-6px); border-color: rgba(243, 201, 106, .38); box-shadow: 0 34px 60px -34px rgba(0, 0, 0, .9); }
  .plan:hover::before { opacity: 1; }
  .plan:hover .plan__list li { color: var(--fg); }
  .plan:hover .plan__list li::before { border-color: #f3c96a; background-color: rgba(243, 201, 106, .25); }
}
@media (prefers-reduced-motion: reduce) { .plan:hover { transform: none; } }
.plan__head { align-items: baseline; }
.plan__head > .label, .plan__head > .tag { flex-shrink: 0; }

/* ---------- Offers: scope and terms row (no public prices) ---------- */
.plan__meta { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); margin: 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.plan__meta > div { display: flex; flex-direction: column; gap: 8px; padding: 18px 0; min-width: 0; }
.plan__meta > div + div { padding-left: 20px; border-left: 1px solid var(--line); }
.plan__meta dd { margin: 0; color: var(--fg); font-size: clamp(1rem, 1.15vw, 1.12rem); font-weight: 600; letter-spacing: -0.02em; line-height: 1.25; }
.plan--feature .plan__meta dd { color: #f3c96a; }
.plan__meta + .plan__list { border-top: 0; padding-top: 0; }
.plan__list { align-content: start; }
/* Line up name, tagline, terms, list and button across the three cards */
@supports (grid-template-rows: subgrid) {
  @media (min-width: 1081px) {
    .plan { display: grid; grid-row: span 5; grid-template-rows: subgrid; row-gap: 28px; align-content: start; }
  }
}

/* ---------- Footer contact column ---------- */
@media (min-width: 1081px) { .footer__grid { grid-template-columns: minmax(0, 4.4fr) repeat(2, minmax(0, 1.8fr)) minmax(0, 2.6fr) minmax(0, 1fr); } }
.footer__contact a { overflow-wrap: anywhere; }
.info-list li a { color: var(--fg); text-decoration: underline; text-decoration-color: var(--line-strong); text-underline-offset: 4px; transition: text-decoration-color .3s; }
@media (hover: hover) { .info-list li a:hover { text-decoration-color: currentColor; } }

/* ---------- Client payments ---------- */
.pay { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: clamp(24px, 4vw, 72px); align-items: start; }
.pay__steps { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.pay__step { display: grid; grid-template-columns: 72px minmax(0, 1fr); gap: 16px; padding: clamp(22px, 2.4vw, 32px) 0; border-bottom: 1px solid var(--line); }
.pay__num { font-family: var(--f-mono); font-size: var(--t-small); color: var(--fg-3); padding-top: .45em; }
.pay__step h3 { font-size: clamp(1.35rem, 1.9vw, 1.9rem); font-weight: 600; letter-spacing: -0.035em; line-height: 1.1; margin-bottom: 8px; }
.pay__card { position: sticky; top: 110px; display: grid; gap: 26px; border-radius: var(--radius-lg); padding: clamp(26px, 2.8vw, 40px);
  background: linear-gradient(var(--bg-card), var(--bg-card)) padding-box, var(--gold) border-box; border: 1px solid transparent; }
.pay__state { display: grid; gap: 18px; }
.pay__title { font-size: clamp(1.9rem, 2.8vw, 2.7rem); font-weight: 700; letter-spacing: -0.05em; line-height: 1; }
.pay__fine { display: flex; gap: 10px; align-items: flex-start; padding-top: 20px; border-top: 1px solid var(--line); color: var(--fg-3); font-size: var(--t-small); }
.pay__fine svg { width: 16px; height: 16px; flex-shrink: 0; margin-top: 2px; }
@media (max-width: 900px) {
  .pay { grid-template-columns: minmax(0, 1fr); }
  .pay__card { position: static; }
  .pay__step { grid-template-columns: 48px minmax(0, 1fr); }
}
@media (max-width: 560px) { .footer__contact { grid-column: 1 / -1; } }

/* ---------- Touch: press feedback, landing spots, tap sizes ---------- */
a, button, label, summary { -webkit-tap-highlight-color: transparent; }
@media (hover: none) {
  .btn, .round-btn, .filter, .chip span, .flip-btn, .menu-btn { transition-property: transform, background-color, color, border-color; }
  .btn:active, .round-btn:active, .filter:active, .flip-btn:active, .menu-btn:active { transform: scale(.96); }
  .chip:active span { transform: scale(.96); }
  .case:active .case__media img { scale: 1.03; }
}
/* Anchored sections land below the fixed nav instead of under it */
[id] { scroll-margin-top: calc(var(--nav-h, 72px) + 16px); }
/* Keep the page still while the mobile menu is open */
html.menu-open, html.menu-open body { overflow: hidden; }
@media (max-width: 1080px) {
  .filter { min-height: 44px; display: inline-flex; align-items: center; }
  .footer__col a, .footer__base a { min-height: 44px; display: inline-flex; align-items: center; }
  .footer__col { gap: 2px; }
  .info-list li a { display: inline-block; padding-block: 8px; margin-block: -8px; }
}
.quote-stage { touch-action: pan-y; }
.menu { overflow-y: auto; overscroll-behavior: contain; }
/* Bigger touch areas for small text links, without moving the layout */
@media (max-width: 1080px) {
  .brand { min-height: 44px; }
  .link-u::before { content: ""; position: absolute; inset: -12px -8px; }
  .info-list li a { padding-block: 10px; margin-block: -10px; }
}
/* Touch screens have no hover, so show the underline on standalone text links */
@media (hover: none) { .link-u.label::after { transform: scaleX(1); } }

/* Menu footer: both buttons side by side so every page title fits on a phone screen */
.menu__foot .btn-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.menu__foot .btn-row .btn { --h: 52px; width: 100%; justify-content: space-between; gap: 8px; padding: 0 7px 0 16px; }
@media (max-height: 700px) { .menu__foot > .label { display: none; } }

/* Phone: the 3D laptop gets more room and a brighter backdrop so it reads clearly */
@media (max-width: 860px) {
  .showcase__stage { aspect-ratio: 1 / .78; margin-block: 0; }
  .showcase__stage::before { top: 50%; width: 140vw; background: radial-gradient(closest-side, rgba(176, 184, 204, .30), rgba(176, 184, 204, .08) 55%, transparent 75%); }
}

/* Small phones (iPhone SE, mini): both menu buttons fit side by side, and the whole menu fits without scrolling */
@media (max-width: 379px) {
  .menu__foot .btn-row .btn { justify-content: center; padding: 0 12px; }
  .menu__foot .btn-row .btn__icon { display: none; }
}
@media (max-height: 620px) {
  .menu { padding-top: calc(var(--nav-h) + env(safe-area-inset-top, 0px) + 10px); padding-bottom: calc(18px + env(safe-area-inset-bottom, 0px)); }
  .menu__links a { padding-block: 7px; }
  .menu__title { font-size: 1.75rem; }
  .menu__desc { font-size: .85rem; }
}

