/* ============================================================
   AI JOE HQ — Unified Design System
   Margiela meets a classified brief. Restraint is the aesthetic.
   The people who get it will know. Nothing shouts.
   ============================================================ */

/* ---------- FONTS (self-hosted) ---------- */
@font-face {
  font-family: 'Cormorant Garamond';
  src: url('../fonts/CormorantGaramond-VariableFont_wght.ttf') format('truetype');
  font-weight: 300 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Cormorant Garamond';
  src: url('../fonts/CormorantGaramond-Italic-VariableFont_wght.ttf') format('truetype');
  font-weight: 300 700;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: 'DM Mono';
  src: url('../fonts/DMMono-Light.ttf') format('truetype');
  font-weight: 300; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'DM Mono';
  src: url('../fonts/DMMono-Regular.ttf') format('truetype');
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'DM Mono';
  src: url('../fonts/DMMono-Medium.ttf') format('truetype');
  font-weight: 500; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'DM Mono';
  src: url('../fonts/DMMono-Italic.ttf') format('truetype');
  font-weight: 400; font-style: italic; font-display: swap;
}

/* ---------- TOKENS ---------- */
:root {
  /* brand constants */
  --ink: #0a0a0a;
  --ink-raise: #141312;
  --paper: #f2efe8;
  --paper-bright: #f5f3ec;
  --paper-soft: #e9e4d8;
  --accent: #3f8b85;          /* the single controlled pop */
  --accent-bright: #6cb8b1;

  --mono: 'DM Mono', ui-monospace, 'SFMono-Regular', Menlo, monospace;
  --serif: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  --sans: 'Helvetica Neue', Helvetica, Arial, system-ui, sans-serif;

  /* semantic, themed per-panel below */
  --bg: var(--paper);
  --fg: var(--ink);
  --fg-dim: #5f5a50;
  --fg-faint: #6b6458;
  --hair: #dad4c7;
  --hair-strong: #c7c0b0;
  --field: transparent;

  --gutter: 56px;
  --maxw: 1180px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* Dark panels + dark page theme */
.panel-dark,
body.theme-dark {
  --bg: var(--ink);
  --fg: var(--paper);
  --fg-dim: rgba(242, 239, 232, 0.56);
  --fg-faint: rgba(242, 239, 232, 0.49);
  --hair: rgba(242, 239, 232, 0.12);
  --hair-strong: rgba(242, 239, 232, 0.22);
  --accent: var(--accent-bright);
}

/* ---------- RESET ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 80px; }
img, svg, video { display: block; max-width: 100%; }
a { color: inherit; }
::selection { background: rgba(63, 139, 133, 0.22); color: inherit; }

/* keyboard focus — visible, on-brand, mouse clicks stay clean */
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.btn:focus-visible, .nav__contact:focus-visible { outline-offset: 5px; }

/* skip link */
.skip { position: fixed; left: 16px; top: -60px; z-index: 2100; background: var(--ink); color: var(--paper); font-family: var(--mono); font-size: 13.2px; letter-spacing: 0.16em; text-transform: uppercase; padding: 12px 18px; text-decoration: none; transition: top 0.2s var(--ease); }
.skip:focus { top: 16px; }

/* no-js fallback: keep all content visible if JS never runs */
.no-js .mod__panel, .no-js .faq__panel { height: auto; overflow: visible; }
.no-js .mod__toggle, .no-js .faq__icon { display: none; }
.no-js .loader { display: none; }

body {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-weight: 300;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
body.theme-dark { background: var(--ink); color: var(--paper); }

h1, h2, h3, h4 { font-weight: 300; }

/* ---------- FILM GRAIN (perf-conscious) ---------- */
.grain {
  position: fixed;
  inset: 0;
  z-index: 1200;
  pointer-events: none;
  opacity: 0.42;
  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='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.5'/%3E%3C/svg%3E");
  background-size: 180px 180px;
  mix-blend-mode: soft-light;
}

/* ---------- LOADER ---------- */
.loader {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: var(--ink);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 22px;
  transition: opacity 0.6s var(--ease);
}
.loader__mark {
  font-family: var(--mono);
  font-size: 14.4px;
  letter-spacing: 0.42em;
  color: var(--paper);
  text-transform: uppercase;
  text-indent: 0.42em;
}
.loader__bar {
  width: 180px;
  height: 1px;
  background: rgba(242, 239, 232, 0.14);
  overflow: hidden;
}
.loader__bar i {
  display: block;
  height: 100%;
  width: 0%;
  background: var(--paper);
  transition: width 0.7s var(--ease);
}
.loader__status {
  font-family: var(--mono);
  font-size: 10.8px;
  letter-spacing: 0.32em;
  color: rgba(242, 239, 232, 0.34);
  text-transform: uppercase;
}
body.loaded .loader { opacity: 0; visibility: hidden; }

/* ---------- NAV ---------- */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px var(--gutter);
  background: rgba(242, 239, 232, 0.92);
  background: color-mix(in srgb, var(--paper) 86%, transparent);
  backdrop-filter: blur(14px) saturate(120%);
  -webkit-backdrop-filter: blur(14px) saturate(120%);
  border-bottom: 1px solid var(--hair);
  transition: background 0.4s var(--ease), border-color 0.4s var(--ease), transform 0.5s var(--ease);
}
body.theme-dark .nav {
  background: rgba(10, 10, 10, 0.9);
  background: color-mix(in srgb, var(--ink) 80%, transparent);
  border-bottom-color: rgba(242, 239, 232, 0.10);
}
.nav.nav--hidden { transform: translateY(-104%); }
.nav__logo {
  font-family: var(--mono);
  font-size: 13.2px;
  letter-spacing: 0.20em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--ink);
  padding: 14px 0;
  margin: -14px 0;
}
body.theme-dark .nav__logo { color: var(--paper); }
.nav__right { display: flex; align-items: center; gap: 26px; }
.nav__meta {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.16em;
  color: var(--fg-faint);
  text-transform: uppercase;
}
@media (max-width: 600px) { .nav__meta { display: none; } }
.nav__contact {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--ink);
  border: 1px solid var(--hair-strong);
  padding: 13px 18px;
  transition: background 0.25s var(--ease), color 0.25s var(--ease), border-color 0.25s var(--ease);
}
body.theme-dark .nav__contact { color: var(--paper); border-color: rgba(242,239,232,0.22); }
.nav__contact:hover { background: var(--ink); color: var(--paper); border-color: var(--ink); }
body.theme-dark .nav__contact:hover { background: var(--paper); color: var(--ink); border-color: var(--paper); }

/* scroll progress hairline */
.nav__progress {
  position: absolute;
  left: 0; bottom: -1px;
  height: 1px;
  width: 0%;
  background: var(--accent);
  opacity: 0.7;
}

/* ---------- BUTTONS ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--mono);
  font-size: 13.2px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 16px 32px;
  cursor: pointer;
  border: 1px solid transparent;
  transition: background 0.3s var(--ease), color 0.3s var(--ease), border-color 0.3s var(--ease);
}
.btn--solid { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.btn--solid:hover { background: transparent; color: var(--ink); border-color: var(--ink); }
body.theme-dark .btn--solid,
.panel-dark .btn--solid { background: var(--paper); color: var(--ink); border-color: var(--paper); }
body.theme-dark .btn--solid:hover,
.panel-dark .btn--solid:hover { background: transparent; color: var(--paper); border-color: var(--paper); }
.btn--ghost { background: transparent; color: var(--fg); border-color: var(--hair-strong); }
.btn--ghost:hover { border-color: var(--fg); }
.btn__dot { width: 5px; height: 5px; border-radius: 50%; background: var(--accent); flex: none; }
.btn .btn__arrow { transition: transform 0.3s var(--ease); }
.btn:hover .btn__arrow { transform: translateX(4px); }

/* ---------- LAYOUT ---------- */
.panel {
  position: relative;
  padding: 104px var(--gutter);
  background: var(--bg);
  color: var(--fg);
  border-bottom: 1px solid var(--hair);
}
.panel--tight { padding-top: 64px; padding-bottom: 64px; }
.wrap { max-width: var(--maxw); margin: 0 auto; }

/* full-bleed photographic background for a panel, with a dark scrim for legibility */
.panel--media { background-color: var(--ink); background-size: cover; background-position: center; background-repeat: no-repeat; }
.panel--media > .wrap { position: relative; z-index: 1; }

/* ---------- ANNOUNCEMENT BAND (time-bound event; remove block when done) ---------- */
.band { background: var(--paper); border-bottom: 1px solid var(--hair); padding: 40px var(--gutter); }
.band__inner {
  max-width: var(--maxw); margin: 0 auto;
  display: grid; grid-template-columns: 1fr auto; gap: 44px; align-items: center;
  background: var(--paper-bright);
  border: 1px solid var(--hair-strong); border-top: 2px solid var(--accent);
  padding: 32px 36px;
}
.band .label { margin-bottom: 16px; }
.band__head { font-size: clamp(24px, 2.8vw, 36px); line-height: 1.1; margin-bottom: 12px; }
.band__copy { font-family: var(--mono); font-size: 12px; letter-spacing: 0.02em; line-height: 1.8; color: var(--fg-dim); text-transform: none; max-width: 70ch; }
.band__cta { flex: none; white-space: nowrap; }

/* soft bridge line (workshop -> Lab) */
.bridge { max-width: 760px; }
.bridge__line { font-family: var(--serif); font-weight: 300; font-size: clamp(20px, 2.2vw, 28px); line-height: 1.5; color: var(--fg-dim); }
.bridge__line a { color: var(--fg); text-decoration: none; border-bottom: 1px solid var(--hair-strong); transition: border-color 0.25s var(--ease); }
.bridge__line a:hover { border-color: var(--accent); }
@media (max-width: 760px) {
  .band { padding: 32px var(--gutter); }
  .band__inner { grid-template-columns: 1fr; gap: 24px; align-items: start; padding: 28px 24px; }
}

/* section label with tactical annotation */
.label {
  display: flex;
  align-items: center;
  gap: 16px;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--fg-dim);
  margin-bottom: 52px;
}
.label::before {
  content: '';
  width: 5px; height: 5px;
  background: var(--accent);
  flex: none;
  transform: rotate(45deg);
}
.label .label__line {
  height: 1px;
  width: 0;
  max-width: 72px;
  background: var(--hair-strong);
  transition: width 0.7s var(--ease) 0.15s;
}
.label.is-drawn .label__line { width: 72px; }
.label .label__code { margin-left: auto; color: var(--fg-faint); letter-spacing: 0.18em; }

/* shared headline */
.h-display {
  font-family: var(--serif);
  font-weight: 300;
  line-height: 1.04;
  letter-spacing: -0.012em;
  font-size: clamp(40.8px, 5.52vw, 72px);
  color: var(--fg);
}
.h-display em { font-style: italic; color: var(--fg-dim); }

/* ---------- REVEALS ---------- */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
}
.reveal.is-in { opacity: 1; transform: none; }
.reveal[data-d="1"] { transition-delay: 0.08s; }
.reveal[data-d="2"] { transition-delay: 0.16s; }
.reveal[data-d="3"] { transition-delay: 0.24s; }
.reveal[data-d="4"] { transition-delay: 0.32s; }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 150px var(--gutter) 72px;
  overflow: hidden;
  border-bottom: 1px solid rgba(242, 239, 232, 0.10);
  color: var(--paper);
  background: var(--ink); /* fallback so hero text stays legible if media is slow/blocked */
}
.hero__bg { position: absolute; inset: 0; z-index: 0; background: var(--ink); }
.hero__bg video,
.hero__bg img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero__bg::after {
  content: '';
  position: absolute; inset: 0;
  background:
    linear-gradient(to bottom, rgba(10,10,10,0.50) 0%, rgba(10,10,10,0.18) 38%, rgba(10,10,10,0.55) 72%, rgba(10,10,10,0.92) 100%);
}
.hero__bg::before { /* subtle vignette */
  content: '';
  position: absolute; inset: 0; z-index: 1;
  background: radial-gradient(120% 80% at 50% 40%, transparent 55%, rgba(10,10,10,0.45) 100%);
}
.hero > *:not(.hero__bg):not(.hero__frame) { position: relative; z-index: 2; }

/* tactical hero frame */
.hero__frame {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
}
.hero__coord {
  position: absolute;
  font-family: var(--mono);
  font-size: 10.8px;
  letter-spacing: 0.16em;
  color: rgba(242, 239, 232, 0.42);
  text-transform: uppercase;
}
.hero__coord--tl { top: -7px; left: 14px; background: transparent; }
.hero__coord--tr { top: -7px; right: 14px; }
.hero__coord--br { bottom: -7px; right: 14px; }
/* one-time scan: a thin turquoise line that zips down the hero on load. sits above the video, never obscures it */
.hero__scan {
  position: absolute; left: 0; right: 0; top: 0; height: 3px; z-index: 2; pointer-events: none;
  background: linear-gradient(90deg, transparent, rgba(108,184,177,0.85), transparent);
  box-shadow: 0 0 12px rgba(108,184,177,0.5);
  opacity: 0;
}
@media (prefers-reduced-motion: no-preference) {
  body.loaded .hero__scan { animation: heroScan 2.4s var(--ease) 0.5s 1 forwards; }
}
@keyframes heroScan {
  0%   { top: 0;    opacity: 0; }
  10%  { opacity: 0.95; }
  90%  { opacity: 0.95; }
  100% { top: 100%; opacity: 0; }
}
.hero__kicker {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: rgba(242, 239, 232, 0.66);
  margin-bottom: 30px;
  display: flex; align-items: center; gap: 12px;
}
.hero__kicker .dot { width: 5px; height: 5px; border-radius: 50%; background: var(--accent-bright); }

.hero h1 {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(60px, 10.08vw, 156px);
  line-height: 0.92;
  letter-spacing: -0.022em;
  color: var(--paper);
  max-width: 16ch;
  margin-bottom: 38px;
  text-shadow: 0 2px 30px rgba(0,0,0,0.35);
}
.hero h1 em { font-style: italic; color: rgba(242, 239, 232, 0.82); }
.hero__sub {
  font-size: 20.4px;
  font-weight: 300;
  color: rgba(242, 239, 232, 0.74);
  max-width: 50ch;
  line-height: 1.7;
  margin-bottom: 44px;
}
.hero__actions { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
/* hero primary CTA: warm-white, decisive contrast over media */
.hero .btn--solid { background: var(--paper); color: var(--ink); border-color: var(--paper); }
.hero .btn--solid:hover { background: transparent; color: var(--paper); border-color: var(--paper); }
.hero__meta {
  display: flex; gap: 44px; flex-wrap: wrap;
  margin-top: 52px;
  padding-top: 30px;
  border-top: 1px solid rgba(242, 239, 232, 0.12);
}
.hero__meta-item { display: flex; flex-direction: column; gap: 6px; }
.hero__meta-label { font-family: var(--mono); font-size: 10.8px; letter-spacing: 0.18em; color: rgba(242,239,232,0.45); text-transform: uppercase; }
.hero__meta-val { font-size: 16.8px; font-weight: 400; color: rgba(242,239,232,0.9); }

/* hero countdown */
.hero__countdown { margin-top: 44px; }

/* ---------- COUNTDOWN ---------- */
.countdown__label {
  font-family: var(--mono); font-size: 12px; letter-spacing: 0.20em;
  color: var(--fg-faint); text-transform: uppercase; margin-bottom: 14px;
}
.hero .countdown__label { color: rgba(242,239,232,0.45); }
.countdown__row { display: flex; gap: 22px; align-items: baseline; }
.countdown__unit { display: flex; flex-direction: column; align-items: center; gap: 6px; }
.countdown__num {
  font-family: var(--serif); font-weight: 300; font-size: clamp(40.8px, 4.8vw, 62.4px);
  line-height: 1; letter-spacing: -0.02em; color: var(--fg);
  font-variant-numeric: tabular-nums;
}
.hero .countdown__num { color: var(--paper); }
.countdown__u-label { font-family: var(--mono); font-size: 10.8px; letter-spacing: 0.16em; color: var(--fg-faint); text-transform: uppercase; }
.hero .countdown__u-label { color: rgba(242,239,232,0.32); }
.countdown__sep { font-family: var(--mono); font-size: 26.4px; color: var(--fg-faint); opacity: 0.5; padding-bottom: 8px; }

/* ============================================================
   BRIEFING / INTRO
   ============================================================ */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: start; }
.split--bio { grid-template-columns: 240px 1fr; gap: 72px; }
.prose p { color: var(--fg-dim); font-size: 19.2px; line-height: 1.85; margin-bottom: 20px; }
.prose p:last-child { margin-bottom: 0; }
.prose strong { color: var(--fg); font-weight: 400; }
.split--bio .prose p { max-width: 62ch; }

.stats {
  display: grid; grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--hair); border-left: 1px solid var(--hair);
  margin-top: 80px;
}
.stat { padding: 36px 30px; border-right: 1px solid var(--hair); border-bottom: 1px solid var(--hair); }
.stat__num { font-family: var(--serif); font-size: clamp(48px, 4.8vw, 64.8px); font-weight: 300; line-height: 1; color: var(--fg); margin-bottom: 10px; font-variant-numeric: tabular-nums; }
.stat__desc { font-family: var(--mono); font-size: 10.8px; letter-spacing: 0.13em; text-transform: uppercase; color: var(--fg-dim); line-height: 1.5; }

/* ============================================================
   THE OPERATING SYSTEM (new section)
   "above the prompt layer"
   ============================================================ */
.os__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; margin-bottom: 64px; }
.os__head p { font-size: 15.6px; color: var(--fg-dim); max-width: 32ch; text-align: right; line-height: 1.7; }
.os__stack { display: flex; flex-direction: column; }

.os__layer {
  position: relative;
  border: 1px solid var(--hair);
  border-bottom: none;
  padding: 30px 34px;
  display: grid;
  grid-template-columns: 150px 1fr auto;
  gap: 28px;
  align-items: center;
  transition: background 0.4s var(--ease);
}
.os__stack .os__layer:last-of-type { border-bottom: 1px solid var(--hair); }
.os__layer:hover { background: color-mix(in srgb, var(--accent) 6%, transparent); }
.os__layer--direct { background: color-mix(in srgb, var(--accent) 4%, transparent); }
.os__tier { font-family: var(--mono); font-size: 10.8px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--accent); }
.os__name { font-family: var(--serif); font-size: clamp(28.8px, 3.12vw, 40.8px); font-weight: 300; color: var(--fg); line-height: 1.1; }
.os__name em { font-style: italic; color: var(--fg-dim); }
.os__note { font-family: var(--mono); font-size: 12px; letter-spacing: 0.04em; color: var(--fg-dim); text-transform: uppercase; max-width: 26ch; text-align: right; line-height: 1.7; }
.os__steps { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 12px; }
.os__chip {
  font-family: var(--mono); font-size: 10.8px; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--fg-dim); border: 1px solid var(--hair-strong); padding: 6px 12px;
}

/* the dividing line: the prompt layer */
.os__divider {
  display: flex; align-items: center; gap: 18px;
  padding: 18px 34px;
  border: 1px dashed var(--hair-strong);
  border-top: none; border-bottom: none;
}
.os__divider span {
  font-family: var(--mono); font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--fg-dim);
}
.os__divider .os__divider-line { flex: 1; height: 1px; background: var(--hair-strong); }
.os__layer--exec { opacity: 0.78; }
.os__layer--exec .os__name { color: var(--fg-dim); }

/* ============================================================
   BIO
   ============================================================ */
.bio__photo {
  width: 240px; height: 300px; object-fit: cover; object-position: center top;
  filter: grayscale(100%) contrast(1.02); border-radius: 2px;
}
.bio__name { font-family: var(--serif); font-weight: 300; font-size: clamp(40.8px, 4.8vw, 62.4px); line-height: 1.06; color: var(--fg); margin-bottom: 12px; }
.bio__name em { font-style: italic; color: var(--fg-dim); }
.bio__rule { width: 30px; height: 1px; background: var(--hair-strong); margin: 26px 0; }
.creds { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 34px; }
.cred {
  font-family: var(--mono); font-size: 9.6px; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--fg-dim); border: 1px solid var(--hair-strong); padding: 7px 12px;
  transition: border-color 0.25s var(--ease), color 0.25s var(--ease);
}
.cred:hover { border-color: var(--accent); color: var(--fg); }

/* ============================================================
   LOGO MARQUEE
   ============================================================ */
.marq { overflow: hidden; }
.marq__label {
  font-family: var(--mono); font-size: 12px; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--fg-dim); margin-bottom: 34px; display: flex; align-items: center; gap: 14px;
}
.marq__label::before { content: ''; width: 5px; height: 5px; background: var(--accent); transform: rotate(45deg); }
.marq__track {
  display: flex; gap: 60px; align-items: center; width: max-content;
}
@media (prefers-reduced-motion: no-preference) {
  .marq__track { animation: marquee 38s linear infinite; }
  .marq:hover .marq__track { animation-play-state: paused; }
}
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.marq__item { display: flex; align-items: center; }
.marq__item img { opacity: 0.5; transition: opacity 0.35s var(--ease); }
.marq__item:hover img { opacity: 0.95; }
/* uniform monochrome — the quiet, editorial treatment */
.marq--brands .marq__item img { filter: brightness(0) invert(1); }      /* white silhouettes on dark */
.marq--light .marq__item img { filter: brightness(0); opacity: 0.42; }  /* ink silhouettes on light */
.marq--light .marq__item:hover img { opacity: 0.85; }
/* text wordmark (e.g. U2) styled to read as a logo in the silhouette row */
.marq__word { font-family: var(--sans); font-weight: 700; font-size: 38px; letter-spacing: 0.02em; line-height: 1; color: var(--paper); opacity: 0.5; transition: opacity 0.35s var(--ease); }
.marq--brands .marq__item:hover .marq__word { opacity: 0.95; }

/* ============================================================
   PHILOSOPHY
   ============================================================ */
.philo { max-width: 880px; margin: 0 auto; text-align: center; }
.philo__quote {
  font-family: var(--serif); font-style: italic; font-weight: 300;
  font-size: clamp(32.4px, 4.08vw, 55.2px); line-height: 1.32; color: var(--fg);
  letter-spacing: -0.01em; margin-bottom: 36px;
}
.philo__attr { font-family: var(--mono); font-size: 12px; letter-spacing: 0.22em; color: var(--fg-dim); text-transform: uppercase; }

/* ============================================================
   MODULES — operation files
   ============================================================ */
.mods__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; margin-bottom: 56px; }
.mods__head p { font-size: 15.6px; color: var(--fg-dim); max-width: 30ch; text-align: right; line-height: 1.7; }
.mods { border-top: 1px solid var(--hair); }
.mod {
  border-bottom: 1px solid var(--hair);
  position: relative;
  overflow: hidden;
}
.mod__trigger {
  width: 100%;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  display: grid;
  grid-template-columns: 130px 1fr auto;
  gap: 32px;
  align-items: center;
  padding: 34px 8px;
  color: inherit;
  font: inherit;
  transition: padding-left 0.4s var(--ease);
  position: relative;
  z-index: 2;
}
.mod__trigger:hover { padding-left: 20px; }
.mod__code { font-family: var(--mono); font-size: 13.2px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--fg-faint); }
.mod__titles { display: flex; flex-direction: column; gap: 6px; }
.mod__title { font-family: var(--serif); font-weight: 300; font-size: clamp(26.4px, 2.88vw, 36px); line-height: 1.12; color: var(--fg); }
.mod__week { font-family: var(--mono); font-size: 10.8px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--fg-faint); }
.mod__toggle {
  width: 34px; height: 34px; border: 1px solid var(--hair-strong); border-radius: 50%;
  display: flex; align-items: center; justify-content: center; flex: none;
  position: relative; transition: border-color 0.3s var(--ease), background 0.3s var(--ease);
}
.mod__toggle::before, .mod__toggle::after { content: ''; position: absolute; background: var(--fg); transition: transform 0.35s var(--ease), opacity 0.3s var(--ease); }
.mod__toggle::before { width: 11px; height: 1px; }
.mod__toggle::after { width: 1px; height: 11px; }
.mod[open] .mod__toggle::after { transform: scaleY(0); opacity: 0; }
.mod[open] .mod__toggle { border-color: var(--accent); background: color-mix(in srgb, var(--accent) 14%, transparent); }
.mod__ghost {
  position: absolute; right: 4%; top: 50%; transform: translateY(-50%);
  font-family: var(--serif); font-weight: 300; font-size: clamp(144px, 19.2vw, 264px);
  line-height: 1; color: color-mix(in srgb, var(--fg) 4%, transparent); letter-spacing: -0.04em;
  pointer-events: none; user-select: none; z-index: 0; transition: color 0.5s var(--ease);
}
.mod[open] .mod__ghost { color: color-mix(in srgb, var(--accent) 12%, transparent); }
.mod__panel { overflow: hidden; height: 0; transition: height 0.5s var(--ease); position: relative; z-index: 2; }
.mod__panel-inner {
  display: grid; grid-template-columns: 130px 1fr; gap: 32px;
  padding: 0 8px 38px;
}
.mod__desc { grid-column: 2; font-size: 18px; color: var(--fg-dim); line-height: 1.85; margin-bottom: 24px; max-width: 62ch; }
.mod__topics { grid-column: 2; list-style: none; display: flex; flex-direction: column; gap: 10px; }
.mod__topics li { font-family: var(--mono); font-size: 13.2px; letter-spacing: 0.04em; color: var(--fg-dim); text-transform: uppercase; display: flex; gap: 14px; line-height: 1.5; }
.mod__topics li::before { content: ''; width: 5px; height: 1px; background: var(--accent); margin-top: 9px; flex: none; }

/* ============================================================
   TOOLS — systems board
   ============================================================ */
.board__head { margin-bottom: 56px; }
.board__head p { font-size: 15.6px; color: var(--fg-dim); max-width: 46ch; line-height: 1.75; margin-top: 16px; }
.board {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--hair);
  border-left: 1px solid var(--hair);
}
.board__group { border-right: 1px solid var(--hair); border-bottom: 1px solid var(--hair); }
.board__group-label {
  font-family: var(--mono); font-size: 10.8px; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--fg-faint); padding: 18px 22px 6px;
}
.board__cell {
  display: flex; align-items: center; gap: 14px;
  padding: 16px 22px;
  border-top: 1px solid var(--hair);
  transition: background 0.3s var(--ease);
  position: relative;
}
.board__group-label + .board__cell { border-top: none; }
.board__cell:hover { background: color-mix(in srgb, var(--accent) 7%, transparent); }
.board__cell img { height: 21px; width: auto; max-width: 108px; opacity: 0.5; filter: brightness(0); transition: opacity 0.3s var(--ease); }
.panel-dark .board__cell img { filter: brightness(0) invert(1); }
.board__cell:hover img { opacity: 0.92; }
.board__cell-name { font-family: var(--mono); font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--fg-dim); }

/* ============================================================
   AUDIENCE / CLEARANCE
   ============================================================ */
.aud { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; }
.aud__col h3 { font-family: var(--serif); font-weight: 300; font-size: 32.4px; color: var(--fg); margin-bottom: 28px; }
.aud__col h3 em { font-style: italic; color: var(--fg-dim); }
.aud__list { list-style: none; display: flex; flex-direction: column; gap: 16px; }
.aud__list li { font-size: 18px; color: var(--fg-dim); line-height: 1.7; padding-left: 22px; position: relative; }
.aud__list li::before { content: ''; position: absolute; left: 0; top: 11px; width: 9px; height: 1px; background: var(--accent); }
.aud__col--no .aud__list li::before { background: var(--hair-strong); }

/* ============================================================
   DELIVERABLE
   ============================================================ */
.deliv { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: start; }
.deliv__list { display: flex; flex-direction: column; }
.deliv__item { padding: 24px 0; border-top: 1px solid var(--hair); display: flex; gap: 22px; align-items: flex-start; }
.deliv__num { font-family: var(--mono); font-size: 12px; letter-spacing: 0.1em; color: var(--accent); padding-top: 3px; min-width: 26px; }
.deliv__item strong { display: block; font-size: 18px; font-weight: 400; color: var(--fg); margin-bottom: 5px; }
.deliv__item span { font-size: 16.8px; color: var(--fg-dim); line-height: 1.6; }

/* ============================================================
   TESTIMONIALS
   ============================================================ */
.tst__sub { font-size: 16.8px; color: var(--fg-dim); max-width: 48ch; line-height: 1.7; margin-bottom: 60px; }
.tst__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--hair); border: 1px solid var(--hair); margin-bottom: 72px; }
.tst__card { background: var(--bg); padding: 34px 30px; display: flex; flex-direction: column; gap: 22px; border-top: 2px solid transparent; transition: transform 0.35s var(--ease), border-color 0.35s var(--ease); }
.tst__card:hover { transform: translateY(-4px); border-top-color: var(--accent); }
.tst__quote { font-family: var(--serif); font-style: italic; font-weight: 300; font-size: clamp(20.4px, 1.92vw, 24px); line-height: 1.6; color: var(--fg); position: relative; padding-left: 20px; }
.tst__quote::before { content: '\201C'; position: absolute; left: -2px; top: -6px; font-size: 45.6px; color: var(--hair-strong); font-family: var(--serif); }
.tst__who { display: flex; align-items: center; gap: 13px; margin-top: auto; }
.tst__avatar { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; object-position: center top; filter: grayscale(100%); flex: none; }
.tst__name { font-family: var(--mono); font-size: 10.8px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--fg); }
.tst__role { font-family: var(--mono); font-size: 9.6px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--fg-faint); margin-top: 3px; }
.tst__videolabel { font-family: var(--mono); font-size: 10.8px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--fg-dim); margin-bottom: 32px; display: flex; align-items: center; gap: 14px; }
.tst__videolabel::before { content: ''; width: 5px; height: 5px; background: var(--accent); transform: rotate(45deg); }
.tst__video { position: relative; width: 100%; max-width: 760px; aspect-ratio: 16/9; border-radius: 4px; overflow: hidden; background: #111; border: 1px solid var(--hair); }
.tst__video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: none; }

/* ============================================================
   FAQ
   ============================================================ */
.faq { border-top: 1px solid var(--hair); }
.faq__item { border-bottom: 1px solid var(--hair); }
.faq__trigger {
  width: 100%; background: none; border: none; cursor: pointer; color: inherit; font: inherit;
  display: flex; justify-content: space-between; align-items: center; gap: 24px;
  padding: 28px 4px; text-align: left;
}
.faq__q { font-family: var(--serif); font-weight: 300; font-size: clamp(22.8px, 2.4vw, 27.6px); color: var(--fg); line-height: 1.3; }
.faq__icon { font-family: var(--mono); font-size: 21.6px; color: var(--accent); flex: none; transition: transform 0.35s var(--ease); }
.faq__item[open] .faq__icon { transform: rotate(45deg); }
.faq__panel { overflow: hidden; height: 0; transition: height 0.45s var(--ease); }
.faq__a { font-size: 18px; color: var(--fg-dim); line-height: 1.8; padding: 0 4px 30px; max-width: 76ch; }

/* grid variant for home faq */
.faq--grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--hair); border: 1px solid var(--hair); }
.faq--grid .faq__item { background: var(--bg); padding: 38px 34px; border: none; }
.faq--grid .faq__q { margin-bottom: 16px; }
.faq--grid .faq__a { padding: 0; }

/* ============================================================
   ENROLLMENT / PRICE
   ============================================================ */
.price { display: flex; align-items: flex-start; gap: 72px; flex-wrap: wrap; }
.price__num { font-family: var(--serif); font-size: clamp(91.2px, 10.8vw, 153.6px); font-weight: 300; line-height: 0.92; color: var(--fg); flex: none; }
.price__num sup { font-size: 0.34em; vertical-align: top; color: var(--fg-dim); top: 0.5em; position: relative; }
.price__detail { padding-top: 10px; max-width: 560px; }
.price__detail > p { font-family: var(--serif); font-size: clamp(21.6px, 2.4vw, 27.6px); font-weight: 300; color: var(--fg-dim); line-height: 1.7; margin-bottom: 34px; }
.price__detail .price__meta { font-family: var(--mono); font-size: 12px; letter-spacing: 0.14em; color: var(--fg-faint); text-transform: uppercase; margin-top: 20px; }
.price__detail .price__close { font-family: var(--mono); font-size: 13.2px; letter-spacing: 0.16em; color: var(--fg-dim); text-transform: uppercase; margin-bottom: 28px; }
.price__countdown { margin-bottom: 32px; }

.enroll-center { max-width: 660px; margin: 0 auto; text-align: center; }
.enroll-center .label { justify-content: center; }
.enroll-center .label::before, .enroll-center .label .label__line { display: none; }
.enroll-center h2 { font-family: var(--serif); font-weight: 300; font-size: clamp(48px, 6vw, 79.2px); line-height: 1.06; color: var(--fg); margin-bottom: 22px; }
.enroll-center h2 em { font-style: italic; color: var(--fg-dim); }
.enroll-center > p { font-size: 19.2px; color: var(--fg-dim); line-height: 1.8; margin-bottom: 42px; }

/* ============================================================
   EMAIL CAPTURE
   ============================================================ */
.capture { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
.capture__kicker { font-family: var(--mono); font-size: 10.8px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--fg-dim); margin-bottom: 18px; }
.capture__head { font-family: var(--serif); font-weight: 300; font-size: clamp(33.6px, 3.6vw, 52.8px); line-height: 1.12; color: var(--fg); margin-bottom: 16px; }
.capture__head em { font-style: italic; color: var(--fg-dim); }
.capture__body { font-size: 19.2px; color: var(--fg-dim); line-height: 1.8; }
.form { display: flex; flex-direction: column; gap: 13px; }
.form input {
  width: 100%; background: var(--field); border: 1px solid var(--hair-strong); color: var(--fg);
  font-family: var(--mono); font-size: 13.2px; letter-spacing: 0.1em; padding: 16px 18px; outline: none;
  transition: border-color 0.25s var(--ease);
}
.form input::placeholder { color: var(--fg-faint); text-transform: uppercase; letter-spacing: 0.14em; }
.form input:focus { border-color: var(--accent); }
.form button {
  width: 100%; background: var(--fg); color: var(--bg); border: none;
  font-family: var(--mono); font-size: 13.2px; letter-spacing: 0.2em; text-transform: uppercase;
  padding: 17px 20px; cursor: pointer; transition: opacity 0.25s var(--ease);
}
.form button:hover { opacity: 0.85; }
.form__fine { font-family: var(--mono); font-size: 10.8px; letter-spacing: 0.12em; color: var(--fg-faint); text-transform: uppercase; }
.form__lead { font-size: 16.8px; color: var(--fg-dim); line-height: 1.7; margin-bottom: 6px; }

/* ============================================================
   FOOTER
   ============================================================ */
.foot { background: var(--ink); color: var(--paper); padding: 30px var(--gutter); }
.foot__top { display: flex; justify-content: space-between; align-items: center; gap: 18px; padding-bottom: 22px; border-bottom: 1px solid rgba(242,239,232,0.10); flex-wrap: wrap; }
.foot__priv { font-family: var(--mono); font-size: 13.2px; letter-spacing: 0.10em; color: rgba(242,239,232,0.5); text-transform: uppercase; }
.foot__priv a { color: rgba(242,239,232,0.85); text-decoration: none; border-bottom: 1px solid rgba(242,239,232,0.3); }
.foot__priv a:hover { color: var(--paper); }
.foot__bottom { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding-top: 18px; flex-wrap: wrap; }
.foot__bottom span, .foot__bottom a { font-family: var(--mono); font-size: 10.8px; letter-spacing: 0.14em; color: rgba(242,239,232,0.55); text-transform: uppercase; text-decoration: none; }
.foot__bottom a:hover { color: rgba(242,239,232,0.85); }

/* vertical edge text */
.vert {
  position: fixed; right: 18px; top: 50%; transform: translateY(-50%) rotate(180deg);
  writing-mode: vertical-rl; font-family: var(--mono); font-size: 10.8px; letter-spacing: 0.3em;
  text-transform: uppercase; color: var(--fg-faint); z-index: 90; pointer-events: none;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 980px) {
  .board { grid-template-columns: repeat(2, 1fr); }
  .os__head, .mods__head { flex-direction: column; align-items: flex-start; gap: 18px; }
  .os__head p, .mods__head p { text-align: left; }
}
@media (max-width: 860px) {
  :root { --gutter: 28px; }
  .split, .split--bio, .aud, .deliv, .capture { grid-template-columns: 1fr; gap: 44px; }
  .tst__grid { grid-template-columns: 1fr 1fr; }
  .faq--grid { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr 1fr; }
  .os__layer { grid-template-columns: 1fr; gap: 14px; text-align: left; }
  .os__note { text-align: left; max-width: none; }
  .mod__trigger { grid-template-columns: 70px 1fr auto; gap: 18px; }
  .mod__panel-inner { grid-template-columns: 1fr; }
  .mod__desc, .mod__topics { grid-column: 1; }
  .mod__ghost { display: none; }
  .vert { display: none; }
}
@media (max-width: 560px) {
  .panel { padding: 72px var(--gutter); }
  .hero { padding: 130px var(--gutter) 56px; min-height: 88vh; }
  .hero__frame { inset: 0; }
  .tst__grid { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr; }
  .board { grid-template-columns: 1fr; }
  .hero__meta { display: grid; grid-template-columns: 1fr 1fr; gap: 26px 22px; }
  .price { gap: 32px; }
}

/* ============================================================
   REDUCED MOTION
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  * { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
  .grain { animation: none; }
  .label .label__line { width: 72px; }
}
