@font-face {
  font-family: "DynaPuff";
  src: url("assets/fonts/dynapuff-latin.woff2") format("woff2");
  font-weight: 400 700;
  font-display: swap;
}
@font-face {
  font-family: "Figtree";
  src: url("assets/fonts/figtree-latin.woff2") format("woff2");
  font-weight: 300 900;
  font-display: swap;
}

:root {
  --cream: #FFF3EA;
  --maroon: #6E1221;
  --red: #FA3520;
  --yellow: #F9ED03;
  --sky: #85C2FF;
  --blue: #0275FF;
  --indigo: #1800B5;
  --pink: #FF98DD;
  --green: #126B08;
  --display: DynaPuff, system-ui, sans-serif;
  --text: Figtree, system-ui, sans-serif;
  --gutter: 48px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--cream); }
img { max-width: 100%; }
a { color: var(--maroon); }
a:hover { color: var(--red); }
[hidden] { display: none !important; }

.page {
  font-family: var(--text);
  color: var(--maroon);
}
.sheet {
  background: var(--cream);
  overflow: hidden;
}

/* Buttons & inputs */
.btn {
  font-family: var(--display);
  font-weight: 600;
  font-size: 19px;
  color: var(--maroon);
  background: var(--sky);
  border: 3px solid var(--maroon);
  border-radius: 999px;
  padding: 0 28px;
  min-height: 56px;
  cursor: pointer;
  transition: transform 120ms ease, box-shadow 120ms ease;
}
.btn:hover { transform: translate(-2px, -2px); }
.btn:active { transform: translate(2px, 2px); }
.btn:disabled { opacity: 0.7; cursor: default; transform: none; }
.btn:focus-visible, .input:focus { outline: 3px solid var(--blue); outline-offset: 3px; }
.btn-sm { font-family: var(--text); font-weight: 800; font-size: 18px; padding: 0 20px; min-height: 44px; white-space: nowrap; }
.btn-lg { align-self: flex-start; font-size: 20px; padding: 0 32px; min-height: 60px; box-shadow: 4px 4px 0 var(--maroon); }
.btn-dark { color: var(--cream); background: var(--maroon); box-shadow: 4px 4px 0 var(--red); }

.label { font-weight: 800; font-size: 15px; }
.input {
  min-height: 56px;
  padding: 0 20px;
  font-family: var(--text);
  font-size: 18px;
  color: var(--maroon);
  background: var(--cream);
  border: 3px solid var(--maroon);
  border-radius: 999px;
}
.input-white { background: #fff; }
.form-error { margin: 0; min-height: 1.2em; font-weight: 700; font-size: 15px; color: var(--red); }
.form-error:empty { display: none; }
.hp { position: absolute; left: -9999px; }

/* Type */
.eyebrow { font-family: var(--display); font-weight: 600; font-size: 22px; color: var(--red); }
.eyebrow-indigo { color: var(--indigo); }
.h2 {
  margin: 0;
  font-family: var(--display);
  font-weight: 700;
  text-transform: uppercase;
  font-size: clamp(40px, 4.6vw, 64px);
  line-height: 0.98;
  color: var(--maroon);
}
.h2-blue { color: var(--blue); }
.h2-pink { color: var(--pink); }
.lead { margin: 0; font-size: 20px; line-height: 1.55; font-weight: 600; }
.body { margin: 0; font-size: 18px; line-height: 1.6; }

/* Announcement */
.announce {
  background: var(--sky);
  border-bottom: 3px solid var(--maroon);
  padding: 10px 16px;
  text-align: center;
  font-weight: 800;
  font-size: 16px;
  color: var(--indigo);
}
.announce a { color: var(--indigo); }

/* Hero */
.hero { position: relative; min-height: 580px; display: flex; flex-direction: column; background: #9B3446; }
.hero-bg {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: left 45%;
}
.hero-text-scrim {
  position: absolute; inset: 0;
  background: radial-gradient(circle 580px at 0% 100%, rgba(110,18,33,0.62) 0%, rgba(110,18,33,0.42) 30%, rgba(110,18,33,0.16) 55%, rgba(110,18,33,0) 75%);
  pointer-events: none;
}
/* Keep hero copy painting above the scrim now that it lives inside .hero-body */
.hero-body > :not(.hero-text-scrim) { position: relative; }
.hero-shade {
  position: absolute; inset: 0;
  background: url("assets/texture-halftone.png") repeat;
  mix-blend-mode: overlay;
  opacity: 0.22;
  pointer-events: none;
}
.nav {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  gap: 16px;
  padding: 20px var(--gutter) 20px;
}
.nav-links { display: flex; gap: 32px; flex-wrap: wrap; align-items: center; font-weight: 800; font-size: 18px; }
.nav-links a { color: var(--maroon); text-decoration: none; }
.nav-links a:hover { color: var(--red); }
.nav-right { justify-content: flex-end; }
.nav-logo { height: 72px; width: auto; display: block; }
.hero-body {
  position: relative;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 16px;
  padding: 8px var(--gutter) 36px;
  max-width: 720px;
}
.hero-title {
  margin: 0;
  max-width: none;
  font-family: var(--display);
  font-weight: 700;
  text-transform: uppercase;
  font-size: clamp(48px, 6.2vw, 92px);
  line-height: 0.95;
  color: var(--pink);
  text-shadow: 5px 6px 0 var(--maroon);
}
.hero-title span { white-space: nowrap; }
.hero-title-break-mobile { display: none; }
.hero-lede {
  margin: 0;
  font-size: 22px;
  line-height: 1.45;
  font-weight: 700;
  color: var(--cream);
  max-width: 30ch;
}
.hero-form-label {
  margin: 16px 0 0;
  font-weight: 800;
  font-size: 22px;
  color: var(--yellow);
  max-width: 480px;
}
.hero-form { max-width: 480px; }
.hero-form .form-row { flex-wrap: nowrap; }
.hero-form .input { flex: 1 1 auto; min-width: 0; }
.hero-form .btn { flex: 0 0 auto; white-space: nowrap; }
.hero-joined {
  display: flex;
  flex-direction: column;
  gap: 4px;
  background: var(--cream);
  border: 3px solid var(--maroon);
  border-radius: 24px;
  padding: 16px 24px;
  box-shadow: 6px 6px 0 var(--red);
  max-width: 480px;
}
.hero-joined strong { font-family: var(--display); font-size: 20px; color: var(--maroon); }
.hero-joined span { font-size: 15px; line-height: 1.4; overflow-wrap: anywhere; color: var(--maroon); }

/* About */
.about { padding: 72px var(--gutter); background: var(--sky); }
.about-inner { max-width: 1180px; margin: 0 auto; display: flex; flex-wrap: wrap; gap: 64px; align-items: center; }
.about-media { flex: 1 1 380px; min-width: 0; position: relative; padding: 24px; }
.about-photo {
  display: block; width: 100%; aspect-ratio: 4 / 5; object-fit: cover;
  border-radius: 32px; border: 4px solid var(--maroon); box-shadow: 10px 10px 0 var(--red);
  transform: scaleX(-1);
}
.about-photo-texture {
  position: absolute; inset: 24px;
  border-radius: 32px;
  background: url("assets/texture-halftone.png") repeat;
  mix-blend-mode: overlay;
  opacity: 0.22;
  pointer-events: none;
}
.about-sticker { position: absolute; }
.about-sticker-top { top: -10px; right: -18px; width: 26%; transform: rotate(14deg); }
.about-sticker-bottom { bottom: -24px; left: -20px; width: 30%; transform: rotate(-12deg); }
.about-copy { flex: 1 1 460px; min-width: 0; display: flex; flex-direction: column; gap: 24px; }

/* Band */
.band {
  background: var(--maroon);
  padding: 24px 0;
  white-space: nowrap;
  overflow: hidden;
  font-family: var(--display);
  font-weight: 700;
  font-size: 36px;
}
.band-track {
  display: flex;
  align-items: center;
  gap: 28px;
  width: max-content;
  animation: band-scroll 24s linear infinite;
}
.band img { width: 56px; height: 56px; flex: 0 0 auto; }

@keyframes band-scroll {
  from { transform: translateX(-50%); }
  to { transform: translateX(0%); }
}

/* Game */
.game { padding: 72px var(--gutter); background: var(--pink); }
.game-inner { max-width: 1180px; margin: 0 auto; }
.game-row { display: flex; flex-wrap: wrap; gap: 48px 64px; align-items: center; }
.game-text { flex: 1 1 420px; max-width: 540px; display: flex; flex-direction: column; gap: 16px; }
.game-copy { font-weight: 500; }
.cards { flex: 1 1 320px; padding: 12px; display: grid; grid-template-columns: repeat(2, 155px); justify-content: center; gap: 14px; align-content: center; }
.card {
  border: 3px solid var(--maroon);
  border-radius: 18px;
  aspect-ratio: 5 / 7;
  padding: 14px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  box-shadow: 6px 6px 0 var(--maroon);
  transform: rotate(var(--tilt, 0deg));
}
.card-icon { width: 36px; align-self: flex-start; }
.card-label {
  font-family: var(--display);
  font-weight: 700;
  font-size: 15px;
  line-height: 1.1;
  text-align: center;
  color: var(--maroon);
}

/* Waitlist */
.join {
  padding: 72px var(--gutter);
  background: var(--maroon);
  border-top: 4px solid var(--maroon);
  border-bottom: 4px solid var(--maroon);
  scroll-margin-top: 16px;
}
.join-inner { max-width: 1080px; margin: 0 auto; display: flex; flex-wrap: wrap; align-items: center; gap: 56px; }
.join-icons { flex: 0 1 300px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.join-icons img { width: 100%; }
.join-copy { flex: 1 1 440px; min-width: 0; display: flex; flex-direction: column; gap: 20px; }
.join-copy .lead { font-size: 19px; }
.join-copy .h2 { color: var(--pink); }
.join-copy .lead, .join-copy .label { color: var(--cream); }
.join-copy .btn-dark { color: var(--maroon); background: var(--sky); }
.waitlist-form { display: flex; flex-direction: column; gap: 10px; }
.form-row { display: flex; flex-wrap: wrap; gap: 12px; }
.form-row .input { flex: 1 1 240px; min-width: 0; }
.success {
  display: flex;
  align-items: center;
  gap: 20px;
  background: var(--cream);
  border: 3px solid var(--maroon);
  border-radius: 24px;
  padding: 20px 24px;
  box-shadow: 6px 6px 0 var(--red);
}
.success img { width: 64px; height: 64px; flex: 0 0 auto; }
.success > div { display: flex; flex-direction: column; gap: 4px; }
.success strong { font-family: var(--display); font-size: 24px; }
.success span { font-size: 16px; line-height: 1.4; overflow-wrap: anywhere; }

/* Follow */
.follow { background: var(--cream); padding: 72px var(--gutter) 48px; color: var(--maroon); }
.follow .h2 { color: var(--indigo); }
.follow-inner { max-width: 1080px; margin: 0 auto; display: flex; flex-direction: column; align-items: center; gap: 24px; text-align: center; }
.follow-copy { margin: 0; font-size: 19px; line-height: 1.55; max-width: 44ch; }
.socials { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; margin-top: 8px; }
.social {
  font-weight: 800;
  font-size: 16px;
  color: var(--maroon);
  background: var(--sky);
  text-decoration: none;
  border: 3px solid var(--maroon);
  border-radius: 999px;
  padding: 0 26px;
  min-height: 48px;
  display: inline-flex;
  align-items: center;
}
.social:hover { background: var(--maroon); color: var(--cream); }
.follow-logo {
  display: block;
  height: 40px;
  aspect-ratio: 1200 / 259;
  margin-top: 64px;
  background-color: var(--pink);
  -webkit-mask-image: url("assets/logo-footer.png");
  mask-image: url("assets/logo-footer.png");
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-size: contain;
  mask-size: contain;
  -webkit-mask-position: center;
  mask-position: center;
}
.copyright { font-size: 14px; }

/* Modal */
.modal {
  position: fixed;
  inset: 0;
  z-index: 50;
  background: rgba(110,18,33,0.55);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  font-family: var(--text);
  color: var(--maroon);
}
.modal-card {
  position: relative;
  width: 100%;
  max-width: 520px;
  background: var(--cream);
  border: 4px solid var(--maroon);
  border-radius: 32px;
  box-shadow: 10px 10px 0 var(--red);
  padding: 48px 40px 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  text-align: center;
}
.modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  border: 3px solid var(--maroon);
  background: var(--cream);
  color: var(--maroon);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
}
.modal-mark { width: 72px; }
.modal-body { display: flex; flex-direction: column; gap: 18px; width: 100%; }
.modal-title {
  margin: 0;
  font-family: var(--display);
  font-weight: 700;
  text-transform: uppercase;
  font-size: 40px;
  line-height: 1;
}
.modal-copy { margin: 0; font-size: 17px; line-height: 1.5; overflow-wrap: anywhere; }
.modal-form { gap: 12px; text-align: left; }

/* Tablet */
@media (max-width: 900px) {
  :root { --gutter: 28px; }
  .about, .game, .join { padding-top: 80px; padding-bottom: 80px; }
  .nav { grid-template-columns: auto 1fr; }
  .nav-logo { order: -1; height: 56px; }
  .nav-links:first-child { display: none; }
  .nav-right { gap: 20px; }
}

/* Phone */
@media (max-width: 560px) {
  :root { --gutter: 20px; }
  .hero { min-height: 100vh; min-height: 100svh; }
  .hero { overflow: hidden; }
  .hero-bg { object-position: 70% 45%; transform: scale(1.2); transform-origin: center bottom; }
  .nav { padding-top: 20px; padding-bottom: 20px; }
  .nav-logo { height: 44px; }
  .nav-right a, .nav-right .btn { display: none; }
  .hero-body { justify-content: flex-end; padding-bottom: 72px; gap: 12px; }
  .hero-title { font-size: 68px; }
  .hero-lede { font-size: 26px; }
  .hero-form-label { font-size: 20px; }
  .hero-form .form-row { flex-direction: column; }
  .hero-body .hero-form .input, .hero-body .hero-form .btn { width: 100%; flex: 0 0 auto; }
  .lead { font-size: 18px; }
  .body { font-size: 17px; }
  .about-inner, .join-inner { gap: 40px; }
  .about-media { flex-basis: 100%; padding: 12px; }
  .about-copy, .game-text, .cards, .join-copy { flex-basis: 100%; }
  .band { font-size: 26px; gap: 18px; justify-content: flex-start; }
  .band img { width: 40px; height: 40px; }
  .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
  .card { padding: 14px; border-radius: 20px; box-shadow: 5px 5px 0 var(--maroon); }
  .card-icon { width: 36px; }
  .card-label { font-size: 16px; }
  .join-icons { flex-basis: 220px; margin: 0 auto; }
  .form-row .btn { flex: 1 1 100%; }
  .follow { padding-top: 72px; }
  .modal { padding: 16px; }
  .modal-card { padding: 44px 22px 28px; }
  .modal-title { font-size: 32px; }
}

/* Narrow phone: "Play with" / "Your food" no longer fits on one line each
   at 68px, so fall back to 4 single-word lines instead of letting them wrap
   mid-phrase. */
@media (max-width: 420px) {
  .hero-title-break-mobile { display: inline; }
  .hero-title { font-size: 56px; }
  .hero-lede { font-size: 21px; }
  .hero-form-label { font-size: 16px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn { transition: none; }
}
