/* Klean — design system inspired by the America.gov look:
   editorial serif headlines, soft gray canvas, big rounded photo cards, pill controls. */

:root {
  --ink: #0a1430;
  --ink-2: #4a5470;
  --ink-3: #7a8299;
  --canvas: #f3f3f1;
  --card: #ffffff;
  --sky: #e9eeff;
  --blue: #1b43d4;
  --blue-deep: #10299a;
  --navy: #071a52;
  --gold: #f5b301;
  --line: rgba(10, 20, 48, 0.1);
  --shadow: 0 1px 2px rgba(10, 20, 48, .06), 0 12px 32px -12px rgba(10, 20, 48, .18);
  --shadow-lg: 0 30px 80px -30px rgba(7, 26, 82, .45);
  --r-xl: 40px;
  --r-lg: 28px;
  --r-md: 18px;
  --serif: "Instrument Serif", "Times New Roman", Times, serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  --wrap: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; overflow-x: clip; }
body {
  margin: 0; background: var(--canvas); color: var(--ink);
  font: 400 17px/1.6 var(--sans); -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  overflow-x: clip;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { margin: 0; font-weight: 400; }
p { margin: 0; }
.serif { font-family: var(--serif); font-weight: 400; letter-spacing: -0.01em; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.skip { position: absolute; left: -999px; top: 8px; background: #fff; padding: 10px 18px; border-radius: 40px; z-index: 100; }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 8px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* ---------- Top banner (the ".gov" strip) ---------- */
.banner { font-size: 13px; color: var(--ink-2); text-align: center; padding: 8px var(--gutter); }
.banner b { color: var(--ink); font-weight: 600; }
.banner .dot { display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: #18b26b; margin-right: 6px; vertical-align: middle; box-shadow: 0 0 0 3px rgba(24, 178, 107, .18); }

/* ---------- Header ---------- */
.header { position: sticky; top: 0; z-index: 40; padding: 10px 0; transition: background .3s, box-shadow .3s; }
.header.scrolled { background: rgba(243, 243, 241, .86); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px); box-shadow: 0 1px 0 var(--line); }
.header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.logo img { height: 44px; width: auto; }
.nav { display: flex; gap: 4px; align-items: center; }
.nav a { text-decoration: none; font-size: 15px; font-weight: 500; padding: 9px 14px; border-radius: 99px; color: var(--ink); }
.nav a:hover { background: rgba(10, 20, 48, .06); }
.header-actions { display: flex; gap: 8px; align-items: center; }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; text-decoration: none; font: 600 15px/1 var(--sans); border-radius: 99px; padding: 15px 24px; border: 0; cursor: pointer; transition: transform .2s, background .2s, box-shadow .2s; white-space: nowrap; }
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--blue); color: #fff; box-shadow: 0 10px 24px -10px rgba(27, 67, 212, .8); }
.btn-primary:hover { background: var(--blue-deep); }
.btn-navy { background: var(--navy); color: #fff; }
.btn-ghost { background: rgba(10, 20, 48, .06); color: var(--ink); }
.btn-ghost:hover { background: rgba(10, 20, 48, .1); }
.btn-white { background: #fff; color: var(--navy); }
.btn-sm { padding: 11px 18px; font-size: 14px; }
.btn .arrow { width: 18px; height: 18px; }
.menu-btn { display: none; }

/* ---------- Full-screen menu ---------- */
.menu { position: fixed; inset: 0; z-index: 60; background: var(--navy); color: #fff; padding: 20px var(--gutter) 40px; display: none; overflow-y: auto; }
.menu.open { display: block; animation: fade .25s ease; }
.menu-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 32px; }
.menu-top img { height: 40px; }
.menu nav a { display: block; font: 400 clamp(34px, 8vw, 54px)/1.15 var(--serif); text-decoration: none; padding: 4px 0; }
.menu nav a:hover { color: #a9bbff; }
.menu .menu-sub { margin-top: 32px; display: flex; flex-wrap: wrap; gap: 8px; }
.menu .menu-sub a { font-size: 14px; padding: 9px 14px; border: 1px solid rgba(255, 255, 255, .25); border-radius: 99px; text-decoration: none; }
@keyframes fade { from { opacity: 0 } to { opacity: 1 } }

/* ---------- Hero ---------- */
.hero { text-align: center; padding: clamp(28px, 6vw, 64px) 0 0; }
.hero .hero-title { font-family: var(--serif); font-size: clamp(48px, 8.4vw, 104px); line-height: .98; letter-spacing: -0.025em; }
.hero .hero-title em { font-style: italic; color: var(--blue); }
.hero .lede { max-width: 620px; margin: 20px auto 0; color: var(--ink-2); font-size: clamp(17px, 2vw, 20px); }
.stage { position: relative; margin: clamp(28px, 5vw, 48px) auto 0; max-width: 1280px; padding: 0 clamp(8px, 2vw, 24px); }
.stage-card { position: relative; border-radius: var(--r-xl); overflow: hidden; aspect-ratio: 16 / 8.2; min-height: 460px; background: #c9d2e8; box-shadow: var(--shadow-lg); }
.stage-card .slide { position: absolute; inset: 0; opacity: 0; transition: opacity 1.2s ease; }
.stage-card .slide.on { opacity: 1; }
.stage-card .slide img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.06); transition: transform 7s ease-out; }
.stage-card .slide.on img { transform: scale(1); }
.stage-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(7, 26, 82, .35) 0%, rgba(7, 26, 82, 0) 35%, rgba(7, 26, 82, 0) 60%, rgba(7, 26, 82, .55) 100%); pointer-events: none; }

/* The "ask bar" — America.gov's pill input, reimagined as a quote starter */
.ask { position: absolute; z-index: 3; top: clamp(18px, 4vw, 36px); left: 50%; transform: translateX(-50%); width: min(720px, calc(100% - 32px)); }
.ask-bar { display: flex; align-items: center; gap: 10px; background: #fff; border-radius: 99px; padding: 8px 8px 8px 24px; box-shadow: 0 20px 50px -20px rgba(0, 0, 0, .5); text-decoration: none; color: var(--ink); }
.ask-bar input { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; font: 500 clamp(16px, 2vw, 18px) var(--sans); color: var(--ink); padding: 10px 0; }
.ask-bar input::placeholder { color: var(--ink-2); font-weight: 400; opacity: 1; }
.ask-bar:focus-within { box-shadow: 0 0 0 3px rgba(27, 67, 212, .45), 0 20px 50px -20px rgba(0, 0, 0, .5); }
.ask-bar .go { flex: none; border: 0; cursor: pointer; font-family: var(--sans); display: inline-flex; align-items: center; gap: 8px; background: var(--navy); color: #fff; border-radius: 99px; padding: 13px 20px; font-weight: 600; font-size: 15px; white-space: nowrap; }
.ask-bar .go:hover, .ask-bar:focus-within .go { background: var(--blue); }
@keyframes blink { 50% { opacity: 0 } }
.chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 14px; }
.chip { font-size: 14px; font-weight: 500; text-decoration: none; padding: 9px 15px; border-radius: 99px; background: rgba(255, 255, 255, .22); color: #fff; border: 1px solid rgba(255, 255, 255, .35); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); transition: background .2s; }
.chip:hover, .chip.on { background: #fff; color: var(--navy); }
.stage-foot { position: absolute; z-index: 3; left: 0; right: 0; bottom: 0; padding: 22px clamp(20px, 4vw, 40px); display: flex; justify-content: space-between; align-items: end; gap: 16px; color: #fff; }
.stage-foot .caption { font-size: 14px; opacity: .9; max-width: 360px; text-align: left; }
.dots { display: flex; gap: 6px; }
.dots button { width: 8px; height: 8px; border-radius: 99px; border: 0; padding: 0; background: rgba(255, 255, 255, .5); cursor: pointer; transition: width .3s, background .3s; }
.dots button.on { width: 26px; background: #fff; }

/* ---------- Trust row ---------- */
.trust { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 28px; }
.trust div { background: var(--card); border-radius: var(--r-md); padding: 18px 20px; text-align: left; box-shadow: 0 1px 0 var(--line); }
.trust strong { display: block; font: 400 30px/1.1 var(--serif); }
.trust span { font-size: 14px; color: var(--ink-2); }
.stars { color: var(--gold); letter-spacing: 2px; }

/* ---------- Sections ---------- */
.section { padding: clamp(72px, 10vw, 128px) 0; }
.section.tight { padding: clamp(48px, 7vw, 80px) 0; }
.eyebrow { font-size: 13px; letter-spacing: .14em; text-transform: uppercase; font-weight: 600; color: var(--blue); margin-bottom: 14px; }
.h2 { font: 400 clamp(38px, 5.6vw, 68px)/1.02 var(--serif); letter-spacing: -0.02em; }
.h2 em { font-style: italic; color: var(--blue); }
.sub { color: var(--ink-2); font-size: clamp(17px, 1.8vw, 19px); max-width: 620px; margin-top: 16px; }
.center { text-align: center; }
.center .sub { margin-left: auto; margin-right: auto; }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 24px; margin-bottom: 40px; flex-wrap: wrap; }

/* Statement block (America.gov's "29,000 websites into one") */
.statement { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.orbit { position: relative; aspect-ratio: 1; max-width: 520px; width: 100%; margin: 0 auto; }
.orbit .core { position: absolute; inset: 22%; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #4d6fff, var(--blue) 45%, var(--navy)); display: grid; place-items: center; color: #fff; text-align: center; box-shadow: 0 40px 80px -30px rgba(27, 67, 212, .7); }
.orbit .core b { display: block; font: 400 clamp(64px, 10vw, 112px)/.9 var(--serif); }
.orbit .core span { font-size: 14px; letter-spacing: .08em; text-transform: uppercase; opacity: .85; }
.ring { position: absolute; inset: 0; border-radius: 50%; border: 1px dashed rgba(10, 20, 48, .14); animation: spin 60s linear infinite; }
.ring.r2 { inset: 9%; animation-duration: 45s; animation-direction: reverse; }
.ring .pill { position: absolute; left: 50%; top: 50%; }
.ring .pill span { display: block; font-size: 13px; font-weight: 500; background: #fff; padding: 6px 12px; border-radius: 99px; box-shadow: var(--shadow); white-space: nowrap; animation: spin 60s linear infinite reverse; }
.ring.r2 .pill span { animation-duration: 45s; animation-direction: normal; }
@keyframes spin { to { transform: rotate(360deg) } }

/* ---------- Cards ---------- */
.grid { display: grid; gap: 16px; }
.g3 { grid-template-columns: repeat(3, 1fr); }
.g4 { grid-template-columns: repeat(4, 1fr); }
.g2 { grid-template-columns: repeat(2, 1fr); }
.card { background: var(--card); border-radius: var(--r-lg); padding: 28px; box-shadow: 0 1px 0 var(--line); }
.card h3 { font: 400 30px/1.1 var(--serif); margin-bottom: 10px; }
.card p { color: var(--ink-2); }
.card .icon { width: 48px; height: 48px; border-radius: 14px; background: var(--sky); color: var(--blue); display: grid; place-items: center; margin-bottom: 22px; }

.svc { position: relative; display: block; text-decoration: none; border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 4 / 5; background: #ccd; color: #fff; isolation: isolate; }
.svc img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .8s cubic-bezier(.2, .7, .2, 1); }
.svc::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(7, 26, 82, 0) 35%, rgba(7, 26, 82, .88)); }
.svc:hover img { transform: scale(1.06); }
.svc .body { position: absolute; left: 0; right: 0; bottom: 0; padding: 24px; }
.svc h3 { font: 400 27px/1.05 var(--serif); }
.svc p { font-size: 15px; opacity: .88; margin-top: 8px; }
.svc .more { display: inline-flex; white-space: nowrap; align-items: center; gap: 6px; margin-top: 14px; font-size: 14px; font-weight: 600; }
.svc .tag { position: absolute; top: 18px; left: 18px; font-size: 12px; font-weight: 600; background: rgba(255, 255, 255, .92); color: var(--navy); padding: 6px 11px; border-radius: 99px; }

/* Split: photo + copy */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.split > *, .grid > *, .statement > *, .quote-page > *, .offer > * { min-width: 0; } /* wide tables/maps must not stretch grid columns past the screen */
.photo { border-radius: var(--r-xl); overflow: hidden; box-shadow: var(--shadow-lg); aspect-ratio: 5 / 4; }
.photo img { width: 100%; height: 100%; object-fit: cover; }
.checks { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 12px; }
.checks li { display: flex; gap: 12px; align-items: flex-start; }
.checks li::before { content: ""; flex: none; width: 22px; height: 22px; margin-top: 2px; border-radius: 50%; background: var(--blue) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E") center/13px no-repeat; }

/* Reviews */
.reviews { display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 4px var(--gutter) 20px; margin: 0 calc(var(--gutter) * -1); scrollbar-width: none; }
.reviews::-webkit-scrollbar { display: none; }
.review { flex: 0 0 min(400px, 84vw); scroll-snap-align: start; background: var(--card); border-radius: var(--r-lg); padding: 30px; display: flex; flex-direction: column; justify-content: space-between; gap: 24px; box-shadow: 0 1px 0 var(--line); }
.review blockquote { margin: 0; font: 400 24px/1.3 var(--serif); }
.review .who { display: flex; align-items: center; gap: 12px; font-size: 14px; color: var(--ink-2); }
.review .av { width: 40px; height: 40px; border-radius: 50%; background: var(--sky); color: var(--blue); display: grid; place-items: center; font-weight: 700; }
.review .who b { color: var(--ink); display: block; }
.rating-big { display: flex; align-items: center; gap: 16px; }
.rating-big b { font: 400 64px/1 var(--serif); }

/* Steps */
.steps { counter-reset: s; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.step { background: var(--card); border-radius: var(--r-lg); padding: 28px; position: relative; box-shadow: 0 1px 0 var(--line); }
.step::before { counter-increment: s; content: counter(s); display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--navy); color: #fff; font: 400 24px var(--serif); margin-bottom: 40px; }
.step h3 { font: 400 26px/1.1 var(--serif); margin-bottom: 8px; }
.step p { color: var(--ink-2); font-size: 15px; }

/* Areas */
.areas { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; }
.county h3 { font-size: 13px; letter-spacing: .12em; text-transform: uppercase; font-weight: 600; color: var(--ink-2); margin-bottom: 12px; font-family: var(--sans); }
.county ul { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.county a { display: inline-block; text-decoration: none; font-size: 15px; font-weight: 500; padding: 8px 14px; border-radius: 99px; background: var(--card); box-shadow: 0 1px 0 var(--line); transition: background .2s, color .2s; }
.county a:hover { background: var(--navy); color: #fff; }
.links-cloud { display: flex; flex-wrap: wrap; gap: 8px; }
.links-cloud a { text-decoration: none; font-size: 14px; padding: 8px 14px; border-radius: 99px; background: var(--card); box-shadow: 0 1px 0 var(--line); }
.links-cloud a:hover { background: var(--navy); color: #fff; }

/* Offer band */
.offer { position: relative; overflow: hidden; border-radius: var(--r-xl); background: var(--navy); color: #fff; padding: clamp(40px, 7vw, 88px); display: grid; grid-template-columns: 1.3fr 1fr; gap: 32px; align-items: center; }
.offer::before { content: ""; position: absolute; width: 640px; height: 640px; right: -180px; top: -260px; border-radius: 50%; background: radial-gradient(circle, rgba(77, 111, 255, .65), transparent 65%); }
.offer > * { position: relative; }
.offer .h2 em { color: #a9bbff; }
.offer .sub { color: rgba(255, 255, 255, .78); }
.offer .actions { display: flex; flex-direction: column; gap: 12px; align-items: flex-start; }
.offer .fine { font-size: 13px; color: rgba(255, 255, 255, .6); }

/* FAQ */
.faq { max-width: 860px; margin: 0 auto; }
.faq details { background: var(--card); border-radius: var(--r-md); margin-bottom: 10px; box-shadow: 0 1px 0 var(--line); }
.faq summary { cursor: pointer; list-style: none; padding: 22px 60px 22px 26px; font-weight: 600; font-size: 17px; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 22px; top: 50%; transform: translateY(-50%); width: 30px; height: 30px; border-radius: 50%; background: var(--sky); color: var(--blue); display: grid; place-items: center; font-size: 20px; font-weight: 400; transition: transform .3s; }
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq details p { padding: 0 26px 24px; color: var(--ink-2); }

/* Page hero (inner pages) */
.page-hero { padding: clamp(28px, 5vw, 56px) 0 0; }
.crumbs { font-size: 14px; color: var(--ink-3); margin-bottom: 20px; }
.crumbs a { text-decoration: none; color: var(--ink-2); }
.crumbs a:hover { color: var(--blue); }
.page-hero h1 { font: 400 clamp(44px, 7vw, 88px)/1 var(--serif); letter-spacing: -0.025em; max-width: 900px; }
.page-hero h1 em { font-style: italic; color: var(--blue); }
.page-hero .lede { color: var(--ink-2); font-size: clamp(17px, 2vw, 20px); max-width: 640px; margin-top: 20px; }
.page-hero .actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 28px; }
.page-hero .photo { margin-top: clamp(32px, 5vw, 56px); aspect-ratio: 16 / 7; }
.prose { max-width: 720px; }
.prose p + p { margin-top: 16px; }
.prose p { color: var(--ink-2); font-size: 18px; }
.prose h2 { font: 400 40px/1.1 var(--serif); margin: 48px 0 16px; }
.meta-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.meta-row span { font-size: 14px; background: var(--card); padding: 8px 14px; border-radius: 99px; box-shadow: 0 1px 0 var(--line); }

/* Footer */
.footer { background: var(--navy); color: rgba(255, 255, 255, .78); padding: 72px 0 120px; margin-top: 40px; font-size: 15px; }
.footer .cols { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr 1fr; gap: 28px; }
.footer h4 { color: #fff; font-size: 13px; letter-spacing: .12em; text-transform: uppercase; margin: 0 0 16px; }
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.footer a { text-decoration: none; }
.footer a:hover { color: #fff; }
.footer .brand img { height: 48px; margin-bottom: 18px; }
.footer .big { font: 400 clamp(56px, 12vw, 180px)/.85 var(--serif); color: rgba(255, 255, 255, .08); margin-top: 56px; letter-spacing: -0.03em; white-space: nowrap; }
.footer .legal { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; border-top: 1px solid rgba(255, 255, 255, .12); padding-top: 24px; margin-top: 24px; font-size: 13px; }
.social { display: flex; gap: 8px; margin-top: 18px; }
.social a { width: 40px; height: 40px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .25); display: grid; place-items: center; }
.social a:hover { background: #fff; color: var(--navy); }

/* Mobile sticky CTA */
.mobile-cta { display: none; }

/* Reveal on scroll */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s ease, transform .8s cubic-bezier(.2, .7, .2, 1); }
.reveal.in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1020px) {
  .nav { display: none; }
  .menu-btn { display: inline-flex; }
  .g4, .steps { grid-template-columns: repeat(2, 1fr); }
  .trust { grid-template-columns: repeat(2, 1fr); }
  .footer .cols { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  body { font-size: 16px; }
  .header-actions .btn-primary, .header-actions .call { display: none; }
  .logo img { height: 38px; }
  .stage-card { aspect-ratio: auto; min-height: 560px; }
  .stage { padding: 0 8px; }
  .ask-bar { padding: 6px 6px 6px 18px; }
  .ask-bar .go span { display: none; }
  .ask-bar .go { padding: 12px 14px; }
  .stage-foot { flex-direction: column; align-items: flex-start; }
  .g3, .g2, .split, .statement, .offer { grid-template-columns: 1fr; }
  .g4 { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .svc { aspect-ratio: 5 / 4; }
  .statement .orbit { max-width: 290px; }
  .ring .pill span { font-size: 12px; padding: 5px 10px; }
  .footer .cols { grid-template-columns: 1fr; }
  .mobile-cta { display: grid; grid-template-columns: 1fr 1.4fr; gap: 8px; position: fixed; left: 10px; right: 10px; bottom: 10px; z-index: 50; padding: 8px; border-radius: 99px; background: rgba(255, 255, 255, .9); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); box-shadow: 0 16px 40px -12px rgba(7, 26, 82, .45); }
  .mobile-cta .btn { padding: 14px 10px; }
  .page-hero .photo { aspect-ratio: 4 / 3; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ---------- Quote form ---------- */
.qd { border: 0; padding: 0; width: min(640px, calc(100% - 16px)); max-height: calc(100dvh - 24px); border-radius: var(--r-xl); background: var(--card); color: var(--ink); box-shadow: var(--shadow-lg); overflow: auto; }
.qd::backdrop { background: rgba(7, 26, 82, .55); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.qd[open] { animation: pop .3s cubic-bezier(.2, .8, .2, 1); }
@keyframes pop { from { opacity: 0; transform: translateY(16px) scale(.98) } }
.qf { padding: clamp(20px, 4vw, 36px); }
.qf-head { display: flex; align-items: center; gap: 12px; }
.qf-head img { height: 30px; width: auto; }
.qf-count { margin-left: auto; font-size: 13px; color: var(--ink-3); font-weight: 500; }
.qf-x { width: 38px; height: 38px; border-radius: 50%; border: 0; background: rgba(10, 20, 48, .06); color: var(--ink); cursor: pointer; display: grid; place-items: center; }
.qf-card .qf-x { display: none; }
.qf-progress { height: 4px; border-radius: 4px; background: rgba(10, 20, 48, .08); margin: 18px 0 26px; overflow: hidden; }
.qf-progress span { display: block; height: 100%; width: 20%; background: var(--blue); border-radius: 4px; transition: width .4s cubic-bezier(.2, .8, .2, 1); }
.qf fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
.qf legend { font: 400 clamp(30px, 5vw, 40px)/1.08 var(--serif); letter-spacing: -0.015em; margin-bottom: 20px; padding: 0; }
.qf-label { font-size: 14px; font-weight: 600; margin: 18px 0 8px; }
.qf-options { display: flex; flex-wrap: wrap; gap: 8px; }
.qf-opt { position: relative; flex: 1 1 auto; cursor: pointer; }
.qf-opt input { position: absolute; opacity: 0; pointer-events: none; }
.qf-opt span { display: block; text-align: center; padding: 12px 16px; border-radius: 99px; background: var(--canvas); border: 1.5px solid transparent; font-weight: 500; transition: background .15s, border-color .15s; }
.qf-opt:hover span { border-color: rgba(27, 67, 212, .35); }
.qf-opt input:checked + span { background: var(--sky); border-color: var(--blue); color: var(--blue-deep); }
.qf-opt input:focus-visible + span { outline: 3px solid var(--blue); outline-offset: 2px; }
.qf-step:first-of-type .qf-options, .qf-step:nth-of-type(3) .qf-options { display: grid; grid-template-columns: 1fr 1fr; }
.qf-opt span:has(small) { text-align: left; border-radius: var(--r-md); padding: 14px 16px; height: 100%; }
.qf-opt b { display: block; font-weight: 600; }
.qf-opt small { display: block; font-size: 13px; color: var(--ink-2); line-height: 1.35; margin-top: 3px; }
.qf-field { display: block; margin-top: 14px; flex: 1; }
.qf-field span { display: block; font-size: 14px; font-weight: 600; margin-bottom: 6px; }
.qf-field i { font-weight: 400; color: var(--ink-3); font-style: normal; }
.qf-field input, .qf-field textarea { width: 100%; font: 16px var(--sans); color: var(--ink); background: var(--canvas); border: 1.5px solid transparent; border-radius: 14px; padding: 14px 16px; transition: border-color .15s, background .15s; }
.qf-field input:focus, .qf-field textarea:focus { outline: none; border-color: var(--blue); background: #fff; }
.qf-row { display: flex; gap: 12px; }
.qf-hp { position: absolute; left: -9999px; }
.qf-fine { font-size: 13px; color: var(--ink-3); margin-top: 16px; }
.qf-error { color: #c0262d; font-size: 14px; font-weight: 500; min-height: 1px; margin-top: 14px; }
.qf-nav { display: flex; justify-content: space-between; gap: 10px; margin-top: 18px; }
.qf-nav [data-next] { margin-left: auto; }
.qf-trust { text-align: center; font-size: 13px; color: var(--ink-2); margin-top: 20px; }
.qf-done { display: none; text-align: center; padding: 20px 0 10px; }
.qf-done h3 { font: 400 40px/1.1 var(--serif); margin: 18px 0 10px; }
.qf-done p { color: var(--ink-2); margin-top: 8px; }
.qf-check { width: 72px; height: 72px; margin: 0 auto; border-radius: 50%; background: var(--blue); color: #fff; display: grid; place-items: center; font-size: 34px; animation: pop .5s cubic-bezier(.2, 1.4, .4, 1); }
.qf.done .qf-step, .qf.done .qf-nav, .qf.done .qf-progress, .qf.done .qf-count, .qf.done .qf-error { display: none !important; }
.qf.done .qf-done { display: block; }
.quote-page { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(28px, 5vw, 64px); align-items: start; }
.quote-page h1 { font-size: clamp(44px, 5.6vw, 72px); }
.qf-card { background: var(--card); border-radius: var(--r-xl); box-shadow: var(--shadow-lg); }
@media (max-width: 760px) {
  .qd { width: 100%; max-height: 100dvh; height: 100dvh; border-radius: 0; margin: 0; max-width: none; }
  .qf-row { flex-direction: column; gap: 0; }
  .qf-step:first-of-type .qf-options, .qf-step:nth-of-type(3) .qf-options { grid-template-columns: 1fr; }
  .quote-page { grid-template-columns: 1fr; }
}

/* ---------- Pricing ---------- */
.qf-est { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; margin-top: 22px; padding: 16px 20px; border-radius: var(--r-md); background: var(--sky); animation: fade .3s ease; }
.qf-est[hidden] { display: none; }
.qf-est-label { display: block; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; font-weight: 600; color: var(--blue); }
.qf-est-price { display: block; font: 400 34px/1.1 var(--serif); color: var(--navy); }
.qf-est-meta { display: block; font-size: 13px; color: var(--ink-2); }
.qf-est-offer { font-size: 14px; color: var(--ink-2); text-align: right; }
.qf-est-offer b { color: var(--navy); }
.qf.done .qf-est { display: none; }
.qf-done-est { font-weight: 600; color: var(--navy) !important; }
.price-chip { display: inline-flex; flex-direction: column; gap: 2px; margin-top: 22px; padding: 14px 20px; border-radius: var(--r-md); background: var(--sky); }
.price-chip b { font: 400 30px/1.1 var(--serif); color: var(--navy); }
.price-chip span { font-size: 14px; color: var(--ink-2); }
.price-chip a { color: var(--blue); }
.price-table { overflow-x: auto; background: var(--card); border-radius: var(--r-lg); box-shadow: 0 1px 0 var(--line); }
.price-table table { width: 100%; border-collapse: collapse; min-width: 560px; }
.price-table th, .price-table td { padding: 16px 20px; text-align: left; border-bottom: 1px solid var(--line); white-space: nowrap; }
.price-table thead th { font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-2); font-weight: 600; }
.price-table tbody th { font-weight: 600; }
.price-table td { font-variant-numeric: tabular-nums; }
.price-table tr:last-child th, .price-table tr:last-child td { border-bottom: 0; }
@media (max-width: 760px) { .qf-est-offer { text-align: left; } }

/* ---------- Home H1 (keeps the ranked headline) ---------- */
.hero-kicker { display: inline-block; font: 600 13px/1.4 var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--blue); background: var(--sky); padding: 8px 16px; border-radius: 99px; margin-bottom: 18px; }
.hero-title { font-family: var(--serif); font-size: clamp(48px, 8.4vw, 104px); line-height: .98; letter-spacing: -0.025em; }
.hero-title em { font-style: italic; color: var(--blue); }

/* ---------- Content carried over from the old site ---------- */
.legacy-wrap { padding-top: 0; }
.legacy { max-width: 820px; margin: 0 auto; background: var(--card); border-radius: var(--r-xl); padding: clamp(28px, 5vw, 64px); box-shadow: 0 1px 0 var(--line); font-size: 17px; color: var(--ink-2); }
.legacy > *:first-child { margin-top: 0; }
.legacy h2 { font: 400 clamp(30px, 4vw, 42px)/1.1 var(--serif); color: var(--ink); margin: 44px 0 14px; letter-spacing: -0.015em; }
.legacy h2 strong, .legacy h2 b { font-weight: 400; }
.legacy h3 { font: 400 28px/1.15 var(--serif); color: var(--ink); margin: 32px 0 10px; }
.legacy h4 { font: 600 17px/1.4 var(--sans); color: var(--ink); margin: 22px 0 6px; }
.legacy p { margin: 0 0 14px; }
.legacy a { color: var(--blue); text-underline-offset: 3px; }
.legacy ul, .legacy ol { padding-left: 0; list-style: none; margin: 8px 0 18px; display: grid; gap: 10px; }
.legacy ul li { position: relative; padding-left: 32px; }
.legacy ul li::before { content: ""; position: absolute; left: 0; top: 3px; width: 20px; height: 20px; border-radius: 50%; background: var(--sky) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231b43d4' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E") center/11px no-repeat; }
.legacy ol { counter-reset: lo; }
.legacy ol > li { counter-increment: lo; position: relative; padding-left: 44px; }
.legacy ol > li::before { content: counter(lo); position: absolute; left: 0; top: 0; width: 30px; height: 30px; border-radius: 50%; background: var(--navy); color: #fff; display: grid; place-items: center; font: 400 17px var(--serif); }
.legacy ol > li > b:first-child { display: none; }
.legacy table { width: 100%; border-collapse: collapse; margin: 18px 0 24px; font-size: 15px; display: block; overflow-x: auto; }
.legacy td, .legacy th { padding: 12px 14px; border-bottom: 1px solid var(--line); text-align: left; }
.legacy tr:first-child td { font-weight: 600; color: var(--ink); }
.legacy img { border-radius: var(--r-md); margin: 18px 0; height: auto; }
.legacy blockquote { margin: 18px 0; padding: 4px 0 4px 20px; border-left: 3px solid var(--blue); font: 400 22px/1.4 var(--serif); color: var(--ink); }

/* ---------- Blog ---------- */
.post-card { display: flex; flex-direction: column; background: var(--card); border-radius: var(--r-lg); overflow: hidden; text-decoration: none; box-shadow: 0 1px 0 var(--line); transition: transform .3s, box-shadow .3s; }
.post-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.post-img { aspect-ratio: 16 / 10; overflow: hidden; background: var(--sky); }
.post-img img { width: 100%; height: 100%; object-fit: cover; }
.post-body { padding: 24px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.post-body h3 { font: 400 26px/1.15 var(--serif); }
.post-body p { color: var(--ink-2); font-size: 15px; flex: 1; }
.post-date { font-size: 13px; color: var(--ink-3); font-weight: 500; }
.post-card .more { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 600; color: var(--blue); }
.article-head { max-width: 900px; }
.article-head h1 { font-size: clamp(38px, 5.6vw, 68px); }
.article-meta { color: var(--ink-3); font-size: 15px; margin-top: 18px; }
.article-photo { aspect-ratio: 16 / 8; }
.article-body { box-shadow: none; }
.article-cta { max-width: 820px; margin: 24px auto 0; background: var(--navy); color: #fff; border-radius: var(--r-xl); padding: clamp(28px, 5vw, 48px); }
.article-cta h3 { font: 400 34px/1.1 var(--serif); margin-bottom: 8px; }
.article-cta p { color: rgba(255, 255, 255, .78); }
.article-cta .actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.article-cta .btn-ghost { color: #fff; background: rgba(255, 255, 255, .12); }

/* ---------- Thank-you ---------- */
.thanks h1 { margin: 0 auto; }
.thanks-est { margin: 18px auto 0; display: inline-block; background: var(--sky); color: var(--navy); font-weight: 600; padding: 12px 20px; border-radius: 99px; }

/* ---------- Hero assistant (chat inside the photo card) ---------- */
.chat { position: absolute; inset: 0; z-index: 3; display: flex; flex-direction: column; padding: 18px 20px 104px; }
.chat[hidden] { display: none; }
.stage.chatting .stage-card::before { content: ""; position: absolute; inset: 0; z-index: 2; background: rgba(243, 243, 241, .9); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); }
.stage.chatting .stage-card::after, .stage.chatting .chips, .stage.chatting .stage-foot { display: none; }
.stage.chatting .ask { top: auto; bottom: 22px; z-index: 4; }
.stage.chatting .stage-card { min-height: 600px; }
.chat-head { display: flex; align-items: center; gap: 12px; max-width: 760px; width: 100%; margin: 0 auto 12px; padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.chat-head img { width: 36px; height: 36px; border-radius: 10px; }
.chat-head div { flex: 1; min-width: 0; }
.chat-head b { display: block; font-size: 15px; }
.chat-head span { font-size: 13px; color: var(--ink-3); }
.chat-form { border: 0; background: rgba(10, 20, 48, .06); color: var(--ink); font: 600 13px var(--sans); padding: 9px 14px; border-radius: 99px; cursor: pointer; white-space: nowrap; }
.chat-x { width: 38px; height: 38px; border-radius: 50%; border: 0; background: rgba(10, 20, 48, .06); color: var(--ink); display: grid; place-items: center; cursor: pointer; flex: none; }
.chat-log { flex: 1; overflow-y: auto; display: flex; flex-direction: column; gap: 10px; max-width: 760px; width: 100%; margin: 0 auto; padding: 4px 2px 8px; scroll-behavior: smooth; }
.msg { max-width: 82%; padding: 12px 16px; font-size: 16px; line-height: 1.5; text-align: left; animation: fade .25s ease; }
.msg p + p, .msg ul + p, .msg p + ul { margin-top: 8px; }
.msg ul { margin: 0; padding-left: 20px; }
.msg a { color: var(--blue); }
.msg.user { align-self: flex-end; background: var(--navy); color: #fff; border-radius: 20px 20px 6px 20px; }
.msg.bot { align-self: flex-start; background: #fff; color: var(--ink); border-radius: 20px 20px 20px 6px; box-shadow: 0 1px 0 var(--line), 0 6px 18px -10px rgba(7, 26, 82, .25); }
.msg.note { background: var(--sky); color: var(--navy); font-weight: 600; font-size: 14px; }
.msg.typing { display: flex; gap: 5px; padding: 16px 18px; }
.msg.typing span { width: 7px; height: 7px; border-radius: 50%; background: var(--ink-3); animation: dot 1.2s infinite ease-in-out; }
.msg.typing span:nth-child(2) { animation-delay: .15s; }
.msg.typing span:nth-child(3) { animation-delay: .3s; }
@keyframes dot { 0%, 80%, 100% { opacity: .25; transform: translateY(0); } 40% { opacity: 1; transform: translateY(-3px); } }
@media (max-width: 760px) {
  .stage.chatting .stage-card { position: fixed; inset: 0; z-index: 80; border-radius: 0; min-height: 0; height: 100dvh; aspect-ratio: auto; }
  .stage.chatting .ask { position: fixed; z-index: 81; bottom: max(12px, env(safe-area-inset-bottom)); }
  .chat { padding: 12px 12px 88px; }
  .chat-form { display: none; }
  .msg { max-width: 90%; }
  body.chat-open { overflow: hidden; }
  body.chat-open .mobile-cta { display: none; }
}

/* ---------- Local data, maps, hubs ---------- */
.stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; margin: 22px 0; }
.stats div { background: var(--card); border-radius: var(--r-md); padding: 16px 18px; box-shadow: 0 1px 0 var(--line); }
.stats strong { display: block; font: 400 28px/1.1 var(--serif); color: var(--navy); }
.stats span { font-size: 13px; color: var(--ink-2); }
.insights { list-style: none; padding: 0; margin: 8px 0 0; display: grid; gap: 12px; }
.insights li { background: var(--card); border-radius: var(--r-md); padding: 14px 18px 14px 46px; position: relative; color: var(--ink-2); font-size: 15px; box-shadow: 0 1px 0 var(--line); }
.insights li::before { content: ""; position: absolute; left: 16px; top: 17px; width: 18px; height: 18px; border-radius: 50%; background: var(--sky) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231b43d4' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E") center/10px no-repeat; }
.insights b { color: var(--ink); }
.source-note { font-size: 12px; color: var(--ink-3); margin-top: 14px; }
.map-wrap { margin: 0; }
.map { width: 100%; border-radius: var(--r-lg); overflow: hidden; background: #e7ebf3 linear-gradient(135deg, #e9eef8, #f3f3f1); box-shadow: var(--shadow); z-index: 0; position: relative; }
.map:not(.ready)::after { content: "Loading map…"; position: absolute; inset: 0; display: grid; place-items: center; color: var(--ink-3); font-size: 14px; }
.map.failed::after { content: "Map unavailable — use the link below."; }
.map .leaflet-tile-pane { filter: grayscale(.85) contrast(.92) brightness(1.04); }
.map-wrap figcaption { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; font-size: 13px; color: var(--ink-2); margin-top: 10px; }
.map-wrap figcaption a { color: var(--blue); font-weight: 600; }
.pin-wrap { position: relative; }
.pin { position: absolute; left: -7px; top: -7px; width: 14px; height: 14px; border-radius: 50%; background: var(--navy); border: 3px solid #fff; box-shadow: 0 2px 8px rgba(7, 26, 82, .4); }
.pin.primary { left: -10px; top: -10px; width: 20px; height: 20px; background: var(--blue); }
.pin.hq { left: -11px; top: -11px; width: 22px; height: 22px; background: #fff; border: 6px solid var(--blue); }
.pin-label { position: absolute; left: 14px; top: -11px; white-space: nowrap; font: 600 12px var(--sans); color: var(--navy); background: rgba(255, 255, 255, .92); padding: 3px 8px; border-radius: 99px; box-shadow: 0 1px 4px rgba(7, 26, 82, .2); pointer-events: none; }
.leaflet-popup-content { font: 14px/1.5 var(--sans); }
.leaflet-popup-content a { color: var(--blue); font-weight: 600; }
.county-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 14px; }
.county-card { display: block; text-decoration: none; background: var(--card); border-radius: var(--r-lg); padding: 24px; box-shadow: 0 1px 0 var(--line); transition: transform .25s, box-shadow .25s; }
.county-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.county-card h3 { font: 400 28px/1.1 var(--serif); margin-bottom: 6px; }
.county-card p { font-size: 14px; color: var(--ink-2); }
.county-card span { display: block; margin-top: 12px; font-size: 13px; color: var(--blue); }
.town-table { margin-top: 18px; }
.town-table table { width: 100%; border-collapse: collapse; background: var(--card); border-radius: var(--r-lg); overflow: hidden; box-shadow: 0 1px 0 var(--line); }
.town-table th, .town-table td { padding: 14px 18px; text-align: left; border-bottom: 1px solid var(--line); font-size: 15px; font-variant-numeric: tabular-nums; }
.town-table thead th { font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-2); }
.town-table a { color: var(--blue); font-weight: 600; text-decoration: none; }
.links-cloud small { color: var(--ink-3); font-weight: 400; }
.links-cloud a:hover small { color: rgba(255, 255, 255, .7); }
.price-table small { color: var(--ink-3); font-weight: 400; }
.price-table a { color: var(--blue); text-decoration: none; }
.checklist { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 16px; }
.cl-room { background: var(--card); border-radius: var(--r-lg); padding: 26px; box-shadow: 0 1px 0 var(--line); }
.cl-room h2 { font: 400 28px/1.1 var(--serif); margin-bottom: 14px; }
.cl-room ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.cl-room li { display: flex; gap: 12px; align-items: flex-start; font-size: 15px; color: var(--ink-2); }
.cl-room .box { flex: none; width: 18px; height: 18px; margin-top: 2px; border: 2px solid var(--blue); border-radius: 5px; }
@media (max-width: 1020px) { .footer .cols { grid-template-columns: 1fr 1fr; } }
@media (max-width: 760px) {
  .stats strong { font-size: 24px; }
  .town-table { overflow-x: auto; }
  .town-table table { min-width: 520px; }
}
@media print {
  .header, .banner, .footer, .mobile-cta, .page-hero .actions, .offer, .section:not(.tight) { display: none !important; }
  .cl-room { box-shadow: none; border: 1px solid #ccc; break-inside: avoid; }
}

/* Chat: quick replies + online status */
.quick { display: flex; flex-wrap: wrap; gap: 8px; align-self: flex-start; max-width: 90%; margin: -2px 0 4px; animation: fade .25s ease; }
.quick button { border: 1.5px solid var(--blue); background: #fff; color: var(--blue-deep); font: 600 14px var(--sans); padding: 9px 14px; border-radius: 99px; cursor: pointer; transition: background .15s, color .15s, transform .15s; }
.quick button:hover { background: var(--blue); color: #fff; transform: translateY(-1px); }
.chat-head .live { display: inline-flex; align-items: center; gap: 6px; }
.chat-head .live::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #18b26b; box-shadow: 0 0 0 3px rgba(24, 178, 107, .18); }

/* ======================================================================
   SEASONAL THEMES — on/off by date via <html data-season="fall halloween">
   (see `seasons` in src/data.js). Remove nothing: it switches itself off.
   ====================================================================== */
.b-fall, .b-halloween, .s-fall, .s-halloween, .season-chip { display: none; }

/* ---- Fall palette: burnt orange accents (AA contrast), plum instead of navy, warm cream canvas ---- */
html[data-season~="fall"] { --ink: #24131c; --ink-2: #5a4650; --ink-3: #85727a; --canvas: #f6efe6; --sky: #fbe6d6; --blue: #a8451a; --blue-deep: #8a3714; --navy: #2a1530; --gold: #e8a33b; --line: rgba(42, 21, 48, .1); }
html[data-season~="fall"] .b-default, html[data-season~="fall"] .s-default { display: none; }
html[data-season~="fall"] .b-fall { display: inline; }
html[data-season~="fall"] .s-fall { display: block; }
html[data-season~="fall"] .banner { background: linear-gradient(90deg, #2a1530, #5b2a1c 55%, #2a1530); color: #fbe9da; }
html[data-season~="fall"] .banner b { color: #fff; }
html[data-season~="fall"] .header.scrolled { background: rgba(246, 239, 230, .88); }
html[data-season~="fall"] .btn-primary { background: linear-gradient(135deg, #c2531b, #a8451a); box-shadow: 0 10px 24px -10px rgba(168, 69, 26, .75); }
html[data-season~="fall"] .btn-primary:hover { background: linear-gradient(135deg, #a8451a, #8a3714); box-shadow: 0 14px 30px -10px rgba(240, 138, 44, .7); }
html[data-season~="fall"] .stage-card::after { background: linear-gradient(180deg, rgba(42, 21, 48, .35) 0%, rgba(42, 21, 48, 0) 35%, rgba(42, 21, 48, 0) 60%, rgba(42, 21, 48, .6) 100%); }
html[data-season~="fall"] .stage-card { box-shadow: 0 30px 80px -30px rgba(91, 42, 28, .55); }
html[data-season~="fall"] .svc::after { background: linear-gradient(180deg, rgba(42, 21, 48, 0) 35%, rgba(42, 21, 48, .88)); }
html[data-season~="fall"] .orbit .core { background: radial-gradient(circle at 35% 30%, #f5a04a, #c2531b 45%, #2a1530); box-shadow: 0 40px 80px -30px rgba(194, 83, 27, .7); }
html[data-season~="fall"] .offer::before { background: radial-gradient(circle, rgba(240, 138, 44, .5), transparent 65%); }
html[data-season~="fall"] .offer .eyebrow, html[data-season~="fall"] .offer .h2 em { color: #f5b98a !important; }
html[data-season~="fall"] .map .leaflet-tile-pane { filter: grayscale(.55) sepia(.3) contrast(.92) brightness(1.04); }
html[data-season~="fall"] .season-chip { display: inline-block; margin: 14px auto 0; font-size: 14px; font-weight: 600; color: #8a3714; background: #fbe0c8; padding: 8px 16px; border-radius: 99px; }
html[data-season~="fall"] .hero-kicker { background: #fbe0c8; color: #8a3714; }
@media (max-width: 560px) { html[data-season~="fall"] .season-chip { font-size: 12.5px; padding: 6px 12px; margin-top: 10px; } }

/* ---- Halloween (layered on fall) ---- */
html[data-season~="halloween"] { --navy: #1f1226; }
html[data-season~="halloween"] .b-fall, html[data-season~="halloween"] .s-fall:not(.season-chip) { display: none; }
html[data-season~="halloween"] .b-halloween { display: inline; }
html[data-season~="halloween"] .s-halloween { display: block; }
html[data-season~="halloween"] .banner { background: linear-gradient(90deg, #1f1226, #4a1d3d 50%, #1f1226); }
.jack { display: inline-block; width: 18px; height: 18px; margin-right: 6px; vertical-align: -3px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%2346a03b' d='M11 2.5c0-1 1.6-1.4 2 0V6h-2z'/%3E%3Cellipse cx='12' cy='14' rx='10.5' ry='8.2' fill='%23f08a2c'/%3E%3Cpath fill='%23c2531b' opacity='.45' d='M12 6c-2.4 2.4-2.4 13.6 0 16 2.4-2.4 2.4-13.6 0-16z'/%3E%3Cpath fill='%23ffd166' d='M6.5 10.5l2.6 2.6H4zm11 0l2.5 2.6h-5.1zM5.6 15.6c3.4 3.6 9.4 3.6 12.8 0l-2.2.9-1.1-1.1-1.1 1.2-2-1.1-2 1.1-1.1-1.2-1.1 1.1z'/%3E%3C/svg%3E") center/contain no-repeat; animation: flicker 2.6s ease-in-out infinite; }
@keyframes flicker { 0%, 100% { filter: drop-shadow(0 0 2px rgba(255, 179, 71, .6)); } 40% { filter: drop-shadow(0 0 7px rgba(255, 179, 71, .95)); } 55% { filter: drop-shadow(0 0 3px rgba(255, 179, 71, .5)); } 70% { filter: drop-shadow(0 0 6px rgba(255, 179, 71, .9)); } }

/* Falling leaves */
.leaf-layer { position: fixed; inset: 0; pointer-events: none; z-index: 30; overflow: hidden; transition: opacity .4s; }
.leaf-layer.dim { opacity: 0; }
.leaf { position: absolute; top: -40px; width: var(--size); height: var(--size); animation: leaf-fall var(--dur) linear var(--delay) infinite backwards; will-change: transform; }
.leaf-svg { width: 100%; height: 100%; fill: currentColor; stroke: currentColor; opacity: .78; animation: leaf-sway calc(var(--dur) / 4) ease-in-out infinite alternate; }
@keyframes leaf-fall { from { transform: translateY(-6vh) rotate(0deg); } to { transform: translateY(112vh) rotate(calc(var(--spin) * 540deg)); } }
@keyframes leaf-sway { from { transform: translateX(calc(var(--sway) * -1)) rotate(-12deg); } to { transform: translateX(var(--sway)) rotate(12deg); } }

/* Bats over the hero photo */
.bats { position: absolute; inset: 0; z-index: 2; pointer-events: none; overflow: hidden; }
.bat { position: absolute; top: var(--top); left: 0; width: var(--size); animation: bat-fly var(--dur) linear var(--delay) infinite backwards; }
.bat-svg { display: block; width: 100%; fill: #1a0f1f; filter: drop-shadow(0 0 6px rgba(255, 214, 160, .55)); animation: bat-flap .18s ease-in-out infinite alternate; transform-origin: 50% 55%; }
@keyframes bat-fly { 0% { transform: translate(-8vw, 0); } 15% { transform: translate(20vw, -16px); } 30% { transform: translate(48vw, 10px); } 45% { transform: translate(78vw, -12px); } 58%, 100% { transform: translate(110vw, 6px); } }
@keyframes bat-flap { from { transform: scaleY(1.15); } to { transform: scaleY(.5); } }

/* A friendly spider on a thread (desktop) — hangs from the header's bottom edge */
.spider { position: absolute; top: 100%; right: clamp(80px, 12vw, 200px); width: 22px; height: 0; pointer-events: none; transition: opacity .3s; }
.spider .thread { position: absolute; top: 0; left: 50%; width: 1px; height: 18px; background: linear-gradient(rgba(36, 19, 28, .15), rgba(36, 19, 28, .5)); animation: spider-thread 9s ease-in-out infinite; }
.spider-svg { position: absolute; top: 0; left: 0; display: block; width: 22px; color: #1f1226; animation: spider-drop 9s ease-in-out infinite; }
.spider-svg > * { transform-origin: 50% 0; }
@keyframes spider-thread { 0%, 100% { height: 14px; } 40%, 62% { height: 96px; } 50% { height: 102px; } }
@keyframes spider-drop { 0%, 100% { transform: translateY(10px) rotate(-4deg); } 40%, 62% { transform: translateY(92px) rotate(5deg); } 50% { transform: translateY(98px) rotate(-5deg); } }
.header.scrolled .spider { opacity: 0; }

/* Cobwebs */
html[data-season~="halloween"] .footer .wrap { position: relative; }
.cobweb { position: absolute; top: 0; right: 0; width: clamp(64px, 9vw, 110px); aspect-ratio: 1; pointer-events: none; color: rgba(255, 255, 255, .28); transform: scaleX(-1); }
.cobweb-svg { width: 100%; height: 100%; }
.footer .cobweb { top: -40px; color: rgba(255, 255, 255, .14); }

@media (prefers-reduced-motion: reduce) { .leaf-layer, .bats, .spider { display: none !important; } .jack { animation: none; } }

/* ======================================================================
   LIMITED-TIME PROMO (data.js → promos · assets/promo.js) — on while <html data-promo="…">
   ====================================================================== */
.b-promo, .s-promo, .o-promo { display: none; }
html[data-promo] .banner > span { display: none; }
html[data-promo] .banner > .b-promo { display: inline; }
html[data-promo] .offer .h2, html[data-promo] .offer .sub, html[data-promo] .o-std { display: none; }
html[data-promo] .offer .s-promo { display: block; }
html[data-promo] .o-promo { display: inline; }

/* The popup: Krissia's flyer, rebuilt in HTML (her artwork, real text, real buttons) */
.promo-pop {
  --pp-blue: #0d39ce; --pp-orange: #e95a20; --pp-cream: #fcfbf6; --pp-shadow: #0a2793;
  padding: 0; border: 0; background: transparent; color: #fff; overflow: visible;
  width: min(900px, calc(100vw - 32px)); max-width: none; max-height: calc(100dvh - 32px);
}
.promo-pop::backdrop { background: rgba(6, 12, 36, .62); backdrop-filter: blur(3px); -webkit-backdrop-filter: blur(3px); }
.promo-pop[open] { animation: pp-in .5s cubic-bezier(.2, .9, .25, 1.15); }
@keyframes pp-in { from { opacity: 0; transform: translateY(26px) scale(.95); } }
.pp { position: relative; border-radius: 30px; background: radial-gradient(60% 70% at 88% 78%, #2050e4 0%, var(--pp-blue) 70%); padding: 30px 34px 28px; overflow: hidden auto; max-height: calc(100dvh - 32px); box-shadow: 0 40px 100px -30px rgba(0, 0, 0, .7); font-family: var(--sans); }
.pp-x { position: absolute; top: 14px; right: 14px; z-index: 4; width: 40px; height: 40px; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .16); color: #fff; font-size: 26px; line-height: 1; cursor: pointer; transition: background .2s; }
.pp-x:hover { background: rgba(255, 255, 255, .28); }
.pp-web { position: absolute; top: -6px; left: -6px; width: 250px; color: rgba(252, 251, 246, .92); z-index: 0; pointer-events: none; }
.pp-top { position: relative; z-index: 2; display: flex; align-items: center; gap: 26px; }
.pp-burst { flex: 0 0 auto; width: 210px; aspect-ratio: 1; background: var(--pp-orange); display: grid; place-content: center; text-align: center; transform: rotate(-8deg); animation: pp-wobble 4.5s ease-in-out infinite; }
.pp-burst b { display: block; font: 400 54px/.9 "Bangers", Impact, "Arial Black", sans-serif; letter-spacing: .02em; text-transform: uppercase; text-shadow: 3px 3px 0 #b33d0d; }
.pp-burst span { display: block; margin-top: 8px; font-weight: 700; font-size: 15px; line-height: 1.2; letter-spacing: .02em; }
@keyframes pp-wobble { 0%, 100% { transform: rotate(-8deg) scale(1); } 50% { transform: rotate(-3deg) scale(1.04); } }
.pp-head { flex: 1; min-width: 0; padding-top: 58px; }
.pp-logo { position: absolute; top: 2px; right: 52px; width: 118px; height: auto; }
.pp-title { margin: 0; font: 400 clamp(46px, 6.4vw, 70px)/.92 "Bangers", Impact, "Arial Black", sans-serif; letter-spacing: .015em; text-transform: uppercase; color: var(--pp-cream); text-shadow: 3px 4px 0 var(--pp-shadow), 6px 8px 14px rgba(0, 0, 0, .18); }
.pp-title span { display: block; }
.pp-kicker { margin: 14px 0 0; font-weight: 700; font-size: 15px; letter-spacing: .14em; text-transform: uppercase; }
.pp-main { position: relative; z-index: 2; width: 54%; margin-top: 26px; }
.pp-ticket { display: grid; grid-template-columns: 92px 1fr; min-height: 148px;
  -webkit-mask: radial-gradient(circle at 0 50%, #0000 13px, #000 14px) left / 51% 100% no-repeat, radial-gradient(circle at 100% 50%, #0000 13px, #000 14px) right / 51% 100% no-repeat;
  mask: radial-gradient(circle at 0 50%, #0000 13px, #000 14px) left / 51% 100% no-repeat, radial-gradient(circle at 100% 50%, #0000 13px, #000 14px) right / 51% 100% no-repeat; }
.pp-stub { background: var(--pp-cream); display: grid; place-items: center; border-right: 2px dashed rgba(60, 30, 30, .25); }
.pp-stub i { width: 46px; height: 72%; background: repeating-linear-gradient(180deg, #3b1c1c 0 3px, transparent 3px 5px, #3b1c1c 5px 6px, transparent 6px 9px, #3b1c1c 9px 13px, transparent 13px 15px); }
.pp-deal { background: var(--pp-orange); padding: 14px 26px 16px; text-align: center; display: grid; align-content: center; }
.pp-deal span { font-weight: 700; font-size: 17px; }
.pp-deal b { display: block; margin: 4px 0 6px; font-weight: 700; font-size: 38px; line-height: 1; letter-spacing: .05em; text-transform: uppercase; text-shadow: 2px 2px 0 rgba(120, 35, 5, .35); }
.pp-deal p { margin: 0; font-size: 15px; line-height: 1.35; letter-spacing: .02em; }
.pp-terms { margin: 16px 0 8px; font-size: 13px; line-height: 1.5; color: rgba(255, 255, 255, .9); }
.pp-deadline { margin: 0 0 18px; font-weight: 700; font-style: italic; letter-spacing: .03em; }
.pp-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.pp-claim { appearance: none; border: 0; cursor: pointer; border-radius: 99px; padding: 15px 24px; background: #fff; color: #c2410c; font: 700 16px/1 var(--sans); box-shadow: 0 12px 26px -10px rgba(0, 0, 0, .55); transition: transform .15s, box-shadow .15s; }
.pp-claim:hover { transform: translateY(-2px); box-shadow: 0 16px 30px -10px rgba(0, 0, 0, .6); }
.pp-claim:focus-visible, .pp-call:focus-visible, .pp-x:focus-visible, .pp-no:focus-visible { outline: 3px solid #ffd166; outline-offset: 3px; }
.pp-call { display: inline-flex; align-items: center; gap: 8px; padding: 13px 18px; border-radius: 99px; background: rgba(255, 255, 255, .14); color: #fff; font-weight: 600; text-decoration: none; transition: background .2s; }
.pp-call:hover { background: rgba(255, 255, 255, .24); }
.pp-no { appearance: none; border: 0; background: none; margin-top: 12px; padding: 4px 0; color: rgba(255, 255, 255, .72); font: 500 13px var(--sans); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.pp-art { position: absolute; right: 0; bottom: 0; z-index: 1; width: 45%; max-width: 410px; pointer-events: none; }
.pp-art img { display: block; width: 100%; height: auto; }

/* Phones: a bottom card that leaves the page visible and usable (not a full-screen interstitial) */
@media (max-width: 640px) {
  .promo-pop { position: fixed; inset: auto 0 0 0; margin: 0; width: 100%; max-height: 86dvh; z-index: 70; }
  .promo-pop[open] { animation: pp-up .45s cubic-bezier(.2, .9, .25, 1); }
  .pp { border-radius: 24px 24px 0 0; padding: 16px 16px calc(12px + env(safe-area-inset-bottom)); max-height: 86dvh; box-shadow: 0 -18px 50px -12px rgba(0, 0, 0, .55); }
  .pp-x { top: 10px; right: 10px; width: 34px; height: 34px; font-size: 22px; }
  .pp-web { width: 118px; }
  .pp-logo { display: none; }
  .pp-top { gap: 12px; }
  .pp-burst { width: 104px; }
  .pp-burst b { font-size: 28px; text-shadow: 2px 2px 0 #b33d0d; }
  .pp-burst span { margin-top: 4px; font-size: 9.5px; }
  .pp-head { padding: 0 30px 0 0; }
  .pp-title { font-size: 31px; text-shadow: 2px 3px 0 var(--pp-shadow); }
  .pp-kicker { margin-top: 6px; font-size: 10.5px; letter-spacing: .1em; }
  .pp-main { width: auto; margin-top: 12px; }
  .pp-ticket { grid-template-columns: 56px 1fr; min-height: 0;
    -webkit-mask: radial-gradient(circle at 0 50%, #0000 9px, #000 10px) left / 51% 100% no-repeat, radial-gradient(circle at 100% 50%, #0000 9px, #000 10px) right / 51% 100% no-repeat;
    mask: radial-gradient(circle at 0 50%, #0000 9px, #000 10px) left / 51% 100% no-repeat, radial-gradient(circle at 100% 50%, #0000 9px, #000 10px) right / 51% 100% no-repeat; }
  .pp-stub i { width: 28px; }
  .pp-deal { padding: 9px 16px 10px; }
  .pp-deal span { font-size: 12px; }
  .pp-deal b { margin: 2px 0 3px; font-size: 24px; }
  .pp-deal p { font-size: 12.5px; }
  .pp-terms { margin: 10px 0 4px; font-size: 10.5px; line-height: 1.4; }
  .pp-deadline { margin-bottom: 10px; font-size: 13px; }
  .pp-actions { flex-wrap: nowrap; }
  .pp-claim { flex: 1; padding: 14px 16px; font-size: 15px; }
  .pp-call { padding: 12px 14px; }
  .pp-call span { display: none; }
  .pp-no { display: block; margin: 6px auto 0; }
  .pp-art { display: none; }
}
@keyframes pp-up { from { transform: translateY(100%); } }
@media (prefers-reduced-motion: reduce) { .promo-pop[open], .pp-burst { animation: none; } }
