:root {
  --ink: #0b192c;
  --ink-2: #122640;
  --ink-3: #1b3659;
  --paper: #f7f5f2;
  --paper-2: #edeae4;
  --surface: #ffffff;
  --text: #f8fafc;
  --text-dark: #0f172a;
  --muted: #94a3b8;
  --muted-dark: #475569;
  --brass: #1d4ed8;
  --brass-2: #38bdf8;
  --brass-dark: #1d4ed8;
  --teal: #0d9488;
  --indigo: #4f46e5;
  --coral: #d97706;
  --emerald: #059669;
  --primary: #1d4ed8;
  --primary-hover: #1e40af;
  --line: rgba(255, 255, 255, 0.12);
  --line-2: rgba(255, 255, 255, 0.2);
  --line-paper: #e2e8f0;
  --line-paper-strong: #cbd5e1;
  --warn: #b45309;
  --warn-soft: #fff7ed;
  --r: 20px;
  --r-sm: 12px;
  --pad: clamp(18px, 4.5vw, 52px);
  --max: 1180px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --sans: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --serif: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--sans);
  background: var(--paper);
  color: var(--text-dark);
  font-size: 16px;
  line-height: 1.62;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; transition: color 0.18s ease, opacity 0.18s ease; }
button, input, select, textarea { font: inherit; }

.wrap { width: min(100% - 2 * var(--pad), var(--max)); margin-inline: auto; }
.wrap-narrow { width: min(100% - 2 * var(--pad), 820px); margin-inline: auto; }

.skip-link {
  position: absolute; left: -9999px; top: 8px; z-index: 400;
  background: var(--brass); color: var(--ink); padding: 10px 16px; border-radius: 99px; font-weight: 700;
}
.skip-link:focus { left: 16px; }

/* Typography System (SwiftLead Bold Sans + Italic Instrument Serif Mastery) */
.h1, h1 {
  font-family: var(--sans); font-weight: 700;
  font-size: clamp(2.55rem, 8.8vw, 5.4rem);
  line-height: 0.99; letter-spacing: -0.042em;
  margin: 16px 0 20px; text-wrap: balance;
}
.h2, h2 {
  font-family: var(--sans); font-weight: 700;
  font-size: clamp(1.95rem, 6.2vw, 3.8rem);
  line-height: 1.03; letter-spacing: -0.036em;
  margin: 12px 0 16px; text-wrap: balance;
}
.h3, h3 {
  font-family: var(--sans); font-weight: 650;
  font-size: clamp(1.22rem, 3vw, 1.5rem);
  line-height: 1.18; letter-spacing: -0.02em; margin: 0 0 8px;
}
.serif-it {
  font-family: var(--sans); font-style: normal; font-weight: 700;
  letter-spacing: -0.03em; font-size: 1em;
}
.brass { color: var(--brass-2); }
.paper .brass, .section-paper .brass, .section-white .brass { color: var(--brass-dark); }
.lede {
  font-size: clamp(1.02rem, 2.5vw, 1.2rem); line-height: 1.62;
  max-width: 38em; margin: 0 0 24px; text-wrap: pretty;
}
p { margin: 0 0 1rem; }
ul, ol { margin: 0 0 1.1rem; padding-left: 1.25rem; }
li { margin-bottom: 0.45rem; }

/* Hairline Editorial Eyebrow (NO pill clutter!) */
.eyebrow {
  display: inline-flex; align-items: center; gap: 11px;
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--brass-dark);
}
.eyebrow::before { content: ""; width: 24px; height: 1px; background: currentColor; opacity: 0.7; }
.on-dark .eyebrow, .section-dark .eyebrow, .cinema-hero .eyebrow { color: var(--brass-2); }

/* Scroll reveal */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.65s var(--ease), transform 0.65s var(--ease); }
.reveal.in { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .cinema-slide { animation: none !important; }
}

/* Pill Tactile Buttons (54px mobile tap targets) */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 13px 24px; border-radius: 999px;
  font-weight: 650; font-size: 0.96rem; letter-spacing: -0.01em;
  border: 1.5px solid transparent; cursor: pointer;
  transition: transform 0.2s var(--ease), background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
  white-space: nowrap;
}
.btn:active { transform: scale(0.98); }
.btn-primary { background: linear-gradient(135deg, #1d4ed8 0%, #0e7490 100%); color: #fff; }
.btn-primary:hover { background: linear-gradient(135deg, #1e40af 0%, #0f766e 100%); color: #fff; transform: translateY(-1px); box-shadow: 0 12px 28px rgba(29, 78, 216, 0.28); }
.btn-brass { background: linear-gradient(135deg, #1d4ed8 0%, #0e7490 100%); color: #fff; }
.btn-brass:hover { background: linear-gradient(135deg, #1e40af 0%, #0f766e 100%); color: #fff; transform: translateY(-1px); box-shadow: 0 12px 28px rgba(29, 78, 216, 0.34); }
.btn-white { background: #fff; color: var(--ink); }
.btn-white:hover { background: var(--paper); color: var(--ink); transform: translateY(-1px); }
.btn-glass {
  background: rgba(15, 23, 42, 0.05); border-color: #cbd5e1;
  color: var(--text-dark);
}
.btn-glass:hover { background: rgba(29, 78, 216, 0.08); border-color: var(--primary); color: var(--primary); }
.on-dark .btn-glass, .section-dark .btn-glass, .page-hero .btn-glass, .cta-band .btn-glass {
  background: rgba(255, 255, 255, 0.08); border-color: rgba(255, 255, 255, 0.24);
  color: #fff; backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
}
.on-dark .btn-glass:hover, .section-dark .btn-glass:hover, .page-hero .btn-glass:hover, .cta-band .btn-glass:hover {
  background: rgba(255, 255, 255, 0.16); border-color: rgba(255, 255, 255, 0.5); color: #fff;
}
.btn-outline { background: transparent; border-color: var(--line-paper-strong); color: var(--text-dark); }
.btn-outline:hover { border-color: var(--primary); color: var(--primary); background: #fff; }
.btn-soft { background: #eff6ff; color: var(--primary); }
.btn-soft:hover { background: #dbeafe; }
.btn-sm { min-height: 40px; padding: 8px 16px; font-size: 0.85rem; }
.btn-full { width: 100%; }

/* Header (Crisp frosted clinical white matching flagship homepage) */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 120;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid #e2e8f0;
  color: var(--text-dark);
}
.nav-in {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; min-height: 70px;
}
.brand { display: inline-flex; align-items: center; gap: 11px; color: var(--ink); white-space: nowrap; }
.brand-crest { width: 36px; height: 36px; border-radius: 10px; overflow: hidden; flex-shrink: 0; border: 1px solid rgba(11, 25, 44, 0.14); }
.brand-crest svg rect { fill: #0b192c; }
.brand-crest svg path[stroke="#D49A6A"], .brand-crest svg line[stroke="#D49A6A"] { stroke: #38bdf8; }
.brand-crest svg circle[fill="#D49A6A"] { fill: #0d9488; }
.brand-wordmark { display: flex; flex-direction: column; line-height: 1.05; }
.brand-title { font-family: var(--sans); font-size: 1.08rem; font-weight: 800; color: var(--ink); letter-spacing: -0.025em; }
.brand-sub { font-size: 0.6rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.14em; color: var(--teal); margin-top: 2px; }
.site-footer .brand, .site-footer .brand-title { color: #fff; }
.site-footer .brand-sub { color: #38bdf8; }

.main-nav { display: flex; align-items: center; gap: 2px; }
.nav-link, .nav-dropdown-btn {
  padding: 9px 13px; border-radius: 99px; font-size: 0.88rem; font-weight: 600;
  color: #334155; background: transparent; border: 0; cursor: pointer;
  display: inline-flex; align-items: center; gap: 5px; white-space: nowrap;
}
.nav-link:hover, .nav-link.active, .nav-dropdown-btn:hover { color: var(--primary); background: #eff6ff; }
.nav-dropdown { position: relative; }
.nav-dropdown-menu {
  position: absolute; top: calc(100% + 10px); left: 0; min-width: 288px; padding: 12px;
  background: #ffffff; border: 1px solid #e2e8f0; border-radius: var(--r);
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.14);
  opacity: 0; visibility: hidden; transform: translateY(8px);
  transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s;
}
.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown:focus-within .nav-dropdown-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.nav-dropdown-label {
  font-size: 0.66rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.14em;
  color: var(--teal); padding: 7px 12px 4px;
}
.nav-dropdown-menu a {
  display: block; padding: 10px 12px; border-radius: 12px; color: var(--text-dark); font-size: 0.89rem; font-weight: 650;
}
.nav-dropdown-menu a span { display: block; font-size: 0.76rem; font-weight: 400; color: var(--muted-dark); margin-top: 2px; }
.nav-dropdown-menu a:hover { background: #f1f5f9; color: var(--primary); }

.nav-actions { display: flex; align-items: center; gap: 10px; }
.mobile-toggle {
  display: none; width: 42px; height: 42px; border-radius: 99px;
  border: 1px solid #cbd5e1; background: #fff;
  color: var(--ink); align-items: center; justify-content: center; cursor: pointer; font-size: 1.15rem;
}
.mobile-drawer {
  display: none; background: #ffffff; border-top: 1px solid #e2e8f0;
  padding: 20px var(--pad) 30px; max-height: calc(100svh - 70px); overflow-y: auto;
}
.mobile-drawer.open { display: block; }
.mobile-drawer-group { margin-bottom: 18px; }
.mobile-drawer-group h4 {
  font-size: 0.68rem; text-transform: uppercase; letter-spacing: 0.15em;
  color: var(--teal); margin: 0 0 8px;
}
.mobile-drawer a {
  display: block; padding: 11px 0; font-size: 1.02rem; font-weight: 600;
  color: var(--text-dark); border-bottom: 1px solid #f1f5f9;
}

/* =========================================================================
   FULL-BLEED MOBILE-FIRST VIDEO / CINEMA HERO (100svh)
   ========================================================================= */
.cinema-hero {
  position: relative; overflow: hidden; background: var(--ink); color: #fff;
  min-height: 100svh; display: flex; flex-direction: column; justify-content: flex-end;
  padding: 112px 0 clamp(38px, 6vw, 68px);
}
.hero-media-layer { position: absolute; inset: 0; z-index: 0; overflow: hidden; }
.hero-video {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: center 42%;
  opacity: 0; transition: opacity 0.9s ease;
}
.hero-video.ready { opacity: 1; }
.cinema-slide {
  position: absolute; inset: -4%; background-size: cover; background-position: center;
  opacity: 0; animation: kenBurns 24s infinite ease-in-out; will-change: transform, opacity;
}
.cinema-slide:nth-child(1) { background-image: url("/assets/img/clinic-lounge.jpg"); animation-delay: 0s; opacity: 1; }
.cinema-slide:nth-child(2) { background-image: url("/assets/img/chiro-osteo-suite.jpg"); animation-delay: 8s; }
.cinema-slide:nth-child(3) { background-image: url("/assets/img/hero-clinic.jpg"); animation-delay: 16s; }
@keyframes kenBurns {
  0% { opacity: 0; transform: scale(1.0); }
  9% { opacity: 1; }
  34% { opacity: 1; transform: scale(1.07); }
  44% { opacity: 0; transform: scale(1.09); }
  100% { opacity: 0; transform: scale(1.0); }
}
.hero-scrim {
  position: absolute; inset: 0; z-index: 1;
  background:
    linear-gradient(180deg, rgba(7, 20, 18, 0.62) 0%, rgba(7, 20, 18, 0.34) 38%, rgba(7, 20, 18, 0.88) 82%, rgba(7, 20, 18, 0.97) 100%),
    linear-gradient(95deg, rgba(7, 20, 18, 0.82) 0%, rgba(7, 20, 18, 0.22) 64%);
}
.hero-content { position: relative; z-index: 2; }
.hero-split {
  display: grid; grid-template-columns: 1.25fr 0.75fr; gap: 40px; align-items: end;
}
.hero-content .lede { color: #d5e2dd; }
.hero-cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }

.hero-fee-strip {
  background: rgba(12, 31, 27, 0.76); backdrop-filter: blur(22px); -webkit-backdrop-filter: blur(22px);
  border: 1px solid var(--line-2); border-radius: var(--r); padding: 24px;
}
.hero-fee-head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 14px; }
.hero-fee-head span { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--brass-2); }
.hero-fee-row {
  display: flex; justify-content: space-between; align-items: center; gap: 12px;
  padding: 11px 0; border-top: 1px solid var(--line);
}
.hero-fee-row strong { display: block; font-size: 0.93rem; color: #fff; font-weight: 600; }
.hero-fee-row small { display: block; font-size: 0.76rem; color: var(--muted); }
.hero-price { font-weight: 700; font-size: 1.05rem; color: var(--brass-2); white-space: nowrap; }

.trust-bar {
  margin-top: clamp(32px, 5vw, 52px); padding-top: 20px; border-top: 1px solid var(--line);
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px;
}
.trust-bar-item strong { display: block; font-size: 0.89rem; color: #fff; }
.trust-bar-item span { display: block; font-size: 0.77rem; color: var(--muted); }

/* =========================================================================
   SECTIONS & EDITORIAL ALTERNATING RHYTHM (DARK OBSIDIAN <-> WARM PAPER)
   ========================================================================= */
.section { position: relative; padding: clamp(68px, 11vw, 128px) 0; }
.section-tight { padding: clamp(44px, 7vw, 82px) 0; }
.section-dark { background: var(--ink); color: var(--text); }
.section-dark p, .section-dark li { color: #b9cac4; }
.section-dark .lede { color: #cedcd7; }
.section-paper { background: var(--paper); color: var(--text-dark); }
.section-paper p, .section-paper li { color: #364540; }
.section-white { background: var(--surface); color: var(--text-dark); border-top: 1px solid var(--line-paper); border-bottom: 1px solid var(--line-paper); }
.section-white p, .section-white li { color: #364540; }
.sec-head { max-width: 720px; margin-bottom: clamp(32px, 5vw, 52px); }
.sec-head-row { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 18px; margin-bottom: clamp(32px, 5vw, 52px); }

/* 4-Pillar Tall Architectural Photo Cards */
.pillar-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.pillar-card {
  position: relative; border-radius: var(--r); overflow: hidden;
  background: var(--ink-2); border: 1px solid var(--line);
  display: flex; flex-direction: column; min-height: 440px;
  transition: transform 0.35s var(--ease), border-color 0.25s ease;
}
.pillar-card:hover { transform: translateY(-4px); border-color: rgba(212, 154, 106, 0.55); }
.pillar-img { position: relative; aspect-ratio: 4 / 3; overflow: hidden; }
.pillar-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease); }
.pillar-card:hover .pillar-img img { transform: scale(1.06); }
.pillar-reg {
  position: absolute; top: 12px; left: 12px;
  background: rgba(7, 20, 18, 0.82); backdrop-filter: blur(8px);
  color: var(--brass-2); border: 1px solid rgba(212, 154, 106, 0.35);
  font-size: 0.66rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase;
  padding: 5px 10px; border-radius: 99px;
}
.pillar-body { padding: 20px; display: flex; flex-direction: column; flex: 1; }
.pillar-body h3 { color: #fff; font-size: 1.24rem; margin-bottom: 6px; }
.pillar-body p { font-size: 0.88rem; color: var(--muted); margin-bottom: 14px; }
.pillar-meta { margin-top: auto; padding-top: 14px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; align-items: center; font-size: 0.84rem; }
.pillar-meta strong { color: var(--brass-2); }
.pillar-meta a { color: #fff; font-weight: 600; }

/* =========================================================================
   SWIFTLEAD-CALIBRE INTERACTIVE IPHONE JOURNEY + LIVE PAIN SELECTOR
   ========================================================================= */
.showcase-grid { display: grid; grid-template-columns: 1.12fr 0.88fr; gap: clamp(28px, 5vw, 56px); align-items: center; }
.pain-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin: 20px 0 22px; }
.pain-tab {
  padding: 10px 16px; border-radius: 999px; cursor: pointer;
  background: transparent; border: 1.5px solid var(--line-paper-strong);
  color: var(--text-dark); font-size: 0.87rem; font-weight: 600;
  transition: all 0.18s ease;
}
.pain-tab:hover { border-color: var(--ink); }
.pain-tab.active { background: var(--ink); border-color: var(--ink); color: #fff; }
.pain-panel {
  background: #fff; border: 1px solid var(--line-paper); border-radius: var(--r);
  padding: clamp(22px, 3vw, 32px); box-shadow: 0 18px 44px rgba(7, 20, 18, 0.06);
}

/* Realistic Animated iPhone Patient Journey Mockup */
.phone-stage { display: flex; justify-content: center; position: relative; }
.phone-frame {
  width: min(100%, 326px); background: #0d1614; border-radius: 44px;
  padding: 12px; border: 2px solid #263934;
  box-shadow: 0 34px 80px rgba(7, 20, 18, 0.34), inset 0 0 0 1px rgba(255, 255, 255, 0.08);
}
.phone-notch { width: 92px; height: 22px; background: #050a09; border-radius: 99px; margin: 4px auto 12px; }
.phone-screen {
  background: #f8f5ef; border-radius: 34px; padding: 16px 16px 20px;
  color: var(--text-dark); min-height: 472px; display: flex; flex-direction: column;
}
.ps-top { display: flex; justify-content: space-between; align-items: center; font-size: 0.72rem; font-weight: 700; color: var(--muted-dark); margin-bottom: 14px; }
.ps-card {
  background: #fff; border: 1px solid #e5dfd3; border-radius: 16px;
  padding: 14px; margin-bottom: 10px;
  box-shadow: 0 4px 12px rgba(7, 20, 18, 0.04);
}
.ps-pill { display: inline-block; font-size: 0.65rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: var(--primary); background: #e1eee8; padding: 3px 8px; border-radius: 99px; margin-bottom: 6px; }
.ps-row { display: flex; justify-content: space-between; font-size: 0.8rem; padding: 5px 0; border-top: 1px solid #f2eee6; }
.ps-row:first-of-type { border-top: 0; }
.ps-receipt {
  margin-top: auto; background: var(--ink); color: #fff; border-radius: 16px; padding: 14px;
}
.ps-receipt small { color: var(--brass-2); display: block; font-size: 0.68rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; }
.ps-receipt strong { display: block; font-size: 1.05rem; margin: 3px 0; }
.ps-receipt span { font-size: 0.77rem; color: #b9d2ca; }

/* Standard Grids & Cards */
.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: 20px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }

.card {
  background: var(--surface); border: 1px solid var(--line-paper);
  border-radius: var(--r); padding: 26px; display: flex; flex-direction: column;
  transition: transform 0.22s var(--ease), box-shadow 0.22s ease, border-color 0.22s ease;
}
.card:hover { transform: translateY(-2px); box-shadow: 0 18px 42px rgba(7, 20, 18, 0.08); border-color: #bfb5a4; }
.card-dark { background: var(--ink-2); border-color: var(--line); color: var(--text); }
.card-dark:hover { border-color: rgba(212, 154, 106, 0.45); }
.card-dark h3 { color: #fff; }
.card-dark p { color: var(--muted); }
.card-media { margin: -26px -26px 20px; border-radius: var(--r) var(--r) 0 0; overflow: hidden; aspect-ratio: 16 / 10; border-bottom: 1px solid var(--line-paper); }
.card-dark .card-media { border-bottom-color: var(--line); }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.55s var(--ease); }
.card:hover .card-media img { transform: scale(1.04); }
.card-footer { margin-top: auto; padding-top: 14px; }

.condition-tile {
  background: #fff; border: 1px solid var(--line-paper); border-radius: 16px;
  padding: 20px; display: flex; flex-direction: column; gap: 6px; color: var(--text-dark);
  transition: transform 0.18s var(--ease), border-color 0.18s ease, box-shadow 0.18s ease;
}
.condition-tile:hover { transform: translateY(-2px); border-color: var(--ink); box-shadow: 0 12px 28px rgba(7, 20, 18, 0.07); }
.condition-tile .tag { font-size: 0.67rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; color: var(--brass-dark); }
.condition-tile p { font-size: 0.85rem; color: var(--muted-dark); margin: 0; }
.condition-tile .arrow { margin-top: auto; padding-top: 8px; font-size: 0.84rem; font-weight: 650; color: var(--primary); }

/* Subpage Hero */
.page-hero {
  background: radial-gradient(900px 420px at 85% 15%, rgba(13, 148, 136, 0.22), transparent 65%),
              radial-gradient(700px 400px at 10% 80%, rgba(37, 99, 235, 0.24), transparent 60%),
              var(--ink);
  color: #fff;
  padding: 112px 0 clamp(46px, 7vw, 76px);
  border-bottom: 1px solid var(--line);
}
.page-hero h1 { color: #fff; font-size: clamp(2.15rem, 6vw, 4.1rem); }
.page-hero .lede { color: #cbd5e1; }
.page-hero-grid { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 38px; align-items: center; }
.page-photo { border-radius: var(--r); overflow: hidden; border: 1px solid var(--line-2); aspect-ratio: 4 / 3; }
.page-photo img { width: 100%; height: 100%; object-fit: cover; }

.breadcrumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 7px; font-size: 0.8rem; color: var(--muted); margin-bottom: 16px; }
.breadcrumbs a:hover { color: #fff; }
.breadcrumbs span[aria-current] { color: var(--brass-2); font-weight: 600; }

.quick-facts-box {
  background: var(--ink-2); border: 1px solid var(--line-2); border-radius: var(--r); padding: 24px; color: #fff;
}
.fact-line { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 0.88rem; }
.fact-line:last-child { border-bottom: 0; }
.fact-line span { color: var(--muted); }
.fact-line strong { color: #fff; text-align: right; }

/* Tools, Calculators & Forms */
.tool-shell { background: #fff; border: 1px solid var(--line-paper); border-radius: var(--r); padding: clamp(22px, 4vw, 36px); box-shadow: 0 18px 46px rgba(7, 20, 18, 0.06); }
.tool-progress { display: flex; gap: 8px; margin-bottom: 22px; }
.tool-step-bar { height: 4px; flex: 1; border-radius: 99px; background: var(--paper-2); }
.tool-step-bar.done, .tool-step-bar.active { background: var(--ink); }
.option-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin: 18px 0 22px; }
.option-btn {
  text-align: left; background: var(--paper); border: 1.5px solid var(--line-paper);
  border-radius: 14px; padding: 17px 18px; cursor: pointer; transition: all 0.16s ease; color: var(--text-dark);
}
.option-btn:hover { border-color: var(--ink); background: #fff; transform: translateY(-1px); }
.option-btn strong { display: block; font-size: 0.95rem; margin-bottom: 3px; }
.option-btn span { display: block; font-size: 0.82rem; color: var(--muted-dark); }
.result-panel { background: #f0fdfa; border: 1.5px solid #99f6e4; border-radius: 18px; padding: 26px; }
.red-flag-box {
  background: #fff7ed; border: 1px solid #fed7aa; border-left: 4px solid #c2410c;
  border-radius: 12px; padding: 14px 17px; margin: 16px 0; font-size: 0.88rem; color: #7c2d12;
}
.red-flag-box strong { display: block; margin-bottom: 3px; color: #9a3412; }

.calc-grid { display: grid; grid-template-columns: 1.08fr 0.92fr; gap: 28px; align-items: start; }
.calc-output { background: var(--ink); color: #fff; border-radius: var(--r); padding: 30px; }
.calc-big-num { font-family: var(--sans); font-weight: 750; font-size: clamp(2.8rem, 7vw, 4.1rem); letter-spacing: -0.04em; line-height: 1; color: var(--brass-2); margin: 8px 0 16px; }
.calc-line { display: flex; justify-content: space-between; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 0.92rem; color: #cbd5e1; }
.calc-line strong { color: #fff; }
.calc-line:last-of-type { border-bottom: 0; }

.form-group { margin-bottom: 16px; }
.form-label { display: block; font-size: 0.85rem; font-weight: 650; color: var(--text-dark); margin-bottom: 6px; }
.form-control {
  width: 100%; min-height: 48px; padding: 11px 14px; border-radius: 12px;
  border: 1.5px solid var(--line-paper-strong); background: #fff; font-size: 16px; color: var(--text-dark);
}
.form-control:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px rgba(29, 78, 216, 0.12); }
textarea.form-control { min-height: 104px; resize: vertical; }
.form-row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-status { margin-top: 14px; padding: 14px 16px; border-radius: 12px; font-size: 0.9rem; display: none; }
.form-status.ok { display: block; background: #ecfdf5; border: 1px solid #a7f3d0; color: #065f46; }
.form-status.err { display: block; background: #fff7ed; border: 1px solid #fed7aa; color: #9a3412; }

/* Tables */
.table-wrap { overflow-x: auto; border: 1px solid var(--line-paper); border-radius: var(--r); background: #fff; }
table { width: 100%; border-collapse: collapse; font-size: 0.92rem; }
th, td { padding: 14px 18px; text-align: left; border-bottom: 1px solid #f1f5f9; }
th { background: #f8fafc; font-weight: 700; font-size: 0.76rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--text-dark); }
tr:last-child td { border-bottom: 0; }
.price-pill { font-weight: 700; font-size: 0.98rem; color: var(--primary); background: #eff6ff; padding: 4px 11px; border-radius: 99px; white-space: nowrap; }

/* Articles & Prose */
.article-layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 44px; align-items: start; }
.prose h2 { margin-top: 2.2rem; font-size: clamp(1.5rem, 3.5vw, 2.05rem); }
.prose p, .prose li { font-size: 1.03rem; line-height: 1.75; color: #334155; }
.prose-callout { background: #eff6ff; border-left: 4px solid var(--primary); border-radius: 0 14px 14px 0; padding: 18px 22px; margin: 22px 0; }
.sidebar-sticky { position: sticky; top: 92px; display: flex; flex-direction: column; gap: 18px; }
.sidebar-box { background: #fff; border: 1px solid var(--line-paper); border-radius: var(--r); padding: 22px; }

/* FAQs */
.faq-list { display: flex; flex-direction: column; gap: 10px; }
.faq-item { background: #fff; border: 1px solid var(--line-paper); border-radius: 16px; overflow: hidden; }
.faq-item summary {
  list-style: none; cursor: pointer; padding: 19px 22px; font-weight: 650; font-size: 1rem;
  display: flex; justify-content: space-between; align-items: center; gap: 16px; color: var(--text-dark);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; font-size: 1.4rem; font-weight: 400; color: var(--brass-dark); flex-shrink: 0; }
.faq-item[open] summary::after { content: "−"; }
.faq-body { padding: 0 22px 19px; color: #3d4d47; font-size: 0.96rem; }
.faq-body p:last-child { margin-bottom: 0; }

/* Chips & Insurers */
.chip-row { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 26px; }
.chip {
  padding: 9px 16px; border-radius: 99px; border: 1.5px solid var(--line-paper-strong);
  background: transparent; font-size: 0.85rem; font-weight: 600; color: var(--text-dark); cursor: pointer;
}
.chip:hover, .chip.active { background: var(--ink); border-color: var(--ink); color: #fff; }
.insurer-pills { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.insurer-pill {
  background: rgba(255, 255, 255, 0.08); border: 1px solid var(--line-2);
  padding: 7px 14px; border-radius: 99px; font-size: 0.83rem; font-weight: 600; color: #fff;
}
.section-paper .insurer-pill, .section-white .insurer-pill { background: var(--paper); border-color: var(--line-paper-strong); color: var(--text-dark); }

/* CTA Band */
.cta-band {
  background: radial-gradient(640px 320px at 90% 15%, rgba(13, 148, 136, 0.24), transparent 65%),
              radial-gradient(640px 320px at 10% 90%, rgba(37, 99, 235, 0.28), transparent 65%),
              var(--ink);
  color: #fff; border-radius: 26px; padding: clamp(28px, 5vw, 56px);
  display: grid; grid-template-columns: 1.25fr 0.75fr; gap: 28px; align-items: center;
  border: 1px solid var(--line-2);
}
.cta-band h2 { color: #fff; margin-top: 6px; }
.cta-band p { color: #cbd5e1; margin: 0; }
.cta-band-actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: flex-end; }

/* Floating Concierge Pill & Mobile Sticky Action Bar */
.concierge-fab {
  position: fixed; right: 22px; bottom: 22px; z-index: 110;
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--ink); color: #fff; border: 1px solid rgba(56, 189, 248, 0.35);
  border-radius: 999px; padding: 13px 20px; font-weight: 650; font-size: 0.88rem; cursor: pointer;
  box-shadow: 0 18px 44px rgba(11, 25, 44, 0.3); transition: transform 0.2s var(--ease);
}
.concierge-fab:hover { transform: translateY(-2px); }
.concierge-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--emerald); box-shadow: 0 0 8px var(--emerald); }

.mobile-sticky-bar {
  display: none; position: fixed; bottom: 0; left: 0; right: 0; z-index: 115;
  background: rgba(255, 255, 255, 0.96); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  border-top: 1px solid #e2e8f0; padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
  gap: 10px;
}

/* Footer */
.site-footer { background: #07111f; color: #94a3b8; padding: 68px 0 38px; border-top: 1px solid var(--line); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 36px; padding-bottom: 40px; border-bottom: 1px solid var(--line); }
.site-footer h4 { color: #38bdf8; font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.14em; margin: 0 0 14px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 8px; font-size: 0.89rem; }
.site-footer a:hover { color: #fff; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; padding-top: 24px; font-size: 0.8rem; color: #64748b; }

/* Modal */
.modal-backdrop {
  position: fixed; inset: 0; z-index: 200;
  background: rgba(5, 13, 12, 0.74); backdrop-filter: blur(8px);
  display: none; align-items: center; justify-content: center; padding: 16px;
}
.modal-backdrop.open { display: flex; }
.modal-card {
  background: var(--paper); color: var(--text-dark); border-radius: 24px;
  max-width: 560px; width: 100%; max-height: 92svh; overflow-y: auto;
  padding: clamp(22px, 4vw, 32px); position: relative; box-shadow: 0 32px 80px rgba(0, 0, 0, 0.5);
}
.modal-close {
  position: absolute; top: 16px; right: 16px; width: 38px; height: 38px; border-radius: 99px;
  border: 1px solid var(--line-paper-strong); background: #fff; font-size: 1.3rem; cursor: pointer;
}

/* Mobile-First Responsive Polish (iPhone 375–430px perfection) */
@media (max-width: 1040px) {
  .main-nav, .nav-actions .btn-glass { display: none; }
  .mobile-toggle { display: inline-flex; }
  .hero-split, .page-hero-grid, .showcase-grid, .calc-grid, .article-layout, .cta-band { grid-template-columns: 1fr; }
  .cta-band-actions { justify-content: flex-start; }
  .pillar-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid-4, .trust-bar { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 680px) {
  body { padding-bottom: 76px; }
  .mobile-sticky-bar { display: flex; }
  .concierge-fab { display: none; }
  .nav-actions .btn-brass { display: none; }
  /* Let the 9:16 mobile vertical Veo video breathe visibly across the top half of iPhone screens */
  .cinema-hero { min-height: 100svh; justify-content: flex-end; padding: 38svh 0 28px; }
  .hero-scrim {
    background: linear-gradient(180deg, rgba(7, 20, 18, 0.45) 0%, rgba(7, 20, 18, 0.14) 36%, rgba(7, 20, 18, 0.82) 64%, rgba(7, 20, 18, 0.98) 100%);
  }
  .cinema-hero h1 { font-size: clamp(2.15rem, 9.5vw, 3rem); margin: 10px 0 14px; }
  .cinema-hero .lede { font-size: 0.98rem; margin-bottom: 18px; }
  .hero-fee-strip { padding: 18px; margin-top: 8px; }
  .trust-bar { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: 22px; }
  /* Swipeable horizontal pillar rail on phones — ultra sleek native feel */
  .pillar-grid {
    display: flex; overflow-x: auto; scroll-snap-type: x mandatory;
    gap: 14px; padding-bottom: 10px; margin-inline: calc(var(--pad) * -1);
    padding-inline: var(--pad); -webkit-overflow-scrolling: touch;
  }
  .pillar-card { flex: 0 0 82vw; max-width: 320px; scroll-snap-align: start; min-height: 390px; }
  .grid-2, .grid-3, .grid-4, .option-grid, .form-row-2, .trust-bar, .footer-grid { grid-template-columns: 1fr; }
  .hero-cta-row .btn { width: 100%; }
}
