/* ============================================================
   OTRADA — Editorial monograph.
   A Pilates studio designed by Dieter Rams, published in print.
   Fraunces for display gravity · Montserrat for structural copy.
   ============================================================ */

:root {
  --warm-dark:  #3D3028;
  --warm-darker:#2B211B;
  --cream:      #FBF8F4;
  --cream-dark: #F0EBE3;
  --cream-deep: #E6DFD3;

  --rose:       #C8889A;
  --rose-deep:  #A8607A;
  --rose-light: #F0D4DC;

  --blue:       #7BA3D4;
  --blue-deep:  #5B83B4;
  --blue-light: #D8E6F4;

  --amber:      #D4A06B;
  --amber-deep: #B8864A;
  --amber-light:#F2E0CC;

  --text-light: #8A7E72;
  --text-faint: #B5AAA0;

  --serif: 'Fraunces', 'Iowan Old Style', 'Palatino', Georgia, serif;
  --sans:  'Montserrat', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;

  --rule: 1px solid rgba(184, 134, 74, 0.35); /* amber-deep at low alpha */
  --rule-faint: 1px solid rgba(184, 134, 74, 0.18);
  --rule-dark: 1px solid rgba(61, 48, 40, 0.12);

  --gutter: clamp(1.25rem, 4vw, 3rem);
  --max: 1320px;

  /* type scale */
  --d-hero:   clamp(4rem, 14vw, 12.5rem);
  --d-large:  clamp(2.4rem, 6.2vw, 5.4rem);
  --d-medium: clamp(1.8rem, 3.8vw, 3.2rem);

  --ease: cubic-bezier(.22,.61,.36,1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--sans);
  font-weight: 400;
  color: var(--warm-dark);
  background: var(--cream);
  line-height: 1.72;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  font-feature-settings: "kern" 1, "liga" 1;
  overflow-x: hidden;
}

::selection { background: var(--rose); color: var(--cream); }

a { color: var(--warm-dark); text-decoration: none; transition: color .25s var(--ease); }

/* inline prose link — subtle rose-deep underline for mid-paragraph hrefs */
.in-lede {
  color: var(--rose-deep);
  border-bottom: 1px solid rgba(168, 96, 122, 0.4);
  padding-bottom: 1px;
  transition: border-color .25s var(--ease), color .25s var(--ease);
}
.in-lede:hover { color: var(--warm-dark); border-bottom-color: var(--warm-dark); }

img, svg { display: block; max-width: 100%; }

/* =============================================
   GRAIN — tactile warm paper overlay
   ============================================= */
.grain {
  position: fixed; inset: 0; z-index: 1;
  pointer-events: none;
  mix-blend-mode: multiply;
  opacity: 0.07;
}
.grain svg { width: 100%; height: 100%; }

/* =============================================
   ROSE DOT — the brand heartbeat
   ============================================= */
.rd {
  display: inline-block;
  width: 0.32em;
  height: 0.32em;
  vertical-align: baseline;
  margin-left: 0.04em;
  margin-bottom: -0.02em;
  fill: var(--rose);
  flex-shrink: 0;
}
.rd.big   { width: 0.36em; height: 0.36em; margin-left: 0.06em; }
.rd.tiny  { width: 0.22em; height: 0.22em; }
.rd.blue  { fill: var(--blue); }
.rd.amber { fill: var(--amber); }

/* page-wide subtle breath — every rose dot inhales together */
.rd { animation: rd-breathe 6s ease-in-out infinite; will-change: opacity; }
@keyframes rd-breathe {
  0%, 100% { opacity: 1; }
  50%      { opacity: 0.82; }
}

/* masthead wordmark dot — the visible heartbeat (overrides global) */
.rd.heartbeat {
  animation: heartbeat 6s ease-in-out infinite;
  transform-origin: center;
}
@keyframes heartbeat {
  0%, 100% { transform: scale(1);    opacity: 1; }
  50%      { transform: scale(1.18); opacity: 0.88; }
}

/* =============================================
   TYPOGRAPHY
   ============================================= */
.h-display, .display {
  font-family: var(--serif);
  font-weight: 400;
  font-variation-settings: "opsz" 120;
  letter-spacing: -0.025em;
  line-height: 1.02;
  color: var(--warm-dark);
}
.display {
  font-size: var(--d-hero);
  font-weight: 400;
  line-height: 0.95;
  letter-spacing: -0.035em;
}
.h-display {
  font-size: var(--d-large);
  font-weight: 400;
  line-height: 1.05;
}
.h-display em, .display em,
.display > span em, .h-display em {
  font-style: italic;
  font-weight: 400;
  font-variation-settings: "opsz" 144;
}

h3 {
  font-family: var(--sans);
  font-weight: 500;
  font-size: 1.04rem;
  letter-spacing: -0.005em;
  line-height: 1.4;
}

p { max-width: 62ch; }

.eyebrow, .section-marker, .cf-lbl, .guar-marker,
.mm-item, .mast-nav a, .mn-cta, .sc-label,
.il-time, .mono-sub, .mono-roman,
.mn-idx {
  font-family: var(--sans);
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--amber-deep);
}

.lede, .section-sub, .mono-desc, .origin-lead {
  font-family: var(--sans);
  font-weight: 300;
  color: var(--text-light);
  line-height: 1.7;
}

/* =============================================
   MASTHEAD
   ============================================= */
.masthead {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 40;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 1rem;
  padding: 0.95rem var(--gutter);
  background: rgba(251, 248, 244, 0.78);
  backdrop-filter: saturate(150%) blur(14px);
  -webkit-backdrop-filter: saturate(150%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .4s var(--ease), background .4s var(--ease);
}
.masthead.scrolled {
  border-bottom-color: rgba(61, 48, 40, 0.08);
}

.wordmark {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 1.35rem;
  letter-spacing: -0.02em;
  color: var(--warm-dark);
  display: inline-flex;
  align-items: baseline;
}
.wordmark .rd { font-size: 1.35rem; }

.mast-meta {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
  font-size: 0.68rem;
  color: var(--text-light);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 500;
}
.mm-sep { color: var(--text-faint); }
.mm-vol { color: var(--amber-deep); }

.mast-nav {
  display: flex;
  gap: 1.8rem;
  align-items: center;
  justify-self: end;
}
.mast-nav a {
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--warm-dark);
  display: inline-flex;
  align-items: baseline;
  gap: 0.45rem;
  transition: opacity .25s var(--ease);
  position: relative;
}
.mast-nav a::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: -6px;
  height: 1px;
  background: var(--warm-dark);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .35s var(--ease);
}
.mast-nav a:hover::after { transform: scaleX(1); }
.mn-idx {
  font-size: 0.58rem;
  color: var(--rose-deep);
  font-variant-numeric: tabular-nums;
}
.mn-cta {
  color: var(--rose-deep) !important;
  font-weight: 600;
}
.mn-cta::after { background: var(--rose-deep) !important; transform: scaleX(1) !important; }
.mn-cta .rd { font-size: 0.72rem; margin-left: 0.35rem; }

@media (max-width: 900px) {
  .mast-meta { display: none; }
  .masthead { grid-template-columns: auto 1fr; }
}
@media (max-width: 640px) {
  .mast-nav a:not(.mn-cta) { display: none; }
  .mast-nav { gap: 0; }
}

/* progress bar under masthead */
.progress {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: 2px;
  z-index: 41;
  pointer-events: none;
}
#progress-fill {
  display: block;
  height: 100%;
  width: 0%;
  background: linear-gradient(to right, var(--rose), var(--amber), var(--blue));
  transition: width .08s linear;
}

/* =============================================
   HERO
   ============================================= */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  padding: 8.5rem var(--gutter) 5rem;
  display: grid;
  align-items: center;
  overflow: hidden;
  border-bottom: 1px solid rgba(61, 48, 40, 0.08);
}
#scene {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  z-index: 0;
}

.hero-grid {
  position: relative;
  z-index: 3;
  max-width: var(--max);
  margin: 0 auto;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
}

.hero-corner {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1.5rem;
  padding-bottom: 1.25rem;
  margin-bottom: clamp(2rem, 5vw, 4rem);
  border-bottom: var(--rule-faint);
}
.section-marker {
  display: inline-flex;
  align-items: baseline;
  gap: 0.4rem;
  color: var(--rose-deep);
}
.pilcrow { font-family: var(--serif); font-style: italic; font-weight: 400; text-transform: none; letter-spacing: 0; font-size: 1.15em; opacity: 0.75; }
.hero-cat {
  color: var(--text-light);
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-size: 0.7rem;
  font-family: var(--sans);
}

.hero-body .eyebrow {
  margin-bottom: 1.75rem;
  color: var(--warm-dark);
  font-size: 0.74rem;
  letter-spacing: 0.2em;
  line-height: 1.55;
  font-weight: 500;
  display: inline-block;
  border-left: 2px solid var(--rose);
  padding-left: 0.85rem;
  text-transform: none;
}
.hero-body .eyebrow .rd { margin-left: 0.15em; }

.display {
  margin-bottom: 2rem;
}
.display .d-line {
  display: block;
  opacity: 0;
  transform: translateY(16px);
  animation: rise 1.1s var(--ease) forwards;
}
.display .d-line:nth-child(1) { animation-delay: 0.15s; }
.display .d-line:nth-child(2) { animation-delay: 0.35s; }
@keyframes rise {
  to { opacity: 1; transform: none; }
}

.hero-body .lede {
  font-size: clamp(1.05rem, 1.4vw, 1.25rem);
  max-width: 52ch;
  margin-bottom: 2.5rem;
  margin-top: 1rem;
  opacity: 0;
  animation: rise 1.1s var(--ease) 0.55s forwards;
}

.hero-cta {
  display: flex;
  gap: 1.5rem;
  align-items: center;
  flex-wrap: wrap;
  opacity: 0;
  animation: rise 1.1s var(--ease) 0.75s forwards;
}

/* horizontal specimen rail — caption block under hero CTA */
.hero-specimen {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-top: clamp(3rem, 6vw, 4.5rem);
  border-top: var(--rule);
  border-bottom: var(--rule);
  padding: 1.4rem 0;
  opacity: 0;
  animation: rise 1.1s var(--ease) 0.95s forwards;
}
.hs-cell {
  padding: 0.25rem 1.25rem;
  border-right: var(--rule-faint);
}
.hs-cell:last-child  { border-right: none; padding-right: 0; }
.hs-cell:first-child { padding-left: 0; }
.hs-cell dt {
  font-family: var(--sans);
  font-size: 0.6rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--amber-deep);
  font-weight: 500;
  margin-bottom: 0.5rem;
}
.hs-cell dd {
  font-family: var(--sans);
  font-size: 0.82rem;
  color: var(--warm-dark);
  line-height: 1.5;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
}
@media (max-width: 880px) {
  .hero-specimen { grid-template-columns: repeat(2, 1fr); gap: 1.25rem 0; padding: 1.5rem 0; }
  .hs-cell { padding: 0.5rem 1rem; border-right: none; }
  .hs-cell:nth-child(odd) { padding-left: 0; }
  .hs-cell:nth-child(odd) { border-right: var(--rule-faint); }
}
@media (max-width: 480px) {
  .hero-specimen { grid-template-columns: 1fr; }
  .hs-cell { padding: 0.5rem 0 !important; border-right: none !important; border-bottom: var(--rule-faint); }
  .hs-cell:last-child { border-bottom: none; }
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  background: var(--warm-dark);
  color: var(--cream);
  padding: 1.05rem 1.6rem 1.05rem 1.8rem;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  border-radius: 0;
  position: relative;
  overflow: hidden;
  transition: background .35s var(--ease), color .35s var(--ease), letter-spacing .35s var(--ease);
}
.btn-primary .arrow {
  display: inline-block;
  transition: transform .35s var(--ease);
}
.btn-primary::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--rose-deep);
  transform: translateY(101%);
  transition: transform .45s var(--ease);
  z-index: 0;
}
.btn-primary > * { position: relative; z-index: 1; }
.btn-primary:hover { color: var(--cream); letter-spacing: 0.22em; }
.btn-primary:hover::before { transform: translateY(0); }
.btn-primary:hover .arrow { transform: translateX(6px); }

.btn-link {
  font-size: 0.74rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--warm-dark);
  padding-bottom: 3px;
  border-bottom: 1px solid var(--warm-dark);
  transition: color .25s var(--ease), border-color .25s var(--ease);
}
.btn-link:hover { color: var(--rose-deep); border-color: var(--rose-deep); }

.sw {
  display: inline-block;
  width: 0.8rem; height: 0.8rem;
  border-radius: 0;
  margin-right: 0.4rem;
  vertical-align: middle;
}
.sw-blue  { background: var(--blue); }
.sw-rose  { background: var(--rose); }
.sw-amber { background: var(--amber); }

.scroll-cue {
  position: absolute;
  bottom: 1.8rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
  z-index: 3;
}
.sc-label {
  color: var(--text-light);
  font-size: 0.58rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  font-weight: 500;
}
.sc-line {
  display: block;
  width: 1px;
  height: 44px;
  background: linear-gradient(to bottom, var(--text-faint), transparent 90%);
  position: relative;
}
.sc-line::after {
  content: '';
  position: absolute;
  left: -2.5px; top: 0;
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--rose);
  animation: drip 2.4s ease-in-out infinite;
}
@keyframes drip {
  0% { transform: translateY(-4px); opacity: 0; }
  30% { opacity: 1; }
  100% { transform: translateY(40px); opacity: 0; }
}

/* =============================================
   THE SELLING SENTENCE — typographic interstitial
   ============================================= */
.sentence {
  background: var(--cream);
  padding: clamp(5rem, 12vw, 9rem) var(--gutter);
  border-top: var(--rule-faint);
  border-bottom: var(--rule-faint);
  position: relative;
  z-index: 2;
}
.sl-inner {
  max-width: 1100px;
  margin: 0 auto;
}
.sl-line {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 300;
  font-size: clamp(2rem, 5.6vw, 4.6rem);
  line-height: 1.18;
  letter-spacing: -0.025em;
  color: var(--warm-dark);
  margin: 0;
  max-width: none;
  font-variation-settings: "opsz" 144;
  display: block;
  opacity: 0;
  transform: translateY(16px);
}
.sl-line em {
  font-style: italic;
  font-weight: 300;
}
.sl-line + .sl-line { margin-top: 0.45rem; }
.sl-line .rd { margin-left: 0.04em; }
.sentence.in .sl-line { animation: rise 1s var(--ease) forwards; }
.sentence.in .sl-line:nth-child(1) { animation-delay: 0.05s; }
.sentence.in .sl-line:nth-child(2) { animation-delay: 0.20s; }
.sentence.in .sl-line:nth-child(3) { animation-delay: 0.35s; }
.sentence.in .sl-line:nth-child(4) { animation-delay: 0.50s; }

/* =============================================
   SECTIONS — shared structure
   ============================================= */
.section {
  position: relative;
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(5rem, 9vw, 8rem) var(--gutter);
  z-index: 2;
}
/* ornamental dividers between major sections — thin amber rule + centered rose dot */
.section + .section { border-top: none; }
.section + .section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: clamp(140px, 24vw, 240px);
  height: 1px;
  background: rgba(184, 134, 74, 0.32);
}
.section + .section::after {
  content: '';
  position: absolute;
  top: -3px;
  left: 50%;
  transform: translateX(-50%);
  width: 7px;
  height: 7px;
  background: var(--rose);
  border-radius: 50%;
  box-shadow: 0 0 0 5px var(--cream);
}

.section-head {
  max-width: 900px;
  margin-bottom: clamp(3rem, 6vw, 5rem);
}
.section-head .section-marker { margin-bottom: 1.75rem; display: inline-block; }
.section-head .h-display { margin-bottom: 1.25rem; }
.section-head .section-sub {
  font-size: 1.04rem;
  max-width: 52ch;
}

/* ---------- §01 PROBLEM specimen table ---------- */
.spec-table {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: var(--rule);
  border-bottom: var(--rule);
}
@media (max-width: 860px) {
  .spec-table { grid-template-columns: 1fr; }
}
.spec {
  padding: 2.25rem 2rem 2.25rem 0;
  border-right: var(--rule-faint);
  position: relative;
}
.spec:last-child { border-right: none; padding-right: 0; }
.spec:not(:last-child) { padding-right: 2rem; }
.spec:nth-child(n+2) { padding-left: 2rem; }
@media (max-width: 860px) {
  .spec { padding: 2rem 0 !important; border-right: none; border-bottom: var(--rule-faint); }
  .spec:last-child { border-bottom: none; }
}

.spec-num {
  display: block;
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  font-size: 1.4rem;
  color: var(--rose-deep);
  letter-spacing: 0;
  text-transform: none;
  margin-bottom: 1.25rem;
  font-variant-numeric: tabular-nums;
}

.swatch-lg {
  width: 100%;
  height: 6px;
  margin-bottom: 1.75rem;
}

.spec-label {
  font-family: var(--serif);
  font-size: clamp(1.55rem, 2.4vw, 2rem);
  font-weight: 500;
  line-height: 1.1;
  margin-bottom: 1.25rem;
  letter-spacing: -0.02em;
  color: var(--warm-dark);
}

.spec-maps {
  font-size: 0.78rem;
  color: var(--text-light);
  line-height: 1.6;
  margin-bottom: 1rem;
  letter-spacing: 0.01em;
}
.md { color: var(--rose); padding: 0 0.15em; font-weight: 700; }

.spec-body {
  font-size: 0.92rem;
  color: var(--warm-dark);
  line-height: 1.65;
}

/* ---------- §02 METHOD index list ---------- */
.index-list {
  list-style: none;
  border-top: var(--rule);
}
.index-list li {
  display: grid;
  grid-template-columns: 80px 1fr 120px;
  gap: 2rem;
  align-items: start;
  padding: 2.25rem 0;
  border-bottom: var(--rule-faint);
  transition: padding-left .4s var(--ease);
  position: relative;
}
.index-list li::before {
  content: '';
  position: absolute;
  left: 0; top: 50%;
  width: 0;
  height: 1px;
  background: var(--rose);
  transition: width .45s var(--ease);
}
.index-list li:hover { padding-left: 1.5rem; }
.index-list li:hover::before { width: 1rem; }
.il-num {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  font-size: 2.4rem;
  color: var(--rose);
  line-height: 1;
  letter-spacing: 0;
  text-transform: none;
}
.il-body h3 {
  font-family: var(--serif);
  font-size: clamp(1.4rem, 2.2vw, 1.8rem);
  font-weight: 500;
  letter-spacing: -0.02em;
  margin-bottom: 0.5rem;
  line-height: 1.2;
}
.il-body p { font-size: 0.95rem; color: var(--text-light); line-height: 1.65; }
.il-time {
  justify-self: end;
  font-variant-numeric: tabular-nums;
  font-size: 0.7rem;
  color: var(--amber-deep);
  padding-top: 0.5rem;
  letter-spacing: 0.15em;
}
@media (max-width: 720px) {
  .index-list li { grid-template-columns: 50px 1fr; }
  .il-time { grid-column: 2; justify-self: start; padding-top: 0.5rem; }
}

/* ---------- §03 PROOF hero quote + stats ---------- */
.proof-head .section-marker { margin-bottom: 2rem; }
.hero-quote {
  position: relative;
  padding: 3rem 0 4.5rem;
  text-align: left;
  max-width: 1000px;
  border-bottom: var(--rule);
}
.hero-quote blockquote {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 300;
  font-size: clamp(2.4rem, 6vw, 5.2rem);
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: var(--warm-dark);
  margin-bottom: 1.5rem;
  font-variation-settings: "opsz" 144;
}
.hero-quote figcaption {
  font-family: var(--sans);
  font-size: 0.82rem;
  color: var(--text-light);
  letter-spacing: 0.02em;
  font-weight: 400;
}
.hq-mark {
  position: absolute;
  top: 1.25rem; left: -1.4rem;
  width: 40px; height: 40px;
  fill: var(--rose);
  opacity: 0.8;
}
@media (max-width: 720px) { .hq-mark { display: none; } }

.stat-specimen {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  margin-top: 2.5rem;
}
.st {
  padding: 2rem 1.5rem 1.5rem 0;
  border-right: var(--rule-faint);
}
.st:last-child { border-right: none; }
.st:not(:first-child) { padding-left: 1.5rem; }
.st dt {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(2.4rem, 4.8vw, 3.8rem);
  letter-spacing: -0.04em;
  line-height: 1;
  color: var(--warm-dark);
  margin-bottom: 1rem;
  font-variant-numeric: tabular-nums;
  font-variation-settings: "opsz" 144;
}
.st dt sup {
  font-size: 0.38em;
  vertical-align: super;
  color: var(--rose-deep);
  font-weight: 500;
  margin-left: 0.1em;
}
.st dt em {
  font-style: normal;
  font-size: 0.45em;
  color: var(--text-light);
  font-weight: 400;
  margin-left: 0.05em;
  letter-spacing: 0;
}
.st dd {
  font-size: 0.82rem;
  color: var(--text-light);
  line-height: 1.5;
  max-width: 22ch;
}
@media (max-width: 860px) {
  .stat-specimen { grid-template-columns: repeat(2, 1fr); }
  .st { border-bottom: var(--rule-faint); padding: 1.5rem 1rem !important; }
  .st:nth-child(2n) { border-right: none; }
  .st:nth-last-child(-n+2) { border-bottom: none; }
}

/* ---------- §04 STATES monograph ---------- */
.monograph {
  display: flex;
  flex-direction: column;
  gap: 0;
  border-top: var(--rule);
}
.mono {
  display: grid;
  grid-template-columns: 110px 1fr 1fr;
  gap: 3rem;
  align-items: center;
  padding: clamp(2.5rem, 5vw, 4rem) clamp(1.25rem, 3vw, 2rem);
  border-bottom: var(--rule-faint);
  position: relative;
  isolation: isolate;
}
.mono:last-child { border-bottom: none; }

/* state-tinted background wash — fades in when row scrolls into view */
.mono::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: 0;
  transition: opacity 1.2s var(--ease);
}
.mono.in-view::before { opacity: 0.55; }
.mono-clear::before { background: linear-gradient(95deg, var(--blue-light) 0%, transparent 65%); }
.mono-calm::before  { background: linear-gradient(95deg, var(--rose-light) 0%, transparent 65%); }
.mono-drive::before { background: linear-gradient(95deg, var(--amber-light) 0%, transparent 65%); }

/* state-colored top rule — draws in from left */
.mono::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 1.1s var(--ease);
}
.mono.in-view::after { transform: scaleX(1); }
.mono-clear::after { background: var(--blue); }
.mono-calm::after  { background: var(--rose); }
.mono-drive::after { background: var(--amber); }
@media (max-width: 960px) {
  .mono { grid-template-columns: 1fr; gap: 1.5rem; padding: 2.25rem 0; }
}

.mono-left { display: flex; flex-direction: column; gap: 1rem; }
.mono-roman {
  font-family: var(--serif);
  font-style: italic;
  font-size: 2rem;
  font-weight: 400;
  line-height: 1;
  text-transform: none;
  letter-spacing: 0;
}
.mono-swatch {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  color: var(--text-faint);
  font-variant-numeric: tabular-nums;
}
.mono-swatch .sw { width: 24px; height: 24px; }

.mono-sub {
  font-size: 0.7rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-weight: 500;
  margin-bottom: 0.85rem;
  color: var(--amber-deep);
}
.mono-name {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(2.8rem, 5.5vw, 4.6rem);
  line-height: 1;
  letter-spacing: -0.035em;
  margin-bottom: 1rem;
  color: var(--warm-dark);
  font-variation-settings: "opsz" 144;
  clip-path: inset(0 100% 0 0);
  transition: clip-path 1.1s var(--ease) 0.2s;
}
.mono.in-view .mono-name { clip-path: inset(0 0 0 0); }
.mono-desc { font-size: 0.95rem; }

.mono-right blockquote {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 300;
  font-size: clamp(1.15rem, 1.8vw, 1.45rem);
  line-height: 1.4;
  color: var(--warm-dark);
  margin-bottom: 0.85rem;
  position: relative;
  padding-left: 1.25rem;
  border-left: 2px solid transparent;
}
.mono-clear .mono-right blockquote { border-left-color: var(--blue); }
.mono-calm  .mono-right blockquote { border-left-color: var(--rose); }
.mono-drive .mono-right blockquote { border-left-color: var(--amber); }

.mono-right cite {
  font-style: normal;
  font-size: 0.75rem;
  color: var(--text-light);
  letter-spacing: 0.02em;
  padding-left: 1.25rem;
}

.mono-clear .mono-roman { color: var(--blue-deep); }
.mono-calm  .mono-roman { color: var(--rose-deep); }
.mono-drive .mono-roman { color: var(--amber-deep); }

/* ---------- §05 PROTOCOL — 8-dot session timeline ---------- */
.timeline-8 {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  position: relative;
  margin-top: 2rem;
  padding-top: 0.5rem;
}
.timeline-8::before {
  /* the continuous hairline that the dots sit on */
  content: '';
  position: absolute;
  top: 3.45rem;
  left: 0; right: 0;
  height: 1px;
  background: rgba(184, 134, 74, 0.42);
  z-index: 0;
}
.t8-wk {
  padding: 0 1.25rem;
  text-align: center;
  position: relative;
}
.t8-wk:not(:first-child) { border-left: var(--rule-faint); }
.t8-idx {
  display: block;
  font-family: var(--sans);
  font-size: 0.7rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--rose-deep);
  margin-bottom: 1.4rem;
  font-variant-numeric: tabular-nums;
}
.t8-pair {
  display: flex;
  justify-content: center;
  gap: 1.6rem;
  margin-bottom: 1.75rem;
  position: relative;
  z-index: 2;
}
.t8-dot {
  width: 13px; height: 13px;
  background: var(--rose);
  border-radius: 50%;
  display: block;
  /* cream halo so the rule appears to pass behind the dot */
  box-shadow: 0 0 0 5px var(--cream);
  opacity: 0;
  transform: scale(0.4);
  transition: opacity .55s var(--ease), transform .65s var(--ease);
  transition-delay: calc(var(--i, 0) * 90ms + 0.15s);
}
.section.in .t8-dot { opacity: 1; transform: scale(1); }
.t8-title {
  font-family: var(--serif);
  font-size: clamp(1.5rem, 2.3vw, 1.95rem);
  font-weight: 500;
  letter-spacing: -0.025em;
  margin-bottom: 0.65rem;
  line-height: 1.05;
  color: var(--warm-dark);
}
.t8-desc {
  font-size: 0.88rem;
  color: var(--text-light);
  line-height: 1.6;
  max-width: none;
}
@media (max-width: 760px) {
  .timeline-8 { grid-template-columns: 1fr; padding-top: 0; padding-left: 1.5rem; }
  .timeline-8::before {
    top: 0; bottom: 0;
    left: 6px; right: auto;
    height: auto; width: 1px;
  }
  .t8-wk {
    text-align: left;
    padding: 1.5rem 0 1.5rem 1.5rem;
    border-left: none !important;
    border-bottom: var(--rule-faint);
  }
  .t8-wk:last-child { border-bottom: none; }
  .t8-pair {
    justify-content: flex-start;
    gap: 0.7rem;
    margin-bottom: 0.85rem;
    position: absolute;
    top: 1.5rem;
    left: -0.4rem;
    flex-direction: row;
  }
  .t8-dot { box-shadow: 0 0 0 4px var(--cream); }
  .t8-idx { margin-bottom: 0.5rem; padding-left: 1.5rem; }
  .t8-title, .t8-desc { padding-left: 0; }
}

/* =============================================
   GUARANTEE — dark intermission
   ============================================= */
.guarantee {
  background: var(--warm-darker);
  color: var(--cream);
  position: relative;
  padding: clamp(5rem, 10vw, 9rem) var(--gutter);
  text-align: center;
  overflow: hidden;
  z-index: 2;
}
.guarantee::before {
  content: '';
  position: absolute;
  inset: 2rem;
  border: 1px solid rgba(251, 248, 244, 0.12);
  pointer-events: none;
}
.guar-frame {
  max-width: 900px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}
.guar-marker {
  color: var(--amber);
  font-size: 0.72rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  font-weight: 500;
  margin-bottom: 2.5rem;
  display: inline-flex;
  align-items: baseline;
  gap: 0.3rem;
}
.guar-line {
  font-family: var(--serif);
  font-size: clamp(2.6rem, 7vw, 6.2rem);
  font-weight: 300;
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--cream);
  margin-bottom: 2.5rem;
  font-variation-settings: "opsz" 144;
}
.guar-line em {
  font-style: italic;
  font-weight: 400;
  color: var(--rose-light);
}
.guar-sub {
  color: rgba(251, 248, 244, 0.7);
  font-size: 1rem;
  line-height: 1.6;
  max-width: 46ch;
  margin: 0 auto;
  font-weight: 300;
}
.guar-orn {
  display: flex;
  justify-content: center;
  gap: 0.8rem;
  margin-top: 3rem;
  position: relative;
  z-index: 2;
}
.guar-orn svg {
  width: 10px; height: 10px;
  fill: var(--amber);
  opacity: 0.5;
}
.guar-orn svg:nth-child(2) { opacity: 1; fill: var(--rose); }

/* =============================================
   BOOK
   ============================================= */
.book-cta {
  max-width: 980px;
}
.btn-huge {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: baseline;
  padding: 2.25rem 2rem;
  background: var(--warm-dark);
  color: var(--cream);
  border: none;
  position: relative;
  overflow: hidden;
  transition: transform .4s var(--ease);
}
.btn-huge::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, var(--rose-deep), var(--amber-deep));
  transform: translateX(-101%);
  transition: transform .55s var(--ease);
  z-index: 0;
}
.btn-huge > * { position: relative; z-index: 1; }
.btn-huge:hover::before { transform: translateX(0); }
.btn-huge:hover { transform: translateY(-2px); }

.bh-label {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(2rem, 4.8vw, 3.6rem);
  color: var(--cream);
  letter-spacing: -0.02em;
  line-height: 1;
  font-variation-settings: "opsz" 144;
}
.bh-meta {
  display: flex;
  gap: 0.75rem;
  align-items: center;
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(251, 248, 244, 0.75);
  font-weight: 500;
  padding-bottom: 0.45rem;
  font-family: var(--sans);
}
.bh-dot svg { fill: var(--rose); width: 5px; height: 5px; }
@media (max-width: 600px) {
  .btn-huge { grid-template-columns: 1fr; gap: 1.25rem; }
  .bh-meta { flex-wrap: wrap; padding-bottom: 0; }
}

/* =============================================
   ORIGIN
   ============================================= */
.origin {
  max-width: 920px;
}
.origin .h-display em {
  font-style: italic;
  color: var(--rose-deep);
}
.origin-body {
  padding-left: 0;
  max-width: 680px;
}
.etymology {
  font-family: var(--serif);
  font-size: clamp(1.4rem, 2.4vw, 1.95rem);
  font-weight: 400;
  letter-spacing: -0.01em;
  color: var(--warm-dark);
  margin-bottom: 1.75rem;
  font-variation-settings: "opsz" 144;
  line-height: 1.2;
}
.etymology em {
  font-style: italic;
  color: var(--rose-deep);
  font-weight: 500;
}
.ety-gloss {
  font-style: italic;
  color: var(--text-light);
  font-weight: 300;
}

.origin-lead {
  font-size: 1.1rem;
  line-height: 1.7;
  margin-bottom: 3rem;
  font-family: var(--sans);
  font-weight: 300;
}
.origin-lead em { font-family: var(--serif); font-style: italic; color: var(--warm-dark); }

.founder {
  font-family: var(--serif);
  font-size: clamp(1.35rem, 2.5vw, 1.7rem);
  font-weight: 300;
  line-height: 1.55;
  color: var(--warm-dark);
  letter-spacing: -0.005em;
  margin-bottom: 1rem;
  position: relative;
  font-variation-settings: "opsz" 144;
  padding-left: 0;
  border-left: none;
}
/* hide the decorative quote glyphs — the drop cap carries the editorial weight now */
.fq-mark { display: none; }
.founder-text { display: inline; }

/* drop cap on the first letter of the founder quote */
.founder::first-letter {
  font-family: var(--serif);
  font-size: 4.6em;
  font-weight: 500;
  font-style: italic;
  float: left;
  line-height: 0.85;
  margin-right: 0.12em;
  margin-top: 0.04em;
  margin-bottom: -0.05em;
  color: var(--rose-deep);
  font-variation-settings: "opsz" 144;
}

.founder-attr {
  font-family: var(--sans);
  font-size: 0.82rem;
  letter-spacing: 0.02em;
  color: var(--text-light);
  padding-left: 0;
  margin-top: 1.5rem;
}

/* =============================================
   COLOPHON FOOTER
   ============================================= */
.colo-foot {
  background: var(--cream-dark);
  padding: clamp(4rem, 7vw, 6rem) var(--gutter) 2.5rem;
  position: relative;
  z-index: 2;
  border-top: 2px solid var(--warm-dark);
}
.cf-top {
  max-width: var(--max);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  flex-wrap: wrap;
  gap: 2rem;
  margin-bottom: 3.5rem;
}
.cf-wordmark span {
  font-family: var(--serif);
  font-size: clamp(2.8rem, 6vw, 5rem);
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1;
  color: var(--warm-dark);
  display: inline-flex;
  align-items: baseline;
}
.cf-wordmark em {
  display: block;
  font-family: var(--sans);
  font-style: normal;
  font-size: 0.7rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--text-light);
  margin-top: 1rem;
  font-weight: 500;
}
.cf-closing {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1.1rem, 1.5vw, 1.3rem);
  color: var(--rose-deep);
  text-align: right;
  max-width: 400px;
  line-height: 1.4;
}

.cf-rule {
  max-width: var(--max);
  margin: 0 auto;
  border: none;
  border-top: var(--rule-dark);
  margin-bottom: 3rem;
}

.cf-grid {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-bottom: 3rem;
}
@media (max-width: 760px) {
  .cf-grid { grid-template-columns: repeat(2, 1fr); gap: 2rem 1.5rem; }
}
@media (max-width: 440px) {
  .cf-grid { grid-template-columns: 1fr; }
}
.cf-col p { font-size: 0.85rem; line-height: 1.7; color: var(--warm-dark); }
.cf-col p em { font-family: var(--serif); font-style: italic; color: var(--rose-deep); }
.cf-lbl {
  font-size: 0.62rem !important;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--amber-deep);
  font-weight: 500;
  margin-bottom: 1rem;
}
.cf-col a {
  color: var(--warm-dark);
  border-bottom: 1px solid transparent;
  transition: border-color .25s var(--ease);
}
.cf-col a:hover { border-color: var(--rose); }

.cf-bottom {
  max-width: var(--max);
  margin: 0 auto;
  padding-top: 2rem;
  border-top: var(--rule-dark);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.72rem;
  color: var(--text-faint);
  letter-spacing: 0.08em;
}
.cf-micro { font-family: var(--serif); font-style: italic; color: var(--text-light); letter-spacing: 0; }

/* =============================================
   REVEAL on scroll
   ============================================= */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 1s var(--ease), transform 1s var(--ease);
}
.reveal.in { opacity: 1; transform: none; }

/* stagger children */
.reveal.in .spec,
.reveal.in .index-list li,
.reveal.in .st,
.reveal.in .mono,
.reveal.in .wk,
.reveal.in .cf-col {
  animation: rise 0.9s var(--ease) both;
}
.reveal.in .spec:nth-child(1),
.reveal.in .index-list li:nth-child(1),
.reveal.in .st:nth-child(1),
.reveal.in .mono:nth-child(1),
.reveal.in .wk:nth-child(1),
.reveal.in .cf-col:nth-child(1) { animation-delay: 0.05s; }
.reveal.in .spec:nth-child(2),
.reveal.in .index-list li:nth-child(2),
.reveal.in .st:nth-child(2),
.reveal.in .mono:nth-child(2),
.reveal.in .wk:nth-child(2),
.reveal.in .cf-col:nth-child(2) { animation-delay: 0.15s; }
.reveal.in .spec:nth-child(3),
.reveal.in .index-list li:nth-child(3),
.reveal.in .st:nth-child(3),
.reveal.in .mono:nth-child(3),
.reveal.in .wk:nth-child(3),
.reveal.in .cf-col:nth-child(3) { animation-delay: 0.25s; }
.reveal.in .st:nth-child(4),
.reveal.in .wk:nth-child(4),
.reveal.in .cf-col:nth-child(4) { animation-delay: 0.35s; }

/* =============================================
   LITE YOUTUBE EMBED — click-to-play, fast paint
   ============================================= */
.yt-lite {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border: none;
  padding: 0;
  margin: 0;
  background: var(--warm-darker);
  border-radius: 10px;
  cursor: pointer;
  box-shadow: 0 30px 60px -30px rgba(61, 48, 40, 0.32);
  transition: transform .4s var(--ease), box-shadow .4s var(--ease);
  font: inherit;
  color: inherit;
}
.yt-lite:hover {
  transform: translateY(-2px);
  box-shadow: 0 38px 70px -28px rgba(61, 48, 40, 0.42);
}
.yt-lite:hover .yt-play {
  transform: translate(-50%, -50%) scale(1.08);
}
.yt-lite:focus-visible {
  outline: 2px solid var(--rose-deep);
  outline-offset: 4px;
}
.yt-lite img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: saturate(0.92) contrast(0.98);
}
.yt-lite::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, rgba(61, 48, 40, 0.08) 0%, rgba(61, 48, 40, 0.28) 100%);
  pointer-events: none;
}
.yt-play {
  position: absolute;
  left: 50%; top: 50%;
  transform: translate(-50%, -50%);
  width: 76px;
  height: 54px;
  transition: transform .3s var(--ease);
  z-index: 2;
  pointer-events: none;
  filter: drop-shadow(0 6px 16px rgba(0, 0, 0, 0.35));
}
.yt-play svg { width: 100%; height: 100%; display: block; }
.yt-play-sm { width: 48px; height: 34px; }

.yt-frame {
  width: 100%;
  aspect-ratio: 16 / 9;
  border: none;
  border-radius: 10px;
  display: block;
  box-shadow: 0 30px 60px -30px rgba(61, 48, 40, 0.32);
}

/* =============================================
   PROOF — video feature under the hero quote
   ============================================= */
.video-feature {
  margin: 3rem 0 4rem;
  max-width: 980px;
}
.vf-caption {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  flex-wrap: wrap;
  padding: 1rem 0 0;
  border-bottom: var(--rule-faint);
  padding-bottom: 1rem;
  margin-bottom: 1.75rem;
}
.vf-name {
  font-family: var(--serif);
  font-size: clamp(1.4rem, 2.2vw, 1.8rem);
  font-weight: 500;
  letter-spacing: -0.015em;
  color: var(--warm-dark);
  font-variation-settings: "opsz" 144;
  display: inline-flex;
  align-items: baseline;
}
.vf-detail {
  font-family: var(--sans);
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--amber-deep);
  font-weight: 500;
}
.vf-pull {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 300;
  font-size: clamp(1.15rem, 1.9vw, 1.45rem);
  line-height: 1.5;
  color: var(--warm-dark);
  max-width: 64ch;
  padding-left: 1.25rem;
  border-left: 2px solid var(--rose);
  letter-spacing: -0.005em;
}

/* =============================================
   METHOD — gameplay reel (three mini clips)
   ============================================= */
.gameplay-reel {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.8rem;
  margin-top: 1.5rem;
  max-width: 540px;
}
.yt-mini {
  border-radius: 8px;
  box-shadow: 0 14px 30px -18px rgba(61, 48, 40, 0.28);
}
.yt-mini:hover {
  transform: translateY(-1px);
}
@media (max-width: 720px) {
  .gameplay-reel { grid-template-columns: repeat(3, 1fr); gap: 0.5rem; }
}

/* =============================================
   ORIGIN — science credit specimen
   ============================================= */
.sci-specimen {
  margin-top: clamp(3rem, 6vw, 4rem);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: var(--rule);
  border-bottom: var(--rule);
  padding: 1.4rem 0;
}
.sci-cell {
  padding: 0.25rem 1.25rem;
  border-right: var(--rule-faint);
}
.sci-cell:last-child  { border-right: none; padding-right: 0; }
.sci-cell:first-child { padding-left: 0; }
.sci-cell dt {
  font-family: var(--sans);
  font-size: 0.6rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--amber-deep);
  font-weight: 500;
  margin-bottom: 0.5rem;
}
.sci-cell dd {
  font-family: var(--sans);
  font-size: 0.85rem;
  color: var(--warm-dark);
  line-height: 1.5;
  font-weight: 400;
}
@media (max-width: 760px) {
  .sci-specimen { grid-template-columns: 1fr; padding: 0.5rem 0; }
  .sci-cell {
    padding: 0.75rem 0 !important;
    border-right: none !important;
    border-bottom: var(--rule-faint);
  }
  .sci-cell:last-child { border-bottom: none; }
}

/* =============================================
   APPLICATIONS / PLATFORMS — editorial vertical list
   ============================================= */
.platform-list {
  list-style: none;
  padding: 0;
  margin: 0;
  border-top: var(--rule);
}
.platform {
  display: grid;
  grid-template-columns: 56px minmax(180px, 1fr) 2fr;
  gap: clamp(1.25rem, 3vw, 2.75rem);
  align-items: baseline;
  padding: clamp(1.75rem, 3vw, 2.5rem) 0;
  border-bottom: var(--rule-faint);
  position: relative;
  transition: padding-left .4s var(--ease);
}
.platform:last-child { border-bottom: none; }
.platform::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  width: 0;
  height: 1px;
  background: var(--rose);
  transition: width .45s var(--ease);
}
.platform:hover { padding-left: 1.25rem; }
.platform:hover::before { width: 0.85rem; }

.platform-num {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(1.8rem, 2.6vw, 2.4rem);
  color: var(--rose);
  line-height: 1;
  letter-spacing: 0;
  text-transform: none;
  font-variation-settings: "opsz" 144;
}
.platform-tag {
  font-family: var(--sans);
  font-size: 0.7rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--amber-deep);
  margin-bottom: 0.55rem;
}
.platform-title {
  font-family: var(--serif);
  font-size: clamp(1.4rem, 2.1vw, 1.8rem);
  font-weight: 500;
  line-height: 1.12;
  letter-spacing: -0.02em;
  color: var(--warm-dark);
  font-variation-settings: "opsz" 144;
  margin: 0;
}
.platform-desc {
  font-size: 0.95rem;
  color: var(--text-light);
  line-height: 1.65;
  max-width: 52ch;
}

@media (max-width: 820px) {
  .platform {
    grid-template-columns: 40px 1fr;
    gap: 0.9rem 1.25rem;
    padding: 1.75rem 0;
  }
  .platform-desc {
    grid-column: 2;
    margin-top: 0.35rem;
  }
}

/* =============================================
   VERTICAL NAV — masthead active state + 3-link layout
   ============================================= */
.nav-verticals { gap: 1.25rem; }
.nav-verticals a.active {
  color: var(--warm-dark);
  font-weight: 600;
}
.nav-verticals a.active::after {
  transform: scaleX(1);
  background: var(--rose-deep);
}
.page-military .nav-verticals a.active::after { background: var(--amber-deep); }
.page-calm .nav-verticals a.active::after { background: var(--blue-deep); }

/* =============================================
   PAGE-LEVEL COLOR TINTS
   Each vertical page gets a dominant state color without
   breaking the shared cream/Fraunces/rose-dot system.
   ============================================= */

/* Aging — rose-dominant (subtle rose wash + deeper accent) */
.page-aging .section-marker { color: var(--rose-deep); }
.page-aging .hero::before,
.page-aging .hero-aging::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 60% at 20% 20%, rgba(240, 212, 220, 0.35) 0%, transparent 60%);
  pointer-events: none;
  z-index: 1;
}
.page-aging .hero-grid { position: relative; z-index: 2; }

/* Military — amber-dominant */
.page-military .eyebrow,
.page-military .section-marker { color: var(--amber-deep); }
.page-military .hero-vertical::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 70% 55% at 80% 30%, rgba(242, 224, 204, 0.4) 0%, transparent 55%);
  pointer-events: none;
  z-index: 1;
}
.page-military .hero-grid { position: relative; z-index: 2; }

/* Calm Connected — blue-dominant */
.page-calm .section-marker { color: var(--blue-deep); }
.page-calm .eyebrow { color: var(--blue-deep); }
.page-calm .hero-vertical::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 90% 70% at 50% 10%, rgba(216, 230, 244, 0.45) 0%, transparent 65%);
  pointer-events: none;
  z-index: 1;
}
.page-calm .hero-grid { position: relative; z-index: 2; }

/* =============================================
   HERO — vertical page variant
   Smaller display than homepage, more compact
   ============================================= */
.hero-vertical {
  padding: 8.5rem var(--gutter) 4rem;
}
.hero-vertical .display {
  font-size: clamp(3.2rem, 10vw, 8.6rem);
  line-height: 0.98;
}
.display-aging .d-line em {
  font-style: italic;
  color: var(--rose-deep);
}
.display-calm {
  font-size: clamp(2.6rem, 8vw, 6.8rem) !important;
}
.display-calm .d-line em {
  font-style: italic;
  color: var(--blue-deep);
}

/* =============================================
   HOMEPAGE — Linked platform cards
   Extends the existing .platform class with <a> wrapper
   ============================================= */
.platform-link { padding: 0 !important; }
.platform-link::before { display: none; }
.platform-anchor {
  display: grid;
  grid-template-columns: 56px minmax(180px, 1fr) 2fr auto;
  gap: clamp(1.25rem, 3vw, 2.75rem);
  align-items: baseline;
  padding: clamp(1.75rem, 3vw, 2.5rem) 1rem clamp(1.75rem, 3vw, 2.5rem) 0;
  color: var(--warm-dark);
  transition: padding-left .4s var(--ease), background .35s var(--ease);
  position: relative;
}
.platform-anchor::after {
  content: '';
  position: absolute;
  left: 0; top: 50%;
  width: 0;
  height: 1px;
  background: var(--rose);
  transition: width .45s var(--ease);
}
.platform-anchor:hover { padding-left: 1.25rem; background: rgba(240, 235, 227, 0.45); }
.platform-anchor:hover::after { width: 0.85rem; }
.platform-anchor:hover .platform-more { color: var(--rose-deep); transform: translateX(4px); }
.platform-more {
  font-family: var(--sans);
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--text-light);
  align-self: center;
  transition: color .3s var(--ease), transform .3s var(--ease);
  white-space: nowrap;
}
@media (max-width: 820px) {
  .platform-anchor {
    grid-template-columns: 40px 1fr;
    gap: 0.9rem 1.25rem;
    padding: 1.75rem 0;
  }
  .platform-anchor .platform-desc { grid-column: 2; margin-top: 0.35rem; }
  .platform-anchor .platform-more { grid-column: 2; margin-top: 0.5rem; align-self: start; }
}

/* =============================================
   MILITARY — Exposure profile grid
   ============================================= */
.exposure-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 0;
  border-top: var(--rule);
  border-bottom: var(--rule);
  margin-top: 2.5rem;
  margin-bottom: 3rem;
}
.exposure {
  padding: 2rem 1.75rem 2rem 0;
  border-right: var(--rule-faint);
  position: relative;
}
.exposure:not(:first-child) { padding-left: 1.75rem; }
.exposure:last-child { border-right: none; }
@media (max-width: 820px) {
  .exposure { padding: 1.75rem 0 !important; border-right: none; border-bottom: var(--rule-faint); }
  .exposure:last-child { border-bottom: none; }
}
.exp-num {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.3rem;
  color: var(--amber-deep);
  display: block;
  margin-bottom: 1rem;
  font-variant-numeric: tabular-nums;
}
.exp-tag {
  font-size: 0.7rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--amber-deep);
  margin-bottom: 0.5rem;
}
.exp-title {
  font-family: var(--serif);
  font-size: clamp(1.6rem, 2.4vw, 2.1rem);
  font-weight: 500;
  letter-spacing: -0.025em;
  line-height: 1.05;
  color: var(--warm-dark);
  margin-bottom: 1rem;
  font-variation-settings: "opsz" 144;
  font-variant-numeric: tabular-nums;
}
.exp-body {
  font-size: 0.88rem;
  color: var(--text-light);
  line-height: 1.6;
}

.problem-pull {
  padding: 3rem 0 0;
  max-width: 920px;
}
.pull-line {
  font-family: var(--serif);
  font-size: clamp(1.4rem, 2.6vw, 2.1rem);
  font-weight: 300;
  line-height: 1.35;
  letter-spacing: -0.015em;
  color: var(--warm-dark);
  padding-left: 1.5rem;
  border-left: 3px solid var(--amber);
  font-variation-settings: "opsz" 144;
}
.pull-line em {
  font-style: italic;
  color: var(--amber-deep);
  font-weight: 400;
}

/* =============================================
   MILITARY — Method list (CMI paradigm)
   ============================================= */
.mil-list {
  list-style: none;
  padding: 0;
  margin-top: 2rem;
  border-top: var(--rule);
}
.mil-item {
  display: grid;
  grid-template-columns: 56px 1fr 100px;
  gap: clamp(1.25rem, 3vw, 2.5rem);
  align-items: baseline;
  padding: clamp(1.75rem, 3vw, 2.5rem) 0;
  border-bottom: var(--rule-faint);
}
.mil-item:last-child { border-bottom: none; }
.mi-num {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1.8rem, 2.6vw, 2.4rem);
  color: var(--amber-deep);
  line-height: 1;
  font-variation-settings: "opsz" 144;
}
.mi-body h3 {
  font-family: var(--serif);
  font-size: clamp(1.35rem, 2vw, 1.7rem);
  font-weight: 500;
  letter-spacing: -0.02em;
  margin-bottom: 0.5rem;
  line-height: 1.15;
  color: var(--warm-dark);
  font-variation-settings: "opsz" 144;
}
.mi-body p {
  font-size: 0.95rem;
  color: var(--text-light);
  line-height: 1.65;
  max-width: 56ch;
}
.mi-meta {
  justify-self: end;
  font-size: 0.68rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--amber-deep);
  font-weight: 500;
}
@media (max-width: 720px) {
  .mil-item { grid-template-columns: 40px 1fr; }
  .mi-meta { grid-column: 2; justify-self: start; padding-top: 0.5rem; }
}

/* =============================================
   MILITARY — Stats + alignment table
   ============================================= */
.mil-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 0;
  margin: 2rem 0 4rem;
  border-top: var(--rule);
  border-bottom: var(--rule);
}
.ms {
  padding: 2rem 1.5rem 1.75rem 0;
  border-right: var(--rule-faint);
}
.ms:not(:first-child) { padding-left: 1.5rem; }
.ms:last-child { border-right: none; }
.ms dt {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(2.6rem, 4.4vw, 3.8rem);
  letter-spacing: -0.04em;
  line-height: 1;
  color: var(--warm-dark);
  margin-bottom: 1rem;
  font-variant-numeric: tabular-nums;
  font-variation-settings: "opsz" 144;
}
.ms dt em {
  font-style: normal;
  font-size: 0.42em;
  color: var(--amber-deep);
  font-weight: 500;
  margin-left: 0.1em;
  letter-spacing: 0;
}
.ms dd {
  font-size: 0.82rem;
  color: var(--text-light);
  line-height: 1.5;
}
@media (max-width: 860px) {
  .mil-stats { grid-template-columns: repeat(2, 1fr); }
  .ms { padding: 1.5rem 1rem !important; border-bottom: var(--rule-faint); }
  .ms:nth-child(2n) { border-right: none; }
  .ms:nth-last-child(-n+2) { border-bottom: none; }
}

.alignment {
  margin-top: 2rem;
}
.align-head {
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--amber-deep);
  margin-bottom: 1rem;
}
.align-table {
  width: 100%;
  border-collapse: collapse;
  font-family: var(--sans);
  font-size: 0.88rem;
  border-top: var(--rule);
  border-bottom: var(--rule);
}
.align-table thead th {
  font-size: 0.64rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--amber-deep);
  text-align: left;
  padding: 0.85rem 0;
  border-bottom: var(--rule-faint);
}
.align-table tbody td {
  padding: 0.9rem 1rem 0.9rem 0;
  border-bottom: var(--rule-faint);
  color: var(--warm-dark);
  vertical-align: baseline;
}
.align-table tbody tr:last-child td { border-bottom: none; }
.align-table td:first-child {
  font-weight: 500;
  width: 42%;
}
.align-table td:last-child { color: var(--text-light); }

/* =============================================
   MILITARY — Pathways grid
   ============================================= */
.path-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1rem;
  margin-top: 2rem;
}
.path {
  background: var(--cream-dark);
  padding: 2rem 1.75rem;
  border-top: 3px solid var(--amber);
  border-radius: 0;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}
.path:hover {
  transform: translateY(-3px);
  box-shadow: 0 20px 45px -24px rgba(61, 48, 40, 0.22);
}
.path-letter {
  font-family: var(--serif);
  font-style: italic;
  font-size: 2.2rem;
  font-weight: 400;
  color: var(--amber-deep);
  line-height: 1;
  display: block;
  margin-bottom: 1.25rem;
  font-variation-settings: "opsz" 144;
}
.path-name {
  font-family: var(--serif);
  font-size: 1.35rem;
  font-weight: 500;
  letter-spacing: -0.015em;
  line-height: 1.2;
  margin-bottom: 0.85rem;
  color: var(--warm-dark);
}
.path-desc {
  font-size: 0.9rem;
  color: var(--text-light);
  line-height: 1.65;
}

/* =============================================
   MILITARY — Deployment spec table (dl rows)
   ============================================= */
.spec-table-mil {
  margin-top: 2rem;
  border-top: var(--rule);
}
.stm-row {
  display: grid;
  grid-template-columns: minmax(160px, 220px) 1fr;
  gap: 2rem;
  padding: 1.4rem 0;
  border-bottom: var(--rule-faint);
  align-items: baseline;
}
.stm-row:last-child { border-bottom: none; }
.stm-row dt {
  font-family: var(--sans);
  font-size: 0.7rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--amber-deep);
}
.stm-row dd {
  font-family: var(--sans);
  font-size: 0.95rem;
  color: var(--warm-dark);
  line-height: 1.6;
}
@media (max-width: 640px) {
  .stm-row { grid-template-columns: 1fr; gap: 0.4rem; }
}

/* =============================================
   AGING — Audience cards, steps, notice grid, quote
   ============================================= */
.age-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1rem;
  margin-top: 2.5rem;
}
.age-card {
  background: var(--rose-light);
  padding: 2.25rem 1.75rem;
  border-radius: 0;
  border-top: 3px solid var(--rose);
  transition: transform .4s var(--ease);
}
.age-card:hover { transform: translateY(-3px); }
.age-tag {
  font-size: 0.7rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--rose-deep);
  margin-bottom: 0.85rem;
}
.age-title {
  font-family: var(--serif);
  font-size: clamp(1.25rem, 1.8vw, 1.5rem);
  font-weight: 500;
  letter-spacing: -0.015em;
  line-height: 1.2;
  margin-bottom: 0.85rem;
  color: var(--warm-dark);
  font-variation-settings: "opsz" 144;
}
.age-body {
  font-size: 0.92rem;
  color: var(--warm-dark);
  line-height: 1.65;
}

.age-steps {
  list-style: none;
  padding: 0;
  margin-top: 2rem;
  border-top: var(--rule);
}
.age-step {
  display: grid;
  grid-template-columns: 56px 1fr 120px;
  gap: clamp(1.25rem, 3vw, 2.5rem);
  padding: clamp(1.75rem, 3vw, 2.5rem) 0;
  border-bottom: var(--rule-faint);
  align-items: baseline;
}
.age-step:last-child { border-bottom: none; }
.as-num {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1.8rem, 2.6vw, 2.4rem);
  color: var(--rose);
  line-height: 1;
  font-variation-settings: "opsz" 144;
}
.as-body h3 {
  font-family: var(--serif);
  font-size: clamp(1.3rem, 1.9vw, 1.65rem);
  font-weight: 500;
  letter-spacing: -0.02em;
  margin-bottom: 0.5rem;
  line-height: 1.15;
  color: var(--warm-dark);
  font-variation-settings: "opsz" 144;
}
.as-body p {
  font-size: 0.95rem;
  color: var(--text-light);
  line-height: 1.65;
  max-width: 56ch;
}
.as-meta {
  justify-self: end;
  font-size: 0.68rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--rose-deep);
  font-weight: 500;
}
@media (max-width: 720px) {
  .age-step { grid-template-columns: 40px 1fr; }
  .as-meta { grid-column: 2; justify-self: start; }
}

.age-quote {
  margin: 3rem 0 4rem;
  padding: 3rem 0 0;
  max-width: 900px;
}
.age-quote blockquote {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 300;
  font-size: clamp(2rem, 4.2vw, 3.2rem);
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--warm-dark);
  margin-bottom: 1.25rem;
  padding-left: 1.5rem;
  border-left: 3px solid var(--rose);
  font-variation-settings: "opsz" 144;
}
.age-quote figcaption {
  font-size: 0.82rem;
  color: var(--text-light);
  letter-spacing: 0.02em;
  padding-left: 1.5rem;
}

.age-notice-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1rem;
  margin-top: 2rem;
}
.an {
  background: var(--cream-dark);
  padding: 2rem 1.75rem;
  border-left: 3px solid var(--rose);
}
.an-tag {
  font-size: 0.7rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--rose-deep);
  margin-bottom: 0.85rem;
}
.an-title {
  font-family: var(--serif);
  font-size: clamp(1.2rem, 1.7vw, 1.45rem);
  font-weight: 500;
  letter-spacing: -0.01em;
  line-height: 1.2;
  margin-bottom: 0.85rem;
  color: var(--warm-dark);
}
.an-body {
  font-size: 0.9rem;
  color: var(--text-light);
  line-height: 1.65;
}

/* =============================================
   CALM CONNECTED — audiences, steps, diff list
   ============================================= */
.calm-audiences {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 0;
  border-top: var(--rule);
  border-bottom: var(--rule);
  margin-top: 2.5rem;
}
.ca {
  padding: 2.25rem 1.75rem 2.25rem 0;
  border-right: var(--rule-faint);
}
.ca:not(:first-child) { padding-left: 1.75rem; }
.ca:last-child { border-right: none; }
@media (max-width: 820px) {
  .ca { padding: 1.75rem 0 !important; border-right: none; border-bottom: var(--rule-faint); }
  .ca:last-child { border-bottom: none; }
}
.ca-num {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.35rem;
  color: var(--blue-deep);
  display: block;
  margin-bottom: 1rem;
  font-variation-settings: "opsz" 144;
}
.ca-title {
  font-family: var(--serif);
  font-size: clamp(1.35rem, 2vw, 1.7rem);
  font-weight: 500;
  letter-spacing: -0.015em;
  line-height: 1.2;
  margin-bottom: 1rem;
  color: var(--warm-dark);
  font-variation-settings: "opsz" 144;
}
.ca-body {
  font-size: 0.92rem;
  color: var(--text-light);
  line-height: 1.65;
}

.calm-steps {
  list-style: none;
  padding: 0;
  margin-top: 2rem;
  border-top: var(--rule);
}
.cs {
  display: grid;
  grid-template-columns: 130px 1fr;
  gap: clamp(1.5rem, 3vw, 3rem);
  padding: clamp(1.75rem, 3vw, 2.5rem) 0;
  border-bottom: var(--rule-faint);
  align-items: baseline;
}
.cs:last-child { border-bottom: none; }
.cs-num {
  font-size: 0.7rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--blue-deep);
  padding-top: 0.4rem;
}
.cs-body h3 {
  font-family: var(--serif);
  font-size: clamp(1.4rem, 2.1vw, 1.8rem);
  font-weight: 500;
  letter-spacing: -0.02em;
  margin-bottom: 0.5rem;
  line-height: 1.15;
  color: var(--warm-dark);
  font-variation-settings: "opsz" 144;
}
.cs-body p {
  font-size: 0.95rem;
  color: var(--text-light);
  line-height: 1.65;
  max-width: 58ch;
}
@media (max-width: 640px) {
  .cs { grid-template-columns: 1fr; gap: 0.5rem; }
}

.diff-list {
  margin-top: 2rem;
  border-top: var(--rule);
}
.diff-row {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 2.5rem;
  padding: 1.75rem 0;
  border-bottom: var(--rule-faint);
  align-items: baseline;
}
.diff-row:last-child { border-bottom: none; }
.diff-row dt {
  font-family: var(--serif);
  font-size: clamp(1.1rem, 1.6vw, 1.4rem);
  font-weight: 500;
  line-height: 1.25;
  letter-spacing: -0.01em;
  color: var(--warm-dark);
  font-variation-settings: "opsz" 144;
}
.diff-row dd {
  font-size: 0.95rem;
  color: var(--text-light);
  line-height: 1.65;
}
@media (max-width: 720px) {
  .diff-row { grid-template-columns: 1fr; gap: 0.5rem; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
    scroll-behavior: auto !important;
  }
  .display .d-line, .hero-body .lede, .hero-cta, .hero-aside,
  .reveal { opacity: 1 !important; transform: none !important; }
}
