/* ============================================================
   The Marchand Team — site design system
   Extracted from the reference event page and extended.
   ============================================================ */
:root {
  --navy: #0a1d3a;
  --navy-deep: #061528;
  --navy-soft: #14305a;
  --orange: #e87b1f;
  --orange-bright: #f48a2a;
  --orange-dim: #c9661a;
  --gold: #f0c560;
  --blue-soft: #a8c0e0;
  --cream: #faf6f1;
  --cream-warm: #f5ede0;
  --paper: #ffffff;
  --ink: #0e1726;
  --ink-soft: #3a4358;
  --muted: #6b7280;
  --line: rgba(10, 29, 58, 0.12);
  --shadow-sm: 0 2px 10px -4px rgba(10,29,58,0.25);
  --shadow-md: 0 18px 50px -24px rgba(10,29,58,0.45);
  --shadow-lg: 0 40px 90px -40px rgba(10,29,58,0.55);
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; overflow-x: clip; }
body {
  font-family: 'Plus Jakarta Sans', sans-serif;
  background: var(--cream);
  color: var(--ink);
  line-height: 1.6;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; }
a { color: inherit; }

.display {
  font-family: 'Anton', 'Plus Jakarta Sans', sans-serif;
  font-weight: 400; letter-spacing: 0.01em; line-height: 1.0; text-transform: uppercase;
}
.script { font-family: 'Caveat', cursive; font-weight: 700; }
.container { max-width: 1280px; margin: 0 auto; padding: 0 32px; }
.container-narrow { max-width: 960px; margin: 0 auto; padding: 0 32px; }
@media (max-width: 640px) { .container, .container-narrow { padding: 0 20px; } }

.accent { color: var(--orange); }
.script-accent { font-family: 'Caveat', cursive; font-weight: 700; color: var(--orange); text-transform: none; letter-spacing: 0; }

/* ---------- NAV ---------- */
[data-site-nav] { display: contents; }
.nav {
  position: sticky; top: 0; z-index: 200;
  background: rgba(255,255,255,0.86);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow 0.25s, background 0.25s;
}
.nav.scrolled { box-shadow: var(--shadow-sm); background: rgba(255,255,255,0.95); }
.nav-inner { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 12px 0; }
.nav-logo { display: flex; align-items: center; text-decoration: none; }
.nav-logo img { height: 96px; width: auto; display: block; }
@media (max-width: 480px) { .nav-logo img { height: 80px; } }
.nav-links { flex: 1; display: flex; flex-wrap: nowrap; align-items: center; gap: 14px; position: relative; }
.nav-linkset { flex: 1; display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 3px; row-gap: 4px; }
.nav-break { flex-basis: 100%; height: 0; margin: 0; }
.nav-underline {
  position: absolute; top: 0; left: 0; width: 0; height: 2px;
  background: var(--orange); border-radius: 2px; opacity: 0; pointer-events: none;
  transition: left 0.32s cubic-bezier(.4,0,.2,1), top 0.32s cubic-bezier(.4,0,.2,1), width 0.32s cubic-bezier(.4,0,.2,1), opacity 0.2s ease;
}
.nav-links.has-slider .nav-link.active::after { display: none; }
@media (max-width: 1260px) { .nav-underline { display: none; } }
.nav-link {
  text-decoration: none; color: var(--ink-soft); font-weight: 600; font-size: 14px;
  letter-spacing: 0.01em; padding: 9px 11px; border-radius: 999px; transition: all 0.18s;
  white-space: nowrap;
}
.nav-link:hover { color: var(--navy); background: rgba(10,29,58,0.05); }
.nav-link.active { color: var(--navy); }
.nav-link.active::after {
  content: ''; display: block; height: 2px; width: 18px; background: var(--orange);
  border-radius: 2px; margin: 3px auto 0;
}
.nav-cta {
  background: var(--orange); color: #fff !important; text-decoration: none;
  padding: 10px 18px; border-radius: 999px; font-weight: 700; font-size: 13.5px;
  letter-spacing: 0.02em; transition: all 0.2s; border: 1px solid var(--orange); white-space: nowrap; margin-left: 6px;
}
.nav-cta:hover { background: var(--orange-bright); transform: translateY(-1px); box-shadow: 0 8px 20px -8px var(--orange); }
.nav-toggle { display: none; background: none; border: none; cursor: pointer; padding: 8px; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--navy); margin: 5px 0; border-radius: 2px; transition: 0.25s; }
@media (max-width: 1260px) {
  .nav-links {
    position: fixed; inset: 0 0 0 auto; width: min(320px, 82vw); height: 100vh; overflow-y: auto;
    background-color: #0a1d3a; background-image: linear-gradient(160deg, #0a1d3a 0%, #14305a 100%);
    flex-direction: column; align-items: stretch; justify-content: flex-start; flex-wrap: nowrap; max-width: none;
    padding: 96px 24px 32px; gap: 6px; transform: translateX(100%); transition: transform 0.32s cubic-bezier(.4,0,.2,1);
    box-shadow: var(--shadow-lg); z-index: 210;
  }
  .nav-links.open { transform: translateX(0); }
  .nav-linkset { flex-direction: column; align-items: stretch; width: 100%; gap: 6px; }
  .nav-break { display: none; }
  .nav-link { color: #e7eef9; font-size: 17px; padding: 14px 16px; }
  .nav-link:hover { background: rgba(255,255,255,0.08); color:#fff; }
  .nav-link.active { color: var(--orange-bright); }
  .nav-link.active::after { display: none; }
  .nav-links .nav-cta { text-align: center; margin-top: 12px; }
  .nav-toggle { display: block; z-index: 220; }
  .nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); background: #fff; }
  .nav-toggle.open span:nth-child(2) { opacity: 0; }
  .nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); background: #fff; }
  .nav-scrim { position: fixed; inset: 0; background: rgba(6,21,40,0.5); opacity: 0; pointer-events: none; transition: opacity 0.3s; z-index: 150; }
  .nav-scrim.open { opacity: 1; pointer-events: auto; }
}

/* ---------- CAPITAL REGION MEGA-MENU ---------- */
.nav-item { position: static; display: inline-flex; }
.nav-mega-trigger { display: inline-flex; align-items: center; gap: 4px; }
.nav-chev { width: 14px; height: 14px; transition: transform 0.22s ease; }
.nav-mega {
  position: absolute; left: 50%; top: calc(100% + 10px); transform: translate(-50%, 8px);
  width: min(1080px, calc(100vw - 40px)); z-index: 260;
  background: #fff; border: 1px solid var(--line); border-radius: 18px;
  box-shadow: 0 30px 70px -24px rgba(6,21,40,0.4), 0 8px 24px -12px rgba(6,21,40,0.25);
  padding: 26px 26px 20px; opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity 0.2s ease, transform 0.24s cubic-bezier(.4,0,.2,1), visibility 0.2s;
}
/* Invisible bridge so the cursor can travel from trigger to panel without dropping :hover */
.nav-mega::before {
  content: ""; position: absolute; left: 0; right: 0; top: -16px; height: 16px;
}
.nav-has-mega:hover .nav-mega,
.nav-has-mega.open .nav-mega,
.nav-has-mega:focus-within .nav-mega { opacity: 1; visibility: visible; pointer-events: auto; transform: translate(-50%, 0); }
.nav-has-mega:hover .nav-chev,
.nav-has-mega.open .nav-chev { transform: rotate(180deg); }
.nav-mega-inner { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px 22px; }
.mega-col { display: flex; flex-direction: column; gap: 1px; }
.mega-county {
  font-size: 13px; font-weight: 800; letter-spacing: 0.02em; color: var(--navy);
  text-decoration: none; padding: 6px 8px; margin-bottom: 4px; border-bottom: 2px solid rgba(232,123,31,0.35);
  border-radius: 6px 6px 0 0; transition: color 0.16s;
}
.mega-county:hover { color: var(--orange-dim); }
.mega-town {
  font-size: 13.5px; font-weight: 500; color: var(--ink-soft); text-decoration: none;
  padding: 5px 8px; border-radius: 7px; transition: background 0.14s, color 0.14s;
}
.mega-town:hover { background: rgba(232,123,31,0.1); color: var(--orange-dim); }
.nav-mega-foot {
  display: inline-flex; align-items: center; gap: 8px; margin-top: 16px; padding: 10px 8px 2px;
  font-size: 13.5px; font-weight: 700; color: var(--orange-dim); text-decoration: none;
  border-top: 1px solid var(--line); width: 100%;
}
.nav-mega-foot .arrow { transition: transform 0.2s; }
.nav-mega-foot:hover .arrow { transform: translateX(4px); }

@media (max-width: 1260px) {
  /* In the mobile drawer the mega becomes a tap-to-expand accordion. */
  .nav-item { display: block; width: 100%; }
  .nav-mega-trigger { justify-content: space-between; width: 100%; }
  .nav-has-mega.open .nav-chev { transform: rotate(180deg); }
  .nav-mega {
    position: static; transform: none; width: 100%; opacity: 1; visibility: visible;
    pointer-events: auto; background: transparent; border: none; box-shadow: none;
    padding: 0 0 0 10px; max-height: 0; overflow: hidden; transition: max-height 0.3s ease;
  }
  .nav-has-mega.open .nav-mega { max-height: 1600px; }
  .nav-mega-inner { grid-template-columns: 1fr; gap: 4px; }
  .mega-col { margin-bottom: 8px; }
  .mega-county { color: var(--orange-bright); border-bottom-color: rgba(255,255,255,0.18); }
  .mega-county:hover { color: #fff; }
  .mega-town { color: #cdd8ea; padding: 9px 8px; }
  .mega-town:hover { background: rgba(255,255,255,0.08); color: #fff; }
  .nav-mega-foot { color: var(--orange-bright); border-top-color: rgba(255,255,255,0.14); }
}

/* ---------- BUTTONS ---------- */
.btn-primary {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--orange); color: #fff; text-decoration: none;
  padding: 15px 30px; border-radius: 999px; font-weight: 700; font-size: 16px;
  letter-spacing: 0.01em; transition: all 0.2s; border: 1px solid var(--orange);
  position: relative;
}
.btn-primary:hover { background: var(--orange-bright); transform: translateY(-2px); box-shadow: 0 14px 30px -12px var(--orange); animation-play-state: paused; }
.btn-primary .arrow { transition: transform 0.2s; }
.btn-primary:hover .arrow { transform: translateX(4px); }
/* Attention pulse — reserved for the single most important CTA (hero pre-approval),
   not every button. Halo grows/fades via box-shadow; pauses on hover. */
.btn-primary.btn-pulse { animation: ctaPulse 2.6s ease-in-out infinite; }
@keyframes ctaPulse {
  0%   { box-shadow: 0 0 0 0 rgba(232,123,31,0.6), 0 0 22px 2px rgba(232,123,31,0.35), 0 8px 20px -12px rgba(232,123,31,0.5); }
  55%  { box-shadow: 0 0 0 14px rgba(232,123,31,0), 0 0 30px 6px rgba(240,197,96,0.28), 0 10px 26px -12px rgba(232,123,31,0.6); }
  100% { box-shadow: 0 0 0 0 rgba(232,123,31,0), 0 0 22px 2px rgba(232,123,31,0.35), 0 8px 20px -12px rgba(232,123,31,0.5); }
}
@media (prefers-reduced-motion: reduce) {
  .btn-primary.btn-pulse { animation: none; }
}
/* Quiet tier — outline orange for "learn more / explore this page" navigation CTAs,
   so solid orange stays reserved for the real conversion actions. Works on light + dark. */
.btn-primary.btn-quiet {
  background: transparent; color: var(--orange-dim); border-color: rgba(232,123,31,0.55);
}
.btn-primary.btn-quiet:hover { background: var(--orange); color: #fff; border-color: var(--orange); box-shadow: 0 12px 26px -14px var(--orange); }
.on-dark .btn-primary.btn-quiet, .bg-navy .btn-primary.btn-quiet, section[class*="navy"] .btn-primary.btn-quiet { color: var(--orange-bright); border-color: rgba(244,138,42,0.55); }
.on-dark .btn-primary.btn-quiet:hover, .bg-navy .btn-primary.btn-quiet:hover, section[class*="navy"] .btn-primary.btn-quiet:hover { color: #fff; }
.btn-ghost {
  display: inline-flex; align-items: center; gap: 10px;
  background: transparent; color: var(--navy); text-decoration: none;
  padding: 14px 28px; border-radius: 999px; font-weight: 700; font-size: 16px;
  border: 1.5px solid var(--line); transition: all 0.2s;
}
.btn-ghost:hover { border-color: var(--navy); background: rgba(10,29,58,0.04); }
.btn-ghost.on-dark { color: #fff; border-color: rgba(255,255,255,0.3); }
.btn-ghost.on-dark:hover { border-color: #fff; background: rgba(255,255,255,0.08); }

/* ---------- STANDARD CLOSING CTA BAND (shared, sitewide) ---------- */
/* Injected by site.js into <section data-site-cta>; sits directly above the
   footer on every page so the bottom of the site is identical throughout. */
.cta-band { background: linear-gradient(135deg, var(--navy) 0%, var(--navy-soft) 50%, var(--navy) 100%); background-size:200% 200%; animation: ctaBandShift 14s ease-in-out infinite; color:#fff; position:relative; overflow:hidden; }
.cta-band::before { content:''; position:absolute; inset:0; background:
    radial-gradient(circle at 15% 120%, rgba(232,123,31,0.34), transparent 45%),
    radial-gradient(circle at 85% -20%, rgba(59,110,190,0.34), transparent 45%);
  background-size:180% 180%; animation: ctaBandGlow 12s ease-in-out infinite alternate; }
@keyframes ctaBandShift { 0%,100%{ background-position:0% 50%; } 50%{ background-position:100% 50%; } }
@keyframes ctaBandGlow { 0%{ background-position:0% 100%; opacity:.8; } 100%{ background-position:60% 30%; opacity:1; } }
@media (prefers-reduced-motion: reduce){ .cta-band, .cta-band::before { animation:none; } }
.cta-inner { position:relative; z-index:2; text-align:center; max-width:740px; margin:0 auto; }
.cta-inner h2 { font-size: clamp(32px,4.4vw,56px); line-height:0.98; margin-bottom:14px; }
.cta-band .cta-inner p { font-family:'Caveat',cursive; font-weight:700; color: var(--orange-bright, var(--orange)); font-size:30px; line-height:1.2; margin-bottom:28px; }

/* Closing CTA — "reach out your way" method buttons */
.cta-methods { display:grid; grid-template-columns:repeat(4,1fr); gap:14px; margin:0 auto 26px; max-width:680px; }
@media (max-width:640px){ .cta-methods { grid-template-columns:repeat(2,1fr); } }
.cta-method { display:flex; align-items:center; gap:13px; text-align:left; text-decoration:none;
  background:rgba(255,255,255,0.07); border:1px solid rgba(255,255,255,0.16); border-radius:14px;
  padding:15px 16px; transition:background .16s, border-color .16s, transform .16s; }
.cta-method:hover { background:var(--orange); border-color:var(--orange); transform:translateY(-3px); }
/* Lead method (Book a call) — filled orange so it reads as the primary action of the four */
.cta-method--lead { background:var(--orange); border-color:var(--orange); box-shadow:0 14px 30px -14px rgba(232,123,31,.7); }
.cta-method--lead .cta-method-ic { background:rgba(255,255,255,0.22); color:#fff; }
.cta-method--lead:hover { background:var(--orange-bright); border-color:var(--orange-bright); }
.cta-method--lead .cta-method-tx small { color:rgba(255,255,255,0.9); }
.cta-method-ic { flex:none; width:40px; height:40px; border-radius:11px; display:grid; place-items:center;
  background:rgba(232,123,31,0.18); color:var(--orange-bright); transition:background .16s, color .16s; }
.cta-method:hover .cta-method-ic { background:rgba(255,255,255,0.22); color:#fff; }
.cta-method-ic svg { width:20px; height:20px; }
.cta-method-tx { display:flex; flex-direction:column; line-height:1.15; }
.cta-method-tx b { font-size:16px; font-weight:800; color:#fff; }
.cta-method-tx small { font-size:12.5px; font-weight:600; color:rgba(255,255,255,0.7); margin-top:2px; }
.cta-method:hover .cta-method-tx small { color:rgba(255,255,255,0.92); }
.cta-apply { display:inline-flex; align-items:center; gap:9px; text-decoration:none; font-size:15px; font-weight:800;
  letter-spacing:.01em; color:var(--orange-bright); }
.cta-apply .arrow { transition:transform .18s; }
.cta-apply:hover .arrow { transform:translateX(5px); }

/* ---------- SECTIONS ---------- */
.section { padding: 100px 0; }
.section.tight { padding: 72px 0; }
@media (max-width: 720px) { .section { padding: 68px 0; } }
.section-head { max-width: 760px; margin-bottom: 56px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 12px; letter-spacing: 0.22em; font-weight: 700; text-transform: uppercase;
  color: var(--orange); margin-bottom: 18px;
}
.section-eyebrow::before { content: ''; display: block; width: 26px; height: 2px; background: linear-gradient(90deg, var(--orange), var(--gold)); background-size:200% 100%; border-radius:2px; animation: eyebrowGlow 3.5s ease-in-out infinite; box-shadow:0 0 8px rgba(232,123,31,0.55); }
@keyframes eyebrowGlow { 0%,100%{ background-position:0% 50%; opacity:.85; } 50%{ background-position:100% 50%; opacity:1; } }
@media (prefers-reduced-motion: reduce){ .section-eyebrow::before { animation:none; } }
.section-head.center .section-eyebrow::before { display: none; }
.section-title { font-size: clamp(34px, 4.6vw, 60px); color: var(--navy); margin-bottom: 18px; }
.section-lead { font-size: clamp(16px, 1.3vw, 19px); color: var(--ink-soft); line-height: 1.65; }

.bg-cream { background: var(--cream); }
.bg-paper { background: var(--paper); }
.bg-warm { background: var(--cream-warm); }
.bg-navy { background: linear-gradient(135deg, var(--navy-deep) 0%, var(--navy) 55%, var(--navy-soft) 100%); color: #fff; }
.bg-navy .section-title { color: #fff; }
.bg-navy .section-lead { color: rgba(255,255,255,0.8); }

/* diagonal cut helper */
.cut-top { position: relative; }
.cut-top::before {
  content: ''; position: absolute; top: -1px; left: 0; right: 0; height: 56px;
  background: inherit; clip-path: polygon(0 0, 100% 0, 100% 100%, 0 0);
}

/* ---------- FOOTER ---------- */
.footer { background: var(--navy-deep); color: rgba(255,255,255,0.7); padding: 64px 0 30px; }
.footer-logo-row { display: flex; flex-direction: column; align-items: flex-start; text-align: left; gap: 18px; padding-bottom: 36px; border-bottom: 1px solid rgba(255,255,255,0.1); margin-bottom: 36px; }
.footer-logos { display: flex; flex-direction: row; align-items: center; gap: 22px; flex-wrap: wrap; width: 100%; }
.footer-logo-row img { height: 150px; width: auto; background: #fff; padding: 16px 22px; border-radius: 16px; }
.footer-logo-row .footer-hellyeah { height: 150px; width: auto; background: none; padding: 0; border-radius: 13px; }
.footer-logo-row .tag { font-family: 'Anton', sans-serif; text-transform: uppercase; letter-spacing: 0.02em; font-size: 22px; color: #fff; }
.footer-brand { display: flex; flex-direction: column; align-items: center; gap: 14px; }
.footer-brand .tag { text-align: center; }
@media (max-width: 1050px) {
  .footer-logos { flex-direction: column; align-items: flex-start; gap: 18px; }
  .footer-logo-row .footer-connect { flex-basis: auto; width: 100%; align-items: flex-start; text-align: left; padding: 0; }
  .footer-connect .social-connect { align-self: flex-start; }
}
.footer-logo-row .tag .orange { color: var(--orange); }
/* Footer Book-a-Call + social block (centered between logo and hell-yeah card) */
.footer-connect { flex: 1 1 260px; display: flex; flex-direction: column; align-items: center; gap: 12px; text-align: center; padding: 8px 10px; }
.footer-book {
  display: inline-flex; align-items: center; gap: 11px; background: var(--orange);
  color: #fff; text-decoration: none; padding: 16px 36px; border-radius: 999px;
  font-weight: 800; font-size: 18px; letter-spacing: 0.01em; transition: transform .18s, background .18s, box-shadow .18s;
  box-shadow: 0 14px 30px -12px rgba(232,123,31,0.7);
}
.footer-connect .footer-book { color: #fff; }
.footer-connect .footer-book:hover { color: #fff; background: var(--orange-bright); transform: translateY(-2px); box-shadow: 0 18px 38px -14px rgba(232,123,31,0.8); }
.footer-connect .footer-book span { transition: transform .18s; }
.footer-connect .footer-book:hover span { transform: translateX(4px); }
.footer-connect .social-connect { margin-bottom: -2px; }
.footer-connect .social-row { gap: 12px; }
@media (max-width: 720px) {
  .footer-connect { flex-basis: 100%; order: 1; margin: 4px 0 10px; }
}
.footer-inner { display: grid; grid-template-columns: repeat(5, 1fr); gap: 32px; }
@media (max-width: 900px) { .footer-inner { grid-template-columns: repeat(3, 1fr); gap: 32px; } }
@media (max-width: 560px) { .footer-inner { grid-template-columns: repeat(2, 1fr); gap: 28px; } }
@media (max-width: 380px) { .footer-inner { grid-template-columns: 1fr; } }
.footer-areas .area-child a { padding-left: 12px; opacity: 0.86; }
.footer-areas .area-parent a { font-weight: 700; }
.footer h4 { color: #fff; font-size: 13px; letter-spacing: 0.14em; text-transform: uppercase; margin-bottom: 14px; font-weight: 700; }
.footer p, .footer li { font-size: 14.5px; line-height: 1.9; }
.footer a { color: rgba(255,255,255,0.7); text-decoration: none; transition: color 0.18s; }
.footer a:hover { color: var(--orange-bright); }
.footer-nav { list-style: none; }
/* Collapsible footer column (Explore) — tap/click to toggle at ALL widths */
.footer-toggle { display: flex; align-items: center; justify-content: space-between; gap: 10px; width: 100%; background: none; border: 0; padding: 0; margin: 0; color: #fff; font: inherit; font-size: 13px; letter-spacing: 0.14em; text-transform: uppercase; font-weight: 700; text-align: left; cursor: pointer; }
.footer-toggle-ico { display: block; font-size: 20px; line-height: 1; font-weight: 400; color: var(--orange-bright); transition: transform 0.22s ease; }
.footer-col-collapsible.is-open .footer-toggle-ico { transform: rotate(45deg); }
.footer-col-collapsible .footer-collapse { max-height: 0; overflow: hidden; transition: max-height 0.32s ease; }
.footer-col-collapsible.is-open .footer-collapse { max-height: 1400px; }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; margin-top: 42px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,0.1); font-size: 12.5px; color: rgba(255,255,255,0.5); }
.footer-disclosures { margin-top: 22px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,0.1); }
.footer-disclosures p { font-size: 11.5px; line-height: 1.65; color: rgba(255,255,255,0.42); margin-bottom: 12px; max-width: 1000px; }
.footer-disclosures p:last-child { margin-bottom: 0; }
.footer-disclosures a { color: rgba(255,255,255,0.6); text-decoration: underline; }
.footer-disclosures a:hover { color: var(--orange-bright); }
.footer-jcen { margin-top: 26px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,0.1); display: flex; justify-content: center; }
.footer-jcen img { width: 300px; max-width: 100%; height: auto; opacity: 0.9; border-radius: 10px; }
.nmls { font-size: 12.5px; color: rgba(255,255,255,0.5); }
.powered { display: inline-flex; align-items: center; gap: 7px; font-size: 13px; font-weight: 600; color: rgba(255,255,255,0.6); }
.powered b { color: #fff; font-weight: 700; }

/* ---------- SOCIAL ROW ---------- */
.social-row { display: flex; flex-wrap: wrap; gap: 10px; }
.social-row.center { justify-content: center; }
.social-row a {
  width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center;
  background: var(--paper); border: 1px solid var(--line); color: var(--navy);
  transition: transform 0.18s, background 0.18s, color 0.18s, border-color 0.18s, box-shadow 0.18s;
}
.social-row a svg { width: 19px; height: 19px; display: block; }
.social-row a:hover { transform: translateY(-2px); background: var(--orange); border-color: var(--orange); color: #fff; box-shadow: 0 8px 18px -8px var(--orange); }
.social-row.on-dark a { background: rgba(255,255,255,0.08); border-color: rgba(255,255,255,0.16); color: #fff; }
.social-row.on-dark a:hover { background: var(--orange); border-color: var(--orange); color: #fff; }
/* real brand colors */
.social-row a.s-fb, .social-row.on-dark a.s-fb { background:#1877F2; border-color:#1877F2; color:#fff; }
.social-row a.s-li, .social-row.on-dark a.s-li { background:#0A66C2; border-color:#0A66C2; color:#fff; }
.social-row a.s-ig, .social-row.on-dark a.s-ig { background:radial-gradient(circle at 28% 108%, #fdd56b 6%, #f8a13c 22%, #e63b6e 42%, #cf2c8e 58%, #8a3ab9 78%, #4f5bd5 96%); border-color:transparent; color:#fff; }
.social-row a.s-tt, .social-row.on-dark a.s-tt { background:#010101; border-color:#010101; color:#fff; }
.social-row a.s-yt, .social-row.on-dark a.s-yt { background:#FF0000; border-color:#FF0000; color:#fff; }
.social-row a.s-fb:hover, .social-row a.s-li:hover, .social-row a.s-ig:hover, .social-row a.s-tt:hover, .social-row a.s-yt:hover,
.social-row.on-dark a.s-fb:hover, .social-row.on-dark a.s-li:hover, .social-row.on-dark a.s-ig:hover, .social-row.on-dark a.s-tt:hover, .social-row.on-dark a.s-yt:hover {
  transform: translateY(-3px); filter: brightness(1.08); box-shadow: 0 10px 22px -10px rgba(0,0,0,0.5);
}
/* "Let's connect on social" script label + arrow (pairs with .social-row) */
.social-connect { display: flex; align-items: flex-start; gap: 8px; color: var(--orange); margin-bottom: -6px; }
.social-connect.on-dark { color: var(--orange-bright); }
.social-connect.center { justify-content: center; }
.social-connect .txt { font-family: 'Caveat', cursive; font-weight: 700; font-size: 26px; line-height: 1.1; color: currentColor; transform: rotate(-4deg); }
.social-connect svg { flex: none; margin-top: 14px; }

/* ---------- REVEAL ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.7s cubic-bezier(.2,.7,.2,1), transform 0.7s cubic-bezier(.2,.7,.2,1); }
.reveal.in { opacity: 1; transform: none; }
.reveal-d1 { transition-delay: 0.08s; }
.reveal-d2 { transition-delay: 0.16s; }
.reveal-d3 { transition-delay: 0.24s; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1 !important; transform: none !important; } }
/* Fail-safe: if JavaScript is disabled/blocked, never leave content hidden. */
@media (scripting: none) { .reveal { opacity: 1 !important; transform: none !important; } }

/* ---------- CARDS / GRID ---------- */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
@media (max-width: 880px) { .grid-3 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .grid-3, .grid-2 { grid-template-columns: 1fr; } }

.card {
  background: var(--paper); border: 1px solid var(--line); border-radius: 18px;
  padding: 30px; transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s;
  position: relative; overflow: hidden;
}
.card::after {
  content: ''; position: absolute; top: 0; left: -60%; width: 40%; height: 100%;
  background: linear-gradient(100deg, transparent, rgba(255,255,255,0.55), transparent);
  transform: skewX(-18deg); pointer-events: none; opacity: 0;
}
.card:hover::after { animation: cardShimmer 0.9s ease-out; }
@keyframes cardShimmer { 0% { left: -60%; opacity: 0; } 30% { opacity: 1; } 100% { left: 130%; opacity: 0; } }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: rgba(232,123,31,0.4); }
@media (prefers-reduced-motion: reduce){ .card:hover::after { animation: none; } }
.card .icon {
  width: 48px; height: 48px; border-radius: 12px; display: grid; place-items: center;
  background: rgba(232,123,31,0.12); color: var(--orange); margin-bottom: 18px;
}
.card .icon svg { width: 24px; height: 24px; }
.card h3 { font-size: 20px; color: var(--navy); margin-bottom: 8px; }
.card p { color: var(--ink-soft); font-size: 15px; }

/* star bullet list (specialty loans) */
.spec-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
@media (max-width: 720px) { .spec-grid { grid-template-columns: 1fr; } }
.spec-item {
  display: flex; gap: 16px; align-items: flex-start; padding: 20px 22px;
  background: var(--paper); border: 1px solid var(--line); border-radius: 14px; transition: 0.22s;
}
.spec-item:hover { border-color: rgba(232,123,31,0.45); box-shadow: var(--shadow-sm); transform: translateY(-2px); }
.spec-star { color: var(--orange); font-size: 22px; line-height: 1.2; flex: none; }
.spec-item .name { display: block; font-weight: 700; color: var(--navy); font-size: 16.5px; margin-bottom: 3px; }
.spec-item .name .hint { font-weight: 500; color: var(--muted); font-size: 13px; }
.spec-item .desc { display: block; color: var(--ink-soft); font-size: 14.5px; line-height: 1.55; }

/* pill / tag */
.pill { display:inline-block; background: rgba(232,123,31,0.12); color: var(--orange-dim); font-weight: 700; font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; padding: 7px 14px; border-radius: 999px; }
.pill.on-dark { background: rgba(232,123,31,0.18); color: var(--orange-bright); }

/* page hero (inner pages) */
.page-hero { background:#07142a; color: #fff; position: relative; overflow: hidden; padding: 88px 0 84px; }
.page-hero::before { content:''; position:absolute; inset:0; pointer-events:none;
  background:
    radial-gradient(58% 78% at 84% 4%, rgba(232,123,31,0.26), transparent 55%),
    radial-gradient(70% 90% at -4% 104%, rgba(46,88,160,0.42), transparent 55%),
    radial-gradient(48% 58% at 104% 100%, rgba(240,197,96,0.12), transparent 60%),
    repeating-linear-gradient(0deg, rgba(255,255,255,0.02) 0 1px, transparent 1px 3px),
    linear-gradient(135deg, var(--navy) 0%, #07142a 100%); }
.page-hero .inner { position: relative; z-index: 2; max-width: 820px; }
/* editorial entrance — matches homepage C language */
.page-hero .crumbs, .page-hero .inner > h1, .page-hero .inner > p { opacity:0; transform:translateY(22px); animation: phRise .75s cubic-bezier(.2,.7,.2,1) forwards; }
.page-hero .crumbs { animation-delay:.05s; }
.page-hero .inner > h1 { animation-delay:.16s; }
.page-hero .inner > p { animation-delay:.3s; }
@keyframes phRise { to { opacity:1; transform:none; } }
@media (prefers-reduced-motion: reduce){
  .page-hero .crumbs, .page-hero .inner > h1, .page-hero .inner > p { opacity:1; transform:none; animation:none; }
}
.page-hero h1 { font-size: clamp(40px, 6vw, 78px); line-height: 1.0; margin-bottom: 18px; }
.page-hero p { font-size: clamp(16px,1.4vw,19px); color: rgba(255,255,255,0.8); max-width: 600px; }
.page-hero .crumbs { font-size: 13px; letter-spacing: 0.04em; color: rgba(255,255,255,0.55); margin-bottom: 22px; }
.page-hero .crumbs a { color: rgba(255,255,255,0.7); text-decoration: none; }
.page-hero .crumbs a:hover { color: var(--orange-bright); }

/* ---------- MOBILE "FULL SITE" VIEW SWITCH ----------
   Injected by site.js only on real phone-sized screens. Sizing is in fixed
   px (not media-query driven) because the viewport width changes between
   modes; visibility is gated in JS by the physical screen width. */
.view-switch {
  position: fixed; left: 50%; bottom: 14px; transform: translateX(-50%);
  z-index: 400; display: flex; align-items: center; gap: 4px;
  background: var(--navy); border: 1px solid rgba(255,255,255,0.16);
  border-radius: 999px; padding: 5px 6px 5px 14px;
  box-shadow: 0 10px 28px -8px rgba(6,21,40,0.6);
  font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
}
.view-switch .vs-lab {
  color: rgba(255,255,255,0.6); font-size: 11px; font-weight: 800;
  letter-spacing: 0.12em; text-transform: uppercase; margin-right: 4px;
}
.view-switch .vs-btn {
  font: inherit; font-size: 13px; font-weight: 800; color: rgba(255,255,255,0.78);
  background: none; border: none; padding: 8px 14px; border-radius: 999px;
  cursor: pointer; -webkit-tap-highlight-color: transparent; transition: background 0.2s, color 0.2s;
  white-space: nowrap;
}
.view-switch .vs-btn.on { background: var(--orange); color: #fff; }
/* In full-site mode the whole page is zoomed out, so scale the control up to
   keep it a comfortable tap target. */
.view-full .view-switch { bottom: 28px; padding: 10px 12px 10px 26px; gap: 8px; border-width: 2px; }
.view-full .view-switch .vs-lab { font-size: 21px; margin-right: 8px; }
.view-full .view-switch .vs-btn { font-size: 25px; padding: 15px 27px; }

/* ============================================================
   LOCATION PAGES + SUCCESS STORIES (shared)
   Used by the SEO location pages (albany-…, troy-…) and the
   case-study pages (success-…). Additive — no existing class touched.
   ============================================================ */

/* hero trust chips on inner page-hero */
.loc-stats { display:flex; flex-wrap:wrap; gap:12px; margin-top:30px; position:relative; z-index:2; }
.loc-chip { display:flex; align-items:center; gap:10px; font-size:14px; font-weight:600; color:rgba(255,255,255,0.92);
  background:rgba(255,255,255,0.06); border:1px solid rgba(255,255,255,0.15); border-radius:12px; padding:12px 17px; }
.loc-chip svg { width:17px; height:17px; color:var(--orange-bright); flex:none; }
.loc-chip b { color:#fff; font-weight:800; }

/* pull quote / testimonial card (standalone, on light bg) */
.quote-card { background:var(--paper); border:1px solid var(--line); border-radius:18px; padding:30px 30px 26px; box-shadow:var(--shadow-sm); }
.quote-card .qc-stars { display:flex; gap:3px; margin-bottom:14px; color:var(--orange); font-size:16px; }
.quote-card blockquote { margin:0; color:var(--ink); font-size:17px; line-height:1.62; }
.quote-card blockquote .hl { background:linear-gradient(transparent 62%, rgba(232,123,31,0.22) 0); font-weight:600; }
.quote-card figcaption { display:flex; align-items:center; gap:12px; margin-top:20px; padding-top:16px; border-top:1px solid var(--line); }
.quote-card .qc-avatar { width:40px; height:40px; border-radius:50%; background:linear-gradient(135deg,var(--navy),var(--navy-soft)); color:#fff; display:grid; place-items:center; font-weight:800; font-size:15px; flex:none; }
.quote-card .qc-name { font-weight:700; color:var(--navy); font-size:15px; }
.quote-card .qc-meta { font-size:13px; color:var(--muted); }

/* areas-served pill cloud */
.area-cloud { display:flex; flex-wrap:wrap; gap:10px; }
.area-cloud .area-pill { display:inline-flex; align-items:center; gap:8px; background:var(--paper); border:1px solid var(--line);
  color:var(--navy); font-weight:600; font-size:14.5px; padding:10px 16px; border-radius:999px; transition:0.2s; }
.area-cloud .area-pill svg { width:13px; height:13px; color:var(--orange); flex:none; }
.area-cloud .area-pill:hover { border-color:rgba(232,123,31,0.45); box-shadow:var(--shadow-sm); transform:translateY(-2px); }

/* FAQ (native details) */
.faq-list { max-width:840px; margin:0 auto; display:flex; flex-direction:column; gap:14px; }
.faq-item { background:var(--paper); border:1px solid var(--line); border-radius:14px; overflow:hidden; transition:border-color 0.2s, box-shadow 0.2s; }
.faq-item[open] { border-color:rgba(232,123,31,0.4); box-shadow:var(--shadow-sm); }
.faq-item summary { list-style:none; cursor:pointer; display:flex; align-items:center; justify-content:space-between; gap:18px;
  padding:22px 24px; font-weight:700; font-size:17px; color:var(--navy); }
.faq-item summary::-webkit-details-marker { display:none; }
.faq-item summary .faq-ico { flex:none; width:26px; height:26px; border-radius:50%; background:rgba(232,123,31,0.12); color:var(--orange);
  display:grid; place-items:center; font-size:19px; line-height:1; transition:transform 0.25s, background 0.2s, color 0.2s; }
.faq-item[open] summary .faq-ico { transform:rotate(45deg); background:var(--orange); color:#fff; }
.faq-item .faq-body { padding:0 24px 24px; color:var(--ink-soft); font-size:15.5px; line-height:1.7; }
.faq-item .faq-body a { color:var(--orange-dim); font-weight:600; }

/* SUCCESS STORY narrative */
.story-wrap { max-width:820px; margin:0 auto; }
.story-lead { font-size:clamp(19px,2vw,23px); line-height:1.5; color:var(--navy); font-weight:600; margin-bottom:36px; }
.story-block { margin-bottom:40px; }
.story-block .sb-eyebrow { display:inline-flex; align-items:center; gap:10px; font-size:12px; letter-spacing:0.2em; font-weight:800;
  text-transform:uppercase; color:var(--orange); margin-bottom:14px; }
.story-block .sb-eyebrow::before { content:''; width:24px; height:1px; background:var(--orange); }
.story-block h2 { font-size:clamp(24px,3vw,32px); color:var(--navy); margin-bottom:14px; line-height:1.12; }
.story-block p { font-size:16.5px; line-height:1.72; color:var(--ink-soft); margin-bottom:16px; }
.story-block p:last-child { margin-bottom:0; }
.story-pull { border-left:4px solid var(--orange); background:var(--cream-warm); border-radius:0 14px 14px 0;
  padding:26px 30px; margin:36px 0; }
.story-pull p { font-family:'Playfair Display',Georgia,serif; font-style:italic; font-size:clamp(20px,2.4vw,26px); line-height:1.4; color:var(--navy); margin:0; }
.story-pull .sp-by { font-family:'Plus Jakarta Sans',sans-serif; font-style:normal; font-size:14px; font-weight:700; color:var(--orange-dim); margin-top:14px; }
.story-tags { display:flex; flex-wrap:wrap; gap:10px; margin-top:8px; }

/* ============================================================
   LOCATION PAGES + SUCCESS STORY EXTRAS (shared)
   ============================================================ */
.loc-intro-grid { display:grid; grid-template-columns:1.1fr 0.9fr; gap:54px; align-items:center; }
@media (max-width:900px){ .loc-intro-grid { grid-template-columns:1fr; gap:36px; } }
.loc-intro-copy p { color:var(--ink-soft); font-size:16.5px; line-height:1.72; margin-bottom:16px; }
.loc-intro-copy p:last-child { margin-bottom:0; }
.loc-intro-copy .accent { color:var(--orange-dim); font-weight:700; }
.loc-photo { border-radius:20px; overflow:hidden; border:1px solid var(--line); box-shadow:var(--shadow-md); }
.loc-photo img { width:100%; height:100%; object-fit:cover; display:block; aspect-ratio:1/1; }

.val-row { display:grid; grid-template-columns:repeat(3,1fr); gap:22px; }
@media (max-width:760px){ .val-row { grid-template-columns:1fr; } }

/* Local favorites (must-sees) — injected by local-favorites.js */
.lf-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:22px; counter-reset:lf; }
@media (max-width:820px){ .lf-grid { grid-template-columns:1fr; } }
.lf-card { position:relative; background:var(--paper); border:1px solid var(--line); border-radius:16px; padding:30px 26px 26px; box-shadow:var(--shadow-sm); }
.lf-card::before { counter-increment:lf; content:counter(lf,decimal-leading-zero); position:absolute; top:20px; right:24px; font-family:'Anton',sans-serif; font-size:34px; line-height:1; color:rgba(10,29,58,0.09); }
.lf-card h3 { font-size:18px; color:var(--navy); margin:0 40px 9px 0; line-height:1.25; }
.lf-card p { color:var(--ink-soft); font-size:14.8px; line-height:1.62; }
.val-card { background:var(--paper); border:1px solid var(--line); border-radius:16px; padding:28px 26px; box-shadow:var(--shadow-sm); }
.val-card .vc-ico { width:46px; height:46px; border-radius:12px; display:grid; place-items:center; background:rgba(232,123,31,0.12); color:var(--orange); margin-bottom:16px; }
.val-card .vc-ico svg { width:24px; height:24px; }
.val-card h3 { font-size:19px; color:var(--navy); margin-bottom:8px; }
.val-card p { color:var(--ink-soft); font-size:15px; line-height:1.6; }

.quote-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:22px; }
@media (max-width:900px){ .quote-grid { grid-template-columns:1fr 1fr; } }
@media (max-width:640px){ .quote-grid { grid-template-columns:1fr; } }

/* success story hero meta chips */
.story-meta { display:flex; flex-wrap:wrap; gap:12px; margin-top:28px; position:relative; z-index:2; }
.story-meta .sm { display:flex; align-items:center; gap:9px; font-size:13.5px; font-weight:600; color:rgba(255,255,255,0.92);
  background:rgba(255,255,255,0.06); border:1px solid rgba(255,255,255,0.15); border-radius:12px; padding:11px 16px; }
.story-meta .sm svg { width:16px; height:16px; color:var(--orange-bright); flex:none; }
.story-meta .sm b { color:#fff; }

/* IGOTU / dark quote band */
.igotu-band { background:var(--navy); position:relative; overflow:hidden; }
.igotu-band::before { content:''; position:absolute; inset:0; background:radial-gradient(circle at 15% -10%, rgba(232,123,31,0.26), transparent 46%); }
.igotu-inner { position:relative; z-index:2; max-width:760px; margin:0 auto; text-align:center; }
.igotu-inner .ig-mark { font-family:'Anton',sans-serif; font-size:74px; line-height:0.6; color:var(--orange); }
.igotu-inner blockquote { margin:8px 0 20px; color:#fff; font-size:clamp(22px,2.8vw,32px); font-weight:500; line-height:1.4; }
.igotu-inner blockquote .accent { color:var(--orange-bright); font-weight:700; }
.igotu-inner .ig-by { font-family:'Caveat',cursive; font-weight:700; font-size:24px; color:rgba(255,255,255,0.9); }
.story-cta-row { display:flex; gap:14px; flex-wrap:wrap; margin-top:14px; }

/* related / index cards */
.rel-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:22px; }
@media (max-width:820px){ .rel-grid { grid-template-columns:1fr; } }
.rel-card { display:block; text-decoration:none; background:var(--paper); border:1px solid var(--line); border-radius:16px; padding:26px; box-shadow:var(--shadow-sm); transition:transform .22s, box-shadow .22s, border-color .22s; }
.rel-card:hover { transform:translateY(-4px); box-shadow:var(--shadow-md); border-color:rgba(232,123,31,0.4); }
.rel-card .rc-tag { font-size:11.5px; font-weight:800; letter-spacing:0.14em; text-transform:uppercase; color:var(--orange-dim); }
.rel-card h3 { font-size:19px; color:var(--navy); margin:10px 0 6px; line-height:1.2; }
.rel-card p { color:var(--ink-soft); font-size:14.5px; line-height:1.55; }
.rel-card .rc-more { display:inline-block; margin-top:12px; color:var(--orange-dim); font-weight:700; font-size:14px; }

/* ============================================================
   Commute tool — address -> drive distance & time
   ============================================================ */
.commute { max-width:1040px; margin:0 auto; }
.commute-form { display:flex; gap:12px; margin-bottom:14px; }
.commute-field { position:relative; flex:1; display:flex; align-items:center; }
.commute-field svg { position:absolute; left:16px; width:20px; height:20px; color:var(--muted); pointer-events:none; }
.commute-input { width:100%; font-family:inherit; font-size:16px; color:var(--ink); background:var(--paper); border:1px solid var(--line); border-radius:14px; padding:16px 18px 16px 46px; box-shadow:var(--shadow-sm); transition:border-color .18s, box-shadow .18s; }
.commute-input::placeholder { color:var(--muted); }
.commute-input:focus { outline:none; border-color:var(--orange); box-shadow:0 0 0 3px rgba(232,123,31,0.15); }
.commute-btn { flex:none; font-family:inherit; font-weight:700; font-size:15px; color:#fff; background:var(--orange); border:none; border-radius:14px; padding:0 26px; cursor:pointer; box-shadow:var(--shadow-sm); transition:background .18s, transform .18s; }
.commute-btn:hover { background:var(--orange-dim); transform:translateY(-1px); }
.commute-status { min-height:20px; margin:0 2px 16px; font-size:13.5px; font-weight:600; color:var(--muted); }
.commute-status.is-load { color:var(--navy-soft); }
.commute-status.is-error { color:#b4341f; }
.commute-status.is-ok { color:var(--orange-dim); }

.commute-body { display:grid; grid-template-columns:1.25fr 1fr; gap:22px; align-items:stretch; }
.commute-map { height:460px; border-radius:20px; overflow:hidden; border:1px solid var(--line); box-shadow:var(--shadow-md); background:#eef1f4; }
.commute-map .leaflet-container { width:100%; height:100%; font-family:inherit; background:#eef1f4; }
.commute-map .leaflet-control-attribution { font-size:9px; background:rgba(255,255,255,0.7); }
.commute-home-pin { background:none; border:none; }
.commute-home-dot { display:block; width:20px; height:20px; border-radius:50%; background:var(--navy); border:3px solid #fff; box-shadow:0 2px 6px rgba(0,0,0,.4); }
.commute-home-dot::after { content:''; position:absolute; inset:-6px; border-radius:50%; border:2px solid rgba(10,29,58,0.35); animation:commutePulse 1.8s ease-out infinite; }
@keyframes commutePulse { 0%{ transform:scale(0.6); opacity:0.8; } 100%{ transform:scale(1.4); opacity:0; } }

.commute-panel { display:flex; flex-direction:column; background:var(--paper); border:1px solid var(--line); border-radius:20px; box-shadow:var(--shadow-md); overflow:hidden; }
.commute-panel-head { padding:20px 22px 14px; border-bottom:1px solid var(--line); }
.commute-panel-head h3 { font-size:16px; color:var(--navy); margin-bottom:4px; }
.commute-panel-head p { font-size:12.5px; line-height:1.5; color:var(--muted); }
.commute-panel.has-results .commute-panel-head .cp-hint { display:none; }
.commute-panel-head .cp-live { display:none; }
.commute-panel.has-results .commute-panel-head .cp-live { display:block; }
.commute-list { flex:1; overflow-y:auto; max-height:392px; padding:8px; display:flex; flex-direction:column; gap:2px; }
.commute-row { display:flex; align-items:center; gap:12px; width:100%; text-align:left; font-family:inherit; background:none; border:none; border-radius:12px; padding:11px 12px; cursor:pointer; transition:background .15s; }
.commute-row:hover { background:var(--cream-warm); }
.commute-group { padding:12px 12px 5px; font-size:11px; font-weight:800; letter-spacing:.07em; text-transform:uppercase; color:var(--muted); }
.commute-group:first-child { padding-top:4px; }
.commute-row.is-top { background:var(--cream-warm); }
.commute-row.is-top:hover { background:var(--cream); }
.commute-row.is-top .commute-rank { background:var(--orange); }
.commute-rank { flex:none; width:24px; height:24px; border-radius:50%; display:grid; place-items:center; background:var(--navy); color:#fff; font-size:12px; font-weight:800; }
.commute-dot { flex:none; width:9px; height:9px; margin:0 7px; border-radius:50%; background:var(--orange); }
.commute-town { flex:1; font-size:15px; font-weight:600; color:var(--navy); }
.commute-metric { flex:none; display:flex; flex-direction:column; align-items:flex-end; line-height:1.15; }
.commute-metric b { font-size:15px; color:var(--ink); font-variant-numeric:tabular-nums; }
.commute-mi { font-size:12px; color:var(--muted); font-variant-numeric:tabular-nums; }
.commute-metric.muted { color:var(--muted); font-size:14px; }
.commute-foot { padding:12px 22px; border-top:1px solid var(--line); font-size:11.5px; line-height:1.5; color:var(--muted); }

@media (max-width:860px){
  .commute-body { grid-template-columns:1fr; }
  .commute-map { height:320px; order:-1; }
  .commute-list { max-height:360px; }
}
@media (max-width:540px){
  .commute-form { flex-direction:column; }
  .commute-btn { padding:15px 26px; }
}

/* ============================================================
   Cost of buying band — "What it costs to buy in [town]"
   ============================================================ */
.cost-band { background:linear-gradient(180deg,var(--cream-warm),var(--cream)); }
.cost-grid { display:grid; grid-template-columns:1.35fr 1fr; gap:26px; align-items:stretch; }
@media (max-width:900px){ .cost-grid { grid-template-columns:1fr; } }
.cost-pay { background:var(--paper); border:1px solid var(--line); border-radius:20px; padding:30px 32px; box-shadow:var(--shadow-md); display:flex; flex-direction:column; }
.cost-tag { display:inline-block; align-self:flex-start; font-size:11.5px; font-weight:800; letter-spacing:.06em; text-transform:uppercase; color:var(--orange-dim); background:rgba(232,123,31,0.1); padding:6px 12px; border-radius:999px; margin-bottom:20px; }
.cost-pay-head { display:flex; align-items:center; gap:20px; margin-bottom:22px; }
@media (max-width:460px){ .cost-pay-head { gap:12px; } .cost-pay { padding:26px 22px; } }
.cpp { display:flex; flex-direction:column; gap:5px; }
.cpp-num { font-family:'Anton',sans-serif; font-size:clamp(30px,4vw,40px); line-height:0.95; color:var(--navy); }
.cpp:last-of-type .cpp-num { color:var(--orange); }
.cpp-lbl { font-size:11.5px; font-weight:700; letter-spacing:.04em; text-transform:uppercase; color:var(--muted); }
.cost-x { font-family:'Anton',sans-serif; font-size:26px; color:var(--blue-soft); }
.cost-break { list-style:none; border-top:1px solid var(--line); }
.cost-break li { display:flex; justify-content:space-between; align-items:center; gap:14px; padding:11px 0; border-bottom:1px solid var(--line); font-size:14.5px; color:var(--ink-soft); }
.cost-break li b { color:var(--navy); font-size:15.5px; font-variant-numeric:tabular-nums; }
.cost-assume { margin:16px 0 20px; font-size:12px; line-height:1.55; color:var(--muted); }
.cost-cta { display:flex; flex-wrap:wrap; gap:12px; margin-top:auto; }
.cost-cta .btn-primary, .cost-cta .btn-ghost { padding:13px 24px; font-size:15px; }
.cost-side { display:flex; flex-direction:column; gap:26px; }
.cost-mini { background:var(--paper); border:1px solid var(--line); border-radius:18px; padding:26px 26px; box-shadow:var(--shadow-sm); flex:1; }
.cost-mini-ico { width:44px; height:44px; border-radius:12px; display:grid; place-items:center; background:rgba(10,29,58,0.06); color:var(--navy); margin-bottom:15px; }
.cost-mini-ico svg { width:23px; height:23px; }
.cost-mini h3 { font-size:18px; color:var(--navy); margin-bottom:9px; }
.cost-mini p { color:var(--ink-soft); font-size:14.5px; line-height:1.62; }
.cost-mini p b { color:var(--navy); }
.cost-help { display:flex; align-items:center; gap:22px; margin-top:26px; background:var(--navy); color:#fff; border-radius:20px; padding:26px 30px; box-shadow:var(--shadow-md); position:relative; overflow:hidden; }
.cost-help::before { content:''; position:absolute; inset:0; background:radial-gradient(circle at 12% 130%,rgba(232,123,31,0.3),transparent 46%); pointer-events:none; }
.cost-help > * { position:relative; z-index:1; }
.cost-help-ico { flex:none; width:52px; height:52px; border-radius:14px; display:grid; place-items:center; background:rgba(232,123,31,0.18); color:var(--orange-bright); }
.cost-help-ico svg { width:27px; height:27px; }
.cost-help h4 { font-size:19px; color:#fff; margin-bottom:7px; }
.cost-help p { font-size:14.5px; line-height:1.62; color:rgba(255,255,255,0.82); }
.cost-help p b { color:#fff; }
.cost-help-link { flex:none; display:inline-flex; align-items:center; gap:8px; font-weight:700; font-size:14.5px; color:var(--orange-bright); text-decoration:none; white-space:nowrap; }
.cost-help-link span { transition:transform .18s; }
.cost-help-link:hover span { transform:translateX(4px); }
@media (max-width:760px){ .cost-help { flex-direction:column; align-items:flex-start; gap:16px; } }

/* ============================================================
   ATMOSPHERE — custom glassmorphism ambient music player
   ============================================================ */
.atmo { position:fixed; right:20px; bottom:20px; z-index:420;
  font-family:'Plus Jakarta Sans', system-ui, sans-serif; --atmo-orange:#f0913a; }
.atmo.nav-open { opacity:0; pointer-events:none; transition:opacity .2s; }

/* collapsed floating button */
.atmo-fab { position:relative; width:56px; height:56px; border-radius:50%; border:1px solid rgba(255,255,255,0.28);
  display:grid; place-items:center; cursor:pointer; color:#fff;
  background:linear-gradient(150deg, rgba(20,48,90,0.72), rgba(10,29,58,0.72));
  backdrop-filter:blur(14px) saturate(1.2); -webkit-backdrop-filter:blur(14px) saturate(1.2);
  box-shadow:0 12px 34px -10px rgba(6,21,40,0.7), 0 0 0 6px rgba(240,145,58,0.10), inset 0 1px 0 rgba(255,255,255,0.22);
  transition:transform .25s cubic-bezier(.2,.7,.2,1), box-shadow .25s, opacity .25s; }
.atmo-fab:hover { transform:translateY(-2px) scale(1.04); }
.atmo-fab-note { width:24px; height:24px; color:var(--atmo-orange); }
/* soft breathing glow to invite a click when idle */
.atmo-fab::after { content:''; position:absolute; inset:-6px; border-radius:50%; pointer-events:none;
  box-shadow:0 0 0 0 rgba(240,145,58,0.5); }
.atmo.pulse .atmo-fab::after { animation:atmoPulse 2.4s ease-out infinite; }
@keyframes atmoPulse { 0%{ box-shadow:0 0 0 0 rgba(240,145,58,0.45); } 70%{ box-shadow:0 0 0 16px rgba(240,145,58,0); } 100%{ box-shadow:0 0 0 0 rgba(240,145,58,0); } }
/* mini equalizer shown on the FAB while playing (hides the note) */
.atmo-fab-eq { display:none; align-items:flex-end; gap:3px; height:20px; }
.atmo-fab-eq i { width:3px; height:100%; border-radius:2px; background:var(--atmo-orange); transform-origin:bottom;
  animation:atmoBar 1s ease-in-out infinite; }
.atmo-fab-eq i:nth-child(1){ animation-delay:-.2s; } .atmo-fab-eq i:nth-child(2){ animation-delay:-.5s; } .atmo-fab-eq i:nth-child(3){ animation-delay:-.8s; }
@keyframes atmoBar { 0%,100%{ transform:scaleY(0.3); } 50%{ transform:scaleY(1); } }
.atmo.is-playing .atmo-fab-note { display:none; }
.atmo.is-playing .atmo-fab-eq { display:flex; }
.atmo.open .atmo-fab { transform:scale(0.82); opacity:0; pointer-events:none; }

/* expanded frosted panel */
.atmo-panel { position:absolute; right:0; bottom:0; width:288px; padding:16px 16px 15px; border-radius:20px;
  color:#fff; border:1px solid rgba(255,255,255,0.2);
  background:linear-gradient(155deg, rgba(20,48,90,0.66), rgba(8,22,42,0.74));
  backdrop-filter:blur(20px) saturate(1.3); -webkit-backdrop-filter:blur(20px) saturate(1.3);
  box-shadow:0 26px 60px -20px rgba(6,21,40,0.78), inset 0 1px 0 rgba(255,255,255,0.2);
  opacity:0; transform:translateY(10px) scale(0.96); transform-origin:bottom right; pointer-events:none;
  transition:opacity .28s ease, transform .3s cubic-bezier(.2,.7,.2,1); }
.atmo.open .atmo-panel { opacity:1; transform:none; pointer-events:auto; }

.atmo-head { display:flex; align-items:center; gap:11px; margin-bottom:13px; }
.atmo-eq { display:flex; align-items:flex-end; gap:2.5px; width:26px; height:26px; flex:none;
  padding:5px; border-radius:9px; background:rgba(240,145,58,0.16); }
.atmo-eq i { flex:1; height:100%; border-radius:2px; background:var(--atmo-orange); transform:scaleY(0.25); transform-origin:bottom;
  transition:transform .09s linear; }
.atmo:not(.is-playing) .atmo-eq i { animation:atmoBar 1.1s ease-in-out infinite; transition:none; }
.atmo:not(.is-playing) .atmo-eq i:nth-child(2){ animation-delay:-.3s; } .atmo:not(.is-playing) .atmo-eq i:nth-child(3){ animation-delay:-.6s; }
.atmo:not(.is-playing) .atmo-eq i:nth-child(4){ animation-delay:-.15s; } .atmo:not(.is-playing) .atmo-eq i:nth-child(5){ animation-delay:-.45s; }
.atmo-meta { display:flex; flex-direction:column; min-width:0; flex:1; }
.atmo-label { font-size:10px; font-weight:800; letter-spacing:0.18em; text-transform:uppercase; color:rgba(255,255,255,0.55); }
.atmo-title { font-size:14.5px; font-weight:700; color:#fff; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.atmo-x { flex:none; width:26px; height:26px; border:0; background:transparent; color:rgba(255,255,255,0.6); cursor:pointer;
  border-radius:8px; display:grid; place-items:center; transition:background .16s, color .16s; }
.atmo-x svg { width:18px; height:18px; }
.atmo-x:hover { background:rgba(255,255,255,0.1); color:#fff; }

.atmo-seek { position:relative; height:5px; border-radius:3px; background:rgba(255,255,255,0.16); cursor:pointer; margin-bottom:14px; }
.atmo-seek-fill { position:absolute; left:0; top:0; height:100%; width:0; border-radius:3px;
  background:linear-gradient(90deg, var(--atmo-orange), #f6b36a); }
.atmo-seek-fill::after { content:''; position:absolute; right:-5px; top:50%; width:11px; height:11px; border-radius:50%;
  background:#fff; transform:translateY(-50%); box-shadow:0 2px 6px rgba(0,0,0,0.4); opacity:0; transition:opacity .16s; }
.atmo-seek:hover .atmo-seek-fill::after { opacity:1; }

.atmo-controls { display:flex; align-items:center; gap:6px; }
.atmo-btn { flex:none; width:34px; height:34px; border:0; border-radius:50%; cursor:pointer; color:#fff;
  background:rgba(255,255,255,0.08); display:grid; place-items:center; transition:background .16s, transform .12s; }
.atmo-btn:hover { background:rgba(255,255,255,0.18); }
.atmo-btn:active { transform:scale(0.92); }
.atmo-btn svg { width:19px; height:19px; }
.atmo-play { width:42px; height:42px; background:var(--atmo-orange); color:#0a1d3a; box-shadow:0 8px 20px -6px rgba(240,145,58,0.7); }
.atmo-play:hover { background:#f6a24f; }
.atmo-play svg { width:22px; height:22px; }
.atmo-play .ic-pause { display:none; }
.atmo.is-playing .atmo-play .ic-play { display:none; }
.atmo.is-playing .atmo-play .ic-pause { display:block; }
.atmo-vol { display:flex; align-items:center; gap:6px; margin-left:auto; min-width:0; }
.atmo-mute .ic-mut { display:none; }
.atmo.is-muted .atmo-mute .ic-spk { display:none; }
.atmo.is-muted .atmo-mute .ic-mut { display:block; }
.atmo-slider { -webkit-appearance:none; appearance:none; width:64px; height:4px; border-radius:3px; cursor:pointer;
  background:rgba(255,255,255,0.22); outline:none; }
.atmo-slider::-webkit-slider-thumb { -webkit-appearance:none; appearance:none; width:13px; height:13px; border-radius:50%;
  background:#fff; box-shadow:0 1px 4px rgba(0,0,0,0.4); cursor:pointer; }
.atmo-slider::-moz-range-thumb { width:13px; height:13px; border:0; border-radius:50%; background:#fff; cursor:pointer; }
.atmo-slider:focus-visible { outline:2px solid var(--atmo-orange); outline-offset:3px; }

/* first-visit invitation toast */
.atmo-toast { position:fixed; right:20px; bottom:88px; z-index:419; width:min(320px, calc(100vw - 40px));
  display:flex; align-items:center; gap:12px; padding:14px 15px; border-radius:16px; color:#fff;
  border:1px solid rgba(255,255,255,0.2);
  background:linear-gradient(155deg, rgba(20,48,90,0.82), rgba(8,22,42,0.9));
  backdrop-filter:blur(18px); -webkit-backdrop-filter:blur(18px);
  box-shadow:0 22px 50px -18px rgba(6,21,40,0.8);
  opacity:0; transform:translateY(14px); transition:opacity .4s ease, transform .4s cubic-bezier(.2,.7,.2,1); }
.atmo-toast.in { opacity:1; transform:none; }
.atmo-toast-ic { flex:none; width:34px; height:34px; border-radius:10px; display:grid; place-items:center;
  background:rgba(240,145,58,0.18); color:var(--atmo-orange); }
.atmo-toast-ic svg { width:20px; height:20px; }
.atmo-toast-tx { font-size:13px; line-height:1.4; color:rgba(255,255,255,0.9); flex:1; }
.atmo-toast-acts { display:flex; flex-direction:column; gap:6px; flex:none; }
.atmo-toast-play { font:inherit; font-size:12.5px; font-weight:800; color:#0a1d3a; background:var(--atmo-orange);
  border:0; border-radius:999px; padding:7px 16px; cursor:pointer; transition:background .16s; }
.atmo-toast-play:hover { background:#f6a24f; }
.atmo-toast-no { font:inherit; font-size:12px; font-weight:700; color:rgba(255,255,255,0.6); background:transparent;
  border:0; cursor:pointer; padding:2px; }
.atmo-toast-no:hover { color:#fff; }

/* keep clear of the mobile "View" switch (bottom-center) and give thumb room */
@media (max-width:820px){
  .atmo { right:14px; bottom:14px; }
  .atmo-toast { bottom:80px; right:14px; }
}
.view-full .atmo { right:28px; bottom:88px; }

@media (prefers-reduced-motion: reduce){
  .atmo-fab, .atmo-panel, .atmo-toast { transition:none; }
  .atmo-fab-eq i, .atmo:not(.is-playing) .atmo-eq i, .atmo.pulse .atmo-fab::after { animation:none; }
}
