/* ============================================================
   Magnolia CPA — "Cascade Blue" design system
   Modern banking aesthetic: deep navy, cool off-whites, Inter sans.
   Hexagon motif dropped (sister firm Bee's owns that). Rounded squares
   replace hex icon containers. Token names retain --honey-* internally
   for cross-site CSS compatibility, but render as navy values.
   ============================================================ */

:root {
  --honey:        #1B3A5C;  /* deep navy primary */
  --honey-deep:   #0E223C;  /* near-black navy */
  --honey-soft:   #DBE5F1;  /* pale blue */
  --honey-tint:   #F0F4FA;  /* very subtle blue tint */
  --copper:       #C8A24B;  /* understated gold for premium accents */
  --copper-soft:  #ECDCB1;  /* pale gold */
  --ink:          #0F172A;  /* slightly cooler near-black */
  --ink-soft:     #2A3447;
  --cream:        #F8FAFC;  /* cool paper off-white (was warm cream) */
  --cream-2:      #EEF2F8;  /* paler blue-tinted off-white */
  --white:        #FFFFFF;
  --warm-gray:    #5C6577;  /* cool slate gray (was warm) */
  --warm-gray-2:  #8A93A6;
  --line:         #DDE3EC;  /* cool blue-tinted line */
  --sage:         #5C8A5A;
  --danger:       #C0593E;

  --radius-sm:  6px;
  --radius:    10px;       /* tighter, more modern (was 14px) */
  --radius-lg: 16px;
  --radius-xl: 24px;

  --shadow-sm: 0 1px 2px rgba(15,23,42,.05);
  --shadow:    0 10px 24px -12px rgba(15,23,42,.16), 0 2px 6px -2px rgba(15,23,42,.05);
  --shadow-lg: 0 28px 56px -22px rgba(15,23,42,.24), 0 8px 18px -10px rgba(15,23,42,.08);
  --shadow-cta:0 12px 28px -10px rgba(27,58,92,.40), 0 4px 10px -4px rgba(27,58,92,.30);

  --container: 1180px;
  --container-narrow: 940px;
  --container-wide: 1280px;

  --hex-bg: none;          /* honeycomb motif dropped; use solid sections */
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }
a { color: var(--ink); text-decoration: none; }
a:hover { color: var(--honey-deep); }
h1, h2, h3, h4 {
  font-family: 'Inter', 'Poppins', system-ui, sans-serif;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin: 0 0 .5em;
  text-wrap: balance;
}
h1 { font-size: clamp(2.2rem, 4.4vw, 3.6rem); }
h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); }
h3 { font-size: 1.2rem; }
p  { margin: 0 0 1em; text-wrap: pretty; }
::selection { background: var(--honey); color: var(--ink); }

/* ---------- Utilities ---------- */
.container { max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.container.narrow { max-width: var(--container-narrow); }
.container.wide { max-width: var(--container-wide); }
.section { padding: 88px 0; }
.section.tight { padding: 56px 0; }
.section.cream2 { background: var(--cream-2); position: relative; overflow: hidden; }
.section.cream2::before {
  content: "";
  position: absolute; inset: 0;
  background-image: var(--hex-bg);
  background-size: 86px 100px;
  opacity: .9;
  pointer-events: none;
}
.section.cream2 > .container { position: relative; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--honey-deep);
  margin: 0 0 14px;
}
.eyebrow::before {
  content: "";
  width: 22px; height: 3px; border-radius: 2px;
  background: var(--honey);
}
.eyebrow.center { justify-content: center; }
.eyebrow.center-block { display: flex; justify-content: center; }

.muted { color: var(--warm-gray); }
.lead { font-size: 1.15rem; color: var(--warm-gray); max-width: 60ch; }
.center { text-align: center; }
.center .lead { margin-left: auto; margin-right: auto; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 8px;
  padding: 14px 22px;
  border-radius: 999px;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 15px;
  line-height: 1;
  white-space: nowrap;
  transition: transform .15s ease, box-shadow .2s ease, background .2s ease, color .2s ease, border-color .2s ease;
  border: 1.5px solid transparent;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn.primary {
  background: var(--honey);
  color: var(--white);
  box-shadow: var(--shadow-cta);
}
.btn.primary:hover { background: var(--honey-deep); color: var(--white); }
.btn.secondary {
  background: var(--white);
  color: var(--ink);
  border-color: var(--line);
}
.btn.secondary:hover { border-color: var(--ink); }
.btn.ghost {
  background: transparent;
  color: var(--ink);
  border-color: rgba(28,27,26,.15);
}
.btn.ghost:hover { border-color: var(--ink); }
.btn.on-dark {
  background: var(--white);
  color: var(--ink);
}
.btn.on-dark:hover { background: var(--cream); }
.btn.sm { padding: 10px 16px; font-size: 14px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  /* Blue gradient header — same brand band on every page. */
  background:
    radial-gradient(ellipse at 0% 0%, rgba(45,95,170,.55) 0%, transparent 60%),
    linear-gradient(135deg, #3873C8 0%, #2D5FAA 60%, #1B3A5C 100%);
  border-bottom: 1px solid rgba(255,255,255,.08);
  transition: border-color .2s ease, box-shadow .2s ease;
}
.site-header.scrolled {
  box-shadow: 0 4px 14px -10px rgba(15,23,42,.35);
  border-bottom-color: rgba(255,255,255,.12);
}

/* Brand logo sits inside the white chip wrapper, so no filter needed —
   the natural black-on-white logo renders as-is. */

/* Nav items on blue header — readable white */
.site-header .nav-primary a {
  color: rgba(232,237,245,.82);
}
.site-header .nav-primary a:hover {
  color: var(--white);
  background: rgba(255,255,255,.10);
}
.site-header .nav-primary a.active { color: var(--white); }
.site-header .nav-primary a.active::after {
  background: linear-gradient(90deg, #93C5FD, #E8C97F);
}

/* Services dropdown still uses its white panel — leave as-is */

.site-header .client-login { color: rgba(232,237,245,.82); }
.site-header .client-login:hover { color: var(--white); }

/* Primary CTA on the blue header: white pill with deep ink text */
.site-header .nav-actions .btn.primary {
  background: var(--white);
  color: var(--ink);
  box-shadow:
    0 0 0 1px rgba(255,255,255,.4) inset,
    0 8px 18px -6px rgba(0,0,0,.30);
}
.site-header .nav-actions .btn.primary:hover {
  background: #F0F4FA;
  color: var(--ink);
}

/* Mobile toggle: white bars on blue */
.site-header .nav-toggle span {
  background: var(--white);
}
.site-header { overflow: visible; }
.header-inner {
  position: relative;
  max-width: var(--container-wide);
  margin: 0 auto;
  padding: 12px 28px;
  /* Reserve room for the absolutely-positioned brand on the left */
  padding-left: 220px;
  min-height: 124px;     /* tall enough for the white tree to fit fully inside */
  display: flex; align-items: center; gap: 24px;
}

/* Brand is two stacked images: tree (in the blue nav, inverted white) +
   text (sits just below the blue band, on the white hero, natural black).
   Together they read as one logo split by the nav bottom edge. */
.brand {
  position: absolute;
  left: 28px;
  top: 12px;
  display: flex; flex-direction: column; align-items: center;
  gap: 0;
  flex-shrink: 0;
  z-index: 60;
  transition: top .45s cubic-bezier(.4, 0, .2, 1), gap .45s cubic-bezier(.4, 0, .2, 1);
}
.brand-tree {
  height: 100px;
  width: auto;
  display: block;
  filter:
    invert(1) brightness(1.12)
    drop-shadow(0 0 12px rgba(255,255,255,.30))
    drop-shadow(0 6px 14px rgba(0,0,0,.25));
  transition: height .45s cubic-bezier(.4, 0, .2, 1), filter .45s cubic-bezier(.4, 0, .2, 1);
}
.brand-text {
  height: 36px;
  width: auto;
  display: block;
  filter: drop-shadow(0 4px 10px rgba(15,23,42,.18));
  transition: height .45s cubic-bezier(.4, 0, .2, 1), opacity .35s ease, transform .45s cubic-bezier(.4, 0, .2, 1);
  margin-top: 2px;
}

/* SCROLLED STATE: text portion fades up & out, tree shrinks to a compact
   white mark inside the (shorter) blue band. */
.site-header.scrolled .header-inner {
  padding: 8px 28px;
  padding-left: 90px;
  min-height: 0;
}
.site-header.scrolled .brand { top: 10px; }
.site-header.scrolled .brand-tree {
  height: 44px;
  filter:
    invert(1) brightness(1.15)
    drop-shadow(0 0 10px rgba(255,255,255,.35))
    drop-shadow(0 4px 10px rgba(0,0,0,.25));
}
.site-header.scrolled .brand-text {
  height: 0;
  opacity: 0;
  transform: translateY(-8px);
}

.nav-primary {
  display: flex; align-items: center; gap: 4px;
  margin-left: auto;
  margin-right: auto;
}
.nav-primary a {
  display: inline-flex; align-items: center;
  padding: 10px 14px;
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  font-size: 15px;
  color: var(--ink-soft);
  border-radius: 8px;
  position: relative;
}
.nav-primary a:hover { color: var(--ink); background: rgba(27,58,92,.08); }
.nav-primary a.active { color: var(--ink); font-weight: 600; }
.nav-primary a.active::after {
  content: "";
  position: absolute;
  left: 14px; right: 14px; bottom: 4px;
  height: 3px; border-radius: 2px;
  background: var(--honey);
}

/* Services dropdown */
.nav-item.has-dropdown { position: relative; }
.nav-item.has-dropdown > a::after {
  content: "▾"; font-size: 10px; margin-left: 4px; color: var(--warm-gray);
}
.dropdown {
  position: absolute; top: 100%; left: 50%;
  transform: translateX(-50%) translateY(8px);
  min-width: 260px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  padding: 10px;
  opacity: 0; pointer-events: none;
  transition: opacity .15s ease, transform .15s ease;
}
.nav-item.has-dropdown:hover .dropdown,
.nav-item.has-dropdown:focus-within .dropdown {
  opacity: 1; pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}
.dropdown a {
  display: block;
  padding: 10px 12px;
  border-radius: 8px;
  font-size: 14.5px;
  color: var(--ink-soft);
}
.dropdown a:hover { background: var(--cream); color: var(--ink); }
.dropdown a strong { display: block; color: var(--ink); font-weight: 600; }
.dropdown a small { color: var(--warm-gray); font-size: 12.5px; }

.nav-actions {
  display: flex; align-items: center; gap: 14px;
  flex-shrink: 0;
}
.client-login {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  font-size: 14.5px;
  color: var(--ink-soft);
}
.client-login:hover { color: var(--ink); }
.client-login .lock {
  width: 14px; height: 14px;
  display: inline-block;
  background: currentColor;
  -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'><rect x='3.5' y='11' width='17' height='10' rx='2'/><path d='M7 11V7a5 5 0 0 1 10 0v4'/></svg>") no-repeat center / contain;
          mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'><rect x='3.5' y='11' width='17' height='10' rx='2'/><path d='M7 11V7a5 5 0 0 1 10 0v4'/></svg>") no-repeat center / contain;
}

.mobile-drawer { display: none; }

.nav-toggle {
  display: none;
  width: 44px; height: 44px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: var(--white);
  flex-direction: column; gap: 5px; align-items: center; justify-content: center;
}
.nav-toggle span { width: 18px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .2s ease, opacity .2s ease; }
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hex icon tile ---------- */
.hex {
  width: 48px; height: 54px;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--honey-soft);
  color: var(--ink);
  border-radius: 10px;
  flex-shrink: 0;
}
.hex.lg { width: 60px; height: 68px; }
.hex.dark { background: var(--ink); color: var(--honey); }
.hex.outline {
  background: var(--white);
  color: var(--honey-deep);
  position: relative;
}
.hex svg { width: 24px; height: 24px; }
.hex.lg svg { width: 28px; height: 28px; }

/* ---------- Card ---------- */
.card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow);
  border: 1px solid rgba(232,225,207,.6);
  transition: transform .2s ease, box-shadow .2s ease;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.card h3 { margin-top: 16px; margin-bottom: 8px; }
.card p { color: var(--warm-gray); font-size: 15px; margin: 0; }
.card.no-hover:hover { transform: none; box-shadow: var(--shadow); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  background: var(--cream);
}
.hero-home {
  min-height: 620px;
  display: flex; align-items: center;
  overflow: hidden;
}
.hero-home .hero-bg {
  position: absolute; inset: 0;
  background: url("assets/hero-arbutus.jpg") center/cover no-repeat;
  /* Level the leaning building: nudge 1deg clockwise, scale up so the
     rotated corners still cover the section. */
  transform: rotate(1deg) scale(1.05);
  transform-origin: center;
}
.hero-home .hero-scrim {
  position: absolute; inset: 0;
  background: linear-gradient(95deg, rgba(251,247,239,.98) 0%, rgba(251,247,239,.92) 38%, rgba(251,247,239,.55) 58%, rgba(251,247,239,0) 78%);
}
.hero-home .container {
  position: relative;
  width: 100%;
  padding-top: 80px; padding-bottom: 80px;
}
.hero-copy { max-width: 560px; }
.hero-copy h1 { margin-bottom: 18px; }
.hero-copy .lead { font-size: 1.2rem; color: var(--ink-soft); margin-bottom: 28px; }
.hero-cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 28px; }
.trust-row {
  display: flex; flex-wrap: wrap; gap: 22px 28px;
  font-size: 14px; color: var(--ink-soft);
  font-family: 'Inter', sans-serif;
}
.trust-row span {
  display: inline-flex; align-items: center; gap: 8px;
}
.trust-row .dot { width: 6px; height: 6px; background: var(--honey); border-radius: 50%; }
.hero-credit {
  position: absolute;
  bottom: 16px; right: 24px;
  font-size: 12px; color: var(--ink-soft);
  background: rgba(248,250,252,.85);
  padding: 6px 12px; border-radius: 999px;
  display: inline-flex; align-items: center; gap: 6px;
  backdrop-filter: blur(6px);
}

/* Interior page hero */
.page-hero {
  position: relative;
  padding: 64px 0 32px;
  background: var(--cream);
  overflow: hidden;
}
/* Tighten the transition when a content section follows the page hero
   (was 168px total gap → ~76px to first content element). */
.page-hero + .section { padding-top: 20px; }
.page-hero::before {
  content: "";
  position: absolute; inset: 0;
  background-image: var(--hex-bg);
  background-size: 86px 100px;
  opacity: .65;
  mask-image: linear-gradient(105deg, #000 0%, #000 55%, transparent 80%);
  -webkit-mask-image: linear-gradient(105deg, #000 0%, #000 55%, transparent 80%);
  pointer-events: none;
}
.page-hero::after {
  content: "";
  position: absolute; right: -120px; top: -120px;
  width: 460px; height: 460px;
  background: radial-gradient(closest-side, rgba(27,58,92,.32), transparent 70%);
  pointer-events: none;
}
.page-hero .container { position: relative; }
.crumbs {
  font-size: 13.5px; color: var(--warm-gray);
  font-family: 'Inter', sans-serif;
  margin-bottom: 28px;
}
.crumbs a { color: var(--warm-gray); }
.crumbs a:hover { color: var(--ink); }
.crumbs .sep { margin: 0 6px; opacity: .5; }
.page-hero h1 { max-width: 18ch; margin-bottom: 18px; }
.page-hero .lead { max-width: 56ch; margin-bottom: 28px; }

/* ---------- Section headings ---------- */
.sec-head { text-align: left; max-width: 720px; margin: 0 0 48px; }
.sec-head.center { text-align: center; margin-left: auto; margin-right: auto; }
.sec-head h2 { margin-bottom: 14px; }
.sec-head p { color: var(--warm-gray); font-size: 1.05rem; }

/* ---------- Grids ---------- */
.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 24px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 22px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 22px; }

/* ---------- Service summary cards (home) ---------- */
.svc-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow);
  border: 1px solid rgba(232,225,207,.6);
  display: flex; flex-direction: column;
  transition: transform .2s ease, box-shadow .2s ease;
}
.svc-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.svc-card h3 {
  font-size: 1.5rem;
  margin: 18px 0 10px;
}
.svc-card .desc { color: var(--warm-gray); margin-bottom: 18px; font-size: 15.5px; }
.svc-card ul {
  list-style: none; padding: 0; margin: 0 0 24px;
  display: flex; flex-direction: column; gap: 8px;
}
.svc-card li {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: 15px; color: var(--ink-soft);
}
.svc-card li::before {
  content: ""; flex: 0 0 18px; height: 18px; margin-top: 2px;
  background: var(--honey); color: var(--ink);
  -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'><polyline points='5 12 10 17 19 7'/></svg>") no-repeat center / contain;
          mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'><polyline points='5 12 10 17 19 7'/></svg>") no-repeat center / contain;
}
.svc-card .more {
  margin-top: auto;
  display: inline-flex; align-items: center; gap: 6px;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  color: var(--honey-deep);
  font-size: 15px;
}
.svc-card .more::after { content: "→"; transition: transform .15s ease; }
.svc-card .more:hover::after { transform: translateX(3px); }

/* ---------- Value / feature small cards ---------- */
.value-card { padding: 24px; }
.value-card h3 { font-size: 1.05rem; margin-bottom: 6px; }
.value-card p { color: var(--warm-gray); font-size: 14.5px; }

/* ---------- Steps (how it works) ---------- */
.steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0,1fr));
  gap: 28px;
}
.step {
  display: flex; flex-direction: column; gap: 12px;
}
.step-num {
  width: 54px; height: 60px;
  background: var(--white);
  border: 2px solid var(--honey);
  color: var(--ink);
  border-radius: 10px;
  display: inline-flex; align-items: center; justify-content: center;
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  font-size: 18px;
  box-shadow: 0 4px 12px -4px rgba(27,58,92,.4);
}
.step h3 { margin: 0 0 4px; font-size: 1.1rem; }
.step p { color: var(--warm-gray); font-size: 15px; margin: 0; }

/* ---------- Why Bee's (icon + text rows) ---------- */
.why-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap: 22px 36px;
}
.why-item { display: flex; gap: 16px; align-items: flex-start; }
.why-item .hex { flex-shrink: 0; }
.why-item h3 { margin: 4px 0 4px; font-size: 1.05rem; }
.why-item p { color: var(--warm-gray); font-size: 15px; margin: 0; }

/* ---------- About teaser ---------- */
.about-teaser {
  display: grid; grid-template-columns: minmax(260px, 320px) 1fr;
  gap: 48px; align-items: center;
}
.about-teaser .photo {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 6px solid var(--white);
  box-shadow: var(--shadow-lg);
  aspect-ratio: 245 / 280;
}
.about-teaser .photo img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Closing CTA band ---------- */
.cta-band {
  background:
    radial-gradient(ellipse at 78% 65%, rgba(27,58,92,.28), transparent 60%),
    radial-gradient(ellipse at 12% 30%, rgba(27,58,92,.06), transparent 55%),
    var(--ink);
  border-radius: var(--radius-xl);
  padding: 56px 56px;
  color: var(--cream);
  display: flex; align-items: center; justify-content: space-between; gap: 40px;
  flex-wrap: wrap;
  position: relative;
  overflow: hidden;
}
.cta-band::after {
  content: "";
  position: absolute;
  right: 24px; top: 24px;
  width: 220px; height: 220px;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='86' height='100' viewBox='0 0 86 100'><g fill='none' stroke='%234A7560' stroke-opacity='0.10' stroke-width='1'><path d='M43 1 L84 25 L84 75 L43 99 L2 75 L2 25 Z'/></g></svg>");
  background-size: 60px 70px;
  pointer-events: none;
  opacity: .8;
}
.cta-band h2 {
  color: var(--cream);
  max-width: 16ch;
  margin: 0 0 8px;
  position: relative;
}
.cta-band h2 .accent { color: var(--honey); }
.cta-band p { color: rgba(251,247,239,.75); margin: 0; max-width: 44ch; position: relative; }
.cta-band .cta-actions { display: flex; flex-wrap: wrap; gap: 12px; position: relative; }
.cta-band .btn.phone { background: var(--white); color: var(--ink); }
.cta-band .btn.phone:hover { background: var(--cream); }
.cta-band .btn.phone::before {
  content: "";
  width: 16px; height: 16px;
  background: currentColor;
  -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><path d='M22 16.92v3a2 2 0 0 1-2.18 2 19.79 19.79 0 0 1-8.63-3.07 19.5 19.5 0 0 1-6-6 19.79 19.79 0 0 1-3.07-8.67A2 2 0 0 1 4.11 2h3a2 2 0 0 1 2 1.72c.13.96.37 1.9.72 2.81a2 2 0 0 1-.45 2.11L8.09 9.91a16 16 0 0 0 6 6l1.27-1.27a2 2 0 0 1 2.11-.45c.91.35 1.85.59 2.81.72A2 2 0 0 1 22 16.92z'/></svg>") no-repeat center / contain;
          mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><path d='M22 16.92v3a2 2 0 0 1-2.18 2 19.79 19.79 0 0 1-8.63-3.07 19.5 19.5 0 0 1-6-6 19.79 19.79 0 0 1-3.07-8.67A2 2 0 0 1 4.11 2h3a2 2 0 0 1 2 1.72c.13.96.37 1.9.72 2.81a2 2 0 0 1-.45 2.11L8.09 9.91a16 16 0 0 0 6 6l1.27-1.27a2 2 0 0 1 2.11-.45c.91.35 1.85.59 2.81.72A2 2 0 0 1 22 16.92z'/></svg>") no-repeat center / contain;
}

/* ---------- Pain → relief intro ---------- */
.pain-relief {
  text-align: center;
  padding: 80px 24px;
  max-width: 760px;
  margin: 0 auto;
}
.pain-relief h2 { font-size: clamp(1.6rem, 2.6vw, 2.1rem); margin-bottom: 16px; text-wrap: balance; }
.pain-relief p { color: var(--warm-gray); font-size: 1.1rem; }

/* ---------- FAQ accordion ---------- */
.faq { display: flex; flex-direction: column; gap: 14px; max-width: 760px; margin: 0 auto; }
.faq-item {
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid var(--line);
  overflow: hidden;
  transition: box-shadow .2s ease, border-color .2s ease;
}
.faq-item:hover { border-color: rgba(27,58,92,.5); }
.faq-item.open { box-shadow: var(--shadow); border-color: rgba(27,58,92,.5); }
.faq-q {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  width: 100%;
  padding: 18px 22px;
  text-align: left;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 15.5px;
  color: var(--ink);
}
.faq-toggle {
  font-size: 20px; color: var(--honey-deep);
  width: 24px; height: 24px;
  display: inline-flex; align-items: center; justify-content: center;
  transition: transform .2s ease;
  flex-shrink: 0;
}
.faq-item.open .faq-toggle { transform: rotate(45deg); }
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height .3s ease;
}
.faq-item.open .faq-a { max-height: 600px; }
.faq-a-inner {
  padding: 0 22px 20px;
  color: var(--ink-soft);
  font-size: 15.5px;
  line-height: 1.7;
}

/* ---------- Photo / placeholder block ---------- */
.media-block {
  background: var(--honey-tint);
  border: 1px solid rgba(27,58,92,.25);
  border-radius: var(--radius-lg);
  aspect-ratio: 4/3;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 14px;
  color: var(--honey-deep);
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 13px;
  text-align: center;
  padding: 24px;
  position: relative;
  overflow: hidden;
}
.media-block .hex { background: var(--honey); color: var(--ink); }
.media-block::before {
  content: "";
  position: absolute; inset: 0;
  background-image: var(--hex-bg);
  background-size: 86px 100px;
  opacity: .4;
}
.media-block > * { position: relative; }
.media-block small { color: var(--warm-gray); font-family: 'Inter', sans-serif; }

/* ---------- About story block ---------- */
.story-grid {
  display: grid; grid-template-columns: minmax(260px, 360px) 1fr;
  gap: 56px; align-items: start;
}
.story-grid .photo {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 6px solid var(--white);
  box-shadow: var(--shadow-lg);
  aspect-ratio: 245 / 280;
}
.story-grid .photo img { width: 100%; height: 100%; object-fit: cover; }
.story-text h2 { font-size: clamp(1.6rem, 2.6vw, 2.1rem); }
.story-text p + p { margin-top: 1em; }
.story-text strong { font-weight: 600; color: var(--ink); }

/* ---------- Stats row ---------- */
.stats-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 36px;
  text-align: center;
}
.stat .big {
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  font-size: clamp(2.4rem, 4vw, 3rem);
  color: var(--honey-deep);
  line-height: 1;
  margin-bottom: 8px;
  letter-spacing: -0.02em;
}
.stat .label { color: var(--warm-gray); font-size: 15px; max-width: 26ch; margin: 0 auto; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--ink);
  color: rgba(251,247,239,.7);
  padding: 64px 0 24px;
  font-size: 14.5px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.3fr;
  gap: 48px;
  margin-bottom: 48px;
}
.footer-brand .chip {
  display: inline-flex;
  background: var(--white);
  padding: 8px 12px;
  border-radius: 10px;
  margin-bottom: 18px;
}
.footer-brand .chip img { height: 36px; width: auto; }
.footer-brand p { color: rgba(251,247,239,.7); font-size: 14.5px; line-height: 1.6; max-width: 32ch; }
.socials { display: flex; gap: 8px; margin-top: 18px; }
.socials a {
  width: 36px; height: 36px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 8px;
  background: rgba(251,247,239,.08);
  color: rgba(248,250,252,.85);
  transition: background .2s ease, color .2s ease;
}
.socials a:hover { background: var(--honey); color: var(--ink); }
.socials svg { width: 16px; height: 16px; }

.footer-col h4 {
  color: var(--cream);
  font-size: 13px;
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  margin-bottom: 18px;
}
.footer-col ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.footer-col a { color: rgba(251,247,239,.7); }
.footer-col a:hover { color: var(--honey); }
.footer-contact a, .footer-contact div { display: block; color: rgba(251,247,239,.7); margin-bottom: 12px; line-height: 1.5; }
.footer-contact a:hover { color: var(--honey); }
.footer-contact .directions {
  color: var(--honey);
  display: inline-flex; align-items: center; gap: 4px;
  margin-top: 4px;
}
.footer-contact .directions::after { content: "→"; transition: transform .15s ease; }
.footer-contact .directions:hover::after { transform: translateX(3px); }

.footer-bottom {
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 24px;
  border-top: 1px solid rgba(251,247,239,.08);
  font-size: 13px;
  color: rgba(251,247,239,.45);
  flex-wrap: wrap; gap: 14px;
}
.footer-bottom .legal { display: flex; flex-wrap: wrap; gap: 12px 20px; }
.footer-bottom .legal a { color: rgba(251,247,239,.55); }
.footer-bottom .legal a:hover { color: var(--honey); }

/* Footer extras (affiliation + hours) */
.footer-brand .affiliation {
  font-size: 13.5px; color: rgba(251,247,239,.55);
  margin-top: 12px; max-width: 32ch;
}
.footer-brand .affiliation strong { color: rgba(248,250,252,.85); font-weight: 600; }
.footer-contact .hours {
  margin-top: 14px;
  display: flex; align-items: center; gap: 8px;
  font-size: 13.5px; color: rgba(251,247,239,.55);
}
.footer-contact .hours::before {
  content: ""; width: 7px; height: 7px; border-radius: 50%;
  background: var(--sage); box-shadow: 0 0 0 3px rgba(92,138,90,.18);
}

/* ---------- Contact / form ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 40px;
  align-items: start;
}
.contact-form {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow);
  border: 1px solid rgba(232,225,207,.6);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 16px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field label { font-family: 'Inter', sans-serif; font-weight: 600; font-size: 14px; color: var(--ink); }
.field input, .field select, .field textarea {
  font: inherit;
  width: 100%;
  padding: 12px 14px;
  background: var(--cream);
  border: 1.5px solid transparent;
  border-radius: 12px;
  color: var(--ink);
  transition: border-color .15s ease, background .15s ease, box-shadow .15s ease;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--honey);
  background: var(--white);
  box-shadow: 0 0 0 4px rgba(27,58,92,.15);
}
.field textarea { resize: vertical; min-height: 120px; }
.field .error { color: var(--danger); font-size: 13px; display: none; }
.field.invalid input, .field.invalid select, .field.invalid textarea { border-color: var(--danger); }
.field.invalid .error { display: block; }
.form-submit {
  display: flex; flex-direction: column; gap: 10px; margin-top: 8px;
}
.form-submit .btn { width: 100%; padding: 16px 22px; font-size: 15px; }
.privacy-note {
  font-size: 13px; color: var(--warm-gray);
  display: inline-flex; align-items: center; gap: 6px;
}
.privacy-note .lock {
  width: 12px; height: 12px;
  background: currentColor;
  -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'><rect x='3.5' y='11' width='17' height='10' rx='2'/><path d='M7 11V7a5 5 0 0 1 10 0v4'/></svg>") no-repeat center / contain;
          mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'><rect x='3.5' y='11' width='17' height='10' rx='2'/><path d='M7 11V7a5 5 0 0 1 10 0v4'/></svg>") no-repeat center / contain;
}
.form-success {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 48px 32px;
  box-shadow: var(--shadow);
  border: 1px solid rgba(232,225,207,.6);
  text-align: center;
  display: none;
}
.form-success.show { display: block; }
.form-success .hex { margin: 0 auto 16px; background: var(--sage); color: white; }
.form-success h3 { font-size: 1.4rem; }

.contact-aside h2 { font-size: clamp(1.4rem, 2.2vw, 1.8rem); margin-bottom: 24px; }
.contact-list { display: flex; flex-direction: column; gap: 12px; }
.contact-item {
  background: var(--white);
  border-radius: var(--radius);
  padding: 18px 20px;
  border: 1px solid var(--line);
  display: flex; align-items: center; gap: 16px;
  transition: border-color .2s ease, transform .15s ease;
}
.contact-item:hover { border-color: rgba(27,58,92,.6); transform: translateY(-2px); }
.contact-item .meta {
  font-size: 12px; color: var(--warm-gray);
  letter-spacing: .1em; text-transform: uppercase;
  font-family: 'Inter', sans-serif; font-weight: 600;
  margin: 0 0 2px;
}
.contact-item .value {
  font-family: 'Inter', sans-serif; font-weight: 600;
  font-size: 17px; color: var(--ink);
  margin: 0;
  line-height: 1.35;
}
.contact-item a.value:hover { color: var(--honey-deep); }
.map-block {
  margin-top: 14px;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  aspect-ratio: 4/3;
  background: var(--cream-2);
}
.map-block iframe { width: 100%; height: 100%; border: 0; display: block; }

/* ---------- Resource link cards ---------- */
.resource-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 22px;
  border: 1px solid var(--line);
  display: flex; flex-direction: column; gap: 8px;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.resource-card:hover {
  transform: translateY(-2px);
  border-color: rgba(27,58,92,.55);
  box-shadow: var(--shadow);
}
.resource-card h3 { font-size: 1.05rem; margin: 0; }
.resource-card p { color: var(--warm-gray); font-size: 14px; margin: 0; flex: 1; }
.resource-card .visit {
  margin-top: 8px;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 14px;
  color: var(--honey-deep);
  display: inline-flex; align-items: center; gap: 4px;
}
.resource-card .visit::after { content: "↗"; }

/* ---------- Service detail page ---------- */
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.feature-card { padding: 26px; }
.feature-card .hex { margin-bottom: 16px; }
.feature-card h3 { font-size: 1.05rem; margin-bottom: 8px; }
.feature-card p { color: var(--warm-gray); font-size: 14.5px; }

.process-row {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px;
}
.process-step { text-align: left; }
.process-step .step-num { margin-bottom: 14px; }
.process-step h3 { font-size: 1.05rem; margin-bottom: 6px; }
.process-step p { color: var(--warm-gray); font-size: 14.5px; }

/* ---------- Services overview big rows ---------- */
.svc-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}
.svc-row.reverse > :first-child { order: 2; }
.svc-row .copy h2 { font-size: clamp(1.6rem, 2.6vw, 2.1rem); margin-bottom: 12px; }
.svc-row .copy .sub { color: var(--warm-gray); margin-bottom: 18px; }
.svc-row .copy ul { list-style: none; padding: 0; margin: 0 0 24px; display: flex; flex-direction: column; gap: 10px; }
.svc-row .copy li { display: flex; align-items: flex-start; gap: 10px; font-size: 15.5px; }
.svc-row .copy li::before {
  content: ""; flex: 0 0 18px; height: 18px; margin-top: 4px;
  background: var(--honey);
  -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'><polyline points='5 12 10 17 19 7'/></svg>") no-repeat center / contain;
          mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'><polyline points='5 12 10 17 19 7'/></svg>") no-repeat center / contain;
}
.svc-row .icon-tag {
  display: inline-flex; align-items: center; gap: 10px;
  margin-bottom: 18px;
}
.svc-row .icon-tag .hex { width: 40px; height: 46px; }
.svc-row .icon-tag .hex svg { width: 20px; height: 20px; }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .grid-3, .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .steps, .process-row { grid-template-columns: repeat(2, 1fr); }
  .why-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
  .stats-row { gap: 18px; }
  .cta-band { padding: 40px 32px; }
  .svc-row, .svc-row.reverse > :first-child { grid-template-columns: 1fr; order: unset; }
  .svc-row { gap: 28px; }
  .story-grid { grid-template-columns: 1fr; gap: 32px; }
  .story-grid .photo { max-width: 320px; }
  .about-teaser { grid-template-columns: 1fr; gap: 28px; }
  .about-teaser .photo { max-width: 320px; }
  .contact-grid { grid-template-columns: 1fr; gap: 32px; }
}

@media (max-width: 768px) {
  .section { padding: 64px 0; }
  .nav-primary, .nav-actions .client-login, .nav-actions .btn:not(.mobile-only) { display: none; }
  .nav-toggle { display: inline-flex; }
  /* Mobile: brand back to normal flow, only the tree shows (compact) */
  .header-inner { gap: 12px; padding: 10px 18px; padding-left: 18px; min-height: 0; }
  .brand { position: static; flex-direction: row; align-items: center; }
  .brand-tree { height: 44px; }
  .brand-text { display: none; }   /* tagline hidden on mobile */
  .site-header.scrolled .header-inner { padding-left: 18px; }
  .site-header.scrolled .brand-tree { height: 40px; }

  /* Mobile drawer */
  .mobile-drawer {
    display: none;
    position: fixed; top: 64px; left: 0; right: 0; bottom: 0;
    background: var(--cream);
    padding: 24px;
    overflow-y: auto;
    z-index: 49;
    flex-direction: column; gap: 6px;
  }
  .mobile-drawer.open { display: flex; }
  .mobile-drawer a {
    display: block;
    padding: 16px 18px;
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 18px;
    color: var(--ink);
    border-radius: 12px;
    border-bottom: 1px solid var(--line);
  }
  .mobile-drawer a:hover, .mobile-drawer a.active { background: rgba(27,58,92,.1); }
  .mobile-drawer .sub a { font-size: 15px; font-weight: 500; padding: 12px 32px; color: var(--ink-soft); border: 0; }
  .mobile-drawer .mob-cta { margin-top: 18px; display: flex; flex-direction: column; gap: 10px; border: 0; }
  .mobile-drawer .mob-cta .btn { width: 100%; padding: 16px; }
  .mobile-drawer .mob-cta a.client { text-align: center; border: 0; padding: 12px; font-weight: 500; font-size: 15px; color: var(--ink-soft); }

  .hero-home { min-height: 540px; }
  .hero-home .container { padding-top: 56px; padding-bottom: 56px; }
  .hero-home .hero-scrim {
    background: linear-gradient(180deg, rgba(251,247,239,.97) 0%, rgba(251,247,239,.9) 50%, rgba(251,247,239,.4) 100%);
  }
  .hero-credit { display: none; }

  h1 { font-size: clamp(2rem, 8vw, 2.4rem); }
  h2 { font-size: clamp(1.5rem, 6vw, 1.9rem); }

  .grid-2, .grid-3, .grid-4, .feature-grid { grid-template-columns: 1fr; }
  .steps, .process-row { grid-template-columns: 1fr; gap: 22px; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .stats-row { grid-template-columns: 1fr; gap: 24px; }
  .form-row { grid-template-columns: 1fr; }

  .cta-band {
    flex-direction: column;
    align-items: flex-start;
    padding: 36px 28px;
  }
  .cta-band .cta-actions { width: 100%; }
  .cta-band .cta-actions .btn { flex: 1; min-width: 0; }
  .cta-band::after { width: 140px; height: 140px; }

  .footer-bottom { flex-direction: column; align-items: flex-start; }
}

/* ============ Insights / blog ============ */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 24px;
}
.post-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 28px;
  box-shadow: var(--shadow-sm);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
  display: flex; flex-direction: column;
}
.post-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--honey-soft); }
.post-card-meta {
  display: flex; align-items: center; gap: 12px;
  font-size: .85rem; color: var(--warm-gray);
  margin-bottom: 14px;
}
.post-card-meta time { font-variant-numeric: tabular-nums; }
.post-tag {
  display: inline-block;
  background: var(--honey-soft); color: var(--ink);
  padding: 4px 10px;
  border-radius: 999px;
  font-family: 'Inter', sans-serif;
  font-weight: 600; font-size: .75rem;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.post-card h3 { font-size: 1.2rem; margin: 0 0 10px; line-height: 1.3; }
.post-card h3 a { color: var(--ink); }
.post-card h3 a:hover { color: var(--honey-deep); }
.post-card p { color: var(--ink-soft); font-size: .95rem; margin-bottom: 18px; flex-grow: 1; }
.post-more {
  font-family: 'Inter', sans-serif; font-weight: 600;
  color: var(--honey-deep); display: inline-flex; align-items: center; gap: 6px;
}
.post-more:hover { color: var(--ink); }
.post-card.placeholder {
  background: transparent;
  border: 1.5px dashed var(--line);
  box-shadow: none;
}
.post-card.placeholder:hover { transform: none; border-color: var(--line); box-shadow: none; }
.post-card.placeholder h3, .post-card.placeholder p { color: var(--warm-gray); }
.post-card.placeholder h3 { font-weight: 500; }

/* Article page meta */
.post-meta {
  display: flex; flex-wrap: wrap; align-items: center; gap: 10px;
  color: var(--warm-gray); font-size: .92rem; margin-top: 16px;
}
.post-meta .dot { opacity: .5; }
.post-meta time { font-variant-numeric: tabular-nums; }

/* Source note at the bottom of an article */
.source-note {
  margin-top: 32px; padding: 18px 22px;
  background: var(--honey-tint);
  border-left: 3px solid var(--honey);
  border-radius: 10px;
  font-size: .92rem; color: var(--ink-soft);
}
.source-note a { color: var(--honey-deep); font-weight: 500; }
.source-note a:hover { text-decoration: underline; }

/* ============ Legal / prose pages ============ */
.legal-prose { max-width: 760px; }
.legal-prose .updated { color: var(--warm-gray); font-size: .9rem; margin-bottom: 28px; }
.legal-prose h2 { font-size: 1.4rem; margin: 36px 0 12px; }
.legal-prose h2:first-of-type { margin-top: 0; }
.legal-prose p { margin-bottom: 16px; color: var(--ink-soft); }
.legal-prose ul { margin: 0 0 16px; padding: 0; display: grid; gap: 8px; }
.legal-prose ul li { position: relative; padding-left: 22px; color: var(--ink-soft); list-style: none; }
.legal-prose ul li::before { content: ""; position: absolute; left: 0; top: 9px; width: 9px; height: 9px; background: var(--honey); border-radius: 10px; }
.legal-prose a { color: var(--honey-deep); font-weight: 500; }
.legal-prose a:hover { text-decoration: underline; }

/* Photo placeholder (until real portraits land) */
.photo-placeholder {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px;
  aspect-ratio: 4 / 5;
  background: var(--honey-tint);
  border: 1.5px dashed var(--line);
  color: var(--honey-deep);
  border-radius: var(--radius-lg);
  text-align: center;
}
.photo-placeholder svg { width: 64px; height: 64px; opacity: .6; }
.photo-placeholder small { font-size: 13px; color: var(--warm-gray); padding: 0 20px; }

/* ============ Interior pages — Magnolia CPA ============ */

/* About: swap order on alternating story-grid sections */
.story-grid.story-grid-rev { direction: rtl; }
.story-grid.story-grid-rev > * { direction: ltr; }
@media (max-width: 760px) { .story-grid.story-grid-rev { direction: ltr; } }

/* Contact page */
.contact-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 36px; align-items: start; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-form-wrap { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 32px; box-shadow: var(--shadow-sm); }
.contact-form label { display: block; margin-bottom: 16px; font-family: 'Inter', serif; font-weight: 600; font-size: 14px; color: var(--ink); }
.contact-form label .opt { color: var(--warm-gray); font-weight: 400; font-size: 12px; margin-left: 6px; }
.contact-form input, .contact-form select, .contact-form textarea {
  display: block; width: 100%;
  margin-top: 6px;
  padding: 12px 14px;
  border: 1px solid var(--line); border-radius: 10px;
  font-family: inherit; font-size: 15px; font-weight: 400;
  background: var(--cream);
  color: var(--ink);
  transition: border-color .15s ease, background .15s ease;
}
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus {
  outline: none; border-color: var(--honey); background: var(--white);
}
.contact-form textarea { resize: vertical; min-height: 100px; }
.contact-form .form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 560px) { .contact-form .form-row { grid-template-columns: 1fr; } }
.contact-form button { margin-top: 8px; }
.form-fallback {
  margin-top: 18px; padding: 14px 18px;
  background: var(--honey-tint);
  border-left: 3px solid var(--honey);
  border-radius: 8px;
  font-size: 14.5px; color: var(--ink-soft);
}

.contact-info { display: grid; gap: 18px; }
.info-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 26px; box-shadow: var(--shadow-sm); }
.info-card h3 { font-size: 1.1rem; margin-bottom: 14px; }
.contact-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.contact-list li { display: flex; flex-direction: column; gap: 2px; }
.contact-list .label {
  font-family: 'Inter', sans-serif; font-weight: 600;
  font-size: 11px; letter-spacing: .12em; text-transform: uppercase;
  color: var(--warm-gray); margin-bottom: 2px;
}
.contact-list a, .contact-list div { color: var(--ink); font-size: 15px; }
.contact-list a:hover { color: var(--honey-deep); }
.contact-list .more { color: var(--honey-deep); font-size: 13.5px; font-weight: 600; display: inline-block; margin-top: 2px; }

.map-wrap { border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.map-wrap iframe { display: block; }

/* Resources: link cards */
.link-card {
  display: flex; flex-direction: column;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
  box-shadow: var(--shadow-sm);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
  color: var(--ink);
}
.link-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: rgba(27,58,92,.4); color: var(--ink); }
.link-card h4 { font-size: 1.05rem; margin-bottom: 8px; }
.link-card p { color: var(--warm-gray); font-size: .94rem; margin-bottom: 14px; flex-grow: 1; }
.link-card .link-arrow {
  font-family: 'Inter', sans-serif; font-weight: 600; font-size: 13px;
  color: var(--honey-deep);
}

/* ============ Banking-style split hero ============ */
.hero-split {
  background: linear-gradient(180deg, var(--cream) 0%, var(--white) 100%);
  padding: clamp(56px, 8vw, 96px) 0 clamp(40px, 6vw, 80px);
  border-bottom: 1px solid var(--line);
  position: relative;
  overflow: hidden;
}
.hero-split::before {
  content: "";
  position: absolute; inset: -10% -5% auto -5%;
  height: 60%;
  background: radial-gradient(ellipse at 78% 30%, rgba(27,58,92,.06), transparent 60%);
  pointer-events: none;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 56px;
  align-items: center;
  position: relative;
}
.hero-split .hero-copy { max-width: 600px; }
.hero-split .hero-copy .eyebrow { color: var(--honey); margin-bottom: 18px; }
.hero-split .hero-copy h1 {
  font-size: clamp(2.4rem, 5vw, 4rem);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.04;
  color: var(--ink);
  margin-bottom: 22px;
}
.hero-split .hero-copy .lead {
  font-size: 1.15rem;
  color: var(--warm-gray);
  margin-bottom: 28px;
  max-width: 50ch;
}
.hero-split .hero-cta-row { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 40px; }

/* Stats row */
.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
  max-width: 520px;
}
.hero-stats .stat { display: flex; flex-direction: column; gap: 4px; }
.hero-stats .num {
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  font-size: 2.2rem;
  line-height: 1;
  color: var(--honey);
  letter-spacing: -0.03em;
}
.hero-stats .num-suffix { font-size: .65em; color: var(--honey); margin-left: 1px; }
.hero-stats .num-label {
  font-size: 13px;
  color: var(--warm-gray);
  letter-spacing: .02em;
  font-weight: 500;
}

/* Photo card + meta card */
.hero-card {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.hero-photo-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  background: var(--cream-2);
  aspect-ratio: 4 / 3;
}
.hero-photo-card img {
  width: 100%; height: 100%; object-fit: cover;
  display: block;
}
.hero-photo-card .hero-photo-credit {
  position: absolute; left: 14px; bottom: 14px;
  background: rgba(15,23,42,.78);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: var(--white);
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .02em;
}

.hero-meta-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 22px 24px;
  box-shadow: var(--shadow-sm);
  display: grid;
  gap: 12px;
}
.hero-meta-row {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 16px;
  font-size: 14.5px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line);
}
.hero-meta-row:last-child { padding-bottom: 0; border-bottom: 0; }
.hero-meta-label {
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--warm-gray);
  padding-top: 1px;
}
.hero-meta-value {
  color: var(--ink);
  font-weight: 500;
}
.hero-meta-value a { color: var(--honey); font-weight: 600; }
.hero-meta-value a:hover { color: var(--honey-deep); }

@media (max-width: 880px) {
  .hero-grid { grid-template-columns: 1fr; gap: 36px; }
  .hero-stats { grid-template-columns: repeat(3, 1fr); gap: 18px; }
  .hero-stats .num { font-size: 1.8rem; }
  .hero-photo-card { aspect-ratio: 16 / 10; }
}
@media (max-width: 540px) {
  .hero-stats { grid-template-columns: 1fr 1fr; }
  .hero-stats .stat:last-child { grid-column: 1 / -1; }
  .hero-split .hero-copy h1 { font-size: clamp(2rem, 8vw, 2.8rem); }
}

/* ============ Dramatic dark hero ============ */
.hero-dramatic {
  position: relative;
  overflow: hidden;
  padding: clamp(80px, 12vw, 140px) 0 clamp(80px, 10vw, 120px);
  background:
    radial-gradient(ellipse at 0% 0%, rgba(27,58,92,1) 0%, transparent 60%),
    radial-gradient(ellipse at 100% 100%, rgba(15,23,42,1) 0%, transparent 60%),
    linear-gradient(180deg, #0A1226 0%, #050918 100%);
  color: #E8EDF5;
  isolation: isolate;
}

/* Floating gradient blobs (subtle, slow) */
.hero-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: .55;
  pointer-events: none;
  z-index: 0;
}
.hero-blob-1 {
  top: -10%; left: -8%;
  width: 540px; height: 540px;
  background: radial-gradient(circle, #2D5FAA 0%, transparent 70%);
  animation: blobFloat1 22s ease-in-out infinite;
}
.hero-blob-2 {
  top: 25%; right: -10%;
  width: 480px; height: 480px;
  background: radial-gradient(circle, #5B7FB5 0%, transparent 70%);
  animation: blobFloat2 18s ease-in-out infinite;
  opacity: .42;
}
.hero-blob-3 {
  bottom: -10%; left: 35%;
  width: 460px; height: 460px;
  background: radial-gradient(circle, #C8A24B 0%, transparent 70%);
  animation: blobFloat3 26s ease-in-out infinite;
  opacity: .22;
}
@keyframes blobFloat1 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(80px, 60px) scale(1.08); }
}
@keyframes blobFloat2 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(-100px, 40px) scale(.92); }
}
@keyframes blobFloat3 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(60px, -80px) scale(1.05); }
}

/* Subtle grid background */
.hero-grid-bg {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse at 50% 40%, black 0%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at 50% 40%, black 0%, transparent 75%);
  pointer-events: none;
  z-index: 0;
}

/* Bottom fade-out so the dark hero blends into the light section below */
.hero-fade-bottom {
  position: absolute; bottom: 0; left: 0; right: 0;
  height: 120px;
  background: linear-gradient(180deg, transparent 0%, var(--cream) 100%);
  pointer-events: none;
  z-index: 2;
}

.hero-dramatic .container { position: relative; z-index: 3; }
.hero-dramatic .hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 56px;
  align-items: center;
}
.hero-dramatic .hero-copy { max-width: 620px; }

.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: 'Inter', sans-serif;
  font-weight: 600; font-size: 13px;
  letter-spacing: .12em; text-transform: uppercase;
  color: #A5B4D0;
  margin-bottom: 22px;
  padding: 7px 14px;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 999px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  animation: heroFadeUp .6s .1s ease-out both;
}
.dot-pulse {
  display: inline-block; width: 8px; height: 8px; border-radius: 50%;
  background: #6FD195;
  box-shadow: 0 0 0 0 rgba(111,209,149,.7);
  animation: dotPulse 2.2s ease-out infinite;
}
@keyframes dotPulse {
  0% { box-shadow: 0 0 0 0 rgba(111,209,149,.7); }
  70% { box-shadow: 0 0 0 10px rgba(111,209,149,0); }
  100% { box-shadow: 0 0 0 0 rgba(111,209,149,0); }
}

.hero-dramatic h1 {
  font-size: clamp(2.6rem, 5.4vw, 4.4rem);
  font-weight: 800;
  letter-spacing: -0.038em;
  line-height: 1.02;
  color: var(--white);
  margin-bottom: 26px;
  animation: heroFadeUp .7s .2s ease-out both;
}
.grad-text {
  background: linear-gradient(120deg, #93C5FD 0%, #A8D5FF 35%, #E8C97F 95%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  display: inline-block;
  background-size: 200% 200%;
  animation: gradShift 8s ease-in-out infinite;
}
@keyframes gradShift {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

.hero-dramatic .lead {
  font-size: 1.18rem;
  color: rgba(232,237,245,.78);
  margin-bottom: 32px;
  max-width: 52ch;
  animation: heroFadeUp .7s .35s ease-out both;
}

.hero-dramatic .hero-cta-row {
  display: flex; gap: 14px; flex-wrap: wrap;
  margin-bottom: 44px;
  animation: heroFadeUp .7s .5s ease-out both;
}

/* Glowing primary button */
.btn.primary.glow {
  background: linear-gradient(135deg, #2D5FAA 0%, #1B3A5C 100%);
  color: #FFFFFF;
  box-shadow:
    0 0 0 1px rgba(125,167,219,.4) inset,
    0 8px 22px -6px rgba(45,95,170,.55),
    0 0 30px -10px rgba(125,167,219,.7);
  position: relative;
  transition: transform .2s ease, box-shadow .25s ease;
}
.btn.primary.glow:hover {
  transform: translateY(-2px);
  background: linear-gradient(135deg, #3873C8 0%, #234876 100%);
  color: #FFFFFF;
  box-shadow:
    0 0 0 1px rgba(155,191,232,.5) inset,
    0 14px 30px -6px rgba(45,95,170,.65),
    0 0 50px -8px rgba(155,191,232,.85);
}
.btn.primary.glow .arrow {
  display: inline-block;
  transition: transform .25s ease;
}
.btn.primary.glow:hover .arrow { transform: translateX(4px); }

/* Ghost button for dark backgrounds */
.btn.ghost-dark {
  background: rgba(255,255,255,.05);
  color: var(--white);
  border: 1px solid rgba(255,255,255,.18);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.btn.ghost-dark:hover {
  background: rgba(255,255,255,.10);
  border-color: rgba(255,255,255,.32);
  color: var(--white);
}

/* Hero stats (dark mode) */
.hero-dramatic .hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  padding-top: 32px;
  border-top: 1px solid rgba(255,255,255,.10);
  max-width: 540px;
  animation: heroFadeUp .7s .65s ease-out both;
}
.hero-dramatic .stat { display: flex; flex-direction: column; gap: 4px; }
.hero-dramatic .num {
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  font-size: 2.4rem;
  line-height: 1;
  letter-spacing: -0.03em;
  background: linear-gradient(135deg, #FFFFFF 0%, #B7C9E5 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}
.hero-dramatic .num-label {
  font-size: 13px;
  color: rgba(232,237,245,.55);
  letter-spacing: .02em;
  font-weight: 500;
}

/* Hero card (dark mode) */
.hero-dramatic .hero-card {
  display: flex;
  flex-direction: column;
  gap: 18px;
  animation: heroFadeUp .8s .4s ease-out both;
}
.hero-dramatic .hero-photo-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: rgba(255,255,255,.03);
  aspect-ratio: 4 / 3;
  box-shadow:
    0 0 0 1px rgba(255,255,255,.08),
    0 30px 60px -20px rgba(0,0,0,.6),
    0 0 80px -10px rgba(45,95,170,.4);
}
.hero-dramatic .hero-photo-card img {
  width: 100%; height: 100%; object-fit: cover; display: block;
}
.hero-dramatic .hero-photo-card::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(135deg, transparent 50%, rgba(15,23,42,.4) 100%);
  pointer-events: none;
}
.hero-dramatic .hero-photo-credit {
  position: absolute; left: 14px; bottom: 14px;
  background: rgba(15,23,42,.78);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  color: var(--white);
  padding: 7px 13px;
  border-radius: 999px;
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: .02em;
  z-index: 2;
}

.hero-dramatic .hero-meta-card {
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: var(--radius-lg);
  padding: 20px 22px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: grid;
  gap: 11px;
}
.hero-dramatic .hero-meta-row {
  display: grid;
  grid-template-columns: 105px 1fr;
  gap: 14px;
  font-size: 14px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.hero-dramatic .hero-meta-row:last-child { padding-bottom: 0; border-bottom: 0; }
.hero-dramatic .hero-meta-label {
  font-size: 11px; font-weight: 600;
  letter-spacing: .12em; text-transform: uppercase;
  color: rgba(232,237,245,.45);
  padding-top: 1px;
}
.hero-dramatic .hero-meta-value { color: rgba(232,237,245,.92); font-weight: 500; }
.hero-dramatic .hero-meta-value a {
  background: linear-gradient(135deg, #93C5FD 0%, #E8C97F 100%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
  font-weight: 600;
}

/* Cascading fade-up keyframe */
@keyframes heroFadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 880px) {
  .hero-dramatic .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-dramatic .hero-stats { gap: 18px; }
  .hero-dramatic .num { font-size: 1.9rem; }
}
@media (max-width: 540px) {
  .hero-dramatic .hero-stats { grid-template-columns: 1fr 1fr; }
  .hero-dramatic .stat:last-child { grid-column: 1 / -1; }
  .hero-dramatic h1 { font-size: clamp(2.1rem, 9vw, 3rem); }
}
@media (prefers-reduced-motion: reduce) {
  .hero-blob, .grad-text, .dot-pulse { animation: none; }
  .hero-dramatic .hero-eyebrow,
  .hero-dramatic h1,
  .hero-dramatic .lead,
  .hero-dramatic .hero-cta-row,
  .hero-dramatic .hero-stats,
  .hero-dramatic .hero-card { animation: none; }
}

/* (Dark-hero header overrides removed: home hero is now light-textured,
   so the standard light header styles apply on all pages.) */
/* Smooth transition into the light scrolled state */
.site-header,
.site-header .nav-primary a,
.site-header .brand img,
.site-header .nav-actions .btn.primary {
  transition: background .25s ease, color .2s ease, filter .25s ease, box-shadow .25s ease, border-color .25s ease;
}

/* ============ Magnolia hero — lighter blue, prominent tree ============ */
.hero-magnolia {
  position: relative;
  overflow: hidden;
  padding: clamp(72px, 11vw, 130px) 0 clamp(80px, 10vw, 120px);
  /* White textured background. Subtle gray square grid pattern,
     soft blue/lavender/gold accent blobs for visual interest. */
  background: var(--white);
  color: var(--ink);
  isolation: isolate;
}
/* Subtle vignette so the corners feel softer than the center */
.hero-magnolia::after {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at 50% 50%, transparent 0%, rgba(15,23,42,.025) 100%);
  pointer-events: none; z-index: 0;
}
/* Accent blobs in light tints over the white bg */
.hero-magnolia .hero-blob-1 {
  background: radial-gradient(circle, rgba(147,197,253,.55) 0%, transparent 70%);
  opacity: .55;
}
.hero-magnolia .hero-blob-2 {
  background: radial-gradient(circle, rgba(177,155,234,.45) 0%, transparent 70%);
  opacity: .40;
}
.hero-magnolia .hero-blob-3 {
  background: radial-gradient(circle, rgba(232,201,127,.45) 0%, transparent 70%);
  opacity: .30;
}
/* The square grid pattern — gray lines on the white background.
   Mask fades the grid out at the edges so it feels textured rather than ruled. */
.hero-magnolia .hero-grid-bg {
  background-image:
    linear-gradient(rgba(15,23,42,.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(15,23,42,.07) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse at 50% 45%, black 0%, black 35%, transparent 85%);
  -webkit-mask-image: radial-gradient(ellipse at 50% 45%, black 0%, black 35%, transparent 85%);
}

.hero-magnolia .container { position: relative; z-index: 2; }
.hero-magnolia .hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
}
.hero-magnolia .hero-copy { max-width: 600px; }

/* Eyebrow pill on white */
.hero-magnolia .hero-eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: 'Inter', sans-serif;
  font-weight: 600; font-size: 13px;
  letter-spacing: .12em; text-transform: uppercase;
  color: var(--honey-deep);
  margin-bottom: 22px;
  padding: 7px 14px;
  background: rgba(27,58,92,.06);
  border: 1px solid rgba(27,58,92,.12);
  border-radius: 999px;
  animation: heroFadeUp .6s .1s ease-out both;
}

/* Dark headline */
.hero-magnolia h1 {
  font-size: clamp(2.6rem, 5.4vw, 4.4rem);
  font-weight: 800;
  letter-spacing: -0.038em;
  line-height: 1.04;
  color: var(--ink);
  margin-bottom: 26px;
  text-wrap: balance;
  animation: heroFadeUp .7s .2s ease-out both;
}
.hero-magnolia .grad-text {
  background: linear-gradient(120deg, #2D5FAA 0%, #7C5CD2 45%, #C8A24B 95%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  display: inline-block;
  background-size: 200% 200%;
  animation: gradShift 8s ease-in-out infinite;
}

.hero-magnolia .lead {
  font-size: 1.18rem;
  color: var(--warm-gray);
  margin-bottom: 32px;
  max-width: 52ch;
  animation: heroFadeUp .7s .35s ease-out both;
}

.hero-magnolia .hero-cta-row {
  display: flex; gap: 14px; flex-wrap: wrap;
  margin-bottom: 44px;
  animation: heroFadeUp .7s .5s ease-out both;
}

/* Navy gradient primary button on white */
.hero-magnolia .btn.primary.glow {
  background: linear-gradient(135deg, #2D5FAA 0%, #1B3A5C 100%);
  color: #FFFFFF;
  border: none;
  box-shadow:
    0 0 0 1px rgba(125,167,219,.4) inset,
    0 10px 24px -8px rgba(45,95,170,.45),
    0 0 36px -10px rgba(125,167,219,.55);
}
.hero-magnolia .btn.primary.glow:hover {
  background: linear-gradient(135deg, #3873C8 0%, #234876 100%);
  color: #FFFFFF;
  transform: translateY(-2px);
  box-shadow:
    0 0 0 1px rgba(155,191,232,.5) inset,
    0 16px 32px -8px rgba(45,95,170,.55),
    0 0 56px -10px rgba(155,191,232,.65);
}

/* Ghost button on white */
.btn.ghost-light {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 8px; padding: 14px 22px;
  border-radius: 999px;
  font-family: 'Inter', sans-serif; font-weight: 600; font-size: 15px;
  line-height: 1; white-space: nowrap;
  background: var(--white);
  color: var(--ink);
  border: 1.5px solid var(--line);
  transition: transform .15s ease, background .2s, border-color .2s;
}
.btn.ghost-light:hover {
  background: var(--cream);
  border-color: var(--ink);
  color: var(--ink);
  transform: translateY(-1px);
}

/* Stats on white hero */
.hero-magnolia .hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  padding-top: 32px;
  border-top: 1px solid var(--line);
  max-width: 540px;
  animation: heroFadeUp .7s .65s ease-out both;
}
.hero-magnolia .stat { display: flex; flex-direction: column; gap: 4px; }
.hero-magnolia .num {
  font-family: 'Inter', sans-serif;
  font-weight: 700; font-size: 2.4rem; line-height: 1;
  letter-spacing: -0.03em;
  background: linear-gradient(135deg, #1B3A5C 0%, #2D5FAA 100%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}
.hero-magnolia .num-label {
  font-size: 13px;
  color: var(--warm-gray);
  letter-spacing: .02em;
  font-weight: 500;
}

/* ====== THE TREE — big, reversed white, prominent ====== */
.hero-tree {
  position: relative;
  display: flex; align-items: center; justify-content: center;
  min-height: 440px;
  animation: heroFadeUp 1s .4s ease-out both;
}
.hero-tree-glow {
  position: absolute;
  width: 130%; height: 130%;
  top: -15%; left: -15%;
  /* Very soft pale-blue glow on the white textured bg — adds bloom without
     fighting the grid pattern. */
  background: radial-gradient(circle, rgba(147,197,253,.18) 0%, rgba(147,197,253,.05) 35%, transparent 65%);
  filter: blur(40px);
  z-index: 0;
  animation: treeGlow 8s ease-in-out infinite;
}
@keyframes treeGlow {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%      { opacity: .85; transform: scale(1.04); }
}
.hero-tree-img {
  position: relative; z-index: 1;
  width: 100%;
  max-width: 520px;
  height: auto;
  /* Source is black-on-transparent. Hero is now white-textured, so leave
     the tree in its natural black/silhouette state with a soft drop shadow
     for lift off the textured background. */
  filter: drop-shadow(0 14px 28px rgba(15, 23, 42, .15));
}

/* Bottom fade so the blue hero softens into the section below */
.hero-magnolia .hero-fade-bottom {
  position: absolute; bottom: 0; left: 0; right: 0;
  height: 100px;
  background: linear-gradient(180deg, transparent 0%, var(--cream) 100%);
  pointer-events: none; z-index: 1;
}

/* (Solid-blue header override removed: hero is now light-textured, header
   uses the standard light styling on home too.) */

@media (max-width: 880px) {
  .hero-magnolia .hero-grid { grid-template-columns: 1fr; gap: 36px; }
  .hero-tree { min-height: 280px; }
  .hero-tree-img { max-width: 340px; }
  .hero-magnolia .hero-stats { gap: 18px; }
  .hero-magnolia .num { font-size: 1.9rem; }
}
@media (max-width: 540px) {
  .hero-magnolia .hero-stats { grid-template-columns: 1fr 1fr; }
  .hero-magnolia .stat:last-child { grid-column: 1 / -1; }
  .hero-magnolia h1 { font-size: clamp(2.1rem, 9vw, 3rem); }
}
