/* ═══════════════════════════════════════════════════════════════
   Ankush Kuchhal — portfolio
   Hand-written. No framework, no third-party CSS.
   Every animated property is transform / opacity / clip-path so
   the compositor does the work and scrolling stays at 60fps.
   ═══════════════════════════════════════════════════════════════ */

/* ── tokens ─────────────────────────────────────────────────── */
:root {
  --void:      #05050A;
  --ink:       #0A0A12;
  --ink-2:     #10101B;
  --paper:     #F4F3F0;
  --muted:     rgba(244, 243, 240, .56);
  --faint:     rgba(244, 243, 240, .34);
  --line:      rgba(244, 243, 240, .12);
  --line-2:    rgba(244, 243, 240, .06);

  --blue:      #2E4BFF;
  --blue-hi:   #6A82FF;
  --blue-deep: #0B1046;
  --amber:     #FF6A2B;
  --amber-hi:  #FF9257;

  --gutter:    clamp(20px, 4.4vw, 76px);
  --maxw:      1560px;
  --radius:    16px;

  --ease:      cubic-bezier(.19, 1, .22, 1);
  --ease-io:   cubic-bezier(.65, 0, .35, 1);

  --font-wordmark: 'Unbounded', 'Archivo', system-ui, sans-serif;
  --font-serif:    'Instrument Serif', Georgia, 'Times New Roman', serif;
  --font-logo:     'EB Garamond', 'Instrument Serif', Georgia, serif;
  --font-display:  'Archivo', 'Inter Tight', system-ui, sans-serif;
  --font-body:    'Inter Tight', system-ui, -apple-system, Segoe UI, sans-serif;
  --font-mono:    'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
}

/* ── reset ──────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }

html {
  background: var(--void);
  overscroll-behavior-y: none;
  scroll-behavior: auto;          /* JS owns scrolling */
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  font-size: clamp(1rem, .95rem + .25vw, 1.125rem);
  line-height: 1.55;
  color: var(--paper);
  background: var(--void);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, canvas, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { background: none; border: 0; cursor: pointer; }
::selection { background: var(--amber); color: #120500; }

/* <i> is used purely as a JS hook in a few places; it must not render italic */
i[data-year], i[data-loader-num], i[data-count] { font-style: normal; }

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

.sr {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip-path: inset(50%); white-space: nowrap;
}

.skip {
  position: fixed; top: 10px; left: 10px; z-index: 300;
  padding: 10px 16px; border-radius: 8px;
  background: var(--amber); color: #120500; font-weight: 600;
  transform: translateY(-160%);
  transition: transform .3s var(--ease);
}
.skip:focus-visible { transform: none; }

/* ── type helpers ───────────────────────────────────────────── */
.mono {
  font-family: var(--font-mono);
  font-size: .68rem;
  letter-spacing: .13em;
  text-transform: uppercase;
  font-weight: 500;
}







.ln { display: block; }
.ln > [data-split] { display: block; font-style: normal; }

/* word-by-word reveal built by app.js */
.w {
  display: inline-block; overflow: hidden; vertical-align: top;
  padding-bottom: .14em; margin-bottom: -.14em;
}
.js .w > i {
  display: inline-block; font-style: inherit;
  transform: translateY(115%) rotate(4deg);
  transition: transform 1.05s var(--ease);
}
.js .is-in .w > i { transform: none; }

/* generic reveal */
.js [data-reveal] {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity .9s var(--ease), transform .9s var(--ease);
}
.js [data-reveal].is-in { opacity: 1; transform: none; }

/* ── fixed chrome ───────────────────────────────────────────── */
.grain {
  position: fixed; inset: -120%; z-index: 240; pointer-events: none;
  opacity: .16; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain 7s steps(6) infinite;
}
@keyframes grain {
  0%,100% { transform: translate(0,0) }
  20% { transform: translate(-6%, 4%) }
  40% { transform: translate(4%, -6%) }
  60% { transform: translate(-3%, -3%) }
  80% { transform: translate(5%, 3%) }
}

.vignette {
  position: fixed; inset: 0; z-index: 230; pointer-events: none;
  background: radial-gradient(130% 100% at 50% 40%, transparent 42%, rgba(0,0,0,.62) 100%);
}

.rail {
  position: fixed; top: 0; left: 0; right: 0; height: 2px;
  z-index: 260; pointer-events: none; background: var(--line-2);
}
.rail > i {
  display: block; height: 100%; width: 100%;
  transform: scaleX(0); transform-origin: 0 50%;
  background: linear-gradient(90deg, var(--blue), var(--amber));
}

/* status bar */
.status {
  position: fixed; left: var(--gutter); bottom: 22px; z-index: 120;
  display: flex; align-items: center; gap: .8em;
  color: var(--faint); pointer-events: none;
  font-size: .62rem;
}
.status__sep { opacity: .4 }
.status__live { display: flex; align-items: center; gap: .55em; color: var(--muted) }
.status__idx { color: var(--amber); margin-left: .4em }
.status { transition: opacity .45s var(--ease) }
.status.is-out { opacity: 0 }

.pulse {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--amber); flex: none;
  box-shadow: 0 0 0 0 rgba(255,106,43,.6);
  animation: pulse 2.2s ease-out infinite;
}
@keyframes pulse {
  0%   { box-shadow: 0 0 0 0 rgba(255,106,43,.55) }
  70%  { box-shadow: 0 0 0 11px rgba(255,106,43,0) }
  100% { box-shadow: 0 0 0 0 rgba(255,106,43,0) }
}

/* ── custom cursor ──────────────────────────────────────────── */
.cursor { position: fixed; inset: 0; z-index: 280; pointer-events: none; display: none }
.has-cursor .cursor { display: block }
.has-cursor, .has-cursor * { cursor: none !important }

/* the ribbon trail — one canvas, no per-particle DOM nodes */
.cursor__trail {
  position: fixed; inset: 0; width: 100%; height: 100%;
  pointer-events: none;
}

.cursor__dot, .cursor__ring {
  position: absolute; top: 0; left: 0;
  transform: translate3d(-100px, -100px, 0);
  will-change: transform;
}
.cursor__dot {
  width: 7px; height: 7px; margin: -3.5px 0 0 -3.5px;
  border-radius: 50%; background: var(--amber);
}
/* .cursor__ring carries position + size; .cursor__shape carries the squash,
   so the label inside never distorts along with it */
.cursor__ring {
  width: 44px; height: 44px; margin: -22px 0 0 -22px;
  display: grid; place-items: center;
  transition: width .4s var(--ease), height .4s var(--ease), margin .4s var(--ease);
}
.cursor__shape {
  position: absolute; inset: 0; border-radius: 50%;
  border: 1px solid rgba(244,243,240,.32);
  transition: background-color .4s var(--ease), border-color .4s var(--ease);
  will-change: transform;
}
.cursor__label {
  position: relative; z-index: 1;
  font-family: var(--font-mono); font-size: .58rem;
  letter-spacing: .1em; text-transform: uppercase;
  color: #0B0500; opacity: 0; transform: scale(.7);
  transition: opacity .3s var(--ease), transform .3s var(--ease);
  white-space: nowrap;
}
.cursor.is-hot .cursor__ring {
  width: 92px; height: 92px; margin: -46px 0 0 -46px;
}
.cursor.is-hot .cursor__shape {
  background: var(--amber); border-color: transparent;
}
.cursor.is-hot .cursor__label { opacity: 1; transform: none }
.cursor.is-hot .cursor__dot { opacity: 0 }
.cursor.is-soft .cursor__ring {
  width: 66px; height: 66px; margin: -33px 0 0 -33px;
}
.cursor.is-soft .cursor__shape { border-color: rgba(255,106,43,.55) }

/* ── loader ─────────────────────────────────────────────────── */
.loader {
  position: fixed; inset: 0; z-index: 400;
  background: var(--void);
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: var(--gutter);
  transition: transform 1.1s var(--ease), visibility 0s linear 1.1s;
}
.loader.is-done { transform: translateY(-101%); visibility: hidden }
.loader__row {
  display: flex; justify-content: space-between; align-items: flex-end;
  margin-bottom: 20px;
}
.loader__name {
  font-family: var(--font-wordmark); font-weight: 800;
  font-size: clamp(1.3rem, 4.4vw, 3.2rem); line-height: 1;
  letter-spacing: -.04em; text-transform: uppercase;
}
.loader__num { color: var(--amber); font-size: .8rem }
.loader__bar { height: 2px; background: var(--line-2); overflow: hidden }
.loader__bar > i {
  display: block; height: 100%; width: 100%;
  transform: scaleX(0); transform-origin: 0 50%;
  background: linear-gradient(90deg, var(--blue), var(--amber));
}
.no-js .loader { display: none }

html.is-locked, html.is-locked body { overflow: hidden }

/* ── header ─────────────────────────────────────────────────── */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 200;
  display: flex; align-items: center; gap: clamp(16px, 3vw, 48px);
  padding: 20px var(--gutter);
  transition: transform .6s var(--ease), background-color .5s linear,
              backdrop-filter .5s linear, border-color .5s linear;
  border-bottom: 1px solid transparent;
}
.nav.is-stuck {
  background: rgba(5,5,10,.72);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  border-bottom-color: var(--line-2);
}
.nav.is-hidden { transform: translateY(-104%) }

.nav__logo { display: flex; align-items: center; gap: 11px; margin-right: auto }
/* The mark is a photographic render, so it carries its own silhouette and gets
   no chip or border. The brightness lift is applied here rather than baked into
   the file: at 34px the bronze sinks into the near-black bar, but the master
   stays true to the artwork for the og image and app icons. */
.nav__mark {
  width: 34px; height: 34px; flex: none;
  object-fit: contain;
  filter: brightness(1.28) saturate(1.1);
  transition: filter .4s var(--ease), transform .4s var(--ease);
}
.nav__logo:hover .nav__mark,
.foot__logo:hover .nav__mark {
  filter: brightness(1.6) saturate(1.15);
  transform: translateY(-1px);
}
/* Wordmark. Plain grey — no gradient, no background-clip.

   #8E949A is from the cool-grey family sampled off the mark (#ABAEAA →
   #384142). It sits at 6.43:1 on the #0A0A12 bar, which clears WCAG AA;
   a literal dark grey such as #55585E measures 2.76:1 and fails, which
   matters here because the hero claims an AA pass. Darken via this one
   declaration if you want it quieter — 7E848A is 5.22:1 and still passes,
   6C7270 is 4.02:1 and is large-text-only. */
.nav__name {
  font-family: var(--font-logo);
  font-weight: 600;
  font-size: 1.12rem;
  letter-spacing: .155em;
  text-transform: uppercase;
  /* letter-spacing also applies after the final letter — claw that gap back
     so the wordmark is optically centred against the mark */
  margin-right: -.155em;
  color: #8E949A;
  transition: color .4s var(--ease);
}
.nav__logo:hover .nav__name,
.foot__logo:hover .nav__name { color: var(--paper) }

.nav__links { display: flex; gap: clamp(14px, 2vw, 30px) }
.nav__links a { position: relative; font-size: .92rem; color: var(--muted); transition: color .35s var(--ease) }
.nav__links a::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: -5px; height: 1px;
  background: var(--amber);
  transform: scaleX(0); transform-origin: 100% 50%;
  transition: transform .5s var(--ease);
}
.nav__links a:hover { color: var(--paper) }
.nav__links a:hover::after { transform: scaleX(1); transform-origin: 0 50% }
.nav__links a.is-active { color: var(--paper) }
.nav__links a.is-active::after { transform: scaleX(1) }

/* ── buttons ────────────────────────────────────────────────── */
.btn {
  position: relative; display: inline-grid; place-items: center;
  padding: 17px 34px; border-radius: 999px;
  border: 1px solid var(--paper);
  overflow: hidden; isolation: isolate;
  font-weight: 600; font-size: .95rem; letter-spacing: -.01em;
  transition: color .45s var(--ease), border-color .45s var(--ease);
  will-change: transform;
}
.btn--sm { padding: 11px 22px; font-size: .86rem }
.btn--wide { width: 100%; padding: 20px 34px }
.btn__fill {
  position: absolute; inset: 0; z-index: -1; background: var(--paper);
  transform: translateY(101%); border-radius: 50% 50% 0 0;
  transition: transform .62s var(--ease), border-radius .62s var(--ease);
}
.btn__label { grid-area: 1 / 1 }
.btn:hover { color: var(--void) }
.btn:hover .btn__fill { transform: none; border-radius: 0 }

.nav__cta { border-color: var(--line) }
.nav__cta:hover { border-color: var(--paper) }

.link {
  display: inline-flex; align-items: center; gap: .6em;
  font-weight: 500; color: var(--muted);
  transition: color .4s var(--ease); will-change: transform;
}
.link svg { width: 17px; height: 17px; transition: transform .45s var(--ease) }
.link:hover { color: var(--paper) }
.link:hover svg { transform: translateX(5px) }

.chips { display: flex; flex-wrap: wrap; gap: 8px; list-style: none }
.chips li {
  padding: 6px 13px; border: 1px solid var(--line); border-radius: 999px;
  font-family: var(--font-mono); font-size: .6rem;
  letter-spacing: .1em; text-transform: uppercase; color: var(--muted);
}

/* ── burger + mobile menu ───────────────────────────────────── */
.burger { display: none; width: 42px; height: 42px; position: relative; z-index: 210 }
.burger i {
  position: absolute; left: 10px; right: 10px; height: 1.5px;
  background: var(--paper); border-radius: 2px;
  transition: transform .5s var(--ease), opacity .3s linear;
}
.burger i:nth-child(2) { top: 17px }
.burger i:nth-child(3) { top: 24px }
.is-menu .burger i:nth-child(2) { transform: translateY(3.5px) rotate(45deg) }
.is-menu .burger i:nth-child(3) { transform: translateY(-3.5px) rotate(-45deg) }

.menu {
  position: fixed; inset: 0; z-index: 190;
  background: var(--ink);
  display: flex; flex-direction: column; justify-content: center;
  padding: calc(var(--gutter) + 40px) var(--gutter) var(--gutter);
  clip-path: inset(0 0 100% 0);
  transition: clip-path .85s var(--ease);
  visibility: hidden;
}
.is-menu .menu { clip-path: inset(0 0 0 0); visibility: visible }
.menu__links { display: flex; flex-direction: column; gap: clamp(4px, 1.4vw, 14px) }
.menu__links a {
  display: flex; align-items: baseline; gap: 16px;
  font-family: var(--font-wordmark); font-weight: 800;
  font-size: clamp(1.5rem, 6.4vw, 2.9rem); line-height: 1.1;
  letter-spacing: -.04em; text-transform: uppercase;
  opacity: 0; transform: translateY(40px);
  transition: opacity .6s var(--ease), transform .6s var(--ease), color .3s linear;
}
.is-menu .menu__links a { opacity: 1; transform: none }
.is-menu .menu__links a:nth-child(1) { transition-delay: .16s }
.is-menu .menu__links a:nth-child(2) { transition-delay: .22s }
.is-menu .menu__links a:nth-child(3) { transition-delay: .28s }
.is-menu .menu__links a:nth-child(4) { transition-delay: .34s }
.is-menu .menu__links a:nth-child(5) { transition-delay: .40s }
.is-menu .menu__links a:nth-child(6) { transition-delay: .46s }
.menu__links a:hover { color: var(--amber) }
.menu__links em { font: inherit; font-size: .8rem; color: var(--amber); font-style: normal }
.menu__foot {
  display: flex; justify-content: space-between;
  margin-top: auto; padding-top: 30px; color: var(--faint);
  border-top: 1px solid var(--line-2);
}

/* ═══ 01 · HERO ═════════════════════════════════════════════════ */
.hero {
  position: relative; z-index: 1; min-height: 100svh;
  display: grid; align-items: center;
  padding: clamp(120px, 16vh, 190px) var(--gutter) clamp(90px, 12vh, 140px);
  overflow: hidden;
}
.hero__canvas { position: absolute; inset: 0; width: 100%; height: 100%; opacity: .9 }

/* pointer-tracked spotlight */
.hero__glow {
  position: absolute; inset: 0;
  background:
    radial-gradient(38vw 38vw at calc(var(--mx, 50%)) calc(var(--my, 40%)),
      rgba(46,75,255,.30), transparent 62%),
    radial-gradient(26vw 26vw at calc(var(--mx, 50%) + 6vw) calc(var(--my, 40%) + 4vw),
      rgba(255,106,43,.14), transparent 65%);
  transition: opacity .6s linear;
}
.hero__scan {
  position: absolute; inset: 0;
  background: repeating-linear-gradient(0deg, rgba(255,255,255,.028) 0 1px, transparent 1px 4px);
  mix-blend-mode: overlay;
}

.hero__inner {
  position: relative; z-index: 3;
  width: 100%; max-width: var(--maxw); margin-inline: auto;
}
.eyebrow {
  display: inline-flex; align-items: center; gap: .8em;
  font-family: var(--font-mono); font-size: .66rem;
  letter-spacing: .14em; text-transform: uppercase;
  color: var(--muted); margin-bottom: clamp(20px, 3vh, 36px);
}

.hero__title {
  font-family: var(--font-wordmark);
  font-weight: 800;
  font-size: clamp(1.55rem, 4.3vw, 4.1rem);
  line-height: 1.06; letter-spacing: -.045em;
  text-transform: uppercase;
}
.hero__title .ln--2 { padding-left: clamp(0px, 2.6vw, 48px) }

.hero__meta {
  display: flex; flex-wrap: wrap; align-items: flex-end;
  justify-content: space-between; gap: clamp(24px, 4vw, 60px);
  margin-top: clamp(30px, 5vh, 60px);
}
.hero__lede { max-width: 46ch; color: var(--muted); font-size: clamp(1rem, 1.05vw + .6rem, 1.22rem) }
.hero__lede em { color: var(--paper); font-style: normal; font-weight: 600 }
.hero__cta { display: flex; align-items: center; gap: clamp(16px, 2.4vw, 32px); flex-wrap: wrap }

/* floating credential card */




@keyframes spin { to { transform: rotate(360deg) } }







.hero__scroll {
  position: absolute; z-index: 3; left: 50%; bottom: 26px;
  transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  color: var(--faint); font-size: .6rem;
}
.hero__scrollline { width: 1px; height: 46px; background: var(--line); overflow: hidden; position: relative }
.hero__scrollline::after {
  content: ''; position: absolute; inset: 0;
  background: var(--amber); animation: trickle 2.1s var(--ease-io) infinite;
}
@keyframes trickle {
  0%   { transform: translateY(-100%) }
  60%  { transform: translateY(100%) }
  100% { transform: translateY(100%) }
}

/* ═══ horizon scene ═════════════════════════════════════════════ */
/* The atmospheric transition out of the hero. pointer-events stay off for the
   whole scene: the pin overlaps the bottom of the hero and would otherwise
   swallow clicks on the hero CTAs. */
.horizon {
  position: relative; height: 165vh; margin-top: -14vh;
  pointer-events: none; z-index: 4;
}
.horizon__pin {
  position: sticky; top: 0; height: 100vh; overflow: hidden;
  display: grid; place-items: center;
}
.horizon__fill {
  position: absolute; inset: 0;
  background:
    radial-gradient(120% 78% at 50% 118%, var(--blue-hi) 0%, var(--blue) 26%,
                    var(--blue-deep) 52%, transparent 76%);
  opacity: var(--wash-o, 0);
  transform: translateY(var(--wash-y, 30%));
  will-change: transform, opacity;
}

/* receding grid floor — horizontal lines run toward the viewer */
.horizon__grid {
  position: absolute; left: -60%; right: -60%; bottom: 0; height: 72%;
  background:
    repeating-linear-gradient(0deg,  rgba(176,198,255,.55) 0 1px, transparent 1px 58px),
    repeating-linear-gradient(90deg, rgba(176,198,255,.30) 0 1px, transparent 1px 58px);
  /* perspective must be long relative to the plane, or the floor collapses to a sliver */
  transform: perspective(1000px) rotateX(71deg);
  transform-origin: 50% 100%;
  -webkit-mask-image: linear-gradient(to top, #000 6%, transparent 78%);
  mask-image: linear-gradient(to top, #000 6%, transparent 78%);
  animation: grid-run 2.8s linear infinite;
  opacity: .9;
}
@keyframes grid-run {
  from { background-position: 0 0, 0 0 }
  to   { background-position: 0 58px, 0 0 }
}

/* the glow sitting on the horizon line */
.horizon__glow {
  position: absolute; left: 50%; bottom: 44%;
  width: 92vw; height: 26vh; transform: translateX(-50%);
  background: radial-gradient(60% 100% at 50% 100%, rgba(140,165,255,.55), transparent 70%);
  filter: blur(26px);
}

.horizon__copy {
  position: relative; z-index: 2; text-align: center;
  max-width: min(900px, 86vw); padding-bottom: 12vh;
}
.horizon__kicker { color: var(--amber); margin-bottom: 20px }
.horizon__title {
  font-family: var(--font-wordmark); font-weight: 800;
  font-size: clamp(1.5rem, 3.9vw, 3.4rem); line-height: 1.12;
  letter-spacing: -.045em; text-transform: uppercase;
  text-wrap: balance;
}
.horizon__title .ln:last-child { color: var(--amber) }
.horizon__sub {
  margin: clamp(18px, 2.4vw, 30px) auto 0; max-width: 56ch;
  color: rgba(244, 243, 240, .78); font-size: clamp(.95rem, 1.05vw, 1.12rem);
  text-shadow: 0 1px 24px rgba(0, 0, 0, .7);
}

/* ═══ marquee bands ═════════════════════════════════════════════ */
.band { position: relative; z-index: 5; overflow: hidden; border-block: 1px solid transparent }
.band--accent { background: var(--amber); color: #120500 }
.band--outline { border-block-color: var(--line-2); background: var(--ink) }

.ticker { overflow: hidden; padding: clamp(14px, 1.9vw, 24px) 0 }
.ticker__row { display: flex; width: max-content; will-change: transform }
.ticker__group { display: flex; align-items: center; flex: none }
.ticker__group > span {
  font-family: var(--font-display); font-weight: 700; font-stretch: 104%;
  font-size: clamp(1.2rem, 2.6vw, 2.3rem); line-height: 1;
  letter-spacing: -.02em; text-transform: uppercase;
  padding-inline: clamp(16px, 2.2vw, 34px);
}
.ticker__group > i {
  font-style: normal; font-size: clamp(.8rem, 1.3vw, 1.2rem); opacity: .6;
}
.ticker--ghost .ticker__group > span {
  color: transparent;
  -webkit-text-stroke: 1px rgba(244,243,240,.34);
  transition: color .4s var(--ease);
}
.ticker--ghost .ticker__group > i { color: var(--amber); opacity: 1 }

/* ═══ 02 · ABOUT ════════════════════════════════════════════════ */
.about {
  position: relative; z-index: 5; background: var(--void);
  max-width: var(--maxw); margin-inline: auto;
  padding: clamp(90px, 15vh, 190px) var(--gutter);
  display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  gap: clamp(30px, 6vw, 110px); align-items: start;
}
.about__sticky { position: sticky; top: clamp(110px, 18vh, 200px) }
/* Radar dial. A plain circle spinning shows no motion at all, so the movement
   lives in a conic sweep, two orbiting dots and a pulsing core instead. */
.orbit {
  position: relative; width: clamp(140px, 15vw, 220px); aspect-ratio: 1;
  margin-top: clamp(34px, 5vw, 64px);
}
.orbit__ring {
  position: absolute; inset: 0; border-radius: 50%;
  border: 1px solid var(--line);
}
.orbit__ring:nth-child(2) {
  inset: 20%; border-style: dashed; border-color: rgba(244, 243, 240, .20);
  animation: spin 14s linear infinite;
}
.orbit__sweep {
  position: absolute; inset: 0; border-radius: 50%;
  background: conic-gradient(from 0deg,
    transparent 0deg 286deg,
    rgba(255, 106, 43, .10) 320deg,
    rgba(255, 106, 43, .42) 352deg,
    rgba(255, 146, 87, .80) 360deg);
  -webkit-mask-image: radial-gradient(circle, transparent 11%, #000 12%);
  mask-image: radial-gradient(circle, transparent 11%, #000 12%);
  animation: spin 4.6s linear infinite;
}
.orbit__path { position: absolute; inset: 0; animation: spin 9s linear infinite }
.orbit__path--2 { inset: 20%; animation-duration: 6.2s; animation-direction: reverse }
.orbit__dot {
  position: absolute; top: -5px; left: 50%; width: 10px; height: 10px;
  margin-left: -5px; border-radius: 50%; background: var(--amber);
  box-shadow: 0 0 18px 3px rgba(255, 106, 43, .55);
}
.orbit__dot--2 {
  width: 7px; height: 7px; top: -3.5px; margin-left: -3.5px;
  background: var(--blue-hi); box-shadow: 0 0 15px 3px rgba(106, 130, 255, .5);
}
.orbit__core {
  position: absolute; top: 50%; left: 50%; width: 9px; height: 9px;
  margin: -4.5px 0 0 -4.5px; border-radius: 50%; background: var(--paper);
  animation: core-pulse 2.4s ease-in-out infinite;
}
@keyframes core-pulse {
  0%, 100% { transform: scale(1);   opacity: .9 }
  50%      { transform: scale(1.9); opacity: .3 }
}

.about__body > p { color: var(--muted); margin-bottom: 1.4em; max-width: 62ch }
.about__body .lead {
  color: var(--paper); font-size: clamp(1.15rem, 1.5vw + .6rem, 1.72rem);
  line-height: 1.34; letter-spacing: -.015em; margin-bottom: 1.1em;
}
.about__list { list-style: none; margin-top: clamp(30px, 5vw, 60px); display: grid; gap: 0 }
.about__list li {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr);
  gap: clamp(14px, 2.5vw, 40px);
  padding: clamp(18px, 2.4vw, 28px) 0;
  border-top: 1px solid var(--line-2);
}
.about__list li:last-child { border-bottom: 1px solid var(--line-2) }
.about__list b { font-weight: 600; letter-spacing: -.015em }
.about__list span { color: var(--faint); font-size: .95rem }

/* ═══ pinned masked reveal ══════════════════════════════════════ */
.reveal-scene { position: relative; z-index: 5; height: 260vh; background: var(--void) }
.reveal-scene__pin {
  position: sticky; top: 0; height: 100vh;
  display: grid; place-items: center; overflow: hidden;
}
.reveal-scene__media {
  position: absolute; inset: 0;
  clip-path: inset(var(--mask, 42%) var(--mask-x, 30%) round 18px);
  will-change: clip-path;
}
.reveal-scene__art {
  position: absolute; inset: -18%;
  background:
    radial-gradient(60% 70% at 22% 30%, rgba(255,106,43,.55), transparent 60%),
    radial-gradient(70% 70% at 78% 66%, rgba(46,75,255,.75), transparent 62%),
    linear-gradient(140deg, #0B1046, #2A1338 55%, #120608);
  will-change: transform;
}
.reveal-scene__art::after {
  content: ''; position: absolute; inset: 0;
  background-image:
    repeating-linear-gradient(90deg, rgba(255,255,255,.05) 0 1px, transparent 1px 54px),
    repeating-linear-gradient(0deg,  rgba(255,255,255,.05) 0 1px, transparent 1px 54px);
  mask-image: radial-gradient(70% 70% at 50% 50%, #000, transparent 78%);
}
.reveal-scene__type {
  position: relative; z-index: 2;
  display: flex; flex-wrap: wrap; justify-content: center; gap: 0 clamp(14px, 2.6vw, 44px);
  font-family: var(--font-wordmark); font-weight: 800;
  font-size: clamp(1.6rem, 6.2vw, 5.6rem); line-height: 1;
  letter-spacing: -.045em; text-transform: uppercase;
  mix-blend-mode: difference; pointer-events: none;
}
.reveal-scene__type > span { display: block; will-change: transform }

/* ═══ 03 · SERVICES · horizontal pin ════════════════════════════ */
.svc { position: relative; z-index: 5; background: var(--ink) }
.svc__pin { position: sticky; top: 0; height: 100vh; overflow: hidden; display: flex; flex-direction: column }
.svc__head {
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: 24px; flex-wrap: wrap;
  padding: clamp(80px, 13vh, 130px) var(--gutter) clamp(24px, 4vh, 44px);
}
.svc__head .tag { margin-bottom: 10px }
.svc__hint { display: flex; align-items: center; gap: .7em; color: var(--amber) }
.svc__hint svg { width: 20px; height: 20px; animation: nudge 1.8s var(--ease-io) infinite }
@keyframes nudge { 0%,100% { transform: translateX(0) } 50% { transform: translateX(7px) } }

.svc__track {
  display: flex; align-items: center; flex: 1;
  gap: clamp(16px, 2vw, 30px);
  padding-inline: var(--gutter); width: max-content;
  padding-bottom: clamp(40px, 8vh, 90px);
  will-change: transform;
}
.svc__card {
  width: clamp(280px, 30vw, 440px); flex: none;
  display: flex; flex-direction: column; gap: 16px;
  padding: clamp(24px, 2.6vw, 38px);
  border: 1px solid var(--line); border-radius: var(--radius);
  background: linear-gradient(170deg, rgba(244,243,240,.045), rgba(244,243,240,.012));
  transition: border-color .5s var(--ease), transform .5s var(--ease), background-color .5s var(--ease);
}
.svc__card:hover { border-color: rgba(255,106,43,.5); transform: translateY(-8px) }
.svc__no { color: var(--amber) }
.svc__card h3 {
  font-family: var(--font-display); font-weight: 700; font-stretch: 104%;
  font-size: clamp(1.25rem, 1.65vw, 1.8rem); line-height: 1.1;
  letter-spacing: -.02em;
}
.svc__card p { color: var(--muted); font-size: .96rem }
.svc__card .chips { margin-top: auto }
.svc__card--cta {
  background: linear-gradient(160deg, rgba(46,75,255,.24), rgba(255,106,43,.16));
  border-color: rgba(255,106,43,.34); justify-content: center; gap: 22px;
}
.svc__card--cta .btn { align-self: flex-start; width: fit-content }

/* ═══ 04 · WORK ═════════════════════════════════════════════════ */
.work {
  position: relative; z-index: 5; background: var(--void);
  max-width: var(--maxw); margin-inline: auto;
  padding: clamp(90px, 15vh, 180px) var(--gutter);
}


















/* ═══ 05 · PROCESS · sticky stack ═══════════════════════════════ */
.proc {
  position: relative; z-index: 5; background: var(--ink);
  padding: clamp(90px, 14vh, 170px) var(--gutter) clamp(120px, 22vh, 260px);
}
.proc__head { max-width: var(--maxw); margin: 0 auto clamp(40px, 6vw, 80px) }
.proc__stack { max-width: 1100px; margin-inline: auto }
.proc__card {
  position: sticky;
  display: flex; flex-direction: column; gap: 14px;
  padding: clamp(28px, 3.6vw, 56px);
  border: 1px solid var(--line); border-radius: 20px;
  background: linear-gradient(165deg, #14141F, #0C0C15);
  box-shadow: 0 -20px 60px rgba(0,0,0,.5);
  transform-origin: 50% 0;
  will-change: transform;
}
.proc__card:nth-child(1) { top: 14vh }
.proc__card:nth-child(2) { top: calc(14vh + 22px) }
.proc__card:nth-child(3) { top: calc(14vh + 44px) }
.proc__card:nth-child(4) { top: calc(14vh + 66px) }
.proc__card:nth-child(5) { top: calc(14vh + 88px) }
.proc__card + .proc__card { margin-top: clamp(26px, 4vw, 54px) }
.proc__no { color: var(--amber) }
.proc__card h3 {
  font-family: var(--font-display); font-weight: 800; font-stretch: 106%;
  font-size: clamp(1.6rem, 3.1vw, 2.5rem); line-height: 1.04;
  letter-spacing: -.02em; text-transform: uppercase;
}
.proc__card p { color: var(--muted); max-width: 58ch }
.proc__meta { color: var(--faint); margin-top: 4px }

/* ═══ 06 · CONTACT ══════════════════════════════════════════════ */
.contact {
  position: relative; z-index: 5; overflow: hidden; background: var(--void);
  max-width: var(--maxw); margin-inline: auto;
  padding: clamp(90px, 15vh, 190px) var(--gutter);
  display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
  gap: clamp(36px, 6vw, 100px); align-items: start;
}
.contact__glow {
  position: absolute; left: -10%; bottom: -40%;
  width: 70vw; height: 70vw; border-radius: 50%;
  background: radial-gradient(circle, rgba(46,75,255,.30), transparent 62%);
  filter: blur(40px); pointer-events: none;
}
.contact__head { position: relative; z-index: 2 }
.contact__title {
  font-family: var(--font-wordmark); font-weight: 800;
  font-size: clamp(1.7rem, 4.3vw, 3.9rem); line-height: 1.06;
  letter-spacing: -.045em; text-transform: uppercase;
}
.contact__title .ln--2 { padding-left: clamp(0px, 2.6vw, 46px); color: var(--amber) }
.contact__lede { margin-top: clamp(20px, 3vw, 34px); color: var(--muted); max-width: 44ch }
.contact__links { list-style: none; margin-top: clamp(26px, 4vw, 46px); display: grid; gap: 12px }
.contact__links a {
  display: inline-block; font-size: clamp(1rem, 1.4vw, 1.2rem);
  color: var(--muted); transition: color .4s var(--ease); will-change: transform;
}
.contact__links a:hover { color: var(--amber) }

/* form */
.form { position: relative; z-index: 2; display: grid; gap: clamp(16px, 2vw, 22px) }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden }
.field { display: grid; gap: 8px }
.field label { font-family: var(--font-mono); font-size: .62rem; letter-spacing: .12em; text-transform: uppercase; color: var(--faint) }
.field input, .field select, .field textarea {
  width: 100%; padding: 15px 18px;
  background-color: rgba(244,243,240,.035);
  border: 1px solid var(--line); border-radius: 11px;
  transition: border-color .35s var(--ease), background-color .35s var(--ease);
  resize: vertical;
}
.field input::placeholder, .field textarea::placeholder { color: rgba(244,243,240,.26) }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--amber); background-color: rgba(244,243,240,.06);
}
.field.is-bad input, .field.is-bad textarea { border-color: #FF4D6B }
.field__err { display: none; font-style: normal; font-size: .78rem; color: #FF7D93 }
.field.is-bad .field__err { display: block }
.form__status { min-height: 1.4em; font-size: .9rem; color: var(--muted) }
.form__status.is-ok { color: #3FD8A0 }
.form__status.is-bad { color: #FF7D93 }

/* ═══ footer ════════════════════════════════════════════════════ */
.foot { position: relative; z-index: 5; background: var(--ink); border-top: 1px solid var(--line-2) }
.foot__marquee { padding: clamp(28px, 5vw, 60px) 0 }
.foot__marquee .ticker__group > span {
  font-size: clamp(1.8rem, 5.4vw, 5rem);
  color: transparent; -webkit-text-stroke: 1px rgba(244,243,240,.2);
}
.foot__marquee .ticker__group > i { color: var(--amber); font-size: clamp(1rem, 2vw, 2rem); opacity: 1 }
.foot__bar {
  display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap;
  padding: 22px var(--gutter); border-top: 1px solid var(--line-2); color: var(--faint);
}
.foot__bar a { transition: color .35s var(--ease); will-change: transform }
.foot__bar a:hover { color: var(--amber) }

/* ═══ responsive ════════════════════════════════════════════════ */
@media (max-width: 1080px) {
  .about { grid-template-columns: 1fr; gap: 40px }
  .about__sticky { position: static }
  .orbit { margin-inline: auto }
  .contact { grid-template-columns: 1fr }
  .hero__card { display: none }
}

@media (max-width: 860px) {
  .nav__links, .nav__cta { display: none }
  .burger { display: block }
  .status { display: none }
  .orbit { display: none }

  .hero { min-height: 92svh }
  .hero__title .ln--2 { padding-left: 0 }
  .hero__meta { flex-direction: column; align-items: flex-start }

  .horizon { height: 135vh; margin-top: -18vh }
  .horizon__copy { padding-bottom: 6vh }

  /* horizontal pin degrades to a normal vertical stack on touch */
  .svc { height: auto !important }
  .svc__pin { position: static; height: auto; overflow: visible }
  .svc__track { flex-direction: column; width: auto; transform: none !important; padding-bottom: clamp(60px, 10vh, 90px) }
  .svc__card { width: auto }
  .svc__hint { display: none }

  .reveal-scene { height: 180vh }

  .work__row { grid-template-columns: 44px minmax(0, 1fr) auto; row-gap: 14px }
  .work__year { grid-column: 3 }
  .work__tag { grid-column: 2 / -1; grid-row: 2 }
  .work__thumb {
    display: block; grid-column: 1 / -1; grid-row: 3;
    aspect-ratio: 16 / 9; border-radius: 10px; margin-top: 10px;
  }

  .proc__card { position: static }
  .proc__card + .proc__card { margin-top: 18px }

  .foot__bar { justify-content: flex-start }
  .foot__mid { order: 3; width: 100% }
}

@media (max-width: 560px) {
  .about__list li { grid-template-columns: 1fr; gap: 6px }
}

/* ═══ reduced motion — strip everything kinetic ═════════════════ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
  html { scroll-behavior: auto }
  .js [data-reveal] { opacity: 1 !important; transform: none !important }
  .js .w > i { transform: none !important }
  .grain, .hero__scan, .cursor, .peek { display: none !important }
  .reveal-scene { height: auto }
  .reveal-scene__pin { position: static; height: 70vh }
  .reveal-scene__media { clip-path: none }
  .svc { height: auto !important }
  .svc__pin { position: static; height: auto }
  .svc__track { flex-direction: column; width: auto; transform: none !important }
  .proc__card { position: static; transform: none !important }
  .horizon { height: auto; margin-top: 0 }
  .horizon__pin { position: static; height: auto; padding: 18vh 0 }
  .horizon__fill { opacity: .45; transform: none }
  .horizon__grid { animation: none }
  .loader { display: none }
}

/* ═══ 404 ═══════════════════════════════════════════════════════ */
.nf {
  min-height: 100svh; display: grid; align-content: center; justify-items: start;
  gap: clamp(16px, 2.4vw, 28px);
  max-width: var(--maxw); margin-inline: auto;
  padding: var(--gutter);
}
.nf__code { color: var(--amber) }
.nf__title {
  font-family: var(--font-wordmark); font-weight: 800;
  font-size: clamp(2.6rem, 10vw, 8rem); line-height: 1.02;
  letter-spacing: -.045em; text-transform: uppercase;
}
.nf__lede { color: var(--muted); max-width: 46ch }

/* ═══ select — the native popup was white-on-white ══════════════ */
/* color-scheme tells the browser to paint the OS dropdown dark; the
   explicit option colours cover the engines that ignore it. */
.field select {
  color-scheme: dark;
  appearance: none; -webkit-appearance: none;
  padding-right: 46px; cursor: pointer;
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23FF6A2B' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  background-size: 15px;
}
.field select option {
  background-color: #10101B;
  color: #F4F3F0;
}
.field select:hover { border-color: rgba(255, 106, 43, .5) }

/* ═══ featured project ══════════════════════════════════════════ */
.feature {
  display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
  gap: clamp(28px, 5vw, 80px); align-items: center;
}
.feature__screen { perspective: 1400px; will-change: transform }
.feature__no { color: var(--amber); margin-bottom: 14px }
.feature__title {
  font-family: var(--font-wordmark); font-weight: 800;
  font-size: clamp(1.8rem, 3.6vw, 3.1rem); line-height: 1.04;
  letter-spacing: -.045em; text-transform: uppercase;
  margin-bottom: 16px;
}
.feature__desc { color: var(--muted); max-width: 44ch; margin-bottom: 22px }
.feature__note { color: var(--faint); margin-top: 20px }

/* ── the mock-up itself: pure CSS + SVG, nothing is wired up ──── */
.app {
  border: 1px solid var(--line); border-radius: 14px; overflow: hidden;
  background: linear-gradient(168deg, #12121E, #0A0A12);
  box-shadow: 0 40px 90px rgba(0, 0, 0, .6), 0 0 0 1px rgba(255, 255, 255, .02) inset;
}
.app__bar {
  display: flex; align-items: center; gap: 12px;
  padding: 11px 14px; border-bottom: 1px solid var(--line-2);
  background: rgba(255, 255, 255, .025);
}
.app__dots { display: flex; gap: 6px }
.app__dots i { width: 9px; height: 9px; border-radius: 50%; background: rgba(244,243,240,.18) }
.app__dots i:first-child { background: rgba(255, 106, 43, .65) }
.app__name { color: var(--muted); margin-inline: auto }
.app__badge {
  color: var(--faint); font-size: .52rem;
  border: 1px solid var(--line); border-radius: 999px; padding: 3px 9px;
}

.app__body { padding: clamp(16px, 2vw, 26px) }
.app__head { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px }
.app__sym { color: var(--faint); margin-bottom: 8px }
.app__price {
  font-family: var(--font-display); font-weight: 800; font-stretch: 104%;
  font-size: clamp(1.5rem, 2.8vw, 2.3rem); line-height: 1; letter-spacing: -.02em;
  font-variant-numeric: tabular-nums;
}
.app__price span { color: var(--muted) }
.app__delta { font-size: .8rem; margin-top: 8px; font-variant-numeric: tabular-nums }
.is-up { color: #3FD8A0 }
.is-down { color: #FF6B8A }

.app__range { display: flex; gap: 4px; flex: none }
.app__range span {
  padding: 5px 10px; border-radius: 7px; color: var(--faint); font-size: .55rem;
  border: 1px solid transparent;
}
.app__range .is-on { background: rgba(255,106,43,.14); border-color: rgba(255,106,43,.4); color: var(--amber) }

.app__chart { position: relative; margin: clamp(14px, 2vw, 22px) 0 }
.app__chart svg { width: 100%; height: clamp(110px, 14vw, 180px); display: block }
.app__grid { stroke: rgba(244,243,240,.07); stroke-width: 1; fill: none; vector-effect: non-scaling-stroke }
.app__area { fill: url(#appFill) }
.app__line {
  fill: none; stroke: #3FD8A0; stroke-width: 2;
  stroke-linejoin: round; stroke-linecap: round;
  vector-effect: non-scaling-stroke;
}
/* draw the line in once the card scrolls into view */
.js .app__line { stroke-dasharray: 1; stroke-dashoffset: 1 }
.js .feature.is-in .app__line { animation: app-draw 1.7s var(--ease) forwards }
@keyframes app-draw { to { stroke-dashoffset: 0 } }

.app__dot {
  position: absolute; top: 12%; right: -4px; width: 9px; height: 9px;
  border-radius: 50%; background: #3FD8A0;
  box-shadow: 0 0 0 4px rgba(63, 216, 160, .18);
  animation: pulse-dot 2.4s ease-out infinite;
}
@keyframes pulse-dot {
  0%, 100% { box-shadow: 0 0 0 4px rgba(63,216,160,.18) }
  50%      { box-shadow: 0 0 0 10px rgba(63,216,160,.04) }
}

.app__list { list-style: none; display: grid; gap: 1px; background: var(--line-2); border-radius: 10px; overflow: hidden }
.app__list li {
  display: grid; grid-template-columns: 5.5em 1fr auto auto;
  align-items: center; gap: clamp(8px, 1.4vw, 18px);
  padding: 10px clamp(8px, 1.2vw, 14px);
  background: rgba(255, 255, 255, .022);
}
.app__tkr { color: var(--muted); font-size: .58rem }
.app__spark { width: 100%; height: 18px }
.app__spark path { fill: none; stroke: #3FD8A0; stroke-width: 1.5; vector-effect: non-scaling-stroke }
.app__spark.is-down path { stroke: #FF6B8A }
.app__list b { font-size: .82rem; font-weight: 600; font-variant-numeric: tabular-nums }
.app__list em { font-style: normal; font-size: .72rem; font-variant-numeric: tabular-nums; min-width: 4.4em; text-align: right }

@media (max-width: 900px) {
  .feature { grid-template-columns: 1fr; gap: 30px }
  .feature__screen { order: -1 }
  .app__list li { grid-template-columns: 4.5em 1fr auto auto }
}

/* ═══ footer terms ══════════════════════════════════════════════ */
.foot__terms {
  max-width: var(--maxw); margin-inline: auto;
  padding: 0 var(--gutter) 20px;
  color: var(--faint); font-size: .78rem; line-height: 1.6;
  max-width: 78ch;
}
.foot__terms i { font-style: normal }

/* ── page-to-page nav pager ────────────────────────────────────── */
.pager { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 3px; margin-top: clamp(50px, 8vw, 110px) }
.pager a {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: clamp(24px, 3.2vw, 40px);
  background: var(--ink-2);
  transition: background-color .25s var(--ease-io);
}
.pager a:hover { background: color-mix(in srgb, var(--ink-2) 84%, var(--amber)) }
.pager small { display: block; font-family: var(--font-mono); font-size: .58rem; letter-spacing: .18em; text-transform: uppercase; color: var(--faint); margin-bottom: 8px }
.pager b {
  display: block; font-family: var(--font-wordmark); font-weight: 800;
  font-size: clamp(1.1rem, 2vw, 1.7rem); letter-spacing: -.045em; text-transform: uppercase;
}
.pager svg { width: 20px; height: 20px; flex: none; transition: transform .3s var(--ease) }
.pager a:hover svg { transform: translateX(5px) }


.about__more { margin-top: clamp(26px, 3.4vw, 42px) }

/* ═══════════════════════════════════════════════════════════════
   UNIFIED SYSTEM — one set of components used on every page.
   Before this, index used .tag/.h2, about used .kicker/.display and
   projects used .kicker/.case__title for the same three jobs.
   ═══════════════════════════════════════════════════════════════ */

/* one eyebrow label, everywhere */
.label {
  display: flex; align-items: center; gap: .7em;
  font-family: var(--font-mono); font-size: .66rem;
  letter-spacing: .2em; text-transform: uppercase;
  color: var(--faint); font-weight: 500;
}
.label i { font-style: normal; color: var(--amber) }

/* one section header, everywhere */
.sec { margin-bottom: clamp(34px, 5vw, 64px); max-width: var(--maxw) }
.sec__title {
  font-family: var(--font-display); font-weight: 800; font-stretch: 104%;
  font-size: clamp(1.9rem, 4.2vw, 3.8rem); line-height: 1.02;
  letter-spacing: -.02em; text-transform: uppercase;
  margin-top: clamp(14px, 1.8vw, 22px);
}
.sec__lede {
  color: var(--muted); max-width: 58ch;
  margin-top: clamp(14px, 1.6vw, 20px);
  font-size: clamp(1rem, .9rem + .3vw, 1.12rem);
}
.sec--center { margin-inline: auto; text-align: center }
.sec--center .label { justify-content: center }
.sec--center .sec__lede { margin-inline: auto }

/* one page intro, shared by /about and /projects so they open identically */
.intro-head { padding-bottom: clamp(30px, 4vw, 52px) }
.intro-head .sec__title { font-size: clamp(2.3rem, 5.6vw, 5rem) }

/* editorial serif pull-quote — the one place the serif is used,
   used the same way on all three pages */
.pull {
  font-family: var(--font-serif); font-weight: 400;
  font-size: clamp(1.5rem, 3vw, 2.6rem); line-height: 1.22;
  letter-spacing: -.01em; max-width: 30ch; text-wrap: balance;
}
.pull em { font-style: italic; color: var(--amber); padding-right: .08em }

/* one closing CTA band, on every page, immediately before the footer */
.cta-band {
  border-top: 1px solid var(--line-2);
  background: linear-gradient(160deg, rgba(46,75,255,.12), rgba(255,106,43,.08));
}
.cta-band__in {
  max-width: var(--maxw); margin-inline: auto;
  padding: clamp(56px, 9vh, 120px) var(--gutter);
  display: grid; grid-template-columns: minmax(0, 1.2fr) auto;
  gap: clamp(24px, 4vw, 60px); align-items: center;
}
.cta-band__title {
  font-family: var(--font-wordmark); font-weight: 800;
  font-size: clamp(1.6rem, 3.4vw, 3rem); line-height: 1.06;
  letter-spacing: -.045em; text-transform: uppercase;
}
.cta-band__lede { color: var(--muted); margin-top: 14px; max-width: 46ch }
.cta-band__act { display: flex; gap: 14px; flex-wrap: wrap }

/* ── platform footer ───────────────────────────────────────────── */
.foot__top {
  max-width: var(--maxw); margin-inline: auto;
  padding: clamp(46px, 7vw, 84px) var(--gutter) clamp(30px, 4vw, 48px);
  display: grid; grid-template-columns: minmax(0, 1.6fr) repeat(3, minmax(0, 1fr));
  gap: clamp(28px, 4vw, 56px);
}
.foot__brand { display: grid; gap: 14px; align-content: start }
.foot__logo { display: flex; align-items: center; gap: 11px }
.foot__tagline { color: var(--muted); font-size: .92rem; max-width: 34ch }
.foot__col h3 {
  font-family: var(--font-mono); font-size: .6rem; letter-spacing: .18em;
  text-transform: uppercase; color: var(--faint); font-weight: 500; margin-bottom: 16px;
}
.foot__col ul { list-style: none; display: grid; gap: 11px }
.foot__col a { color: var(--muted); font-size: .92rem; transition: color .3s var(--ease) }
.foot__col a:hover { color: var(--amber) }
@media (max-width: 900px) {
  .foot__top { grid-template-columns: repeat(2, minmax(0, 1fr)) }
  .foot__brand { grid-column: 1 / -1 }
  .cta-band__in { grid-template-columns: 1fr }
}
@media (max-width: 560px) { .foot__top { grid-template-columns: 1fr } }

.work__head { margin-bottom: clamp(30px, 4.5vw, 56px) }
.sec__title--sm { font-size: clamp(1.6rem, 3.2vw, 2.8rem) }

/* ═══ HERO v2 ═══════════════════════════════════════════════════
   Two-column: proposition left, live delivery panel right.
   Replaces the monogram card, which read as a personal mark.
   ═══════════════════════════════════════════════════════════════ */
.hero__grid {
  position: relative; z-index: 3;
  width: 100%; max-width: var(--maxw); margin-inline: auto;
  display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr);
  gap: clamp(30px, 4.4vw, 68px); align-items: center;
}

/* ── rotating proposition ──────────────────────────────────────── */
.rot { display: block; overflow: hidden }
.rot__slot { display: block; position: relative }
.rot__slot i {
  display: block; font-style: normal; white-space: nowrap;
  transform: translateY(100%); opacity: 0;
  transition: transform .75s var(--ease), opacity .45s linear;
}
/* every word but the live one is stacked out of flow, so nothing jumps */
.rot__slot i:not(:first-child) { position: absolute; inset: 0 }
.rot__slot i.is-on { transform: none; opacity: 1 }
.rot__slot i.is-out { transform: translateY(-100%); opacity: 0 }
.rot__slot i::after { content: '.'; color: var(--amber) }

/* ── proof strip ───────────────────────────────────────────────── */
.hero__stats {
  list-style: none; display: flex; flex-wrap: wrap;
  gap: clamp(20px, 3.4vw, 52px);
  margin-top: clamp(28px, 4vh, 48px);
  padding-top: clamp(20px, 2.6vw, 30px);
  border-top: 1px solid var(--line-2);
}
.hero__stats b {
  display: block;
  font-family: var(--font-display); font-weight: 800; font-stretch: 104%;
  font-size: clamp(1.5rem, 2.4vw, 2.1rem); line-height: 1;
  letter-spacing: -.02em; color: var(--amber);
  font-variant-numeric: tabular-nums;
}
.hero__stats span { display: block; color: var(--faint); margin-top: 8px; font-size: .6rem }

/* ── delivery-standard panel ───────────────────────────────────── */
.pipe {
  border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
  background: linear-gradient(168deg, rgba(20,20,32,.88), rgba(8,8,16,.92));
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 40px 90px rgba(0,0,0,.55);
  will-change: transform;
}
.pipe__bar {
  display: flex; align-items: center; gap: 12px;
  padding: 11px 14px; border-bottom: 1px solid var(--line-2);
  background: rgba(255,255,255,.03);
}
.pipe__name { color: var(--faint); margin-inline: auto; font-size: .56rem }
.pipe__body { padding: clamp(18px, 2vw, 26px) }
.pipe__cmd { color: var(--muted); font-size: .68rem; margin-bottom: 18px }
.pipe__prompt { color: var(--amber) }
.pipe__caret {
  display: inline-block; width: 7px; height: 1em; margin-left: 4px;
  background: var(--amber); vertical-align: -.15em;
  animation: caret 1.1s steps(2) infinite;
}
@keyframes caret { 50% { opacity: 0 } }

.pipe__list { list-style: none; display: grid; gap: 12px }
.pipe__list li {
  display: flex; align-items: center; gap: 11px;
  font-size: .62rem; letter-spacing: .06em; color: var(--muted);
  opacity: .28; transform: translateX(-6px);
  transition: opacity .45s var(--ease), transform .45s var(--ease), color .45s linear;
}
.pipe__list li.is-on { opacity: 1; transform: none; color: var(--paper) }
.pipe__tick {
  width: 16px; height: 16px; flex: none; border-radius: 50%;
  border: 1px solid var(--line); position: relative;
  transition: border-color .4s var(--ease), background-color .4s var(--ease);
}
.pipe__tick::after {
  content: ''; position: absolute; left: 4px; top: 4px;
  width: 6px; height: 3px;
  border-left: 1.5px solid #0B0500; border-bottom: 1.5px solid #0B0500;
  transform: rotate(-45deg) scale(0); transform-origin: center;
  transition: transform .35s var(--ease);
}
.pipe__list li.is-on .pipe__tick { background: #3FD8A0; border-color: #3FD8A0 }
.pipe__list li.is-on .pipe__tick::after { transform: rotate(-45deg) scale(1) }

.pipe__done {
  margin-top: 20px; padding-top: 16px; border-top: 1px solid var(--line-2);
  color: var(--faint); font-size: .58rem;
  opacity: 0; transition: opacity .5s var(--ease);
}
.pipe__done.is-on { opacity: 1 }

@media (max-width: 1080px) {
  .hero__grid { grid-template-columns: 1fr; gap: 40px }
  .pipe { max-width: 460px }
}
@media (max-width: 560px) {
  .hero__stats { gap: 18px 26px }
}

/* status accent, used by the pipeline panel and the About facts list */
.ok { color: #3FD8A0 }

/* ══ website templates drawer ════════════════════════════════════
   A panel from the right. visibility waits for the slide-out to finish
   before hiding, so closing animates instead of vanishing. */
.drawer {
  position: fixed; inset: 0; z-index: 210;
  visibility: hidden; pointer-events: none;
  transition: visibility 0s linear .8s;
}
.is-drawer .drawer { visibility: visible; pointer-events: auto; transition-delay: 0s }

.drawer__scrim {
  position: absolute; inset: 0; width: 100%; height: 100%;
  background: rgba(5, 5, 10, .62);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  opacity: 0; transition: opacity .6s var(--ease);
}
.is-drawer .drawer__scrim { opacity: 1 }

.drawer__panel {
  position: absolute; top: 0; right: 0; bottom: 0;
  width: min(640px, 100%);
  display: flex; flex-direction: column;
  padding: clamp(22px, 3vw, 40px);
  background: var(--ink-2);
  border-left: 1px solid var(--line);
  overflow-y: auto; overscroll-behavior: contain;
  transform: translateX(100%);
  transition: transform .8s var(--ease);
}
.is-drawer .drawer__panel { transform: none }

.drawer__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: clamp(18px, 3vh, 28px) }
.drawer__head .label { margin: 0 }
.drawer__close {
  position: relative; width: 42px; height: 42px; flex: none;
  border: 1px solid var(--line); border-radius: 50%;
  transition: border-color .35s var(--ease), transform .5s var(--ease);
}
.drawer__close:hover { border-color: var(--paper); transform: rotate(90deg) }
.drawer__close i {
  position: absolute; left: 50%; top: 50%; width: 16px; height: 1px;
  margin-left: -8px; background: var(--paper);
}
.drawer__close i:nth-child(2) { transform: rotate(45deg) }
.drawer__close i:nth-child(3) { transform: rotate(-45deg) }

.drawer__title {
  font-family: var(--font-display); font-weight: 700; font-stretch: 104%;
  font-size: clamp(1.8rem, 3.4vw, 2.6rem); line-height: 1.02; letter-spacing: -.02em;
}
.drawer__lede { margin-top: 14px; color: var(--muted); max-width: 46ch }

.tpl-list { list-style: none; margin-top: clamp(26px, 4vh, 40px); display: grid; gap: 34px }

.tpl__media {
  display: block; overflow: hidden;
  border-radius: calc(var(--radius) - 4px);
  border: 1px solid var(--line);
  background: #d9d9d7;
}
.tpl__media img { width: 100%; height: auto; transition: transform 1.1s var(--ease) }
.tpl__media:hover img { transform: scale(1.035) }

.tpl__body { padding-top: 18px }
.tpl__row { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; flex-wrap: wrap }
.tpl__name {
  font-family: var(--font-display); font-weight: 700; font-stretch: 104%;
  font-size: 1.5rem; letter-spacing: -.015em;
}
.tpl__tag { color: var(--amber) }
.tpl__desc { margin-top: 10px; color: var(--muted); max-width: 52ch }
.tpl__feats {
  list-style: none; display: flex; flex-wrap: wrap; gap: 8px;
  margin-top: 16px; color: var(--faint);
}
.tpl__feats li { padding: 7px 10px; border: 1px solid var(--line-2); border-radius: 999px }
/* the actions sit directly under the name, so a 768px-tall screen shows them without scrolling */
.tpl__actions { display: flex; align-items: center; flex-wrap: wrap; gap: 22px; margin-top: 14px }

.drawer__foot {
  margin-top: auto; padding-top: 34px;
  color: var(--faint); border-top: 1px solid var(--line-2);
}
.tpl-list + .drawer__foot { margin-top: 40px }
