/* ============================================================
   STERLING SALES INSTITUTE — shared stylesheet
   Built from Sterling-Brand-Packet-v1/05-tokens/tokens.css
   Two layers: .layer-institute (paper/navy/brass, Spectral)
               .layer-platform  (court/silver/ice, condensed caps)
   Ice is data; Brass is achievement.
   ============================================================ */

:root {
  /* ---- Sterling Sales Institute — color tokens v1.0 ---- */
  /* Institute layer */
  --sterling-navy: #10243B;
  --assay-brass: #A9894B;
  --assay-brass-dark: #8A6F3C;
  --assay-brass-light: #C9AC6B;
  --paper: #F5F1E7;
  /* Platform layer */
  --court-dark: #0B1526;
  --court-surface: #152239;
  --sterling-ice: #56CCE2;
  --sterling-ice-light: #9BE8F2;
  --sterling-ice-deep: #2E93AC;
  --silver: #DCE4EE;
  /* Semantic (sparing) */
  --verified: #2FBF71;
  --alert: #D65454;

  /* ---- Type tokens ---- */
  --font-display: "Spectral", Georgia, serif;
  --font-athletic: "IBM Plex Sans Condensed", "Arial Narrow", sans-serif;
  --font-body: "IBM Plex Sans", -apple-system, sans-serif;
  --font-data: "IBM Plex Mono", "SF Mono", monospace;

  --tracking-label: 0.34em;
  --tracking-athletic: 0.02em;
  --radius-card: 10px;

  --container: 1120px;
  --header-h: 66px;
}

/* ---- Layer variables ---- */
.layer-platform {
  --bg: var(--court-dark);
  --bg-elev: var(--court-surface);
  --ink: var(--silver);
  --ink-strong: var(--paper);
  --ink-soft: rgba(220, 228, 238, 0.68);
  --accent: var(--sterling-ice);
  --label: var(--sterling-ice);
  --rule: rgba(220, 228, 238, 0.14);
  --header-bg: rgba(11, 21, 38, 0.94);
}
.layer-institute {
  --bg: var(--paper);
  --bg-elev: #ffffff;
  --ink: var(--sterling-navy);
  --ink-strong: var(--sterling-navy);
  --ink-soft: rgba(16, 36, 59, 0.72);
  --accent: var(--assay-brass-dark);
  --label: var(--assay-brass-dark);
  --rule: rgba(16, 36, 59, 0.14);
  --header-bg: rgba(245, 241, 231, 0.95);
}

/* ---- Base ---- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16.5px;
  line-height: 1.6;
  font-weight: 400;
}
img, svg { max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
p a, .body-link { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 2px; }

.container { max-width: var(--container); margin-inline: auto; padding-inline: 24px; }
main { display: block; }

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 200;
  background: var(--bg-elev); color: var(--ink-strong); padding: 10px 16px;
}
.skip-link:focus { left: 12px; top: 12px; }

/* ---- Typography ---- */
h1, h2, h3 { margin: 0 0 0.5em; color: var(--ink-strong); }

.layer-platform h1 {
  font-family: var(--font-athletic);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: var(--tracking-athletic);
  font-size: clamp(2.7rem, 5.6vw, 4.2rem);
  line-height: 0.98;
}
.layer-institute h1 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(2.3rem, 4.6vw, 3.9rem);
  line-height: 1.1;
}
h2 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.65rem, 2.6vw, 2rem);
  line-height: 1.2;
}
h3 { font-family: var(--font-body); font-weight: 600; font-size: 1.22rem; }

.lede {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(1.15rem, 1.9vw, 1.4rem);
  color: var(--ink-soft);
  max-width: 34em;
}
p { margin: 0 0 1em; max-width: 62ch; }

.micro-label {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 11.5px;
  text-transform: uppercase;
  letter-spacing: var(--tracking-label);
  color: var(--label);
  margin: 0 0 14px;
}
.data { font-family: var(--font-data); font-variant-numeric: tabular-nums; }
.stat-line {
  font-family: var(--font-data);
  font-size: 14px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
}

/* ---- Buttons ---- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--font-body); font-weight: 500; font-size: 15px;
  padding: 13px 26px; border-radius: 6px; border: 1px solid transparent;
  cursor: pointer; transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
  white-space: nowrap;
}
.layer-platform .btn--primary { background: var(--paper); color: var(--court-dark); }
.layer-platform .btn--primary:hover { background: #ffffff; }
.layer-institute .btn--primary { background: var(--sterling-navy); color: var(--paper); }
.layer-institute .btn--primary:hover { background: #1a3552; }
.btn--ghost { border-color: var(--rule); color: var(--ink-strong); background: transparent; }
.btn--ghost:hover { border-color: var(--accent); color: var(--accent); }
.btn--sm { padding: 9px 18px; font-size: 14px; }
.cta-row { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }

/* ---- Header ---- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: var(--header-bg);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--rule);
}
.site-header__in {
  display: flex; align-items: center; gap: 26px;
  min-height: var(--header-h);
}
.site-header__logo { display: flex; align-items: center; flex-shrink: 0; }
.site-header__logo img { height: 30px; width: auto; display: block; }
.site-nav { display: flex; align-items: center; gap: 24px; margin-left: auto; }
.site-nav a {
  font-family: var(--font-body); font-weight: 500; font-size: 11.5px;
  text-transform: uppercase; letter-spacing: 0.18em;
  color: var(--ink-soft); padding: 6px 0;
  border-bottom: 2px solid transparent;
  transition: color 0.2s ease;
}
.site-nav a:hover { color: var(--ink-strong); }
.site-nav a[aria-current="page"] { color: var(--ink-strong); border-bottom-color: var(--accent); }
.site-header__cta { display: flex; align-items: center; gap: 18px; }
.site-header__verify {
  font-family: var(--font-body); font-weight: 500; font-size: 11.5px;
  text-transform: uppercase; letter-spacing: 0.18em; color: var(--ink-soft);
}
.site-header__verify:hover { color: var(--ink-strong); }

.nav-toggle {
  display: none; background: none; border: 0; padding: 8px; cursor: pointer;
  flex-direction: column; gap: 5px; align-items: center; justify-content: center;
  min-width: 44px; min-height: 44px;
}
.nav-toggle span { display: block; width: 22px; height: 2px; background: var(--ink-strong); transition: transform 0.2s ease, opacity 0.2s ease; }

@media (max-width: 960px) {
  .site-nav {
    display: none;
    position: absolute; left: 0; right: 0; top: 100%;
    background: var(--header-bg);
    backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
    flex-direction: column; align-items: flex-start; gap: 0;
    padding: 10px 24px 20px;
    border-bottom: 1px solid var(--rule);
  }
  .site-nav a { padding: 12px 0; font-size: 13px; width: 100%; border-bottom: 0; }
  .site-header.nav-open .site-nav { display: flex; }
  .nav-toggle { display: flex; }
  .site-header.nav-open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .site-header.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
  .site-header.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .site-header__verify { display: none; }
}

/* ---- Sections ---- */
.section { padding: 78px 0; }
.section--rule { border-top: 1px solid var(--rule); }
.hero { padding: 110px 0 90px; }
.layer-platform .hero {
  background: radial-gradient(1100px 520px at 72% -12%, rgba(86, 204, 226, 0.09), transparent 62%);
}
.hero .micro-label { margin-bottom: 22px; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.grid-2 > * { min-width: 0; } /* grid items may shrink below content min-width */
/* Hero pairings give the proposition more room than the instrument */
.hero .grid-2 { grid-template-columns: 1.18fr 1fr; }
@media (max-width: 900px) { .grid-2, .hero .grid-2 { grid-template-columns: 1fr; gap: 40px; } }

.card {
  background: var(--bg-elev);
  border: 1px solid var(--rule);
  border-radius: var(--radius-card);
  padding: 30px;
}
.card-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
@media (max-width: 720px) { .card-grid { grid-template-columns: 1fr; } }

/* ---- Journey strip (LEARN. TRAIN. PROVE. LAUNCH.) ---- */
.journey { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; }
.journey span {
  font-family: var(--font-athletic); font-weight: 700; text-transform: uppercase;
  letter-spacing: var(--tracking-athletic); font-size: clamp(1.15rem, 2.2vw, 1.55rem);
  color: var(--ink-strong);
}
.journey i {
  display: block; font-style: normal; font-family: var(--font-data);
  font-size: 12px; color: var(--accent); margin-bottom: 8px; letter-spacing: 0.08em;
}
@media (max-width: 720px) { .journey { grid-template-columns: repeat(2, 1fr); } }

/* ---- Seven-beat strip ---- */
.beats { list-style: none; margin: 26px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 12px 8px; }
.beats li {
  font-family: var(--font-data); font-size: 13.5px; letter-spacing: 0.06em;
  text-transform: uppercase; color: var(--ink-strong); display: flex; align-items: center;
}
.beats li + li::before { content: "\2192"; color: var(--accent); margin: 0 12px 0 4px; }

/* ---- Score arc ---- */
.arc { position: relative; width: min(264px, 72vw); margin-inline: auto; }
.arc svg { display: block; width: 100%; }
.arc__track { stroke: var(--rule); }
.arc__tick { stroke: var(--rule); }
.arc__path { stroke: var(--accent); }
.arc__marker { stroke: var(--assay-brass); }
.arc__readout {
  position: absolute; inset: 0; display: flex; flex-direction: column;
  align-items: center; justify-content: center; text-align: center; padding-top: 4%;
}
.arc__value {
  font-family: var(--font-data); font-weight: 500; font-variant-numeric: tabular-nums;
  font-size: clamp(2.1rem, 5vw, 2.7rem); line-height: 1; color: var(--ink-strong);
}
.arc__label {
  font-family: var(--font-body); font-weight: 500; font-size: 10.5px;
  text-transform: uppercase; letter-spacing: var(--tracking-label);
  color: var(--label); margin-top: 10px;
}
.arc__max { font-family: var(--font-data); font-size: 11px; color: var(--ink-soft); margin-top: 5px; }

/* ---- Competency bars ---- */
.bars { display: grid; gap: 11px; margin-top: 26px; }
.bar { display: grid; grid-template-columns: minmax(120px, 168px) 1fr 44px; align-items: center; gap: 14px; }
.bar__label { font-size: 13px; color: var(--ink); opacity: 0.85; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bar__track { height: 6px; background: var(--rule); border-radius: 3px; overflow: hidden; }
.bar__fill { display: block; height: 100%; width: 0; background: var(--accent); border-radius: 3px; transition: width 950ms cubic-bezier(0.2, 0.7, 0.2, 1); }
.bar.is-in .bar__fill { width: var(--bar-w, 0%); }
.bar__value { font-family: var(--font-data); font-size: 13px; text-align: right; color: var(--accent); }

/* ---- Instrument figure (specimen) ---- */
.instrument { margin: 0; }
.instrument figcaption { margin-bottom: 22px; }

/* ---- Forms ---- */
.field { margin: 26px 0; max-width: 480px; }
.field label { display: block; margin-bottom: 10px; }
.field input {
  width: 100%; font-family: var(--font-data); font-size: 15px; letter-spacing: 0.08em;
  color: var(--ink-strong); background: var(--bg-elev);
  border: 1px solid var(--rule); border-radius: 6px; padding: 13px 16px;
}
.field input::placeholder { color: var(--ink-soft); opacity: 0.55; }
.field input:focus { outline: 2px solid var(--accent); outline-offset: 1px; }
.field select, .field textarea {
  width: 100%; font-family: var(--font-body); font-size: 15px;
  color: var(--ink-strong); background: var(--bg-elev);
  border: 1px solid var(--rule); border-radius: 6px; padding: 13px 16px;
}
.field select:focus, .field textarea:focus { outline: 2px solid var(--accent); outline-offset: 1px; }
.field textarea { min-height: 140px; resize: vertical; }
.form-stack { max-width: 560px; }
.form-stack .field { margin: 18px 0; }

/* ---- Contact list ---- */
.contact-list { list-style: none; padding: 0; margin: 26px 0; display: grid; gap: 14px; }
.contact-list a { font-family: var(--font-data); font-size: 15.5px; color: var(--ink-strong); }
.contact-list a:hover { color: var(--accent); }
.contact-list .micro-label { margin-bottom: 2px; }

/* ---- Footer (always the Institute speaking: navy field) ---- */
.site-footer { background: var(--sterling-navy); color: var(--paper); margin-top: 40px; }
.site-footer a { color: var(--paper); }
.site-footer__grid {
  display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 48px;
  padding: 64px 24px 52px;
}
.site-footer__mark { width: 54px; height: 54px; display: block; margin-bottom: 20px; }
.site-footer__line {
  font-family: var(--font-display); font-style: italic; font-size: 1.15rem;
  color: var(--paper); margin: 0 0 10px; max-width: 20em;
}
.site-footer__domain { font-size: 12.5px; color: var(--assay-brass-light); }
.site-footer .micro-label { color: var(--assay-brass); }
.site-footer__col { display: flex; flex-direction: column; align-items: flex-start; gap: 11px; font-size: 14.5px; }
.site-footer__col a { opacity: 0.85; padding: 2px 0; }
.site-footer__col a:hover { opacity: 1; }
.site-footer__legal { border-top: 1px solid rgba(245, 241, 231, 0.16); }
.site-footer__legal-in {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 24px;
  padding-block: 20px; font-size: 13px; color: rgba(245, 241, 231, 0.65);
}
.site-footer__legal-links { display: flex; gap: 22px; }
.site-footer__legal-links a { color: rgba(245, 241, 231, 0.65); }
.site-footer__legal-links a:hover { color: var(--paper); }
@media (max-width: 820px) { .site-footer__grid { grid-template-columns: 1fr; gap: 36px; } }

/* ---- 404 ---- */
.notfound { text-align: center; padding: 120px 0 100px; }
.notfound .data { font-size: 15px; color: var(--accent); letter-spacing: 0.14em; }
.wayfinding { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 38px; }

/* ---- Scroll reveal ---- */
[data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.2, 0.7, 0.2, 1);
}
[data-reveal].is-visible { opacity: 1; transform: none; }

/* ============================================================
   Homepage components
   ============================================================ */

/* Athletic section headline (Platform display voice below h1) */
.h-athletic {
  font-family: var(--font-athletic); font-weight: 700; text-transform: uppercase;
  letter-spacing: var(--tracking-athletic);
  font-size: clamp(2rem, 4.2vw, 3.1rem); line-height: 1;
}

/* Fine print — the integrity register */
.fineprint {
  font-family: var(--font-data); font-size: 10.5px; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--ink-soft); opacity: 0.62; margin-top: 16px;
}

/* Section rhythm */
.layer-platform .section--elevated { background: rgba(21, 34, 57, 0.42); }

/* ---- The standard strip ---- */
.strip { border-block: 1px solid var(--rule); padding: 46px 0; }
.strip__in { display: flex; align-items: center; gap: 30px; max-width: 900px; margin-inline: auto; }
.strip__badge { width: 66px; flex-shrink: 0; }
.strip p {
  margin: 0; font-family: var(--font-display); font-size: 1.22rem;
  line-height: 1.55; color: var(--ink-strong); max-width: none;
}
.strip .strip__link { display: inline-block; margin-top: 8px; }
@media (max-width: 640px) { .strip__in { flex-direction: column; text-align: center; } }

/* ---- Charter ledger (the five pillars) ---- */
.ledger { display: grid; grid-template-columns: repeat(5, 1fr); border-top: 1px solid var(--rule); margin-top: 38px; }
.ledger__item { border-left: 1px solid var(--rule); padding: 28px 22px 10px; }
.ledger__item:first-child { border-left: 0; padding-left: 0; }
.ledger__num { display: block; font-family: var(--font-data); font-size: 13px; letter-spacing: 0.1em; color: var(--accent); margin-bottom: 16px; }
.ledger__title {
  font-family: var(--font-athletic); font-weight: 600; text-transform: uppercase;
  letter-spacing: 0.05em; font-size: 1.02rem; color: var(--ink-strong); margin: 0 0 10px;
}
.ledger__item p { font-size: 14.5px; line-height: 1.6; color: var(--ink-soft); margin: 0; }
@media (max-width: 1020px) {
  .ledger { grid-template-columns: repeat(2, 1fr); border-top: 0; gap: 0 40px; }
  .ledger__item, .ledger__item:first-child { border-left: 0; padding: 24px 0 12px; border-top: 1px solid var(--rule); }
}
@media (max-width: 560px) { .ledger { grid-template-columns: 1fr; } }

/* ---- Chips ---- */
.chip {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--font-data); font-size: 10.5px; letter-spacing: 0.12em;
  text-transform: uppercase; padding: 4px 11px; border-radius: 999px;
  border: 1px solid; white-space: nowrap;
}
.chip--ice { color: var(--sterling-ice); border-color: rgba(86, 204, 226, 0.42); }
.chip--brass { color: var(--assay-brass-light); border-color: rgba(169, 137, 75, 0.55); }
.chip--verified { color: var(--verified); border-color: rgba(47, 191, 113, 0.42); }
.chip--alert { color: var(--alert); border-color: rgba(214, 84, 84, 0.42); }

/* ---- Feature list (method band) ---- */
.features { display: grid; grid-template-columns: repeat(2, 1fr); gap: 26px 40px; margin-top: 34px; }
.feature__num { display: block; font-family: var(--font-data); font-size: 12px; color: var(--accent); letter-spacing: 0.1em; margin-bottom: 8px; }
.feature h3 {
  font-family: var(--font-athletic); font-weight: 600; text-transform: uppercase;
  letter-spacing: 0.05em; font-size: 1rem; margin-bottom: 6px;
}
.feature p { font-size: 14.5px; line-height: 1.6; color: var(--ink-soft); margin: 0; }
@media (max-width: 560px) { .features { grid-template-columns: 1fr; } }

/* ---- Film Room specimen ---- */
.filmroom__timeline { display: flex; gap: 4px; height: 32px; margin: 20px 0 8px; }
.filmroom__seg { border-radius: 4px; background: rgba(220, 228, 238, 0.1); }
.filmroom__seg--active { background: rgba(86, 204, 226, 0.26); box-shadow: inset 0 0 0 1px rgba(86, 204, 226, 0.5); }
.filmroom__labels { display: flex; gap: 4px; margin-bottom: 22px; }
.filmroom__labels span {
  font-family: var(--font-data); font-size: 9.5px; letter-spacing: 0.05em;
  text-transform: uppercase; color: var(--ink-soft); text-align: center; overflow: hidden;
}
.filmroom__moment {
  display: grid; grid-template-columns: 58px 1fr auto; gap: 14px; align-items: center;
  padding: 13px 0; border-top: 1px solid var(--rule); font-size: 14px;
}
.filmroom__ts { font-family: var(--font-data); font-size: 13px; color: var(--accent); }
.filmroom__note { color: var(--ink); }
@media (max-width: 480px) {
  .filmroom__moment { grid-template-columns: 58px 1fr; }
  .filmroom__moment .chip { grid-column: 2; justify-self: start; }
}

/* ---- Verification counters ---- */
.counters { display: grid; gap: 22px; margin: 30px 0 4px; }
.counter { border-left: 2px solid var(--accent); padding-left: 18px; }
.counter__num {
  font-family: var(--font-data); font-weight: 500; line-height: 1.1;
  font-size: clamp(1.8rem, 3.2vw, 2.4rem); color: var(--ink-strong);
}
.counter__label {
  margin-top: 5px; font-size: 11px; font-weight: 500; text-transform: uppercase;
  letter-spacing: 0.2em; color: var(--ink-soft);
}

/* ---- Specimen Closer Profile card ---- */
.profile { max-width: 430px; width: 100%; }
.profile__head { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; }
.profile__avatar {
  width: 52px; height: 52px; border-radius: 50%; flex-shrink: 0;
  background: rgba(86, 204, 226, 0.13); color: var(--sterling-ice);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-data); font-size: 15px; letter-spacing: 0.06em;
}
.profile__name { font-weight: 600; font-size: 1.05rem; color: var(--ink-strong); line-height: 1.3; }
.profile__role { font-family: var(--font-data); font-size: 11.5px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-soft); }
.profile__row {
  display: flex; justify-content: space-between; align-items: center; gap: 12px;
  padding: 11px 0; border-top: 1px solid var(--rule); font-size: 13.5px;
}
.profile__row > :first-child { color: var(--ink-soft); }
.profile__row .data { color: var(--sterling-ice); font-size: 13px; }

/* ---- Sitting card (Closer Score section) ---- */
.sitting-row {
  display: flex; justify-content: space-between; align-items: baseline; gap: 16px;
  padding: 12px 0; border-top: 1px solid var(--rule); font-size: 13.5px;
}
.sitting-row:first-of-type { border-top: 0; padding-top: 0; }
.sitting-row > :first-child {
  font-weight: 500; font-size: 11px; text-transform: uppercase;
  letter-spacing: 0.18em; color: var(--ink-soft); white-space: nowrap;
}
.sitting-row .data { color: var(--ink-strong); text-align: right; }

/* ---- The arc (Learn / Train / Prove / Launch) ---- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 36px; margin-top: 40px; }
.step__num { display: block; font-family: var(--font-data); font-size: 12px; color: var(--accent); letter-spacing: 0.1em; margin-bottom: 10px; }
.step h3 {
  font-family: var(--font-athletic); font-weight: 700; text-transform: uppercase;
  letter-spacing: var(--tracking-athletic); font-size: 1.35rem; margin-bottom: 8px;
}
.step p { font-size: 14.5px; line-height: 1.6; color: var(--ink-soft); margin: 0; }
.steps-payoff {
  font-family: var(--font-display); font-style: italic; font-size: 1.2rem;
  color: var(--ink-strong); border-left: 2px solid var(--rule);
  padding-left: 20px; margin-top: 42px; max-width: 44em;
}
/* Brass is achievement: the brass rule marks credential-moment payoffs only */
.steps-payoff--brass { border-left-color: var(--assay-brass); }
.steps--3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 900px) { .steps { grid-template-columns: repeat(2, 1fr); } .steps--3 { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .steps { grid-template-columns: 1fr; } }

/* ---- FAQ ---- */
.faq { max-width: 780px; margin-top: 14px; }
.faq details { border-top: 1px solid var(--rule); }
.faq details:last-child { border-bottom: 1px solid var(--rule); }
.faq summary {
  cursor: pointer; list-style: none; display: flex; justify-content: space-between;
  align-items: center; gap: 22px; padding: 19px 0;
  font-weight: 500; font-size: 1.02rem; color: var(--ink-strong);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--font-data); font-size: 18px; color: var(--accent); flex-shrink: 0; }
.faq details[open] summary::after { content: "\2013"; }
.faq details p { padding-bottom: 22px; margin: 0; color: var(--ink-soft); max-width: 62ch; }

/* ---- Final enrollment block ---- */
.price {
  font-family: var(--font-data); font-weight: 500;
  font-size: clamp(2.5rem, 5vw, 3.4rem); color: var(--ink-strong); line-height: 1;
}
.includes { list-style: none; padding: 0; margin: 24px 0 4px; display: grid; gap: 11px; }
.includes li { position: relative; padding-left: 24px; font-size: 15px; line-height: 1.5; }
.includes li::before {
  content: ""; position: absolute; left: 0; top: 0.62em;
  width: 11px; height: 2px; background: var(--accent);
}

/* ---- Sticky mobile enroll bar ---- */
.enroll-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 90;
  display: none; align-items: center; justify-content: space-between; gap: 16px;
  padding: 11px 18px calc(11px + env(safe-area-inset-bottom));
  background: rgba(11, 21, 38, 0.97);
  border-top: 1px solid var(--rule);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  transform: translateY(105%); transition: transform 0.35s ease;
}
.enroll-bar.is-shown { transform: none; }
.enroll-bar__price { font-family: var(--font-data); font-size: 15px; color: var(--ink-strong); line-height: 1.2; }
.enroll-bar__price small {
  display: block; font-family: var(--font-body); font-weight: 500; font-size: 9.5px;
  letter-spacing: 0.18em; text-transform: uppercase; color: var(--ink-soft);
}
@media (max-width: 720px) {
  .enroll-bar { display: flex; }
  body.has-enroll-bar { padding-bottom: 70px; }
}

/* ---- Program components (the seven-part spine) ---- */
.components { margin-top: 40px; }
.component {
  border-top: 1px solid var(--rule);
  padding: 36px 0 30px;
  display: grid; grid-template-columns: 92px 1fr; gap: 10px 28px;
}
.component__num { font-family: var(--font-data); font-size: 14px; letter-spacing: 0.1em; color: var(--accent); padding-top: 5px; }
.component__body h3 {
  font-family: var(--font-athletic); font-weight: 700; text-transform: uppercase;
  letter-spacing: var(--tracking-athletic); font-size: 1.35rem; margin-bottom: 10px;
}
.component__body > p { color: var(--ink-soft); font-size: 15px; }
.component__meta {
  list-style: none; padding: 0; margin: 18px 0 0; display: flex; flex-wrap: wrap; gap: 8px 26px;
}
.component__meta li {
  font-family: var(--font-data); font-size: 12px; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--ink-soft);
}
.component__meta li strong { color: var(--ink-strong); font-weight: 500; }
.component__route { display: inline-block; margin-top: 18px; font-size: 14px; }
.component .profile { margin-top: 26px; }
@media (max-width: 640px) { .component { grid-template-columns: 1fr; } }

/* ---- Dimension definitions ---- */
.dims { margin: 34px 0 0; display: grid; gap: 0; }
.dims > div { border-top: 1px solid var(--rule); padding: 16px 0; display: grid; grid-template-columns: minmax(150px, 220px) 1fr; gap: 18px; }
.dims dt { font-weight: 600; color: var(--ink-strong); font-size: 15px; }
.dims dd { margin: 0; color: var(--ink-soft); font-size: 14.5px; }
@media (max-width: 560px) { .dims > div { grid-template-columns: 1fr; gap: 4px; } }

/* ---- Learning hierarchy (method page) ---- */
.hierarchy { list-style: none; margin: 28px 0 0; padding: 0; max-width: 540px; }
.hierarchy li {
  display: flex; align-items: baseline; gap: 16px; padding: 11px 0;
  border-top: 1px solid var(--rule); font-size: 14.5px; color: var(--ink-soft);
}
.hierarchy li:last-child { border-bottom: 1px solid var(--rule); }
.hierarchy .data { flex: 0 0 30px; font-size: 12px; color: var(--ink-soft); opacity: 0.6; }
.hierarchy li strong { color: var(--ink-strong); font-weight: 500; }
.hierarchy li.is-top .data { color: var(--accent); opacity: 1; }

/* ---- Price variants ---- */
.price--sm { font-size: clamp(2rem, 3.6vw, 2.6rem); }
.tier-note { font-size: 13.5px; color: var(--ink-soft); margin-top: 4px; }

/* ---- Institute-layer overrides for shared components ----
   The Institute palette carries no Ice: data renders in navy,
   achievement in brass-dark, semantic green darkened for paper. */
.layer-institute .chip--ice { color: var(--sterling-navy); border-color: rgba(16, 36, 59, 0.35); }
.layer-institute .chip--brass { color: var(--assay-brass-dark); border-color: rgba(138, 111, 60, 0.5); }
.layer-institute .chip--verified { color: #1E7F4C; border-color: rgba(47, 191, 113, 0.55); }
.layer-institute .profile__row .data { color: var(--sterling-navy); }
.layer-institute .profile__avatar { background: rgba(16, 36, 59, 0.08); color: var(--sterling-navy); }
.layer-institute .counter { border-left-color: var(--assay-brass); }
/* The Condensed (athletic) voice belongs to the Platform layer only —
   Institute surfaces speak in Spectral and Plex Sans. */
.layer-institute .step h3, .layer-institute .ledger__title, .layer-institute .component__body h3 {
  font-family: var(--font-display); font-weight: 600; text-transform: none; letter-spacing: 0;
}
.layer-institute .feature h3 {
  font-family: var(--font-body); font-weight: 600; text-transform: none; letter-spacing: 0;
}

/* ---- Legal prose rhythm ---- */
.prose h2 { margin-top: 40px; }
.prose h2:first-child { margin-top: 0; }

/* ---- Metric cards (outcomes page) — built for clean replacement ---- */
.metrics { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 36px; }
.metric { border-top: 2px solid var(--assay-brass); padding-top: 18px; }
.metric__value {
  display: block; font-family: var(--font-data); font-weight: 500; line-height: 1.05;
  font-size: clamp(1.9rem, 3.4vw, 2.6rem); color: var(--ink-strong);
}
.metric__label {
  display: block; margin-top: 7px; font-size: 11px; font-weight: 500;
  text-transform: uppercase; letter-spacing: 0.2em; color: var(--ink-soft);
}
.metric__period {
  display: block; margin-top: 5px; font-family: var(--font-data); font-size: 10.5px;
  letter-spacing: 0.08em; text-transform: uppercase; color: var(--assay-brass-dark);
}
@media (max-width: 860px) { .metrics { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .metrics { grid-template-columns: 1fr; } }

/* ---- Verification portal ---- */
.verify-status {
  max-width: 560px; border: 1px solid var(--rule); border-radius: var(--radius-card);
  background: var(--bg-elev); padding: 22px 26px; margin: 26px 0;
}
.verify-status h3 { margin-bottom: 6px; }
.verify-status p { margin: 0; font-size: 14.5px; color: var(--ink-soft); }
.record { max-width: 720px; margin: 30px 0; }
.record__head { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; margin-bottom: 8px; }
.record__name { font-family: var(--font-display); font-weight: 600; font-size: 1.5rem; color: var(--ink-strong); }
.record .bars { margin-top: 8px; margin-bottom: 8px; }
.record--specimen { border: 1px dashed var(--assay-brass); }
.record__specimen-banner {
  font-family: var(--font-data); font-size: 11px; letter-spacing: 0.22em;
  text-transform: uppercase; color: var(--assay-brass-dark);
  border-bottom: 1px solid var(--rule); padding-bottom: 12px; margin-bottom: 18px;
}

/* ---- Live simulation console ---- */
.console__meta {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 18px;
  font-family: var(--font-data); font-size: 11.5px; letter-spacing: 0.06em;
  text-transform: uppercase; color: var(--ink-soft); margin-bottom: 18px;
}
.console__rec { color: var(--alert); display: inline-flex; align-items: center; gap: 7px; }
.console__rec::before {
  content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--alert);
  animation: recBlink 1.4s ease-in-out infinite;
}
@keyframes recBlink { 0%, 100% { opacity: 1; } 50% { opacity: 0.25; } }
.wave { display: flex; align-items: center; gap: 3px; height: 54px; margin: 6px 0 20px; }
.wave span {
  flex: 1; min-width: 2px; border-radius: 2px;
  background: var(--sterling-ice); opacity: 0.85; transform-origin: center;
}
@media (prefers-reduced-motion: no-preference) {
  .wave span { animation: wavePulse 1.5s ease-in-out infinite alternate; }
}
@keyframes wavePulse { from { transform: scaleY(0.5); opacity: 0.5; } to { transform: scaleY(1); opacity: 0.95; } }

/* ---- Coach heatmap (weakness over weeks) ---- */
.heat {
  display: grid; grid-template-columns: minmax(104px, 148px) repeat(4, 1fr) 74px;
  gap: 9px 10px; align-items: center; margin-top: 20px; font-size: 12.5px;
}
.heat__head {
  font-family: var(--font-data); font-size: 10px; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--ink-soft); text-align: center;
}
.heat__label { color: var(--ink-soft); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.heat__cell { height: 20px; border-radius: 4px; background: rgba(86, 204, 226, var(--a, 0.1)); }
.heat .chip { justify-self: center; }
@media (max-width: 480px) { .heat { grid-template-columns: minmax(90px, 110px) repeat(4, 1fr) 64px; gap: 8px 6px; } }

/* ---- Gauntlet tracker ---- */
.tracker { display: flex; flex-wrap: wrap; gap: 9px; margin: 18px 0 0; }
.tracker span {
  font-family: var(--font-data); font-size: 10.5px; letter-spacing: 0.09em;
  text-transform: uppercase; padding: 7px 12px;
  border: 1px solid var(--rule); border-radius: 6px; color: var(--ink-soft);
}
.tracker .is-done { color: var(--verified); border-color: rgba(47, 191, 113, 0.4); }
.tracker .is-live { color: var(--sterling-ice); border-color: rgba(86, 204, 226, 0.55); }

/* ---- Returns contrast (exam vs Program) ---- */
.returns { display: grid; gap: 16px; }
.returns__score {
  font-family: var(--font-data); font-weight: 500; font-size: 2.1rem;
  color: var(--ink-strong); line-height: 1;
}
.returns__panel .micro-label { margin-bottom: 12px; }

/* ---- Institutional flow diagram (Train → Prove → Verify → Employ) ---- */
.flow { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 0; margin-top: 42px; }
.flow span {
  font-family: var(--font-display); font-weight: 600; font-size: 1.15rem;
  color: var(--ink-strong); background: var(--bg-elev);
  border: 1px solid var(--rule); border-radius: 8px; padding: 13px 24px;
}
.flow i {
  font-style: normal; font-family: var(--font-data); font-size: 15px;
  color: var(--assay-brass-dark); margin: 0 13px;
}

/* ---- Small-screen rhythm (375px audit) ---- */
@media (max-width: 480px) {
  .hero { padding: 76px 0 60px; }
  .section { padding: 56px 0; }
  .cta-row .btn { flex: 1 1 auto; }
  .btn { white-space: normal; text-align: center; }
  .card { padding: 24px 20px; }
}

/* ---- Reduced motion: everything lands instantly ---- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  [data-reveal] { opacity: 1; transform: none; transition: none; }
  .bar__fill { transition: none; }
  .bar.is-in .bar__fill { width: var(--bar-w, 0%); }
  .enroll-bar { transition: none; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; }
}
