/* ============================================================
   DEBT LAWYERS — liquid glass design system (light-first)
   Navy #0F2A50 · Gold #B08D57 · Page #FAFAFC · Alt #F5F5F7
   Type: Apple system stack (SF Pro)
   Dark surfaces are reserved for: CTA band, footer, mobile CTA.
   ============================================================ */

:root {
  --navy-950: #071830;
  --navy-900: #0B2140;
  --navy-800: #0F2A50;   /* brand */
  --navy-700: #17395F;
  --navy-600: #265384;
  --gold-300: #D4BA88;
  --gold-400: #C0A06A;
  --gold-500: #B08D57;   /* brand */
  --gold-600: #8F7444;
  --ivory: #F5F1E8;
  --ivory-dim: #E7E0D0;
  --page-bg: #FCF5EA;   /* warm cream — golden-sunrise base, not grey */
  --light-bg: #F7F1E6;  /* warm ivory band */
  --ink: #16202C;
  --ink-soft: #46505E;

  --line-gold: rgba(226, 138, 62, 0.35);
  --line-ivory: rgba(255, 255, 255, 0.12);
  --hairline-dark: rgba(255, 255, 255, 0.12);
  --hairline-light: rgba(15, 42, 80, 0.08);

  --glass-w: rgba(255, 255, 255, 0.66);
  --glass-w-strong: rgba(255, 255, 255, 0.78);
  --glass-w-border: rgba(15, 42, 80, 0.08);
  --shadow-card: 0 8px 32px rgba(15, 42, 80, 0.10);
  --shadow-card-hover: 0 18px 44px -14px rgba(15, 42, 80, 0.18);
  --shadow-card-dark: 0 8px 32px rgba(7, 24, 48, 0.35);

  --font-body: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Segoe UI", Inter, Helvetica, Arial, sans-serif;
  --font-display: var(--font-body);
  --font-accent: var(--font-body);

  --ease: cubic-bezier(0.25, 0.1, 0.25, 1);
  --ease-out: cubic-bezier(0.25, 0.1, 0.25, 1);
  --radius-card: 22px;
  --header-h: 88px;
}

/* Light-context token remap.
   Several inline styles in the generated HTML reference dark-theme tokens
   (var(--ivory), var(--gold-300), var(--line-ivory)). The page is now
   light-first, so those tokens resolve to their light-theme equivalents on
   <body>, and the surfaces that stay navy restore the originals below. */
body {
  --ivory: var(--navy-800);
  --ivory-dim: var(--ink-soft);
  --gold-300: var(--gold-600);
  --gold-400: var(--gold-600);
  --line-ivory: rgba(15, 42, 80, 0.14);
  --hairline-dark: var(--hairline-light);
}
.site-footer, .cta-band, .mobile-cta, .page-hero--img, .hero--cinema, .band-navy {
  --ivory: #F5F1E8;
  --ivory-dim: #E7E0D0;
  --gold-300: #D4BA88;
  --gold-400: #C0A06A;
  --line-ivory: rgba(255, 255, 255, 0.12);
  --hairline-dark: rgba(255, 255, 255, 0.12);
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html {
  scroll-behavior: smooth; -webkit-text-size-adjust: 100%;
  /* warm sunrise washes live on <html> so they sit BEHIND the fixed particle
     canvas (#bg3d, z-index -1) while the body stays transparent */
  background:
    radial-gradient(1100px 700px at 85% -5%, rgba(226, 138, 62, 0.16), transparent 60%),
    radial-gradient(900px 640px at -10% 30%, rgba(120, 160, 205, 0.12), transparent 62%),
    radial-gradient(1000px 720px at 50% 100%, rgba(226, 138, 62, 0.12), transparent 62%),
    var(--page-bg);
  background-attachment: fixed;
}
body {
  font-family: var(--font-body);
  font-size: 1.0625rem; /* 17px */
  line-height: 1.6;
  color: var(--ink-soft);
  background: transparent; /* html paints the page; keeps #bg3d visible */
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul[class], ol[class] { list-style: none; }
button { font: inherit; cursor: pointer; background: none; border: none; color: inherit; }

::selection { background: var(--navy-800); color: #fff; }

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

/* ---------- three.js background field ---------- */
#bg3d { position: fixed; inset: 0; z-index: -1; pointer-events: none; }
#bg3d canvas { display: block; width: 100%; height: 100%; }

/* ---------- typography ---------- */
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 700; color: var(--navy-800); line-height: 1.1; letter-spacing: -0.015em; }
.light h1, .light h2, .light h3, .light h4 { color: var(--navy-800); }
.cta-band h1, .cta-band h2, .cta-band h3, .site-footer h3 { color: #F5F1E8; }

.display-xl { font-size: clamp(2.6rem, 5.5vw, 4.7rem); letter-spacing: -0.028em; line-height: 1.04; }
.display-lg { font-size: clamp(2.05rem, 3.7vw, 3.3rem); letter-spacing: -0.024em; line-height: 1.07; }
.display-md { font-size: clamp(1.5rem, 2.4vw, 2rem); letter-spacing: -0.018em; }

.eyebrow {
  display: inline-block;
  font-size: 0.74rem; font-weight: 600;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--gold-600);
}
.light .eyebrow { color: var(--gold-600); }
.cta-band .eyebrow { color: #C0A06A; }

.lede {
  font-size: clamp(1.1rem, 1.5vw, 1.3rem);
  line-height: 1.5;
  letter-spacing: -0.01em;
  color: var(--ink-soft);
}
.light .lede { color: var(--ink-soft); }
.cta-band .lede { color: rgba(231, 224, 208, 0.82); }

/* ---------- layout ---------- */
.container { width: min(1200px, 92vw); margin-inline: auto; }
.container--wide { width: min(1400px, 94vw); margin-inline: auto; }
section { position: relative; }
.section-pad { padding: clamp(5rem, 10vw, 8.5rem) 0; }

/* alternating band: slightly translucent so the particle field reads through */
.light { background: rgba(250, 238, 219, 0.66); color: var(--ink-soft); }
.light ::selection { background: var(--navy-800); color: #fff; }

/* section headers — centered, Apple product-page style */
.sec-head { max-width: 780px; margin: 0 auto clamp(2.5rem, 5vw, 4.2rem); text-align: center; }
.sec-num { display: none; }
.sec-head .sec-title { margin-inline: auto; max-width: 22ch; text-wrap: balance; }
.sec-head .sec-sub { max-width: 58ch; margin: 1.1rem auto 0; }

/* ---------- buttons ---------- */
.btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 0.55rem;
  padding: 0.85rem 1.7rem;
  border-radius: 999px;
  font-size: 1rem; font-weight: 600; letter-spacing: -0.01em;
  border: 1px solid transparent;
  color: var(--navy-950); background: var(--gold-500);
  transition: background 0.35s var(--ease), color 0.35s var(--ease), transform 0.35s var(--ease), box-shadow 0.35s var(--ease), border-color 0.35s var(--ease);
}
.btn:hover { background: var(--gold-400); transform: translateY(-1px); box-shadow: 0 10px 28px -10px rgba(226, 138, 62, 0.55); }
.btn--ghost {
  background: rgba(15, 42, 80, 0.06); color: var(--navy-800);
  border-color: rgba(15, 42, 80, 0.18);
  -webkit-backdrop-filter: blur(20px) saturate(180%); backdrop-filter: blur(20px) saturate(180%);
}
.btn--ghost:hover { background: rgba(15, 42, 80, 0.1); border-color: rgba(15, 42, 80, 0.28); color: var(--navy-800); box-shadow: none; }
.cta-band .btn--ghost { background: rgba(255, 255, 255, 0.1); color: #F5F1E8; border-color: rgba(255, 255, 255, 0.22); }
.cta-band .btn--ghost:hover { background: rgba(255, 255, 255, 0.18); }
.btn .arr { transition: transform 0.35s var(--ease); }
.btn:hover .arr { transform: translateX(4px); }

.text-link {
  display: inline-flex; align-items: center; gap: 0.45rem;
  font-size: 0.98rem; font-weight: 500; letter-spacing: -0.01em;
  color: var(--gold-600);
  transition: color 0.3s var(--ease), gap 0.3s var(--ease);
}
.light .text-link { color: var(--gold-600); }
.text-link:hover { gap: 0.7rem; color: var(--navy-800); }

/* ---------- header: floating light glass bar ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  padding: 14px clamp(10px, 2.5vw, 22px) 0;
  transition: padding 0.45s var(--ease);
}
.site-header .container--wide {
  display: flex; align-items: center; justify-content: space-between;
  gap: clamp(1rem, 4vw - 26px, 2rem);
  height: 62px; padding: 0 1.1rem 0 1.3rem;
  background: rgba(255, 255, 255, 0.65);
  -webkit-backdrop-filter: blur(20px) saturate(180%); backdrop-filter: blur(20px) saturate(180%);
  border: 1px solid rgba(15, 42, 80, 0.08);
  border-radius: 18px;
  box-shadow: 0 8px 32px rgba(15, 42, 80, 0.08);
  transition: width 0.45s var(--ease), border-radius 0.45s var(--ease), background 0.45s var(--ease), border-color 0.45s var(--ease), height 0.45s var(--ease);
}
.site-header.scrolled { padding: 0; }
.site-header.scrolled .container--wide {
  width: 100%; max-width: none; height: 58px;
  border-radius: 0; border-width: 0 0 1px;
  background: rgba(255, 255, 255, 0.78);
}
.brand { display: flex; align-items: center; gap: 0.8rem; }
.brand img { height: 38px; width: auto; transition: height 0.45s var(--ease); content: url("/assets/img/mark.png"); }
.site-header.scrolled .brand img { height: 34px; }
.brand span {
  font-size: 0.95rem; font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--navy-800);
  white-space: nowrap;
}

/* gaps and type clamp down as the window narrows so the CTA pill always
   stays inside the glass bar; the pill itself never shrinks */
.nav { display: flex; align-items: center; gap: clamp(0.7rem, 7.3vw - 66px, 1.8rem); min-width: 0; }
.nav a {
  font-size: clamp(0.82rem, 1.2vw - 3px, 0.9rem); font-weight: 500; letter-spacing: -0.005em;
  white-space: nowrap;
  color: rgba(15, 42, 80, 0.78);
  padding: 0.4rem 0;
  transition: color 0.3s var(--ease);
}
.nav a:hover, .nav a[aria-current="page"] { color: var(--navy-800); }
.nav a[aria-current="page"] { color: var(--gold-600); }
.nav a.is-active { color: var(--gold-600); }
.nav a.btn { padding: 0.55rem 1.15rem; font-size: 0.9rem; background: var(--gold-500); color: var(--navy-950); flex-shrink: 0; }
.nav a.btn:hover { background: var(--gold-400); color: var(--navy-950); }

.nav a.lang {
  border: 1px solid rgba(15, 42, 80, 0.25); border-radius: 999px;
  padding: 0.28rem 0.66rem; font-size: 0.76rem; font-weight: 600;
  letter-spacing: 0.08em; flex-shrink: 0; line-height: 1;
}
.nav a.lang:hover { border-color: var(--gold-600); color: var(--gold-600); }

.nav-toggle { display: none; z-index: 130; width: 44px; height: 44px; position: relative; }
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  content: ""; position: absolute; left: 10px; width: 24px; height: 2px; border-radius: 2px; background: var(--navy-800);
  transition: transform 0.35s var(--ease), opacity 0.3s, top 0.35s var(--ease);
}
.nav-toggle span { top: 21px; }
.nav-toggle span::before { top: -7px; left: 0; }
.nav-toggle span::after { top: 7px; left: 0; }
body.nav-open .nav-toggle span { background: transparent; }
body.nav-open .nav-toggle span::before { top: 0; transform: rotate(45deg); }
body.nav-open .nav-toggle span::after { top: 0; transform: rotate(-45deg); }

.nav-practices { display: none; }

@media (max-width: 1080px) {
  .site-header { padding: 10px 10px 0; }
  .nav-toggle { display: block; }
  /* Fix: backdrop-filter on the bar makes it the containing block for the
     fixed-position menu (it rendered as a tiny window inside the pill).
     Move the glass to a ::before pseudo so the overlay can fill the viewport. */
  .site-header .container--wide {
    position: relative;
    background: transparent;
    border-color: transparent;
    box-shadow: none;
    -webkit-backdrop-filter: none; backdrop-filter: none;
  }
  .site-header .container--wide::before {
    content: ""; position: absolute; inset: 0; z-index: -1;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.65);
    -webkit-backdrop-filter: blur(20px) saturate(180%); backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid rgba(15, 42, 80, 0.08);
    box-shadow: 0 8px 32px rgba(15, 42, 80, 0.08);
  }
  .site-header.scrolled .container--wide::before {
    border-radius: 0;
    border-width: 0 0 1px;
    background: rgba(255, 255, 255, 0.78);
  }
  .nav {
    position: fixed; inset: 0; z-index: 120;
    flex-direction: column; justify-content: flex-start; align-items: center; gap: 1.15rem;
    padding: calc(var(--header-h) + 0.5rem) 1.6rem 3rem;
    overflow-y: auto; -webkit-overflow-scrolling: touch;
    background: rgba(251, 248, 242, 0.9);
    -webkit-backdrop-filter: blur(28px) saturate(180%); backdrop-filter: blur(28px) saturate(180%);
    opacity: 0; pointer-events: none; transition: opacity 0.4s var(--ease);
  }
  .nav > a { font-size: 1.15rem; font-weight: 600; flex-shrink: 0; color: var(--navy-800); }
  .nav .btn { margin-top: 0.4rem; }
  body.nav-open .nav { opacity: 1; pointer-events: auto; }
  body.nav-open { overflow: hidden; }

  /* all practice areas inside the mobile menu */
  .nav-practices {
    display: grid; grid-template-columns: 1fr 1fr; gap: 0.15rem 1.6rem;
    width: min(30rem, 100%); flex-shrink: 0;
    padding: 1.15rem 0 0.35rem; margin-top: 0.35rem;
    border-top: 1px solid var(--hairline-light);
    text-align: left;
  }
  .nav-practices-label {
    grid-column: 1 / -1;
    font-size: 0.7rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase;
    color: var(--gold-600); margin-bottom: 0.35rem;
  }
  .nav .nav-practices a {
    font-size: 0.92rem; font-weight: 400;
    color: var(--ink-soft); padding: 0.32rem 0;
    white-space: normal; overflow-wrap: anywhere;
  }
  .nav .nav-practices a:hover { color: var(--gold-600); }
}

/* ---------- hero ---------- */
.hero {
  position: relative; min-height: 100svh;
  display: flex; align-items: center;
  padding: calc(var(--header-h) + 3rem) 0 clamp(4rem, 9vh, 7rem);
  isolation: isolate;
}
.hero-media { position: absolute; inset: 0; z-index: -2; overflow: hidden; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: center 40%; transform: scale(1.08); }
.hero .container--wide { display: grid; gap: 2.2rem; }
.hero-kicker { color: var(--gold-600); font-size: 0.74rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; }
.hero h1 { max-width: 16ch; text-wrap: balance; }
.hero h1 em { font-style: normal; color: var(--gold-600); }
.hero .lede { max-width: 52ch; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 1.1rem; align-items: center; }
.hero-meta {
  display: flex; flex-wrap: wrap; gap: 1rem;
  padding-top: 0.6rem;
  font-size: 0.8rem; color: var(--ink-soft);
}
.hero-meta > div {
  padding: 1.1rem 1.5rem; border-radius: 18px;
  background: var(--glass-w); border: 1px solid var(--glass-w-border);
  -webkit-backdrop-filter: blur(20px) saturate(180%); backdrop-filter: blur(20px) saturate(180%);
  box-shadow: var(--shadow-card);
}
.hero-meta strong { display: block; font-size: 1.3rem; font-weight: 700; letter-spacing: -0.02em; color: var(--navy-800); margin-bottom: 0.15rem; }

.scroll-cue {
  position: absolute; right: 4vw; bottom: 2.4rem;
  writing-mode: vertical-rl; font-size: 0.68rem; font-weight: 500; letter-spacing: 0.32em; text-transform: uppercase;
  color: rgba(15, 42, 80, 0.45); display: flex; align-items: center; gap: 0.9rem;
}
.scroll-cue::after { content: ""; width: 1px; height: 3.4rem; background: linear-gradient(var(--gold-500), transparent); animation: cueDrop 2.2s var(--ease) infinite; }
@keyframes cueDrop { 0% { transform: scaleY(0); transform-origin: top; } 55% { transform: scaleY(1); transform-origin: top; } 100% { transform: scaleY(0); transform-origin: bottom; } }

/* hero entrance (only when JS is present to finish it) */
.js .hero [data-hero] { opacity: 0; transform: translateY(24px); }
.loaded .hero [data-hero] { animation: heroUp 1s var(--ease) forwards; }
.loaded .hero [data-hero="1"] { animation-delay: 0.15s; }
.loaded .hero [data-hero="2"] { animation-delay: 0.3s; }
.loaded .hero [data-hero="3"] { animation-delay: 0.48s; }
.loaded .hero [data-hero="4"] { animation-delay: 0.64s; }
.loaded .hero [data-hero="5"] { animation-delay: 0.82s; }
@keyframes heroUp { to { opacity: 1; transform: none; } }
.loaded .hero-media img { animation: heroZoom 2.4s var(--ease) forwards; }
@keyframes heroZoom { from { transform: scale(1.16); } to { transform: scale(1.08); } }

/* ---------- cinematic home hero: full-bleed golden-sky image ---------- */
.hero--cinema {
  align-items: flex-end;
  padding-bottom: clamp(3.2rem, 8vh, 5.5rem);
  /* dusk fallback painted while (or if) the image loads — keeps white type AA */
  background: linear-gradient(180deg, #2A4E78 0%, #0F2A50 55%, #071830 100%);
}
.hero--cinema .hero-media img { object-position: 68% 42%; }
/* navy scrim rising from the bottom + soft left column so the huge white
   headline holds AA over the bright sky; the doves stay clear on the right */
.hero--cinema .hero-media::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(101deg, rgba(7, 24, 48, 0.60) 0%, rgba(7, 24, 48, 0.34) 32%, rgba(7, 24, 48, 0) 60%),
    linear-gradient(180deg, rgba(7, 24, 48, 0.10) 0%, rgba(7, 24, 48, 0) 26%, rgba(7, 24, 48, 0.52) 64%, rgba(7, 24, 48, 0.96) 100%);
}
.hero--cinema .container--wide { gap: 1.7rem; }
.hero--cinema .hero-kicker { color: #D4BA88; text-shadow: 0 1px 10px rgba(7, 24, 48, 0.6); }
.hero--cinema h1 {
  font-size: clamp(2.7rem, 7vw, 6rem);
  line-height: 1.01; letter-spacing: -0.032em;
  color: #fff; max-width: 14ch;
  text-shadow: 0 2px 30px rgba(7, 24, 48, 0.55), 0 1px 6px rgba(7, 24, 48, 0.35);
}
.hero--cinema h1 em { color: #E9CD9C; }
.hero--cinema .lede { color: rgba(245, 241, 232, 0.94); text-shadow: 0 1px 14px rgba(7, 24, 48, 0.55); max-width: 48ch; }
.hero--cinema .cta-phone { color: #D4BA88; text-shadow: 0 1px 10px rgba(7, 24, 48, 0.6); }
.hero--cinema .cta-phone:hover { color: #fff; }
/* stat chips flip to dark glass over the scrim */
.hero--cinema .hero-meta { color: rgba(231, 224, 208, 0.85); }
.hero--cinema .hero-meta > div {
  background: rgba(7, 24, 48, 0.48);
  border-color: rgba(255, 255, 255, 0.18);
  box-shadow: 0 8px 32px rgba(7, 24, 48, 0.35);
}
.hero--cinema .hero-meta strong { color: #fff; }
.hero--cinema .scroll-cue { color: rgba(245, 241, 232, 0.6); }
@media (max-width: 760px) {
  .hero--cinema .hero-media img { object-position: 72% 45%; }
  .hero--cinema h1 { font-size: clamp(2.3rem, 10.5vw, 3rem); }
}

/* ---------- marquee: dark bridge between hero and the navy services band ---------- */
.marquee {
  overflow: hidden; border-block: 1px solid rgba(255, 255, 255, 0.10);
  background: rgba(7, 24, 48, 0.94);
  padding: 0.85rem 0;
}
.marquee-track { display: flex; gap: 2.8rem; width: max-content; animation: marquee 38s linear infinite; }
.marquee-track a {
  font-size: 0.85rem; font-weight: 500; letter-spacing: 0;
  color: rgba(231, 224, 208, 0.75); white-space: nowrap; display: flex; align-items: center; gap: 2.8rem;
  transition: color 0.3s;
}
.marquee-track a:hover { color: #D4BA88; }
.marquee-track a::after { content: "·"; color: var(--gold-500); font-size: 1rem; }
@keyframes marquee { to { transform: translateX(-50%); } }
.marquee:hover .marquee-track { animation-play-state: paused; }

/* ---------- deep navy band (services) — translucent enough for the mote field ---------- */
.band-navy {
  background:
    radial-gradient(900px 560px at 50% -10%, rgba(226, 138, 62, 0.14), transparent 62%),
    radial-gradient(720px 520px at 12% 110%, rgba(38, 83, 132, 0.30), transparent 62%),
    linear-gradient(180deg, rgba(7, 24, 48, 0.93), rgba(11, 33, 64, 0.90));
}
.band-navy h2 { color: #F5F1E8; }
.band-navy .sec-sub { color: rgba(231, 224, 208, 0.78); }
.band-navy .pa-card--img {
  border-color: rgba(255, 255, 255, 0.14);
  box-shadow: 0 14px 44px rgba(4, 14, 30, 0.5);
}
/* cards glow against the dark: soft gold rim + bloom on hover */
.band-navy .pa-card--img:hover {
  border-color: rgba(212, 186, 136, 0.55);
  box-shadow:
    0 0 0 1px rgba(212, 186, 136, 0.22),
    0 22px 60px -12px rgba(226, 138, 62, 0.38),
    0 18px 44px rgba(4, 14, 30, 0.55);
}

/* ---------- practice area cards: light glass tiles ---------- */
.pa-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.3rem; }
@media (max-width: 1000px) { .pa-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .pa-grid { grid-template-columns: 1fr; } }

.pa-card {
  position: relative; display: flex; flex-direction: column; justify-content: flex-end;
  min-height: 320px; padding: 2rem; overflow: hidden;
  background: var(--glass-w);
  border: 1px solid var(--glass-w-border);
  border-radius: 24px;
  -webkit-backdrop-filter: blur(20px) saturate(180%); backdrop-filter: blur(20px) saturate(180%);
  box-shadow: var(--shadow-card);
  isolation: isolate;
  transition: transform 0.45s var(--ease), background 0.45s var(--ease), border-color 0.45s var(--ease), box-shadow 0.45s var(--ease);
}
.pa-card img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; transition: transform 0.9s var(--ease), filter 0.9s var(--ease); filter: saturate(0.85); }
.pa-card:hover { transform: translateY(-4px); background: var(--glass-w-strong); border-color: rgba(15, 42, 80, 0.14); box-shadow: var(--shadow-card-hover); }
.pa-card:hover img { transform: scale(1.06); filter: saturate(1); }
.pa-card h3 { font-size: 1.35rem; letter-spacing: -0.018em; margin-bottom: 0.5rem; transition: color 0.3s; }
.pa-card:hover h3 { color: var(--gold-600); }
.pa-card p { font-size: 0.95rem; line-height: 1.55; color: var(--ink-soft); max-width: 34ch; }
.pa-card .pa-idx { display: none; }
.pa-card .pa-more { margin-top: 1.1rem; }

/* image-backed practice cards: golden-sky photo + navy bottom scrim, white titles (AA) */
.pa-card--img::after {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  border-radius: inherit;
  background: linear-gradient(180deg, rgba(7, 24, 48, 0) 26%, rgba(7, 24, 48, 0.58) 56%, rgba(7, 24, 48, 0.94) 100%);
  transition: background 0.45s var(--ease);
}
.pa-card--img h3 { color: #fff; text-shadow: 0 1px 12px rgba(7, 24, 48, 0.45); }
.pa-card--img:hover h3 { color: #D4BA88; }
.pa-card--img p { color: rgba(245, 241, 232, 0.94); text-shadow: 0 1px 8px rgba(7, 24, 48, 0.5); }
.pa-card--img .pa-more { color: #D4BA88; }
.pa-card--img:hover .pa-more { color: #fff; }
.pa-card--img:hover { border-color: rgba(212, 186, 136, 0.45); }

/* pointer-tracked glare on tiltable cards (vars set from JS) */
.pa-card::before, .post-card::before {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  border-radius: inherit;
  background: radial-gradient(420px circle at var(--glx, 50%) var(--gly, 50%), rgba(255, 255, 255, 0.55), transparent 62%);
  opacity: var(--glo, 0);
  transition: opacity 0.35s var(--ease);
}

/* ---------- split feature (about teaser) ---------- */
.split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(2.5rem, 6vw, 5.5rem); align-items: center; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } }
.split-media { position: relative; }
.split-media img { width: 100%; height: auto; border-radius: 24px; }
.split-media .badge {
  position: absolute; right: -1rem; bottom: -1rem;
  background: var(--glass-w-strong);
  -webkit-backdrop-filter: blur(20px) saturate(180%); backdrop-filter: blur(20px) saturate(180%);
  border: 1px solid var(--glass-w-border); border-radius: 18px;
  padding: 1.2rem 1.5rem; text-align: center;
  box-shadow: var(--shadow-card);
}
.split-media .badge strong { display: block; font-size: 1.7rem; font-weight: 700; letter-spacing: -0.02em; color: var(--navy-800); line-height: 1; }
.split-media .badge small { font-size: 0.72rem; font-weight: 500; color: var(--ink-soft); }

.checklist { display: grid; gap: 0.9rem; margin-top: 1.8rem; }
.checklist li { display: flex; gap: 0.9rem; align-items: baseline; }
.checklist li::before { content: "—"; color: var(--gold-500); flex-shrink: 0; }

/* ---------- stats: light glass tiles ---------- */
.stats {
  width: min(1200px, 92vw); margin-inline: auto;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 1.1rem;
  padding: clamp(2.5rem, 5vw, 4rem) 0;
}
.stat {
  padding: 2.2rem 1.8rem; text-align: center;
  background: var(--glass-w); border: 1px solid var(--glass-w-border);
  border-radius: 20px;
  -webkit-backdrop-filter: blur(20px) saturate(180%); backdrop-filter: blur(20px) saturate(180%);
  box-shadow: var(--shadow-card);
  transition: transform 0.45s var(--ease), background 0.45s var(--ease);
}
.stat:hover { transform: translateY(-3px); background: var(--glass-w-strong); }
.stat strong { display: block; font-size: clamp(1.6rem, 2.4vw, 2.1rem); font-weight: 700; letter-spacing: -0.02em; color: var(--navy-800); line-height: 1.1; margin-bottom: 0.4rem; }
.stat strong span { font: inherit; color: inherit; letter-spacing: inherit; }
.stat > span { font-size: 0.8rem; line-height: 1.45; display: inline-block; color: var(--ink-soft); }

/* ---------- process: light glass step tiles ---------- */
.process { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1.1rem, 2.5vw, 1.6rem); counter-reset: step; }
@media (max-width: 800px) { .process { grid-template-columns: 1fr; } }
.step {
  position: relative; padding: 1.8rem;
  background: var(--glass-w); border: 1px solid var(--glass-w-border);
  border-radius: var(--radius-card);
  -webkit-backdrop-filter: blur(20px) saturate(180%); backdrop-filter: blur(20px) saturate(180%);
  box-shadow: var(--shadow-card);
  transition: transform 0.45s var(--ease), background 0.45s var(--ease);
}
.step:hover { transform: translateY(-3px); background: var(--glass-w-strong); }
.light .step { background: var(--glass-w); border-color: var(--glass-w-border); box-shadow: var(--shadow-card); }
.light .step:hover { background: var(--glass-w-strong); }
.step::before {
  counter-increment: step; content: "0" counter(step);
  display: block;
  font-size: 0.82rem; font-weight: 700; letter-spacing: 0.08em;
  color: var(--gold-600); margin-bottom: 0.9rem;
}
.light .step::before { color: var(--gold-600); }
.step h3 { font-size: 1.2rem; letter-spacing: -0.015em; margin-bottom: 0.55rem; }
.step p { font-size: 0.95rem; line-height: 1.55; }

/* ---------- quote ---------- */
.quote { max-width: 860px; margin-inline: auto; text-align: center; }
.quote blockquote {
  font-weight: 600;
  font-size: clamp(1.35rem, 2.3vw, 1.9rem); line-height: 1.4; letter-spacing: -0.018em; color: var(--navy-800);
  text-wrap: balance;
}
.quote blockquote::before { content: "“"; display: block; font-size: 4rem; font-weight: 700; line-height: 0.6; color: var(--gold-500); margin-bottom: 1.4rem; }
.quote cite { display: block; margin-top: 1.8rem; font-style: normal; font-size: 0.78rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold-600); }

/* ---------- FAQ: light glass tiles ---------- */
.faq { max-width: 820px; margin-inline: auto; display: grid; gap: 0.9rem; }
.faq details {
  background: var(--glass-w); border: 1px solid var(--glass-w-border);
  border-radius: 18px; padding: 0 1.5rem;
  -webkit-backdrop-filter: blur(20px) saturate(180%); backdrop-filter: blur(20px) saturate(180%);
  box-shadow: var(--shadow-card);
  transition: background 0.3s var(--ease);
}
.faq details:hover { background: var(--glass-w-strong); }
.faq summary {
  display: flex; justify-content: space-between; align-items: center; gap: 1.5rem;
  padding: 1.25rem 0; cursor: pointer; list-style: none;
  font-size: 1.08rem; font-weight: 600; letter-spacing: -0.012em; color: var(--navy-800);
  transition: color 0.3s;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: var(--gold-600); }
.faq summary::after {
  content: "+"; flex-shrink: 0; width: 1.9rem; height: 1.9rem;
  border: 1px solid rgba(15, 42, 80, 0.15); border-radius: 999px;
  display: grid; place-items: center; font-size: 1.05rem; font-weight: 400; color: var(--gold-600);
  transition: transform 0.4s var(--ease), background 0.3s;
}
.faq details[open] summary::after { transform: rotate(45deg); background: rgba(226, 138, 62, 0.14); }
.faq .faq-a { padding: 0 0 1.4rem; max-width: 65ch; }
.faq details.animating .faq-a { overflow: hidden; }

/* ---------- statement moments: deep gold full-height bands ---------- */
.statement {
  position: relative; isolation: isolate; overflow: hidden;
  min-height: 100svh;
  display: flex; align-items: center;
  padding: clamp(6rem, 14vh, 10rem) 0;
  text-align: center;
  background: linear-gradient(180deg, #A5824B 0%, #B08D57 42%, #BE9B65 100%);
}
.statement--short { min-height: 76svh; }
/* deliberate blends into the neighbouring bands — no hard joins */
.statement::before { content: ""; position: absolute; inset: 0; pointer-events: none; }
.statement--from-navy::before {
  background:
    linear-gradient(180deg, rgba(11, 33, 64, 0.92) 0%, rgba(11, 33, 64, 0) 30%),
    linear-gradient(0deg, #F7F1E6 0%, rgba(250, 238, 219, 0) 24%);
}
.statement--to-navy::before {
  background:
    linear-gradient(180deg, #F7F1E6 0%, rgba(250, 238, 219, 0) 24%),
    linear-gradient(0deg, rgba(11, 33, 64, 0.94) 0%, rgba(11, 33, 64, 0) 30%);
}
.statement .container { position: relative; z-index: 1; }
.statement-line {
  font-size: clamp(2.9rem, 9vw, 7rem);
  font-weight: 700; line-height: 1.03; letter-spacing: -0.034em;
  color: #071830; /* navy-950 on brand gold ≈ 5.9:1 — AA at any size */
  text-wrap: balance; margin-inline: auto;
}
.statement .st-w { display: inline-block; }
/* word-by-word rise, driven by the shared reveal observer */
.js .statement-line.reveal { opacity: 1; transform: none; transition: none; }
.js .statement-line .st-w { opacity: 0; transform: translateY(0.55em); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); transition-delay: var(--wd, 0s); }
.js .statement-line.in .st-w { opacity: 1; transform: none; }

/* ---------- CTA band (stays navy) ---------- */
.cta-band { position: relative; isolation: isolate; overflow: hidden; text-align: center; }
.cta-band .container { display: grid; gap: 1.5rem; justify-items: center; }
.cta-band h2 { max-width: 20ch; text-wrap: balance; }
.cta-band .bg { position: absolute; inset: 0; z-index: -2; }
.cta-band .bg img { width: 100%; height: 100%; object-fit: cover; object-position: center 38%; }
/* navy scrim over the doves photo — keeps ivory text and gold button AA */
.cta-band .bg::after {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(900px 560px at 50% -20%, rgba(226, 138, 62, 0.10), transparent 62%),
    linear-gradient(180deg, rgba(7, 24, 48, 0.86) 0%, rgba(11, 33, 64, 0.72) 46%, rgba(7, 24, 48, 0.9) 100%);
}
.cta-band .sub { max-width: 54ch; color: rgba(231, 224, 208, 0.78); }
.cta-phone { font-size: 1.15rem; font-weight: 600; letter-spacing: -0.01em; color: var(--gold-600); }
.cta-phone:hover { color: var(--navy-800); }
.cta-band .cta-phone { color: var(--gold-300); }
.cta-band .cta-phone:hover { color: var(--gold-400); }

/* ---------- page hero (interior) ---------- */
.page-hero {
  position: relative; isolation: isolate;
  padding: calc(var(--header-h) + clamp(4rem, 9vw, 7rem)) 0 clamp(3.5rem, 7vw, 5.5rem);
}
.page-hero .bg { position: absolute; inset: 0; z-index: -2; }
.page-hero .bg img { width: 100%; height: 100%; object-fit: cover; object-position: center 35%; }
/* image-backed page hero: golden photo under a navy veil, light text (AA) */
.page-hero--img .bg::after {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(900px 560px at 50% -20%, rgba(226, 138, 62, 0.10), transparent 62%),
    linear-gradient(180deg, rgba(7, 24, 48, 0.88) 0%, rgba(11, 33, 64, 0.76) 52%, rgba(7, 24, 48, 0.9) 100%);
}
.page-hero--img h1 { color: var(--ivory); }
.page-hero--img .lede { color: rgba(231, 224, 208, 0.85); }
.page-hero--img .breadcrumbs { color: rgba(245, 241, 232, 0.72); }
.page-hero--img .breadcrumbs a:hover { color: var(--gold-300); }
.page-hero--img .eyebrow { color: var(--gold-300); }
.page-hero--img .cta-phone { color: var(--gold-300); }
.page-hero--img .cta-phone:hover { color: var(--gold-400); }

.breadcrumbs { display: flex; flex-wrap: wrap; gap: 0.6rem; font-size: 0.82rem; font-weight: 500; color: rgba(70, 80, 94, 0.85); margin-bottom: 1.5rem; }
.breadcrumbs a:hover { color: var(--gold-600); }
.breadcrumbs .sep { color: var(--gold-500); }
.page-hero h1 { max-width: 18ch; text-wrap: balance; }
.page-hero .lede { max-width: 56ch; margin-top: 1.4rem; }

/* ---------- article / practice detail ---------- */
.article-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 3fr); gap: clamp(2.5rem, 6vw, 5rem); }
@media (max-width: 900px) { .article-grid { grid-template-columns: 1fr; } }
.article h2 { font-size: clamp(1.35rem, 2.2vw, 1.75rem); letter-spacing: -0.018em; color: var(--navy-800); margin: 2.6rem 0 1rem; }
.article h2:first-child { margin-top: 0; }
.article p { margin-bottom: 1.1rem; }
.article ul { margin: 0 0 1.3rem 1.1rem; }
.article ul li { margin-bottom: 0.45rem; padding-left: 0.4rem; }
.article ul li::marker { content: "— "; color: var(--gold-600); }

.rail { position: sticky; top: calc(var(--header-h) + 1rem); align-self: start; display: grid; gap: 1.3rem; }
.rail-card {
  background: var(--glass-w-strong);
  border: 1px solid var(--glass-w-border);
  border-radius: var(--radius-card);
  -webkit-backdrop-filter: blur(20px) saturate(180%); backdrop-filter: blur(20px) saturate(180%);
  padding: 1.9rem; color: var(--ink-soft);
  box-shadow: var(--shadow-card);
}
.rail-card h3 { font-size: 1.18rem; letter-spacing: -0.015em; margin-bottom: 0.7rem; color: var(--navy-800); }
.rail-card p { font-size: 0.92rem; margin-bottom: 1.3rem; }
.rail-card .btn { width: 100%; justify-content: center; }
.rail-nav {
  background: var(--glass-w); border: 1px solid var(--glass-w-border);
  border-radius: var(--radius-card);
  -webkit-backdrop-filter: blur(20px) saturate(180%); backdrop-filter: blur(20px) saturate(180%);
  box-shadow: var(--shadow-card);
  padding: 1.5rem 1.7rem;
}
.rail-nav h4 { font-size: 0.78rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--gold-600); margin-bottom: 0.9rem; }
.rail-nav a { display: block; padding: 0.5rem 0; font-size: 0.94rem; color: var(--ink-soft); border-bottom: 1px solid var(--hairline-light); transition: color 0.25s, padding-left 0.3s var(--ease); }
.rail-nav a:last-child { border-bottom: 0; }
.rail-nav a:hover { color: var(--gold-600); padding-left: 0.4rem; }
.rail-nav a[aria-current="page"] { color: var(--navy-800); font-weight: 600; }

/* ---------- contact ---------- */
.contact-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(2.5rem, 6vw, 5rem); }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-info { display: grid; gap: 1.9rem; align-content: start; }
.contact-line { display: grid; gap: 0.3rem; padding-bottom: 1.5rem; border-bottom: 1px solid var(--hairline-light); }
.contact-line small { font-size: 0.72rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--gold-600); }
.contact-line a, .contact-line span { font-size: 1.15rem; font-weight: 600; letter-spacing: -0.012em; color: var(--navy-800); }
.contact-line a:hover { color: var(--gold-600); }

.form {
  display: grid; gap: 1.2rem;
  background: var(--glass-w-strong);
  border: 1px solid var(--glass-w-border);
  border-radius: 26px;
  -webkit-backdrop-filter: blur(20px) saturate(180%); backdrop-filter: blur(20px) saturate(180%);
  padding: clamp(1.8rem, 4vw, 2.8rem);
  box-shadow: 0 24px 60px -22px rgba(15, 42, 80, 0.22);
}
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; }
@media (max-width: 600px) { .form .row { grid-template-columns: 1fr; } }
.field { display: grid; gap: 0.45rem; }
.field label { font-size: 0.85rem; font-weight: 600; color: var(--navy-800); }
.field input, .field select, .field textarea {
  width: 100%; padding: 0.85rem 1.05rem;
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid rgba(15, 42, 80, 0.16);
  border-radius: 13px;
  box-shadow: inset 0 1px 2px rgba(15, 42, 80, 0.06);
  color: var(--ink); font: inherit; font-size: 1rem;
  transition: border-color 0.3s var(--ease), background 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.field select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--gold-600) 50%), linear-gradient(135deg, var(--gold-600) 50%, transparent 50%); background-position: calc(100% - 1.3rem) 1.3rem, calc(100% - 1rem) 1.3rem; background-size: 5px 5px; background-repeat: no-repeat; }
.field select option { color: var(--ink); }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--gold-500);
  background: #fff;
  box-shadow: inset 0 1px 2px rgba(15, 42, 80, 0.05), 0 0 0 4px rgba(226, 138, 62, 0.24);
}
.form .fine { font-size: 0.8rem; color: var(--ink-soft); line-height: 1.6; }
.hp { position: absolute; left: -9999px; opacity: 0; height: 0; overflow: hidden; }

/* ---------- insights / blog ---------- */
.post-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.3rem; }
.post-grid--3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 900px) { .post-grid, .post-grid--3 { grid-template-columns: 1fr; } }
.post-card {
  position: relative; overflow: hidden; isolation: isolate;
  display: flex; flex-direction: column; gap: 0.55rem;
  padding: 1.8rem 1.9rem;
  background: var(--glass-w); border: 1px solid var(--glass-w-border);
  border-radius: 20px;
  -webkit-backdrop-filter: blur(20px) saturate(180%); backdrop-filter: blur(20px) saturate(180%);
  box-shadow: var(--shadow-card);
  transition: background 0.3s var(--ease), box-shadow 0.35s var(--ease), transform 0.35s var(--ease);
}
.post-card:hover { background: var(--glass-w-strong); transform: translateY(-3px); box-shadow: var(--shadow-card-hover); }
.post-thumb {
  width: calc(100% + 3.8rem); max-width: none; height: auto;
  margin: -1.8rem -1.9rem 0.35rem;
  aspect-ratio: 16 / 9; object-fit: cover;
  transition: transform 0.9s var(--ease), filter 0.9s var(--ease);
  filter: saturate(0.9);
}
.post-card:hover .post-thumb { transform: scale(1.045); filter: saturate(1); }
.post-cat { font-size: 0.7rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--gold-600); }
.post-card h2 { font-size: 1.25rem; letter-spacing: -0.015em; color: var(--navy-800); line-height: 1.25; transition: color 0.3s; }
.post-card:hover h2 { color: var(--gold-600); }
.post-card p { font-size: 0.92rem; line-height: 1.55; }
.post-meta { margin-top: auto; padding-top: 0.6rem; font-size: 0.78rem; color: rgba(70, 80, 94, 0.9); }
.post-body .lede-p { font-size: 1.18rem; line-height: 1.55; letter-spacing: -0.01em; color: var(--ink-soft); margin-bottom: 1.5rem; }
.post-body .disclaimer { margin-top: 1.6rem; padding-top: 1.2rem; border-top: 1px solid var(--hairline-light); font-size: 0.82rem; color: rgba(70, 80, 94, 0.9); }
.post-body a { color: var(--gold-600); text-decoration: underline; text-decoration-color: rgba(226, 138, 62, 0.4); text-underline-offset: 3px; }
.post-body a:hover { color: var(--navy-800); }

/* ---------- footer (stays navy) ---------- */
.site-footer {
  position: relative;
  background: var(--navy-950);
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding: clamp(3.5rem, 7vw, 5.5rem) 0 2.2rem;
}
.site-footer::before {
  content: ""; position: absolute; inset: 0 0 auto 0; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.28), transparent);
}
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.4fr; gap: 2.8rem; padding-bottom: 3rem; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }
.site-footer h4 { font-size: 0.82rem; font-weight: 600; letter-spacing: 0.02em; color: var(--gold-400); margin-bottom: 1rem; }
.site-footer a { font-size: 0.9rem; color: rgba(231, 224, 208, 0.72); display: inline-block; padding: 0.26rem 0; transition: color 0.25s; }
.site-footer a:hover { color: var(--gold-300); }
.footer-brand img { height: 44px; margin-bottom: 0.8rem; }
.footer-brand p { font-size: 0.92rem; max-width: 34ch; color: rgba(231, 224, 208, 0.6); }
.footer-brand .brand-word {
  font-size: 0.95rem; font-weight: 600; letter-spacing: 0.1em;
  color: var(--ivory); display: inline-block; margin-bottom: 1.2rem;
}
.footer-legal { border-top: 1px solid var(--hairline-dark); padding-top: 1.8rem; display: grid; gap: 0.8rem; font-size: 0.8rem; color: rgba(231, 224, 208, 0.45); }
.footer-legal .row2 { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; }

/* ---------- mobile sticky CTA: floating navy glass pill ---------- */
.mobile-cta {
  position: fixed; left: 12px; right: 12px;
  bottom: calc(12px + env(safe-area-inset-bottom, 0px));
  z-index: 90;
  display: none; grid-template-columns: 1fr 1fr; gap: 6px;
  padding: 6px;
  background: rgba(11, 33, 64, 0.6);
  -webkit-backdrop-filter: blur(20px) saturate(180%); backdrop-filter: blur(20px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  box-shadow: 0 12px 40px rgba(7, 24, 48, 0.45);
}
.mobile-cta a {
  display: flex; align-items: center; justify-content: center; gap: 0.5rem;
  padding: 0.75rem 0.9rem; border-radius: 999px;
  font-size: 0.92rem; font-weight: 600; letter-spacing: -0.01em;
}
.mobile-cta a:first-child { color: var(--ivory); background: rgba(255, 255, 255, 0.1); }
.mobile-cta a:last-child { background: var(--gold-500); color: var(--navy-950); }
@media (max-width: 760px) {
  .mobile-cta { display: grid; }
  body { padding-bottom: calc(84px + env(safe-area-inset-bottom, 0px)); }
}

/* ---------- scroll reveal (soft rise + scale-in; JS-gated so a no-JS page is fully visible) ---------- */
.js .reveal { opacity: 0; transform: translateY(24px) scale(0.98); transition: opacity 0.85s var(--ease), transform 0.85s var(--ease); transition-delay: var(--d, 0s); will-change: opacity, transform; }
.js .reveal.in { opacity: 1; transform: none; }
.js .reveal-line { transform: none; clip-path: inset(0 100% 0 0); transition: clip-path 1.1s var(--ease), opacity 0.6s; }
.js .reveal-line.in { clip-path: inset(0 0 0 0); }

/* ---------- misc ---------- */
.gold-rule { width: 100%; height: 1px; background: linear-gradient(90deg, transparent, var(--gold-500), transparent); border: 0; }
.grain::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0.18; z-index: 5;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.04 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.cta-band.grain::after { opacity: 0.28; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
  .reveal, .hero [data-hero], .st-w { opacity: 1 !important; transform: none !important; clip-path: none !important; }
  .marquee-track { animation: none; }
  #bg3d { display: none; }
}

/* ---------- aurora backdrops ---------- */
/* Light heroes: white air with soft pastel gold + pale blue glows.
   Transparent base so the particle field shows through. */
.hero:not(.hero--cinema), .page-hero {
  background:
    radial-gradient(1000px 640px at 82% -12%, rgba(226, 138, 62, 0.24), transparent 62%),
    radial-gradient(760px 560px at -8% 34%, rgba(120, 160, 205, 0.14), transparent 62%),
    radial-gradient(880px 620px at 52% 112%, rgba(226, 138, 62, 0.16), transparent 60%);
}
/* Final CTA band stays deep navy with the original aurora */
.cta-band {
  background:
    radial-gradient(900px 560px at 50% -20%, rgba(226, 138, 62, 0.16), transparent 62%),
    radial-gradient(720px 520px at 12% 110%, rgba(38, 83, 132, 0.38), transparent 62%),
    linear-gradient(180deg, var(--navy-900), var(--navy-950));
}

.light .rail-card h3 { color: var(--navy-800); }

/* decorative dove mark in the home hero — navy watermark over light air */
.hero-mark {
  position: absolute; z-index: -1; right: 3vw; top: 16vh;
  height: min(52vh, 460px); width: auto; opacity: 0.06; pointer-events: none;
  content: url("/assets/img/mark.png");
  filter: grayscale(1) brightness(0.35);
}
@media (max-width: 800px) { .hero-mark { display: none; } }

/* ---------- no-blur fallbacks (older browsers) ---------- */
@supports not ((backdrop-filter: blur(4px)) or (-webkit-backdrop-filter: blur(4px))) {
  .site-header .container--wide, .site-header.scrolled .container--wide, .nav { background: rgba(255, 255, 255, 0.96); }
  .mobile-cta { background: rgba(11, 33, 64, 0.96); }
  .pa-card, .stat, .step, .hero-meta > div,
  .faq details, .post-card, .rail-nav, .rail-card, .form { background: rgba(255, 255, 255, 0.94); }
  .hero--cinema .hero-meta > div { background: rgba(7, 24, 48, 0.94); }
  .field input, .field select, .field textarea { background: #fff; }
}

.form-note { font-size: 0.72rem; line-height: 1.5; color: rgba(255,255,255,0.55); margin: 0.45rem 0 0; }
.light .form-note { color: var(--ink-soft); }
