
@font-face{font-family:'Atkinson Hyperlegible Next';font-style:italic;font-weight:200 800;font-display:swap;src:url('/fonts/atkinson-next-italic-latin-ext.woff2') format('woff2');unicode-range:U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;}
@font-face{font-family:'Atkinson Hyperlegible Next';font-style:italic;font-weight:200 800;font-display:swap;src:url('/fonts/atkinson-next-italic-latin.woff2') format('woff2');unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;}
@font-face{font-family:'Atkinson Hyperlegible Next';font-style:normal;font-weight:200 800;font-display:swap;src:url('/fonts/atkinson-next-roman-latin-ext.woff2') format('woff2');unicode-range:U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;}
@font-face{font-family:'Atkinson Hyperlegible Next';font-style:normal;font-weight:200 800;font-display:swap;src:url('/fonts/atkinson-next-roman-latin.woff2') format('woff2');unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;}

﻿/* =====================================================
   POPPHIN™ — Main Stylesheet
   Brand: Popphin™ by Cinderpoint Systems LLC
   Aesthetic: Warm ocean, Scandinavian restraint, family joy
   Fonts: Nunito (headings) + Nunito Sans (body) — Google Fonts
   Palette: Popphin Blue #00527A · Coral #FFB6C1 · Seafoam #06D6A0 · Sunshine #FFD166
            Seafoam #06D6A0 · White #FFFFFF · Cloud #F0F8FF
   ===================================================== */

/* Self-hosted fonts (no third-party requests) */
/* --- Reset & Base --- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;   /* clips horizontal overflow at the document root so body remains the window scroll container */
}

body {
  font-family: 'Atkinson Hyperlegible Next', 'Helvetica Neue', Arial, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
}

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

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

ul {
  list-style: none;
}

/* --- CSS Variables --- */
:root {
  --blue:          #00527A;   /* Popphin blue — from the book (deep ocean) */
  --blue-dark:     #003C5C;   /* darker, for hovers */
  --blue-light:    #7FB0CC;   /* lighter alt */
  --blue-pale:     #0E4A6B;   /* pale blue wash for backgrounds */
  --coral:         #FFB6C1;
  --coral-dark:    #e89aa5;
  --coral-light:   #fff0f2;
  --deep-berry:    #5E1620;   /* deep wine — text on coral, Dolphin Rose dark */
  --yellow:        #FFD166;
  --yellow-dark:   #e8b800;
  --yellow-light:  #fff8e1;
  --seafoam:       #06D6A0;
  --seafoam-dark:  #05b585;
  --seafoam-light: #e0faf3;
  --white:         #FCFDFE;   /* stays light: button text / floating cards */
  --bg:            #00527A;   /* PAGE BACKGROUND — Popphin blue (dark default) */
  --bg-deep:       #013E5C;
  --surface:       #0B5F88;   /* cards / lifted sections */
  --surface-alt:   #013F5D;   /* alternating darker band */
  --border:        rgba(190,224,238,0.16);
  --cloud:         #0B5F88;
  --ink:           #EAF3F8;
  --ink-mid:       #CFE1EC;
  --ink-light:     #C9DEEA;
  --ink-dark:           #013A56;   /* dark ink — text on white/seafoam surfaces */
  --white-hover:        #E3EFF6;   /* white-btn hover wash — faint blue tint */
  --seafoam-pale:       #BFF3E6;   /* pale seafoam — accent text on deep blue */
  --sky-accent:         #5ec8ff;   /* sky blue — link/accent on racing dark theme */
  --focus-ring:         #FF6B9D;   /* accessibility focus ring */
  --badge-coral-text:   #8A1F2E;   /* .badge-coral text */
  --badge-yellow-text:  #7A5600;   /* .badge-yellow text */
  --badge-seafoam-text: #045C46;   /* .badge-seafoam text */
  --text-blue:          #9FD4EC;   /* .text-blue accent on dark */
  --off-white:     #0A5476;
  --radius-sm:     8px;
  --radius-md:     16px;
  --radius-lg:     24px;
  --radius-xl:     40px;
  --radius-pill:   9999px;
  --shadow-soft:   0 4px 20px rgba(0, 82, 122, 0.10);
  --shadow-card:   0 8px 36px rgba(0, 82, 122, 0.13);
  --shadow-hover:  0 18px 52px rgba(0, 82, 122, 0.20);
  --transition:    0.25s ease;
}

/* --- Typography --- */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Atkinson Hyperlegible Next', 'Helvetica Neue', Arial, sans-serif;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.01em;
}

h1 { font-size: clamp(2.4rem, 6vw, 4rem); }
h2 { font-size: clamp(1.9rem, 4vw, 2.9rem); }
h3 { font-size: clamp(1.35rem, 3vw, 1.85rem); }
h4 { font-size: 1.2rem; font-weight: 700; }

p { margin-bottom: 1rem; }
p:last-child { margin-bottom: 0; }

.lead {
  font-size: clamp(1.05rem, 2.5vw, 1.22rem);
  font-weight: 600;
  color: var(--ink-light);
  line-height: 1.7;
}

/* --- Layout --- */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 28px;
}

.section {
  padding: 74px 0;
}

.section-sm {
  padding: 44px 0;
}

.section-title {
  text-align: center;
  margin-bottom: 16px;
  color: var(--ink);
}

.section-subtitle {
  text-align: center;
  color: var(--ink-light);
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 44px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.text-center { text-align: center; }
.text-blue   { color: var(--blue); }
.text-coral  { color: var(--coral); }
.text-yellow { color: var(--yellow-dark); }

/* =====================================================
   BUTTONS
   ===================================================== */
.btn {
  display: inline-block;
  font-family: 'Atkinson Hyperlegible Next', 'Helvetica Neue', Arial, sans-serif, sans-serif;
  font-weight: 800;
  font-size: 1rem;
  padding: 15px 34px;
  border-radius: var(--radius-pill);
  border: none;
  cursor: pointer;
  transition:
    transform 0.22s cubic-bezier(0.34, 1.56, 0.64, 1),
    box-shadow 0.22s ease,
    background 0.22s ease;
  letter-spacing: 0.01em;
  text-align: center;
  line-height: 1;
}

.btn:hover {
  transform: translateY(-4px) scale(1.03);
}

.btn:active {
  transform: translateY(-1px) scale(1.01);
}

.btn-primary {
  background: var(--white);
  color: var(--blue);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.30);
}

.btn-primary:hover {
  background: var(--white-hover);
  color: var(--blue-dark);
  box-shadow: 0 12px 34px rgba(0, 0, 0, 0.40);
}

.btn-secondary {
  background: var(--seafoam);
  color: var(--ink-dark);
  box-shadow: 0 5px 18px rgba(0, 119, 182, 0.35);
}

.btn-secondary:hover {
  background: var(--seafoam-dark);
  box-shadow: 0 10px 30px rgba(6, 214, 160, 0.40);
}

.btn-seafoam {
  background: var(--seafoam);
  color: var(--ink-dark);
  box-shadow: 0 5px 18px rgba(6, 214, 160, 0.38);
}

.btn-seafoam:hover {
  background: var(--seafoam-dark);
  box-shadow: 0 10px 30px rgba(6, 214, 160, 0.48);
}

.btn-outline {
  background: rgba(255,255,255,0.06);
  color: var(--ink);
  border: 2.5px solid rgba(255,255,255,0.55);
}

.btn-outline:hover {
  background: rgba(255,255,255,0.16);
  color: var(--ink);
}

.btn-ghost {
  border-color: rgba(255,255,255,0.45) !important;
  color: var(--white) !important;
}

.btn-white {
  background: var(--white);
  color: var(--blue);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.10);
}

.btn-white:hover {
  background: var(--white-hover);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.16);
}

.btn-lg {
  font-size: 1.15rem;
  padding: 18px 48px;
}

.btn-sm {
  font-size: 0.88rem;
  padding: 10px 22px;
}

/* =====================================================
   NAVIGATION
   ===================================================== */
.site-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(1, 52, 76, 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 2px solid var(--blue-light);
  transition: box-shadow var(--transition);
}

.site-nav.scrolled {
  box-shadow: 0 4px 24px rgba(0, 119, 182, 0.12);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: 'Atkinson Hyperlegible Next', 'Helvetica Neue', Arial, sans-serif, sans-serif;
  font-size: 1.65rem;
  font-weight: 900;
  color: var(--ink);
  letter-spacing: -0.025em;
}

.nav-logo .logo-icon {
  font-size: 2rem;
  line-height: 1;
  filter: drop-shadow(0 2px 6px rgba(255, 182, 193, 0.22));
}

.nav-logo .logo-tm {
  font-size: 0.6rem;
  font-weight: 700;
  vertical-align: super;
  color: var(--ink);
  margin-left: 1px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-links a {
  font-family: 'Atkinson Hyperlegible Next', 'Helvetica Neue', Arial, sans-serif, sans-serif;
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--ink-light);
  padding: 8px 16px;
  border-radius: var(--radius-pill);
  transition: color var(--transition), background var(--transition);
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--ink);
  background: rgba(255,255,255,0.12);
}

.nav-links a.nav-cta {
  background: var(--seafoam);
  color: var(--ink-dark);
  padding: 9px 22px;
  margin-left: 6px;
}

.nav-links a.nav-cta:hover {
  background: var(--blue-dark);
  transform: translateY(-2px);
}

/* Hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  border-radius: var(--radius-sm);
  transition: background var(--transition);
  background: none;
  border: none;
}

.nav-toggle:hover {
  background: var(--blue-pale);
}

.nav-toggle span {
  display: block;
  width: 26px;
  height: 3px;
  background: var(--ink);
  border-radius: 3px;
  transition: transform var(--transition), opacity var(--transition);
}

.nav-toggle.open span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}
.nav-toggle.open span:nth-child(2) {
  opacity: 0;
}
.nav-toggle.open span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

/* Mobile Nav */
.nav-mobile {
  display: none;
  flex-direction: column;
  gap: 4px;
  padding: 16px 24px 22px;
  border-top: 2px solid var(--blue-light);
  background: var(--surface);
}

.nav-mobile.open {
  display: flex;
}

.nav-mobile a {
  font-family: 'Atkinson Hyperlegible Next', 'Helvetica Neue', Arial, sans-serif, sans-serif;
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--ink);
  padding: 12px 16px;
  border-radius: var(--radius-md);
  transition: background var(--transition), color var(--transition);
}

.nav-mobile a:hover {
  background: var(--blue-pale);
  color: var(--blue);
}

.nav-mobile a.nav-cta {
  background: var(--seafoam);
  color: var(--ink-dark);
  text-align: center;
  margin-top: 8px;
  border-radius: var(--radius-pill);
}

.nav-mobile a.nav-cta:hover {
  background: var(--blue-dark);
}

/* --- Page wrapper for fixed nav offset --- */
.page-body {
  padding-top: 72px;
}

/* =====================================================
   NOTICE BAR
   ===================================================== */
.notice-bar {
  background: linear-gradient(90deg, var(--blue) 0%, var(--blue-dark) 100%);
  color: var(--white);
  text-align: center;
  padding: 11px 24px;
  font-family: 'Atkinson Hyperlegible Next', 'Helvetica Neue', Arial, sans-serif, sans-serif;
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.01em;
}

.notice-bar a {
  text-decoration: underline;
  color: var(--yellow);
  transition: opacity var(--transition);
}

.notice-bar a:hover {
  opacity: 0.8;
}

/* =====================================================
   WAVE / SECTION DIVIDERS  (CSS clip-path)
   ===================================================== */
.wave-top {
  width: 100%;
  line-height: 0;
  overflow: hidden;
}

.wave-top svg,
.wave-bottom svg {
  display: block;
  width: 100%;
}

.wave-bottom {
  width: 100%;
  line-height: 0;
  overflow: hidden;
}

/* Clip-path wave on sections */
.section-wave-after {
  position: relative;
}

.section-wave-after::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0;
  right: 0;
  height: 60px;
  background: var(--surface);
  clip-path: ellipse(55% 100% at 50% 100%);
}

.section-wave-after-cloud::after {
  background: var(--cloud);
}

.section-wave-after-yellow::after {
  background: var(--yellow-light);
}

/* =====================================================
   CONFETTI / BUBBLE ANIMATIONS
   ===================================================== */
@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50%       { transform: translateY(-20px); }
}

@keyframes float-slow {
  0%, 100% { transform: translateY(0px) rotate(0deg); }
  33%       { transform: translateY(-14px) rotate(4deg); }
  66%       { transform: translateY(-6px) rotate(-3deg); }
}

@keyframes bubble-drift {
  0%   { transform: translateY(0) scale(1); opacity: 0.7; }
  50%  { transform: translateY(-30px) scale(1.05); opacity: 1; }
  100% { transform: translateY(0) scale(1); opacity: 0.7; }
}

@keyframes drift {
  0%, 100% { transform: translate(0, 0) rotate(0deg); }
  33%       { transform: translate(12px, -18px) rotate(10deg); }
  66%       { transform: translate(-10px, 9px) rotate(-8deg); }
}

@keyframes bounce-in {
  0%   { transform: scale(0.8) translateY(16px); opacity: 0; }
  60%  { transform: scale(1.06) translateY(-4px); opacity: 1; }
  100% { transform: scale(1) translateY(0); }
}

@keyframes spin-slow {
  0%   { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* Confetti bubbles in hero */
.confetti-field {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 0;
}

.confetti-dot {
  position: absolute;
  border-radius: 50%;
  opacity: 0.18;
  animation: bubble-drift ease-in-out infinite;
}

/* =====================================================
   HERO — HOME
   ===================================================== */
.hero {
  background: linear-gradient(160deg, #00648F 0%, #00527A 55%, var(--ink-dark) 100%);
  padding: 100px 0 0;
  position: relative;
  overflow: hidden;
  min-height: 600px;
}

/* Wavy bottom cut */
.hero-wave {
  position: relative;
  z-index: 1;
  margin-top: 48px;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-text .eyebrow {
  display: inline-block;
  background: var(--seafoam);
  color: var(--ink-dark);
  font-family: 'Atkinson Hyperlegible Next', 'Helvetica Neue', Arial, sans-serif, sans-serif;
  font-weight: 800;
  font-size: 0.82rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 7px 18px;
  border-radius: var(--radius-pill);
  margin-bottom: 22px;
}

.hero-text h1 {
  color: var(--ink);
  margin-bottom: 20px;
}

.hero-text h1 span {
  color: var(--coral);
}

.hero-text .lead {
  font-size: 1.18rem;
  margin-bottom: 36px;
  color: var(--ink-mid);
  max-width: 480px;
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  align-items: center;
}

/* Mascot visual */
.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 24px 0 40px;
}

.hero-mascot {
  font-size: clamp(130px, 18vw, 210px);
  line-height: 1;
  filter: drop-shadow(0 20px 48px rgba(255, 182, 193, 0.22));
  animation: float-slow 5s ease-in-out infinite;
  user-select: none;
  position: relative;
  z-index: 2;
}

.hero-mascot img {
  width: 100%;
  max-width: 340px;
  height: auto;
  filter: drop-shadow(0 18px 36px rgba(0,80,124,0.28));
}

.sports-hero-mascot {
  text-align: center;
  font-size: clamp(120px,16vw,200px);
  filter: drop-shadow(0 20px 48px rgba(0,119,182,0.20));
  animation: float-slow 5s ease-in-out infinite;
  user-select: none;
}

.billy-hero-img {
  width: 220px;
  max-width: 58%;
  height: auto;
  filter: drop-shadow(0 18px 34px rgba(0,0,0,0.38));
}

.hero-bubble {
  position: absolute;
  background: var(--surface);
  border-radius: var(--radius-lg);
  padding: 12px 20px;
  font-family: 'Atkinson Hyperlegible Next', 'Helvetica Neue', Arial, sans-serif, sans-serif;
  font-weight: 800;
  font-size: 0.88rem;
  color: var(--ink);
  box-shadow: var(--shadow-card);
  white-space: nowrap;
  z-index: 3;
  animation: bubble-drift ease-in-out infinite;
}

.bubble-1 {
  top: 12%;
  right: 3%;
  transform: rotate(4deg);
  color: var(--ink);
  animation-duration: 3.8s;
}

.bubble-2 {
  bottom: 18%;
  left: 1%;
  transform: rotate(-3deg);
  color: var(--ink);
  animation-duration: 4.4s;
  animation-delay: 0.8s;
}

/* Wave SVG divider below hero */
.hero-wave-divider {
  display: block;
  width: 100%;
  line-height: 0;
  background: var(--surface);
  position: relative;
  z-index: 1;
  margin-top: -2px;
}

.hero-wave-divider svg {
  display: block;
  width: 100%;
}

/* =====================================================
   CHARACTERS PREVIEW SECTION — HOME
   ===================================================== */
.characters-section {
  background: var(--surface);
}

.characters-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.character-card {
  background: var(--cloud);
  border-radius: var(--radius-lg);
  padding: 36px 24px 32px;
  text-align: center;
  transition: transform 0.28s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow var(--transition);
  border: 2.5px solid transparent;
  cursor: default;
  position: relative;
  overflow: hidden;
}

.character-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--radius-lg);
  background: linear-gradient(160deg, rgba(255,255,255,0.6) 0%, transparent 60%);
  pointer-events: none;
}

.character-card:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: var(--shadow-hover);
  border-color: var(--blue);
}

.character-card:nth-child(1) { border-top: 5px solid var(--blue); }
.character-card:nth-child(2) { border-top: 5px solid #9eb8c8; }
.character-card:nth-child(3) { border-top: 5px solid #b38fd4; }
.character-card:nth-child(4) { border-top: 5px solid var(--coral); }

.character-card .char-emoji {
  font-size: 3.8rem;
  margin-bottom: 18px;
  display: block;
  filter: drop-shadow(0 6px 12px rgba(0,0,0,0.10));
  animation: float-slow 5s ease-in-out infinite;
}

.character-card:nth-child(2) .char-emoji { animation-delay: 0.5s; }
.character-card:nth-child(3) .char-emoji { animation-delay: 1s; }
.character-card:nth-child(4) .char-emoji { animation-delay: 1.5s; }

.character-card .char-name {
  font-family: 'Atkinson Hyperlegible Next', 'Helvetica Neue', Arial, sans-serif, sans-serif;
  font-size: 1.35rem;
  font-weight: 900;
  color: var(--ink);
  margin-bottom: 8px;
}

.character-card .char-role {
  font-size: 0.82rem;
  font-weight: 800;
  color: var(--seafoam-pale);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 14px;
}

.character-card .char-desc {
  font-size: 0.93rem;
  color: var(--ink-light);
  margin: 0;
  line-height: 1.6;
}

/* =====================================================
   WORLD TEASER — HOME
   ===================================================== */
.world-teaser-section {
  background: var(--cloud);
  padding: 80px 0 96px;
}

.world-teaser {
  background: linear-gradient(135deg, var(--blue) 0%, #004f7c 100%);
  color: var(--white);
  border-radius: var(--radius-xl);
  padding: 80px 72px;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-hover);
}

.world-teaser::before {
  content: '🌊';
  position: absolute;
  font-size: 340px;
  opacity: 0.06;
  right: -40px;
  bottom: -80px;
  line-height: 1;
  pointer-events: none;
}

.world-teaser::after {
  content: '🐬';
  position: absolute;
  font-size: 180px;
  opacity: 0.07;
  right: 64px;
  top: -20px;
  line-height: 1;
  pointer-events: none;
}

.world-teaser-inner {
  max-width: 580px;
  position: relative;
  z-index: 1;
}

.world-teaser h2 {
  color: var(--white);
  margin-bottom: 18px;
}

.world-teaser p {
  font-size: 1.08rem;
  color: rgba(255,255,255,0.88);
  margin-bottom: 36px;
  line-height: 1.72;
}

/* =====================================================
   MERCHANDISE TEASER — HOME
   ===================================================== */
.merch-section {
  background: var(--bg-deep);
  position: relative;
}

.merch-section::before {
  content: '';
  position: absolute;
  top: -2px;
  left: 0;
  right: 0;
  height: 60px;
  background: var(--yellow-light);
  clip-path: ellipse(55% 100% at 50% 0%);
}

.merch-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-bottom: 44px;
}

.merch-card {
  background: var(--surface);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  transition: transform 0.28s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow var(--transition);
}

.merch-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: var(--shadow-hover);
}

.merch-card-img {
  background: linear-gradient(135deg, var(--blue-pale) 0%, var(--blue-light) 100%);
  padding: 32px;
  text-align: center;
  font-size: 4rem;
  height: 170px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.merch-card-img.coral-bg {
  background: linear-gradient(135deg, var(--coral-light) 0%, #ffd8d8 100%);
}

.merch-card-img.yellow-bg {
  background: linear-gradient(135deg, var(--yellow-light) 0%, #fff0a0 100%);
}

.merch-card-body {
  padding: 20px 22px 22px;
}

.merch-card-body h4 {
  color: var(--ink);
  margin-bottom: 8px;
  font-size: 1rem;
  font-family: 'Atkinson Hyperlegible Next', 'Helvetica Neue', Arial, sans-serif, sans-serif;
  font-weight: 800;
}

.merch-card-body .price {
  font-size: 1.15rem;
  font-weight: 900;
  font-family: 'Atkinson Hyperlegible Next', 'Helvetica Neue', Arial, sans-serif, sans-serif;
  color: var(--ink-light);
}

/* =====================================================
   SPORTS CALLOUT — HOME  (formerly racing-callout)
   ===================================================== */
.sports-callout {
  background: var(--bg-deep);
  color: var(--white);
  position: relative;
  overflow: hidden;
}

.sports-callout::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: linear-gradient(140deg, rgba(0,119,182,0.18) 0%, rgba(255,107,107,0.12) 100%);
}

/* Keep racing-callout as alias */
.racing-callout {
  background: var(--bg-deep);
  color: var(--white);
  position: relative;
  overflow: hidden;
}

.racing-callout::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: linear-gradient(140deg, rgba(0,119,182,0.18) 0%, rgba(255,107,107,0.12) 100%);
}

.racing-inner,
.sports-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}

.racing-text h2,
.sports-text h2 {
  color: var(--white);
  margin-bottom: 16px;
}

.racing-text p,
.sports-text p {
  color: rgba(255,255,255,0.78);
  font-size: 1.05rem;
  margin-bottom: 30px;
}

.racing-visual,
.sports-visual {
  text-align: center;
  font-size: 8rem;
  filter: drop-shadow(0 0 32px rgba(0, 119, 182, 0.45));
  animation: float-slow 5.5s ease-in-out infinite;
}

/* =====================================================
   NEWSLETTER SECTION
   ===================================================== */
.newsletter-section {
  background: var(--blue-pale);
}

.ck-form-wrapper {
  /* ConvertKit embed container — form injects here once ID is set */
  min-height: 56px;
}

/* =====================================================
   WORLD PAGE
   ===================================================== */
.world-hero {
  background: linear-gradient(160deg, #001e35 0%, #003560 50%, #0066a0 100%);
  color: var(--white);
  padding: 110px 0 130px;
  position: relative;
  overflow: hidden;
}

.world-hero::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  right: 0;
  height: 80px;
  background: var(--cloud);
  clip-path: ellipse(60% 100% at 50% 100%);
}

.world-hero h1 {
  color: var(--yellow);
  text-shadow: 0 0 48px rgba(255, 209, 102, 0.38);
}

.world-hero .lead {
  color: rgba(255,255,255,0.84);
}

.world-particles {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  pointer-events: none;
  overflow: hidden;
}

.world-particles span {
  position: absolute;
  font-size: 1.6rem;
  opacity: 0.14;
  animation: drift 8s ease-in-out infinite;
}

/* The Surge section */
.surge-section {
  background: var(--cloud);
}

.surge-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}

.surge-visual {
  background: linear-gradient(135deg, var(--blue) 0%, #004f7c 100%);
  border-radius: var(--radius-xl);
  padding: 52px 44px;
  text-align: center;
  color: var(--white);
  box-shadow: var(--shadow-card);
}

.surge-visual .surge-icon {
  font-size: 5.5rem;
  display: block;
  margin-bottom: 18px;
  filter: drop-shadow(0 6px 14px rgba(0,0,0,0.18));
}

.surge-visual h3 {
  color: var(--yellow);
  margin-bottom: 14px;
}

.surge-visual p {
  opacity: 0.88;
  font-size: 0.95rem;
  line-height: 1.65;
}

.surge-zones {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 24px;
}

.zone-badge {
  background: rgba(255,255,255,0.13);
  border-radius: var(--radius-md);
  padding: 12px 16px;
  font-family: 'Atkinson Hyperlegible Next', 'Helvetica Neue', Arial, sans-serif, sans-serif;
  font-weight: 700;
  font-size: 0.88rem;
  display: flex;
  align-items: center;
  gap: 10px;
  text-align: left;
  border: 1px solid rgba(255,255,255,0.1);
}

.surge-text h2 {
  color: var(--ink);
  margin-bottom: 22px;
}

.surge-text p {
  color: var(--ink-light);
  margin-bottom: 16px;
  font-size: 1.04rem;
  line-height: 1.72;
}

/* Character bios */
.chars-section {
  background: var(--surface);
}

.char-bio-card {
  background: var(--cloud);
  border-radius: var(--radius-xl);
  padding: 52px;
  margin-bottom: 32px;
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 44px;
  align-items: start;
  border: 2.5px solid transparent;
  transition: border-color var(--transition), box-shadow var(--transition);
}

.char-bio-card:hover {
  border-color: var(--blue-light);
  box-shadow: var(--shadow-card);
}

.char-bio-card.featured {
  background: linear-gradient(145deg, #0E6E9C 0%, #0A5478 100%);
  border-color: var(--blue-light);
}

.char-portrait {
  text-align: center;
}

.char-portrait .portrait-emoji {
  font-size: 7.5rem;
  display: block;
  margin-bottom: 18px;
  filter: drop-shadow(0 8px 16px rgba(0,0,0,0.10));
  animation: float-slow 5s ease-in-out infinite;
}

.char-portrait .portrait-name {
  font-family: 'Atkinson Hyperlegible Next', 'Helvetica Neue', Arial, sans-serif, sans-serif;
  font-size: 1.45rem;
  font-weight: 900;
  color: var(--ink);
  margin-bottom: 8px;
}

.char-portrait .portrait-tag {
  display: inline-block;
  background: var(--seafoam);
  color: var(--ink-dark);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: var(--radius-pill);
}

.char-bio-info h3 {
  color: var(--ink);
  margin-bottom: 18px;
}

.char-bio-info p {
  color: var(--ink-light);
  font-size: 1.02rem;
  line-height: 1.75;
  margin-bottom: 16px;
}

.char-traits {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 20px;
}

.trait-pill {
  background: rgba(255,255,255,0.08);
  color: var(--ink);
  font-family: 'Atkinson Hyperlegible Next', 'Helvetica Neue', Arial, sans-serif, sans-serif;
  font-weight: 800;
  font-size: 0.8rem;
  padding: 5px 14px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border);
}

/* Stories section */
.stories-section {
  background: var(--bg-deep);
}

.stories-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.story-card {
  background: var(--surface);
  border-radius: var(--radius-xl);
  padding: 40px 34px;
  box-shadow: var(--shadow-soft);
  border: 2.5px solid transparent;
  transition: border-color var(--transition), transform 0.28s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow var(--transition);
}

.story-card:hover {
  border-color: var(--yellow);
  transform: translateY(-8px);
  box-shadow: var(--shadow-hover);
}

.story-ep {
  display: inline-block;
  background: var(--yellow);
  color: var(--ink-dark);
  font-family: 'Atkinson Hyperlegible Next', 'Helvetica Neue', Arial, sans-serif, sans-serif;
  font-weight: 900;
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 5px 15px;
  border-radius: var(--radius-pill);
  margin-bottom: 18px;
}

.story-card h3 {
  color: var(--ink);
  margin-bottom: 14px;
  font-size: 1.3rem;
}

.story-card .story-chars {
  display: flex;
  gap: 6px;
  margin-bottom: 16px;
  font-size: 1.55rem;
}

.story-card p {
  color: var(--ink-light);
  font-size: 0.97rem;
  line-height: 1.7;
}

/* =====================================================
   SHOP PAGE
   ===================================================== */
.shop-hero {
  background: linear-gradient(150deg, var(--yellow-light) 0%, #ffe59a 100%);
  padding: 90px 0 72px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.shop-hero::before {
  content: '🛍️';
  position: absolute;
  font-size: 280px;
  opacity: 0.06;
  right: 10%;
  top: -30px;
  pointer-events: none;
}

.shop-hero h1 {
  color: var(--ink);
}

.shop-hero h1 span {
  color: var(--coral);
}

.shop-filter {
  background: var(--surface);
  border-bottom: 2px solid var(--blue-light);
  padding: 20px 0;
  position: sticky;
  top: 72px;
  z-index: 100;
}

.filter-inner {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.filter-label {
  font-family: 'Atkinson Hyperlegible Next', 'Helvetica Neue', Arial, sans-serif, sans-serif;
  font-weight: 800;
  font-size: 0.88rem;
  color: var(--ink-light);
  margin-right: 4px;
}

.filter-btn {
  background: var(--off-white);
  color: var(--ink-mid);
  border: 2px solid var(--blue-light);
  border-radius: var(--radius-pill);
  padding: 8px 20px;
  font-family: 'Atkinson Hyperlegible Next', 'Helvetica Neue', Arial, sans-serif, sans-serif;
  font-weight: 700;
  font-size: 0.875rem;
  cursor: pointer;
  transition: background var(--transition), border-color var(--transition), color var(--transition), transform var(--transition);
}

.filter-btn:hover,
.filter-btn.active {
  background: var(--blue);
  border-color: var(--blue);
  color: var(--white);
  transform: translateY(-2px);
}

.shop-section {
  background: var(--off-white);
}

.shop-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}

.product-card {
  background: var(--surface);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  transition: transform 0.28s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow var(--transition);
  display: flex;
  flex-direction: column;
}

.product-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-hover);
}

.product-img {
  background: linear-gradient(135deg, var(--blue-pale) 0%, var(--blue-light) 100%);
  height: 210px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 5.5rem;
  position: relative;
  flex-shrink: 0;
}

.product-img.coral-bg {
  background: linear-gradient(135deg, var(--coral-light) 0%, #ffd8d8 100%);
}

.product-img.yellow-bg {
  background: linear-gradient(135deg, var(--yellow-light) 0%, #fff0a0 100%);
}

.product-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: var(--seafoam);
  color: var(--ink-dark);
  font-family: 'Atkinson Hyperlegible Next', 'Helvetica Neue', Arial, sans-serif, sans-serif;
  font-weight: 900;
  font-size: 0.7rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: var(--radius-pill);
}

.product-badge.badge-new {
  background: var(--seafoam);
}

.product-body {
  padding: 26px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.product-sku {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--ink-light);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 9px;
  opacity: 0.65;
}

.product-name {
  font-family: 'Atkinson Hyperlegible Next', 'Helvetica Neue', Arial, sans-serif, sans-serif;
  font-size: 1.05rem;
  font-weight: 900;
  color: var(--ink);
  margin-bottom: 9px;
  line-height: 1.3;
}

.product-desc {
  font-size: 0.88rem;
  color: var(--ink-light);
  margin-bottom: 18px;
  flex: 1;
  line-height: 1.6;
}

.product-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
}

.product-price {
  font-family: 'Atkinson Hyperlegible Next', 'Helvetica Neue', Arial, sans-serif, sans-serif;
  font-size: 1.35rem;
  font-weight: 900;
  color: var(--ink-dark);
}

.add-btn {
  background: var(--seafoam);
  color: var(--ink-dark);
  border: none;
  border-radius: var(--radius-pill);
  padding: 10px 20px;
  font-family: 'Atkinson Hyperlegible Next', 'Helvetica Neue', Arial, sans-serif, sans-serif;
  font-weight: 800;
  font-size: 0.85rem;
  cursor: pointer;
  transition: background var(--transition), transform 0.22s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.add-btn:hover {
  background: var(--blue-dark);
  transform: scale(1.06);
}

/* Shop banner */
.shop-banner {
  background: linear-gradient(135deg, var(--blue) 0%, var(--blue-light) 100%);
  color: var(--white);
  border-radius: var(--radius-xl);
  padding: 52px;
  text-align: center;
  margin: 40px 0 0;
  box-shadow: var(--shadow-card);
}

.shop-banner h3 {
  font-family: 'Atkinson Hyperlegible Next', 'Helvetica Neue', Arial, sans-serif, sans-serif;
  font-size: 1.85rem;
  margin-bottom: 14px;
}

.shop-banner p {
  font-size: 1.08rem;
  opacity: 0.9;
  max-width: 500px;
  margin: 0 auto 28px;
}

/* Section heading within shop */
.shop-section h3[id] {
  color: var(--ink);
  margin-bottom: 30px;
  scroll-margin-top: 140px;
  font-family: 'Atkinson Hyperlegible Next', 'Helvetica Neue', Arial, sans-serif, sans-serif;
}

/* =====================================================
   SPORTS HUB PAGE
   ===================================================== */
.sports-hero {
  background: linear-gradient(160deg, #00648F 0%, #00527A 55%, var(--ink-dark) 100%);
  padding: 100px 0 80px;
  position: relative;
  overflow: hidden;
}

.sports-hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}

.sports-hero .eyebrow {
  display: inline-block;
  background: var(--seafoam);
  color: var(--ink-dark);
  font-family: 'Atkinson Hyperlegible Next', 'Helvetica Neue', Arial, sans-serif, sans-serif;
  font-weight: 800;
  font-size: 0.82rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 7px 18px;
  border-radius: var(--radius-pill);
  margin-bottom: 22px;
}

.sports-hero h1 {
  color: var(--ink);
  margin-bottom: 20px;
}

.sports-hero h1 span {
  color: var(--coral);
}

.sports-hub-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.sports-hub-card {
  background: var(--surface);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  transition: transform 0.28s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow var(--transition);
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  border: 2.5px solid transparent;
}

.sports-hub-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-hover);
  border-color: var(--blue-light);
}

.sports-hub-img {
  height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 6rem;
  background: linear-gradient(135deg, #00648F 0%, var(--ink-dark) 100%);
}

.sports-hub-img.racing-bg {
  background: linear-gradient(135deg, #001a2e 0%, #003060 100%);
}

.sports-hub-body {
  padding: 28px 28px 32px;
  flex: 1;
}

.sports-hub-body h3 {
  color: var(--ink);
  margin-bottom: 10px;
  font-size: 1.35rem;
}

.sports-hub-body p {
  color: var(--ink-light);
  font-size: 0.96rem;
  line-height: 1.65;
  margin-bottom: 20px;
}

.sports-hub-body .sports-link {
  font-family: 'Atkinson Hyperlegible Next', 'Helvetica Neue', Arial, sans-serif, sans-serif;
  font-weight: 800;
  font-size: 0.9rem;
  color: var(--seafoam-pale);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: gap var(--transition);
}

.sports-hub-card:hover .sports-link {
  gap: 12px;
}

/* =====================================================
   RACING PAGE
   ===================================================== */
.racing-hero {
  background: linear-gradient(160deg, #0a0f1a 0%, #001a35 50%, #002a50 100%);
  color: var(--white);
  padding: 110px 0 130px;
  position: relative;
  overflow: hidden;
}

.racing-hero::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: repeating-linear-gradient(
    -45deg,
    transparent 0px,
    transparent 22px,
    rgba(0, 119, 182, 0.04) 22px,
    rgba(0, 119, 182, 0.04) 44px
  );
}

.racing-hero::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  right: 0;
  height: 80px;
  background: var(--surface);
  clip-path: ellipse(60% 100% at 50% 100%);
}

.racing-hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}

.racing-hero .eyebrow {
  display: inline-block;
  background: var(--seafoam);
  color: var(--ink-dark);
  font-family: 'Atkinson Hyperlegible Next', 'Helvetica Neue', Arial, sans-serif, sans-serif;
  font-weight: 800;
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 7px 18px;
  border-radius: var(--radius-pill);
  margin-bottom: 22px;
}

.racing-hero h1 {
  color: var(--white);
  margin-bottom: 18px;
}

.racing-hero h1 span {
  color: var(--sky-accent);
}

.racing-hero .lead {
  color: rgba(255,255,255,0.75);
  margin-bottom: 34px;
}

.racing-hero-visual {
  text-align: center;
}

.racing-car-display {
  font-size: 9rem;
  display: block;
  filter: drop-shadow(0 0 44px rgba(0, 119, 182, 0.55));
  animation: float-slow 4.5s ease-in-out infinite;
  margin-bottom: 24px;
}

.team-colors {
  display: flex;
  gap: 14px;
  justify-content: center;
}

.color-swatch {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  border: 3px solid rgba(255,255,255,0.2);
}

/* Racing story */
.racing-story {
  background: var(--surface);
}

.story-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}

.story-grid .story-text h2 {
  color: var(--ink);
  margin-bottom: 22px;
}

.story-grid .story-text p {
  color: var(--ink-light);
  font-size: 1.05rem;
  margin-bottom: 16px;
  line-height: 1.72;
}

.racing-trophy-visual {
  background: linear-gradient(135deg, var(--blue) 0%, #003060 100%);
  border-radius: var(--radius-xl);
  padding: 52px 44px;
  text-align: center;
  color: var(--white);
  box-shadow: var(--shadow-card);
}

.racing-trophy-visual .trophy-icon {
  font-size: 6rem;
  display: block;
  margin-bottom: 18px;
}

.racing-trophy-visual h3 {
  color: var(--yellow);
  margin-bottom: 10px;
}

.racing-trophy-visual p {
  opacity: 0.84;
  font-size: 0.96rem;
  line-height: 1.65;
}

/* Team stats */
.team-stats {
  background: linear-gradient(135deg, var(--blue) 0%, var(--blue-dark) 100%);
  color: var(--white);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  text-align: center;
}

.stat-item .stat-num {
  font-family: 'Atkinson Hyperlegible Next', 'Helvetica Neue', Arial, sans-serif, sans-serif;
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 900;
  color: var(--yellow);
  display: block;
  line-height: 1;
  margin-bottom: 10px;
}

.stat-item .stat-label {
  font-weight: 700;
  font-size: 0.88rem;
  opacity: 0.82;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* Team identity */
.team-identity {
  background: var(--off-white);
}

.identity-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.identity-card {
  background: var(--surface);
  border-radius: var(--radius-xl);
  padding: 40px 34px;
  text-align: center;
  box-shadow: var(--shadow-soft);
  transition: transform 0.28s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow var(--transition);
}

.identity-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
}

.identity-card .identity-icon {
  font-size: 3.5rem;
  margin-bottom: 22px;
  display: block;
}

.identity-card h3 {
  color: var(--ink);
  margin-bottom: 14px;
}

.identity-card p {
  color: var(--ink-light);
  font-size: 0.95rem;
  line-height: 1.68;
}

/* Color band */
.color-band {
  height: 8px;
  background: linear-gradient(90deg, var(--blue) 0%, var(--blue-dark) 33%, var(--coral) 66%, var(--yellow) 100%);
  margin-bottom: 26px;
  border-radius: var(--radius-sm);
}

/* Racing CTA */
.racing-cta {
  background: var(--seafoam);
  color: var(--ink-dark);
  text-align: center;
  padding: 88px 0;
}

.racing-cta h2 {
  color: var(--ink-dark);
  margin-bottom: 18px;
}

.racing-cta p {
  font-size: 1.15rem;
  opacity: 0.9;
  max-width: 560px;
  margin: 0 auto 36px;
}

/* =====================================================
   FOOTER
   ===================================================== */
.site-footer {
  background: #0d1a26;
  color: rgba(255,255,255,0.68);
  padding: 72px 0 36px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 52px;
  margin-bottom: 52px;
}

.footer-brand .footer-logo {
  font-family: 'Atkinson Hyperlegible Next', 'Helvetica Neue', Arial, sans-serif, sans-serif;
  font-size: 1.85rem;
  font-weight: 900;
  color: var(--white);
  margin-bottom: 14px;
  letter-spacing: -0.025em;
}

.footer-brand .footer-logo .logo-tm {
  font-size: 0.6rem;
  vertical-align: super;
  color: var(--coral);
}

.footer-brand p {
  font-size: 0.9rem;
  line-height: 1.65;
  margin-bottom: 20px;
}

.footer-tagline {
  font-style: italic;
  color: var(--sky-accent) !important;
  font-weight: 600;
  margin-bottom: 0 !important;
}

.footer-col h4 {
  font-family: 'Atkinson Hyperlegible Next', 'Helvetica Neue', Arial, sans-serif, sans-serif;
  color: var(--white);
  font-size: 0.88rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 22px;
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 11px;
}

.footer-col ul a {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.56);
  transition: color var(--transition);
}

.footer-col ul a:hover {
  color: var(--sky-accent);
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 30px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-bottom p {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.42);
  margin: 0;
}

.footer-hq {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.32);
}

/* =====================================================
   BADGES / PILLS
   ===================================================== */
.badge {
  display: inline-block;
  font-family: 'Atkinson Hyperlegible Next', 'Helvetica Neue', Arial, sans-serif, sans-serif;
  font-weight: 800;
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 5px 13px;
  border-radius: var(--radius-pill);
}

.badge-blue   { background: var(--blue-pale); color: var(--blue); }
.badge-coral  { background: var(--coral-light); color: var(--badge-coral-text); }
.badge-yellow { background: var(--yellow-light); color: var(--badge-yellow-text); }
.badge-seafoam { background: var(--seafoam-light); color: var(--badge-seafoam-text); }

/* =====================================================
   SCROLL REVEAL
   ===================================================== */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.62s ease, transform 0.62s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* =====================================================
   RESPONSIVE
   ===================================================== */
@media (max-width: 1024px) {
  .characters-grid    { grid-template-columns: repeat(2, 1fr); }
  .merch-grid         { grid-template-columns: repeat(2, 1fr); }
  .shop-grid          { grid-template-columns: repeat(2, 1fr); }
  .sports-hub-grid    { grid-template-columns: repeat(2, 1fr); }
  .footer-grid        { grid-template-columns: 1fr 1fr; gap: 36px; }
}

@media (max-width: 900px) {
  .hero-inner           { grid-template-columns: 1fr; text-align: center; }
  .hero-actions         { justify-content: center; }
  .hero-visual          { order: -1; }

  .racing-inner,
  .sports-inner         { grid-template-columns: 1fr; }

  .racing-hero-inner    { grid-template-columns: 1fr; text-align: center; }
  .sports-hero-inner    { grid-template-columns: 1fr; text-align: center; }

  .surge-grid           { grid-template-columns: 1fr; }
  .story-grid           { grid-template-columns: 1fr; }

  .char-bio-card {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .char-portrait {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .char-traits {
    justify-content: center;
  }

  .stats-grid           { grid-template-columns: repeat(2, 1fr); gap: 24px; }
  .identity-grid        { grid-template-columns: 1fr; }
  .stories-grid         { grid-template-columns: 1fr; }

  .world-teaser {
    padding: 52px 36px;
    border-radius: var(--radius-lg);
  }

  .hero-text .lead      { max-width: 100%; }
}

/* =====================================================
   TOAST NOTIFICATION (shop add-to-bag)
   ===================================================== */
.toast {
  position: fixed;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%) translateY(24px);
  background: #004f7c;
  color: var(--white);
  font-family: 'Atkinson Hyperlegible Next', 'Helvetica Neue', Arial, sans-serif, 'Atkinson Hyperlegible Next', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  padding: 14px 28px;
  border-radius: var(--radius-pill);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.22);
  opacity: 0;
  pointer-events: none;
  white-space: nowrap;
  z-index: 9999;
  transition: opacity 0.28s ease, transform 0.28s ease;
}

.toast.toast-visible {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

@media (max-width: 680px) {
  .section              { padding: 64px 0; }

  .nav-links            { display: none; }
  .nav-toggle           { display: flex; }

  .characters-grid      { grid-template-columns: 1fr 1fr; }
  .merch-grid           { grid-template-columns: 1fr 1fr; }
  .shop-grid            { grid-template-columns: 1fr; }
  .sports-hub-grid      { grid-template-columns: 1fr; }

  .footer-grid          { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom        { flex-direction: column; text-align: center; }

  .racing-car-display   { font-size: 6rem; }
  .world-teaser         { padding: 44px 28px; }
  .char-bio-card        { padding: 32px 22px; }
  .shop-banner          { padding: 40px 28px; }
  .racing-cta           { padding: 64px 0; }
}

@media (max-width: 440px) {
  .characters-grid      { grid-template-columns: 1fr; }
  .merch-grid           { grid-template-columns: 1fr; }
  .hero-mascot          { font-size: 100px; }
  .stats-grid           { grid-template-columns: 1fr 1fr; gap: 16px; }
}

/* ============================================================
   ACCESSIBILITY — focus-visible + reduced motion
   Added 2026-05-13 as part of A+ a11y pass.
   ============================================================ */
:focus-visible {
  outline: 2px solid var(--focus-ring);
  outline-offset: 2px;
  border-radius: 2px;
}
a:focus-visible, button:focus-visible {
  outline: 2px solid var(--focus-ring);
  outline-offset: 3px;
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* =====================================================
   DARK THEME REFINEMENTS  (Popphin-blue page background)
   ===================================================== */
/* Cards lift above same-colour sections */
.character-card, .merch-card, .char-bio-card, .story-card,
.product-card, .sports-hub-card {
  background: #0F6C99;
  border: 1px solid var(--border);
  box-shadow: 0 12px 34px rgba(0, 0, 0, 0.30);
}
/* Names/headings that were Popphin-blue text (invisible on blue) -> light */
.hero-text h1, .char-name, .portrait-name, .product-name,
.story-card h3, .surge-text h2, .section-title, .surge-visual h3 {
  color: var(--ink);
}
.char-role { color: var(--seafoam-pale); }
/* Blue accent text -> light sky */
.text-blue { color: var(--text-blue); }
/* Blue-on-blue badge -> glass */
.badge-blue { background: rgba(255,255,255,0.14); color: var(--ink); border: 1px solid var(--border); }
/* Prices / labels */
.product-price, .price { color: var(--ink); }
/* Chips on dark */
.zone-badge { background: rgba(255,255,255,0.07); border: 1px solid var(--border); color: var(--ink); }
/* Dark-theme merch section arc divider */
.merch-section::before { background: var(--surface); }

/* =====================================================
   BILLY / RUSTHORN CANONICAL PALETTE TOKENS
   Source: Popphin/Franchise_Docs/Catalog_Wide/Palette_System.md LOCKED 2026-07-07
   ===================================================== */
:root {
  /* Billy Bisson Kids Rusthorn — LOCKED */
  --rust:       #DD792C;   /* brand/cover peak — H26° S72% L52%; Franklin (2010) preschool optimized */
  --rust-dark:  #7A3612;   /* dark reading bg — cream 8:1 AAA */
  --rust-gold:  #D9A24B;   /* accent on dark rust */
  --rust-deep:  #5A2810;   /* deep rust — hover / deepest surface */
  /* Popphin book canonical accents — v2.4 LOCKED */
  --amber:      #F4B26A;   /* Pop accent on dark — 5.4:1 AA large */
  --amber-dark: #8B4A0A;   /* Pop accent on cream — 6.91:1 AAA */
  /* Catalog shared cream */
  --cream:      #F4EDDD;   /* shared book cream — AAA on both dark bgs */
}

/* =====================================================
   PRAIRIE PAGE THEME — Billy Bisson world
   Activated via body.prairie-page on billy-bisson/index.html
   Token cascade: overrides :root values for the entire page
   ===================================================== */
body.prairie-page {
  --bg:          #3D1A06;
  --bg-deep:     #2A1105;
  --surface:     #5A3418;
  --surface-alt: #3D1A06;
  --border:      rgba(221,121,44,0.22);
  --cloud:       #4A2810;
  --off-white:   #472614;
  --ink:         #F4EDDD;   /* cream — 8:1 on --rust-dark, AAA */
  --ink-mid:     #DDD0B6;
  --ink-light:   #C8B89A;
  --blue-pale:   #5A3C22;
}

body.prairie-page .site-nav {
  background: rgba(30,10,2,0.92);
  border-bottom-color: rgba(221,121,44,0.35);
}

body.prairie-page .nav-mobile {
  background: var(--surface);
  border-top-color: rgba(221,121,44,0.35);
}

body.prairie-page .world-hero {
  background: linear-gradient(160deg, var(--rust-deep) 0%, var(--rust-dark) 55%, var(--bg-deep) 100%);
}

body.prairie-page .world-hero::after {
  background: var(--cloud);
}

body.prairie-page .world-hero h1 { color: var(--rust-gold); }
body.prairie-page .world-hero .lead { color: rgba(255,255,255,0.88); }

body.prairie-page .surge-section { background: var(--cloud); }

body.prairie-page .surge-visual {
  background: linear-gradient(135deg, var(--rust-dark) 0%, var(--rust-deep) 100%);
}

body.prairie-page .surge-visual h3 { color: var(--rust-gold); }

body.prairie-page .character-card,
body.prairie-page .char-bio-card,
body.prairie-page .story-card,
body.prairie-page .merch-card,
body.prairie-page .sports-hub-card,
body.prairie-page .identity-card {
  background: var(--surface);
  border-color: var(--border);
  box-shadow: 0 12px 34px rgba(0,0,0,0.30);
}

body.prairie-page .char-bio-card.featured {
  background: linear-gradient(145deg, #6B3C15 0%, #5A3418 100%);
  border-color: rgba(221,121,44,0.40);
}

body.prairie-page .char-portrait .portrait-tag {
  background: var(--rust);
  color: var(--cream);
}

body.prairie-page .char-role  { color: var(--rust-gold); }
body.prairie-page .char-name  { color: var(--ink); }
body.prairie-page .trait-pill { background: rgba(255,255,255,0.06); border-color: var(--border); }
body.prairie-page .zone-badge { background: rgba(255,255,255,0.06); border-color: var(--border); }

body.prairie-page .stories-section { background: var(--bg-deep); }

body.prairie-page .story-card:hover { border-color: var(--rust); }
body.prairie-page .story-ep   { background: var(--rust); color: var(--cream); }
body.prairie-page .story-card h3 { color: var(--ink); }

body.prairie-page .btn-secondary {
  background: var(--rust);
  color: var(--cream);
  box-shadow: 0 5px 18px rgba(122,54,18,0.35);
}

body.prairie-page .btn-secondary:hover {
  background: var(--rust-dark);
  box-shadow: 0 10px 28px rgba(122,54,18,0.45);
}

body.prairie-page .btn-white {
  background: var(--cream);
  color: var(--rust-dark);
}

body.prairie-page .btn-white:hover {
  background: #fff8ee;
  color: var(--rust-dark);
}

body.prairie-page .badge-blue {
  background: rgba(221,121,44,0.15);
  color: var(--rust-gold);
  border-color: rgba(221,121,44,0.30);
}

body.prairie-page .chars-section  { background: var(--surface-alt); }
body.prairie-page .char-bio-card:hover { border-color: rgba(221,121,44,0.40); }

/* =====================================================
   RUST BUTTON + BADGE (available globally, not prairie-only)
   ===================================================== */
.btn-rust {
  background: var(--rust);
  color: var(--cream);
  box-shadow: 0 5px 18px rgba(122,54,18,0.35);
}

.btn-rust:hover {
  background: var(--rust-dark);
  box-shadow: 0 10px 28px rgba(122,54,18,0.45);
}

.badge-rust {
  background: rgba(122,54,18,0.22);
  color: var(--rust-gold);
  border: 1px solid rgba(221,121,44,0.30);
}

body.prairie-page .badge-rust {
  background: var(--rust-dark);
  color: var(--cream);
  border: none;
}

/* =====================================================
   WAVE FILL CSS CLASSES
   Use these on SVG <path> elements instead of hardcoding fill="#hex"
   e.g. <path class="wave-fill-bg" d="..."/>
   ===================================================== */
.wave-fill-bg      { fill: var(--bg); }
.wave-fill-surface { fill: var(--surface); }
.wave-fill-cloud   { fill: var(--cloud); }

/* =====================================================
   PLACEHOLDER CARD IMAGE BACKGROUNDS
   Temporary art for game/sports cards not yet designed.
   Values live here (not inline) so there is one place to update.
   ===================================================== */
.card-img-ocean-match    { background: linear-gradient(135deg, #00B4D8 0%, #48CAE4 100%); }
.card-img-prairie-match  { background: linear-gradient(135deg, var(--seafoam) 0%, #A8F0D8 100%); }
.card-img-more-sports    { background: linear-gradient(135deg, var(--seafoam-light) 0%, #A8F0D8 100%); }
.card-img-swipemanager   { background: linear-gradient(135deg, var(--yellow-light) 0%, #FFE59A 100%); }

/* =====================================================
   GAMES LIST LAYOUT
   Horizontal rows: visual left, title + 3 buttons right
   ===================================================== */
.games-list-section { background: var(--surface-alt); }

.game-row {
  display: flex;
  align-items: center;
  gap: 48px;
  padding: 48px 0;
  border-bottom: 1px solid var(--border);
}
.game-row:last-child { border-bottom: none; }

.game-row-visual {
  flex: none;
  width: 240px;
  height: 240px;
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4.5rem;
  box-shadow: var(--shadow-card);
}

.game-row-body { flex: 1; min-width: 0; }

.game-row-label {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-light);
  margin-bottom: 6px;
}

.game-row-body h3 {
  font-family: 'Atkinson Hyperlegible Next', 'Helvetica Neue', Arial, sans-serif, sans-serif;
  font-size: 1.65rem;
  font-weight: 900;
  color: var(--ink);
  margin-bottom: 10px;
}

.game-row-body p {
  color: var(--ink-light);
  font-size: 1rem;
  line-height: 1.65;
  margin-bottom: 24px;
  max-width: 520px;
}

.game-row-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

@media (max-width: 680px) {
  .game-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
  }
  .game-row-visual {
    width: 100%;
    height: 180px;
    border-radius: var(--radius-md);
  }
}
