:root {
  --ink: #08265b;
  --deep: #031538;
  --blue: #0c63b7;
  --sky: #23a7ff;
  --paper: #fff8e7;
  --paper-dark: #efe2c8;
  --yellow: #ffe44c;
  --orange: #ff8845;
  --red: #ee1d52;
  --shadow: 0 18px 45px rgba(3, 21, 56, 0.2);
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at 10% 0%, rgba(35, 167, 255, 0.22), transparent 28rem),
    radial-gradient(circle at 90% 8%, rgba(255, 228, 76, 0.2), transparent 24rem),
    linear-gradient(180deg, #d9f0ff 0%, #fff3dc 27%, #f6ead3 100%);
  color: var(--ink);
  font-family: "Trebuchet MS", "Arial Rounded MT Bold", Arial, sans-serif;
  font-size: 16px;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.35;
  background-image:
    linear-gradient(rgba(8, 38, 91, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(8, 38, 91, 0.045) 1px, transparent 1px);
  background-size: 28px 28px;
  z-index: -1;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 7px clamp(14px, 3.4vw, 34px);
  background: rgba(255, 248, 231, 0.86);
  backdrop-filter: blur(14px);
  border-bottom: 3px solid rgba(8, 38, 91, 0.1);
}

.brand img {
  width: clamp(112px, 13vw, 176px);
}

nav {
  display: flex;
  align-items: center;
  gap: clamp(12px, 2.4vw, 34px);
  font-weight: 900;
  font-size: clamp(0.86rem, 1.35vw, 1rem);
}

nav a {
  text-decoration: none;
  position: relative;
}

nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -7px;
  height: 4px;
  background: var(--yellow);
  border-radius: 999px;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 160ms ease;
}

nav a:hover::after,
nav a:focus-visible::after {
  transform: scaleX(1);
}

.hero {
  padding: 14px clamp(10px, 2vw, 24px) 0;
}

.hero-frame {
  position: relative;
  overflow: hidden;
  aspect-ratio: 1916 / 821;
  min-height: 0;
  border: 4px solid #fff6d7;
  border-radius: 0 0 18px 18px;
  box-shadow: var(--shadow);
  background: var(--deep);
}

.hero-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: opacity 120ms steps(2), transform 700ms ease;
}

.hero-real {
  opacity: 0;
  object-fit: cover;
  background: transparent;
}

.hero-frame[data-mode="kids"] .hero-wigs {
  opacity: 0;
}

.hero-frame[data-mode="kids"] .hero-real {
  opacity: 1;
}

.hero-frame.is-flickering .flicker {
  animation: spark 360ms steps(2);
}

.flicker {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0;
  background:
    linear-gradient(90deg, transparent 0 34%, rgba(255, 255, 255, 0.9) 35%, transparent 37% 100%),
    radial-gradient(circle at 55% 42%, rgba(34, 184, 255, 0.75), transparent 17rem);
  mix-blend-mode: screen;
}

@keyframes spark {
  0%, 100% { opacity: 0; transform: translateX(-4px); }
  28% { opacity: 0.8; transform: translateX(3px); }
  62% { opacity: 0.35; transform: translateX(-2px); }
}

.hero-copy {
  position: absolute;
  left: clamp(18px, 5vw, 90px);
  right: clamp(18px, 5vw, 90px);
  bottom: clamp(28px, 8vw, 96px);
  display: grid;
  justify-items: center;
  gap: 14px;
  text-align: center;
  color: #fff;
  text-shadow: 0 4px 0 rgba(3, 21, 56, 0.8), 0 10px 28px rgba(3, 21, 56, 0.7);
}

h1,
h2,
h3,
p {
  margin: 0;
}

h1 {
  font-size: clamp(3.4rem, 9vw, 8.6rem);
  line-height: 0.86;
  transform: rotate(-2deg);
}

.hero-copy p {
  max-width: 820px;
  font-size: clamp(1.25rem, 3vw, 2.35rem);
  font-weight: 900;
}

.mode-switch {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  padding: 8px;
  border: 3px solid rgba(255, 255, 255, 0.78);
  border-radius: 999px;
  background: rgba(3, 21, 56, 0.74);
  box-shadow: 0 12px 32px rgba(3, 21, 56, 0.38);
}

.mode-button {
  min-height: 48px;
  padding: 0 24px;
  border: 0;
  border-radius: 999px;
  color: #fff;
  background: transparent;
  font: inherit;
  font-weight: 900;
  text-transform: uppercase;
  cursor: pointer;
}

.mode-button.is-active {
  color: var(--deep);
  background: var(--yellow);
}

.scribble {
  font-family: "Comic Sans MS", "Trebuchet MS", cursive;
  font-weight: 900;
  transform: rotate(-3deg);
}

.note-top {
  position: absolute;
  top: 34px;
  right: clamp(18px, 4vw, 70px);
  color: var(--deep);
  font-size: clamp(1rem, 1.8vw, 1.45rem);
  max-width: 230px;
  text-align: center;
}

.sticky {
  position: absolute;
  right: clamp(18px, 4vw, 78px);
  bottom: clamp(105px, 13vw, 160px);
  width: 190px;
  padding: 20px 18px;
  background: #fff173;
  color: var(--deep);
  font-family: "Comic Sans MS", "Trebuchet MS", cursive;
  font-size: 1.1rem;
  font-weight: 900;
  line-height: 1.1;
  text-align: center;
  transform: rotate(-8deg);
  box-shadow: 0 10px 22px rgba(3, 21, 56, 0.22);
}

.board-teaser {
  display: grid;
  grid-template-columns: minmax(130px, 230px) minmax(0, 1fr) auto;
  gap: clamp(16px, 3vw, 34px);
  align-items: center;
  max-width: 1320px;
  margin: clamp(14px, 2.4vw, 28px) auto 0;
  padding: clamp(14px, 2vw, 22px) clamp(14px, 3vw, 32px);
  border: 3px solid rgba(255, 255, 255, 0.82);
  border-radius: 10px;
  background:
    linear-gradient(90deg, rgba(255, 248, 231, 0.94), rgba(255, 248, 231, 0.76)),
    url("/assets/desert-road-bg.png") center / cover no-repeat;
  box-shadow: 0 16px 36px rgba(3, 21, 56, 0.16);
}

.board-teaser-box {
  width: min(100%, 230px);
  justify-self: center;
  filter: drop-shadow(0 12px 18px rgba(3, 21, 56, 0.22));
}

.board-teaser-copy {
  display: grid;
  gap: 10px;
}

.board-teaser .game-kicker {
  justify-self: start;
  max-width: none;
  font-size: 0.86rem;
  text-align: left;
  transform: none;
}

.board-teaser h2 {
  color: var(--deep);
  font-size: clamp(2rem, 4.4vw, 4rem);
  line-height: 0.95;
  text-shadow: none;
}

.board-teaser-copy > p:not(.game-kicker) {
  max-width: 620px;
  font-size: clamp(1rem, 1.7vw, 1.25rem);
  line-height: 1.25;
  font-weight: 900;
}

.board-teaser-actions {
  display: grid;
  gap: 10px;
  justify-items: end;
}

.board-teaser-actions span {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 7px 14px;
  border: 2px solid rgba(8, 38, 91, 0.16);
  border-radius: 999px;
  background: var(--yellow);
  color: var(--deep);
  font-weight: 900;
  text-transform: uppercase;
}

.paper-section {
  position: relative;
  max-width: 1480px;
  margin: clamp(16px, 3vw, 40px) auto;
  padding: clamp(20px, 3.2vw, 42px);
  background:
    linear-gradient(90deg, rgba(8, 38, 91, 0.035) 1px, transparent 1px),
    linear-gradient(180deg, #fffdf5, var(--paper));
  background-size: 100% 100%, 100% 100%;
  border: 1px solid rgba(8, 38, 91, 0.14);
  border-radius: 10px;
  box-shadow: var(--shadow);
}

.paper-section::before,
.paper-section::after {
  content: "";
  position: absolute;
  width: 170px;
  height: 42px;
  top: -18px;
  background: rgba(201, 148, 73, 0.36);
  transform: rotate(-3deg);
}

.paper-section::before {
  left: 26px;
}

.paper-section::after {
  right: 30px;
  transform: rotate(5deg);
}

.section-heading {
  display: flex;
  align-items: end;
  gap: 22px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}

h2 {
  display: inline-block;
  color: var(--deep);
  font-size: clamp(2.2rem, 5vw, 4.5rem);
  line-height: 0.95;
  text-transform: uppercase;
  transform: rotate(-2deg);
  text-decoration: underline;
  text-decoration-color: var(--yellow);
  text-decoration-thickness: 8px;
  text-underline-offset: 6px;
}

.section-heading p {
  font-size: clamp(1rem, 2vw, 1.35rem);
}

.family-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 14px;
}

.reveal-button {
  justify-self: end;
  min-height: 48px;
  padding: 0 22px;
  border: 2px solid var(--deep);
  border-radius: 999px;
  background: var(--yellow);
  color: var(--deep);
  font: inherit;
  font-weight: 900;
  text-transform: uppercase;
  cursor: pointer;
  box-shadow: 0 8px 16px rgba(3, 21, 56, 0.14);
}

.character-card,
.story-card {
  overflow: hidden;
  border: 2px solid rgba(8, 38, 91, 0.12);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 8px 22px rgba(3, 21, 56, 0.08);
}

.character-card {
  padding: 10px 10px 16px;
  text-align: center;
}

.character-image-swap {
  position: relative;
  overflow: hidden;
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: 7px;
  background: linear-gradient(180deg, #d9f0ff, #fff4d4);
}

.character-card img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  object-position: top center;
  border-radius: 7px;
  background: linear-gradient(180deg, #d9f0ff, #fff4d4);
}

.character-image-swap img {
  position: absolute;
  inset: 0;
  height: 100%;
  transition: opacity 180ms steps(2), transform 500ms ease;
}

.character-alien {
  opacity: 0;
  transform: scale(1.03);
}

.family-grid.is-revealed .character-human {
  opacity: 0;
}

.family-grid.is-revealed .character-alien {
  opacity: 1;
  transform: scale(1);
}

.character-card h3,
.story-card h3 {
  margin-top: 10px;
  color: var(--deep);
  font-size: clamp(1.2rem, 2vw, 1.55rem);
  line-height: 1;
}

.character-card p,
.story-card p {
  margin: 6px auto 0;
  max-width: 18rem;
  font-size: 1rem;
  line-height: 1.25;
}

.footnote {
  margin-top: 16px;
  font-size: 1rem;
  font-weight: 900;
}

.story-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.story-card {
  position: relative;
  padding: 12px 12px 18px;
}

.story-card img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: 7px;
}

.number {
  position: absolute;
  top: 16px;
  left: 16px;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  color: #fff;
  background: var(--red);
  font-size: 1.8rem;
  font-weight: 900;
  border: 3px solid #fff;
  box-shadow: 0 8px 16px rgba(3, 21, 56, 0.18);
}

.sticky-plan {
  top: 16px;
  right: 28px;
  bottom: auto;
  width: 150px;
  font-size: 1rem;
}

.rv-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(230px, 0.44fr) minmax(230px, 0.5fr);
  gap: 24px;
  align-items: center;
}

.rv-image {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border: 8px solid #fff;
  border-radius: 8px;
  box-shadow: 0 12px 30px rgba(3, 21, 56, 0.18);
}

.rv-notes {
  display: grid;
  gap: 16px;
  padding: 14px 0;
}

.rv-notes div {
  padding: 0 0 15px;
  border-bottom: 1px dashed rgba(8, 38, 91, 0.35);
}

.rv-notes span {
  display: block;
  color: var(--deep);
  font-size: 1.25rem;
  font-weight: 900;
}

.rv-notes p {
  margin-top: 2px;
  font-size: 1.1rem;
}

.postcard {
  width: 100%;
  transform: rotate(4deg);
  filter: drop-shadow(0 16px 22px rgba(3, 21, 56, 0.22));
}

.site-footer {
  max-width: 1480px;
  margin: 30px auto 0;
  padding: 28px clamp(20px, 4vw, 48px) 40px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
  color: var(--deep);
}

.site-footer img {
  width: clamp(150px, 18vw, 245px);
}

.footer-copy {
  display: grid;
  gap: 8px;
  justify-items: center;
}

.footer-copy p {
  text-align: center;
  font-size: clamp(1rem, 2vw, 1.2rem);
  font-weight: 900;
}

.footer-copy p:first-child {
  font-size: clamp(1.15rem, 2.2vw, 1.45rem);
  text-transform: uppercase;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 18px;
  font-size: 0.98rem;
  font-weight: 900;
}

.footer-links a {
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}

.footer-cta {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 56px;
  padding: 0 24px;
  border: 4px solid var(--deep);
  border-radius: 999px;
  background: var(--yellow);
  color: var(--deep);
  text-decoration: none;
  text-transform: uppercase;
  font-weight: 900;
  box-shadow: 0 8px 0 var(--deep);
}

.legal-page {
  min-height: 100vh;
  padding: clamp(22px, 5vw, 70px);
}

.legal-logo img {
  width: clamp(150px, 20vw, 240px);
  margin: 0 auto 26px;
}

.legal-card {
  max-width: 860px;
}

.legal-card h1 {
  margin-bottom: 22px;
  color: var(--deep);
  font-size: clamp(3rem, 8vw, 5.8rem);
  line-height: 0.88;
  text-shadow: none;
}

.legal-card p {
  margin-top: 16px;
  font-size: 1.1rem;
  line-height: 1.55;
}

.legal-back {
  display: inline-flex;
  margin-top: 28px;
  color: var(--deep);
  font-weight: 900;
}

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

.board-game-page {
  padding: 0;
  background:
    linear-gradient(180deg, rgba(255, 248, 231, 0.1), rgba(255, 248, 231, 0.92) 48%),
    url("/assets/desert-sunset-bg.png") center top / 100% auto no-repeat;
}

.game-product-hero {
  display: grid;
  grid-template-columns: minmax(280px, 0.9fr) minmax(360px, 1fr);
  gap: clamp(20px, 4vw, 60px);
  align-items: center;
  min-height: min(780px, calc(100vh - 72px));
  padding: clamp(24px, 4vw, 58px) clamp(16px, 4vw, 64px);
  background:
    linear-gradient(90deg, rgba(255, 248, 231, 0.08), rgba(255, 248, 231, 0.72) 58%, rgba(255, 248, 231, 0.12)),
    url("/assets/desert-road-bg.png") center / cover no-repeat;
  border-bottom: 4px solid rgba(8, 38, 91, 0.12);
}

.game-box-shot {
  width: min(100%, 620px);
  justify-self: end;
  filter: drop-shadow(0 22px 34px rgba(3, 21, 56, 0.28));
}

.game-product-copy {
  max-width: 680px;
  display: grid;
  gap: 14px;
  align-content: center;
}

.game-title-logo {
  width: min(100%, 530px);
  filter: drop-shadow(0 12px 18px rgba(3, 21, 56, 0.22));
}

.game-kicker {
  justify-self: end;
  max-width: 220px;
  font-size: clamp(1rem, 1.7vw, 1.35rem);
  line-height: 1.05;
  font-weight: 900;
  text-align: center;
  text-transform: uppercase;
  transform: rotate(-8deg);
}

.game-product-copy > p:not(.game-kicker):not(.scribble) {
  max-width: 580px;
  font-size: clamp(1rem, 1.6vw, 1.18rem);
  line-height: 1.42;
  font-weight: 800;
}

.game-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 4px;
}

.game-facts span {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 8px 13px;
  border: 2px solid rgba(8, 38, 91, 0.18);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  color: var(--deep);
  font-weight: 900;
  text-transform: uppercase;
  box-shadow: 0 6px 14px rgba(3, 21, 56, 0.08);
}

.game-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 6px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 22px;
  border: 2px solid var(--deep);
  border-radius: 999px;
  font-weight: 900;
  text-decoration: none;
  text-transform: uppercase;
  box-shadow: 0 8px 16px rgba(3, 21, 56, 0.16);
}

.button.primary {
  background: var(--yellow);
  color: var(--deep);
}

.button.secondary {
  background: var(--deep);
  color: #fff;
}

.game-story-band {
  display: grid;
  grid-template-columns: minmax(260px, 0.58fr) minmax(0, 1fr);
  align-items: end;
  gap: clamp(16px, 3vw, 44px);
  padding: clamp(24px, 4vw, 44px) clamp(16px, 4vw, 58px) 0;
  background: rgba(255, 248, 231, 0.9);
  border-bottom: 4px solid rgba(8, 38, 91, 0.1);
}

.story-copy {
  align-self: center;
  padding-bottom: clamp(18px, 3vw, 36px);
}

.story-copy h2 {
  max-width: 470px;
  color: var(--deep);
  font-size: clamp(2.1rem, 4.2vw, 4rem);
  line-height: 0.9;
  text-shadow: none;
}

.story-copy p {
  max-width: 470px;
  margin-top: 12px;
  font-size: 1.05rem;
  line-height: 1.38;
  font-weight: 800;
}

.game-story-band img {
  width: 100%;
  align-self: end;
  filter: drop-shadow(0 10px 18px rgba(3, 21, 56, 0.18));
}

.game-card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.game-card {
  position: relative;
  min-height: 280px;
  overflow: hidden;
  padding: 18px;
  border: 2px solid rgba(8, 38, 91, 0.12);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 8px 22px rgba(3, 21, 56, 0.08);
}

.game-card span {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin-bottom: 16px;
  border-radius: 50%;
  color: #fff;
  background: var(--red);
  border: 3px solid #fff;
  font-size: 1.8rem;
  font-weight: 900;
  box-shadow: 0 8px 16px rgba(3, 21, 56, 0.18);
}

.game-card h3 {
  color: var(--deep);
  font-size: clamp(1.35rem, 2.2vw, 1.9rem);
  line-height: 1;
}

.game-card p {
  margin-top: 10px;
  font-size: 1.05rem;
  line-height: 1.35;
  font-weight: 800;
}

.step-card img {
  width: 100%;
  height: clamp(190px, 17vw, 260px);
  object-fit: cover;
  object-position: center;
  margin: -4px auto 14px;
  border-radius: 6px;
  filter: drop-shadow(0 10px 12px rgba(3, 21, 56, 0.15));
}

.step-card:nth-child(2) img {
  height: clamp(190px, 17vw, 260px);
}

.game-board-section,
.game-decks-section,
.game-pieces-section,
.core-game-section {
  max-width: 1480px;
  margin-left: auto;
  margin-right: auto;
}

.board-showcase {
  display: grid;
  grid-template-columns: 0.36fr minmax(0, 1fr);
  gap: clamp(18px, 3vw, 38px);
  align-items: center;
}

.board-showcase > img {
  width: 100%;
  border: 5px solid #fff6d7;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.board-rules {
  display: grid;
  gap: 14px;
  font-size: clamp(1.05rem, 1.8vw, 1.32rem);
  line-height: 1.24;
  font-weight: 900;
}

.board-rules p {
  padding-left: 18px;
  border-left: 7px solid var(--yellow);
}

.deck-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(16px, 2.4vw, 30px);
}

.deck-panel {
  display: grid;
  justify-items: center;
  gap: 12px;
  padding: 22px;
  border: 2px solid rgba(8, 38, 91, 0.12);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.72);
  text-align: center;
  box-shadow: 0 8px 22px rgba(3, 21, 56, 0.08);
}

.deck-panel img {
  height: clamp(200px, 24vw, 330px);
  object-fit: contain;
  filter: drop-shadow(0 16px 18px rgba(3, 21, 56, 0.2));
}

.deck-panel h3 {
  color: var(--deep);
  font-size: clamp(1.7rem, 2.8vw, 2.6rem);
  line-height: 0.95;
}

.deck-panel p {
  max-width: 300px;
  font-size: 1.02rem;
  line-height: 1.35;
  font-weight: 800;
}

.adult-deck h3,
.adult-deck strong {
  color: #956300;
}

.child-deck h3,
.child-deck strong {
  color: #bf1f77;
}

.space-deck h3,
.space-deck strong {
  color: #09689e;
}

.human-deck-section {
  max-width: 1480px;
  margin-left: auto;
  margin-right: auto;
  overflow: hidden;
}

.human-deck-heading {
  align-items: start;
  justify-content: space-between;
}

.human-deck-heading > div:first-child {
  display: grid;
  gap: 20px;
}

.human-deck-tabs {
  display: inline-grid;
  grid-template-columns: repeat(3, minmax(112px, 1fr));
  gap: 7px;
  padding: 7px;
  border: 3px solid var(--deep);
  border-radius: 999px;
  background: rgba(3, 21, 56, 0.08);
}

.human-deck-tab {
  min-height: 46px;
  border: 0;
  border-radius: 999px;
  padding: 9px 18px;
  color: var(--deep);
  background: transparent;
  font: inherit;
  font-weight: 900;
  text-transform: uppercase;
  cursor: pointer;
}

.human-deck-tab.is-active {
  color: #fff;
  background: #956300;
}

.human-deck-tab[data-deck-tab="child"].is-active {
  background: #c71970;
}

.human-deck-tab[data-deck-tab="space"].is-active {
  background: #09689e;
}

.human-deck-tab:focus-visible {
  outline: 4px solid var(--sky);
  outline-offset: 3px;
}

.human-deck-intro {
  display: grid;
  gap: 8px;
  max-width: 570px;
  padding: 4px 0 4px clamp(0px, 2vw, 28px);
  border-left: 7px solid var(--yellow);
  font-size: clamp(1rem, 1.45vw, 1.2rem);
  font-weight: 800;
  line-height: 1.35;
}

.human-deck-intro[hidden],
.human-challenge-rules[hidden] {
  display: none;
}

.human-deck-intro .scribble {
  color: var(--deep);
  font-size: clamp(1.05rem, 1.8vw, 1.32rem);
}

.human-deck-intro-small {
  border-color: #e32483;
}

.human-deck-intro-space {
  border-color: #1ea8d6;
}

.human-deck-layout {
  display: grid;
  grid-template-columns: minmax(340px, 0.96fr) minmax(300px, 0.74fr);
  gap: clamp(26px, 5vw, 76px);
  align-items: center;
  max-width: 1120px;
  margin: 0 auto;
}

.human-card-browser {
  display: grid;
  justify-items: center;
  gap: 18px;
  min-width: 0;
}

.human-card-stage {
  position: relative;
  width: min(100%, 520px);
  aspect-ratio: 1055 / 1491;
  outline: none;
  perspective: 1400px;
  touch-action: pan-y;
}

.human-card-stage.is-small-human-deck {
  aspect-ratio: 2 / 3;
}

.human-card-stage.is-space-deck {
  aspect-ratio: 4 / 5;
}

.human-card-stage:focus-visible::after {
  content: "";
  position: absolute;
  inset: -9px;
  z-index: 8;
  border: 4px solid var(--sky);
  border-radius: 12px;
  pointer-events: none;
}

.deck-edge {
  position: absolute;
  inset: 1.5% 3% -1.5%;
  border: 3px solid #d9a923;
  border-radius: 5.5%;
  background: #07325b;
  box-shadow: 0 14px 24px rgba(3, 21, 56, 0.22);
  opacity: 0;
  transform: rotate(0deg);
  transition: opacity 240ms ease, transform 420ms ease;
}

.human-card-stage.is-small-human-deck .deck-edge {
  border-color: #e32483;
  background: #8a124f;
}

.human-card-stage.is-revealed .deck-edge {
  opacity: 1;
}

.human-card-stage.is-revealed .deck-edge-one {
  transform: translate(2.1%, 1.6%) rotate(1.4deg);
}

.human-card-stage.is-revealed .deck-edge-two {
  transform: translate(-1.8%, 1.2%) rotate(-1.1deg);
}

.human-card-back,
.human-card-front {
  position: absolute;
  inset: 0;
  z-index: 3;
  width: 100%;
  height: 100%;
  border: 0;
  padding: 0;
  backface-visibility: hidden;
  transform-style: preserve-3d;
  transition: transform 620ms cubic-bezier(0.2, 0.75, 0.25, 1), opacity 180ms ease;
}

.human-card-back {
  display: grid;
  place-items: center;
  overflow: visible;
  background: transparent;
  cursor: pointer;
}

.human-card-back img {
  width: 116%;
  max-width: none;
  filter: drop-shadow(0 22px 22px rgba(3, 21, 56, 0.28));
  transition: transform 220ms ease;
}

.human-card-stage.is-small-human-deck .human-card-back img {
  width: 108%;
}

.human-card-stage.is-space-deck .human-card-back img {
  width: 108%;
}

.human-card-back:hover img,
.human-card-back:focus-visible img {
  transform: translateY(-6px) rotate(-1deg);
}

.human-card-back span {
  position: absolute;
  left: 50%;
  bottom: 4%;
  min-width: 190px;
  padding: 11px 18px;
  border: 3px solid var(--deep);
  border-radius: 999px;
  background: var(--yellow);
  color: var(--deep);
  font: inherit;
  font-weight: 900;
  text-transform: uppercase;
  box-shadow: 0 8px 16px rgba(3, 21, 56, 0.2);
  transform: translateX(-50%) rotate(-2deg);
}

.human-card-front {
  container-type: inline-size;
  overflow: hidden;
  border-radius: 4.7%;
  background: #f8e9c7;
  box-shadow: 0 22px 38px rgba(3, 21, 56, 0.25);
  transform: rotateY(180deg);
}

.human-card-stage.is-revealed .human-card-back {
  opacity: 0;
  pointer-events: none;
  transform: rotateY(-180deg);
}

.human-card-stage.is-revealed .human-card-front {
  transform: rotateY(0deg);
}

.human-card-front > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.human-card-front.is-small-human-card {
  border-radius: 3.6%;
}

.human-card-front.is-space-card {
  border-radius: 4.5%;
  background: #062d50;
}

.human-card-front h3,
.human-card-front p {
  position: absolute;
  z-index: 2;
  display: grid;
  place-items: center;
  overflow: hidden;
  margin: 0;
  color: #072b50;
  text-align: center;
}

.human-card-name {
  top: 7.05%;
  left: 18.5%;
  width: 63%;
  height: 9.6%;
  font-family: "Arial Rounded MT Bold", "Trebuchet MS", Arial, sans-serif;
  font-size: clamp(1rem, 5.4cqw, 2rem);
  font-weight: 1000;
  line-height: 0.94;
  text-transform: uppercase;
}

.human-card-strapline {
  top: 18.05%;
  left: 18.5%;
  width: 63%;
  height: 4.9%;
  font-size: clamp(0.75rem, 3.35cqw, 1.2rem);
  font-weight: 900;
  line-height: 1;
}

.human-card-challenge {
  top: 26%;
  left: 10.5%;
  width: 79%;
  height: 57.2%;
  padding: 8%;
  font-family: "Comic Sans MS", "Trebuchet MS", cursive;
  font-size: clamp(1rem, 5.8cqw, 2.15rem);
  font-weight: 900;
  line-height: 1.22;
}

.human-card-flavour {
  top: 87.05%;
  left: 18.5%;
  width: 63%;
  height: 6.5%;
  font-family: "Comic Sans MS", "Trebuchet MS", cursive;
  font-size: clamp(0.72rem, 3.25cqw, 1.15rem);
  font-style: italic;
  font-weight: 900;
  line-height: 1.05;
}

.human-card-front.is-small-human-card .human-card-name {
  top: 5.8%;
  left: 18%;
  width: 64%;
  height: 8.8%;
  color: #82114c;
  font-size: clamp(0.92rem, 5.1cqw, 1.9rem);
}

.human-card-front.is-small-human-card .human-card-strapline {
  top: 16.45%;
  left: 18%;
  width: 64%;
  height: 5%;
  color: #82114c;
  font-family: "Comic Sans MS", "Trebuchet MS", cursive;
  font-size: clamp(0.7rem, 3.25cqw, 1.15rem);
}

.human-card-front.is-small-human-card .human-card-challenge {
  top: 24.15%;
  left: 9.5%;
  width: 81%;
  height: 58.2%;
  color: #5f103b;
  font-family: "Arial Rounded MT Bold", "Trebuchet MS", Arial, sans-serif;
  font-size: clamp(0.95rem, 5.25cqw, 2rem);
  line-height: 1.2;
}

.human-card-front.is-small-human-card .human-card-flavour {
  top: 86.25%;
  left: 17.5%;
  width: 65%;
  height: 7%;
  color: #82114c;
  font-size: clamp(0.68rem, 3.05cqw, 1.1rem);
}

.human-card-front.is-space-card .human-card-name {
  top: 10%;
  left: 18%;
  width: 64%;
  height: 8.7%;
  color: #07345b;
  font-size: clamp(0.92rem, 5.2cqw, 2rem);
}

.human-card-front.is-space-card .human-card-strapline {
  top: 21.6%;
  left: 24%;
  width: 52%;
  height: 4.5%;
  color: #07345b;
  font-size: clamp(0.68rem, 3.2cqw, 1.12rem);
  letter-spacing: 0;
  text-transform: uppercase;
}

.human-card-front.is-space-card .human-card-challenge {
  top: 28.6%;
  left: 10.5%;
  width: 79%;
  height: 48.8%;
  color: #07345b;
  font-family: "Arial Rounded MT Bold", "Trebuchet MS", Arial, sans-serif;
  font-size: clamp(0.98rem, 5.2cqw, 2rem);
  line-height: 1.2;
}

.human-card-front.is-space-card .human-card-flavour {
  top: 86.2%;
  left: 24%;
  width: 52%;
  height: 5.2%;
  color: #07345b;
  font-family: "Arial Rounded MT Bold", "Trebuchet MS", Arial, sans-serif;
  font-size: clamp(0.8rem, 3.8cqw, 1.35rem);
  font-style: normal;
  letter-spacing: 0;
}

.human-card-front.is-space-card.is-keeper-card .human-card-flavour {
  font-weight: 1000;
}

.human-card-front.is-moving-left {
  opacity: 0;
  transform: translateX(-5%) rotate(-1deg);
}

.human-card-front.is-moving-right {
  opacity: 0;
  transform: translateX(5%) rotate(1deg);
}

.human-card-controls {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 10px;
  align-items: center;
  width: min(100%, 560px);
}

.human-card-controls[hidden] {
  display: none;
}

.deck-nav-button,
.deck-shuffle-button {
  min-height: 46px;
  border: 3px solid var(--deep);
  border-radius: 999px;
  padding: 9px 15px;
  color: #fff;
  background: var(--deep);
  font: inherit;
  font-size: 0.88rem;
  font-weight: 900;
  text-transform: uppercase;
  cursor: pointer;
  transition: transform 140ms ease, background 140ms ease;
}

.space-card-filters {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 7px;
  width: min(100%, 620px);
}

.space-card-filters[hidden] {
  display: none;
}

.space-card-filters button {
  min-height: 34px;
  border: 2px solid var(--deep);
  border-radius: 999px;
  padding: 5px 11px;
  color: var(--deep);
  background: transparent;
  font: inherit;
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
  cursor: pointer;
}

.space-card-filters button[aria-pressed="true"] {
  color: #fff;
  background: #09689e;
}

.space-card-filters button:focus-visible {
  outline: 3px solid var(--sky);
  outline-offset: 2px;
}

.space-card-rules {
  border-color: #1ea8d6;
}

.space-rule-note {
  padding: 14px 16px;
  border-left: 5px solid #1ea8d6;
  background: rgba(30, 168, 214, 0.1);
}

.space-rule-note h4 {
  margin-bottom: 5px;
  color: #09689e;
  text-transform: uppercase;
}

.space-hand-rule {
  color: var(--deep);
  font-weight: 1000;
  text-transform: uppercase;
}

.busted-space-note {
  border-color: #e3243b;
  background: rgba(227, 36, 59, 0.09);
}

.busted-space-note h4 {
  color: #b9172b;
}

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

.human-card-count {
  min-width: 78px;
  color: var(--deep);
  font-weight: 1000;
  text-align: center;
}

.deck-shuffle-button {
  grid-column: 1 / -1;
  justify-self: center;
  min-width: 210px;
  color: var(--deep);
  background: var(--yellow);
}

.human-challenge-rules {
  display: grid;
  gap: 14px;
  padding: clamp(18px, 3vw, 34px) 0 clamp(18px, 3vw, 34px) clamp(18px, 4vw, 48px);
  border-left: 8px solid var(--yellow);
}

.human-challenge-rules .game-kicker {
  justify-self: start;
  max-width: none;
  transform: rotate(-2deg);
}

.human-challenge-rules h3 {
  color: var(--deep);
  font-size: clamp(2rem, 4vw, 3.8rem);
  line-height: 0.92;
  text-transform: uppercase;
}

.human-challenge-rules > p:not(.game-kicker) {
  font-size: clamp(1rem, 1.55vw, 1.17rem);
  line-height: 1.38;
  font-weight: 800;
}

.human-results {
  display: grid;
  gap: 10px;
  margin: 4px 0 0;
  padding: 0;
  list-style: none;
}

.human-results li {
  display: grid;
  gap: 4px;
  padding: 14px 16px;
  border-left: 7px solid var(--red);
  background: rgba(238, 29, 82, 0.09);
  font-weight: 800;
  line-height: 1.25;
}

.human-results li:nth-child(2) {
  border-color: #28a05a;
  background: rgba(40, 160, 90, 0.1);
}

.human-results li:nth-child(3) {
  border-color: var(--sky);
  background: rgba(35, 167, 255, 0.1);
}

.human-results strong {
  color: var(--deep);
  text-transform: uppercase;
}

.small-human-rules {
  border-color: #e32483;
}

.small-human-rule-note {
  display: grid;
  gap: 5px;
  padding: 13px 15px;
  border-left: 7px solid #e32483;
  background: rgba(227, 36, 131, 0.08);
}

.small-human-rule-note h4,
.race-position-notes dt {
  margin: 0;
  color: var(--deep);
  font-size: 0.95rem;
  font-weight: 1000;
  text-transform: uppercase;
}

.small-human-rule-note p,
.race-position-notes dd,
.race-tie-note {
  margin: 0;
  font-size: 0.92rem;
  font-weight: 800;
  line-height: 1.3;
}

.race-position-notes {
  display: grid;
  gap: 9px;
  margin: 0;
}

.race-position-notes > div {
  display: grid;
  gap: 3px;
}

.race-position-notes dd {
  margin-left: 0;
}

.race-tie-note {
  font-style: italic;
}

.dog-section {
  display: grid;
  grid-template-columns: minmax(260px, 0.62fr) minmax(240px, 0.38fr);
  gap: clamp(18px, 4vw, 52px);
  align-items: end;
  max-width: 1480px;
  margin-left: auto;
  margin-right: auto;
  overflow: hidden;
}

.dog-section h2 {
  color: var(--deep);
  text-shadow: none;
}

.dog-section p:not(.scribble) {
  max-width: 700px;
  margin-top: 14px;
  font-size: clamp(1.05rem, 1.8vw, 1.32rem);
  line-height: 1.38;
  font-weight: 800;
}

.dog-section img {
  width: min(100%, 470px);
  justify-self: center;
  margin-bottom: -36px;
  filter: drop-shadow(0 16px 22px rgba(3, 21, 56, 0.18));
}

.piece-lineup {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: clamp(8px, 1.4vw, 20px);
  align-items: end;
}

.piece-lineup figure {
  display: grid;
  align-items: end;
  justify-items: center;
  min-height: 250px;
  margin: 0;
}

.piece-lineup img {
  width: 100%;
  height: clamp(160px, 22vw, 340px);
  object-fit: contain;
  object-position: center bottom;
  filter: drop-shadow(0 12px 14px rgba(3, 21, 56, 0.14));
}

.piece-lineup figcaption {
  margin-top: 8px;
  color: var(--deep);
  font-weight: 900;
  text-transform: uppercase;
}

.how-to-play-detail,
.reference-section {
  max-width: 1480px;
  margin-left: auto;
  margin-right: auto;
}

.rules-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(14px, 2vw, 22px);
}

.rules-card {
  padding: clamp(18px, 2.4vw, 28px);
  border: 2px solid rgba(8, 38, 91, 0.12);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 8px 22px rgba(3, 21, 56, 0.08);
}

.rules-card-wide,
.choice-card {
  grid-column: span 2;
}

.rules-card h3 {
  color: var(--deep);
  font-size: clamp(1.45rem, 2.4vw, 2.2rem);
  line-height: 0.95;
}

.rules-card h4 {
  margin-top: 8px;
  color: var(--red);
  font-size: clamp(1.2rem, 2vw, 1.8rem);
  line-height: 0.95;
  text-transform: uppercase;
}

.rules-card p,
.landing-list {
  margin-top: 12px;
  font-size: 1.02rem;
  line-height: 1.38;
  font-weight: 800;
}

.choice-row {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 16px;
  align-items: stretch;
  margin-top: 14px;
}

.choice-row > div {
  padding: 16px;
  border-radius: var(--radius);
  background: rgba(255, 228, 76, 0.2);
}

.choice-row > span {
  align-self: center;
  color: var(--deep);
  font-weight: 900;
  text-transform: uppercase;
}

.landing-list {
  display: grid;
  gap: 9px;
  padding: 0;
  list-style: none;
}

.landing-list li {
  display: grid;
  grid-template-columns: 78px 1fr;
  gap: 10px;
  align-items: baseline;
}

.rules-divider {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: clamp(20px, 3vw, 34px) 0;
}

.rules-divider span {
  display: grid;
  place-items: center;
  min-height: 58px;
  padding: 10px;
  border: 3px solid #fff;
  border-radius: 999px;
  background: var(--deep);
  color: #fff;
  font-size: clamp(0.72rem, 1.1vw, 0.95rem);
  font-weight: 900;
  line-height: 1.08;
  text-align: center;
  text-transform: uppercase;
  box-shadow: 0 10px 18px rgba(3, 21, 56, 0.16);
}

.rules-divider span:first-child {
  background: var(--red);
}

.rules-divider span:last-child {
  background: var(--blue);
}

.chase-path {
  padding: 12px 14px;
  border-radius: var(--radius);
  background: rgba(8, 38, 91, 0.08);
  color: var(--deep);
  text-transform: uppercase;
}

.busted-card {
  border-color: rgba(238, 29, 82, 0.28);
  background: rgba(255, 255, 255, 0.86);
}

.win-card {
  background: rgba(255, 228, 76, 0.28);
}

.reference-layout {
  display: grid;
  grid-template-columns: minmax(260px, 1fr) minmax(0, 2fr);
  gap: clamp(16px, 2.6vw, 34px);
  align-items: start;
}

.dog-reference-stack {
  display: grid;
  gap: clamp(14px, 2vw, 22px);
}

.deck-reference-grid {
  display: grid;
  gap: clamp(14px, 2vw, 22px);
}

.reference-card {
  margin: 0;
  text-align: center;
}

.reference-card img {
  width: 100%;
  max-height: 620px;
  object-fit: contain;
  border: 4px solid #fff6d7;
  border-radius: var(--radius);
  box-shadow: 0 14px 28px rgba(3, 21, 56, 0.18);
  background: rgba(255, 255, 255, 0.72);
}

.dog-reference img {
  max-height: 760px;
}

.doggie-poster img {
  max-height: 520px;
}

.reference-card figcaption {
  margin-top: 10px;
  color: var(--deep);
  font-weight: 900;
  text-transform: uppercase;
}

.game-cta-strip {
  display: grid;
  grid-template-columns: minmax(130px, 220px) 1fr auto;
  gap: clamp(16px, 3vw, 40px);
  align-items: center;
  padding: clamp(22px, 3vw, 36px) clamp(16px, 4vw, 58px);
  color: #fff;
  background:
    linear-gradient(90deg, rgba(3, 21, 56, 0.94), rgba(3, 21, 56, 0.72)),
    url("/assets/desert-sunset-bg.png") center bottom / cover no-repeat;
}

.game-cta-strip img {
  width: min(100%, 220px);
}

.game-cta-strip p {
  max-width: 580px;
  font-size: clamp(1.05rem, 1.9vw, 1.35rem);
  line-height: 1.3;
  font-weight: 800;
}

.board-note {
  display: grid;
  grid-template-columns: minmax(240px, 0.5fr) minmax(0, 1fr);
  gap: clamp(22px, 4vw, 52px);
  align-items: center;
}

.board-note img {
  width: min(100%, 420px);
  justify-self: center;
  transform: rotate(-3deg);
  filter: drop-shadow(0 16px 22px rgba(3, 21, 56, 0.22));
}

.board-note h2 {
  margin-bottom: 14px;
}

.board-note p {
  font-size: clamp(1.1rem, 2vw, 1.55rem);
  line-height: 1.35;
  font-weight: 900;
}

@media (max-width: 1120px) {
  .family-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .story-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .rv-layout {
    grid-template-columns: 1fr 0.42fr;
  }

  .board-hero,
  .board-note {
    grid-template-columns: 1fr;
  }

  .game-product-hero,
  .game-story-band,
  .board-showcase,
  .dog-section,
  .game-cta-strip {
    grid-template-columns: 1fr;
  }

  .game-box-shot {
    justify-self: center;
  }

  .game-product-copy {
    justify-items: center;
    margin: 0 auto;
    text-align: center;
  }

  .game-kicker {
    justify-self: center;
  }

  .game-facts,
  .game-actions {
    justify-content: center;
  }

  .game-card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .deck-grid {
    grid-template-columns: 1fr;
  }

  .human-deck-layout {
    grid-template-columns: 1fr;
  }

  .human-challenge-rules {
    max-width: 700px;
    margin: 0 auto;
  }

  .rules-grid,
  .choice-row,
  .rules-divider {
    grid-template-columns: 1fr;
  }

  .rules-card-wide,
  .choice-card {
    grid-column: auto;
  }

  .choice-row > span {
    justify-self: center;
  }

  .reference-layout {
    grid-template-columns: 1fr;
  }

  .deck-reference-grid {
    grid-template-columns: 1fr;
  }

  .piece-lineup {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .postcard {
    grid-column: 1 / -1;
    max-width: 540px;
    justify-self: center;
  }
}

@media (max-width: 760px) {
  .site-header {
    position: static;
    flex-direction: row;
    align-items: center;
    padding: 7px 12px;
  }

  .brand img {
    width: 98px;
  }

  nav {
    flex: 1;
    overflow-x: auto;
    padding-bottom: 0;
    justify-content: flex-start;
    gap: 12px;
    font-size: 0.78rem;
    scrollbar-width: none;
  }

  nav::-webkit-scrollbar {
    display: none;
  }

  nav a {
    white-space: nowrap;
  }

  .hero {
    padding: 0;
  }

  .hero-frame {
    display: flex;
    min-height: 0;
    aspect-ratio: auto;
    flex-direction: column;
    border-width: 0 0 4px;
    border-radius: 0;
  }

  .hero-frame[data-mode="human"],
  .hero-frame[data-mode="kids"] {
    aspect-ratio: auto;
  }

  .hero-image {
    position: relative;
    inset: auto;
    display: none;
    height: clamp(310px, 92vw, 480px);
    min-height: 0;
    aspect-ratio: auto;
    object-fit: cover;
    object-position: center top;
    opacity: 1;
  }

  .hero-real {
    background: transparent;
  }

  .hero-frame[data-mode="human"] .hero-wigs,
  .hero-frame[data-mode="kids"] .hero-real {
    display: block;
    opacity: 1;
  }

  .hero-frame[data-mode="human"] .hero-real,
  .hero-frame[data-mode="kids"] .hero-wigs {
    display: none;
    opacity: 0;
  }

  .hero-copy {
    position: relative;
    left: auto;
    right: auto;
    bottom: auto;
    gap: 8px;
    padding: 14px 18px 18px;
    background: var(--deep);
    text-shadow: none;
  }

  h1 {
    font-size: clamp(2.3rem, 12vw, 3.5rem);
    transform: none;
  }

  .hero-copy p {
    max-width: 20rem;
    font-size: 1rem;
    line-height: 1.2;
  }

  .board-teaser {
    grid-template-columns: 98px 1fr;
    gap: 12px;
    margin: 12px 10px 0;
    padding: 12px;
  }

  .board-teaser-box {
    width: 98px;
    grid-row: 1 / span 2;
  }

  .board-teaser h2 {
    font-size: clamp(1.55rem, 8vw, 2.25rem);
    line-height: 1;
  }

  .board-teaser .game-kicker {
    font-size: 0.72rem;
  }

  .board-teaser-copy > p:not(.game-kicker) {
    font-size: 0.9rem;
  }

  .board-teaser .game-facts {
    display: none;
  }

  .board-teaser-actions {
    grid-column: 2;
    justify-items: start;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
  }

  .mode-switch {
    border-radius: 18px;
    width: min(100%, 360px);
    padding: 6px;
  }

  .mode-button {
    width: 100%;
    min-height: 44px;
  }

  .sticky,
  .note-top {
    display: none;
  }

  .paper-section {
    margin: 18px 10px;
    padding: 22px 14px;
  }

  .paper-section::before,
  .paper-section::after {
    width: 94px;
  }

  .section-heading {
    align-items: flex-start;
  }

  h2 {
    font-size: clamp(2rem, 12vw, 3.2rem);
  }

  .family-grid,
  .story-grid,
  .rv-layout {
    grid-template-columns: 1fr;
  }

  .family-grid {
    gap: 12px;
  }

  .character-card {
    display: grid;
    grid-template-columns: 104px 1fr;
    align-items: start;
    gap: 12px;
    text-align: left;
  }

  .character-image-swap {
    grid-row: 1 / span 2;
    width: 104px;
  }

  .character-card img {
    width: 104px;
  }

  .character-card h3 {
    grid-column: 2;
    margin-top: 0;
    align-self: end;
  }

  .character-card p {
    grid-column: 2;
    margin-left: 0;
  }

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

  .board-game-page {
    padding: 0;
  }

  .game-product-hero {
    min-height: 0;
    padding: 18px 12px 26px;
    background-position: center top;
  }

  .game-product-copy {
    gap: 10px;
  }

  .game-box-shot {
    width: min(92vw, 480px);
  }

  .game-title-logo {
    width: min(88vw, 390px);
  }

  .game-kicker {
    max-width: 180px;
    font-size: 0.9rem;
    transform: rotate(-5deg);
  }

  .game-product-copy > p:not(.game-kicker):not(.scribble) {
    max-width: 24rem;
    font-size: 1rem;
  }

  .game-facts span {
    min-height: 34px;
    padding: 7px 10px;
    font-size: 0.78rem;
  }

  .button {
    min-height: 42px;
    padding: 10px 16px;
    font-size: 0.82rem;
  }

  .game-story-band {
    padding: 22px 14px 0;
  }

  .story-copy {
    padding-bottom: 6px;
  }

  .story-copy h2 {
    font-size: clamp(2rem, 12vw, 3.2rem);
  }

  .game-card-grid,
  .piece-lineup {
    grid-template-columns: 1fr;
  }

  .game-card {
    min-height: 0;
  }

  .step-card {
    display: grid;
    grid-template-columns: 58px 98px 1fr;
    column-gap: 12px;
    align-items: center;
  }

  .step-card span {
    margin: 0;
  }

  .step-card img {
    grid-row: 1 / span 2;
    grid-column: 2;
    height: 96px;
    margin: 0;
  }

  .step-card h3,
  .step-card p {
    grid-column: 3;
  }

  .board-showcase {
    gap: 18px;
  }

  .board-rules {
    font-size: 1rem;
  }

  .deck-panel img {
    height: 220px;
  }

  .human-deck-heading {
    display: grid;
    gap: 18px;
  }

  .human-deck-tabs {
    width: min(100%, 420px);
  }

  .human-deck-intro {
    padding-left: 14px;
  }

  .human-card-stage {
    width: min(100%, 430px);
  }

  .human-card-controls {
    grid-template-columns: 1fr auto 1fr;
  }

  .deck-nav-button,
  .deck-shuffle-button {
    padding: 9px 11px;
    font-size: 0.76rem;
  }

  .human-challenge-rules {
    padding: 20px 0 0;
    border-top: 8px solid var(--yellow);
    border-left: 0;
  }

  .rules-card {
    padding: 16px;
  }

  .landing-list li {
    grid-template-columns: 72px 1fr;
  }

  .reference-card img {
    max-height: 580px;
  }

  .dog-section {
    align-items: center;
  }

  .dog-section img {
    width: min(100%, 360px);
    margin-bottom: -20px;
  }

  .piece-lineup figure {
    grid-template-columns: 106px 1fr;
    min-height: 0;
    gap: 12px;
    text-align: left;
  }

  .piece-lineup img {
    height: 132px;
  }

  .piece-lineup figcaption {
    justify-self: start;
    align-self: center;
  }

  .game-cta-strip {
    justify-items: center;
    text-align: center;
  }

  .board-hero h1 {
    font-size: clamp(2.6rem, 13vw, 4.4rem);
    transform: none;
  }

  .board-hero img {
    border-width: 5px;
  }

  .postcard {
    transform: rotate(1deg);
  }

  .site-footer {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
  }
}

@media (max-width: 440px) {
  .hero-frame {
    min-height: 0;
  }

  .character-card {
    grid-template-columns: 88px 1fr;
  }

  .character-image-swap,
  .character-card img {
    width: 88px;
  }

  .human-card-controls {
    gap: 6px;
  }

  .deck-nav-button {
    min-height: 42px;
    padding: 7px 8px;
    font-size: 0.68rem;
  }

  .human-card-count {
    min-width: 62px;
    font-size: 0.82rem;
  }

  .human-card-back span {
    min-width: 168px;
    padding: 9px 13px;
    font-size: 0.78rem;
  }

  .human-deck-tabs {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .human-deck-tab {
    min-height: 42px;
    padding: 8px 6px;
    font-size: 0.68rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .human-card-back,
  .human-card-front,
  .deck-edge,
  .human-card-back img,
  .deck-nav-button,
  .deck-shuffle-button {
    transition: none;
  }
}
