:root {
  --cream: oklch(0.96 0.025 75);
  --cream-bright: oklch(0.98 0.01 75);
  --ink: oklch(0.24 0.03 50);
  --ink-dark: oklch(0.2 0.015 40);
  --gold: oklch(0.78 0.14 85);
  --burnt: oklch(0.64 0.19 42);
  --teal: oklch(0.52 0.09 195);
  --magenta: oklch(0.62 0.19 355);
  --avocado: oklch(0.56 0.11 135);
  --display: "Alfa Slab One", Georgia, serif;
  --body: "Archivo", Arial, sans-serif;
}

* {
  box-sizing: border-box;
  margin: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  min-height: 100vh;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.5;
}

a {
  color: inherit;
  text-decoration: none;
}

.site-header,
.site-footer {
  align-items: center;
  display: flex;
  justify-content: space-between;
}

.site-header {
  border-bottom: 3px solid var(--ink);
  gap: 24px;
  padding: 20px clamp(20px, 5vw, 64px);
}

.brand {
  align-items: center;
  display: inline-flex;
  font-family: var(--display);
  font-size: clamp(17px, 2vw, 22px);
  gap: 10px;
  letter-spacing: 0.04em;
  line-height: 1;
  text-transform: uppercase;
}

.brand-logo {
  display: inline-block;
  height: auto;
  max-width: 160px;
  width: clamp(110px, 15vw, 160px);
}

.site-nav {
  align-items: center;
  display: flex;
  font-size: 15px;
  font-weight: 700;
  gap: clamp(16px, 3vw, 32px);
}

.site-nav > a:first-child {
  transition: color 160ms ease;
}

.site-nav > a:first-child:hover,
.site-nav > a:first-child:focus-visible {
  color: var(--burnt);
}

.button {
  border: 2px solid transparent;
  border-radius: 999px;
  display: inline-flex;
  font-size: 15px;
  font-weight: 800;
  gap: 12px;
  justify-content: center;
  padding: 12px 22px;
  transition: background-color 160ms ease, color 160ms ease, transform 160ms ease;
  white-space: nowrap;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
}

.button:focus-visible,
a:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 4px;
}

.button-dark {
  background: var(--ink);
  color: var(--cream);
}

.button-dark:hover,
.button-dark:focus-visible {
  background: var(--burnt);
}

.hero {
  background: var(--ink-dark);
  color: var(--cream-bright);
}

.hero-content {
  align-items: center;
  display: grid;
  gap: clamp(40px, 7vw, 96px);
  grid-template-columns: minmax(0, 1fr) minmax(260px, 420px);
  margin: 0 auto;
  max-width: 1250px;
  padding: clamp(60px, 9vw, 112px) clamp(20px, 6vw, 84px);
}

.hero-copy {
  max-width: 550px;
}

.colour-bar {
  border-radius: 99px;
  display: flex;
  height: 7px;
  margin-bottom: 25px;
  max-width: 140px;
  overflow: hidden;
}

.colour-bar span {
  flex: 1;
}

.colour-bar span:nth-child(1) { background: var(--gold); }
.colour-bar span:nth-child(2) { background: var(--burnt); }
.colour-bar span:nth-child(3) { background: var(--teal); }
.colour-bar span:nth-child(4) { background: var(--magenta); }
.colour-bar span:nth-child(5) { background: var(--avocado); }

.eyebrow {
  color: var(--gold);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.16em;
  margin-bottom: 17px;
  text-transform: uppercase;
}

.eyebrow-dark {
  color: var(--burnt);
}

h1,
h2 {
  font-family: var(--display);
  font-weight: 400;
  letter-spacing: 0.01em;
  line-height: 0.98;
  text-transform: uppercase;
}

h1 {
  color: var(--cream-bright);
  font-size: clamp(46px, 7vw, 88px);
  max-width: 660px;
}

h1 em {
  color: var(--gold);
  font-style: normal;
}

.hero-intro {
  color: color-mix(in oklch, var(--cream-bright) 75%, transparent);
  font-size: clamp(17px, 2vw, 20px);
  font-weight: 500;
  line-height: 1.55;
  margin: 26px 0 32px;
  max-width: 500px;
}

.button-warm {
  background: var(--burnt);
  color: var(--cream-bright);
  padding: 15px 27px;
}

.button-warm:hover,
.button-warm:focus-visible {
  background: var(--gold);
  color: var(--ink);
}

.poster {
  aspect-ratio: 4 / 5;
  background:
    linear-gradient(145deg, transparent 0 54%, color-mix(in oklch, var(--magenta) 85%, var(--burnt)) 54% 76%, transparent 76%),
    linear-gradient(25deg, transparent 0 45%, var(--teal) 45% 76%, transparent 76%),
    var(--gold);
  border: 8px solid var(--cream);
  box-shadow: 18px 20px 0 color-mix(in oklch, var(--burnt) 85%, var(--ink));
  color: var(--ink);
  min-height: 320px;
  overflow: hidden;
  position: relative;
  transform: rotate(2deg);
}

.poster::before,
.poster::after {
  background: color-mix(in oklch, var(--cream) 90%, transparent);
  content: "";
  height: 140%;
  left: 43%;
  opacity: 0.35;
  position: absolute;
  top: -20%;
  transform: rotate(34deg);
  width: 15%;
}

.poster::after {
  left: 69%;
  opacity: 0.22;
  transform: rotate(34deg);
  width: 7%;
}

.poster-sun {
  border: 13px solid var(--burnt);
  border-radius: 50%;
  height: 56%;
  left: 19%;
  position: absolute;
  top: 14%;
  width: 62%;
}

.poster-sun::after {
  background: var(--ink);
  border-radius: 50%;
  content: "";
  inset: 21%;
  position: absolute;
}

.poster-copy {
  align-items: flex-start;
  display: flex;
  flex-direction: column;
  inset: 28px 28px 34px;
  justify-content: space-between;
  position: absolute;
  z-index: 1;
}

.poster-kicker,
.poster-note,
.poster-foot {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.13em;
  line-height: 1.3;
  text-transform: uppercase;
}

.poster-copy strong {
  align-self: center;
  color: var(--cream-bright);
  font-family: var(--display);
  font-size: clamp(34px, 5vw, 62px);
  font-weight: 400;
  line-height: 0.88;
  text-align: center;
  text-shadow: 4px 4px 0 var(--ink);
  transform: rotate(-4deg);
}

.poster-note {
  color: var(--cream-bright);
  font-size: 13px;
  text-shadow: 1px 1px 0 var(--ink);
}

.poster-stamp {
  align-items: center;
  border: 3px solid var(--ink);
  border-radius: 50%;
  bottom: 26px;
  display: flex;
  font-family: var(--display);
  height: 50px;
  justify-content: center;
  position: absolute;
  right: 25px;
  transform: rotate(13deg);
  width: 50px;
  z-index: 2;
}

.poster-foot {
  bottom: 10px;
  left: 50%;
  position: absolute;
  transform: translateX(-50%);
  white-space: nowrap;
  z-index: 2;
}

.film-edge {
  align-items: center;
  display: flex;
  gap: clamp(9px, 1.4vw, 16px);
  height: 20px;
  justify-content: center;
  overflow: hidden;
  padding: 0 20px;
}

.film-edge span {
  border-radius: 50%;
  flex: 0 0 12px;
  height: 12px;
}

.film-edge-dark span {
  background: var(--cream);
}

.games-section {
  display: grid;
  gap: clamp(44px, 9vw, 130px);
  grid-template-columns: minmax(220px, 0.75fr) 1.25fr;
  margin: 0 auto;
  max-width: 1250px;
  padding: clamp(64px, 10vw, 120px) clamp(20px, 6vw, 84px);
}

h2 {
  color: var(--ink);
  font-size: clamp(38px, 5vw, 62px);
}

.game-notes {
  display: grid;
  gap: 30px;
  grid-template-columns: repeat(3, 1fr);
}

.game-notes article {
  border-top: 3px solid var(--ink);
  padding-top: 15px;
}

.note-number {
  color: var(--burnt);
  display: block;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.15em;
  margin-bottom: 30px;
}

h3 {
  font-family: var(--display);
  font-size: 21px;
  font-weight: 400;
  letter-spacing: 0.02em;
  line-height: 1.1;
  margin-bottom: 12px;
  text-transform: uppercase;
}

.game-notes p {
  color: color-mix(in oklch, var(--ink) 72%, transparent);
  font-size: 15px;
  line-height: 1.55;
}

.site-footer {
  border-top: 3px solid var(--ink);
  font-size: 14px;
  font-weight: 600;
  gap: 20px;
  padding: 24px clamp(20px, 5vw, 64px);
}

.site-footer a {
  color: color-mix(in oklch, var(--ink) 70%, transparent);
  transition: color 160ms ease;
}

.site-footer a:hover,
.site-footer a:focus-visible {
  color: var(--burnt);
}

.footer-mark {
  color: var(--burnt);
  margin-right: 5px;
}

@media (max-width: 760px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .site-nav {
    justify-content: space-between;
    width: 100%;
  }

  .hero-content,
  .games-section {
    grid-template-columns: 1fr;
  }

  .hero-content {
    gap: 56px;
  }

  .poster {
    margin: 0 auto;
    max-width: 390px;
    width: 82%;
  }

  .game-notes {
    grid-template-columns: 1fr;
  }

  .game-notes article {
    display: grid;
    gap: 0 20px;
    grid-template-columns: 42px 1fr;
  }

  .game-notes .note-number {
    grid-row: span 2;
    margin-bottom: 0;
  }

  .game-notes h3,
  .game-notes p {
    grid-column: 2;
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }
}

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

  .button,
  .site-nav > a:first-child,
  .site-footer a {
    transition: none;
  }

  .button:hover,
  .button:focus-visible {
    transform: none;
  }
}
