/* The Ski Doctor */

/* Heading font: LICENSE PLATE (from SKI_DOC.ttf), subset to capitals, digits and punctuation only.
   Its lowercase is an outline style we never use, so it isn't in the file at all.
   One weight; the 100-900 range stops browsers from faking a bold version. */
@font-face {
  font-family: "License Plate";
  src: url("/assets/fonts/license-plate.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}

:root {
  /* Brand green: the accent on the original theskidr.com and the plate logo. */
  --green: #309b65;
  --green-dark: #267d51;
  /* Light tint of the same green, for text on the dark topo background. */
  --green-light: #9fe0bd;
  /* Gold accent, only for the recommended pick: the most popular service and the featured meetup spot. */
  --gold: #f5b301;
  --charcoal: #252525;
  --ink: #1b1b1b;
  --paper: #ffffff;
  --mist: #f2f5f2;
  --muted: #5f6661;
  --radius: 10px;
  /* Shadows: one layered set used everywhere (tight contact shadow + soft spread, tinted to the charcoal).
     sm = small things (FAQ rows, chips); md = cards and photos at rest; lg = hover lift, floating panels; xl = dialogs. */
  --shade: 22 30 26;
  --shadow-sm: 0 1px 2px rgb(var(--shade) / 0.06), 0 2px 6px rgb(var(--shade) / 0.06);
  --shadow-md: 0 1px 3px rgb(var(--shade) / 0.06), 0 6px 14px rgb(var(--shade) / 0.08), 0 16px 32px rgb(var(--shade) / 0.06);
  --shadow-lg: 0 2px 6px rgb(var(--shade) / 0.07), 0 12px 24px rgb(var(--shade) / 0.11), 0 28px 56px rgb(var(--shade) / 0.12);
  --shadow-xl: 0 4px 10px rgb(0 0 0 / 0.12), 0 24px 48px rgb(0 0 0 / 0.25), 0 48px 96px rgb(0 0 0 / 0.2);
  --shadow-btn: 0 1px 2px rgb(0 0 0 / 0.14), 0 4px 12px rgb(48 155 101 / 0.32);
  --shadow-btn-hover: 0 2px 4px rgb(0 0 0 / 0.14), 0 10px 22px rgb(48 155 101 / 0.42);
  --wrap: 1120px;
  --heading: "License Plate", "Barlow Condensed", "Arial Narrow", sans-serif;
  --body: "Barlow", system-ui, -apple-system, "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--body);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
}
img { display: block; max-width: 100%; height: auto; }
a { color: var(--green-dark); }
a:hover { color: var(--green); }

/* Headings are ALWAYS uppercase: the brand font's lowercase is an outline style we never use. */
h1, h2, h3, .kicker, .eyebrow, .btn, .site-nav a {
  font-family: var(--heading);
  text-transform: uppercase;
  letter-spacing: 0.02em;
}
h1, h2, h3 { line-height: 1.2; margin: 0 0 0.5em; font-weight: 700; } /* the plate font is tall: lines that wrap need room so they don't touch */
h1 { font-size: clamp(2.4rem, 7vw, 4.25rem); }
h2 { font-size: clamp(1.9rem, 4.5vw, 2.8rem); }
h3 { font-size: 1.5rem; }
p { margin: 0 0 1em; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 16px; }
.narrow { max-width: 760px; }
.center { text-align: center; }
.muted { color: var(--muted); }
.small { font-size: 0.9rem; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--paper); padding: 8px 12px; z-index: 10; }
.skip:focus { left: 8px; }

/* Buttons */
.btn {
  display: inline-block;
  background: var(--green);
  color: #fff;
  font-size: 1.2rem;
  font-weight: 700;
  padding: 0.7em 1.4em;
  border-radius: 999px;
  text-decoration: none;
  border: 2px solid var(--green);
  transition: background 0.15s, border-color 0.15s, box-shadow 0.2s, transform 0.2s;
}
.btn:hover { background: var(--green-dark); border-color: var(--green-dark); color: #fff; }
.btn-ghost { background: transparent; border-color: #fff; color: #fff; }
.btn-ghost:hover { background: #fff; border-color: #fff; color: var(--charcoal); }
.btn-ghost-dark { background: transparent; border-color: var(--charcoal); color: var(--charcoal); }
.btn-gold { background: var(--gold); border-color: var(--gold); color: var(--charcoal); }
.btn-gold:hover { background: #ffc61a; border-color: #ffc61a; color: var(--charcoal); }
.btn-ghost-dark:hover { background: var(--charcoal); border-color: var(--charcoal); color: #fff; }
.btn-small { font-size: 1rem; padding: 0.45em 1.1em; }
.btn-lg { font-size: 1.4rem; padding: 0.75em 1.6em; }
.btn-xl { font-size: clamp(1.6rem, 4vw, 2.2rem); padding: 0.7em 2.4em; letter-spacing: 0.03em; }
@media (max-width: 600px) { .hero-full .btn-xl { font-size: 1.25rem; padding: 0.65em 1.9em; } } /* phones: smaller Book now in the header */
.btn:not(.btn-ghost):not(.btn-ghost-dark) { box-shadow: var(--shadow-btn); }
.btn:not(.btn-ghost):not(.btn-ghost-dark):hover { box-shadow: var(--shadow-btn-hover); transform: translateY(-1px); }
.btn:active { transform: translateY(1px); }
.btn:focus-visible, button:focus-visible, a:focus-visible, summary:focus-visible { outline: 3px solid var(--green-light); outline-offset: 3px; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 1.25em; }
.actions.center { justify-content: center; }

/* Topo background (dark sections). topo-tile.jpg is topo.jpg with its edges blended so it repeats seamlessly:
   shown at its own size and tiled, so tall sections (and phones) get more map, never a stretched one. */
.topo {
  background: var(--charcoal) url("/assets/img/topo-tile.jpg") center top / 1412px auto repeat;
  color: #fff;
}
.topo a:not(.btn) { color: var(--green-light); }

/* Header: round logo badge with a white ring, wordmark, underlined nav. Slims down once scrolled (site.js). */
.site-header {
  position: sticky; top: 0; z-index: 5;
  background: rgb(37 37 37 / 0.94); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border-bottom: 3px solid var(--green);
  transition: box-shadow 0.25s ease;
}
.site-header.scrolled { box-shadow: 0 2px 6px rgb(0 0 0 / 0.2), 0 10px 30px rgb(0 0 0 / 0.25); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 84px; transition: min-height 0.25s ease; }
.site-header.scrolled .header-inner { min-height: 62px; }
.brand { display: flex; align-items: center; gap: 14px; text-decoration: none; color: #fff; }
.brand img {
  width: 60px; height: 60px; border-radius: 50%; background: #fff;
  box-shadow: 0 0 0 3px #fff, 0 6px 18px rgb(0 0 0 / 0.4);
  transition: width 0.25s ease, height 0.25s ease, margin 0.25s ease, transform 0.25s ease;
}
.brand:hover img { transform: rotate(-6deg) scale(1.04); }
.site-header.scrolled .brand img { width: 46px; height: 46px; }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-name { font: 700 1.55rem var(--heading); text-transform: uppercase; letter-spacing: 0.03em; }
.brand-tag { font-size: 0.8rem; color: var(--green-light); margin-top: 4px; letter-spacing: 0.02em; }
.site-nav { display: flex; align-items: center; gap: 26px; }
.site-nav a:not(.btn) { position: relative; color: #fff; text-decoration: none; font-size: 1.15rem; font-weight: 600; padding: 6px 0; }
.site-nav a:not(.btn)::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; border-radius: 2px;
  background: var(--green); transform: scaleX(0); transform-origin: left; transition: transform 0.2s ease;
}
.site-nav a:not(.btn):hover::after, .site-nav a[aria-current="page"]:not(.btn)::after { transform: scaleX(1); }
.site-nav a[aria-current="page"]:not(.btn) { color: var(--green-light); }
.site-nav .btn { font-size: 1.1rem; padding: 0.55em 1.4em; }
.nav-toggle { display: none; }
@media (max-width: 1000px) { .brand-tag { display: none; } }
@media (max-width: 860px) { .brand-name { font-size: 1.3rem; } .site-nav { gap: 18px; } }

@media (max-width: 760px) {
  .header-inner { min-height: 64px; }
  .brand img { width: 46px; height: 46px; }
  .brand-name { font-size: 1.2rem; }
  .nav-toggle {
    display: grid; place-items: center; width: 46px; height: 46px; padding: 0;
    background: none; border: 2px solid rgb(255 255 255 / 0.6); border-radius: 12px; cursor: pointer;
  }
  .burger { display: grid; gap: 5px; width: 22px; }
  .burger span { display: block; height: 3px; border-radius: 2px; background: #fff; transition: transform 0.25s ease, opacity 0.2s ease; }
  .nav-toggle[aria-expanded="true"] .burger span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] .burger span:nth-child(2) { opacity: 0; }
  .nav-toggle[aria-expanded="true"] .burger span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
  .site-nav {
    display: flex; visibility: hidden; opacity: 0; transform: translateY(-8px);
    position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--charcoal); padding: 8px 16px 20px; border-bottom: 3px solid var(--green);
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
  }
  .site-nav.open { visibility: visible; opacity: 1; transform: none; }
  .site-nav a:not(.btn) { padding: 14px 0; border-bottom: 1px solid #3a3a3a; }
  .site-nav a:not(.btn)::after { display: none; }
  .site-nav .btn { margin-top: 16px; text-align: center; }
}
@media (prefers-reduced-motion: reduce) {
  .site-header, .header-inner, .brand img, .site-nav, .burger span, .site-nav a::after { transition: none; }
}

/* Hero */
.hero { padding: 56px 0; }
.hero-inner { display: grid; gap: 32px; align-items: center; }
.hero .eyebrow { display: block; color: var(--green-light); font-size: 0.55em; }
.hero .lead, .lead { font-size: 1.2rem; }
.hero-photo img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); }
@media (min-width: 900px) {
  .hero { padding: 88px 0; }
  .hero-inner { grid-template-columns: 1.1fr 1fr; }
}

/* Full-bleed photo hero (home) */
.hero-full { position: relative; min-height: min(86vh, 760px); display: flex; align-items: flex-end; color: #fff; overflow: hidden; background: var(--charcoal); }
.hero-full > img, .hero-full > picture > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
/* Photos show at their real brightness (Andrew's rule): no shade over them; text shadows keep the words readable. */
.hero-full-inner { position: relative; z-index: 1; padding-top: 120px; padding-bottom: 48px; }
.hero-full h1 { font-size: clamp(2.8rem, 9vw, 5.5rem); max-width: 12ch; text-shadow: 0 2px 4px rgb(0 0 0 / 0.5), 0 0 22px rgb(0 0 0 / 0.55), 0 4px 40px rgb(0 0 0 / 0.5); }
.hero-full h1.hero-big { font-size: clamp(4.5rem, 16vw, 10rem); max-width: none; line-height: 1.05; } /* one-word titles like EVENTS */
.hero-full .lead { text-shadow: 0 1px 3px rgb(0 0 0 / 0.75), 0 0 14px rgb(0 0 0 / 0.6); }
/* Home: MOBILE big, ski & snowboard smaller on its own line, TUNING big. */
.hero-full h1.h1-stack { max-width: none; line-height: 1.08; font-size: clamp(3.6rem, 13vw, 8rem); }
.h1-stack span { display: block; }
.h1-stack .h1-small { font-size: 0.42em; letter-spacing: 0.06em; line-height: 1.2; margin: 0.3em 0 0.28em; }
/* Centered banner (Home, Events): heading, line, and buttons centered. */
.hero-center .hero-full-inner { text-align: center; }
.hero-center h1, .hero-center .lead { margin-left: auto; margin-right: auto; }
.hero-full.hero-center .lead { max-width: 58ch; }
/* Shorter photo banner for pages where the action is right below (Book a house call). */
.hero-full.hero-short { min-height: min(46vh, 420px); } /* Events, Pop-ups */
.hero-short .hero-full-inner { padding-top: 90px; padding-bottom: 40px; }
.hero-full.hero-house { min-height: min(64vh, 600px); }
/* House call or event? banner: two photos side by side, each filling half. */
.hero-full.hero-split { min-height: min(56vh, 520px); align-items: center; }
.hero-split > img { width: 50%; }
.hero-split > img:nth-of-type(1) { left: 0; right: auto; object-position: center 35%; }
.hero-split > img:nth-of-type(2) { left: auto; right: 0; object-position: center 60%; filter: brightness(1.12); }
.hero-split .hero-full-inner { padding-top: 56px; padding-bottom: 56px; }
/* Title on a light white panel with dark text, so it reads over the busy photos. */
.hero-title-panel {
  display: inline-block; padding: 18px 30px 16px; border-radius: 18px;
  background: rgb(255 255 255 / 0.88); box-shadow: var(--shadow-lg);
}
.hero-full .hero-title-panel h1 { margin: 0; max-width: none; color: var(--charcoal); text-shadow: none; }
.hero-full .hero-title-panel .lead { margin: 8px 0 0; color: var(--ink); text-shadow: none; }
/* The two choice cards sit on the banner, under the title. */
.hero-split .choose { margin: 26px auto 0; max-width: 820px; }
.hero-split .choose-card { color: var(--ink); text-shadow: none; box-shadow: var(--shadow-xl); }
.hero-split .muted { margin: 18px 0 0; color: #fff; text-shadow: 0 1px 3px rgb(0 0 0 / 0.8), 0 0 12px rgb(0 0 0 / 0.6); }
.hero-split .muted a { color: #fff; }
/* Book page title on one line at every width (phones size it down below). */
.hero-full.hero-split .hero-title-panel h1 { white-space: nowrap; font-size: clamp(1.3rem, 6.4vw, 4.2rem); line-height: 1.1; }
/* Book page cards: a real photo on top with the title on it (white, shadowed, photo not darkened), quick check points,
   then the button. Event first. */
.book-choice .choose-card { display: flex; flex-direction: column; padding: 0; overflow: hidden; text-align: left; border: 0; border-radius: 20px; }
.book-choice .choose-card { align-items: stretch; }
.book-choice .choose-photo { position: relative; height: 190px; flex: none; width: 100%; align-self: stretch; }
.book-choice .choose-tag { white-space: nowrap; }
.book-choice .choose-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center var(--photo-y, 50%); transition: transform 0.5s ease; }
.book-choice .choose-card:hover .choose-photo img { transform: scale(1.04); }
.book-choice .choose-photo h2 { position: absolute; left: 18px; bottom: 12px; margin: 0; color: #fff; font-size: 2.3rem; text-shadow: 0 2px 4px rgb(0 0 0 / 0.85), 0 0 18px rgb(0 0 0 / 0.55); }
.book-choice .choose-tag { position: absolute; left: 14px; top: 14px; padding: 5px 12px; border-radius: 999px; background: var(--gold); color: var(--charcoal); font: 700 0.8rem var(--body); box-shadow: var(--shadow-md); }
.book-choice .choose-body { display: flex; flex-direction: column; flex: 1; padding: 16px 20px 16px; }
.book-choice .choose-points { list-style: none; margin: 0 0 16px; padding: 0; display: grid; gap: 8px; flex: 1; }
.book-choice .choose-points li { display: flex; gap: 10px; align-items: flex-start; color: var(--ink); font-weight: 500; line-height: 1.35; }
.book-choice .choose-points svg { flex: none; width: 22px; height: 22px; padding: 3px; border-radius: 50%; background: var(--green); color: #fff; margin-top: -1px; }
.book-choice .choose-learn { align-self: center; }
@media (max-width: 859px) { .book-choice .choose-card { display: flex; padding: 0; } }
/* Phones: both choices visible on load. Title and subtitle each on one line, sized to the screen, and tighter cards. */
@media (max-width: 600px) {
  .hero-split .hero-full-inner { padding-top: 18px; padding-bottom: 22px; }
  .hero-split .hero-title-panel { padding: 12px 14px; }
  .hero-split .choose { margin-top: 12px; gap: 12px; }
  .book-choice .choose-photo { height: 92px; }
  .book-choice .choose-photo h2 { font-size: 1.7rem; left: 14px; bottom: 8px; }
  .book-choice .choose-tag { top: 10px; right: 10px; left: auto; padding: 3px 10px; font-size: 0.72rem; }
  .book-choice .choose-body { padding: 10px 14px 10px; }
  .book-choice .choose-points { gap: 4px; margin-bottom: 10px; }
  .book-choice .choose-points li { font-size: 0.88rem; }
  .book-choice .choose-points svg { width: 18px; height: 18px; }
  .hero-split .choose-card .btn { padding-top: 0.55em; padding-bottom: 0.55em; }
  .hero-split .choose-learn { margin-top: 4px; }
  .hero-split .muted { margin-top: 12px; }
}
.hero-full.hero-house > img { object-position: center 58%; filter: brightness(1.12); } /* overcast photo, lifted a touch */
/* Book a house call: the photo with the title, then the city/ZIP step on a white card over the dark topo;
   the band is gone once they move on (meetup picker or booking). */
.hero-full.hero-book { min-height: min(46vh, 420px); }
.book-start-band { padding: 40px 0 48px; }
.book-start-band:has(#book-where[hidden]) { display: none; }
.book-ok-card { margin-top: 22px; }
.book-ok-card:has(#book-ok[hidden]) { display: none; }
.book-start {
  max-width: 600px; margin: 0 auto; padding: 26px 26px 22px; text-align: center;
  background: #fff; color: var(--ink); border-radius: 16px; box-shadow: var(--shadow-xl); text-shadow: none;
}
.book-start .lead { color: var(--ink); text-shadow: none; max-width: none; font-size: 1.1rem; margin: 0; }
.book-start .locator-form { margin: 16px 0 0; }
.book-start .locator-form input { border-color: #cfd8d1; }
.book-start .meetup-link, .book-start #book-ok a { color: var(--green-dark); }
.book-start .meetup-link:hover { color: var(--green); }
.book-start .suggest-list { text-align: left; }
@media (max-width: 600px) { .book-start { padding: 20px 16px 16px; } }
/* Under the city/ZIP box: OR, then meet us in Summit County or come to a pop-up. */
.or-divider { display: flex; align-items: center; gap: 12px; margin: 18px 0 14px; color: var(--muted); font-weight: 700; text-transform: uppercase; letter-spacing: .1em; font-size: .85rem; }
.or-divider::before, .or-divider::after { content: ""; flex: 1; height: 1px; background: #d7e2d9; }
.area-choices { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.area-choices > :only-child { grid-column: 1 / -1; justify-content: center; } /* one choice: full width */
.area-choice {
  display: flex; align-items: center; justify-content: center; gap: 10px; padding: 12px 14px; min-height: 54px;
  border: 1.5px solid #cfd8d1; border-radius: 12px; background: var(--mist); color: var(--charcoal);
  font: inherit; font-weight: 700; line-height: 1.25; text-align: left; text-decoration: none; cursor: pointer;
}
.area-choice:hover { border-color: var(--green); color: var(--green-dark); }
.area-choice .car-icon { color: var(--green); }
@media (max-width: 520px) { .area-choices { grid-template-columns: 1fr; } }
.hero-center .actions { justify-content: center; }
/* Home banner buttons: visible borders so they pop off the photo. */
.hero-van .actions .btn { border-width: 3px; border-color: #fff; }
.hero-van .actions .btn-white { border-color: var(--green); }
.hero-van .actions .btn:hover { border-color: var(--green-light); }
.hero-full .eyebrow { color: var(--green-light); font-size: 1.3rem; margin-bottom: 0.4em; }
.hero-full .lead { font-size: 1.3rem; max-width: 34ch; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 28px 0 0; }
.chips li {
  font: 700 1rem var(--heading); text-transform: uppercase; letter-spacing: 0.04em;
  padding: 6px 14px; border-radius: 999px;
  background: rgb(255 255 255 / 0.12); border: 1px solid rgb(255 255 255 / 0.3);
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
}
@media (min-width: 900px) { .hero-full-inner { padding-bottom: 80px; } }
/* Phones: shorter photo banners so the next section peeks in, and less empty space above the title. */
@media (max-width: 760px) {
  .hero-full { min-height: min(62vh, 520px); }
  .hero-full.hero-short { min-height: min(30vh, 250px); } .hero-short .hero-full-inner { padding-top: 56px; padding-bottom: 20px; } /* Events, Pop-ups: a shorter banner so the content shows sooner */
  .hero-events > img { object-position: center 50%; transform: scale(1.5); transform-origin: 50% 54%; } /* Events: zoomed in like the desktop crop (jerseys and van, less sky) */
  .hero-full-inner { padding-top: 64px; padding-bottom: 32px; }
  .hero-full h1.h1-stack { font-size: clamp(3.4rem, 18vw, 5rem); }
}

/* How it works */
.how { list-style: none; padding: 0; margin: 32px 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
/* Phones: keep all three steps side by side, just smaller. */
@media (max-width: 759px) {
  .how { gap: 8px; margin: 24px 0 8px; }
  .how li { padding: 16px 8px; }
  .how-num { width: 40px; height: 40px; font-size: 1.4rem; margin-bottom: 8px; }
  .how h3 { font-size: 1.05rem; }
  .how p { font-size: 0.8rem; line-height: 1.35; }
}
.how li { text-align: center; padding: 28px 20px; border-radius: var(--radius); background: var(--mist); }
.how-num {
  display: inline-grid; place-items: center; width: 56px; height: 56px; margin-bottom: 12px;
  border-radius: 50%; background: var(--green); color: #fff; font: 700 1.8rem var(--heading);
}
.how h3 { margin: 0; }
.how p { margin: 0; color: var(--muted); }

/* Quiz */
.quiz { background: #fff; border-radius: 16px; padding: 0 22px 28px; box-shadow: var(--shadow-lg); text-align: center; overflow: hidden; }
/* Heading band attached to the top of the quiz card */
.quiz-head { background: var(--green); color: #fff; margin: 0 -22px 26px; padding: 22px 22px 18px; }
.quiz-head h2 { color: #fff; margin: 0 0 4px; font-size: clamp(1.9rem, 5vw, 2.6rem); }
.quiz-head p { margin: 0; opacity: 0.9; }
.quiz-q { font: 700 clamp(1.5rem, 4vw, 2rem)/1.15 var(--heading); text-transform: uppercase; margin-bottom: 20px; }
.quiz-a { display: flex; justify-content: center; gap: 12px; }
.quiz-a button {
  font: 700 1.3rem var(--heading); text-transform: uppercase; min-width: 120px; padding: 14px 20px;
  border-radius: 999px; border: 2px solid var(--green); background: #fff; color: var(--green-dark); cursor: pointer;
  transition: background 0.15s, color 0.15s;
}
.quiz-a button:hover { background: var(--green); color: #fff; }
.quiz-label { font: 700 1.1rem/1.2 var(--heading); text-transform: uppercase; letter-spacing: 0.08em; color: var(--green); margin: 0 0 8px; }
.quiz-result h3 { font-size: 2.4rem; line-height: 1.2; margin-top: 0; }
.quiz-result .price { color: var(--green); }
.quiz-section { background: linear-gradient(180deg, var(--paper), var(--mist)); }

/* Reviews */
.reviews { display: grid; gap: 18px; margin: 28px 0; }
@media (min-width: 760px) { .reviews { grid-template-columns: repeat(3, 1fr); } }
.review { margin: 0; background: #fff; color: var(--ink); border-radius: var(--radius); padding: 24px; }
.review .stars { color: #f5b301; font-size: 1.2rem; letter-spacing: 2px; }
.review blockquote { margin: 10px 0; }
.review figcaption { font-weight: 700; }

/* FAQ */
.faq details { background: #fff; border-radius: var(--radius); margin-bottom: 10px; box-shadow: var(--shadow-sm); }
.faq summary {
  cursor: pointer; list-style: none; padding: 18px 52px 18px 20px; position: relative;
  font-weight: 700; font-size: 1.1rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; position: absolute; right: 20px; top: 50%; transform: translateY(-50%);
  font: 700 1.6rem var(--heading); color: var(--green); transition: transform 0.2s;
}
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq details p { padding: 0 20px 18px; margin: 0; }

/* Closing call to action */
.cta { padding: 80px 0; }
.cta .lead { margin-left: auto; margin-right: auto; max-width: 40ch; }

/* Sticky Book bar on phones */
.book-bar { display: none; }
@media (max-width: 760px) {
  .book-bar {
    display: block; position: fixed; left: 0; right: 0; bottom: 0; z-index: 6;
    padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
    background: rgb(37 37 37 / 0.92); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  }
  .book-bar .btn { display: block; text-align: center; }
  body:has(.book-bar) { padding-bottom: 76px; }
}

.kicker { color: var(--green); font-size: 1.35rem; font-weight: 700; }
.topo .kicker { color: var(--green-light); }
.note { font-style: italic; color: var(--muted); }

/* Sections */
.section { padding: 64px 0; }
@media (max-width: 760px) { .section { padding: 24px 0; } .cta { padding: 32px 0; } } /* phones: less empty space above and below each section */
.section.alt { background: var(--mist); }
.split { display: grid; gap: 32px; align-items: center; }
@media (min-width: 900px) {
  .split { grid-template-columns: 1fr 1fr; gap: 56px; }
  .split.reverse > :first-child { order: 2; }
}

.photo-stack { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.photo-stack img { width: 100%; height: 100%; aspect-ratio: 1; object-fit: cover; border-radius: var(--radius); }
.photo-stack img:first-child { grid-column: 1 / -1; aspect-ratio: 16 / 10; }

.gallery { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.gallery img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: var(--radius); }
@media (min-width: 900px) { .gallery { grid-template-columns: repeat(3, 1fr); gap: 14px; } }

/* Service + product cards */
.cards { display: grid; gap: 18px; margin: 28px 0; }
@media (min-width: 760px) { .cards { grid-template-columns: repeat(3, 1fr); } }
.card {
  background: var(--paper);
  color: var(--ink);
  border-top: 6px solid var(--green);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow-md);
}
.card .price { font: 700 2rem var(--heading); color: var(--green); margin: 0 0 0.4em; }
.product { text-align: center; }
.product img { width: 70%; max-width: 220px; margin: 0 auto 16px; }
.shop-gift { margin: 32px 0 56px; }
.shop-gift img { border-radius: var(--radius); }


.checks, .steps { padding-left: 1.3em; }
.checks li, .steps li { margin-bottom: 0.6em; }
.checks li::marker { content: "✓  "; color: var(--green); font-weight: 700; }
.steps li::marker { font-weight: 700; color: var(--green); }
.topo .steps li::marker { color: var(--green-light); }
/* Events "Event day" and "Booking process": the steps sit on a white card in bigger type, off the busy topo lines. */
section[aria-labelledby="day-h"] .steps, section[aria-labelledby="booking-h"] .steps, .steps-card {
  background: #fff; color: var(--ink); border-radius: var(--radius); box-shadow: var(--shadow-md);
  padding: 22px 26px 12px 2.6em; font-size: 1.08rem; line-height: 1.55;
}
section[aria-labelledby="day-h"] .steps li, section[aria-labelledby="booking-h"] .steps li, .steps-card li { margin-bottom: 0.85em; }
.topo .steps-card li::marker { color: var(--green); }
.topo .steps-card a { color: var(--green-dark); }
section[aria-labelledby="booking-h"] .steps li::marker { color: var(--green); }
section[aria-labelledby="booking-h"] .steps a { color: var(--green-dark); }
/* Events "Public pop-ups": the words on a white card (easier to read than on the topo lines), the photo with rounded corners. */
.public-card { background: #fff; color: var(--ink); border-radius: var(--radius); box-shadow: var(--shadow-lg); padding: 28px 30px; font-size: 1.05rem; }
.public-card h2 { color: var(--charcoal); }
.public-card .actions { margin-top: 18px; }
.public-photo img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 18px; box-shadow: var(--shadow-lg); border: 4px solid #fff; }


/* Locator */
.locator { min-height: 60vh; }
.locator-form { display: flex; gap: 10px; flex-wrap: wrap; margin: 20px 0; }
.locator-form input {
  flex: 1 1 240px; font: inherit; padding: 12px 16px;
  border-radius: 999px; border: 2px solid #fff; background: #fff; color: var(--ink);
}
.locator-result { background: #fff; color: var(--ink); border-radius: var(--radius); padding: 24px; margin-bottom: 20px; border-left: 8px solid var(--green); }
.locator-result.no { border-left-color: #c9a227; }

/* Footer */
.site-footer { padding: 32px 0 24px; text-align: center; }
/* Legal notes and photo credits, the very bottom of every page. */
.legal-strip { padding: 10px 0 14px; background: #1b1b1b; color: rgb(255 255 255 / 0.6); font-size: 0.72rem; line-height: 1.45; text-align: center; }
.legal-strip p { margin: 0 auto 4px; max-width: 900px; }
.legal-strip a { color: rgb(255 255 255 / 0.8); }
.footer-inner { display: flex; flex-direction: column; align-items: center; gap: 14px; }
/* Logo and Book now side by side, to keep the footer compact. */
.footer-top { display: flex; align-items: center; justify-content: center; gap: 22px; flex-wrap: wrap; }
/* Ski tag (license plate) logo; the file is square with space around the plate, so crop to the plate. */
.footer-logo { width: 150px; height: 82px; object-fit: cover; }
.footer-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 26px; }
.site-footer a { color: #fff; text-decoration: none; font-weight: 600; }
.site-footer a:hover { color: var(--green-light); }
.social { display: flex; gap: 18px; }
.fine { font-size: 0.85rem; color: #bbb; margin: 0; }

/* Tip page (standalone, opened from QR codes) */
.tip-page { min-height: 100vh; min-height: 100dvh; display: grid; place-items: center; padding: 32px 16px; }
.tip { width: 100%; max-width: 440px; text-align: center; }
.tip-logo { width: 180px; margin: 0 auto 20px; }
.tip h1 { font-size: min(3.6rem, calc((100vw - 32px) / 6.25)); white-space: nowrap; margin-bottom: 0.1em; }
.tip h2 { font-size: 1.6rem; color: var(--green-light); }
/* Scales with the screen so the intro always fits on two lines */
.tip-intro {
  font-size: min(16px, calc((100vw - 52px) * 0.056)); text-wrap: balance;
  background: #252525; color: #fff; border-radius: 10px; padding: 8px 10px;
}
.tip-buttons { display: grid; gap: 14px; margin: 28px 0; }
.tip-btn {
  display: flex; align-items: center; gap: 16px;
  background: #fff; color: var(--ink) !important;
  border-radius: 14px; padding: 14px 20px;
  text-decoration: none; font-size: 1.15rem; text-align: left;
  border: 3px solid transparent;
  box-shadow: 0 8px 24px rgb(0 0 0 / 0.45);
  transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.2s;
}
.tip-btn.venmo {
  border-color: #008cff;
  animation: tip-btn-glow-blue 2.4s ease-in-out infinite;
}
.tip-btn.google {
  background: linear-gradient(#fff, #fff) padding-box,
    linear-gradient(90deg, #ff3b30, #ff9500, #ffcc00, #34c759, #007aff, #af52de) border-box;
  animation: tip-btn-glow-rainbow 2.4s ease-in-out infinite;
}
@keyframes tip-btn-glow-blue {
  0%, 100% { box-shadow: 0 8px 24px rgb(0 0 0 / 0.45), 0 0 0 0 rgb(0 140 255 / 0); }
  50% { box-shadow: 0 8px 24px rgb(0 0 0 / 0.45), 0 0 18px 4px rgb(0 140 255 / 0.8); }
}
@keyframes tip-btn-glow-rainbow {
  0%, 100% { box-shadow: 0 8px 24px rgb(0 0 0 / 0.45), -8px 0 14px 0 rgb(255 59 48 / 0), 0 -6px 14px 0 rgb(255 204 0 / 0), 0 6px 14px 0 rgb(52 199 89 / 0), 8px 0 14px 0 rgb(175 82 222 / 0); }
  50% { box-shadow: 0 8px 24px rgb(0 0 0 / 0.45), -8px 0 14px 0 rgb(255 59 48 / 0.8), 0 -6px 14px 0 rgb(255 204 0 / 0.6), 0 6px 14px 0 rgb(52 199 89 / 0.7), 8px 0 14px 0 rgb(175 82 222 / 0.8); }
}
.tip-btn img, .tip-btn svg { width: 40px; height: 40px; flex: none; border-radius: 9px; transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1); }
@media (hover: hover) {
  .tip-btn:hover { transform: translateY(-6px) scale(1.04); }
  .tip-btn:hover img, .tip-btn:hover svg { transform: rotate(-8deg) scale(1.18); }
  .tip-btn.venmo:hover {
    animation: none;
    box-shadow: 0 14px 30px rgb(0 0 0 / 0.5), 0 0 28px 8px rgb(0 140 255 / 0.95);
  }
  .tip-btn.google:hover {
    animation: none;
    box-shadow: 0 14px 30px rgb(0 0 0 / 0.5), -10px 0 22px 2px rgb(255 59 48 / 0.95), 0 -8px 22px 2px rgb(255 204 0 / 0.8), 0 8px 22px 2px rgb(52 199 89 / 0.85), 10px 0 22px 2px rgb(175 82 222 / 0.95);
  }
}
.tip-btn:active { transform: scale(0.98); }
@media (prefers-reduced-motion: reduce) {
  .tip-btn.venmo, .tip-btn.google { animation: none; }
  .tip-btn, .tip-btn img, .tip-btn svg { transition: none; }
}
.tip-btn strong { display: block; font: 700 1.4rem var(--heading); text-transform: uppercase; }
.tip-stars { display: flex; justify-content: center; gap: 6px; margin-bottom: 12px; }
.tip-stars svg {
  width: 32px; height: 32px; flex: none;
  filter: drop-shadow(0 0 8px rgb(255 200 40 / 0.95)) drop-shadow(0 0 3px rgb(255 225 110 / 0.9));
}
.tip-btn.google { margin-bottom: 28px; }
.tip-footer { border-top: 1px solid rgb(255 255 255 / 0.25); padding-top: 18px; }
.tip-footer p { display: inline-block; margin: 0; background: #252525; color: #fff; border-radius: 10px; padding: 8px 14px; }
.tip-footer a { font-weight: 600; }

/* Subtle lift on cards and photos */
.card, .how li { transition: transform 0.2s, box-shadow 0.2s; }
@media (hover: hover) {
  .card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
}
.gallery img, .photo-stack img { box-shadow: var(--shadow-md); }

/* Service cards with a photo on top */
.card.service { padding: 0; overflow: hidden; display: flex; flex-direction: column; }
.card.service img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.card.service .card-body { padding: 22px 24px 24px; }

/* Book page: Square Appointments embedded */
.book-head { padding: 48px 0 36px; }
.book-head h1 { font-size: clamp(2.4rem, 7vw, 3.8rem); }
.book-embed { padding: 32px 0 56px; }
@media (max-width: 760px) { .book-embed { padding: 24px 0 32px; } }

/* House-call booking form (booking-form.js): white step cards on the topo, booked into Square. */
.bk-form, .bk-done { max-width: 900px; margin: 0 auto; }
/* Progress bar above the booking: dots on a line, green up to the current step. */
/* Book a house call: full-width van photo above the footer. */
.van-band img { display: block; width: 100%; height: clamp(220px, 38vw, 520px); object-fit: cover; object-position: center 55%; }
/* In the page at the bottom of the screen that's showing, above the footer (and above the where card). */
.bk-dock { margin: 28px auto 22px; }
.bk-progress { display: flex; max-width: 640px; margin: 0 auto; padding: 0; list-style: none; counter-reset: none; }
.bk-progress li { position: relative; flex: 1; display: flex; flex-direction: column; align-items: center; gap: 6px; color: rgb(255 255 255 / 0.7); font-weight: 600; font-size: 0.95rem; text-align: center; }
.bk-progress li::before { content: ""; position: absolute; top: 9px; right: 50%; width: 100%; height: 4px; background: rgb(255 255 255 / 0.25); z-index: 0; }
.bk-progress li:first-child::before { display: none; }
.bk-progress li.done::before, .bk-progress li.now::before { background: var(--green); }
.bk-dot { position: relative; z-index: 1; width: 22px; height: 22px; border-radius: 50%; background: #3a3a3a; border: 3px solid rgb(255 255 255 / 0.35); }
.bk-progress li.done .bk-dot { background: var(--green); border-color: var(--green); }
.bk-progress li.done .bk-dot::after { content: "✓"; position: absolute; inset: 0; display: grid; place-items: center; color: #fff; font-size: 12px; font-weight: 700; }
.bk-progress li.now { color: #fff; }
.bk-progress li.now .bk-dot { background: #fff; border-color: var(--green); }
.bk-progress li.done { color: #fff; }
@media (max-width: 600px) { .bk-progress li { font-size: 0.8rem; } }
/* The where card under the booking. */
#book-step2 .book-ok-card { margin: 0 auto 18px; }
/* Not on the Request sent / You're booked screen: that card already lists where. */
#book-step2:has(#bk-done:not([hidden])) .book-ok-card { display: none; }
.bk-form [hidden], .bk-form[hidden], .bk-done[hidden] { display: none; }
.bk-step { margin: 0 0 18px; padding: 24px; background: #fff; color: var(--ink); border-radius: 16px; box-shadow: var(--shadow-lg); }
.bk-step h2 { display: flex; align-items: center; gap: 12px; margin: 0 0 6px; font-size: 1.7rem; }
.bk-num { display: grid; place-items: center; flex: none; width: 34px; height: 34px; border-radius: 50%; background: var(--green); color: #fff; font-size: 1.1rem; }
.bk-muted { color: var(--muted); }
.bk-step a:not(.btn) { color: var(--green-dark); }
.bk-services { display: grid; gap: 12px; margin-top: 16px; }
.bk-service { display: grid; grid-template-columns: 76px 1fr auto; gap: 14px; align-items: center; padding: 12px; border: 2px solid #e1e8e3; border-radius: 14px; }
.bk-service.picked { border-color: var(--green); background: #f2faf5; }
.bk-service img { width: 76px; height: 76px; object-fit: cover; border-radius: 10px; }
.bk-service h3 { margin: 0; font-size: 1.35rem; }
.bk-service p { margin: 2px 0 0; }
.bk-price { font-weight: 700; color: var(--green-dark); }
.bk-desc { font-size: .9rem; color: var(--muted); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.bk-qty { display: flex; align-items: center; gap: 6px; }
.bk-form .bk-qty input { width: 56px; height: 46px; padding: 0; text-align: center; font-weight: 700; font-size: 1.1rem; -moz-appearance: textfield; }
.bk-qty input::-webkit-inner-spin-button, .bk-qty input::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
.bk-qty button { font-size: 1.4rem; line-height: 1; }
.bk-qty button, .bk-time-grid button {
  border: 1.5px solid #cfd8d1; background: #fff; color: var(--charcoal); font: inherit; font-weight: 700; cursor: pointer; border-radius: 10px;
}
.bk-qty button { min-width: 46px; height: 46px; }
.bk-qty button:hover, .bk-time-grid button:hover { border-color: var(--green); }
.bk-form .bk-service.picked .bk-qty input { border-color: var(--green); }
.bk-time-grid button[aria-pressed="true"] { background: var(--green); border-color: var(--green); color: #fff; }
.bk-total { margin: 14px 0 0; font-size: 1.05rem; }
.bk-total:empty { display: none; }
.bk-when-pick { display: grid; grid-template-columns: minmax(0, 340px) 1fr; gap: 24px; align-items: start; margin-top: 12px; }
.bk-cal { padding: 12px; border: 2px solid #e1e8e3; border-radius: 14px; }
.bk-cal-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px; }
.bk-cal-head h3 { margin: 0; font-size: 1.3rem; }
.bk-cal-nav { width: 38px; height: 38px; border: 1.5px solid #cfd8d1; border-radius: 50%; background: #fff; font-size: 1.4rem; line-height: 1; cursor: pointer; color: var(--charcoal); }
.bk-cal-nav:hover:not(:disabled) { border-color: var(--green); color: var(--green-dark); }
.bk-cal-nav:disabled { opacity: .3; cursor: default; }
.bk-cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; text-align: center; }
.bk-cal-dow { font-size: .75rem; font-weight: 700; color: var(--muted); padding: 4px 0; }
.bk-cal-grid button { aspect-ratio: 1; border: 0; border-radius: 10px; background: none; font: inherit; font-weight: 600; color: #b5bcb7; cursor: default; }
.bk-cal-grid button.has-times { background: #e7f4ec; color: var(--green-dark); cursor: pointer; }
.bk-cal-grid button.has-times:hover { background: #d3ecdd; }
.bk-cal-grid button[aria-pressed="true"] { background: var(--green); color: #fff; }
.bk-day-title { margin: 4px 0 10px; font-weight: 700; }
.bk-time-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); gap: 8px; }
.bk-time-grid button { padding: 10px 0; }
.bk-when-line { margin: 0 0 14px; }
.bk-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 14px; margin: 0 0 14px; padding: 0; border: 0; min-width: 0; }
.bk-grid legend { padding: 0; margin-bottom: 8px; font-weight: 700; }
.bk-form label { display: grid; gap: 4px; font-weight: 600; font-size: .95rem; }
.bk-form .bk-wide { grid-column: 1 / -1; }
.bk-form > .bk-step > label.bk-wide { margin-bottom: 14px; }
.bk-form input, .bk-form textarea { width: 100%; padding: 11px 12px; border: 1.5px solid #cfd8d1; border-radius: 10px; font: inherit; font-weight: 400; background: #fff; color: var(--ink); }
.bk-form input:focus, .bk-form textarea:focus { outline: 2px solid var(--green); border-color: var(--green); }
.bk-form .hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.bk-spot { margin: 0 0 14px; padding: 12px 14px; background: #f2faf5; border-radius: 10px; }
.bk-error { margin: 0 0 12px; padding: 10px 14px; background: #fdecea; color: #8c1d18; border-radius: 10px; font-weight: 600; }
/* Back / Next under each step: Next (or Preview / Send) on the right, Back on the left. */
.bk-nav { display: flex; align-items: center; justify-content: flex-end; gap: 16px; margin-top: 20px; padding-top: 16px; border-top: 1px solid #e4eae5; }
.bk-back { margin-right: auto; padding: 8px 4px; border: 0; background: none; color: var(--green-dark); font: inherit; font-weight: 700; cursor: pointer; }
.bk-back:hover { text-decoration: underline; }
.bk-nav .btn:disabled { opacity: .4; cursor: not-allowed; box-shadow: none; transform: none; }
.bk-step .bk-error { margin-top: 14px; }
#bk-review .bk-nav + .small { margin: 12px 0 0; text-align: right; }
.bk-done { text-align: center; max-width: 640px; margin: 0 auto 18px; }
.bk-done h2 { justify-content: center; }
.bk-done dl { display: grid; grid-template-columns: auto 1fr; gap: 6px 16px; width: fit-content; max-width: 100%; margin: 16px auto; text-align: left; }
.bk-done dt { font-weight: 700; color: var(--muted); }
.bk-done dd { margin: 0; }
.bk-help { margin-top: 8px; }
@media (max-width: 600px) {
  .bk-step { padding: 18px 16px; }
  .bk-service { grid-template-columns: 56px 1fr; }
  .bk-service img { width: 56px; height: 56px; }
  .bk-qty { grid-column: 1 / -1; justify-content: flex-end; }
  .bk-grid { grid-template-columns: 1fr; }
}
@media (max-width: 760px) { .bk-when-pick { grid-template-columns: 1fr; } }


/* Booking page, step 1 (where are you?) */
.book-head .locator-form { max-width: 560px; margin: 16px auto 0; }
.book-head .locator-result { text-align: left; max-width: 560px; margin: 16px auto 0; }
.book-head .locator-result h2 { font-size: 1.8rem; }
#book-ok a { color: var(--green-light); white-space: nowrap; }

/* City/ZIP suggestions on the booking page */
.suggest { position: relative; flex: 1 1 240px; }
.suggest input { width: 100%; }
.suggest-list {
  position: absolute; left: 0; right: 0; top: calc(100% + 6px); z-index: 4;
  list-style: none; margin: 0; padding: 6px; text-align: left;
  background: #fff; color: var(--ink); border-radius: 14px; box-shadow: 0 12px 32px rgb(0 0 0 / 0.3);
}
.suggest-list li { padding: 12px 14px; border-radius: 10px; cursor: pointer; font-weight: 600; }
.suggest-list li:hover, .suggest-list li[aria-selected="true"] { background: var(--mist); color: var(--green-dark); }

/* "You're in our service area" popup */
.book-dialog {
  width: min(92vw, 440px); padding: 32px 26px 28px; border: 0; border-radius: 18px;
  text-align: center; color: var(--ink); background: #fff;
  border-top: 8px solid var(--green); box-shadow: var(--shadow-xl);
}
.book-dialog::backdrop { background: rgb(20 20 20 / 0.7); backdrop-filter: blur(3px); -webkit-backdrop-filter: blur(3px); }
.book-dialog img { width: 96px; height: auto; margin: 0 auto 14px; }
.book-dialog h2 { font-size: clamp(1.8rem, 6vw, 2.3rem); color: var(--green-dark); }
.book-dialog p { margin-bottom: 22px; }
.book-dialog .btn { width: 100%; cursor: pointer; }
.book-dialog[open] { animation: pop 0.2s ease-out; }
/* Out-of-area version: red top, room for two buttons. */
.book-dialog.out { border-top-color: #c8372d; max-height: calc(100dvh - 24px); overflow-y: auto; }
.book-dialog.out img { width: 72px; margin-bottom: 10px; }
.book-dialog.out h2 { color: var(--charcoal); }
.book-dialog.out p { margin-bottom: 14px; }
.book-dialog.out .area-or { margin: 18px 0 10px; }
.book-dialog .dialog-back {
  display: block; margin: 12px auto 0; padding: 4px 8px; border: 0; background: none;
  font: inherit; font-size: 0.85rem; color: var(--muted); cursor: pointer; text-decoration: underline;
}
.book-dialog .dialog-back:hover { color: var(--charcoal); }
@keyframes pop { from { transform: scale(0.94); opacity: 0; } to { transform: none; opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .book-dialog[open] { animation: none; } }
/* On phones the list pushes Continue down instead of covering it. */
@media (max-width: 760px) {
  .suggest-list { position: static; margin-top: 6px; }
}

/* Leave room for the sticky header when scrolling to the booking. */
#book-step2, #book-meetup { scroll-margin-top: 84px; }

/* "I'll meet you in Summit County" under the city/ZIP box, and the car on "I'm driving in" */
.car-icon { flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.meetup-link {
  display: inline-flex; align-items: center; gap: 8px; margin: 4px 0 0; padding: 8px 4px;
  border: 0; background: none; cursor: pointer; font: inherit; font-weight: 700; color: var(--green-light); text-decoration: underline;
}
.meetup-link:hover { color: #fff; }
.topo-white .meetup-link, .section.alt .meetup-link { color: var(--green-dark); } /* light backgrounds (House Calls "Where we go") */
.topo-white .meetup-link:hover, .section.alt .meetup-link:hover { color: var(--green); }
.book-head .meetup-link { margin-top: 12px; }
#area-out-meetup { display: inline-flex; align-items: center; justify-content: center; gap: 10px; }
#area-out-meetup .car-icon { width: 26px; height: 26px; }
.meetup-title { display: flex; align-items: center; justify-content: center; gap: 12px; flex-wrap: wrap; }
.meetup-title .car-icon { width: 1.1em; height: 1.1em; color: var(--green); }

/* Meetup spot picker on /book (outside the house-call area) */
.book-meetup { padding: 40px 0 56px; }
.book-meetup .locator-form { margin: 12px 0 4px; }
.book-meetup .locator-form input { border-color: var(--line, #ddd); }
/* Exit cards: one per I-70 exit spot (site.json meetupSpots) */
.meetup-spots { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px 12px; margin: 28px 0 16px; }
.meetup-card {
  display: flex; flex-direction: column; gap: 2px; padding: 16px 18px; text-align: left; cursor: pointer;
  font: inherit; color: var(--ink); background: #fff; border: 2px solid #dfe5e0; border-radius: var(--radius);
}
.meetup-card:hover { border-color: var(--green); }
.meetup-card[aria-checked="true"] { border-color: var(--green); background: var(--mist); box-shadow: 0 0 0 2px var(--green); }
.meetup-card > strong { font: 700 1.5rem var(--heading); text-transform: uppercase; line-height: 1.2; }
.amenities { display: flex; flex-wrap: wrap; gap: 4px 10px; list-style: none; margin: 8px 0 0; padding: 0; font-size: 0.8rem; color: var(--muted); }
.amenities li { display: inline-flex; align-items: center; gap: 4px; white-space: nowrap; }
.amenities svg { flex: none; fill: none; stroke: var(--green-dark); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
/* Interstate exit tab: highway-sign green, white inset border, white letters (Barlow is modeled on highway lettering). */
.exit-sign {
  align-self: flex-start; display: inline-flex; align-items: baseline; gap: 0.3em; margin-bottom: 8px;
  background: #00703c; color: #fff; border-radius: 7px;
  box-shadow: inset 0 0 0 2px #00703c, inset 0 0 0 4px #fff;
  font: 700 1.35rem/1.1 var(--body); letter-spacing: 0.02em;
  padding: 6px 12px 5px;
}
.exit-sign span { font-size: 0.72em; text-transform: uppercase; letter-spacing: 0.06em; }
/* Recommended spot (Silverthorne): gold like the most popular service, picked by default. */
.meetup-card { position: relative; }
.meetup-card.featured { border-color: var(--gold); box-shadow: 0 0 0 2px var(--gold), 0 8px 24px rgb(245 179 1 / 0.35); }
.meetup-card.featured[aria-checked="true"] { border-color: var(--gold); box-shadow: 0 0 0 3px var(--gold), 0 8px 24px rgb(245 179 1 / 0.45); }
.meetup-badge {
  position: absolute; top: -12px; right: 12px; padding: 3px 10px; border-radius: 999px;
  background: var(--gold); color: var(--charcoal); font: 700 0.9rem var(--heading); text-transform: uppercase; letter-spacing: 0.05em;
}
/* Smaller cards for the farther spots (Copper, Keystone, Breckenridge) */
/* Dropdown rows under the go-to cards: "Heading to Copper...?" and "Somewhere else?" */
.meetup-more, .meetup-request { margin: 12px 0 0; background: #fff; border: 2px solid #dfe5e0; border-radius: var(--radius); }
.meetup-more[open], .meetup-request[open] { border-color: var(--green); }
.meetup-more summary, .meetup-request summary {
  display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap;
  padding: 14px 18px; cursor: pointer; list-style: none; font-weight: 700; font-size: 1.05rem; color: var(--ink);
}
.meetup-more summary::-webkit-details-marker, .meetup-request summary::-webkit-details-marker { display: none; }
.meetup-more summary::after, .meetup-request summary::after {
  content: ""; width: 10px; height: 10px; margin-left: auto; flex: none;
  border-right: 3px solid var(--green-dark); border-bottom: 3px solid var(--green-dark); transform: translateY(-2px) rotate(45deg); transition: transform 0.15s;
}
.meetup-more[open] summary::after, .meetup-request[open] summary::after { transform: translateY(3px) rotate(225deg); }
.meetup-request summary span { color: var(--green-dark); text-decoration: underline; }
.meetup-more .meetup-spots.small { margin: 0; padding: 0 14px 14px; }
.meetup-spots.small { grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 10px; }
.meetup-card.small { padding: 10px 12px; border-width: 1px; }
.meetup-card.small > strong { font-size: 1.15rem; }
.meetup-card.small .meetup-place { font-size: 0.9rem; }
.meetup-card.small .exit-sign { font-size: 1rem; padding: 4px 9px 3px; margin-bottom: 0; }
.meetup-card.small .amenities { font-size: 0.72rem; gap: 2px 8px; margin-top: 6px; }
.exit-line { display: flex; align-items: center; gap: 6px; margin-bottom: 6px; }
.exit-line .exit-sign { margin-bottom: 0; }
.i70-shield { flex: none; width: 34px; height: 34px; filter: drop-shadow(0 1px 2px rgb(0 0 0 / 0.35)); }
.meetup-card.small .i70-shield { width: 26px; height: 26px; }
.route-shield { flex: none; width: 26px; height: 26px; filter: drop-shadow(0 1px 2px rgb(0 0 0 / 0.35)); }
.exit-line .via { font-size: 0.8rem; color: var(--muted); font-weight: 600; }
/* Picked card: spans the row and opens up (photo, directions, its own Meet here button). */
.meetup-card { cursor: pointer; }
.meetup-card:focus-visible { outline: 3px solid var(--green-light); outline-offset: 3px; }
.meetup-expand { display: none; }
.meetup-card[aria-checked="true"] { grid-column: 1 / -1; cursor: default; }
.meetup-card[aria-checked="true"] .meetup-expand {
  display: grid; grid-template-columns: minmax(0, 1fr); gap: 14px; margin-top: 14px; padding-top: 14px; border-top: 1px solid #dfe5e0;
  animation: meetup-expand-in 0.35s 0.1s cubic-bezier(0.2, 0.8, 0.2, 1) both;
}
/* Motion: cards slide in when the step opens, lift on hover, glide when one is picked (View Transitions in meetup.js),
   and the gold go-to glows until they pick. All off for reduced motion. */
@keyframes meetup-expand-in { from { opacity: 0; transform: translateY(-8px); } }
@keyframes meetup-card-in { from { opacity: 0; transform: translateY(18px) scale(0.97); } }
@keyframes meetup-glow {
  0%, 100% { box-shadow: 0 0 0 2px var(--gold), 0 8px 24px rgb(245 179 1 / 0.3); }
  50% { box-shadow: 0 0 0 3px var(--gold), 0 10px 34px rgb(245 179 1 / 0.6); }
}
.meetup-card { transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease, filter 0.3s ease, opacity 0.3s ease; }
/* With one picked, the rest go grey (still tappable to switch); tapping off brings them back. */
.book-meetup:has(.meetup-card[aria-checked="true"]) .meetup-card:not([aria-checked="true"]) { filter: grayscale(1); opacity: 0.5; }
.book-meetup:has(.meetup-card[aria-checked="true"]) .meetup-card:not([aria-checked="true"]):hover { opacity: 0.8; }
.meetup-card { box-shadow: var(--shadow-md); }
@media (hover: hover) { .meetup-card:not([aria-checked="true"]):hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); } }
.meetup-card:active { transform: scale(0.98); }
.meetup-spots .meetup-card { animation: meetup-card-in 0.5s cubic-bezier(0.2, 0.8, 0.2, 1) both; }
.meetup-spots .meetup-card:nth-child(2) { animation-delay: 0.08s; }
.meetup-spots .meetup-card:nth-child(3) { animation-delay: 0.16s; }
.meetup-spots:not(:has([aria-checked="true"])) .meetup-card.featured { animation: meetup-card-in 0.5s cubic-bezier(0.2, 0.8, 0.2, 1) both, meetup-glow 2.4s 0.8s ease-in-out infinite; }
::view-transition-group(*) { animation-duration: 0.38s; animation-timing-function: cubic-bezier(0.2, 0.8, 0.2, 1); }
@media (prefers-reduced-motion: reduce) {
  .meetup-card, .meetup-spots .meetup-card, .meetup-spots:not(:has([aria-checked="true"])) .meetup-card.featured { animation: none; transition: none; }
  .meetup-card:hover, .meetup-card:active { transform: none; }
}
.meetup-card[aria-checked="true"] > strong { font-size: 2rem; }
.meetup-card.small[aria-checked="true"] > strong { font-size: 1.6rem; }
/* "Meet here" shows on the picked card: in the open top right on wider screens, full width at the bottom on phones. */
.meetup-go { display: none; }
.meetup-card[aria-checked="true"] .meetup-go {
  display: inline-flex; position: absolute; top: 22px; right: 18px;
  animation: meetup-go-in 0.35s 0.15s cubic-bezier(0.2, 0.8, 0.2, 1) both;
}
.meetup-card.featured[aria-checked="true"] .meetup-go { top: 30px; }
.meetup-card.featured[aria-checked="true"] .meetup-go-pick { top: 24px; }
@keyframes meetup-go-in { from { opacity: 0; transform: scale(0.9); } }
@media (max-width: 520px) {
  .meetup-card[aria-checked="true"] .meetup-go { position: static; align-self: stretch; justify-content: center; margin: 12px 0 4px; } /* above Getting there */
}
@media (prefers-reduced-motion: reduce) { .meetup-card[aria-checked="true"] .meetup-go { animation: none; } }
/* Wider screens: Meet here sits in the middle of the space right of the town name (between the name and the corner). The picked card becomes a
   two-column grid; the town name and Meet here share the second row, everything else spans the card. */
@media (min-width: 521px) {
  .meetup-card[aria-checked="true"] { display: grid; grid-template-columns: max-content 1fr; column-gap: 20px; align-items: center; }
  .meetup-card[aria-checked="true"] > * { grid-column: 1 / -1; }
  .meetup-card[aria-checked="true"] > strong { grid-column: 1; grid-row: 2; }
  .meetup-card[aria-checked="true"] > .meetup-go,
  .meetup-card.featured[aria-checked="true"] > .meetup-go,
  .meetup-card.featured[aria-checked="true"] > .meetup-go-pick { grid-column: 2; grid-row: 2; position: static; justify-self: center; } /* halfway between the name and the edge */
}
/* Silverthorne: "Meet here" label with Starbucks / Mountain Lyon Cafe buttons in the Meet here spot. */
/* Same corner and size as the other cards' Meet here button: label centered over the two buttons, no wider than them. */
.meetup-card[aria-checked="true"] .meetup-go-pick { display: grid; grid-template-columns: auto auto; gap: 8px; justify-items: center; align-items: center; top: 24px; }
.meetup-go-label { grid-column: 1 / -1; font: 400 1.4rem/1 var(--heading); text-transform: uppercase; letter-spacing: 0.03em; color: #fff; text-shadow: 0 1px 2px rgb(0 0 0 / 0.9), 0 0 10px rgb(0 0 0 / 0.65); }
.meetup-option-go { display: inline-flex; align-items: center; gap: 8px; padding: 6px 16px 6px 6px; }
/* A place's own color (site.json option "color", e.g. Mountain Lyon purple). */
.meetup-option-go[style*="--opt-color"], .meetup-go[style*="--opt-color"] { background: var(--opt-color); border-color: var(--opt-color); color: var(--opt-text, #fff); }
.meetup-option-go[style*="--opt-color"]:hover, .meetup-go[style*="--opt-color"]:hover { background: color-mix(in srgb, var(--opt-color) 85%, #000); color: var(--opt-text, #fff); }
.meetup-go[style*="--opt-text"]:hover { background: color-mix(in srgb, var(--opt-color) 88%, #000); }
.meetup-option-go img { width: 36px; height: 36px; object-fit: contain; border-radius: 50%; background: #fff; }
/* Phones: full width like the other cards' Meet here button, stacked (Starbucks on top). */
@media (max-width: 520px) {
  .meetup-card[aria-checked="true"] .meetup-go-pick { grid-template-columns: 1fr; justify-items: stretch; }
  .meetup-go-label { justify-self: center; }
  .meetup-option-go { justify-content: center; min-height: 56px; font-size: 1.25rem; }
}
.meetup-info p { margin: 0 0 10px; color: var(--ink); }
/* Several spots in one town (Silverthorne): pick one inside the open card. */
.meetup-more-opt { font-style: normal; opacity: 0.8; }
/* Street address under the spot name, only on the open card. */
.meetup-address { display: none; font-size: 0.9rem; opacity: 0.9; }
.meetup-card[aria-checked="true"] .meetup-address { display: block; }
/* Meetup business logo in the open card: to the right of the directions, on a white disc. */
.meetup-card[aria-checked="true"] .meetup-expand:has(.meetup-logo) { grid-template-columns: minmax(0, 1fr) auto; column-gap: 18px; }
.meetup-expand:has(.meetup-logo) > :not(.meetup-logo) { grid-column: 1; }
.meetup-logo { grid-column: 2; grid-row: 1 / span 4; align-self: center; width: 110px; height: 110px; padding: 6px; object-fit: contain; background: #fff; border-radius: 50%; box-shadow: var(--shadow-md); }
@media (max-width: 520px) { .meetup-logo { width: 76px; height: 76px; } }
.meetup-options { display: flex; flex-wrap: wrap; gap: 8px; }
.meetup-option {
  padding: 8px 14px; font: inherit; font-weight: 700; font-size: 0.95rem; cursor: pointer;
  color: var(--ink); background: #fff; border: 2px solid #cfd8d1; border-radius: 999px;
}
.meetup-option[aria-checked="true"] { border-color: var(--green); background: var(--green); color: #fff; }
/* Silverthorne's Starbucks / Mountain Lyon Cafe buttons: the place's logo beside its name. */
.meetup-option { display: inline-flex; align-items: center; gap: 8px; }
.meetup-option img { width: 40px; height: 40px; object-fit: contain; border-radius: 50%; background: #fff; }
.meetup-address[hidden] { display: none !important; }
.meetup-card.has-photo .meetup-option:not([aria-checked="true"]) { background: rgb(255 255 255 / 0.92); }
.meetup-info p strong { display: block; font: 700 1rem var(--body); text-transform: none; color: var(--green-dark); margin-bottom: 2px; }
.meetup-info .btn { margin-top: 4px; }
/* Town photo as the card background, darkened so white text reads on it. */
.meetup-card.has-photo, .meetup-card.has-photo[aria-checked="true"] {
  color: #fff;
  background: linear-gradient(180deg, rgb(20 20 20 / 0.2) 0%, rgb(20 20 20 / 0.62) 100%), var(--card-photo) center / cover, var(--charcoal);
}
.meetup-card.has-photo > strong, .meetup-card.has-photo .meetup-info p { color: #fff; text-shadow: 0 1px 8px rgb(0 0 0 / 0.5); }
.meetup-card.has-photo .meetup-place, .meetup-card.has-photo .amenities, .meetup-card.has-photo .exit-line .via { color: #e6ece8; }
.meetup-card.has-photo .amenities svg { stroke: var(--green-light); }
.meetup-card.has-photo .meetup-info p strong { color: var(--green-light); }
/* Readable on any part of the photo without darkening it: white, a bit bolder, with a tight shadow for the small
   lines, and "Getting there" on a white card. */
.meetup-card.has-photo .meetup-place, .meetup-card.has-photo .meetup-address, .meetup-card.has-photo .amenities {
  color: #fff; font-weight: 600; text-shadow: 0 1px 2px rgb(0 0 0 / 0.9), 0 0 10px rgb(0 0 0 / 0.65);
}
.meetup-card.has-photo .meetup-info { padding: 12px 14px; background: #fff; border-radius: 12px; box-shadow: var(--shadow-md); }
.meetup-card.has-photo .meetup-info p { color: var(--ink); text-shadow: none; }
.meetup-card.has-photo .meetup-info p:last-child { margin-bottom: 0; }
.meetup-card.has-photo .meetup-info p strong { color: var(--green-dark); }
.meetup-card.has-photo[aria-checked="true"] .meetup-expand { border-top-color: rgb(255 255 255 / 0.3); }
/* Tall photos: frame the town, not the sky. Set per spot with "photoPosition" in site.json. */
.meetup-card.has-photo { background-position: center var(--photo-y, center); }
@media (prefers-reduced-motion: reduce) { .meetup-card[aria-checked="true"] .meetup-expand { animation: none; } }
.meetup-map { height: 380px; margin-top: 16px; }
.meetup-request > p { margin: 0 18px 4px; color: var(--muted); }
.meetup-request > form { margin: 8px 18px 16px; }
.meetup-status { text-align: center; color: var(--muted); margin: 12px 0 0; }
.meetup-fine { margin: 18px 0 0; font-size: 0.75rem; line-height: 1.4; color: var(--muted); text-align: center; }
/* On the black topo: light fine print, brighter car icon. */
.topo .meetup-fine { color: rgb(255 255 255 / 0.72); }
.topo .meetup-fine a { color: #fff; }
.topo .meetup-title .car-icon { color: var(--green-light); }
.meetup-status.error { color: #c8372d; font-weight: 600; }
.meetup-chosen {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px;
  margin-top: 16px; padding: 18px 20px; background: #fff; border-radius: var(--radius); border-left: 8px solid var(--green);
  box-shadow: var(--shadow-md);
}
.meetup-chosen[hidden] { display: none; }
.meetup-chosen p { margin: 0; }
.meetup-pin { background: none; border: 0; filter: drop-shadow(0 3px 4px rgb(0 0 0 / 0.35)); }
.meetup-pin svg { display: block; }
.meetup-pin path { fill: var(--charcoal); }
.meetup-pin.selected path, .meetup-pin.request path { fill: var(--green); }
.meetup-pin.selected { z-index: 1000 !important; transform-origin: bottom center; }
.meetup-pin span { position: absolute; top: 7px; left: 0; width: 32px; text-align: center; color: #fff; font: 700 11px var(--body, sans-serif); }
/* Spot pins: the town's name on a tag in the spot's color, with a point at the bottom on the spot. */
.meetup-pin.named { width: 0; height: 0; }
.meetup-pin .pin-tag {
  position: absolute; left: 0; top: 0; transform: translate(-50%, calc(-100% - 9px)); width: auto; white-space: nowrap;
  padding: 4px 10px; border: 2px solid #fff; border-radius: 999px; background: var(--pin, var(--charcoal)); color: var(--pin-text, #fff);
  font: 700 0.85rem/1.1 var(--heading); text-transform: uppercase; letter-spacing: 0.03em;
}
.meetup-pin .pin-tag::after {
  content: ""; position: absolute; left: 50%; bottom: -9px; transform: translateX(-50%);
  border: 7px solid transparent; border-top: 8px solid #fff; border-bottom: 0;
}
.meetup-pin.named.selected .pin-tag { box-shadow: 0 0 0 3px var(--green); transform: translate(-50%, calc(-100% - 9px)) scale(1.12); }
#book-ok .meetup-spot {
  display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap;
  margin: 10px auto; max-width: 560px; padding: 12px 16px; text-align: left;
  background: #fff; color: var(--ink); border-radius: 14px;
}
#book-ok .meetup-spot .btn { color: #fff; }
#book-ok .meetup-address { display: block; font-size: 0.95rem; color: var(--muted, #555); }
#book-ok .small { display: block; margin-bottom: 6px; }
@media (max-width: 760px) { .meetup-map { height: 300px; } }

/* Out-of-area message on /book */
.btn-block { display: block; width: 100%; text-align: center; }

/* Service-area map */
.service-map-wrap { margin: 0; }
.service-map { height: 420px; border-radius: 16px; overflow: hidden; box-shadow: var(--shadow-lg); border: 4px solid #fff; z-index: 0; }
.service-map-wrap figcaption { text-align: center; color: var(--muted); margin-top: 12px; }
.map-label { font: 700 0.9rem var(--heading); text-transform: uppercase; letter-spacing: 0.03em; color: var(--charcoal); background: rgb(255 255 255 / 0.92); border: 0; box-shadow: 0 1px 4px rgb(0 0 0 / 0.25); padding: 2px 6px; }
.map-label::before { display: none; }
@media (max-width: 760px) { .service-map { height: 380px; } }

/* White topo background (light sections), washed out so content stays readable */
.topo-white {
  background:
    linear-gradient(rgb(255 255 255 / 0.55), rgb(255 255 255 / 0.55)),
    #fff url("/assets/img/topo-white-tile.jpg") center top / 1412px auto repeat;
}
.topo-white .how li { background: #fff; box-shadow: var(--shadow-md); }
.topo .how li { background: #fff; color: var(--ink); box-shadow: var(--shadow-md); } /* step cards on dark topo (Pop-ups) */
/* Pop-ups intro: Colorado flag to the left of the first line. */
.popup-intro { display: flex; align-items: center; justify-content: center; gap: 18px; max-width: 820px; margin: 0 auto 8px; }
.popup-intro img { flex: none; width: 96px; height: auto; border-radius: 6px; box-shadow: var(--shadow-sm); }
.popup-intro .lead { margin: 0; }
@media (max-width: 600px) { .popup-intro img { width: 64px; } .popup-intro { gap: 12px; } }

/* Most popular service */
.card.service { position: relative; }
.card.service.popular {
  outline: 4px solid var(--gold); outline-offset: -4px;
  box-shadow: 0 0 0 4px rgb(245 179 1 / 0.35), 0 0 36px 6px rgb(245 179 1 / 0.55), 0 16px 44px rgb(0 0 0 / 0.3);
}
@media (min-width: 760px) { .card.service.popular { transform: scale(1.04); z-index: 1; } }
.card.service .badge {
  position: absolute; top: 14px; left: 14px; z-index: 1; margin: 0;
  font: 700 1rem var(--heading); text-transform: uppercase; letter-spacing: 0.05em;
  background: var(--gold); color: var(--charcoal); padding: 6px 14px; border-radius: 999px; box-shadow: 0 4px 12px rgb(0 0 0 / 0.3);
}
@media (min-width: 760px) and (hover: hover) { .card.service.popular:hover { transform: scale(1.04) translateY(-4px); } }


/* Quiz inside the Services section (House Calls) */
.services-quiz { max-width: 760px; margin: 48px auto 32px; }
.quiz { color: var(--ink); }

/* Minimum note inside the Wax card */
.card-minimum { margin: 14px 0 0; padding: 10px 12px; border-radius: 8px; background: var(--mist); border-left: 4px solid var(--green); font-size: 0.95rem; }
.card-minimum strong { display: block; font: 700 1rem var(--body); color: var(--green-dark); }

/* Phones: most popular service on top, full width; the other two side by side below. */
@media (max-width: 759px) {
  .cards:has(.card.service) { grid-template-columns: 1fr 1fr; gap: 12px; }
  .card.service.popular { grid-column: 1 / -1; order: -1; }
  .card.service:not(.popular) .card-body { padding: 14px 12px 16px; }
  .card.service:not(.popular) h3 { font-size: 1.2rem; }
  .card.service:not(.popular) .price { font-size: 1.6rem; }
  .card.service:not(.popular) p { font-size: 0.85rem; line-height: 1.4; }
  .card.service:not(.popular) .card-minimum { padding: 8px; }
  .card.service:not(.popular) .card-minimum strong { font-size: 0.85rem; }
}
@media (max-width: 759px) { .card.service.popular img { aspect-ratio: 16 / 9; } }

/* Solid white button (on dark photos) */
.btn.btn-white { background: #fff; border-color: #fff; color: var(--charcoal); box-shadow: 0 1px 2px rgb(0 0 0 / 0.14), 0 6px 16px rgb(0 0 0 / 0.22); }
.btn.btn-white:hover { background: var(--mist); border-color: var(--mist); color: var(--charcoal); }

/* "Where we go": the van on a mountain highway behind the whole section, lightly shaded behind the text (left) */
.road-bg {
  color: #fff; text-shadow: 0 1px 3px rgb(0 0 0 / 0.7), 0 0 14px rgb(0 0 0 / 0.5);
  background:
    linear-gradient(90deg, rgb(20 20 20 / 0.55) 0%, rgb(20 20 20 / 0.3) 50%, rgb(20 20 20 / 0.05) 100%),
    var(--charcoal) url("/assets/img/van-highway.jpg") center / cover;
}
.road-bg .kicker { color: var(--green-light); }
.road-bg a:not(.btn) { color: var(--green-light); }
.road-bg .btn { text-shadow: none; } /* the photo's text shadow made button labels look smudged */
.road-bg .road-text { max-width: 560px; } /* Events "What we offer": keep the words on the darker left side, off the van */
/* Events "Private & corporate events": black heading with a soft white glow on the office-towers photo; the intro on a white card. */
#private.city-bg h2 { color: var(--charcoal); text-shadow: 0 0 6px rgb(255 255 255 / 0.9), 0 0 18px rgb(255 255 255 / 0.8); }
#private.city-bg .section-lead { max-width: 640px; margin-inline: auto; padding: 12px 20px; border-radius: var(--radius); background: rgb(255 255 255 / 0.94); box-shadow: var(--shadow-md); }
.road-bg .how li { background: #fff; color: var(--ink); text-shadow: none; box-shadow: var(--shadow-md); } /* step cards on the road photo (House Calls) */

/* Home "Private & corporate events": office towers (same Unsplash photo as the old site), lightened a touch to match how it reads there;
   the text sits on a white card so it reads on the photo, like the event cards below. */
.city-bg { background: linear-gradient(rgb(255 255 255 / 0.22), rgb(255 255 255 / 0.22)), var(--charcoal) url("/assets/img/city-skyscrapers.jpg") center 35% / cover; }
.city-bg .split > div:first-child {
  background: rgb(255 255 255 / 0.95); border-radius: var(--radius); padding: 28px 30px;
  box-shadow: var(--shadow-lg);
}
.card-photo-phone { display: none; } /* home: phone-only copy of the big photo inside the card */
@media (max-width: 899px) {
  .card-photo-phone { display: block; }
  .city-bg { background-image: linear-gradient(rgb(255 255 255 / 0.22), rgb(255 255 255 / 0.22)), url("/assets/img/city-skyscrapers-800.jpg"); }
  .city-bg .split > div:first-child { padding: 22px 20px; }
  /* Home on phones: the big photo moves inside the card, between the heading and "Treat your team"; the two small ones stay below. */
  .home2 .city-bg .photo-stack img:first-child { display: none; }
}
.card-photo-phone img { display: block; width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: 10px; margin: 12px 0 4px; }
/* Home "House calls": the snowy cabin house call behind it (mirrors the city photo behind Events), full brightness;
   the text sits on a white card like the Events section. */
.home-bg { background: var(--charcoal) url("/assets/img/van-cabin-house-call.jpg") center 60% / cover; }
.home-bg .home-card {
  max-width: 560px; /* on the left, so the cabin shows on the right */
  background: rgb(255 255 255 / 0.8); border-radius: var(--radius); padding: 28px 30px;
  box-shadow: var(--shadow-lg);
}
@media (max-width: 899px) {
  .home-bg { background-image: url("/assets/img/van-cabin-house-call-800.jpg"); }
  .home-bg .home-card { padding: 22px 20px; }
}
.road-bg .locator-form, .road-bg .locator-result { max-width: 520px; }
.road-bg .locator-result h2 { font-size: 1.8rem; }
@media (max-width: 899px) {
  .road-bg { background:
    linear-gradient(rgb(20 20 20 / 0.4), rgb(20 20 20 / 0.4)),
    var(--charcoal) url("/assets/img/van-highway-800.jpg") center / cover; }
}

/* Keep the top of the hero photo (mountain peaks) in frame; crop from the bottom instead. */
.hero-full.hero-top > img { object-position: 65% top; }
/* Home: inside the van, framed high so the hexagon ceiling lights stay in view (like the old site). */
.hero-full.hero-van > img { object-position: center 20%; }
/* A light shade only behind the text (left) so the van and peaks stay bright. */
.hero-full.hero-top::after {
  background:
    linear-gradient(90deg, rgb(37 37 37 / 0.4) 0%, rgb(37 37 37 / 0.15) 35%, rgb(37 37 37 / 0) 60%),
    linear-gradient(180deg, rgb(37 37 37 / 0) 55%, rgb(37 37 37 / 0.3) 100%);
}
@media (max-width: 760px) {
  .hero-full.hero-top::after {
    background: linear-gradient(180deg, rgb(37 37 37 / 0) 30%, rgb(37 37 37 / 0.3) 60%, rgb(37 37 37 / 0.5) 100%);
  }
}

/* How it works with icons: big green icon circle, small number badge in the corner */
.how li { position: relative; }
.how-num {
  position: absolute; top: 12px; left: 12px; margin: 0;
  width: 30px; height: 30px; font-size: 1.1rem;
  background: var(--charcoal); color: #fff;
}
.how-icon {
  display: block; width: 76px; height: 76px; margin: 4px auto 14px; padding: 18px;
  border-radius: 50%; background: var(--green); color: #fff;
  box-shadow: 0 8px 20px rgb(48 155 101 / 0.35);
}
@media (max-width: 759px) {
  .how li { padding: 22px 6px 14px; }
  .how-num { top: 6px; left: 6px; width: 22px; height: 22px; font-size: 0.85rem; }
  .how-icon { width: 52px; height: 52px; padding: 12px; margin-bottom: 10px; }
}

/* Who events are for (Home + Events): three cards with icons */
/* Events page: the two kinds of events as photo cards. */
.event-cards { display: grid; gap: 20px; max-width: 920px; margin: 0 auto; }
/* Stacked like on phones: the corporate card on top, the smaller pop-ups card under it.
   On wider screens both cards lay sideways (photo left, words right) so the main one isn't huge. */
@media (min-width: 760px) {
  .event-card.featured { flex-direction: row; }
  .event-card.featured > img { flex: 0 0 46%; width: 46%; aspect-ratio: auto; min-height: 320px; border-radius: calc(var(--radius) - 2px) 0 0 calc(var(--radius) - 2px); }
  .event-card.featured .event-card-body { justify-content: center; padding: 28px 32px; }
}
/* Pop-ups: the less-preferred option, so a small, quiet card with a text link instead of a button. */
.event-card.minor { flex-direction: row; align-items: stretch; background: #fafbfa; border-color: #e4eae5; box-shadow: var(--shadow-sm); }
.event-card.minor:hover { transform: none; box-shadow: var(--shadow-sm); border-color: var(--green); }
.event-card.minor > img { flex: 0 0 110px; width: 110px; aspect-ratio: auto; border-radius: calc(var(--radius) - 2px) 0 0 calc(var(--radius) - 2px); }
.event-card.minor .event-card-body, .event-card.minor .choose-learn { text-align: left; }
.event-card.minor .event-card-body { padding: 16px 20px; }
.event-card.minor h2 { font-size: 1.5rem; }
.event-card.minor .event-card-for { margin: 4px 0 8px; font-size: 1rem; font-weight: 500; }
.event-card.minor .choose-learn { margin-top: 0; }
@media (min-width: 760px) { .event-card.minor > img { flex-basis: 200px; width: 200px; height: 0; min-height: 100%; } } /* photo fills the card's height instead of setting it */
.event-card-kicker { margin: 0 0 2px; font-size: 0.75rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); }
.event-card { position: relative; display: flex; flex-direction: column; background: #fff; border-radius: var(--radius); box-shadow: var(--shadow-md); border: 2px solid transparent; transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s; }
.event-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); border-color: var(--green); }
.event-card.featured { border-color: var(--gold); }
.event-card .event-badge { z-index: 1; }
.event-card > img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: calc(var(--radius) - 2px) calc(var(--radius) - 2px) 0 0; }
.event-card-body { display: flex; flex-direction: column; flex: 1; padding: 22px 24px 20px; text-align: center; }
.event-card h2 { margin: 0; font-size: clamp(1.7rem, 3vw, 2.1rem); }
.topo .event-card, .topo .event-card h2 { color: var(--ink); } /* white cards on the dark topo (Events) */
.topo .event-card a:not(.btn) { color: var(--green-dark); }
.event-card-for { margin: 2px 0 14px; color: var(--muted); font-weight: 600; }
.event-card .checks { flex: 1; margin: 0 0 18px; text-align: left; }
.event-card-go { width: 100%; text-align: center; }
.event-card .choose-learn { display: block; text-align: center; }
#event-kinds, #private, #public { scroll-margin-top: 70px; }
.section-lead { max-width: 60ch; margin: 0 auto; color: var(--muted); font-size: 1.1rem; }
.event-types { list-style: none; padding: 0; margin: 32px 0 0; display: grid; gap: 16px; }
@media (min-width: 760px) { .event-types { grid-template-columns: repeat(3, 1fr); gap: 24px; } }
.event-types li { text-align: center; padding: 26px 22px; border-radius: var(--radius); background: #fff; box-shadow: var(--shadow-md); }
.event-types h3 { margin: 0 0 6px; }
.event-types p { margin: 0; color: var(--muted); }
@media (max-width: 759px) {
  .event-types li { display: grid; grid-template-columns: 56px 1fr; column-gap: 14px; text-align: left; padding: 16px; align-items: center; }
  .event-types .how-icon { grid-row: span 2; width: 56px; height: 56px; padding: 13px; margin: 0; }
  .event-types h3 { margin: 0; font-size: 1.3rem; }
}

/* Events: "Why companies book us": Google rating, reasons beside a big review, more reviews, then the "tuned at work?" nudge. */
.g-stars { color: #f4b400; letter-spacing: 2px; }
.g-rating { display: inline-flex; align-items: center; gap: 8px; margin-top: -8px; padding: 8px 18px; border-radius: 999px; background: #fff; border: 1px solid #e3e8e4; box-shadow: var(--shadow-sm); color: var(--charcoal); text-decoration: none; }
.g-rating:hover { border-color: var(--green); }
.g-rating strong { font-size: 1.1rem; }
.why-grid { display: grid; gap: 28px; margin-top: 28px; align-items: center; }
@media (min-width: 900px) { .why-grid { grid-template-columns: 1fr 1.1fr; gap: 48px; } }
.why-reasons { list-style: none; margin: 0; padding: 0; display: grid; gap: 20px; }
.why-reasons li { display: flex; gap: 16px; align-items: flex-start; }
.why-reasons .how-icon { flex: 0 0 52px; width: 52px; height: 52px; padding: 12px; margin: 0; }
.why-reasons h3 { margin: 2px 0 2px; font-size: 1.3rem; }
.why-reasons p { margin: 0; color: var(--muted); }
.why-quote { position: relative; margin: 0; padding: 34px 32px 28px; border-radius: 20px; background: var(--green); color: #fff; box-shadow: var(--shadow-lg); }
.why-quote::before { content: "\201C"; position: absolute; top: -18px; right: 24px; font: 700 120px/1 Georgia, serif; color: rgba(255,255,255,.25); }
.why-quote blockquote { margin: 10px 0 16px; font-size: 1.15rem; line-height: 1.55; }
.why-quote figcaption { font-size: .95rem; opacity: .95; }
.why-reviews { list-style: none; margin: 36px 0 0; padding: 0; display: grid; gap: 16px; }
@media (min-width: 640px) { .why-reviews { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .why-reviews { grid-template-columns: repeat(4, 1fr); } }
.why-reviews li { display: flex; flex-direction: column; padding: 18px 20px; background: #fff; border-radius: var(--radius); box-shadow: var(--shadow-md); border-top: 4px solid var(--green); }
.why-reviews blockquote { flex: 1; margin: 8px 0 12px; font-size: .95rem; line-height: 1.5; }
.why-who { margin: 0; font-size: .9rem; }
.why-who span { display: block; color: var(--muted); }
.pitch { display: grid; gap: 12px 24px; align-items: center; margin-top: 32px; padding: 22px 24px; background: #fff; border-radius: var(--radius); box-shadow: var(--shadow-md); border-left: 5px solid var(--green); }
@media (min-width: 900px) { .pitch { grid-template-columns: 330px 1fr; } }
.pitch h3 { margin: 0; font-size: 1.3rem; }
.pitch p { margin: 0; color: var(--muted); }

/* /book: choose house call, private event, or public pop-up */
.book-choose { background: var(--mist); }
.choose { list-style: none; padding: 0; margin: 0 0 24px; display: grid; gap: 16px; }
@media (min-width: 860px) { .choose { grid-template-columns: repeat(2, 1fr); gap: 28px; max-width: 900px; margin-left: auto; margin-right: auto; } }
.choose-card {
  display: flex; flex-direction: column; align-items: center; height: 100%;
  text-align: center; padding: 30px 24px 24px; border-radius: 16px;
  background: #fff; color: var(--ink); text-decoration: none;
  border: 2px solid transparent; box-shadow: var(--shadow-md); position: relative;
  transition: transform 0.15s, border-color 0.15s, box-shadow 0.15s;
}
.choose-go::after { content: ""; position: absolute; inset: 0; border-radius: 16px; }
.choose-learn { position: relative; z-index: 1; margin-top: 10px; font-size: 0.9rem; font-weight: 600; color: var(--green-dark); }
.choose-learn:hover { color: var(--green); }
.choose-card:hover, .choose-card:focus-within { border-color: var(--green); transform: translateY(-3px); box-shadow: var(--shadow-lg); color: var(--ink); }
.choose-card h2 { font-size: 2rem; margin: 0 0 8px; }
.choose-card p { color: var(--muted); flex: 1; margin-bottom: 18px; }
.choose-card .btn { width: 100%; }
.choose-note { margin-top: 8px; font-size: 0.85rem; color: var(--muted); }
@media (max-width: 859px) {
  .choose-card { display: grid; grid-template-columns: 56px 1fr; column-gap: 14px; text-align: left; align-items: start; padding: 18px; }
  .choose-card .how-icon { grid-row: span 2; width: 56px; height: 56px; padding: 13px; margin: 0; }
  .choose-card h2 { font-size: 1.6rem; margin: 4px 0 2px; }
  .choose-card p { margin: 0 0 12px; font-size: 0.95rem; }
  .choose-card .btn, .choose-note, .choose-learn { grid-column: 1 / -1; }
  .choose-note, .choose-learn { text-align: center; }
}

/* Book now buttons placed around the site */
.book-more { margin-top: 28px; }
.site-footer .footer-book { color: #fff; }
.site-footer .footer-book:hover { color: #fff; }

/* Event request flow (/event-request): photo banner; "Who is your event for?" card, then the form in cards. */
.event-flow { align-items: flex-start; }
.event-flow .hero-full-inner { padding-top: 70px; padding-bottom: 60px; }
.event-flow > img { object-position: center 40%; }
.hero-full.event-flow h1 { max-width: none; white-space: nowrap; font-size: clamp(1.25rem, 7.2vw, 4rem); } /* "Request a private event" on one line, even on phones */
.event-start {
  max-width: 640px; margin: 22px auto 0; padding: 26px 24px 18px; text-align: center;
  background: #fff; color: var(--ink); border-radius: 16px; box-shadow: var(--shadow-xl);
}
.event-start h2 { margin: 0 0 16px; font-size: clamp(1.6rem, 5vw, 2.1rem); color: var(--charcoal); }
.event-choices { display: grid; gap: 12px; }
@media (min-width: 560px) { .event-choices { grid-template-columns: 1.7fr 1fr; align-items: center; } }
.event-choice {
  display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 18px 14px; cursor: pointer;
  font: inherit; color: var(--ink); background: #fff; border: 2px solid #dfe5e0; border-radius: var(--radius);
  box-shadow: var(--shadow-sm); transition: border-color 0.15s, transform 0.15s, box-shadow 0.15s;
}
.event-choice:hover { border-color: var(--green); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.event-choice[aria-pressed="true"] { border-color: var(--green); background: var(--mist); box-shadow: 0 0 0 2px var(--green); }
/* Private event: the premium pick, gold like the most popular service. */
.event-choice { position: relative; }
.event-choice.premium {
  border-color: var(--gold); background: linear-gradient(180deg, #fffaf0, #fff);
  box-shadow: 0 0 0 2px var(--gold), 0 8px 24px rgb(245 179 1 / 0.35);
}
.event-choice.premium:hover { border-color: var(--gold); box-shadow: 0 0 0 3px var(--gold), 0 12px 30px rgb(245 179 1 / 0.45); }
.event-choice.premium[aria-pressed="true"] { border-color: var(--gold); background: #fff7e0; box-shadow: 0 0 0 3px var(--gold), 0 12px 30px rgb(245 179 1 / 0.5); }
.event-choice.premium .how-icon { background: var(--gold); color: var(--charcoal); }
.event-badge {
  position: absolute; top: -12px; left: 50%; transform: translateX(-50%); white-space: nowrap;
  padding: 3px 12px; border-radius: 999px; background: var(--gold); color: var(--charcoal);
  font: 700 0.85rem var(--heading); text-transform: uppercase; letter-spacing: 0.05em; box-shadow: var(--shadow-sm);
}
.event-choices { padding-top: 6px; }
.event-choice .how-icon { width: 48px; height: 48px; margin: 0 0 6px; }
.event-choice strong { font: 700 1.35rem var(--heading); text-transform: uppercase; }
.event-choice span { color: var(--muted); font-size: 0.95rem; }
/* Private is the main pick: bigger. Public is the smaller, quieter option. */
.event-choice.premium { padding: 26px 18px 22px; }
.event-choice.premium .how-icon { width: 60px; height: 60px; }
.event-choice.premium strong { font-size: 1.75rem; }
.event-choice:not(.premium) { padding: 12px 12px; box-shadow: none; }
.event-choice:not(.premium) .how-icon { width: 36px; height: 36px; padding: 8px; margin-bottom: 2px; }
.event-choice:not(.premium) strong { font-size: 1.05rem; }
.event-choice:not(.premium) span { font-size: 0.85rem; }
.event-start-note { margin: 14px 0 0; font-size: 0.9rem; color: var(--muted); }
.event-start-note a { color: var(--green-dark); }
.event-rest { margin-top: 22px; text-align: left; scroll-margin-top: 90px; }
.event-flow .event-form, .event-flow .event-done { color: var(--ink); text-shadow: none; }
.event-flow .event-done h2, .event-flow .event-done .lead { color: var(--ink); text-shadow: none; } /* white card: no hero text shadows */
.event-form fieldset { border: 0; margin: 0 0 22px; padding: 24px; background: #fff; border-radius: var(--radius); box-shadow: var(--shadow-md); }
.event-form legend { float: left; width: 100%; padding: 0; margin-bottom: 14px; font: 700 1.5rem var(--heading); text-transform: uppercase; color: var(--charcoal); }
.event-form legend ~ * { clear: left; } /* every field after the title, since the next one may be hidden */
.event-form label { display: block; margin-bottom: 14px; font-weight: 600; }
.event-form label.sub { font-weight: 500; font-size: 0.95rem; color: var(--muted); }
.event-form input:not([type="radio"]):not([type="checkbox"]), .event-form select, .event-form textarea {
  display: block; width: 100%; margin-top: 6px; padding: 11px 14px; font: inherit; font-weight: 400; color: var(--ink);
  background: #fff; border: 1.5px solid #cfd8d1; border-radius: 8px; transition: border-color 0.15s, box-shadow 0.15s;
}
.event-form input:focus, .event-form select:focus, .event-form textarea:focus { outline: none; border-color: var(--green); box-shadow: 0 0 0 3px rgb(48 155 101 / 0.2); }
.event-form small { display: block; margin-top: 6px; font-weight: 400; font-size: 0.85rem; color: var(--muted); }
.event-form small.field-hint { margin: 2px 0 0; }
.event-form .req { color: #c8372d; }
.event-form .field-label { margin: 4px 0 8px; font-weight: 600; }
.event-form .field-note { margin: 4px 0 0; font-size: 0.9rem; color: var(--muted); }
.event-form .field-note[data-show-if] { font-weight: 700; color: var(--green-dark); }
/* "Our guarantee" badge: shield icon, friendly but clear that scheduled sets are billed (event form and mockup). */
.promise { display: flex; gap: 14px; margin-top: 16px; padding: 16px 18px; border-radius: 12px; background: linear-gradient(135deg, var(--mist), #fff); border: 1.5px solid rgb(48 155 101 / 0.35); }
.promise-icon { flex: 0 0 40px; width: 40px; height: 40px; padding: 8px; border-radius: 50%; background: var(--green); color: #fff; }
.promise strong { display: block; font: 700 1.2rem var(--heading); text-transform: uppercase; color: var(--green-dark); }
.promise-text { margin: 4px 0 0; font-size: 0.95rem; color: var(--ink); }
.event-form .choice-group { margin-bottom: 18px; }
.event-form .choice { display: flex; align-items: center; gap: 10px; margin: 0 0 8px; padding: 12px 14px; font-weight: 500; border: 1.5px solid #cfd8d1; border-radius: 8px; cursor: pointer; }
.event-form .choice:has(input:checked) { border-color: var(--green); background: var(--mist); }
.event-form .choice input { width: 18px; height: 18px; accent-color: var(--green); }
/* RSVP list offer (private events, last card). */
.rsvp { margin: 4px 0 16px; padding: 14px 16px; border-radius: 8px; background: var(--mist); border-left: 4px solid var(--green); }
.rsvp p { margin: 0 0 10px; font-size: 0.95rem; }
.rsvp strong { color: var(--green-dark); }
.event-form .rsvp .check { margin: 0; font-weight: 600; }
.event-form .rsvp[hidden] { display: none; }
/* Checkboxes, and "no date yet" month/day chips. */
.event-form .check { display: flex; align-items: center; gap: 10px; font-weight: 500; cursor: pointer; }
.event-form .check input { width: 20px; height: 20px; margin: 0; accent-color: var(--green); }
.event-form .no-date { margin: -4px 0 16px; }
.event-form .bill-heading { margin: 6px 0 6px; }
.bill-address { margin-top: 10px; }
.bill-address .field-hint { margin: 0 0 6px; }
.bill-address .field-label small { display: inline; font-weight: 400; color: var(--muted); }
.date-flex { margin-bottom: 16px; padding: 14px 16px; border-radius: 8px; background: var(--mist); }
.date-flex .field-label small, #sets-h small, .sets-label small { display: inline; font-weight: 400; color: var(--muted); }
.chip-group { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 12px; }
.event-form .chip { position: relative; display: inline-flex; align-items: center; margin: 0; padding: 8px 16px; background: #fff; border: 1.5px solid #cfd8d1; border-radius: 999px; font-weight: 600; cursor: pointer; user-select: none; }
.event-form .chip input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.event-form .chip:has(input:checked) { border-color: var(--green); background: var(--green); color: #fff; }
.event-form .chip:has(input:focus-visible) { outline: 2px solid var(--green); outline-offset: 2px; }
/* Sets picker: − [ 40 SETS ] + (event form and mockup). */
.sets-picker { display: flex; align-items: center; gap: 8px; margin: 6px 0 10px; }
.sets-picker button { flex: 0 0 48px; height: 48px; border-radius: 50%; border: 1.5px solid #cfd8d1; background: #fff; font: 700 1.6rem var(--heading); color: var(--green-dark); cursor: pointer; }
.sets-picker button:hover { border-color: var(--green); }
.event-form .sets-value { display: flex; align-items: baseline; justify-content: center; gap: 6px; min-width: 150px; margin: 0; padding: 4px 12px; background: #fff; border: 1.5px solid #cfd8d1; border-radius: 10px; cursor: text; }
.event-form .sets-value:focus-within { border-color: var(--green); box-shadow: 0 0 0 3px rgb(48 155 101 / 0.2); }
.event-form .sets-value input[type="number"] { width: 2.4ch; margin: 0; padding: 0; border: 0; box-shadow: none; text-align: right; font: 700 2rem var(--heading); background: none; -moz-appearance: textfield; }
.event-form .sets-value input:focus { box-shadow: none; }
.event-form .sets-value input::placeholder { color: #c3ccc5; }
.event-form .sets-value input::-webkit-inner-spin-button, .event-form .sets-value input::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
/* Sets question, picker, and notes centered on the card. */
.sets-picker { justify-content: center; }
#sets-h, #crowd-h, .sets-label, .event-form .sets-note { text-align: center; }
#sets-h small, #crowd-h small, .sets-label small { display: block; margin-top: 2px; }
.crowd .chip-group { justify-content: center; }
.event-form .sets-value span { font: 700 1.2rem var(--heading); text-transform: uppercase; color: var(--muted); }
.event-form .sets-note { margin-top: 0; }
.field-row { display: grid; gap: 0 16px; }
@media (min-width: 640px) { .field-row { grid-template-columns: 1fr 1fr; } .field-row.three { grid-template-columns: 2fr 1fr 1fr; } }
.event-form .hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-error { margin: 0 0 16px; padding: 12px 16px; border-radius: 8px; background: #fdecea; color: #a12b22; font-weight: 600; }
/* One card at a time: Back / Next (Send on the last step), progress bar and "Step x of y" at the bottom. */
.event-form fieldset.step-off { display: none; }
.step-nav { margin-top: 4px; padding: 18px 20px; background: #fff; border-radius: var(--radius); box-shadow: var(--shadow-md); }
.step-buttons { display: flex; gap: 12px; }
.step-buttons .btn { flex: 1; text-align: center; cursor: pointer; }
.step-buttons .btn[hidden] { display: none; }
.step-buttons .step-back { flex: 0 0 auto; padding-left: 1.4em; padding-right: 1.4em; }
.step-progress { height: 8px; margin-top: 16px; background: #e4eae5; border-radius: 999px; overflow: hidden; }
.step-progress span { display: block; height: 100%; width: 0; background: var(--green); border-radius: 999px; transition: width 0.3s ease; }
/* "Look good?" review before sending (pop-ups on the event form; mockup). */
.review-list { margin: 0; }
.review-list > div { display: grid; grid-template-columns: 1fr auto; gap: 2px 12px; padding: 12px 0; border-bottom: 1px solid #e4eae5; }
.review-list dt { font-size: 0.85rem; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: 0.04em; }
.review-list dd { grid-column: 1; margin: 0; }
.review-list button { grid-row: 1 / span 2; grid-column: 2; align-self: center; border: 0; background: none; color: var(--green-dark); font-weight: 700; text-decoration: underline; cursor: pointer; }
.event-done { text-align: center; padding: 40px 24px; background: #fff; border-radius: var(--radius); box-shadow: var(--shadow-md); }
.event-done:focus { outline: none; }
.test-only-note { margin: 12px 0 0; font-size: 0.85rem; color: var(--muted); } /* preview/test site only (event-form.js) */

/* Testing-only "Fill test info" button (test-fill.js; never shown on theskidr.com). */
.test-fill, .test-fill:hover { text-decoration: none; color: var(--charcoal); }
.test-fill { position: fixed; top: 84px; right: 12px; z-index: 60; padding: 6px 14px; border: 1.5px solid var(--charcoal); border-radius: 999px; background: var(--gold); color: var(--charcoal); font: 700 0.85rem var(--body, inherit); box-shadow: var(--shadow-md); cursor: pointer; }
/* Testing-only "Phone view" switch (test-view.js; never shown on theskidr.com): the page in a 390px phone frame. */
.test-view { position: fixed; top: 122px; right: 12px; z-index: 1001; display: grid; place-items: center; width: 40px; height: 40px; padding: 0; border: 1.5px solid var(--charcoal); border-radius: 50%; background: #fff; color: var(--charcoal); font-size: 1.15rem; line-height: 1; box-shadow: var(--shadow-md); cursor: pointer; }
.test-view-overlay { position: fixed; inset: 0; z-index: 1000; display: flex; align-items: center; justify-content: center; padding: 20px; background: rgb(37 37 37 / 0.88); }
.test-view-frame { width: 410px; max-width: 100%; box-sizing: border-box; /* 390px screen inside a 10px frame */ height: min(844px, calc(100vh - 40px)); border: 10px solid #111; border-radius: 36px; background: #fff; box-shadow: 0 20px 60px rgb(0 0 0 / 0.5); }
html.test-view-on { overflow: hidden; }

/* Pop-ups page: month calendar with pop-up days marked, then the upcoming list with date tiles. */
.popup-cal { max-width: 460px; margin: 28px auto 8px; padding: 18px; background: #fff; border-radius: 16px; box-shadow: var(--shadow-lg); }
.popup-cal-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; }
.popup-cal-month { margin: 0; font-size: 1.5rem; }
.popup-cal-nav { width: 40px; height: 40px; border: 1.5px solid #cfd8d1; border-radius: 50%; background: #fff; font-size: 1.5rem; line-height: 1; cursor: pointer; color: var(--charcoal); }
.popup-cal-nav:hover { border-color: var(--green); color: var(--green-dark); }
.popup-cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; text-align: center; }
.popup-cal-dow { font-size: .75rem; font-weight: 700; color: var(--muted); text-transform: uppercase; padding: 4px 0; }
.popup-cal-day { display: grid; place-items: center; aspect-ratio: 1; border-radius: 10px; font-weight: 600; color: var(--ink); text-decoration: none; }
.popup-cal-day.past { color: #b5bcb7; }
.popup-cal-day.today { box-shadow: inset 0 0 0 2px var(--charcoal); }
.popup-cal-day.has-popup { background: var(--day-color, var(--green)); color: #fff; }
.popup-cal-day.has-popup:hover { background: var(--day-color, var(--green-dark)); filter: brightness(0.9); }
.popup-list-title { margin-top: 48px; }
@media (min-width: 900px) {
  .popup-layout { display: grid; grid-template-columns: 380px 1fr; gap: 40px; align-items: start; margin-top: 28px; }
  .popup-layout .popup-cal { margin: 0; position: sticky; top: 96px; }
  .popup-layout .popup-list-title { margin-top: 0; text-align: left; }
  .popup-layout .popup-list { margin-top: 0; }
  .popup-layout-list .popup-list-title + .popup-list { margin-top: 16px; }
}
.popup-list { list-style: none; padding: 0; margin: 20px 0 0; display: grid; gap: 14px; }
.popup-cal + .popup-list { margin-top: 28px; }
.popup-see-all { margin-top: 24px; }
.popup { background: #fff; border-radius: 14px; box-shadow: var(--shadow-md); scroll-margin-top: 96px; transition: box-shadow .2s, transform .2s; }
.popup:has(details[open]) { box-shadow: 0 0 0 2px var(--green), var(--shadow-lg); transform: scale(1.015); }
.popup:target { box-shadow: 0 0 0 3px var(--green), var(--shadow-lg); }
.popup summary { display: flex; gap: 18px; align-items: center; padding: 18px; cursor: pointer; list-style: none; }
.popup summary::-webkit-details-marker { display: none; }
.popup summary:hover .popup-name { color: var(--green-dark); }
.popup-date { flex: none; width: 74px; border-radius: 12px; overflow: hidden; text-align: center; border: 1.5px solid #d7e2d9; align-self: flex-start; background: #fff; color: var(--charcoal); } /* white calendar icon on every card */
.popup-dow { display: block; background: var(--green); color: #fff; font-size: .8rem; font-weight: 700; text-transform: uppercase; padding: 3px 0; }
.popup-day { display: block; font-size: 1.9rem; font-weight: 700; line-height: 1.2; padding-top: 4px; }
.popup-mon { display: block; font-size: .8rem; font-weight: 700; text-transform: uppercase; color: var(--muted); padding-bottom: 6px; }
.popup-body { flex: 1; min-width: 0; }
.popup-name { display: block; margin-bottom: 4px; font: 700 1.5rem/1.05 var(--heading); text-transform: uppercase; }
.popup-line { display: block; font-weight: 600; }
.popup-where { color: var(--muted); font-weight: 500; }
.popup-chevron { flex: none; width: 12px; height: 12px; border-right: 2.5px solid var(--muted); border-bottom: 2.5px solid var(--muted); transform: rotate(45deg); margin: 0 6px 6px 0; transition: transform .2s; }
.popup details[open] .popup-chevron { transform: rotate(225deg); margin: 6px 6px 0 0; }
.popup-more { padding: 0 18px 18px 110px; }
.popup-more p { margin: 0 0 10px; }
.popup-note { color: var(--green-dark); font-weight: 600; }
/* Pop-up with the event's logo ("cardBg" in site.json): logo on the right of the card on its own color, white text. */
.popup.has-bg summary { background: var(--card-color) var(--card-bg) no-repeat right 44px center / auto 88%; color: #fff; border-radius: 14px; }
/* Two logos ("cardBg" is a list in site.json): the first sits at the far right, the second just left of it. */
.popup.has-bg.two-logos summary { background: var(--card-color); background-image: var(--card-bg); background-position: right 44px bottom 10px, right var(--logo2-right, 150px) bottom 14px; background-size: auto 76%, auto 46%; background-repeat: no-repeat; }
.popup.has-bg.two-logos .popup-body { margin-right: calc(var(--logo2-right, 150px) + 80px); }
.popup.has-bg.two-logos .popup-name { white-space: nowrap; margin-right: calc(-1 * var(--logo2-right, 150px) - 40px); } /* logos sit low, so the name gets the whole top line */
.popup.has-bg details[open] summary { border-radius: 14px 14px 0 0; }
.popup.has-bg[style*="--card-photo"] summary {
  background:
    var(--card-bg) no-repeat right 44px center / auto 88%,
    linear-gradient(90deg, var(--card-color) 0%, color-mix(in srgb, var(--card-color) 80%, transparent) 38%, transparent 62%),
    var(--card-photo) center 55% / cover;
}
.popup.has-bg[style*="--card-photo"] .popup-name, .popup.has-bg[style*="--card-photo"] .popup-line { text-shadow: 0 1px 3px rgb(0 0 0 / 0.6); }
.popup.has-bg .popup-body { margin-right: 120px; } /* keep the text off the logo */
.popup.has-bg summary:hover .popup-name { color: #fff; }
.popup.has-bg .popup-name, .popup.has-bg .popup-line { color: #fff; }
.popup.has-bg .popup-where { color: #d6e6f0; }
.popup.has-bg .popup-mon { color: var(--muted); }
.popup.has-bg .popup-more { padding-top: 22px; } /* white space under the colored header when opened */
.popup.has-bg .popup-chevron { border-color: #fff; color: #fff; }
@media (max-width: 520px) { .popup.has-bg summary { background-position: right 30px bottom 10px; background-size: 64px; } .popup.has-bg .popup-body { margin-right: 0; }
  .popup.has-bg.two-logos summary { background-position: right 30px bottom 8px, right 100px bottom 12px; background-size: auto 70px, auto 38px; } .popup.has-bg.two-logos .popup-body { margin-right: 0; padding-bottom: 50px; } .popup.has-bg.two-logos .popup-name { white-space: normal; margin-right: 0; }
  .popup.has-bg[style*="--card-photo"] summary {
    background:
      var(--card-bg) no-repeat right 30px bottom 10px / 64px,
      linear-gradient(90deg, var(--card-color) 0%, color-mix(in srgb, var(--card-color) 85%, transparent) 62%, transparent 92%),
      var(--card-photo) center 55% / cover;
  } } /* phones: small logo in the corner; the blue shade reaches further so the text stays readable */
.popup-flyer { display: block; max-width: 360px; margin: 4px 0 14px; }
.popup-flyer img { width: 100%; height: auto; border-radius: 10px; box-shadow: var(--shadow-md); }
.popup-free { display: inline-block; margin-top: 6px; padding: 3px 10px; border-radius: 999px; background: var(--green); color: #fff; font-size: .85rem; font-weight: 700; }
.popup-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 14px !important; }
.add-cal { position: relative; display: inline-block; }
.add-cal-btn::after { content: ""; display: inline-block; margin-left: 8px; border: 5px solid transparent; border-top-color: currentColor; transform: translateY(2px); }
.add-cal-btn[aria-expanded="true"]::after { transform: translateY(-3px) rotate(180deg); }
.add-cal-menu { position: absolute; z-index: 5; top: calc(100% + 6px); left: 0; min-width: 190px; display: grid; padding: 6px; background: #fff; border-radius: 12px; box-shadow: var(--shadow-lg); }
.add-cal-menu[hidden] { display: none; }
.add-cal-menu a { padding: 10px 12px; border-radius: 8px; font-weight: 600; color: var(--ink); text-decoration: none; }
.add-cal-menu a:hover, .add-cal-menu a:focus { background: var(--mist); color: var(--green-dark); }
@media (max-width: 520px) { .popup summary { gap: 12px; padding: 14px; } .popup-date { width: 62px; } .popup-more { padding: 0 14px 16px; } }
.popup-empty { margin-top: 20px; color: var(--muted); }

/* ===== Home page (formerly "Home 2"): motion and interactive extras, scoped to .home2. ===== */
/* Hero: the van photo drifts and zooms slowly; a bouncing arrow to scroll. */
.home2 .hero-van > img, .home2 .hero-van > picture > img { animation: h2-drift 24s ease-in-out infinite alternate; transform-origin: 60% 50%; }
@keyframes h2-drift { from { transform: scale(1); } to { transform: scale(1.08) translate(-1.5%, -1%); } }
.h2-scroll { display: block; width: 26px; height: 26px; margin: 26px auto 0; border-right: 3px solid #fff; border-bottom: 3px solid #fff; transform: rotate(45deg); filter: drop-shadow(0 2px 3px rgb(0 0 0 / 0.6)); animation: h2-bounce 1.8s ease-in-out infinite; }
@keyframes h2-bounce { 0%, 100% { translate: 0 0; } 50% { translate: 0 8px; } }
.home2 { overflow-x: clip; } /* things sliding in from the side never widen the page */
.home2 [id] { scroll-margin-top: 70px; }
.home2 .hero-van .hero-full-inner { padding-top: 96px; padding-bottom: 28px; } /* room for the quick paths and arrow on one screen */
.home2 .hero-van h1 { margin-bottom: 36px; }

/* Fade up into view (only when JS turns motion on). */
.h2-motion [data-reveal] { opacity: 0; transform: translateY(26px); transition: opacity 0.7s ease, transform 0.7s ease; transition-delay: var(--reveal-delay, 0ms); }
.h2-motion [data-reveal="right"] { transform: translateX(32px); }
.h2-motion [data-reveal].is-in { opacity: 1; transform: none; }

/* Event-type cards lift and tilt a touch; the icon turns green. */
.home2 .event-types li { transition: transform 0.25s, box-shadow 0.25s; }
.home2 .event-types li:hover { transform: translateY(-6px) rotate(-0.6deg); box-shadow: var(--shadow-lg); }
.home2 .event-types li:nth-child(even):hover { transform: translateY(-6px) rotate(0.6deg); }
.home2 .event-types .how-icon { transition: background 0.25s, color 0.25s, transform 0.25s; }
.home2 .event-types li:hover .how-icon { background: var(--green); color: #fff; transform: scale(1.08); }


/* Thin dark topo trim between sections. */
.topo-divider { height: 14px; background: var(--charcoal) url("/assets/img/topo-tile.jpg") center / 900px auto repeat; }

/* FAQ on the dark topo background (white question cards stay readable). */
.home2 section[aria-labelledby="faq-h"] { background: var(--charcoal) url("/assets/img/topo-tile.jpg") center top / 1412px auto repeat; color: #fff; }
.home2 section[aria-labelledby="faq-h"] h2 { color: #fff; }
.home2 section[aria-labelledby="faq-h"] .faq details { color: var(--ink); }
.home2 section[aria-labelledby="faq-h"] .book-more a { color: var(--green-light); }

/* Reviews (shows once real reviews are in site.json): a sideways strip of quotes. */
.home2 .reviews { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 16px; padding-bottom: 8px; }
.home2 .review { flex: 0 0 min(85vw, 380px); scroll-snap-align: start; }

@media (prefers-reduced-motion: reduce) {
  .home2 .hero-van > img, .home2 .hero-van > picture > img, .h2-scroll { animation: none; }
}

/* Booking log at the bottom of /book-house-call (test site and local preview only; booking-form.js) */
.bk-log { position: fixed; left: 0; right: 0; bottom: 0; z-index: 1000; max-height: 40vh; overflow: auto; background: #111; color: #d7f5e3; font: 12px/1.5 ui-monospace, Menlo, monospace; padding: 6px 14px; box-shadow: 0 -4px 16px rgb(0 0 0 / 0.3); }
.bk-log summary { cursor: pointer; color: #fff; font-weight: 700; }
.bk-log ol { margin: 6px 0 0; padding-left: 22px; }
.bk-log li { white-space: pre-wrap; word-break: break-word; }
.bk-log li.bad { color: #ff9b9b; }
