/* Manish Mehan · personal site
   Palette: navy #14213D, cream #F4EDE0, coral #FF6B58 (the accent, kept for the actions you want pressed).
   Ground: blurred navy / coral light behind vertical fluted-glass ribs. */

:root {
  --navy: #14213D;
  --navy-deep: #0A1226;
  --navy-2: #1D2E55;
  --navy-3: #2A4278;
  --cream: #F4EDE0;
  --cream-2: #EAE0CE;
  --coral: #FF6B58;
  --coral-2: #FF8A6E;
  --peach: #F4B497;
  --ink: var(--cream);
  --muted: rgba(244, 237, 224, .68);
  --faint: rgba(244, 237, 224, .14);
  --line: rgba(244, 237, 224, .12);

  --sans: "Geist", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --serif: "Instrument Serif", "Iowan Old Style", Georgia, serif;
  --mono: "Geist Mono", ui-monospace, "SF Mono", Menlo, monospace;

  --wrap: 1280px;
  --gutter: clamp(16px, 4vw, 48px);
  --r-sm: 12px;
  --r: 20px;
  --r-lg: 28px;
  --ease: cubic-bezier(.2, .7, .1, 1);
  --ease-io: cubic-bezier(.65, 0, .35, 1);
  --nav-h: 64px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 90px; }
html:not(.lenis) { scroll-behavior: smooth; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
body {
  margin: 0;
  background: var(--navy-deep);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p { margin: 0; }
ol, ul { margin: 0; padding: 0; list-style: none; }
::selection { background: var(--coral); color: var(--navy-deep); }
:focus-visible { outline: 2px solid var(--coral); outline-offset: 3px; border-radius: 6px; }

.skip {
  position: fixed; left: 16px; top: 12px; z-index: 200;
  padding: 10px 16px; border-radius: 999px;
  background: var(--coral); color: var(--navy-deep); font-weight: 600;
  transform: translateY(-160%); transition: transform .2s var(--ease);
}
.skip:focus { transform: none; }

.wrap { width: 100%; max-width: calc(var(--wrap) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }
.serif { font-family: var(--serif); font-style: italic; font-weight: 400; letter-spacing: -.01em; }
.muted { color: var(--muted); }

/* ---------- Ground: fluted glass over drifting light ---------- */
.ground { position: fixed; inset: 0; z-index: -1; overflow: hidden; background:
  radial-gradient(120% 80% at 50% -10%, #1B2B52 0%, transparent 60%),
  linear-gradient(180deg, var(--navy) 0%, var(--navy-deep) 100%); }
.ground__blob { position: absolute; border-radius: 50%; filter: blur(70px); will-change: transform; opacity: .9; }
.ground__blob--a { width: 58vmax; height: 46vmax; right: -12vmax; bottom: -20vmax;
  background: radial-gradient(closest-side, rgba(255,107,88,.85), rgba(255,138,110,.45) 45%, transparent 75%);
  animation: drift-a 22s ease-in-out infinite alternate; }
.ground__blob--b { width: 46vmax; height: 40vmax; left: -14vmax; bottom: -10vmax;
  background: radial-gradient(closest-side, rgba(244,180,151,.55), rgba(244,180,151,.15) 55%, transparent 75%);
  animation: drift-b 26s ease-in-out infinite alternate; }
.ground__blob--c { width: 60vmax; height: 50vmax; left: 20vw; top: -26vmax;
  background: radial-gradient(closest-side, rgba(58,92,170,.75), rgba(42,66,120,.35) 55%, transparent 75%);
  animation: drift-c 30s ease-in-out infinite alternate; }
@keyframes drift-a { to { transform: translate(-10vw, -8vh) scale(1.12); } }
@keyframes drift-b { to { transform: translate(8vw, -12vh) scale(.92); } }
@keyframes drift-c { to { transform: translate(-12vw, 6vh) scale(1.08); } }
.ground__ribs {
  position: absolute; inset: 0;
  background:
    repeating-linear-gradient(90deg,
      rgba(255,255,255,.075) 0px,
      rgba(255,255,255,.015) 3px,
      rgba(10,18,38,.0) 7px,
      rgba(10,18,38,.16) 12px,
      rgba(255,255,255,.09) 13px,
      rgba(255,255,255,.075) 14px);
  mix-blend-mode: soft-light;
}
.ground__grain {
  position: absolute; inset: -50%;
  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='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .55 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  opacity: .07; mix-blend-mode: overlay;
}

/* ---------- Liquid glass ---------- */
.glass {
  position: relative;
  background:
    linear-gradient(140deg, rgba(255,255,255,.13) 0%, rgba(255,255,255,.04) 40%, rgba(255,255,255,.07) 100%);
  -webkit-backdrop-filter: blur(20px) saturate(170%);
  backdrop-filter: blur(20px) saturate(170%);
  border: 1px solid rgba(255,255,255,.14);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.28),
    inset 0 -1px 0 rgba(255,255,255,.06),
    inset 0 0 24px rgba(255,255,255,.03),
    0 24px 60px -28px rgba(0,0,0,.65);
}
[data-light] { --mx: 50%; --my: 0%; }
[data-light]::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  background: radial-gradient(420px circle at var(--mx) var(--my), rgba(255,255,255,.14), transparent 45%);
  opacity: 0; transition: opacity .35s var(--ease);
}
[data-light]:hover::after { opacity: 1; }

/* ---------- Buttons ---------- */
.btn {
  --pad: 15px 24px;
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: var(--pad); border-radius: 999px;
  font: 600 16px/1 var(--sans); letter-spacing: -.005em; white-space: nowrap;
  transition: transform .25s var(--ease), box-shadow .3s var(--ease), background-color .25s var(--ease);
  will-change: transform;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0) scale(.97); transition-duration: .08s; }
.btn__arrow { display: inline-block; transition: transform .3s var(--ease); }
.btn:hover .btn__arrow { transform: translate(2px, -1px); }
.btn--coral { background: var(--coral); color: var(--navy-deep);
  box-shadow: 0 10px 30px -10px rgba(255,107,88,.7), inset 0 1px 0 rgba(255,255,255,.35); }
.btn--coral:hover { background: var(--coral-2); box-shadow: 0 16px 40px -10px rgba(255,107,88,.85), inset 0 1px 0 rgba(255,255,255,.45); }
.btn--glass { color: var(--cream);
  background: linear-gradient(140deg, rgba(255,255,255,.16), rgba(255,255,255,.05));
  -webkit-backdrop-filter: blur(16px) saturate(160%); backdrop-filter: blur(16px) saturate(160%);
  border: 1px solid rgba(255,255,255,.18); box-shadow: inset 0 1px 0 rgba(255,255,255,.3); }
.btn--glass:hover { background: linear-gradient(140deg, rgba(255,255,255,.22), rgba(255,255,255,.08)); }
.btn--sm { --pad: 10px 18px; min-height: 44px; font-size: 15px; }
.btn--lg { --pad: 20px 32px; min-height: 60px; font-size: 18px; }

.link { position: relative; font-weight: 500; color: var(--cream); padding-block: 10px; display: inline-flex; min-height: 44px; align-items: center; }
.link::after { content: ""; position: absolute; left: 0; right: 0; bottom: 8px; height: 1px; background: currentColor;
  transform: scaleX(0); transform-origin: right; transition: transform .4s var(--ease); }
.link:hover::after { transform: scaleX(1); transform-origin: left; }

.eyebrow { display: inline-flex; align-items: center; gap: 10px; font: 500 13px/1.3 var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--coral); box-shadow: 0 0 0 4px rgba(255,107,88,.18); flex: none; }
.dot--live { animation: live 2.4s ease-in-out infinite; }
@keyframes live { 50% { box-shadow: 0 0 0 9px rgba(255,107,88,0); } }

.mark { display: inline-grid; place-items: center; width: 36px; height: 36px; border-radius: 10px;
  font: 600 13px/1 var(--mono); letter-spacing: .02em; color: var(--navy-deep); background: var(--cream); }

/* ---------- Doors (load) ---------- */
.doors { display: none; }
.js .doors { display: block; position: fixed; inset: 0; z-index: 150; pointer-events: none; }
.door { position: absolute; top: 0; bottom: 0; width: 50.5%; background: linear-gradient(180deg, #1A2A4E, var(--navy-deep)); overflow: hidden;
  animation: door-l 1.1s var(--ease-io) .75s forwards; }
.door--l { left: 0; box-shadow: inset -1px 0 0 rgba(255,255,255,.18); }
.door--r { right: 0; animation-name: door-r; box-shadow: inset 1px 0 0 rgba(255,255,255,.18); }
.door__ribs { position: absolute; inset: 0; background: repeating-linear-gradient(90deg, rgba(255,255,255,.06) 0 1px, transparent 1px 7px, rgba(0,0,0,.18) 7px 13px, rgba(255,255,255,.05) 13px 14px); }
.doors__display { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); display: flex; align-items: center; gap: 12px;
  padding: 12px 22px; border-radius: 14px; background: #060B18; border: 1px solid rgba(255,255,255,.12);
  font: 500 34px/1 var(--mono); color: var(--coral); text-shadow: 0 0 18px rgba(255,107,88,.7);
  animation: fade-out .35s ease .6s forwards; }
.doors__arrow { font-size: 18px; animation: blink 0.6s steps(2) 1; }
@keyframes door-l { to { transform: translateX(-101%); } }
@keyframes door-r { to { transform: translateX(101%); } }
@keyframes fade-out { to { opacity: 0; } }
@keyframes blink { 50% { opacity: .2; } }

/* ---------- Nav ---------- */
.nav {
  position: fixed; z-index: 100; top: 14px; left: 50%; transform: translateX(-50%);
  width: min(calc(100% - 2 * var(--gutter)), var(--wrap));
  display: flex; align-items: center; gap: 18px;
  padding: 8px 8px 8px 12px; border-radius: 999px; min-height: var(--nav-h);
  background: linear-gradient(140deg, rgba(255,255,255,.12), rgba(255,255,255,.04));
  -webkit-backdrop-filter: blur(22px) saturate(180%); backdrop-filter: blur(22px) saturate(180%);
  border: 1px solid rgba(255,255,255,.14);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.28), 0 18px 50px -24px rgba(0,0,0,.7);
  transition: background .4s var(--ease);
}
.nav__mark { display: inline-flex; align-items: center; gap: 12px; min-height: 44px; font-weight: 600; letter-spacing: -.01em; }
.nav__links { display: flex; gap: 4px; margin-left: auto; }
.nav__links a { position: relative; padding: 10px 14px; border-radius: 999px; font-size: 15px; color: var(--muted); min-height: 44px; display: inline-flex; align-items: center;
  transition: color .25s var(--ease), background .25s var(--ease); }
.nav__links a:hover, .nav__links a.is-active { color: var(--cream); background: rgba(255,255,255,.08); }
.nav__floor { display: none; align-items: center; gap: 6px; padding: 8px 12px; border-radius: 10px; background: #060B18; font: 500 15px/1 var(--mono); color: var(--coral); text-shadow: 0 0 10px rgba(255,107,88,.6); }
.nav__arrow { font-size: 10px; }
.nav__toggle { display: none; width: 48px; height: 48px; border-radius: 50%; border: 0; background: rgba(255,255,255,.1); color: var(--cream); cursor: pointer; position: relative; }
.nav__toggle span { position: absolute; left: 15px; right: 15px; height: 1.5px; background: currentColor; transition: transform .3s var(--ease), top .3s var(--ease); }
.nav__toggle span:first-child { top: 20px; } .nav__toggle span:last-child { top: 27px; }
.nav__toggle[aria-expanded="true"] span:first-child { top: 24px; transform: rotate(45deg); }
.nav__toggle[aria-expanded="true"] span:last-child { top: 24px; transform: rotate(-45deg); }

.menu { position: fixed; inset: 0; z-index: 90; padding: 110px var(--gutter) 40px;
  background: rgba(10,18,38,.86); -webkit-backdrop-filter: blur(26px) saturate(160%); backdrop-filter: blur(26px) saturate(160%); }
.menu nav { display: grid; gap: 4px; }
.menu a { display: flex; align-items: baseline; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 32px; letter-spacing: -.02em; }
.menu em { font: 500 13px var(--mono); color: var(--coral); font-style: normal; }

/* ---------- Floor panel ---------- */
.panel { position: fixed; z-index: 80; right: 18px; top: 50%; transform: translateY(-50%); display: none;
  padding: 10px 8px; border-radius: 22px;
  background: linear-gradient(160deg, rgba(255,255,255,.12), rgba(255,255,255,.03));
  -webkit-backdrop-filter: blur(18px) saturate(170%); backdrop-filter: blur(18px) saturate(170%);
  border: 1px solid rgba(255,255,255,.14); box-shadow: inset 0 1px 0 rgba(255,255,255,.25), 0 20px 40px -20px rgba(0,0,0,.6); }
.panel__screen { display: flex; align-items: center; justify-content: center; gap: 4px; margin-bottom: 8px; height: 34px; border-radius: 10px; background: #060B18;
  font: 500 16px/1 var(--mono); color: var(--coral); text-shadow: 0 0 10px rgba(255,107,88,.7); }
.panel__arrow { font-size: 9px; transition: transform .3s var(--ease); }
.panel.is-down .panel__arrow { transform: rotate(180deg); }
.panel ol { display: grid; gap: 4px; }
.panel a { display: grid; place-items: center; width: 44px; height: 44px; }
.panel a span { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%;
  font: 500 12px/1 var(--mono); color: var(--muted); border: 1px solid rgba(255,255,255,.2);
  background: radial-gradient(circle at 35% 30%, rgba(255,255,255,.18), rgba(255,255,255,.02));
  transition: all .3s var(--ease); }
.panel a:hover span { color: var(--cream); border-color: rgba(255,255,255,.45); transform: scale(1.08); }
.panel a.is-active span { color: var(--coral); border-color: var(--coral); box-shadow: 0 0 0 3px rgba(255,107,88,.18), 0 0 18px rgba(255,107,88,.55), inset 0 0 8px rgba(255,107,88,.35); }

/* ---------- Sections ---------- */
main > section { position: relative; min-height: 100svh; display: flex; flex-direction: column; justify-content: center; padding-block: 120px 96px; }
.h2 { font-size: clamp(36px, 5vw, 64px); line-height: 1.04; letter-spacing: -.035em; font-weight: 500; max-width: 18ch; }
.section-head { margin-bottom: 56px; }
.section-head--split { display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.section-sub { color: var(--muted); max-width: 36ch; }

/* ---------- Hero ---------- */
.hero { padding-block: 120px 80px !important; overflow: hidden; }
.hero__grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(24px, 4vw, 64px); align-items: center; }
.hero__title { font-weight: 600; font-size: clamp(64px, 10.4vw, 164px); line-height: .9; letter-spacing: -.055em; margin: 22px 0 28px; }
.hero__title .line { display: block; overflow: hidden; padding-bottom: .06em; }
.hero__title .line > span { display: inline-block; }
.hero__title .serif { font-weight: 400; letter-spacing: -.03em; padding-right: .08em;
}
.hero__lede { font-size: clamp(18px, 1.5vw, 21px); line-height: 1.5; color: var(--muted); max-width: 44ch; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }

.hero__visual { display: flex; justify-content: center; }
.cabin { position: relative; width: min(100%, 400px); aspect-ratio: 400 / 600; }
.cabin__glow { position: absolute; inset: 8% -18% -6%; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(255,107,88,.75), rgba(244,180,151,.3) 50%, transparent 75%);
  filter: blur(30px); animation: breathe 6s ease-in-out infinite; }
@keyframes breathe { 50% { transform: scale(1.06); opacity: .85; } }
.cabin__frame { position: absolute; inset: 0; border-radius: 200px 200px 28px 28px; overflow: hidden;
  border: 1px solid rgba(255,255,255,.22);
  background: linear-gradient(180deg, rgba(255,255,255,.14), rgba(255,255,255,.03) 60%, rgba(255,107,88,.12));
  -webkit-backdrop-filter: blur(10px) saturate(160%); backdrop-filter: blur(10px) saturate(160%);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.35), inset 0 0 60px rgba(255,255,255,.05), 0 40px 80px -30px rgba(0,0,0,.7); }
.cabin__ribs { position: absolute; inset: 0; background: repeating-linear-gradient(90deg, rgba(255,255,255,.07) 0 1px, transparent 1px 8px, rgba(10,18,38,.12) 8px 15px, rgba(255,255,255,.06) 15px 16px); }
.cabin__floor { position: absolute; top: 34px; left: 50%; transform: translateX(-50%); font: 500 14px/1 var(--mono); color: var(--coral);
  padding: 8px 14px; border-radius: 8px; background: rgba(6,11,24,.75); text-shadow: 0 0 10px rgba(255,107,88,.7); }
.cabin__person { position: absolute; left: 50%; bottom: 0; height: 86%; width: auto; transform: translateX(-50%);
  filter: drop-shadow(0 30px 30px rgba(0,0,0,.45)) saturate(1.04) contrast(1.03); }
.chip { position: absolute; display: flex; align-items: center; gap: 12px; padding: 12px 16px; border-radius: 16px; font-size: 13px; line-height: 1.25; color: var(--muted); }
.chip b { font: 600 28px/1 var(--sans); letter-spacing: -.03em; color: var(--cream); }
.chip strong { color: var(--cream); font-weight: 600; }
.chip--a { left: -16%; top: 30%; animation: float 7s ease-in-out infinite; }
.chip--b { right: -12%; top: 14%; animation: float 8s ease-in-out -2s infinite; }
.chip--c { right: -14%; bottom: 16%; animation: float 9s ease-in-out -4s infinite; }
.chip__live { width: 10px; height: 10px; border-radius: 50%; background: var(--coral); box-shadow: 0 0 0 0 rgba(255,107,88,.6); animation: ping 2s ease-out infinite; }
@keyframes ping { to { box-shadow: 0 0 0 12px rgba(255,107,88,0); } }
@keyframes float { 50% { transform: translateY(-10px); } }

.hero__scroll { position: absolute; left: 50%; bottom: 22px; transform: translateX(-50%); width: 44px; height: 44px; display: grid; place-items: center; }
.hero__scroll span { width: 24px; height: 38px; border-radius: 14px; border: 1.5px solid rgba(244,237,224,.4); position: relative; }
.hero__scroll span::after { content: ""; position: absolute; left: 50%; top: 7px; width: 3px; height: 8px; margin-left: -1.5px; border-radius: 2px; background: var(--coral); animation: wheel 1.8s var(--ease) infinite; }
@keyframes wheel { 0% { transform: translateY(0); opacity: 1; } 80% { transform: translateY(12px); opacity: 0; } 100% { opacity: 0; } }

/* Hero entrance (pure CSS so it runs even if a script is blocked) */
.js .hero [data-enter] { animation: rise 1s var(--ease) both; }
.js .hero .eyebrow[data-enter] { animation-delay: 1.35s; }
.js .hero__title .ch { animation: rise-ch 1.1s var(--ease) both; animation-delay: calc(1.45s + var(--i) * 55ms); }
.js .hero__lede[data-enter] { animation-delay: 1.7s; }
.js .hero__actions[data-enter] { animation-delay: 1.82s; }
.js .hero__visual[data-enter] { animation: rise-visual 1.4s var(--ease) 1.3s both; }
@keyframes rise { from { opacity: 0; transform: translateY(26px); } }
@keyframes rise-ch { from { transform: translateY(110%) rotate(6deg); opacity: 0; filter: blur(12px); } 60% { filter: blur(0); } }
@keyframes rise-visual { from { opacity: 0; transform: translateY(60px) scale(.96); } }

/* ---------- Numbers ---------- */
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 56px; }
.stat { border-radius: var(--r); padding: 28px 28px 24px; display: flex; flex-direction: column; gap: 10px; min-height: 210px; overflow: hidden;
  transition: transform .35s var(--ease); }
.stat:hover { transform: translateY(-2px); }
.stat__num { font-size: clamp(52px, 5.4vw, 80px); font-weight: 500; letter-spacing: -.05em; line-height: 1; font-variant-numeric: tabular-nums; }
.stat__num b { font-weight: inherit; }
.stat__label { color: var(--muted); font-size: 16px; max-width: 30ch; }
.stat__bar { margin-top: auto; height: 3px; border-radius: 3px; background: rgba(255,255,255,.08); overflow: hidden; }
.stat__bar i { display: block; height: 100%; width: var(--w); background: linear-gradient(90deg, var(--peach), var(--coral)); border-radius: inherit;
  transform-origin: left; transform: scaleX(0); transition: transform 1.6s var(--ease) .2s; }
.stats.is-in .stat__bar i { transform: scaleX(1); }
.stat--award .stat__num { color: var(--coral); }

/* ---------- Career shaft ---------- */
.career { padding: 0 !important; display: block !important; }
.career__pin { min-height: 100svh; display: flex; align-items: center; padding-block: 110px 60px; }
.career__grid { display: grid; grid-template-columns: 1fr 120px 1fr; gap: clamp(24px, 4vw, 64px); align-items: center; }
.career__head .h2 { max-width: 12ch; }
.career__hint { margin-top: 20px; color: var(--muted); font: 500 13px var(--mono); letter-spacing: .05em; text-transform: uppercase; }
.shaft { position: relative; height: min(64vh, 580px); width: 120px; }
.shaft__rail { position: absolute; left: 50%; top: 0; bottom: 0; width: 2px; margin-left: -1px; background: repeating-linear-gradient(180deg, rgba(244,237,224,.3) 0 6px, transparent 6px 12px); }
.shaft__fill { position: absolute; left: 50%; bottom: 0; width: 2px; margin-left: -1px; height: 0; background: linear-gradient(0deg, var(--peach), var(--coral)); box-shadow: 0 0 12px rgba(255,107,88,.6); }
.shaft__ticks li { position: absolute; left: 0; right: 0; bottom: calc(var(--i) * 20% - 8px); display: flex; justify-content: flex-end; padding-right: 0;
  font: 500 11px/16px var(--mono); color: rgba(244,237,224,.45); letter-spacing: .04em; }
.shaft__ticks li::before { content: ""; position: absolute; left: 50%; top: 50%; width: 10px; height: 10px; margin: -5px 0 0 -5px; border-radius: 50%; background: var(--navy-deep); border: 1.5px solid rgba(244,237,224,.35); }
.shaft__ticks li.is-passed { color: var(--cream); }
.shaft__ticks li.is-passed::before { border-color: var(--coral); background: var(--coral); box-shadow: 0 0 10px rgba(255,107,88,.7); }
.shaft__car { position: absolute; left: 50%; bottom: 0; width: 64px; height: 84px; margin-left: -32px; transform: translateY(50%); border-radius: 10px; overflow: hidden;
  background: linear-gradient(180deg, rgba(255,255,255,.22), rgba(255,255,255,.06)); border: 1px solid rgba(255,255,255,.35);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  box-shadow: 0 0 0 1px rgba(255,107,88,.2), 0 10px 30px rgba(255,107,88,.35), inset 0 1px 0 rgba(255,255,255,.4); }
.shaft__carribs { position: absolute; inset: 0; background: repeating-linear-gradient(90deg, rgba(255,255,255,.12) 0 1px, transparent 1px 6px); }
.shaft__carnum { position: absolute; left: 6px; right: 6px; top: 6px; padding: 4px 0; text-align: center; border-radius: 5px; background: #060B18; font: 500 11px/1 var(--mono); color: var(--coral); }
.stops { position: relative; min-height: 340px; }
.stop { position: absolute; inset: 0 0 auto 0; padding: 36px; border-radius: var(--r-lg);
  background: linear-gradient(140deg, rgba(255,255,255,.13), rgba(255,255,255,.04));
  -webkit-backdrop-filter: blur(20px) saturate(170%); backdrop-filter: blur(20px) saturate(170%);
  border: 1px solid rgba(255,255,255,.14); box-shadow: inset 0 1px 0 rgba(255,255,255,.28), 0 24px 60px -28px rgba(0,0,0,.65);
  opacity: 0; transform: translateY(40px); transition: opacity .55s var(--ease), transform .7s var(--ease); pointer-events: none; }
.stop.is-active { opacity: 1; transform: none; pointer-events: auto; }
.stop.is-past { transform: translateY(-40px); }
.stop__year { font: 500 13px var(--mono); color: var(--coral); letter-spacing: .05em; text-transform: uppercase; }
.stop h3 { font-size: clamp(28px, 2.6vw, 40px); letter-spacing: -.03em; font-weight: 500; line-height: 1.08; margin: 14px 0 16px; }
.stop p:last-child { color: var(--muted); font-size: 18px; }
.stop--now { background: linear-gradient(140deg, rgba(255,107,88,.28), rgba(255,107,88,.06)); border-color: rgba(255,107,88,.45); }

/* ---------- Principles ---------- */
.building { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.card { border-radius: var(--r); padding: 24px 26px 28px; display: flex; flex-direction: column; overflow: hidden; transition: transform .35s var(--ease), border-color .35s var(--ease); }
.card:hover { transform: translateY(-2px); border-color: rgba(255,255,255,.26); }
.card__viz { height: 96px; margin: -4px -6px 18px; border-radius: 14px; background: rgba(6,11,24,.35); border: 1px solid rgba(255,255,255,.06); display: grid; place-items: center; overflow: hidden; }
.card__viz svg { width: 100%; height: 100%; padding: 8px 12px; overflow: visible; }
.card__num { font: 500 12px var(--mono); color: var(--coral); letter-spacing: .08em; text-transform: uppercase; }
.card h3 { font-size: 22px; line-height: 1.2; letter-spacing: -.02em; font-weight: 500; margin: 10px 0 10px; }
.card p:last-child { color: var(--muted); font-size: 16px; }

.card__viz svg * { vector-effect: non-scaling-stroke; }
.viz-grid { stroke: rgba(244,237,224,.08); stroke-width: 1; fill: none; }
.viz-line { fill: none; stroke: var(--coral); stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 260; stroke-dashoffset: 260; animation: draw 3.6s var(--ease) infinite; }
.viz-dot { fill: var(--coral); animation: dot 3.6s var(--ease) infinite; }
@keyframes draw { 0% { stroke-dashoffset: 260; } 55%, 85% { stroke-dashoffset: 0; } 100% { stroke-dashoffset: 0; opacity: 0; } }
@keyframes dot { 0%, 50% { opacity: 0; transform: scale(.4); transform-origin: 196px 14px; } 60%, 85% { opacity: 1; transform: scale(1); transform-origin: 196px 14px; } 100% { opacity: 0; } }
.viz-hub path { stroke: rgba(244,237,224,.3); stroke-width: 1.5; fill: none; }
.viz-hub circle { fill: rgba(244,237,224,.85); }
.viz-hub .hub-core { fill: var(--coral); animation: core 3s ease-in-out infinite; transform-origin: 100px 45px; }
.pulse { fill: var(--peach) !important; filter: drop-shadow(0 0 4px var(--coral)); }
@keyframes core { 50% { transform: scale(1.18); } }
.viz-floors .fl { fill: rgba(244,237,224,.85); transform-box: fill-box; transform-origin: center bottom; animation: stack 3.2s var(--ease) infinite; }
.viz-floors .f2 { animation-delay: .15s; fill: rgba(244,237,224,.65); } .viz-floors .f3 { animation-delay: .3s; fill: rgba(244,237,224,.45); } .viz-floors .f4 { animation-delay: .45s; fill: var(--coral); }
.viz-base { stroke: rgba(244,237,224,.4); stroke-width: 2; }
@keyframes stack { 0% { transform: translateY(-14px); opacity: 0; } 18%, 82% { transform: none; opacity: 1; } 100% { opacity: 0; } }
.viz-flow path { fill: none; stroke: rgba(244,237,224,.3); stroke-width: 1.5; }
.flow-core { fill: rgba(255,107,88,.2); stroke: var(--coral); stroke-width: 1.5; }
.ring { fill: none; stroke: var(--coral); stroke-width: 1.5; transform-origin: 100px 45px; animation: ring 3s ease-out infinite; }
.r2 { animation-delay: 1s; } .r3 { animation-delay: 2s; }
.ring-core { fill: var(--cream); }
@keyframes ring { from { transform: scale(1); opacity: .9; } to { transform: scale(4.2); opacity: 0; } }
.tree { fill: none; stroke: rgba(244,237,224,.35); stroke-width: 1.5; stroke-dasharray: 320; stroke-dashoffset: 320; animation: grow 3.8s var(--ease) infinite; }
.node { fill: rgba(244,237,224,.25); animation: node 3.8s var(--ease) infinite; }
.n0 { fill: var(--coral); } .n1 { animation-delay: .5s; } .n2 { animation-delay: 1s; }
@keyframes grow { 0% { stroke-dashoffset: 320; } 45%, 85% { stroke-dashoffset: 0; } 100% { stroke-dashoffset: 0; opacity: 0; } }
@keyframes node { 0%, 20% { fill: rgba(244,237,224,.2); } 45%, 85% { fill: var(--peach); } 100% { fill: rgba(244,237,224,.2); } }
.card:hover .card__viz * { animation-play-state: running; }

.foundation { grid-column: 1 / -1; position: relative; display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 32px;
  padding: 32px 36px; border-radius: var(--r); color: var(--navy); overflow: hidden;
  background: linear-gradient(120deg, var(--cream) 0%, var(--cream-2) 100%);
  box-shadow: 0 30px 60px -30px rgba(0,0,0,.7), inset 0 1px 0 #fff; }
.foundation::before { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(90deg, rgba(20,33,61,.035) 0 1px, transparent 1px 14px); pointer-events: none; }
.foundation .card__num { color: #C2412F; }
.foundation { padding: 40px 40px; align-items: end; }
.foundation__quote { margin: 14px 0 10px; font-family: var(--serif); font-size: clamp(32px, 3.6vw, 54px); line-height: 1.04; letter-spacing: -.02em; max-width: 20ch; }
.foundation__by { font: 500 12px var(--mono); letter-spacing: .05em; text-transform: uppercase; color: rgba(20,33,61,.6); }
.pledge { margin-top: 24px; display: grid; gap: 10px; max-width: 60ch; }
.pledge li { display: flex; gap: 12px; align-items: flex-start; font-size: 16px; color: rgba(20,33,61,.8); }
.pledge svg { flex: none; width: 22px; height: 22px; margin-top: 1px; padding: 3px; border-radius: 50%; background: var(--navy); fill: none; stroke: var(--coral); stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
.pledge svg path { stroke-dasharray: 24; stroke-dashoffset: 24; transition: stroke-dashoffset .6s var(--ease); }
.foundation.is-in .pledge li:nth-child(1) svg path { stroke-dashoffset: 0; transition-delay: .2s; }
.foundation.is-in .pledge li:nth-child(2) svg path { stroke-dashoffset: 0; transition-delay: .45s; }
.foundation.is-in .pledge li:nth-child(3) svg path { stroke-dashoffset: 0; transition-delay: .7s; }
.no-gsap .pledge svg path { stroke-dashoffset: 0; }
.foundation__pillars { flex-direction: column; align-items: stretch; }
.foundation h3 { font-size: clamp(28px, 2.8vw, 40px); letter-spacing: -.03em; font-weight: 500; margin: 8px 0 6px; }
.foundation p:last-child { color: rgba(20,33,61,.72); }
.foundation__pillars { display: flex; gap: 10px; flex-wrap: wrap; }
.foundation__pillars li { display: inline-flex; align-items: center; gap: 10px; padding: 12px 18px 12px 12px; border-radius: 999px; background: var(--navy); color: var(--cream); font-weight: 500; }
.pill-ico { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: var(--coral); }
.pill-ico svg { width: 17px; height: 17px; fill: none; stroke: var(--navy-deep); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.foundation[data-light]::after { background: radial-gradient(420px circle at var(--mx) var(--my), rgba(255,255,255,.6), transparent 45%); }

/* ---------- Stage ---------- */
.stage { padding: 0 !important; display: grid !important; grid-template-columns: 44% 1fr; align-items: stretch; background: linear-gradient(90deg, rgba(6,11,24,.6), rgba(6,11,24,.2)); }
.stage__media { position: relative; overflow: hidden; min-height: 100svh; }
.stage__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 62% 30%; transform: scale(1.08); transition: transform .8s var(--ease); }
.stage__media:hover img { transform: scale(1.1); }
.stage__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, transparent 60%, rgba(10,18,38,.55)), linear-gradient(0deg, rgba(10,18,38,.35), transparent 30%); pointer-events: none; }
.stage__door { position: absolute; top: 0; bottom: 0; width: 50%; z-index: 2; background: linear-gradient(180deg, #1A2A4E, var(--navy-deep));
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.08); }
.stage__door::before { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(90deg, rgba(255,255,255,.06) 0 1px, transparent 1px 7px, rgba(0,0,0,.18) 7px 13px); }
.stage__door--l { left: 0; } .stage__door--r { right: 0; }
.no-gsap .stage__door { display: none; }
.stage__wrap { display: flex; flex-direction: column; justify-content: center; padding-block: 120px; max-width: 760px; margin: 0; padding-left: clamp(32px, 6vw, 96px); }
.stage__quote { font-family: var(--serif); font-weight: 400; font-size: clamp(44px, 5.4vw, 88px); line-height: 1.02; letter-spacing: -.02em; }
.stage__quote .w { color: rgba(244,237,224,.2); transition: color .3s; }
.stage__quote .w.is-lit { color: var(--cream); }
.no-gsap .stage__quote .w { color: var(--cream); }
.stage__by { margin-top: 32px; color: var(--muted); font: 500 13px var(--mono); letter-spacing: .05em; text-transform: uppercase; display: flex; gap: 12px; align-items: center; }
.stage__by::before { content: ""; width: 28px; height: 1px; background: var(--coral); }

/* ---------- Record (cream floor) ---------- */
.record { background: var(--cream); color: var(--navy); }
.record::before { content: ""; position: absolute; inset: 0; pointer-events: none; background: repeating-linear-gradient(90deg, rgba(20,33,61,.03) 0 1px, transparent 1px 14px); }
.record .section-sub { color: rgba(20,33,61,.7); }
.ledger { border-top: 1px solid rgba(20,33,61,.18); }
.ledger__row { position: relative; display: grid; grid-template-columns: 180px 1fr auto; gap: 32px; align-items: center; padding: 22px 8px; border-bottom: 1px solid rgba(20,33,61,.18); overflow: hidden; isolation: isolate; }
.ledger__row::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--navy); transform: scaleY(0); transform-origin: bottom; transition: transform .45s var(--ease); }
.ledger__row:hover::before { transform: scaleY(1); }
.ledger__row:hover { color: var(--cream); }
.ledger__k { font-family: var(--serif); font-style: italic; font-size: clamp(36px, 3.4vw, 52px); line-height: 1; letter-spacing: -.02em; padding-left: 8px; transition: color .3s, transform .45s var(--ease); }
.ledger__row:hover .ledger__k { color: var(--coral); transform: translateX(8px); }
.ledger__v { font-size: 18px; color: rgba(20,33,61,.78); transition: color .3s; }
.ledger__v strong { color: var(--navy); font-weight: 600; transition: color .3s; }
.ledger__row:hover .ledger__v, .ledger__row:hover .ledger__v strong { color: var(--cream); }
.ledger__tag { font: 500 12px var(--mono); letter-spacing: .06em; text-transform: uppercase; padding: 8px 12px; border-radius: 999px; border: 1px solid currentColor; opacity: .7; margin-right: 8px; }

/* ---------- Next floor ---------- */
.next { overflow: hidden; }
.next::before { content: ""; position: absolute; width: 70vmax; height: 70vmax; right: -20vmax; top: 50%; transform: translateY(-50%); border-radius: 50%;
  background: radial-gradient(closest-side, rgba(255,107,88,.45), rgba(255,107,88,.12) 50%, transparent 72%); filter: blur(30px); pointer-events: none; }
.next__grid { position: relative; display: grid; grid-template-columns: 1.2fr .8fr; gap: clamp(32px, 5vw, 80px); align-items: center; }
.next__title { font-size: clamp(52px, 7.4vw, 116px); line-height: .95; letter-spacing: -.05em; font-weight: 500; margin: 22px 0 28px; }
.next__title .serif { color: var(--coral); }
.next__lede { font-size: clamp(18px, 1.5vw, 22px); max-width: 40ch; }
.next__lede--dim { color: var(--muted); margin-top: 18px; font-size: 18px; }
.next__panel { border-radius: var(--r-lg); padding: 28px; }
.lcd { display: flex; align-items: center; justify-content: center; gap: 18px; height: 180px; border-radius: 18px; background: #060B18; border: 1px solid rgba(255,255,255,.08);
  box-shadow: inset 0 0 40px rgba(255,107,88,.12); color: var(--coral); text-shadow: 0 0 22px rgba(255,107,88,.75); }
.lcd__arrow { font-size: 30px; animation: lcd-up 1.4s ease-in-out infinite; }
@keyframes lcd-up { 0% { transform: translateY(10px); opacity: 0; } 40%, 60% { opacity: 1; } 100% { transform: translateY(-10px); opacity: 0; } }
.lcd__num { font: 500 104px/1 var(--mono); letter-spacing: -.04em; font-variant-numeric: tabular-nums; }
.lcd__rows { margin-top: 18px; display: grid; }
.lcd__rows div { display: flex; justify-content: space-between; gap: 16px; padding: 14px 4px; border-bottom: 1px solid var(--line); }
.lcd__rows div:last-child { border-bottom: 0; }
.lcd__rows span { color: var(--muted); font: 500 12px var(--mono); letter-spacing: .06em; text-transform: uppercase; align-self: center; }
.lcd__rows b { font-weight: 500; text-align: right; }

/* ---------- Ideas ---------- */
.posts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.post { border-radius: var(--r); padding: 28px; min-height: 300px; display: flex; flex-direction: column; overflow: hidden; transition: transform .35s var(--ease), border-color .35s; }
.post:hover { transform: translateY(-2px); border-color: rgba(255,107,88,.45); }
.post__tag { align-self: flex-start; font: 500 12px var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--coral); padding: 6px 10px; border-radius: 999px; background: rgba(255,107,88,.12); }
.post h3 { font-size: 26px; line-height: 1.12; letter-spacing: -.025em; font-weight: 500; margin: auto 0 12px; padding-top: 48px; }
.post p { color: var(--muted); font-size: 16px; }
.post__go { position: absolute; right: 22px; top: 22px; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--line); transition: transform .35s var(--ease), background .35s, color .35s; }
.post:hover .post__go { transform: rotate(45deg); background: var(--coral); color: var(--navy-deep); border-color: var(--coral); }

/* ---------- Contact ---------- */
.contact { overflow: hidden; justify-content: space-between !important; padding-bottom: 40px !important; }
.contact__wrap { flex: 1; display: flex; flex-direction: column; justify-content: center; }
.contact__title { font-size: clamp(64px, 12vw, 190px); line-height: .9; letter-spacing: -.055em; font-weight: 500; margin: 24px 0 28px; }
.contact__title .serif { color: var(--coral); }
.contact__lede { color: var(--muted); font-size: clamp(18px, 1.5vw, 22px); max-width: 44ch; }
.marquee { margin-top: 72px; border-block: 1px solid var(--line); padding-block: 22px; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee__track { display: flex; align-items: center; gap: 40px; width: max-content; animation: marquee 38s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee span { font-family: var(--serif); font-style: italic; font-size: clamp(40px, 5vw, 72px); line-height: 1; color: transparent; -webkit-text-stroke: 1px rgba(244,237,224,.45); transition: color .3s; }
.marquee span:hover { color: var(--cream); }
.marquee i { font-style: normal; color: var(--coral); font-size: 22px; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Footer ---------- */
.footer { border-top: 1px solid var(--line); background: rgba(6,11,24,.6); }
.footer__row { display: flex; align-items: center; gap: 20px; padding-block: 18px; color: var(--muted); font-size: 14px; }
.footer__row .link { margin-left: auto; font-size: 14px; }

/* ---------- Responsive ---------- */
@media (min-width: 1400px) { .panel { display: block; } }
@media (max-width: 1180px) {
  .nav__links { display: none; }
  .nav__floor { display: inline-flex; margin-left: auto; }
  .nav__toggle { display: inline-block; }
  .posts { grid-template-columns: repeat(2, 1fr); }
  .post { min-height: 240px; }
}
@media (max-width: 960px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero__visual { order: -1; }
  .cabin { width: min(64vw, 300px); }
  .hero { padding-top: 110px !important; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .building { grid-template-columns: repeat(2, 1fr); }
  .stage { grid-template-columns: 1fr; }
  .stage__media { min-height: 70svh; }
  .stage__wrap { padding: 72px var(--gutter) 96px; }
  .next__grid { grid-template-columns: 1fr; }
  .ledger__row { grid-template-columns: 120px 1fr; }
  .ledger__tag { display: none; }
  .foundation { grid-template-columns: 1fr; }

  /* career: a plain ascending list on smaller screens */
  .career__pin { display: block; padding-block: 110px 80px; }
  .career__grid { grid-template-columns: 1fr; }
  .shaft { display: none; }
  .stops { min-height: 0; display: grid; gap: 14px; border-left: 2px solid rgba(255,107,88,.5); padding-left: 18px; }
  .stop { position: relative; opacity: 1; transform: none; pointer-events: auto; padding: 24px; }
  .stop::before { content: ""; position: absolute; left: -26px; top: 30px; width: 12px; height: 12px; border-radius: 50%; background: var(--coral); box-shadow: 0 0 10px rgba(255,107,88,.7); }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  :root { --nav-h: 58px; }
  .nav { top: 10px; gap: 10px; }
  .nav__name { display: none; }
  .nav__cta { display: none; }
  .hero__title { font-size: clamp(60px, 19vw, 96px); margin: 16px 0 20px; }
  .hero__actions .btn { width: 100%; }
  .chip { padding: 10px 12px; font-size: 12px; }
  .chip b { font-size: 22px; }
  .chip--a { left: -26%; } .chip--b { right: -22%; } .chip--c { right: -26%; }
  .cabin { width: min(56vw, 240px); }
  .stats, .building, .posts { grid-template-columns: 1fr; }
  .stat { min-height: 0; }
  main > section { padding-block: 104px 72px; }
  .section-head { margin-bottom: 36px; }
  .ledger__row { grid-template-columns: 1fr; gap: 6px; padding: 20px 4px; }
  .ledger__k { padding-left: 0; }
  .lcd { height: 140px; } .lcd__num { font-size: 80px; }
  .footer__row { flex-wrap: wrap; }
  .footer__row .link { margin-left: 0; }
  .contact .btn--lg { width: 100%; }
}

/* ---------- Reduced motion: everything rests, nothing hides ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; }
  .js .doors { display: none; }
  .stage__door { display: none; }
  .stage__quote .w { color: var(--cream) !important; }
  .stats .stat__bar i { transform: none; }
  .viz-line, .tree { stroke-dashoffset: 0; }
  .viz-dot { opacity: 1; }
}


/* ================= Hero, extra motion ================= */
.hero__title .word { display: inline-block; white-space: nowrap; }
.hero__title .ch { display: inline-block; transform-origin: 0 100%; }
.hero__title .serif.shine { background: none; color: var(--peach); }
.hero__title .serif.shine .ch { color: color-mix(in oklab, var(--peach), var(--coral) calc((var(--i) - 6) * 25%)); }
.js .hero__title .serif.shine .ch { animation: rise-ch 1.1s var(--ease) calc(1.45s + var(--i) * 55ms) both, glint 6s ease-in-out calc(3.2s + (var(--i) - 6) * 90ms) infinite; }
@keyframes glint { 0%, 8%, 100% { text-shadow: none; filter: brightness(1); } 4% { filter: brightness(1.45); text-shadow: 0 0 24px rgba(255,200,180,.75); } }

/* rolling role line */
.roles { display: inline-block; height: 1.3em; overflow: hidden; vertical-align: bottom; }
.roles__track { display: flex; flex-direction: column; animation: roles 12s var(--ease-io) 2.6s infinite; }
.roles__track span { display: block; height: 1.3em; line-height: 1.3em; white-space: nowrap; color: var(--cream); }
@keyframes roles {
  0%, 20% { transform: translateY(0); }
  25%, 45% { transform: translateY(-1.3em); }
  50%, 70% { transform: translateY(-2.6em); }
  75%, 95% { transform: translateY(-3.9em); }
  100% { transform: translateY(-5.2em); }
}

/* dust in the light, and slow rings behind the cabin */
.hero__dust { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 0; }
.hero > .wrap { position: relative; z-index: 1; }
.hero__rings { position: absolute; z-index: 0; right: calc(50% - min(46vw, 640px)); top: 50%; width: 0; height: 0; pointer-events: none; }
.hero__rings span { position: absolute; left: 50%; top: 50%; border-radius: 50%; border: 1px solid rgba(244,237,224,.09); transform: translate(-50%, -50%); }
.hero__rings span:nth-child(1) { width: 520px; height: 520px; animation: spin 40s linear infinite; border-top-color: rgba(255,107,88,.6); }
.hero__rings span:nth-child(2) { width: 700px; height: 700px; animation: spin 60s linear infinite reverse; border-left-color: rgba(244,180,151,.45); }
.hero__rings span:nth-child(3) { width: 880px; height: 880px; animation: spin 90s linear infinite; border-bottom-color: rgba(255,107,88,.3); }
@keyframes spin { to { transform: translate(-50%, -50%) rotate(360deg); } }
.js .hero__rings { animation: rise 1.6s var(--ease) 1.2s both; }

/* the spotlight on him */
.cabin__beam { position: absolute; left: 50%; top: -30%; width: 150%; height: 135%; transform: translateX(-50%); transform-origin: 50% 0; pointer-events: none;
  background: linear-gradient(180deg, rgba(255,226,210,.55), rgba(255,180,150,.18) 55%, transparent 90%);
  clip-path: polygon(44% 0, 56% 0, 86% 100%, 14% 100%); filter: blur(14px); mix-blend-mode: screen; opacity: .65;
  animation: sway 9s ease-in-out infinite; }
.js .cabin__beam { animation: beam-on 1.2s ease 2.1s both, sway 9s ease-in-out 3.3s infinite; }
@keyframes beam-on { 0% { opacity: 0; } 30% { opacity: .9; } 45% { opacity: .2; } 60%, 100% { opacity: .65; } }
@keyframes sway { 50% { transform: translateX(-50%) rotate(3deg); } }

/* inner cabin doors part a beat after the page doors */
.cabin__doors { position: absolute; inset: 0; border-radius: 200px 200px 28px 28px; overflow: hidden; pointer-events: none; display: flex; }
.cd { flex: 1; background: linear-gradient(180deg, #24365F, #101B36); position: relative; }
.cd::before { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(90deg, rgba(255,255,255,.08) 0 1px, transparent 1px 7px, rgba(0,0,0,.2) 7px 13px); }
.cd--l { box-shadow: inset -1px 0 0 rgba(255,255,255,.3); }
.cd--r { box-shadow: inset 1px 0 0 rgba(255,255,255,.3); }
.cabin__doors { visibility: hidden; }
.js .cabin__doors { visibility: visible; }
.js .cd--l { animation: cd-l 1.3s var(--ease-io) 1.9s forwards; }
.js .cd--r { animation: cd-r 1.3s var(--ease-io) 1.9s forwards; }
@keyframes cd-l { to { transform: translateX(-100%); } }
@keyframes cd-r { to { transform: translateX(100%); } }
.cabin__sill { position: absolute; left: 6%; right: 6%; bottom: -1px; height: 2px; border-radius: 2px; background: linear-gradient(90deg, transparent, var(--coral), transparent); box-shadow: 0 0 18px 2px rgba(255,107,88,.6); }
.js .cabin__person { animation: person-in 1.4s var(--ease) 2.2s both; }
@keyframes person-in { from { transform: translateX(-50%) translateY(18px); filter: brightness(.4) drop-shadow(0 30px 30px rgba(0,0,0,.45)); } }

/* chips pop in after the reveal */
.js .chip--a { animation: pop .8s var(--ease) 2.7s both, float 7s ease-in-out 3.5s infinite; }
.js .chip--b { animation: pop .8s var(--ease) 2.85s both, float 8s ease-in-out 3.65s infinite; }
.js .chip--c { animation: pop .8s var(--ease) 3s both, float 9s ease-in-out 3.8s infinite; }
@keyframes pop { from { opacity: 0; transform: translateY(16px) scale(.9); filter: blur(6px); } }

@media (max-width: 960px) { .hero__rings { right: 50%; top: 32%; } .hero__rings span:nth-child(3) { display: none; } }
@media (prefers-reduced-motion: reduce) {
  .cabin__doors, .hero__dust { display: none; }
  .roles__track span:not(:first-child) { display: none; }
}

/* ================= Fixes after the first look ================= */
/* nav and floor panel keep a dark tint so they read over the cream floor too */
.nav { background: linear-gradient(140deg, rgba(29,46,85,.62), rgba(10,18,38,.5)); }
.panel { background: linear-gradient(160deg, rgba(29,46,85,.6), rgba(10,18,38,.5)); }
@media (min-width: 1400px) { .panel { display: none; } }
@media (min-width: 1520px) { .panel { display: block; } }
@media (min-width: 1181px) and (max-width: 1519px) { .nav__floor { display: inline-flex; } }

/* stage photo: framed on him, graded into the palette */
.stage { grid-template-columns: 38% 1fr; }
.stage__media picture { position: absolute; inset: 0; transform: scale(1.38); transform-origin: 74% 40%; }
.stage__media::before { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(160deg, rgba(20,33,61,.55), rgba(255,107,88,.28)); mix-blend-mode: soft-light; }
.stage__media img { filter: saturate(.9) contrast(1.05); }
@media (max-width: 960px) { .stage__media picture { transform: scale(1.5); transform-origin: 72% 38%; } }

/* diagram cards keep their proportions at every width */
.card__viz svg { width: auto; height: 100%; max-width: 100%; aspect-ratio: 200 / 90; }
.card__viz svg { height: 84px; width: 187px; max-width: 100%; padding: 0; }

/* ================= Gate round 1 fixes ================= */
:root { --muted: rgba(244, 237, 224, .8); }
.record .section-sub { color: rgba(20,33,61,.86); }
.ledger__v { color: rgba(20,33,61,.86); }
.skip:focus, .skip:focus-visible { transform: none; transition: none; }
.contact__title { font-size: clamp(56px, 9vw, 132px); }
.hero__title .line { padding-top: .12em; margin-top: -.12em; }
.chip { color: rgba(244,237,224,.9); background: linear-gradient(140deg, rgba(20,33,61,.72), rgba(10,18,38,.6)); }
.card p:last-child, .post p, .stat__label { color: rgba(244,237,224,.84); }
.card { background: linear-gradient(140deg, rgba(29,46,85,.7), rgba(10,18,38,.55)); }
@media (max-width: 640px) {
  .hero { padding-top: 88px !important; padding-bottom: 32px !important; }
  .hero__grid { gap: 14px; }
  .cabin { width: min(40vw, 170px); }
  .chip { padding: 8px 10px; gap: 8px; }
  .chip b { font-size: 18px; }
  .chip--a { left: -62%; top: 34%; } .chip--b { right: -60%; top: 10%; } .chip--c { right: -66%; bottom: 12%; }
  .hero__title { font-size: clamp(52px, 15vw, 76px); margin: 10px 0 14px; }
  .hero__lede { font-size: 16px; }
  .hero__actions { margin-top: 20px; gap: 8px; }
  .hero__actions .btn { min-height: 48px; }
  .hero__scroll { display: none; }
}

/* =====================================================================
   Editorial pass (Nov 2026): less "generated", more hand-set.
   Newsreader for display, Schibsted Grotesk for text; hairlines over glass;
   sentence-case labels; flat surfaces; one quiet accent.
   ===================================================================== */
:root {
  --sans: "Schibsted Grotesk", "Helvetica Neue", Arial, sans-serif;
  --serif: "Newsreader", "Iowan Old Style", Georgia, serif;
  --mono: "Geist Mono", ui-monospace, Menlo, monospace; /* lift displays only */
  --r: 6px; --r-sm: 4px; --r-lg: 8px;
  --rule: rgba(244, 237, 224, .18);
}
body { font-size: 18px; line-height: 1.6; font-feature-settings: "ss01", "kern"; }

/* headings: one serif voice, roman, no gradient or grey half */
.h2, .hero__title, .next__title, .contact__title, .stop h3, .card h3, .post h3, .foundation__quote, .stage__quote {
  font-family: var(--serif); font-weight: 400; font-optical-sizing: auto; letter-spacing: -.015em;
}
.h2 { font-size: clamp(38px, 4.4vw, 62px); line-height: 1.06; max-width: 20ch; }
.hero__title { font-size: clamp(68px, 10vw, 156px); line-height: .92; letter-spacing: -.03em; margin: 18px 0 26px; }
.hero__title .ch { color: var(--cream) !important; }
.js .hero__title .ch { animation: rise-ch 1.1s var(--ease) both !important; animation-delay: calc(1.45s + var(--i) * 45ms) !important; }
@keyframes rise-ch { from { transform: translateY(105%); opacity: 0; } }
.next__title, .contact__title { letter-spacing: -.025em; }
.next__title { font-size: clamp(52px, 6.6vw, 100px); }
.contact__title { font-size: clamp(56px, 8vw, 124px); }
.serif { font-style: normal; }

/* labels: sentence case in the text face, a short rule instead of a glowing dot */
.eyebrow, .card__num, .stop__year, .stage__by, .post__tag, .career__hint, .foundation__by, .lcd__rows span {
  font-family: var(--sans) !important; font-size: 14px !important; font-weight: 500; letter-spacing: .01em !important; text-transform: none !important;
}
.eyebrow { color: var(--peach); gap: 12px; }
.eyebrow::before { content: ""; width: 24px; height: 1px; background: currentColor; }
.stop__year { color: var(--peach); }
.card__num { color: #B5402E; }
.post__tag { background: none; padding: 0; color: var(--peach); }
.career__hint { color: var(--muted); max-width: 30ch; }
.stage__by::before { background: var(--peach); }

.hero__lede { font-size: clamp(18px, 1.45vw, 21px); color: rgba(244,237,224,.84); max-width: 42ch; }
.hero__facts { margin-top: 18px; color: var(--muted); font-size: 15px; }
.hero__facts span { margin: 0 8px; opacity: .5; }

/* buttons: a solid rectangle and a plain underlined link, no glow */
.btn { border-radius: var(--r); font-weight: 600; letter-spacing: 0; }
.btn--coral, .btn--coral:hover { box-shadow: none; }
.btn--coral:hover { background: #FF8068; }
.btn--ghost { color: var(--cream); background: transparent; border: 1px solid var(--rule); }
.btn--ghost:hover { border-color: rgba(244,237,224,.5); background: rgba(244,237,224,.04); }
.nav .btn--sm { border-radius: var(--r); }

/* nav keeps a little glass, squarer */
.nav { border-radius: 10px; }
.nav__links a { border-radius: 6px; font-size: 15px; }
.mark { border-radius: 4px; font-family: var(--serif); font-size: 17px; font-weight: 500; letter-spacing: -.02em; }
.nav__floor, .panel__screen, .doors__display, .lcd, .shaft__carnum { text-shadow: none !important; }
.panel { border-radius: 10px; }
.panel a.is-active span { box-shadow: none; background: var(--coral); color: var(--navy-deep); border-color: var(--coral); }

/* hero portrait: no chips, no rings; keep the doors and the light */
.cabin__glow { opacity: .7; }
.cabin__frame { border-radius: 180px 180px 6px 6px; }
.cabin__doors { border-radius: 180px 180px 6px 6px; }
.cabin__sill { box-shadow: none; }
.cabin__beam { opacity: .45; }

/* numbers: a ruled table, figures in the serif */
.stats { gap: 0; margin-top: 48px; border-top: 1px solid var(--rule); }
.stat { background: none; border: 0; box-shadow: none; border-radius: 0; padding: 28px 28px 32px 0; min-height: 0; border-bottom: 1px solid var(--rule);
  -webkit-backdrop-filter: none; backdrop-filter: none; }
.stat:hover { transform: none; }
.stat + .stat { padding-left: 28px; border-left: 1px solid var(--rule); }
.stat:nth-child(3n+1) { padding-left: 0; border-left: 0; }
.stat__num { font-family: var(--serif); font-weight: 400; font-size: clamp(56px, 5.6vw, 84px); letter-spacing: -.03em; }
.stat--award .stat__num { color: var(--peach); }
.stat__label { font-size: 16px; }

/* career stops: flat panels */
.stop { background: rgba(14, 24, 48, .82); -webkit-backdrop-filter: none; backdrop-filter: none; box-shadow: none; border: 1px solid var(--rule); border-radius: var(--r-lg); }
.stop--now { background: rgba(14, 24, 48, .82); border-color: var(--coral); }
.stop h3 { font-size: clamp(30px, 2.8vw, 42px); }
.shaft__car { border-radius: 4px; box-shadow: none; }
.shaft__fill { box-shadow: none; }

/* principles: a two-column ruled list */
.section-head .section-sub { margin-top: 16px; }
.building { grid-template-columns: repeat(2, 1fr); gap: 0 56px; border-top: 1px solid var(--rule); }
.card { background: none !important; border: 0; border-bottom: 1px solid var(--rule); border-radius: 0; box-shadow: none; padding: 26px 0 30px;
  -webkit-backdrop-filter: none; backdrop-filter: none; display: grid; grid-template-columns: 1fr 1.3fr; gap: 24px; }
.card:hover { transform: none; }
.card h3 { font-size: 28px; line-height: 1.12; margin: 0; }
.card p:last-child { font-size: 16px; }
.foundation { margin-top: 40px; border-radius: var(--r-lg); box-shadow: none; }
.foundation__quote { font-size: clamp(34px, 3.6vw, 54px); }
.pill-ico { border-radius: 4px; }
.foundation__pillars li { border-radius: var(--r); }

/* record */
.ledger__k { font-family: var(--serif); font-style: normal; }
.ledger__tag { border-radius: 3px; font-family: var(--sans); text-transform: none; letter-spacing: 0; font-size: 13px; }

/* next chapter panel: flat */
.next__panel { background: rgba(14, 24, 48, .7); border: 1px solid var(--rule); border-radius: var(--r-lg); }
.lcd { border-radius: 4px; box-shadow: none; }
.next::before { opacity: .6; }

/* ideas: plain cards with a hairline */
.post { background: rgba(14, 24, 48, .55); border: 1px solid var(--rule); border-radius: var(--r-lg); box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none; min-height: 260px; }
.post:hover { border-color: rgba(244,237,224,.45); }
.post h3 { font-size: 28px; }
.post__go { border-radius: 4px; }

.contact { padding-bottom: 96px !important; }
.footer__row .mark { width: 32px; height: 32px; }

@media (max-width: 960px) {
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(3n+1) { padding-left: 28px; border-left: 1px solid var(--rule); }
  .stat:nth-child(2n+1) { padding-left: 0; border-left: 0; }
  .building { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .stats { grid-template-columns: 1fr; }
  .stat, .stat + .stat { padding: 22px 0; border-left: 0 !important; }
  .card { grid-template-columns: 1fr; gap: 8px; }
  .hero__title { font-size: clamp(56px, 16vw, 80px); }
  .hero__facts { font-size: 14px; margin-top: 12px; }
}
.mark { width: auto; min-width: 36px; padding: 0 7px; font-size: 16px; letter-spacing: -.04em; }
.cabin__beam { clip-path: polygon(36% 0, 64% 0, 92% 100%, 8% 100%); filter: blur(22px);
  -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 30%, #000 80%, transparent 100%); mask-image: linear-gradient(180deg, transparent 0%, #000 30%, #000 80%, transparent 100%); }
.nav__toggle { border-radius: 6px; }
@media (max-width: 640px) { .cabin { width: min(36vw, 150px); } .hero__lede { line-height: 1.5; } }
.post, .stat, .card, .next__panel { position: relative; }

/* =====================================================================
   Accent back + premium opening sequence
   ===================================================================== */
.accent { color: var(--coral); }
.eyebrow, .stop__year, .post__tag, .card__num { color: var(--coral) !important; }
.stat--award .stat__num { color: var(--coral); }
.stat__num { position: relative; }
.stat::before { content: ""; position: absolute; left: 0; top: -1px; width: 40px; height: 2px; background: var(--coral); }
.stat + .stat::before { left: 28px; }
.stat:nth-child(3n+1)::before { left: 0; }
.card { border-top: 0; }
.card h3 { transition: color .3s var(--ease); }
.card:hover h3 { color: var(--coral); }
.nav__links a.is-active { color: var(--cream); background: none; box-shadow: inset 0 -2px 0 var(--coral); border-radius: 0; }
.post:hover { border-color: var(--coral); }
.ledger__row:hover .ledger__k { color: var(--coral); }
.foundation .card__num { color: #C2412F !important; }
.btn--coral { box-shadow: 0 10px 30px -14px rgba(255,107,88,.8); }
.hero__title .word--accent .ch { color: var(--coral) !important; }
.stop--now { border-color: var(--coral); }
.lcd { color: var(--coral); }

/* ---- the opening ---- */
@property --n { syntax: "<integer>"; initial-value: 0; inherits: false; }
.doors__display { flex-direction: row; gap: 10px; padding: 14px 22px 18px; border-radius: 6px; background: #050A16; color: var(--coral);
  font: 500 40px/1 var(--mono); animation: display-out .4s ease 1s forwards; }
.doors__floor { counter-reset: n var(--n); min-width: 2ch; animation: count-up .9s cubic-bezier(.4,0,.2,1) .1s forwards; }
.doors__floor::after { content: counter(n, decimal-leading-zero); }
@keyframes count-up { to { --n: 23; } }
.doors__bar { position: absolute; left: 14px; right: 14px; bottom: 8px; height: 2px; background: rgba(255,107,88,.18); overflow: hidden; }
.doors__bar::after { content: ""; position: absolute; inset: 0; background: var(--coral); transform-origin: left; transform: scaleX(0); animation: bar-fill .9s cubic-bezier(.4,0,.2,1) .1s forwards; }
@keyframes bar-fill { to { transform: scaleX(1); } }
@keyframes display-out { to { opacity: 0; transform: translate(-50%, -50%) scale(.92); } }
.doors__arrow { font-size: 18px; animation: arrow-bob .45s ease-in-out 0s 2 alternate; }
@keyframes arrow-bob { to { transform: translateY(-4px); } }
.door { animation-delay: 1.05s !important; animation-duration: 1.25s !important; animation-timing-function: cubic-bezier(.76,0,.24,1) !important; }
/* a thin line of light where the doors meet, just before they part */
.doors::after { content: ""; position: absolute; left: 50%; top: 0; bottom: 0; width: 2px; margin-left: -1px; background: linear-gradient(180deg, transparent, rgba(255,180,160,.9), transparent);
  opacity: 0; animation: seam 1.1s ease .7s forwards; }
@keyframes seam { 30% { opacity: 1; } 100% { opacity: 0; transform: scaleX(30); } }

/* the room behind the doors settles: a slow dolly back and the light blooming in */
.js .hero { animation: dolly 2.2s cubic-bezier(.16,1,.3,1) 1.05s both; transform-origin: 50% 60%; }
@keyframes dolly { from { transform: scale(1.07); filter: brightness(.55) saturate(.8); } to { transform: none; filter: none; } }
.js .ground { animation: bloom 2.6s ease 1s both; }
@keyframes bloom { from { filter: brightness(.35); } }
.js .nav { animation: nav-in 1s cubic-bezier(.16,1,.3,1) 2.15s both; }
@keyframes nav-in { from { opacity: 0; transform: translate(-50%, -24px); } }

/* type arrives in order */
.js .hero .eyebrow[data-enter] { animation: rise 1s cubic-bezier(.16,1,.3,1) 1.75s both; }
.js .hero__title .ch { animation: ch-in 1.3s cubic-bezier(.16,1,.3,1) both !important; animation-delay: calc(1.8s + var(--i) * 60ms) !important; }
@keyframes ch-in { from { transform: translateY(108%); } }
.hero__rule { display: block; width: min(100%, 460px); height: 1px; margin: 4px 0 26px; background: linear-gradient(90deg, var(--coral), rgba(255,107,88,0)); transform-origin: left; }
.js .hero__rule { animation: rule-in 1.4s cubic-bezier(.16,1,.3,1) 2.45s both; }
@keyframes rule-in { from { transform: scaleX(0); } }
.js .hero__lede[data-enter] { animation: soft-in 1.2s cubic-bezier(.16,1,.3,1) 2.55s both; }
.js .hero__facts[data-enter] { animation: soft-in 1.2s cubic-bezier(.16,1,.3,1) 2.68s both; }
.js .hero__actions[data-enter] { animation: soft-in 1.2s cubic-bezier(.16,1,.3,1) 2.8s both; }
@keyframes soft-in { from { opacity: 0; transform: translateY(18px); filter: blur(8px); } }

/* the portrait: arch rises, inner doors part, light comes on, then a slow sheen crosses the glass */
.js .hero__visual[data-enter] { animation: arch-in 1.6s cubic-bezier(.16,1,.3,1) 1.5s both; }
@keyframes arch-in { from { opacity: 0; transform: translateY(70px); clip-path: inset(100% 0 0 0); } to { clip-path: inset(-40% -40% -10% -40%); } }
.js .cd--l, .js .cd--r { animation-delay: 2.35s !important; animation-duration: 1.4s !important; animation-timing-function: cubic-bezier(.76,0,.24,1) !important; }
.js .cabin__beam { animation: beam-on 1.4s ease 2.7s both, sway 10s ease-in-out 4.1s infinite !important; }
.js .cabin__person { animation: person-in 1.6s cubic-bezier(.16,1,.3,1) 2.55s both !important; }
.cabin__frame::after { content: ""; position: absolute; inset: -20% -60%; pointer-events: none;
  background: linear-gradient(105deg, transparent 42%, rgba(255,255,255,.16) 49%, rgba(255,220,205,.22) 50%, rgba(255,255,255,.12) 51%, transparent 58%);
  transform: translateX(-60%); animation: sheen 7s cubic-bezier(.65,0,.35,1) 3.6s infinite; }
@keyframes sheen { 0% { transform: translateX(-60%); } 35%, 100% { transform: translateX(60%); } }
.js .cabin__sill { animation: rule-in 1.2s cubic-bezier(.16,1,.3,1) 3s both; }
.js .hero__scroll { animation: soft-in 1s ease 3.4s both; }

@media (prefers-reduced-motion: reduce) {
  .js .hero, .js .ground, .js .nav, .js .hero__rule, .cabin__frame::after { animation: none !important; transform: none; filter: none; }
}
@media (max-width: 640px) { .hero__rule { margin: 0 0 14px; } .hero__title { margin-bottom: 10px; } }

/* Principles: back to the animated-icon cards (user preferred them) */
.building { grid-template-columns: repeat(3, 1fr); gap: 16px; border-top: 0; }
.card { display: flex; flex-direction: column; gap: 0; padding: 24px 26px 28px; border-radius: 12px; overflow: hidden;
  background: linear-gradient(140deg, rgba(29,46,85,.7), rgba(10,18,38,.55)) !important;
  border: 1px solid rgba(255,255,255,.14); box-shadow: inset 0 1px 0 rgba(255,255,255,.22), 0 24px 60px -28px rgba(0,0,0,.65);
  -webkit-backdrop-filter: blur(20px) saturate(170%); backdrop-filter: blur(20px) saturate(170%);
  transition: transform .35s var(--ease), border-color .35s var(--ease); }
.card:hover { transform: translateY(-2px); border-color: rgba(255,107,88,.5); }
.card__viz { border-radius: 8px; }
.card h3 { font-size: 24px; line-height: 1.15; margin: 10px 0 10px; }
.card p:last-child { font-size: 16px; }
.foundation { margin-top: 0; }
@media (max-width: 960px) { .building { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .building { grid-template-columns: 1fr; } .card { grid-template-columns: none; } }

/* =====================================================================
   Liquid-glass top bar, section rail, and a smoother page
   ===================================================================== */

/* ---- liquid glass (shared by the bar and the rail) ---- */
.nav, .rail {
  background:
    linear-gradient(180deg, rgba(255,255,255,.16) 0%, rgba(255,255,255,.05) 55%, rgba(255,255,255,.09) 100%),
    rgba(20, 33, 61, .30);
  -webkit-backdrop-filter: blur(16px) saturate(200%) brightness(1.08);
  backdrop-filter: blur(16px) saturate(200%) brightness(1.08);
  border: 1px solid rgba(255,255,255,.16);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.55),
    inset 0 -1px 0 rgba(255,255,255,.10),
    inset 0 -14px 24px -18px rgba(255,255,255,.28),
    inset 0 10px 18px -16px rgba(255,255,255,.35),
    0 18px 44px -18px rgba(0,0,0,.6),
    0 2px 8px rgba(0,0,0,.18);
}
.nav { border-radius: 999px; padding: 8px 8px 8px 10px; overflow: hidden; isolation: isolate; }
/* bright rim that catches light at the corners, like a lens edge */
.nav::before, .rail::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px; pointer-events: none;
  background: linear-gradient(120deg, rgba(255,255,255,.7), rgba(255,255,255,.08) 28%, rgba(255,255,255,0) 50%, rgba(255,255,255,.08) 72%, rgba(255,255,255,.5));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
}
/* a soft specular highlight that drifts with the pointer */
.nav::after {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; border-radius: inherit;
  background: radial-gradient(180px 70px at var(--gx, 22%) -10%, rgba(255,255,255,.30), transparent 70%);
  transition: background-position .2s;
}
.nav__links a { border-radius: 999px; }
.nav__links a:hover { background: rgba(255,255,255,.10); }
.nav__links a.is-active { border-radius: 999px; background: rgba(255,255,255,.12); box-shadow: inset 0 1px 0 rgba(255,255,255,.25), inset 0 -2px 0 var(--coral); }
.nav .btn--sm { border-radius: 999px; }
.mark { border-radius: 999px; }
.nav__floor { font: 600 13px/1 var(--sans); color: var(--coral); background: rgba(5,10,22,.65); border-radius: 999px; padding: 9px 14px; gap: 8px; letter-spacing: 0; }
.nav__arrow { font-size: 9px; }
@media (min-width: 1181px) and (max-width: 1519px) { .nav__floor { display: none; } }
@media (min-width: 1181px) and (max-width: 1379px) { .nav__floor { display: inline-flex; } }

/* ---- section rail ---- */
.panel { display: none !important; }
.rail { position: fixed; z-index: 80; right: 18px; top: 50%; transform: translateY(-50%); display: none; padding: 8px 5px; border-radius: 999px; }
@media (min-width: 1380px) { .rail { display: block; } }
.rail ol { position: relative; display: grid; gap: 2px; }
.rail__track { position: absolute; left: 50%; top: 30px; bottom: 30px; width: 1px; margin-left: -.5px; background: rgba(244,237,224,.14); }
.rail__fill { position: absolute; left: 0; top: 0; width: 100%; height: calc(var(--p, 0) * 100%); background: var(--coral); transition: height .8s cubic-bezier(.16,1,.3,1); }
.rail a { position: relative; display: grid; place-items: center; width: 44px; height: 44px; color: rgba(244,237,224,.6); }
.rail__dot { position: relative; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%;
  background: rgba(14,24,48,.88); box-shadow: inset 0 0 0 1px rgba(255,255,255,.10);
  transition: color .4s var(--ease), background-color .4s var(--ease), transform .5s cubic-bezier(.34,1.56,.64,1), box-shadow .4s; }
.rail svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; overflow: visible; }
.rail a:hover .rail__dot { color: var(--cream); background: rgba(40,58,100,.95); transform: scale(1.08); }
.rail a.is-active .rail__dot { color: var(--navy-deep); background: var(--coral); transform: scale(1.12);
  box-shadow: 0 0 0 4px rgba(255,107,88,.18), 0 8px 20px -6px rgba(255,107,88,.9); }
.rail__label { position: absolute; right: calc(100% + 12px); top: 50%; transform: translate(10px, -50%); white-space: nowrap; pointer-events: none;
  padding: 7px 12px; border-radius: 999px; font: 500 13px/1 var(--sans); color: var(--cream);
  background: rgba(10,18,38,.78); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); border: 1px solid rgba(255,255,255,.14);
  opacity: 0; transition: opacity .35s var(--ease), transform .5s cubic-bezier(.16,1,.3,1); }
.rail a:hover .rail__label, .rail a:focus-visible .rail__label, .rail a.is-active .rail__label { opacity: 1; transform: translate(0, -50%); }
.rail a.is-active .rail__label { color: var(--coral); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* icons: the active one draws itself, then keeps a small loop that says what the section is */
.rail a.is-active svg > * { stroke-dasharray: 70; stroke-dashoffset: 70; animation: icon-draw .9s cubic-bezier(.65,0,.35,1) forwards; }
@keyframes icon-draw { to { stroke-dashoffset: 0; } }
.rail a.is-active svg > *:nth-child(2) { animation-delay: .12s; }
.rail a.is-active svg > *:nth-child(3) { animation-delay: .24s; }
.rail a.is-active svg > *:nth-child(4) { animation-delay: .36s; }
.rail a.is-active svg > *:nth-child(5) { animation-delay: .48s; }
.rail svg * { transform-box: fill-box; }
/* intro: a small nod */
.rail a[data-icon="person"].is-active svg { animation: nod 2.8s ease-in-out .9s infinite; }
@keyframes nod { 0%, 70%, 100% { transform: translateY(0); } 80% { transform: translateY(-1.5px); } 90% { transform: translateY(.5px); } }
/* numbers: bars rise and settle */
.rail a[data-icon="bars"].is-active .i-bar { transform-origin: 50% 100%; animation: icon-draw .9s cubic-bezier(.65,0,.35,1) forwards, bar 1.8s ease-in-out 1s infinite alternate; }
.rail a[data-icon="bars"].is-active .b2 { animation-delay: .1s, 1.15s; } .rail a[data-icon="bars"].is-active .b3 { animation-delay: .2s, 1.3s; } .rail a[data-icon="bars"].is-active .b4 { animation-delay: .3s, 1.45s; }
@keyframes bar { to { transform: scaleY(.55); } }
/* career: the arrow keeps climbing */
.rail a[data-icon="stairs"].is-active .i-arrow { animation: icon-draw .9s forwards, climb 1.6s ease-in-out 1s infinite; }
@keyframes climb { 0%, 100% { transform: translate(0, 0); } 50% { transform: translate(1.5px, -1.5px); } }
/* principles: the columns lift into place */
.rail a[data-icon="pillars"].is-active .i-col { transform-origin: 50% 100%; animation: icon-draw .9s forwards, lift 2.4s ease-in-out 1s infinite; }
@keyframes lift { 0%, 100% { transform: scaleY(1); } 50% { transform: scaleY(.8); } }
/* on stage: the voice ring pulses */
.rail a[data-icon="mic"].is-active .i-wave { transform-origin: 50% 0; animation: icon-draw .9s forwards, voice 1.2s ease-in-out 1s infinite; }
@keyframes voice { 50% { transform: scale(1.12); opacity: .55; } }
/* record: the tick redraws */
.rail a[data-icon="doc"].is-active .i-check { animation: tick 2.6s cubic-bezier(.65,0,.35,1) .3s infinite; }
@keyframes tick { 0% { stroke-dashoffset: 70; } 35%, 85% { stroke-dashoffset: 0; } 100% { stroke-dashoffset: 0; opacity: 0; } }
/* next chapter: walking out of the door */
.rail a[data-icon="door"].is-active .i-go { animation: icon-draw .9s forwards, go 1.6s ease-in-out 1s infinite; }
@keyframes go { 0%, 100% { transform: translateX(0); } 50% { transform: translateX(2px); } }
/* ideas: the bulb lights */
.rail a[data-icon="bulb"].is-active .i-bulb { animation: icon-draw .9s forwards, glow 2s ease-in-out 1s infinite; }
@keyframes glow { 50% { fill: rgba(255,255,255,.55); } }
/* contact: the bubble bobs */
.rail a[data-icon="msg"].is-active .i-msg { animation: icon-draw .9s forwards, bob 1.8s ease-in-out 1s infinite; }
@keyframes bob { 50% { transform: translateY(-1.5px); } }

/* ---- smoother page: fewer expensive layers while scrolling ---- */
html { -webkit-tap-highlight-color: transparent; }
body { text-rendering: auto; }
.ground { contain: strict; }
.ground__blob { filter: none; will-change: transform; transform: translateZ(0); }
.ground__blob--a { background: radial-gradient(closest-side, rgba(255,107,88,.7), rgba(255,138,110,.32) 40%, rgba(255,138,110,.1) 65%, transparent 100%); }
.ground__blob--b { background: radial-gradient(closest-side, rgba(244,180,151,.42), rgba(244,180,151,.12) 50%, transparent 100%); }
.ground__blob--c { background: radial-gradient(closest-side, rgba(58,92,170,.6), rgba(42,66,120,.25) 50%, transparent 100%); }
.ground__ribs { mix-blend-mode: normal; opacity: .55; }
.ground__grain { mix-blend-mode: normal; opacity: .035; }
.card, .stop, .post, .next__panel, .stat { -webkit-backdrop-filter: none !important; backdrop-filter: none !important; }
.card { background: linear-gradient(140deg, rgba(29,46,85,.92), rgba(12,21,44,.9)) !important; }
.stop { background: rgba(14,24,48,.94); }
.cabin__glow { filter: blur(24px); will-change: transform; }
/* loops pause while their section is off screen */
.is-offscreen *, .is-offscreen *::before, .is-offscreen *::after { animation-play-state: paused !important; }
@media (prefers-reduced-motion: reduce) { .rail a.is-active svg *, .rail a.is-active svg { animation: none !important; stroke-dashoffset: 0 !important; } }
.rail a.is-active .rail__label { opacity: 0; transform: translate(10px, -50%); }
.rail a.is-announce .rail__label, .rail a:hover .rail__label, .rail a:focus-visible .rail__label { opacity: 1; transform: translate(0, -50%); }
/* light glass over the cream floor */
[data-light-surface] .nav, [data-light-surface] .rail {
  background: linear-gradient(180deg, rgba(255,255,255,.7), rgba(255,255,255,.45)), rgba(244,237,224,.3);
  border-color: rgba(20,33,61,.12);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.9), inset 0 -10px 20px -16px rgba(20,33,61,.18), 0 18px 40px -20px rgba(20,33,61,.35);
}
[data-light-surface] .nav__name, [data-light-surface] .nav__mark { color: var(--navy); }
[data-light-surface] .mark { background: var(--navy); color: var(--cream); }
[data-light-surface] .nav__links a { color: rgba(20,33,61,.72); }
[data-light-surface] .nav__links a:hover, [data-light-surface] .nav__links a.is-active { color: var(--navy); background: rgba(20,33,61,.07); }
[data-light-surface] .nav__toggle { background: rgba(20,33,61,.08); color: var(--navy); }
[data-light-surface] .nav::after { background: radial-gradient(180px 70px at var(--gx, 22%) -10%, rgba(255,255,255,.8), transparent 70%); }
.nav, .rail, .nav__links a, .nav__name, .mark { transition: background .5s var(--ease), color .5s var(--ease), border-color .5s, box-shadow .5s; }

/* ===================== In the press ===================== */
.press__lede { color: var(--muted); max-width: 34ch; font-size: 17px; }
.press__list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--rule); counter-reset: none; }
.press__row { position: relative; display: grid; grid-template-columns: 240px 1fr 120px 40px; gap: 28px; align-items: center; padding: 22px 8px; border-bottom: 1px solid var(--rule); color: inherit; text-decoration: none; isolation: isolate; overflow: hidden; }
.press__row::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(255,107,88,.14), rgba(255,107,88,0) 70%); transform: scaleX(0); transform-origin: left; transition: transform .55s var(--ease); }
.press__row:hover::before, .press__row:focus-visible::before { transform: scaleX(1); }
.press__pub { font-weight: 600; font-size: 15px; display: flex; flex-direction: column; gap: 4px; }
.press__pub em { font-style: normal; font-weight: 400; font-size: 13px; color: var(--muted); }
.press__head { font-family: var(--serif); font-size: clamp(20px, 1.7vw, 26px); line-height: 1.2; letter-spacing: -.015em; transition: transform .45s var(--ease), color .3s; }
.press__row:hover .press__head { transform: translateX(6px); }
.press__kind { font-size: 13px; color: var(--peach); justify-self: start; }
.press__go { width: 40px; height: 40px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 4px; transition: transform .35s var(--ease), background .35s, color .35s, border-color .35s; }
.press__row:hover .press__go { transform: rotate(45deg); background: var(--coral); color: var(--navy-deep); border-color: var(--coral); }
@media (max-width: 960px) { .press__row { grid-template-columns: 180px 1fr 40px; } .press__kind { display: none; } }
@media (max-width: 640px) { .press__row { grid-template-columns: 1fr 40px; gap: 8px 16px; padding: 18px 4px; } .press__pub { grid-column: 1; flex-direction: row; gap: 8px; font-size: 14px; } .press__head { grid-column: 1; font-size: 20px; } .press__go { grid-column: 2; grid-row: 1 / span 2; } }
/* rail: press lines type themselves */
.rail a[data-icon="news"].is-active .i-news { animation: icon-draw .9s forwards, type 2.4s ease-in-out 1s infinite; }
@keyframes type { 0% { stroke-dashoffset: 70; } 40%, 100% { stroke-dashoffset: 0; } }
