:root {
  /* Clean variant. Oakberry brand: navy text on warm cream, gold for fine detail. */
  --paper: #FBF8F1;
  --paper-light: #F2ECDD;
  --plate-white: #FFFFFF;
  --ink: #0E1652;
  --faded: #5B6086;
  --rule: #E5DEC9;
  --rule-strong: #0E1652;
  --blueprint: #0E1652;
  --ochre: #C9A24D;
  --ochre-soft: rgba(201, 162, 77, 0.16);
  --accent-strong: #070C30;
  --gold: #C9A24D;
  --gold-deep: #A5832F;
  --gold-soft: rgba(201, 162, 77, 0.16);
  --cream-deep: #F0E4C6;

  --display: "Fraunces", "Newsreader", Georgia, "Times New Roman", serif;
  --body: "Inter", "Public Sans", -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;

  --measure: 64ch;
  --container: 1280px;
  --gutter: clamp(20px, 4vw, 64px);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }
html, body { overflow-x: clip; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-smooth [data-lenis-prevent] { overscroll-behavior: contain; }
.lenis.lenis-stopped { overflow: clip; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  font-feature-settings: "ss01", "kern";
}

/* ---------- FILM GRAIN (body-level, all pages) ---------- */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='300' height='300' filter='url(%23n)'/%3E%3C/svg%3E") repeat;
  background-size: 300px 300px;
  opacity: 0.028;
  mix-blend-mode: overlay;
  pointer-events: none;
  z-index: 9000;
}

::selection { background: var(--ink); color: var(--paper); }

a { color: inherit; text-decoration: none; }
p { margin: 0 0 1em; }

/* ---------- TYPOGRAPHIC PRIMITIVES ---------- */
.display {
  font-family: var(--display);
  font-weight: 380;
  font-variation-settings: "opsz" 144, "SOFT" 30;
  font-size: clamp(48px, 7.4vw, 112px);
  line-height: 0.98;
  letter-spacing: -0.022em;
  margin: 0 0 0.28em;
  color: var(--ink);
}
.display .em-italic {
  font-style: italic;
  font-weight: 380;
  font-variation-settings: "opsz" 144, "SOFT" 60;
  color: var(--ochre);
}
.display .em-mark {
  font-style: italic;
  font-weight: 380;
  color: var(--ink);
}
.page-display {
  font-family: var(--display);
  font-weight: 600;
  font-variation-settings: "opsz" 42;
  font-size: clamp(32px, 4.2vw, 56px);
  line-height: 1.06;
  letter-spacing: -0.014em;
  margin: 0 0 0.24em;
  color: var(--ink);
}
.section-title {
  font-family: var(--display);
  font-weight: 500;
  font-variation-settings: "opsz" 36;
  font-size: clamp(28px, 3.6vw, 44px);
  line-height: 1.08;
  letter-spacing: -0.012em;
  margin: 0;
}
.lede {
  font-family: var(--body);
  font-weight: 400;
  font-style: normal;
  font-size: clamp(17px, 1.55vw, 20px);
  line-height: 1.55;
  color: var(--faded);
  max-width: 56ch;
  margin: 0 0 2rem;
}
.page-lede {
  font-family: var(--display);
  font-weight: 400;
  font-style: italic;
  font-size: clamp(16px, 1.5vw, 19px);
  line-height: 1.5;
  color: var(--ink);
  max-width: 60ch;
  margin: 0 0 1.5rem;
}
.folio,
.plate-mark,
.imprint-sub,
.small-caps {
  font-family: var(--body);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-weight: 500;
  font-size: 11px;
  color: var(--faded);
}
.num,
.rates td,
.rates th,
.ledger td,
.ledger th,
.worksheet input,
.worksheet output,
.term-sheet .v {
  font-family: var(--mono);
  font-feature-settings: "tnum", "zero";
}

/* ---------- UTILITY BAR ---------- */
.util-bar {
  background: var(--ink);
  color: var(--paper);
  font-family: var(--body);
  font-size: 11.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.util-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 9px var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.util-left { display: flex; gap: 28px; flex-wrap: wrap; align-items: center; }
.util-left .u-item { display: inline-flex; gap: 8px; align-items: center; color: rgba(236,234,228,0.78); }
.util-left .u-item strong { color: var(--paper); font-weight: 500; letter-spacing: 0.14em; }
.util-left .u-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--gold); display: inline-block;
  box-shadow: 0 0 0 3px var(--gold-soft);
}
.util-left .u-dot.is-closed {
  background: rgba(236,234,228,0.25);
  box-shadow: none;
}
.util-right { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }
.u-phone {
  font-family: var(--mono);
  color: var(--paper);
  letter-spacing: 0.06em;
  font-size: 13px;
  border-bottom: 1px dotted rgba(236,234,228,0.4);
  padding-bottom: 1px;
}
.u-phone:hover { border-bottom-color: var(--gold); color: var(--gold); }
.util-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--gold);
  color: var(--ink);
  padding: 7px 14px 6px;
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: none;
  font-weight: 500;
  border-radius: 999px;
  transition: background 200ms;
}
.util-cta::after { content: "→"; font-family: var(--body); font-size: 13px; transform: translateY(-1px); }
.util-cta:hover { background: var(--accent-strong); }

/* ---------- HEADER ---------- */
.frontispiece {
  border-bottom: 1px solid var(--ink);
  background: var(--paper-light);
  position: sticky;
  top: 0;
  z-index: 30;
  backdrop-filter: saturate(120%);
}
.frontispiece-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 14px var(--gutter);
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 32px;
  align-items: center;
}
.imprint { display: flex; align-items: center; gap: 14px; }
.imprint-home { display: flex; align-items: center; gap: 14px; }
.mark {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  color: var(--ink);
}
.mark svg, .mark img { display: block; width: 100%; height: 100%; object-fit: contain; }
.imprint-text { line-height: 1.1; }
.imprint-name {
  font-family: var(--display);
  font-weight: 600;
  font-size: 19px;
  letter-spacing: -0.01em;
}
.imprint-sub { margin-top: 4px; font-size: 9.5px; }

.folio-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 26px;
  justify-content: flex-end;
  align-items: center;
}
.folio-nav a {
  font-family: var(--body);
  font-size: 14px;
  text-transform: none;
  letter-spacing: 0;
  color: var(--ink);
  padding: 8px 2px 6px;
  border-bottom: 1px solid transparent;
  transition: color 180ms, border-color 180ms;
  font-weight: 500;
}
.folio-nav a:hover { color: var(--ochre); border-bottom-color: var(--ochre); }
.folio-nav a[aria-current="page"] { color: var(--ochre); border-bottom-color: var(--ochre); }

/* ---------- COMMON SECTION FRAME ---------- */
section {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
}
.section-head {
  padding-top: 88px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--rule);
  margin-bottom: 36px;
}
.section-head .kicker {
  font-family: var(--body);
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 11px;
  color: var(--faded);
  font-weight: 600;
  display: block;
  margin-bottom: 14px;
  border-left: 2px solid var(--ochre);
  padding-left: 10px;
}

/* ---------- HONEYPOT (off-screen, not display:none so bots fill it) ---------- */
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ---------- PAGE HERO (subpages) ---------- */
.page-hero {
  padding-top: 72px;
  padding-bottom: 56px;
  border-bottom: 1px solid var(--rule);
}
.page-hero .kicker {
  font-family: var(--body);
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-size: 11px;
  color: var(--faded);
  font-weight: 600;
  display: block;
  margin-bottom: 18px;
  border-left: 2px solid var(--ochre);
  padding-left: 10px;
}

/* ---------- LANDING HERO ---------- */
.plate-hero {
  padding-top: 96px;
  padding-bottom: 80px;
  border-bottom: 1px solid var(--rule);
}
.hero-clean {
  max-width: 920px;
  margin: 0 auto 0 0;
}
.hero-cta-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px 16px;
  margin-top: 8px;
}
.hero-cta-row .cta-note { font-size: 14px; }
.counsel-hero .hero-cta-row .cta { padding: 10px 18px; font-size: 13px; gap: 8px; }
.counsel-hero .hero-cta-row .cta::after { font-size: 14px; }

/* ---------- RATE CARD ---------- */
.rate-card {
  border: 1px solid var(--ink);
  background: var(--plate-white);
  padding: 22px 24px 20px;
  position: relative;
}
.rate-card::before {
  content: "INDICATIVE";
  position: absolute;
  top: -1px; left: 18px;
  background: var(--plate-white);
  transform: translateY(-50%);
  padding: 0 8px;
  font-family: var(--body);
  font-size: 10px;
  letter-spacing: 0.22em;
  font-weight: 600;
  color: var(--faded);
}
.rate-card .rc-head {
  display: flex; justify-content: space-between; align-items: baseline;
  border-bottom: 1px solid var(--rule);
  padding-bottom: 10px;
  margin-bottom: 14px;
}
.rate-card .rc-head .rc-label {
  font-family: var(--display);
  font-style: italic;
  font-size: 14.5px;
  color: var(--ink);
}
.rate-card .rc-head .rc-time {
  font-family: var(--mono);
  font-size: 10.5px;
  color: var(--faded);
  display: inline-flex; gap: 6px; align-items: center;
}
.rate-card .rc-time-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 2px var(--gold-soft);
  display: inline-block;
}
.rate-card .rc-row {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: baseline;
  padding: 8px 0;
  border-bottom: 1px dashed var(--rule);
}
.rate-card .rc-row:last-of-type { border-bottom: 0; padding-bottom: 0; }
.rate-card .rc-row .rc-prog {
  font-family: var(--display);
  font-size: 15px;
  color: var(--ink);
}
.rate-card .rc-row .rc-rate {
  font-family: var(--mono);
  font-feature-settings: "tnum";
  font-size: 17px;
  color: var(--ink);
}
.rate-card .rc-row.featured .rc-rate { color: var(--ochre); font-weight: 500; }
.rate-card .rc-foot {
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid var(--rule);
  display: flex; justify-content: space-between; align-items: center; gap: 12px;
}
.rate-card .rc-foot a {
  font-family: var(--body);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 10.5px;
  font-weight: 600;
  border-bottom: 1px solid var(--ink);
  padding-bottom: 1px;
}
.rate-card .rc-foot a:hover { color: var(--ochre); border-bottom-color: var(--ochre); }
.rate-card .rc-foot .rc-disclaim {
  font-family: var(--display);
  font-style: italic;
  font-size: 12px;
  color: var(--faded);
}

/* ---------- BY THE NUMBERS STRIP ---------- */
.numbers-strip {
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
  background: var(--paper-light);
}
.numbers-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 28px var(--gutter);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}
.num-tile { padding: 8px 28px; border-right: 1px solid var(--rule); }
.num-tile:last-child { border-right: 0; }
.num-tile .nt-figure {
  font-family: var(--display);
  font-weight: 500;
  font-size: clamp(34px, 4vw, 48px);
  line-height: 1;
  letter-spacing: -0.018em;
  color: var(--ink);
  display: flex; align-items: baseline; gap: 6px;
}
.num-tile .nt-figure .nt-unit {
  font-family: var(--mono);
  font-size: 14px;
  color: var(--faded);
  font-weight: 400;
  letter-spacing: 0.02em;
}
.num-tile .nt-label {
  font-family: var(--body);
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 10.5px;
  color: var(--faded);
  font-weight: 600;
  margin-top: 12px;
}
.num-tile .nt-sub {
  font-family: var(--display);
  font-style: italic;
  font-size: 13.5px;
  color: var(--ink);
  margin-top: 4px;
  line-height: 1.45;
}

/* ---------- WHERE TO START (landing only) ---------- */
.explore-section {
  padding-top: 96px;
  padding-bottom: 96px;
  border-bottom: 1px solid var(--rule);
}
.explore-head {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: end;
  gap: 24px;
  margin-bottom: 36px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--rule);
}
.explore-head h2 {
  font-family: var(--display);
  font-weight: 500;
  font-size: clamp(28px, 3.4vw, 40px);
  margin: 0;
  letter-spacing: -0.012em;
  line-height: 1.06;
}
.explore-head .ex-kicker {
  font-family: var(--body);
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-size: 11px;
  color: var(--faded);
  font-weight: 600;
}
.start-tiles {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 1px;
  background: var(--rule);
  border: 1px solid var(--rule);
}
.start-tile {
  background: var(--paper-light);
  padding: 32px 30px 28px;
  display: flex;
  flex-direction: column;
  min-height: 280px;
  transition: background 220ms, color 220ms;
  position: relative;
}
.start-tile:hover { background: var(--ink); color: var(--paper); }
.start-tile:hover .st-num,
.start-tile:hover .st-line,
.start-tile:hover .st-sub { color: rgba(236,234,228,0.78); }
.start-tile:hover .st-cta { color: var(--gold); border-bottom-color: var(--gold); }
.start-tile .st-num {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--faded);
  letter-spacing: 0.18em;
  margin-bottom: 18px;
  transition: color 220ms;
}
.start-tile h3 {
  font-family: var(--display);
  font-weight: 500;
  font-size: clamp(24px, 2.4vw, 30px);
  margin: 0 0 10px;
  letter-spacing: -0.012em;
  line-height: 1.1;
}
.start-tile .st-line {
  font-family: var(--display);
  font-style: italic;
  font-size: 15.5px;
  line-height: 1.5;
  color: var(--ink);
  margin: 0 0 12px;
  transition: color 220ms;
}
.start-tile .st-sub {
  font-family: var(--body);
  font-size: 13.5px;
  color: var(--faded);
  line-height: 1.55;
  transition: color 220ms;
}
.start-tile .st-cta {
  margin-top: auto;
  padding-top: 18px;
  font-family: var(--body);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 11px;
  font-weight: 600;
  color: var(--ink);
  border-bottom: 1px solid transparent;
  padding-bottom: 2px;
  align-self: flex-start;
  transition: color 220ms, border-color 220ms;
}
.start-tile .st-cta::after { content: " →"; }
.start-tile .st-mini {
  margin-top: 12px;
  font-family: var(--mono);
  font-feature-settings: "tnum";
  font-size: 13px;
  color: var(--ink);
  border-top: 1px dashed var(--rule);
  padding-top: 12px;
  display: grid;
  grid-template-columns: 1fr auto;
  row-gap: 6px;
}
.start-tile:hover .st-mini { color: rgba(236,234,228,0.85); border-top-color: rgba(236,234,228,0.18); }

/* ---------- FINAL CTA STRIP ---------- */
.cta-strip {
  max-width: none;
  padding: 0;
  background:
    linear-gradient(to bottom, rgba(251,248,241,0.045) 0%, transparent 12%, transparent 88%, rgba(251,248,241,0.04) 100%),
    linear-gradient(175deg, #131c5f 0%, #0a1044 100%);
  color: var(--paper);
  border-top: 1px solid rgba(201,162,77,0.22);
}
.cta-strip-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 64px var(--gutter);
  display: grid;
  grid-template-columns: 1.4fr auto;
  align-items: center;
  gap: 28px;
}
.cta-strip h2 {
  font-family: var(--display);
  font-weight: 500;
  font-size: clamp(28px, 3.2vw, 40px);
  line-height: 1.06;
  margin: 0;
  letter-spacing: -0.012em;
  color: var(--paper);
}
.cta-strip .cs-sub {
  font-family: var(--display);
  font-style: italic;
  font-size: 16px;
  color: rgba(236,234,228,0.72);
  margin-top: 10px;
  max-width: 60ch;
}
.cta-strip .cta {
  background: var(--gold);
  color: var(--ink);
  border-color: var(--gold);
}
.cta-strip .cta:hover {
  background: var(--paper);
  color: var(--ink);
  border-color: var(--paper);
}

/* ---------- PULL QUOTE ---------- */
.pull-quote-section {
  padding-top: 72px;
  padding-bottom: 80px;
  border-bottom: 1px solid var(--rule);
}
.pq-frame {
  display: grid;
  grid-template-columns: 110px 1fr 280px;
  column-gap: 36px;
  align-items: start;
}
.pq-mark {
  font-family: var(--display);
  font-weight: 500;
  font-size: 72px;
  line-height: 0.7;
  color: var(--ink);
  opacity: 0.22;
}
.pq-body {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(22px, 2.4vw, 30px);
  line-height: 1.32;
  color: var(--ink);
  letter-spacing: -0.005em;
}
.pq-attr {
  border-left: 1px solid var(--rule);
  padding-left: 24px;
  font-family: var(--body);
  font-size: 13.5px;
  line-height: 1.55;
  color: var(--ink);
}
.pq-attr .pq-name {
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 11px;
  display: block;
  margin-bottom: 4px;
}
.pq-attr .pq-meta {
  font-style: italic;
  color: var(--faded);
  font-family: var(--display);
  font-size: 13px;
  margin-top: 4px;
  display: block;
}

/* ---------- TIMESTAMP CHIP ---------- */
.table-meta {
  display: flex; align-items: center; gap: 14px;
  margin-bottom: 18px; flex-wrap: wrap;
}
.ts-chip {
  display: inline-flex; gap: 8px; align-items: center;
  border: 1px solid var(--ink);
  padding: 6px 12px 5px;
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: 0.04em;
  color: var(--ink);
}
.ts-chip .ts-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 3px var(--gold-soft);
}
.ts-quote-link {
  font-family: var(--body);
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 11px;
  font-weight: 600;
  border-bottom: 1px solid var(--ink);
  padding-bottom: 1px;
}
.ts-quote-link:hover { color: var(--ochre); border-bottom-color: var(--ochre); }

/* ---------- FLOATING CTA PILL ---------- */
.float-cta {
  position: fixed;
  right: 22px; bottom: 22px;
  background: var(--ink);
  color: var(--paper);
  padding: 13px 22px 12px;
  font-family: var(--body);
  text-transform: none;
  letter-spacing: 0;
  font-size: 14px;
  font-weight: 500;
  border: 1px solid var(--ink);
  border-radius: 999px;
  display: inline-flex; align-items: center; gap: 10px;
  box-shadow:
    0 1px 2px rgba(21,23,26,0.08),
    0 6px 16px rgba(21,23,26,0.14),
    inset 0 1px 0 rgba(255,255,255,0.06);
  transform: translateY(120%);
  opacity: 0;
  transition: transform 320ms ease, opacity 280ms, background 200ms, color 200ms;
  z-index: 40;
}
.float-cta.visible { transform: translateY(0); opacity: 1; }
.float-cta::after { content: "→"; font-family: var(--body); font-size: 16px; transform: translateY(-1px); }
.float-cta:hover { background: var(--gold); border-color: var(--gold); color: var(--ink); }

/* ---------- DIAGRAM ---------- */
.plate-meta {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 36px;
}
.plate-meta .plate-rule { flex: 1; height: 1px; background: var(--ink); max-width: 280px; }
.plate-meta .plate-caption {
  font-family: var(--display);
  font-style: italic;
  font-weight: 400;
  color: var(--ink);
  font-size: 14px;
}
.diagram-frame {
  border: 1px solid var(--ink);
  background: var(--plate-white);
  padding: 24px 28px 20px;
  margin: 12px 0 18px;
  position: relative;
}
.diagram-frame::before {
  content: "FIG.1";
  position: absolute;
  top: -1px; left: 24px;
  background: var(--plate-white);
  transform: translateY(-50%);
  padding: 0 10px;
  font-family: var(--body);
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-size: 10.5px;
  color: var(--ink);
  font-weight: 600;
}
.diagram-frame svg { display: block; width: 100%; height: auto; }
.caption-row {
  margin: 18px 0 40px;
  max-width: 900px;
}
.caption-row .caption-text {
  font-family: var(--display);
  font-style: italic;
  font-size: 16.5px;
  line-height: 1.55;
  color: var(--ink);
  margin: 0;
}
.primary-action {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 18px 26px;
  margin-top: 32px;
}
.cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--body);
  font-weight: 500;
  font-size: 14.5px;
  letter-spacing: 0;
  text-transform: none;
  padding: 14px 26px 14px;
  border: 1.5px solid var(--gold);
  background: var(--gold);
  color: var(--ink);
  border-radius: 999px;
  transition: background 200ms, color 200ms, border-color 200ms, transform 120ms;
}
.cta::after {
  content: "→";
  font-family: var(--body);
  font-size: 16px;
  transform: translateY(-1px);
}
.cta:hover {
  background: var(--gold-deep);
  border-color: var(--gold-deep);
  color: var(--ink);
}
.cta:active,
.util-cta:active,
.submit-stamp:active,
.float-cta:active { transform: translateY(1px); }
.cta.secondary {
  background: transparent;
  color: var(--ink);
  border-color: var(--ink);
}
.cta.secondary:hover {
  background: var(--ink);
  color: var(--paper);
  border-color: var(--ink);
}
.cta-note {
  font-family: var(--display);
  font-style: italic;
  font-size: 15px;
  color: var(--faded);
}

/* ---------- TABLES ---------- */
.table-section { padding-bottom: 88px; }
.rates,
.ledger {
  width: 100%;
  border-collapse: collapse;
  margin: 0 0 24px;
}
.rates thead th,
.ledger thead th {
  text-align: left;
  font-family: var(--body);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 10.5px;
  color: var(--faded);
  font-weight: 600;
  padding: 0 0 12px;
  border-bottom: 1.5px solid var(--ink);
}
.rates tbody td,
.ledger tbody td {
  padding: 16px 0;
  border-bottom: 1px solid var(--rule);
  vertical-align: top;
}
.rates tbody tr:last-child td,
.ledger tbody tr:last-child td {
  border-bottom: 1.5px solid var(--ink);
}
.rates .col-program {
  width: 26%;
  font-family: var(--display);
  font-size: 18px;
  font-weight: 500;
  letter-spacing: -0.005em;
}
.rates .col-rate,
.rates .col-apr,
.rates .col-points {
  width: 12%;
  font-family: var(--mono);
  font-size: 15px;
  font-feature-settings: "tnum";
  color: var(--ink);
}
.rates .col-notes {
  font-family: var(--display);
  font-style: italic;
  font-size: 15px;
  color: var(--ink);
}
.rates .ochre-mark { color: var(--ochre); font-weight: 600; }
.rates-disclaimer,
.small-note {
  font-family: var(--display);
  font-style: italic;
  font-size: 13.5px;
  color: var(--faded);
  max-width: 70ch;
  margin: 0;
}

/* ---------- TIMELINE ---------- */
.timeline-frame {
  border: 1px solid var(--ink);
  background: var(--plate-white);
  padding: 36px 32px 28px;
  margin-bottom: 28px;
  position: relative;
}
.timeline { position: relative; height: 220px; }
.timeline .axis { position: absolute; left: 0; right: 0; bottom: 28px; height: 1px; background: var(--ink); }
.timeline .tick { position: absolute; bottom: 22px; width: 1px; height: 8px; background: var(--ink); }
.timeline .tick-label {
  position: absolute;
  bottom: 4px;
  transform: translateX(-50%);
  font-family: var(--mono);
  font-size: 11px;
  color: var(--faded);
}
.timeline .bar {
  position: absolute;
  height: 22px;
  background: var(--ink);
  color: var(--plate-white);
  font-family: var(--body);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 500;
  display: flex;
  align-items: center;
  padding: 0 12px;
  border-radius: 0;
  white-space: nowrap;
}
.timeline .bar.ochre { background: var(--ochre); }
.timeline .bar.outline {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--ink);
}

/* ---------- LEDGER ---------- */
.ledger .col-line {
  width: 38%;
  font-family: var(--display);
  font-size: 17px;
}
.ledger .col-charge {
  width: 18%;
  font-family: var(--mono);
  font-size: 15px;
}
.ledger .charge-zero { color: var(--ochre); font-weight: 600; }
.ledger .col-note {
  font-family: var(--display);
  font-style: italic;
  color: var(--ink);
  font-size: 15px;
}

/* ---------- TERM SHEET ---------- */
.term-sheet-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  margin-bottom: 32px;
}
.term-sheet {
  border: 1px solid var(--ink);
  background: var(--paper-light);
  padding: 28px 28px 24px;
  position: relative;
}
.term-sheet.broker {
  background: var(--plate-white);
  box-shadow: inset 0 0 0 1px var(--ochre);
  border-color: var(--ochre);
}
.term-sheet h3 {
  font-family: var(--display);
  font-weight: 500;
  font-size: 22px;
  margin: 0 0 4px;
  letter-spacing: -0.01em;
}
.term-sheet .ts-sub {
  font-family: var(--body);
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 10.5px;
  color: var(--faded);
  font-weight: 500;
  margin-bottom: 18px;
}
.term-sheet dl {
  margin: 0;
  display: grid;
  grid-template-columns: 1fr auto;
  row-gap: 10px;
  column-gap: 18px;
  align-items: baseline;
}
.term-sheet dt {
  font-family: var(--display);
  font-style: italic;
  font-size: 15px;
  color: var(--faded);
}
.term-sheet dd {
  margin: 0;
  font-family: var(--mono);
  font-size: 15px;
  text-align: right;
  color: var(--ink);
  font-feature-settings: "tnum";
}
.savings-bar {
  grid-column: 1 / -1;
  margin-top: 28px;
  border: 1px solid var(--ink);
  background: var(--plate-white);
  padding: 22px 26px;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 18px;
}
.savings-bar .savings-label {
  font-family: var(--display);
  font-style: italic;
  font-size: 18px;
  color: var(--ink);
}
.savings-bar .savings-value {
  font-family: var(--mono);
  font-size: 26px;
  font-weight: 500;
  color: var(--ochre);
  letter-spacing: -0.01em;
}

/* ---------- WORKSHEET ---------- */
.worksheet {
  border: 1px solid var(--ink);
  background: var(--plate-white);
  padding: 36px 32px 28px;
  margin-bottom: 24px;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 40px;
  position: relative;
}
.worksheet .ws-inputs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px 28px;
}
.ws-field {
  display: grid;
  grid-template-rows: auto 1fr;
  border-bottom: 1px solid var(--ink);
  padding-bottom: 8px;
}
.ws-field label {
  font-family: var(--body);
  font-size: 10.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--faded);
  margin-bottom: 8px;
  font-weight: 500;
}
.ws-field input {
  border: 0;
  background: transparent;
  padding: 4px 0;
  font-family: var(--mono);
  font-size: 22px;
  color: var(--ink);
  width: 100%;
  outline: none;
  appearance: textfield;
}
.ws-field input::-webkit-outer-spin-button,
.ws-field input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}
.ws-outputs {
  border-left: 1px dashed var(--rule);
  padding-left: 32px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}
.ws-out {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: baseline;
  padding: 14px 0;
  border-bottom: 1px solid var(--rule);
}
.ws-out:last-of-type { border-bottom: 1.5px solid var(--ink); }
.ws-out .ws-label {
  font-family: var(--display);
  font-style: italic;
  font-size: 15.5px;
  color: var(--faded);
}
.ws-out .ws-value {
  font-family: var(--mono);
  font-size: 22px;
  color: var(--ink);
  font-feature-settings: "tnum";
}
.ws-out.primary .ws-label { color: var(--ink); font-style: normal; }
.ws-out.primary .ws-value { color: var(--ochre); font-size: 28px; }

/* ---------- PROGRAMS ---------- */
.programs-frame {
  border: 1px solid var(--ink);
  padding: 28px;
  background: var(--paper-light);
  position: relative;
  margin-bottom: 24px;
}
.programs-featured {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--rule);
  border: 1px solid var(--rule);
  margin-bottom: 1px;
}
.programs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--rule);
  border: 1px solid var(--rule);
  border-top: none;
}
.program {
  background: var(--plate-white);
  padding: 22px 22px 24px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.program--featured {
  background: var(--paper-light);
  padding: 28px 28px 32px;
}
.program--featured h4 {
  font-size: 26px;
}
.program--featured .p-tag {
  display: inline-block;
  font-family: var(--mono);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  background: var(--ochre);
  color: var(--navy);
  padding: 3px 7px;
  margin-bottom: 8px;
}
.program h4 {
  font-family: var(--display);
  font-size: 22px;
  font-weight: 500;
  margin: 0 0 6px;
  letter-spacing: -0.01em;
}
.program .p-spec {
  margin: 8px 0 0;
  display: grid;
  grid-template-columns: auto 1fr;
  row-gap: 4px;
  column-gap: 12px;
  font-size: 13px;
}
.program .p-spec dt {
  color: var(--faded);
  font-family: var(--body);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 9.5px;
  padding-top: 3px;
  font-weight: 600;
}
.program .p-spec dd {
  margin: 0;
  font-family: var(--mono);
  font-size: 13px;
  color: var(--ink);
}
.program .p-line {
  margin-top: auto;
  padding-top: 12px;
  font-family: var(--display);
  font-style: italic;
  font-size: 14px;
  color: var(--ink);
  line-height: 1.45;
}

/* ---------- EDGE CASES ---------- */
.edges {
  display: grid;
  grid-template-columns: 1.35fr 1fr 1fr;
  gap: 28px;
  margin-bottom: 24px;
}
.edges > .edge:first-child { padding-top: 32px; padding-bottom: 28px; }
.edge {
  border: 1px solid var(--ink);
  background: var(--plate-white);
  padding: 28px 26px 24px;
  position: relative;
}
.edge h4 {
  font-family: var(--display);
  font-weight: 500;
  font-size: 22px;
  margin: 0 0 10px;
  letter-spacing: -0.01em;
}
.edge p {
  font-size: 15px;
  line-height: 1.55;
  margin: 0 0 10px;
}
.edge .e-diagram {
  margin: 16px 0 18px;
  height: 84px;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  display: grid;
  place-items: center;
}

/* ---------- INQUIRY ---------- */
.inquiry-section { padding-bottom: 96px; }
.inquiry-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 48px;
  margin-top: 12px;
}
.inquiry-frame {
  border: 1px solid var(--rule-strong);
  border-top: 3px solid var(--ochre);
  background: var(--paper-light);
  padding: 36px 36px 30px;
  position: relative;
}
.contact-rail {
  padding: 8px 0;
}
.contact-rail h3 {
  font-family: var(--display);
  font-weight: 500;
  font-size: 22px;
  letter-spacing: -0.01em;
  margin: 0 0 16px;
}
.contact-rail .cr-block {
  border-top: 1px solid var(--rule);
  padding: 16px 0;
  font-size: 14.5px;
  line-height: 1.55;
}
.contact-rail .cr-label {
  font-family: var(--body);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 10px;
  color: var(--faded);
  font-weight: 600;
  display: block;
  margin-bottom: 6px;
}
.contact-rail .cr-block a { border-bottom: 1px solid var(--rule); }
.contact-rail .cr-block a:hover { color: var(--ochre); border-bottom-color: var(--ochre); }
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 36px;
  row-gap: 28px;
  margin-bottom: 28px;
}
.field { display: flex; flex-direction: column; }
.field label {
  font-family: var(--body);
  font-size: 10.5px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--faded);
  font-weight: 600;
  margin-bottom: 10px;
}
.field input,
.field select,
.field textarea {
  border: 0;
  border-bottom: 1.5px solid var(--ink);
  background: transparent;
  padding: 4px 0 8px;
  font-family: var(--display);
  font-size: 19px;
  color: var(--ink);
  outline: none;
  line-height: 1.3;
  border-radius: 0;
  transition: border-color 200ms ease, background 200ms ease;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  border-bottom-color: var(--ochre);
  background: var(--ochre-soft);
}
.field.has-error input,
.field.has-error select,
.field.has-error textarea {
  border-bottom-color: #b83232;
}
.field-error {
  font-family: var(--body);
  font-size: 11px;
  letter-spacing: 0.04em;
  color: #b83232;
  font-weight: 500;
  margin-top: 5px;
}
.field textarea {
  min-height: 70px;
  resize: vertical;
  font-family: var(--body);
  font-size: 16px;
}
.field.full { grid-column: 1 / -1; }
.form-action {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 18px 28px;
  padding-top: 12px;
  border-top: 1px solid var(--rule);
}
.form-action .form-note {
  font-family: var(--display);
  font-style: italic;
  font-size: 15px;
  color: var(--faded);
  max-width: 46ch;
}
.submit-stamp {
  font-family: var(--body);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  padding: 16px 28px 14px;
  background: var(--ink);
  color: var(--paper);
  border: 1.5px solid var(--ink);
  cursor: pointer;
  transition: background 200ms, color 200ms, border-color 200ms, opacity 180ms;
}
.submit-stamp:hover { background: var(--ochre); border-color: var(--ochre); color: var(--ink); }
.submit-stamp.is-loading { opacity: 0.5; cursor: wait; pointer-events: none; }
.form-ack {
  display: none;
  margin-top: 18px;
  font-family: var(--display);
  font-style: italic;
  font-size: 16px;
  color: var(--ochre);
}
.form-ack.visible { display: block; }

/* Form success overlay */
.form-success-panel {
  position: absolute;
  inset: 0;
  background: var(--paper-light);
  padding: 44px 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 20px;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 480ms ease, transform 480ms ease;
  pointer-events: none;
}
.form-success-panel.is-on { opacity: 1; transform: none; pointer-events: auto; }
.fsp-mark {
  width: 44px;
  height: 44px;
  border: 1.5px solid var(--ochre);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ochre);
  flex-shrink: 0;
}
.fsp-title {
  font-family: var(--display);
  font-size: clamp(22px, 3vw, 30px);
  font-weight: 400;
  color: var(--ink);
  margin: 0;
  line-height: 1.15;
}
.fsp-body {
  font-family: var(--body);
  font-size: 15px;
  line-height: 1.65;
  color: var(--faded);
  max-width: 40ch;
  margin: 0;
}

/* ---------- ABOUT / FOUNDERS ---------- */
.founders {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  padding-bottom: 88px;
  border-bottom: 1px solid var(--rule);
}
.founder {
  display: block;
}
.founders--single {
  grid-template-columns: 1fr;
  max-width: 68ch;
  margin-inline: 0;
}
.portrait-slot {
  aspect-ratio: 4 / 5;
  background:
    repeating-linear-gradient(135deg, rgba(21,23,26,0.04) 0 2px, transparent 2px 8px),
    linear-gradient(180deg, #DCD9D0 0%, #C8C5BC 100%);
  border: 1px solid var(--ink);
  position: relative;
}
.portrait-slot.label-a::after,
.portrait-slot.label-b::after {
  position: absolute;
  bottom: 12px;
  left: 12px;
  right: 12px;
  font-family: var(--body);
  font-size: 9.5px;
  letter-spacing: 0.22em;
  color: var(--faded);
  font-weight: 600;
}
.portrait-slot.label-a::after { content: "DEJAN, PRINCIPAL BROKER"; }
.portrait-slot.label-b::after { content: "CO-FOUNDER"; }
.founder-bio h3 {
  font-family: var(--display);
  font-weight: 500;
  font-size: 24px;
  margin: 0 0 4px;
  letter-spacing: -0.01em;
}
.founder-bio .fb-role {
  font-family: var(--body);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 10.5px;
  color: var(--ochre);
  font-weight: 600;
  margin-bottom: 14px;
  display: block;
}
.founder-bio p {
  font-size: 15.5px;
  line-height: 1.6;
  margin: 0 0 10px;
}
.founder-bio .fb-meta {
  font-family: var(--mono);
  font-size: 12.5px;
  color: var(--faded);
  letter-spacing: 0.04em;
  margin-top: 12px;
}

.practice-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  padding-top: 64px;
  padding-bottom: 96px;
}
.practice-grid .pg-block {
  border-top: 1px solid var(--ink);
  padding-top: 18px;
}
.practice-grid .pg-label {
  font-family: var(--body);
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 10.5px;
  color: var(--faded);
  font-weight: 600;
  display: block;
  margin-bottom: 10px;
}
.practice-grid .pg-block p {
  font-size: 14.5px;
  line-height: 1.55;
  margin: 0 0 6px;
}
.practice-grid .pg-block a { border-bottom: 1px solid var(--rule); }
.practice-grid .pg-block a:hover { color: var(--ochre); border-bottom-color: var(--ochre); }

/* ---------- FOOTER NOTES ---------- */
.notes-section {
  max-width: none;
  background:
    linear-gradient(to bottom, rgba(251,248,241,0.045) 0%, transparent 12%, transparent 100%),
    linear-gradient(175deg, #131c5f 0%, #0a1044 100%);
  color: var(--paper);
  padding: 56px 0;
}
.notes-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 56px;
}
.notes h4 {
  font-family: var(--body);
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 10.5px;
  margin: 0 0 18px;
  color: rgba(236,234,228,0.6);
  font-weight: 600;
}
.notes ol {
  padding-left: 22px;
  margin: 0;
  font-family: var(--display);
  font-style: italic;
  font-size: 13.5px;
  line-height: 1.6;
}
.notes ol li { margin-bottom: 8px; }
.notes ol li::marker {
  font-family: var(--mono);
  font-style: normal;
  color: var(--ochre);
}
.disclosures {
  font-family: var(--body);
  font-size: 12px;
  line-height: 1.55;
  color: rgba(236,234,228,0.7);
}
.disclosures a { border-bottom: 1px solid rgba(236,234,228,0.3); }
.disclosures p { margin: 0 0 14px; }
.colophon-end {
  grid-column: 1 / -1;
  border-top: 1px solid rgba(236,234,228,0.18);
  padding-top: 24px;
  margin-top: 8px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px;
  font-family: var(--body);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 10.5px;
  color: rgba(236,234,228,0.55);
  font-weight: 500;
}
.colophon-end .ehl-mark {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: rgba(236,234,228,0.85);
}
.colophon-end a {
  border-bottom: 1px solid rgba(236,234,228,0.3);
  color: rgba(236,234,228,0.7);
}
.colophon-end a:hover { color: var(--ochre); border-bottom-color: var(--ochre); }

/* ---------- RESPONSIVE ---------- */
@media (max-width: 1080px) {
  /* Process pin collapses to vertical stack on mobile, no sticky, all cards visible */
  .process-pin .pp-spacer { height: auto; }
  .process-pin .pp-stage {
    position: static;
    height: auto;
    grid-template-columns: 1fr;
    gap: 28px;
    padding: 64px var(--gutter) 56px;
  }
  .process-pin .pp-rail { align-self: stretch; max-width: none; }
  .process-pin .pp-stack { height: auto; display: flex; flex-direction: column; gap: 16px; }
  .process-pin .pp-card {
    position: static;
    opacity: 1;
    transform: none;
    pointer-events: auto;
    transition: none;
  }
  .process-pin .pp-ticks { grid-template-columns: repeat(4, 1fr); }
  .process-pin .pp-ticks li { border-top-color: var(--ink); }
  .process-pin .pp-ticks li .pp-tick-stamp,
  .process-pin .pp-ticks li .pp-tick-label { color: var(--ink); }
  .process-pin .pp-progress-fill { width: 100% !important; }

  .numbers-inner { grid-template-columns: repeat(2, 1fr); row-gap: 22px; column-gap: 0; }
  .num-tile { border-right: 0; padding: 6px 0; border-bottom: 1px solid var(--rule); }
  /* Symmetric gutter around the centre divider so neither column hugs the line */
  .num-tile:nth-child(odd) { padding-right: 24px; border-right: 1px solid var(--rule); }
  .num-tile:nth-child(even) { padding-left: 24px; }
  .num-tile:nth-last-child(-n+2) { border-bottom: 0; }
  .pq-frame { grid-template-columns: 64px 1fr; }
  .pq-attr { grid-column: 2 / -1; border-left: 0; border-top: 1px solid var(--rule); padding-left: 0; padding-top: 16px; margin-top: 16px; }
  .pq-mark { font-size: 56px; }
  .start-tiles { grid-template-columns: 1fr; gap: 1px; }
  .inquiry-grid { grid-template-columns: 1fr; }
  .founders { grid-template-columns: 1fr; gap: 36px; }
  .practice-grid { grid-template-columns: repeat(2, 1fr); }
  .cta-strip-inner { grid-template-columns: 1fr; }
}
@media (max-width: 960px) {
  .util-bar { display: none; }
  .frontispiece-inner { grid-template-columns: 1fr; gap: 12px; }
  .folio-nav { justify-content: space-between; gap: 4px 14px; flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
  .folio-nav::-webkit-scrollbar { display: none; }
  .folio-nav a { font-size: 10.5px; letter-spacing: 0.12em; padding: 6px 0 5px; white-space: nowrap; }
  .term-sheet-wrap { grid-template-columns: 1fr; }
  .worksheet { grid-template-columns: 1fr; gap: 28px; }
  .ws-outputs { border-left: 0; border-top: 1px dashed var(--rule); padding-left: 0; padding-top: 24px; }
  .programs-featured { grid-template-columns: 1fr; }
  .programs { grid-template-columns: repeat(2, 1fr); }
  .edges { grid-template-columns: 1fr; }
  .notes-inner { grid-template-columns: 1fr; gap: 36px; }
  .form-grid { grid-template-columns: 1fr; }
  .section-head { grid-template-columns: 1fr; row-gap: 8px; padding-top: 64px; }
  .util-inner { padding: 8px 16px; gap: 14px; flex-wrap: nowrap; }
  .util-left { gap: 12px; flex: 1 1 auto; min-width: 0; }
  .util-left .u-item:nth-child(2),
  .util-left .u-item:nth-child(3) { display: none; }
  .util-right { gap: 12px; flex: 0 0 auto; }
  .u-phone { display: none; }
  .util-cta { padding: 7px 12px 6px; font-size: 10.5px; letter-spacing: 0.14em; }
  .float-cta { right: 14px; bottom: 14px; padding: 11px 18px 10px; font-size: 11px; }
  .practice-grid { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  /* Timeline becomes a vertical stack of phase rows at mobile */
  .timeline-frame { padding: 22px 18px; }
  .timeline { height: auto; padding: 0; }
  .timeline .axis,
  .timeline .tick,
  .timeline .tick-label { display: none; }
  .timeline .bar {
    position: static;
    height: auto;
    width: auto !important;
    left: auto !important;
    top: auto !important;
    margin: 0 0 8px;
    padding: 12px 14px;
    white-space: normal;
    line-height: 1.3;
    letter-spacing: 0.1em;
  }
  .timeline .bar:last-child { margin-bottom: 0; }
}
@media (max-width: 560px) {
  .programs { grid-template-columns: 1fr; }
  .ws-inputs { grid-template-columns: 1fr; }
  .diagram-frame, .timeline-frame, .programs-frame, .worksheet, .inquiry-frame { padding-left: 16px; padding-right: 16px; }
  .term-sheet { padding: 22px 20px; }

  /* Rates table reflows from columnar to stacked rows */
  .rates thead { display: none; }
  .rates tbody tr {
    display: block;
    padding: 18px 0;
    border-bottom: 1px solid var(--rule);
  }
  .rates tbody tr:last-child {
    border-bottom: 1.5px solid var(--ink);
  }
  .rates tbody td {
    display: block;
    border: 0;
    padding: 0;
    width: auto;
  }
  .rates tbody td.col-program {
    font-size: 17px;
    font-weight: 500;
    margin-bottom: 8px;
    width: auto;
  }
  .rates tbody td.col-rate {
    display: inline-block;
    font-size: 22px;
    font-weight: 500;
    margin-right: 18px;
    margin-bottom: 6px;
    width: auto;
  }
  .rates tbody td.col-apr,
  .rates tbody td.col-points {
    display: inline-block;
    font-size: 13px;
    color: var(--faded);
    margin-right: 18px;
    margin-bottom: 6px;
    width: auto;
  }
  .rates tbody td.col-apr::before { content: "APR "; }
  .rates tbody td.col-points::before { content: "Pts "; }
  .rates tbody td.col-notes {
    display: block;
    margin-top: 6px;
    font-size: 14px;
    line-height: 1.5;
    width: auto;
  }

  /* Ledger tightens at mobile */
  .ledger thead th { font-size: 9.5px; }
  .ledger tbody td { padding: 12px 0; }
  .ledger .col-line { font-size: 15px; }
  .ledger .col-charge { font-size: 13px; }
  .ledger .col-note { font-size: 13px; line-height: 1.45; }
}

/* ---------- SCROLL PROGRESS RULE ---------- */
.scroll-rule {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: transparent;
  z-index: 50;
  pointer-events: none;
}
.scroll-rule-fill {
  display: block;
  height: 100%;
  width: 0%;
  background: var(--ink);
  transition: width 80ms linear;
}

/* ---------- FOLIO FLOATER (VAULK-STYLE MARGINAL INDEX, FIXED) ---------- */
.folio-floater {
  display: none;
}
@media (min-width: 1280px) {
  .folio-floater {
    display: flex;
    flex-direction: column;
    gap: 8px;
    position: fixed;
    top: calc(64px + 28px); /* below the sticky header */
    left: max(20px, calc((100vw - var(--container)) / 2 - 96px));
    pointer-events: none;
    z-index: 25; /* below header (30) but above content */
    opacity: 0;
    transform: translateY(6px);
    transition: opacity 320ms ease, transform 320ms ease, color 320ms ease;
    will-change: opacity, transform;
  }
  .folio-floater.is-on { opacity: 1; transform: translateY(0); }
  .folio-floater .ff-num {
    font-family: var(--mono);
    font-size: 11px;
    letter-spacing: 0.14em;
    color: var(--ink);
    font-feature-settings: "tnum";
    transition: opacity 200ms ease;
  }
  .folio-floater .ff-rule {
    width: 1px;
    height: 38px;
    background: var(--ink);
    margin-left: 6px;
    opacity: 0.5;
    transition: background-color 320ms ease;
  }
  .folio-floater .ff-label {
    font-family: var(--body);
    text-transform: uppercase;
    letter-spacing: 0.22em;
    font-size: 9.5px;
    font-weight: 600;
    color: var(--faded);
    writing-mode: vertical-rl;
    transform: rotate(180deg);
    margin-top: 4px;
    transition: opacity 200ms ease;
  }
  /* Swap-out state (content is mid-transition) */
  .folio-floater.is-swapping .ff-num,
  .folio-floater.is-swapping .ff-label { opacity: 0; }

  /* Tone variant for sections with dark background (cta-strip) */
  .folio-floater.on-ink .ff-num { color: var(--paper); }
  .folio-floater.on-ink .ff-rule { background: var(--paper); opacity: 0.45; }
  .folio-floater.on-ink .ff-label { color: rgba(236,234,228,0.6); }
}

/* ---------- REVEAL PRIMITIVES ---------- */
/* Elements are hidden ONLY once html.motion-on is set by JS (confirms GSAP loaded).
   If JS/CDN fails the class is never added and content stays visible. */
html.motion-on [data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  will-change: transform, opacity;
}
/* Hero entrance is gated on the `js` class the HEAD sets synchronously, so the
   headline and its sub-elements are hidden from the FIRST PAINT and never flash
   their final position before animating. The head also schedules a `hero-failsafe`
   class (~1.5s); if the entrance never ran (script or GSAP failed to load) that
   class force-reveals everything so nothing can stay hidden or mid-jump. */
/* Headline paints immediately at full opacity with no JS/font gate and no
   entrance transform, so its first paint is its final paint (fastest LCP). */
html.js [data-hero-entrance] {
  opacity: 0;
  transform: translateY(24px);
  will-change: transform, opacity;
}
html.js.hero-failsafe [data-hero-entrance] {
  opacity: 1;
  transform: none;
}
/* Lock headline alignment from first paint — it can never start centered or shift. */
[data-split-hero] { text-align: left; }
/* Line-mask wrappers created by JS after SplitText */
.hero-split-mask {
  display: block;
  overflow: hidden;
  padding-bottom: 0.12em; /* guard against descender clipping at tight line-heights */
}
.hero-split-inner { display: block; }

/* ---------- PROCESS PIN (TIMELINE) ---------- */
.process-pin {
  max-width: none;
  padding: 0;
  margin: 0;
  border-bottom: 1px solid var(--rule);
  background: var(--paper);
}
.process-pin .pp-spacer {
  height: 360vh;
  position: relative;
}
.process-pin .pp-stage {
  position: sticky;
  top: 0;
  height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1.25fr;
  gap: 48px;
  max-width: var(--container);
  margin: 0 auto;
  padding: 96px var(--gutter) 64px;
  box-sizing: border-box;
}
.process-pin .pp-rail {
  display: flex;
  flex-direction: column;
  align-self: center;
  max-width: 460px;
}
.process-pin .pp-eyebrow {
  font-family: var(--body);
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-size: 11px;
  color: var(--faded);
  font-weight: 600;
  margin-bottom: 18px;
}
.process-pin .pp-title {
  font-family: var(--display);
  font-weight: 500;
  font-size: clamp(30px, 3.6vw, 46px);
  line-height: 1.05;
  letter-spacing: -0.012em;
  margin: 0 0 18px;
}
.process-pin .pp-lede {
  font-family: var(--display);
  font-style: italic;
  font-size: 16px;
  line-height: 1.5;
  color: var(--ink);
  max-width: 44ch;
  margin: 0 0 36px;
}
.process-pin .pp-progress {
  height: 1px;
  background: var(--rule);
  position: relative;
  margin: 18px 0 22px;
}
.process-pin .pp-progress-fill {
  position: absolute;
  left: 0;
  top: -1px;
  height: 3px;
  width: 0%;
  background: var(--ink);
  transition: width 120ms ease;
}
.process-pin .pp-ticks {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}
.process-pin .pp-ticks li {
  display: flex;
  flex-direction: column;
  gap: 4px;
  border-top: 1px solid var(--rule);
  padding-top: 10px;
  transition: border-color 220ms ease;
}
.process-pin .pp-ticks li.is-current { border-top-color: var(--ink); }
.process-pin .pp-tick-stamp {
  font-family: var(--mono);
  font-size: 12.5px;
  color: var(--faded);
  letter-spacing: 0.02em;
  font-feature-settings: "tnum";
  transition: color 220ms ease;
}
.process-pin .pp-ticks li.is-current .pp-tick-stamp { color: var(--ink); }
.process-pin .pp-tick-label {
  font-family: var(--body);
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 10px;
  color: var(--faded);
  font-weight: 600;
}
.process-pin .pp-ticks li.is-current .pp-tick-label { color: var(--ink); }

.process-pin .pp-stack {
  position: relative;
  align-self: center;
  height: 460px;
}
.process-pin .pp-card {
  position: absolute;
  inset: 0;
  background: var(--plate-white);
  border: 1px solid var(--ink);
  padding: 32px 32px 28px;
  display: flex;
  flex-direction: column;
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 380ms ease, transform 380ms ease;
  pointer-events: none;
}
.process-pin .pp-card.is-active {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
.process-pin .pp-card-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  border-bottom: 1px solid var(--rule);
  padding-bottom: 14px;
  margin-bottom: 18px;
}
.process-pin .pp-card-stamp {
  font-family: var(--mono);
  font-size: 22px;
  color: var(--ink);
  font-feature-settings: "tnum";
  letter-spacing: -0.01em;
}
.process-pin .pp-card-tag {
  font-family: var(--body);
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-size: 10px;
  font-weight: 600;
  color: var(--faded);
}
.process-pin .pp-card h3 {
  font-family: var(--display);
  font-weight: 500;
  font-size: clamp(22px, 2.2vw, 28px);
  margin: 0 0 12px;
  letter-spacing: -0.01em;
  line-height: 1.1;
}
.process-pin .pp-card p {
  font-family: var(--display);
  font-style: italic;
  font-size: 16px;
  line-height: 1.5;
  color: var(--ink);
  margin: 0 0 18px;
}
.process-pin .pp-card-list {
  list-style: none;
  margin: auto 0 0;
  padding: 16px 0 0;
  border-top: 1px dashed var(--rule);
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.process-pin .pp-card-list li {
  font-family: var(--body);
  font-size: 13.5px;
  color: var(--ink);
  display: grid;
  grid-template-columns: 18px 1fr;
  gap: 8px;
  align-items: baseline;
}
.process-pin .pp-card-list li::before {
  content: "—";
  font-family: var(--mono);
  color: var(--faded);
  font-size: 12px;
}

/* ---------- A11Y ---------- */
:focus-visible {
  outline: 2px solid var(--ochre);
  outline-offset: 3px;
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

/* ============================================================
   COUNSEL DIRECTION (oakberrycapitalthree)
   Net-new homepage sections layered on top of the base styles.
   ============================================================ */

/* HERO: split layout with photo placeholder on the right */
.counsel-hero {
  min-height: calc(100dvh - 76px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: clamp(32px, 4vw, 52px);
  padding-top: clamp(40px, 5vw, 64px);
  padding-bottom: clamp(40px, 5vw, 64px);
  padding-left: 0;
  padding-right: 0;
  max-width: none;
  border-bottom: 1px solid rgba(201,162,77,0.22);
  position: relative;
  overflow: hidden;
  /* Warm radial glow behind headline + faint navy top echo from the header + slight bottom warmth */
  background:
    radial-gradient(ellipse 88% 55% at 18% 30%, rgba(201,162,77,0.05) 0%, transparent 58%),
    linear-gradient(to bottom, rgba(14,22,82,0.035) 0%, transparent 14%, transparent 84%, rgba(0,0,0,0.01) 100%),
    var(--paper);
}
.hero-watermark {
  position: absolute;
  left: 55%;
  right: auto;
  bottom: -8%;
  width: clamp(520px, 57vw, 800px);
  height: auto;
  opacity: 0.06;
  pointer-events: none;
  z-index: 0;
  user-select: none;
  filter: sepia(1) saturate(3) hue-rotate(2deg) brightness(0.85);
}
.counsel-hero-grid,
.counsel-hero > .counsel-hero-trust {
  position: relative;
  z-index: 1;
}
.counsel-hero-grid {
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  gap: clamp(28px, 4vw, 64px);
  align-items: start;
  width: 100%;
  max-width: var(--container);
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}
.counsel-hero-copy { min-width: 0; }
.counsel-hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--body);
  font-size: 13px;
  font-weight: 500;
  color: var(--faded);
  margin-bottom: 28px;
}
.counsel-hero-eyebrow .che-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 3px var(--gold-soft);
}
.counsel-hero h1.display {
  margin: 0 0 0.32em;
}
.counsel-hero .lede {
  max-width: 50ch;
}
/* Desktop: tighten the hero so headline + quiz fit above the fold on laptops.
   Mobile (<=1080px) keeps its own stacked sizing untouched. */
@media (min-width: 1081px) {
  .counsel-hero {
    /* util-bar (52px) + sticky header (75px) sit above the hero on load,
       so subtract both to land the fold exactly at the hero's bottom. */
    min-height: calc(100dvh - 130px);
    padding-top: clamp(24px, 2.4vw, 36px);
    padding-bottom: clamp(24px, 2.4vw, 36px);
    gap: clamp(20px, 2.4vw, 32px);
  }
  .counsel-hero-grid { grid-template-columns: 1.35fr 1fr; align-items: center; }
  .counsel-hero h1.display {
    font-size: clamp(60px, 5.6vw, 82px);
    line-height: 0.99;
    margin: 0 0 0.26em;
  }
  .counsel-hero .lede {
    font-size: clamp(16px, 1.25vw, 18px);
    line-height: 1.5;
    max-width: 46ch;
    margin-bottom: 1.4rem;
  }
  .counsel-hero .hero-cta-row { margin-top: 0; }
  .counsel-hero-trust.cht-inline { margin-top: 18px; }
  /* Re-anchor the oak watermark to the bottom-right corner so it bleeds off
     the edge instead of riding up into the nav on the tightened hero. */
  .hero-watermark {
    left: auto;
    right: -7%;
    bottom: -7%;
    width: clamp(440px, 44vw, 640px);
  }
}
.counsel-hero-trust {
  margin-top: clamp(24px, 3vw, 40px);
  display: flex;
  flex-wrap: wrap;
  gap: 12px 28px;
  padding-top: 18px;
  border-top: 1px solid var(--rule);
}
.counsel-hero-trust .cht-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--body);
  font-size: 13px;
  color: var(--faded);
  font-weight: 500;
}
.counsel-hero-trust .cht-item strong {
  color: var(--ink);
  font-weight: 600;
}
.counsel-hero-trust .cht-rule {
  width: 1px; height: 14px;
  background: var(--rule);
  display: inline-block;
}

/* Right-side broker portrait placeholder */
.counsel-portrait {
  position: relative;
  aspect-ratio: 5 / 4;
  min-height: 0;
  border: 1px solid var(--rule);
  background:
    repeating-linear-gradient(135deg, rgba(14,14,12,0.02) 0 2px, transparent 2px 10px),
    linear-gradient(160deg, #E2DFD5 0%, #C8C5BC 100%);
  overflow: hidden;
  border-radius: 6px;
}
.counsel-portrait .cp-label {
  position: absolute;
  bottom: 16px;
  left: 16px;
  right: 16px;
  font-family: var(--body);
  font-size: 11.5px;
  letter-spacing: 0.08em;
  color: var(--ink);
  background: rgba(250, 250, 247, 0.92);
  backdrop-filter: blur(6px);
  padding: 10px 14px;
  border-radius: 4px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
}
.counsel-portrait .cp-label strong { font-weight: 600; }
.counsel-portrait .cp-label .cp-tag {
  font-family: var(--mono);
  font-size: 10.5px;
  color: var(--faded);
}

/* Right-side aside: rate plate + trust strip stacked */
.counsel-hero-aside {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.counsel-hero > .counsel-hero-trust {
  margin-top: 0;
  padding-top: 20px;
  border-top: 1px solid var(--rule);
  flex-wrap: nowrap;
  gap: 0 24px;
  justify-content: flex-start;
}
.counsel-hero > .counsel-hero-trust .cht-item {
  font-size: 12.5px;
  white-space: nowrap;
}
/* Inline variant: inside copy column, no divider rule */
.counsel-hero-trust.cht-inline {
  margin-top: 20px;
  padding-top: 0;
  border-top: none;
  flex-wrap: wrap;
  gap: 6px 20px;
}
.counsel-hero-trust.cht-inline .cht-item {
  font-size: 12px;
  white-space: nowrap;
}
.counsel-rate-plate {
  position: relative;
  background: var(--plate-white);
  border: 1px solid var(--rule);
  border-radius: 6px;
  padding: 28px 32px 26px;
  font-family: var(--body);
  color: var(--ink);
  align-self: stretch;
  display: flex;
  flex-direction: column;
}
.counsel-rate-plate .crp-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 16px;
  margin-bottom: 4px;
  border-bottom: 1px solid var(--rule);
}
.counsel-rate-plate .crp-eyebrow {
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: 0.14em;
  color: var(--ink);
  font-weight: 500;
}
.counsel-rate-plate .crp-sep {
  color: var(--gold);
  margin: 0 6px;
  font-weight: 600;
}
.counsel-rate-plate .crp-live {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--faded);
}
.counsel-rate-plate .crp-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 3px rgba(201, 162, 77, 0.18);
  animation: crp-pulse 2.4s ease-in-out infinite;
}
@keyframes crp-pulse {
  0%, 100% { box-shadow: 0 0 0 3px rgba(201, 162, 77, 0.18); }
  50% { box-shadow: 0 0 0 6px rgba(201, 162, 77, 0.06); }
}
.counsel-rate-plate .crp-rates {
  margin: 0;
  display: flex;
  flex-direction: column;
  flex: 1;
  justify-content: space-evenly;
}
.counsel-rate-plate .crp-row {
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: baseline;
  gap: 18px;
  padding: 14px 0;
  border-bottom: 1px dashed var(--rule);
}
.counsel-rate-plate .crp-row:last-child { border-bottom: 0; }
.counsel-rate-plate .crp-row dt {
  font-family: var(--body);
  font-size: 14.5px;
  font-weight: 500;
  color: var(--ink);
  letter-spacing: -0.005em;
}
.counsel-rate-plate .crp-row dd {
  margin: 0;
  font-family: var(--mono);
  font-size: 26px;
  font-weight: 500;
  color: var(--gold);
  font-feature-settings: "tnum", "lnum";
  letter-spacing: -0.02em;
  line-height: 1;
}
.counsel-rate-plate .crp-row dd .crp-pct {
  font-size: 15px;
  color: var(--faded);
  margin-left: 2px;
  font-weight: 400;
}
.counsel-rate-plate .crp-delta {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.04em;
  font-weight: 500;
  min-width: 56px;
  text-align: right;
}
.counsel-rate-plate .crp-delta-down { color: #5b8a6a; }
.counsel-rate-plate .crp-delta-up { color: #b46a4a; }
.counsel-rate-plate .crp-meta {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-top: 16px;
  margin-top: 4px;
  border-top: 1px solid var(--rule);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  color: var(--faded);
}
.counsel-rate-plate .crp-meta-item strong {
  color: var(--ink);
  font-weight: 500;
  margin-right: 4px;
}
.counsel-rate-plate .crp-meta-dot {
  width: 3px; height: 3px;
  background: var(--rule);
  border-radius: 50%;
}
.counsel-rate-plate .crp-note {
  margin: 16px 0 0;
  font-family: var(--body);
  font-size: 12px;
  color: var(--faded);
  line-height: 1.55;
  letter-spacing: 0.005em;
}
.counsel-rate-plate .crp-note a {
  color: var(--ink);
  border-bottom: 1px solid var(--rule);
  font-weight: 500;
  white-space: nowrap;
}
.counsel-rate-plate .crp-note a:hover {
  border-bottom-color: var(--gold);
  color: var(--gold);
}
@media (max-width: 720px) {
  .counsel-rate-plate { padding: 22px 22px 20px; }
  .counsel-rate-plate .crp-row { padding: 10px 0; grid-template-columns: 1fr auto auto; gap: 12px; }
  .counsel-rate-plate .crp-row dd { font-size: 21px; }
  .counsel-rate-plate .crp-delta { font-size: 10.5px; min-width: 48px; }
  .counsel-rate-plate .crp-meta { font-size: 10.5px; gap: 10px; flex-wrap: wrap; }
}

/* INLINE QUALIFIER: multi-step embedded lead form */
.qualifier-section {
  max-width: none;
  padding-top: clamp(64px, 7vw, 112px);
  padding-bottom: clamp(64px, 7vw, 112px);
  padding-left: 0;
  padding-right: 0;
  border-bottom: 1px solid var(--rule);
  /* Faint within-section depth + anticipates the navy cta-strip below */
  background:
    linear-gradient(to bottom, rgba(0,0,0,0.009) 0%, transparent 14%, transparent 82%, rgba(14,22,82,0.02) 100%),
    var(--paper);
}
.qualifier-grid {
  display: grid;
  grid-template-columns: 1fr 1.25fr;
  gap: clamp(28px, 4vw, 80px);
  align-items: start;
  max-width: var(--container);
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}
.qualifier-left .q-eyebrow {
  font-family: var(--body);
  font-size: 13px;
  font-weight: 500;
  color: var(--ochre);
  margin-bottom: 16px;
}
.qualifier-left h2 {
  font-family: var(--display);
  font-weight: 380;
  font-size: clamp(34px, 4.2vw, 56px);
  line-height: 1.02;
  letter-spacing: -0.018em;
  margin: 0 0 20px;
}
.qualifier-left h2 .em-italic {
  font-style: italic;
  color: var(--ochre);
  font-weight: 380;
}
.qualifier-left p {
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.55;
  color: var(--faded);
  max-width: 42ch;
}
.qualifier-left .q-bullets {
  list-style: none;
  margin: 28px 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.qualifier-left .q-bullets li {
  font-family: var(--body);
  font-size: 14.5px;
  color: var(--ink);
  display: grid;
  grid-template-columns: 24px 1fr;
  gap: 10px;
  align-items: baseline;
}
.qualifier-left .q-bullets li::before {
  content: "→";
  color: var(--ochre);
  font-size: 14px;
}

.qualifier-card {
  background: var(--plate-white);
  border: 1px solid var(--rule);
  border-radius: 14px;
  box-shadow: 0 1px 2px rgba(14,14,12,0.03), 0 10px 40px -16px rgba(14,14,12,0.08);
  padding: 28px 28px 24px;
  position: relative;
}
.qualifier-card .qc-progress {
  display: flex;
  gap: 6px;
  margin-bottom: 22px;
}
.qualifier-card .qc-progress span {
  flex: 1;
  height: 3px;
  background: var(--rule);
  border-radius: 999px;
  transition: background 240ms ease;
}
.qualifier-card .qc-progress span.is-done { background: var(--ochre); }
.qualifier-card .qc-step-counter {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--faded);
  letter-spacing: 0.04em;
  margin-bottom: 14px;
  display: flex;
  justify-content: space-between;
}
.qualifier-card .qc-question {
  font-family: var(--display);
  font-weight: 380;
  font-size: clamp(22px, 2.4vw, 30px);
  line-height: 1.1;
  letter-spacing: -0.014em;
  margin: 0 0 22px;
}
.qualifier-card .qc-options {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 20px;
}
.qualifier-card .qc-option {
  border: 1.5px solid var(--rule);
  background: var(--paper);
  padding: 14px 16px;
  border-radius: 10px;
  font-family: var(--body);
  font-size: 14.5px;
  text-align: left;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  gap: 4px;
  transition: border-color 160ms, background 160ms, color 160ms;
}
.qualifier-card .qc-option .qco-title {
  font-weight: 600;
  color: var(--ink);
}
.qualifier-card .qc-option .qco-sub {
  font-size: 12.5px;
  color: var(--faded);
  font-weight: 400;
}
.qualifier-card .qc-option:hover {
  border-color: var(--ink);
}
.qualifier-card .qc-option.is-selected {
  border-color: var(--ochre);
  background: var(--ochre-soft);
}
.qualifier-card .qc-input-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  margin-bottom: 20px;
}
.qualifier-card .qc-field { display: flex; flex-direction: column; gap: 6px; }
.qualifier-card .qc-field label {
  font-family: var(--body);
  font-size: 12px;
  font-weight: 500;
  color: var(--faded);
  letter-spacing: 0;
}
.qualifier-card .qc-field input,
.qualifier-card .qc-field select {
  border: 1.5px solid var(--rule);
  background: var(--paper);
  border-radius: 10px;
  padding: 12px 14px;
  font-family: var(--body);
  font-size: 15px;
  color: var(--ink);
  outline: none;
  transition: border-color 160ms;
}
.qualifier-card .qc-field input:focus,
.qualifier-card .qc-field select:focus {
  border-color: var(--ochre);
}
.qualifier-card .qc-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding-top: 14px;
  border-top: 1px solid var(--rule);
}
.qualifier-card .qc-back,
.qualifier-card .qc-next {
  font-family: var(--body);
  font-size: 14px;
  font-weight: 500;
  padding: 12px 22px;
  border-radius: 999px;
  cursor: pointer;
  transition: background 160ms, color 160ms, border-color 160ms;
  border: 1.5px solid var(--ink);
}
.qualifier-card .qc-back {
  background: transparent;
  color: var(--ink);
  border-color: transparent;
}
.qualifier-card .qc-back:hover { color: var(--ochre); }
.qualifier-card .qc-back:disabled { opacity: 0.3; cursor: default; }
.qualifier-card .qc-next {
  background: var(--ink);
  color: var(--paper);
}
.qualifier-card .qc-next:hover { background: var(--ochre); border-color: var(--ochre); }
.qualifier-card .qc-next:disabled {
  background: var(--rule);
  border-color: var(--rule);
  cursor: default;
  color: var(--faded);
}
.qualifier-card .qc-foot-note {
  font-family: var(--body);
  font-size: 12px;
  color: var(--faded);
  margin-top: 14px;
  text-align: center;
}
.qualifier-card .qc-success {
  display: none;
  padding: 32px 4px 16px;
  text-align: center;
}
.qualifier-card .qc-success.is-on {
  display: block;
  animation: qcFadeIn 380ms ease;
}
@keyframes qcFadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}
.qualifier-card .qcs-icon {
  width: 48px; height: 48px;
  border: 1.5px solid var(--ochre);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--ochre);
  margin: 0 auto 20px;
}
.qualifier-card .qc-success h3 {
  font-family: var(--display);
  font-weight: 380;
  font-style: italic;
  font-size: 28px;
  line-height: 1.1;
  margin: 0 0 12px;
  color: var(--ink);
}
.qualifier-card .qc-success p {
  font-family: var(--body);
  font-size: 15px;
  color: var(--faded);
  margin: 0;
  line-height: 1.5;
}

/* Step transition classes */
.qc-step {
  transition: opacity 210ms ease, transform 210ms ease;
}
.qc-step.qc-pre-enter {
  transition: none !important;
}
.qc-step.qc-exit-left {
  opacity: 0;
  transform: translateX(-14px);
  pointer-events: none;
}
.qc-step.qc-exit-right {
  opacity: 0;
  transform: translateX(14px);
  pointer-events: none;
}
.qc-step.qc-enter-right {
  opacity: 0;
  transform: translateX(14px);
}
.qc-step.qc-enter-left {
  opacity: 0;
  transform: translateX(-14px);
}
/* Self-reported note (step 3 credit) */
.qualifier-card .qc-step-note {
  font-family: var(--body);
  font-size: 12px;
  color: var(--faded);
  font-style: italic;
  margin: -14px 0 16px;
}
/* 5-option steps: last option spans full width if it would be alone */
.qualifier-card .qc-option:last-child:nth-child(odd) {
  grid-column: 1 / -1;
}
/* Loading state on quiz submit */
.qualifier-card .qc-next.is-loading {
  opacity: 0.55;
  cursor: wait;
  pointer-events: none;
}
/* Submit error */
.qualifier-card .qc-submit-error {
  font-family: var(--body);
  font-size: 13px;
  color: #b83232;
  text-align: center;
  margin-top: 12px;
  line-height: 1.5;
}
.qualifier-card .qc-submit-error a {
  color: #b83232;
  border-bottom: 1px solid rgba(184, 50, 50, 0.4);
}

/* Hero context: quiz card tightened to fit right column without forcing hero taller than one viewport */
.counsel-hero-aside {
  align-self: center;
}
.counsel-hero-aside .qualifier-card {
  padding: 22px 24px 20px;
  border-top: 2px solid var(--gold);
  border-radius: 10px;
}
.counsel-hero-aside .qualifier-card .qc-progress {
  margin-bottom: 14px;
}
.counsel-hero-aside .qualifier-card .qc-step-counter {
  margin-bottom: 10px;
}
.counsel-hero-aside .qualifier-card .qc-step-counter span:last-child {
  background: var(--ochre-soft);
  color: #7d5e16; /* deep gold — 5.3:1 on the card for WCAG AA */
  padding: 2px 8px;
  border-radius: 999px;
  font-size: 11px;
}
.counsel-hero-aside .qualifier-card .qc-question {
  font-size: clamp(17px, 1.8vw, 22px);
  margin-bottom: 14px;
}
.counsel-hero-aside .qualifier-card .qc-options {
  margin-bottom: 14px;
  gap: 8px;
}
.counsel-hero-aside .qualifier-card .qc-option {
  padding: 10px 12px;
  border-color: var(--paper-light);
  background: var(--paper);
}
.counsel-hero-aside .qualifier-card .qc-option:hover {
  border-color: var(--gold);
  background: var(--paper);
}
.counsel-hero-aside .qualifier-card .qc-option.is-selected {
  border-color: var(--ochre);
  background: var(--ochre-soft);
}
.counsel-hero-aside .qualifier-card .qc-actions {
  padding-top: 10px;
}
.counsel-hero-aside .qualifier-card .qc-foot-note {
  margin-top: 10px;
}

.qc-stage { position: relative; }

/* ---------- HERO HOOK (compact quiz entry — funnels into #quiz) ---------- */
.hero-hook {
  background: var(--plate-white);
  border: 1px solid var(--rule);
  border-top: 2px solid var(--gold);
  border-radius: 10px;
  padding: 22px 22px 18px;
  box-shadow: 0 1px 2px rgba(14,14,12,0.03), 0 12px 44px -18px rgba(14,14,12,0.10);
}
.hero-hook .hh-eyebrow {
  display: inline-block;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ochre);
  margin-bottom: 10px;
}
.hero-hook .hh-question {
  font-family: var(--display);
  font-weight: 380;
  font-size: clamp(20px, 2vw, 26px);
  line-height: 1.08;
  letter-spacing: -0.014em;
  margin: 0 0 16px;
  color: var(--ink);
}
.hero-hook .hh-options { display: flex; flex-direction: column; gap: 8px; }
.hero-hook .hh-option {
  position: relative;
  text-align: left;
  background: var(--paper);
  border: 1.5px solid var(--rule);
  border-radius: 9px;
  padding: 10px 34px 10px 14px;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  gap: 2px;
  transition: border-color 160ms, background 160ms;
}
.hero-hook .hh-option .hho-title { font-family: var(--body); font-weight: 600; font-size: 14.5px; color: var(--ink); }
.hero-hook .hh-option .hho-sub { font-family: var(--body); font-size: 12px; color: var(--faded); }
.hero-hook .hh-option::after {
  content: "→";
  position: absolute;
  right: 14px; top: 50%;
  transform: translateY(-50%) translateX(-4px);
  color: var(--gold);
  font-family: var(--body);
  font-size: 15px;
  opacity: 0;
  transition: opacity 160ms, transform 160ms;
}
.hero-hook .hh-option:hover { border-color: var(--gold); background: var(--plate-white); }
.hero-hook .hh-option:hover::after,
.hero-hook .hh-option.is-active::after { opacity: 1; transform: translateY(-50%) translateX(0); }
.hero-hook .hh-option.is-active { border-color: var(--ochre); background: var(--ochre-soft); }
.hero-hook .hh-note {
  font-family: var(--body);
  font-size: 11.5px;
  color: var(--faded);
  margin: 14px 0 0;
  letter-spacing: 0.01em;
}

/* ---------- QUIZ SECTION (full multi-step, below the hero) ---------- */
.quiz-section {
  padding-top: clamp(56px, 8vw, 104px);
  padding-bottom: clamp(56px, 8vw, 104px);
}
.quiz-head { text-align: center; max-width: 640px; margin: 0 auto clamp(28px, 4vw, 44px); }
.quiz-head .qs-eyebrow {
  display: inline-block;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ochre);
  margin-bottom: 14px;
}
.quiz-head h2 {
  font-family: var(--display);
  font-weight: 380;
  font-size: clamp(30px, 4.6vw, 52px);
  line-height: 1.04;
  letter-spacing: -0.02em;
  margin: 0 0 14px;
  color: var(--ink);
}
.quiz-head .qs-sub { font-family: var(--body); font-size: 16px; color: var(--faded); margin: 0; }
.quiz-frame { max-width: 560px; margin: 0 auto; }
.quiz-frame .qualifier-card { border-top: 2px solid var(--gold); }
/* Stable card height so the frame and action row never shift between steps. */
@media (min-width: 700px) {
  .quiz-frame .qc-stage { min-height: 280px; }
}

/* Hero quiz: the single lead funnel now lives in the hero right column. */
.counsel-hero-aside .qualifier-card { border-top: 2px solid var(--gold); width: 100%; }
@media (min-width: 961px) {
  /* Floor fits steps 1-4 (the picker screens, ~195px). Step 5's contact inputs
     grow taller naturally — fine, they reach that step after engaging. */
  .counsel-hero-aside .qc-stage { min-height: 205px; }
}

/* Card eyebrow row (hero quiz) */
.qualifier-card .qc-eyebrow-row {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--body);
  font-size: 11.5px;
  font-weight: 500;
  color: var(--faded);
  margin-bottom: 16px;
  letter-spacing: 0.02em;
}
.qualifier-card .qcey-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 3px var(--gold-soft);
  flex-shrink: 0;
  animation: crp-pulse 2.4s ease-in-out infinite;
}

/* Submit button (step 5 "Get my numbers") — strongest solid treatment, the
   button that closes the lead. Matches the active Continue fill, heaviest weight. */
.qualifier-card .qc-next.is-submit {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--paper);
  font-weight: 600;
}
.qualifier-card .qc-next.is-submit:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--ink);
}
.qualifier-card .qc-next.is-submit:disabled {
  background: var(--rule);
  border-color: var(--rule);
  color: var(--faded);
  font-weight: 500;
}

/* CONTRARIAN EDUCATION: pull-quote pattern */
.contrarian-section {
  padding-top: clamp(80px, 9vw, 144px);
  padding-bottom: clamp(80px, 9vw, 144px);
  border-bottom: 1px solid var(--rule);
  background:
    linear-gradient(to bottom, rgba(0,0,0,0.014) 0%, transparent 18%, transparent 80%, rgba(0,0,0,0.014) 100%),
    var(--paper-light);
  max-width: none;
  padding-left: 0;
  padding-right: 0;
}
.contrarian-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
  text-align: center;
}
.contrarian-section h2 {
  font-family: var(--display);
  font-weight: 380;
  font-size: clamp(40px, 6.4vw, 96px);
  line-height: 1;
  letter-spacing: -0.024em;
  margin: 0 0 28px;
  max-width: 18ch;
  margin-inline: auto;
}
.contrarian-section h2 .em-italic {
  font-style: italic;
  color: var(--ochre);
  font-weight: 380;
}
.contrarian-section .contrarian-sub {
  font-family: var(--body);
  font-size: clamp(17px, 1.7vw, 22px);
  line-height: 1.45;
  color: var(--faded);
  max-width: 56ch;
  margin: 0 auto 26px;
}
.contrarian-section .contrarian-cta {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: var(--body);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.01em;
  color: var(--ink);
  text-decoration: none;
  border-bottom: 1px solid rgba(201, 162, 77, 0.45);
  padding-bottom: 3px;
  transition: color 0.2s ease, border-color 0.2s ease;
}
.contrarian-section .contrarian-cta span {
  color: var(--ochre);
  transition: transform 0.2s ease;
}
.contrarian-section .contrarian-cta:hover {
  color: var(--ochre);
  border-color: var(--ochre);
}
.contrarian-section .contrarian-cta:hover span {
  transform: translateX(3px);
}

/* SIDE-BY-SIDE COMPARISON: three options on the same loan */
.compare-section {
  padding-top: clamp(64px, 7vw, 112px);
  padding-bottom: clamp(64px, 7vw, 112px);
  border-bottom: 1px solid var(--rule);
}
.compare-head {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  align-items: end;
  margin-bottom: 36px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--rule);
}
.compare-head h2 {
  font-family: var(--display);
  font-weight: 380;
  font-size: clamp(30px, 3.8vw, 52px);
  line-height: 1.02;
  letter-spacing: -0.018em;
  margin: 0;
}
.compare-head .com-meta {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--faded);
  letter-spacing: 0.04em;
}
.compare-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.compare-card {
  background: var(--plate-white);
  border: 1px solid var(--rule);
  border-radius: 12px;
  padding: 24px 22px 22px;
  display: flex;
  flex-direction: column;
}
.compare-card.is-featured {
  border-color: var(--ochre);
  box-shadow: 0 0 0 3px var(--ochre-soft);
}
.compare-card .ccd-tag {
  font-family: var(--body);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--faded);
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 14px;
}
.compare-card.is-featured .ccd-tag .ccd-pill {
  background: var(--ochre);
  color: var(--plate-white);
  padding: 3px 8px 2px;
  border-radius: 999px;
  font-size: 10.5px;
  letter-spacing: 0.04em;
}
.compare-card h3 {
  font-family: var(--display);
  font-weight: 380;
  font-size: 26px;
  letter-spacing: -0.01em;
  margin: 0 0 4px;
}
.compare-card .ccd-rate {
  font-family: var(--mono);
  font-size: clamp(34px, 3.8vw, 44px);
  color: var(--ink);
  font-weight: 400;
  letter-spacing: -0.01em;
  margin: 18px 0 4px;
  display: flex;
  align-items: baseline;
  gap: 6px;
}
.compare-card.is-featured .ccd-rate { color: var(--ochre); }
.compare-card .ccd-rate-unit {
  font-family: var(--body);
  font-size: 13px;
  color: var(--faded);
  font-weight: 500;
}
.compare-card .ccd-apr {
  font-family: var(--body);
  font-size: 13px;
  color: var(--faded);
  margin-bottom: 20px;
}
.compare-card .ccd-apr strong {
  color: var(--ink);
  font-weight: 600;
  font-family: var(--mono);
}
.compare-card dl {
  margin: 0;
  display: grid;
  grid-template-columns: 1fr auto;
  row-gap: 10px;
  column-gap: 14px;
  padding: 16px 0;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  margin-bottom: 18px;
}
.compare-card dt {
  font-family: var(--body);
  font-size: 13px;
  color: var(--faded);
}
.compare-card dd {
  margin: 0;
  font-family: var(--mono);
  font-size: 13.5px;
  color: var(--ink);
  text-align: right;
}
.compare-card .ccd-takeaway {
  font-family: var(--body);
  font-style: normal;
  font-size: 13.5px;
  line-height: 1.5;
  color: var(--ink);
  margin: 0 0 18px;
}
.compare-card .ccd-takeaway em {
  font-style: italic;
  color: var(--ochre);
  font-weight: 500;
}
.compare-card .ccd-foot {
  margin-top: auto;
  font-family: var(--body);
  font-size: 12px;
  color: var(--faded);
  padding-top: 10px;
  border-top: 1px dashed var(--rule);
}
.compare-disclaimer {
  font-family: var(--body);
  font-size: 12.5px;
  color: var(--faded);
  margin: 24px 0 0;
  max-width: 72ch;
  line-height: 1.55;
}

/* MOBILE OVERRIDES for Counsel sections */
@media (max-width: 1080px) {
  .counsel-hero { min-height: 0; display: block; padding-top: clamp(36px, 6vw, 60px); padding-bottom: clamp(40px, 7vw, 64px); gap: 28px; }
  .counsel-hero > .counsel-hero-trust { flex-wrap: wrap; padding-top: 16px; margin-top: 8px; }
  /* Mobile hero: lead with the value prop, THEN the quiz — headline, lede,
     trust, quiz, secondary CTA. display:contents flattens the copy block so its
     children interleave with the quiz aside in one flex column. Desktop (>1080px)
     keeps the two-column grid. */
  .counsel-hero-grid { display: flex; flex-direction: column; gap: 0; width: auto; }
  .counsel-hero-copy { display: contents; }
  .counsel-hero-copy > .display { order: 1; }
  .counsel-hero-copy > .lede { order: 2; margin-top: 18px; }
  .counsel-hero-copy > .counsel-hero-trust { order: 3; margin-top: 16px; }
  /* Keep NMLS + "no hard credit pull" on ONE line on mobile */
  .counsel-hero-trust.cht-inline { flex-wrap: nowrap; gap: 0 10px; align-items: center; }
  .counsel-hero-trust.cht-inline .cht-item { font-size: 11px; white-space: nowrap; }
  .counsel-hero-trust.cht-inline .cht-rule { display: inline-block; flex: 0 0 auto; }
  .counsel-hero-aside { order: 4; align-self: stretch; margin-top: 24px; }
  .counsel-hero-copy > .hero-cta-row { order: 5; margin-top: 18px; }
  .counsel-hero-copy > #float-cta-sentinel { order: 6; }
  .counsel-portrait { aspect-ratio: 5 / 4; min-height: 0; width: 100%; max-width: 100%; }
  .qualifier-grid { grid-template-columns: 1fr; gap: 28px; }
  .compare-head { grid-template-columns: 1fr; align-items: start; gap: 8px; }
  .compare-grid { grid-template-columns: 1fr; gap: 12px; }
}
@media (max-width: 560px) {
  .qualifier-card .qc-options { grid-template-columns: 1fr; }
}

/* ============================================================
   COUNSEL: distinct identity layer (header, process flow, FAQ, footer)
   Designed to feel different from Field Manual's editorial chrome.
   ============================================================ */

/* HEADER: contemporary, no util-bar, phone visible */
.counsel-header {
  background: var(--paper);
  border-bottom: 1px solid var(--rule);
  position: sticky;
  top: 0;
  z-index: 30;
  backdrop-filter: saturate(140%);
}
.counsel-header-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 18px var(--gutter);
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 28px;
  align-items: center;
}
.counsel-mark {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  text-decoration: none;
  line-height: 0;
}
.counsel-mark .cm-mark {
  width: 38px;
  height: 38px;
  object-fit: contain;
  display: block;
  flex-shrink: 0;
}
.counsel-mark .cm-wordmark {
  height: 30px;
  width: auto;
  object-fit: contain;
  display: block;
}
@media (max-width: 720px) {
  .counsel-mark { gap: 8px; }
  .counsel-mark .cm-mark { width: 32px; height: 32px; }
  .counsel-mark .cm-wordmark { height: 26px; }
}
@media (max-width: 340px) {
  .counsel-mark .cm-wordmark { display: none; }
}
.imprint-home {
  align-items: center;
}
.imprint-home .imprint-mark {
  width: 46px;
  height: 46px;
  object-fit: contain;
  display: block;
  flex-shrink: 0;
}
.imprint-home .imprint-wordmark {
  height: 36px;
  width: auto;
  object-fit: contain;
  display: block;
}
@media (max-width: 720px) {
  .imprint-home .imprint-mark { width: 38px; height: 38px; }
  .imprint-home .imprint-wordmark { height: 30px; }
}
.counsel-nav {
  display: flex;
  justify-content: center;
  gap: 28px;
}
.counsel-nav a {
  font-family: var(--body);
  font-size: 14.5px;
  font-weight: 500;
  color: var(--ink);
  position: relative;
  padding: 6px 0;
}
.counsel-nav a:hover { color: var(--gold); }
.counsel-nav a[aria-current="page"]::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 1.5px;
  background: var(--gold);
}
.counsel-header-right {
  display: inline-flex;
  align-items: center;
  gap: 16px;
}
.counsel-phone {
  font-family: var(--body);
  font-size: 15px;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: -0.01em;
}
.counsel-phone:hover { color: var(--gold); }
.counsel-header-cta {
  padding: 10px 18px;
  font-size: 13.5px;
}

/* Hamburger toggle — mobile only */
.counsel-menu-toggle {
  display: none;
  width: 40px;
  height: 40px;
  background: transparent;
  border: 1px solid var(--rule);
  border-radius: 6px;
  cursor: pointer;
  padding: 0;
  position: relative;
  flex-shrink: 0;
  transition: border-color 0.15s ease;
}
.counsel-menu-toggle:hover { border-color: var(--ink); }
.counsel-menu-toggle .cmt-line {
  position: absolute;
  left: 50%;
  width: 18px;
  height: 1.5px;
  background: var(--ink);
  transform: translateX(-50%);
  transition: transform 0.22s ease, top 0.22s ease, opacity 0.18s ease;
}
.counsel-menu-toggle .cmt-line:nth-child(1) { top: 14px; }
.counsel-menu-toggle .cmt-line:nth-child(2) { top: 22px; }
.counsel-menu-toggle[aria-expanded="true"] .cmt-line:nth-child(1) {
  top: 19px;
  transform: translateX(-50%) rotate(45deg);
}
.counsel-menu-toggle[aria-expanded="true"] .cmt-line:nth-child(2) {
  top: 19px;
  transform: translateX(-50%) rotate(-45deg);
}

/* Mobile drawer */
.counsel-mobile-drawer {
  display: none;
  flex-direction: column;
  gap: 8px;
  padding: 18px 16px 22px;
  border-top: 1px solid var(--rule);
  background: var(--paper);
}
.counsel-mobile-drawer[data-open="true"] { display: flex; }
.counsel-mobile-drawer .cmd-nav {
  display: flex;
  flex-direction: column;
  border-bottom: 1px solid var(--rule);
  padding-bottom: 14px;
  margin-bottom: 14px;
}
.counsel-mobile-drawer .cmd-nav a {
  font-family: var(--display);
  font-size: 22px;
  font-weight: 400;
  color: var(--ink);
  padding: 10px 0;
  letter-spacing: -0.01em;
  font-variation-settings: "opsz" 36;
}
.counsel-mobile-drawer .cmd-nav a:hover { color: var(--gold); }
.counsel-mobile-drawer .cmd-foot {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.counsel-mobile-drawer .cmd-phone {
  font-family: var(--body);
  font-size: 15px;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: -0.01em;
  padding: 8px 0;
}
.counsel-mobile-drawer .cta {
  align-self: stretch;
  text-align: center;
  justify-content: center;
}

/* PROCESS: simple 4-step flow (no pin, no scrubbing) */
.counsel-process {
  padding-top: clamp(72px, 8vw, 120px);
  padding-bottom: clamp(72px, 8vw, 120px);
  background:
    linear-gradient(to bottom, rgba(0,0,0,0.008) 0%, transparent 14%, transparent 86%, rgba(0,0,0,0.008) 100%),
    var(--plate-white);
  max-width: none;
  padding-left: 0;
  padding-right: 0;
  position: relative;
}
.counsel-process .cp-head,
.counsel-process .cp-flow {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
}
.counsel-process .cp-head {
  text-align: center;
  margin-bottom: clamp(40px, 5vw, 72px);
}
.counsel-process .cp-eyebrow {
  display: block;
  font-family: var(--body);
  font-size: 13px;
  font-weight: 500;
  color: var(--gold);
  margin-bottom: 14px;
}
.counsel-process h2 {
  font-family: var(--display);
  font-weight: 380;
  font-size: clamp(34px, 5.2vw, 72px);
  line-height: 1;
  letter-spacing: -0.022em;
  margin: 0;
  max-width: 20ch;
  margin-inline: auto;
}
.counsel-process h2 .em-italic {
  font-style: italic;
  color: var(--gold);
  font-weight: 380;
}
.counsel-process .cp-flow {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1px solid var(--rule);
}
.counsel-process .cp-step {
  padding: 36px 28px 32px;
  position: relative;
  border-right: 1px solid var(--rule);
}
.counsel-process .cp-step:last-child { border-right: 0; }
.counsel-process .cp-step::before {
  content: "";
  position: absolute;
  top: -5px; left: 0;
  width: 28%;
  height: 2px;
  background: var(--gold);
}
.counsel-process .cp-step-day {
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: 0.06em;
  color: var(--faded);
  margin-bottom: 18px;
}
.counsel-process .cp-step h3 {
  font-family: var(--display);
  font-weight: 380;
  font-size: clamp(22px, 2.2vw, 28px);
  line-height: 1.1;
  letter-spacing: -0.014em;
  margin: 0 0 12px;
}
.counsel-process .cp-step p {
  font-family: var(--body);
  font-size: 14.5px;
  line-height: 1.55;
  color: var(--faded);
  margin: 0;
}

/* FAQ: details/summary accordion */
.counsel-faq {
  max-width: none;
  padding-top: clamp(72px, 8vw, 120px);
  padding-bottom: clamp(72px, 8vw, 120px);
  padding-left: 0;
  padding-right: 0;
  /* Faint navy echo from the cta-strip above */
  background:
    linear-gradient(to bottom, rgba(14,22,82,0.028) 0%, transparent 14%, transparent 100%),
    var(--paper);
}
.counsel-faq .cfaq-head {
  text-align: center;
  margin-bottom: clamp(36px, 4vw, 56px);
  max-width: var(--container);
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}
.counsel-faq .cfaq-eyebrow {
  display: block;
  font-family: var(--body);
  font-size: 13px;
  font-weight: 500;
  color: var(--gold);
  margin-bottom: 12px;
}
.counsel-faq h2 {
  font-family: var(--display);
  font-weight: 380;
  font-size: clamp(34px, 5vw, 64px);
  line-height: 1;
  letter-spacing: -0.022em;
  margin: 0;
}
.counsel-faq .cfaq-list {
  max-width: 800px;
  margin: 0 auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
  border-top: 1px solid var(--rule);
}
.counsel-faq .cfaq-item {
  border-bottom: 1px solid var(--rule);
}
.counsel-faq .cfaq-item summary {
  font-family: var(--display);
  font-weight: 380;
  font-size: clamp(20px, 2.2vw, 26px);
  line-height: 1.3;
  letter-spacing: -0.01em;
  padding: 26px 0;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  list-style: none;
  transition: color 180ms;
}
.counsel-faq .cfaq-item summary::-webkit-details-marker { display: none; }
.counsel-faq .cfaq-item summary::after {
  content: "+";
  font-family: var(--body);
  font-size: 26px;
  font-weight: 300;
  color: var(--ochre);
  transition: transform 220ms ease;
  flex-shrink: 0;
}
.counsel-faq .cfaq-item[open] summary::after { transform: rotate(45deg); }
.counsel-faq .cfaq-item summary:hover { color: var(--ochre); }
.counsel-faq .cfaq-item p {
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--faded);
  margin: 0 0 24px;
  max-width: 64ch;
}

/* FOOTER: simple, contemporary, single column flow */
.counsel-footer {
  background:
    linear-gradient(to bottom, rgba(14,22,82,0.022) 0%, transparent 12%, transparent 100%),
    var(--paper-light);
  border-top: 1px solid var(--rule);
  padding: 56px var(--gutter) 32px;
}
.counsel-footer .cf-inner {
  max-width: var(--container);
  margin: 0 auto;
}
.counsel-footer .cf-top {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  align-items: end;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--rule);
}
.counsel-footer .cf-name {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(24px, 2.4vw, 32px);
  letter-spacing: -0.014em;
  display: block;
  color: var(--ink);
}
.counsel-footer .cf-tag {
  font-family: var(--body);
  font-size: 13.5px;
  color: var(--faded);
  display: block;
  margin-top: 4px;
}
.counsel-footer .cf-contact {
  display: flex;
  flex-direction: column;
  align-items: end;
  gap: 4px;
  text-align: right;
}
.counsel-footer .cf-phone {
  font-family: var(--body);
  font-size: 18px;
  font-weight: 600;
  color: var(--ink);
}
.counsel-footer .cf-email {
  font-family: var(--body);
  font-size: 14px;
  color: var(--faded);
}
.counsel-footer .cf-phone:hover,
.counsel-footer .cf-email:hover { color: var(--ochre); }
.counsel-footer .cf-mid {
  padding: 28px 0;
}
.counsel-footer .cf-mid p {
  font-family: var(--body);
  font-size: 12.5px;
  line-height: 1.55;
  color: var(--faded);
  margin: 0;
  max-width: 80ch;
}
.counsel-footer .cf-bottom {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 28px;
  padding-top: 22px;
  border-top: 1px solid var(--rule);
  font-family: var(--body);
  font-size: 12px;
  color: var(--faded);
  letter-spacing: 0.01em;
}
.counsel-footer .cf-bottom a {
  color: var(--faded);
  border-bottom: 1px solid var(--rule);
}
.counsel-footer .cf-bottom a:hover { color: var(--ochre); border-bottom-color: var(--ochre); }

/* MOBILE: collapse header nav, stack process steps, simpler footer */
@media (max-width: 1080px) {
  .counsel-header-inner { grid-template-columns: minmax(0, 1fr) auto; gap: 10px; padding: 12px 16px; }
  .counsel-nav { display: none; }
  .counsel-header-right { gap: 10px; min-width: 0; }
  .counsel-phone { display: none; }
  .counsel-mark { min-width: 0; flex-shrink: 1; }
  .counsel-mark .cm-wordmark { min-width: 0; max-width: 100%; }
  .counsel-menu-toggle { display: block; }

  .counsel-process .cp-flow { grid-template-columns: 1fr; gap: 0; }
  .counsel-process .cp-step { border-right: 0; border-bottom: 1px solid var(--rule); padding: 28px 0; }
  .counsel-process .cp-step:last-child { border-bottom: 0; }
  .counsel-process .cp-step::before { display: none; }

  .counsel-footer .cf-top { grid-template-columns: 1fr; align-items: start; }
  .counsel-footer .cf-contact { align-items: start; text-align: left; }
}

/* ---------- PROCESS PIN RESPONSIVE (must come AFTER base styles) ---------- */
@media (max-width: 1080px) {
  .process-pin .pp-spacer { height: auto; }
  .process-pin .pp-stage {
    position: static;
    height: auto;
    grid-template-columns: 1fr;
    gap: 28px;
    padding: 64px var(--gutter) 56px;
  }
  .process-pin .pp-rail { align-self: stretch; max-width: none; }
  .process-pin .pp-stack { position: static; height: auto; display: flex; flex-direction: column; gap: 16px; }
  .process-pin .pp-card {
    position: static;
    inset: auto;
    opacity: 1;
    transform: none;
    pointer-events: auto;
    transition: none;
  }
  .process-pin .pp-ticks li { border-top-color: var(--ink); }
  .process-pin .pp-tick-stamp,
  .process-pin .pp-tick-label { color: var(--ink); }
  .process-pin .pp-progress-fill { width: 100%; }
}
@media (max-width: 640px) {
  .process-pin .pp-ticks { grid-template-columns: repeat(2, 1fr); gap: 12px 14px; }
  .process-pin .pp-tick-label { letter-spacing: 0.12em; }
}

/* ===================================================================
   ADDED 2026-06: stats strip subhead, why-a-broker proof band,
   service-area band, per-program CTA, about-page stat aside.
   Reuses existing tokens + the prebuilt .numbers-strip / .num-tile.
   =================================================================== */

/* Section eyebrow above the numbers strip (optional small lead) */
.numbers-lead { max-width: var(--container); margin: 0 auto; padding: 40px var(--gutter) 0; }
.numbers-lead .kicker { color: var(--ochre); }

/* ---- Why-a-broker proof band ---- */
.why-band { border-top: 1px solid var(--ink); border-bottom: 1px solid var(--ink); background: var(--paper-light); }
.why-inner { max-width: var(--container); margin: 0 auto; padding: 72px var(--gutter); display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 56px; align-items: center; }
.why-stat .ws-fig { font-family: var(--display); font-weight: 500; font-size: clamp(52px, 7vw, 92px); line-height: 0.92; color: var(--ink); letter-spacing: -0.022em; }
.why-stat .ws-fig .ws-cur { color: var(--ochre); }
.why-stat .ws-body { font-family: var(--display); font-size: clamp(20px, 2.1vw, 27px); line-height: 1.32; color: var(--ink); margin-top: 20px; max-width: 24ch; }
.why-stat .ws-src { font-family: var(--mono); font-size: 11.5px; letter-spacing: 0.05em; color: var(--faded); margin-top: 16px; display: block; }
.why-aside { border-left: 1px solid var(--rule); padding-left: 44px; }
.why-aside h3 { font-family: var(--display); font-weight: 500; font-size: 23px; color: var(--ink); margin: 0 0 12px; letter-spacing: -0.01em; }
.why-aside p { font-size: 15px; line-height: 1.62; color: var(--ink); margin: 0 0 20px; }
.why-aside .why-link { display: inline-flex; align-items: center; gap: 8px; font-family: var(--body); text-transform: uppercase; letter-spacing: 0.14em; font-size: 11px; font-weight: 600; color: var(--ink); border-bottom: 1px solid var(--ink); padding-bottom: 2px; }
.why-aside .why-link:hover { color: var(--ochre); border-bottom-color: var(--ochre); }

/* ---- Service-area band ---- */
.svc-band { border-bottom: 1px solid var(--rule); }
.svc-inner { max-width: var(--container); margin: 0 auto; padding: 64px var(--gutter); }
.svc-head { margin-bottom: 24px; }
.svc-head .kicker { color: var(--ochre); }
.svc-head h2 { font-family: var(--display); font-weight: 430; font-size: clamp(26px, 3vw, 40px); color: var(--ink); letter-spacing: -0.018em; margin: 10px 0 0; max-width: 22ch; }
.svc-towns { display: flex; flex-wrap: wrap; gap: 10px; }
.svc-town { font-family: var(--body); font-size: 13.5px; color: var(--ink); border: 1px solid var(--rule); border-radius: 999px; padding: 8px 16px 7px; background: var(--paper-light); }
.svc-note { font-family: var(--display); font-style: italic; color: var(--faded); font-size: 14px; margin-top: 20px; }

/* ---- Per-program CTA link ---- */
.program .p-cta { display: inline-flex; align-items: center; gap: 7px; margin-top: 18px; font-family: var(--body); text-transform: uppercase; letter-spacing: 0.12em; font-size: 10.5px; font-weight: 600; color: var(--ink); border-bottom: 1px solid var(--ink); padding-bottom: 2px; width: fit-content; }
.program .p-cta:hover { color: var(--ochre); border-bottom-color: var(--ochre); }

/* ---- About page: stat aside that fills the bio's empty column ---- */
.about-bio-grid { display: grid; grid-template-columns: 1fr 320px; gap: 56px; align-items: start; padding-top: clamp(40px, 6vw, 60px); padding-bottom: 88px; border-bottom: 1px solid var(--rule); }
.about-bio-grid .founder-bio p { max-width: 60ch; }
.about-aside { border: 1px solid var(--ink); }
.about-aside .as-stat { padding: 18px 22px; border-bottom: 1px solid var(--rule); }
.about-aside .as-fig { font-family: var(--display); font-weight: 500; font-size: 40px; line-height: 1; color: var(--ink); letter-spacing: -0.02em; display: flex; align-items: baseline; gap: 6px; }
.about-aside .as-fig small { font-family: var(--mono); font-size: 13px; color: var(--faded); font-weight: 400; }
.about-aside .as-lab { font-family: var(--body); font-size: 12px; line-height: 1.5; color: var(--faded); letter-spacing: 0.02em; margin-top: 8px; }
.about-aside .as-note { padding: 20px 22px; background: var(--ink); }
.about-aside .as-note p { font-family: var(--display); font-size: 14.5px; line-height: 1.5; margin: 0; color: #FBF8F1; }
.about-aside .as-note .as-src { font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.05em; color: rgba(251,248,241,0.5); margin-top: 12px; display: block; }

@media (max-width: 1080px) {
  .why-inner { grid-template-columns: 1fr; gap: 30px; padding: 56px var(--gutter); }
  .why-aside { border-left: 0; padding-left: 0; border-top: 1px solid var(--rule); padding-top: 28px; }
  .about-bio-grid { grid-template-columns: 1fr; gap: 36px; }
  .about-aside { max-width: 420px; }
}

/* ---- TCPA consent text (contact form + hero quiz) ---- */
.form-consent { font-family: var(--body); font-size: 11.5px; line-height: 1.55; color: var(--faded); margin: 0 0 14px; max-width: 64ch; }
.qc-consent { font-family: var(--body); font-size: 11px; line-height: 1.5; color: var(--faded); margin: 14px 0 0; }
.form-consent a, .qc-consent a { color: var(--ink); text-decoration: underline; text-underline-offset: 2px; }
.form-consent a:hover, .qc-consent a:hover { color: var(--ochre); }

/* ---- Legal / Privacy prose ---- */
.legal-section { max-width: 820px; margin: 0 auto; padding: 8px var(--gutter) 96px; }
.legal-updated { font-family: var(--mono); font-size: 12px; letter-spacing: 0.05em; color: var(--faded); margin-bottom: 40px; }
.legal-section h2 { font-family: var(--display); font-weight: 500; font-size: clamp(20px, 2.2vw, 26px); color: var(--ink); letter-spacing: -0.012em; margin: 42px 0 12px; }
.legal-section h2:first-of-type { margin-top: 0; }
.legal-section p, .legal-section li { font-size: 15px; line-height: 1.66; color: var(--ink); margin: 0 0 12px; }
.legal-section ul { margin: 0 0 14px; padding-left: 20px; }
.legal-section a { color: var(--ink); text-decoration: underline; text-underline-offset: 2px; }
.legal-section a:hover { color: var(--ochre); }

/* ---- Footer privacy link (homepage counsel-footer) ---- */
.cf-bottom a { color: inherit; }
.cf-bottom a:hover { color: var(--ochre); }

/* ---- Header actions: Call + hamburger drawer (mobile only) ---- */
.fp-actions { display: none; }
.fp-call {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--body); font-weight: 600; font-size: 12px;
  letter-spacing: 0.04em; color: var(--ink);
  border: 1px solid var(--ink); border-radius: 999px; padding: 8px 14px;
  background: var(--paper); white-space: nowrap;
}
.fp-call svg { flex: none; }
.fp-call:hover { color: var(--ochre); border-color: var(--ochre); }
/* Drawer CTA: solid so it reads as the primary action in the menu */
.counsel-mobile-drawer .cmd-foot .cta { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.counsel-mobile-drawer .cmd-foot .cta:hover { background: var(--gold); border-color: var(--gold); color: var(--ink); }

@media (max-width: 960px) {
  /* Header becomes: logo (left) · Call + hamburger (right). Tabs move to drawer. */
  .frontispiece-inner { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
  .folio-nav { display: none; }
  .fp-actions { display: flex; align-items: center; gap: 8px; }
}

/* ---- DSCR calculator (Rates page) ---- */
#dscr-calc .ws-value.ok,  #dscr-calc .ws-out.primary .ws-value.ok  { color: #2F7D4F; }
#dscr-calc .ws-value.warn, #dscr-calc .ws-out.primary .ws-value.warn { color: #B8632E; }
.dscr-note { font-family: var(--display); font-style: italic; font-size: 13.5px; line-height: 1.45; color: var(--faded); margin: 16px 0 0; }
.dscr-send { max-width: var(--container); margin: 24px auto 0; padding: 0 var(--gutter); }
.dscr-send-lead { font-family: var(--display); font-size: 18px; color: var(--ink); margin: 0 0 14px; }
.dscr-send-row { display: grid; grid-template-columns: 1fr 1fr 1fr auto; gap: 10px; align-items: stretch; }
.dscr-send-row input { font-family: var(--body); font-size: 15px; color: var(--ink); background: var(--paper); border: 1px solid var(--rule); border-radius: 8px; padding: 12px 14px; min-width: 0; }
.dscr-send-row input:focus { outline: none; border-color: var(--ink); }
.dscr-send-row .cta { white-space: nowrap; }
.dscr-send-ack { font-family: var(--body); font-size: 13px; margin: 12px 0 0; }
.dscr-send-ack.ok { color: #2F7D4F; }
.dscr-send-ack.err { color: #B83232; }
.dscr-consent { font-family: var(--body); font-size: 11.5px; line-height: 1.5; color: var(--faded); margin: 12px 0 0; max-width: 64ch; }
.dscr-consent a { color: var(--ink); text-decoration: underline; text-underline-offset: 2px; }
@media (max-width: 720px) {
  .dscr-send-row { grid-template-columns: 1fr; }
}

/* ---- Programs comparison table ---- */
.compare-table-section { border-top: 1px solid var(--rule); }
.cmp-wrap { max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter) 8px; overflow-x: auto; }
.cmp-table { width: 100%; border-collapse: collapse; min-width: 720px; }
.cmp-table th, .cmp-table td { text-align: left; padding: 14px 16px; border-bottom: 1px solid var(--rule); vertical-align: top; }
.cmp-table thead th { font-family: var(--body); text-transform: uppercase; letter-spacing: 0.12em; font-size: 10.5px; font-weight: 600; color: var(--faded); border-bottom: 1.5px solid var(--ink); }
.cmp-table td { font-family: var(--body); font-size: 14px; line-height: 1.45; color: var(--ink); }
.cmp-table td.cmp-name { font-family: var(--display); font-size: 17px; font-weight: 500; letter-spacing: -0.01em; white-space: nowrap; }
.cmp-table tbody tr:hover { background: var(--paper-light); }
.cmp-hint { max-width: var(--container); margin: 0 auto; padding: 10px var(--gutter) 0; font-family: var(--display); font-style: italic; font-size: 13.5px; color: var(--faded); }
/* Mobile: pin the Program column so the name stays in view while the row
   scrolls horizontally. Reader always sees which program a cell belongs to. */
@media (max-width: 760px) {
  /* Drop the container gutter so scrolled cells can't peek past the pinned
     column; move the gutter onto the edge cells instead. */
  .cmp-wrap { padding-left: 0; padding-right: 0; }
  .cmp-table th:first-child,
  .cmp-table td:first-child { padding-left: var(--gutter); }
  .cmp-table th:last-child,
  .cmp-table td:last-child { padding-right: var(--gutter); }
  .cmp-table th:first-child,
  .cmp-table td.cmp-name {
    position: sticky;
    left: 0;
    z-index: 2;
    background: var(--paper);
    box-shadow: 1px 0 0 var(--rule);
  }
  .cmp-table tbody tr:hover td.cmp-name { background: var(--paper-light); }
}

/* ---- Documents checklist + slowdowns (Process page) ---- */
.docs-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--rule); border: 1px solid var(--rule); }
.docs-col { background: var(--paper); padding: 24px 26px; }
.docs-col h3 { font-family: var(--display); font-weight: 500; font-size: 19px; color: var(--ink); margin: 0 0 14px; letter-spacing: -0.01em; }
.docs-col ul { list-style: none; margin: 0; padding: 0; }
.docs-col li { font-family: var(--body); font-size: 14px; line-height: 1.5; color: var(--ink); padding: 7px 0 7px 22px; position: relative; }
.docs-col li::before { content: ""; position: absolute; left: 0; top: 14px; width: 9px; height: 9px; border: 1.5px solid var(--gold); border-radius: 2px; }
.slowdowns { border: 1px solid var(--ink); padding: 28px 30px; margin-top: 28px; background: var(--paper-light); }
.slowdowns h3 { font-family: var(--display); font-weight: 500; font-size: 20px; color: var(--ink); margin: 0 0 16px; }
.slowdowns ul { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px 32px; }
.slowdowns li { font-family: var(--body); font-size: 14px; line-height: 1.5; color: var(--ink); padding-left: 20px; position: relative; }
.slowdowns li::before { content: "!"; position: absolute; left: 0; top: 0; font-family: var(--mono); font-weight: 600; color: var(--ochre); }
@media (max-width: 720px) {
  .docs-grid { grid-template-columns: 1fr; }
  .slowdowns ul { grid-template-columns: 1fr; }
}

/* ===== Self-hosted fonts (latin subset, was Google Fonts) ===== */
@font-face {
  font-family: 'Fraunces';
  font-style: italic;
  font-weight: 380 600;
  font-display: swap;
  src: url(/fonts/Fraunces-italic.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Fraunces';
  font-style: normal;
  font-weight: 380 600;
  font-display: swap;
  src: url(/fonts/Fraunces-normal.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url(/fonts/Inter-normal.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/fonts/IBMPlexMono-400.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(/fonts/IBMPlexMono-500.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(/fonts/IBMPlexMono-600.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
