/* LuAir — design system
   Ink navy + horizon blue on warm paper. IBM Plex family: Serif for display,
   Sans for body, Mono for framework numerals and rule identifiers.
   Single deliberate light theme. */

:root {
  --paper: #FBFAF7;
  --panel: #FFFFFF;
  --ink: #101A26;
  --ink-2: #3D4A59;
  --ink-3: #667380;
  --line: #DCDFE2;
  --line-soft: #E9EBED;
  --navy: #12263C;
  --navy-2: #1B3A5C;
  --horizon: #2563A8;
  --horizon-soft: #E8F0F9;
  --amber: #B07C2A;

  --serif: "IBM Plex Serif", Georgia, serif;
  --sans: "IBM Plex Sans", -apple-system, "Segoe UI", sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, Menlo, monospace;

  --measure: 64ch;
  --gutter: clamp(1.25rem, 4vw, 3rem);
  --section: clamp(4rem, 9vw, 7.5rem);
}

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

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

/* ---------- type ---------- */
h1, h2, h3 { font-family: var(--serif); font-weight: 600; line-height: 1.15; margin: 0; text-wrap: balance; }
h1 { font-size: clamp(2.4rem, 5.5vw, 3.9rem); letter-spacing: -0.015em; }
h2 { font-size: clamp(1.7rem, 3.2vw, 2.4rem); letter-spacing: -0.01em; }
h3 { font-size: 1.25rem; }
p { margin: 0; max-width: var(--measure); }
a { color: var(--horizon); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }
a:focus-visible, button:focus-visible, input:focus-visible, .ff-done:focus-visible { outline: 2px solid var(--horizon); outline-offset: 3px; border-radius: 1px; }
/* dark surfaces: a light ring so the indicator keeps 3:1 against navy and the hero gradients */
.site-head.clear :is(a, button):focus-visible, .hero-cine :is(a, button):focus-visible, .hero-page :is(a, button):focus-visible,
.band-navy :is(a, button):focus-visible, .strip :is(a, button):focus-visible, .site-nav.open a:focus-visible { outline-color: #7FB2E8; }

.eyebrow {
  font-family: var(--mono);
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--horizon);
}
.lede { font-size: clamp(1.15rem, 2vw, 1.3rem); color: var(--ink-2); line-height: 1.6; }

/* ---------- layout ---------- */
.shell { max-width: 72rem; margin: 0 auto; padding: 0 var(--gutter); }
section { padding-block: var(--section); }
.stack-s > * + * { margin-top: 0.75rem; }
.stack-m > * + * { margin-top: 1.5rem; }
.stack-l > * + * { margin-top: 2.75rem; }

/* ---------- header ---------- */
.site-head {
  position: relative; z-index: 20;
  background: color-mix(in srgb, var(--paper) 88%, transparent);
  border-bottom: 1px solid var(--line-soft);
}
.site-head .shell {
  display: flex; align-items: center; gap: 2rem;
  min-height: 4.25rem;
}
.brand {
  font-family: var(--serif); font-weight: 600; font-size: 1.35rem;
  color: var(--ink); letter-spacing: 0.01em;
}
.brand:hover { text-decoration: none; }
.brand { white-space: nowrap; }
@media (max-width: 22rem) { .brand { font-size: 1.15rem; } }
.brand .dot { color: var(--horizon); position: relative; top: -0.62em; left: 0.04em; font-size: 0.9em; display: inline-block; }
.site-nav { margin-left: auto; display: flex; gap: 1.75rem; align-items: center; }
.site-nav a {
  color: var(--ink-2); font-size: 0.95rem; font-weight: 450;
}
.site-nav a[aria-current="page"] { color: var(--ink); font-weight: 600; }
.site-nav a:hover { color: var(--ink); text-decoration: none; }
.nav-cta {
  border: 1px solid var(--navy); border-radius: 2px;
  padding: 0.5rem 1.05rem; color: var(--navy) !important; font-weight: 550 !important;
}
.nav-cta:hover { background: var(--navy); color: #fff !important; }
.nav-toggle { display: none; }

/* the header collapses to the Menu button under 62rem: the two-word wordmark and six links share one line only from about 1000px */
@media (max-width: 62rem) {
  .nav-toggle {
    display: block; margin-left: auto; background: none; border: 1px solid var(--line);
    border-radius: 2px; padding: 0.45rem 0.7rem; font: inherit; color: var(--ink);
    cursor: pointer;
  }
  .site-nav {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--paper); border-bottom: 1px solid var(--line);
    padding: 0.5rem var(--gutter) 1rem;
  }
  .site-nav.open { display: flex; }
  .site-nav a { padding: 0.7rem 0; border-bottom: 1px solid var(--line-soft); }
  .nav-cta { border: none; padding: 0.7rem 0; }
  .nav-cta:hover { background: none; color: var(--navy) !important; }
}

/* ---------- hero ---------- */
.hero { padding-block: clamp(5rem, 11vw, 9rem) clamp(4.5rem, 9vw, 7rem); }
.hero .shell { display: grid; gap: 3rem; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); align-items: center; }
.hero-copy { display: flex; flex-direction: column; gap: 1.6rem; }
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; margin-top: 0.5rem; }
.button {
  display: inline-block; border-radius: 2px; padding: 0.85rem 1.6rem;
  font-weight: 550; font-size: 1rem; border: 1px solid transparent;
}
.button:hover { text-decoration: none; }
.button-primary { background: var(--navy); color: #fff; }
.button-primary:hover { background: var(--navy-2); }
.button-ghost { border-color: var(--line); color: var(--ink); }
.button-ghost:hover { border-color: var(--navy); }

@media (max-width: 56rem) {
  .hero .shell { grid-template-columns: 1fr; }
}

/* ---------- bands ---------- */
.band { border-top: 1px solid var(--line-soft); }
.band-navy { background: var(--navy); color: #E9EEF4; }
.band-navy h2 { color: #fff; }
.band-navy p { color: #C6D2DF; }
.band-panel { background: var(--panel); }

.section-head { display: flex; flex-direction: column; gap: 0.9rem; max-width: 46rem; }

/* ---------- pillars ---------- */
.pillars { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); margin-top: 3rem; }
@media (min-width: 56rem) { .pillars { grid-template-columns: repeat(3, 1fr); }
  .pillars.two { grid-template-columns: repeat(2, 1fr); } }
.pillar { background: var(--panel); padding: 2.25rem 2rem 2.5rem; display: flex; flex-direction: column; gap: 1rem; }
.pillar .num { font-family: var(--mono); font-size: 0.8rem; color: var(--horizon); }
.pillar h3 { font-size: 1.3rem; }
.pillar p { font-size: 0.98rem; color: var(--ink-2); }
.pillar .more { margin-top: auto; padding-top: 1.25rem; font-size: 0.95rem; font-weight: 550; }

/* ---------- principles ---------- */
.principles { display: grid; gap: 2.5rem 3.5rem; margin-top: 3rem; }
@media (min-width: 56rem) { .principles { grid-template-columns: 1fr 1fr; } }
.principle { display: grid; grid-template-columns: auto 1fr; gap: 1.4rem; }
.principle .num { font-family: var(--mono); font-size: 0.8rem; color: var(--horizon); padding-top: 0.3rem; }
.principle h3 { font-family: var(--sans); font-weight: 600; font-size: 1.08rem; }
.principle p { font-size: 0.98rem; margin-top: 0.45rem; }
.band-navy .principle p { color: #B9C7D6; }
.band-navy .eyebrow, .band-navy .principle .num { color: #7FB2E8; }

/* ---------- proof ---------- */
.proof { display: grid; gap: 2rem; margin-top: 3rem; }
@media (min-width: 47rem) { .proof { grid-template-columns: repeat(3, 1fr); } }
.proof-item { border-top: 2px solid var(--navy); padding-top: 1.1rem; }
.proof-item .stat { font-family: var(--serif); font-size: 2.1rem; font-weight: 600; line-height: 1.1; }
.proof-item .label { font-size: 0.95rem; color: var(--ink-2); margin-top: 0.4rem; }

/* ---------- closing ---------- */
.closing .shell { display: flex; flex-direction: column; gap: 1.75rem; align-items: flex-start; }

/* ---------- footer ---------- */
.site-foot { border-top: 1px solid var(--line); padding: 2.75rem 0 3.5rem; }
.site-foot .shell { display: flex; flex-wrap: wrap; gap: 1.5rem 3rem; align-items: baseline; }
.site-foot .brand { font-size: 1.1rem; }
.foot-nav { display: flex; gap: 1.5rem; flex-wrap: wrap; }
.foot-nav a { color: var(--ink-3); font-size: 0.92rem; }
.foot-meta { margin-left: auto; color: var(--ink-3); font-size: 0.92rem; }
@media (max-width: 47rem) { .foot-meta { margin-left: 0; } }

/* ---------- interior pages ---------- */
.page-head { padding-block: clamp(4rem, 8vw, 6.5rem) clamp(2.5rem, 5vw, 4rem); }
.page-head .shell { display: flex; flex-direction: column; gap: 1.25rem; max-width: 56rem; }

/* ---------- diagrams ---------- */
.figure {
  margin: 3rem 0 0; background: var(--panel);
  border: 1px solid var(--line); border-radius: 2px;
  padding: clamp(1.5rem, 4vw, 3rem);
}
.figure figcaption {
  margin-top: 1.5rem; padding-top: 1.25rem; border-top: 1px solid var(--line-soft);
  font-size: 0.92rem; color: var(--ink-3); max-width: var(--measure);
}
svg.diagram { width: 100%; height: auto; display: block; }
svg.diagram-mobile { display: none; }
/* tablets and phones: dense diagrams swap to the portrait variants drawn for narrow screens
   (the 760-unit desktop drawings shrink their labels below ten pixels under about 900px) */
@media (max-width: 57rem) {
  /* the hero's scroll cue is pinned to the hero's top block; on tablets and phones that block sits over the boot list, so the cue is hidden */
  .scroll-cue { display: none; }
  svg.diagram-desktop { display: none; }
  svg.diagram-mobile { display: block; max-width: 34rem; margin-left: auto; margin-right: auto; }
}
/* phones: the portrait variants render near 300px on a 360-unit frame - lift the smallest labels so nothing drops below ~10px */
@media (max-width: 40rem) {
  .figure { padding: 0.75rem; }
  svg.diagram text[font-size="9.5"], svg.diagram text[font-size="10"] { font-size: 12px; }
  svg.diagram text[font-size="10.5"], svg.diagram text[font-size="11"] { font-size: 12.5px; }
}
svg.diagram text { font-family: var(--sans); fill: var(--ink-2); }
svg.diagram .d-title { font-family: var(--serif); font-weight: 600; fill: var(--ink); }
svg.diagram .d-num { font-family: var(--mono); fill: var(--horizon); }
svg.diagram .d-mono { font-family: var(--mono); fill: var(--ink-3); }
svg.diagram .d-strong { fill: var(--ink); font-weight: 600; }
svg.diagram .d-faint { fill: #5F6B78; }
svg.diagram .d-invert { fill: #E9EEF4; }
svg.diagram .box { fill: var(--paper); stroke: var(--line); }
svg.diagram .box-strong { fill: var(--navy); stroke: var(--navy); }
svg.diagram .box-accent { fill: var(--horizon-soft); stroke: var(--horizon); }
svg.diagram .wire { stroke: var(--ink-3); fill: none; }
svg.diagram .wire-accent { stroke: var(--horizon); fill: none; }
svg.diagram .rail { stroke: var(--line); }

/* ---------- detail lists ---------- */
.cap-list { margin-top: 3rem; display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); }
.cap-row { background: var(--panel); display: grid; grid-template-columns: auto 1fr; gap: 1.4rem; padding: 1.5rem 1.75rem; }
.cap-row .num { font-family: var(--mono); font-size: 0.8rem; color: var(--horizon); padding-top: 0.25rem; }
.cap-row h3 { font-family: var(--sans); font-weight: 600; font-size: 1.05rem; }
.cap-row .q { font-size: 0.92rem; color: var(--horizon); font-style: italic; margin-top: 0.15rem; }
.cap-row p { font-size: 0.96rem; color: var(--ink-2); margin-top: 0.5rem; }

.type-grid { margin-top: 3rem; display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); }
@media (min-width: 47rem) { .type-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 68rem) { .type-grid { grid-template-columns: repeat(4, 1fr); } }
.type-cell { background: var(--panel); padding: 1.4rem 1.5rem; }
.type-cell .num { font-family: var(--mono); font-size: 0.75rem; color: var(--horizon); }
.type-cell h3 { font-family: var(--sans); font-weight: 600; font-size: 1rem; margin-top: 0.4rem; }
.type-cell p { font-size: 0.9rem; color: var(--ink-2); margin-top: 0.4rem; }

/* ---------- about ---------- */
.about-grid { display: grid; gap: 3rem; align-items: start; margin-top: 3rem; }
@media (min-width: 56rem) { .about-grid { grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); } }
.about-grid .figure { margin-top: 0; }

/* ---------- contact ---------- */
.contact-card {
  margin-top: 2.5rem; background: var(--panel); border: 1px solid var(--line); border-radius: 2px;
  padding: clamp(1.75rem, 4vw, 2.75rem); display: flex; flex-direction: column; gap: 1.25rem; max-width: 44rem;
}
.contact-card .email { font-family: var(--serif); font-size: clamp(1.3rem, 3vw, 1.7rem); font-weight: 600; }
.contact-card ul { margin: 0; padding-left: 1.2rem; color: var(--ink-2); font-size: 0.98rem; }
.contact-card li { margin-top: 0.35rem; }
.contact-form { margin: 0.5rem 0 1.5rem; max-width: 36rem; }
.contact-form .cf-field { margin-top: 1rem; }
.contact-form label { display: block; font-weight: 600; font-size: 0.95rem; margin-bottom: 0.4rem; }
.contact-form input[type=text], .contact-form input[type=email], .contact-form textarea {
  width: 100%; box-sizing: border-box; padding: 0.65rem 0.9rem; border: 1px solid #C9CFD6;
  border-radius: 2px; font: inherit; background: #fff; color: #12263C; }
.contact-form textarea { resize: vertical; min-height: 8rem; }
.contact-form .cf-hint { margin: 0.5rem 0 0; font-size: 0.85rem; color: var(--ink-3); }
.contact-form .cf-check { display: flex; gap: 0.6rem; align-items: flex-start; margin-top: 1rem;
  font-weight: 500; font-size: 0.92rem; }
.contact-form .cf-check input { margin-top: 0.25rem; }
.contact-form .hero-actions { margin-top: 1.4rem; }
.contact-form .ff-note { margin-top: 0.6rem; font-size: 0.85rem; color: #A33B2E; }
.contact-form .ff-done { font-weight: 600; color: #2E7D5B; }
.contact-card .email { display: inline-block; margin-top: 0.4rem; }

/* ---------- assessment ---------- */
.assess { max-width: 46rem; }
.assess-progress { font-family: var(--mono); font-size: 0.8rem; color: var(--ink-3); letter-spacing: 0.08em; }
.assess-card { background: var(--panel); border: 1px solid var(--line); border-radius: 2px;
  padding: clamp(1.75rem, 4vw, 2.75rem); margin-top: 1.25rem; }
.assess-card legend { font-family: var(--serif); font-weight: 600; font-size: clamp(1.25rem, 2.5vw, 1.55rem);
  line-height: 1.3; padding: 0; }
.assess-card fieldset { border: none; margin: 0; padding: 0; }
.assess-cap { font-family: var(--mono); font-size: 0.75rem; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--horizon); display: block; margin-bottom: 0.9rem; }
.option-list { display: flex; flex-direction: column; gap: 0.7rem; margin-top: 1.5rem; }
.option { display: grid; grid-template-columns: auto 1fr; gap: 0.9rem; align-items: start;
  border: 1px solid var(--line); border-radius: 2px; padding: 1rem 1.15rem; cursor: pointer;
  font-size: 0.98rem; color: var(--ink-2); transition: border-color 120ms ease, background 120ms ease; }
.option:hover { border-color: var(--horizon); }
.option input { margin-top: 0.3rem; accent-color: var(--navy); }
.option.picked { border-color: var(--navy); background: var(--horizon-soft); color: var(--ink); }
.assess-nav { display: flex; gap: 1rem; margin-top: 1.75rem; align-items: center; }
.assess-nav .back { color: var(--ink-3); font-size: 0.95rem; background: none; border: none;
  cursor: pointer; font-family: inherit; padding: 0.5rem 0; }
.assess-nav .back:hover { color: var(--ink); }

/* the score zone — restored from the Build 02 shape report (BR-8/9/10) */
.score-area { margin-top: 2rem; max-width: 46rem; }
.score-num { font-family: var(--serif); font-size: clamp(2.2rem, 5vw, 2.8rem); font-weight: 600; line-height: 1; }
.score-level { font-family: var(--mono); font-size: 0.8rem; letter-spacing: 0.14em;
  text-transform: uppercase; margin: 0.5rem 0 1.1rem; }
.score-level.low { color: #A33B2E; }
.score-level.mid { color: #8A5F1E; }
.score-level.high { color: var(--horizon); }
.score-bar { height: 30px; background: var(--panel); border: 1px solid var(--line);
  border-radius: 2px; overflow: hidden; }
.score-fill { height: 100%; min-width: 3.2rem;
  background: linear-gradient(90deg, #C9CFD6 0%, #B07C2A 50%, #2563A8 100%);
  display: flex; align-items: center; justify-content: flex-end; padding-right: 0.7rem;
  transition: width 900ms cubic-bezier(0.2, 0.6, 0.2, 1); }
.score-fill span { font-family: var(--mono); font-size: 0.75rem; color: #fff; white-space: nowrap;
  background: rgba(16, 26, 38, 0.55); padding: 0 0.4rem; border-radius: 2px; }

/* the shape result */
.shape-track { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; align-items: center; }
.shape-seg { height: 10px; border-radius: 1px; background: var(--line-soft); position: relative; }
.shape-seg.lit-absent { background: #C9CFD6; }
.shape-seg.lit-emerging { background: var(--amber); }
.shape-seg.lit-functioning { background: var(--horizon); }
.shape-legend { display: flex; gap: 1.75rem; flex-wrap: wrap; margin-top: 1.25rem;
  font-size: 0.85rem; color: var(--ink-2); }
.shape-legend .chip { display: inline-block; width: 0.85rem; height: 0.6rem; border-radius: 1px;
  margin-right: 0.45rem; }
.shape-summary { margin-top: 2rem; padding: 1.5rem 1.75rem; background: var(--horizon-soft);
  border-left: 3px solid var(--horizon); font-size: 1rem; color: var(--ink-2); max-width: none; }

/* the shape report — all seven capabilities expanded as report cards */
.report-form { margin-top: 2rem; padding: 1.25rem 1.4rem; background: #fff;
  border: 1px solid var(--line); border-radius: 2px; }
.report-form .ff-help { margin: -0.2rem 0 0.8rem; font-size: 0.88rem; color: var(--ink-3); }
.report-actions { display: flex; gap: 1rem 1.5rem; flex-wrap: wrap; align-items: center;
  margin-top: 1.25rem; }
.link-button { background: none; border: 0; padding: 0.4rem 0; font: inherit; font-size: 0.95rem;
  color: var(--navy); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.link-button:hover { color: var(--horizon); }
.report-grid { margin-top: 1.25rem; display: grid; gap: 1rem; }
@media (min-width: 62rem) { .report-grid { grid-template-columns: 1fr 1fr; } }
.report-card { background: var(--panel); border: 1px solid var(--line); border-radius: 2px;
  padding: 1.25rem 1.4rem; }
.rc-head { display: flex; align-items: baseline; gap: 0.75rem; }
.rc-head .num { font-family: var(--mono); font-size: 0.75rem; color: var(--horizon); }
.rc-head .name { font-weight: 600; font-size: 1rem; }
.rc-head .spacer { flex: 1; }
.rc-track { margin: 0.8rem 0 1rem; max-width: 14rem; }
.rc-section { margin-top: 0.75rem; }
.rc-section p { font-size: 0.92rem; color: var(--ink-2); }
.rc-section .det-label { font-family: var(--mono); font-size: 0.68rem; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--ink-3); margin-bottom: 0.2rem; }
.rc-section .det-func { border-left: 3px solid var(--horizon); padding-left: 0.9rem; }

.det-pill { font-family: var(--mono); font-size: 0.7rem; padding: 0.15rem 0.55rem;
  border-radius: 10px; white-space: nowrap; }
.det-pill.absent { background: #E9E4DC; color: #6E5F45; }
.det-pill.emerging { background: #F4E8D2; color: #8A5F1E; }
.det-pill.functioning { background: var(--horizon-soft); color: var(--horizon); }
.det-pts { font-family: var(--mono); font-size: 0.75rem; color: var(--ink-3); }
/* ---------- cinematic chrome (any page with a dark hero) ---------- */
.site-head { transition: background 300ms ease, border-color 300ms ease; }
.site-head.clear { background: transparent; border-bottom-color: transparent; backdrop-filter: none; }
.site-head.clear .brand, .site-head.clear .site-nav a { color: #E9EEF4; }
.site-head.clear .brand .dot { color: #7FB2E8; }
.site-head.clear .nav-cta { border-color: #3D5876; color: #E9EEF4 !important; }
.site-head.clear .nav-cta:hover { background: #E9EEF4; color: #12263C !important; }
.site-head.clear .nav-toggle { border-color: #3D5876; color: #E9EEF4; }
@media (max-width: 62rem) {
  .site-head.clear .site-nav { background: var(--navy); border-bottom-color: #2C4258; }
  .site-head.clear .site-nav a { border-bottom-color: #2C4258; }
}

.hero-cine {
  position: relative; min-height: 100svh; display: flex; align-items: center;
  background: linear-gradient(180deg, #0D1C2E 0%, #12263C 55%, #16304A 100%);
  color: #E9EEF4; overflow: hidden; padding-block: 0;
  margin-top: -4.25rem; padding-top: 4.25rem;
}
.hero-page {
  position: relative; overflow: hidden;
  background: linear-gradient(180deg, #0D1C2E 0%, #12263C 60%, #16304A 100%);
  color: #E9EEF4;
  margin-top: -4.25rem;
  padding-top: calc(4.25rem + clamp(3.5rem, 8vw, 6rem));
  padding-bottom: clamp(3rem, 6vw, 4.5rem);
}
.hero-page .shell { position: relative; z-index: 1; display: flex; flex-direction: column;
  gap: 1.25rem; max-width: 56rem; }
.hero-page .eyebrow { color: #7FB2E8; }
.hero-page h1 { color: #FFFFFF; }
.hero-page .lede { color: #B9C7D6; }

/* per-page tone: one navy identity; gold is reserved for the assessment (measurement) */

/* rich dark tones for the light-bodied pages — dark shirt, light pants */
.hero-page.tone-gold { background: linear-gradient(180deg, #2A2109 0%, #3B2F0D 60%, #4A3B11 100%); }
.hero-page.tone-gold::before, .hero-page.tone-gold::after {
  background:
    linear-gradient(115deg, transparent 48%, rgba(227,197,104,0.05) 49%, transparent 51%),
    linear-gradient(115deg, transparent 68%, rgba(227,197,104,0.04) 69%, transparent 71%),
    linear-gradient(115deg, transparent 28%, rgba(227,197,104,0.035) 29%, transparent 31%);
}
.hero-page.tone-gold .eyebrow { color: #E3C568; }
.hero-page.tone-gold .lede { color: #D6CBAA; }



/* Solo tier cards */
.tiers { margin-top: 3rem; display: grid; gap: 1.25rem; }
@media (min-width: 62rem) { .tiers { grid-template-columns: repeat(3, 1fr); } }
.tier { background: var(--panel); border: 1px solid var(--line); border-radius: 2px;
  padding: 1.75rem 1.6rem; display: flex; flex-direction: column; gap: 0.8rem; }
.tier .size { font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--horizon); }
.tier h3 { font-family: var(--serif); font-weight: 600; font-size: 1.35rem; }
.tier .circle { font-size: 0.95rem; color: var(--ink); font-weight: 550; }
.tier p { font-size: 0.95rem; color: var(--ink-2); }
.tier .grad { margin-top: auto; padding-top: 0.9rem; border-top: 1px solid var(--line);
  font-size: 0.9rem; color: var(--ink-3); }
.tier .grad b { color: var(--horizon); font-weight: 600; }

/* download cards */
.dl-row { margin-top: 2.5rem; display: grid; gap: 1.25rem; }
@media (min-width: 47rem) { .dl-row { grid-template-columns: 1fr 1fr; } }
.dl { display: flex; gap: 1.1rem; align-items: center; background: var(--panel);
  border: 1px solid var(--line); border-radius: 2px; padding: 1.3rem 1.5rem; }
.dl:hover { border-color: var(--horizon); text-decoration: none; }
.dl .icon { width: 44px; height: 54px; flex: none; background: var(--navy); border-radius: 2px;
  color: #fff; font-family: var(--mono); font-size: 0.62rem; display: flex;
  align-items: center; justify-content: center; }
.dl .t { font-weight: 600; color: var(--ink); }
.dl .s { font-size: 0.85rem; color: var(--ink-3); margin-top: 0.15rem; }

/* two-tone pages: identity tint on top, plain paper below — no gray banding */
body.two-tone .band-panel { background: var(--paper); }



.hero-cine::before, .hero-cine::after,
.hero-page::before, .hero-page::after {
  content: ""; position: absolute; inset: -40%; pointer-events: none;
  background:
    linear-gradient(115deg, transparent 48%, rgba(127,178,232,0.05) 49%, transparent 51%),
    linear-gradient(115deg, transparent 68%, rgba(127,178,232,0.04) 69%, transparent 71%),
    linear-gradient(115deg, transparent 28%, rgba(127,178,232,0.035) 29%, transparent 31%);
  animation: drift 70s linear infinite;
}
.hero-cine::after { animation-duration: 110s; animation-direction: reverse; opacity: 0.7; }
@keyframes drift {
  from { transform: translate3d(-6%, 0, 0); }
  to   { transform: translate3d(6%, 0, 0); }
}

.hero-stage { position: relative; z-index: 1; display: grid; gap: 3rem;
  grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); align-items: center; width: 100%; }
@media (max-width: 56rem) { .hero-stage { grid-template-columns: 1fr; gap: 2.5rem; } }

.hero-cine .eyebrow { color: #7FB2E8; }
.hero-cine h1 { color: #FFFFFF; }
.hero-cine .lede { color: #B9C7D6; }
.hero-cine .button-primary { background: #FFFFFF; color: #12263C; }
.hero-cine .button-primary:hover { background: #DCE7F2; }
.hero-cine .button-ghost { border-color: #3D5876; color: #E9EEF4; }
.hero-cine .button-ghost:hover { border-color: #7FB2E8; }

.stage { opacity: 0; transform: translateY(22px); animation: rise 900ms cubic-bezier(0.2, 0.6, 0.2, 1) forwards; }
.stage.s1 { animation-delay: 200ms; }
.stage.s2 { animation-delay: 500ms; }
.stage.s3 { animation-delay: 950ms; }
.stage.s4 { animation-delay: 700ms; }
@keyframes rise { to { opacity: 1; transform: none; } }

/* the boot column: the seven capabilities coming online */
.boot { border-left: 1px solid #2C4258; padding-left: clamp(1.5rem, 3vw, 2.5rem);
  display: flex; flex-direction: column; gap: 0.95rem; }
.boot .spec-title { font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.14em;
  text-transform: uppercase; color: #8FA3B8; }
.boot-row { display: flex; gap: 0.9rem; align-items: baseline;
  opacity: 0; transform: translateX(-14px);
  animation: boot-in 600ms cubic-bezier(0.2, 0.6, 0.2, 1) forwards; }
.boot-row .num { font-family: var(--mono); font-size: 0.78rem; color: #7FB2E8; }
.boot-row .cap { font-size: 0.98rem; color: #C6D2DF; }
.boot-row .tick { margin-left: auto; font-family: var(--mono); font-size: 0.8rem;
  color: #57C29A; opacity: 0; animation: tick-in 300ms ease forwards; }
@keyframes boot-in { to { opacity: 1; transform: none; } }
@keyframes tick-in { to { opacity: 1; } }
@media (max-width: 56rem) { .boot { border-left: none; padding-left: 0; } }

.scroll-cue { position: absolute; left: 50%; bottom: 2rem; transform: translateX(-50%);
  z-index: 1; font-family: var(--mono); font-size: 0.7rem; letter-spacing: 0.22em;
  text-transform: uppercase; color: #8FA3B8; opacity: 0;
  animation: rise 900ms ease 3.2s forwards; }
.scroll-cue::after { content: ""; display: block; width: 1px; height: 2.4rem;
  background: linear-gradient(#8FA3B8, transparent); margin: 0.6rem auto 0;
  animation: cue-pulse 2s ease-in-out infinite; }
@keyframes cue-pulse { 0%, 100% { opacity: 0.35; } 50% { opacity: 1; } }

/* slim message strip between bands */
.strip { padding-block: 2.25rem; }
.strip p { font-size: 1.08rem; color: #C6D2DF; max-width: none; }
.strip a { color: #7FB2E8; font-weight: 550; white-space: nowrap; }
.strip a:hover { color: #fff; }

/* ---------- section graphics ---------- */
.pillar-art { margin-bottom: 1.15rem; }
.pillar-art svg { display: block; width: 100%; height: auto; }
.glyph { width: 54px; height: 54px; margin-bottom: 0.9rem; display: block; }
.hero-shape { margin-top: 1.8rem; max-width: 38rem; }
.hero-shape svg { display: block; width: 100%; height: auto; }
.card-art svg { display: block; width: 100%; max-width: 34rem; height: auto; margin-bottom: 0.5rem; }

/* ---------- scroll reveal ---------- */
.reveal { opacity: 0; transform: translateY(26px);
  transition: opacity 750ms cubic-bezier(0.2, 0.6, 0.2, 1), transform 750ms cubic-bezier(0.2, 0.6, 0.2, 1);
  transition-delay: var(--d, 0ms); }
.reveal.in { opacity: 1; transform: none; }

/* diagrams draw their wires when revealed */
svg.diagram .wire, svg.diagram .wire-accent {
  stroke-dasharray: 620; stroke-dashoffset: 620;
  transition: stroke-dashoffset 1400ms ease 300ms;
}
.in svg.diagram .wire, .in svg.diagram .wire-accent { stroke-dashoffset: 0; }

/* the hero choreography plays once per tab; a later load in the same tab renders it settled */
.hero-settled .stage, .hero-settled .boot-row, .hero-settled .boot-row .tick, .hero-settled .scroll-cue { animation: none; opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .stage, .boot-row, .boot-row .tick, .scroll-cue { animation: none; opacity: 1; transform: none; }
  .reveal { opacity: 1; transform: none; transition: none; }
  svg.diagram .wire, svg.diagram .wire-accent { stroke-dasharray: none; stroke-dashoffset: 0; transition: none; }
  .hero-cine::before, .hero-cine::after,
  .hero-page::before, .hero-page::after { animation: none; }
}

/* ---- Follow Node Zero signup + copy-address (marketing loop) ---- */
.follow-form { margin-top: 1.75rem; max-width: 34rem; }
.follow-form .ff-label { display: block; font-weight: 600; font-size: 0.95rem;
  margin-bottom: 0.6rem; }
.follow-form .ff-row { display: flex; gap: 0.6rem; flex-wrap: wrap; }
.follow-form input[type=email] { flex: 1 1 14rem; padding: 0.65rem 0.9rem;
  border: 1px solid #C9CFD6; border-radius: 2px; font: inherit;
  background: #fff; color: #12263C; }
.follow-form .ff-note { margin-top: 0.5rem; font-size: 0.85rem; color: #A33B2E; }
.follow-form .ff-done { font-weight: 600; color: #2E7D5B; }
.mail-copy { display: inline-flex; align-items: center; gap: 0.55rem;
  margin-top: 0.6rem; font-family: ui-monospace, Menlo, monospace; font-size: 0.9rem; }
button.copy-mail { font: inherit; font-size: 0.78rem; padding: 0.25rem 0.6rem;
  border: 1px solid #C9CFD6; background: transparent; border-radius: 2px;
  cursor: pointer; color: inherit; }

/* print: last so it wins the cascade over the reveal and stage rules above */
@media print {
  /* printed pages show every section: the scroll-reveal and hero choreography are screen-only */
  .reveal, .figure, .stage, .boot-row, .boot-row .tick { opacity: 1; transform: none; animation: none; }
  .scroll-cue, .nav-toggle { display: none; }
}
