/* Powerhouse Coaching: "One light in the dark". Tokens and rules live in DESIGN.md. */

@font-face {
  font-family: "Archivo";
  src: url("/fonts/archivo-var.woff2") format("woff2");
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-display: swap;
}

:root {
  --dark: #141414;
  --dark-2: #19191c;
  --navy: #000e29;
  --tech: #2929fd;
  --bright: #455cff;
  --glacier: #5fd3ff;
  --steel: #bcd7f7;
  --white: #ffffff;
  --text: #f2f4f8;
  --muted: rgba(188, 215, 247, 0.62);
  --dim: rgba(188, 215, 247, 0.38);
  --line: rgba(188, 215, 247, 0.12);
  --font: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --gutter: clamp(16px, 4.4vw, 64px);
  --section: clamp(56px, 8vw, 116px);
  --radius: 4px;
  --header-h: 104px;
}

*, *::before, *::after { box-sizing: border-box; }
html, body { overflow-x: clip; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--dark);
  color: var(--text);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.55;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
main { overflow-x: clip; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
h1, h2, h3, p, ol, ul, figure { margin: 0; padding: 0; }
ol, ul { list-style: none; }
em { font-style: normal; }
strong { font-weight: 600; color: var(--white); }
::selection { background: var(--tech); color: #fff; }
:focus-visible { outline: 2px solid var(--glacier); outline-offset: 3px; border-radius: 2px; }

.skip { position: absolute; left: 12px; top: -60px; z-index: 10001; background: #fff; color: var(--dark); padding: 10px 14px; border-radius: var(--radius); font-weight: 600; }
.skip:focus { top: 12px; }

.wrap { width: 100%; max-width: 1320px; margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--section); position: relative; }

/* Type */
.label {
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--glacier);
  line-height: 1.4;
}
.h2 {
  font-weight: 300;
  font-size: clamp(36px, 4.6vw, 72px);
  line-height: 1.02;
  letter-spacing: -0.035em;
  color: var(--white);
  text-wrap: pretty;
}
.h3 {
  font-weight: 300;
  font-size: clamp(28px, 2.8vw, 44px);
  line-height: 1.06;
  letter-spacing: -0.03em;
  color: var(--white);
}
.lede { font-size: clamp(19px, 1.6vw, 24px); line-height: 1.45; color: var(--white); font-weight: 400; letter-spacing: -0.01em; }
.body { font-size: 17px; line-height: 1.6; color: var(--muted); }
.lit { color: var(--bright); }

/* Buttons: 4px corners, uppercase Archivo Bold. Hover is a colour swap only. */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 26px;
  border-radius: var(--radius);
  font-weight: 700;
  font-size: 12.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  white-space: nowrap;
  border: 1px solid transparent;
  transition: background-color 0.35s var(--ease), color 0.35s var(--ease), border-color 0.35s var(--ease);
}
.btn-primary { background: var(--white); color: var(--dark); }
.btn-primary:hover { background: var(--bright); color: var(--white); }
.btn-ghost { border-color: rgba(188, 215, 247, 0.34); color: var(--white); }
.btn-ghost:hover { background: var(--bright); border-color: var(--bright); color: var(--white); }

/* Header: in the page flow on desktop (scrolls away); sticky show/hide on phones (main.js). */
.site-header {
  position: absolute;
  top: 0; left: 0; right: 0;
  z-index: 9999;
  transform: translate3d(0, 0, 0);
  will-change: transform;
}
.header-inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
  padding-inline: var(--gutter);
}
.brand { display: block; flex: none; }
.brand-lockup { width: 124px; height: auto; }
.nav {
  position: absolute;
  left: 50%;
  top: 50%;
  translate: -50% -50%;
  display: flex;
  gap: clamp(22px, 2.6vw, 44px);
}
.nav a {
  font-size: 15px;
  font-weight: 500;
  font-stretch: 92%;
  letter-spacing: 0.01em;
  color: rgba(255, 255, 255, 0.82);
  transition: color 0.3s var(--ease);
}
.nav a:hover { color: var(--bright); }
.header-cta { min-height: 46px; padding: 0 20px; font-size: 12px; }
.menu-toggle { display: none; }

/* HERO */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  overflow: clip;
  isolation: isolate;
  background:
    radial-gradient(120% 90% at 78% 8%, rgba(0, 14, 41, 0.9), transparent 60%),
    var(--dark);
}
.hero-stage { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.hero-beam { position: absolute; inset: 0; }
.hero-beam span {
  position: absolute;
  right: -8vw;
  top: -42vh;
  width: 34vw;
  height: 170vh;
  rotate: 38deg;
  transform-origin: top center;
  background: linear-gradient(90deg, transparent 0%, rgba(41, 41, 253, 0.16) 22%, rgba(41, 41, 253, 0.62) 50%, rgba(69, 92, 255, 0.22) 74%, transparent 100%);
  filter: blur(34px);
  mask-image: linear-gradient(to bottom, #000 0%, #000 45%, transparent 92%);
  -webkit-mask-image: linear-gradient(to bottom, #000 0%, #000 45%, transparent 92%);
}
.hero-beam::after {
  content: "";
  position: absolute;
  right: -10vw; top: -20vh;
  width: 60vw; height: 70vh;
  background: radial-gradient(closest-side, rgba(41, 41, 253, 0.42), transparent);
  filter: blur(10px);
}
.hero-stamp {
  position: absolute;
  right: 41vw;
  top: 9vh;
  height: 104vh;
  width: auto;
  opacity: 0.9;
}
.hero-portrait {
  position: absolute;
  right: -1vw;
  bottom: 0;
  width: min(54vw, 104svh);
}
.hero-portrait img {
  width: 100%;
  height: auto;
  filter: drop-shadow(-2px -6px 28px rgba(41, 41, 253, 0.35));
  mask-image: linear-gradient(to bottom, #000 62%, transparent 97%);
  -webkit-mask-image: linear-gradient(to bottom, #000 62%, transparent 97%);
}
.hero-floor {
  position: absolute;
  inset: auto 0 0 0;
  height: 26vh;
  background: linear-gradient(to bottom, transparent, var(--dark));
}
.hero-copy {
  position: relative;
  z-index: 2;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding-top: calc(var(--header-h) + 24px);
  padding-bottom: clamp(48px, 10vh, 112px);
}
.hero-label { display: flex; align-items: center; gap: 14px; margin-bottom: 26px; color: var(--steel); }
.hero-label .sep { width: 28px; height: 1px; background: var(--glacier); opacity: 0.7; }
.hero-title {
  font-weight: 300;
  font-size: clamp(52px, 6.9vw, 128px);
  line-height: 0.98;
  letter-spacing: -0.04em;
  color: var(--white);
}
.hero-title .line { display: block; overflow: clip; padding-top: 0.08em; margin-top: -0.08em; padding-bottom: 0.04em; }
.hero-title .line > span { display: inline-block; }
.hero-title .lit { transition: color 1.4s var(--ease); }
.hero-sub { margin-top: 26px; font-size: clamp(17px, 1.35vw, 21px); color: var(--steel); max-width: 34ch; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.hero-credit {
  position: absolute;
  z-index: 2;
  right: var(--gutter);
  bottom: clamp(48px, 10vh, 112px);
  text-align: right;
  font-size: 13px;
  font-weight: 600;
  color: var(--white);
  letter-spacing: 0.02em;
  line-height: 1.5;
}
.hero-credit span { color: var(--muted); font-weight: 400; }

/* JS-first-paint states for the intro (only when motion is allowed) */
html.js-motion .hero-title .line > span { transform: translateY(108%); }
html.js-motion .hero-label,
html.js-motion .hero-sub,
html.js-motion .hero-ctas,
html.js-motion .hero-credit,
html.js-motion .hero-beam span,
html.js-motion .hero-beam::after,
html.js-motion .hero-stamp { opacity: 0; }
html.js-motion .hero-portrait img { opacity: 0; }
html.js-motion .hero.glow-on .hero-beam::after { opacity: 1; transition: opacity 2.4s ease; }
html.js-motion .hero-title .lit:not(.on) { color: var(--white); }
html.js-motion .reveal { opacity: 0; }

/* MARQUEE: the series line, autoplay */
.marquee {
  position: relative;
  overflow: hidden;
  border-block: 1px solid var(--line);
  padding-block: clamp(18px, 2vw, 28px);
  background: var(--dark);
}
.marquee-track { display: flex; width: max-content; animation: marquee 46s linear infinite; }
.marquee-group { display: flex; align-items: center; flex: none; }
.marquee span {
  font-weight: 300;
  font-size: clamp(24px, 2.6vw, 40px);
  letter-spacing: -0.03em;
  color: var(--white);
  white-space: nowrap;
  padding-inline: clamp(18px, 2vw, 32px);
}
.marquee em { color: var(--bright); }
.marquee i {
  display: block;
  width: 12px;
  height: 36px;
  flex: none;
  background: linear-gradient(to bottom, var(--bright), var(--navy));
  -webkit-mask: url("/img/ph-mark-mono.svg?v=1") center / contain no-repeat;
  mask: url("/img/ph-mark-mono.svg?v=1") center / contain no-repeat;
}
@keyframes marquee { to { transform: translateX(-50%); } }

/* ABOUT */
.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(40px, 6vw, 110px);
  align-items: start;
}
.about-copy .h2 { margin-bottom: 34px; }
.about-copy .lede { margin-bottom: 26px; max-width: 34ch; }
.about-copy .body { max-width: 52ch; }
.about-copy .body + .body { margin-top: 16px; }
.compare { margin-top: clamp(0px, 1.2vw, 14px); }
.compare-head, .compare-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 24px;
}
.compare-head {
  padding-bottom: 14px;
  font-weight: 700;
  font-size: 11.5px;
  letter-spacing: 0.26em;
  text-transform: uppercase;
}
.compare-head span:first-child { color: var(--dim); }
.compare-head span:last-child { color: var(--glacier); }
.compare-row { padding-block: 17px; border-top: 1px solid var(--line); font-size: 16px; line-height: 1.4; }
.compare-row span:first-child { color: var(--dim); }
.compare-row span:last-child { color: var(--white); }

/* THE WORK: pinned horizontal track */
.work { position: relative; z-index: 1; background: var(--dark); }
.work-pin {
  height: 100vh;
  height: 100svh;
  display: flex;
  flex-direction: column;
  padding-top: clamp(40px, 8svh, 96px);
  padding-bottom: clamp(24px, 5svh, 56px);
  overflow: hidden;
}
.work-intro { flex: none; padding-bottom: clamp(28px, 4svh, 48px); }
.work-intro .h2 { margin-bottom: 14px; }
.work-intro .body { max-width: 60ch; }
.work-viewport { position: relative; flex: 1; min-height: 0; overflow: hidden; }
.work-track {
  display: flex;
  gap: clamp(16px, 2vw, 28px);
  height: 100%;
  padding-block: 8px;
  padding-inline: var(--gutter);
  width: max-content;
  will-change: transform;
}
.work-card { position: relative; height: 100%; display: flex; flex-direction: column; flex: none; aspect-ratio: 0.74; }
.work-card:nth-child(4) { aspect-ratio: 1.5; }
.work-card .frame { flex: 1; min-height: 0; }
.work-card figcaption { flex: none; display: flex; flex-direction: column; gap: 4px; padding-top: 14px; font-size: 15px; color: var(--muted); }
.work-end {
  flex: none;
  height: 100%;
  width: clamp(280px, 34vw, 520px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 28px;
  padding-inline: clamp(12px, 3vw, 48px);
}
.work-end-line { font-weight: 300; font-size: clamp(34px, 3.8vw, 60px); line-height: 1.04; letter-spacing: -0.035em; }
.work-end .btn { align-self: flex-start; }

/* Lit photo frames: hard light from one corner, top edge catching it */
.frame {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  background: #0b0c12;
  isolation: isolate;
}
.frame img { width: 100%; height: 100%; object-fit: cover; }
.frame::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 1px;
  z-index: 2;
  background: linear-gradient(90deg, transparent 10%, rgba(95, 211, 255, 0.55) 70%, rgba(188, 215, 247, 0.8));
}
.frame::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: radial-gradient(60% 45% at 100% 0%, rgba(95, 211, 255, 0.10), transparent 70%);
  mix-blend-mode: screen;
}

/* PROGRAMS */
.programs .h2 { margin-bottom: clamp(36px, 5vw, 64px); }
.prog-door {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(32px, 5vw, 80px);
  padding: clamp(28px, 4vw, 56px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    radial-gradient(60% 80% at 0% 100%, rgba(41, 41, 253, 0.18), transparent 70%),
    var(--dark-2);
  overflow: hidden;
}
.prog-door-head { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; }
.prog-door-head .body { max-width: 40ch; }
.prog-door-head .btn { margin-top: 10px; }
.door-steps { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0; counter-reset: step; align-self: center; }
.door-steps li {
  counter-increment: step;
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 22px 0 22px 0;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 15px;
}
.door-steps li:nth-child(odd) { padding-right: 24px; }
.door-steps .door-n { color: var(--white); font-size: clamp(22px, 1.9vw, 28px); font-weight: 300; letter-spacing: -0.025em; line-height: 1.15; }
.door-steps .door-n::before { content: "0" counter(step); display: block; margin-bottom: 8px; font-size: 12px; font-weight: 700; letter-spacing: 0.26em; color: var(--glacier); }

.prog-sig {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: clamp(32px, 5vw, 80px);
  align-items: center;
  margin-top: clamp(56px, 7vw, 104px);
}
.sig-count { display: flex; align-items: flex-end; gap: clamp(14px, 2vw, 28px); }
.sig-ten {
  font-weight: 900;
  font-stretch: 62%;
  font-size: clamp(190px, 25vw, 400px);
  line-height: 0.78;
  letter-spacing: -0.04em;
  background: linear-gradient(to bottom, #6a6dff 0%, var(--tech) 34%, #1c1c8c 66%, #141426 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.sig-down { display: flex; flex-direction: column; gap: 2px; padding-bottom: 6px; }
.sig-down li {
  font-weight: 800;
  font-stretch: 62%;
  font-size: clamp(16px, 1.5vw, 22px);
  line-height: 1.05;
  color: var(--steel);
}
.sig-down li:nth-child(1) { opacity: 0.8; } .sig-down li:nth-child(2) { opacity: 0.7; } .sig-down li:nth-child(3) { opacity: 0.6; }
.sig-down li:nth-child(4) { opacity: 0.5; } .sig-down li:nth-child(5) { opacity: 0.42; } .sig-down li:nth-child(6) { opacity: 0.34; }
.sig-down li:nth-child(7) { opacity: 0.27; } .sig-down li:nth-child(8) { opacity: 0.2; } .sig-down li:nth-child(9) { opacity: 0.14; }
.sig-copy { display: flex; flex-direction: column; gap: 18px; align-items: flex-start; }
.sig-facts { display: flex; flex-wrap: wrap; gap: 0 14px; font-size: clamp(20px, 1.7vw, 26px); font-weight: 300; color: var(--steel); letter-spacing: -0.02em; }
.sig-copy .body { max-width: 48ch; }
.sig-foot { display: flex; align-items: center; flex-wrap: wrap; gap: 18px 28px; margin-top: 8px; }
.sig-spots { font-size: 15px; color: var(--muted); }
.sig-spots strong { color: var(--bright); font-weight: 600; }

.prog-add {
  display: grid;
  grid-template-columns: minmax(0, 300px) minmax(0, 1fr);
  gap: clamp(24px, 4vw, 56px);
  align-items: center;
  margin-top: clamp(56px, 7vw, 104px);
  padding-top: clamp(28px, 3vw, 40px);
  border-top: 1px solid var(--line);
}
.add-img { aspect-ratio: 16 / 10; }
.add-copy { display: flex; flex-direction: column; gap: 12px; }

/* VALUES */
.values { overflow: clip; }
.values-glow {
  position: absolute;
  right: -20vw; bottom: -20vh;
  width: 70vw; height: 70vh;
  background: radial-gradient(closest-side, rgba(41, 41, 253, 0.22), transparent);
  pointer-events: none;
}
.values-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 12px 40px; margin-bottom: clamp(32px, 4vw, 56px); }
.values-tag { font-weight: 300; font-size: clamp(22px, 2.2vw, 34px); letter-spacing: -0.03em; color: var(--dim); }
.values-list { position: relative; }
.value {
  display: grid;
  grid-template-columns: minmax(0, 110px) minmax(0, 1.25fr) minmax(0, 1fr);
  gap: clamp(16px, 3vw, 48px);
  align-items: baseline;
  padding-block: clamp(24px, 2.8vw, 38px);
  border-top: 1px solid var(--line);
}
.value-n { font-weight: 300; font-size: clamp(40px, 4vw, 62px); line-height: 1; letter-spacing: -0.04em; color: var(--bright); }
.value-title { font-weight: 300; font-size: clamp(22px, 2vw, 31px); line-height: 1.18; letter-spacing: -0.025em; color: var(--white); }
.value-body { color: var(--muted); font-size: 16px; }

/* FOUNDER */
.founder-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(40px, 6vw, 110px);
  align-items: center;
}
.founder-media { position: relative; padding-bottom: 18%; padding-left: 9%; }
.founder-portrait { width: 82%; aspect-ratio: 4 / 5; }
.founder-portrait img { object-position: 40% 30%; }
.founder-desk {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 44%;
  aspect-ratio: 4 / 5;
  z-index: 2;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.55);
}
.founder-desk img { object-position: 30% 60%; }
.founder-stamp { position: absolute; left: 0; top: 6%; width: auto; height: 34%; z-index: 3; }
.founder-copy .h2 { margin-bottom: 18px; }
.founder-name { font-size: 20px; color: var(--white); font-weight: 500; margin-bottom: 34px; }
.founder-name span { display: block; font-size: 15px; color: var(--muted); font-weight: 400; }
.scars { position: relative; padding-left: 26px; border-left: 1px solid var(--line); display: flex; flex-direction: column; gap: 14px; }
.scars li { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 14px; color: var(--muted); font-size: 16px; }
.scar-fig { font-weight: 300; font-size: clamp(26px, 2.4vw, 38px); letter-spacing: -0.03em; line-height: 1.05; color: var(--white); }
.scars .scar-turn { margin-top: 6px; }
.scars .scar-turn .scar-fig { color: var(--bright); }
.scars .scar-turn::before {
  content: "";
  position: absolute;
  left: -1px;
  width: 1px;
  height: 64px;
  margin-top: 2px;
  background: linear-gradient(to bottom, var(--bright), transparent);
}
.creds { margin-top: 34px; display: grid; gap: 8px; font-size: 15px; color: var(--steel); }
.creds li { display: flex; gap: 12px; }
.creds li::before { content: ""; flex: none; width: 10px; height: 1px; margin-top: 11px; background: var(--glacier); }

/* STATEMENT */
.statement { overflow: clip; padding-block: clamp(80px, 12vw, 180px); }
.statement-beam {
  position: absolute;
  left: -10vw; top: -30%;
  width: 26vw; height: 160%;
  rotate: -28deg;
  background: linear-gradient(90deg, transparent, rgba(41, 41, 253, 0.34), transparent);
  filter: blur(40px);
  pointer-events: none;
}
.statement-text {
  position: relative;
  font-weight: 300;
  font-size: clamp(28px, 3.5vw, 54px);
  line-height: 1.16;
  letter-spacing: -0.03em;
  color: var(--white);
  max-width: 30ch;
  margin-left: clamp(0px, 8vw, 140px);
}
.nots {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  gap: 12px 44px;
  margin-top: clamp(32px, 4vw, 56px);
  margin-left: clamp(0px, 8vw, 140px);
  color: var(--muted);
  font-size: 15px;
}

/* FAQ */
.faq-grid { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(32px, 6vw, 110px); align-items: start; }
.faq-list { border-bottom: 1px solid var(--line); }
.faq-item { border-top: 1px solid var(--line); }
.faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 24px 0;
  text-align: left;
  font-size: clamp(18px, 1.5vw, 22px);
  font-weight: 400;
  letter-spacing: -0.015em;
  line-height: 1.3;
  color: var(--white);
  transition: color 0.3s var(--ease);
}
.faq-q:hover { color: var(--bright); }
.faq-q i { position: relative; flex: none; width: 16px; height: 16px; }
.faq-q i::before, .faq-q i::after {
  content: "";
  position: absolute;
  left: 0; top: 7.5px;
  width: 16px; height: 1px;
  background: currentColor;
  transition: transform 0.5s var(--ease);
}
.faq-q i::after { transform: rotate(90deg); }
.faq-item.open .faq-q i::after { transform: rotate(0deg); }
.faq-item.open .faq-q { color: var(--bright); }
.faq-a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 0.55s var(--ease); }
.faq-a > div { overflow: hidden; }
.faq-a p { padding: 0 48px 26px 0; color: var(--muted); max-width: 62ch; opacity: 0; transform: translateY(-6px); transition: opacity 0.45s var(--ease), transform 0.55s var(--ease); }
.faq-item.open .faq-a { grid-template-rows: 1fr; }
.faq-item.open .faq-a p { opacity: 1; transform: none; transition-delay: 0.08s; }

/* CLOSER */
.closer {
  position: relative;
  overflow: clip;
  min-height: 78vh;
  min-height: 78svh;
  display: flex;
  align-items: center;
  padding-block: var(--section);
  border-top: 1px solid var(--line);
}
.closer-glow {
  position: absolute;
  right: -16vw; bottom: -30vh;
  width: 80vw; height: 90vh;
  background: radial-gradient(closest-side, rgba(41, 41, 253, 0.42), transparent);
  pointer-events: none;
}
.closer-stamp { position: absolute; right: 8vw; top: 8%; height: 84%; width: auto; pointer-events: none; }
.closer-inner { position: relative; z-index: 1; }
.closer-title { font-weight: 300; font-size: clamp(48px, 7vw, 124px); line-height: 0.98; letter-spacing: -0.04em; max-width: 12ch; margin-bottom: 28px; }
.closer .body { max-width: 46ch; color: var(--steel); }

/* FOOTER */
.site-footer { border-top: 1px solid var(--line); padding-top: clamp(48px, 6vw, 88px); padding-bottom: 32px; background: var(--dark); }
.footer-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr)); gap: 40px; }
.footer-brand img { width: 168px; margin-bottom: 20px; }
.footer-brand p { color: var(--muted); font-size: 15px; max-width: 30ch; }
.footer-col h3 { font-size: 20px; font-weight: 500; letter-spacing: -0.01em; color: var(--bright); margin-bottom: 18px; }
.footer-col ul { display: grid; gap: 10px; }
.footer-col a { font-size: 14.5px; color: var(--muted); transition: color 0.3s var(--ease); }
.footer-col a:hover { color: var(--white); }
.footer-base {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px 32px;
  margin-top: clamp(48px, 6vw, 80px);
  padding-top: 24px;
  border-top: 1px solid var(--line);
  font-size: 13.5px;
  color: var(--dim);
}
.footer-base a { color: var(--bright); font-weight: 600; }
.footer-line { font-size: 20px; font-weight: 300; letter-spacing: -0.02em; color: var(--white); }

/* MOBILE MENU: navy panel lit from one corner (brand: no flat blue backgrounds) */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 9998;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: calc(var(--header-h) + 24px) var(--gutter) max(32px, env(safe-area-inset-bottom));
  background: var(--navy);
  overflow: hidden;
  visibility: hidden;
  clip-path: inset(0 0 100% 0);
  transition: clip-path 0.7s var(--ease), visibility 0s linear 0.7s;
}
.mm-glow {
  position: absolute;
  right: -30vw; top: -20vh;
  width: 110vw; height: 70vh;
  background: radial-gradient(closest-side, rgba(41, 41, 253, 0.55), transparent);
  pointer-events: none;
}
.mm-nav { position: relative; display: flex; flex-direction: column; gap: 6px; }
.mm-nav a {
  font-weight: 300;
  font-size: clamp(38px, 10vw, 56px);
  line-height: 1.12;
  letter-spacing: -0.035em;
  color: var(--white);
}
.mm-foot { position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: 18px; }
.mm-handle { color: var(--steel); font-size: 15px; }
.mm-nav a, .mm-foot {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.4s var(--ease), transform 0.5s var(--ease);
  transition-delay: calc((5 - var(--i)) * 0.04s);
}
html.menu-open .mobile-menu { visibility: visible; clip-path: inset(0 0 0 0); transition: clip-path 0.7s var(--ease), visibility 0s; }
html.menu-open .mm-nav a, html.menu-open .mm-foot {
  opacity: 1;
  transform: none;
  transition: opacity 0.6s var(--ease), transform 0.7s var(--ease);
  transition-delay: calc(0.22s + var(--i) * 0.06s);
}
html.is-locked, html.is-locked body { overflow: hidden; }

/* PH mark used in the header on phones */
.brand-mark { display: none; }

@media (max-width: 1080px) {
  .nav { gap: 22px; }
  .nav a { font-size: 14px; }
}

@media (max-width: 899px) {
  :root { --header-h: 72px; }
  body { font-size: 16px; }
  .nav, .header-cta { display: none; }
  .brand-lockup { width: 96px; }
  .menu-toggle {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-end;
    gap: 7px;
    width: 44px;
    height: 44px;
    margin-right: -6px;
  }
  .menu-toggle span { display: block; width: 26px; height: 1.5px; background: var(--white); transition: transform 0.5s var(--ease), width 0.5s var(--ease); }
  .menu-toggle span:last-child { width: 18px; }
  html.menu-open .menu-toggle span:first-child { transform: translateY(4.25px) rotate(45deg); }
  html.menu-open .menu-toggle span:last-child { width: 26px; transform: translateY(-4.25px) rotate(-45deg); }

  /* Sticky show/hide header states (driven from main.js) */
  .site-header { transition: transform 0.6s var(--ease), opacity 0.6s var(--ease), background-color 0.3s; }
  .site-header.is-fixed { position: fixed; background: var(--dark); }
  .site-header.is-hidden { transform: translate3d(0, calc(-100% - 24px), 0); opacity: 0; pointer-events: none; }
  .site-header.no-anim { transition: none; }
  html.menu-open .site-header { background: transparent; transform: none; opacity: 1; pointer-events: auto; }

  .h2, .h3, .lede, .statement-text, .closer-title, .work-end-line, .value-title, .hero-sub { max-width: none; }

  /* Hero: portrait top, copy at the foot */
  .hero-portrait { width: 128vw; right: -24vw; bottom: auto; top: calc(var(--header-h) - 12px); }
  .hero-portrait img { mask-image: linear-gradient(to bottom, #000 52%, transparent 88%); -webkit-mask-image: linear-gradient(to bottom, #000 52%, transparent 88%); }
  .hero-stamp { right: auto; left: 2vw; top: calc(var(--header-h) + 4vh); height: 58vh; }
  .hero-beam span { width: 70vw; right: -30vw; top: -30vh; }
  .hero-floor { height: 50%; background: linear-gradient(to bottom, transparent, rgba(20, 20, 20, 0.92) 46%, var(--dark)); }
  .hero-copy { padding-bottom: 36px; }
  .hero-title { font-size: clamp(46px, 13.2vw, 76px); }
  .hero-label { margin-bottom: 18px; font-size: 11px; letter-spacing: 0.24em; }
  .hero-label .sep, .hero-label span:first-child { display: none; }
  .hero-sub { margin-top: 18px; font-size: 16px; }
  .hero-ctas { margin-top: 24px; }
  .hero-credit { display: none; }

  .about-grid, .faq-grid, .founder-grid, .prog-door, .prog-sig { grid-template-columns: minmax(0, 1fr); }
  .compare-head, .compare-row { gap: 16px; }
  .compare-row { font-size: 15px; }

  .work-intro { padding-bottom: 50px; }
  .work-intro .body { font-size: 15.5px; }
  .work-card { aspect-ratio: 0.7; max-width: 80vw; }
  .work-card:nth-child(4) { aspect-ratio: 1.15; max-width: 86vw; }
  .work-card figcaption { font-size: 14px; }
  .work-end { width: 76vw; }

  .door-steps { grid-template-columns: minmax(0, 1fr); }
  .door-steps li:nth-child(odd) { padding-right: 0; }
  .sig-ten { font-size: clamp(170px, 52vw, 260px); }
  .prog-add { grid-template-columns: minmax(0, 1fr); }
  .add-img { max-width: 100%; }

  .value { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .value-n { font-size: 40px; }

  .founder-media { padding-left: 7%; margin-bottom: 8px; }
  .statement-text, .nots { margin-left: 0; }
  .closer-stamp { right: -6vw; height: 70%; opacity: 0.8; }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 36px 24px; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 899px) and (min-width: 600px) {
  .hero-portrait { width: 92vw; right: -14vw; }
}

@media (max-width: 420px) {
  .hero-ctas .btn { padding: 0 18px; font-size: 11.5px; letter-spacing: 0.13em; }
}

/* Reduced motion: everything still and visible; the work track scrolls natively */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: 0.01ms !important; animation: none !important; scroll-behavior: auto !important; }
  .work-pin { height: auto; }
  .work-viewport { overflow-x: auto; height: 70svh; }
}

/* =====================================================================
   DESIGN OPTIONS (pitch only): ?hero= ?header= ?footer= ?btn= ?hfont= ?bfont=
   Remove the groups Matthew doesn't pick.
   ===================================================================== */
@font-face {
  font-family: "Geist";
  src: url("/fonts/geist-var.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}

/* Hidden by default: alternate pieces */
.hero-frame, .hero-spot, .brand-mark-hdr, .header-handle, .footer-v2, .footer-v3 { display: none; }
html[data-footer="2"] .site-footer:not(.footer-v2),
html[data-footer="3"] .site-footer:not(.footer-v3) { display: none; }
html[data-footer="2"] .footer-v2, html[data-footer="3"] .footer-v3 { display: block; }

/* ---------- HERO 2: framed full portrait, beam slicing across the frame edge ---------- */
html[data-hero="2"] .hero-portrait, html[data-hero="2"] .hero-credit { display: none; }
html[data-hero="2"] .hero-frame {
  display: block;
  position: absolute;
  right: var(--gutter);
  top: calc(var(--header-h) + 8px);
  bottom: clamp(48px, 10vh, 112px);
  width: min(46vw, 760px);
}
html[data-hero="2"] .hero-frame img { object-position: 46% 30%; }
html[data-hero="2"] .hero-stamp { right: auto; left: 34vw; top: 14vh; height: 80vh; opacity: 0.7; }
html[data-hero="2"] .hero-beam span { right: 18vw; width: 22vw; rotate: 34deg; z-index: 3; }
html[data-hero="2"] .hero-beam { z-index: 2; mix-blend-mode: screen; }
html[data-hero="2"] .hero-copy { z-index: 3; }
html[data-hero="2"] .hero-title { text-shadow: 0 2px 30px rgba(10, 10, 14, 0.5); }
html.js-motion[data-hero="2"] .hero-frame img { opacity: 0; }

/* ---------- HERO 3: spotlight, the light finds her and follows the pointer ---------- */
html[data-hero="3"] .hero-beam { display: none; }
html[data-hero="3"] .hero { background: #0f0f11; }
html[data-hero="3"] .hero-spot {
  display: block;
  position: absolute;
  inset: 0;
  background: radial-gradient(circle 34vmax at var(--sx, 72%) var(--sy, 40%), rgba(41, 41, 253, 0.42), rgba(0, 14, 41, 0.35) 45%, transparent 72%);
}
html[data-hero="3"] .hero-portrait { right: 4vw; width: min(50vw, 98svh); }
html[data-hero="3"] .hero-portrait img {
  filter: none;
  -webkit-mask-image: radial-gradient(circle 26vmax at var(--px, 60%) var(--py, 40%), #000 0%, #000 35%, rgba(0, 0, 0, 0.16) 100%), linear-gradient(to bottom, #000 62%, transparent 97%);
  -webkit-mask-composite: source-in;
  mask-image: radial-gradient(circle 26vmax at var(--px, 60%) var(--py, 40%), #000 0%, #000 35%, rgba(0, 0, 0, 0.16) 100%), linear-gradient(to bottom, #000 62%, transparent 97%);
  mask-composite: intersect;
}
html[data-hero="3"] .hero-stamp { right: auto; left: 46vw; top: 16vh; height: 80vh; opacity: 0.55; }
html[data-hero="3"] .hero-title { font-size: clamp(52px, 7.6vw, 140px); }

@media (max-width: 899px) {
  html[data-hero="2"] .hero-frame { left: var(--gutter); right: var(--gutter); width: auto; top: calc(var(--header-h) + 4px); bottom: 44%; }
  html[data-hero="2"] .hero-stamp { left: auto; right: 4vw; top: auto; bottom: 6vh; height: 46vh; }
  html[data-hero="2"] .hero-beam span { right: -10vw; width: 50vw; }
  html[data-hero="3"] .hero-portrait { width: 128vw; right: -24vw; }
  html[data-hero="3"] .hero-portrait img {
    -webkit-mask-image: radial-gradient(circle 46vmax at var(--px, 60%) var(--py, 40%), #000 0%, #000 35%, rgba(0, 0, 0, 0.16) 100%), linear-gradient(to bottom, #000 52%, transparent 88%);
    mask-image: radial-gradient(circle 46vmax at var(--px, 60%) var(--py, 40%), #000 0%, #000 35%, rgba(0, 0, 0, 0.16) 100%), linear-gradient(to bottom, #000 52%, transparent 88%);
  }
  html[data-hero="3"] .hero-stamp { left: 2vw; }
  html[data-hero="3"] .hero-title { font-size: clamp(46px, 13.2vw, 76px); }
}

/* ---------- HEADER 2: hard-left rail. Mark, rule, label nav; handle and outline CTA right ---------- */
@media (min-width: 900px) {
  html[data-header="2"] .brand-lockup { display: none; }
  html[data-header="2"] .brand-mark-hdr { display: block; position: absolute; left: var(--gutter); top: 50%; translate: 0 -50%; height: 58px; width: auto; pointer-events: none; }
  html[data-header="2"] .brand { width: 22px; height: 58px; }
  html[data-header="2"] .nav {
    position: static;
    translate: none;
    margin-left: 34px;
    margin-right: auto;
    padding-left: 30px;
    gap: 30px;
    box-shadow: inset 1px 0 0 rgba(188, 215, 247, 0.22);
  }
  html[data-header="2"] .nav a { font-size: 11.5px; font-weight: 700; font-stretch: 100%; letter-spacing: 0.26em; text-transform: uppercase; color: var(--steel); }
  html[data-header="2"] .nav a:hover { color: var(--bright); }
  html[data-header="2"] .header-handle { display: block; margin-right: 26px; font-size: 14px; color: var(--muted); transition: color 0.3s var(--ease); }
  html[data-header="2"] .header-handle:hover { color: var(--bright); }
  html[data-header="2"] .header-cta { background: transparent; color: var(--white); border-color: rgba(188, 215, 247, 0.34); }
  html[data-header="2"] .header-cta:hover { background: var(--bright); border-color: var(--bright); }
}

/* ---------- HEADER 3: the lit word. Big light nav, CTA as a lit text link ---------- */
@media (min-width: 900px) {
  html[data-header="3"] .nav a { font-size: 21px; font-weight: 300; font-stretch: 100%; letter-spacing: -0.02em; color: rgba(255, 255, 255, 0.7); }
  html[data-header="3"] .nav a:hover { color: var(--bright); }
  html[data-header="3"] .nav { gap: clamp(26px, 3vw, 52px); }
  html[data-header="3"] .header-cta {
    min-height: 0;
    padding: 0 0 6px;
    background: transparent;
    border: 0;
    border-radius: 0;
    color: var(--bright);
    font-size: 12px;
    box-shadow: inset 0 -1px 0 var(--bright);
  }
  html[data-header="3"] .header-cta:hover { color: var(--white); box-shadow: inset 0 -1px 0 var(--white); background: transparent; }
  html[data-header="3"] .header-cta span::after { content: " \2197"; letter-spacing: 0; }
}

/* ---------- FOOTER 2: the sign-off. Brand line across the whole width ---------- */
.footer-v2 .f2-line {
  font-weight: 300;
  font-size: clamp(44px, 8.6vw, 156px);
  line-height: 0.96;
  letter-spacing: -0.045em;
  color: var(--white);
  padding-bottom: clamp(36px, 5vw, 72px);
  border-bottom: 1px solid var(--line);
}
.f2-row { display: flex; align-items: center; flex-wrap: wrap; gap: 24px 48px; padding-top: clamp(32px, 4vw, 52px); }
.f2-row > img { width: 132px; }
.f2-links { display: flex; flex-wrap: wrap; gap: 10px 30px; margin-right: auto; }
.f2-links a { font-size: 17px; color: var(--muted); transition: color 0.3s var(--ease); }
.f2-links a:hover { color: var(--bright); }
.f2-small { color: var(--dim); }

/* ---------- FOOTER 3: the series line. The lit word keeps changing ---------- */
.footer-v3 { position: relative; overflow: clip; padding-top: clamp(64px, 8vw, 120px); }
.f3-glow { position: absolute; left: -20vw; top: -10vh; width: 70vw; height: 80vh; background: radial-gradient(closest-side, rgba(41, 41, 253, 0.32), transparent); pointer-events: none; }
.f3-mark { position: absolute; right: var(--gutter); top: clamp(48px, 6vw, 96px); height: min(64%, 520px); width: auto; pointer-events: none; }
.f3-inner { position: relative; }
.f3-series { font-weight: 300; font-size: clamp(40px, 6vw, 104px); line-height: 1; letter-spacing: -0.04em; color: var(--white); max-width: 12ch; margin-bottom: clamp(48px, 6vw, 96px); }
.f3-word-wrap { display: inline-block; overflow: clip; vertical-align: bottom; padding-top: 0.08em; margin-top: -0.08em; }
.f3-word { display: inline-block; }
.f3-cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; max-width: 760px; }
.footer-v3 .footer-base img { width: 96px; }
@media (max-width: 899px) {
  .f3-mark { height: 220px; top: auto; bottom: 120px; opacity: 0.5; }
  .f3-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .f3-series, .footer-v2 .f2-line { max-width: none; }
}

/* ---------- BUTTONS 2: edge-lit. Dark body, a blue light along the left edge ---------- */
html[data-btn="2"] .btn-primary,
html[data-btn="2"] .btn-ghost {
  background: linear-gradient(90deg, rgba(41, 41, 253, 0.32), rgba(41, 41, 253, 0) 46%), #1c1c22;
  color: var(--white);
  border: 1px solid rgba(188, 215, 247, 0.2);
  box-shadow: inset 3px 0 0 var(--bright);
}
html[data-btn="2"] .btn-ghost { background: transparent; box-shadow: inset 3px 0 0 rgba(188, 215, 247, 0.5); }
html[data-btn="2"] .btn-primary:hover,
html[data-btn="2"] .btn-ghost:hover { background: var(--bright); border-color: var(--bright); box-shadow: inset 3px 0 0 var(--white); }

/* ---------- BUTTONS 3: split. Label cell plus a fixed arrow cell ---------- */
html[data-btn="3"] .btn { padding: 0 0 0 24px; gap: 0; }
html[data-btn="3"] .btn::after {
  content: "\2192";
  display: grid;
  place-items: center;
  align-self: stretch;
  width: 52px;
  margin-left: 24px;
  font-size: 17px;
  letter-spacing: 0;
  border-left: 1px solid rgba(20, 20, 20, 0.18);
  transition: border-color 0.35s var(--ease);
}
html[data-btn="3"] .btn-ghost::after { border-left-color: rgba(188, 215, 247, 0.3); }
html[data-btn="3"] .btn:hover::after { border-left-color: rgba(255, 255, 255, 0.35); }
html[data-header="3"][data-btn="3"] .header-cta::after { display: none; }

/* ---------- HEADING FONTS ---------- */
html[data-hfont="2"] :is(.h2, .h3, .hero-title, .closer-title, .statement-text, .work-end-line, .value-title, .marquee span, .f2-line, .f3-series, .footer-line, .mm-nav a, .scar-fig, .value-n, .door-n) {
  font-stretch: 118%;
  font-weight: 200;
  letter-spacing: -0.035em;
}
html[data-hfont="2"] .hero-title { font-size: clamp(44px, 5.7vw, 108px); }
html[data-hfont="2"] .h2 { font-size: clamp(32px, 3.9vw, 62px); }
html[data-hfont="3"] :is(.h2, .h3, .hero-title, .closer-title, .statement-text, .work-end-line, .value-title, .marquee span, .f2-line, .f3-series, .footer-line, .mm-nav a, .scar-fig, .value-n, .door-n) {
  font-stretch: 72%;
  font-weight: 500;
  letter-spacing: -0.02em;
}
html[data-hfont="3"] .hero-title { font-size: clamp(56px, 8.6vw, 156px); line-height: 0.94; }
html[data-hfont="3"] .h2 { font-size: clamp(40px, 5.4vw, 84px); line-height: 0.98; }

/* ---------- BODY FONTS ---------- */
html[data-bfont="2"] body { font-stretch: 88%; letter-spacing: 0.005em; }
html[data-bfont="2"] :is(.body, .lede, .hero-sub, .compare-row, .value-body, .faq-a p, .creds, .scars li) { font-stretch: 88%; }
html[data-bfont="3"] :is(body, .body, .lede, .hero-sub, .compare-row, .value-body, .faq-a p, .creds, .scars li, .faq-q, .nav a, .footer-col a, .f2-links a, .sig-facts, .founder-name, .door-steps li) { font-family: "Geist", var(--font); }
