:root {
  /* Brand values read from queencreekcdjr.com: black header, red #d20f06 buttons, white page. */
  --green: #111111;
  --green-2: #2a2a2a;
  --red: #d20f06;
  --red-dark: #a80c05;
  --gold: #d20f06;
  --cream: #f5f5f5;
  --ink: #222222;
  --muted: #5f5f5f;
  --line: #e2e2e2;
  --white: #fff;
  --radius: 14px;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: #fff;
  color: var(--ink);
  font: 17px/1.55 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}
h1, h2, h3, h4 { font-family: "Helvetica Neue", Helvetica, Arial, sans-serif; font-weight: 800; letter-spacing: -.01em; line-height: 1.12; margin: 0 0 .5em; }
a { color: var(--red); }
.wrap { max-width: 760px; margin: 0 auto; padding: 0 16px; }

/* hero */
.hero {
  position: relative;
  overflow: hidden;
  background: radial-gradient(120% 90% at 50% 0%, var(--green-2), #000 75%);
  color: #fff;
  text-align: center;
  padding: 56px 0 48px;
}
.hero-art { background: #e9eef2; border-bottom: 6px solid var(--red); line-height: 0; }
.hero-art img { display: block; width: 100%; height: clamp(250px, 44vw, 560px); object-fit: cover; object-position: 72% 60%; }
.truck-art { line-height: 0; margin-top: 8px; }
.truck-art img { display: block; width: 100%; height: clamp(150px, 26vw, 360px); object-fit: cover; object-position: 86% 60%; }
.snow {
  position: absolute; inset: 0; opacity: .35; pointer-events: none;
  background-image:
    radial-gradient(2px 2px at 20px 30px, #fff 50%, transparent 51%),
    radial-gradient(2px 2px at 90px 80px, #fff 50%, transparent 51%),
    radial-gradient(3px 3px at 150px 20px, #fff 50%, transparent 51%),
    radial-gradient(2px 2px at 200px 120px, #fff 50%, transparent 51%),
    radial-gradient(3px 3px at 60px 150px, #fff 50%, transparent 51%);
  background-size: 240px 180px;
}
.hero .wrap { position: relative; }
.logo { display: block; width: min(300px, 78%); height: auto; margin: 0 auto 22px; }
.hero h1 { font-size: clamp(2.3rem, 8vw, 3.8rem); margin-bottom: .35em; text-transform: uppercase; }
.intro { max-width: 34em; margin: 0 auto 20px; font-size: 1.08rem; }
.dates { list-style: none; padding: 0; margin: 0 0 14px; }
.dates li { margin: 4px 0; }
.dates strong { color: #fff; margin-right: 6px; }
.address a { color: #fff; }
.hero .btn { margin-top: 14px; }

/* buttons */
.btn {
  display: inline-block; border: 0; border-radius: 999px; cursor: pointer;
  font: 700 1.05rem/1 inherit; font-family: inherit; padding: 16px 28px; text-decoration: none;
}
.btn-gold { background: var(--red); color: #fff; }
.btn-gold:hover { background: var(--red-dark); }
.btn-red { background: var(--red); color: #fff; width: 100%; }
.btn-red:hover:not(:disabled) { background: var(--red-dark); }
.btn:disabled { opacity: .45; cursor: not-allowed; }
.btn:focus-visible, .slot:focus-visible, .day-tab:focus-visible, input:focus-visible, select:focus-visible {
  outline: 3px solid #1a73e8; outline-offset: 2px;
}

.photos { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 18px; }
.photos img { display: block; width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; border-radius: var(--radius); }

/* cards */
main { padding-top: 24px; padding-bottom: 24px; }
.card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 22px 18px; margin-bottom: 18px; box-shadow: 0 1px 2px rgba(0,0,0,.04);
}
.card h2 { color: var(--green); font-size: 1.5rem; text-transform: uppercase; }
.details ul { margin: 0; padding-left: 1.2em; }
.details li { margin: 4px 0; }
.small p { margin: .3em 0; }
.notice { background: var(--cream); border-left: 4px solid var(--gold); padding: 14px; margin: 0; border-radius: 6px; }

/* steps */
.steps { list-style: none; counter-reset: step; padding: 0; margin: 0; }
.steps > li { counter-increment: step; padding: 14px 0 18px; border-top: 1px solid var(--line); }
.steps > li:first-child { border-top: 0; padding-top: 4px; }
.steps h3 { font-size: 1.15rem; }
.steps h3::before {
  content: counter(step);
  display: inline-grid; place-items: center; width: 1.7em; height: 1.7em; margin-right: .5em;
  background: var(--red); color: #fff; border-radius: 50%; font: 700 .85rem/1 -apple-system, sans-serif;
  vertical-align: .1em;
}
.hint { color: var(--muted); margin: 0 0 10px; }

.day-tabs { display: flex; gap: 10px; overflow-x: auto; padding: 4px 2px 8px; }
.day-tab {
  flex: 0 0 auto; min-width: 86px; padding: 10px 14px; border-radius: 12px; cursor: pointer;
  background: var(--cream); border: 2px solid var(--line); color: var(--ink); font: inherit; text-align: center;
}
.day-tab .dow { display: block; font-size: .8rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.day-tab .dom { display: block; font-weight: 700; }
.day-tab[aria-selected="true"] { background: var(--green); border-color: var(--green); color: #fff; }
.day-tab[aria-selected="true"] .dow { color: #fff; }

.hour { margin-bottom: 14px; }
.hour h4 { font: 700 .85rem/1 -apple-system, sans-serif; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin-bottom: 8px; }
.slot-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(68px, 1fr)); gap: 8px; }
.slot {
  padding: 12px 0; min-height: 44px; border-radius: 10px; cursor: pointer; font: 600 1rem/1 inherit; font-family: inherit;
  background: #fff; border: 2px solid var(--green); color: var(--green);
}
.slot:hover:not(:disabled) { background: #f0f0f0; }
.slot.on { background: var(--red); border-color: var(--red); color: #fff; }
.slot:disabled { border-color: var(--line); color: #b5b5b5; background: var(--cream); text-decoration: line-through; cursor: not-allowed; }

/* form */
.field { margin-bottom: 14px; }
label { display: block; font-weight: 600; margin-bottom: 5px; }
.opt { font-weight: 400; color: var(--muted); }
input, select {
  width: 100%; padding: 13px 12px; font: inherit; font-size: 16px; color: var(--ink);
  border: 1.5px solid #bdbdbd; border-radius: 10px; background: #fff;
}
.selected { background: #f0f0f0; border-radius: 8px; padding: 10px 12px; font-weight: 600; color: var(--green); }
.err { color: var(--red); font-size: .9rem; margin: 4px 0 0; min-height: 0; }
.form-err { margin-bottom: 10px; font-weight: 600; }
.fine { color: var(--muted); font-size: .85rem; margin: 10px 0 0; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* confirmation */
.confirmation { text-align: center; padding: 8px 0; outline: 0; }
.eyebrow { text-transform: uppercase; letter-spacing: .14em; font-weight: 700; color: var(--green); margin: 0 0 12px; }
.conf-label { color: var(--muted); margin: 0; font-size: .9rem; }
.conf-code {
  font: 700 clamp(2rem, 9vw, 2.8rem)/1.1 ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: .06em;
  color: var(--red); margin: 4px 0 14px; padding: 16px; border: 3px dashed var(--gold); border-radius: var(--radius); background: var(--cream);
}
.conf-when { font: 800 1.3rem/1.3 "Helvetica Neue", Helvetica, Arial, sans-serif; margin: 0 0 4px; }
.conf-who { color: var(--muted); margin: 0 0 14px; }
.cancelled { color: var(--muted); }
.cancelled .conf-code { color: var(--muted); text-decoration: line-through; }

.foot { text-align: center; color: var(--muted); font-size: .85rem; padding-top: 18px; padding-bottom: 32px; }

@media (min-width: 640px) {
  .card { padding: 28px; }
  .btn-red { width: auto; }
}
@media print {
  .hero, .hero-art, .truck-art, .photos, .details, .small, .foot { display: none; }
}
