:root {
  --cream: #fff5e1;
  --cream-2: #fbe8c4;
  --tomato: #d9432b;
  --tomato-text: #b2301b;
  --mustard: #f2b134;
  --charcoal: #2a2522;
  --muted: #5c524b;
  --slab: Rockwell, "Rockwell Nova", "Roboto Slab", Superclarendon, "Courier New", serif;
  --body: Verdana, Geneva, "DejaVu Sans", sans-serif;
  --gutter: clamp(16px, 4vw, 48px);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--cream); color: var(--charcoal); font: 400 1rem/1.65 var(--body); }
[hidden] { display: none !important; }
a { color: var(--tomato-text); text-underline-offset: 0.2em; }
h1, h2, h3 { margin: 0; font-family: var(--slab); font-weight: 700; line-height: 1.1; }
p { margin: 0; }
:focus-visible { outline: 3px solid var(--charcoal); outline-offset: 3px; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }
.skip { position: absolute; left: var(--gutter); top: -80px; z-index: 20; background: var(--charcoal); color: var(--cream); padding: 0.6rem 1rem; }
.skip:focus { top: 12px; }

/* Awning header */
.awning {
  height: 64px;
  background: repeating-linear-gradient(90deg, var(--tomato) 0 44px, var(--cream) 44px 88px);
  position: relative;
}
.awning::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -22px; height: 22px;
  background:
    radial-gradient(circle at 22px 0, var(--tomato) 21px, transparent 22px) 0 0 / 88px 22px repeat-x,
    radial-gradient(circle at 66px 0, #f7e6c4 21px, transparent 22px) 0 0 / 88px 22px repeat-x;
  filter: drop-shadow(0 3px 2px rgba(42, 37, 34, 0.18));
}
.sign-row {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem 2rem;
  max-width: 1180px; margin: 0 auto; padding: 38px var(--gutter) 18px;
}
.sign {
  font-family: var(--slab); font-weight: 700; font-size: clamp(1.7rem, 4vw, 2.3rem); color: var(--cream); text-decoration: none;
  background: var(--charcoal); padding: 0.3rem 1rem 0.4rem; border-radius: 6px; box-shadow: 0 4px 0 var(--tomato);
}
.sign span { color: var(--mustard); }
.sign-row ul { display: flex; flex-wrap: wrap; gap: 0.3rem 1.25rem; margin: 0; padding: 0; list-style: none; align-items: center; }
.sign-row nav a { font-family: var(--slab); font-weight: 700; color: var(--charcoal); text-decoration: none; font-size: 1.05rem; }
.sign-row nav a:hover { color: var(--tomato-text); text-decoration: underline; }
.sign-row nav .nav-cta { background: var(--mustard); padding: 0.35rem 0.8rem; border-radius: 999px; }

/* Ticker */
.ticker { display: flex; align-items: stretch; background: var(--charcoal); color: var(--mustard); border-top: 3px solid var(--mustard); border-bottom: 3px solid var(--mustard); }
.ticker-toggle { flex: none; background: var(--mustard); color: var(--charcoal); border: 0; font: 700 0.85rem/1 var(--slab); padding: 0 0.9rem; cursor: pointer; text-transform: uppercase; letter-spacing: 0.06em; }
.ticker-toggle:focus-visible { outline-color: var(--cream); outline-offset: -4px; }
.ticker-window { overflow: hidden; flex: 1; }
.ticker-track { display: flex; width: max-content; margin: 0; padding: 0.7rem 0; list-style: none; animation: ticker 32s linear infinite; }
.ticker-track li { font-family: var(--slab); font-weight: 700; white-space: nowrap; padding: 0 1.4rem; font-size: 1.02rem; }
.ticker-track li::after { content: "✦"; margin-left: 2.8rem; color: var(--tomato); }
.ticker-track li:last-child::after { content: none; }
.ticker:hover .ticker-track, .ticker:focus-within .ticker-track, .ticker.is-paused .ticker-track { animation-play-state: paused; }
@keyframes ticker { to { transform: translateX(-50%); } }

/* Hero */
.hero {
  max-width: 1180px; margin: 0 auto; padding: clamp(40px, 7vw, 96px) var(--gutter);
  display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 0.8fr); gap: 2.5rem; align-items: center;
}
.badge { display: inline-block; background: var(--cream-2); border: 2px dashed var(--tomato-text); color: var(--tomato-text); font-weight: 700; padding: 0.3rem 0.8rem; border-radius: 999px; font-size: 0.9rem; }
.hero h1 { font-size: clamp(2.6rem, 7.5vw, 5.4rem); margin: 1.1rem 0 1.2rem; letter-spacing: -0.02em; }
.hero h1 em { font-style: normal; color: var(--tomato-text); background: linear-gradient(transparent 62%, var(--mustard) 62% 92%, transparent 92%); padding: 0 0.1em; }
.lede { font-size: 1.12rem; color: var(--muted); max-width: 46ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 1.75rem; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; min-height: 50px; padding: 0.75rem 1.3rem;
  background: var(--tomato-text); color: #fff; border: 3px solid var(--charcoal); border-radius: 10px;
  font: 700 1.05rem/1 var(--slab); text-decoration: none; cursor: pointer; box-shadow: 4px 4px 0 var(--charcoal); transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.btn:hover { transform: translate(-2px, -2px); box-shadow: 6px 6px 0 var(--charcoal); color: #fff; }
.btn-line { background: var(--cream); color: var(--charcoal); }
.btn-line:hover { color: var(--charcoal); }

.tag-art { display: grid; place-items: center; }
.price-tag {
  position: relative; display: grid; gap: 0.3rem; justify-items: center; width: min(280px, 100%);
  background: var(--mustard); border: 3px solid var(--charcoal); padding: 2.6rem 1.5rem 1.6rem; border-radius: 14px 14px 14px 14px;
  clip-path: polygon(50% 0, 100% 16%, 100% 100%, 0 100%, 0 16%); transform: rotate(6deg);
  animation: swing 4s ease-in-out infinite; transform-origin: 50% 0;
}
.hole { width: 18px; height: 18px; border-radius: 50%; background: var(--cream); border: 3px solid var(--charcoal); margin-top: -1.2rem; margin-bottom: 0.6rem; }
.tag-label { font-family: var(--slab); font-weight: 700; font-size: 1.1rem; }
.tag-price { font-family: var(--slab); font-weight: 700; font-size: 2.6rem; line-height: 1; }
.tag-price small { display: block; text-align: center; font-size: 0.9rem; letter-spacing: 0.1em; text-transform: uppercase; }
.tag-note { font-size: 0.75rem; color: var(--charcoal); opacity: 0.8; font-style: italic; }
@keyframes swing { 0%, 100% { transform: rotate(6deg); } 50% { transform: rotate(-3deg); } }

/* Sections */
section { scroll-margin-top: 12px; }
.section-head { max-width: 640px; margin-bottom: 2rem; }
.section-head h2 { font-size: clamp(2rem, 5vw, 3.2rem); margin-bottom: 0.7rem; }
.section-head p { color: var(--muted); }

.stalls { max-width: 1180px; margin: 0 auto; padding: clamp(40px, 6vw, 80px) var(--gutter); }
.stall-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 240px), 1fr)); gap: 1.25rem; }
.stall { display: grid; gap: 0.6rem; perspective: 1000px; }
.stall-inner { display: grid; transform-style: preserve-3d; transition: transform 0.6s cubic-bezier(0.3, 1.3, 0.5, 1); }
.stall.is-flipped .stall-inner { transform: rotateY(180deg); }
.face {
  grid-area: 1 / 1; backface-visibility: hidden; -webkit-backface-visibility: hidden; min-height: 190px;
  border: 3px solid var(--charcoal); border-radius: 14px; padding: 1.25rem; display: flex; flex-direction: column; gap: 0.5rem;
}
.front { background: #fff; background-image: linear-gradient(var(--tomato) 0 12px, transparent 12px); padding-top: 1.7rem; }
.stall:nth-child(even) .front { background-image: linear-gradient(var(--mustard) 0 12px, transparent 12px); }
.back { background: var(--charcoal); color: var(--cream); transform: rotateY(180deg); justify-content: center; }
.back strong { color: var(--mustard); }
.stall-no { font-family: var(--slab); font-weight: 700; color: var(--tomato-text); }
.front h3 { font-size: 1.5rem; }
.front p { color: var(--muted); }
.flip { justify-self: start; background: transparent; border: 0; padding: 0.3rem 0; font: 700 0.95rem/1.3 var(--body); color: var(--tomato-text); text-decoration: underline; text-underline-offset: 0.25em; cursor: pointer; }
.flip::after { content: " ↻"; }

.how { background: var(--charcoal); color: var(--cream); }
.how > * { max-width: 1180px; margin-left: auto; margin-right: auto; }
.how { padding: clamp(48px, 7vw, 96px) var(--gutter); }
.how .section-head p { color: #e2d6c3; }
.how-steps { list-style: none; padding: 0; margin: 0 auto 2rem; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; counter-reset: h; }
.how-steps li { counter-increment: h; background: #3a332f; border-radius: 14px; padding: 1.25rem; border-top: 6px solid var(--mustard); }
.how-steps li::before { content: counter(h); font-family: var(--slab); font-weight: 700; font-size: 2.2rem; color: var(--mustard); display: block; line-height: 1; margin-bottom: 0.4rem; }
.how-steps h3 { font-size: 1.35rem; margin-bottom: 0.4rem; }
.how-steps p { color: #e2d6c3; }
.open-questions { border: 2px dashed var(--mustard); border-radius: 14px; padding: 1.25rem; }
.open-questions h3 { color: var(--mustard); margin-bottom: 0.75rem; }
.open-questions dl { margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: 0.75rem 1.5rem; }
.open-questions dt { font-family: var(--slab); font-weight: 700; }
.open-questions dd { margin: 0; color: #e2d6c3; overflow-wrap: anywhere; }

.sats { max-width: 1180px; margin: 0 auto; padding: clamp(48px, 7vw, 96px) var(--gutter); }
.sats-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 0.9fr); gap: clamp(24px, 5vw, 64px); align-items: start; }
.sats h2 { font-size: clamp(2rem, 5vw, 3.2rem); margin-bottom: 1rem; }
.sats-grid > div > p { color: var(--muted); margin-bottom: 1.25rem; }
.why { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.8rem; }
.why li { padding-left: 1.6rem; position: relative; }
.why li::before { content: ""; position: absolute; left: 0; top: 0.45em; width: 0.8rem; height: 0.8rem; background: var(--tomato); border-radius: 3px; transform: rotate(45deg); }
.sats-table { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; border: 3px solid var(--charcoal); border-radius: 14px; overflow: hidden; background: #fff; }
.sats-table caption { text-align: left; font-family: var(--slab); font-weight: 700; padding-bottom: 0.5rem; }
.sats-table th { background: var(--mustard); text-align: left; padding: 0.6rem 1rem; font-family: var(--slab); }
.sats-table td { padding: 0.55rem 1rem; border-top: 1px solid #ead9b6; font-family: ui-monospace, Menlo, Consolas, monospace; }
.sats-table td:first-child { font-weight: 700; }

.waitlist { background: repeating-linear-gradient(90deg, var(--cream-2) 0 44px, var(--cream) 44px 88px); padding: clamp(48px, 7vw, 96px) var(--gutter); }
.waitlist-card { max-width: 640px; margin: 0 auto; background: #fff; border: 3px solid var(--charcoal); border-radius: 18px; padding: clamp(20px, 4vw, 40px); box-shadow: 8px 8px 0 var(--charcoal); }
.waitlist h2 { font-size: clamp(1.9rem, 4.5vw, 2.8rem); margin-bottom: 0.6rem; }
.waitlist-card > p { color: var(--muted); margin-bottom: 1.25rem; }
.roles { border: 0; margin: 0 0 1rem; padding: 0; display: flex; flex-wrap: wrap; gap: 0.5rem; }
.roles legend { font-family: var(--slab); font-weight: 700; margin-bottom: 0.4rem; padding: 0; width: 100%; }
.roles label { display: inline-flex; align-items: center; gap: 0.4rem; border: 2px solid var(--charcoal); border-radius: 999px; padding: 0.35rem 0.9rem; cursor: pointer; }
.roles label:has(input:checked) { background: var(--mustard); }
.roles input { accent-color: var(--tomato-text); }
.field { margin-bottom: 1.1rem; }
.field label { display: block; font-family: var(--slab); font-weight: 700; margin-bottom: 0.35rem; }
.field textarea { width: 100%; font: 400 1rem/1.5 var(--body); border: 2px solid var(--charcoal); border-radius: 10px; padding: 0.6rem 0.7rem; background: var(--cream); color: var(--charcoal); }
.field textarea:focus-visible { outline: 3px solid var(--tomato-text); outline-offset: 1px; }

.faq { max-width: 820px; margin: 0 auto; padding: clamp(48px, 7vw, 88px) var(--gutter); }
.faq h2 { font-size: clamp(1.9rem, 4.5vw, 2.8rem); margin-bottom: 1.25rem; }
.faq details { border-bottom: 2px dashed #d9c39b; padding: 1rem 0; }
.faq summary { cursor: pointer; font-family: var(--slab); font-weight: 700; font-size: 1.15rem; }
.faq details p { margin-top: 0.6rem; color: var(--muted); }

.site-footer { background: var(--charcoal); color: var(--cream); padding: 1.75rem var(--gutter); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.5rem 2rem; font-size: 0.95rem; }
.site-footer a { color: var(--mustard); }
.site-footer :focus-visible { outline-color: var(--mustard); }

@media (max-width: 900px) {
  .hero, .sats-grid { grid-template-columns: 1fr; }
  .how-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 520px) {
  .how-steps { grid-template-columns: 1fr; }
  .awning { height: 44px; }
  .sign-row { padding-top: 32px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .ticker-track { flex-wrap: wrap; width: auto; row-gap: 0.4rem; }
  .ticker-track li[aria-hidden="true"] { display: none; }
  .ticker-toggle { display: none; }
  .price-tag { transform: rotate(4deg); }
  .btn:hover { transform: none; }
}
