:root {
  color-scheme: light;
  --ink: #191622;
  --muted: #695f70;
  --paper: #fff7ec;
  --panel: #fffdf8;
  --cream: #fffaf0;
  --gold: #f7c948;
  --pink: #ed3f86;
  --coral: #f26d5b;
  --teal: #1fb5b2;
  --blue: #2368d9;
  --green: #3fb36f;
  --purple: #7f5bb7;
  --border: #2d2638;
  --soft-border: #e6d7c8;
  --shadow: 0 24px 70px rgba(25, 22, 34, 0.18);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
  background:
    radial-gradient(circle at 11% 14%, rgba(237, 63, 134, 0.22), transparent 19rem),
    radial-gradient(circle at 90% 9%, rgba(31, 181, 178, 0.2), transparent 18rem),
    radial-gradient(circle at 78% 86%, rgba(247, 201, 72, 0.26), transparent 22rem),
    linear-gradient(90deg, rgba(35, 104, 217, 0.07) 1px, transparent 1px),
    linear-gradient(rgba(237, 63, 134, 0.06) 1px, transparent 1px),
    var(--paper);
  background-size: auto, auto, auto, 42px 42px, 42px 42px, auto;
}

button,
input,
textarea {
  font: inherit;
}

.page-shell {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 32px 0;
}

.hero {
  position: relative;
  overflow: hidden;
  min-height: 430px;
  padding: 28px;
  color: #fff;
  background:
    linear-gradient(135deg, rgba(25, 22, 34, 0.96), rgba(54, 30, 79, 0.88)),
    repeating-linear-gradient(45deg, #ed3f86 0 46px, #f7c948 46px 92px, #1fb5b2 92px 138px, #2368d9 138px 184px);
  border: 4px solid var(--border);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.hero::after {
  content: "";
  position: absolute;
  inset: 18px;
  border: 2px dashed rgba(255, 255, 255, 0.42);
  border-radius: 8px;
  pointer-events: none;
}

.logo-lockup,
.hero-copy {
  position: relative;
  z-index: 2;
}

.logo-lockup {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.club-logo {
  width: clamp(94px, 16vw, 146px);
  height: auto;
  filter: drop-shadow(0 10px 22px rgba(0, 0, 0, 0.32));
}

.event-pill {
  display: inline-grid;
  place-items: center;
  min-height: 42px;
  padding: 8px 16px;
  color: var(--ink);
  font-weight: 900;
  text-transform: uppercase;
  background: var(--gold);
  border: 3px solid #fff;
  border-radius: 999px;
  box-shadow: 0 6px 0 var(--border);
}

.hero-copy {
  width: min(690px, 100%);
  margin-top: 58px;
}

.kicker {
  margin: 0 0 10px;
  color: var(--gold);
  font-size: 1rem;
  font-weight: 900;
  text-transform: uppercase;
}

h1 {
  margin: 0;
  font-size: clamp(3rem, 8vw, 6.8rem);
  line-height: 0.9;
  letter-spacing: 0;
  text-shadow: 6px 6px 0 rgba(237, 63, 134, 0.95), 11px 11px 0 rgba(31, 181, 178, 0.78);
}

.hero-copy p:last-child {
  width: min(570px, 100%);
  margin: 20px 0 0;
  font-size: 1.16rem;
  line-height: 1.5;
}

.hero-art {
  position: absolute;
  inset: 96px 36px auto auto;
  z-index: 1;
  width: min(420px, 38vw);
  aspect-ratio: 1;
}

.ball {
  position: absolute;
  display: grid;
  place-items: center;
  width: clamp(64px, 9vw, 110px);
  aspect-ratio: 1;
  color: var(--ink);
  font-weight: 900;
  background: #fff;
  border: 12px solid currentColor;
  border-radius: 999px;
  box-shadow: inset -10px -14px 0 rgba(0, 0, 0, 0.14), 0 14px 24px rgba(0, 0, 0, 0.25);
}

.ball.pink {
  top: 10%;
  left: 12%;
  color: var(--pink);
}

.ball.gold {
  top: 2%;
  right: 10%;
  color: var(--gold);
}

.ball.teal {
  bottom: 18%;
  left: 0;
  color: var(--teal);
}

.ball.blue {
  right: 4%;
  bottom: 0;
  color: var(--blue);
}

.bingo-board {
  position: absolute;
  right: 32px;
  bottom: 32px;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(5, 54px);
  gap: 5px;
  padding: 10px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.88);
  border: 3px solid var(--gold);
  border-radius: 8px;
  transform: rotate(-4deg);
}

.bingo-board span {
  display: grid;
  place-items: center;
  min-height: 42px;
  font-size: 0.95rem;
  font-weight: 900;
  background: #fff;
  border: 2px solid rgba(25, 22, 34, 0.24);
  border-radius: 4px;
}

.form-panel {
  margin-top: 24px;
  padding: 24px;
  background: rgba(255, 253, 248, 0.95);
  border: 4px solid var(--border);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

form {
  display: grid;
  gap: 20px;
}

fieldset {
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}


.order-note {
  padding: 16px 18px;
  color: var(--ink);
  line-height: 1.45;
  background:
    linear-gradient(135deg, rgba(247, 201, 72, 0.28), rgba(31, 181, 178, 0.16)),
    #fffaf0;
  border: 3px solid var(--border);
  border-radius: 8px;
  box-shadow: 0 8px 0 rgba(25, 22, 34, 0.12);
}

.order-note strong {
  color: var(--pink);
}

.section-card {
  padding: 18px;
  background: #fff;
  border: 2px solid var(--soft-border);
  border-radius: 8px;
}

legend {
  margin-bottom: 14px;
  padding: 0 4px;
  color: var(--pink);
  font-size: 1.05rem;
  font-weight: 900;
  text-transform: uppercase;
}

label {
  display: grid;
  gap: 7px;
  color: var(--ink);
  font-weight: 850;
}

input,
textarea {
  width: 100%;
  color: var(--ink);
  background: #fffdf9;
  border: 2px solid var(--soft-border);
  border-radius: 8px;
}

input[type="text"],
input[type="email"],
input[type="tel"],
input[type="number"],
textarea {
  padding: 13px 14px;
}

input:focus,
textarea:focus,
button:focus-visible {
  outline: 4px solid rgba(247, 201, 72, 0.55);
  outline-offset: 2px;
  border-color: var(--border);
}

.field-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.choice-grid {
  display: grid;
  gap: 14px;
}

.design-grid {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.choice-card {
  cursor: pointer;
  min-width: 0;
  padding: 12px;
  text-align: center;
  background:
    linear-gradient(#fffdfa, #fffdfa) padding-box,
    linear-gradient(135deg, var(--pink), var(--gold), var(--teal), var(--blue)) border-box;
  border: 3px solid transparent;
  border-radius: 8px;
}

.choice-card input,
.swatch-option input,
.size-grid input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.choice-card:has(input:checked),
.swatch-option:has(input:checked),
.size-grid label:has(input:checked) span {
  border-color: var(--pink);
  box-shadow: 0 0 0 5px rgba(237, 63, 134, 0.18), 0 12px 22px rgba(25, 22, 34, 0.13);
}

.design-preview {
  display: grid;
  place-items: center;
  min-height: 250px;
  margin-bottom: 12px;
  padding: 8px;
  background:
    radial-gradient(circle at 20% 16%, rgba(247, 201, 72, 0.24), transparent 11rem),
    linear-gradient(145deg, #fff, #f6efe7);
  border: 2px solid var(--soft-border);
  border-radius: 8px;
}

.design-preview img {
  display: block;
  width: 100%;
  max-height: 235px;
  object-fit: contain;
  border-radius: 6px;
}

.design-card strong {
  display: block;
  min-height: 42px;
  font-size: 1rem;
  line-height: 1.25;
}

.swatch-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 12px;
}

.swatch-option {
  cursor: pointer;
  place-items: center;
  min-height: 104px;
  padding: 12px 8px;
  text-align: center;
  background: #fffdfa;
  border: 2px solid var(--soft-border);
  border-radius: 8px;
}

.swatch {
  width: 38px;
  aspect-ratio: 1;
  border: 2px solid var(--border);
  border-radius: 8px;
}

.orange { background: #f47b2c; }
.hot-pink { background: #df2f82; }
.bright-yellow { background: #ffd51f; }
.sunny-yellow { background: #d9b63a; }
.neon-yellow { background: #eaff00; }
.mint-green { background: #68c99c; }
.coral { background: #e66e72; }
.lavender { background: #bd82ca; }
.blue-gray { background: #566979; }
.bright-blue { background: #1677ff; }
.white { background: #fff; }
.gray { background: #b7bbc3; }
.black { background: #111; }

.size-grid {
  display: grid;
  grid-template-columns: repeat(10, 1fr);
  gap: 10px;
}

.size-grid label {
  cursor: pointer;
}

.size-grid span {
  display: grid;
  place-items: center;
  min-height: 54px;
  padding: 8px;
  text-align: center;
  background: #fffdfa;
  border: 2px solid var(--soft-border);
  border-radius: 8px;
}

button {
  cursor: pointer;
  min-height: 60px;
  padding: 14px 18px;
  color: #fff;
  font-weight: 900;
  text-transform: uppercase;
  background:
    linear-gradient(135deg, var(--pink), var(--coral));
  border: 3px solid var(--border);
  border-radius: 8px;
  box-shadow: 0 8px 0 var(--border);
}

button:hover {
  transform: translateY(-1px);
}

button:active {
  transform: translateY(5px);
  box-shadow: 0 3px 0 var(--border);
}

.fine-print {
  margin: -8px 0 0;
  color: var(--muted);
  font-size: 0.95rem;
  text-align: center;
}

.honeypot {
  position: absolute;
  left: -9999px;
}

@media (max-width: 900px) {
  .field-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .swatch-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .size-grid {
    grid-template-columns: repeat(5, 1fr);
  }

  .hero-art {
    opacity: 0.34;
  }

  .bingo-board {
    grid-template-columns: repeat(5, 42px);
  }
}

@media (max-width: 620px) {
  .page-shell {
    width: min(100% - 12px, 1180px);
    padding: 6px 0 18px;
  }

  .hero {
    min-height: 230px;
    padding: 14px;
  }

  .hero::after {
    inset: 8px;
  }

  .form-panel,
  .section-card,
  .order-note {
    padding: 10px;
  }

  .form-panel {
    margin-top: 10px;
    border-width: 3px;
  }

  form {
    gap: 10px;
  }

  .logo-lockup {
    align-items: center;
    flex-direction: row;
    gap: 8px;
  }

  .club-logo {
    width: 74px;
  }

  .event-pill {
    min-height: 30px;
    padding: 5px 9px;
    font-size: 0.72rem;
    box-shadow: 0 4px 0 var(--border);
  }

  .hero-copy {
    margin-top: 24px;
  }

  .kicker {
    margin-bottom: 6px;
    font-size: 0.78rem;
  }

  h1 {
    font-size: clamp(2rem, 12vw, 3.1rem);
    text-shadow: 3px 3px 0 rgba(237, 63, 134, 0.9), 6px 6px 0 rgba(31, 181, 178, 0.65);
  }

  .hero-copy p:last-child {
    margin-top: 10px;
    font-size: 0.9rem;
    line-height: 1.35;
  }

  .hero-art,
  .bingo-board {
    display: none;
  }

  legend {
    margin-bottom: 8px;
    font-size: 0.9rem;
  }

  .design-help {
    margin: -2px 0 10px;
    font-size: 0.82rem;
  }

  .field-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  label {
    gap: 4px;
    font-size: 0.82rem;
  }

  input[type="text"],
  input[type="email"],
  input[type="tel"],
  input[type="number"],
  textarea {
    padding: 9px 10px;
  }

  .design-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  .choice-card {
    padding: 7px;
    border-width: 2px;
  }

  .design-preview,
  .png-preview {
    min-height: 134px;
    margin-bottom: 7px;
    padding: 5px;
    background-size: auto, 20px 20px, 20px 20px, auto;
    background-position: 0 0, 0 0, 0 10px, 0 0;
  }

  .design-preview img,
  .png-preview img {
    max-height: 122px;
  }

  .design-card strong {
    min-height: 32px;
    font-size: 0.78rem;
    line-height: 1.15;
  }

  .swatch-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  .swatch-option {
    min-height: 64px;
    padding: 7px 6px;
    font-size: 0.78rem;
  }

  .swatch {
    width: 26px;
    border-radius: 6px;
  }

  .size-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 6px;
  }

  .size-grid span {
    min-height: 38px;
    padding: 5px 3px;
    font-size: 0.76rem;
  }

  .order-note {
    font-size: 0.82rem;
    line-height: 1.35;
    border-width: 2px;
    box-shadow: 0 5px 0 rgba(25, 22, 34, 0.12);
  }

  button {
    min-height: 48px;
    padding: 10px 12px;
    font-size: 0.88rem;
    box-shadow: 0 5px 0 var(--border);
  }

  .fine-print {
    font-size: 0.78rem;
  }
}

@media (max-width: 380px) {
  .field-grid,
  .design-grid {
    grid-template-columns: 1fr;
  }

  .design-preview,
  .png-preview {
    min-height: 160px;
  }

  .design-preview img,
  .png-preview img {
    max-height: 148px;
  }
}

.design-help {
  margin: -4px 0 16px;
  color: var(--muted);
  font-weight: 800;
}

.png-preview {
  min-height: 285px;
  background:
    radial-gradient(circle at 20% 16%, rgba(247, 201, 72, 0.2), transparent 10rem),
    linear-gradient(45deg, rgba(45, 38, 56, 0.055) 25%, transparent 25%),
    linear-gradient(-45deg, rgba(45, 38, 56, 0.055) 25%, transparent 25%),
    #fffefa;
  background-size: auto, 28px 28px, 28px 28px, auto;
  background-position: 0 0, 0 0, 0 14px, 0 0;
}

.png-preview img {
  max-height: 265px;
  filter: drop-shadow(0 10px 16px rgba(25, 22, 34, 0.18));
}
