/* Nick's Garage Tunes — palette pulled from the flaming-iron art */
:root {
  --gold: #b37d03;        /* hero background, sampled from the art */
  --gold-deep: #7a5300;
  --gold-pale: #f3e3b8;
  --flame: #b8332a;       /* the iron */
  --flame-hot: #e8641f;   /* flame tips */
  --ink: #1d1a14;
  --cream: #fbf6ea;
  --paper: #fffaf0;
  --muted: #6b6250;
  --line: #e2d3ad;
  --ok: #2f7a3a;
  --radius: 14px;
  --shadow: 0 10px 30px -18px rgba(60, 40, 0, .55);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; animation: none !important; } }
body {
  margin: 0; background: var(--cream); color: var(--ink);
  font: 17px/1.5 "Nunito", system-ui, -apple-system, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3 { font-family: "Bowlby One", "Arial Black", Impact, sans-serif; font-weight: 400; line-height: 1.05; margin: 0; text-wrap: balance; letter-spacing: .01em; }
h2 { font-size: clamp(28px, 5vw, 40px); color: var(--gold-deep); }
h3 { font-size: 20px; }
p { margin: 0 0 12px; }
a { color: var(--flame); }
.sub { color: var(--muted); font-size: 18px; margin-bottom: 22px; max-width: 58ch; }
:focus-visible { outline: 3px solid var(--flame-hot); outline-offset: 3px; }

/* buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 22px; border-radius: 999px; border: 2px solid transparent;
  font: 700 17px/1 "Nunito", sans-serif; text-decoration: none; cursor: pointer;
  transition: transform .12s ease, box-shadow .12s ease, background .12s ease;
  min-height: 48px;
}
.btn:active { transform: translateY(1px); }
.btn-flame { background: var(--flame); color: #fff; box-shadow: 0 6px 0 var(--gold-deep); }
.btn-flame:hover { background: #c93a2f; }
.btn-ink { background: var(--ink); color: var(--cream); }
.btn-ghost { background: transparent; border-color: var(--ink); color: var(--ink); }
.btn.big { width: 100%; font-size: 20px; min-height: 58px; }
.btn[disabled] { opacity: .55; cursor: not-allowed; box-shadow: none; }

/* header */
.top {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 10;
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 8px 16px; background: rgba(251, 246, 234, .92); backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.brand img { width: 120px; height: auto; }
.topnav { display: flex; align-items: center; gap: 18px; }
.topnav a { color: var(--ink); text-decoration: none; font-weight: 700; }
.topnav .btn { padding: 10px 16px; min-height: 40px; font-size: 15px; }
.topnav .btn-ink { color: var(--cream); }
@media (max-width: 560px) { .topnav a:not(.btn) { display: none; } }

main { display: block; overflow-x: clip; }
section { padding-inline: 16px; padding-block: 56px; }
section > h2, section > .sub, section > form, section > .confirm, .cards { max-width: 860px; margin-inline: auto; }
.cards { width: 100%; }

/* hero */
.hero {
  background: var(--gold); color: var(--cream); padding-block: 0;
  display: grid; grid-template-columns: minmax(0, 1fr); overflow: hidden;
}
.hero-art { margin: 0 -16px; min-width: 0; }
.hero-art img { width: 100%; }
.hero-copy { padding-block: 28px 44px; max-width: 560px; }
.kicker { font-size: 13px; letter-spacing: .16em; text-transform: uppercase; font-weight: 900; color: var(--gold-pale); margin-bottom: 10px; }
.hero h1 { font-size: clamp(34px, 7vw, 58px); color: #fff; text-shadow: 0 3px 0 var(--gold-deep); }
.hero h1 span { color: var(--ink); text-shadow: none; }
.lede { font-size: 19px; margin: 16px 0 22px; max-width: 46ch; }
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; }
.hero .btn-ghost { border-color: var(--cream); color: var(--cream); }
.proof { list-style: none; padding: 0; margin: 26px 0 0; display: flex; gap: 8px 22px; flex-wrap: wrap; font-weight: 700; color: var(--gold-pale); }
.proof li::before { content: "★ "; color: var(--ink); }
@media (min-width: 820px) {
  .hero { grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); align-items: center; gap: 24px; padding-inline: 0; }
  .hero-art { margin: 0; }
  .hero-copy { padding: 48px 32px 48px 0; }
}

/* services */
.services { background: var(--paper); }
.cards { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 18px 16px;
  display: grid; grid-template-rows: auto auto 1fr auto; gap: 6px; box-shadow: var(--shadow);
}
.card .price { font-family: "Bowlby One", sans-serif; font-size: 30px; color: var(--flame); line-height: 1; }
.card .price small { font: 700 12px/1 "Nunito"; color: var(--muted); text-transform: uppercase; letter-spacing: .08em; margin-left: 6px; }
.card h3 { color: var(--ink); }
.card .blurb { color: var(--ink); margin: 0; }
.card .pick { color: var(--muted); font-style: italic; margin: 8px 0 0; font-size: 15px; }
.card .pick::before { content: "Get this if: "; font-style: normal; font-weight: 900; color: var(--gold-deep); }
.card.featured { border: 2px solid var(--gold); background: var(--paper); }
.card.featured::before { content: "Most popular"; font: 900 11px/1 "Nunito"; letter-spacing: .12em; text-transform: uppercase; color: var(--gold-deep); }

/* booking */
.book { background: var(--cream); }
.steps { list-style: none; padding: 0; margin: 0; display: grid; gap: 28px; min-width: 0; }
.step { min-width: 0; }
.step h3 { display: flex; align-items: center; gap: 12px; color: var(--gold-deep); margin-bottom: 14px; font-size: 22px; }
.step .n { display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--flame); color: #fff; font-size: 17px; flex: none; }
.hint { color: var(--muted); font-size: 15px; margin: 10px 0 0; }

.picker { display: grid; gap: 8px; }
.pick-row {
  display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 12px;
  background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 12px 12px 12px 16px;
}
.pick-row.on { border-color: var(--gold); background: var(--paper); box-shadow: inset 4px 0 0 var(--gold); }
.pick-row .nm { font-weight: 900; }
.pick-row .pr { color: var(--muted); font-size: 15px; }
.qty { display: inline-flex; align-items: center; border: 2px solid var(--ink); border-radius: 999px; overflow: hidden; }
.qty button { width: 44px; height: 44px; border: 0; background: #fff; font: 900 22px/1 "Nunito"; color: var(--ink); cursor: pointer; }
.qty button:hover { background: var(--gold-pale); }
.qty output { min-width: 34px; text-align: center; font-weight: 900; font-size: 18px; }

.days { display: flex; gap: 8px; overflow-x: auto; min-width: 0; max-width: 100%; padding: 4px 2px 10px; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; }
.day {
  flex: none; scroll-snap-align: start; width: 74px; padding: 10px 6px; text-align: center; border-radius: 12px;
  border: 2px solid var(--line); background: #fff; cursor: pointer; font: inherit; color: var(--ink);
}
.day .dw { display: block; font-size: 12px; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); font-weight: 900; }
.day .dn { display: block; font-family: "Bowlby One"; font-size: 24px; line-height: 1.1; }
.day .mo { display: block; font-size: 12px; color: var(--muted); }
.day[aria-checked="true"] { border-color: var(--flame); background: var(--flame); color: #fff; }
.day[aria-checked="true"] .dw, .day[aria-checked="true"] .mo { color: #ffd9d3; }
.day.full { opacity: .45; cursor: not-allowed; }
.windows { display: grid; gap: 8px; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); margin-top: 6px; }
.win { padding: 14px 10px; border-radius: 12px; border: 2px solid var(--line); background: #fff; font: 700 16px "Nunito"; cursor: pointer; color: var(--ink); }
.win small { display: block; font-weight: 400; color: var(--muted); font-size: 13px; margin-top: 2px; }
.win[aria-checked="true"] { border-color: var(--flame); background: var(--flame); color: #fff; }
.win[aria-checked="true"] small { color: #ffd9d3; }
.win[disabled] { opacity: .45; cursor: not-allowed; }
.ready { margin: 12px 0 0; font-weight: 700; color: var(--ok); }
.ready::before { content: "✓ "; }

.fields { display: grid; gap: 12px; }
.fields label { display: grid; gap: 6px; font-weight: 900; }
.fields .opt { font-weight: 400; color: var(--muted); font-size: 14px; margin-left: 6px; }
.fields input, .fields textarea {
  font: 17px "Nunito", sans-serif; padding: 13px 14px; border: 2px solid var(--line); border-radius: 12px; background: #fff; color: var(--ink); width: 100%;
}
.fields input:focus, .fields textarea:focus { border-color: var(--gold); outline: none; }
.fields .bad { border-color: var(--flame); }

.summary {
  position: sticky; bottom: env(safe-area-inset-bottom, 0px); margin-top: 28px;
  background: var(--ink); color: var(--cream); border-radius: var(--radius) var(--radius) 0 0; padding: 16px 18px;
  box-shadow: 0 -10px 30px -18px rgba(0,0,0,.6);
}
.sum-line { display: flex; justify-content: space-between; gap: 12px; padding: 4px 0; font-size: 15px; color: #cbbf9e; }
.sum-line b { color: #fff; text-align: right; font-weight: 700; }
.sum-line.total { border-top: 1px solid #3a3226; margin-top: 6px; padding-top: 10px; font-size: 17px; }
.sum-line.total b { font-family: "Bowlby One"; font-size: 26px; }
.summary .btn { margin-top: 12px; }
.errors { background: #fbe4e1; color: #7a1f18; padding: 10px 12px; border-radius: 10px; margin: 10px 0 0; font-weight: 700; }
.fine { font-size: 14px; color: var(--muted); margin: 10px 0 0; text-align: center; }
.summary .fine { color: #cbbf9e; }
@media (min-width: 820px) {
  #booking { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 32px; align-items: start; }
  .summary { position: sticky; top: 96px; bottom: auto; border-radius: var(--radius); }
}

#booking[hidden], .confirm[hidden] { display: none; }
.confirm { background: #fff; border: 2px solid var(--gold); border-radius: var(--radius); padding: 32px 22px; margin-top: 24px; text-align: center; display: grid; gap: 12px; justify-items: center; }
.confirm h3 { font-size: 30px; color: var(--gold-deep); }
.confirm .code { font-size: 18px; } .confirm .code b { font-family: "Bowlby One"; font-size: 28px; letter-spacing: .08em; color: var(--flame); }
.confirm dl { display: grid; grid-template-columns: auto 1fr; gap: 6px 16px; text-align: left; margin: 6px 0; max-width: 440px; width: 100%; }
.confirm dt { font-weight: 900; color: var(--muted); } .confirm dd { margin: 0; }

/* find */
.find { background: var(--gold); color: var(--cream); display: grid; gap: 32px; max-width: none; }
.find > * { max-width: 860px; margin-inline: auto; width: 100%; }
.find h2 { color: #fff; text-shadow: 0 3px 0 var(--gold-deep); }
.find h3 { color: var(--ink); margin-top: 14px; margin-bottom: 6px; }
.addr { font-size: 20px; font-weight: 700; margin: 10px 0 6px; }
.addr-note { color: var(--gold-pale); font-size: 15px; margin-bottom: 18px; max-width: 42ch; }
.hours-title { font-weight: 900; text-transform: uppercase; letter-spacing: .1em; font-size: 13px; color: var(--gold-pale); margin-bottom: 4px; }
.hours { list-style: none; padding: 0; margin: 0 0 20px; display: grid; gap: 2px; max-width: 360px; }
.hours li { display: flex; justify-content: space-between; gap: 12px; border-bottom: 1px dashed rgba(255,255,255,.3); padding: 4px 0; }
.hours li.closed { color: var(--gold-pale); }
.find-cta { display: flex; gap: 10px; flex-wrap: wrap; }
.find .btn-ghost { border-color: var(--cream); color: var(--cream); }
@media (min-width: 820px) { .find { grid-template-columns: 1fr 1fr; } .find > * { margin: 0; } .find { justify-content: center; padding-inline: max(16px, calc((100% - 860px) / 2)); } }

footer { background: var(--ink); color: #cbbf9e; padding: 32px 16px calc(32px + env(safe-area-inset-bottom, 0px)); text-align: center; display: grid; gap: 10px; justify-items: center; font-size: 14px; }

/* 404 */
.lost { min-height: 100vh; display: grid; place-content: center; justify-items: center; gap: 12px; text-align: center; padding: 16px; }
.lost h1 { font-size: 34px; color: var(--gold-deep); }
