/* ============================================================================
   NorthStar Metabolic & Performance Clinic — design system
   Premium, calm, physician-designed. Shared across the whole public site.
   Brand tokens: navy / gold / cream / green.
   ============================================================================ */

:root {
  --navy:        #0F1B2D;
  --navy2:       #16273F;
  --navy3:       #1D344F;
  --gold:        #C9A96E;
  --gold-deep:   #B8924A;
  --gold-soft:   rgba(201,169,110,0.13);
  --cream:       #F7F5F1;
  --green:       #4CAF8A;

  --bg:          #F5F2EC;
  --surface:     #FFFFFF;
  --surface-2:   #FBFAF7;
  --border:      #E6E1D7;
  --border-dark: #2A3F5A;

  --text:        #1A1A1A;
  --text-2:      #5C5F66;
  --text-3:      #83878F;
  --on-navy:     rgba(247,245,241,0.86);
  --on-navy-dim: rgba(247,245,241,0.55);

  --radius:      14px;
  --radius-lg:   20px;
  --radius-pill: 999px;
  --shadow-sm:   0 1px 3px rgba(15,27,45,0.05);
  --shadow:      0 2px 16px rgba(15,27,45,0.07);
  --shadow-lg:   0 18px 48px rgba(15,27,45,0.15);

  --container:   1120px;
  --prose:       40rem;        /* ~comfortable reading measure */
  --header-h:    66px;

  --font: -apple-system, "Inter", "Segoe UI", Roboto, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
::selection { background: var(--gold-soft); }
:focus-visible { outline: 2px solid var(--gold-deep); outline-offset: 2px; border-radius: 3px; }

.container { max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.eyebrow {
  font-size: 12px; font-weight: 700; letter-spacing: 1.5px;
  text-transform: uppercase; color: var(--gold-deep);
}
.muted { color: var(--text-2); }
.center { text-align: center; }
.lead { font-size: 19px; color: var(--text-2); line-height: 1.6; }

/* ── Skip link ─────────────────────────────────────────────── */
.skip-link {
  position: absolute; left: -999px; top: 0; z-index: 1000;
  background: var(--navy); color: var(--cream); padding: 10px 16px; border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; }

/* ── Header / nav ──────────────────────────────────────────── */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(15,27,45,0.92);
  backdrop-filter: saturate(140%) blur(14px);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  border-bottom: 0.5px solid var(--border-dark);
}
.nav { display: flex; align-items: center; gap: 16px; height: var(--header-h); }
.brand { display: flex; align-items: center; gap: 11px; margin-right: auto; }
.brand-mark {
  width: 38px; height: 38px; border-radius: 10px; flex-shrink: 0;
  background: linear-gradient(150deg, var(--navy3), var(--navy));
  border: 0.5px solid rgba(201,169,110,0.5);
  display: flex; align-items: center; justify-content: center;
}
.brand-text { display: flex; flex-direction: column; line-height: 1.12; }
.brand-name { font-size: 15px; font-weight: 800; color: var(--cream); letter-spacing: 0.2px; }
.brand-tag { font-size: 9.5px; font-weight: 600; letter-spacing: 1.1px; text-transform: uppercase; color: var(--gold); }

.nav-menu { display: flex; align-items: center; gap: 4px; }
.nav-menu > a, .nav-trigger {
  font-family: inherit; font-size: 14.5px; font-weight: 500; color: var(--on-navy);
  background: none; border: none; cursor: pointer; padding: 9px 13px; border-radius: 9px;
  display: inline-flex; align-items: center; gap: 6px; transition: color .15s, background .15s;
}
.nav-menu > a:hover, .nav-trigger:hover { color: var(--cream); background: rgba(247,245,241,0.07); }
.nav-trigger::after { content: "▾"; font-size: 10px; opacity: 0.7; }

.nav-item { position: relative; }
.nav-dropdown {
  position: absolute; top: calc(100% + 6px); left: 0; min-width: 270px;
  background: var(--surface); border: 0.5px solid var(--border); border-radius: var(--radius);
  box-shadow: var(--shadow-lg); padding: 8px; opacity: 0; visibility: hidden;
  transform: translateY(6px); transition: opacity .16s, transform .16s, visibility .16s;
}
.nav-item:hover .nav-dropdown,
.nav-item:focus-within .nav-dropdown { opacity: 1; visibility: visible; transform: none; }
.nav-dropdown a {
  display: block; padding: 9px 12px; border-radius: 9px; font-size: 14px; color: var(--text);
  line-height: 1.35; transition: background .12s;
}
.nav-dropdown a small { display: block; font-size: 12px; color: var(--text-3); margin-top: 1px; }
.nav-dropdown a:hover { background: var(--surface-2); }
.nav-dropdown .dd-all { color: var(--gold-deep); font-weight: 700; }
.nav-dropdown-h { font-size: 10.5px; letter-spacing: 1px; text-transform: uppercase; color: var(--text-3); padding: 10px 12px 4px; font-weight: 700; }

.nav-toggle { display: none; background: none; border: none; cursor: pointer; padding: 9px; margin-left: auto; }
.nav-toggle span { display: block; width: 22px; height: 2px; background: var(--cream); margin: 4px 0; border-radius: 2px; }

/* ── Buttons ───────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: 8px; font-family: inherit;
  font-size: 15px; font-weight: 700; padding: 12px 22px; border-radius: 11px;
  border: 1px solid transparent; cursor: pointer; transition: transform .08s, filter .15s, background .15s, color .15s, border-color .15s;
  white-space: nowrap; line-height: 1.2;
}
.btn-gold { background: var(--gold); color: var(--navy); }
.btn-gold:hover { filter: brightness(1.06); transform: translateY(-1px); }
.btn-navy { background: var(--navy); color: var(--cream); }
.btn-navy:hover { filter: brightness(1.12); transform: translateY(-1px); }
.btn-outline { border-color: var(--border-dark); color: var(--navy); background: transparent; }
.btn-outline:hover { background: var(--navy); color: var(--cream); border-color: var(--navy); }
.btn-ghost-light { color: var(--cream); border-color: rgba(247,245,241,0.3); background: transparent; }
.btn-ghost-light:hover { background: rgba(247,245,241,0.08); }
.btn-lg { font-size: 16px; padding: 15px 28px; border-radius: 13px; }
.nav-menu .btn { padding: 10px 18px; font-size: 14px; }
/* `.nav-menu > a` out-ranks `.btn-gold`, which flattened the header CTA to plain text — restore the button. */
.nav-menu > a.btn-gold { background: var(--gold); color: var(--navy); font-weight: 700; border-radius: 11px; }
.nav-menu > a.btn-gold:hover { background: var(--gold); color: var(--navy); filter: brightness(1.06); }

/* ── Hero ──────────────────────────────────────────────────── */
.hero {
  position: relative; overflow: hidden; color: var(--cream); isolation: isolate;
  /* Deep night sky + starfield (tiled), inspired by an aurora over a mountain lake. */
  background:
    radial-gradient(1.1px 1.1px at 24px 36px, rgba(255,255,255,0.85), transparent),
    radial-gradient(1px 1px at 130px 90px, rgba(255,255,255,0.5), transparent),
    radial-gradient(1.4px 1.4px at 210px 160px, rgba(255,255,255,0.7), transparent),
    radial-gradient(1px 1px at 80px 220px, rgba(255,255,255,0.45), transparent),
    radial-gradient(1px 1px at 320px 60px, rgba(255,255,255,0.6), transparent),
    radial-gradient(1.2px 1.2px at 360px 240px, rgba(255,255,255,0.4), transparent),
    radial-gradient(ellipse 130% 90% at 50% -25%, #173552 0%, #0f2338 35%, #0c1626 64%, #070d18 100%);
  background-size: 400px 300px, 400px 300px, 400px 300px, 400px 300px, 400px 300px, 400px 300px, 100% 100%;
  background-repeat: repeat, repeat, repeat, repeat, repeat, repeat, no-repeat;
  padding: 92px 0 100px;
}
.hero-sm { padding: 64px 0 56px; }
.hero .container { position: relative; z-index: 2; }
.hero h1 { color: var(--cream); text-shadow: 0 2px 26px rgba(7,13,24,0.55); }
.hero p { color: var(--on-navy); }

/* Sub-page heroes stay a calm deep-blue starfield (no colored effects). */
.constellation { display: none; }

/* ===========================================================================
   HOMEPAGE NIGHT-SKY HERO — full viewport, image-led, minimal, premium.
   Uses /assets/hero/night-sky.jpg (compressed from site-build/source/night-sky.png); a deep-midnight CSS starfield
   is the graceful fallback so the layout is never broken or empty.
   =========================================================================== */
.hero-night {
  position: relative; min-height: 100svh; display: flex; align-items: center;
  overflow: hidden; isolation: isolate; color: #fff;
  background:
    radial-gradient(1.2px 1.2px at 18% 22%, rgba(255,255,255,0.9), transparent),
    radial-gradient(1px 1px at 42% 38%, rgba(214,230,255,0.7), transparent),
    radial-gradient(1.7px 1.7px at 73% 18%, rgba(255,255,255,0.95), transparent),
    radial-gradient(1px 1px at 63% 52%, rgba(200,220,255,0.6), transparent),
    radial-gradient(1px 1px at 88% 40%, rgba(255,255,255,0.7), transparent),
    radial-gradient(1.2px 1.2px at 30% 62%, rgba(220,235,255,0.6), transparent),
    radial-gradient(1px 1px at 8% 48%, rgba(255,255,255,0.55), transparent),
    radial-gradient(1px 1px at 52% 12%, rgba(255,255,255,0.6), transparent),
    radial-gradient(ellipse 130% 100% at 50% 16%, #11233b 0%, #0c1b30 38%, #081320 70%, #050b15 100%);
}
.hero-night .hero-photo {
  position: absolute; top: -12%; left: 0; right: 0; height: 124%; z-index: -2;
  background-image: url('/assets/hero/night-sky.jpg');
  background-size: cover; background-position: center 32%; background-repeat: no-repeat;
  will-change: transform;
}
/* Very gentle twinkle on a few bright stars (decorative). */
.hero-night .hero-twinkle {
  position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(1.8px 1.8px at 73% 18%, rgba(255,255,255,0.95), transparent),
    radial-gradient(1.5px 1.5px at 24% 30%, rgba(255,255,255,0.85), transparent),
    radial-gradient(1.4px 1.4px at 86% 56%, rgba(255,255,255,0.8), transparent),
    radial-gradient(1.4px 1.4px at 50% 14%, rgba(255,255,255,0.85), transparent);
  animation: twinkle 7.5s ease-in-out infinite alternate;
}
@keyframes twinkle { 0% { opacity: 0.35; } 50% { opacity: 0.9; } 100% { opacity: 0.5; } }
/* Subtle, flat dark overlay for legibility — no distracting gradient. */
.hero-night .hero-scrim {
  position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: linear-gradient(180deg, rgba(5,11,21,0.30) 0%, rgba(5,11,21,0.12) 24%, rgba(5,11,21,0.10) 60%, rgba(5,11,21,0.42) 100%);
}
.hero-night-inner { text-align: center; max-width: 760px; margin: 0 auto; padding: 96px 0; }
.hero-title {
  color: #fff; font-weight: 300; letter-spacing: -0.5px; line-height: 1.08;
  font-size: clamp(40px, 6.4vw, 78px); text-shadow: 0 2px 40px rgba(4,9,18,0.6);
}
.hero-night-sub {
  margin: 26px auto 0; max-width: 540px; color: #ccd8e8; font-weight: 400;
  font-size: clamp(17px, 2.1vw, 21px); line-height: 1.65; text-shadow: 0 1px 22px rgba(4,9,18,0.5);
}
.hero-night-cta { margin-top: 42px; display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }
.btn-star {
  background: rgba(255,255,255,0.02); color: var(--gold);
  border: 1px solid rgba(201,169,110,0.6); letter-spacing: 0.3px;
  -webkit-backdrop-filter: blur(2px); backdrop-filter: blur(2px);
}
.btn-star:hover { background: var(--gold); color: var(--navy); border-color: var(--gold); transform: translateY(-1px); }
/* Gentle fade-in of the headline, then sub, then CTA. */
.hero-night-inner > * { opacity: 0; transform: translateY(14px); animation: heroFade 1.2s cubic-bezier(.2,.6,.2,1) forwards; }
.hero-night-inner > *:nth-child(2) { animation-delay: 0.18s; }
.hero-night-inner > *:nth-child(3) { animation-delay: 0.36s; }
@keyframes heroFade { to { opacity: 1; transform: none; } }
/* Quiet scroll cue. */
.hero-scroll {
  position: absolute; bottom: 24px; left: 50%; transform: translateX(-50%); z-index: 1;
  color: rgba(255,255,255,0.55); animation: scrollCue 2.8s ease-in-out infinite;
}
.hero-scroll:hover { color: #fff; }
@keyframes scrollCue { 0%, 100% { transform: translateX(-50%) translateY(0); opacity: 0.5; } 50% { transform: translateX(-50%) translateY(6px); opacity: 0.95; } }

/* ── Homepage: header floats over the sky, then turns solid on scroll. ────── */
body.home .site-header {
  position: fixed; left: 0; right: 0; top: 0;
  background: transparent; -webkit-backdrop-filter: none; backdrop-filter: none;
  border-bottom-color: transparent;
  transition: background 0.4s ease, border-color 0.4s ease, backdrop-filter 0.4s ease;
}
body.home .site-header.scrolled {
  background: rgba(8,16,28,0.82);
  -webkit-backdrop-filter: saturate(140%) blur(14px); backdrop-filter: saturate(140%) blur(14px);
  border-bottom-color: var(--border-dark);
}

/* ── Polaris: the brand star carries a soft warm-gold glow (subtle). ──────── */
.brand-mark svg { filter: drop-shadow(0 0 5px rgba(201,169,110,0.6)); animation: polaris 6s ease-in-out infinite; }
@keyframes polaris {
  0%, 100% { filter: drop-shadow(0 0 4px rgba(201,169,110,0.45)); }
  50% { filter: drop-shadow(0 0 8px rgba(201,169,110,0.85)); }
}

@media (prefers-reduced-motion: reduce) {
  .hero-night .hero-twinkle, .hero-scroll, .brand-mark svg { animation: none; }
  .hero-night-inner > * { opacity: 1; transform: none; animation: none; }
}
@media (max-width: 760px) {
  .hero-night-inner { padding: 104px 0 88px; }
}

/* ── Headings & sections ───────────────────────────────────── */
h1 { font-size: clamp(32px, 4.6vw, 50px); font-weight: 800; letter-spacing: -1px; line-height: 1.07; color: var(--navy); }
h2 { font-size: clamp(24px, 3vw, 33px); font-weight: 700; letter-spacing: -0.5px; line-height: 1.15; color: var(--navy); }
h3 { font-size: 20px; font-weight: 700; letter-spacing: -0.2px; color: var(--navy); }
section { padding: 76px 0; }
.section-sm { padding: 52px 0; }
.section-head { max-width: 640px; margin-bottom: 44px; }
.section-head.center { margin-left: auto; margin-right: auto; }
.section-head h2 { margin-top: 12px; }
.section-head p { margin-top: 14px; font-size: 18px; color: var(--text-2); }
.navy { background: linear-gradient(170deg, var(--navy) 0%, var(--navy2) 100%); color: var(--cream); }
.navy h2, .navy h3 { color: var(--cream); }
.navy p { color: var(--on-navy); }
.surface { background: var(--surface); }
.alt { background: var(--surface-2); border-top: 0.5px solid var(--border); border-bottom: 0.5px solid var(--border); }

/* ── Breadcrumb ────────────────────────────────────────────── */
.breadcrumb { font-size: 13px; color: var(--text-3); padding: 18px 0 0; }
.breadcrumb ol { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.breadcrumb li::after { content: "/"; margin-left: 8px; color: var(--border); }
.breadcrumb li:last-child::after { content: ""; }
.breadcrumb a:hover { color: var(--gold-deep); }
.breadcrumb [aria-current] { color: var(--text-2); }

/* ── Cards & grids ─────────────────────────────────────────── */
.grid { display: grid; gap: 20px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: var(--surface); border: 0.5px solid var(--border); border-radius: var(--radius);
  padding: 26px 24px; box-shadow: var(--shadow-sm); transition: transform .18s, box-shadow .18s, border-color .18s;
  display: flex; flex-direction: column;
}
a.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); border-color: rgba(201,169,110,0.5); }
.card h3 { margin-bottom: 8px; }
.card p { font-size: 15px; color: var(--text-2); line-height: 1.55; }
.card .more { margin-top: auto; padding-top: 14px; font-size: 14px; font-weight: 700; color: var(--gold-deep); }
.card .more::after { content: " →"; }
.card-icon {
  width: 42px; height: 42px; border-radius: 11px; background: var(--gold-soft);
  display: flex; align-items: center; justify-content: center; margin-bottom: 16px;
}

/* Question card — the signature pattern */
.q-card {
  background: var(--surface); border: 0.5px solid var(--border); border-radius: var(--radius);
  padding: 24px; box-shadow: var(--shadow-sm); transition: transform .18s, box-shadow .18s, border-color .18s;
  display: flex; flex-direction: column;
}
.q-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); border-color: rgba(201,169,110,0.5); }
.q-card .q { font-size: 21px; font-weight: 700; color: var(--navy); letter-spacing: -0.3px; line-height: 1.2; }
.q-card .q::before { content: "“"; color: var(--gold); font-weight: 800; margin-right: 1px; }
.q-card .q::after { content: "”"; color: var(--gold); font-weight: 800; }
.q-card p { font-size: 14.5px; color: var(--text-2); margin-top: 10px; line-height: 1.55; }
.q-card .more { margin-top: auto; padding-top: 16px; font-size: 14px; font-weight: 700; color: var(--gold-deep); }
.q-card .more::after { content: " →"; }

/* Pillars / value props */
.pillar-num { font-size: 13px; font-weight: 800; color: var(--gold-deep); letter-spacing: 0.5px; }
.pillar h3 { margin: 10px 0 8px; }
.pillar p { font-size: 15px; color: var(--text-2); }

/* ── Prose (article / service body) ────────────────────────── */
.prose { max-width: var(--prose); }
.prose > * + * { margin-top: 1.05em; }
.prose h2 { margin-top: 2em; font-size: 26px; }
.prose h3 { margin-top: 1.6em; font-size: 20px; }
.prose p, .prose li { font-size: 17.5px; color: #26282c; line-height: 1.72; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li + li { margin-top: 0.45em; }
.prose strong { color: var(--navy); }
.prose a { color: var(--gold-deep); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.prose a:hover { color: var(--navy); }
.prose .lead { font-size: 20px; color: var(--text-2); }
.article-wrap { display: grid; grid-template-columns: minmax(0,1fr) 280px; gap: 56px; align-items: start; }
.article-aside { position: sticky; top: calc(var(--header-h) + 24px); }

/* Callout — "How NorthStar approaches this differently" */
.callout {
  background: var(--navy); color: var(--cream); border-radius: var(--radius-lg);
  padding: 30px 32px; box-shadow: var(--shadow-lg); position: relative; overflow: hidden;
}
.callout::before {
  content: "★"; position: absolute; top: 18px; right: 22px; color: var(--gold); font-size: 20px; opacity: 0.7;
}
.callout .eyebrow { color: var(--gold); }
.callout h3 { color: var(--cream); margin: 10px 0 10px; font-size: 22px; }
.callout p { color: var(--on-navy); font-size: 16px; }
.callout p + p { margin-top: 12px; }

/* Definition / quick-facts list */
.facts { border: 0.5px solid var(--border); border-radius: var(--radius); overflow: hidden; background: var(--surface); }
.facts div { display: grid; grid-template-columns: 150px 1fr; gap: 16px; padding: 14px 18px; border-top: 0.5px solid var(--border); font-size: 15px; }
.facts div:first-child { border-top: none; }
.facts dt, .facts .k { font-weight: 700; color: var(--navy); }
.facts dd, .facts .v { color: var(--text-2); }

/* ── FAQ accordion ─────────────────────────────────────────── */
.faq { border-top: 0.5px solid var(--border); }
.faq details { border-bottom: 0.5px solid var(--border); }
.faq summary {
  cursor: pointer; list-style: none; padding: 20px 4px; font-size: 18px; font-weight: 600; color: var(--navy);
  display: flex; justify-content: space-between; gap: 18px; align-items: center;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--gold-deep); font-size: 24px; font-weight: 400; flex-shrink: 0; transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq .faq-a { padding: 0 4px 22px; font-size: 16.5px; color: #26282c; line-height: 1.7; }

/* ── Related links ─────────────────────────────────────────── */
.related a {
  display: flex; flex-direction: column; gap: 4px; padding: 16px 18px; border-radius: var(--radius);
  border: 0.5px solid var(--border); background: var(--surface); transition: border-color .15s, transform .15s;
}
.related a:hover { border-color: rgba(201,169,110,0.6); transform: translateY(-2px); }
.related .rk { font-size: 11px; letter-spacing: 0.8px; text-transform: uppercase; color: var(--text-3); font-weight: 700; }
.related .rt { font-weight: 700; color: var(--navy); }
.related .rt::after { content: " →"; color: var(--gold-deep); }

/* ── Chips / badges ────────────────────────────────────────── */
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip {
  display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px; border-radius: var(--radius-pill);
  background: var(--surface); border: 0.5px solid var(--border); font-size: 14.5px; font-weight: 600; color: var(--navy); box-shadow: var(--shadow-sm);
}
.chip .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--green); }
.badge {
  display: inline-flex; align-items: center; gap: 7px; padding: 6px 13px; border-radius: var(--radius-pill);
  background: var(--gold-soft); color: var(--gold-deep); font-size: 12.5px; font-weight: 700; letter-spacing: 0.3px;
}

/* Trust row */
.trust-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.trust {
  display: flex; gap: 13px; align-items: flex-start; padding: 18px 20px;
  background: var(--surface); border: 0.5px solid var(--border); border-radius: var(--radius);
}
.trust .ic { color: var(--gold-deep); flex-shrink: 0; font-size: 17px; line-height: 1.3; }
.trust b { display: block; color: var(--navy); font-size: 15.5px; }
.trust span { font-size: 13.5px; color: var(--text-2); }

/* ── CTA band ──────────────────────────────────────────────── */
.cta-band {
  text-align: center; color: var(--cream); position: relative; overflow: hidden;
  background:
    radial-gradient(700px 360px at 50% 130%, rgba(201,169,110,0.2), transparent 60%),
    linear-gradient(160deg, var(--navy2), var(--navy));
}
.cta-band h2 { color: var(--cream); }
.cta-band p { color: var(--on-navy); max-width: 560px; margin: 14px auto 0; font-size: 18px; }
.cta-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-top: 30px; }

/* ── Footer (mega) ─────────────────────────────────────────── */
.site-footer { background: #0a1421; color: var(--on-navy-dim); padding: 64px 0 36px; }
.footer-top { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 40px; }
.footer-brand .brand { margin-bottom: 16px; }
.footer-brand p { font-size: 14px; line-height: 1.65; max-width: 300px; }
.footer-col h4 { font-size: 11.5px; font-weight: 800; letter-spacing: 1px; text-transform: uppercase; color: var(--gold); margin-bottom: 15px; }
.footer-col a { display: block; font-size: 14px; color: var(--on-navy); margin-bottom: 10px; transition: color .14s; }
.footer-col a:hover { color: var(--cream); }
.footer-bottom {
  margin-top: 48px; padding-top: 22px; border-top: 0.5px solid rgba(247,245,241,0.1);
  display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; font-size: 12.5px;
}
.footer-bottom .powered { color: var(--gold); font-weight: 600; }
.footer-note { font-size: 11.5px; color: rgba(247,245,241,0.68); margin-top: 14px; max-width: 760px; line-height: 1.6; }

/* ── Reveal animation ──────────────────────────────────────── */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ── Utilities ─────────────────────────────────────────────── */
.mt-0 { margin-top: 0 !important; }
.mt-1 { margin-top: 14px; }
.mt-2 { margin-top: 28px; }
.mt-3 { margin-top: 44px; }
.maxw-prose { max-width: var(--prose); }
.flex-cta { display: flex; gap: 14px; flex-wrap: wrap; }

/* ── Responsive ────────────────────────────────────────────── */
@media (max-width: 940px) {
  .footer-top { grid-template-columns: 1fr 1fr; gap: 30px; }
  .article-wrap { grid-template-columns: 1fr; gap: 0; }
  .article-aside { position: static; margin-top: 40px; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 760px) {
  body { font-size: 16px; }
  .nav-toggle { display: block; }
  .nav-menu {
    display: none; position: absolute; top: var(--header-h); left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 2px;
    background: var(--navy); padding: 14px 16px 22px; border-bottom: 0.5px solid var(--border-dark);
    max-height: calc(100vh - var(--header-h)); overflow-y: auto;
  }
  .nav-menu.open { display: flex; }
  .nav-menu > a, .nav-trigger { width: 100%; justify-content: space-between; padding: 12px 10px; }
  .nav-item { width: 100%; }
  .nav-dropdown {
    position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none;
    background: transparent; border: none; padding: 0 0 6px 10px; min-width: 0;
    display: none;
  }
  .nav-item.open .nav-dropdown { display: block; }
  .nav-dropdown a { color: var(--on-navy); }
  .nav-dropdown a:hover { background: rgba(247,245,241,0.06); }
  .nav-dropdown a small { color: var(--on-navy-dim); }
  .nav-menu .btn { margin-top: 10px; justify-content: center; }
  section { padding: 56px 0; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .trust-grid { grid-template-columns: 1fr; }
  .facts div { grid-template-columns: 1fr; gap: 3px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  * { transition: none !important; }
}


/* ── Homepage hero announcement pill ─────────────────────────── */
.prelaunch-badge {
  display: inline-flex; align-items: center; gap: 8px; margin-bottom: 22px;
  padding: 7px 13px; border-radius: 999px; color: var(--cream);
  border: 1px solid rgba(201,169,110,0.55); background: rgba(8,16,28,0.48);
  font-size: 12px; font-weight: 800; letter-spacing: 0.45px; text-transform: uppercase;
}

/* ── Footer details ─────────────────────────────────────── */
.footer-status { margin-top: 18px; color: var(--on-navy); line-height: 1.7; }
.footer-detail { display: block; color: var(--on-navy); font-size: 14px; line-height: 1.5; margin-bottom: 10px; }


/* ── Scheduling CTAs, notes, accessibility helpers ─────────── */
.sr-only {
  position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0;
  overflow: hidden; clip: rect(0, 0, 0, 0); clip-path: inset(50%); white-space: nowrap; border: 0;
}
.hero-night-cta .btn-gold { box-shadow: 0 6px 26px rgba(4, 9, 18, 0.45); }
.cta-note { margin-top: 16px; max-width: 560px; font-size: 14px; line-height: 1.55; color: var(--on-navy); }
.cta-note-light { max-width: none; color: var(--text-2); }


@media (max-width: 760px) {
  /* Long button labels must wrap instead of widening the page (this pushed the mobile menu off-screen). */
  .btn { white-space: normal; text-align: center; max-width: 100%; }
  .hero-night-cta { flex-direction: column; align-items: stretch; margin-top: 34px; }
  .hero-night-cta .btn, .flex-cta .btn, .cta-actions .btn { width: 100%; justify-content: center; }
  .flex-cta, .cta-actions { flex-direction: column; align-items: stretch; }
  .prelaunch-badge { justify-content: center; text-align: center; line-height: 1.4; border-radius: 18px; }
}

/* Tablet-portrait band: the inline nav (now with the longer "Schedule an Appointment" button) needs tighter spacing. */
@media (min-width: 761px) and (max-width: 900px) {
  .nav { gap: 8px; }
  .nav-menu { gap: 0; }
  .nav-menu > a, .nav-trigger { padding: 9px 8px; font-size: 13.5px; }
  .nav-menu > a.btn-gold { padding: 9px 12px; font-size: 13px; margin-left: 4px; }
}

/* Inline "contact our office" link inside the availability notice (links otherwise inherit colour with no underline). */
.cta-band p a, .cta-note a, .footer-note a { color: var(--gold); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.cta-note-light a { color: var(--navy); }
