:root {
  --bg: #fff1f1;
  --surface: #ffffff;
  --tint: #fbe0e3;
  --fg: #3b0a14;
  --muted: #8a5560;
  --line: #f2cfd4;
  --red: #b5121b;
  --red-dark: #8f0e16;
  --soft-red: #f4a3aa;
  --gold: #f7a81b;
  --focus: #1a4fa0;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #1a0f11; --surface: #251518; --tint: #33191e; --fg: #fbe9ec;
    --muted: #c99aa2; --line: #45242a; --red: #e0353f; --red-dark: #c42630; --focus: #8fb4ff;
  }
}
:root[data-theme="dark"] {
  --bg: #1a0f11; --surface: #251518; --tint: #33191e; --fg: #fbe9ec;
  --muted: #c99aa2; --line: #45242a; --red: #e0353f; --red-dark: #c42630; --focus: #8fb4ff;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font: 16px/1.6 Roboto, system-ui, sans-serif;
}
.wrap { max-width: 960px; margin: 0 auto; padding: 0 16px; }
h1, h2, h3 { font-family: Poppins, system-ui, sans-serif; font-weight: 700; line-height: 1.2; margin: 0 0 .5em; }
a { color: var(--red); }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; }

/* Hero */
.hero { padding: 56px 0 40px; border-bottom: 1px solid var(--line); }
.eyebrow { color: var(--muted); font-size: .9rem; margin: 0 0 8px; }
.hero h1 { font-size: clamp(2.2rem, 7vw, 3.6rem); letter-spacing: -.01em; }
.meta { display: flex; flex-wrap: wrap; gap: 16px 48px; margin: 20px 0 24px; }
.meta-item { display: flex; gap: 12px; align-items: center; line-height: 1.4; }
.datechip, .iconchip {
  flex: none; width: 46px; height: 46px; border: 1px solid var(--line); border-radius: 8px;
  background: var(--surface); display: flex; flex-direction: column; align-items: center; justify-content: center;
}
.datechip { overflow: hidden; }
.datechip span { background: var(--tint); width: 100%; text-align: center; font-size: .8rem; }
.datechip b { font-size: 1rem; }
.lede { max-width: 36em; margin: 0 0 24px; }

.btn {
  display: inline-block; border: 0; cursor: pointer;
  background: var(--red); color: #fff; text-decoration: none;
  font: 700 1rem Roboto, system-ui, sans-serif;
  padding: 12px 24px; border-radius: 8px;
  box-shadow: 0 6px 16px color-mix(in srgb, var(--red) 25%, transparent);
}
.btn:hover { background: var(--red-dark); }
.btn:disabled { opacity: .6; cursor: wait; }

.btn-ghost { background: transparent; color: var(--red); border: 2px solid var(--red); box-shadow: none; padding: 10px 22px; }
.btn-ghost:hover { background: var(--tint); }

/* Sections */
main { padding-top: 48px; }
main > section.wrap + section.wrap { margin-top: 56px; }
main h2 { font-size: 1.8rem; }
.sub { color: var(--muted); margin-top: -4px; }

/* Good to know: a plain list, deliberately not boxed */
.points { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; max-width: 46em; }
.points li { position: relative; padding-left: 22px; }
.points li::before {
  content: ""; position: absolute; left: 0; top: .6em;
  width: 9px; height: 9px; border-radius: 50%; background: var(--red);
}

/* Payment choices: large tappable buttons */
.choices { display: grid; gap: 10px; margin: 20px 0 16px; max-width: 640px; }
.choice {
  display: flex; align-items: center; gap: 14px; width: 100%;
  text-align: left; cursor: pointer; font: inherit; color: var(--fg);
  background: var(--tint); border: 2px solid transparent; border-radius: 999px;
  padding: 14px 22px 14px 16px;
  transition: border-color .15s;
}
.choice:hover { border-color: var(--soft-red); }
.radio {
  flex: none; width: 22px; height: 22px; border-radius: 50%;
  border: 2px solid var(--red); background: var(--surface);
}
.choice-text { flex: 1; display: flex; flex-direction: column; }
.choice-title { font-weight: 700; }
.choice-desc { font-size: .9rem; color: var(--muted); }
.chev { font-size: 1.6rem; line-height: 1; color: var(--red); }
.choice[aria-checked="true"] { background: var(--red); color: #fff; }
.choice[aria-checked="true"] .choice-desc,
.choice[aria-checked="true"] .chev { color: #fff; }
.choice[aria-checked="true"] .radio { border-color: #fff; background: var(--red); box-shadow: inset 0 0 0 4px var(--red), inset 0 0 0 11px #fff; }

/* Panels */
.panel { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 24px; max-width: 640px; }
[hidden] { display: none !important; }
.panel h3 { font-size: 1.25rem; }
.panel > p:last-child { margin-bottom: 0; }
.panel .btn { margin-top: 4px; }
.row { display: flex; flex-wrap: wrap; gap: 10px; }
.not-member { margin-top: 16px; }
.closed { border-color: var(--red); background: var(--tint); }
.note { margin-top: 0; padding: 12px 16px; background: var(--tint); border-radius: 8px; }

/* Form */
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr)); gap: 14px; }
label { display: flex; flex-direction: column; gap: 6px; font-weight: 500; font-size: .95rem; }
input, textarea {
  accent-color: var(--red);
  font: inherit; color: var(--fg); background: var(--bg);
  border: 1px solid var(--line); border-radius: 8px; padding: 10px 12px; width: 100%;
}
input:focus, textarea:focus { outline: 2px solid var(--focus); border-color: transparent; }
fieldset { border: 0; padding: 0; margin: 18px 0 0; }
legend { font-weight: 500; margin-bottom: 8px; font-size: .95rem; }
label.inline { flex-direction: row; align-items: center; display: inline-flex; margin-right: 18px; font-weight: 400; }
label.inline input { width: auto; }
.guests { margin-top: 14px; }
.turnstile { margin-top: 16px; }
.error { color: var(--red); font-weight: 500; }
form .btn { margin-top: 20px; }
.hp { position: absolute; left: -9999px; }
[data-panel="done"] h3 { color: var(--red); font-size: 1.5rem; }

/* Footer */
main p { max-width: 46em; }
footer { margin-top: 64px; padding: 32px 0; border-top: 1px solid var(--line); font-size: .95rem; }
.muted { color: var(--muted); }
.help { margin-top: 20px; font-size: .95rem; color: var(--muted); }
.club-note { max-width: 640px; margin: 0 0 16px; padding: 12px 16px; border-left: 4px solid var(--red); background: var(--surface); border-radius: 0 8px 8px 0; }
