/* ==========================================================================
   Cenitron — site stylesheet
   1. Tokens          5. Components       9.  Intake form
   2. Base            6. Rows & lists     10. Insights
   3. Layout          7. Page sections    11. Motion
   4. Typography      8. Better Questions
   ========================================================================== */

/* 1. Tokens ---------------------------------------------------------------- */
:root {
  --bg: #0A0B0D;
  --bg-deep: #0D0E11;
  --surface: #101216;
  --surface-hover: #14171C;
  --line: #1E2228;
  --line-strong: #2A2F37;
  --line-accent: #4A3A1E;

  --text: #F4F5F7;
  --text-soft: #C9CDD3;
  --text-muted: #9AA1AC;
  --text-dim: #7A818C;

  --accent: #F2A43A;
  --accent-hover: #F8C77E;
  --accent-tint: rgba(242, 164, 58, 0.08);
  --on-accent: #2A1B06;
  --on-accent-muted: #5A3D12;
  --on-accent-line: rgba(42, 27, 6, 0.2);
  --mark-off: #262B33;
  --radio-off: #4A515C;

  --font-sans: 'Archivo', sans-serif;
  --font-mono: 'IBM Plex Mono', monospace;

  --max-width: 1240px;
  --gutter: clamp(20px, 4vw, 48px);
  --space-xl: clamp(80px, 10vw, 140px);
  --space-lg: clamp(72px, 9vw, 120px);
  --space-md: clamp(56px, 7vw, 96px);
  --nav-height: 58px;

  --radius-sm: 6px;
  --radius: 12px;
  --radius-lg: 14px;
}

/* 2. Base ------------------------------------------------------------------ */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
}

h1, h2, h3, p { margin: 0; }

a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--accent-hover); }

button { font: inherit; color: inherit; }

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

[hidden] { display: none !important; }

/* Anchored sections clear the sticky nav */
[id] { scroll-margin-top: var(--nav-height); }

/* 3. Layout ---------------------------------------------------------------- */
.section {
  max-width: var(--max-width);
  margin-inline: auto;
  padding: var(--space-xl) var(--gutter);
  display: flex;
  flex-direction: column;
  gap: 48px;
}
.section--md { padding-block: var(--space-lg); }
.section--sm { padding-block: var(--space-md); }
.section--gap-sm { gap: 40px; }
.section--gap-xs { gap: 24px; }
.section--gap-lg { gap: 56px; }

/* Full-bleed background bands; put a .section inside */
.band--surface { background: var(--surface); border-block: 1px solid var(--line); }
.band--deep    { background: var(--bg-deep); border-block: 1px solid var(--line); }
.band--top     { border-top: 1px solid var(--line); }
.band--accent  { background: var(--accent); color: var(--on-accent); }

.stack { display: flex; flex-direction: column; gap: 20px; }
.stack--lg { gap: 24px; }
.stack--28 { gap: 28px; }

/* Section header: title block left, short paragraph right */
.section-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 32px;
  flex-wrap: wrap;
}
.section-head__main { display: flex; flex-direction: column; gap: 20px; max-width: 720px; }
.section-head__aside {
  max-width: 380px;
  font-size: 17px;
  line-height: 1.6;
  color: var(--text-muted);
  text-wrap: pretty;
}

/* Two-column split that stacks under ~800px */
.split {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr));
  gap: 40px;
}
.split--end { align-items: end; }
.split--bottom > :last-child { justify-content: flex-end; }

/* Intake section: copy left, form right */
.intake-layout {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 360px), 1fr));
  gap: clamp(40px, 5vw, 72px);
  align-items: start;
}

/* 4. Typography ------------------------------------------------------------ */
.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
}
.eyebrow::before {
  content: "";
  flex: none;
  width: 5px;
  height: 14px;
  border-radius: 3px;
  background: currentColor;
}
.band--accent .eyebrow { color: var(--on-accent); }

.label {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.label--accent { color: var(--accent); }
.label--dim { color: var(--text-dim); }
.label--sm { font-size: 11px; }
.label--lg { font-size: 13px; letter-spacing: 0.14em; }

.num {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  color: var(--accent);
}
.num--muted { color: var(--text-muted); }

.display {
  font-weight: 800;
  letter-spacing: -0.055em;
  line-height: 0.92;
  text-wrap: balance;
}
.display--hero { font-size: clamp(56px, 7.4vw, 112px); }
.display--xl   { font-size: clamp(52px, 8vw, 124px); max-width: 1100px; }
.display--lg   { font-size: clamp(46px, 5.8vw, 84px); letter-spacing: -0.05em; line-height: 0.95; }

.title {
  font-size: clamp(40px, 5vw, 68px);
  font-weight: 800;
  letter-spacing: -0.05em;
  line-height: 0.98;
}
.title--compact { font-size: clamp(40px, 4.8vw, 64px); }
.title--narrow { max-width: 760px; }
.title--cta { max-width: 820px; font-size: clamp(40px, 5.4vw, 76px); letter-spacing: -0.055em; line-height: 0.95; }
.title--manifesto { font-size: clamp(48px, 6vw, 88px); letter-spacing: -0.055em; line-height: 0.92; }

.statement {
  max-width: 1080px;
  font-size: clamp(32px, 4.4vw, 60px);
  font-weight: 800;
  letter-spacing: -0.045em;
  line-height: 1.04;
  text-wrap: balance;
}
.statement--sm { font-size: clamp(28px, 3.6vw, 48px); letter-spacing: -0.04em; line-height: 1.1; }

.heading {
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.15;
}
.heading--lg { font-size: clamp(26px, 2.6vw, 34px); letter-spacing: -0.035em; line-height: 1.08; }
.heading--card { font-size: 26px; letter-spacing: -0.035em; line-height: 1.12; }
.heading--sm { font-size: 22px; }

.lede {
  font-size: 18px;
  line-height: 1.6;
  color: var(--text-muted);
  text-wrap: pretty;
}
.lede--hero { max-width: 520px; font-size: clamp(18px, 1.6vw, 20px); line-height: 1.55; }
.lede--narrow { max-width: 460px; }
.lede-on-accent { max-width: 620px; font-size: 19px; font-weight: 500; line-height: 1.55; }

.body-text {
  font-size: 16px;
  line-height: 1.55;
  color: var(--text-muted);
  text-wrap: pretty;
}

.hl { color: var(--accent); }
.dim { color: var(--text-dim); }
.muted { color: var(--text-muted); }
.strong { color: var(--text); font-weight: 500; }

/* 5. Components ------------------------------------------------------------ */

/* Buttons */
.btn-row { display: flex; gap: 12px; flex-wrap: wrap; }

.btn {
  display: inline-block;
  padding: 16px 24px;
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  transition: background-color .15s, border-color .15s, color .15s;
}
.btn--primary { background: var(--accent); color: var(--on-accent); }
.btn--primary:hover { background: var(--accent-hover); color: var(--on-accent); }
.btn--ghost { border-color: var(--line-strong); color: var(--text); font-weight: 500; }
.btn--ghost:hover { border-color: var(--accent); color: var(--text); }
.btn--dark { padding: 17px 26px; background: var(--bg); color: var(--text); }
.btn--dark:hover { background: var(--line); color: var(--text); }

/* The Cenitron mark: 9 bars, the first N lit via data-lit */
.mark { flex: none; max-width: 100%; }
.mark rect { fill: var(--mark-off); }
.mark circle { fill: var(--text); }
.mark[data-lit="1"] rect:nth-child(-n+1),
.mark[data-lit="2"] rect:nth-child(-n+2),
.mark[data-lit="3"] rect:nth-child(-n+3),
.mark[data-lit="4"] rect:nth-child(-n+4),
.mark[data-lit="5"] rect:nth-child(-n+5),
.mark[data-lit="6"] rect:nth-child(-n+6),
.mark[data-lit="7"] rect:nth-child(-n+7),
.mark[data-lit="8"] rect:nth-child(-n+8),
.mark[data-lit="9"] rect { fill: var(--accent); }

/* Hairline grid: 1px gaps over a line-coloured background */
.cells {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, var(--cell-min, 320px)), 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.cells--220 { --cell-min: 220px; }
.cells--300 { --cell-min: 300px; }
.cells--340 { --cell-min: 340px; }

.cell {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 32px 28px;
  background: var(--bg);
}
.cell--roomy { padding: 36px 30px; }
.cell--compact { padding: 30px 24px; }
.cell > .body-text { flex: 1; }

/* Bordered card */
.card {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 32px 28px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.card > .body-text { flex: 1; }
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
  gap: 16px;
}

/* Tags */
.tags { display: flex; flex-wrap: wrap; gap: 6px; }
.tag {
  padding: 5px 9px;
  border: 1px solid var(--line-strong);
  border-radius: 4px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  color: var(--text-soft);
}

/* Dashed "not final" note */
.note {
  padding: 7px 12px;
  border: 1px dashed var(--line-accent);
  border-radius: var(--radius-sm);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
}

/* Small mono disclaimer under a section, e.g. "Client names withheld" */
.fine-print {
  margin: 0;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-dim);
}

/* Image placeholder — swap for <img> when photography is ready */
.placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 16px;
  background: var(--surface);
  border: 1px dashed var(--line-strong);
  border-radius: var(--radius);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-align: center;
  color: var(--text-dim);
}
.placeholder--4x3  { aspect-ratio: 4 / 3; }
.placeholder--4x5  { aspect-ratio: 4 / 5; }
.placeholder--21x9 { aspect-ratio: 21 / 9; border-radius: var(--radius-lg); }
.placeholder--hero { aspect-ratio: 4 / 5; max-height: 620px; border-radius: var(--radius-lg); }

/* Person / case study tiles */
.tile-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr));
  gap: 20px;
}
.tile-grid--people { grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); }
.tile { display: flex; flex-direction: column; gap: 18px; }
.person { display: flex; flex-direction: column; gap: 14px; }
.person__name { font-size: 18px; font-weight: 700; letter-spacing: -0.02em; }
.person__role {
  display: block;
  margin-top: 4px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
}
/* Text-only variant: a top rule stands in for the portrait */
.person--bio { padding-top: 20px; border-top: 1px solid var(--line-strong); }
.person__bio { font-size: 15px; line-height: 1.6; color: var(--text-soft); text-wrap: pretty; }

/* Case study tile (text variant) */
.case { gap: 22px; }
.case__meta { display: flex; flex-direction: column; gap: 10px; }
.case__img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius);
  filter: grayscale(100%);
}
.case__questions {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding-block: 22px;
  border-block: 1px solid var(--line);
}
.case__q { display: flex; flex-direction: column; gap: 8px; }
.case__old {
  font-size: 16px;
  line-height: 1.4;
  color: var(--text-dim);
  text-decoration-color: var(--text-dim);
}
.case__better {
  font-size: 19px;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.3;
  text-wrap: pretty;
}
.case__stat {
  display: flex;
  align-items: baseline;
  gap: 16px;
  margin-top: auto;
  padding-top: 40px;
}
.case__stat-value {
  font-size: clamp(44px, 4vw, 56px);
  font-weight: 800;
  letter-spacing: -0.06em;
  line-height: 1;
}
.case__stat-text { font-size: 14px; line-height: 1.4; color: var(--text-muted); }

/* 6. Rows & lists ---------------------------------------------------------- */

/* Horizontal rule-separated rows that collapse to a stack on narrow screens */
.rows { display: flex; flex-direction: column; border-top: 1px solid var(--line); }
.rows--open { border-top: 0; }

.row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, var(--row-min, 300px)), 1fr));
  gap: 14px 48px;
  align-items: baseline;
  padding: 32px 0;
  border-bottom: 1px solid var(--line);
}
.row--wide { --row-min: 420px; gap: 12px 40px; padding: 26px 0; }
.row--280  { --row-min: 280px; gap: 10px 40px; padding: 28px 0; }
.row--260  { --row-min: 260px; gap: 20px 40px; padding: 36px 0; align-items: start; }
.row__lead { display: flex; align-items: baseline; gap: 20px; }
.row__span-2 { grid-column: span 2; }
.row__title {
  font-size: clamp(26px, 2.8vw, 36px);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.1;
}
.row__text { font-size: 17px; line-height: 1.6; color: var(--text-muted); text-wrap: pretty; }

/* 7. Page sections --------------------------------------------------------- */

/* Site nav (partials/nav.html) */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: block;
  min-height: var(--nav-height);
  background: rgba(10, 11, 13, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 14px var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}
.nav__brand { display: flex; align-items: center; gap: 11px; color: var(--text); }
.nav__brand:hover { color: var(--text); }
.nav__wordmark { font-size: 17px; font-weight: 800; letter-spacing: -0.035em; }
.nav__links {
  display: flex;
  align-items: center;
  gap: clamp(14px, 2.2vw, 28px);
  flex-wrap: wrap;
  font-size: 14px;
  font-weight: 500;
}
.nav__link { color: var(--text-muted); }
.nav__link:hover { color: var(--text); }
.nav__link.is-active { color: var(--accent); }
.nav__cta {
  padding: 9px 16px;
  background: var(--accent);
  color: var(--on-accent);
  border-radius: var(--radius-sm);
  font-weight: 700;
}
.nav__cta:hover { background: var(--accent-hover); color: var(--on-accent); }

/* Site footer (partials/footer.html) */
.site-footer { display: block; min-height: 340px; border-top: 1px solid var(--line); }
.footer {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 64px var(--gutter) 40px;
  display: flex;
  flex-direction: column;
  gap: 48px;
}
.footer__top { display: flex; justify-content: space-between; align-items: flex-start; gap: 40px; flex-wrap: wrap; }
.footer__about { display: flex; flex-direction: column; gap: 18px; max-width: 380px; }
.footer__brand { display: flex; align-items: center; gap: 14px; }
.footer__wordmark { display: block; font-size: 22px; font-weight: 800; letter-spacing: -0.045em; line-height: 1; }
.footer__tagline {
  display: block;
  margin-top: 5px;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
}
.footer__blurb { font-size: 15px; line-height: 1.6; color: var(--text-muted); text-wrap: pretty; }
.footer__cols { display: flex; gap: 64px; flex-wrap: wrap; }
.footer__col { display: flex; flex-direction: column; gap: 12px; font-size: 14px; }
.footer__col a { color: var(--text-soft); }
.footer__col a:hover { color: var(--accent); }
.footer__bottom {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-dim);
}

/* Heroes */
.hero {
  max-width: var(--max-width);
  margin-inline: auto;
  padding: clamp(56px, 8vw, 110px) var(--gutter);
}
.hero--split {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 440px), 1fr));
  align-items: center;
  gap: clamp(40px, 5vw, 72px);
}
.hero--stacked {
  padding: clamp(72px, 10vw, 140px) var(--gutter) var(--space-md);
  display: flex;
  flex-direction: column;
  gap: 36px;
}
.hero__copy { display: flex; flex-direction: column; gap: 30px; }
.hero__img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 5;
  max-height: 620px;
  object-fit: cover;
  object-position: 62% center;
  border-radius: var(--radius-lg);
  filter: grayscale(100%);
}
.hero__foot { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; flex-wrap: wrap; }
.hero__foot .lede--hero { max-width: 620px; font-size: clamp(18px, 1.6vw, 21px); }

.aperture {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 520px;
  aspect-ratio: 1;
  justify-self: center;
  border-radius: 50%;
  background: radial-gradient(closest-side, #15171B, var(--bg));
}
.aperture .mark { width: 62%; height: auto; }

/* Home: "who we help" audience links */
.audiences {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
  gap: 1px;
  background: var(--line);
}
.audience {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 36px 28px;
  background: var(--surface);
  color: var(--text);
}
.audience:hover { background: var(--surface-hover); color: var(--text); }
.audience__q { font-size: 22px; font-weight: 700; letter-spacing: -0.025em; line-height: 1.25; text-wrap: pretty; }
.link-arrow { font-size: 15px; font-weight: 700; color: var(--accent); }

.divided-cols {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr));
  gap: 40px;
  padding-top: 40px;
  border-top: 1px solid var(--line);
}

.capabilities {
  display: flex;
  align-items: center;
  gap: 14px 28px;
  flex-wrap: wrap;
  font-size: 15px;
  font-weight: 500;
}

/* Home: "Clarity changes X into Y" */
.transform { font-size: clamp(26px, 3vw, 40px); font-weight: 800; letter-spacing: -0.04em; line-height: 1.1; }

/* Numbered process steps */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: 32px; }
.step { display: flex; flex-direction: column; gap: 18px; }
.step__head { display: flex; align-items: center; gap: 14px; }
.steps, .phases { margin: 0; padding: 0; list-style: none; }

/* Manifesto (home) */
.manifesto {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
  gap: 48px;
}
.manifesto__list { grid-column: span 2; min-width: min(100%, 300px); display: flex; flex-direction: column; }
.manifesto__list p {
  padding: 18px 0;
  border-bottom: 1px solid var(--on-accent-line);
  font-size: clamp(22px, 2.3vw, 30px);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.2;
}
.manifesto__list p:last-child { border-bottom: 0; font-weight: 800; }

/* Home: article teasers */
.teaser {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 40px;
  padding: 32px 28px;
  background: var(--bg);
  color: var(--text);
}
.teaser:hover { background: var(--surface-hover); color: var(--text); }
.teaser__title { display: block; font-size: 26px; font-weight: 800; letter-spacing: -0.035em; line-height: 1.12; }
.teaser .body-text { display: block; margin-top: 14px; }

/* Accent CTA band */
.cta-band {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: var(--space-lg) var(--gutter);
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 32px;
  flex-wrap: wrap;
}

/* Operations: 45-minute stat bar */
.stat-bar {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: clamp(32px, 4vw, 48px) var(--gutter);
  display: flex;
  align-items: center;
  gap: 20px 36px;
  flex-wrap: wrap;
}
.stat-bar__value { font-size: clamp(56px, 6vw, 84px); font-weight: 800; letter-spacing: -0.06em; line-height: 0.9; }
.stat-bar__text {
  flex: 1;
  min-width: min(100%, 320px);
  font-size: clamp(20px, 2vw, 26px);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.3;
  text-wrap: pretty;
}

/* Operations: big numbered root causes */
.cause-num { font-size: clamp(48px, 5vw, 72px); font-weight: 800; letter-spacing: -0.06em; line-height: 1; color: var(--accent); }
.cause-title { font-size: clamp(26px, 2.6vw, 34px); font-weight: 800; letter-spacing: -0.035em; }
.kicker { font-size: clamp(24px, 2.6vw, 34px); font-weight: 800; letter-spacing: -0.035em; line-height: 1.2; }

/* IT: side-by-side risk callouts */
.callouts {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr));
}
.callout {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: clamp(40px, 5vw, 64px) var(--gutter);
}
.callout + .callout { border-left: 1px solid var(--line); }
.callout__text { font-size: clamp(28px, 3vw, 40px); font-weight: 800; letter-spacing: -0.04em; line-height: 1.08; text-wrap: balance; }

/* Approach: before/after shift */
.shift {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr));
  gap: 1px;
  background: var(--line);
}
.shift__col {
  display: flex;
  flex-direction: column;
  gap: 22px;
  padding: clamp(40px, 5vw, 72px) var(--gutter);
  background: var(--surface);
}
.shift__list {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: clamp(28px, 3vw, 40px);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.1;
}
.shift__list--struck { color: var(--text-dim); }
.shift__list--struck span { text-decoration: line-through; text-decoration-color: var(--accent); }

.starter-q { font-size: clamp(22px, 2.4vw, 30px); font-weight: 700; letter-spacing: -0.03em; line-height: 1.2; text-wrap: pretty; }
.phase__out { font-size: 17px; font-weight: 500; line-height: 1.5; }
.phase__result { display: flex; flex-direction: column; gap: 10px; }
.cap__solves { font-size: 13px; line-height: 1.45; color: var(--text-soft); }

/* About: mission */
.mission {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
  gap: 40px 64px;
}
.mission__body { grid-column: span 2; min-width: min(100%, 300px); display: flex; flex-direction: column; gap: 32px; }
.mission__body .lede { max-width: 680px; line-height: 1.65; }

/* 8. Better Questions ------------------------------------------------------ */
.bq { display: flex; flex-direction: column; gap: 20px; }
.bq__bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.bq__all {
  padding: 9px 14px;
  background: transparent;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  color: var(--text);
  font: inherit;
  letter-spacing: inherit;
  text-transform: inherit;
  cursor: pointer;
}
.bq__all:hover { border-color: var(--accent); color: var(--accent); }

.bq__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
  gap: 16px;
}

.bq-card {
  display: flex;
  min-height: 360px;
  padding: 0;
  background: none;
  border: 0;
  border-radius: var(--radius);
  text-align: left;
  cursor: pointer;
}
.bq-card__face {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 28px;
  border-radius: var(--radius);
  animation: bqIn .4s ease both;
}
.bq-card__front { gap: 28px; background: var(--surface); border: 1px solid var(--line); }
.bq-card:hover .bq-card__front { border-color: var(--line-accent); }
.bq-card__back { gap: 22px; background: var(--accent); color: var(--on-accent); }
.bq-card[aria-pressed="true"] .bq-card__front,
.bq-card[aria-pressed="false"] .bq-card__back { display: none; }

.bq-card__top { display: flex; flex-direction: column; gap: 16px; }
.bq-card__back .bq-card__top { gap: 14px; }
.bq-card__who,
.bq-card__label { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; }
.bq-card__who { color: var(--text-muted); }
.bq-card__q,
.bq-card__better { font-size: clamp(24px, 2.4vw, 30px); letter-spacing: -0.03em; text-wrap: pretty; }
.bq-card__q { font-weight: 700; line-height: 1.15; }
.bq-card__better { font-weight: 800; line-height: 1.12; }
.bq-card__old { font-size: 15px; line-height: 1.4; color: var(--on-accent-muted); }
.bq-card__body { font-size: 15px; line-height: 1.55; text-wrap: pretty; }
.bq-card__cta { font-size: 12px; letter-spacing: 0.14em; }
.bq-card__cta.eyebrow { color: var(--accent); }

/* 9. Intake form ----------------------------------------------------------- */
.intake {
  display: flex;
  flex-direction: column;
  gap: 28px;
  min-height: 520px;
  padding: clamp(22px, 3.5vw, 40px);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
}
.intake__head { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
.intake__progress { display: flex; gap: 5px; }
.intake__bar { width: 7px; height: 20px; border-radius: 3.5px; background: var(--mark-off); transition: background .3s; }
.intake__bar.is-lit { background: var(--accent); }

.intake__panel { display: flex; flex-direction: column; gap: 18px; }
.intake__q { font-size: clamp(24px, 2.6vw, 32px); font-weight: 800; letter-spacing: -0.035em; line-height: 1.1; }

.options { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: 12px; }
.options--roles { grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); }
.option {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 20px;
  background: var(--bg);
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  text-align: left;
  cursor: pointer;
}
.option:hover { border-color: var(--accent); }
.option[aria-pressed="true"] { background: var(--accent-tint); border-color: var(--accent); }
.option--card { flex-direction: column; align-items: flex-start; gap: 8px; padding: 20px; }
.option__label { font-size: 16px; font-weight: 500; line-height: 1.35; }
.option--card .option__label { font-size: 17px; font-weight: 700; letter-spacing: -0.02em; }
.option__hint { font-size: 14px; line-height: 1.45; color: var(--text-muted); }
.option__dot { flex: none; width: 16px; height: 16px; border: 2px solid var(--radio-off); border-radius: 50%; }
.option[aria-pressed="true"] .option__dot { border-color: var(--accent); background: var(--accent); }

.fields { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: 14px; }
.field { display: flex; flex-direction: column; gap: 8px; font-size: 13px; font-weight: 500; color: var(--text-muted); }
.field__input {
  padding: 13px 14px;
  background: var(--bg);
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  color: var(--text);
  font: 400 16px/1.5 var(--font-sans);
  outline: none;
  color-scheme: dark;
}
.field__input:focus { border-color: var(--accent); }
textarea.field__input { resize: vertical; }

.file-drop {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  padding: 16px 18px;
  border: 1px dashed var(--line-accent);
  border-radius: 10px;
  font-size: 14px;
  color: var(--text-muted);
  cursor: pointer;
}
.file-drop:hover, .file-drop:focus-within { border-color: var(--accent); }
.file-drop__title { display: block; margin-bottom: 4px; font-weight: 700; color: var(--text); }
.file-drop__btn { padding: 8px 14px; border: 1px solid var(--line-strong); border-radius: var(--radius-sm); color: var(--text); font-weight: 500; }
.file-drop input { position: absolute; width: 1px; height: 1px; opacity: 0; }

.intake__done { display: flex; flex-direction: column; gap: 20px; padding: 8px 0; }
.intake__done-title { font-size: clamp(28px, 3vw, 40px); font-weight: 800; letter-spacing: -0.04em; line-height: 1.05; }
.intake__done .lede { max-width: 560px; font-size: 17px; }

.intake__nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: auto;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}
.intake__back { padding: 0; background: none; border: 0; font-size: 15px; font-weight: 500; color: var(--text-muted); cursor: pointer; }
.intake__back:hover { color: var(--text); }
.intake__back:disabled { visibility: hidden; }
.intake__next { padding: 15px 26px; }
.intake__next[aria-disabled="true"] { opacity: 0.4; cursor: not-allowed; }
.intake__error { color: #F28B6B; font-size: 14px; }

.text-btn {
  align-self: flex-start;
  padding: 0;
  background: none;
  border: 0;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  cursor: pointer;
}
.text-btn:hover { color: var(--accent-hover); }

/* 10. Insights ------------------------------------------------------------- */
.insights-index { padding-top: clamp(72px, 10vw, 130px); }
.insights-index .display { line-height: 0.9; }

.filters {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  padding: 18px 0;
  border-block: 1px solid var(--line);
}
.filters .label { margin-right: 6px; }
.filter {
  padding: 9px 16px;
  background: transparent;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  color: var(--text);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
}
.filter:hover { border-color: var(--accent); }
.filter[aria-pressed="true"] { background: var(--accent); border-color: var(--accent); color: var(--on-accent); }
.filter__count { opacity: 0.6; font-weight: 500; }

.article-cards { grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr)); }
.article-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 36px;
  min-height: 340px;
  padding: 30px 28px;
  background: var(--bg);
  color: var(--text);
}
.article-card:hover { background: var(--surface-hover); color: var(--text); }
.article-card__meta { display: flex; justify-content: space-between; gap: 12px; font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; }
.article-card__q { display: block; font-size: 15px; line-height: 1.4; color: var(--text-dim); }
.article-card__better { display: block; margin-top: 14px; font-size: 26px; font-weight: 800; letter-spacing: -0.035em; line-height: 1.12; text-wrap: pretty; }
.article-card__foot { display: flex; justify-content: space-between; align-items: center; gap: 12px; font-size: 13px; color: var(--text-muted); }

.article { padding-top: clamp(40px, 6vw, 72px); padding-bottom: clamp(80px, 10vw, 130px); }
.article__back { align-self: flex-start; font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--text-muted); }
.article__back:hover { color: var(--accent); }
.article__header { display: flex; flex-direction: column; gap: 28px; max-width: 1000px; }
.article__meta { display: flex; gap: 10px 20px; flex-wrap: wrap; font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--text-dim); }
.article__old {
  font-size: clamp(20px, 2.2vw, 28px);
  font-weight: 500;
  letter-spacing: -0.02em;
  color: var(--text-dim);
  text-decoration: line-through;
  text-decoration-color: var(--accent);
  text-decoration-thickness: 2px;
}
.article__title { font-size: clamp(44px, 6vw, 88px); font-weight: 800; letter-spacing: -0.05em; line-height: 0.96; text-wrap: balance; }
.article__layout {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
  gap: 40px 64px;
  align-items: start;
}
.article__aside { display: flex; flex-direction: column; gap: 14px; padding: 24px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.article__starter { font-size: 20px; font-weight: 700; letter-spacing: -0.02em; line-height: 1.3; text-wrap: pretty; }
.article__body { grid-column: span 2; display: flex; flex-direction: column; gap: 24px; max-width: 720px; min-width: min(100%, 280px); }
.article__body p { font-size: 19px; line-height: 1.7; color: var(--text-soft); text-wrap: pretty; }
.article__body .article__close {
  margin-top: 12px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
  font-size: clamp(24px, 2.4vw, 32px);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.2;
  color: var(--text);
}
.article__body .btn { align-self: flex-start; }
.article__next-wrap { display: flex; flex-direction: column; gap: 20px; padding-top: 48px; border-top: 1px solid var(--line); }
.article__next { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; color: var(--text); }
.article__next:hover { color: var(--accent); }
.article__next-title { font-size: clamp(26px, 3vw, 40px); font-weight: 800; letter-spacing: -0.04em; line-height: 1.1; text-wrap: pretty; }

/* 11. Motion --------------------------------------------------------------- */
@keyframes bqIn     { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
@keyframes modIn    { from { opacity: 0; } to { opacity: 1; } }
@keyframes modPulse { 0%, 100% { opacity: 1; } 50% { opacity: .22; } }

/* Aperture mark: bars fade in one by one, then pulse out of phase */
.mark--animated rect {
  animation:
    modIn .5s ease calc(var(--i) * .09s) both,
    modPulse 3.6s ease-in-out calc(1s + var(--i) * .4s) infinite;
}
.mark--animated rect:nth-child(1) { --i: 0; }
.mark--animated rect:nth-child(2) { --i: 1; }
.mark--animated rect:nth-child(3) { --i: 2; }
.mark--animated rect:nth-child(4) { --i: 3; }
.mark--animated rect:nth-child(5) { --i: 4; }
.mark--animated rect:nth-child(6) { --i: 5; }
.mark--animated rect:nth-child(7) { --i: 6; }
.mark--animated rect:nth-child(8) { --i: 7; }
.mark--animated rect:nth-child(9) { --i: 8; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
