/* ============================================================
   FoodTruckFound — landing styles v2
   + Leaflet map, scroll-spy, carousel, back-to-top ring,
     confetti, geolocation badge, countdown timers
   ============================================================ */
:root {
  --marigold: #F5B301;
  --marigold-bright: #FFC21A;
  --marigold-deep: #C98F00;
  --asphalt: #1E1B16;
  --asphalt-soft: #35312A;
  --paper: #F6F5F1;
  --lane: #FFFFFF;
  --live: #1D9E75;
  --live-tint: #E1F5EE;
  --live-ink: #085041;
  --muted: #6E6A61;
  --hairline: #E3E1DA;
  --radius: 10px;
  --radius-lg: 16px;
  --shadow-card: 0 1px 2px rgba(30,27,22,.05), 0 8px 24px rgba(30,27,22,.07);
  --shadow-pop: 0 12px 40px rgba(30,27,22,.18);
  --font-display: "Bricolage Grotesque", "Archivo", sans-serif;
  --font-body: "Archivo", system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  margin: 0;
  font-family: var(--font-body);
  background: var(--paper);
  color: var(--asphalt);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3 { font-family: var(--font-display); line-height: 1.08; margin: 0; }
a { color: inherit; }
img { max-width: 100%; }

.wrap { max-width: 1120px; margin: 0 auto; padding: 0 24px; }

/* ---------- Scroll reveal ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ---------- Lane divider (brand motif) ---------- */
.lane-divider {
  border: 0;
  height: 4px;
  background-image: linear-gradient(90deg, var(--asphalt) 0 40px, transparent 40px 64px);
  background-size: 64px 4px;
  background-repeat: repeat-x;
  margin: 0;
}
.lane-divider.on-dark {
  background-image: linear-gradient(90deg, var(--marigold) 0 40px, transparent 40px 64px);
}
@media (prefers-reduced-motion: no-preference) {
  .lane-divider.moving { animation: lane-move 1.6s linear infinite; }
  @keyframes lane-move { to { background-position-x: 64px; } }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 16px;
  padding: 14px 26px;
  border-radius: var(--radius);
  border: 2px solid var(--asphalt);
  cursor: pointer;
  text-decoration: none;
  transition: transform .12s ease, background .12s ease, box-shadow .2s ease;
}
.btn:active { transform: scale(.98); }
.btn:focus-visible { outline: 3px solid var(--marigold-deep); outline-offset: 2px; }
.btn-primary { background: var(--marigold); color: var(--asphalt); box-shadow: 0 6px 18px rgba(245,179,1,.35); }
.btn-primary:hover { background: var(--marigold-bright); box-shadow: 0 8px 24px rgba(245,179,1,.45); transform: translateY(-1px); }
.btn-ghost { background: transparent; color: var(--asphalt); }
.btn-ghost:hover { background: rgba(30,27,22,.06); }
.btn-dark { background: var(--asphalt); color: var(--paper); border-color: var(--asphalt); }
.btn-dark:hover { background: var(--asphalt-soft); }
.btn-light { background: var(--paper); color: var(--asphalt); border-color: var(--paper); }
.btn-light:hover { background: var(--lane); }

/* ---------- Pills ---------- */
.pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 999px;
  white-space: nowrap;
}
.pill-live { background: var(--live-tint); color: var(--live-ink); }
.pill-live::before {
  content: "";
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--live);
}
@media (prefers-reduced-motion: no-preference) {
  .pill-live::before { animation: pulse 1.8s ease-in-out infinite; }
  @keyframes pulse { 50% { opacity: .4; } }
}
.pill-off { background: #ECEAE3; color: var(--muted); }
.pill-countdown { background: #FBF3DD; color: var(--marigold-deep); }

/* ---------- Header ---------- */
.site-header-bar {
  position: sticky;
  top: 0;
  z-index: 1010;
  background: rgba(246,245,241,.88);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: box-shadow .25s ease;
}
.site-header-bar.scrolled { box-shadow: 0 1px 0 var(--hairline), 0 6px 20px rgba(30,27,22,.06); }
.site-header { display: flex; align-items: center; justify-content: space-between; padding: 16px 0; }
.brand { display: flex; align-items: center; gap: 10px; font-family: var(--font-display); font-weight: 700; font-size: 21px; text-decoration: none; letter-spacing: -.01em; }
.brand-mark {
  width: 34px; height: 34px;
  display: grid; place-items: center;
  background: var(--marigold);
  border: 2px solid var(--asphalt);
  border-radius: 9px;
  font-size: 17px;
  transform: rotate(-3deg);
}
.nav { display: flex; align-items: center; gap: 22px; font-size: 15px; font-weight: 500; }
.nav a { text-decoration: none; position: relative; }
.nav a:not(.btn) { padding: 4px 0; }
.nav a:not(.btn)::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -2px;
  height: 2px;
  background: var(--marigold-deep);
  transform: scaleX(0);
  transition: transform .2s ease;
}
.nav a:not(.btn).active::after,
.nav a:not(.btn):hover::after { transform: scaleX(1); }
.nav a:not(.btn).active { color: var(--marigold-deep); }
.nav .btn { padding: 9px 18px; font-size: 14px; }
.nav-toggle {
  display: none;
  background: none; border: 2px solid var(--asphalt); border-radius: 8px;
  width: 42px; height: 42px; cursor: pointer;
  font-size: 18px; line-height: 1;
}
@media (max-width: 760px) {
  .nav-toggle { display: grid; place-items: center; }
  .nav {
    position: absolute;
    top: 100%; left: 0; right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--paper);
    border-bottom: 2px solid var(--asphalt);
    padding: 8px 24px 20px;
    display: none;
  }
  .nav.open { display: flex; }
  .nav a { padding: 14px 0; border-bottom: 1px solid var(--hairline); }
  .nav a.btn { margin-top: 14px; border-bottom: 2px solid var(--asphalt); }
}

/* ---------- Geolocation badge ---------- */
.geo-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  padding: 5px 12px;
  border-radius: 999px;
  background: var(--lane);
  border: 1px solid var(--hairline);
  box-shadow: 0 1px 4px rgba(30,27,22,.1);
  margin-left: 12px;
  vertical-align: middle;
  opacity: 0;
  transition: opacity .3s ease;
}
.geo-badge.found { opacity: 1; }

/* ---------- Hero ---------- */
.hero { padding: 64px 0 64px; position: relative; overflow: hidden; }
.hero::before {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(600px 300px at 85% -10%, rgba(245,179,1,.16), transparent 70%),
    radial-gradient(500px 260px at -5% 110%, rgba(29,158,117,.08), transparent 70%);
  pointer-events: none;
}
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; position: relative; }
@media (max-width: 860px) { .hero-grid { grid-template-columns: 1fr; gap: 40px; } }
.hero-kicker {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase;
  color: var(--live-ink);
  background: var(--live-tint);
  border: 1px solid #BFE8DA;
  padding: 6px 14px; border-radius: 999px;
  margin-bottom: 20px;
}
.hero h1 { font-size: clamp(46px, 6.8vw, 80px); font-weight: 700; letter-spacing: -.025em; }
.hero h1 .found { display: inline-block; background: var(--marigold); padding: 0 .18em; border-radius: 10px; box-shadow: 4px 4px 0 var(--asphalt); }
.hero p.lede { font-size: 19px; color: var(--muted); max-width: 46ch; margin: 22px 0 30px; }
.hero-ctas { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-proof { display: flex; align-items: center; gap: 12px; margin-top: 26px; font-size: 14px; color: var(--muted); flex-wrap: wrap; }
.hero-proof .avatars { display: flex; }
.hero-proof .avatars span {
  width: 32px; height: 32px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--lane); border: 2px solid var(--paper);
  font-size: 15px; margin-left: -8px;
  box-shadow: 0 1px 4px rgba(30,27,22,.15);
}
.hero-proof .avatars span:first-child { margin-left: 0; }

/* ---------- Real Leaflet map card ---------- */
.hero-map-card {
  background: var(--asphalt);
  border-radius: 20px;
  padding: 5px;
  box-shadow:
    0 0 0 2px var(--asphalt),
    0 4px 8px rgba(30,27,22,.12),
    0 16px 48px rgba(30,27,22,.22);
  position: relative;
}
.hero-map-card .map-container {
  height: 380px;
  border-radius: 16px;
  overflow: hidden;
  background: #d4cfc4;
  position: relative;
}
/* Vignette overlay for cinematic depth */
.hero-map-card .map-container::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 16px;
  pointer-events: none;
  z-index: 999;
  box-shadow: inset 0 0 60px 20px rgba(30,27,22,.18),
              inset 0 0 120px 40px rgba(30,27,22,.06);
}
/* Leaflet overrides inside hero card */
.hero-map-card .leaflet-control-attribution { font-size: 8px !important; opacity: .5; }
.hero-map-card .leaflet-control-zoom { border: none !important; box-shadow: 0 2px 8px rgba(0,0,0,.3) !important; border-radius: 10px !important; overflow: hidden; }
.hero-map-card .leaflet-control-zoom a {
  width: 32px !important; height: 32px !important; line-height: 30px !important;
  font-size: 17px !important; font-weight: 700;
  color: var(--asphalt) !important; background: rgba(255,255,255,.92) !important;
}
.hero-map-card .leaflet-control-zoom a:hover { background: #fff !important; }
.hero-map-card .map-caption {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 16px 12px;
  color: var(--paper);
  font-size: 14px;
  gap: 10px;
  flex-wrap: wrap;
}

/* ---------- Ticker overlay on Leaflet map ---------- */
.map-ticker {
  position: absolute;
  left: 16px; right: 16px; bottom: 68px;
  z-index: 1000;
  background: rgba(246,245,241,.97);
  color: var(--asphalt);
  border-radius: 10px;
  padding: 9px 14px;
  font-size: 13px; font-weight: 500;
  display: flex; align-items: center; gap: 8px;
  box-shadow: 0 6px 16px rgba(0,0,0,.3);
  transition: opacity .4s ease, transform .4s ease;
}
.map-ticker.fade { opacity: 0; transform: translateY(6px); }
.map-ticker .tick-ico { font-size: 15px; }

/* Custom Leaflet markers — bigger, bolder, HD */
.leaflet-custom-pin {
  display: grid; place-items: center;
  width: 44px; height: 44px;
  font-size: 22px;
  background: var(--marigold);
  border: 2.5px solid var(--asphalt);
  border-radius: 50% 50% 50% 5px;
  transform: rotate(-45deg);
  box-shadow:
    0 5px 14px rgba(0,0,0,.4),
    0 1px 2px rgba(0,0,0,.25);
  transition: transform .15s ease, box-shadow .15s ease;
}
.leaflet-custom-pin:hover {
  transform: rotate(-45deg) scale(1.18);
  box-shadow:
    0 8px 22px rgba(0,0,0,.5),
    0 2px 4px rgba(0,0,0,.3);
  z-index: 1000 !important;
}
.leaflet-custom-pin span { transform: rotate(45deg); display: block; }
.leaflet-custom-pin.live {
  background: var(--live);
  box-shadow:
    0 5px 14px rgba(29,158,117,.5),
    0 1px 3px rgba(0,0,0,.3);
}
.leaflet-custom-pin.live:hover {
  box-shadow:
    0 8px 24px rgba(29,158,117,.6),
    0 2px 6px rgba(0,0,0,.35);
}
.leaflet-custom-pin.live::after {
  content: "";
  position: absolute;
  inset: -8px;
  border-radius: 50% 50% 50% 7px;
  border: 3px solid var(--live);
}
@media (prefers-reduced-motion: no-preference) {
  .leaflet-custom-pin.live::after { animation: ring 2.4s ease-out infinite; }
  @keyframes ring { 0% { transform: scale(.5); opacity: .9; } 70% { transform: scale(1.35); opacity: 0; } 100% { opacity: 0; } }
}

/* Leaflet popup polish */
.leaflet-popup-content-wrapper {
  border-radius: 12px !important;
  box-shadow: 0 8px 30px rgba(0,0,0,.25) !important;
  font-family: var(--font-body) !important;
}
.leaflet-popup-content {
  margin: 12px 16px !important;
  font-size: 14px !important;
  line-height: 1.5 !important;
}
.leaflet-popup-tip { box-shadow: none !important; }

/* ---------- Stats band ---------- */
.stats-band { background: var(--asphalt); color: var(--paper); }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; padding: 44px 0; text-align: center; }
@media (max-width: 720px) { .stats-grid { grid-template-columns: repeat(2, 1fr); padding: 34px 0; } }
.stat .num { font-family: var(--font-display); font-size: clamp(34px, 4.5vw, 48px); font-weight: 700; color: var(--marigold); display: block; line-height: 1; }
.stat .lbl { font-size: 14px; opacity: .75; margin-top: 8px; display: block; }

/* ---------- Sections ---------- */
section.block { padding: 76px 0; }
.eyebrow { font-size: 13px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--marigold-deep); margin: 0 0 10px; }
h2.block-title { font-size: clamp(30px, 4.2vw, 44px); font-weight: 700; letter-spacing: -.02em; margin-bottom: 14px; }
.block-sub { font-size: 17px; color: var(--muted); max-width: 60ch; margin: 0; }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 40px; }
@media (max-width: 720px) { .steps { grid-template-columns: 1fr; } }
.step {
  background: var(--lane);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  position: relative;
  transition: transform .2s ease, box-shadow .2s ease;
}
.step:hover { transform: translateY(-4px); box-shadow: var(--shadow-card); }
.step .step-num {
  position: absolute; top: 18px; right: 20px;
  font-family: var(--font-display); font-weight: 700; font-size: 15px;
  color: var(--marigold-deep);
  background: #FBF3DD;
  border-radius: 999px; padding: 2px 10px;
}
.step .ico {
  width: 52px; height: 52px;
  display: grid; place-items: center;
  background: var(--marigold);
  border: 2px solid var(--asphalt);
  border-radius: 12px;
  font-size: 24px;
}
.step h3 { font-size: 20px; margin: 16px 0 8px; }
.step p { font-size: 15px; color: var(--muted); margin: 0; }

/* ---------- Featured trucks (live data) ---------- */
.trucks-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 40px; }
@media (max-width: 860px) { .trucks-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .trucks-grid { grid-template-columns: 1fr; } }
.truck-card {
  background: var(--lane);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform .2s ease, box-shadow .2s ease;
}
.truck-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-card); }
.truck-art {
  height: 120px;
  display: grid; place-items: center;
  font-size: 52px;
  position: relative;
}
.truck-art.taco  { background: linear-gradient(135deg, #FBE3B9, #F5B301); }
.truck-art.ramen { background: linear-gradient(135deg, #F8D7CE, #E8836B); }
.truck-art.burger{ background: linear-gradient(135deg, #E4D9C4, #B99B5F); }
.truck-art.pizza { background: linear-gradient(135deg, #FAD9C0, #E96A3B); }
.truck-art.bbq   { background: linear-gradient(135deg, #D9C9BC, #8A5A3B); }
.truck-art.sweet { background: linear-gradient(135deg, #F3DCE8, #D98BB0); }
.truck-art.wok   { background: linear-gradient(135deg, #FDE0D0, #E06030); }
.truck-art.melt  { background: linear-gradient(135deg, #FDF2D0, #F5C830); }
.truck-art .pill { position: absolute; top: 12px; left: 12px; background: rgba(255,255,255,.92); z-index: 2; }
.truck-body { padding: 18px 20px 20px; }
.truck-body h3 { font-size: 18px; margin-bottom: 4px; }
.truck-body .truck-desc { font-size: 13px; color: var(--muted); margin: 4px 0 10px; line-height: 1.5; }
.truck-meta { display: flex; justify-content: space-between; align-items: center; font-size: 13px; color: var(--muted); margin-top: 10px; }
.truck-meta .eta { font-weight: 600; color: var(--asphalt); }

/* Countdown for future-open trucks */
.truck-countdown {
  font-size: 12px;
  color: var(--marigold-deep);
  font-weight: 600;
  margin-top: 4px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

/* Loading / empty state */
.trucks-loading { text-align: center; padding: 48px 0; font-size: 17px; color: var(--muted); }
.trucks-loading .spinner {
  display: inline-block; width: 32px; height: 32px;
  border: 3px solid var(--hairline);
  border-top-color: var(--marigold);
  border-radius: 50%;
  animation: spin .7s linear infinite;
  margin-bottom: 12px;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- Operator band ---------- */
.operator-band { background: var(--asphalt); color: var(--paper); position: relative; overflow: hidden; }
.operator-band::before {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(700px 340px at 90% 0%, rgba(245,179,1,.1), transparent 65%);
  pointer-events: none;
}
.operator-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; position: relative; }
@media (max-width: 860px) { .operator-grid { grid-template-columns: 1fr; gap: 44px; } }
.operator-band h2 { color: var(--paper); }
.operator-band .eyebrow { color: var(--marigold); }
.operator-band .block-sub { color: #B9B3A6; }
.op-list { list-style: none; padding: 0; margin: 24px 0 30px; }
.op-list li { padding: 9px 0 9px 32px; position: relative; font-size: 16px; }
.op-list li::before { content: "→"; position: absolute; left: 0; color: var(--marigold); font-weight: 700; }

/* Fee comparison */
.fee-panel {
  background: var(--asphalt-soft);
  border: 1px solid #45403A;
  border-radius: var(--radius-lg);
  padding: 28px;
}
.fee-panel h3 { color: var(--paper); font-size: 18px; margin-bottom: 20px; }
.fee-row { margin-bottom: 22px; }
.fee-row:last-of-type { margin-bottom: 0; }
.fee-row .fee-head { display: flex; justify-content: space-between; font-size: 14px; margin-bottom: 8px; }
.fee-row .fee-head .pct { font-family: var(--font-display); font-weight: 700; font-size: 22px; }
.fee-row.them .pct { color: #B9B3A6; }
.fee-row.us .pct { color: var(--marigold); }
.fee-bar { height: 14px; background: rgba(255,255,255,.08); border-radius: 999px; overflow: hidden; }
.fee-bar .fill {
  height: 100%;
  border-radius: 999px;
  width: 0;
  transition: width 1.2s cubic-bezier(.22,.9,.32,1);
}
.fee-row.them .fill { background: repeating-linear-gradient(45deg, #6E6A61 0 8px, #7d786e 8px 16px); }
.fee-row.us .fill { background: var(--marigold); }
.fee-note { font-size: 13px; color: #B9B3A6; margin-top: 20px; }
.fee-note strong { color: var(--marigold); }

/* ---------- Testimonials carousel ---------- */
.quotes-section { position: relative; }
.quotes-carousel { position: relative; overflow: hidden; margin-top: 40px; min-height: 260px; }
.quotes-track {
  display: flex;
  transition: transform .5s cubic-bezier(.22,.9,.32,1);
}
.quote-slide {
  flex: 0 0 100%;
  padding: 0 2px;
}
.quote {
  background: var(--lane);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  max-width: 640px;
  margin: 0 auto;
  text-align: center;
}
.quote .stars { color: var(--marigold-deep); letter-spacing: 3px; font-size: 16px; margin-bottom: 12px; }
.quote p { margin: 0 0 20px; font-size: 18px; line-height: 1.55; }
.quote .who { display: flex; align-items: center; justify-content: center; gap: 12px; font-size: 14px; }
.quote .who .face {
  width: 44px; height: 44px; border-radius: 50%;
  display: grid; place-items: center;
  background: #FBF3DD; border: 2px solid var(--hairline);
  font-size: 20px;
}
.quote .who .name { font-weight: 600; }
.quote .who .role { color: var(--muted); font-size: 13px; }

/* Carousel controls */
.carousel-dots { display: flex; justify-content: center; gap: 8px; margin-top: 24px; }
.carousel-dots button {
  width: 10px; height: 10px;
  border-radius: 50%;
  border: 2px solid var(--hairline);
  background: var(--lane);
  cursor: pointer;
  padding: 0;
  transition: background .2s ease, border-color .2s ease;
}
.carousel-dots button.active { background: var(--marigold); border-color: var(--asphalt); }
.carousel-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 5;
  width: 44px; height: 44px;
  border-radius: 50%;
  border: 2px solid var(--hairline);
  background: var(--lane);
  cursor: pointer;
  font-size: 16px;
  display: grid; place-items: center;
  box-shadow: 0 2px 10px rgba(30,27,22,.08);
  transition: box-shadow .2s ease, transform .2s ease;
}
.carousel-arrow:hover { box-shadow: var(--shadow-card); }
.carousel-arrow:active { transform: translateY(-50%) scale(.95); }
.carousel-arrow.prev { left: -6px; }
.carousel-arrow.next { right: -6px; }
@media (max-width: 760px) {
  .carousel-arrow.prev { left: 0; }
  .carousel-arrow.next { right: 0; }
}

/* ---------- FAQ ---------- */
.faq-list { margin-top: 36px; max-width: 760px; }
.faq-item { border: 1px solid var(--hairline); border-radius: 12px; background: var(--lane); margin-bottom: 12px; overflow: hidden; }
.faq-q {
  width: 100%;
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  background: none; border: 0; cursor: pointer;
  font-family: var(--font-body); font-size: 16px; font-weight: 600; color: var(--asphalt);
  text-align: left;
  padding: 18px 20px;
}
.faq-q .chev { transition: transform .25s ease; font-size: 14px; color: var(--marigold-deep); flex: none; }
.faq-item.open .faq-q .chev { transform: rotate(180deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .3s ease; }
.faq-a p { margin: 0; padding: 0 20px 18px; font-size: 15px; color: var(--muted); }
.faq-q:focus-visible { outline: 3px solid var(--marigold-deep); outline-offset: -3px; }

/* ---------- Final CTA ---------- */
.cta-band { background: var(--marigold); position: relative; overflow: hidden; }
.cta-band .lane-divider { position: absolute; top: 0; left: 0; right: 0; }
.cta-inner { text-align: center; padding: 80px 0 88px; position: relative; }
.cta-inner h2 { font-size: clamp(32px, 5vw, 52px); letter-spacing: -.02em; }
.cta-inner p { font-size: 18px; max-width: 52ch; margin: 16px auto 30px; color: #4A3A00; }
.notify-form { display: flex; gap: 10px; max-width: 480px; margin: 0 auto; }
.notify-form input {
  flex: 1;
  font-family: var(--font-body); font-size: 16px;
  padding: 14px 18px;
  border: 2px solid var(--asphalt);
  border-radius: var(--radius);
  background: var(--lane);
  min-width: 0;
}
.notify-form input:focus-visible { outline: 3px solid var(--asphalt); outline-offset: 2px; }
.notify-msg { margin-top: 14px; font-weight: 600; font-size: 15px; min-height: 22px; }
@media (max-width: 520px) { .notify-form { flex-direction: column; } }

/* ---------- Confetti canvas ---------- */
#confetti-canvas {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  pointer-events: none;
  z-index: 9999;
}

/* ---------- Back to top ---------- */
#back-to-top {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 1000;
  width: 50px; height: 50px;
  border-radius: 50%;
  border: 2px solid var(--asphalt);
  background: var(--lane);
  cursor: pointer;
  display: grid; place-items: center;
  font-size: 18px;
  box-shadow: 0 4px 16px rgba(30,27,22,.15);
  transition: opacity .3s ease, transform .3s ease;
  opacity: 0;
  transform: translateY(12px);
  pointer-events: none;
}
#back-to-top.visible { opacity: 1; transform: none; pointer-events: auto; }
#back-to-top:hover { transform: translateY(-2px); box-shadow: var(--shadow-pop); }

/* Progress ring */
#back-to-top svg { position: absolute; inset: 0; }
#back-to-top svg circle {
  fill: none;
  stroke: var(--marigold);
  stroke-width: 2.5;
  stroke-dasharray: 138;
  stroke-dashoffset: 138;
  transition: stroke-dashoffset .2s ease;
}

/* ---------- Footer ---------- */
footer { background: var(--asphalt); color: #B9B3A6; padding: 52px 0 36px; font-size: 14px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; }
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-grid .brand { color: var(--paper); }
.footer-grid p { margin: 14px 0 0; max-width: 34ch; }
.footer-grid h4 { font-family: var(--font-body); font-size: 13px; letter-spacing: .1em; text-transform: uppercase; color: var(--marigold); margin: 0 0 14px; }
.footer-grid ul { list-style: none; margin: 0; padding: 0; }
.footer-grid li { margin-bottom: 10px; }
.footer-grid a { text-decoration: none; }
.footer-grid a:hover { color: var(--paper); text-decoration: underline; text-underline-offset: 3px; }
.footer-base { border-top: 1px solid #35312A; margin-top: 40px; padding-top: 22px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }

/* ============================================================
   OPERATOR REGISTRATION MODAL
   ============================================================ */
.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: rgba(30,27,22,.65);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  display: grid;
  place-items: center;
  padding: 24px;
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s ease;
}
.modal-overlay.open { opacity: 1; pointer-events: auto; }
.modal-card {
  background: var(--lane);
  border: 2px solid var(--asphalt);
  border-radius: 20px;
  box-shadow: 0 20px 60px rgba(30,27,22,.35);
  width: 100%;
  max-width: 560px;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  transform: translateY(24px) scale(.97);
  transition: transform .35s cubic-bezier(.22,.9,.32,1);
}
.modal-overlay.open .modal-card { transform: none; }
.modal-close {
  position: absolute;
  top: 14px; right: 14px;
  width: 38px; height: 38px;
  border-radius: 50%;
  border: 2px solid var(--hairline);
  background: var(--lane);
  font-size: 18px;
  cursor: pointer;
  display: grid; place-items: center;
  z-index: 5;
  transition: border-color .15s ease, background .15s ease;
  line-height: 1;
}
.modal-close:hover { border-color: var(--asphalt); background: #f0ede6; }
.modal-close:focus-visible { outline: 3px solid var(--marigold-deep); outline-offset: 2px; }
.modal-header {
  padding: 32px 32px 0;
  text-align: center;
}
.modal-header .modal-icon {
  width: 56px; height: 56px;
  display: grid; place-items: center;
  background: var(--marigold);
  border: 2px solid var(--asphalt);
  border-radius: 14px;
  font-size: 26px;
  margin: 0 auto 16px;
  transform: rotate(-3deg);
}
.modal-header h2 { font-size: 26px; margin-bottom: 6px; }
.modal-header p { font-size: 15px; color: var(--muted); margin: 0; }
.modal-body { padding: 28px 32px 32px; }
.modal-body .form-group { margin-bottom: 20px; }
.modal-body label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--asphalt);
  margin-bottom: 6px;
}
.modal-body input,
.modal-body select,
.modal-body textarea {
  width: 100%;
  font-family: var(--font-body);
  font-size: 16px;
  padding: 13px 16px;
  border: 2px solid var(--hairline);
  border-radius: var(--radius);
  background: var(--lane);
  color: var(--asphalt);
  transition: border-color .15s ease, box-shadow .15s ease;
}
.modal-body input:focus,
.modal-body select:focus,
.modal-body textarea:focus {
  outline: none;
  border-color: var(--asphalt);
  box-shadow: 0 0 0 4px rgba(30,27,22,.06);
}
.modal-body input.error,
.modal-body select.error,
.modal-body textarea.error {
  border-color: #E0554A;
  box-shadow: 0 0 0 4px rgba(224,85,74,.08);
}
.modal-body .field-error {
  font-size: 12px;
  color: #E0554A;
  margin-top: 4px;
  font-weight: 500;
  display: none;
}
.modal-body .field-error.show { display: block; }
.modal-body .form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
@media (max-width: 500px) {
  .modal-body .form-row { grid-template-columns: 1fr; }
  .modal-header { padding: 28px 20px 0; }
  .modal-body { padding: 22px 20px 28px; }
}
.modal-body textarea { resize: vertical; min-height: 80px; }
.modal-body select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%236E6A61' stroke-width='2.5'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 40px;
  cursor: pointer;
}
.modal-body .checkbox-group {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-top: 4px;
}
.modal-body .checkbox-group input[type="checkbox"] {
  width: 20px; height: 20px;
  flex: none;
  margin-top: 2px;
  accent-color: var(--asphalt);
}
.modal-body .checkbox-group label {
  text-transform: none;
  letter-spacing: 0;
  font-weight: 500;
  font-size: 14px;
  color: var(--muted);
  cursor: pointer;
}
.modal-body .checkbox-group a { text-decoration: underline; text-underline-offset: 2px; }
.modal-body .checkbox-group.error-label { color: #E0554A; }
.modal-submit {
  margin-top: 8px;
  width: 100%;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 17px;
  padding: 16px;
  border-radius: var(--radius);
  border: 2px solid var(--asphalt);
  cursor: pointer;
  background: var(--marigold);
  color: var(--asphalt);
  box-shadow: 0 6px 18px rgba(245,179,1,.35);
  transition: transform .12s ease, background .12s ease, box-shadow .2s ease;
  display: flex; align-items: center; justify-content: center; gap: 8px;
}
.modal-submit:hover { background: var(--marigold-bright); box-shadow: 0 8px 24px rgba(245,179,1,.45); transform: translateY(-1px); }
.modal-submit:active { transform: scale(.98); }
.modal-submit:focus-visible { outline: 3px solid var(--marigold-deep); outline-offset: 2px; }
.modal-submit.loading { pointer-events: none; opacity: .7; }
.modal-submit .spinner-sm {
  width: 18px; height: 18px;
  border: 2px solid rgba(30,27,22,.2);
  border-top-color: var(--asphalt);
  border-radius: 50%;
  animation: spin .6s linear infinite;
  display: none;
}
.modal-submit.loading .spinner-sm { display: inline-block; }
.modal-success {
  display: none;
  text-align: center;
  padding: 60px 32px;
}
.modal-success.visible { display: block; }
.modal-success .success-icon {
  font-size: 56px;
  display: block;
  margin-bottom: 16px;
}
.modal-success h3 { font-size: 24px; margin-bottom: 8px; }
.modal-success p { color: var(--muted); font-size: 16px; margin: 0 0 24px; }
.modal-body.hidden { display: none; }
