@font-face {
  font-family: "Bricolage Grotesque";
  src: url("fonts/bricolage.woff2") format("woff2");
  font-weight: 700 800;
  font-display: swap;
}

:root {
  --sun: #ffcb2e;
  --sun-deep: #f2b705;
  --sun-soft: #fff4cf;
  --paper: #fffdf7;
  --paper-2: #f7f2e6;
  --card: #ffffff;
  --ink: #141310;
  --muted: #5e5a50;
  --line: #e9e2cf;
  --good: #1f7a4d;
  --bad: #b42318;
  --radius: 16px;
  --shadow: 0 1px 2px rgba(20, 19, 16, 0.06), 0 12px 32px rgba(20, 19, 16, 0.08);
  --head: "Bricolage Grotesque", "Helvetica Neue", Arial, sans-serif;
  --body: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

/* app.js switches body to .is-full (waitlist) when the free spots run out. */
.is-open .full-only, .is-full .open-only { display: none !important; }

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 16px/1.55 var(--body); -webkit-font-smoothing: antialiased; }
img { display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--head); line-height: 1.04; margin: 0; letter-spacing: -0.02em; }
h1 { font-size: clamp(2.2rem, 6vw, 4.2rem); font-weight: 800; }
h2 { font-size: clamp(1.7rem, 4vw, 2.5rem); font-weight: 800; }
h3 { font-size: 1.2rem; font-weight: 700; }
p { margin: 0; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.wrap { max-width: 1080px; margin: 0 auto; padding: 0 20px; }
section[id], .field, .zip-note { scroll-margin-top: 84px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5em;
  background: var(--ink); color: #fff; text-decoration: none; white-space: nowrap;
  font: 600 1.05rem/1 var(--body); padding: 17px 24px; border-radius: 999px; border: 0; cursor: pointer;
  transition: transform 0.12s, background 0.12s;
}
.btn:hover { background: #2b2924; }
.btn:active { transform: scale(0.98); }
.btn:disabled { opacity: 0.6; cursor: wait; }
.btn-small { padding: 11px 18px; font-size: 0.95rem; }
.btn-block { width: 100%; padding: 19px 24px; font-size: 1.1rem; }
.btn-ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--ink); }
.btn-ghost:hover { background: var(--sun-soft); }
.link { background: none; border: 0; padding: 0; font: inherit; color: var(--ink); text-decoration: underline; cursor: pointer; }
.pill-btn { background: var(--sun-soft); border: 0; border-radius: 999px; padding: 8px 14px; font: 600 0.9rem/1 var(--body); color: var(--ink); cursor: pointer; white-space: nowrap; }
.pill-btn:hover { background: var(--sun); }

/* Nav */
.nav { position: sticky; top: 0; z-index: 10; background: var(--sun); border-bottom: 1.5px solid rgba(20, 19, 16, 0.12); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font: 800 1.35rem/1 var(--head); letter-spacing: -0.02em; }
.nav-links { display: flex; align-items: center; gap: 22px; }
.nav-links a:not(.btn) { text-decoration: none; font-weight: 500; opacity: 0.75; }
.nav-links a:not(.btn):hover { opacity: 1; }
@media (max-width: 560px) { .nav-links a:not(.btn) { display: none; } }

/* Hero: the offer on the left, the booking card on the right (stacked on phones). */
.hero { background: var(--sun); padding: 48px 0 64px; }
.hero-grid { display: grid; grid-template-columns: 1fr minmax(0, 520px); gap: 48px; align-items: start; }
.hero-grid > * { min-width: 0; }
.hero-copy { padding-top: 20px; }
.lede { font-size: 1.2rem; max-width: 32ch; margin-top: 16px; color: #3a372f; }
.towns { margin-top: 10px; max-width: 46ch; font-size: 0.86rem; font-weight: 600; color: #57523f; }
/* Shown on the booking form: you're one of the first customers, so it's free. */
.perk { display: flex; gap: 12px; align-items: flex-start; margin-bottom: 16px; padding: 12px 14px; border-radius: 14px; background: #fff; box-shadow: 0 0 0 2px var(--ink); }
.perk-ollie { width: 30px; height: 30px; flex: none; margin-top: 2px; }
.perk-body { flex: 1; min-width: 0; font-size: 0.93rem; line-height: 1.35; }
.perk-left { color: var(--muted); margin-top: 3px; }
.perk-left span { color: var(--ink); font-weight: 700; }
.pay-note s { color: var(--muted); }
.pay-note strong { color: var(--good); }
.spots-bar { height: 8px; margin-top: 7px; border-radius: 999px; background: var(--sun-soft); overflow: hidden; box-shadow: inset 0 0 0 1px rgba(20, 19, 16, 0.12); }
.spots-bar span { display: block; height: 100%; background: var(--ink); border-radius: 999px; transition: width 0.4s; }
.hero-points { list-style: none; padding: 0; margin: 18px 0 0; display: flex; flex-wrap: wrap; gap: 6px 18px; font-weight: 600; font-size: 0.95rem; color: #3a372f; }
.hero-points li::before { content: "✓ "; }
.zip-form { display: flex; gap: 8px; margin-top: 18px; background: #fff; padding: 6px; border-radius: 999px; box-shadow: 0 0 0 1.5px var(--line); }
.zip-form:focus-within { box-shadow: 0 0 0 2px var(--ink); }
.zip-form input { flex: 1; min-width: 0; border: 0; background: transparent; font: 600 1.05rem/1 var(--body); padding: 0 14px; color: var(--ink); }
.zip-form input:focus { outline: none; }
.zip-form .btn { padding: 14px 20px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

@media (max-width: 860px) {
  .hero { padding: 20px 0 28px; }
  .hero-grid { grid-template-columns: 1fr; gap: 18px; }
  .hero-copy { padding-top: 0; }
  .lede { font-size: 1.02rem; margin-top: 10px; }
    .hero-points { margin-top: 10px; gap: 4px 14px; font-size: 0.88rem; }
}

/* Sections */
.section { padding: 72px 0; }
.section-lede { color: var(--muted); max-width: 62ch; margin-top: 12px; }
.section-alt { background: var(--paper-2); }
.last-call .btn { margin-top: 20px; }

/* Booker */
.booker { scroll-margin-top: 66px; background: var(--card); border-radius: 24px; box-shadow: 0 0 0 2px var(--ink), 6px 6px 0 var(--ink); padding: 26px; }
@media (max-width: 560px) { .booker { padding: 20px 16px; border-radius: 20px; box-shadow: 0 0 0 2px var(--ink), 4px 4px 0 var(--ink); } }
.step h2 { font-size: clamp(1.5rem, 4vw, 1.9rem); }
.step-lede { color: var(--muted); margin-top: 4px; }
.step-lede + .row { margin-top: 14px; }
.step .hint { margin-top: 12px; }
.step.fade-in { animation: fade 0.22s ease-out; }
@keyframes fade { from { opacity: 0; transform: translateY(6px); } }

.time-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.range { color: var(--muted); font-size: 0.9rem; font-weight: 600; white-space: nowrap; }
/* Two weeks at a glance: no sideways scrolling to find a day. */
.days { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; margin-top: 14px; }
.day { min-width: 0; border: 1.5px solid var(--line); background: #fff; border-radius: 12px; padding: 6px 0 5px; text-align: center; cursor: pointer; font: inherit; color: var(--ink); transition: all 0.12s; }
.day b { display: block; font: 800 1.25rem/1.15 var(--head); }
.day small { display: block; font-size: 0.68rem; color: var(--muted); font-weight: 700; text-transform: uppercase; letter-spacing: 0.03em; }
.day:hover { border-color: var(--ink); }
.day[aria-selected="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.day[aria-selected="true"] small { color: var(--sun); }
.day:disabled { opacity: 0.38; cursor: default; border-style: dashed; }

/* Six across, so a day of 8am to 7pm starts fits in two rows on a phone. */
.slots-head { margin-top: 14px; font-weight: 700; font-size: 0.95rem; }
.slots { display: grid; grid-template-columns: repeat(6, 1fr); gap: 6px; margin-top: 8px; }
.slot { min-width: 0; border: 1.5px solid var(--line); background: #fff; border-radius: 12px; padding: 12px 0; cursor: pointer; font: inherit; color: var(--ink); text-align: center; transition: all 0.12s; }
.slot b { display: block; font-size: 0.98rem; white-space: nowrap; }
.slot small { display: block; color: var(--muted); font-size: 0.78rem; margin-top: 2px; }
.slot:hover:not(:disabled) { border-color: var(--ink); background: var(--sun-soft); }
.slot:disabled { cursor: default; background: var(--paper-2); color: var(--muted); }
.slot:disabled b { text-decoration: line-through; }
/* Placeholders while open times load, so nothing jumps. */
.ghost { display: block; border-color: transparent; background: var(--paper-2); cursor: default; }
.day.ghost { height: 50px; }
.slot.ghost { height: 46px; }
/* Narrow phones (about 350px): "TODAY" and "12pm" spilled past their buttons. */
@media (max-width: 370px) { .day small { font-size: 0.6rem; letter-spacing: 0; } .slot b { font-size: 0.86rem; } }
.empty { color: var(--muted); margin-top: 16px; }

.chosen { display: flex; justify-content: space-between; align-items: center; gap: 12px; background: var(--sun-soft); border-radius: 14px; padding: 12px 16px; margin-bottom: 18px; }
.chosen-label { display: block; font-size: 0.78rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.06em; color: var(--muted); }
.chosen strong { font: 800 1.2rem/1.2 var(--head); }

.row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.row-address { grid-template-columns: 1fr 96px; }
.row-address .field { margin-bottom: 0; }
.field { display: block; margin-bottom: 14px; }
.field > span { display: block; font-weight: 600; font-size: 0.92rem; margin-bottom: 6px; }
.field em { font-style: normal; color: var(--muted); font-weight: 400; }
.field input, .field textarea {
  width: 100%; min-width: 0; font: 16px/1.3 var(--body); color: var(--ink);
  background: var(--paper); border: 1.5px solid var(--line); border-radius: 12px; padding: 14px;
  appearance: none; -webkit-appearance: none;
}
.field .oil input { width: auto; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--ink); background: #fff; }
.invalid input, .invalid textarea { border-color: var(--bad); }
textarea { resize: vertical; }
.hint { display: block; color: var(--muted); font-size: 0.85rem; margin-top: 6px; }
.err { display: block; color: var(--bad); font-size: 0.85rem; font-weight: 500; }
.err:empty { display: none; }
.err:not(:empty) { margin-top: 6px; }
.zip-note { min-height: 14px; margin-bottom: 8px; font-size: 0.85rem; }
.zip-note .err, .zip-note .hint, .zip-note .link { display: inline; margin: 0 6px 0 0; }
.zip-note .err:empty, .zip-note .hint:empty { display: none; }
.zip-note .link { font-size: 0.85rem; font-weight: 600; }

.add-note { font-size: 0.92rem; margin: -4px 0 16px; color: var(--muted); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
#reserve { margin-top: 6px; }
.pay-note:empty { display: none; }
.pay-note { text-align: center; color: var(--muted); font-size: 0.88rem; margin-top: 10px; }
.form-error { margin-top: 12px; color: var(--bad); font-weight: 500; text-align: center; }
.fine-print { margin-top: 14px; color: var(--muted); font-size: 0.78rem; text-align: center; }

.done { text-align: center; }
.done .check { margin: 4px auto 14px; }
.check { width: 56px; height: 56px; border-radius: 50%; background: var(--sun); color: var(--ink); display: grid; place-items: center; font-size: 1.7rem; font-weight: 800; }
/* Car step */
#car h2 { margin-top: 4px; }
#car .step-lede { margin-bottom: 14px; }
.year-field input { max-width: 150px; font: 700 1.25rem/1.2 var(--body); letter-spacing: 0.04em; }
.chips { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.chip { min-width: 0; border: 1.5px solid var(--line); background: #fff; border-radius: 12px; padding: 12px 4px; font: 600 0.95rem/1.2 var(--body); color: var(--ink); cursor: pointer; text-align: center; overflow-wrap: anywhere; }
.chip:hover { border-color: var(--ink); background: var(--sun-soft); }
.chip[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.chip-other { color: var(--muted); border-style: dashed; }
.chip-back { color: var(--muted); }
.car-row { grid-template-columns: 110px 1fr; }
.year-field input { max-width: none; }
.field select {
  width: 100%; min-width: 0; font: 16px/1.3 var(--body); color: var(--ink); background-color: var(--paper);
  border: 1.5px solid var(--line); border-radius: 12px; padding: 14px 34px 14px 12px; appearance: none; -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23141310' stroke-width='2' fill='none'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 12px center;
}
.field select:focus { outline: none; border-color: var(--ink); }
.away-dialog { border: 0; border-radius: 20px; padding: 24px 20px 20px; width: calc(100% - 32px); max-width: 380px; color: var(--ink); background: var(--card); box-shadow: 0 0 0 2px var(--ink), 6px 6px 0 var(--ink); }
.away-dialog::backdrop { background: rgba(20, 19, 16, 0.5); }
.away-dialog h2 { font-size: 1.5rem; }
.away-dialog p { color: var(--muted); margin-top: 8px; }
.dialog-buttons { display: grid; gap: 8px; margin-top: 18px; }
#car.sending .chips { opacity: 0.55; pointer-events: none; }
.done-when { font: 700 1.15rem/1.3 var(--head); margin-top: 8px; }
.done-car { color: var(--muted); margin-top: 2px; }
.done-free { color: var(--good); font-weight: 600; margin-top: 4px; }
/* After booking the header's button has nothing left to do. */
.booked .nav .btn { visibility: hidden; }
/* Out-of-area ZIP: the form is a waitlist signup now, so drop the booking-only bits. */
.away .chosen, .away .perk, .away .email-field, .away .fine-print, .away .add-note { display: none; }
.confirm-text { margin: 18px 0 14px; }
.confirm-text .hint { margin-top: 8px; }
.cal-buttons { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; margin-bottom: 16px; }
@media (max-width: 560px) {
  /* Phones: keep every open time on the first screen. */
  .nav-inner { height: 56px; }
  .towns { line-height: 1.4; }
          .lede { font-size: 0.98rem; }
  .step-lede { font-size: 0.95rem; }
  .chosen strong { font-size: 1.05rem; }
}

/* How it works, pricing */
.steps { list-style: none; padding: 0; margin: 28px 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.steps li { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.step-num { display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--sun); font: 800 1rem/1 var(--head); margin-bottom: 16px; }
.steps p { color: var(--muted); margin-top: 6px; }
@media (max-width: 760px) { .steps { grid-template-columns: 1fr; } }

/* FAQ */
.faq details { max-width: 760px; }
.faq h2 { margin-bottom: 18px; }
details { border-bottom: 1px solid var(--line); padding: 16px 0; }
summary { cursor: pointer; font-weight: 600; font-size: 1.05rem; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; font: 600 1.3rem/1 var(--body); color: var(--muted); }
details[open] summary::after { content: "–"; }
details p { color: var(--muted); margin-top: 10px; max-width: 60ch; }

/* Footer */
.footer { background: var(--ink); color: #c9c5ba; padding: 40px 0; font-size: 0.92rem; }
.footer-inner { display: flex; justify-content: space-between; gap: 28px; flex-wrap: wrap; }
.footer-inner > div:first-child { max-width: 440px; }
.footer p + p { margin-top: 8px; }
.brand-foot { color: #fff; }
.footer-links { display: flex; flex-direction: column; gap: 8px; }
.footer-links a { color: #fff; }
.contact:empty { display: none; }

/* Simple pages (terms, privacy) */
.page { padding: 56px 0 80px; }
.page .wrap { max-width: 720px; }
.page h1 { font-size: clamp(2rem, 5vw, 3rem); margin-bottom: 10px; }
.page h2 { font-size: 1.3rem; margin: 32px 0 8px; }
.page p, .page li { color: #33312b; }
.page p + p { margin-top: 10px; }
.page ul { padding-left: 20px; }
.page li + li { margin-top: 6px; }
.updated { color: var(--muted); font-size: 0.9rem; }
.confirm-lead { margin: 0 0 10px; font-size: 1.02rem; }
