:root {
  --desk-black: #160d08;
  --desk-brown: #3d2112;
  --felt: #193c2a;
  --felt-light: #2f6842;
  --box-cream: #f0d797;
  --paper: #f5e9c8;
  --chalk: #fff9e8;
  --vintage-red: #a83224;
  --vintage-red-dark: #6d1712;
  --brass: #e4b94a;
  --brass-dark: #8a5a12;
  --ink: #24150b;
  --display: Rockwell, "Roboto Slab", "Courier New", serif;
  --athletic: Impact, Haettenschweiler, "Arial Narrow Bold", "Arial Narrow", sans-serif;
  --body: "Avenir Next", Avenir, "Trebuchet MS", system-ui, sans-serif;
  --utility: "Courier New", Courier, monospace;
}

* {
  box-sizing: border-box;
}

html {
  color-scheme: dark;
  scroll-behavior: smooth;
  background: var(--desk-black);
}

body {
  margin: 0;
  min-width: 320px;
  min-height: 100vh;
  color: var(--chalk);
  font-family: var(--body);
  background:
    radial-gradient(circle at 75% 12%, rgba(221, 151, 51, 0.18), transparent 32rem),
    linear-gradient(135deg, #0d0806, var(--desk-black) 42%, #27130b);
}

body::before {
  position: fixed;
  inset: 0;
  z-index: 20;
  pointer-events: none;
  content: "";
  opacity: 0.17;
  mix-blend-mode: soft-light;
  background-image: url("./assets/desk-scene.webp");
  background-size: cover;
  filter: contrast(1.1) saturate(0.7);
}

a {
  color: inherit;
}

.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 100;
  padding: 12px 16px;
  color: var(--ink);
  font-weight: 900;
  background: var(--chalk);
  border-radius: 4px;
  transform: translateY(-160%);
  transition: transform 150ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(290px, 0.8fr) minmax(540px, 1.35fr);
  align-items: center;
  min-height: 100svh;
  padding: clamp(28px, 4vw, 68px) clamp(24px, 5vw, 88px);
  overflow: hidden;
  isolation: isolate;
}

.hero::before {
  position: absolute;
  inset: 0;
  z-index: -4;
  content: "";
  background:
    linear-gradient(90deg, rgba(9, 5, 3, 0.98) 0%, rgba(18, 9, 5, 0.9) 31%, rgba(18, 9, 5, 0.16) 72%),
    url("./assets/home-hero-tabletop-v1.webp") center / cover no-repeat;
  transform: scale(1.02);
}

.hero::after {
  position: absolute;
  inset: 0;
  z-index: -3;
  content: "";
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.22), transparent 30%, transparent 72%, rgba(0, 0, 0, 0.78)),
    radial-gradient(circle at 67% 38%, transparent 0 22%, rgba(0, 0, 0, 0.42) 76%);
}

.hero-copy {
  position: relative;
  z-index: 5;
  max-width: 610px;
  padding: clamp(18px, 2.2vw, 34px) 0;
  text-shadow: 0 3px 22px rgba(0, 0, 0, 0.92);
}

.brand-lockup {
  margin: 0;
  line-height: 0.87;
  text-transform: uppercase;
}

.club-name,
.presents,
.game-name {
  display: block;
}

.club-name {
  color: var(--box-cream);
  font-family: var(--display);
  font-size: clamp(1rem, 1.45vw, 1.28rem);
  font-weight: 900;
  letter-spacing: 0.18em;
  line-height: 1.2;
}

.presents {
  margin: 0.32rem 0 0.42rem;
  color: var(--brass);
  font-family: var(--utility);
  font-size: clamp(0.78rem, 1.1vw, 1rem);
  font-weight: 700;
  letter-spacing: 0.32em;
  line-height: 1;
  text-transform: lowercase;
}

.game-name {
  max-width: 7.4ch;
  color: var(--chalk);
  font-family: var(--athletic);
  font-size: clamp(4.35rem, 8.4vw, 9.6rem);
  font-stretch: condensed;
  letter-spacing: 0.015em;
  -webkit-text-stroke: 1px rgba(240, 215, 151, 0.4);
  filter: drop-shadow(4px 5px 0 var(--vintage-red-dark));
}

.hero-rule {
  margin: clamp(22px, 3vh, 38px) 0 0;
  color: #f8edd1;
  font-family: var(--display);
  font-size: clamp(1.06rem, 1.55vw, 1.36rem);
  font-weight: 700;
  line-height: 1.48;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px 22px;
  margin-top: clamp(22px, 3.4vh, 42px);
}

.launch-button {
  position: relative;
  display: grid;
  grid-template-columns: 1fr auto;
  min-width: min(100%, 320px);
  min-height: 66px;
  padding: 10px 62px 10px 20px;
  color: #fff8dd;
  text-decoration: none;
  text-transform: uppercase;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), transparent 42%),
    var(--vintage-red);
  border: 2px solid #f4d480;
  border-radius: 7px;
  box-shadow:
    0 7px 0 #57120e,
    0 16px 36px rgba(0, 0, 0, 0.48),
    inset 0 0 0 2px rgba(88, 16, 11, 0.32);
  transition: transform 160ms ease, box-shadow 160ms ease, filter 160ms ease;
}

.launch-button::before,
.launch-button::after {
  position: absolute;
  top: 7px;
  bottom: 7px;
  width: 6px;
  content: "";
  border-top: 1px solid rgba(255, 237, 185, 0.65);
  border-bottom: 1px solid rgba(255, 237, 185, 0.65);
}

.launch-button::before {
  left: 8px;
  border-left: 1px solid rgba(255, 237, 185, 0.65);
}

.launch-button::after {
  right: 8px;
  border-right: 1px solid rgba(255, 237, 185, 0.65);
}

.launch-button:hover {
  filter: brightness(1.08) saturate(1.08);
  transform: translateY(-2px);
  box-shadow:
    0 9px 0 #57120e,
    0 20px 42px rgba(0, 0, 0, 0.54),
    inset 0 0 0 2px rgba(88, 16, 11, 0.28);
}

.launch-button:active {
  transform: translateY(5px);
  box-shadow:
    0 2px 0 #57120e,
    0 8px 18px rgba(0, 0, 0, 0.5),
    inset 0 0 0 2px rgba(88, 16, 11, 0.28);
}

.launch-button:focus-visible,
.compare-link:focus-visible,
.season-ticket:focus-visible,
.site-footer a:focus-visible {
  outline: 4px solid var(--chalk);
  outline-offset: 5px;
}

.launch-button__small,
.launch-button__main {
  grid-column: 1;
}

.launch-button__small {
  align-self: end;
  color: #f5d995;
  font-family: var(--utility);
  font-size: 0.69rem;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.launch-button__main {
  align-self: start;
  margin-top: 2px;
  font-family: var(--display);
  font-size: 1.07rem;
  font-weight: 900;
  letter-spacing: 0.035em;
}

.launch-button__arrow {
  position: absolute;
  top: 50%;
  right: 24px;
  font-size: 2rem;
  line-height: 1;
  transform: translateY(-54%);
  transition: transform 160ms ease;
}

.launch-button:hover .launch-button__arrow {
  transform: translate(4px, -54%);
}

.compare-link {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  color: #f5e7bd;
  font-size: 0.86rem;
  font-weight: 900;
  letter-spacing: 0.07em;
  text-decoration-color: var(--brass);
  text-decoration-thickness: 2px;
  text-underline-offset: 5px;
  text-transform: uppercase;
}

.hero-footnote {
  margin: 22px 0 0;
  color: rgba(255, 249, 232, 0.72);
  font-family: var(--utility);
  font-size: 0.72rem;
  letter-spacing: 0.04em;
}

.tabletop-scene {
  position: relative;
  z-index: 2;
  align-self: stretch;
  min-height: min(79vh, 780px);
  perspective: 1450px;
}

.lamp-glow {
  position: absolute;
  top: -12%;
  right: -9%;
  width: 73%;
  aspect-ratio: 1;
  pointer-events: none;
  background: radial-gradient(circle, rgba(255, 197, 88, 0.27), rgba(255, 160, 35, 0.08) 38%, transparent 68%);
  filter: blur(8px);
}

.field-rig {
  position: absolute;
  top: 10%;
  right: -5%;
  width: min(100%, 930px);
  aspect-ratio: 1.42;
  overflow: hidden;
  background: #4d2918;
  border: clamp(8px, 1vw, 15px) solid #5c331b;
  border-radius: 9px 18px 13px 7px;
  box-shadow:
    0 48px 60px rgba(0, 0, 0, 0.72),
    0 10px 0 #251208,
    inset 0 0 0 2px #bb8448;
  transform: rotateX(8deg) rotateZ(-1.5deg) translateZ(-30px);
  transform-origin: 50% 80%;
  animation: field-unfold 1100ms cubic-bezier(0.16, 0.84, 0.34, 1) both;
}

.cardboard-field {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: saturate(0.94) contrast(1.04) brightness(0.9);
}

.field-sheen {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(112deg, rgba(255, 240, 192, 0.16), transparent 24%, transparent 72%, rgba(255, 217, 125, 0.08)),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.025) 0 1px, transparent 1px 11%);
  mix-blend-mode: screen;
}

.game-box {
  position: absolute;
  left: -10%;
  bottom: -2%;
  z-index: 4;
  width: min(47%, 455px);
  height: auto;
  filter: drop-shadow(0 30px 24px rgba(0, 0, 0, 0.72));
  transform: rotate(-9deg) translate3d(0, 0, 70px);
  animation: box-settle 1250ms cubic-bezier(0.18, 0.82, 0.26, 1.04) both;
}

.dice-tray {
  position: absolute;
  right: 8%;
  bottom: 2%;
  z-index: 7;
  display: flex;
  gap: clamp(26px, 3.2vw, 52px);
  align-items: flex-end;
  justify-content: center;
}

/*
 * DICE THAT LAND.
 *
 * They used to spin in mid-air forever, on six Unicode glyph faces — and a
 * glyph is a picture of a whole die, so every cube face was its own little
 * outlined die. The two dice were also held at opposite pitch, one showing
 * its top and one its underside. Nothing about that could sit on a table.
 *
 * Three nested jobs, deliberately kept apart:
 *   .die-seat   the patch of table this die comes to rest on. Never moves,
 *               never rotates, and owns the perspective — one vanishing
 *               point per die, or the off-centre die shears.
 *   .die-hop    the throw arc and the two bounces. Translation only.
 *   .die        the cube. Rotation only.
 * The shadow is a sibling of the cube, not a child, so it stays down on the
 * wood while the die is in the air and shrinks instead of flying with it.
 *
 * Base styles are the LANDED state; the animation only plays the arrival.
 * Reduced motion, or no CSS animation at all, still leaves two dice at rest
 * on the table showing four and three.
 */
.die-seat {
  position: relative;
  width: 58px;
  height: 58px;
  perspective: 640px;
  perspective-origin: 50% 34%;
}

.die-seat--two {
  margin-bottom: 7px;
}

.die-shadow {
  position: absolute;
  bottom: -8px;
  left: 50%;
  width: 76px;
  height: 21px;
  margin-left: -38px;
  border-radius: 50%;
  background: radial-gradient(ellipse at 56% 44%, rgba(0, 0, 0, 0.66), rgba(0, 0, 0, 0.3) 50%, rgba(0, 0, 0, 0) 74%);
  opacity: 0.55;
  will-change: transform, opacity;
}

.die-hop {
  position: absolute;
  inset: 0;
  transform-style: preserve-3d;
}

.die {
  position: absolute;
  inset: 0;
  transform-style: preserve-3d;
}

/* One pitch for both dice: two dice on one table can differ in which way
   they face, never in which way is up. Only the yaw is scattered. */
.die-one {
  transform: rotateX(-17deg) rotateY(24deg);
}

.die-two {
  transform: rotateX(-17deg) rotateY(-31deg);
}

.die-face {
  position: absolute;
  inset: 0;
  border-radius: 7px;
  background:
    radial-gradient(circle at 30% 22%, rgba(255, 255, 255, 0.8), rgba(255, 255, 255, 0) 44%),
    linear-gradient(152deg, #fcf4dd 4%, #f1e4c2 46%, #d8c497 100%);
  box-shadow:
    inset 0 0 0 1px rgba(124, 94, 43, 0.5),
    inset -5px -6px 11px rgba(103, 72, 26, 0.2),
    inset 4px 5px 9px rgba(255, 252, 236, 0.55);
  backface-visibility: hidden;
}

/* The desk lamp is up and to the right: the top face is the brightest and
   the left face is the one in shade. Without this a cube reads as a sticker. */
.die-face::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: var(--shade, none);
}

.die-face i {
  position: absolute;
  width: 17%;
  height: 17%;
  border-radius: 50%;
  background: radial-gradient(circle at 34% 28%, #493628, #180f08 64%);
  box-shadow:
    inset 0 1px 1px rgba(0, 0, 0, 0.55),
    0 1px 0 rgba(255, 250, 232, 0.4);
}

.die-face .tl { top: 17%; left: 17%; }
.die-face .tr { top: 17%; right: 17%; }
.die-face .ml { top: 41.5%; left: 17%; }
.die-face .mr { top: 41.5%; right: 17%; }
.die-face .cc { top: 41.5%; left: 41.5%; }
.die-face .bl { bottom: 17%; left: 17%; }
.die-face .br { bottom: 17%; right: 17%; }

.face-top {
  transform: rotateX(90deg) translateZ(29px);
  --shade: linear-gradient(186deg, rgba(255, 255, 255, 0.3), rgba(255, 255, 255, 0) 72%);
}

.face-bottom {
  transform: rotateX(-90deg) translateZ(29px);
  --shade: linear-gradient(0deg, rgba(46, 27, 8, 0.4), rgba(46, 27, 8, 0.18));
}

.face-front {
  transform: translateZ(29px);
  --shade: linear-gradient(180deg, rgba(46, 27, 8, 0.04), rgba(46, 27, 8, 0.16));
}

.face-back {
  transform: rotateY(180deg) translateZ(29px);
  --shade: linear-gradient(180deg, rgba(46, 27, 8, 0.1), rgba(46, 27, 8, 0.24));
}

.face-right {
  transform: rotateY(90deg) translateZ(29px);
  --shade: linear-gradient(90deg, rgba(46, 27, 8, 0.02), rgba(46, 27, 8, 0.2));
}

.face-left {
  transform: rotateY(-90deg) translateZ(29px);
  --shade: linear-gradient(270deg, rgba(46, 27, 8, 0.06), rgba(46, 27, 8, 0.3));
}

/* The throw: once, on load, and then they stay put. */
.die-seat--one .die-hop { animation: dice-arc-one 1500ms linear 300ms both; }
.die-seat--one .die { animation: dice-tumble-one 1500ms linear 300ms both; }
.die-seat--one .die-shadow { animation: dice-shade-one 1500ms linear 300ms both; }
.die-seat--two .die-hop { animation: dice-arc-two 1560ms linear 440ms both; }
.die-seat--two .die { animation: dice-tumble-two 1560ms linear 440ms both; }
.die-seat--two .die-shadow { animation: dice-shade-two 1560ms linear 440ms both; }

.season-ticket {
  position: absolute;
  right: clamp(24px, 4vw, 72px);
  bottom: 22px;
  z-index: 9;
  display: flex;
  min-height: 44px;
  align-items: center;
  gap: 12px;
  color: rgba(255, 249, 232, 0.82);
  font-family: var(--utility);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-decoration: none;
  text-transform: uppercase;
}

.season-ticket span:last-child {
  color: var(--brass);
  font-size: 1.2rem;
  animation: nudge-down 1.8s ease-in-out infinite;
}

.launch-status {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
}

.season-section {
  position: relative;
  z-index: 2;
  padding: clamp(52px, 8vw, 118px) clamp(16px, 4vw, 64px);
  color: var(--ink);
  background:
    linear-gradient(rgba(20, 10, 5, 0.22), rgba(20, 10, 5, 0.42)),
    url("./assets/desk-scene.webp") center / cover fixed;
}

.playbook-sheet {
  position: relative;
  max-width: 1120px;
  margin: 0 auto;
  padding: clamp(22px, 4vw, 56px);
  background:
    repeating-linear-gradient(0deg, rgba(97, 68, 29, 0.027) 0 1px, transparent 1px 5px),
    var(--paper);
  border: 1px solid #d0ac67;
  border-radius: 5px;
  box-shadow:
    0 42px 90px rgba(0, 0, 0, 0.64),
    0 0 0 8px rgba(53, 25, 11, 0.5),
    inset 0 0 60px rgba(116, 75, 29, 0.12);
  transform: rotate(-0.2deg);
}

.playbook-sheet::before {
  position: absolute;
  top: -17px;
  left: 50%;
  width: min(45%, 380px);
  height: 38px;
  content: "";
  background: rgba(215, 190, 133, 0.78);
  box-shadow: 0 4px 10px rgba(57, 34, 12, 0.2);
  transform: translateX(-50%) rotate(0.8deg);
  clip-path: polygon(2% 10%, 100% 0, 97% 100%, 0 87%);
}

.season-heading {
  display: grid;
  grid-template-columns: minmax(280px, 0.9fr) minmax(320px, 1.1fr);
  gap: 28px 54px;
  align-items: end;
  padding-bottom: clamp(22px, 3vw, 38px);
  border-bottom: 4px double #8e672d;
}

.section-kicker {
  margin: 0 0 8px;
  color: var(--vintage-red-dark);
  font-family: var(--utility);
  font-size: 0.73rem;
  font-weight: 900;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.season-heading h2 {
  margin: 0;
  color: #2a351d;
  font-family: var(--athletic);
  font-size: clamp(2.8rem, 5.5vw, 5rem);
  font-weight: 900;
  letter-spacing: 0.015em;
  line-height: 0.88;
  text-transform: uppercase;
}

.season-heading h2 > span {
  display: block;
  white-space: nowrap;
}

.season-vs {
  color: var(--vintage-red-dark);
}

.season-heading > p {
  max-width: 55ch;
  margin: 0;
  color: #48351e;
  font-family: var(--display);
  font-size: clamp(0.98rem, 1.4vw, 1.16rem);
  font-weight: 700;
  line-height: 1.55;
}

.chart-frame {
  margin-top: clamp(22px, 4vw, 42px);
  overflow: hidden;
  border: 2px solid #6b4a22;
  border-radius: 4px;
  box-shadow: 5px 6px 0 rgba(78, 49, 19, 0.14);
}

.season-chart {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
  background: rgba(255, 251, 235, 0.42);
}

.season-chart th,
.season-chart td {
  padding: 15px 18px;
  text-align: left;
  vertical-align: middle;
  border-right: 1px solid rgba(100, 71, 30, 0.28);
  border-bottom: 1px solid rgba(100, 71, 30, 0.25);
}

.season-chart th:last-child,
.season-chart td:last-child {
  border-right: 0;
}

.season-chart thead th {
  color: #fff7dd;
  font-family: var(--display);
  font-size: 0.9rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  background: #243d2a;
  border-color: #506c4b;
}

.season-chart thead th:first-child {
  width: 56%;
}

.season-chart thead th:not(:first-child) {
  width: 22%;
  text-align: center;
}

.season-chart thead span,
.season-chart thead small {
  display: block;
}

.season-chart thead small {
  margin-top: 4px;
  color: #d7c188;
  font-family: var(--utility);
  font-size: 0.64rem;
  letter-spacing: 0.04em;
}

.season-chart tbody th {
  color: #312412;
  font-family: var(--display);
  font-size: 0.98rem;
  line-height: 1.22;
}

.season-chart tbody th small {
  display: block;
  margin-top: 5px;
  color: #6c5534;
  font-family: var(--body);
  font-size: 0.77rem;
  font-weight: 600;
  line-height: 1.34;
}

.season-chart tbody td {
  text-align: center;
}

.season-chart tbody tr:not(.chart-band):nth-child(odd) {
  background: rgba(116, 82, 35, 0.05);
}

.season-chart .chart-band th {
  padding: 9px 18px;
  color: #fff6dc;
  font-family: var(--utility);
  font-size: 0.7rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  background: #755024;
  border-color: #5c3b18;
}

.season-chart .chart-band--pro th {
  background: var(--vintage-red-dark);
  border-color: #50100d;
}

.included,
.not-included {
  display: inline-grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 50%;
}

.included {
  color: #fff9e7;
  background: #2e5d38;
  border: 2px solid #21482b;
  box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.13);
}

.not-included {
  color: #8b7350;
  background: rgba(105, 78, 42, 0.08);
  border: 1px solid rgba(105, 78, 42, 0.18);
}

.included b,
.not-included b {
  font-size: 1.1rem;
  line-height: 1;
}

.fair-play-note {
  display: flex;
  max-width: 720px;
  margin: 34px auto 0;
  align-items: center;
  gap: 14px;
  justify-content: center;
  color: #493316;
  text-align: center;
}

.fair-play-note__seal {
  display: grid;
  flex: 0 0 auto;
  width: 44px;
  height: 44px;
  place-items: center;
  color: #fff5d0;
  background: var(--vintage-red-dark);
  border: 3px double #dbb358;
  border-radius: 50%;
}

.fair-play-note p {
  margin: 0;
  font-family: var(--display);
  font-size: 0.9rem;
  line-height: 1.4;
}

.fair-play {
  max-width: 720px;
  margin: 42px auto 0;
  padding: 28px 26px 24px;
  color: #2a1c08;
  background: rgba(255, 249, 232, 0.72);
  border: 3px double #8e672d;
  border-radius: 4px;
}

.fair-play .section-kicker {
  margin-bottom: 6px;
}

.fair-play h2 {
  margin: 0 0 12px;
  color: #2a351d;
  font-family: var(--athletic);
  font-size: clamp(1.4rem, 3vw, 2rem);
  letter-spacing: 0.02em;
  line-height: 1.05;
  text-transform: uppercase;
}

.fair-play__lead,
.fair-play__foot {
  margin: 0;
  font-family: var(--display);
  font-size: 0.98rem;
  line-height: 1.45;
}

.fair-play__steps {
  margin: 16px 0;
  padding-left: 1.2em;
  font-family: var(--body);
  font-size: 0.95rem;
  line-height: 1.5;
}

.fair-play__steps li + li {
  margin-top: 8px;
}

.fair-play__foot {
  color: #5c4a26;
  font-size: 0.88rem;
}

.launch-button--final {
  width: min(100%, 430px);
  margin: 34px auto 0;
  text-shadow: 0 2px 5px rgba(0, 0, 0, 0.42);
}

.site-footer {
  position: relative;
  z-index: 3;
  display: flex;
  min-height: 88px;
  padding: 22px clamp(18px, 4vw, 60px);
  align-items: center;
  justify-content: space-between;
  gap: 18px 32px;
  color: rgba(255, 249, 232, 0.65);
  font-family: var(--utility);
  font-size: 0.7rem;
  letter-spacing: 0.05em;
  background: #0d0705;
  border-top: 1px solid #55311a;
}

.site-footer p {
  margin: 0;
}

.site-footer nav {
  display: flex;
  gap: 18px;
}

.site-footer a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  text-underline-offset: 4px;
}

.noscript-note {
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 50;
  max-width: 380px;
  margin: 0;
  padding: 16px;
  color: var(--ink);
  background: var(--paper);
  border: 2px solid var(--brass-dark);
}

.visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

body.is-launching .hero-copy {
  animation: copy-kickoff 850ms ease-in both;
}

body.is-launching .field-rig {
  animation: field-kickoff 950ms cubic-bezier(0.2, 0.8, 0.2, 1) both;
}

body.is-launching .game-box {
  animation: box-kickoff 900ms cubic-bezier(0.3, 0.6, 0.2, 1) both;
}

body.is-launching .die-one {
  animation: kickoff-die-one 900ms cubic-bezier(0.2, 0.7, 0.3, 1) both;
}

body.is-launching .die-two {
  animation: kickoff-die-two 900ms cubic-bezier(0.2, 0.7, 0.3, 1) 40ms both;
}

/* The dice leave the table on kickoff, so their shadows go with them instead
   of staying printed on the wood. */
body.is-launching .die-shadow {
  animation: kickoff-die-shadow 460ms ease-out both;
}

#dfc-sound-bar {
  position: fixed;
  top: 8px;
  left: auto;
  right: 8px;
  z-index: 2147483647;
  display: flex;
  align-items: center;
  width: 34px;
  height: 34px;
  padding: 2px;
  background: rgba(26, 18, 8, 0.9);
  border: 1px solid #c9a227;
  border-radius: 50%;
  box-sizing: border-box;
  pointer-events: auto;
  overflow: visible;
}

#dfc-music-play,
#dfc-music-sink {
  flex: 0 0 auto;
  width: 28px;
  height: 28px;
  padding: 0;
  color: #1a1208;
  font: 800 16px/1 Georgia, serif;
  letter-spacing: 0;
  text-transform: uppercase;
  background: #e4b94a;
  border: 0;
  border-radius: 50%;
  cursor: pointer;
}

#dfc-music-sink {
  display: none;
}

#dfc-sound-bar-label {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

#dfc-picker-theme {
  flex: 1;
  height: 36px;
  min-width: 120px;
  opacity: 1;
  pointer-events: none;
}

.game-frame {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  z-index: 40;
  background: #160d08;
  opacity: 0;
  pointer-events: none;
}

body.is-in-game .game-frame {
  top: 0;
  height: 100%;
  opacity: 1;
  pointer-events: auto;
}

/* The launcher owns the opener; the game owns its mixer. Never stack both
   control surfaces over the field after kickoff. */
body.is-in-game #dfc-sound-bar {
  display: none;
}

@keyframes field-unfold {
  from { opacity: 0; transform: rotateX(24deg) rotateZ(-4deg) scale(0.76) translate3d(11%, 4%, -100px); }
  to { opacity: 1; transform: rotateX(8deg) rotateZ(-1.5deg) scale(1) translateZ(-30px); }
}

@keyframes box-settle {
  from { opacity: 0; transform: rotate(-24deg) translate3d(-24%, 34%, 140px) scale(1.18); }
  72% { opacity: 1; transform: rotate(-7deg) translate3d(2%, -2%, 70px) scale(0.98); }
  to { opacity: 1; transform: rotate(-9deg) translate3d(0, 0, 70px) scale(1); }
}

/*
 * The arc. Falls accelerating, hits the table at 52%, then two decaying
 * bounces and a short skid. Rise and fall carry their own easing — one curve
 * across a whole throw cannot do gravity.
 */
@keyframes dice-arc-one {
  0% { transform: translate3d(66px, -226px, 0); animation-timing-function: cubic-bezier(0.44, 0, 0.86, 0.62); }
  52% { transform: translate3d(6px, 0, 0); animation-timing-function: cubic-bezier(0.18, 0.86, 0.42, 1); }
  68% { transform: translate3d(2px, -34px, 0); animation-timing-function: cubic-bezier(0.5, 0, 0.86, 0.6); }
  82% { transform: translate3d(0, 0, 0); animation-timing-function: cubic-bezier(0.18, 0.86, 0.42, 1); }
  91% { transform: translate3d(0, -9px, 0); animation-timing-function: cubic-bezier(0.5, 0, 0.9, 0.62); }
  100% { transform: translate3d(0, 0, 0); }
}

@keyframes dice-arc-two {
  0% { transform: translate3d(96px, -244px, 0); animation-timing-function: cubic-bezier(0.44, 0, 0.86, 0.62); }
  52% { transform: translate3d(-7px, 0, 0); animation-timing-function: cubic-bezier(0.18, 0.86, 0.42, 1); }
  68% { transform: translate3d(-3px, -29px, 0); animation-timing-function: cubic-bezier(0.5, 0, 0.86, 0.6); }
  82% { transform: translate3d(0, 0, 0); animation-timing-function: cubic-bezier(0.18, 0.86, 0.42, 1); }
  91% { transform: translate3d(0, -7px, 0); animation-timing-function: cubic-bezier(0.5, 0, 0.9, 0.62); }
  100% { transform: translate3d(0, 0, 0); }
}

/*
 * The tumble. Every keyframe from the first bounce onward is the rest pose
 * plus a whole quarter turn, so the die is square to a face when it touches
 * down, tips one last quarter onto its number, and stops dead on it. The
 * final frame is exactly the base transform, so nothing drifts after the fill.
 */
@keyframes dice-tumble-one {
  0% { transform: rotateX(-917deg) rotateY(-696deg); animation-timing-function: cubic-bezier(0.2, 0.52, 0.4, 0.94); }
  52% { transform: rotateX(-107deg) rotateY(-66deg); animation-timing-function: cubic-bezier(0.26, 0.7, 0.44, 1); }
  68% { transform: rotateX(-62deg) rotateY(-21deg); }
  82% { transform: rotateX(-17deg) rotateY(24deg); }
  100% { transform: rotateX(-17deg) rotateY(24deg); }
}

@keyframes dice-tumble-two {
  0% { transform: rotateX(-1097deg) rotateY(779deg); animation-timing-function: cubic-bezier(0.2, 0.52, 0.4, 0.94); }
  52% { transform: rotateX(-107deg) rotateY(59deg); animation-timing-function: cubic-bezier(0.26, 0.7, 0.44, 1); }
  68% { transform: rotateX(-62deg) rotateY(14deg); }
  82% { transform: rotateX(-17deg) rotateY(-31deg); }
  100% { transform: rotateX(-17deg) rotateY(-31deg); }
}

/* The shadow stays on the wood: tight and faint while the die is high, wide
   and dark at each contact. */
@keyframes dice-shade-one {
  0% { opacity: 0; transform: translateX(26px) scale(0.3); }
  38% { opacity: 0.2; transform: translateX(12px) scale(0.56); }
  52% { opacity: 0.62; transform: translateX(3px) scale(1.04); }
  68% { opacity: 0.3; transform: translateX(1px) scale(0.76); }
  82% { opacity: 0.58; transform: scale(1.01); }
  91% { opacity: 0.44; transform: scale(0.92); }
  100% { opacity: 0.55; transform: scale(1); }
}

@keyframes dice-shade-two {
  0% { opacity: 0; transform: translateX(34px) scale(0.28); }
  38% { opacity: 0.2; transform: translateX(14px) scale(0.54); }
  52% { opacity: 0.6; transform: translateX(-3px) scale(1.03); }
  68% { opacity: 0.32; transform: translateX(-1px) scale(0.79); }
  82% { opacity: 0.57; transform: scale(1.01); }
  91% { opacity: 0.45; transform: scale(0.93); }
  100% { opacity: 0.55; transform: scale(1); }
}

@keyframes nudge-down {
  0%, 100% { transform: translateY(-2px); }
  50% { transform: translateY(4px); }
}

@keyframes copy-kickoff {
  to { opacity: 0.16; transform: translateX(-24px) scale(0.98); }
}

@keyframes field-kickoff {
  to { opacity: 1; transform: rotateX(0) rotateZ(0) scale(1.13) translate3d(-7%, 3%, 80px); filter: brightness(1.16); }
}

@keyframes box-kickoff {
  to { opacity: 0; transform: rotate(-20deg) translate3d(-80%, 48%, 180px) scale(1.18); }
}

@keyframes kickoff-die-one {
  to { transform: rotateX(940deg) rotateY(820deg) rotateZ(380deg) translate3d(80px, -190px, 160px) scale(1.25); }
}

@keyframes kickoff-die-two {
  to { transform: rotateX(-880deg) rotateY(960deg) rotateZ(-440deg) translate3d(-110px, -170px, 190px) scale(1.25); }
}

@keyframes kickoff-die-shadow {
  to { opacity: 0; transform: scale(0.66); }
}

@media (max-width: 1040px) {
  .hero {
    grid-template-columns: minmax(280px, 0.86fr) minmax(430px, 1.14fr);
    padding-inline: clamp(22px, 4vw, 46px);
  }

  .game-name {
    font-size: clamp(4rem, 8.8vw, 6.8rem);
  }

  .game-box {
    left: -5%;
    width: 50%;
  }
}

@media (max-width: 720px) {
  .hero {
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: auto minmax(330px, 1fr);
    align-items: start;
    min-height: 100svh;
    padding: max(24px, env(safe-area-inset-top)) 18px max(36px, env(safe-area-inset-bottom));
  }

  .hero::before {
    background:
      linear-gradient(180deg, rgba(9, 5, 3, 0.98) 0%, rgba(18, 9, 5, 0.72) 39%, rgba(18, 9, 5, 0.05) 72%),
      url("./assets/home-hero-tabletop-v1.webp") 64% center / cover no-repeat;
  }

  .hero-copy {
    grid-row: 1;
    width: 100%;
    max-width: 560px;
    padding: 0;
  }

  .game-name {
    max-width: none;
    font-size: clamp(3.65rem, 18.6vw, 6.2rem);
    line-height: 0.88;
  }

  .club-name {
    font-size: clamp(0.8rem, 3.6vw, 1.05rem);
  }

  .presents {
    font-size: 0.72rem;
  }

  .hero-rule {
    margin-top: 14px;
    font-size: clamp(0.9rem, 4vw, 1.08rem);
    line-height: 1.38;
  }

  .hero-actions {
    gap: 10px;
    margin-top: 18px;
  }

  .launch-button {
    width: 100%;
  }

  .compare-link {
    font-size: 0.74rem;
  }

  .hero-footnote {
    display: none;
  }

  .tabletop-scene {
    grid-row: 2;
    min-height: 340px;
    margin: 6px -18px -20px;
  }

  .field-rig {
    top: 7%;
    right: -23%;
    width: 112%;
  }

  .game-box {
    left: -2%;
    bottom: 3%;
    width: min(54%, 280px);
  }

  .dice-tray {
    right: 4%;
    bottom: 2%;
    transform: scale(0.82);
    transform-origin: right bottom;
  }

  .season-ticket {
    display: none;
  }

  .season-section {
    padding: 50px 12px;
    background-attachment: scroll;
  }

  .playbook-sheet {
    padding: 28px 14px 26px;
    transform: none;
  }

  .playbook-sheet::before {
    top: -12px;
    height: 28px;
  }

  .season-heading {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .season-heading h2 {
    font-size: clamp(2.85rem, 14.5vw, 4.5rem);
  }

  .season-heading h2 > span,
  .season-heading h2 .season-vs,
  .season-heading h2 .season-pro {
    display: block;
  }

  .season-heading h2 .season-vs {
    margin: 4px 0 3px;
    font-family: var(--display);
    font-size: 0.28em;
    letter-spacing: 0.15em;
    line-height: 1;
  }

  .season-heading > p {
    font-size: 0.94rem;
  }

  .chart-frame {
    overflow: visible;
    border: 0;
    box-shadow: none;
  }

  .season-chart,
  .season-chart tbody {
    display: block;
  }

  .season-chart thead {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
  }

  .season-chart tr:not(.chart-band) {
    display: grid;
    grid-template-columns: 1fr 1fr;
    margin-bottom: 10px;
    overflow: hidden;
    background: rgba(255, 251, 235, 0.6) !important;
    border: 1px solid rgba(92, 59, 24, 0.42);
    border-radius: 4px;
    box-shadow: 3px 3px 0 rgba(83, 50, 19, 0.08);
  }

  .season-chart tr:not(.chart-band) th {
    grid-column: 1 / -1;
    padding: 13px 13px 10px;
    border-right: 0;
    border-bottom: 1px dashed rgba(100, 71, 30, 0.32);
  }

  .season-chart tr:not(.chart-band) td {
    position: relative;
    display: flex;
    min-height: 64px;
    padding: 27px 10px 8px;
    align-items: center;
    justify-content: center;
    border-bottom: 0;
  }

  .season-chart tr:not(.chart-band) td::before {
    position: absolute;
    top: 7px;
    left: 0;
    width: 100%;
    content: attr(data-label);
    color: #71522b;
    font-family: var(--utility);
    font-size: 0.61rem;
    font-weight: 900;
    letter-spacing: 0.04em;
    text-align: center;
    text-transform: uppercase;
  }

  .season-chart .chart-band {
    display: block;
    margin: 20px 0 10px;
  }

  .season-chart .chart-band th {
    display: block;
    width: 100%;
    padding: 9px 12px;
    border: 0;
  }

  .fair-play-note {
    align-items: flex-start;
    text-align: left;
  }

  .site-footer {
    flex-direction: column;
    padding-block: 24px max(24px, env(safe-area-inset-bottom));
    text-align: center;
  }
}

@media (max-width: 720px) and (max-height: 520px) and (orientation: landscape) {
  .hero {
    grid-template-columns: minmax(300px, 0.88fr) minmax(410px, 1.12fr);
    grid-template-rows: 1fr;
    min-height: 100svh;
    padding: 16px 24px;
  }

  .hero-copy {
    grid-column: 1;
    grid-row: 1;
    align-self: center;
    max-width: 400px;
  }

  .club-name {
    font-size: 0.72rem;
  }

  .presents {
    margin-block: 0.2rem 0.28rem;
    font-size: 0.58rem;
  }

  .game-name {
    max-width: 7.4ch;
    font-size: clamp(3.5rem, 10vw, 5.2rem);
  }

  .hero-rule {
    margin-top: 9px;
    font-size: 0.82rem;
  }

  .hero-actions {
    margin-top: 12px;
  }

  .launch-button {
    min-height: 58px;
    padding-block: 7px;
  }

  .compare-link {
    display: none;
  }

  .tabletop-scene {
    grid-column: 2;
    grid-row: 1;
    min-height: 100%;
    margin: 0 -24px 0 0;
  }

  .field-rig {
    top: 2%;
    right: -12%;
    width: 110%;
  }

  .game-box {
    left: -4%;
    bottom: -4%;
    width: 43%;
  }

  .dice-tray {
    right: 1%;
    bottom: -5%;
    transform: scale(0.68);
  }
}

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

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }

  .field-rig {
    opacity: 1;
    transform: rotateX(8deg) rotateZ(-1.5deg) translateZ(-30px);
  }

  .game-box {
    opacity: 1;
    transform: rotate(-9deg) translate3d(0, 0, 70px);
  }
}
