/* =========================================================
   DESIGN TOKENS
   ========================================================= */
:root {
  /* Brand palette — sampled from the official Matthews Medical Mile wordmark */
  --brand-deep:        #8B1602;   /* "Matthews" / "Mile" deep crimson */
  --brand-deep-2:      #B71308;   /* deeper red */
  --brand-red:         #E41B12;   /* "Medical" vivid red — primary accent */
  --brand-red-dark:    #B7140C;
  --brand-red-soft:    #FCE9E7;   /* tinted background */
  --brand-ink:         #1F0A08;   /* near-black with red undertone */
  --brand-white:       #ffffff;
  --brand-bg:          #FBF6F2;   /* warm cream */
  --brand-bg-2:        #F4ECE6;
  --brand-line:        #EADFD9;
  --brand-teal:        #0E7A5F;   /* deep evergreen wellness accent */
  --brand-teal-dark:   #0A5F4A;
  --brand-warm:        #F59E0B;   /* warm amber active state / pins */
  --brand-warm-dark:   #D97706;
  --brand-amber:       #FBBF24;
  --brand-gold:        #C99A3F;

  /* Text */
  --text-ink:          #1A0F0E;
  --text-body:         #4A3935;
  --text-muted:        #8B7570;

  /* Surfaces */
  --surface:           #ffffff;
  --surface-2:         #FBF6F2;

  /* Shadows — warm, tinted with the brand red */
  --shadow-xs: 0 1px 2px rgba(139, 22, 2, 0.06);
  --shadow-sm: 0 4px 14px rgba(139, 22, 2, 0.08);
  --shadow-md: 0 14px 34px rgba(139, 22, 2, 0.12);
  --shadow-lg: 0 28px 60px rgba(139, 22, 2, 0.20);
  --shadow-red: 0 18px 40px rgba(228, 27, 18, 0.28);

  /* Radii */
  --radius-sm: 10px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --radius-pill: 999px;

  /* Layout */
  --container: 1200px;
  --header-h: 72px;

  /* Motion */
  --ease: cubic-bezier(0.2, 0.8, 0.2, 1);
}

/* =========================================================
   RESET & BASE
   ========================================================= */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  color: var(--text-body);
  background: var(--brand-white);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
html { overflow-x: hidden; }
img, svg, video { max-width: 100%; display: block; }
a { color: var(--brand-deep); text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
h1, h2, h3, h4 { color: var(--text-ink); font-weight: 800; line-height: 1.12; margin: 0 0 .5em; letter-spacing: -0.022em; }
h2.h-title { font-weight: 800; }
.h-title { position: relative; }
p { margin: 0 0 1em; }
:focus-visible {
  outline: 3px solid var(--brand-teal);
  outline-offset: 2px;
  border-radius: 6px;
}
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 20px;
}

/* Reusable buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 22px;
  border-radius: var(--radius-pill);
  font-weight: 700;
  font-size: 15px;
  border: 1.5px solid transparent;
  background: var(--brand-deep);
  color: var(--brand-white);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s var(--ease), color .2s var(--ease);
  white-space: nowrap;
  min-height: 46px;
  letter-spacing: -0.005em;
}
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn-primary {
  background: linear-gradient(135deg, var(--brand-red) 0%, var(--brand-deep) 100%);
  color: #fff;
  box-shadow: 0 8px 20px rgba(228, 27, 18, 0.30);
}
.btn-primary:hover {
  background: linear-gradient(135deg, var(--brand-red-dark) 0%, var(--brand-deep) 100%);
  box-shadow: var(--shadow-red);
}
.btn-ghost {
  background: rgba(255,255,255,0.08);
  color: var(--brand-white);
  border-color: rgba(255,255,255,0.45);
  backdrop-filter: blur(8px);
}
.btn-ghost:hover { background: rgba(255,255,255,0.18); border-color: rgba(255,255,255,0.85); }
.btn-outline {
  background: var(--brand-white);
  color: var(--brand-deep);
  border-color: var(--brand-line);
}
.btn-outline:hover { border-color: var(--brand-red); color: var(--brand-red); }
.btn-teal { background: var(--brand-teal); }
.btn-teal:hover { background: var(--brand-teal-dark); }
.btn-amber {
  background: linear-gradient(135deg, var(--brand-amber) 0%, var(--brand-warm-dark) 100%);
  color: var(--brand-ink);
}
.btn-amber:hover { color: #fff; }
.btn-sm { padding: 9px 14px; font-size: 13px; min-height: 38px; }

.section { padding: 72px 0; }
.section-tight { padding: 56px 0; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--brand-red);
  padding: 8px 16px 8px 14px;
  background: var(--brand-red-soft);
  border-radius: var(--radius-pill);
  margin-bottom: 12px;
  border: 1px solid rgba(228,27,18,0.15);
  line-height: 1.2;
}
.eyebrow::before {
  content: "";
  width: 14px; height: 2px;
  background: var(--brand-red);
  border-radius: 2px;
  display: inline-block;
  flex: 0 0 auto;
}
/* Decorative ambient blob — drop on top of any positioned ancestor */
.amb-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  pointer-events: none;
  z-index: 0;
  opacity: .6;
}
.amb-red    { background: radial-gradient(circle, rgba(228,27,18,0.35), transparent 70%); }
.amb-amber  { background: radial-gradient(circle, rgba(245,158,11,0.32), transparent 70%); }
.amb-cream  { background: radial-gradient(circle, rgba(255,225,200,0.50), transparent 70%); }
/* Subtle dot pattern for section backgrounds */
.bg-dots::before {
  content: "";
  position: absolute; inset: 0;
  background-image: radial-gradient(rgba(139, 22, 2, 0.08) 1px, transparent 1px);
  background-size: 22px 22px;
  pointer-events: none;
  opacity: .8;
  z-index: 0;
}
/* SVG section wave divider helper */
.section-divider {
  position: absolute; left: 0; right: 0;
  height: 64px;
  width: 100%;
  pointer-events: none;
  z-index: 2;
}
.section-divider svg { width: 100%; height: 100%; display: block; }
.section-divider.top { top: -1px; }
.section-divider.bottom { bottom: -1px; }
.section-divider.flip svg { transform: scaleY(-1); }
.h-title {
  font-size: clamp(28px, 4vw, 44px);
  letter-spacing: -0.02em;
}
.h-sub {
  max-width: 720px;
  color: var(--text-body);
  font-size: clamp(15px, 1.6vw, 17px);
  line-height: 1.65;
}

/* =========================================================
   HEADER / NAV
   ========================================================= */
.site-header {
  position: sticky;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(255,255,255,0.78);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: background .25s var(--ease), box-shadow .25s var(--ease), border-color .25s var(--ease);
}
.site-header.is-scrolled {
  background: rgba(255,255,255,0.94);
  border-bottom-color: var(--brand-line);
  box-shadow: var(--shadow-sm);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
  gap: 12px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--brand-ink);
  font-weight: 800;
  letter-spacing: -0.02em;
  font-size: 17px;
  line-height: 1.05;
}
.brand-bar {
  width: 4px; height: 28px;
  background: linear-gradient(180deg, var(--brand-red) 0%, var(--brand-deep) 100%);
  border-radius: 2px;
  flex: 0 0 auto;
}
.brand-mark {
  width: 38px; height: 38px;
  border-radius: 11px;
  background: linear-gradient(135deg, var(--brand-red) 0%, var(--brand-deep) 100%);
  display: grid; place-items: center;
  color: #fff;
  box-shadow: var(--shadow-sm);
  flex: 0 0 auto;
}
.brand-mark svg { width: 22px; height: 22px; }
.brand-text {
  display: flex; flex-direction: column;
  line-height: 1;
}
.brand-text .wordmark {
  font-weight: 800;
  font-size: 18px;
  letter-spacing: -0.02em;
  white-space: nowrap;
}
.brand-text .wordmark .w-matthews { color: var(--brand-deep); }
.brand-text .wordmark .w-medical  { color: var(--brand-red); }
.brand-text .wordmark .w-mile     { color: var(--brand-deep); }
.brand-text small {
  display: block;
  font-size: 10px;
  letter-spacing: 0.18em;
  color: var(--text-muted);
  font-weight: 700;
  text-transform: uppercase;
  margin-top: 4px;
}

.nav-links {
  display: flex; align-items: center;
  gap: 6px;
  list-style: none;
  padding: 0; margin: 0;
}
.nav-links a {
  display: inline-flex;
  padding: 10px 14px;
  border-radius: 10px;
  color: var(--text-ink);
  font-weight: 600;
  font-size: 15px;
  position: relative;
  transition: background .2s var(--ease), color .2s var(--ease);
}
.nav-links a:hover { background: var(--brand-bg); }
.nav-links a.active { color: var(--brand-deep); }
.nav-links a.active::after {
  content: "";
  position: absolute;
  left: 14px; right: 14px; bottom: 4px;
  height: 2.5px;
  background: linear-gradient(90deg, var(--brand-red) 0%, var(--brand-deep) 100%);
  border-radius: 2px;
}
.nav-cta { display: flex; align-items: center; gap: 10px; }
.hamburger {
  display: none;
  width: 44px; height: 44px;
  border: 1px solid var(--brand-line);
  background: var(--surface);
  border-radius: 12px;
  align-items: center; justify-content: center;
  padding: 0;
}
.hamburger span {
  display: block;
  width: 18px; height: 2px;
  background: var(--brand-ink);
  position: relative;
  border-radius: 2px;
  transition: transform .25s var(--ease), opacity .25s var(--ease);
}
.hamburger span::before,
.hamburger span::after {
  content: "";
  position: absolute; left: 0;
  width: 18px; height: 2px;
  background: var(--brand-ink);
  border-radius: 2px;
  transition: transform .25s var(--ease);
}
.hamburger span::before { top: -6px; }
.hamburger span::after  { top: 6px; }
.hamburger[aria-expanded="true"] span { background: transparent; }
.hamburger[aria-expanded="true"] span::before { transform: translateY(6px) rotate(45deg); }
.hamburger[aria-expanded="true"] span::after  { transform: translateY(-6px) rotate(-45deg); }

/* Mobile menu */
.mobile-menu {
  position: fixed;
  inset: var(--header-h) 0 0 0;
  background: rgba(10, 34, 56, 0.55);
  backdrop-filter: blur(6px);
  opacity: 0; pointer-events: none;
  transition: opacity .25s var(--ease);
  z-index: 99;
}
.mobile-menu .panel {
  position: absolute;
  top: 12px; left: 12px; right: 12px;
  background: var(--surface);
  border-radius: 22px;
  padding: 14px;
  box-shadow: var(--shadow-lg);
  transform: translateY(-12px);
  transition: transform .3s var(--ease);
}
.mobile-menu.open {
  opacity: 1;
  pointer-events: auto;
}
.mobile-menu.open .panel { transform: translateY(0); }
.mobile-menu a {
  display: block;
  padding: 14px 16px;
  border-radius: 12px;
  color: var(--text-ink);
  font-weight: 600;
  font-size: 17px;
}
.mobile-menu a:hover, .mobile-menu a.active { background: var(--brand-bg); }
.mobile-menu .btn,
.mobile-menu a.btn,
.mobile-menu a.btn-primary {
  width: 100%;
  margin-top: 6px;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: #fff !important;
  -webkit-text-fill-color: #fff;
}
.mobile-menu a.btn-primary:hover,
.mobile-menu a.btn-primary:focus-visible {
  color: #fff !important;
  background: linear-gradient(135deg, var(--brand-red-dark) 0%, var(--brand-deep) 100%);
}
.mobile-menu a.btn-primary svg {
  width: 16px;
  height: 16px;
  flex: 0 0 auto;
  stroke: currentColor;
  color: #fff;
}

/* =========================================================
   HERO
   ========================================================= */
.hero {
  position: relative;
  isolation: isolate;
  min-height: clamp(620px, 92vh, 860px);
  display: flex;
  align-items: center;
  color: #fff;
  overflow: hidden;
}
.hero-media {
  position: absolute; inset: 0; z-index: -2;
  overflow: hidden;
}
.hero-media video,
.hero-media img {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center;
  filter: saturate(1.05) contrast(1.05);
}
.hero-media .hero-vimeo-wrap {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  background: transparent;
  /* Needed for contain math — show full Vimeo frame (no cover-zoom) */
  container-type: size;
}
.hero-media .hero-vimeo-wrap[hidden] {
  display: none !important;
}
/*
  Fit the FULL 16:9 Vimeo frame inside the hero (like vimeo.com).
  Cover-zoom was cropping/enlarging a region and made HD look soft.
  Side/letterbox edges use the existing hero #1F0A08 + overlays.
*/
.hero-media .hero-vimeo {
  position: absolute;
  top: 50%;
  left: 50%;
  width: min(100cqw, calc(100cqh * 16 / 9));
  height: min(100cqh, calc(100cqw * 9 / 16));
  border: 0;
  pointer-events: none;
  transform: translate(-50%, -50%);
  transform-origin: center center;
}
/* Fallback when container queries aren't available */
@supports not (width: 1cqw) {
  .hero-media .hero-vimeo {
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
    max-height: 100%;
  }
}
/* Large screens: fill hero edge-to-edge (no left/right pillar bars) */
@media (min-width: 1400px) {
  .hero-media .hero-vimeo-wrap {
    container-type: size;
  }
  .hero-media .hero-vimeo {
    width: max(100cqw, calc(100cqh * 16 / 9));
    height: max(100cqh, calc(100cqw * 9 / 16));
  }
  @supports not (width: 1cqw) {
    .hero-media .hero-vimeo {
      width: max(100%, 177.78vh);
      height: max(100%, 56.25vw);
      aspect-ratio: auto;
      max-height: none;
    }
  }
}
/*
  Medium desktop: size hero to the video’s 16:9 frame.
  Removes top/bottom letterbox without crop or over-zoom.
  (Tall min-height was leaving #1F0A08 bars above/below the embed.)
*/
@media (min-width: 821px) and (max-width: 1399px) {
  .hero {
    min-height: 0;
    aspect-ratio: 16 / 9;
  }
  .hero-media .hero-vimeo {
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    max-height: none;
    aspect-ratio: auto;
    transform: none;
  }
  .hero-inner {
    padding-top: clamp(72px, 9vw, 110px);
    padding-bottom: clamp(40px, 5vw, 72px);
  }
}
.hero-media video[hidden],
.hero-media img[hidden] {
  display: none !important;
}
.hero-overlay {
  position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(60% 80% at 15% 20%, rgba(228, 27, 18, 0.35) 0%, transparent 60%),
    radial-gradient(50% 70% at 90% 80%, rgba(139, 22, 2, 0.55) 0%, transparent 65%),
    linear-gradient(180deg, rgba(31, 10, 8, 0.50) 0%, rgba(31, 10, 8, 0.30) 35%, rgba(31, 10, 8, 0.85) 100%);
}
/* Subtle grain texture overlay on hero */
.hero-grain {
  position: absolute; inset: 0; z-index: -1;
  pointer-events: none;
  opacity: 0.22;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0  0 0 0 0 0  0 0 0 0 0  0 0 0 0.6 0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
}
/* Decorative floating orbs for depth */
.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  z-index: -1;
  pointer-events: none;
}
.hero-orb-1 { top: 12%; left: -8%; width: 320px; height: 320px; background: radial-gradient(circle, rgba(228,27,18,0.55), transparent 70%); animation: float 14s ease-in-out infinite; }
.hero-orb-2 { bottom: 6%; right: -6%; width: 380px; height: 380px; background: radial-gradient(circle, rgba(245,158,11,0.40), transparent 70%); animation: float 18s ease-in-out infinite reverse; }
@keyframes float {
  0%, 100% { transform: translate(0,0) scale(1); }
  50%      { transform: translate(20px,-24px) scale(1.05); }
}
/* Bottom wave divider into the next section (cream) */
.hero-wave {
  position: absolute;
  left: 0; right: 0; bottom: -1px;
  z-index: 1;
  pointer-events: none;
  width: 100%;
  height: 80px;
  color: var(--brand-bg);
}
.hero-wave svg { width: 100%; height: 100%; display: block; }
/* Floating stat card in hero */
.hero-float-card {
  position: absolute;
  right: max(20px, 6%);
  bottom: 140px;
  z-index: 2;
  background: transparent;
  border: 1px solid rgba(255,255,255,0.20);
  /* Blur on ::before so gradient text on .num works (same as Mile) */
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border-radius: 20px;
  padding: 18px 22px;
  color: #fff;
  display: flex; align-items: center; gap: 14px;
  box-shadow: var(--shadow-lg);
  max-width: 280px;
  isolation: isolate;
}
.hero-float-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: rgba(255,255,255,0.10);
  backdrop-filter: blur(16px) saturate(140%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  z-index: -1;
  pointer-events: none;
}
.hero-float-card .num {
  font-size: 32px;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1;
  background: none !important;
  background-image: none !important;
  color: #fff;
  -webkit-text-fill-color: unset;
  text-shadow: none;
  filter: none !important;
  position: relative;
  z-index: 1;
}
/* “100” — white top → red bottom (matches approved mock) */
.hero-float-card .num [data-float-digits] {
  background: linear-gradient(180deg, #ffffff 0%, #ffffff 38%, #FF6B63 68%, #E41B12 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.5));
}
.hero-float-card .num [data-float-plus] {
  color: #E41B12 !important;
  -webkit-text-fill-color: #E41B12 !important;
  filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.5));
}
.hero-float-card .lbl {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.86);
  line-height: 1.3;
}
.hero-float-card .pulse-dot {
  position: relative;
  width: 10px; height: 10px;
  border-radius: 50%;
  background: #E41B12; /* solid red core */
  background-color: #E41B12;
  box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.55);
  animation: pulseDot 1.8s ease-out infinite;
  margin-right: 2px;
  flex: 0 0 auto;
  z-index: 2;
  isolation: isolate;
}
/* Soft white shade around the core (not covering the red center) */
.hero-float-card .pulse-dot::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 26px;
  height: 20px;
  transform: translate(-50%, -50%);
  border-radius: 60% / 50%;
  background: radial-gradient(ellipse at center,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0) 28%,
    rgba(255, 255, 255, 0.55) 42%,
    rgba(255, 255, 255, 0.22) 62%,
    rgba(255, 255, 255, 0) 78%);
  z-index: -1;
  pointer-events: none;
}
/* Keep a hard solid red disc on top of any glow */
.hero-float-card .pulse-dot::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 10px;
  height: 10px;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: #E41B12;
  z-index: 1;
  pointer-events: none;
}
@keyframes pulseDot {
  0%   { box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.55); }
  100% { box-shadow: 0 0 0 14px rgba(255, 255, 255, 0); }
}
.hero-inner {
  padding-top: 120px;
  padding-bottom: 60px;
  width: 100%;
}
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.28);
  color: #fff;
  padding: 8px 14px 8px 12px;
  border-radius: var(--radius-pill);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  backdrop-filter: blur(8px);
}
.hero-eyebrow .dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--brand-red);
  box-shadow: 0 0 0 4px rgba(228, 27, 18, 0.25);
  animation: pulse 2s ease-out infinite;
}
.hero h1 {
  color: #fff;
  font-size: clamp(40px, 7vw, 82px);
  line-height: 1.0;
  letter-spacing: -0.03em;
  margin: 22px 0 18px;
  max-width: 14ch;
  font-weight: 800;
}
.hero h1 .accent {
  display: inline-block;
  /* Clear white → brand red, with shadow so it stays readable on dark video */
  background: linear-gradient(95deg, #ffffff 0%, #FFE4E1 28%, #FF6B63 62%, var(--brand-red) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  position: relative;
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.65)) drop-shadow(0 0 12px rgba(228, 27, 18, 0.35));
}
.hero h1 .accent::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -6px;
  height: 6px;
  background: linear-gradient(90deg, #ffffff 0%, var(--brand-red) 55%, var(--brand-deep) 100%);
  border-radius: 3px;
  opacity: 1;
  filter: none;
}
.hero-sub {
  font-size: clamp(16px, 1.9vw, 19px);
  max-width: 60ch;
  color: rgba(255,255,255,0.92);
}
.hero-actions {
  display: flex; flex-wrap: wrap; gap: 12px;
  margin-top: 22px;
}
.hero-trust {
  margin-top: 38px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 12px;
  max-width: 720px;
}
.trust-pill {
  display: flex; align-items: center; gap: 10px;
  background: rgba(255,255,255,0.10);
  border: 1px solid rgba(255,255,255,0.18);
  backdrop-filter: blur(8px);
  padding: 12px 14px;
  border-radius: 14px;
  color: #fff;
  font-size: 13.5px;
  font-weight: 500;
}
.trust-pill svg {
  width: 18px;
  height: 18px;
  box-sizing: content-box;
  padding: 7px;
  border-radius: 50%;
  background: #fff;
  color: var(--brand-red);
  flex: 0 0 auto;
  box-shadow: 0 2px 8px rgba(31, 10, 8, 0.22);
}

.hero-scroll {
  position: absolute;
  left: 50%; bottom: 22px;
  transform: translateX(-50%);
  color: rgba(255,255,255,0.85);
  font-size: 12px; font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  display: flex; flex-direction: column; align-items: center; gap: 8px;
}
.hero-scroll .line {
  width: 2px; height: 26px;
  background: linear-gradient(180deg, rgba(255,255,255,0.85), rgba(255,255,255,0));
  animation: scrollHint 1.8s ease-in-out infinite;
  transform-origin: top;
}
@keyframes scrollHint {
  0%   { transform: scaleY(0); transform-origin: top; }
  40%  { transform: scaleY(1); transform-origin: top; }
  60%  { transform: scaleY(1); transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(228, 27, 18, 0.55); }
  100% { box-shadow: 0 0 0 14px rgba(228, 27, 18, 0); }
}

/* =========================================================
   MAP SECTION
   ========================================================= */
/* This prototype keeps the required horizontal map/pin experience.
   In production, this can be connected to Google Maps JavaScript API
   using custom markers, responsive info windows, filters, and search. */
.map-section {
  position: relative;
  background: var(--brand-bg);
  padding: 56px 0 72px;
  overflow: hidden;
}
.map-section > .container { position: relative; z-index: 2; }
.map-head {
  display: flex; flex-wrap: wrap;
  justify-content: space-between; align-items: flex-end;
  gap: 14px; margin-bottom: 20px;
}
.map-head .left { flex: 1 1 360px; }
.map-toggle {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 14px;
  background: var(--brand-red-soft);
  color: var(--brand-red-dark);
  border-radius: var(--radius-pill);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  border: 1px solid rgba(228, 27, 18, 0.18);
  line-height: 1.2;
  margin-bottom: 10px;
}
.map-toggle .dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--brand-red);
  box-shadow: 0 0 0 3px rgba(228,27,18,0.18);
  animation: pulse 2s ease-out infinite;
}

.map-toolbar {
  display: flex;
  background: transparent;
  border: 0;
  border-radius: 0;
  padding: 0;
  gap: 0;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  max-width: min(560px, 100%);
  box-shadow: none;
}
/* Keep Filter / Reset / Download hidden — search only above the map */
.map-toolbar .icon-btn,
.map-toolbar .icon-btn-row {
  display: none !important;
}
.map-search {
  position: relative;
  display: flex;
  align-items: center;
  width: 100%;
}
.map-search svg {
  position: absolute; left: 14px;
  width: 18px; height: 18px;
  color: var(--text-muted);
  pointer-events: none;
}
.map-search input {
  width: 100%;
  border: 1px solid var(--brand-line);
  background: var(--surface-2);
  padding: 12px 14px 12px 42px;
  border-radius: var(--radius-pill);
  font-size: 15px;
  color: var(--text-ink);
  font-family: inherit;
  outline: none;
  transition: border-color .2s var(--ease), background .2s var(--ease);
}
.map-search input:focus {
  border-color: var(--brand-deep);
  background: #fff;
}
.icon-btn {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 11px 14px;
  border-radius: var(--radius-pill);
  background: var(--surface-2);
  border: 1px solid var(--brand-line);
  color: var(--text-ink);
  font-weight: 600; font-size: 13.5px;
  min-height: 42px;
  transition: background .2s var(--ease), border-color .2s var(--ease), color .2s var(--ease);
}
.icon-btn:hover { background: var(--brand-bg-2); border-color: var(--brand-deep); }
.icon-btn svg { width: 16px; height: 16px; }
.icon-btn.primary {
  background: var(--brand-deep); color: #fff; border-color: var(--brand-deep);
}
.icon-btn.primary:hover { background: var(--brand-deep-2); }

.map-canvas-wrap {
  position: relative;
  width: min(calc(100vw - 40px), 1480px);
  margin-left: 50%;
  transform: translateX(-50%);
  background: var(--surface);
  border: 1px solid var(--brand-line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}
.map-canvas-wrap.reveal {
  transform: translateX(-50%) translateY(18px);
}
.map-canvas-wrap.reveal.is-visible {
  transform: translateX(-50%) translateY(0);
}
.map-helper {
  position: absolute;
  top: 14px; left: 14px; z-index: 500;
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(31, 10, 8, 0.92);
  color: #fff;
  padding: 8px 12px;
  border-radius: var(--radius-pill);
  font-size: 12.5px;
  font-weight: 600;
  backdrop-filter: blur(6px);
  max-width: calc(100% - 28px);
  pointer-events: none;
}
.map-helper svg { width: 14px; height: 14px; color: var(--brand-amber); }
.pinch-tag {
  position: absolute;
  top: 14px; right: 14px; z-index: 500;
  display: inline-flex; align-items: center; gap: 6px;
  background: rgba(255,255,255,0.96);
  color: var(--brand-ink);
  padding: 8px 12px;
  border-radius: var(--radius-pill);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  border: 1px solid var(--brand-line);
  box-shadow: var(--shadow-xs);
  pointer-events: none;
}
.pinch-tag svg { width: 14px; height: 14px; color: var(--brand-warm); }

.map-zoom-controls {
  position: absolute;
  right: 14px; top: 64px;
  z-index: 500;
  display: flex; flex-direction: column;
  background: #fff;
  border: 1px solid var(--brand-line);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.map-zoom-controls button {
  width: 40px; height: 40px;
  background: #fff;
  border: 0;
  color: var(--brand-ink);
  font-size: 18px;
  font-weight: 700;
  display: grid; place-items: center;
}
.map-zoom-controls button + button { border-top: 1px solid var(--brand-line); }
.map-zoom-controls button:hover { background: var(--brand-bg); }

/* ---------- Custom interactive map (uses brand's illustrated artwork) ---------- */
.custom-map {
  position: relative;
  width: 100%;
  aspect-ratio: 1600 / 780;     /* natural ratio of the map image */
  background: var(--brand-bg);  /* warm cream backdrop / letterbox */
  overflow: hidden;
  touch-action: none;
  cursor: grab;
  user-select: none;
  -webkit-user-select: none;
  outline: none;
}
.custom-map.is-dragging { cursor: grabbing; }
@media (max-width: 820px) {
  .custom-map {
    aspect-ratio: 16 / 11;      /* slightly taller on small screens so the map stays usable */
    min-height: 320px;
  }
}
@media (max-width: 480px) {
  .custom-map { aspect-ratio: 4 / 3; min-height: 280px; }
}
@media (max-width: 700px) {
  .pinch-tag { display: none; }
  .map-helper {
    top: 12px;
    bottom: auto;
    left: 12px;
    max-width: calc(100% - 74px);
    padding: 7px 10px;
    font-size: 11.5px;
    line-height: 1.25;
  }
  .map-zoom-controls {
    right: 12px;
    top: 12px;
    bottom: auto;
  }
}

/* Pan layer carries the same aspect ratio as the map image, so all pin %
   positions map exactly to the artwork (no letterbox / cover offset). */
.custom-map-pan {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  aspect-ratio: 1600 / 780;
  transform-origin: 0 0;
  will-change: transform;
}
.custom-map.is-animating .custom-map-pan {
  transition: transform .35s cubic-bezier(0.2, 0.8, 0.2, 1);
}
/* Pins sit above the zoomed map artwork so circles stay sharp at any zoom. */
.custom-map-pins {
  position: absolute;
  inset: 0;
  z-index: 5;
  pointer-events: none;
  overflow: hidden;
}
/* Map background — keep the original street geometry so every extracted pin
   coordinate continues to land on the correct building/road location. */
.custom-map-bg {
  position: absolute;
  inset: 0;
  background-size: 100% 100%;
  background-repeat: no-repeat;
  background-position: center;
  pointer-events: none;
  /* No CSS filter here — filters force a blurry raster when the pan layer zooms. */
}
.custom-map-art {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  overflow: visible;
  display: none;
}
.map-land { fill: #FFFDFC; stroke: #EADFD9; stroke-width: 1.5; }
.map-park { fill: #E7F3EE; stroke: #B9D7CA; stroke-width: 1.4; }
.map-road-casing {
  fill: none;
  stroke: #FFFFFF;
  stroke-width: 18;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.map-road {
  fill: none;
  stroke: #B4ADA9;
  stroke-width: 9;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.map-road-minor {
  fill: none;
  stroke: #C9C1BD;
  stroke-width: 5;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.map-road-label {
  font-family: "Plus Jakarta Sans", Inter, sans-serif;
  font-size: 16px;
  font-weight: 800;
  fill: #6E625E;
  paint-order: stroke;
  stroke: rgba(251,246,242,0.92);
  stroke-width: 5;
  stroke-linejoin: round;
}
.map-road-label.small {
  font-size: 13px;
  font-weight: 750;
  fill: #7A6A60;
}
.map-mile-casing {
  fill: none;
  stroke: rgba(255,255,255,0.95);
  stroke-width: 24;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.map-mile {
  fill: none;
  stroke: #E41B12;
  stroke-width: 15;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.map-mile-label {
  font-family: "Plus Jakarta Sans", Inter, sans-serif;
  font-size: 17px;
  font-weight: 900;
  letter-spacing: 1px;
  fill: #8B1602;
  paint-order: stroke;
  stroke: rgba(255,255,255,0.94);
  stroke-width: 6;
  stroke-linejoin: round;
}
.map-district-label {
  font-family: "Plus Jakarta Sans", Inter, sans-serif;
  font-size: 18px;
  font-weight: 850;
  fill: rgba(31,10,8,0.52);
  letter-spacing: 0.7px;
}

/* Warm brand tint layered over the base map — pulls everything toward the
   site's cream-and-red palette without obscuring the layout. */
.custom-map-tint {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    /* warm radial vignette */
    radial-gradient(130% 100% at 50% 50%,
                    rgba(251, 246, 242, 0)   55%,
                    rgba(251, 246, 242, 0.32) 100%),
    /* subtle brand-hued diagonal wash */
    linear-gradient(135deg,
                    rgba(228, 27, 18, 0.05) 0%,
                    rgba(251, 246, 242, 0.10) 50%,
                    rgba(139, 22, 2, 0.05) 100%);
}

/* SVG overlay can carry small modern details without changing the accurate
   source-map geometry. Keep it intentionally sparse so it does not duplicate
   labels already printed in the map artwork. */
.custom-map-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}
.custom-map-bg::after {
  content: "";
  position: absolute; inset: 0;
  /* Subtle warm overlay so brand red pins pop on the off-white map */
  background:
    radial-gradient(80% 60% at 50% 30%, rgba(251,246,242,0) 0%, rgba(251,246,242,0.18) 100%),
    linear-gradient(180deg, rgba(31,10,8,0.0) 70%, rgba(31,10,8,0.04) 100%);
  pointer-events: none;
}

/* Numbered pin button — positioned in screen space by JS (outside the zoomed pan). */
.mm-pin {
  position: absolute;
  width: 34px;
  height: 34px;
  transform: translate3d(-50%, -50%, 0);
  transform-origin: 50% 50%;
  background: transparent;
  border: 0;
  padding: 0;
  color: var(--brand-deep);
  cursor: pointer;
  z-index: 5;
  pointer-events: auto;
  backface-visibility: hidden;
  -webkit-font-smoothing: antialiased;
}
.mm-pin .pin-shape {
  position: relative;
  width: 26px; height: 26px;
  display: grid; place-items: center;
  margin: 4px;
}
.mm-pin .pin-shape::before {
  content: "";
  position: absolute;
  width: 26px; height: 26px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--brand-deep) 0%, var(--brand-red-dark) 100%);
  transform: none;
  top: 0; left: 0;
  margin-left: 0;
  border: 2px solid #fff;
  box-shadow: 0 1px 2px rgba(31, 10, 8, 0.28);
  transition: transform .22s var(--ease), background .22s var(--ease), box-shadow .22s var(--ease);
}
.mm-pin .pin-shape::after {
  content: none; /* drop soft shadow used to create a blurry white square under pins */
}
.mm-pin .pin-num {
  position: relative;
  z-index: 1;
  color: #fff;
  font-weight: 800;
  font-size: 11px;
  line-height: 1;
  letter-spacing: -0.02em;
  transform: none;
  text-shadow: 0 1px 1px rgba(0, 0, 0, 0.35);
}
.mm-pin .pulse {
  position: absolute;
  width: 26px; height: 26px;
  border-radius: 50%;
  border: 2px solid var(--brand-red);
  top: 4px; left: 4px;
  margin-left: 0;
  opacity: 0;                     /* default off — only pulse on active pin */
  pointer-events: none;
}
@keyframes pinPulse {
  0% { transform: scale(0.55); opacity: .8; }
  100% { transform: scale(2.0); opacity: 0; }
}
.mm-pin:hover { z-index: 6; }
.mm-pin:hover .pin-shape::before {
  transform: scale(1.12);
  background: linear-gradient(135deg, var(--brand-red) 0%, var(--brand-deep) 100%);
}
.mm-pin.is-active {
  z-index: 1000;
  width: 48px;
  height: 60px;
}
/* Active pin: classic red map marker with white round + number inside */
.mm-pin.is-active .pin-shape {
  width: 40px;
  height: 52px;
  margin: 0 4px;
}
.mm-pin.is-active .pin-shape::before {
  width: 38px;
  height: 38px;
  border-radius: 50% 50% 50% 0;
  /* Bright red left → deeper red right (matches reference pin) */
  background: linear-gradient(145deg, #F44336 0%, #E53935 42%, #C62828 78%, #B71C1C 100%);
  transform: rotate(-45deg);
  border: 0;
  box-shadow:
    1px 3px 0 rgba(140, 20, 16, 0.35),
    0 5px 14px rgba(198, 40, 40, 0.42);
  top: 2px;
  left: 1px;
}
/* White circular hole in the pin head */
.mm-pin.is-active .pin-shape::after {
  content: "";
  position: absolute;
  z-index: 1;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #fff;
  top: 11px;
  left: 50%;
  transform: translateX(-50%);
  box-shadow: inset 0 0 0 1px rgba(183, 28, 28, 0.08);
}
.mm-pin.is-active .pin-num {
  z-index: 2;
  color: #C62828;
  transform: translateY(-6px);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: -0.03em;
  text-shadow: none;
}
.mm-pin.is-active:hover .pin-shape::before {
  transform: rotate(-45deg) scale(1.04);
  background: linear-gradient(145deg, #F44336 0%, #E53935 42%, #C62828 78%, #B71C1C 100%);
}
.mm-pin.is-active .pulse {
  width: 38px;
  height: 38px;
  top: 3px;
  left: 5px;
  border-color: #E53935;
  border-radius: 50%;
  opacity: .85;
  animation: pinPulse 1.4s ease-out infinite;
}
.mm-pin:focus { outline: none; }
.mm-pin:focus-visible .pin-shape::before {
  outline: 3px solid var(--brand-amber);
  outline-offset: 3px;
}

/* Hover/Tap popup — rich info card (mirrors the live site's popovers) */
.custom-map-tooltip {
  position: absolute;
  pointer-events: none;
  background: #fff;
  color: var(--text-body);
  padding: 0;
  border-radius: 14px;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.4;
  transform: translate(-50%, -100%);
  margin-top: -14px;
  z-index: 1001;
  box-shadow: 0 12px 32px rgba(31, 10, 8, 0.22), 0 2px 8px rgba(0,0,0,0.10);
  border: 1px solid var(--brand-line);
  min-width: 220px;
  max-width: 280px;
  opacity: 0;
  transition: opacity .18s var(--ease), transform .18s var(--ease);
  overflow: visible;
}
.custom-map-tooltip.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translate(-50%, -100%) translateY(-2px);
}
/* Temporary hover peek — sits above the sticky active popup, no pointer capture */
.custom-map-tooltip.is-hover-preview {
  z-index: 1002;
  pointer-events: none;
}
.custom-map-tooltip.is-hover-preview.is-visible {
  pointer-events: none;
}
/* Invisible bridge so the cursor can move from pin → popup without dropping hover. */
.custom-map-tooltip.is-visible::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -22px;
  height: 22px;
}
.custom-map-tooltip.is-below.is-visible::before {
  bottom: auto;
  top: -22px;
}
.custom-map-tooltip .tt-head {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px 8px;
  background: linear-gradient(135deg, var(--brand-deep) 0%, var(--brand-red-dark) 100%);
  color: #fff;
}
.custom-map-tooltip .tt-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px; height: 24px;
  background: rgba(255,255,255,0.18);
  border: 1px solid rgba(255,255,255,0.35);
  border-radius: 999px;
  font-size: 11px;
  font-weight: 800;
  flex-shrink: 0;
}
.custom-map-tooltip .tt-title {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: #fff;
  margin: 0;
  line-height: 1.25;
}
.custom-map-tooltip .tt-body {
  padding: 9px 14px 12px;
  max-height: 220px;
  overflow-y: auto;
  overscroll-behavior: contain;
  background: #fff;
  border-radius: 0;
}
.custom-map-tooltip .tt-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.custom-map-tooltip .tt-list li {
  padding: 3px 0 3px 14px;
  font-size: 12px;
  color: var(--text-body);
  position: relative;
  line-height: 1.35;
}
.custom-map-tooltip .tt-list li::before {
  content: "";
  position: absolute;
  left: 0; top: 9px;
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--brand-red);
}
.custom-map-tooltip .tt-foot {
  display: block;
  width: 100%;
  border: 0;
  border-top: 1px solid var(--brand-line);
  padding: 7px 14px;
  font: inherit;
  font-size: 11px;
  font-weight: 600;
  color: var(--brand-deep);
  background: var(--brand-bg);
  letter-spacing: 0.02em;
  text-transform: uppercase;
  text-align: left;
  cursor: pointer;
}
.custom-map-tooltip .tt-foot:hover,
.custom-map-tooltip .tt-foot:focus-visible {
  color: var(--brand-red);
  outline: none;
}
.custom-map-tooltip::after {
  content: "";
  position: absolute;
  bottom: -6px;
  left: calc(50% + var(--tt-tip-offset, 0px));
  width: 12px; height: 12px;
  background: var(--brand-bg);
  border-right: 1px solid var(--brand-line);
  border-bottom: 1px solid var(--brand-line);
  transform: translateX(-50%) rotate(45deg);
}
/* Flipped: popup hangs below the pin when there isn't room above */
.custom-map-tooltip.is-below {
  margin-top: 14px;
  transform: translate(-50%, 0%);
}
.custom-map-tooltip.is-below.is-visible {
  transform: translate(-50%, 0%) translateY(2px);
}
.custom-map-tooltip.is-below::after {
  bottom: auto;
  top: -6px;
  background: linear-gradient(135deg, var(--brand-deep) 0%, var(--brand-red-dark) 100%);
  border: 0;
}
@media (max-width: 480px) {
  .custom-map-tooltip { min-width: 200px; max-width: 240px; font-size: 12px; }
  .custom-map-tooltip .tt-title { font-size: 12.5px; }
}

/* Small floating attribution / hint */
.custom-map-hint {
  position: absolute;
  left: 50%; bottom: 8px;
  transform: translateX(-50%);
  background: rgba(255,255,255,0.92);
  border: 1px solid var(--brand-line);
  border-radius: var(--radius-pill);
  padding: 4px 12px;
  font-size: 11px;
  font-weight: 600;
  color: var(--text-muted);
  letter-spacing: 0.04em;
  z-index: 400;
  pointer-events: none;
  white-space: nowrap;
  display: inline-flex; align-items: center; gap: 6px;
}
.custom-map-hint::before {
  content: "";
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--brand-red);
  box-shadow: 0 0 0 3px rgba(228,27,18,0.18);
  animation: pulse 2s ease-out infinite;
}
@media (max-width: 480px) { .custom-map-hint { display: none; } }

/* Selected location card */
.location-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(220px, 240px);
  gap: 16px;
  align-items: start;
  min-height: 188px;
  padding: 22px 24px;
  background: linear-gradient(160deg, #fff 0%, var(--brand-bg) 100%);
  border-top: 1px solid var(--brand-line);
  transition: box-shadow .35s var(--ease);
}
.location-card.is-pin-synced {
  animation: locationCardSync .55s var(--ease);
}
@keyframes locationCardSync {
  0% { box-shadow: inset 0 0 0 0 rgba(228, 27, 18, 0); }
  35% { box-shadow: inset 0 0 0 2px rgba(228, 27, 18, 0.28); }
  100% { box-shadow: inset 0 0 0 0 rgba(228, 27, 18, 0); }
}
.location-card .info {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
  min-height: 144px;
}
.location-card .tag {
  display: inline-flex; align-items: center; gap: 6px;
  background: linear-gradient(135deg, var(--brand-red) 0%, var(--brand-deep) 100%);
  color: #fff;
  font-size: 11.5px; font-weight: 800;
  padding: 5px 12px;
  border-radius: var(--radius-pill);
  width: fit-content;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  box-shadow: 0 4px 10px rgba(228,27,18,0.25);
}
.location-card h4 {
  font-size: 18px;
  margin: 4px 0 2px;
  color: var(--text-ink);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 1.2em;
}
.location-card .biz-list {
  margin: 6px 0 0;
  padding: 0;
  list-style: none;
  display: flex; flex-wrap: wrap;
  align-content: flex-start;
  gap: 6px;
  min-height: 0;
  max-height: none;
  overflow: visible;
}
.location-card .biz-list.is-expanded {
  max-height: none;
  overflow: visible;
}
.location-card .biz-list li {
  background: #fff;
  border: 1px solid var(--brand-line);
  border-radius: 10px;
  padding: 6px 10px;
  font-size: 12.5px;
  color: var(--text-body);
  font-weight: 500;
  max-width: 100%;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.location-card .biz-list li.is-more {
  order: 99; /* keep +more at the end and visible */
  background: var(--brand-red-soft);
  border-color: transparent;
  color: var(--brand-red-dark);
  font-weight: 800;
  padding: 0;
}
.location-card .biz-list .biz-more-btn {
  appearance: none;
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
  padding: 6px 10px;
  border-radius: 10px;
}
.location-card .biz-list .biz-more-btn:hover,
.location-card .biz-list .biz-more-btn:focus-visible {
  outline: none;
  background: rgba(228, 27, 18, 0.12);
}
.location-card .actions {
  display: flex; flex-direction: column;
  justify-content: center; align-items: flex-end;
  gap: 8px;
  min-height: 144px;
}
.location-card .actions .btn { width: 100%; max-width: 240px; justify-content: center; }
.kbd-hint {
  display: none !important; /* hide cycle-pins / Enter controls */
  margin-top: 14px;
  font-size: 12.5px;
  color: var(--text-muted);
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}
.kbd {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  background: var(--brand-bg-2);
  border: 1px solid var(--brand-line);
  border-bottom-width: 2px;
  border-radius: 6px;
  padding: 2px 6px;
  font-size: 11.5px;
  color: var(--text-ink);
}

/* =========================================================
   ABOUT SECTION
   ========================================================= */
.about-section {
  background: #fff;
  position: relative;
  overflow: hidden;
}
.about-section > .container { position: relative; z-index: 2; }
.about-grid {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 64px;
  align-items: center;
}
.about-copy h2 { font-size: clamp(30px, 3.8vw, 46px); }
.about-copy .quote {
  position: relative;
  margin: 22px 0 0;
  padding: 14px 18px 14px 22px;
  border-left: 3px solid var(--brand-red);
  background: var(--brand-bg);
  border-radius: 0 12px 12px 0;
  font-size: 15px;
  color: var(--text-body);
  font-style: italic;
}
.about-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 26px;
}
.stat-card {
  background: #fff;
  border: 1px solid var(--brand-line);
  border-radius: 16px;
  padding: 18px 14px;
  text-align: center;
  position: relative;
  overflow: hidden;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s var(--ease);
}
.stat-card::before {
  content: "";
  position: absolute; left: 0; right: 0; top: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--brand-red) 0%, var(--brand-deep) 100%);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .35s var(--ease);
}
.stat-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: transparent;
}
.stat-card:hover::before { transform: scaleX(1); }
.stat-num {
  font-size: 30px; font-weight: 800;
  background: linear-gradient(135deg, var(--brand-deep) 0%, var(--brand-red) 100%);
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
  letter-spacing: -0.03em;
  line-height: 1;
}
.stat-label {
  font-size: 11.5px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.10em;
  font-weight: 700;
  margin-top: 6px;
}

/* Collage-style about visual */
.about-visual {
  position: relative;
  aspect-ratio: 1 / 1.05;
  isolation: isolate;
}
.about-visual .ab-glow {
  position: absolute;
  width: 70%; height: 70%;
  right: -10%; top: -10%;
  background: radial-gradient(circle, rgba(228,27,18,0.30), transparent 70%);
  filter: blur(60px);
  border-radius: 50%;
  z-index: -1;
}
.about-visual .ab-glow.amber {
  left: -10%; bottom: -10%; right: auto; top: auto;
  background: radial-gradient(circle, rgba(245,158,11,0.30), transparent 70%);
}
.ab-main {
  position: absolute;
  inset: 0 18% 18% 0;
  border-radius: var(--radius-xl);
  overflow: hidden;
  background: #1f0a08;
  box-shadow: var(--shadow-lg);
}
.ab-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  display: block;
  image-rendering: auto;
}
.ab-main::after {
  content: "";
  position: absolute;
  inset: 0;
  /* Lighter veil so drone detail stays clear while text contrast holds */
  background: linear-gradient(180deg, rgba(31,10,8,0.04), rgba(31,10,8,0.22) 95%);
  pointer-events: none;
}
.ab-secondary {
  position: absolute;
  right: 0; bottom: 0;
  width: 52%; aspect-ratio: 4/5;
  border-radius: 22px;
  overflow: hidden;
  border: 6px solid #fff;
  background: #1f0a08;
  box-shadow: var(--shadow-lg);
  z-index: 2;
}
.ab-secondary img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  display: block;
}
.ab-secondary::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(31,10,8,0.03), rgba(31,10,8,0.18));
  pointer-events: none;
}
.ab-badge {
  position: absolute;
  left: -8px; top: 28px;
  background: var(--brand-red);
  color: #fff;
  padding: 10px 16px;
  border-radius: 0 var(--radius-pill) var(--radius-pill) 0;
  font-weight: 800;
  font-size: 11.5px;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  display: inline-flex; align-items: center; gap: 8px;
  z-index: 3;
  box-shadow: var(--shadow-red);
  line-height: 1.2;
}
.ab-badge .dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 0 4px rgba(255,255,255,0.35);
}
.ab-floating {
  position: absolute;
  left: 12px; bottom: 24%;
  background: #fff;
  padding: 14px 16px;
  border-radius: 16px;
  box-shadow: var(--shadow-lg);
  display: flex; align-items: center; gap: 12px;
  z-index: 3;
  border: 1px solid var(--brand-line);
}
.ab-floating .ic {
  width: 38px; height: 38px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--brand-red) 0%, var(--brand-deep) 100%);
  color: #fff;
  display: grid; place-items: center;
}
.ab-floating .ic svg { width: 18px; height: 18px; }
.ab-floating .num {
  font-size: 18px;
  font-weight: 800;
  color: var(--text-ink);
  letter-spacing: -0.01em;
  line-height: 1;
}
.ab-floating .lbl {
  font-size: 11px; font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-top: 3px;
}

/* =========================================================
   BLOCK SLIDER
   ========================================================= */
.slider-section {
  position: relative;
  background: linear-gradient(180deg, var(--brand-bg) 0%, #fff 100%);
  overflow: hidden;
}
.slider-section > .container { position: relative; z-index: 2; }
.slider-head {
  display: flex; flex-wrap: wrap;
  align-items: flex-end; justify-content: space-between;
  gap: 20px; margin-bottom: 28px;
}
.slider-controls { display: flex; gap: 10px; }
.slider-arrow {
  width: 46px; height: 46px;
  border-radius: 50%;
  background: #fff;
  border: 1px solid var(--brand-line);
  color: var(--brand-deep);
  display: grid; place-items: center;
  transition: transform .25s var(--ease), background .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease);
  box-shadow: var(--shadow-xs);
}
.slider-arrow:hover {
  background: var(--brand-deep);
  color: #fff;
  border-color: var(--brand-deep);
  transform: translateY(-2px);
}
.slider-arrow:disabled { opacity: .45; cursor: not-allowed; transform: none; }
.slider-arrow svg { width: 20px; height: 20px; transition: transform .25s var(--ease); }
.slider-arrow:hover svg { transform: translateX(2px); }
.slider-arrow.prev:hover svg { transform: translateX(-2px); }

.slider-track-wrap {
  position: relative;
}
.slider-track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(280px, 320px);
  gap: 18px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding: 6px 4px 22px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.slider-track::-webkit-scrollbar { display: none; height: 0; width: 0; }
/* Soft fade hints at slider edges */
.slider-track-wrap::before,
.slider-track-wrap::after {
  content: "";
  position: absolute;
  top: 0; bottom: 22px;
  width: 36px;
  z-index: 2;
  pointer-events: none;
  opacity: 0;
  transition: opacity .25s var(--ease);
}
.slider-track-wrap::before {
  left: 0;
  background: linear-gradient(90deg, var(--brand-bg) 0%, transparent 100%);
}
.slider-track-wrap::after {
  right: 0;
  background: linear-gradient(-90deg, var(--brand-bg) 0%, transparent 100%);
}
.slider-track-wrap.show-left::before { opacity: 1; }
.slider-track-wrap.show-right::after { opacity: 1; }
.slider-card {
  scroll-snap-align: start;
  background: #fff;
  border: 1px solid var(--brand-line);
  border-radius: var(--radius-lg);
  padding: 24px 22px 22px;
  display: flex; flex-direction: column;
  gap: 14px;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
  position: relative;
  overflow: hidden;
  isolation: isolate;
}
.slider-card::before {
  content: "";
  position: absolute; left: 0; right: 0; top: 0;
  height: 5px;
  background: var(--card-grad, linear-gradient(90deg, var(--brand-red), var(--brand-deep)));
  transform: scaleX(0.18);
  transform-origin: left;
  transition: transform .4s var(--ease);
}
.slider-card::after {
  content: "";
  position: absolute; right: -40px; top: -40px;
  width: 160px; height: 160px;
  border-radius: 50%;
  background: var(--card-glow, radial-gradient(circle, rgba(228,27,18,0.08), transparent 70%));
  z-index: -1;
  transition: transform .4s var(--ease), opacity .4s var(--ease);
  opacity: 0;
}
.slider-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: transparent;
}
.slider-card:hover::before { transform: scaleX(1); }
.slider-card:hover::after  { opacity: 1; transform: scale(1.2); }

.card-top {
  display: flex; align-items: flex-start;
  justify-content: space-between; gap: 12px;
}
.card-icon {
  width: 54px; height: 54px;
  border-radius: 14px;
  background: var(--card-icon-bg, linear-gradient(135deg, rgba(228,27,18,0.12) 0%, rgba(139,22,2,0.12) 100%));
  display: grid; place-items: center;
  color: var(--card-icon-fg, var(--brand-deep));
  transition: transform .35s var(--ease);
}
.card-icon svg { width: 26px; height: 26px; }
.slider-card:hover .card-icon { transform: scale(1.06) rotate(-3deg); }
.card-count {
  display: inline-flex; align-items: center; gap: 4px;
  background: var(--brand-bg);
  color: var(--text-muted);
  padding: 5px 10px;
  border-radius: var(--radius-pill);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.04em;
  border: 1px solid var(--brand-line);
}
.slider-card h3 {
  font-size: 19.5px;
  margin: 0;
  letter-spacing: -0.01em;
}
.slider-card p {
  font-size: 14.5px;
  color: var(--text-body);
  margin: 0;
  flex: 1;
  line-height: 1.55;
}
.card-link {
  display: inline-flex; align-items: center; gap: 6px;
  font-weight: 700; font-size: 14px;
  color: var(--brand-deep);
  margin-top: 8px;
  position: relative;
}
.card-link::after {
  content: "";
  position: absolute; left: 0; right: 18px; bottom: -3px;
  height: 2px;
  background: var(--brand-deep);
  opacity: 0;
  transform: scaleX(0); transform-origin: left;
  transition: transform .3s var(--ease), opacity .3s var(--ease);
}
.slider-card:hover .card-link::after { opacity: 1; transform: scaleX(1); }
.card-link svg {
  width: 16px; height: 16px;
  transition: transform .25s var(--ease);
}
.slider-card:hover .card-link svg { transform: translateX(4px); }

/* =========================================================
   BUSINESS LISTINGS
   ========================================================= */
.listings-section {
  background: #fff;
  position: relative;
  overflow: hidden;
}
.listings-section > .container { position: relative; z-index: 2; }
.listings-head {
  display: flex; justify-content: space-between; align-items: flex-end;
  flex-wrap: wrap; gap: 12px;
  margin-bottom: 18px;
}
.listings-toolbar {
  display: flex; flex-direction: column;
  gap: 16px;
  margin-bottom: 28px;
  padding: 20px;
  background: var(--brand-bg);
  border-radius: 20px;
  border: 1px solid var(--brand-line);
}
.listings-search {
  position: relative; max-width: 520px;
}
.listings-search svg {
  position: absolute; left: 16px; top: 50%;
  transform: translateY(-50%);
  width: 18px; height: 18px;
  color: var(--text-muted);
}
.listings-search input {
  width: 100%;
  border: 1px solid var(--brand-line);
  background: var(--surface-2);
  padding: 14px 16px 14px 44px;
  border-radius: var(--radius-pill);
  font-size: 15px; color: var(--text-ink);
  font-family: inherit;
  outline: none;
  transition: border-color .2s var(--ease), background .2s var(--ease);
}
.listings-search input:focus {
  border-color: var(--brand-deep);
  background: #fff;
}
.chip-row {
  display: flex; gap: 8px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 4px;
  scrollbar-width: none;
}
.chip-row::-webkit-scrollbar { display: none; }
.chip {
  flex: 0 0 auto;
  padding: 9px 14px;
  border-radius: var(--radius-pill);
  background: #fff;
  border: 1px solid var(--brand-line);
  color: var(--text-body);
  font-size: 13.5px;
  font-weight: 600;
  white-space: nowrap;
  transition: all .2s var(--ease);
}
.chip:hover { color: var(--brand-red); border-color: var(--brand-red); }
.chip.active {
  background: linear-gradient(135deg, var(--brand-red) 0%, var(--brand-deep) 100%);
  color: #fff;
  border-color: transparent;
  box-shadow: var(--shadow-red);
}

/* View mode toggle (List / Grid) */
.view-toggle {
  display: inline-flex;
  background: #fff;
  border: 1px solid var(--brand-line);
  border-radius: var(--radius-pill);
  padding: 4px;
  gap: 2px;
}
.view-toggle button {
  display: inline-flex; align-items: center; gap: 6px;
  border: 0; background: transparent;
  color: var(--text-muted);
  font-size: 12.5px; font-weight: 700;
  padding: 7px 12px;
  border-radius: var(--radius-pill);
  transition: all .2s var(--ease);
  font-family: inherit;
  letter-spacing: 0.04em;
}
.view-toggle button:hover { color: var(--text-ink); }
.view-toggle button svg { width: 14px; height: 14px; }
.view-toggle button.active {
  background: var(--text-ink);
  color: #fff;
}

.toolbar-row {
  display: flex; align-items: center;
  justify-content: space-between;
  gap: 12px; flex-wrap: wrap;
  padding-top: 4px;
  border-top: 1px dashed var(--brand-line);
}

/* Chip with count */
.chip .chip-count {
  display: inline-block;
  font-size: 11px;
  font-weight: 800;
  background: rgba(139, 22, 2, 0.10);
  color: var(--brand-deep);
  border-radius: 99px;
  padding: 1px 7px;
  margin-left: 6px;
  min-width: 22px;
  text-align: center;
  transition: background .2s var(--ease), color .2s var(--ease);
}
.chip.active .chip-count {
  background: rgba(255,255,255,0.22);
  color: #fff;
}

/* Common card shell shared by both views */
.listing-grid {
  display: grid;
  gap: 12px;
}
.listing-grid.is-grid {
  grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
  gap: 16px;
}
.listing-grid.is-list {
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
@media (max-width: 820px) {
  .listing-grid.is-list { grid-template-columns: 1fr; }
}

/* ---------- LIST VIEW (default, compact) ---------- */
.listing-row {
  display: grid;
  grid-template-columns: 48px 1fr auto;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  background: #fff;
  border: 1px solid var(--brand-line);
  border-radius: 14px;
  position: relative;
  overflow: hidden;
  isolation: isolate;
  transition: transform .2s var(--ease), box-shadow .2s var(--ease), border-color .2s var(--ease);
}
.listing-row::before {
  content: "";
  position: absolute; left: 0; top: 0; bottom: 0;
  width: 3px;
  background: var(--card-color, var(--brand-red));
  transform: scaleY(0.45);
  transform-origin: center;
  transition: transform .25s var(--ease);
}
.listing-row:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
  border-color: transparent;
}
.listing-row:hover::before { transform: scaleY(1); }

.row-icon {
  width: 44px; height: 44px;
  border-radius: 12px;
  background: var(--card-bg, rgba(228,27,18,0.08));
  color: var(--card-color, var(--brand-red));
  display: grid; place-items: center;
  flex: 0 0 auto;
}
.row-icon svg { width: 22px; height: 22px; }

.row-main { min-width: 0; }
.row-top {
  display: flex; align-items: center;
  gap: 8px; flex-wrap: wrap;
  margin-bottom: 4px;
}
.row-top h4 {
  font-size: 15.5px;
  margin: 0;
  color: var(--text-ink);
  line-height: 1.25;
  letter-spacing: -0.005em;
}
.row-meta-line {
  font-size: 12.5px;
  color: var(--text-muted);
  line-height: 1.4;
  display: flex; align-items: center; gap: 6px;
  flex-wrap: wrap;
}
.row-meta-line .dot-sep {
  width: 3px; height: 3px;
  border-radius: 50%;
  background: var(--brand-line);
  display: inline-block;
}
.row-meta-line .row-cat {
  color: var(--card-color, var(--brand-red));
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 10.5px;
}
.row-meta-line .row-addr {
  color: var(--text-body);
}

.row-right {
  display: flex; align-items: center;
  gap: 10px;
  flex: 0 0 auto;
}
.row-phone {
  font-size: 13px;
  font-weight: 700;
  color: var(--brand-deep);
  white-space: nowrap;
  display: inline-flex; align-items: center; gap: 5px;
}
.row-phone svg { width: 14px; height: 14px; color: var(--brand-red); }
.row-phone:hover { color: var(--brand-red); }

.row-actions {
  display: flex; gap: 6px;
}
.row-icon-btn {
  width: 36px; height: 36px;
  border-radius: 10px;
  background: var(--brand-bg);
  border: 1px solid var(--brand-line);
  color: var(--text-ink);
  display: grid; place-items: center;
  transition: all .2s var(--ease);
  flex: 0 0 auto;
}
.row-icon-btn:hover {
  background: var(--brand-red);
  color: #fff;
  border-color: var(--brand-red);
  transform: translateY(-1px);
}
.row-icon-btn:disabled {
  opacity: .45;
  cursor: not-allowed;
}
.row-icon-btn:disabled:hover {
  background: var(--brand-bg);
  color: var(--text-ink);
  border-color: var(--brand-line);
  transform: none;
}
.row-icon-btn.is-primary {
  background: linear-gradient(135deg, var(--brand-red) 0%, var(--brand-deep) 100%);
  color: #fff;
  border-color: transparent;
}
.row-icon-btn.is-primary:hover {
  background: linear-gradient(135deg, var(--brand-red-dark) 0%, var(--brand-deep) 100%);
}
.row-icon-btn svg { width: 16px; height: 16px; }

.row-featured-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--brand-amber);
  box-shadow: 0 0 0 3px rgba(245,158,11,0.20);
  flex: 0 0 auto;
}

@media (max-width: 560px) {
  .listing-row {
    grid-template-columns: 40px 1fr;
    grid-template-areas:
      "icon main"
      "actions actions";
    padding: 12px 14px;
    gap: 12px;
  }
  .row-icon { width: 40px; height: 40px; grid-area: icon; }
  .row-main { grid-area: main; }
  .row-right {
    grid-area: actions;
    width: 100%;
    justify-content: space-between;
    padding-top: 8px;
    border-top: 1px dashed var(--brand-line);
  }
}

/* ---------- GRID VIEW (richer cards) ---------- */
.listing-card {
  background: #fff;
  border: 1px solid var(--brand-line);
  border-radius: var(--radius-md);
  padding: 18px 18px 16px;
  padding-left: 20px;
  display: flex; flex-direction: column;
  gap: 8px;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s var(--ease);
  position: relative;
  overflow: hidden;
  isolation: isolate;
}
.listing-card::before {
  content: "";
  position: absolute; left: 0; top: 0; bottom: 0;
  width: 4px;
  background: var(--card-color, var(--brand-red));
}
.listing-card::after {
  content: "";
  position: absolute; right: -50px; top: -50px;
  width: 160px; height: 160px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--card-bg, rgba(228,27,18,0.10)), transparent 70%);
  opacity: 0;
  transition: opacity .35s var(--ease);
  z-index: -1;
}
.listing-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: transparent;
}
.listing-card:hover::after { opacity: 1; }

.listing-card .cat-row {
  display: flex; align-items: center;
  justify-content: space-between;
  gap: 8px;
}
.listing-card .cat-tag {
  display: inline-flex; width: fit-content;
  align-items: center; gap: 6px;
  font-size: 11px;
  font-weight: 800;
  color: var(--card-color, var(--brand-red));
  background: var(--card-bg, rgba(228,27,18,0.08));
  padding: 5px 10px;
  border-radius: var(--radius-pill);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.listing-card .cat-icon {
  width: 28px; height: 28px;
  border-radius: 8px;
  background: var(--card-bg, rgba(228,27,18,0.08));
  color: var(--card-color, var(--brand-red));
  display: grid; place-items: center;
  flex: 0 0 auto;
}
.listing-card .cat-icon svg { width: 14px; height: 14px; }
.listing-card .featured-tag {
  display: inline-flex; align-items: center; gap: 4px;
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: linear-gradient(135deg, var(--brand-amber), var(--brand-warm-dark));
  color: #fff;
  padding: 4px 8px;
  border-radius: var(--radius-pill);
}
.listing-card .featured-tag svg { width: 11px; height: 11px; }
.listing-card h4 {
  font-size: 16.5px;
  margin: 4px 0 2px;
  color: var(--text-ink);
  line-height: 1.25;
}
.listing-card .meta {
  font-size: 13.5px;
  color: var(--text-body);
  display: flex; gap: 8px; align-items: flex-start;
}
.listing-card .meta svg {
  width: 14px; height: 14px;
  color: var(--card-color, var(--brand-deep));
  margin-top: 3px;
  flex: 0 0 auto;
}
.listing-card a.tel {
  color: var(--brand-deep);
  font-weight: 700;
  transition: color .2s var(--ease);
}
.listing-card a.tel:hover { color: var(--brand-red); }
.listing-card .actions {
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px dashed var(--brand-line);
  display: flex; gap: 8px; flex-wrap: wrap;
}

.no-results {
  grid-column: 1 / -1;
  text-align: center;
  padding: 36px 20px;
  background: var(--surface-2);
  border-radius: var(--radius-md);
  color: var(--text-muted);
  font-size: 14px;
  border: 1px dashed var(--brand-line);
}
.results-meta {
  font-size: 13px;
  color: var(--text-muted);
  display: flex; align-items: center; gap: 8px;
}
.results-meta strong { color: var(--text-ink); font-weight: 700; }
.results-meta .clear-link {
  font-size: 13px;
  color: var(--brand-red);
  font-weight: 700;
  cursor: pointer;
  background: none; border: 0;
  padding: 0; font-family: inherit;
}
.results-meta .clear-link:hover { text-decoration: underline; }

/* "Show more" button + pagination row */
.show-more-wrap {
  display: flex; justify-content: center;
  margin-top: 20px;
}
.show-more-btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 22px;
  background: #fff;
  border: 1.5px solid var(--brand-line);
  color: var(--text-ink);
  font-weight: 700;
  font-size: 14px;
  border-radius: var(--radius-pill);
  transition: all .2s var(--ease);
  font-family: inherit;
}
.show-more-btn:hover {
  border-color: var(--brand-red);
  color: var(--brand-red);
  transform: translateY(-1px);
  box-shadow: var(--shadow-sm);
}
.show-more-btn svg { width: 16px; height: 16px; transition: transform .25s var(--ease); }
.show-more-btn[data-expanded="true"] svg { transform: rotate(180deg); }

/* =========================================================
   JOIN / CONTACT CTA
   ========================================================= */
.cta-section {
  padding: 72px 0;
  background:
    radial-gradient(50% 90% at 80% 10%, rgba(245,158,11,0.30) 0%, transparent 60%),
    radial-gradient(60% 70% at 20% 110%, rgba(228,27,18,0.40) 0%, transparent 60%),
    linear-gradient(135deg, var(--brand-deep) 0%, var(--brand-ink) 100%);
  color: #fff;
  position: relative;
  overflow: hidden;
}
.cta-section::before {
  content: "";
  position: absolute; inset: 0;
  background-image:
    radial-gradient(rgba(255,255,255,0.08) 1px, transparent 1px);
  background-size: 26px 26px;
  opacity: .4;
  pointer-events: none;
}
/* Floating decorative blob */
.cta-section::after {
  content: "";
  position: absolute;
  right: -120px; top: -120px;
  width: 420px; height: 420px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(228,27,18,0.55), transparent 70%);
  filter: blur(70px);
  pointer-events: none;
}
.cta-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 24px;
  align-items: stretch;
  width: 100%;
  min-width: 0;
}
.cta-card {
  position: relative;
  z-index: 2;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.16);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-radius: var(--radius-xl);
  padding: 36px 34px;
  text-align: left;
  max-width: none;
  margin: 0;
  box-shadow: var(--shadow-lg);
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
  overflow: visible;
  box-sizing: border-box;
}
.cta-card h2 {
  color: #fff;
  font-size: clamp(22px, 2.1vw, 30px);
  letter-spacing: -0.025em;
  margin: 12px 0 8px;
  white-space: nowrap;
  overflow-wrap: normal;
  word-break: normal;
  max-width: 100%;
  line-height: 1.2;
}
.cta-card p { color: rgba(255,255,255,0.86); font-size: 16px; max-width: 500px; margin: 0 0 16px; }
.cta-actions {
  display: flex; gap: 12px; flex-wrap: wrap;
  justify-content: flex-start;
  margin-top: 10px;
}
.cta-phone {
  display: inline-flex; align-items: center; gap: 12px;
  color: #fff;
  font-weight: 800;
  font-size: clamp(24px, 2.6vw, 32px);
  letter-spacing: -0.02em;
  margin: 10px 0 4px;
  justify-content: center;
  background: linear-gradient(135deg, #fff 0%, var(--brand-amber) 100%);
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
}
.cta-phone svg { width: 24px; height: 24px; color: var(--brand-amber); -webkit-text-fill-color: var(--brand-amber); }
.facebook-panel {
  position: relative;
  z-index: 2;
  background: transparent;
  border: 0;
  border-radius: 0;
  overflow: visible;
  box-shadow: none;
  min-height: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.facebook-feed-frame {
  width: 100%;
  border: 0;
  background: transparent;
}

/* =========================================================
   FOOTER
   ========================================================= */
.site-footer {
  background: var(--brand-ink);
  color: rgba(255,255,255,0.78);
  padding: 64px 0 32px;
  position: relative;
  overflow: hidden;
}
.site-footer::before {
  content: "";
  position: absolute; top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--brand-deep) 0%, var(--brand-red) 50%, var(--brand-amber) 100%);
}
.site-footer::after {
  content: "";
  position: absolute;
  left: -100px; bottom: -100px;
  width: 320px; height: 320px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(228,27,18,0.20), transparent 70%);
  filter: blur(60px);
  pointer-events: none;
}
.site-footer .container { position: relative; z-index: 2; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 36px;
}
.footer-brand {
  display: flex; align-items: center; gap: 12px;
  color: #fff;
  font-weight: 800;
  font-size: 19px;
}
.footer-brand .brand-mark { width: 42px; height: 42px; }
.footer-col h5 {
  color: #fff;
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin: 0 0 14px;
}
.footer-col a {
  display: block;
  color: rgba(255,255,255,0.78);
  padding: 6px 0;
  font-size: 14.5px;
  font-weight: 500;
}
.footer-col a:hover { color: var(--brand-amber); }
.footer-bottom {
  margin-top: 36px;
  padding-top: 22px;
  border-top: 1px solid rgba(255,255,255,0.10);
  display: flex; justify-content: space-between;
  align-items: center;
  gap: 12px; flex-wrap: wrap;
  font-size: 13px;
  color: rgba(255,255,255,0.6);
}
.footer-bottom a { color: rgba(255,255,255,0.85); font-weight: 600; }

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 1024px) {
  .about-grid { grid-template-columns: 1fr; gap: 44px; }
  .about-visual { max-width: 520px; margin: 0 auto; aspect-ratio: 1/0.95; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .hero-float-card { right: 20px; bottom: 110px; padding: 14px 18px; max-width: 240px; }
  .hero-float-card .num { font-size: 26px; }
}

@media (max-width: 820px) {
  .nav-links, .nav-cta .btn { display: none; }
  .hamburger { display: inline-flex; }
  .section { padding: 56px 0; }
  .map-section { padding: 40px 0 56px; }
  .map-toolbar {
    max-width: 100%;
    margin-bottom: 14px;
  }
  .location-card {
    grid-template-columns: 1fr;
    min-height: 0;
  }
  .location-card .info,
  .location-card .actions {
    min-height: 0;
  }
  .location-card .actions {
    align-items: stretch;
  }
  .location-card .actions .btn { max-width: none; }
  .hero { min-height: 640px; }
  .hero-inner { padding-top: 110px; padding-bottom: 90px; }
  .hero-trust { grid-template-columns: 1fr; max-width: 360px; }
  .hero-wave { height: 56px; }
  .footer-grid { grid-template-columns: 1fr; gap: 24px; }
  .cta-grid { grid-template-columns: 1fr; }
  .cta-card { padding: 32px 22px; }
  .cta-section { padding: 56px 0; }
  .facebook-feed-frame { min-height: 300px; }
}

@media (max-width: 560px) {
  :root { --header-h: 64px; }
  .brand-text small { display: none; }
  .brand-text .wordmark { font-size: 16px; }
  .section { padding: 48px 0; }
  .map-section { padding: 32px 0 48px; }
  .map-leaflet { height: clamp(320px, 48vh, 420px); }
  .map-canvas-wrap { border-radius: 16px; }
  .listing-grid { grid-template-columns: 1fr; }
  .about-stats { grid-template-columns: 1fr; }
  .stat-card { display: flex; align-items: baseline; gap: 12px; text-align: left; padding: 14px 18px; }
  .stat-card .stat-label { margin: 0; }
  .about-visual { aspect-ratio: 1/1; }
  .ab-floating { padding: 10px 12px; left: 8px; }
  .ab-floating .num { font-size: 16px; }
  .listings-toolbar { padding: 14px; }
  .cta-card { padding: 28px 20px; }
  .cta-actions .btn { width: 100%; justify-content: center; }
}

/* Reveal animation */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
  will-change: opacity, transform;
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; }
  html { scroll-behavior: auto; }
}

/* =========================================================
   CLIENT PROTOTYPE REFINEMENTS
   Freshen the page while keeping the live-site content model simple.
   ========================================================= */
.hero-orb,
.hero-grain,
.hero-scroll,
.hero-float-card,
.section-divider,
.amb-blob { display: none; }

.site-header {
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(234,223,217,0.78);
}
.nav {
  justify-content: flex-start;
}
.nav-links {
  margin-left: auto;
}
.nav-links { gap: 8px; }
.nav-links a {
  border-radius: 8px;
  padding: 9px 12px;
}
.nav-links a.active::after { display: none; }

.hero {
  min-height: 650px;
  background: #1F0A08;
}
/* Keep medium-desktop 16:9 hero after the global min-height: 650px rule */
@media (min-width: 821px) and (max-width: 1399px) {
  .hero {
    min-height: 0;
    aspect-ratio: 16 / 9;
  }
}
.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(31,10,8,0.56) 0%, rgba(31,10,8,0.32) 45%, rgba(31,10,8,0.08) 100%),
    linear-gradient(0deg, rgba(31,10,8,0.18), rgba(31,10,8,0.04));
}
.hero-overlay {
  background:
    linear-gradient(180deg, rgba(31,10,8,0) 0%, rgba(31,10,8,0.24) 100%);
}
.hero-inner {
  max-width: var(--container);
  padding-top: 118px;
  padding-bottom: 168px;
}
.hero h1 {
  max-width: min(820px, 100%);
  font-size: clamp(40px, 7.2vw, 96px);
}
.hero h1 .accent::after {
  height: 5px;
  bottom: 2px;
  opacity: .95;
}
.hero-sub {
  max-width: 760px;
  font-size: clamp(17px, 2vw, 22px);
}
.hero-trust {
  max-width: 760px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.trust-pill {
  border-radius: 12px;
  background: rgba(255,255,255,0.11);
}
.hero-float-card {
  display: flex;
}
.hero-float-card .num {
  background: none !important;
  background-image: none !important;
  filter: none !important;
}
.hero-float-card .num [data-float-digits] {
  background: linear-gradient(180deg, #ffffff 0%, #ffffff 38%, #FF6B63 68%, #E41B12 100%) !important;
  -webkit-background-clip: text !important;
  background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  color: transparent !important;
}
.hero-float-card .num [data-float-plus] {
  color: #E41B12 !important;
  -webkit-text-fill-color: #E41B12 !important;
}
.hero-scroll {
  display: none !important;
}
.hero-grain,
.hero-orb {
  display: block;
}

.map-section {
  padding-top: 48px;
  padding-bottom: 64px;
  background:
    linear-gradient(180deg, #FBF6F2 0%, #fff 100%);
}
.hero-wave {
  height: 48px;
}
.map-head .h-sub,
.listings-head .h-sub {
  max-width: 780px;
}
.map-canvas-wrap,
.listings-toolbar,
.listing-row,
.listing-card,
.location-card {
  border-radius: 12px;
}
.custom-map-tint {
  background:
    radial-gradient(120% 100% at 50% 50%, rgba(251,246,242,0) 58%, rgba(251,246,242,0.24) 100%),
    linear-gradient(135deg, rgba(255,255,255,0.10), rgba(228,27,18,0.025));
}

.about-section {
  background: #fff;
  padding-top: 56px;
  padding-bottom: 64px;
}
.about-copy .h-title,
.about-copy h2 {
  margin-top: 0;
  margin-bottom: 0.4em;
}
.listings-section.section,
.news-section.section,
.events-section.section {
  padding-top: 56px;
  padding-bottom: 64px;
}
.about-visual {
  border-radius: 14px;
}
.quote {
  border-radius: 10px;
}

.slider-section {
  display: none;
}

.listings-section {
  background: linear-gradient(180deg, #fff 0%, #FBF6F2 100%);
}
.listings-toolbar,
.listing-grid,
.show-more-wrap {
  display: none !important;
}
.business-slider {
  margin-top: 22px;
}
.business-slider-controls {
  background: rgba(255,255,255,0.86);
  border: 1px solid var(--brand-line);
  border-radius: 14px;
  padding: 14px;
  margin-bottom: 22px;
  box-shadow: var(--shadow-xs);
  display: grid;
  grid-template-columns: minmax(260px, 360px) minmax(0, 1fr);
  gap: 12px;
  align-items: center;
}
.business-slider-search {
  position: relative;
  max-width: none;
}
.business-slider-search svg {
  position: absolute;
  left: 15px;
  top: 50%;
  transform: translateY(-50%);
  width: 18px;
  height: 18px;
  color: var(--text-muted);
  pointer-events: none;
}
.business-slider-search input {
  width: 100%;
  border: 1px solid var(--brand-line);
  background: #fff;
  padding: 12px 16px 12px 44px;
  border-radius: 999px;
  font: inherit;
  color: var(--text-ink);
  outline: 0;
}
.business-slider-search input:focus {
  border-color: var(--brand-red);
  box-shadow: 0 0 0 4px rgba(228,27,18,0.10);
}
.business-slider-chips {
  display: flex;
  gap: 9px;
  overflow-x: auto;
  padding: 2px 6px 8px 2px;
  scrollbar-width: none;
  min-width: 0;
  mask-image: linear-gradient(90deg, #000 calc(100% - 34px), transparent 100%);
  -webkit-mask-image: linear-gradient(90deg, #000 calc(100% - 34px), transparent 100%);
}
.business-slider-chips::-webkit-scrollbar { display: none; }
.business-filter-chip {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--brand-line);
  background: #fff;
  color: var(--text-body);
  border-radius: 999px;
  padding: 9px 14px;
  font-size: 13px;
  font-weight: 750;
}
.business-filter-chip .count {
  min-width: 22px;
  height: 22px;
  display: grid;
  place-items: center;
  padding: 0 6px;
  border-radius: 999px;
  background: var(--brand-red-soft);
  color: var(--brand-red-dark);
  font-size: 11px;
}
.business-filter-chip.is-active {
  background: linear-gradient(135deg, var(--brand-red) 0%, var(--brand-deep) 100%);
  color: #fff;
  border-color: transparent;
}
.business-filter-chip.is-active .count {
  background: rgba(255,255,255,0.18);
  color: #fff;
}
.business-slider-window {
  overflow: hidden;
  padding: 6px 2px 18px;
}
.business-slider-track {
  display: flex;
  gap: 24px;
  transition: transform .28s cubic-bezier(.22, .61, .36, 1);
  will-change: transform;
  align-items: stretch;
}
.business-slide-card {
  flex: 0 0 calc((100% - 48px) / 3);
  background:
    linear-gradient(180deg, rgba(255,255,255,0.98), rgba(251,246,242,0.94));
  border: 1px solid var(--brand-line);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  height: 460px;
  min-height: 460px;
  max-height: 460px;
  position: relative;
}
.business-slider-empty {
  width: 100%;
  min-height: 260px;
  display: grid;
  place-items: center;
  border: 1px dashed var(--brand-line);
  border-radius: 14px;
  color: var(--text-muted);
  font-weight: 700;
  background: rgba(255,255,255,0.72);
}
.business-slide-card::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: linear-gradient(180deg, var(--brand-red), var(--brand-deep));
  opacity: .9;
  z-index: 2;
}
.business-slide-media {
  position: relative;
  aspect-ratio: 16 / 10;
  background: var(--brand-bg);
  overflow: hidden;
  contain: paint;
}
.business-slide-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  content-visibility: auto;
}
@media (hover: hover) and (pointer: fine) {
  .business-slide-media img {
    transition: transform .45s var(--ease);
}
.business-slide-card:hover .business-slide-media img {
    transform: scale(1.03);
  }
}
.business-slide-body {
  padding: 22px 24px 26px;
  text-align: left;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  flex: 1;
}
.business-slide-category {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  background: var(--brand-red-soft);
  color: var(--brand-red-dark);
  padding: 6px 10px;
  font-size: 11px;
  font-weight: 850;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.business-slide-body h4 {
  font-size: 20px;
  line-height: 1.22;
  margin: 0;
  color: var(--text-ink);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 2.44em;
}
.business-slide-meta {
  display: flex;
  gap: 8px;
  align-items: flex-start;
  justify-content: flex-start;
  color: var(--text-body);
  font-size: 14px;
  line-height: 1.45;
  min-height: 2.9em;
}
.business-slide-meta span {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.business-slide-meta svg {
  width: 16px;
  height: 16px;
  flex: 0 0 auto;
  color: var(--text-muted);
  margin-top: 2px;
}
.business-slide-contact {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
  margin-top: auto;
}
.business-slide-phone {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--brand-deep);
  font-weight: 800;
  margin-top: 0;
  min-width: 0;
  flex: 1 1 auto;
}
.business-slide-phone svg {
  width: 16px;
  height: 16px;
  flex: 0 0 auto;
}
.business-slide-action {
  width: auto;
  height: 40px;
  padding: 0 20px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: linear-gradient(135deg, var(--brand-red) 0%, var(--brand-deep) 100%);
  color: #fff;
  border: 0;
  box-shadow: var(--shadow-red);
  margin-top: 0;
  font-weight: 800;
  font-size: 13px;
  letter-spacing: 0.02em;
  white-space: nowrap;
  flex: 0 0 auto;
}
.business-slide-action svg {
  width: 14px;
  height: 14px;
  flex: 0 0 auto;
}
.business-filter-chip .count {
  display: none !important;
}
.business-slider-footer {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  margin-top: 18px;
}
.business-slider-arrow {
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  border-radius: 999px;
  border: 1px solid var(--brand-line);
  background: #fff;
  color: var(--brand-deep);
  display: grid;
  place-items: center;
  box-shadow: var(--shadow-xs);
}
.business-slider-arrow svg {
  width: 18px;
  height: 18px;
}
.business-slider-dots {
  display: flex;
  flex-wrap: nowrap;
  justify-content: center;
  gap: 9px;
  max-width: 820px;
  overflow-x: auto;
  padding: 6px;
  scrollbar-width: none;
}
.business-slider-dots::-webkit-scrollbar { display: none; }
.business-dot {
  width: 14px;
  height: 14px;
  flex: 0 0 auto;
  border-radius: 999px;
  border: 1.5px solid #CFC6C2;
  background: #fff;
  padding: 0;
}
.business-dot.is-active {
  background: var(--brand-red);
  border-color: var(--brand-red);
  box-shadow: 0 0 0 4px rgba(228,27,18,0.12);
}
.chip-row {
  overflow-x: auto;
  padding-bottom: 4px;
  scrollbar-width: thin;
}
.chip {
  flex: 0 0 auto;
}

.cta-section {
  padding: 64px 0;
  background:
    radial-gradient(50% 90% at 80% 10%, rgba(245,158,11,0.30) 0%, transparent 60%),
    radial-gradient(60% 70% at 20% 110%, rgba(228,27,18,0.40) 0%, transparent 60%),
    linear-gradient(135deg, var(--brand-deep) 0%, var(--brand-ink) 100%);
  color: #fff;
  overflow: hidden;
}
.cta-section::before,
.cta-section::after {
  display: block;
}
.cta-card {
  background: rgba(255,255,255,0.06);
  color: #fff;
  border: 1px solid rgba(255,255,255,0.16);
  border-radius: 14px;
  box-shadow: var(--shadow-lg);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  padding: 34px 32px;
  text-align: left;
}
.cta-card h2 {
  color: #fff;
}
.cta-card p {
  color: rgba(255,255,255,0.86);
}
.cta-phone {
  color: transparent;
  background: linear-gradient(135deg, #fff 0%, var(--brand-amber) 100%);
  -webkit-background-clip: text;
  background-clip: text;
}
.cta-phone svg {
  color: var(--brand-amber);
  -webkit-text-fill-color: var(--brand-amber);
}

@media (max-width: 820px) {
  .hero {
    min-height: 620px;
    overflow: hidden;
  }
  .hero-inner {
    padding-top: 92px;
    padding-bottom: 128px;
  }
  .hero-trust {
    grid-template-columns: 1fr;
  }
  .business-slide-card {
    flex-basis: calc((100% - 24px) / 2);
  }
  .cta-section {
    padding: 56px 0;
  }
  .cta-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .facebook-feed-frame {
    min-height: 300px;
  }
}
@media (max-width: 560px) {
  .hero h1 {
    font-size: clamp(34px, 11vw, 44px);
    max-width: 10ch;
  }
  .hero-sub {
    font-size: 15px;
  }
  .hero-actions {
    gap: 10px;
  }
  .hero-actions .btn {
    width: 100%;
    justify-content: center;
    padding-inline: 16px;
  }
  .business-slider-controls {
    grid-template-columns: 1fr;
    padding: 12px;
  }
  .cta-section {
    padding: 48px 0;
  }
  .cta-card {
    padding: 28px 20px;
  }
  .cta-actions .btn {
    width: 100%;
    justify-content: center;
  }
  .business-slider-chips {
    margin-inline: -2px;
    padding-bottom: 6px;
  }
  .business-filter-chip {
    padding: 8px 12px;
  }
  .business-slider-track {
    gap: 16px;
  }
  .business-slide-card {
    flex-basis: 100%;
    height: 470px;
    min-height: 470px;
    max-height: 470px;
  }
  .business-slide-contact {
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 12px;
  }
  .business-slide-phone {
    flex: 0 0 auto;
    width: 100%;
    white-space: nowrap;
  }
  .business-slide-action {
    width: 100%;
    justify-content: center;
  }
  .business-slider-footer {
    gap: 12px;
  }
  .business-slider-dots {
    gap: 7px;
    max-width: calc(100vw - 132px);
  }
  .business-dot {
    width: 12px;
    height: 12px;
  }
}
.announcement-banner {
  background: #8b1602;
  color: #fff;
  padding: 12px 0;
  font-size: 14px;
  display: flex;
  align-items: center;
  min-height: 48px;
}
.announcement-banner .container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  width: 100%;
  text-align: center;
}
.announcement-banner strong { font-size: 11px; text-transform: uppercase; letter-spacing: 0; }
.announcement-banner a { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.news-section { background: #fff; }
.updates-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 24px; }
.updates-head .h-title { font-size: 42px; letter-spacing: 0; margin-bottom: 0; }
.updates-head .eyebrow { margin-bottom: 10px; }
.events-section .updates-head { margin-bottom: 20px; }
.demo-note { color: var(--text-muted); font-size: 12px; margin: 0; }
.news-layout { display: grid; grid-template-columns: 1.25fr 1fr; gap: 48px; }
.news-feature-image { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 6px; }
.story-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin: 20px 0 12px; font-size: 12px; color: var(--text-muted); }
.story-meta span,
.story-meta [data-aceone-field="feature_category"],
.story-meta [data-aceone-field="category"] {
  color: var(--brand-deep);
  font-weight: 700;
}
.story-meta time,
.story-meta [data-aceone-field="feature_date"],
.story-meta [data-aceone-field="date"] {
  color: var(--text-muted);
  font-weight: 500;
}
.news-feature h3 { font-size: 29px; letter-spacing: 0; line-height: 1.25; }
.news-feature p { color: var(--text-body); font-size: 15px; line-height: 1.7; max-width: 560px; }
.story-link { display: inline-flex; align-items: center; gap: 12px; background: none; border: 0; padding: 6px 0; color: var(--brand-deep); font-weight: 700; font-size: 14px; }
.story-link:hover { text-decoration: underline; text-underline-offset: 4px; }
.story-link svg, .event-arrow svg { width: 18px; height: 18px; }
.news-secondary { display: flex; flex-direction: column; }
.news-brief { padding: 25px 0; border-top: 1px solid var(--brand-line); }
.news-brief:first-child { padding-top: 0; border-top: 0; }
.news-brief .story-meta { margin-top: 0; }
.news-brief h3 { font-size: 22px; line-height: 1.3; letter-spacing: 0; }
.news-brief p { font-size: 14px; color: var(--text-body); margin-bottom: 8px; line-height: 1.65; }
.events-section { background: #f2f5f4; border-top: 1px solid #e3e9e6; }
.events-section .eyebrow { color: #326552; }
.event-list { border-top: 1px solid #cbd7d1; margin-top: 4px; }
.event-row { display: grid; grid-template-columns: 84px minmax(0, 1fr) 205px 44px; align-items: center; gap: 28px; padding: 22px 0; border-bottom: 1px solid #cbd7d1; }
.event-date { display: flex; flex-direction: column; gap: 3px; color: #326552; text-align: center; border-right: 1px solid #cbd7d1; padding-right: 24px; }
.event-date span { font-size: 12px; font-weight: 700; text-transform: uppercase; }
.event-date strong { font-size: 38px; line-height: 1.05; font-weight: 600; }
.event-category { font-size: 11px; text-transform: uppercase; color: #326552; font-weight: 700; margin-bottom: 8px; display: block; }
.event-row h3 { font-size: 22px; letter-spacing: 0; margin-bottom: 6px; }
.event-row p { font-size: 14px; color: var(--text-body); margin: 0; line-height: 1.6; }
.event-venue { font-size: 13px; line-height: 1.65; color: var(--text-body); }
.event-venue strong { display: block; font-weight: 600; color: var(--text-ink); }
.event-arrow { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; border: 1px solid #b4c6bc; color: #326552; background: transparent; }
.event-arrow:hover { background: #326552; color: #fff; }
.update-dialog { width: min(600px, calc(100% - 32px)); max-height: 85vh; overflow: auto; padding: 32px; border: 1px solid var(--brand-line); border-radius: 8px; color: var(--text-ink); }
.update-dialog::backdrop { background: rgba(20,25,23,.55); }
.update-dialog h2 { font-size: 28px; letter-spacing: 0; margin-top: 20px; }
.update-dialog p { line-height: 1.7; }
.update-dialog #updateDialogMeta,
.update-dialog .demo-note {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin: 8px 0 14px;
  font-size: 13px;
  color: var(--text-muted);
}
.update-dialog-cat {
  color: var(--brand-deep);
  font-weight: 700;
}
.update-dialog-date {
  color: var(--text-muted);
  font-weight: 500;
}
.update-dialog-close { float: right; border: 0; background: #f2f5f4; border-radius: 50%; width: 36px; height: 36px; font-size: 24px; color: var(--text-ink); }
.cta-grid { grid-template-columns: minmax(0, 1.28fr) minmax(0, 0.82fr); }
.cta-card h2 {
  font-size: clamp(22px, 2.1vw, 30px);
  letter-spacing: -0.02em;
  white-space: nowrap;
}
.cta-card .hero-eyebrow { align-self: flex-start; }
.join-form { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 8px; }
.join-field { display: flex; flex-direction: column; gap: 7px; min-width: 0; }
.join-field.full, .join-form-footer { grid-column: 1 / -1; }
.join-field label { color: #fff; font-size: 13px; font-weight: 600; }
.join-field input { width: 100%; min-width: 0; min-height: 44px; border: 1px solid rgba(255,255,255,.4); border-radius: 6px; padding: 11px 12px; font: inherit; font-size: 15px; background: #fff; color: #211b19; }
.join-field input:focus { outline: 3px solid #f5b750; outline-offset: 2px; }
.join-form-footer { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; margin-top: 4px; }
.join-form-footer a { color: #fff; font-size: 15px; text-decoration: none; }
.join-form-status { grid-column: 1 / -1; margin: 0; font-size: 14px; color: #fff; }
.join-form-status:empty { display: none; }
.facebook-panel { align-self: stretch; position: relative; }
@media (max-width: 820px) {
  .news-layout { grid-template-columns: 1fr; gap: 32px; }
  .event-row { grid-template-columns: 70px minmax(0, 1fr) 44px; gap: 20px; }
  .event-venue { grid-column: 2; }
  .event-arrow { grid-column: 3; grid-row: 1 / span 2; }
  .cta-grid { grid-template-columns: 1fr; }
  .facebook-panel { min-height: 0; height: auto !important; }
}
@media (max-width: 560px) {
  .updates-head { align-items: flex-start; flex-direction: column; gap: 14px; }
  .updates-head .h-title { font-size: 32px; }
  .news-feature h3 { font-size: 25px; }
  .event-row { grid-template-columns: 54px minmax(0, 1fr) 36px; gap: 14px; padding: 24px 0; }
  .event-date { padding-right: 12px; }
  .event-date strong { font-size: 30px; }
  .event-row h3 { font-size: 19px; }
  .event-arrow { width: 36px; height: 36px; }
  .announcement-banner .container { flex-direction: column; gap: 4px; text-align: center; }
  .join-form { grid-template-columns: 1fr; }
  .join-form-footer .btn { width: 100%; justify-content: center; }
  .cta-card h2 {
    font-size: clamp(20px, 5.4vw, 26px);
    white-space: normal;
  }
}

/* =========================================================
   MOBILE POLISH — hero, about, navigation
   Placed after client refinements so these overrides win.
   ========================================================= */
@media (max-width: 820px) {
  .container {
    padding-left: 18px;
    padding-right: 18px;
  }

  .nav {
    width: 100%;
    justify-content: space-between;
    gap: 10px;
  }
  .nav-cta {
    margin-left: auto;
  }
  .hamburger {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
  }

  .mobile-menu {
    inset: auto;
    top: var(--mobile-menu-top, var(--header-h));
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 99; /* keep under sticky header so the hamburger/X stays clickable */
  }
  .mobile-menu .panel {
    position: absolute;
    top: 10px;
    left: 12px;
    right: 12px;
    width: auto;
    max-width: none;
    padding: 12px;
    border-radius: 18px;
  }
  .mobile-menu a {
    padding: 13px 14px;
    font-size: 16px;
  }
  .mobile-menu .btn {
    margin-top: 8px;
    min-height: 48px;
  }

  .hero {
    min-height: 0;
    align-items: flex-end;
    overflow: hidden;
  }
  .hero-orb,
  .hero-grain {
    display: none;
  }
  .hero-media img,
  .hero-media video {
    object-position: center 30%;
  }
  .hero-inner {
    max-width: none;
    width: 100%;
    /* Keep horizontal padding from .container — do not use padding shorthand here */
    padding-top: 92px;
    padding-bottom: 64px;
  }
  .hero-eyebrow {
    padding: 8px 14px;
    gap: 8px;
    font-size: 11px;
    letter-spacing: 0.08em;
    max-width: 100%;
  }
  .hero h1 {
    max-width: 11ch;
    font-size: clamp(38px, 10.5vw, 54px);
    line-height: 1.04;
    margin: 16px 0 14px;
  }
  .hero h1 .accent {
    padding-bottom: 6px;
  }
  .hero h1 .accent::after {
    height: 3px;
    bottom: 0;
  }
  .hero-sub {
    max-width: 36ch;
    font-size: 15.5px;
    line-height: 1.65;
  }
  .hero-actions {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
    margin-top: 20px;
  }
  .hero-actions .btn {
    width: 100%;
    justify-content: center;
    min-height: 48px;
  }
  .hero-trust {
    grid-template-columns: 1fr;
    max-width: none;
    margin-top: 28px;
    margin-bottom: 8px;
    gap: 10px;
  }
  .trust-pill {
    padding: 12px 16px;
    gap: 12px;
    border-radius: 14px;
  }
  /* Stacked trust pills leave no room — hide SCROLL so it doesn't sit under them */
  .hero-scroll {
    display: none !important;
  }
  .hero-wave {
    height: 48px;
  }

  .about-section {
    overflow: hidden;
  }
  .about-grid {
    gap: 36px;
  }
  .about-copy h2 {
    font-size: clamp(28px, 7.5vw, 36px);
    line-height: 1.15;
  }
  .about-copy .quote {
    margin-top: 18px;
    padding: 14px 16px;
  }
  .about-copy > div[style*="display:flex"] {
    margin-top: 22px !important;
    display: grid !important;
    grid-template-columns: 1fr;
    gap: 10px !important;
  }
  .about-copy > div[style*="display:flex"] .btn {
    width: 100%;
    justify-content: center;
  }
  .about-visual {
    max-width: 100%;
    width: 100%;
    aspect-ratio: 1 / 1.02;
  }
  .ab-main {
    inset: 0 14% 16% 0;
    border-radius: 18px;
  }
  .ab-secondary {
    width: 48%;
    border-width: 4px;
    border-radius: 16px;
  }
  .ab-badge {
    left: 0;
    top: 18px;
    font-size: 11px;
    padding: 8px 12px;
  }
}

@media (max-width: 560px) {
  :root { --header-h: 64px; }

  .container {
    padding-left: 16px;
    padding-right: 16px;
  }

  .nav {
    height: var(--header-h);
  }
  .brand-text .wordmark {
    font-size: 15px;
  }
  .brand-bar {
    height: 24px;
  }

  .announcement-banner {
    padding: 10px 0;
    font-size: 13px;
  }

  .hero-inner {
    padding-top: 78px;
    padding-bottom: 52px;
  }
  .hero h1 {
    font-size: clamp(34px, 11vw, 44px);
    max-width: 10ch;
  }
  .hero-sub {
    font-size: 15px;
  }
  .hero-wave {
    height: 42px;
  }
  .about-grid {
    gap: 28px;
  }
  .about-visual {
    aspect-ratio: 1 / 1.05;
  }
}
/* MAP_IMAGE_DATA_URL */
.custom-map-bg { background-image: url("../media/map-mile-2x.jpg"); }

/* Keep #join under sticky header after late layout (listings slider hydrate) */
#join,
.cta-section[data-aceone-module="join"] {
  scroll-margin-top: calc(var(--header-h) + 12px);
}

/* Reduce scroll/layout cost for heavy homepage modules (keep #join eager for thank-you pin) */
#map,
#about,
#listings {
  content-visibility: auto;
  contain-intrinsic-size: 1px 900px;
}
#listings .business-slider-window {
  content-visibility: auto;
  contain-intrinsic-size: 1px 520px;
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .business-slide-media img,
  .reveal,
  .hero-orb-1,
  .hero-orb-2 {
    transition: none !important;
    animation: none !important;
  }
}

/* Solo form sections (no Facebook column) keep the same join card look */
.cta-grid--solo {
  grid-template-columns: minmax(0, 1fr) !important;
}

/* CMS join form + Facebook URL card (keeps the glass CTA look) */
.cta-card .join-form-shell { margin-top: 8px; }
/* Keep the join form visible after submit; thank-you toast sits above it. */
.cta-card .cms-form.is-submitted .form-toast-stack {
  margin: 0 0 14px;
}
.cta-card .cms-form,
.cta-card .contact-form { margin: 0; color: #fff; }
.cta-card .cms-form > style,
.cta-card .cms-form > script,
.cta-card [data-aceone-form] > style,
.cta-card [data-aceone-form] > script {
  display: none !important;
  position: absolute !important;
  width: 0 !important;
  height: 0 !important;
  overflow: hidden !important;
  margin: 0 !important;
  padding: 0 !important;
}
/* Flatten wrappers so fields + button share one tight grid like the original join form */
.cta-card .contact-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px 16px;
}
.cta-card .contact-form > div,
.cta-card .cms-form-grid {
  display: contents;
}
.cta-card .cms-field[data-field-name="business_name"],
.cta-card .cms-field[data-field-name="business_address"],
.cta-card .cms-field[data-field-name="contact_name"],
.cta-card .cms-field[data-field-name="comments"],
.cta-card .cms-form-actions {
  grid-column: 1 / -1;
}
.cta-card .cms-field[data-field-name="comments"] textarea {
  min-height: 96px;
  resize: vertical;
}
.cta-card .cms-field { display: flex; flex-direction: column; gap: 6px; min-width: 0; margin: 0; }
.cta-card .cms-field label {
  color: #fff !important;
  font-size: 13px;
  font-weight: 600;
  margin: 0;
}
.cta-card .cms-field label .required { color: #ffb4a8 !important; }
.cta-card .cms-field input,
.cta-card .cms-field textarea,
.cta-card .cms-field select {
  width: 100%;
  min-width: 0;
  min-height: 44px;
  border: 1px solid rgba(255,255,255,.4) !important;
  border-radius: 6px !important;
  padding: 11px 12px !important;
  font: inherit;
  font-size: 15px;
  background: #fff !important;
  color: #211b19 !important;
  box-shadow: none !important;
}
.cta-card .cms-form-actions {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 16px;
  flex-wrap: nowrap;
  width: 100%;
  max-width: 100%;
  margin: 0;
  padding: 0;
}
.cta-card .cms-form-actions .btn,
.cta-card .cms-form-actions button[type="submit"] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 999px;
  background: var(--brand-red);
  color: #fff;
  font-weight: 700;
  padding: 12px 22px;
  box-shadow: 0 10px 24px rgba(228,27,18,0.35);
  width: auto;
  margin: 0;
}
.cta-card .join-form-footer {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  flex: 0 0 auto;
  margin: 0;
  padding: 0;
}
.cta-card .join-form-footer a {
  color: #fff;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.2;
  text-decoration: none;
  white-space: nowrap;
}
.cta-card .join-form-footer a:hover {
  color: #fff;
  opacity: 0.92;
}
.cta-card .invalid-feedback,
.cta-card [data-field-error] {
  color: #ffe3de !important;
  font-size: 12px;
  margin: 0;
}
.cta-card .invalid-feedback[hidden],
.cta-card [data-field-error][hidden],
.cta-card .invalid-feedback:empty,
.cta-card [data-field-error]:empty {
  display: none !important;
  height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
}

@media (max-width: 560px) {
  .cta-card .contact-form,
  .cta-card .join-form {
    grid-template-columns: 1fr;
  }
  .cta-card .cms-field[data-field-name="phone"],
  .cta-card .cms-field[data-field-name="email"],
  .cta-card .join-field {
    grid-column: 1 / -1;
    width: 100%;
  }
  .cta-card .cms-form-actions {
    flex-wrap: wrap;
    row-gap: 10px;
  }
}
.facebook-panel {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: center;
  gap: 0;
  min-height: 0;
  height: auto !important;
  overflow: visible;
}
.facebook-embed-fallback,
.facebook-link-card,
.facebook-link-kicker,
.facebook-url,
.facebook-follow {
  display: none !important;
}
.facebook-brand-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: flex-start;
  gap: 14px;
  width: 100%;
  min-height: 0;
  padding: 28px 24px 22px;
  border-radius: var(--radius-xl);
  text-decoration: none;
  color: #fff;
  overflow: hidden;
  isolation: isolate;
  background:
    linear-gradient(145deg, rgba(255,255,255,0.12) 0%, rgba(255,255,255,0.04) 48%, rgba(24, 119, 242, 0.18) 100%),
    rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.18);
  box-shadow: var(--shadow-lg);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.facebook-brand-orb {
  position: absolute;
  right: -48px;
  top: -56px;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(24, 119, 242, 0.45), transparent 68%);
  filter: blur(8px);
  pointer-events: none;
  z-index: 0;
}
.facebook-brand-head {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 14px;
}
.facebook-brand-badge {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: 54px;
  height: 54px;
  border-radius: 16px;
  color: #fff;
  background: linear-gradient(145deg, #3B82F6 0%, #1877F2 55%, #0B5FCC 100%);
  box-shadow: 0 10px 24px rgba(24, 119, 242, 0.35);
}
.facebook-brand-copyblock {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.facebook-brand-kicker {
  position: relative;
  z-index: 1;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.72);
}
.facebook-brand-title {
  position: relative;
  z-index: 1;
  display: block;
  font-size: clamp(20px, 2.1vw, 26px);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.2;
  color: #fff;
}
.facebook-brand-copy {
  position: relative;
  z-index: 1;
  margin: 0;
  font-size: 14.5px;
  line-height: 1.5;
  color: rgba(255,255,255,0.84);
  max-width: 42ch;
}
/* Scrollable Facebook feed inside the glass card */
.facebook-brand-card .facebook-embed {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  max-width: none;
  margin: 2px 0 0;
  border-radius: 14px;
  overflow: hidden;
  background: rgba(255,255,255,0.96);
  border: 1px solid rgba(255,255,255,0.35);
  box-shadow: inset 0 0 0 1px rgba(31, 10, 8, 0.04);
}
.facebook-brand-card .facebook-feed-frame {
  position: static;
  display: block;
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
  height: 360px !important;
  min-height: 280px;
  border: 0;
  background: #fff;
  overflow: auto;
}
.facebook-brand-cta {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  gap: 10px;
  margin-top: 2px;
  padding: 12px 18px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 700;
  color: #fff;
  text-decoration: none;
  background: #1877F2;
  box-shadow: 0 8px 18px rgba(24, 119, 242, 0.28);
  transition: background .22s var(--ease), transform .22s var(--ease);
}
.facebook-brand-cta:hover,
.facebook-brand-cta:focus-visible {
  background: #0F65D8;
  outline: none;
}
.facebook-brand-cta svg {
  transition: transform .22s var(--ease);
}
.facebook-brand-cta:hover svg,
.facebook-brand-cta:focus-visible svg {
  transform: translateX(3px);
}
@media (max-width: 900px) {
  .cta-card .cms-form-grid { grid-template-columns: 1fr; }
}

/* Thin arrows for category chip scrollers */
.business-slider-chips-wrap,
.chip-row-wrap {
  display: flex;
  align-items: center;
  gap: 6px;
  min-width: 0;
  flex: 1 1 auto;
}
.business-chip-arrow,
.chip-arrow {
  flex: 0 0 auto;
  width: 28px;
  height: 28px;
  padding: 0;
  border: 1px solid var(--brand-line);
  border-radius: 999px;
  background: #fff;
  color: var(--brand-deep);
  display: grid;
  place-items: center;
  box-shadow: none;
  transition: color .2s var(--ease), border-color .2s var(--ease), background .2s var(--ease), opacity .2s var(--ease);
}
.business-chip-arrow svg,
.chip-arrow svg {
  width: 14px;
  height: 14px;
  stroke-width: 1.7;
}
.business-chip-arrow:hover,
.chip-arrow:hover {
  color: var(--brand-red);
  border-color: var(--brand-red);
  background: #fff;
}
.business-chip-arrow:disabled,
.chip-arrow:disabled {
  opacity: 0.28;
  cursor: default;
  color: var(--text-muted);
  border-color: var(--brand-line);
}
.business-slider-chips {
  mask-image: none;
  -webkit-mask-image: none;
}
.business-slider-chips-wrap .business-slider-chips,
.chip-row-wrap .chip-row {
  flex: 1 1 auto;
  min-width: 0;
}
@media (max-width: 560px) {
  .business-chip-arrow,
  .chip-arrow {
    width: 26px;
    height: 26px;
  }
}
.kbd-hint-group {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.kbd-hint-label {
  color: var(--text-muted);
}
button.kbd.kbd-action {
  appearance: none;
  font: inherit;
  cursor: pointer;
  line-height: 1;
  transition: color .2s var(--ease), border-color .2s var(--ease), background .2s var(--ease), transform .2s var(--ease);
}
button.kbd.kbd-action:hover {
  color: var(--brand-red);
  border-color: var(--brand-red);
  background: #fff;
  transform: translateY(-1px);
}
button.kbd.kbd-action:focus-visible {
  outline: 2px solid var(--brand-red);
  outline-offset: 2px;
}

/* =========================================================
   ABOUT PAGE
   ========================================================= */
.about-page {
  background: var(--brand-white);
}
/* About page must show copy even if homepage map JS errors before reveal observers. */
.about-page .reveal {
  opacity: 1;
  transform: none;
}
.about-page-banner {
  position: relative;
  padding: calc(var(--header-h) + 28px) 0 34px;
  overflow: hidden;
  text-align: left;
  background: #1f0a08;
  border-bottom: 0;
}
.about-page-banner-media,
.about-page-banner-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.about-page-banner-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(31, 10, 8, 0.78) 0%, rgba(31, 10, 8, 0.52) 48%, rgba(31, 10, 8, 0.28) 100%),
    linear-gradient(180deg, rgba(31, 10, 8, 0.22) 0%, rgba(31, 10, 8, 0.55) 100%);
}
.about-page-banner::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--brand-deep), var(--brand-red) 40%, transparent 72%);
  z-index: 2;
}
.about-page-banner-inner {
  position: relative;
  z-index: 2;
  /* Keep .container max-width so banner lines up with nav / content / footer. */
  text-align: left;
}
.about-page-crumb {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 8px;
  margin: 0 0 10px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.85rem;
  font-weight: 600;
}
.about-page-crumb a {
  color: #fff;
}
.about-page-crumb a:hover {
  color: #ffd7d4;
}
.about-page-brand {
  margin: 0 0 6px;
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.15;
  text-align: left;
}
.about-page-brand .w-matthews,
.about-page-brand .w-mile { color: #fff; }
.about-page-brand .w-medical { color: var(--brand-red); margin: 0 0.14em; }
.about-page-heading {
  margin: 0 0 6px;
  color: #fff;
  font-size: clamp(1.75rem, 2.6vw, 2.15rem);
  letter-spacing: -0.03em;
  line-height: 1.15;
  text-align: left;
}
.about-page-subheading {
  margin: 0;
  max-width: 36rem;
  color: rgba(255, 255, 255, 0.86);
  font-size: 0.98rem;
  line-height: 1.5;
  text-align: left;
}
.about-page-main {
  padding-top: 40px;
  padding-bottom: 72px;
  background: #fff;
}
.about-page-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr);
  gap: 48px;
  align-items: start;
}
.about-page-content-heading {
  margin: 0 0 18px;
  color: var(--brand-deep);
  font-size: clamp(1.55rem, 2.4vw, 2rem);
  letter-spacing: -0.03em;
  line-height: 1.2;
}
.about-page-body {
  color: var(--text-body);
  font-size: 1.06rem;
  line-height: 1.75;
}
.about-page-body p {
  margin: 0 0 1.15em;
}
.about-page-body p:last-child {
  margin-bottom: 0;
}
.about-page-callband {
  margin: 28px 0 0;
  max-width: 32rem;
  padding: 16px 18px;
  border-left: 4px solid var(--brand-red);
  background:
    linear-gradient(135deg, rgba(228, 27, 18, 0.05), rgba(251, 246, 242, 0.92));
}
.about-page-call-note {
  margin: 0 0 4px;
  color: var(--text-muted);
  font-size: 0.88rem;
  line-height: 1.45;
}
.about-page-call-heading {
  margin: 0 0 6px;
  font-size: clamp(1.15rem, 1.8vw, 1.35rem);
  letter-spacing: -0.02em;
  line-height: 1.2;
}
.about-page-phone {
  display: inline-flex;
  align-items: baseline;
  color: var(--brand-deep);
  font-size: clamp(1.15rem, 1.9vw, 1.4rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  border-bottom: 1.5px solid rgba(228, 27, 18, 0.3);
  line-height: 1.15;
  transition: color .2s var(--ease), border-color .2s var(--ease);
}
.about-page-phone:hover {
  color: var(--brand-red);
  border-color: var(--brand-red);
}
.about-page-aside {
  position: sticky;
  top: calc(var(--header-h) + 18px);
}
.about-page-photo {
  margin: 0;
  overflow: hidden;
  border-radius: 14px;
  background: var(--brand-bg-2);
  box-shadow: var(--shadow-md);
  aspect-ratio: 4 / 5;
}
.about-page-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}
@media (max-width: 900px) {
  /* Mobile/tablet: equal space above/below content (left-aligned) */
  .about-page-banner {
    display: flex;
    align-items: stretch;
    justify-content: flex-start;
    min-height: calc(var(--header-h) + clamp(200px, 38vh, 280px));
    padding-top: var(--header-h);
    padding-bottom: 0;
    text-align: left;
  }
  .about-page-banner-inner {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    text-align: left;
    width: 100%;
    box-sizing: border-box;
    min-height: clamp(200px, 38vh, 280px);
    padding-top: 28px;
    padding-bottom: 28px;
  }
  .about-page-crumb,
  .about-page-brand,
  .about-page-heading,
  .about-page-subheading {
    text-align: left;
    justify-content: flex-start;
  }
  .about-page-layout {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .about-page-aside {
    position: static;
    order: -1;
  }
  .about-page-photo {
    max-width: 480px;
    aspect-ratio: 16 / 11;
  }
  .about-page-callband {
    max-width: none;
    padding: 14px 16px;
  }
  .about-page-content-heading {
    margin-bottom: 14px;
  }
}

/* =========================================================
   RESPONSIVE FIXES — join title, edge padding, mobile 100+
   ========================================================= */
.cta-section > .container,
.hero > .container.hero-inner {
  box-sizing: border-box;
  max-width: 100%;
}
.cta-card h2,
.cta-card p,
.cta-card .join-form-shell,
.cta-card .cms-form,
.cta-card .contact-form {
  min-width: 0;
  max-width: 100%;
}

/* Tablets: side-by-side CTAs (not full-width), 100+ sits by Northeast Arkansas */
@media (max-width: 1024px) and (min-width: 561px) {
  .hero {
    flex-direction: row;
    align-items: center;
    overflow: hidden;
  }
  .hero-actions {
    display: flex !important;
    flex-direction: row;
    flex-wrap: wrap;
    grid-template-columns: none !important;
    gap: 12px;
    width: auto;
    max-width: 100%;
  }
  .hero-actions .btn {
    width: auto !important;
    flex: 0 0 auto;
    min-width: 0;
    padding-inline: 18px;
  }
  .hero-trust {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    max-width: 760px;
    margin-bottom: 12px;
  }
  .hero-inner {
    padding-bottom: 150px; /* room for 100+ under trust row */
  }
  .hero-float-card {
    display: flex !important;
    position: absolute !important;
    /* Align under the right trust pill (Northeast Arkansas) */
    right: max(24px, 5%);
    bottom: 72px;
    left: auto;
    top: auto;
    margin: 0;
    max-width: 250px;
    width: auto;
    padding: 14px 16px;
    z-index: 4;
  }
  .hero-float-card .num {
    font-size: 26px;
  }
  .hero-float-card .lbl {
    font-size: 11px;
  }
  .cta-card {
    overflow: visible;
    padding: 28px 22px;
  }
  .cta-card p {
    font-size: clamp(13px, 1.6vw, 15px);
  }
}

/* Keep join CTA title on one line for all side-by-side layouts (desktop + tablet) */
@media (min-width: 821px) {
  .cta-grid {
    grid-template-columns: minmax(0, 1.28fr) minmax(0, 0.82fr);
    gap: 20px;
  }
  .cta-card h2 {
    white-space: nowrap;
    font-size: clamp(18px, 1.85vw, 28px);
    letter-spacing: -0.03em;
    line-height: 1.2;
  }
}

@media (max-width: 820px) {
  .container {
    padding-left: 20px;
    padding-right: 20px;
  }
  .announcement-banner .container {
    flex-wrap: wrap;
    justify-content: center;
    text-align: center;
    gap: 6px 10px;
    padding-left: 20px;
    padding-right: 20px;
  }
  .cta-section > .container {
    padding-left: 20px;
    padding-right: 20px;
  }
  .cta-card {
    padding: 28px 18px;
    width: 100%;
    max-width: 100%;
    overflow: visible;
  }
}

/* Phones: full title with ?, intro scaled to title, 100+ cleared from wave */
@media (max-width: 560px) {
  .container {
    padding-left: 16px;
    padding-right: 16px;
  }
  .cta-section > .container {
    padding-left: 16px;
    padding-right: 16px;
  }
  .cta-card {
    padding: 22px 14px;
    overflow: visible;
  }
  .cta-card h2 {
    white-space: nowrap;
    font-size: clamp(13px, 3.55vw, 15.5px);
    letter-spacing: -0.04em;
    line-height: 1.25;
    overflow: visible;
    text-overflow: clip;
    max-width: none;
    width: 100%;
  }
  .cta-card p {
    font-size: clamp(11.5px, 3.1vw, 13px);
    line-height: 1.45;
    max-width: 100%;
  }
  .hero {
    flex-direction: column;
    align-items: stretch;
    overflow: hidden;
    padding-bottom: 8px;
  }
  .hero-inner {
    padding-bottom: 16px;
  }
  .hero-actions {
    display: grid;
    grid-template-columns: 1fr;
  }
  .hero-actions .btn {
    width: 100%;
  }
  .hero-float-card {
    display: flex !important;
    position: relative !important;
    right: auto;
    left: auto;
    bottom: auto;
    top: auto;
    margin: 8px 16px 64px;
    max-width: calc(100% - 32px);
    width: max-content;
    padding: 14px 16px;
    z-index: 3;
  }
  .hero-float-card .num {
    font-size: 26px;
  }
  .hero-float-card .lbl {
    font-size: 11px;
  }
  .hero-wave {
    margin-top: 0;
  }
  .hero-trust,
  .hero-actions,
  .trust-pill {
    max-width: 100%;
    box-sizing: border-box;
  }
}