/* ============================================================
   Emory Financial — "Foothill Ledger"
   Palette from the San Gabriel Valley; structure from a term sheet.
   ============================================================ */

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
img, svg, video { display: block; max-width: 100%; height: auto; }
button, input, select, textarea { font: inherit; color: inherit; }
button { background: none; border: 0; cursor: pointer; }
a { color: inherit; }

/* ---------- Tokens ---------- */
:root {
  /* Color — "Claret" */
  --ink:        #1A1216;
  --ink-2:      #241A1F;
  --ink-3:      #35272C;
  --claret:     #8C2F39;
  --claret-600: #73242D;
  --claret-100: #F3E4E5;
  --gold:       #C89B3C;
  --gold-light: #E8C46A;
  --gold-100:   #F7EDD8;
  --paper:      #FAF6F1;
  --sand:       #EFE7DD;
  --sand-2:     #DFD2C2;
  --slate:      #6E625C;
  --white:      #FFFFFF;
  --line:       rgba(26, 18, 22, .13);
  --line-soft:  rgba(26, 18, 22, .07);
  --line-light: rgba(255, 255, 255, .16);

  /* Back-compat aliases so older rules keep resolving */
  --moss:       var(--claret);
  --moss-600:   var(--claret-600);
  --moss-100:   var(--claret-100);
  --persimmon:  var(--claret);
  --persimmon-100: var(--gold-100);

  /* Type */
  --f-display: "Space Grotesk", ui-sans-serif, system-ui, sans-serif;
  --f-body:    "IBM Plex Sans", ui-sans-serif, system-ui, -apple-system, sans-serif;
  --f-mono:    "IBM Plex Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;

  --t-xs:  0.78rem;
  --t-sm:  0.9rem;
  --t-base: clamp(1rem, .97rem + .14vw, 1.075rem);
  --t-lg:  clamp(1.1rem, 1.03rem + .32vw, 1.3rem);
  --t-xl:  clamp(1.35rem, 1.2rem + .6vw, 1.7rem);
  --t-2xl: clamp(1.7rem, 1.4rem + 1.2vw, 2.35rem);
  --t-3xl: clamp(2.1rem, 1.6rem + 2.1vw, 3.3rem);
  --t-4xl: clamp(2.2rem, 1.6rem + 2.4vw, 3.5rem);

  /* Space */
  --sp-1: .35rem; --sp-2: .65rem; --sp-3: 1rem;  --sp-4: 1.5rem;
  --sp-5: 2.25rem; --sp-6: 3.25rem; --sp-7: 4.5rem; --sp-8: 6.5rem;

  /* Shape */
  --r-sm: 6px; --r: 11px; --r-lg: 18px; --r-pill: 999px;
  --shadow-sm: 0 1px 2px rgba(26,18,22,.06), 0 3px 10px rgba(26,18,22,.05);
  --shadow:    0 2px 4px rgba(26,18,22,.05), 0 14px 34px rgba(26,18,22,.09);
  --shadow-lg: 0 4px 8px rgba(26,18,22,.06), 0 28px 62px rgba(26,18,22,.14);

  --wrap: 1140px;
  --wrap-narrow: 780px;
}

/* ---------- Base ---------- */
body {
  font-family: var(--f-body);
  font-size: var(--t-base);
  line-height: 1.65;
  color: var(--ink-2);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  font-family: var(--f-display);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -.032em;
  color: var(--ink);
  text-wrap: balance;
}
h1 { font-size: var(--t-4xl); }
h2 { font-size: var(--t-3xl); }
h3 { font-size: var(--t-xl); }
h4 { font-size: var(--t-lg); }
p  { text-wrap: pretty; }

::selection { background: var(--persimmon); color: #fff; }

:focus-visible {
  outline: 3px solid var(--persimmon);
  outline-offset: 3px;
  border-radius: 3px;
}

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 999;
  background: var(--ink); color: #fff; padding: .8rem 1.2rem; border-radius: 0 0 var(--r-sm) 0;
}
.skip-link:focus { left: 0; }

/* ---------- Layout ---------- */
.wrap { width: min(100% - 2.5rem, var(--wrap)); margin-inline: auto; }
.wrap-narrow { width: min(100% - 2.5rem, var(--wrap-narrow)); margin-inline: auto; }

.section { padding-block: var(--sp-8); }
.section-tight { padding-block: var(--sp-7); }

.section-ink   { background: var(--ink); color: rgba(255,255,255,.82); }
.section-ink h1, .section-ink h2, .section-ink h3, .section-ink h4 { color: #fff; }
.section-sand  { background: var(--sand); }
.section-white { background: var(--white); }

.rule { height: 1px; background: var(--line); border: 0; }

/* ---------- Eyebrow / labels ---------- */
.eyebrow {
  font-family: var(--f-mono);
  font-size: var(--t-xs);
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--moss);
  display: flex; align-items: center; gap: .7rem;
  margin-bottom: var(--sp-3);
  font-weight: 500;
}
.eyebrow::before {
  content: ""; width: 26px; height: 2px; background: var(--persimmon); flex: none;
}
.section-ink .eyebrow { color: #E8C46A; }

.lede {
  font-size: var(--t-lg);
  color: var(--slate);
  max-width: 62ch;
}
.section-ink .lede { color: rgba(255,255,255,.72); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  font-weight: 600; font-size: var(--t-sm); letter-spacing: .01em;
  padding: .85rem 1.5rem; border-radius: var(--r-pill);
  text-decoration: none; border: 1.5px solid transparent;
  transition: transform .16s ease, background-color .16s ease, border-color .16s ease, color .16s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--moss); color: #fff; }
.btn-primary:hover { background: var(--moss-600); }
.btn-accent { background: var(--gold); color: var(--ink); border-color: var(--gold); }
.btn-accent:hover { background: transparent; color: var(--gold-light); border-color: var(--gold-light); }
.btn-ghost { border-color: var(--line); color: var(--ink); background: transparent; }
.btn-ghost:hover { border-color: var(--moss); color: var(--moss); }
.section-ink .btn-ghost, .hero .btn-ghost, .page-head .btn-ghost, .profile-head .btn-ghost {
  border-color: rgba(250, 246, 241, .45); color: var(--paper); background: transparent;
}
.section-ink .btn-ghost:hover, .hero .btn-ghost:hover, .page-head .btn-ghost:hover, .profile-head .btn-ghost:hover {
  background: var(--paper); color: var(--ink); border-color: var(--paper);
}
.btn-lg { padding: 1.05rem 2rem; font-size: var(--t-base); }
.btn-row { display: flex; flex-wrap: wrap; gap: var(--sp-2); }

/* ---------- Top bar ---------- */
.topbar {
  background: var(--ink);
  color: rgba(255,255,255,.72);
  font-family: var(--f-mono);
  font-size: var(--t-xs);
  letter-spacing: .04em;
}
.topbar .wrap {
  display: flex; align-items: center; justify-content: space-between;
  gap: var(--sp-3); padding-block: .55rem; flex-wrap: wrap;
}
.topbar a { color: #fff; text-decoration: none; }
.topbar a:hover { color: #E8C46A; }
.topbar-lic { opacity: .72; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 60;
  background: rgba(250, 246, 241, .94);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line-soft);
}
.site-header .wrap {
  display: flex; align-items: center; justify-content: space-between;
  gap: var(--sp-4); padding-block: .85rem;
}
.brand { display: flex; align-items: center; gap: .8rem; text-decoration: none; }
.brand-mark {
  width: 42px; height: 42px; flex: none; border-radius: 11px;
  background: var(--ink); color: #fff;
  display: grid; place-items: center;
  font-family: var(--f-display); font-weight: 600; font-size: 1.05rem; letter-spacing: -.03em;
}
.brand-mark span { color: var(--persimmon); }
.brand-text strong {
  display: block; font-family: var(--f-display); font-size: 1.12rem;
  color: var(--ink); letter-spacing: -.03em; line-height: 1.1; font-weight: 600;
}
.brand-text small {
  font-family: var(--f-mono); font-size: .64rem; letter-spacing: .15em;
  text-transform: uppercase; color: var(--slate);
}

.nav { display: flex; align-items: center; gap: var(--sp-4); }
.nav-links { display: flex; align-items: center; gap: var(--sp-4); list-style: none; }
.nav-links a {
  text-decoration: none; font-size: var(--t-sm); font-weight: 500; color: var(--ink-2);
  padding-block: .3rem; border-bottom: 2px solid transparent; transition: color .15s, border-color .15s;
}
.nav-links a:hover, .nav-links a[aria-current="page"] {
  color: var(--moss); border-bottom-color: var(--persimmon);
}
.nav-toggle { display: none; width: 44px; height: 44px; place-items: center; border-radius: 10px; }
.nav-toggle:hover { background: var(--sand); }
.nav-toggle svg { width: 24px; height: 24px; stroke: var(--ink); }

/* ---------- Hero ---------- */
.hero { position: relative; background: var(--ink); color: #fff; overflow: hidden; }
.hero::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(1100px 460px at 82% 4%, rgba(140,47,57,.55), transparent 65%),
    radial-gradient(700px 380px at 4% 96%, rgba(200,155,60,.22), transparent 62%);
}
.hero-inner {
  position: relative; z-index: 2;
  display: grid; grid-template-columns: 1fr 1fr; gap: var(--sp-7);
  align-items: center; padding-block: var(--sp-8);
}
.hero h1 { color: #fff; margin-bottom: var(--sp-4); }
.hero h1 em { font-style: normal; color: var(--gold-light); }
.hero-lede { font-size: var(--t-lg); color: rgba(255,255,255,.76); max-width: 46ch; margin-bottom: var(--sp-5); }
.hero .eyebrow { color: #E8C46A; }


/* Amortization card — the hero thesis */
.amort-card {
  background: rgba(255,255,255,.055);
  border: 1px solid var(--line-light);
  border-radius: var(--r-lg);
  padding: var(--sp-4);
  backdrop-filter: blur(6px);
}
.amort-head {
  display: flex; justify-content: space-between; align-items: baseline;
  gap: var(--sp-3); margin-bottom: var(--sp-3); flex-wrap: wrap;
}
.amort-head h2 {
  font-size: 1rem; color: #fff; font-family: var(--f-mono); font-weight: 500;
  letter-spacing: .1em; text-transform: uppercase;
}
.amort-head p { font-size: var(--t-xs); color: rgba(255,255,255,.55); font-family: var(--f-mono); }
.amort-legend { display: flex; gap: var(--sp-4); flex-wrap: wrap; margin-top: var(--sp-3); }
.amort-legend span {
  display: flex; align-items: center; gap: .45rem;
  font-family: var(--f-mono); font-size: var(--t-xs); color: rgba(255,255,255,.72);
}
.amort-legend i { width: 12px; height: 12px; border-radius: 3px; display: block; }
.amort-note {
  margin-top: var(--sp-3); padding-top: var(--sp-3); border-top: 1px solid var(--line-light);
  font-size: var(--t-sm); color: rgba(255,255,255,.66);
}

/* ---------- Stat band ---------- */
.stat-band { background: var(--white); border-bottom: 1px solid var(--line-soft); }
.stat-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  padding-block: var(--sp-5); gap: var(--sp-4);
}
.stat { padding-inline: var(--sp-3); border-left: 2px solid var(--sand-2); }
.stat:first-child { border-left: 0; padding-left: 0; }
.stat b {
  display: block; font-family: var(--f-display); font-size: clamp(1.7rem, 1.3rem + 1.4vw, 2.5rem);
  color: var(--ink); font-weight: 700; letter-spacing: -.04em; line-height: 1;
}
.stat span {
  display: block; margin-top: .5rem; font-size: var(--t-sm); color: var(--slate); line-height: 1.45;
}

/* ---------- Cards ---------- */
.grid { display: grid; gap: var(--sp-4); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: var(--white);
  border: 1px solid var(--line-soft);
  border-radius: var(--r);
  padding: var(--sp-4);
  box-shadow: var(--shadow-sm);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.card-link { text-decoration: none; display: block; }
.card-link:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--moss-100); }
.card h3 { margin-bottom: var(--sp-2); }
.card p { color: var(--slate); font-size: var(--t-sm); }
.card-tag {
  font-family: var(--f-mono); font-size: var(--t-xs); letter-spacing: .1em; text-transform: uppercase;
  color: var(--persimmon); display: block; margin-bottom: .6rem; font-weight: 500;
}
.card-more {
  display: inline-flex; align-items: center; gap: .4rem; margin-top: var(--sp-3);
  font-size: var(--t-sm); font-weight: 600; color: var(--moss);
}

/* Program cards with ruled term-sheet detail */
.program {
  background: var(--white); border: 1px solid var(--line-soft); border-radius: var(--r);
  padding: var(--sp-4); box-shadow: var(--shadow-sm);
  display: flex; flex-direction: column;
}
.program-num {
  font-family: var(--f-mono); font-size: var(--t-xs); color: var(--slate);
  letter-spacing: .12em; margin-bottom: var(--sp-2);
}
.program h3 { margin-bottom: var(--sp-2); }
.program p { color: var(--slate); font-size: var(--t-sm); margin-bottom: var(--sp-3); }
.program dl {
  margin-top: auto; border-top: 1px dashed var(--sand-2); padding-top: var(--sp-3);
  display: grid; gap: .45rem;
}
.program dl div { display: flex; justify-content: space-between; gap: var(--sp-2); align-items: baseline; }
.program dt { font-size: var(--t-xs); color: var(--slate); font-family: var(--f-mono); letter-spacing: .04em; }
.program dd { font-size: var(--t-sm); font-weight: 600; color: var(--ink); text-align: right; }

/* ---------- Steps (a real sequence, so numbered) ---------- */
.steps { counter-reset: step; display: grid; gap: var(--sp-4); }
.step {
  display: grid; grid-template-columns: 62px 1fr; gap: var(--sp-4);
  padding-bottom: var(--sp-4); border-bottom: 1px solid var(--line-soft); align-items: start;
}
.step:last-child { border-bottom: 0; padding-bottom: 0; }
.step::before {
  counter-increment: step; content: counter(step, decimal-leading-zero);
  font-family: var(--f-mono); font-size: 1.1rem; font-weight: 500;
  color: var(--persimmon); padding-top: .18rem;
}
.step h3 { font-size: var(--t-lg); margin-bottom: .35rem; }
.step p { color: var(--slate); font-size: var(--t-sm); }
.step-meta {
  font-family: var(--f-mono); font-size: var(--t-xs); color: var(--moss);
  letter-spacing: .08em; text-transform: uppercase; margin-top: .5rem; display: block;
}

/* ---------- Accordion (Ask Derek / FAQ) ---------- */
.qa { border-top: 1px solid var(--line); }
.qa details { border-bottom: 1px solid var(--line); }
.qa summary {
  list-style: none; cursor: pointer; padding: var(--sp-4) 3rem var(--sp-4) 0;
  position: relative; font-family: var(--f-display); font-size: var(--t-lg);
  font-weight: 600; color: var(--ink); letter-spacing: -.025em; line-height: 1.28;
}
.qa summary::-webkit-details-marker { display: none; }
.qa summary::after {
  content: "+"; position: absolute; right: .4rem; top: 50%; transform: translateY(-50%);
  font-family: var(--f-mono); font-size: 1.5rem; color: var(--persimmon);
  transition: transform .22s ease; line-height: 1;
}
.qa details[open] summary::after { content: "−"; }
.qa summary:hover { color: var(--moss); }
.qa-body { padding: 0 3rem var(--sp-4) 0; color: var(--slate); }
.qa-body p + p { margin-top: var(--sp-3); }
.qa-cat {
  font-family: var(--f-mono); font-size: var(--t-xs); letter-spacing: .12em;
  text-transform: uppercase; color: var(--moss); margin-bottom: .35rem; display: block;
}

/* ---------- Term sheet / calculator ---------- */
.termsheet {
  background: var(--white); border: 1px solid var(--line);
  border-radius: var(--r); box-shadow: var(--shadow);
  overflow: hidden;
}
.termsheet-head {
  background: var(--ink); color: #fff; padding: var(--sp-3) var(--sp-4);
  display: flex; justify-content: space-between; align-items: center; gap: var(--sp-3); flex-wrap: wrap;
}
.termsheet-head h3 {
  color: #fff; font-family: var(--f-mono); font-size: var(--t-sm);
  letter-spacing: .14em; text-transform: uppercase; font-weight: 500;
}
.termsheet-head span { font-family: var(--f-mono); font-size: var(--t-xs); color: rgba(255,255,255,.55); }
.termsheet-body { display: grid; grid-template-columns: 1fr 1fr; }
.termsheet-inputs { padding: var(--sp-4); border-right: 1px solid var(--line-soft); }
.termsheet-out {
  padding: var(--sp-4);
  background:
    repeating-linear-gradient(to bottom, transparent, transparent 31px, var(--line-soft) 31px, var(--line-soft) 32px),
    var(--sand);
}

.field { margin-bottom: var(--sp-4); }
.field:last-child { margin-bottom: 0; }
.field label {
  display: block; font-family: var(--f-mono); font-size: var(--t-xs);
  letter-spacing: .1em; text-transform: uppercase; color: var(--slate); margin-bottom: .45rem;
}
.field-input { position: relative; display: flex; align-items: center; }
.field-input .prefix, .field-input .suffix {
  position: absolute; font-family: var(--f-mono); color: var(--slate); font-size: var(--t-sm);
}
.field-input .prefix { left: .85rem; }
.field-input .suffix { right: .85rem; }
.field input[type="number"], .field input[type="text"], .field select, .field input[type="email"], .field input[type="tel"], .field textarea {
  width: 100%; padding: .8rem .9rem; border: 1.5px solid var(--line);
  border-radius: var(--r-sm); background: var(--white);
  font-family: var(--f-mono); font-size: var(--t-base); color: var(--ink);
  transition: border-color .15s;
}
.field-input.has-prefix input { padding-left: 2rem; }
.field-input.has-suffix input { padding-right: 2.4rem; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--moss); outline-offset: 1px; }
.field input[type="range"] { width: 100%; accent-color: var(--moss); margin-top: .5rem; }
.field-hint { font-size: var(--t-xs); color: var(--slate); margin-top: .4rem; }

.readout { text-align: left; margin-bottom: var(--sp-4); }
.readout-label {
  font-family: var(--f-mono); font-size: var(--t-xs); letter-spacing: .12em;
  text-transform: uppercase; color: var(--slate); display: block; margin-bottom: .3rem;
}
.readout-value {
  font-family: var(--f-display); font-size: clamp(2.1rem, 1.6rem + 2vw, 3rem);
  font-weight: 600; color: var(--ink); letter-spacing: -.04em; line-height: 1;
}
.readout-value small { font-size: 1rem; font-family: var(--f-body); color: var(--slate); font-weight: 500; letter-spacing: 0; }

.breakdown { display: grid; gap: 0; }
.breakdown div {
  display: flex; justify-content: space-between; gap: var(--sp-3);
  padding: .48rem 0; border-bottom: 1px dashed var(--sand-2); align-items: baseline;
}
.breakdown div:last-child { border-bottom: 0; }
.breakdown dt { font-size: var(--t-sm); color: var(--slate); }
.breakdown dd { font-family: var(--f-mono); font-size: var(--t-sm); font-weight: 500; color: var(--ink); }
.breakdown .total { border-top: 2px solid var(--ink); border-bottom: 0; margin-top: .4rem; padding-top: .7rem; }
.breakdown .total dt { font-weight: 700; color: var(--ink); }
.breakdown .total dd { font-weight: 700; font-size: var(--t-base); }

.calc-disclaimer {
  font-size: var(--t-xs); color: var(--slate); padding: var(--sp-3) var(--sp-4);
  border-top: 1px solid var(--line-soft); background: var(--white); line-height: 1.55;
}

/* tabs */
.tabs { display: flex; gap: .4rem; flex-wrap: wrap; margin-bottom: var(--sp-4); }
.tab {
  font-family: var(--f-mono); font-size: var(--t-xs); letter-spacing: .08em; text-transform: uppercase;
  padding: .6rem 1.1rem; border-radius: var(--r-pill); border: 1.5px solid var(--line); color: var(--slate);
  transition: all .16s ease;
}
.tab:hover { border-color: var(--moss); color: var(--moss); }
.tab[aria-selected="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.tabpanel[hidden] { display: none; }

/* ---------- Testimonials ---------- */
.quote {
  background: var(--white); border: 1px solid var(--line-soft); border-radius: var(--r);
  padding: var(--sp-4); box-shadow: var(--shadow-sm); display: flex; flex-direction: column;
}
.quote-mark {
  font-family: var(--f-display); font-size: 3rem; line-height: .7; color: var(--sand-2);
  margin-bottom: var(--sp-2);
}
.quote blockquote { font-size: var(--t-base); color: var(--ink-2); margin-bottom: var(--sp-3); }
.quote figcaption {
  margin-top: auto; padding-top: var(--sp-3); border-top: 1px solid var(--line-soft);
  font-family: var(--f-mono); font-size: var(--t-xs); letter-spacing: .06em; color: var(--slate);
}
.quote figcaption b { color: var(--ink); display: block; font-family: var(--f-body); font-size: var(--t-sm); letter-spacing: 0; }

/* ---------- Service area ---------- */
.area-list { display: flex; flex-wrap: wrap; gap: .5rem; }
.area-list li {
  list-style: none; font-family: var(--f-mono); font-size: var(--t-xs);
  padding: .42rem .85rem; border-radius: var(--r-pill);
  border: 1px solid var(--line); color: var(--slate); background: var(--white);
}
.area-list li.is-hq { background: var(--ink); color: #fff; border-color: var(--ink); }
.section-ink .area-list li { background: rgba(255,255,255,.06); border-color: var(--line-light); color: rgba(255,255,255,.8); }
.section-ink .area-list li.is-hq { background: var(--persimmon); border-color: var(--persimmon); color: #fff; }

/* ---------- Split feature ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: var(--sp-7); align-items: center; }
.split-wide { grid-template-columns: 1.15fr .85fr; }

/* ---------- TikTok / content ---------- */
.tiktok-card {
  background: var(--ink); color: #fff; border-radius: var(--r-lg);
  padding: var(--sp-6); position: relative; overflow: hidden;
}
.tiktok-card::after {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(560px 300px at 88% 12%, rgba(200,155,60,.30), transparent 62%);
  pointer-events: none;
}
.tiktok-card > * { position: relative; z-index: 2; }
.tiktok-topics { display: flex; flex-wrap: wrap; gap: .5rem; margin-block: var(--sp-4); }
.tiktok-topics span {
  font-family: var(--f-mono); font-size: var(--t-xs); padding: .45rem .9rem;
  border-radius: var(--r-pill); background: rgba(255,255,255,.09); border: 1px solid var(--line-light);
}

/* ---------- Newsletter ---------- */
.newsletter {
  background: var(--moss); color: #fff; border-radius: var(--r-lg);
  padding: var(--sp-6);
}
.newsletter h2 { color: #fff; }
.newsletter p { color: rgba(255,255,255,.82); }
.newsletter-form { display: flex; gap: .6rem; flex-wrap: wrap; margin-top: var(--sp-4); }
.newsletter-form input[type="email"], .newsletter-form input[type="text"] {
  flex: 1 1 220px; padding: .9rem 1.1rem; border-radius: var(--r-pill);
  border: 1.5px solid rgba(255,255,255,.3); background: rgba(255,255,255,.12);
  color: #fff; font-family: var(--f-body);
}
.newsletter-form input::placeholder { color: rgba(255,255,255,.6); }
.newsletter-form input:focus { border-color: #fff; background: rgba(255,255,255,.2); }
.newsletter-fine { font-size: var(--t-xs); color: rgba(255,255,255,.68); margin-top: var(--sp-3); }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: var(--sp-6); align-items: start; }
.contact-detail { display: grid; gap: var(--sp-4); }
.contact-item { display: flex; gap: var(--sp-3); align-items: flex-start; }
.contact-item svg { width: 22px; height: 22px; flex: none; stroke: var(--moss); margin-top: .25rem; }
.contact-item dt {
  font-family: var(--f-mono); font-size: var(--t-xs); letter-spacing: .12em;
  text-transform: uppercase; color: var(--slate); margin-bottom: .15rem;
}
.contact-item dd a { color: var(--ink); text-decoration: none; font-weight: 600; }
.contact-item dd a:hover { color: var(--moss); text-decoration: underline; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--sp-3); }
.form-full { grid-column: 1 / -1; }
.honeypot { position: absolute; left: -9999px; opacity: 0; height: 0; overflow: hidden; }

/* ---------- Prose (legal pages) ---------- */
.prose { max-width: 74ch; }
.prose h2 { font-size: var(--t-2xl); margin-top: var(--sp-6); margin-bottom: var(--sp-3); }
.prose h3 { font-size: var(--t-lg); margin-top: var(--sp-5); margin-bottom: var(--sp-2); }
.prose h2:first-child, .prose h3:first-child { margin-top: 0; }
.prose p, .prose ul, .prose ol { margin-bottom: var(--sp-3); color: var(--ink-2); }
.prose ul, .prose ol { padding-left: 1.3rem; }
.prose li { margin-bottom: .4rem; }
.prose a { color: var(--moss); text-decoration: underline; text-underline-offset: 3px; }
.prose strong { color: var(--ink); }
.prose .callout {
  background: var(--sand); border-left: 3px solid var(--persimmon);
  padding: var(--sp-3) var(--sp-4); border-radius: 0 var(--r-sm) var(--r-sm) 0; margin-bottom: var(--sp-4);
}
.prose .callout p:last-child { margin-bottom: 0; }

/* ---------- Page header ---------- */
.page-head { background: var(--ink); color: #fff; padding-block: var(--sp-7); }
.page-head h1 { color: #fff; font-size: var(--t-3xl); margin-bottom: var(--sp-3); }
.page-head p { color: rgba(255,255,255,.74); font-size: var(--t-lg); max-width: 60ch; }
.page-head .eyebrow { color: #E8C46A; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: rgba(255,255,255,.66); padding-block: var(--sp-6) var(--sp-4); font-size: var(--t-sm); }
.footer-top { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: var(--sp-5); padding-bottom: var(--sp-5); }
.site-footer h4 {
  color: #fff; font-family: var(--f-mono); font-size: var(--t-xs); letter-spacing: .14em;
  text-transform: uppercase; font-weight: 500; margin-bottom: var(--sp-3);
}
.site-footer ul { list-style: none; display: grid; gap: .55rem; }
.site-footer a { color: rgba(255,255,255,.72); text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.footer-brand p { margin-top: var(--sp-3); max-width: 34ch; }
.footer-badges { display: flex; gap: var(--sp-3); align-items: center; margin-top: var(--sp-4); flex-wrap: wrap; }
.badge-ehl {
  display: flex; align-items: center; gap: .6rem; font-family: var(--f-mono);
  font-size: var(--t-xs); color: rgba(255,255,255,.72); line-height: 1.3;
}
.badge-ehl svg { width: 30px; height: 30px; flex: none; fill: none; stroke: rgba(255,255,255,.8); }

.footer-legal { border-top: 1px solid var(--line-light); padding-top: var(--sp-4); }
.footer-legal p { font-size: var(--t-xs); color: rgba(255,255,255,.52); line-height: 1.65; margin-bottom: var(--sp-2); }
.footer-lic {
  font-family: var(--f-mono); font-size: var(--t-xs); color: rgba(255,255,255,.75);
  display: flex; flex-wrap: wrap; gap: var(--sp-3); margin-bottom: var(--sp-3);
}
.footer-lic span { white-space: nowrap; }

/* ---------- Utilities ---------- */
.mt-2 { margin-top: var(--sp-2); } .mt-3 { margin-top: var(--sp-3); }
.mt-4 { margin-top: var(--sp-4); } .mt-5 { margin-top: var(--sp-5); }
.mt-6 { margin-top: var(--sp-6); }
.mb-4 { margin-bottom: var(--sp-4); } .mb-5 { margin-bottom: var(--sp-5); }
.mb-6 { margin-bottom: var(--sp-6); }
.center { text-align: center; }
.center .eyebrow { justify-content: center; }
.center .lede { margin-inline: auto; }
.text-mono { font-family: var(--f-mono); }
.visually-hidden {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap;
}

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.is-in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .hero-inner { grid-template-columns: 1fr; gap: var(--sp-6); padding-block: var(--sp-7); }
  .split, .split-wide, .contact-grid { grid-template-columns: 1fr; gap: var(--sp-5); }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .stat-grid { grid-template-columns: repeat(2, 1fr); row-gap: var(--sp-4); }
  .stat:nth-child(3) { border-left: 0; padding-left: 0; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .termsheet-body { grid-template-columns: 1fr; }
  .termsheet-inputs { border-right: 0; border-bottom: 1px solid var(--line-soft); }
}

@media (max-width: 760px) {
  .nav-toggle { display: grid; }
  .nav-links {
    position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--paper); padding: var(--sp-2) var(--sp-4) var(--sp-5);
    box-shadow: var(--shadow-lg); border-top: 1px solid var(--line-soft);
    z-index: 50; max-height: calc(100dvh - 100%); overflow-y: auto;
    opacity: 0; visibility: hidden; transform: translateY(-10px);
    transition: opacity .22s ease, transform .22s ease, visibility .22s;
  }
  .nav-links.is-open { opacity: 1; visibility: visible; transform: none; }
  .brand, .nav-toggle { position: relative; z-index: 60; }
  .nav-links a {
    display: block; padding: .95rem 0; border-bottom: 1px solid var(--line-soft);
    font-size: var(--t-lg); font-family: var(--f-display);
  }
  .nav-links a:hover, .nav-links a[aria-current="page"] { border-bottom-color: var(--line-soft); }
  .nav .btn { display: none; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .stat-grid { grid-template-columns: 1fr 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; gap: var(--sp-4); }
  .topbar .wrap { justify-content: center; text-align: center; font-size: .7rem; }
  .topbar-lic { display: none; }
  .section { padding-block: var(--sp-7); }
  .step { grid-template-columns: 44px 1fr; gap: var(--sp-3); }
  .qa summary { font-size: var(--t-base); padding-right: 2.4rem; }
  .qa-body { padding-right: 0; }
  .newsletter, .tiktok-card { padding: var(--sp-5) var(--sp-4); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .001ms !important; animation-iteration-count: 1 !important;
    transition-duration: .001ms !important; scroll-behavior: auto !important;
  }
  .reveal { opacity: 1; transform: none; }
}

/* ============================================================
   v2 — brand logo, portrait hero, regional reach
   ============================================================ */

/* ---------- Brand logo in header ---------- */
.brand-logo { display: block; height: 46px; width: auto; }
@media (max-width: 760px) { .brand-logo { height: 38px; } }

/* Logo on the dark footer sits on a light chip so the blue wordmark stays legible */
.footer-logo {
  display: inline-block; background: #fff; padding: .7rem .9rem;
  border-radius: var(--r-sm); margin-bottom: var(--sp-3);
}
.footer-logo img { height: 40px; width: auto; display: block; }

/* ---------- Hero portrait ---------- */
.hero-portrait { position: relative; max-width: 440px; margin-inline: auto; width: 100%; }
.hero-portrait-frame {
  position: relative; border-radius: var(--r-lg); overflow: hidden;
  border: 1px solid var(--line-light);
  box-shadow: 0 30px 70px rgba(0,0,0,.42);
  background: var(--ink-3);
}
.hero-portrait-frame img { width: 100%; height: auto; display: block; }
.hero-portrait-frame::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(to top, rgba(26,18,22,.55), transparent 42%);
}

.portrait-badge {
  position: absolute; left: -18px; bottom: -22px; z-index: 3;
  background: var(--paper); color: var(--ink);
  border-radius: var(--r); padding: .95rem 1.15rem;
  box-shadow: var(--shadow-lg); max-width: 250px;
}
.portrait-badge strong {
  display: block; font-family: var(--f-display); font-size: 1.15rem;
  letter-spacing: -.02em; line-height: 1.15; font-weight: 600;
}
.portrait-badge em {
  display: block; font-style: normal; font-size: var(--t-sm);
  color: var(--slate); margin-top: .1rem;
}
.portrait-badge span {
  display: block; font-family: var(--f-mono); font-size: .68rem;
  letter-spacing: .07em; color: var(--moss); margin-top: .5rem;
  padding-top: .5rem; border-top: 1px solid var(--line);
}
@media (max-width: 980px) {
  .hero-portrait { max-width: 320px; }
  .portrait-badge { left: auto; right: -10px; bottom: -18px; }
}
@media (max-width: 460px) {
  .hero-portrait { max-width: 100%; }
  .portrait-badge { position: static; margin-top: var(--sp-3); max-width: none; }
}

/* ---------- Regional reach ---------- */
.region-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--sp-3); }
.region {
  background: rgba(255,255,255,.055); border: 1px solid var(--line-light);
  border-radius: var(--r); padding: var(--sp-4) var(--sp-3);
}
.region b {
  display: block; font-family: var(--f-display); font-size: 1.85rem;
  color: #fff; font-weight: 700; letter-spacing: -.04em; line-height: 1;
}
.region span {
  display: block; margin-top: .45rem; font-size: var(--t-sm);
  color: rgba(255,255,255,.72); line-height: 1.4;
}
.region small {
  display: block; margin-top: .5rem; font-family: var(--f-mono);
  font-size: .68rem; letter-spacing: .06em; color: rgba(255,255,255,.45);
}
.region-lead { border-color: var(--persimmon); background: rgba(140,47,57,.20); }
@media (max-width: 900px) { .region-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .region-grid { grid-template-columns: 1fr; } }

/* ---------- Pull quote ---------- */
.pullquote {
  background: var(--white); border: 1px solid var(--line-soft);
  border-left: 4px solid var(--persimmon);
  border-radius: var(--r); padding: var(--sp-5) var(--sp-4);
  box-shadow: var(--shadow-sm);
}
.pullquote blockquote {
  font-family: var(--f-display); font-size: var(--t-xl); line-height: 1.4;
  color: var(--ink); letter-spacing: -.015em;
}
.pullquote figcaption {
  margin-top: var(--sp-3); padding-top: var(--sp-3); border-top: 1px solid var(--line-soft);
  font-size: var(--t-sm); color: var(--slate);
}
.pullquote figcaption b { color: var(--ink); }

/* ---------- Credential strip ---------- */
.cred-strip {
  display: flex; flex-wrap: wrap; gap: var(--sp-2); margin-top: var(--sp-4);
}
.cred-strip span {
  font-family: var(--f-mono); font-size: var(--t-xs); letter-spacing: .05em;
  padding: .45rem .85rem; border-radius: var(--r-pill);
  background: var(--white); border: 1px solid var(--line); color: var(--slate);
}

/* ============================================================
   v3 — team & agent profiles
   ============================================================ */
.team-card {
  background: var(--white); border: 1px solid var(--line-soft); border-radius: var(--r);
  overflow: hidden; box-shadow: var(--shadow-sm); text-decoration: none; display: block;
  transition: transform .2s ease, box-shadow .2s ease;
}
.team-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.team-card-photo { aspect-ratio: 4 / 5; background: var(--sand-2); overflow: hidden; }
.team-card-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center top; }
.team-card-photo.is-empty {
  display: grid; place-items: center; background: var(--ink-3);
  font-family: var(--f-display); font-size: 3rem; color: rgba(255,255,255,.35);
}
.team-card-body { padding: var(--sp-4); }
.team-card-body h3 { margin-bottom: .2rem; }
.team-card-role {
  font-family: var(--f-mono); font-size: var(--t-xs); letter-spacing: .1em;
  text-transform: uppercase; color: var(--persimmon); display: block; margin-bottom: var(--sp-3);
}
.team-card-body p { color: var(--slate); font-size: var(--t-sm); }
.team-card-lic {
  margin-top: var(--sp-3); padding-top: var(--sp-3); border-top: 1px solid var(--line-soft);
  font-family: var(--f-mono); font-size: var(--t-xs); color: var(--slate);
}

/* Profile header */
.profile-head { background: var(--ink); color: #fff; padding-block: var(--sp-7); }
.profile-grid { display: grid; grid-template-columns: 300px 1fr; gap: var(--sp-6); align-items: center; }
.profile-photo {
  border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--line-light);
  box-shadow: 0 24px 60px rgba(0,0,0,.4); background: var(--ink-3); aspect-ratio: 4/5;
}
.profile-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center top; }
.profile-photo.is-empty { display: grid; place-items: center; font-family: var(--f-display); font-size: 4rem; color: rgba(255,255,255,.3); }
.profile-head h1 { color: #fff; font-size: var(--t-3xl); margin-bottom: .4rem; }
.profile-role {
  font-family: var(--f-mono); font-size: var(--t-sm); letter-spacing: .12em;
  text-transform: uppercase; color: #E8C46A; margin-bottom: var(--sp-4); display: block;
}
.profile-head p.lede { color: rgba(255,255,255,.76); }
.profile-contact { display: flex; flex-wrap: wrap; gap: var(--sp-4); margin-top: var(--sp-5); }
.profile-contact a { color: #fff; text-decoration: none; font-weight: 600; display: flex; align-items: center; gap: .5rem; }
.profile-contact a:hover { color: #E8C46A; }
.profile-lic {
  margin-top: var(--sp-4); padding-top: var(--sp-4); border-top: 1px solid var(--line-light);
  font-family: var(--f-mono); font-size: var(--t-xs); color: rgba(255,255,255,.62);
  display: flex; flex-wrap: wrap; gap: var(--sp-3);
}
@media (max-width: 820px) {
  .profile-grid { grid-template-columns: 1fr; gap: var(--sp-5); }
  .profile-photo { max-width: 240px; }
}

/* Firm-attribution block — keeps company production visually separate from individual */
.firm-block {
  background: var(--sand); border: 1px dashed var(--sand-2);
  border-radius: var(--r); padding: var(--sp-4);
}
.firm-block .eyebrow { color: var(--slate); }
.firm-block .eyebrow::before { background: var(--slate); }

/* Region cards become links to area pages */
a.region { text-decoration: none; display: block; transition: transform .2s ease, border-color .2s ease, background-color .2s ease; }
a.region:hover { transform: translateY(-3px); border-color: rgba(255,255,255,.4); background: rgba(255,255,255,.1); }
a.region.region-lead:hover { border-color: var(--persimmon); background: rgba(140,47,57,.28); }
a.region::after { content: " →"; font-family: var(--f-mono); font-size: .7rem; color: rgba(255,255,255,.5); }

/* Footer area links */
.footer-areas {
  border-top: 1px solid var(--line-light); padding-top: var(--sp-4); margin-bottom: var(--sp-4);
  display: flex; flex-wrap: wrap; gap: .4rem 1.1rem; align-items: baseline;
}
.footer-areas strong {
  font-family: var(--f-mono); font-size: var(--t-xs); letter-spacing: .14em;
  text-transform: uppercase; color: #fff; font-weight: 500; width: 100%;
  margin-bottom: .3rem;
}
.footer-areas a { font-size: var(--t-sm); color: rgba(255,255,255,.72); }

/* ============================================================
   v4 — process timeline (replaces the lopsided two-column layout)
   ============================================================ */
.process-head {
  display: grid; grid-template-columns: 1fr auto; gap: var(--sp-5);
  align-items: end; margin-bottom: var(--sp-6);
}
.process-head .lede { max-width: 54ch; }

.timeline {
  display: grid; grid-template-columns: repeat(5, 1fr);
  gap: var(--sp-4); position: relative; counter-reset: tl;
}
.timeline::before {
  content: ""; position: absolute; left: 0; right: 0; top: 21px;
  height: 2px; background: var(--sand-2);
}
.tl-step { position: relative; padding-top: 60px; }
.tl-step::before {
  counter-increment: tl; content: counter(tl, decimal-leading-zero);
  position: absolute; top: 0; left: 0;
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--paper); border: 2px solid var(--claret); color: var(--claret);
  display: grid; place-items: center;
  font-family: var(--f-mono); font-size: .82rem; font-weight: 600;
  z-index: 2;
}
.tl-step:first-child::before { background: var(--claret); color: var(--paper); border-color: var(--claret); }
.tl-step h3 { font-size: var(--t-lg); margin-bottom: .5rem; }
.tl-step p { font-size: var(--t-sm); color: var(--slate); }
.tl-meta {
  color: var(--claret);
  display: block; margin-top: .8rem; padding-top: .7rem;
  border-top: 1px solid var(--line-soft);
  font-family: var(--f-mono); font-size: .68rem; letter-spacing: .09em;
  text-transform: uppercase; color: var(--moss);
}

@media (max-width: 1040px) {
  .timeline { grid-template-columns: repeat(2, 1fr); gap: var(--sp-5); }
  .timeline::before { display: none; }
  .tl-step { padding-top: 0; padding-left: 60px; }
  .tl-step::before { top: -4px; }
}
@media (max-width: 760px) {
  .process-head { grid-template-columns: 1fr; align-items: start; }
  .timeline { grid-template-columns: 1fr; gap: var(--sp-4); }
  .tl-step { padding-left: 56px; padding-bottom: var(--sp-4); border-bottom: 1px solid var(--line-soft); }
  .tl-step:last-child { border-bottom: 0; padding-bottom: 0; }
  .tl-step::before { width: 38px; height: 38px; font-size: .74rem; }
}

/* ============================================================
   v5 — Claret identity: logo lockup
   ============================================================ */
.brand { display: flex; align-items: center; gap: .85rem; text-decoration: none; }
.brand-mark-img { width: 46px; height: 46px; flex: none; display: block; }
.brand-text strong {
  display: block; font-family: var(--f-display); font-size: 1.18rem; font-weight: 600;
  color: var(--ink); letter-spacing: -.035em; line-height: 1;
}
.brand-text small {
  display: block; margin-top: .3rem; font-family: var(--f-mono); font-size: .6rem;
  letter-spacing: .22em; text-transform: uppercase; color: var(--slate);
}
@media (max-width: 760px) {
  .brand-mark-img { width: 38px; height: 38px; }
  .brand-text strong { font-size: 1rem; }
  .brand-text small { font-size: .53rem; letter-spacing: .18em; }
}

/* Footer lockup — reversed art, no chip needed */
.footer-logo { display: block; background: none; padding: 0; margin-bottom: var(--sp-3); }
.footer-logo img { height: 54px; width: auto; display: block; }

/* ============================================================
   v6 — Roofline mark sizing
   ============================================================ */
.brand-mark-img { width: 54px; height: 54px; }
@media (max-width: 760px) { .brand-mark-img { width: 44px; height: 44px; } }

/* The eyebrow rule is a deliberate echo of the mark's own base rule. */
.eyebrow::before { width: 24px; height: 2.5px; border-radius: 2px; }

/* ============================================================
   v7 — Baseline alignment inside grids
   Grid cells already stretch to equal height; the content inside them
   did not. Making each cell a flex column and pushing the trailing
   element to the bottom lines up every closing rule across a row.
   ============================================================ */

/* Process timeline — meta labels and their rules align across all five */
.tl-step { display: flex; flex-direction: column; }
.tl-step p { margin-bottom: var(--sp-3); }
.tl-meta { margin-top: auto; margin-bottom: 0; }

/* Cards — the "→" link sits on one line across a row */
.card { display: flex; flex-direction: column; }
.card-more { margin-top: auto; }

/* Team cards — licence lines align under uneven bios */
.team-card { display: flex; flex-direction: column; }
.team-card-photo { flex: none; }
.team-card-body { display: flex; flex-direction: column; flex: 1 1 auto; }
.team-card-lic { margin-top: auto; }

/* Quote cards already bottom-align their attribution; keep it explicit */
.quote figcaption { margin-top: auto; }

/* Program cards: dashed rule and spec list share a baseline */
.program dl { margin-top: auto; }

@media (max-width: 760px) {
  /* Single column — nothing to align against, so don't create gaps */
  .tl-meta, .card-more, .team-card-lic { margin-top: var(--sp-3); }
  .tl-meta { margin-top: var(--sp-2); }
}


/* ============================================================
   v8 — Hero: option 2 treatment, four metrics, portrait weight
   ============================================================ */

/* Soft panel offset behind the portrait. Gives the photograph presence
   through composition rather than resolution the source file doesn't have. */
.hero-portrait-back {
  position: absolute; left: 26px; top: -18px; right: -22px; bottom: 34px;
  border-radius: 22px; z-index: 0;
  background: linear-gradient(150deg, rgba(200,155,60,.20), rgba(140,47,57,.32));
  border: 1px solid rgba(255,255,255,.10);
}
.hero-portrait-frame { position: relative; z-index: 1; }
.portrait-badge { z-index: 3; }

@media (max-width: 980px) {
  .hero-portrait { max-width: 360px; }
  .hero-portrait-back { left: 20px; right: -16px; top: -14px; bottom: 28px; }
}
@media (max-width: 760px) {
  }
@media (max-width: 460px) {
  .hero-portrait-back { display: none; }
}

/* Stat band now carries the proof alone — attribute the figures. */
.stat-source {
  font-size: var(--t-xs); color: var(--slate); line-height: 1.5;
  padding-bottom: var(--sp-4); margin-top: -.4rem;
}

/* ============================================================
   v9 — form status messaging
   ============================================================ */
.form-note { margin-top: var(--sp-3); font-size: var(--t-sm); line-height: 1.55; }
.form-note.is-error {
  color: var(--claret); background: var(--claret-100);
  padding: .85rem 1rem; border-radius: var(--r-sm);
  border-left: 3px solid var(--claret);
}
.form-note.is-error a { color: var(--claret); font-weight: 600; text-decoration: underline; }
/* The newsletter sits on a claret ground, so invert there */
.newsletter .form-note.is-error {
  background: rgba(255,255,255,.16); color: #fff; border-left-color: #fff;
}
.newsletter .form-note.is-error a { color: #fff; }
.form-ref {
  display: block; margin-top: .5rem; font-family: var(--f-mono);
  font-size: .62rem; letter-spacing: .08em; opacity: .55;
}

/* Footer column headings are h2 for correct document outline;
   this keeps their original small-caps appearance. */
.site-footer h2.footer-h {
  color: #fff; font-family: var(--f-mono); font-size: var(--t-xs); letter-spacing: .14em;
  text-transform: uppercase; font-weight: 500; margin-bottom: var(--sp-3); line-height: 1.4;
}

/* Card and team headings are h2 for a correct outline; size stays as designed. */
.card h2, .team-card-body h2 { font-size: var(--t-xl); margin-bottom: var(--sp-2); }
.card h2.mb-3, .card h2.mb-4 { font-size: var(--t-xl); }


/* Menu toggle icon state */
.nav-toggle .icon-close { display: none; }
.nav-toggle[aria-expanded="true"] .icon-open { display: none; }
.nav-toggle[aria-expanded="true"] .icon-close { display: block; }
