/* TaxBooksCFO legacy page styles, re-tokened to the 2026 palette (see tbc.css) */

:root {
  --forest: #0A1A2F;
  --forest-mid: #13315C;
  --forest-deep: #06111F;
  --deep: #121A26;
  --ivory: #FFFFFF;
  --stone: #F3F4F1;
  --gold: #D9622B;
  --gold-soft: #F08A5B;
  --ink: #121A26;
  --muted: #4E5A6B;
  --muted-on-dark: rgba(247, 244, 236, 0.62);
  --paper: #FFFFFF;
  --rule: rgba(10,26,47, 0.14);
  --rule-dark: rgba(247, 244, 236, 0.12);
  --shell: 1220px;
  --text: 680px;
  --radius: 3px;
  --display: "Source Serif 4", "Iowan Old Style", Georgia, serif;
  --sans: "Instrument Sans", "Helvetica Neue", Arial, sans-serif;
  --header-h: 72px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--sans);
  font-weight: 400;
  font-size: 16.5px;
  line-height: 1.7;
  color: var(--ink);
  background: var(--ivory);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, svg { max-width: 100%; display: block; }
a { color: inherit; }
button { font-family: inherit; }
:focus-visible { outline: 2px solid var(--forest); outline-offset: 3px; }

/* ── Typography ─────────────────────────────────────────── */
.t-display,
h1.t-display {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(40px, 5.2vw, 68px);
  line-height: 1.08;
  letter-spacing: -0.02em;
}

h2, .t-h2 {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(30px, 3.6vw, 46px);
  line-height: 1.14;
  letter-spacing: -0.015em;
}

h3, .t-h3 {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(22px, 2.2vw, 30px);
  line-height: 1.22;
}

.t-body { font-size: 16.5px; line-height: 1.75; max-width: var(--text); }
.t-lead { font-size: 17.5px; line-height: 1.7; max-width: 640px; color: var(--muted); }
.t-small { font-size: 13.5px; line-height: 1.65; color: var(--muted); }

.t-label {
  font-family: var(--sans);
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
}

.t-kicker {
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.measure { max-width: var(--text); }
.measure-wide { max-width: 760px; }

/* ── Layout ─────────────────────────────────────────────── */
.shell {
  width: min(var(--shell), calc(100% - 64px));
  margin-inline: auto;
}

.section {
  padding: 96px 0;
}

.section-tight { padding: 72px 0; }
.section-loose { padding: 112px 0; }

.bg-ivory { background: var(--ivory); color: var(--ink); }
.bg-stone { background: var(--stone); color: var(--ink); }
.bg-paper { background: var(--paper); color: var(--ink); }
.bg-forest { background: var(--forest); color: var(--ivory); }
.bg-deep { background: var(--deep); color: var(--ivory); }

.bg-forest .t-lead,
.bg-deep .t-lead,
.bg-forest .t-small,
.bg-deep .t-small { color: var(--muted-on-dark); }

.bg-forest .t-label,
.bg-deep .t-label { color: var(--gold-soft); }

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

.bg-forest .rule,
.bg-deep .rule { background: var(--rule-dark); }

/* ── Buttons ────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 24px;
  border-radius: var(--radius);
  border: 1px solid transparent;
  font-family: var(--sans);
  font-size: 14.5px;
  font-weight: 500;
  letter-spacing: 0.01em;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
  line-height: 1.2;
}

.btn-primary {
  background: var(--forest);
  color: var(--ivory);
  border-color: var(--forest);
}
.btn-primary:hover { background: var(--forest-mid); border-color: var(--forest-mid); }

.btn-on-dark {
  background: var(--ivory);
  color: var(--forest);
  border-color: var(--ivory);
}
.btn-on-dark:hover { background: var(--stone); border-color: var(--stone); }

.btn-ghost {
  background: transparent;
  color: var(--forest);
  border-color: transparent;
  padding-left: 4px;
  padding-right: 4px;
}
.btn-ghost:hover { color: var(--deep); }
.btn-ghost::after { content: " →"; }

.btn-ghost-light {
  background: transparent;
  color: var(--ivory);
  border-color: rgba(247, 244, 236, 0.28);
}
.btn-ghost-light:hover { border-color: var(--ivory); }

.btn-full { width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: 16px 22px; align-items: center; }
.btn-gold, .btn-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 13px 24px;
  border-radius: var(--radius);
  border: 1px solid var(--forest);
  background: var(--forest);
  color: var(--ivory);
  font-family: var(--sans);
  font-size: 14.5px;
  font-weight: 500;
  letter-spacing: 0.01em;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.2s ease;
}
.btn-gold:hover, .btn-submit:hover { background: var(--forest-mid); }
.btn-gold:disabled, .btn-submit:disabled { opacity: 0.6; cursor: not-allowed; }
.btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 12px 24px;
  border-radius: var(--radius);
  border: 1px solid var(--forest);
  background: transparent;
  color: var(--forest);
  font-family: var(--sans);
  font-size: 14.5px;
  font-weight: 500;
  text-decoration: none;
}
.btn-outline:hover { background: var(--ivory); }
.btn-gold, .btn-submit {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 13px 24px; border-radius: var(--radius); border: 1px solid var(--forest);
  background: var(--forest); color: var(--ivory);
  font-family: var(--sans); font-size: 14.5px; font-weight: 500;
  letter-spacing: 0.01em; text-decoration: none; cursor: pointer; line-height: 1.2;
}
.btn-gold:hover, .btn-submit:hover { background: var(--forest-mid); border-color: var(--forest-mid); }
.btn-gold.btn-full, .btn-submit { width: 100%; }
.btn-outline {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 12px 22px; border-radius: var(--radius);
  background: transparent; color: var(--forest);
  border: 1px solid var(--forest); text-decoration: none;
  font-family: var(--sans); font-size: 14.5px; font-weight: 500; cursor: pointer;
}
.btn-outline:hover { background: var(--forest); color: var(--ivory); }
.fg-row, .fg2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.frow { margin-bottom: 16px; }
.datetime-grid { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 12px; }

/* ── Header ─────────────────────────────────────────────── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 80;
  height: var(--header-h);
  background: var(--ivory);
  border-bottom: 1px solid var(--rule);
}

.site-header.is-over-hero {
  position: absolute;
  left: 0; right: 0;
  background: transparent;
  border-bottom-color: transparent;
}
.site-header.is-over-hero .brand,
.site-header.is-over-hero .site-nav a,
.site-header.is-over-hero .nav-quiet { color: var(--ivory); }
.site-header.is-over-hero .nav-toggle { color: var(--ivory); border-color: rgba(247,244,236,0.28); }

.site-header.is-scrolled {
  position: sticky;
  background: var(--ivory);
  border-bottom-color: var(--rule);
}
.site-header.is-scrolled .brand,
.site-header.is-scrolled .site-nav a,
.site-header.is-scrolled .nav-quiet { color: var(--ink); }
.site-header.is-scrolled .nav-toggle { color: var(--ink); border-color: var(--rule); }
.site-header.is-over-hero:not(.is-scrolled) .btn-primary {
  background: var(--ivory);
  color: var(--forest);
  border-color: var(--ivory);
}
.site-header.is-over-hero:not(.is-scrolled) .btn-primary:hover {
  background: var(--stone);
  border-color: var(--stone);
}

.site-header-inner {
  width: min(var(--shell), calc(100% - 48px));
  margin: 0 auto;
  height: 100%;
  display: flex;
  align-items: center;
  gap: 28px;
}

.brand {
  font-family: var(--display);
  font-size: 22px;
  font-weight: 400;
  text-decoration: none;
  letter-spacing: -0.01em;
  flex-shrink: 0;
  color: var(--ink);
}
.brand span { color: var(--gold); }

.site-nav {
  display: flex;
  align-items: center;
  gap: 26px;
  margin-left: 8px;
}
.site-nav a {
  font-size: 14.5px;
  font-weight: 400;
  text-decoration: none;
  color: var(--ink);
  opacity: 0.78;
  transition: opacity 0.2s;
}
.site-nav a:hover { opacity: 1; }

.site-header-actions {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 18px;
}

.nav-quiet {
  font-size: 14px;
  text-decoration: none;
  color: var(--muted);
}
.nav-quiet:hover { color: var(--ink); }

.nav-toggle {
  display: none;
  width: 40px;
  height: 40px;
  border: 1px solid var(--rule);
  background: transparent;
  color: var(--ink);
  border-radius: var(--radius);
  cursor: pointer;
  font-size: 18px;
  line-height: 1;
}

/* ── Hero ───────────────────────────────────────────────── */
.hero {
  background: var(--forest);
  color: var(--ivory);
  min-height: 100vh;
  width: 100%;
  display: flex;
  align-items: stretch;
}

.hero-grid {
  width: min(var(--shell), calc(100% - 64px));
  margin: 0 auto;
  padding: 132px 0 88px;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
  gap: 72px;
  align-items: end;
}

.hero-copy .t-label { margin-bottom: 22px; display: block; }

.hero h1 {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(42px, 5.4vw, 70px);
  line-height: 1.06;
  letter-spacing: -0.02em;
  max-width: 14ch;
  margin-bottom: 28px;
}

.hero-lede {
  font-size: 17.5px;
  line-height: 1.7;
  color: var(--muted-on-dark);
  max-width: 42ch;
  margin-bottom: 40px;
}

.hero-panel {
  border-top: 1px solid var(--rule-dark);
  padding-top: 8px;
}

.hero-panel-row {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 20px;
  padding: 22px 0;
  border-bottom: 1px solid var(--rule-dark);
}
.hero-panel-row h3 {
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--gold-soft);
}
.hero-panel-row p {
  font-size: 15px;
  line-height: 1.55;
  color: rgba(247, 244, 236, 0.78);
}

/* ── Facts ──────────────────────────────────────────────── */
.facts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}
.bg-forest .facts { border-color: var(--rule-dark); }

.fact {
  padding: 36px 32px 36px 0;
  border-right: 1px solid var(--rule);
}
.fact:last-child { border-right: none; padding-right: 0; }
.bg-forest .fact { border-color: var(--rule-dark); }

.fact-n {
  font-family: var(--display);
  font-size: clamp(32px, 3vw, 42px);
  line-height: 1;
  margin-bottom: 10px;
}
.fact-l {
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}
.bg-forest .fact-l { color: var(--muted-on-dark); }

/* ── Practices / services ───────────────────────────────── */
.practice {
  display: grid;
  grid-template-columns: 200px minmax(0, 1fr);
  gap: 48px;
  padding: 40px 0;
  border-top: 1px solid var(--rule);
}
.practice:last-child { border-bottom: 1px solid var(--rule); }

.practice-name {
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--forest);
  padding-top: 8px;
}

.practice h3 { margin-bottom: 8px; }
.practice .meta {
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 14px;
}
.practice p { max-width: 58ch; color: var(--ink); }

/* ── About / split ──────────────────────────────────────── */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

.cred-list { list-style: none; margin-top: 36px; }
.cred-list li {
  padding: 16px 0;
  border-top: 1px solid var(--rule);
  font-size: 15.5px;
}
.cred-list li:last-child { border-bottom: 1px solid var(--rule); }
.cred-list strong { font-weight: 500; display: block; margin-bottom: 4px; }
.cred-list span { color: var(--muted); font-size: 14.5px; }

/* ── CPA band ───────────────────────────────────────────── */
.cpa-band h2 { max-width: 16ch; margin-bottom: 22px; }
.cpa-band p { max-width: 52ch; color: var(--muted-on-dark); margin-bottom: 36px; }

/* ── FAQ ────────────────────────────────────────────────── */
.faq { max-width: 820px; }
.faq-item { border-top: 1px solid var(--rule); }
.faq-item:last-child { border-bottom: 1px solid var(--rule); }
.faq-q {
  width: 100%;
  background: none;
  border: 0;
  text-align: left;
  padding: 22px 0;
  font-family: var(--sans);
  font-size: 16.5px;
  color: var(--ink);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: baseline;
}
.faq-q span { color: var(--gold); font-size: 22px; line-height: 1; }
.faq-a {
  display: none;
  padding: 0 0 24px;
  max-width: 64ch;
  color: var(--muted);
  font-size: 15.5px;
}
.faq-item.open .faq-a { display: block; }

/* ── CTA ────────────────────────────────────────────────── */
.cta-block h2 { max-width: 14ch; margin-bottom: 18px; }
.cta-block p { max-width: 46ch; margin-bottom: 32px; }

.contact-meta { margin-top: 40px; display: grid; gap: 10px; }
.contact-meta a { text-decoration: none; border-bottom: 1px solid currentColor; }

/* ── Footer ─────────────────────────────────────────────── */
.site-footer {
  background: var(--deep);
  color: var(--ivory);
  padding: 72px 0 28px;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid var(--rule-dark);
}

.footer-brand { font-family: var(--display); font-size: 26px; margin-bottom: 12px; }
.footer-brand span { color: var(--gold); }
.footer-tag { font-size: 14.5px; color: var(--muted-on-dark); max-width: 36ch; margin-bottom: 22px; }
.footer-note { font-size: 13px; color: rgba(247,244,236,0.42); }

.footer-col h4 {
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold-soft);
  margin-bottom: 16px;
}
.footer-col ul { list-style: none; display: grid; gap: 10px; }
.footer-col a {
  font-size: 14.5px;
  color: rgba(247,244,236,0.7);
  text-decoration: none;
}
.footer-col a:hover { color: var(--ivory); }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  padding-top: 22px;
  font-size: 13px;
  color: rgba(247,244,236,0.4);
}
.footer-legal { display: flex; gap: 20px; }
.footer-legal a { color: inherit; text-decoration: none; }
.footer-legal a:hover { color: var(--ivory); }

/* ── Interior pages ─────────────────────────────────────── */
.page-hero {
  background: var(--forest);
  color: var(--ivory);
  padding: 88px 0 64px;
}
.page-hero .t-label { margin-bottom: 18px; display: block; }
.page-hero h1 {
  font-family: var(--display);
  font-size: clamp(36px, 4.6vw, 58px);
  font-weight: 400;
  line-height: 1.1;
  max-width: 16ch;
  margin-bottom: 18px;
}
.page-hero p {
  max-width: 52ch;
  color: var(--muted-on-dark);
  font-size: 17px;
}

.page-body { padding: 64px 0 96px; }

/* ── Forms ──────────────────────────────────────────────── */
.form-shell { max-width: 720px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.fg { margin-bottom: 16px; }
.fg label,
.fl {
  display: block;
  font-size: 12.5px;
  font-weight: 500;
  margin-bottom: 6px;
  color: var(--forest);
}
.req { color: var(--gold); }

input, select, textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 15px;
  outline: none;
  transition: border-color 0.2s;
  -webkit-appearance: none;
  appearance: none;
}
input:focus, select:focus, textarea:focus { border-color: var(--forest); }
input::placeholder, textarea::placeholder { color: #8A96A8; }
textarea { min-height: 96px; resize: vertical; }

.check-group { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.check-opt, .radio-opt { position: relative; }
.check-opt input, .radio-opt input { position: absolute; opacity: 0; width: 0; height: 0; }
.check-lbl, .radio-lbl {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 12px;
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  cursor: pointer;
  font-size: 14px;
  background: var(--paper);
}
.check-box, .radio-dot {
  width: 14px; height: 14px;
  border: 1px solid var(--forest);
  flex-shrink: 0;
}
.radio-dot { border-radius: 50%; }
.check-opt input:checked + .check-lbl,
.radio-opt input:checked + .radio-lbl {
  border-color: var(--forest);
  background: var(--ivory);
}
.check-opt input:checked + .check-lbl .check-box { background: var(--forest); }
.radio-opt input:checked + .radio-lbl .radio-dot { background: var(--forest); }

.tabs {
  display: flex;
  gap: 0;
  border-bottom: 1px solid var(--rule);
  margin-bottom: 28px;
}
.tab {
  flex: 1;
  padding: 12px 8px;
  text-align: center;
  font-size: 14px;
  cursor: pointer;
  color: var(--muted);
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
}
.tab.active { color: var(--forest); border-bottom-color: var(--forest); }
.tab-content { display: none; }
.tab-content.active { display: block; }

.success-box, .success {
  display: none;
  padding: 18px 20px;
  border: 1px solid var(--rule);
  background: var(--ivory);
  margin-top: 16px;
}
.success-box.show, .success.show { display: block; }
.err-box {
  display: none;
  padding: 12px 14px;
  border: 1px solid #C47B6A;
  color: #7A3A2E;
  background: #F8EEEA;
  margin-bottom: 14px;
  font-size: 14px;
}
.err-box.show { display: block; }

.toast {
  position: fixed;
  bottom: 24px;
  right: 24px;
  background: var(--deep);
  color: var(--ivory);
  padding: 14px 18px;
  font-size: 14px;
  z-index: 200;
  display: none;
  max-width: 320px;
}
.toast.show { display: block; }

.gateway {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  margin-bottom: 48px;
}
.gateway-card {
  padding: 40px 36px 40px 0;
  display: flex;
  flex-direction: column;
}
.gateway-card + .gateway-card {
  padding-left: 36px;
  border-left: 1px solid var(--rule);
}
.gateway-card h2 { margin: 8px 0 12px; }
.gateway-card p { color: var(--muted); margin-bottom: 24px; flex: 1; }

.info-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 56px;
  padding-top: 40px;
  border-top: 1px solid var(--rule);
}
.info-grid h3 { font-family: var(--sans); font-size: 14px; font-weight: 500; margin-bottom: 8px; }
.info-grid p { font-size: 14.5px; color: var(--muted); }

.contact-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.cc {
  font-size: 13.5px;
  padding: 8px 14px;
  border: 1px solid var(--rule);
  background: var(--paper);
  cursor: pointer;
  border-radius: var(--radius);
  color: var(--muted);
}
.cc.on { background: var(--forest); color: var(--ivory); border-color: var(--forest); }

.embed-frame { width: min(860px, calc(100% - 32px)); margin: 24px auto 56px; }
.embed-frame iframe {
  width: 100%;
  min-height: 1500px;
  border: 1px solid var(--rule);
  background: #fff;
}

.datetime-grid { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 12px; }
.fg2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 16px; }
.frow { margin-bottom: 16px; }
.cal-link { color: var(--forest); }
.form-panel {
  background: var(--paper);
  border: 1px solid var(--rule);
  padding: 36px 32px;
}
.contact-direct { display: grid; gap: 10px; margin-top: 28px; font-size: 15px; }
.contact-direct a { color: var(--forest); }
.interior-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
  padding: 64px 0 80px;
}

/* ── Blog ───────────────────────────────────────────────── */
.article {
  width: min(720px, calc(100% - 48px));
  margin: 0 auto;
  padding: 64px 0 48px;
}
.article .eyebrow {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold);
}
.article h1 {
  font-family: var(--display);
  font-size: clamp(32px, 4vw, 44px);
  font-weight: 400;
  line-height: 1.15;
  margin: 12px 0 16px;
}
.article .eyebrow {
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 500;
}
.article .standfirst {
  font-size: 18px;
  color: var(--muted);
  padding-bottom: 28px;
  margin-bottom: 8px;
  border-bottom: 1px solid var(--rule);
}
.article h2 {
  font-family: var(--display);
  font-size: 28px;
  margin: 36px 0 12px;
}
.article p { margin-bottom: 18px; font-size: 16.5px; }
.article .pull {
  font-family: var(--display);
  font-size: 24px;
  line-height: 1.35;
  color: var(--forest);
  padding: 8px 0 8px 22px;
  border-left: 1px solid var(--gold);
  margin: 28px 0;
}
.article .keybox {
  background: var(--paper);
  border-top: 1px solid var(--gold);
  padding: 22px 0;
  margin: 28px 0;
}
.article .keybox h3 {
  font-family: var(--sans);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--forest);
  margin-bottom: 8px;
}
.insight-card {
  display: block;
  padding: 22px 0;
  border-top: 1px solid var(--rule);
  text-decoration: none;
}
.insight-card:last-of-type { border-bottom: 1px solid var(--rule); }
.insight-card h3 {
  font-family: var(--display);
  font-size: 24px;
  margin-bottom: 6px;
}
.insight-card p { font-size: 14.5px; color: var(--muted); }

.article-cta {
  background: var(--forest);
  color: var(--ivory);
  padding: 40px 36px;
  margin: 48px 0 8px;
}
.article-cta h3 { font-family: var(--display); font-size: 28px; margin-bottom: 8px; }
.article-cta p { color: var(--muted-on-dark); margin-bottom: 20px; }

/* ── Document / advisory pages ──────────────────────────── */
.doc { max-width: 880px; margin: 0 auto; background: var(--ivory); }
.doc .panel { padding: 72px 64px; }
.doc .cover { min-height: 100vh; display: flex; flex-direction: column; padding: 56px 64px; background: var(--forest); color: var(--ivory); }
.doc h1, .doc h2, .doc h3 { font-family: var(--display); font-weight: 400; }

/* ── Reveal (subtle, optional) ──────────────────────────── */
.reveal { opacity: 1; transform: none; }

/* ── Responsive ─────────────────────────────────────────── */
@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; gap: 48px; padding: 120px 0 64px; }
  .split, .facts, .gateway, .info-grid, .footer-top { grid-template-columns: 1fr 1fr; }
  .practice { grid-template-columns: 1fr; gap: 10px; }
  .section { padding: 80px 0; }
}

.who-row {
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr);
  gap: 32px;
  padding: 28px 0;
  border-top: 1px solid var(--rule);
}
.who-row:last-child { border-bottom: 1px solid var(--rule); }
.who-kicker {
  font-size: 12.5px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--forest);
  padding-top: 6px;
}
.quote-xl {
  font-family: var(--display);
  font-size: clamp(28px, 3.4vw, 40px);
  line-height: 1.2;
  max-width: 18ch;
}
.succ-list { display: grid; gap: 0; }
.succ-item {
  padding: 26px 0;
  border-top: 1px solid var(--rule-dark);
}
.succ-item h3 {
  font-family: var(--sans);
  font-size: 16px;
  font-weight: 500;
  margin-bottom: 8px;
}
.succ-item p { color: var(--muted-on-dark); font-size: 15px; max-width: 52ch; }

.page-stack { padding: 56px 0 88px; }
.page-stack .shell > h2 { margin: 48px 0 12px; }
.cal-link { color: var(--forest); }

.bar {
  position: sticky; top: 0; z-index: 80;
  height: var(--header-h);
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 28px;
  background: var(--ivory);
  border-bottom: 1px solid var(--rule);
}
.bar a.brand {
  font-family: var(--display); font-size: 22px; font-weight: 400;
  color: var(--ink); text-decoration: none;
}
.bar .links a {
  font-size: 14.5px; color: var(--ink); opacity: 0.78;
  text-decoration: none; margin-left: 22px;
}
.bar .links a.cta, .bar .links a:last-child {
  opacity: 1;
  background: var(--forest); color: var(--ivory);
  padding: 10px 16px; border-radius: var(--radius);
}
.wrap { width: min(720px, calc(100% - 48px)); margin: 0 auto; padding: 56px 0 48px; }
.wrap .eyebrow, .wrap .t-label { color: var(--gold); }
.wrap h1 {
  font-family: var(--display); font-weight: 400;
  font-size: clamp(32px, 4vw, 44px); line-height: 1.15;
  color: var(--ink); margin: 12px 0 16px;
}
.wrap h2 {
  font-family: var(--display); font-weight: 400;
  font-size: 28px; margin: 36px 0 12px; color: var(--ink);
}
.wrap p { margin-bottom: 18px; }
.wrap .standfirst {
  font-size: 18px; color: var(--muted);
  padding-bottom: 28px; margin-bottom: 8px;
  border-bottom: 1px solid var(--rule);
}
.wrap .cta, .article .cta {
  background: var(--forest); color: var(--ivory);
  padding: 36px 32px; margin: 48px 0 8px; border-radius: 0;
}
.wrap .cta h3, .article .cta h3 {
  font-family: var(--display); font-size: 28px; margin-bottom: 8px; color: var(--ivory);
}
.wrap .cta p, .article .cta p { color: var(--muted-on-dark); margin-bottom: 18px; }
.wrap .cta a, .article .cta a {
  display: inline-flex; background: var(--ivory); color: var(--forest);
  padding: 12px 20px; border-radius: var(--radius); text-decoration: none; font-weight: 500;
}
.wrap .card, .insight-card.card {
  display: block; padding: 22px 0; border-top: 1px solid var(--rule);
  background: transparent; border-radius: 0; text-decoration: none;
}
.wrap .card h3 {
  font-family: var(--display); font-size: 24px; font-weight: 400;
  color: var(--ink); margin-bottom: 6px;
}
.foot {
  text-align: left;
  padding: 28px 0;
  background: var(--deep); color: rgba(247,244,236,0.55);
  font-size: 13px; margin-top: 0;
}
.foot a { color: var(--ivory); }

@media (max-width: 820px) {
  .shell, .hero-grid, .site-header-inner { width: min(var(--shell), calc(100% - 40px)); }
  .site-nav { display: none; }
  .site-header.nav-open .site-nav {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: var(--header-h);
    left: 0; right: 0;
    background: var(--ivory);
    padding: 20px 24px 28px;
    border-bottom: 1px solid var(--rule);
    align-items: flex-start;
    gap: 16px;
  }
  .site-header.nav-open { background: var(--ivory); }
  .site-header.nav-open .brand,
  .site-header.nav-open .nav-quiet { color: var(--ink); }
  .site-header.nav-open .site-nav a { color: var(--ink); opacity: 1; }
  .nav-toggle { display: inline-flex; align-items: center; justify-content: center; font-size: 13px; }
  .nav-quiet { display: none; }
  .facts, .gateway, .info-grid, .footer-top, .split, .form-grid, .check-group, .interior-split, .datetime-grid, .fg2 { grid-template-columns: 1fr; }
  .gateway-card + .gateway-card { border-left: 0; padding-left: 0; border-top: 1px solid var(--rule); }
  .fact { border-right: 0; border-bottom: 1px solid var(--rule); padding: 28px 0; }
  .hero { min-height: 0; }
  .hero h1 { max-width: none; }
  .site-header.is-over-hero {
    position: sticky;
    background: var(--ivory);
    border-bottom-color: var(--rule);
  }
  .site-header.is-over-hero .brand,
  .site-header.is-over-hero .nav-quiet { color: var(--ink); }
  .site-header.is-over-hero .nav-toggle { color: var(--ink); border-color: var(--rule); }
  .site-header-actions .btn { display: none; }
  .section { padding: 64px 0; }
  .page-hero { padding: 72px 0 48px; }
  .doc .panel, .doc .cover { padding: 40px 24px; }
  .who-row { grid-template-columns: 1fr; gap: 8px; }
  .bar { padding: 0 20px; }
  .bar .links a:not(.cta):not(:last-child) { display: none; }
  .foot { padding: 24px 20px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; animation: none !important; }
}
