/* ==========================================================================
   Alleviate Tax — site.css
   Single stylesheet. Order: tokens → reset → type → layout → header/nav →
   buttons → heroes → components → forms → article → footer → motion → responsive
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Design tokens
   -------------------------------------------------------------------------- */
:root {
  /* Brand — blue */
  --ink:        #0A2540;
  --ink-800:    #0E2F52;
  --blue-900:   #103A63;
  --blue-700:   #1D5DA6;
  --blue-500:   #2E7BD1;
  --blue-100:   #E8F0FA;

  /* Brand — gold */
  --gold-700:   #8F711F;
  --gold-600:   #B08D2E;
  --gold-500:   #C8A44B;
  --gold-300:   #E6C978;
  --gold-100:   #F7EFDA;

  /* Neutrals */
  --sand:       #FBF7EF;
  --paper:      #F7F9FC;
  --line:       #E3E9F2;
  --line-soft:  #EDF1F7;
  --body:       #46586E;
  --muted:      #6B7C93;
  --white:      #FFFFFF;

  /* Gradients */
  --grad-hero:  linear-gradient(135deg, #0A2540 0%, #123E6B 55%, #1D5DA6 100%);
  --grad-deep:  linear-gradient(150deg, #071C31 0%, #0A2540 45%, #143F6B 100%);
  --grad-gold:  linear-gradient(100deg, #B08D2E 0%, #E6C978 100%);
  --grad-soft:  linear-gradient(180deg, #F7F9FC 0%, #FFFFFF 100%);
  --grad-sand:  linear-gradient(180deg, #FFFFFF 0%, #FBF7EF 100%);

  /* Type */
  --font-display: 'Sora', 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
  --font-body:    'Inter', 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
  --font-serif:   'Lora', Georgia, 'Times New Roman', serif;

  /* Space & shape */
  --container: 1200px;
  --gutter: clamp(20px, 5vw, 40px);
  --section-y: clamp(72px, 9vw, 124px);
  --r-sm: 10px;
  --r:    16px;
  --r-lg: 22px;
  --r-xl: 28px;

  /* Elevation */
  --sh-1: 0 1px 2px rgba(10,37,64,.05), 0 2px 8px rgba(10,37,64,.04);
  --sh-2: 0 2px 6px rgba(10,37,64,.06), 0 12px 28px rgba(10,37,64,.08);
  --sh-3: 0 4px 12px rgba(10,37,64,.08), 0 24px 56px rgba(10,37,64,.12);
  --sh-gold: 0 8px 24px rgba(176,141,46,.28);

  --header-h: 84px;
  --ease: cubic-bezier(.22,.61,.36,1);
}

/* --------------------------------------------------------------------------
   2. Reset & base
   -------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 20px);
}

body {
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.7;
  color: var(--body);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
a { color: var(--blue-700); text-decoration: none; }
a:hover { color: var(--blue-500); }
ul, ol { padding: 0; list-style: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
input, select, textarea { font: inherit; color: inherit; }
table { border-collapse: collapse; width: 100%; }

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

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

.skip-link {
  position: absolute; left: 12px; top: -100px; z-index: 200;
  background: var(--ink); color: #fff; padding: 12px 20px;
  border-radius: 0 0 var(--r-sm) var(--r-sm); font-weight: 600;
  transition: top .2s var(--ease);
}
.skip-link:focus { top: 0; color: #fff; }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* --------------------------------------------------------------------------
   3. Typography
   -------------------------------------------------------------------------- */
h1, h2, h3, h4, h5 {
  font-family: var(--font-display);
  color: var(--ink);
  font-weight: 700;
  line-height: 1.14;
  letter-spacing: -0.022em;
  text-wrap: balance;
}

.h-display { font-size: clamp(2.5rem, 5.6vw, 4.15rem); line-height: 1.04; letter-spacing: -0.033em; }
h1, .h1 { font-size: clamp(2.15rem, 4.4vw, 3.3rem); }
h2, .h2 { font-size: clamp(1.8rem, 3.2vw, 2.6rem); }
h3, .h3 { font-size: clamp(1.25rem, 1.9vw, 1.55rem); line-height: 1.28; letter-spacing: -0.015em; }
h4, .h4 { font-size: 1.1rem; line-height: 1.35; letter-spacing: -0.01em; }

p { text-wrap: pretty; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-body);
  font-size: .745rem; font-weight: 700;
  letter-spacing: .16em; text-transform: uppercase;
  color: var(--gold-700); margin-bottom: 18px;
}
.eyebrow::before {
  content: ""; width: 30px; height: 3px; border-radius: 2px;
  background: var(--grad-gold); flex: none;
}
.eyebrow.is-light { color: var(--gold-300); }

.lede {
  font-size: clamp(1.05rem, 1.35vw, 1.19rem);
  line-height: 1.68; color: var(--body); max-width: 62ch;
}
.lede.is-light { color: #C3D3E4; }

.section-head { max-width: 720px; margin-bottom: clamp(40px, 5vw, 62px); }
.section-head.is-center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head.is-center .eyebrow { justify-content: center; }
.section-head h2 + .lede, .section-head h1 + .lede { margin-top: 18px; }

.text-gold { color: var(--gold-600); }
.text-grad {
  background: linear-gradient(96deg, #E6C978 0%, #C8A44B 45%, #FFFFFF 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

/* --------------------------------------------------------------------------
   4. Layout
   -------------------------------------------------------------------------- */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.container-narrow { max-width: 840px; }

.section { padding-block: var(--section-y); position: relative; }
.section-tight { padding-block: clamp(52px, 6vw, 82px); }
.bg-paper { background: var(--paper); }
.bg-soft  { background: var(--grad-soft); }
.bg-sand  { background: var(--sand); }
.bg-sand-grad { background: var(--grad-sand); }

.bg-dark {
  background: var(--ink);
  background-image: var(--grad-hero);
  color: #C3D3E4;
  position: relative; overflow: hidden;
}
.bg-dark h1, .bg-dark h2, .bg-dark h3, .bg-dark h4 { color: #fff; }
.bg-dark::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(680px 420px at 88% 108%, rgba(200,164,75,.26), transparent 62%),
    radial-gradient(560px 380px at 6% -8%, rgba(46,123,209,.30), transparent 65%);
}
.bg-dark > * { position: relative; z-index: 1; }

.grid { display: grid; gap: clamp(18px, 2.2vw, 28px); }
.g-2 { grid-template-columns: repeat(2, 1fr); }
.g-3 { grid-template-columns: repeat(3, 1fr); }
.g-4 { grid-template-columns: repeat(4, 1fr); }

.split {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 5vw, 76px); align-items: center;
}
.split.is-reverse .split-media { order: 2; }
.split-copy > * + * { margin-top: 18px; }

.split-media { position: relative; }
.split-media img {
  width: 100%; border-radius: var(--r-lg);
  box-shadow: var(--sh-3); object-fit: cover;
}
.split-media::before {
  content: ""; position: absolute; inset: auto -18px -18px auto;
  width: 58%; height: 58%; border-radius: var(--r-lg);
  background: var(--grad-gold); opacity: .13; z-index: -1;
}

.stack > * + * { margin-top: 16px; }
.mt-s { margin-top: 14px; } .mt-m { margin-top: 26px; } .mt-l { margin-top: 40px; }
.center { text-align: center; }

.divider-grad { height: 3px; border: 0; background: var(--grad-gold); border-radius: 2px; width: 60px; }

/* --------------------------------------------------------------------------
   5. Header & navigation
   -------------------------------------------------------------------------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.88);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: transform .32s var(--ease), box-shadow .3s var(--ease),
              border-color .3s var(--ease), background .3s var(--ease);
}
.site-header.is-stuck {
  border-bottom-color: var(--line);
  box-shadow: 0 6px 26px rgba(10,37,64,.07);
}

/* Auto-hide on scroll down, reveal on scroll up. The header is only worth its
   vertical space when someone is looking for navigation, and scrolling up is
   that signal. site.js never adds this class while a menu is open, while focus
   is inside the header, or near the top of the page. */
.site-header.is-hidden { transform: translateY(-100%); box-shadow: none; }

.header-inner {
  display: flex; align-items: center; gap: 26px;
  height: var(--header-h);
  transition: height .3s var(--ease);
}
.site-header.is-stuck .header-inner { height: 70px; }

/* Logo lockup — mark is inline SVG, wordmark is live text (uses page fonts) */
.logo { display: inline-flex; align-items: center; gap: 12px; flex: none; }
.logo:hover { color: inherit; }
.logo-mark { width: 42px; height: 42px; flex: none; transition: transform .35s var(--ease); }
.logo:hover .logo-mark { transform: translateY(-2px); }
.logo-word {
  font-family: var(--font-display); font-weight: 700; font-size: 1.32rem;
  letter-spacing: -0.028em; color: var(--ink); line-height: 1.05;
}
.logo-word em { font-style: normal; color: var(--gold-600); }
.logo-sub {
  display: block; font-family: var(--font-body); font-size: .585rem;
  font-weight: 600; letter-spacing: .21em; color: var(--muted);
  text-transform: uppercase; margin-top: 3px;
}
.logo.is-light .logo-word { color: #fff; }
.logo.is-light .logo-word em { color: var(--gold-300); }
.logo.is-light .logo-sub { color: #8FA6BD; }

.primary-nav { margin-left: auto; }
.nav-list { display: flex; align-items: center; gap: 4px; }
.nav-item { position: relative; }

.nav-link {
  position: relative;
  display: inline-flex; align-items: center; gap: 6px;
  padding: 10px 14px; border-radius: 9px;
  font-size: .945rem; font-weight: 600; color: var(--ink-800);
  letter-spacing: -0.005em;
  transition: background .2s var(--ease), color .2s var(--ease);
}
.nav-link:hover { background: var(--blue-100); color: var(--blue-700); }
.nav-link[aria-current="page"] { color: var(--blue-700); }
.nav-link[aria-current="page"]::after {
  content: ""; position: absolute; left: 14px; right: 14px; bottom: 2px;
  height: 2px; border-radius: 2px; background: var(--grad-gold);
}
.nav-caret { width: 11px; height: 11px; transition: transform .25s var(--ease); flex: none; }
.nav-item.is-open > .nav-link .nav-caret { transform: rotate(180deg); }
.nav-item.is-open > .nav-link { background: var(--blue-100); color: var(--blue-700); }

.header-cta { display: flex; align-items: center; gap: 12px; flex: none; }
.header-phone {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 600; font-size: .9rem; color: var(--ink-800);
}
.header-phone svg { width: 16px; height: 16px; color: var(--gold-600); }

/* --- Mega menu ---
   The panel is wider than its trigger, so it anchors to .site-header (a
   positioned sticky element) rather than the nav item. Making the item
   `static` hands the containing block up to the header, which centres the
   panel in the viewport instead of on the button. */
.nav-item.has-mega { position: static; }

.mega {
  position: absolute; top: calc(100% + 10px); left: 50%;
  transform: translate(-50%, 10px);
  width: min(1120px, calc(100vw - 40px));
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: var(--sh-3);
  padding: 30px;
  opacity: 0; visibility: hidden; pointer-events: none;
  /* visibility is switched instantly (0s) rather than transitioned. Transitioned
     visibility is still `hidden` at progress 0, which makes the panel
     unfocusable for a frame and breaks keyboard entry. Hiding is delayed
     instead, so the fade-out still plays on close. */
  transition: opacity .22s var(--ease), transform .22s var(--ease), visibility 0s .22s;
}
.nav-item.is-open > .mega {
  opacity: 1; visibility: visible; pointer-events: auto;
  transform: translate(-50%, 0);
  transition: opacity .22s var(--ease), transform .22s var(--ease), visibility 0s 0s;
}
.mega::before {
  content: ""; position: absolute; left: 0; right: 0; top: -12px; height: 12px;
}

.mega-grid { display: grid; grid-template-columns: repeat(3, 1fr) .92fr; gap: 26px; }
.mega-grid.is-2 { grid-template-columns: repeat(2, 1fr) 1fr; }

.mega-col-title {
  font-family: var(--font-body); font-size: .72rem; font-weight: 700;
  letter-spacing: .15em; text-transform: uppercase; color: var(--gold-700);
  padding-bottom: 12px; margin-bottom: 8px;
  border-bottom: 1px solid var(--line);
}

.mega-link {
  display: flex; gap: 12px; align-items: flex-start;
  padding: 10px; border-radius: var(--r-sm);
  transition: background .18s var(--ease), transform .18s var(--ease);
}
.mega-link:hover { background: var(--paper); transform: translateX(3px); }
.mega-link:hover .mega-link-title { color: var(--blue-700); }
.mega-ico {
  width: 34px; height: 34px; flex: none; border-radius: 9px;
  display: grid; place-items: center;
  background: var(--blue-100); color: var(--blue-700);
}
.mega-ico svg { width: 17px; height: 17px; }
.mega-link:hover .mega-ico { background: var(--gold-100); color: var(--gold-700); }
.mega-link-title {
  display: block; font-family: var(--font-display); font-weight: 600;
  font-size: .915rem; color: var(--ink); line-height: 1.3;
  letter-spacing: -0.012em; transition: color .18s var(--ease);
}
.mega-link-desc {
  display: block; font-size: .785rem; line-height: 1.45;
  color: var(--muted); margin-top: 3px;
}

.mega-promo {
  border-radius: var(--r); padding: 26px 24px;
  background-image: var(--grad-hero);
  color: #C3D3E4; position: relative; overflow: hidden;
  display: flex; flex-direction: column;
}
.mega-promo::after {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(320px 220px at 110% 110%, rgba(200,164,75,.34), transparent 62%);
}
.mega-promo > * { position: relative; z-index: 1; }
.mega-promo h4 { color: #fff; font-size: 1.12rem; margin-bottom: 10px; }
.mega-promo p { font-size: .85rem; line-height: 1.55; color: #B9CBDE; }
.mega-promo .btn { margin-top: auto; }
.mega-promo-tag {
  display: inline-block; font-size: .68rem; font-weight: 700;
  letter-spacing: .14em; text-transform: uppercase;
  color: var(--gold-300); margin-bottom: 12px;
}

.mega-foot {
  display: flex; flex-wrap: wrap; gap: 8px 26px; align-items: center;
  margin-top: 24px; padding-top: 20px; border-top: 1px solid var(--line);
  font-size: .855rem;
}
.mega-foot a {
  font-weight: 600; display: inline-flex; align-items: center; gap: 7px;
  white-space: nowrap;
}
.mega-foot a svg { width: 16px; height: 16px; flex: none; }

/* --- Mobile --- */
.nav-toggle {
  display: none; width: 44px; height: 44px; border-radius: 10px;
  border: 1px solid var(--line); align-items: center; justify-content: center;
  flex: none; color: var(--ink); background: #fff;
}
.nav-toggle svg { width: 21px; height: 21px; }
.nav-toggle .icon-close { display: none; }
.nav-toggle[aria-expanded="true"] .icon-open { display: none; }
.nav-toggle[aria-expanded="true"] .icon-close { display: block; }

.drawer {
  position: fixed; inset: var(--header-h) 0 0; z-index: 99;
  background: #fff; overflow-y: auto;
  padding: 22px var(--gutter) 48px;
  transform: translateX(100%); visibility: hidden;
  transition: transform .32s var(--ease), visibility .32s;
  overscroll-behavior: contain;
}
.drawer.is-open { transform: translateX(0); visibility: visible; }
body.nav-open { overflow: hidden; }

.drawer-group + .drawer-group { border-top: 1px solid var(--line-soft); }
.drawer-link, .drawer-toggle {
  display: flex; align-items: center; justify-content: space-between; width: 100%;
  padding: 16px 2px; font-family: var(--font-display); font-weight: 600;
  font-size: 1.06rem; color: var(--ink); text-align: left;
}
.drawer-toggle svg { width: 18px; height: 18px; color: var(--muted); transition: transform .25s var(--ease); }
.drawer-toggle[aria-expanded="true"] svg { transform: rotate(180deg); }
.drawer-panel { display: none; padding: 0 0 16px 2px; }
.drawer-panel.is-open { display: block; }
.drawer-panel h5 {
  font-family: var(--font-body); font-size: .7rem; font-weight: 700;
  letter-spacing: .15em; text-transform: uppercase; color: var(--gold-700);
  margin: 14px 0 6px;
}
.drawer-panel a {
  display: block; padding: 9px 0; font-size: .95rem;
  font-weight: 500; color: var(--body);
}
.drawer-panel a:hover { color: var(--blue-700); }
.drawer-actions { margin-top: 26px; display: grid; gap: 12px; }

/* --------------------------------------------------------------------------
   6. Buttons
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  padding: 14px 26px; border-radius: 999px;
  font-family: var(--font-body); font-weight: 600; font-size: .95rem;
  letter-spacing: -0.005em; text-align: center; white-space: nowrap;
  border: 1.5px solid transparent; cursor: pointer;
  transition: transform .2s var(--ease), box-shadow .25s var(--ease),
              background .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease);
}
.btn svg { width: 17px; height: 17px; flex: none; }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn-primary { background-image: var(--grad-gold); color: var(--ink); box-shadow: var(--sh-gold); }
.btn-primary:hover { color: var(--ink); box-shadow: 0 12px 32px rgba(176,141,46,.42); }

.btn-navy { background: var(--ink); color: #fff; box-shadow: var(--sh-2); }
.btn-navy:hover { background: var(--blue-700); color: #fff; }

.btn-outline { border-color: var(--line); background: #fff; color: var(--ink); }
.btn-outline:hover { border-color: var(--blue-700); color: var(--blue-700); background: #fff; }

.btn-ghost-light { border-color: rgba(255,255,255,.34); color: #fff; background: rgba(255,255,255,.06); }
.btn-ghost-light:hover { background: rgba(255,255,255,.15); border-color: rgba(255,255,255,.6); color: #fff; }

.btn-light { background: #fff; color: var(--ink); box-shadow: var(--sh-2); }
.btn-light:hover { color: var(--blue-700); }

.btn-sm { padding: 10px 18px; font-size: .875rem; }
.btn-lg { padding: 17px 34px; font-size: 1rem; }
.btn-block { width: 100%; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 600; font-size: .93rem; color: var(--blue-700);
}
.link-arrow svg { width: 16px; height: 16px; transition: transform .22s var(--ease); }
.link-arrow:hover svg { transform: translateX(4px); }
.link-arrow.is-light { color: var(--gold-300); }

.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }

/* --------------------------------------------------------------------------
   7. Heroes
   -------------------------------------------------------------------------- */
.hero {
  position: relative; overflow: hidden;
  background: var(--ink); color: #C3D3E4;
  padding-block: clamp(64px, 8vw, 108px) clamp(72px, 9vw, 122px);
}
.hero-bg { position: absolute; inset: 0; z-index: 0; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; }
.hero-bg::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(118deg, rgba(7,22,40,.96) 0%, rgba(10,37,64,.90) 44%, rgba(16,58,99,.72) 100%),
    radial-gradient(760px 460px at 92% 106%, rgba(200,164,75,.30), transparent 60%);
}
.hero-grid-lines {
  position: absolute; inset: 0; z-index: 0; opacity: .30;
  background-image:
    linear-gradient(rgba(255,255,255,.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.055) 1px, transparent 1px);
  background-size: 76px 76px;
  mask-image: radial-gradient(ellipse 85% 70% at 50% 40%, #000 40%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 85% 70% at 50% 40%, #000 40%, transparent 100%);
}
.hero > .container { position: relative; z-index: 2; }
.hero h1, .hero h2 { color: #fff; }

.hero-home { padding-block: clamp(72px, 9vw, 132px) clamp(84px, 10vw, 148px); }
.hero-copy { max-width: 730px; }
.hero-copy .lede { color: #C3D3E4; margin-top: 22px; }
.hero-copy .btn-row { margin-top: 38px; }

.hero-badge {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 8px 8px 8px 14px; border-radius: 999px;
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.16);
  font-size: .8rem; font-weight: 500; color: #D5E2EF;
  margin-bottom: 26px; backdrop-filter: blur(6px);
}
.hero-badge b { color: var(--gold-300); font-weight: 700; }
.hero-badge .pill {
  padding: 3px 11px; border-radius: 999px; font-size: .705rem; white-space: nowrap;
  font-weight: 700; letter-spacing: .07em; text-transform: uppercase;
  background: var(--grad-gold); color: var(--ink);
}

/* Compact page hero (service / blog / legal) */
.hero-page { padding-block: clamp(52px, 6.5vw, 88px) clamp(56px, 7vw, 92px); }
.hero-page .hero-copy { max-width: 810px; }
.hero-page .lede { margin-top: 18px; }
.hero-page .btn-row { margin-top: 32px; }

/* Trust strip under hero */
.trust-strip {
  border-top: 1px solid rgba(255,255,255,.12);
  margin-top: clamp(46px, 5vw, 66px); padding-top: 26px;
  display: flex; flex-wrap: wrap; gap: 14px 40px; align-items: center;
}
.trust-item {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: .87rem; font-weight: 500; color: #B9CBDE;
}
.trust-item svg { width: 18px; height: 18px; color: var(--gold-300); flex: none; }
.trust-item b { color: #fff; font-weight: 600; }

/* Breadcrumb */
.breadcrumb {
  display: flex; flex-wrap: wrap; align-items: center; gap: 8px;
  font-size: .82rem; color: #93A9C0; margin-bottom: 22px;
}
.breadcrumb a { color: #B9CBDE; }
.breadcrumb a:hover { color: var(--gold-300); }
.breadcrumb span[aria-current] { color: var(--gold-300); font-weight: 600; }
.breadcrumb .sep { opacity: .5; }

/* --------------------------------------------------------------------------
   8. Cards & components
   -------------------------------------------------------------------------- */
.card {
  background: #fff; border: 1px solid var(--line);
  border-radius: var(--r-lg); padding: 30px 28px;
  position: relative; overflow: hidden;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
}
.card::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: var(--grad-gold); transform: scaleX(0); transform-origin: left;
  transition: transform .38s var(--ease);
}
.card:hover { transform: translateY(-5px); box-shadow: var(--sh-3); border-color: var(--line-soft); }
.card:hover::before { transform: scaleX(1); }
.card h3 { margin-bottom: 12px; }
.card p { font-size: .95rem; line-height: 1.65; }
.card.is-flat:hover { transform: none; box-shadow: var(--sh-1); }
.card.is-flat::before { display: none; }

.card-ico {
  width: 52px; height: 52px; border-radius: 14px; margin-bottom: 20px;
  display: grid; place-items: center;
  background: linear-gradient(140deg, var(--blue-100), #fff);
  border: 1px solid var(--line); color: var(--blue-700);
}
.card-ico svg { width: 24px; height: 24px; }
.card:hover .card-ico {
  background: linear-gradient(140deg, var(--gold-100), #fff);
  color: var(--gold-700); border-color: var(--gold-300);
}

/* Numbered card variant */
.card-num {
  font-family: var(--font-display); font-size: 2.4rem; font-weight: 700;
  line-height: 1; letter-spacing: -0.04em; margin-bottom: 16px;
  background: var(--grad-gold); -webkit-background-clip: text;
  background-clip: text; color: transparent;
}

/* Service card with link */
.service-card { display: flex; flex-direction: column; }
.service-card p { flex: 1; margin-bottom: 18px; }
.service-card .link-arrow { align-self: flex-start; }
.service-card-tag {
  display: inline-block; font-size: .68rem; font-weight: 700;
  letter-spacing: .13em; text-transform: uppercase;
  color: var(--gold-700); margin-bottom: 10px;
}

/* Dark cards (glass) */
.card-glass {
  background: rgba(255,255,255,.055);
  border: 1px solid rgba(255,255,255,.14);
  border-radius: var(--r-lg); padding: 28px 26px;
  backdrop-filter: blur(8px);
  transition: transform .3s var(--ease), background .3s var(--ease), border-color .3s var(--ease);
}
.card-glass:hover {
  transform: translateY(-4px); background: rgba(255,255,255,.095);
  border-color: rgba(200,164,75,.42);
}
.card-glass h3, .card-glass h4 { color: #fff; }
.card-glass p { color: #B9CBDE; font-size: .93rem; line-height: 1.62; }
.card-glass .card-ico {
  background: rgba(200,164,75,.16); border-color: rgba(200,164,75,.34);
  color: var(--gold-300);
}

/* Stats */
.stat-band {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 2px; background: var(--line); border: 1px solid var(--line);
  border-radius: var(--r-lg); overflow: hidden;
}
.stat { background: #fff; padding: 30px 24px; text-align: center; }
.stat-num {
  font-family: var(--font-display); font-size: clamp(2rem, 3.4vw, 2.7rem);
  font-weight: 700; line-height: 1; letter-spacing: -0.035em; color: var(--ink);
}
.stat-num em { font-style: normal; color: var(--gold-600); }
.stat-label {
  font-size: .845rem; color: var(--muted); margin-top: 10px; line-height: 1.45;
}
.bg-dark .stat-band { background: rgba(255,255,255,.14); border-color: rgba(255,255,255,.14); }
.bg-dark .stat { background: transparent; }
.bg-dark .stat-num { color: #fff; }
.bg-dark .stat-num em { color: var(--gold-300); }
.bg-dark .stat-label { color: #A9BDD1; }

/* Icon list (checks) */
.check-list { display: grid; gap: 16px; }
.check-list.is-2col { grid-template-columns: 1fr 1fr; gap: 16px 34px; }
.check-list li { display: flex; gap: 13px; align-items: flex-start; }
.check-ico {
  width: 24px; height: 24px; border-radius: 7px; flex: none; margin-top: 2px;
  display: grid; place-items: center;
  background: var(--gold-100); color: var(--gold-700);
}
.check-ico svg { width: 13px; height: 13px; }
.check-list strong {
  display: block; font-family: var(--font-display); font-weight: 600;
  color: var(--ink); font-size: .985rem; line-height: 1.35; letter-spacing: -0.01em;
}
.check-list span { display: block; font-size: .9rem; line-height: 1.6; margin-top: 4px; }
.bg-dark .check-ico { background: rgba(200,164,75,.18); color: var(--gold-300); }
.bg-dark .check-list strong { color: #fff; }
.bg-dark .check-list span { color: #A9BDD1; }

/* Process steps on a gradient rail */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; position: relative; }
.steps::before {
  content: ""; position: absolute; top: 27px; left: 8%; right: 8%; height: 2px;
  background: linear-gradient(90deg, var(--gold-300), var(--blue-500), var(--gold-300));
  opacity: .38;
}
.step { position: relative; text-align: center; }
.step-num {
  width: 54px; height: 54px; margin: 0 auto 20px; border-radius: 50%;
  display: grid; place-items: center; position: relative; z-index: 1;
  background: #fff; border: 2px solid var(--gold-300);
  font-family: var(--font-display); font-weight: 700; font-size: 1.08rem; color: var(--ink);
  box-shadow: 0 0 0 6px rgba(230,201,120,.14);
}
.step h4 { margin-bottom: 9px; }
.step p { font-size: .9rem; line-height: 1.6; }
.bg-dark .step-num { background: var(--ink-800); color: var(--gold-300); border-color: rgba(230,201,120,.55); }
.bg-dark .step p { color: #A9BDD1; }

/* Chips / pills */
.chip-row { display: flex; flex-wrap: wrap; gap: 10px; }
.chip {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 9px 17px; border-radius: 999px;
  background: #fff; border: 1px solid var(--line);
  font-size: .885rem; font-weight: 500; color: var(--ink-800);
}
.chip svg { width: 14px; height: 14px; color: var(--gold-600); }
.bg-dark .chip, .bg-sand .chip { background: rgba(255,255,255,.9); }
.bg-dark .chip { background: rgba(255,255,255,.07); border-color: rgba(255,255,255,.17); color: #D5E2EF; }
.bg-dark .chip svg { color: var(--gold-300); }

/* Quote */
.quote {
  position: relative; padding: 34px 34px 34px 44px;
  border-left: 3px solid var(--gold-500);
  background: var(--grad-sand); border-radius: 0 var(--r) var(--r) 0;
}
.quote p {
  font-family: var(--font-serif); font-style: italic;
  font-size: clamp(1.1rem, 1.7vw, 1.34rem); line-height: 1.6; color: var(--ink);
}
.quote cite {
  display: block; margin-top: 18px; font-family: var(--font-body);
  font-style: normal; font-size: .875rem; font-weight: 600; color: var(--muted);
}
.quote cite b { color: var(--ink); display: block; font-weight: 700; }

/* Credential strip */
.cred-strip {
  display: flex; flex-wrap: wrap; justify-content: center; align-items: center;
  gap: 14px 20px;
}
.cred {
  display: inline-flex; align-items: center; gap: 11px;
  padding: 13px 22px; border-radius: 999px;
  background: #fff; border: 1px solid var(--line); box-shadow: var(--sh-1);
}
.cred svg { width: 19px; height: 19px; color: var(--gold-600); flex: none; }
.cred b {
  font-family: var(--font-display); font-size: .93rem; color: var(--ink);
  font-weight: 600; letter-spacing: -0.01em;
}
.cred span { font-size: .8rem; color: var(--muted); }

/* Accordion */
.accordion { border-top: 1px solid var(--line); }
.acc-item { border-bottom: 1px solid var(--line); }
.acc-trigger {
  display: flex; align-items: flex-start; justify-content: space-between; gap: 22px;
  width: 100%; padding: 24px 0; text-align: left;
  font-family: var(--font-display); font-weight: 600; font-size: 1.05rem;
  color: var(--ink); line-height: 1.4; letter-spacing: -0.012em;
  transition: color .2s var(--ease);
}
.acc-trigger:hover { color: var(--blue-700); }
.acc-sign {
  width: 30px; height: 30px; border-radius: 50%; flex: none; margin-top: 1px;
  display: grid; place-items: center;
  border: 1px solid var(--line); color: var(--gold-700); background: var(--gold-100);
  transition: transform .3s var(--ease), background .25s var(--ease);
}
.acc-sign svg { width: 14px; height: 14px; }
.acc-trigger[aria-expanded="true"] .acc-sign { transform: rotate(45deg); background: var(--blue-100); color: var(--blue-700); }
/* Panels are open by default so the answers are readable — and indexable —
   without JavaScript. The `js` class is set by an inline script in <head>,
   so the collapsed state applies before first paint (no flash of open FAQs).
   Height is animated in px by site.js; the grid 0fr/1fr technique is not
   reliable enough across engines to depend on here. */
.acc-panel { overflow: hidden; transition: height .32s var(--ease); }
html.js .acc-panel { height: 0; }
.acc-panel > div { overflow: hidden; }
.acc-panel p { padding-bottom: 24px; font-size: .96rem; max-width: 78ch; }
.acc-panel p + p { padding-top: 0; margin-top: -10px; }

/* CTA band */
.cta-band { position: relative; overflow: hidden; }
.cta-inner {
  display: grid; grid-template-columns: 1.35fr auto; gap: 40px; align-items: center;
}
.cta-inner h2 { color: #fff; }
.cta-inner p { color: #B9CBDE; margin-top: 16px; max-width: 56ch; }

/* Post cards */
.post-card {
  display: flex; flex-direction: column; overflow: hidden;
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.post-card:hover { transform: translateY(-5px); box-shadow: var(--sh-3); }
.post-thumb { aspect-ratio: 16/10; overflow: hidden; background: var(--paper); }
.post-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .55s var(--ease); }
.post-card:hover .post-thumb img { transform: scale(1.05); }
.post-body { padding: 24px 24px 26px; display: flex; flex-direction: column; flex: 1; }
.post-meta {
  display: flex; flex-wrap: wrap; align-items: center; gap: 8px;
  font-size: .755rem; font-weight: 600; letter-spacing: .07em;
  text-transform: uppercase; color: var(--muted); margin-bottom: 12px;
}
.post-meta .tag { color: var(--gold-700); }
.post-meta .dot { opacity: .45; }
.post-card h3 { font-size: 1.14rem; margin-bottom: 11px; }
.post-card h3 a { color: var(--ink); }
.post-card:hover h3 a { color: var(--blue-700); }
.post-card p { font-size: .92rem; line-height: 1.62; flex: 1; margin-bottom: 18px; }

/* Resource / link tiles */
.tile {
  display: flex; gap: 18px; align-items: flex-start;
  padding: 26px 24px; border-radius: var(--r-lg);
  background: #fff; border: 1px solid var(--line);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
}
.tile:hover { transform: translateY(-4px); box-shadow: var(--sh-2); border-color: var(--gold-300); }
.tile h3 { font-size: 1.06rem; margin-bottom: 8px; }
.tile p { font-size: .9rem; line-height: 1.6; }
.tile .card-ico { margin-bottom: 0; width: 46px; height: 46px; }
.tile .card-ico svg { width: 21px; height: 21px; }

/* Media panel with overlay caption */
.media-panel { position: relative; border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--sh-3); }
.media-panel img { width: 100%; height: 100%; object-fit: cover; }
.media-panel-cap {
  position: absolute; inset: auto 0 0 0; padding: 30px 28px 26px;
  background: linear-gradient(to top, rgba(7,22,40,.94), rgba(7,22,40,.55) 55%, transparent);
  color: #fff;
}
.media-panel-cap h3 { color: #fff; font-size: 1.2rem; margin-bottom: 6px; }
.media-panel-cap p { color: #C3D3E4; font-size: .88rem; }

/* Feature block (Donna) */
.person {
  display: grid; grid-template-columns: 300px 1fr;
  gap: clamp(28px, 4vw, 56px); align-items: center;
}
.person-photo { position: relative; }
.person-photo img {
  width: 100%; aspect-ratio: 1/1; object-fit: cover; object-position: center 18%;
  border-radius: var(--r-lg); box-shadow: var(--sh-3);
}
.person-photo::after {
  content: ""; position: absolute; inset: auto -14px -14px auto;
  width: 62%; height: 62%; border-radius: var(--r-lg);
  background: var(--grad-gold); opacity: .16; z-index: -1;
}
.person-name { font-size: clamp(1.5rem, 2.4vw, 2rem); margin-bottom: 6px; }
.person-role {
  font-size: .95rem; font-weight: 600; color: var(--gold-700);
  letter-spacing: .02em; margin-bottom: 20px;
}
.bg-dark .person-role { color: var(--gold-300); }

/* Timeline */
.timeline { position: relative; padding-left: 34px; }
.timeline::before {
  content: ""; position: absolute; left: 8px; top: 8px; bottom: 8px; width: 2px;
  background: linear-gradient(180deg, var(--gold-300), var(--blue-500), transparent);
}
.tl-item { position: relative; padding-bottom: 34px; }
.tl-item:last-child { padding-bottom: 0; }
.tl-item::before {
  content: ""; position: absolute; left: -30px; top: 7px;
  width: 12px; height: 12px; border-radius: 50%;
  background: #fff; border: 2.5px solid var(--gold-500);
  box-shadow: 0 0 0 4px rgba(230,201,120,.18);
}
.tl-date {
  font-size: .76rem; font-weight: 700; letter-spacing: .11em;
  text-transform: uppercase; color: var(--gold-700); margin-bottom: 6px;
}
.tl-item h4 { margin-bottom: 3px; }
.tl-org { font-size: .9rem; font-weight: 600; color: var(--blue-700); margin-bottom: 8px; }
.tl-item p { font-size: .92rem; line-height: 1.62; }

/* Tables */
.table-wrap {
  overflow-x: auto; border: 1px solid var(--line);
  border-radius: var(--r); background: #fff; -webkit-overflow-scrolling: touch;
}
.table-wrap table { min-width: 620px; }
th, td { padding: 15px 20px; text-align: left; font-size: .92rem; vertical-align: top; }
thead th {
  background: var(--paper); font-family: var(--font-display); font-weight: 600;
  font-size: .8rem; letter-spacing: .05em; text-transform: uppercase;
  color: var(--ink); border-bottom: 1px solid var(--line); white-space: nowrap;
}
tbody tr + tr td { border-top: 1px solid var(--line-soft); }
tbody tr:hover td { background: var(--paper); }
td strong { color: var(--ink); font-weight: 600; }
.td-date { white-space: nowrap; font-weight: 600; color: var(--ink); font-variant-numeric: tabular-nums; }

.filter-row { display: flex; flex-wrap: wrap; gap: 9px; margin-bottom: 26px; }
.filter-btn {
  padding: 9px 18px; border-radius: 999px; border: 1px solid var(--line);
  background: #fff; font-size: .875rem; font-weight: 600; color: var(--body);
  transition: all .2s var(--ease);
}
.filter-btn:hover { border-color: var(--blue-500); color: var(--blue-700); }
.filter-btn.is-active { background: var(--ink); border-color: var(--ink); color: #fff; }

.note {
  display: flex; gap: 13px; align-items: flex-start;
  padding: 18px 22px; border-radius: var(--r);
  background: var(--gold-100); border: 1px solid rgba(200,164,75,.35);
  font-size: .89rem; line-height: 1.6; color: #6B5615;
}
.note svg { width: 19px; height: 19px; flex: none; color: var(--gold-700); margin-top: 2px; }
.note strong { color: #4E3F0F; }
.note.is-blue { background: var(--blue-100); border-color: rgba(46,123,209,.28); color: #244A73; }
.note.is-blue svg { color: var(--blue-700); }
.note.is-blue strong { color: #16334F; }

/* --------------------------------------------------------------------------
   9. Forms
   -------------------------------------------------------------------------- */
.form-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: clamp(26px, 3.4vw, 42px); box-shadow: var(--sh-2);
}
.field { margin-bottom: 20px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.field label {
  display: block; font-size: .84rem; font-weight: 600;
  color: var(--ink); margin-bottom: 7px;
}
.field label .req { color: #C0392B; }
.field input, .field select, .field textarea {
  width: 100%; padding: 13px 16px; border-radius: var(--r-sm);
  border: 1.5px solid var(--line); background: #fff; font-size: .95rem;
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.field textarea { min-height: 132px; resize: vertical; }
.field select { appearance: none; cursor: pointer;
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236B7C93' stroke-width='2.2' stroke-linecap='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center; background-size: 17px;
  padding-right: 42px;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--blue-500);
  box-shadow: 0 0 0 4px rgba(46,123,209,.13);
}
.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: #C0392B; }
.field-error { display: none; font-size: .8rem; color: #C0392B; margin-top: 6px; font-weight: 500; }
.field.has-error .field-error { display: block; }
.form-note { font-size: .8rem; color: var(--muted); line-height: 1.55; margin-top: 16px; }
.form-status {
  display: none; margin-top: 18px; padding: 16px 20px;
  border-radius: var(--r-sm); font-size: .9rem; font-weight: 500;
}
.form-status.is-visible { display: block; }
.form-status.is-ok { background: var(--blue-100); color: #16334F; border: 1px solid rgba(46,123,209,.3); }

.contact-list { display: grid; gap: 22px; }
.contact-row { display: flex; gap: 15px; align-items: flex-start; }
.contact-row .card-ico { margin-bottom: 0; width: 44px; height: 44px; flex: none; }
.contact-row .card-ico svg { width: 20px; height: 20px; }
.contact-row h4 { font-size: .93rem; margin-bottom: 3px; }
.contact-row p, .contact-row a { font-size: .95rem; line-height: 1.55; }

/* --------------------------------------------------------------------------
   10. Article / prose
   -------------------------------------------------------------------------- */
.article-layout {
  display: grid; grid-template-columns: minmax(0,1fr) 268px;
  gap: clamp(34px, 5vw, 68px); align-items: start;
}
.prose { max-width: 72ch; font-size: 1.055rem; line-height: 1.78; }
.prose > * + * { margin-top: 24px; }
.prose h2 { font-size: clamp(1.45rem, 2.3vw, 1.85rem); margin-top: 52px; scroll-margin-top: 110px; }
.prose h3 { font-size: 1.19rem; margin-top: 38px; scroll-margin-top: 110px; }
.prose h2 + p, .prose h3 + p { margin-top: 14px; }
.prose ul, .prose ol { display: grid; gap: 12px; padding-left: 4px; }
.prose ul li { position: relative; padding-left: 28px; }
.prose ul li::before {
  content: ""; position: absolute; left: 4px; top: .66em;
  width: 8px; height: 8px; border-radius: 50%; background: var(--grad-gold);
}
.prose ol { counter-reset: n; }
.prose ol li { position: relative; padding-left: 36px; counter-increment: n; }
.prose ol li::before {
  content: counter(n); position: absolute; left: 0; top: .06em;
  width: 24px; height: 24px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--blue-100); color: var(--blue-700);
  font-size: .76rem; font-weight: 700; font-family: var(--font-display);
}
.prose strong { color: var(--ink); font-weight: 600; }
.prose a { text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--gold-300); }
.prose img { border-radius: var(--r); box-shadow: var(--sh-2); }
.prose .quote { margin-block: 38px; }
.prose hr { border: 0; height: 1px; background: var(--line); margin-block: 44px; }

.takeaway {
  background: var(--grad-sand); border: 1px solid rgba(200,164,75,.32);
  border-radius: var(--r-lg); padding: 28px 30px; margin-block: 38px;
}
.takeaway h4 {
  display: flex; align-items: center; gap: 10px; margin-bottom: 16px;
  font-size: .78rem; font-weight: 700; letter-spacing: .14em;
  text-transform: uppercase; color: var(--gold-700); font-family: var(--font-body);
}
.takeaway h4 svg { width: 17px; height: 17px; }
.takeaway ul { display: grid; gap: 11px; }
.takeaway li { position: relative; padding-left: 26px; font-size: .97rem; line-height: 1.62; }
.takeaway li::before {
  content: ""; position: absolute; left: 2px; top: .6em;
  width: 7px; height: 7px; border-radius: 50%; background: var(--gold-500);
}

.toc {
  position: sticky; top: calc(var(--header-h) + 22px);
  border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 24px 22px; background: var(--paper);
}
.toc h4 {
  font-family: var(--font-body); font-size: .72rem; font-weight: 700;
  letter-spacing: .15em; text-transform: uppercase; color: var(--gold-700);
  margin-bottom: 14px;
}
.toc ol { display: grid; gap: 4px; }
.toc a {
  display: block; padding: 7px 12px; border-radius: 8px;
  font-size: .875rem; line-height: 1.45; color: var(--body);
  border-left: 2px solid transparent; transition: all .2s var(--ease);
}
.toc a:hover { background: #fff; color: var(--blue-700); }
.toc a.is-active {
  background: #fff; color: var(--blue-700); font-weight: 600;
  border-left-color: var(--gold-500);
}

.author-card {
  display: flex; gap: 20px; align-items: center;
  padding: 26px 28px; border-radius: var(--r-lg);
  background: var(--paper); border: 1px solid var(--line); margin-top: 48px;
}
.author-card img {
  width: 74px; height: 74px; border-radius: 50%; object-fit: cover;
  object-position: center 18%; flex: none; box-shadow: var(--sh-1);
}
.author-card h4 { font-size: 1.02rem; margin-bottom: 2px; }
.author-card .role { font-size: .82rem; font-weight: 600; color: var(--gold-700); margin-bottom: 8px; }
.author-card p { font-size: .89rem; line-height: 1.58; }

.article-hero-img {
  width: 100%; aspect-ratio: 21/9; object-fit: cover;
  border-radius: var(--r-lg); box-shadow: var(--sh-3);
  margin-top: -60px; position: relative; z-index: 3;
}

/* --------------------------------------------------------------------------
   11. Footer
   -------------------------------------------------------------------------- */
.site-footer {
  background: #071A2E;
  background-image: linear-gradient(165deg, #071A2E 0%, #0A2540 58%, #0F3358 100%);
  color: #9FB3C8; position: relative; overflow: hidden;
  padding-top: clamp(60px, 7vw, 88px);
}
.site-footer::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(700px 380px at 88% -12%, rgba(200,164,75,.15), transparent 62%);
}
.site-footer > * { position: relative; z-index: 1; }
.footer-top {
  display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: clamp(30px, 4vw, 54px); padding-bottom: 52px;
}
.footer-brand p { font-size: .92rem; line-height: 1.68; color: #9FB3C8; margin-top: 20px; max-width: 34ch; }
.footer-col h4 {
  font-family: var(--font-body); color: #fff; font-size: .755rem; font-weight: 700;
  letter-spacing: .15em; text-transform: uppercase; margin-bottom: 18px;
}
.footer-col ul { display: grid; gap: 11px; }
.footer-col a { font-size: .91rem; color: #9FB3C8; transition: color .2s var(--ease), padding-left .2s var(--ease); }
.footer-col a:hover { color: var(--gold-300); padding-left: 4px; }

.footer-contact { display: grid; gap: 13px; margin-top: 22px; }
.footer-contact li { display: flex; gap: 11px; align-items: flex-start; font-size: .91rem; }
.footer-contact svg { width: 17px; height: 17px; color: var(--gold-500); flex: none; margin-top: 3px; }
.footer-contact a { color: #C3D3E4; }
.footer-contact a:hover { color: var(--gold-300); }

.footer-social { display: flex; gap: 10px; margin-top: 24px; }
.footer-social a {
  width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center;
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12);
  color: #C3D3E4; transition: all .25s var(--ease);
}
.footer-social a:hover { background: var(--grad-gold); color: var(--ink); border-color: transparent; transform: translateY(-2px); }
.footer-social svg { width: 18px; height: 18px; }

.footer-disclaimer {
  border-top: 1px solid rgba(255,255,255,.1);
  padding: 26px 0; font-size: .8rem; line-height: 1.65; color: #7D93AA;
}
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1);
  padding: 22px 0 26px;
  display: flex; flex-wrap: wrap; gap: 12px 26px;
  align-items: center; justify-content: space-between;
  font-size: .83rem; color: #7D93AA;
}
.footer-bottom nav { display: flex; flex-wrap: wrap; gap: 12px 22px; }
.footer-bottom a { color: #7D93AA; }
.footer-bottom a:hover { color: var(--gold-300); }

/* --------------------------------------------------------------------------
   12. Motion
   -------------------------------------------------------------------------- */
/* Content is visible by default and only hidden once JS is confirmed present
   (the `js` class is set inline in <head>). A reveal animation must never be
   able to leave the page blank — see the failsafe in site.js. */
.reveal {
  transition: opacity .68s var(--ease), transform .68s var(--ease);
  will-change: opacity, transform;
}
html.js .reveal { opacity: 0; transform: translateY(22px); }
html.js .reveal.is-in { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: .09s; }
.reveal[data-delay="2"] { transition-delay: .18s; }
.reveal[data-delay="3"] { transition-delay: .27s; }
.reveal[data-delay="4"] { transition-delay: .36s; }

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

/* --------------------------------------------------------------------------
   13. Responsive
   -------------------------------------------------------------------------- */
@media (max-width: 1180px) {
  .mega-grid { grid-template-columns: repeat(3, 1fr); }
  .mega-promo { grid-column: 1 / -1; flex-direction: row; align-items: center; gap: 26px; }
  .mega-promo .btn { margin-top: 0; }
  .mega-promo p { flex: 1; }
  .header-phone { display: none; }
}

@media (max-width: 1023px) {
  :root { --header-h: 72px; }
  .primary-nav, .header-cta .btn { display: none; }
  .nav-toggle { display: flex; }
  .header-inner { gap: 14px; }
  .header-cta { margin-left: auto; }
  .g-4 { grid-template-columns: repeat(2, 1fr); }
  .g-3 { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); gap: 34px 26px; }
  .steps::before { display: none; }
  .stat-band { grid-template-columns: repeat(2, 1fr); }
  .split { grid-template-columns: 1fr; gap: 36px; }
  .split.is-reverse .split-media { order: 0; }
  .article-layout { grid-template-columns: 1fr; }
  .toc { position: static; margin-bottom: 34px; }
  .cta-inner { grid-template-columns: 1fr; gap: 28px; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 767px) {
  body { font-size: 16px; }
  .g-2, .g-3, .g-4 { grid-template-columns: 1fr; }
  .check-list.is-2col { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; gap: 28px; }
  .stat-band { grid-template-columns: 1fr; }
  .person { grid-template-columns: 1fr; }
  .person-photo { max-width: 260px; }
  .field-row { grid-template-columns: 1fr; gap: 0; }
  .footer-top { grid-template-columns: 1fr; }
  .btn-row .btn { width: 100%; }
  .trust-strip { gap: 14px 24px; }
  .author-card { flex-direction: column; align-items: flex-start; text-align: left; }
  .article-hero-img { margin-top: -32px; aspect-ratio: 16/9; }
  .quote { padding: 26px 24px 26px 28px; }
  .prose { font-size: 1rem; }
}

@media (max-width: 420px) {
  .logo-word { font-size: 1.14rem; }
  .logo-mark { width: 38px; height: 38px; }
  .logo-sub { letter-spacing: .16em; }
}

@media print {
  .site-header, .site-footer, .cta-band, .drawer, .toc { display: none !important; }
  body { color: #000; font-size: 12pt; }
  .reveal { opacity: 1; transform: none; }
}
