/* Common landing page. Colours and type come from the brand boards. */
:root {
  --ink: #24262A;
  --chalk: #F2EFE6;
  --clay: #AD4329;
  --grass: #2A7340;
  --hard: #1F5AA6;
  --sand: #E2C48D;
  --asphalt: #3A3D42;
  --grey-1: #D6D3CA;
  --grey-2: #B9B6AD;
  --grey-3: #8A8D93;
  --grey-4: #6B6E74;
  --grey-5: #4A4D52;
  --body: Barlow, system-ui, sans-serif;
  --display: 'Barlow Condensed', Barlow, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--body);
  color: var(--chalk);
  background: var(--ink);
  line-height: 1.5;
}
a { color: var(--chalk); }
a:hover { color: #FFFFFF; }
p, h1, h2, h3 { margin: 0; }
:focus-visible { outline: 3px solid var(--chalk); outline-offset: 3px; }
.businesses :focus-visible, .perk-note :focus-visible { outline-color: var(--ink); }

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

.wrap { max-width: 1200px; margin: 0 auto; padding-left: 24px; padding-right: 24px; }
.section-pad { padding-top: 88px; padding-bottom: 88px; }
.ruled { border-top: 2px solid var(--chalk); }

/* Type */
.eyebrow {
  font-family: var(--display);
  font-weight: 600;
  font-size: 20px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--grey-1);
}
.eyebrow--ink { color: var(--grey-5); }
.display {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(48px, 6vw, 88px);
  line-height: 0.92;
  text-transform: uppercase;
}
.display--narrow { max-width: 820px; }
.display--sm { font-size: clamp(40px, 4.6vw, 64px); line-height: 0.95; }
.caption { font-size: 14px; color: var(--grey-2); }

/* Buttons */
.btn {
  min-height: 58px;
  padding: 0 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  border-radius: 999px;
  font-family: var(--display);
  font-weight: 700;
  font-size: 24px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-decoration: none;
  text-align: center;
  cursor: pointer;
}
.btn-chalk, .btn-chalk:hover { background: var(--chalk); color: var(--ink); }
.btn-ink, .btn-ink:hover { background: var(--ink); color: var(--chalk); align-self: flex-start; }
.btn-outline { border: 2px solid var(--chalk); color: var(--chalk); align-self: flex-start; }
.btn-on-grass { background: var(--grass); }
.btn-block { width: 100%; }
.btn:disabled { opacity: 0.6; cursor: default; }
.btn[data-placeholder] { border-style: dashed; }

/* Header */
.site-header {
  padding-top: 20px;
  padding-bottom: 20px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 24px;
}
.brand { min-height: 44px; display: flex; align-items: center; text-decoration: none; }
.site-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 28px;
  font-family: var(--display);
  font-weight: 600;
  font-size: 18px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.site-nav a { text-decoration: none; min-height: 44px; display: flex; align-items: center; }
.site-nav .nav-cta, .site-nav .nav-cta:hover {
  padding: 0 22px;
  border-radius: 999px;
  background: var(--chalk);
  color: var(--ink);
  font-weight: 700;
}

/* Hero */
.hero { position: relative; overflow: hidden; }
.hero-mark {
  position: absolute;
  right: -260px;
  top: -40px;
  width: 900px;
  height: 900px;
  opacity: 0.14;
  pointer-events: none;
}
.hero-inner {
  position: relative;
  padding-top: 48px;
  padding-bottom: 104px;
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 56px;
}
.hero-copy { flex: 1 1 520px; min-width: 0; display: flex; flex-direction: column; gap: 24px; }
.hero-title {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(96px, 16vw, 232px);
  line-height: 0.8;
  text-transform: uppercase;
}
.lede { font-size: 21px; color: var(--grey-1); max-width: 540px; }

.join-card {
  max-width: 560px;
  border: 2px solid var(--chalk);
  border-radius: 20px;
  padding: 24px;
  background: var(--ink);
  scroll-margin-top: 24px;
}
.join-form { display: flex; flex-direction: column; gap: 16px; }
.field-row { display: flex; flex-wrap: wrap; gap: 16px; }
.field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.field-row .field { flex: 1 1 200px; }
.field label { font-size: 15px; font-weight: 600; }
.field input {
  height: 52px;
  width: 100%;
  padding: 0 16px;
  border: 1.5px solid var(--grey-3);
  border-radius: 12px;
  font: inherit;
  font-size: 17px;
  background: var(--ink);
  color: var(--chalk);
}
.field input::placeholder { color: var(--grey-3); opacity: 1; }
.field input:focus-visible { outline-offset: 0; border-color: var(--chalk); }
.form-note { font-size: 15px; color: var(--grey-2); }
.form-error {
  font-size: 16px;
  font-weight: 600;
  padding: 12px 16px;
  border-radius: 12px;
  border: 1.5px solid var(--chalk);
  background: var(--clay);
  color: var(--chalk);
}
.join-done { display: flex; flex-direction: column; gap: 8px; outline: none; }
.join-done-title {
  font-family: var(--display);
  font-weight: 700;
  font-size: 60px;
  line-height: 0.9;
  text-transform: uppercase;
}
.join-done-text { font-size: 18px; color: var(--grey-1); overflow-wrap: anywhere; }

.hero-examples { flex: 1 1 340px; min-width: 0; max-width: 420px; display: flex; flex-direction: column; gap: 14px; }
.event-card {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 150px;
  padding: 22px;
  border-radius: 18px;
  overflow: hidden;
}
.event-card > * { position: relative; }
.event-card--lg { min-height: 220px; }
.event-card--clay { background: var(--clay); }
.event-card--grass { background: var(--grass); }
.card-lines, .event-card > .card-lines, .perk-card > .card-lines {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  opacity: 0.55;
  pointer-events: none;
}
.perk-card > .card-lines--faint { opacity: 0.35; }
.event-when { font-size: 15px; font-weight: 600; }
.event-title {
  font-family: var(--display);
  font-weight: 700;
  font-size: 40px;
  line-height: 0.95;
  text-transform: uppercase;
}
.event-card--lg .event-title { font-size: 48px; }
.event-spots { font-size: 16px; }
.event-spots--gap { margin-top: 6px; }
.event-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 12px; }
.pill-in {
  min-height: 44px;
  display: flex;
  align-items: center;
  padding: 0 22px;
  border-radius: 999px;
  background: var(--chalk);
  color: var(--ink);
  font-family: var(--display);
  font-weight: 700;
  font-size: 20px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  white-space: nowrap;
}

/* How it works */
.how { display: flex; flex-direction: column; gap: 48px; }
.steps { display: flex; flex-wrap: wrap; gap: 32px 40px; }
.step {
  flex: 1 1 280px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
  border-top: 2px solid var(--chalk);
  padding-top: 20px;
}
.step-num { font-family: var(--display); font-weight: 700; font-size: 72px; line-height: 0.9; }
.step-title { font-family: var(--display); font-weight: 700; font-size: 34px; line-height: 1; text-transform: uppercase; }
.step p { font-size: 18px; color: var(--grey-1); }

/* Grounds */
.grounds { padding-bottom: 96px; display: flex; flex-direction: column; gap: 28px; }
.grounds-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 12px 40px; }
.grounds-head p { font-size: 18px; color: var(--grey-1); max-width: 440px; }
.ground-list { display: flex; flex-wrap: wrap; gap: 14px; }
.ground {
  position: relative;
  flex: 1 1 180px;
  min-width: 0;
  height: 220px;
  padding: 18px;
  border-radius: 14px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}
.ground svg { position: absolute; left: 0; top: 0; width: 100%; height: 150px; opacity: 0.7; }
.ground span {
  position: relative;
  font-family: var(--display);
  font-weight: 700;
  font-size: 32px;
  line-height: 1;
  text-transform: uppercase;
}
.ground--clay { background: var(--clay); }
.ground--grass { background: var(--grass); }
.ground--hard { background: var(--hard); }
.ground--asphalt { background: var(--asphalt); }
.ground--sand { background: var(--sand); color: var(--ink); }

/* Patches */
.patches { display: flex; flex-direction: column; gap: 56px; }
.patches-head { display: flex; flex-direction: column; gap: 16px; max-width: 820px; }
.patches-lede { font-size: 20px; color: var(--grey-1); max-width: 620px; }
.patch-row { display: flex; flex-wrap: wrap; align-items: center; gap: 40px 48px; }
.patch { display: flex; flex-direction: column; align-items: center; gap: 16px; width: 220px; }
.patch-badge {
  position: relative;
  width: 200px;
  height: 200px;
  background: var(--clay);
  border: 6px solid var(--chalk);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
}
.patch-stitch { position: absolute; left: 8px; top: 8px; right: 8px; bottom: 8px; border: 2.5px dashed var(--chalk); }
.patch-badge--round, .patch-badge--round .patch-stitch { border-radius: 50%; }
.patch-badge--shield { border-radius: 28px 28px 100px 100px; }
.patch-badge--shield .patch-stitch { border-radius: 16px 16px 88px 88px; }
.patch-count { font-family: var(--display); font-weight: 700; font-size: 20px; letter-spacing: 0.08em; text-transform: uppercase; }
.patch-name { font-family: var(--display); font-weight: 700; font-size: 30px; line-height: 1; text-transform: uppercase; }
.perk-note {
  flex: 1 1 340px;
  min-width: 0;
  background: var(--chalk);
  color: var(--ink);
  border-radius: 20px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.perk-note-label {
  font-family: var(--display);
  font-weight: 600;
  font-size: 18px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--grey-5);
}
.perk-note-offer { font-family: var(--display); font-weight: 700; font-size: 72px; line-height: 0.9; text-transform: uppercase; }
.perk-note-text { font-size: 18px; }
.perk-note-small { font-size: 15px; color: var(--grey-5); }

/* Businesses */
.businesses { background: var(--chalk); color: var(--ink); }
.businesses-inner { padding-top: 96px; padding-bottom: 96px; display: flex; flex-wrap: wrap; align-items: center; gap: 56px; }
.businesses-copy { flex: 1 1 480px; min-width: 0; display: flex; flex-direction: column; gap: 22px; }
.businesses-lede { font-size: 20px; color: var(--asphalt); max-width: 560px; }
.points { display: flex; flex-direction: column; border-top: 2px solid var(--ink); max-width: 560px; }
.points p { padding: 14px 0; font-size: 18px; border-bottom: 1.5px solid var(--grey-2); }
.points p:last-child { border-bottom: none; }
.perk-card {
  position: relative;
  flex: 1 1 360px;
  min-width: 0;
  max-width: 460px;
  background: var(--clay);
  color: var(--chalk);
  border-radius: 20px;
  padding: 30px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.perk-card > * { position: relative; }
.perk-tag {
  align-self: flex-start;
  font-size: 14px;
  font-weight: 600;
  padding: 5px 12px;
  border-radius: 999px;
  background: var(--chalk);
  color: var(--ink);
}
.perk-offer {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(72px, 22vw, 112px);
  line-height: 0.85;
  text-transform: uppercase;
}
.perk-shop { font-size: 20px; font-weight: 600; }
.perk-foot { display: flex; align-items: center; gap: 14px; margin-top: 8px; padding-top: 18px; border-top: 2px solid var(--chalk); font-size: 17px; }
.perk-mini {
  width: 56px;
  height: 56px;
  border-radius: 8px 8px 28px 28px;
  border: 3px solid var(--chalk);
  display: flex;
  align-items: center;
  justify-content: center;
  flex: none;
}

/* Venues */
.venues { padding-top: 96px; padding-bottom: 96px; display: flex; flex-wrap: wrap-reverse; align-items: center; gap: 56px; }
.slots { flex: 1 1 360px; min-width: 0; max-width: 480px; display: flex; flex-direction: column; border-top: 2px solid var(--chalk); }
.slot { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 0; border-bottom: 1.5px solid var(--grey-4); }
.slot-time { font-family: var(--display); font-weight: 700; font-size: 52px; line-height: 1; width: 124px; flex: none; }
.slot-what { flex: 1; min-width: 0; font-size: 18px; }
.slot-pill {
  font-size: 15px;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 999px;
  background: var(--chalk);
  color: var(--ink);
  white-space: nowrap;
}
.slot--full .slot-time, .slot--full .slot-what { color: var(--grey-2); }
.slot--full .slot-pill { background: none; border: 1.5px solid var(--grey-3); color: var(--grey-1); }
.caption--slots { padding-top: 12px; }
.venues-copy { flex: 1 1 480px; min-width: 0; display: flex; flex-direction: column; gap: 22px; }
.venues-lede { font-size: 20px; color: var(--grey-1); max-width: 560px; }

/* Partner band */
.partner { padding-bottom: 96px; scroll-margin-top: 24px; }
.partner-band {
  position: relative;
  overflow: hidden;
  background: var(--grass);
  border-radius: 28px;
  padding: clamp(32px, 6vw, 80px);
  display: flex;
  flex-direction: column;
  gap: 28px;
}
.partner-mark {
  position: absolute;
  right: -180px;
  top: 50%;
  margin-top: -300px;
  width: 600px;
  height: 600px;
  opacity: 0.4;
  pointer-events: none;
}
.partner-copy { position: relative; display: flex; flex-direction: column; gap: 12px; max-width: 640px; }
.partner-copy p { font-size: 21px; }
.partner-title {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(64px, 9vw, 136px);
  line-height: 0.84;
  text-transform: uppercase;
}
.partner-actions { position: relative; display: flex; flex-wrap: wrap; gap: 12px; }
.partner-actions .btn { align-self: auto; padding-top: 8px; padding-bottom: 8px; line-height: 1.05; }

/* Footer */
.site-footer { border-top: 2px solid var(--chalk); }
.footer-inner {
  padding-top: 28px;
  padding-bottom: 28px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-size: 16px;
  color: var(--grey-1);
}

/* Small phones: the design's minimum display sizes are wider than the screen. */
@media (max-width: 560px) {
  .hero-title { font-size: 21vw; }
  .hero-inner { padding-bottom: 72px; gap: 40px; }
  .section-pad { padding-top: 64px; padding-bottom: 64px; }
  .slot-time { font-size: 44px; width: 100px; }
  .slot { gap: 12px; }
}
