@font-face {
  font-family: "Archivo";
  src: url("/fonts/archivo.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}

:root {
  --ink: #1b1226;
  --sky: #39a0ed;
  --sky-deep: #1f6fc0;
  --pitch: #46d21a;
  --pitch-mown: #3cc412;
  --board: #0a0d24;
  --yellow: #ffd83a;
  --red: #e2263b;
  --blue: #2b4ea3;
  --stand: #f4f4f1;
  --white: #fff;
  --line: 4px;
  --gutter: clamp(16px, 4vw, 48px);
  --max: 1180px;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Archivo", "Arial", sans-serif;
  font-size: 1.0625rem;
  line-height: 1.5;
  color: var(--ink);
  background: var(--sky);
}
img, svg, video { display: block; max-width: 100%; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--yellow); outline-offset: 3px; }

/* The thumbnail lettering: heavy caps, ink outline, hard drop shadow. */
.lettering {
  margin: 0;
  font-weight: 900;
  text-transform: uppercase;
  line-height: 1.04;
  letter-spacing: -0.01em;
  color: var(--white);
  -webkit-text-stroke: 0.16em var(--ink);
  paint-order: stroke fill;
  text-shadow: 0.05em 0.07em 0 var(--ink);
}
.lettering .yellow { color: var(--yellow); }

/* ---------- top ---------- */
.top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  max-width: var(--max);
  margin: 0 auto;
  padding: 18px var(--gutter);
}
.wordmark {
  margin: 0;
  font-weight: 900;
  font-size: 1.125rem;
  text-decoration: none;
  color: var(--white);
  white-space: nowrap;
}
.wordmark span { color: var(--yellow); }
.top nav { display: flex; gap: clamp(12px, 2.5vw, 28px); }
.top nav a {
  font-weight: 700;
  font-size: 0.9375rem;
  color: var(--white);
  text-decoration: none;
  padding: 8px 0;
}
.top nav a:hover { text-decoration: underline; text-underline-offset: 4px; }
@media (max-width: 560px) {
  .top nav a:not([href="#roast"]) { display: none; }
}
.top nav a { white-space: nowrap; }

/* ---------- hero ---------- */
.hero {
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(16px, 4vw, 48px) var(--gutter) clamp(32px, 5vw, 64px);
  display: grid;
  gap: clamp(24px, 4vw, 48px);
  grid-template-columns: minmax(0, 1fr);
}
.hero h1 { font-size: clamp(2.6rem, 11.5vw, 5.6rem); }
.hero h1 span { display: block; }
.lede {
  max-width: 34rem;
  margin: 1.4rem 0 0;
  font-size: clamp(1.0625rem, 1.6vw, 1.25rem);
  font-weight: 500;
  color: var(--white);
}

.player { justify-self: center; width: min(100%, 340px); }
.screen {
  aspect-ratio: 9 / 16;
  background: var(--ink);
  border: var(--line) solid var(--ink);
  border-radius: 22px;
  overflow: hidden;
  box-shadow: 8px 10px 0 var(--ink);
}
.screen video { width: 100%; height: 100%; object-fit: cover; }
.now {
  margin: 18px 4px 0;
  font-weight: 800;
  line-height: 1.25;
  color: var(--white);
}

.reel {
  grid-column: 1 / -1;
  list-style: none;
  margin: 0;
  padding: 4px var(--gutter) 10px;
  margin-inline: calc(var(--gutter) * -1);
  display: flex;
  gap: 12px;
  overflow-x: auto;
  scroll-snap-type: x proximity;
  scrollbar-width: none;
}
.reel::-webkit-scrollbar { display: none; }
.reel li { flex: 0 0 112px; scroll-snap-align: start; }
.reel button {
  display: block;
  width: 100%;
  padding: 0;
  border: var(--line) solid var(--ink);
  border-radius: 12px;
  overflow: hidden;
  background: var(--ink);
  cursor: pointer;
  box-shadow: 4px 5px 0 var(--ink);
  transition: transform 0.12s ease-out, box-shadow 0.12s ease-out;
}
.reel img { width: 100%; height: auto; aspect-ratio: 9 / 16; object-fit: cover; }
.reel button:hover { transform: translate(-1px, -2px); box-shadow: 5px 7px 0 var(--ink); }
.reel button[aria-pressed="true"] { border-color: var(--yellow); }

@media (min-width: 860px) {
  .hero { grid-template-columns: minmax(0, 1fr) 340px; align-items: center; }
  .player { justify-self: end; }
  .reel { margin-inline: 0; padding-inline: 0; overflow: visible; display: grid; grid-template-columns: repeat(7, 1fr); gap: 16px; }
  .reel li { flex: none; }
}

/* ---------- forms ---------- */
.signup { margin-top: 1.8rem; max-width: 31rem; }
.signup label {
  display: block;
  margin-bottom: 8px;
  font-weight: 800;
  color: var(--white);
}
.field-row { display: flex; flex-wrap: wrap; gap: 10px; }
.signup input[type="email"],
.signup input[type="text"],
.signup select {
  flex: 1 1 13rem;
  width: 100%;
  min-height: 52px;
  padding: 0 14px;
  font: inherit;
  font-size: 1rem; /* 16px keeps iOS from zooming */
  font-weight: 600;
  color: var(--ink);
  background: var(--white);
  border: var(--line) solid var(--ink);
  border-radius: 10px;
}
.signup input::placeholder { color: #8c8794; font-weight: 500; }
.signup button {
  flex: 0 0 auto;
  min-height: 52px;
  padding: 0 22px;
  font: inherit;
  font-weight: 900;
  color: var(--ink);
  background: var(--yellow);
  border: var(--line) solid var(--ink);
  border-radius: 10px;
  box-shadow: 4px 5px 0 var(--ink);
  cursor: pointer;
  transition: transform 0.1s ease-out, box-shadow 0.1s ease-out;
}
.signup button:hover { transform: translate(-1px, -1px); box-shadow: 5px 6px 0 var(--ink); }
.signup button:active { transform: translate(3px, 4px); box-shadow: 1px 1px 0 var(--ink); }
.signup button[disabled] { opacity: 0.6; cursor: wait; }
.form-note {
  margin: 12px 0 0;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--white);
}
.form-note.ok { font-size: 1rem; font-weight: 800; }
.form-note.err { font-weight: 800; color: var(--yellow); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.signup.done .field-row, .signup.done .pair, .signup.done > label { display: none; }

/* ---------- hoardings ---------- */
.hoardings {
  display: flex;
  overflow: hidden;
  border-block: var(--line) solid var(--ink);
  background: var(--ink);
  gap: var(--line);
}
.hoardings span {
  flex: 1 0 auto;
  padding: 12px 28px;
  font-weight: 900;
  font-size: clamp(0.95rem, 2vw, 1.3rem);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  text-align: center;
  white-space: nowrap;
  color: var(--white);
}
.hoardings .blue { background: var(--blue); }
.hoardings .red { background: var(--red); }

/* ---------- roast ---------- */
.roast {
  background: repeating-linear-gradient(90deg, var(--pitch) 0 120px, var(--pitch-mown) 120px 240px);
  padding: clamp(40px, 7vw, 96px) var(--gutter);
  display: grid;
  gap: clamp(28px, 5vw, 64px);
  grid-template-columns: minmax(0, 1fr);
  justify-content: center;
}
.roast-text { max-width: 33rem; }
.roast h2 { font-size: clamp(2.3rem, 9vw, 4.4rem); margin-bottom: 1.4rem; }
.roast-text > p { margin: 0 0 0.9rem; font-weight: 600; font-size: 1.125rem; }
.on-pitch label, .on-pitch .form-note { color: var(--ink); }
.on-pitch .form-note.err { color: #8a0f1f; }
.pair { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 14px; }

.card {
  margin: 0;
  width: min(100%, 420px);
  justify-self: center;
  background: var(--white);
  border: var(--line) solid var(--ink);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 10px 12px 0 var(--ink);
  transform: rotate(-2deg);
}
.card-art {
  --club: #da291c;
  --club-trim: #ffffff;
  background: var(--stand);
  border-bottom: var(--line) solid var(--ink);
}
.card-art .shirt { fill: var(--club); transition: fill 0.2s ease-out; }
.card-art .trim { fill: var(--club-trim); transition: fill 0.2s ease-out; }
.card-art .seats rect { fill: var(--club); opacity: 0.9; stroke: var(--ink); stroke-width: 4; transition: fill 0.2s ease-out; }
.card figcaption { padding: 22px 22px 24px; background: var(--board); }
.card-title { font-size: clamp(1.5rem, 5.4vw, 2rem); overflow-wrap: anywhere; }
.card-line { margin: 14px 0 0; font-weight: 700; color: var(--yellow); }

@media (min-width: 900px) {
  .roast { grid-template-columns: minmax(0, 33rem) 420px; align-items: center; }
}

/* ---------- footer ---------- */
.foot {
  background: var(--board);
  color: var(--white);
  border-top: var(--line) solid var(--ink);
  padding: 36px var(--gutter) calc(36px + env(safe-area-inset-bottom));
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 32px;
}
.foot ul { list-style: none; display: flex; flex-wrap: wrap; gap: 18px; margin: 0; padding: 0; }
.foot ul:empty { display: none; }
.foot ul a { font-weight: 700; }
.foot .small { margin: 0 0 0 auto; font-size: 0.875rem; color: #b9bdd6; }
@media (max-width: 700px) { .foot .small { margin-left: 0; } }

/* ---------- conversion layout (overrides the first version above) ---------- */
.hero {
  grid-template-columns: minmax(0, 1fr);
  grid-template-areas: "head" "try" "card" "join";
  gap: clamp(20px, 3vw, 28px);
  align-items: start;
}
.hero-head { grid-area: head; }
.try { grid-area: try; max-width: 31rem; }
.hero .card { grid-area: card; width: min(100%, 290px); }
.join { grid-area: join; margin-top: 0; }
.hero h1 { font-size: clamp(2.05rem, 8.2vw, 3.3rem); }
.try-label { margin: 0 0 12px; font-weight: 900; font-size: 1.125rem; color: var(--yellow); }
.try label { display: block; margin-bottom: 8px; font-weight: 800; color: var(--white); }
.try input, .try select {
  width: 100%; min-height: 52px; padding: 0 14px;
  font: inherit; font-size: 1rem; font-weight: 600; color: var(--ink);
  background: var(--white); border: var(--line) solid var(--ink); border-radius: 10px;
}
.try .pair { margin-bottom: 0; }
.offer {
  margin: 0 0 16px; padding: 12px 14px;
  font-weight: 700; color: var(--white);
  background: var(--sky-deep); border: var(--line) solid var(--ink); border-radius: 10px;
}
.signup .check { display: flex; align-items: center; gap: 10px; margin: 14px 0 0; font-weight: 600; cursor: pointer; }
.check input { width: 22px; height: 22px; flex: none; accent-color: var(--yellow); }
.signup.done .offer, .signup.done .check { display: none; }
.ask { margin-top: 18px; }
.ask p { margin: 0 0 10px; font-weight: 700; color: var(--white); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.signup .chips button { min-height: 44px; padding: 0 16px; background: var(--white); box-shadow: 3px 4px 0 var(--ink); }
@media (min-width: 900px) {
  .hero {
    grid-template-columns: minmax(0, 1fr) minmax(0, 400px);
    grid-template-areas: "head card" "try card" "join card";
    column-gap: clamp(32px, 5vw, 72px);
  }
  .hero .card { width: 100%; align-self: center; justify-self: end; }
}

.how { background: var(--stand); padding: clamp(32px, 5vw, 56px) var(--gutter); }
.how h2, .how ol { max-width: var(--max); margin-inline: auto; }
.how h2 { margin-block: 0 18px; font-size: 1.5rem; font-weight: 900; }
.how ol { padding: 0; list-style: none; counter-reset: step; display: grid; gap: 18px; }
.how li { counter-increment: step; display: grid; grid-template-columns: 44px 1fr; gap: 14px; align-items: start; }
.how li::before {
  content: counter(step);
  display: grid; place-items: center; width: 44px; height: 44px;
  font-weight: 900; font-size: 1.25rem;
  background: var(--yellow); border: var(--line) solid var(--ink); border-radius: 50%;
}
.how strong { display: block; font-weight: 900; }
@media (min-width: 800px) { .how ol { grid-template-columns: repeat(3, 1fr); gap: 32px; } }

.watch {
  background: repeating-linear-gradient(90deg, var(--pitch) 0 120px, var(--pitch-mown) 120px 240px);
  padding: clamp(40px, 7vw, 88px) var(--gutter);
  display: grid; gap: clamp(28px, 5vw, 64px);
  grid-template-columns: minmax(0, 1fr);
}
.watch h2 { font-size: clamp(2rem, 7.5vw, 3.6rem); margin-bottom: 1.2rem; }
.watch-text > p { margin: 0 0 1.2rem; max-width: 32rem; font-weight: 600; font-size: 1.125rem; }
.watch .now { color: var(--ink); }
.watch .reel { margin-bottom: 1.4rem; }
.back {
  display: inline-block; padding: 14px 22px; font-weight: 900; text-decoration: none;
  background: var(--yellow); border: var(--line) solid var(--ink); border-radius: 10px; box-shadow: 4px 5px 0 var(--ink);
}
@media (min-width: 900px) {
  .watch { grid-template-columns: minmax(0, 1fr) 320px; align-items: center; justify-content: center; max-width: none; padding-inline: max(var(--gutter), calc((100vw - var(--max)) / 2)); }
  .watch .reel { grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 10px; }
}

.news { background: var(--board); color: var(--white); padding: clamp(40px, 6vw, 72px) max(var(--gutter), calc((100vw - var(--max)) / 2)); }
.news h2 { margin: 0; font-size: clamp(1.5rem, 4vw, 2.1rem); font-weight: 900; line-height: 1.15; }
.news .signup { margin-top: 1.2rem; }
.news .signup label { font-weight: 600; }

/* ---------- hero, calmer: dark copy on the sky, one white panel for the whole form ---------- */
.hero { grid-template-areas: "head" "card" "join"; gap: clamp(22px, 3vw, 32px); }
.hero .lede { margin-top: 1.1rem; max-width: 30rem; font-size: clamp(1.125rem, 1.7vw, 1.3rem); font-weight: 600; line-height: 1.4; color: var(--ink); }
.hero .card { width: min(100%, 250px); }
.panel {
  max-width: 30rem; padding: clamp(18px, 3vw, 26px);
  background: var(--white); color: var(--ink);
  border: var(--line) solid var(--ink); border-radius: 16px; box-shadow: 8px 10px 0 var(--ink);
}
.panel h2 { margin: 0 0 16px; font-size: 1.25rem; font-weight: 900; line-height: 1.2; }
.panel label { margin-bottom: 6px; font-size: 0.9375rem; font-weight: 700; color: var(--ink); }
.panel .pair { margin-bottom: 14px; }
.panel input[type="text"], .panel input[type="email"], .panel select {
  min-height: 50px; border-width: 2px; border-radius: 9px; background: #fbfaf7; font-weight: 600;
}
.panel > button[type="submit"] { display: block; width: 100%; margin-top: 14px; min-height: 54px; font-size: 1.0625rem; }
.panel .offer { margin: 14px 0 0; padding: 0; background: none; border: 0; border-radius: 0; font-size: 0.9375rem; font-weight: 700; color: var(--ink); }
.panel .check { margin-top: 12px; font-size: 0.9375rem; font-weight: 500; }
.panel .check input { accent-color: var(--ink); }
.panel .form-note { margin-top: 12px; font-size: 0.8125rem; color: #5d576a; }
.panel .form-note.ok { margin-top: 0; font-size: 1.125rem; color: var(--ink); }
.panel .form-note.err { color: #b3172b; }
.panel .ask p { color: var(--ink); }
.panel.done h2, .panel.done > label, .panel.done > input, .panel.done > button[type="submit"] { display: none; }
@media (max-width: 899px) {
  /* phone: a short card (head and shoulders) so the form stays close under it */
  .hero .card { width: min(100%, 30rem); justify-self: start; transform: rotate(-1deg); box-shadow: 6px 8px 0 var(--ink); }
  .hero .card-art svg { width: 100%; height: 180px; }
  .hero .card figcaption { padding: 16px 18px 18px; }
  .hero .card-title { font-size: 1.35rem; }
  .hero .card-line { margin-top: 8px; }
}
@media (min-width: 900px) {
  .hero { grid-template-areas: "head card" "join card"; grid-template-rows: auto 1fr; row-gap: 28px; }
  .hero .card { width: 100%; }
  .hero-head { align-self: end; }
}

/* sample roast next to the steps */
.how { display: grid; gap: clamp(24px, 4vw, 56px); grid-template-columns: minmax(0, 1fr); }
.how .sample { width: min(100%, 280px); justify-self: center; }
.how-text { max-width: 36rem; }
.how h2, .how ol { max-width: none; margin-inline: 0; }
.how h2 { font-size: clamp(1.5rem, 4vw, 2rem); line-height: 1.15; }
.how-text > p { margin: 0 0 1.4rem; font-weight: 500; }
.how ol { grid-template-columns: minmax(0, 1fr); gap: 16px; margin-bottom: 1.6rem; }
@media (min-width: 800px) {
  .how { grid-template-columns: 280px minmax(0, 36rem); justify-content: center; align-items: center; }
  .how ol { grid-template-columns: minmax(0, 1fr); gap: 16px; }
}

/* ---------- privacy page ---------- */
.plain { background: var(--stand); }
.plain .top .wordmark, .plain .top nav a { color: var(--ink); }
.plain .wordmark span { color: var(--red); }
.prose { max-width: 40rem; margin: 0 auto; padding: 24px var(--gutter) 80px; }
.prose h1 { font-size: 2.2rem; line-height: 1.1; font-weight: 900; margin: 0 0 1rem; }
.prose h2 { font-size: 1.2rem; font-weight: 900; margin: 2rem 0 0.4rem; }
.prose p { margin: 0 0 1rem; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
