/*
Theme Name:  Resilience Mitigation
Theme URI:   https://resiliencemitigation.com
Author:      Resilience Mitigation Consulting
Description: One-page emergency management consulting site for ResilienceMitigation.com. Activates immediately — no page setup required. Front-page + editorial blog included.
Version:     3.1.0
License:     GNU General Public License v2 or later
Text Domain: rm
*/

/* ════════════════════════════════════════════════════════
   BRAND TOKENS
════════════════════════════════════════════════════════ */
:root {
  /* Core palette */
  --brand:          #1800ad;
  --brand-mid:      #2215cc;
  --brand-dim:      #130094;
  --gold:           #f5c950;
  --gold-deep:      #d4a020;
  --gold-pale:      #fef7e0;
  --gold-glow:      rgba(245,201,80,.12);

  /* Dark surfaces */
  --dark:           #07041a;
  --dark-alt:       #0d0927;
  --dark-card:      #110d2e;
  --dark-mid:       #17103e;
  --dark-border:    rgba(255,255,255,.07);

  /* Light surfaces */
  --white:          #ffffff;
  --off-white:      #fafaf9;
  --light-alt:      #f6f4ff;
  --light-border:   rgba(24,0,173,.10);

  /* Text */
  --text-dark:      #18133a;
  --text-body:      #4a4370;
  --text-muted:     #8b85a0;
  --text-faint:     #bdb8cc;

  /* Sizing */
  --r:    14px;
  --r-sm:  8px;
  --r-xs:  6px;

  /* Typography */
  --font-display: 'Fraunces', Georgia, serif;
  --font-body:    'Plus Jakarta Sans', system-ui, sans-serif;
  --font-mono:    'JetBrains Mono', 'Courier New', monospace;
}

/* ════════════════════════════════════════════════════════
   SKIP LINK (WCAG 2.1 2.4.1)
   Off-screen until focused; slides in for keyboard users.
════════════════════════════════════════════════════════ */
.skip-link {
  position: absolute;
  top: -100%;
  left: 0;
  z-index: 9999;
  padding: 12px 24px;
  background: var(--brand);
  color: white;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  border-radius: 0 0 var(--r-sm) 0;
  transition: top .15s ease;
}
.skip-link:focus {
  top: 0;
  outline: 3px solid var(--gold);
  outline-offset: 2px;
}

/* ════════════════════════════════════════════════════════
   RESET & BASE
════════════════════════════════════════════════════════ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; overflow-x: hidden; }
body {
  font-family: var(--font-body);
  color: var(--text-dark);
  background: var(--white);
  overflow-x: hidden;
  max-width: 100vw;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
section { width: 100%; }
/* ── Global overflow containment ──
   Every major section is explicitly prevented from contributing
   to horizontal page overflow. This is the nuclear prevention layer. */
#hero, #stats, #marquee-strip, #gap, #services,
#audience, #process, #about, #resources-preview,
#contact, #site-footer {
  overflow-x: hidden;
  max-width: 100%;
}
img, svg { display: block; max-width: 100%; }
a { text-decoration: none; color: var(--brand); transition: color .2s; }
button { cursor: pointer; font-family: var(--font-body); }
ul, ol { list-style: none; }

/* ════════════════════════════════════════════════════════
   TYPOGRAPHY SCALE
════════════════════════════════════════════════════════ */
h1, h2, h3, h4, h5 {
  font-family: var(--font-display);
  line-height: 1.08;
  letter-spacing: -.025em;
}
h1 { font-size: clamp(44px, 6.5vw, 88px); font-weight: 900; }
h2 { font-size: clamp(28px, 3.8vw, 52px); font-weight: 700; }
h3 { font-size: clamp(20px, 2.2vw, 28px); font-weight: 700; }
h4 { font-size: 18px; font-weight: 700; }
h5 { font-size: 14px; font-weight: 700; letter-spacing: .01em; }
p  { line-height: 1.75; color: var(--text-body); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 11px; font-weight: 700; letter-spacing: .14em;
  text-transform: uppercase; color: var(--brand);
  margin-bottom: 18px;
}
.eyebrow::before {
  content: ''; width: 22px; height: 2px; background: currentColor; flex-shrink: 0;
}
.eyebrow--gold { color: var(--gold); }
.eyebrow--muted { color: var(--text-muted); }

/* ════════════════════════════════════════════════════════
   LAYOUT
════════════════════════════════════════════════════════ */
.wrap { max-width: 1200px; margin: 0 auto; padding: 0 48px; }
.wrap--narrow { max-width: 860px; margin: 0 auto; padding: 0 48px; }
.section { padding: 110px 0; }
.section--sm { padding: 72px 0; }

/* Surface variants */
.bg-dark     { background: var(--dark); }
.bg-dark-alt { background: var(--dark-alt); }
.bg-white    { background: var(--white); }
.bg-lite     { background: var(--light-alt); }
.bg-brand    { background: var(--brand); }
.bg-off      { background: var(--off-white); }

/* Grid helpers */
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }

/* ════════════════════════════════════════════════════════
   BUTTONS
════════════════════════════════════════════════════════ */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-body); font-weight: 700; font-size: 14px;
  padding: 14px 28px; border-radius: var(--r-sm); border: none;
  transition: all .2s ease; cursor: pointer; text-decoration: none;
  letter-spacing: .01em; white-space: nowrap;
}
.btn--gold         { background: var(--gold); color: var(--dark); }
.btn--gold:hover   { background: #ffd660; transform: translateY(-2px); box-shadow: 0 8px 24px rgba(245,201,80,.35); color: var(--dark); }
.btn--outline      { background: transparent; border: 1.5px solid rgba(255,255,255,.22); color: white; }
.btn--outline:hover{ border-color: var(--gold); color: var(--gold); }
.btn--brand        { background: var(--brand); color: white; }
.btn--brand:hover  { background: var(--brand-mid); transform: translateY(-2px); color: white; }
.btn--ghost        { background: rgba(255,255,255,.06); color: rgba(255,255,255,.75); border: 1px solid var(--dark-border); }
.btn--ghost:hover  { background: rgba(255,255,255,.1); color: white; }
.btn--sm { padding: 10px 20px; font-size: 13px; border-radius: var(--r-xs); }

/* ════════════════════════════════════════════════════════
   ANIMATIONS
════════════════════════════════════════════════════════ */
@keyframes fadeUp {
  from { opacity:0; transform:translateY(30px); }
  to   { opacity:1; transform:translateY(0); }
}
@keyframes pulse-gold {
  0%,100% { box-shadow: 0 0 0 0 rgba(245,201,80,.4); }
  50%      { box-shadow: 0 0 0 12px rgba(245,201,80,0); }
}
@keyframes spin-slow { to { transform: rotate(360deg); } }

.fade-up { opacity: 0; transform: translateY(30px); transition: opacity .7s ease, transform .7s ease; }
.fade-up.in-view { opacity: 1; transform: translateY(0); }
.d1 { transition-delay: .08s; } .d2 { transition-delay: .18s; }
.d3 { transition-delay: .28s; } .d4 { transition-delay: .38s; }

/* ════════════════════════════════════════════════════════
   NAV
════════════════════════════════════════════════════════ */
#site-nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  height: 72px;
  /* NO overflow:hidden here — it clips the hamburger button */
  transition: background .35s, box-shadow .35s;
}
.nav-inner {
  max-width: 1200px; margin: 0 auto; padding: 0 48px;
  height: 100%; display: flex; align-items: center; justify-content: space-between;
  position: relative;
}
#site-nav.scrolled {
  background: rgba(7,4,26,.96);
  backdrop-filter: blur(20px) saturate(180%);
  box-shadow: 0 1px 0 rgba(255,255,255,.05), 0 8px 32px rgba(0,0,0,.4);
}
.nav-logo { height: 44px; width: auto; display: block; object-fit: contain; }
.nav-brand { display: flex; align-items: center; text-decoration: none; }

/* Desktop nav links */
.nav-links { list-style: none; display: flex; align-items: center; gap: 28px; }
.nav-links a { font-size: 13px; font-weight: 500; color: rgba(255,255,255,.65); transition: color .2s; text-decoration: none; }
.nav-links a:hover { color: var(--gold); }
.nav-cta-item { margin-left: 4px; }
.nav-cta {
  background: var(--gold) !important; color: var(--dark) !important;
  padding: 9px 20px; border-radius: var(--r-xs);
  font-weight: 700 !important; font-size: 13px !important;
  transition: all .2s !important; white-space: nowrap; display: inline-block;
}
.nav-cta:hover { transform: translateY(-1px); box-shadow: 0 4px 16px rgba(245,201,80,.35) !important; }

/* ── HAMBURGER BUTTON ─────────────────────────────────
   44×44 touch target (WCAG 2.5.5). Hidden on desktop.
   .is-active applied by JS → bars animate to ×.
──────────────────────────────────────────────────── */
.nav-hamburger {
  /* Desktop: fully suppressed.
     display:none alone can leave a 1px artifact in some Chromium builds
     when gap/flex properties are present. visibility + overflow are
     belt-and-suspenders insurance. */
  display: none;
  visibility: hidden;
  overflow: hidden;
  pointer-events: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 44px; height: 44px;
  background: none; border: none; padding: 0;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  position: relative; z-index: 1010;
}
.ham-bar {
  display: block;
  width: 24px; height: 2px;
  background: white; border-radius: 2px;
  transition: transform .28s ease, opacity .18s ease, width .18s ease;
  transform-origin: center;
}
.nav-hamburger.is-active .ham-bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-hamburger.is-active .ham-bar:nth-child(2) { opacity: 0; width: 0; }
.nav-hamburger.is-active .ham-bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Scroll lock while mobile menu is open */
body.nav-open { overflow: hidden; } /* desktop lock; iOS locked via touchmove in main.js */

/* Blog masthead */
.masthead-logo { height: 38px; width: auto; display: block; object-fit: contain; }
.masthead-divider { width: 1px; height: 28px; background: rgba(255,255,255,.12); margin: 0 16px; flex-shrink: 0; }
.masthead-pub { line-height: 1.2; }
.masthead-pub-name { font-family: var(--font-display); font-weight: 700; font-size: 14px; color: white; }
.masthead-pub-desc { font-size: 9px; color: var(--text-muted); letter-spacing: .06em; text-transform: uppercase; }

/* ════════════════════════════════════════════════════════
   HERO
   The hero uses .wrap directly in HTML (same class as all sections).
   .hero-wrap adds only the vertical padding. Zero custom centering logic.
════════════════════════════════════════════════════════ */
#hero {
  min-height: 100vh;
  background: var(--dark);
  position: relative;
  overflow: hidden;        /* clip absolute-positioned glows and geo */
  max-width: 100%;         /* never wider than viewport */
}
/* Dot grid texture */
#hero::before {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background-image: radial-gradient(circle, rgba(245,201,80,.18) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 20%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 20%, transparent 100%);
}
/* Glows — kept strictly within hero bounds */
.hero-glow-l {
  position: absolute; top: 0; left: 0; width: 55%; height: 70%;
  background: radial-gradient(ellipse, rgba(24,0,173,.6) 0%, transparent 65%);
  pointer-events: none;
}
.hero-glow-r {
  position: absolute; bottom: 0; right: 0; width: 32%; height: 52%;
  background: radial-gradient(ellipse, rgba(245,201,80,.05) 0%, transparent 65%);
  pointer-events: none;
}
/* Decorative geometry — hidden on mobile */
.hero-geo {
  position: absolute; right: 5%; top: 50%; transform: translateY(-50%);
  width: 320px; height: 320px; pointer-events: none; opacity: .06;
}
/* .hero-wrap is added alongside .wrap in the HTML.
   It only adds vertical padding — horizontal alignment comes from .wrap. */
.hero-wrap {
  padding-top: 144px;
  padding-bottom: 100px;
  position: relative;
  z-index: 2;
}
/* Hero content — max-width for readability on headline/body only */
.hero-content { max-width: 780px; }
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 11px; font-weight: 700; letter-spacing: .16em;
  text-transform: uppercase; color: var(--gold); margin-bottom: 28px;
}
.hero-eyebrow::before { content: ''; width: 28px; height: 1.5px; background: var(--gold); flex-shrink: 0; }
.hero-h1 {
  font-size: clamp(44px, 6.5vw, 88px); font-weight: 900;
  line-height: 1.02; letter-spacing: -.03em; color: white; margin-bottom: 28px;
}
.hero-h1 em { font-style: italic; color: var(--gold); display: block; }
.hero-sub {
  font-size: 18px; line-height: 1.78; color: rgba(255,255,255,.58);
  max-width: 560px; margin-bottom: 44px;
}
.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; }
/* Creds — outside .hero-content, inside .hero-wrap, uses full .wrap width.
   flex-wrap: nowrap holds 3 pills in a single row on desktop. */
.hero-creds {
  margin-top: 52px;
  padding-top: 28px;
  border-top: 1px solid rgba(255,255,255,.07);
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  gap: 0 40px;
  align-items: center;
}
/* Each pill is a BLOCK on mobile so <strong> and text flow inline — not flex columns.
   On desktop flex is fine since pills sit side-by-side and don't wrap. */
.cred-pill {
  /* inline — NOT flex. Keeps dot + <strong> + text as a single inline flow.
     On desktop the outer .hero-creds is a row, so pills sit side by side naturally. */
  display: inline;
  font-size: 12px; color: rgba(255,255,255,.35);
  white-space: nowrap;
}
/* Dot: inline-block so it sits in the text flow without creating a flex column */
.cred-pill::before {
  content: ''; display: inline-block; vertical-align: middle;
  width: 5px; height: 5px; border-radius: 50%; background: var(--gold);
  margin-right: 7px; flex-shrink: 0;
}
.cred-pill strong { color: rgba(255,255,255,.55); font-weight: 600; }

/* ════════════════════════════════════════════════════════
   MARQUEE STRIP
════════════════════════════════════════════════════════ */
#marquee-strip {
  background: #0d0927;                            /* dark-alt hardcoded, not a variable */
  border-top: 1px solid rgba(245,201,80,.12);
  border-bottom: 1px solid rgba(245,201,80,.12);
  padding: 14px 0;
  overflow: hidden;
  max-width: 100%;
  position: relative;
}
.marquee-track { display: flex; gap: 0; white-space: nowrap; animation: marquee-scroll 32s linear infinite; }
@keyframes marquee-scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.marquee-item {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  color: rgba(245,201,80,.55); padding: 0 32px;
}
.marquee-dot { width: 4px; height: 4px; background: rgba(245,201,80,.3); border-radius: 50%; flex-shrink: 0; }

/* ════════════════════════════════════════════════════════
   STATS
════════════════════════════════════════════════════════ */
#stats {
  background: var(--dark-alt); padding: 96px 0;
  border-bottom: 1px solid rgba(245,201,80,.1);
}
.stats-intro { margin-bottom: 60px; }
.stats-intro h2 { color: white; max-width: 560px; }
.stats-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  border: 1px solid rgba(255,255,255,.06); border-radius: var(--r); overflow: hidden;
  background: rgba(255,255,255,.025);
}
.stat-card {
  padding: 44px 32px 40px; border-right: 1px solid rgba(255,255,255,.06);
  position: relative; overflow: hidden; transition: background .3s;
}
.stat-card:last-child { border-right: none; }
.stat-card:hover { background: rgba(255,255,255,.03); }
.stat-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, var(--gold) 0%, transparent 100%);
  transform: scaleX(0); transform-origin: left; transition: transform .4s;
}
.stat-card:hover::before { transform: scaleX(1); }
.stat-icon { margin-bottom: 20px; opacity: .5; }
.stat-num {
  font-family: var(--font-display); font-size: clamp(44px, 4.5vw, 68px);
  font-weight: 900; color: var(--gold); line-height: 1; margin-bottom: 16px;
}
.stat-num sup { font-size: .42em; vertical-align: super; }
.stat-label { font-size: 14px; line-height: 1.65; color: rgba(255,255,255,.45); }
.stat-label strong { display: block; font-size: 14px; font-weight: 600; color: rgba(255,255,255,.78); margin-bottom: 6px; }

/* ════════════════════════════════════════════════════════
   THE GAP (problem section)
════════════════════════════════════════════════════════ */
#gap { background: var(--white); }
.gap-text h2 { color: var(--text-dark); margin-bottom: 24px; }
.gap-text h2 em { font-style: italic; color: var(--brand); }
.gap-body { font-size: 17px; line-height: 1.82; color: var(--text-body); }
.gap-body p + p { margin-top: 18px; }
.pull-quote {
  margin: 36px 0; padding: 28px 36px;
  border-left: 3px solid var(--gold);
  background: linear-gradient(135deg, var(--gold-pale) 0%, var(--light-alt) 100%);
  border-radius: 0 var(--r-sm) var(--r-sm) 0;
}
.pull-quote p {
  font-family: var(--font-display); font-size: 21px; font-style: italic;
  line-height: 1.5; color: var(--text-dark);
}
/* Illustrated placeholder */
.gap-illustration {
  position: relative; border-radius: var(--r); overflow: hidden;
  background: linear-gradient(145deg, var(--light-alt) 0%, #ede8ff 100%);
  border: 1px solid var(--light-border);
  aspect-ratio: 4/3; display: flex; align-items: center; justify-content: center;
}

/* ════════════════════════════════════════════════════════
   SERVICES
════════════════════════════════════════════════════════ */
#services { background: var(--dark); }
.services-header { margin-bottom: 56px; }
.services-header h2 { color: white; margin-bottom: 16px; }
.services-header p { color: rgba(255,255,255,.5); max-width: 560px; font-size: 17px; line-height: 1.75; }

.svc-card {
  background: rgba(255,255,255,.035); border: 1px solid rgba(255,255,255,.07);
  border-radius: var(--r); padding: 38px 32px;
  position: relative; overflow: hidden; transition: all .3s;
  display: flex; flex-direction: column;
}
.svc-card::after {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2.5px;
  background: linear-gradient(90deg, var(--gold), transparent);
  transform: scaleX(0); transform-origin: left; transition: transform .4s;
}
.svc-card:hover { background: rgba(255,255,255,.055); border-color: rgba(245,201,80,.18); }
.svc-card:hover::after { transform: scaleX(1); }
.svc-num {
  font-family: var(--font-display); font-size: 11px; font-weight: 700;
  letter-spacing: .14em; color: var(--gold); text-transform: uppercase; margin-bottom: 20px;
}
.svc-icon { margin-bottom: 20px; }
.svc-h3 { font-size: 26px; color: white; margin-bottom: 8px; line-height: 1.2; }
.svc-subtitle { font-size: 12px; color: rgba(255,255,255,.32); margin-bottom: 24px; line-height: 1.5; }
.svc-divider { height: 1px; background: rgba(255,255,255,.07); margin-bottom: 24px; }
.svc-body { font-size: 14.5px; line-height: 1.78; color: rgba(255,255,255,.55); margin-bottom: 28px; flex-grow: 1; }
.svc-detail { margin-bottom: 20px; }
.svc-detail-l { font-size: 10px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: rgba(255,255,255,.25); margin-bottom: 5px; }
.svc-detail-v { font-size: 13px; line-height: 1.55; color: rgba(255,255,255,.48); }
.svc-cta {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 700; color: var(--gold); transition: gap .2s;
}
.svc-cta:hover { gap: 12px; color: var(--gold); }
.svc-cta::after { content: '→'; }

/* Services full-width HMGP breakdown (fourth row) */
.svc-hmgp-breakdown {
  margin-top: 28px; padding: 28px;
  background: rgba(245,201,80,.04); border: 1px solid rgba(245,201,80,.1);
  border-radius: var(--r-sm);
}
.svc-hmgp-breakdown h5 { color: var(--gold); margin-bottom: 16px; font-size: 11px; letter-spacing: .12em; text-transform: uppercase; }
.svc-checklist { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.svc-check { display: flex; align-items: flex-start; gap: 8px; font-size: 13px; color: rgba(255,255,255,.5); line-height: 1.5; }
.svc-check::before { content: '✓'; color: var(--gold); font-weight: 700; flex-shrink: 0; margin-top: 1px; }

/* ════════════════════════════════════════════════════════
   AUDIENCE
════════════════════════════════════════════════════════ */
#audience { background: var(--light-alt); }
.audience-header { margin-bottom: 52px; }
.audience-header h2 { color: var(--text-dark); margin-bottom: 14px; }
.audience-header p  { color: var(--text-body); font-size: 17px; max-width: 560px; line-height: 1.75; }

.aud-card {
  background: white; border: 1px solid var(--light-border); border-radius: var(--r);
  padding: 34px 28px; transition: all .3s;
}
.aud-card:hover { transform: translateY(-5px); box-shadow: 0 16px 44px rgba(24,0,173,.09); border-color: var(--brand); }
.aud-icon {
  width: 54px; height: 54px; background: var(--light-alt); border: 1px solid var(--light-border);
  border-radius: 12px; display: flex; align-items: center; justify-content: center;
  margin-bottom: 22px;
}
.aud-h3 { font-size: 18px; color: var(--text-dark); margin-bottom: 10px; }
.aud-body { font-size: 14px; line-height: 1.72; color: var(--text-body); margin-bottom: 16px; }
.aud-tag {
  display: inline-block; font-size: 10px; font-weight: 700; letter-spacing: .1em;
  text-transform: uppercase; color: var(--brand); background: var(--light-alt);
  padding: 4px 10px; border-radius: 20px; border: 1px solid var(--light-border);
}

/* ════════════════════════════════════════════════════════
   PROCESS
════════════════════════════════════════════════════════ */
#process { background: var(--dark-alt); }
.process-header { margin-bottom: 56px; }
.process-header h2 { color: white; }
.process-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px; }
.process-step {
  padding: 48px 36px;
  background: rgba(255,255,255,.025); border: 1px solid rgba(255,255,255,.05);
  position: relative;
}
.process-step:first-child { border-radius: var(--r) 0 0 var(--r); }
.process-step:last-child  { border-radius: 0 var(--r) var(--r) 0; }
.step-num-wrap { display: flex; align-items: center; gap: 16px; margin-bottom: 28px; }
.step-circle {
  width: 56px; height: 56px; border-radius: 50%;
  border: 1.5px solid rgba(245,201,80,.3); background: rgba(245,201,80,.06);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.step-circle span { font-family: var(--font-display); font-size: 20px; font-weight: 900; color: var(--gold); }
.step-connector {
  flex: 1; height: 1px;
  background: linear-gradient(90deg, rgba(245,201,80,.3) 0%, rgba(245,201,80,.05) 100%);
}
.process-step:last-child .step-connector { display: none; }
.step-h3 { font-size: 22px; color: white; margin-bottom: 14px; }
.step-body { font-size: 15px; line-height: 1.78; color: rgba(255,255,255,.48); }

/* ════════════════════════════════════════════════════════
   ABOUT
════════════════════════════════════════════════════════ */
#about { background: var(--dark); }
.about-text h2 { color: white; margin-bottom: 24px; }
.about-body { font-size: 17px; line-height: 1.82; color: rgba(255,255,255,.55); }
.about-body p + p { margin-top: 18px; }
.about-quote {
  margin: 32px 0; padding: 26px 30px;
  border-left: 3px solid var(--gold); background: rgba(245,201,80,.04);
  border-radius: 0 var(--r-sm) var(--r-sm) 0;
}
.about-quote p { font-family: var(--font-display); font-size: 20px; font-style: italic; line-height: 1.55; color: var(--gold); }
.creds-list { margin-top: 32px; display: flex; flex-direction: column; gap: 12px; }
.cred-row { display: flex; align-items: flex-start; gap: 12px; font-size: 14px; color: rgba(255,255,255,.45); line-height: 1.55; }
.cred-row::before { content: '✓'; color: var(--gold); font-weight: 700; flex-shrink: 0; }
.about-portrait {
  aspect-ratio: 3/4; border-radius: var(--r); overflow: hidden;
  background: linear-gradient(160deg, var(--dark-card) 0%, var(--dark-mid) 100%);
  border: 1px solid rgba(255,255,255,.06);
  display: flex; flex-direction: column; align-items: center; justify-content: flex-end;
  padding-bottom: 0; position: relative;
}

/* ════════════════════════════════════════════════════════
   RESOURCES PREVIEW
════════════════════════════════════════════════════════ */
#resources-preview { background: var(--white); }
.res-header {
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: 24px; margin-bottom: 48px; flex-wrap: wrap;
}
.res-card {
  border: 1px solid var(--light-border); border-radius: var(--r); overflow: hidden;
  background: white; text-decoration: none; color: inherit; display: block; transition: all .3s;
}
.res-card:hover { transform: translateY(-5px); box-shadow: 0 16px 44px rgba(24,0,173,.1); }
.res-card-thumb { aspect-ratio: 16/9; overflow: hidden; position: relative; }
.res-card-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.res-card:hover .res-card-thumb img { transform: scale(1.04); }
.res-card-body { padding: 26px; }
.res-tag { font-size: 10px; font-weight: 700; letter-spacing: .13em; text-transform: uppercase; color: var(--brand); margin-bottom: 10px; }
.res-title { font-family: var(--font-display); font-size: 18px; font-weight: 700; line-height: 1.35; color: var(--text-dark); margin-bottom: 12px; }
.res-excerpt { font-size: 14px; line-height: 1.68; color: var(--text-muted); }

/* ════════════════════════════════════════════════════════
   CONTACT
════════════════════════════════════════════════════════ */
#contact {
  background: var(--brand); position: relative; overflow: hidden;
}
#contact::before {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background-image: radial-gradient(circle, rgba(255,255,255,.06) 1px, transparent 1px);
  background-size: 40px 40px;
}
#contact::after {
  content: ''; position: absolute; bottom: -40%; right: -15%;
  width: 60%; height: 120%;
  background: radial-gradient(ellipse, rgba(245,201,80,.12) 0%, transparent 65%);
  pointer-events: none;
}
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: start; position: relative; z-index: 1; }
.contact-h2 { font-family: var(--font-display); font-size: clamp(26px, 3.5vw, 44px); font-weight: 700; line-height: 1.12; color: white; margin-bottom: 20px; }
.contact-sub { font-size: 16px; line-height: 1.78; color: rgba(255,255,255,.62); }
.trust-list { margin-top: 40px; display: flex; flex-direction: column; gap: 14px; }
.trust-item { display: flex; align-items: flex-start; gap: 12px; font-size: 14px; color: rgba(255,255,255,.52); line-height: 1.55; }
.trust-item::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--gold); flex-shrink: 0; margin-top: 5px; }

/* Form */
.form-wrap { background: white; border-radius: var(--r); padding: 40px; box-shadow: 0 24px 60px rgba(0,0,0,.2); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 16px; }
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group.full { grid-column: 1/-1; }
.form-lbl { font-size: 11px; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; color: var(--text-muted); }
.form-input, .form-select {
  padding: 13px 16px; border: 1.5px solid rgba(24,0,173,.12); border-radius: var(--r-sm);
  font-family: var(--font-body); font-size: 14px; color: var(--text-dark);
  background: white; outline: none; transition: border-color .2s; width: 100%;
}
.form-input:focus, .form-select:focus { border-color: var(--brand); }
.form-input::placeholder { color: var(--text-faint); }
.form-submit {
  width: 100%; background: var(--brand); color: white; border: none;
  padding: 16px; border-radius: var(--r-sm); font-family: var(--font-body);
  font-size: 15px; font-weight: 700; cursor: pointer; transition: background .2s; margin-top: 8px;
}
.form-submit:hover { background: var(--brand-mid); }
.form-note { font-size: 11.5px; color: var(--text-muted); text-align: center; margin-top: 14px; line-height: 1.6; }

/* CF7 override */
.wpcf7 .wpcf7-text, .wpcf7 .wpcf7-email, .wpcf7 .wpcf7-select, .wpcf7 .wpcf7-textarea {
  padding: 13px 16px; border: 1.5px solid rgba(24,0,173,.12); border-radius: var(--r-sm);
  font-family: var(--font-body); font-size: 14px; color: var(--text-dark);
  background: white; outline: none; transition: border-color .2s; width: 100%;
}
.wpcf7 .wpcf7-text:focus, .wpcf7 .wpcf7-email:focus, .wpcf7 .wpcf7-select:focus { border-color: var(--brand); }
.wpcf7 input[type=submit] {
  width: 100%; background: var(--brand); color: white; border: none;
  padding: 16px; border-radius: var(--r-sm); font-family: var(--font-body);
  font-size: 15px; font-weight: 700; cursor: pointer; transition: background .2s; margin-top: 8px;
}
.wpcf7 input[type=submit]:hover { background: var(--brand-mid); }

/* ════════════════════════════════════════════════════════
   FOOTER
════════════════════════════════════════════════════════ */
#site-footer { background: var(--dark); padding: 52px 0 40px; border-top: 1px solid rgba(255,255,255,.04); }
.footer-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 48px; margin-bottom: 40px; flex-wrap: wrap; }
.footer-brand-name { font-family: var(--font-display); font-weight: 700; font-size: 15px; color: rgba(255,255,255,.45); }
.footer-brand-sub  { font-size: 11px; color: rgba(255,255,255,.2); margin-top: 3px; }
.footer-nav-cols { display: flex; gap: 48px; }
.footer-nav-col h6 { font-size: 10px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: rgba(255,255,255,.22); margin-bottom: 12px; }
.footer-nav-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-nav-col a { font-size: 13px; color: rgba(255,255,255,.35); transition: color .2s; }
.footer-nav-col a:hover { color: var(--gold); }
.footer-bottom { padding-top: 28px; border-top: 1px solid rgba(255,255,255,.04); display: flex; align-items: flex-start; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.footer-copy { font-size: 12px; color: rgba(255,255,255,.22); }
.footer-disclaimer { font-size: 11px; color: rgba(255,255,255,.15); line-height: 1.75; max-width: 700px; }

/* ════════════════════════════════════════════════════════
   ██████╗ ██╗      ██████╗  ██████╗
   ██╔══██╗██║     ██╔═══██╗██╔════╝
   ██████╔╝██║     ██║   ██║██║  ███╗
   ██╔══██╗██║     ██║   ██║██║   ██║
   ██████╔╝███████╗╚██████╔╝╚██████╔╝
   ╚═════╝ ╚══════╝ ╚═════╝  ╚═════╝
   EDITORIAL BLOG — Industry-publication aesthetic
   Modeled on ProPublica / The Atlantic / POLITICO
════════════════════════════════════════════════════════ */

/* Blog-specific body class overrides */
body.blog, body.single, body.archive, body.category {
  background: var(--off-white);
}

/* Blog header bar */
.blog-masthead {
  background: var(--dark);
  border-bottom: 3px solid var(--gold);
  padding: 0;
  overflow: hidden;   /* prevent masthead from contributing to page overflow */
  max-width: 100%;
}
.blog-masthead-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 64px;
}
.masthead-brand {
  display: flex; align-items: center; gap: 14px; text-decoration: none; flex-shrink: 0;
}
.masthead-divider { width: 1px; height: 28px; background: rgba(255,255,255,.12); margin: 0 4px; flex-shrink: 0; }
.masthead-pub-name {
  font-family: var(--font-display); font-weight: 700; font-size: 14px; color: white; line-height: 1;
}
.masthead-pub-desc { font-size: 9px; color: var(--text-muted); letter-spacing: .06em; text-transform: uppercase; }
/* Masthead nav: only show category links on tablet+ */
.masthead-nav { display: flex; align-items: center; gap: 20px; overflow: hidden; }
.masthead-nav a { font-size: 12px; font-weight: 600; color: rgba(255,255,255,.55); letter-spacing: .02em; transition: color .2s; text-decoration: none; white-space: nowrap; }
.masthead-nav a:hover { color: var(--gold); }
/* Hide middle nav links on mobile, keep only the CTA */
.masthead-nav a:not(.masthead-cta) { display: none; }
@media (min-width: 640px) {
  .masthead-nav a:not(.masthead-cta) { display: inline-flex; }
}
.masthead-cta {
  background: var(--gold) !important; color: var(--dark) !important;
  padding: 7px 14px; border-radius: var(--r-xs); font-size: 12px; font-weight: 700 !important;
  white-space: nowrap; flex-shrink: 0;
}

/* Section label / category banner */
.category-banner {
  background: var(--brand); padding: 10px 0;
}
.category-banner-inner { display: flex; align-items: center; gap: 12px; }
.category-banner-label { font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: rgba(255,255,255,.4); }
.category-banner-name  { font-size: 13px; font-weight: 700; color: white; }
.category-pills { display: flex; gap: 8px; flex-wrap: wrap; }
.category-pill {
  font-size: 11px; font-weight: 700; padding: 5px 12px; border-radius: 20px;
  background: rgba(255,255,255,.1); color: rgba(255,255,255,.6);
  transition: all .2s; text-decoration: none;
}
.category-pill:hover, .category-pill.active { background: var(--gold); color: var(--dark); }

/* Featured article hero (first post) */
.featured-article {
  background: white; border-bottom: 1px solid rgba(0,0,0,.06);
}
.featured-article-inner {
  display: grid; grid-template-columns: 1fr 1fr; gap: 0; min-height: 480px;
}
.featured-thumb {
  position: relative; overflow: hidden;
}
.featured-thumb img { width: 100%; height: 100%; object-fit: cover; }
.featured-thumb-placeholder {
  width: 100%; height: 100%; min-height: 380px;
  background: linear-gradient(145deg, var(--dark) 0%, var(--brand) 100%);
  display: flex; align-items: center; justify-content: center;
}
.featured-category-tag {
  position: absolute; top: 24px; left: 24px;
  background: var(--gold); color: var(--dark);
  font-size: 10px; font-weight: 700; letter-spacing: .12em;
  text-transform: uppercase; padding: 5px 12px; border-radius: 3px;
}
.featured-text {
  padding: 52px; display: flex; flex-direction: column; justify-content: center;
  border-left: none;
}
.featured-label { font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--brand); margin-bottom: 16px; }
.featured-title {
  font-family: var(--font-display); font-size: clamp(26px, 3vw, 40px);
  font-weight: 900; line-height: 1.1; color: var(--text-dark); margin-bottom: 18px; letter-spacing: -.02em;
}
.featured-title a { color: inherit; transition: color .2s; }
.featured-title a:hover { color: var(--brand); }
.featured-excerpt { font-size: 16px; line-height: 1.75; color: var(--text-body); margin-bottom: 28px; }
.featured-meta { display: flex; align-items: center; gap: 16px; font-size: 12px; color: var(--text-muted); }
.featured-meta .sep { width: 3px; height: 3px; background: var(--text-faint); border-radius: 50%; }
.featured-read-more {
  display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 700;
  color: var(--brand); margin-top: 20px; transition: gap .2s;
}
.featured-read-more:hover { gap: 12px; color: var(--brand-mid); }
.featured-read-more::after { content: '→'; }

/* Blog main content layout */
.blog-layout {
  display: grid; grid-template-columns: 1fr 300px; gap: 48px; padding: 52px 0 80px; align-items: start;
}
.blog-main {}

/* Post grid */
.posts-grid { display: flex; flex-direction: column; gap: 0; }
.post-card-row {
  display: grid; grid-template-columns: 200px 1fr; gap: 28px;
  padding: 28px 0; border-bottom: 1px solid rgba(0,0,0,.06); align-items: start;
}
.post-card-row:first-child { padding-top: 0; }
.post-thumb-sm { border-radius: var(--r-sm); overflow: hidden; aspect-ratio: 4/3; }
.post-thumb-sm img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.post-thumb-sm:hover img { transform: scale(1.05); }
.post-thumb-placeholder {
  width: 100%; height: 100%; min-height: 150px;
  display: flex; align-items: center; justify-content: center;
}
.post-card-cat { font-size: 10px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--brand); margin-bottom: 8px; }
.post-card-title {
  font-family: var(--font-display); font-size: 20px; font-weight: 700;
  line-height: 1.25; color: var(--text-dark); margin-bottom: 10px; letter-spacing: -.015em;
}
.post-card-title a { color: inherit; }
.post-card-title a:hover { color: var(--brand); }
.post-card-excerpt { font-size: 14px; line-height: 1.68; color: var(--text-body); margin-bottom: 12px; }
.post-card-meta { font-size: 12px; color: var(--text-muted); display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.post-card-meta-dot { width: 3px; height: 3px; background: var(--text-faint); border-radius: 50%; }

/* Sidebar */
.blog-sidebar { position: sticky; top: 88px; }
.sidebar-widget { background: white; border: 1px solid rgba(0,0,0,.07); border-radius: var(--r); padding: 26px; margin-bottom: 24px; }
.sidebar-widget-title {
  font-size: 10px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--text-muted); padding-bottom: 14px; border-bottom: 2px solid var(--gold);
  margin-bottom: 20px;
}
/* CTA widget */
.sidebar-cta-widget { background: var(--dark); border-color: transparent; }
.sidebar-cta-widget .sidebar-widget-title { color: rgba(255,255,255,.35); border-color: var(--gold); }
.sidebar-cta-widget h4 { font-size: 18px; color: white; margin-bottom: 10px; line-height: 1.3; }
.sidebar-cta-widget p { font-size: 14px; color: rgba(255,255,255,.45); line-height: 1.65; margin-bottom: 18px; }
/* Recent posts in sidebar */
.sidebar-posts { display: flex; flex-direction: column; gap: 18px; }
.sidebar-post { display: flex; gap: 12px; text-decoration: none; }
.sidebar-post-thumb { width: 60px; height: 60px; border-radius: var(--r-sm); overflow: hidden; flex-shrink: 0; }
.sidebar-post-thumb img { width: 100%; height: 100%; object-fit: cover; }
.sidebar-post-thumb-placeholder { width: 100%; height: 100%; }
.sidebar-post-title { font-family: var(--font-display); font-size: 13.5px; font-weight: 700; line-height: 1.35; color: var(--text-dark); transition: color .2s; }
.sidebar-post:hover .sidebar-post-title { color: var(--brand); }
.sidebar-post-date { font-size: 11px; color: var(--text-muted); margin-top: 4px; }
/* Topics widget */
.topic-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.topic-tag { font-size: 11px; font-weight: 700; padding: 5px 12px; border-radius: 20px; background: var(--light-alt); color: var(--text-body); border: 1px solid var(--light-border); text-decoration: none; transition: all .2s; }
.topic-tag:hover { background: var(--brand); color: white; border-color: var(--brand); }

/* Pagination */
.blog-pagination { display: flex; align-items: center; justify-content: center; gap: 8px; padding: 40px 0; }
.blog-pagination a, .blog-pagination span { display: flex; align-items: center; justify-content: center; width: 38px; height: 38px; border-radius: var(--r-sm); font-size: 13px; font-weight: 700; border: 1px solid var(--light-border); color: var(--text-body); transition: all .2s; text-decoration: none; }
.blog-pagination a:hover { background: var(--brand); color: white; border-color: var(--brand); }
.blog-pagination .current { background: var(--brand); color: white; border-color: var(--brand); }

/* ─── SINGLE POST ─── */
.post-header-section { background: var(--dark); padding: 120px 0 64px; }
.post-header-inner { max-width: 780px; }
.post-header-cat { font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); margin-bottom: 20px; }
.post-header-title { font-family: var(--font-display); font-size: clamp(32px, 4.5vw, 58px); font-weight: 900; color: white; line-height: 1.06; letter-spacing: -.025em; margin-bottom: 24px; }
.post-header-excerpt { font-size: 18px; line-height: 1.72; color: rgba(255,255,255,.52); margin-bottom: 28px; max-width: 640px; }
.post-header-meta { display: flex; align-items: center; gap: 14px; font-size: 12px; color: rgba(255,255,255,.3); flex-wrap: wrap; }
.post-header-meta-sep { width: 3px; height: 3px; background: rgba(255,255,255,.2); border-radius: 50%; }

.post-featured-img-wrap { background: var(--dark-alt); }
.post-featured-img-inner { max-width: 1000px; margin: 0 auto; padding: 0 48px; transform: translateY(-32px); }
.post-featured-img-inner img { width: 100%; aspect-ratio: 16/9; object-fit: cover; border-radius: var(--r); box-shadow: 0 24px 64px rgba(0,0,0,.3); }

.single-post-layout { display: grid; grid-template-columns: 1fr 280px; gap: 56px; align-items: start; padding: 40px 0 80px; }
.post-content-area { font-size: 18px; line-height: 1.82; color: var(--text-body); }
.post-content-area h2 { font-size: clamp(22px,2.5vw,30px); color: var(--text-dark); margin: 48px 0 18px; }
.post-content-area h3 { font-size: 22px; color: var(--text-dark); margin: 36px 0 14px; }
.post-content-area p { margin-bottom: 22px; }
.post-content-area ul, .post-content-area ol { margin: 0 0 22px 22px; line-height: 1.82; color: var(--text-body); }
.post-content-area li { margin-bottom: 6px; }
.post-content-area blockquote { margin: 36px 0; padding: 28px 36px; border-left: 3px solid var(--gold); background: var(--light-alt); border-radius: 0 var(--r-sm) var(--r-sm) 0; font-family: var(--font-display); font-style: italic; font-size: 22px; line-height: 1.5; color: var(--text-dark); }
.post-content-area strong { color: var(--text-dark); }
.post-inline-cta { background: var(--dark); border-radius: var(--r); padding: 36px 40px; margin: 48px 0; display: flex; align-items: center; justify-content: space-between; gap: 28px; flex-wrap: wrap; }
.post-inline-cta h4 { color: white; font-size: 20px; margin-bottom: 8px; }
.post-inline-cta p  { color: rgba(255,255,255,.48); font-size: 14px; line-height: 1.65; }
.single-sidebar { position: sticky; top: 88px; }

/* ════════════════════════════════════════════════════════
   RESPONSIVE
════════════════════════════════════════════════════════ */
@media (max-width: 1100px) {
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-2 { grid-template-columns: 1fr; gap: 48px; }
  .contact-grid { grid-template-columns: 1fr; gap: 48px; }
  .featured-article-inner { grid-template-columns: 1fr; }
  .featured-thumb { min-height: 280px; }
  .blog-layout { grid-template-columns: 1fr; }
  .blog-sidebar { position: static; }
  .single-post-layout { grid-template-columns: 1fr; }
  .single-sidebar { position: static; }
}

/* ═══════════════════════════════════════════
   MOBILE ( ≤ 860px )
   - Full-width buttons in hero
   - Left-aligned hero content and cred pills
   - Hamburger nav replaces desktop links
   - Body scroll lock when menu open
═══════════════════════════════════════════ */
@media (max-width: 860px) {

  /* ── Containers ── */
  .wrap, .wrap--narrow { padding: 0 24px; }
  .nav-inner { padding: 0 24px; }
  .hero-wrap { padding-top: 96px; padding-bottom: 72px; }
  .section { padding: 72px 0; }

  /* ── Hero: left-align all content ── */
  .hero-content,
  .hero-creds,
  .hero-eyebrow { text-align: left; align-items: flex-start; }

  /* ── Full-width buttons on mobile ──
     flex-direction:column + align-items:stretch = children fill parent width.
     align-items:flex-start would SHRINK them — do NOT set that on .hero-ctas. */
  .hero-ctas {
    flex-direction: column;
    gap: 12px;
    align-items: stretch;   /* stretch = full width */
    width: 100%;
  }
  .hero-ctas .btn {
    display: flex;
    width: 100%;
    justify-content: center;
    text-align: center;
    box-sizing: border-box;
  }

  /* ── Cred pills: stacked, left-aligned, block flow ── */
  .hero-creds {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    margin-top: 36px;
  }
  /* Each pill: full-width block so text wraps naturally.
     The ::before dot is inline-block — no flex context = no 2-column split. */
  .cred-pill {
    display: block;
    white-space: normal;
    text-align: left;
    width: 100%;
  }
  .cred-pill::before {
    display: inline-block;
    vertical-align: middle;
    margin-right: 7px;
    width: 5px; height: 5px;
    flex-shrink: 0;
  }
  .cred-pill strong { display: inline; }

  /* ── Hero decorations: suppress overflow sources ── */
  .hero-geo { display: none; }
  .hero-glow-r { display: none; }
  .hero-glow-l { width: 100%; left: 0; top: 0; }

  /* ── Hamburger: show button, hide desktop links ── */
  .nav-hamburger {
    display: flex;
    visibility: visible;
    overflow: visible;
    pointer-events: auto;
  }
  .nav-links {
    /* Hidden by default; JS adds .is-open to reveal */
    display: none;
  }
  .nav-links.is-open {
    display: flex;
    flex-direction: column;
    position: fixed;
    /* Cover full viewport from top:0 — avoids iOS Safari stacking context
       clipping that occurs when position:fixed is nested inside position:fixed.
       padding-top pushes links below the 72px nav bar. */
    top: 0; left: 0; right: 0; bottom: 0;
    width: 100vw;
    background: rgba(7, 4, 26, 0.98);
    backdrop-filter: blur(20px);
    padding: 82px 28px 40px; /* 72px nav + 10px breathing room */
    gap: 8px;
    z-index: 99998; /* Explicit root-level z-index, above all page content */
    border-top: none;
    overflow-y: auto;
  }
  /* Keep nav bar — especially the close button — above the open overlay */
  body.nav-open #site-nav { z-index: 99999; }
  .nav-links.is-open a {
    font-size: 22px;
    font-weight: 600;
    color: rgba(255,255,255,.8);
    padding: 12px 0;
    border-bottom: 1px solid rgba(255,255,255,.06);
    display: block;
  }
  .nav-links.is-open a:hover { color: var(--gold); }
  .nav-cta-item { margin-left: 0; margin-top: 20px; }
  .nav-links.is-open .nav-cta {
    display: block !important;
    width: 100% !important;
    text-align: center !important;
    padding: 16px 24px !important;
    font-size: 16px !important;
    border-radius: var(--r-sm) !important;
  }
  .nav-logo { height: 36px; }

  /* ── Grids ── */
  .grid-3, .process-grid { grid-template-columns: 1fr; gap: 24px; }
  .grid-4 { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr 1fr; }

  /* ── Blog ── */
  .post-card-row { grid-template-columns: 1fr; }
  .post-thumb-sm { aspect-ratio: 16/9; }

  /* ── Forms ── */
  .form-row { grid-template-columns: 1fr; }

  /* ── Footer ── */
  .footer-top { flex-direction: column; }
  .footer-nav-cols { flex-wrap: wrap; gap: 28px; }

  /* ── Process steps ── */
  .process-step { border-radius: var(--r-sm); }
}

@media (max-width: 480px) {
  .stats-grid { grid-template-columns: 1fr; }
  .nav-logo { height: 30px; }
  .masthead-logo { height: 30px; }
}

@media (max-width: 767px) {
  .hero-eyebrow {
    flex-direction: column-reverse;
    text-align: left !important;
    align-items: auto !important;
  }
}
