@font-face {
  font-family: "Baloo 2";
  src: url("./fonts/baloo2-semibold.ttf") format("truetype");
  font-weight: 600;
  font-display: swap;
}
@font-face {
  font-family: "Baloo 2";
  src: url("./fonts/baloo2-bold.ttf") format("truetype");
  font-weight: 700;
  font-display: swap;
}
@font-face {
  font-family: "Baloo 2";
  src: url("./fonts/baloo2-extrabold.ttf") format("truetype");
  font-weight: 800;
  font-display: swap;
}

:root {
  --cream: #FFF4DC;
  --ink: #2B1D12;
  --ink-soft: rgba(43, 29, 18, .66);
  --team-blue: #2F7BFF;
  --gold: #FFC23C;
  --gold-text: #9C6A05;
  --parchment: #E9D6A8;
  --grass: #6BC24A;
  --page-gutter: clamp(24px, 4.4vw, 56px);
  --page-width: 1120px;
  /* Every band is full width and pads its content in to the one page column.
     The percentage resolves against the band's own width where it is used. */
  --column-inset: max(var(--page-gutter), calc((100% - var(--page-width)) / 2));
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }
}

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font: 600 17px/1.4 "Baloo 2", system-ui, sans-serif;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

:focus-visible {
  outline: 3px solid var(--team-blue);
  outline-offset: 3px;
}

/* Display text: cream letters with an ink outline and a hard ink drop. */
.display {
  margin: 0;
  color: var(--cream);
  font-weight: 800;
  line-height: 1;
  letter-spacing: .01em;
  -webkit-text-stroke: var(--display-stroke) var(--ink);
  paint-order: stroke fill;
  text-shadow: 0 var(--display-drop) 0 var(--ink);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  border: 2px solid var(--ink);
  font-weight: 800;
  line-height: 1.1;
  white-space: nowrap;
}
.button:active {
  transform: translateY(3px);
  box-shadow: 0 1px 0 var(--ink);
}
.button-gold {
  background: var(--gold);
  color: var(--ink);
}
.button-large {
  padding: 14px 26px;
  border-radius: 14px;
  box-shadow: 0 4px 0 var(--ink);
  font-size: 20px;
}
.button-small {
  padding: 7px 13px;
  border-radius: 10px;
  box-shadow: 0 3px 0 var(--ink);
  font-size: 14px;
}
.button svg {
  flex: none;
  fill: currentColor;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
}
.brand-icon {
  flex: none;
  width: 40px;
  height: 40px;
  border: 2px solid var(--ink);
  border-radius: 11px;
  box-shadow: 0 4px 0 var(--ink);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: min(22px, 2vw);
  padding: 14px var(--column-inset);
  background: var(--parchment);
}
.site-nav .brand-name {
  --display-stroke: 3px;
  --display-drop: 3px;
  font-size: 22px;
  white-space: nowrap;
}
.nav-spacer {
  flex: 1;
}
.nav-link {
  font-size: 15px;
  font-weight: 800;
}

.hero {
  background: var(--parchment);
  border-bottom: 2px solid var(--ink);
}
.hero-inner {
  display: flex;
  align-items: center;
  gap: clamp(24px, 3.75vw, 48px);
  padding: 24px var(--column-inset) 60px;
}
.hero-copy {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
}
.hero-pill {
  padding: 4px 12px;
  border: 2px solid var(--ink);
  border-radius: 999px;
  background: #fff;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.hero-title {
  --display-stroke: 6px;
  --display-drop: 6px;
  font-size: clamp(40px, 5.4vw, 68px);
  line-height: 1.02;
}
.hero-lead {
  max-width: 480px;
  margin: 0;
  font-size: 19px;
}

/* The art scales between the phone and desktop sizes; its radii and the map
   card's inset are percentages of the square so the shapes hold at any width. */
.hero-art {
  position: relative;
  flex: none;
  width: clamp(220px, 36vw, 460px);
  aspect-ratio: 1;
}
.hero-art img {
  position: absolute;
  border: 2px solid var(--ink);
  object-fit: cover;
}
.hero-art-map {
  inset: 6.5%;
  width: 87%;
  height: 87%;
  border-radius: 15%;
  box-shadow: 0 6px 0 var(--ink);
  transform: rotate(6deg);
}
.hero-art .hero-art-icon {
  inset: 0;
  width: 100%;
  height: 100%;
  border-width: 2.5px;
  border-radius: 15.2%;
  box-shadow: 0 8px 0 var(--ink);
  transform: rotate(-4deg);
}

.card {
  border: 2px solid var(--ink);
  background: var(--cream);
  box-shadow: inset 0 -4px 0 var(--team-blue), 0 5px 0 var(--ink);
}

.season,
.features {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 64px var(--column-inset);
}
.section-head {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  text-align: center;
}
.section-title {
  --display-stroke: 4px;
  --display-drop: 4px;
  font-size: 38px;
}
.section-lead {
  max-width: 560px;
  margin: 0;
}

.season {
  gap: 30px;
}
.timeline {
  position: relative;
  display: flex;
  width: 100%;
  margin: 0;
  padding: 0;
  list-style: none;
}
/* The rail sits behind the step marks and stops inside the first and last. */
.timeline::before {
  content: "";
  position: absolute;
  left: 12%;
  right: 12%;
  top: 27px;
  height: 6px;
  border-radius: 3px;
  background: var(--ink);
}
.timeline-step {
  position: relative;
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 0 10px;
  text-align: center;
}
.timeline-mark {
  flex: none;
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border: 2.5px solid var(--ink);
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 3px 0 var(--ink);
  font-size: 22px;
  font-weight: 800;
}
.timeline-mark-final {
  background: var(--gold);
}
.timeline-mark img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
}
.timeline-text {
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.timeline-text h3 {
  margin: 0;
  font-size: 20px;
  font-weight: 800;
}
.timeline-text p {
  max-width: 220px;
  margin: 0;
  color: var(--ink-soft);
  font-size: 14.5px;
}
.timeline-when {
  color: var(--gold-text);
  font-size: 12px;
  font-weight: 800;
}

.features {
  gap: 22px;
  border-block: 2px solid var(--ink);
  background: var(--grass);
}
/* Two cards across the page column; one when a card would fall under 420px. */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr));
  gap: 28px;
  width: 100%;
}
.feature-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  overflow: hidden;
  border-radius: 18px;
}
.feature-shot {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  border-bottom: 2px solid var(--ink);
  object-fit: cover;
}
.feature-text {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 18px 20px 22px;
}
.feature-icon {
  flex: none;
  display: grid;
  place-items: center;
  width: 62px;
  height: 62px;
  overflow: hidden;
  border: 2px solid var(--ink);
  border-radius: 14px;
  background: var(--grass);
}
.feature-icon img {
  width: 52px;
  height: 52px;
  object-fit: contain;
}
.feature-card h3 {
  margin: 0 0 4px;
  font-size: 22px;
  font-weight: 800;
  line-height: 1.3;
}
.feature-card p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 15.5px;
}
.feature-card .feature-caption {
  margin-top: 8px;
  font-size: 14px;
}
.feature-caption span {
  margin-right: 4px;
  color: var(--gold-text);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.closing {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  padding: 64px var(--column-inset);
  border-top: 2px solid var(--ink);
  background: var(--parchment);
}
.faq {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
}
.faq-item {
  align-self: stretch;
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 10px 0;
  border-bottom: 2px dashed rgba(43, 29, 18, .25);
}
.faq-item h3 {
  margin: 0;
  font-size: 17px;
  font-weight: 800;
}
.faq-item p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 15px;
}
.cta-card {
  align-self: start;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 24px 22px;
  border-radius: 22px;
}
.cta-title {
  --display-stroke: 3.5px;
  --display-drop: 4px;
  font-size: 30px;
}
.cta-card p {
  margin: 0;
  font-size: 16px;
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 22px;
  padding: 22px var(--column-inset);
  background: var(--ink);
  color: var(--cream);
  font-size: 14px;
  font-weight: 700;
}
.site-footer .brand {
  gap: 9px;
}
.site-footer .brand-icon {
  width: 30px;
  height: 30px;
  border-radius: 8px;
}

@media (max-width: 599px) {
  :root {
    --page-gutter: 16px;
  }

  .site-nav {
    position: sticky;
    top: 0;
    z-index: 1;
  }
  .nav-play-rest,
  .nav-link {
    display: none;
  }

  .hero-inner {
    flex-direction: column-reverse;
    gap: 22px;
    padding-top: 10px;
    padding-bottom: 36px;
  }
  .hero-copy {
    align-items: center;
    text-align: center;
  }
  .hero-title {
    --display-stroke: 4px;
    --display-drop: 4px;
    font-size: 44px;
  }
  .hero-lead {
    font-size: 17px;
  }
  .hero-copy .button-large {
    width: 100%;
  }
  .hero-art {
    width: 280px;
  }

  .season,
  .features,
  .closing {
    padding-block: 44px;
  }

  .timeline {
    flex-direction: column;
    gap: 14px;
  }
  .timeline::before {
    display: none;
  }
  .timeline-step {
    flex-direction: row;
    align-items: flex-start;
    text-align: left;
  }

  .feature-grid {
    gap: 20px;
  }

  .closing {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}
