/* ===== Custom Styles for Main Website ===== */
/* All component styles — design-system.css provides utilities, main.css provides resets. */

/* ============================================================
   CSS CUSTOM PROPERTIES — Stitch Design System Palette
   Source of truth: references/stitch/ Tailwind config
   ============================================================ */
:root {
  /* ---- Named palette (--color-1 … --color-12) ---- */
  --color-1: #69daff;
  --color-2: #72757d;
  --color-3: #2ff801;
  --color-4: #f1f3fc;
  --color-5: #0a0e14;
  --color-6: #262c36;
  --color-7: #44484f;
  --color-8: #1b2028;
  --color-9: #000000;
  --color-10: #0f141a;
  --color-11: #0000ff;
  --color-12: #00ff00;

  /* ---- Surface tokens ---- */
  --surface: var(--color-5);             /* #0a0e14 */
  --surface-dim: #0a0e14;
  --surface-bright: var(--color-6);      /* #262c36 */
  --surface-variant: #20262f;
  --surface-tint: var(--color-1);        /* #69daff */
  --surface-container-lowest: var(--color-9);  /* #000000 */
  --surface-container-low: var(--color-10);    /* #0f141a */
  --surface-container: #151a21;
  --surface-container-high: var(--color-8);    /* #1b2028 */
  --surface-container-highest: #20262f;
  --background: var(--color-5);          /* #0a0e14 */

  /* ---- On-surface tokens ---- */
  --on-surface: var(--color-4);          /* #f1f3fc */
  --on-surface-variant: #a8abb3;
  --on-background: var(--color-4);       /* #f1f3fc */

  /* ---- Primary tokens ---- */
  --primary: var(--color-1);             /* #69daff */
  --primary-container: #00cffc;
  --primary-fixed: #00cffc;
  --primary-fixed-dim: #00c0ea;
  --on-primary: #004a5d;
  --on-primary-container: #004050;
  --on-primary-fixed: #002a35;
  --on-primary-fixed-variant: #004a5c;

  /* ---- Secondary tokens ---- */
  --secondary: var(--color-3);           /* #2ff801 */
  --secondary-container: #106e00;
  --secondary-fixed: #2ff801;
  --secondary-fixed-dim: #2be800;
  --on-secondary: #0b5800;
  --on-secondary-container: #e7ffd9;
  --on-secondary-fixed: #064200;
  --on-secondary-fixed-variant: #0d6200;

  /* ---- Tertiary tokens ---- */
  --tertiary: #ff6e81;
  --tertiary-container: #ff0355;
  --tertiary-fixed: #ff909b;
  --tertiary-fixed-dim: #ff7989;
  --on-tertiary: #490012;
  --on-tertiary-container: #000000;
  --on-tertiary-fixed: #39000c;
  --on-tertiary-fixed-variant: #780023;

  /* ---- Error tokens ---- */
  --error: #ff716c;
  --error-container: #9f0519;
  --on-error: #490006;
  --on-error-container: #ffa8a3;

  /* ---- Outline tokens ---- */
  --outline: var(--color-2);             /* #72757d */
  --outline-variant: var(--color-7);     /* #44484f */

  /* ---- Inverse tokens ---- */
  --inverse-surface: #f8f9ff;
  --inverse-on-surface: #51555c;
  --inverse-primary: #006880;

  /* ---- Fonts ---- */
  --font-headline: 'Space Grotesk', 'Space Grotesk Fallback', system-ui, sans-serif;
  --font-body: 'Manrope', system-ui, sans-serif;
  --font-label: 'Manrope', system-ui, sans-serif;

  /* ---- Layout ---- */
  --max-w: 1200px;
  --gap: 24px;
}

/* ============================================================
   BASE ELEMENT STYLES
   ============================================================ */
body {
  font-family: var(--font-body);
  background: var(--surface);
  color: var(--on-surface);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a {
  color: var(--primary-container);
  text-decoration: none;
  transition: color 0.2s;
}

a:hover {
  color: var(--primary);
}

::selection {
  background: var(--primary-container);
  color: var(--on-primary);
}

/* ============================================================
   NAVIGATION
   ============================================================ */
.site-nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  background: var(--surface);
}

.site-nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 1rem var(--gap);
  position: relative;
}

.site-nav__inner::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(to right, transparent, rgba(60, 73, 76, 0.2), transparent);
}

.site-nav__logo {
  font-family: var(--font-headline);
  font-size: 1.5rem;
  font-weight: 900;
  letter-spacing: -0.04em;
  color: var(--primary-container);
  text-transform: uppercase;
  text-decoration: none;
}

.site-nav__links {
  display: none;
  list-style: none;
  gap: 2rem;
  align-items: center;
}

.site-nav__links a {
  font-family: var(--font-headline);
  font-size: 0.85rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: -0.02em;
  color: var(--on-surface-variant);
  transition: color 0.2s;
}

.site-nav__links a:hover,
.site-nav__links a[aria-current="page"] {
  color: var(--primary-container);
}

.site-nav__links a[aria-current="page"] {
  font-weight: 700;
  border-bottom: 2px solid var(--primary-container);
  padding-bottom: 2px;
}

/* Hamburger toggle (mobile) */
.nav-toggle {
  display: flex;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--on-surface);
  transition: transform 0.2s, opacity 0.2s;
}

/* Mobile nav open state */
.site-nav.open .site-nav__links {
  display: flex;
  flex-direction: column;
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  background: var(--surface);
  padding: 1.5rem var(--gap);
  gap: 1rem;
  border-bottom: 2px solid var(--outline-variant);
}

/* ============================================================
   PARALLAX GRID BACKGROUND (global — top section of every page)
   ============================================================ */
.parallax-grid {
  position: absolute;
  top: -50%;
  left: 0;
  width: 100%;
  height: 200%;
  z-index: 0;
  pointer-events: none;
  will-change: transform;
  background-image:
    linear-gradient(0deg, transparent 24%,
      rgba(105, 218, 255, 0.04) 25%,
      rgba(105, 218, 255, 0.04) 26%,
      transparent 27%, transparent 74%,
      rgba(105, 218, 255, 0.04) 75%,
      rgba(105, 218, 255, 0.04) 76%,
      transparent 77%, transparent),
    linear-gradient(90deg, transparent 24%,
      rgba(105, 218, 255, 0.04) 25%,
      rgba(105, 218, 255, 0.04) 26%,
      transparent 27%, transparent 74%,
      rgba(105, 218, 255, 0.04) 75%,
      rgba(105, 218, 255, 0.04) 76%,
      transparent 77%, transparent);
  background-size: 60px 60px;
  animation: gridDrift 6s linear infinite;
}

@keyframes gridDrift {
  0%   { background-position: 0 0, 0 0; }
  100% { background-position: 60px 60px, 60px 60px; }
}

.scanline-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  opacity: 0.15;
  background:
    linear-gradient(rgba(18,16,16,0) 50%, rgba(0,0,0,0.1) 50%),
    linear-gradient(90deg, rgba(255,0,0,0.02), rgba(0,255,0,0.01), rgba(0,0,255,0.02));
  background-size: 100% 4px, 3px 100%;
}

/* ============================================================
   HERO (Home page)
   ============================================================ */
.hero {
  position: relative;
  padding: 10rem 0 6rem;
  overflow: hidden;
}

.hero__bg-hatch {
  position: absolute;
  top: 0;
  right: 0;
  width: 50%;
  height: 100%;
  opacity: 0.25;
  pointer-events: none;
}

.hero__content {
  position: relative;
  z-index: 2;
  max-width: 720px;
}

.hero__badge {
  display: inline-block;
  background: var(--surface-container);
  color: var(--primary-container);
  font-family: var(--font-headline);
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  padding: 0.35rem 0.85rem;
  border-left: 3px solid var(--primary-container);
  margin-bottom: 1.5rem;
}

.hero__heading {
  font-family: var(--font-headline);
  font-size: clamp(3rem, 8vw, 5.5rem);
  font-weight: 900;
  line-height: 0.92;
  letter-spacing: -0.04em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
}

.hero__sub {
  font-size: 1.15rem;
  color: var(--on-surface-variant);
  max-width: 540px;
  line-height: 1.7;
  margin-bottom: 2.5rem;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-block;
  font-family: var(--font-headline);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: -0.02em;
  padding: 0.9rem 2rem;
  cursor: pointer;
  border: none;
  transition: transform 0.1s, box-shadow 0.1s, background 0.2s, color 0.2s, border-color 0.2s;
  text-decoration: none;
  font-size: 0.95rem;
  line-height: 1;
}

.btn--primary {
  background: var(--primary-container);
  color: var(--on-primary);
  box-shadow: 4px 4px 0 0 var(--primary-fixed-dim);
}

.btn--primary:hover {
  color: var(--on-primary);
  background: var(--primary);
}

.btn--primary:active {
  transform: translate(4px, 4px);
  box-shadow: 0 0 0 0 var(--primary-fixed-dim);
}

.btn--outline {
  background: transparent;
  color: var(--on-surface);
  border: 2px solid var(--outline-variant);
}

.btn--outline:hover {
  border-color: var(--primary-container);
  color: var(--primary-container);
}

.btn--outline:active {
  transform: translate(2px, 2px);
}

/* ============================================================
   SECTION HEADINGS (shared)
   ============================================================ */
.section-label {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}

.section-label__line {
  width: 2.5rem;
  height: 2px;
  background: var(--primary-container);
}

.section-label__text {
  font-family: var(--font-headline);
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--outline);
}

.section-heading {
  font-family: var(--font-headline);
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: -0.03em;
  line-height: 1;
  margin-bottom: 1rem;
}

.section-heading span {
  color: var(--primary-container);
}

.section-rule {
  width: 3rem;
  height: 3px;
  background: var(--primary-container);
  border: none;
  margin-bottom: 2rem;
}

/* ============================================================
   CHIP / TAG
   ============================================================ */
.chip {
  display: inline-block;
  font-family: var(--font-headline);
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.3rem 0.7rem;
  background: var(--surface-container-highest);
  color: var(--on-surface);
  border: 1px solid var(--outline-variant);
}

.chip--accent {
  background: var(--primary-container);
  color: var(--on-primary);
  border-color: transparent;
}

/* ============================================================
   FEATURED GAME SECTION
   ============================================================ */
.featured-game {
  padding: 6rem 0;
  background-color: var(--surface-container-low);
  position: relative;
  overflow: hidden;
}

.featured-game__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
}

.featured-game__visual {
  position: relative;
}

.featured-game__image-frame {
  position: relative;
  border: 3px solid var(--on-surface);
  background: var(--surface-container);
  padding: 0.5rem;
  box-shadow: 8px 8px 0 0 rgba(0, 0, 0, 0.5);
  transform: rotate(-1deg);
  transition: transform 0.5s;
  overflow: hidden;
}

.featured-game__image-frame:hover {
  transform: rotate(0deg);
}

.featured-game__image-frame img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.featured-game__status-badge {
  position: absolute;
  top: -0.75rem;
  right: -0.75rem;
  background: var(--tertiary-container);
  color: var(--on-tertiary-container);
  font-family: var(--font-headline);
  font-size: 0.65rem;
  font-weight: 900;
  text-transform: uppercase;
  padding: 0.4rem 0.65rem;
  z-index: 3;
}

.featured-game__hatch-decor {
  position: absolute;
  bottom: -2rem;
  left: -2rem;
  width: 12rem;
  height: 12rem;
  opacity: 0.4;
  z-index: -1;
}

.featured-game__info {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.featured-game__tagline {
  font-family: var(--font-headline);
  font-size: 1.6rem;
  font-weight: 700;
  line-height: 1.2;
  color: var(--on-surface);
}

.featured-game__desc {
  color: var(--on-surface-variant);
  font-size: 1rem;
  line-height: 1.7;
  max-width: 480px;
}

.featured-game__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

/* ============================================================
   VALUES / PHILOSOPHY SECTION
   ============================================================ */
.values {
  padding: 6rem 0;
  position: relative;
}

.values__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  margin-top: 2rem;
}

.value-card {
  background: var(--surface-container);
  padding: 2rem;
  border-left: 4px solid var(--outline-variant);
  transition: border-color 0.3s, background 0.3s;
  position: relative;
  overflow: hidden;
}

.value-card:hover {
  border-left-color: var(--primary-container);
  background: var(--surface-container-high);
}

.value-card__icon {
  font-size: 2rem;
  color: var(--primary-container);
  margin-bottom: 1rem;
  font-variation-settings: 'FILL' 1, 'wght' 400, 'GRAD' 0, 'opsz' 24;
}

.value-card__title {
  font-family: var(--font-headline);
  font-size: 1.15rem;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
  letter-spacing: -0.02em;
}

.value-card__text {
  font-size: 0.9rem;
  color: var(--on-surface-variant);
  line-height: 1.65;
}

/* ============================================================
   MISSION / QUOTE SECTION
   ============================================================ */
.mission {
  padding: 6rem 0;
  background-color: var(--surface-container-low);
  position: relative;
  overflow: hidden;
}

.mission__inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
}

.mission__accent-panel {
  background: var(--primary-container);
  padding: 3rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.mission__accent-heading {
  font-family: var(--font-headline);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 900;
  text-transform: uppercase;
  line-height: 0.95;
  color: var(--on-primary);
  letter-spacing: -0.03em;
}

.mission__quote-panel {
  background: var(--surface-container);
  padding: 3rem;
  position: relative;
}

.mission__quote-icon {
  position: absolute;
  top: 1rem;
  right: 1.5rem;
  font-size: 4rem;
  color: var(--primary-container);
  opacity: 0.15;
  font-variation-settings: 'FILL' 1;
}

.mission__quote-text {
  font-family: var(--font-headline);
  font-size: clamp(1.15rem, 2.5vw, 1.6rem);
  font-weight: 500;
  line-height: 1.4;
  margin-bottom: 1.5rem;
  position: relative;
  z-index: 1;
}

.mission__quote-cite {
  font-style: normal;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.mission__cite-line {
  width: 2rem;
  height: 2px;
  background: var(--primary-container);
}

.mission__cite-name {
  font-family: var(--font-headline);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.8rem;
  color: var(--primary-container);
}

/* ============================================================
   HERO GLOW EFFECT (Home page)
   ============================================================ */
/* ============================================================
   HERO AURORA — multi-layer gradient light
   ============================================================ */
.hero__aurora {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 80% 50% at 70% 60%, rgba(105, 218, 255, 0.15) 0%, transparent 70%),
    radial-gradient(ellipse 60% 40% at 15% 80%, rgba(47, 248, 1, 0.08) 0%, transparent 60%),
    radial-gradient(ellipse 50% 35% at 80% 15%, rgba(255, 110, 129, 0.06) 0%, transparent 60%);
  animation: auroraDrift 12s ease-in-out infinite alternate;
}

@keyframes auroraDrift {
  0%   { opacity: 0.7; filter: blur(0px); }
  50%  { opacity: 1; }
  100% { opacity: 0.8; filter: blur(0px); }
}

/* ============================================================
   SECTION AMBIENT GRADIENTS — positioned multi-stop radials
   Technique: composited elliptical gradients
   directly on section background-image. No extra divs.
   ============================================================ */

/* Featured Game — cyan lower-left, warm pink upper-right */
.featured-game {
  background-image:
    radial-gradient(ellipse 60% 50% at 0% 100%, rgba(105, 218, 255, 0.1) 0%, transparent 60%),
    radial-gradient(ellipse 50% 40% at 100% 0%, rgba(255, 110, 129, 0.07) 0%, transparent 55%);
  background-color: var(--surface-container-low);
}

/* Pillars — green upper-right glow, subtle cyan bottom wash */
.home-pillars {
  background-image:
    radial-gradient(ellipse 55% 45% at 95% 5%, rgba(47, 248, 1, 0.08) 0%, transparent 55%),
    radial-gradient(ellipse 80% 30% at 50% 100%, rgba(105, 218, 255, 0.05) 0%, transparent 50%);
}

/* Mission — green-cyan edge lighting */
.mission {
  background-image:
    radial-gradient(ellipse 40% 60% at 100% 50%, rgba(47, 248, 1, 0.08) 0%, transparent 55%),
    radial-gradient(ellipse 35% 50% at 0% 30%, rgba(105, 218, 255, 0.06) 0%, transparent 50%);
  background-color: var(--surface-container-low);
}

/* Ethos — pink left edge, green right edge */
.home-ethos {
  background-image:
    radial-gradient(ellipse 40% 60% at 0% 70%, rgba(255, 110, 129, 0.07) 0%, transparent 55%),
    radial-gradient(ellipse 40% 50% at 100% 30%, rgba(47, 248, 1, 0.06) 0%, transparent 55%);
  background-color: var(--surface-container-low);
}

/* CTA — cyan top-left, pink bottom-right, stronger for attention */
.cta {
  background-image:
    radial-gradient(ellipse 60% 50% at 10% 10%, rgba(105, 218, 255, 0.12) 0%, transparent 55%),
    radial-gradient(ellipse 60% 50% at 90% 90%, rgba(255, 3, 85, 0.1) 0%, transparent 55%);
}

/* ============================================================
   SECTION DIVIDER SHIMMER — gradient sweep animation
   Applied via ::after on sections that need visual separation
   ============================================================ */
.featured-game::after,
.home-pillars::after,
.home-ethos::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg,
    transparent 0%,
    rgba(105, 218, 255, 0) 20%,
    rgba(105, 218, 255, 0.4) 50%,
    rgba(105, 218, 255, 0) 80%,
    transparent 100%);
  background-size: 200% 100%;
  animation: shimmerSweep 4s ease-in-out infinite;
}

.home-pillars::after {
  background: linear-gradient(90deg,
    transparent 0%,
    rgba(47, 248, 1, 0) 20%,
    rgba(47, 248, 1, 0.3) 50%,
    rgba(47, 248, 1, 0) 80%,
    transparent 100%);
  background-size: 200% 100%;
}

.home-ethos::after {
  background: linear-gradient(90deg,
    transparent 0%,
    rgba(255, 110, 129, 0) 20%,
    rgba(255, 110, 129, 0.3) 50%,
    rgba(255, 110, 129, 0) 80%,
    transparent 100%);
  background-size: 200% 100%;
}

@keyframes shimmerSweep {
  0%   { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

/* ============================================================
   NOISE TEXTURE OVERLAY — adds film grain depth to all sections
   Uses SVG filter for lightweight procedural noise
   ============================================================ */
.hero::after,
.featured-game::before,
.home-pillars::before,
.mission::before,
.home-ethos::before,
.cta::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  opacity: 0.4;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 200px 200px;
}

/* Mission already uses ::after for shimmer, so use ::before instead */
.mission::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg,
    transparent 0%,
    rgba(105, 218, 255, 0) 20%,
    rgba(105, 218, 255, 0.3) 50%,
    rgba(105, 218, 255, 0) 80%,
    transparent 100%);
  background-size: 200% 100%;
  animation: shimmerSweep 4s ease-in-out infinite;
  z-index: 2;
  pointer-events: none;
  border-radius: 0;
  filter: none;
}

/* ============================================================
   PILLAR CARD BORDER SHIMMER — gradient sweep on hover
   ============================================================ */
.pillar-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border: 1px solid transparent;
  background: linear-gradient(180deg, transparent, rgba(105, 218, 255, 0.3) 50%, transparent) border-box;
  -webkit-mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.4s ease;
  z-index: 1;
  background-size: 100% 300%;
  animation: cardShimmer 3s ease-in-out infinite paused;
}

.pillar-card:hover::before {
  opacity: 1;
  animation-play-state: running;
}

@keyframes cardShimmer {
  0%   { background-position: 0 100%; }
  50%  { background-position: 0 0; }
  100% { background-position: 0 100%; }
}

/* ============================================================
   HERO ENTRANCE ANIMATION
   ============================================================ */
.hero__content .hero__badge,
.hero__content .hero__heading,
.hero__content .hero__sub,
.hero__content .hero__actions {
  opacity: 0;
  transform: translateY(24px);
  animation: heroEntrance 0.6s ease-out forwards;
}

.hero__content .hero__badge   { animation-delay: 0.15s; }
.hero__content .hero__heading { animation-delay: 0.3s; }
.hero__content .hero__sub     { animation-delay: 0.45s; }
.hero__content .hero__actions { animation-delay: 0.6s; }

@keyframes heroEntrance {
  to { opacity: 1; transform: translateY(0); }
}

/* ============================================================
   HERO FLOATING PARTICLES
   ============================================================ */
.hero__particles {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  overflow: hidden;
}

.hero__particle {
  position: absolute;
  width: 4px;
  height: 4px;
  background: var(--primary-container);
  opacity: 0;
  animation: particleFloat 12s ease-in-out infinite;
}

.hero__particle:nth-child(1) { top: 20%; left: 15%; animation-delay: 0s; animation-duration: 10s; }
.hero__particle:nth-child(2) { top: 60%; left: 70%; animation-delay: 2s; animation-duration: 14s; }
.hero__particle:nth-child(3) { top: 35%; left: 85%; animation-delay: 4s; animation-duration: 11s; width: 3px; height: 3px; }
.hero__particle:nth-child(4) { top: 75%; left: 30%; animation-delay: 6s; animation-duration: 13s; width: 5px; height: 5px; }
.hero__particle:nth-child(5) { top: 10%; left: 55%; animation-delay: 1s; animation-duration: 15s; width: 3px; height: 3px; }
.hero__particle:nth-child(6) { top: 50%; left: 45%; animation-delay: 3s; animation-duration: 9s; }

@keyframes particleFloat {
  0%   { opacity: 0; transform: translate(0, 0) scale(0); }
  15%  { opacity: 0.5; transform: translate(10px, -20px) scale(1); }
  50%  { opacity: 0.3; transform: translate(-15px, -40px) scale(0.8); }
  85%  { opacity: 0.5; transform: translate(20px, -60px) scale(1); }
  100% { opacity: 0; transform: translate(0, -80px) scale(0); }
}

/* ============================================================
   SCROLL REVEAL
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.7s ease-out, transform 0.7s ease-out;
}

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

/* ============================================================
   FEATURED GAME IMAGE TILT
   ============================================================ */
.featured-game__image-frame {
  perspective: 800px;
}

.featured-game__image-frame img {
  transition: transform 0.4s ease-out;
}

.featured-game__image-frame:hover img {
  transform: rotateY(-3deg) rotateX(2deg) scale(1.02);
}

/* ============================================================
   PILLAR CARD ICON HOVER BOUNCE
   ============================================================ */
.pillar-card .pillar-card__icon {
  transition: transform 0.3s ease;
}

.pillar-card:hover .pillar-card__icon {
  animation: iconBounce 0.5s ease;
}

@keyframes iconBounce {
  0%   { transform: translateY(0); }
  30%  { transform: translateY(-6px); }
  50%  { transform: translateY(2px); }
  70%  { transform: translateY(-3px); }
  100% { transform: translateY(0); }
}

/* ============================================================
   ETHOS STAT HOVER GLOW
   ============================================================ */
.ethos-stat:hover {
  box-shadow: 0 0 20px rgba(105, 218, 255, 0.1);
}

/* ============================================================
   HERO HEADING ACCENT — COLOR SWEEP
   ============================================================ */
.hero__heading span {
  background: linear-gradient(
    90deg,
    var(--primary-container) 0%,
    var(--secondary) 40%,
    var(--primary) 80%,
    var(--primary-container) 100%
  );
  background-size: 300% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: colorSweep 4s ease-in-out infinite;
}

@keyframes colorSweep {
  0%   { background-position: 100% 50%; }
  50%  { background-position: 0% 50%; }
  100% { background-position: 100% 50%; }
}

/* ============================================================
   SECTION HEADING — ANIMATED RULE DRAW ON REVEAL
   ============================================================ */
.reveal .section-rule {
  width: 0;
  transition: width 0.8s cubic-bezier(0.22, 1, 0.36, 1) 0.3s;
}

.reveal.revealed .section-rule {
  width: 3rem;
}

.reveal .section-label__line {
  width: 0;
  transition: width 0.6s cubic-bezier(0.22, 1, 0.36, 1) 0.15s;
}

.reveal.revealed .section-label__line {
  width: 2.5rem;
}

/* ============================================================
   PILLAR CARDS — STAGGERED REVEAL
   ============================================================ */
.revealed .pillar-card {
  opacity: 1;
  transform: translateY(0);
}

.revealed .pillar-card:nth-child(1) { transition-delay: 0.05s; }
.revealed .pillar-card:nth-child(2) { transition-delay: 0.15s; }
.revealed .pillar-card:nth-child(3) { transition-delay: 0.25s; }
.revealed .pillar-card:nth-child(4) { transition-delay: 0.35s; }
.revealed .pillar-card:nth-child(5) { transition-delay: 0.45s; }

/* ============================================================
   FEATURED GAME STATUS BADGE — LIVE PULSE
   ============================================================ */
.featured-game__status-badge {
  animation: badgePulse 2s ease-in-out infinite;
}

.featured-game__status-badge::before {
  content: '';
  display: inline-block;
  width: 6px;
  height: 6px;
  background: currentColor;
  border-radius: 50%;
  margin-right: 0.4rem;
  vertical-align: middle;
  animation: dotBlink 1.5s ease-in-out infinite;
}

@keyframes badgePulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(255, 3, 85, 0.4); }
  50%      { box-shadow: 0 0 12px 2px rgba(255, 3, 85, 0.25); }
}

@keyframes dotBlink {
  0%, 100% { opacity: 1; }
  50%      { opacity: 0.3; }
}

/* ============================================================
   MISSION ACCENT PANEL — WIPE REVEAL
   ============================================================ */
.mission.reveal .mission__accent-panel {
  clip-path: inset(0 100% 0 0);
  transition: clip-path 0.8s cubic-bezier(0.22, 1, 0.36, 1) 0.2s;
}

.mission.revealed .mission__accent-panel {
  clip-path: inset(0 0 0 0);
}

.mission.reveal .mission__quote-panel {
  opacity: 0;
  transform: translateX(30px);
  transition: opacity 0.7s ease-out 0.5s, transform 0.7s ease-out 0.5s;
}

.mission.revealed .mission__quote-panel {
  opacity: 1;
  transform: translateX(0);
}

/* (CTA border glow replaced by shimmer sweep system) */

/* ============================================================
   ETHOS STATS — COUNTER STAGGER
   ============================================================ */
.revealed .ethos-stat {
  opacity: 1;
  transform: scale(1) translateY(0);
}

.revealed .ethos-stat:nth-child(1) { transition-delay: 0.1s; }
.revealed .ethos-stat:nth-child(2) { transition-delay: 0.25s; }
.revealed .ethos-stat:nth-child(3) { transition-delay: 0.4s; }

/* ============================================================
   HOME PILLARS — BENTO GRID (Home page)
   ============================================================ */
.home-pillars {
  padding: 6rem 0;
  position: relative;
  overflow: hidden;
}

.home-pillars__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  margin-top: 2rem;
}

.pillar-card {
  background: var(--surface-container);
  padding: 2rem;
  border: 2px solid var(--outline-variant);
  position: relative;
  overflow: hidden;
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out,
              border-color 0.3s, background 0.3s;
}

.pillar-card:hover {
  border-color: var(--primary-container);
  background: var(--surface-container-high);
}

.pillar-card__icon {
  font-size: 2.25rem;
  color: var(--primary-container);
  margin-bottom: 1rem;
  display: block;
}

.pillar-card__title {
  font-family: var(--font-headline);
  font-size: 1.15rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: -0.02em;
  margin-bottom: 0.5rem;
}

.pillar-card__text {
  font-size: 0.9rem;
  color: var(--on-surface-variant);
  line-height: 1.65;
}

.pillar-card--feature {
  border-color: var(--primary-container);
  border-width: 2px;
}

.pillar-card--feature .pillar-card__icon {
  font-size: 3rem;
}

.pillar-card--feature .pillar-card__title {
  font-size: 1.5rem;
}

.pillar-card--feature .pillar-card__text {
  font-size: 1rem;
  max-width: 540px;
}

.pillar-card__accent-line {
  width: 4rem;
  height: 3px;
  background: var(--primary-container);
  margin-top: 1.5rem;
}

.pillar-card--accent {
  background: var(--secondary);
  color: var(--on-secondary);
  border-color: var(--secondary);
}

.pillar-card--accent:hover {
  background: var(--secondary-fixed-dim);
  border-color: var(--secondary-fixed-dim);
}

.pillar-card--accent .pillar-card__icon {
  color: var(--on-secondary);
}

.pillar-card--accent .pillar-card__text {
  color: var(--on-secondary);
  opacity: 0.85;
}

/* ============================================================
   MISSION VISION TEXT
   ============================================================ */
.mission__vision-text {
  color: var(--on-surface-variant);
  font-size: 0.95rem;
  line-height: 1.7;
  margin-top: 1.5rem;
  max-width: 480px;
}

/* ============================================================
   HOME ETHOS SECTION
   ============================================================ */
.home-ethos {
  padding: 6rem 0;
  background-color: var(--surface-container-low);
  position: relative;
  overflow: hidden;
}

.home-ethos__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  margin-top: 2rem;
}

.home-ethos__prose {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-width: 560px;
}

.home-ethos__prose p {
  color: var(--on-surface-variant);
  font-size: 1.05rem;
  line-height: 1.75;
}

.home-ethos__stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.ethos-stat {
  background: var(--surface-container);
  border: 2px solid var(--outline-variant);
  padding: 1.5rem 1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 0.75rem;
  opacity: 0;
  transform: scale(0.85) translateY(20px);
  transition: opacity 0.5s ease-out, transform 0.5s cubic-bezier(0.22, 1, 0.36, 1),
              border-color 0.3s, box-shadow 0.3s;
}

.ethos-stat:hover {
  border-color: var(--primary-container);
}

.ethos-stat__icon {
  font-size: 2rem;
  color: var(--primary-container);
}

.ethos-stat__label {
  font-family: var(--font-headline);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--on-surface-variant);
  line-height: 1.4;
}

/* ============================================================
   CTA SECTION
   ============================================================ */
.cta {
  padding: 7rem 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

/* (CTA top line replaced by noise overlay + shimmer system) */

.cta__heading {
  font-family: var(--font-headline);
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: -0.04em;
  line-height: 0.95;
  margin-bottom: 1.5rem;
}

.cta__heading span {
  color: var(--primary-container);
}

.cta__sub {
  color: var(--on-surface-variant);
  font-size: 1.1rem;
  max-width: 480px;
  margin: 0 auto 2.5rem;
  line-height: 1.6;
}

.cta__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
}

.cta__hatch {
  position: absolute;
  width: 16rem;
  height: 16rem;
  opacity: 0.08;
  pointer-events: none;
}

.cta__hatch--left {
  top: -3rem;
  left: -3rem;
  transform: rotate(-45deg);
}

.cta__hatch--right {
  bottom: -3rem;
  right: -3rem;
  transform: rotate(45deg);
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: var(--surface-container-lowest);
  padding: 3rem 0;
}

.site-footer__inner {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  align-items: center;
  text-align: center;
}

.site-footer__brand {
  font-family: var(--font-headline);
  font-size: 1rem;
  font-weight: 700;
  color: var(--on-surface-variant);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.site-footer__links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem;
  list-style: none;
}

.site-footer__links a {
  font-family: var(--font-body);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--on-surface-variant);
  transition: color 0.2s;
}

.site-footer__links a:hover {
  color: var(--primary-container);
}

.site-footer__legal {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.25rem;
  list-style: none;
}

.site-footer__legal a {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--outline);
  transition: color 0.2s;
}

.site-footer__legal a:hover {
  color: var(--on-surface-variant);
}

.site-footer__copy {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--outline);
  opacity: 0.6;
}

/* ============================================================
   PAGE HERO (inner pages: About, Games, Press, Contact)
   ============================================================ */
.page-hero {
  position: relative;
  padding: 9rem 0 4rem;
  overflow: hidden;
}

.page-hero__bg-hatch {
  position: absolute;
  top: 0;
  right: 0;
  width: 50%;
  height: 100%;
  opacity: 0.15;
  pointer-events: none;
}

.page-hero__content {
  position: relative;
  z-index: 2;
  max-width: 680px;
}

.page-hero__heading {
  font-family: var(--font-headline);
  font-size: clamp(2.5rem, 7vw, 4.5rem);
  font-weight: 900;
  line-height: 0.92;
  letter-spacing: -0.04em;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
}

.page-hero__heading span {
  color: var(--primary-container);
}

.page-hero__sub {
  font-size: 1.1rem;
  color: var(--on-surface-variant);
  max-width: 520px;
  line-height: 1.7;
}

/* ============================================================
   ABOUT PAGE
   ============================================================ */
.about-section {
  padding: 5rem 0;
}

.about-section--alt {
  background: var(--surface-container-low);
}

.about-prose {
  max-width: 720px;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.about-prose p {
  color: var(--on-surface-variant);
  font-size: 1.05rem;
  line-height: 1.75;
}

/* Quotes grid (About page) */
.quotes-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  margin-top: 2rem;
}

.quote-card {
  background: var(--surface-container);
  padding: 2.5rem;
  border-left: 4px solid var(--outline-variant);
  position: relative;
  transition: border-color 0.3s, background 0.3s;
}

.quote-card:hover {
  border-left-color: var(--primary-container);
  background: var(--surface-container-high);
}

.quote-card__icon {
  position: absolute;
  top: 1rem;
  right: 1.25rem;
  font-size: 2.5rem;
  color: var(--primary-container);
  opacity: 0.12;
  font-variation-settings: 'FILL' 1;
}

.quote-card__text {
  font-family: var(--font-headline);
  font-size: 1.15rem;
  font-weight: 500;
  line-height: 1.5;
  margin-bottom: 1rem;
  position: relative;
  z-index: 1;
}

.quote-card__cite {
  font-style: normal;
  font-family: var(--font-headline);
  font-weight: 700;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--primary-container);
}

/* ============================================================
   GAMES PAGE
   ============================================================ */
.game-details {
  display: flex;
  flex-direction: column;
}

.game-detail-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--outline-variant);
}

.game-detail-row:last-child {
  border-bottom: none;
}

.game-detail-row__label {
  font-family: var(--font-headline);
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--outline);
}

.game-detail-row__value {
  font-weight: 500;
  color: var(--on-surface);
  font-size: 0.9rem;
}

/* ============================================================
   PRESS PAGE
   ============================================================ */
.press-section {
  padding: 5rem 0;
}

.press-section--alt {
  background: var(--surface-container-low);
}

.press-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
}

.press-factsheet {
  display: flex;
  flex-direction: column;
}

.factsheet-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--outline-variant);
}

.factsheet-row:first-child {
  border-top: 1px solid var(--outline-variant);
}

.factsheet-row__label {
  font-family: var(--font-headline);
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--outline);
}

.factsheet-row__value {
  font-weight: 500;
  color: var(--on-surface);
  font-size: 0.9rem;
}

.press-description {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.press-description__heading {
  font-family: var(--font-headline);
  font-size: 1.1rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: -0.02em;
  color: var(--on-surface);
}

.press-description p {
  color: var(--on-surface-variant);
  font-size: 0.95rem;
  line-height: 1.7;
}

.press-screenshot {
  border: 3px solid var(--outline-variant);
  background: var(--surface-container);
  padding: 0.4rem;
  transition: border-color 0.3s;
}

.press-screenshot:hover {
  border-color: var(--primary-container);
}

.press-screenshot img {
  width: 100%;
  display: block;
}

/* Brand color swatches (Press page) */
.brand-colors-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin-top: 2rem;
}

.brand-color-swatch {
  aspect-ratio: 16 / 9;
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
  padding: 1rem;
  border: 2px solid var(--outline-variant);
}

.brand-color-swatch__label {
  font-family: var(--font-headline);
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  line-height: 1.4;
  color: var(--on-surface);
}

/* ============================================================
   CONTACT PAGE
   ============================================================ */
.contact-section {
  padding: 5rem 0;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
}

.contact-form-wrap {
  /* Wrapper for the contact form area */
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.form-label {
  font-family: var(--font-headline);
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--outline);
}

.form-input {
  background: var(--surface-container);
  border: 2px solid var(--outline-variant);
  color: var(--on-surface);
  font-family: var(--font-body);
  font-size: 0.95rem;
  padding: 0.85rem 1rem;
  transition: border-color 0.2s, box-shadow 0.2s;
  width: 100%;
  outline: none;
  -webkit-appearance: none;
  border-radius: 0;
}

.form-input:focus {
  border-color: var(--primary-container);
  box-shadow: 0 0 0 1px var(--primary-container);
}

.form-input::placeholder {
  color: var(--outline);
}

.form-textarea {
  resize: vertical;
  min-height: 140px;
}

select.form-input {
  cursor: pointer;
}

.contact-aside {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.contact-card {
  background: var(--surface-container);
  padding: 2rem;
  border-left: 4px solid var(--outline-variant);
  transition: border-color 0.3s, background 0.3s;
}

.contact-card:hover {
  border-left-color: var(--primary-container);
  background: var(--surface-container-high);
}

.contact-card__icon {
  font-size: 1.75rem;
  color: var(--primary-container);
  margin-bottom: 0.75rem;
  font-variation-settings: 'FILL' 1, 'wght' 400, 'GRAD' 0, 'opsz' 24;
}

.contact-card__title {
  font-family: var(--font-headline);
  font-size: 1rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: -0.02em;
  margin-bottom: 0.4rem;
}

.contact-card__text {
  font-size: 0.85rem;
  color: var(--on-surface-variant);
  line-height: 1.6;
}

/* ============================================================
   LEGAL PAGES (Terms, Privacy)
   ============================================================ */
.legal-page {
  padding: 9rem 0 4rem;
}

.legal-page__header {
  margin-bottom: 3rem;
  padding-bottom: 2rem;
  border-bottom: 2px solid var(--outline-variant);
}

.legal-page__title {
  font-family: var(--font-headline);
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: -0.03em;
  margin-bottom: 0.5rem;
}

.legal-page__date {
  font-family: var(--font-headline);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--outline);
}

.legal-page__body {
  max-width: 720px;
}

.legal-page__body h2 {
  font-family: var(--font-headline);
  font-size: 1.2rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: -0.02em;
  margin-top: 2.5rem;
  margin-bottom: 0.75rem;
  color: var(--on-surface);
}

.legal-page__body p {
  color: var(--on-surface-variant);
  font-size: 0.95rem;
  line-height: 1.75;
  margin-bottom: 1rem;
}

.legal-page__body ul {
  list-style: none;
  padding: 0;
  margin-bottom: 1rem;
}

.legal-page__body ul li {
  color: var(--on-surface-variant);
  font-size: 0.95rem;
  line-height: 1.75;
  padding-left: 1.25rem;
  position: relative;
  margin-bottom: 0.5rem;
}

.legal-page__body ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.65em;
  width: 6px;
  height: 2px;
  background: var(--primary-container);
}

.legal-page__body hr {
  width: 3rem;
  height: 2px;
  background: var(--outline-variant);
  border: none;
  margin: 3rem 0 1.5rem;
}

.legal-page__disclaimer {
  font-size: 0.8rem;
  color: var(--outline);
}

/* ============================================================
   RESPONSIVE — MOBILE-FIRST BREAKPOINTS
   ============================================================ */

/* ---- Tablet (768px+) ---- */
@media (min-width: 768px) {
  /* Nav: show desktop links, hide toggle */
  .site-nav__links {
    display: flex;
  }

  .nav-toggle {
    display: none;
  }

  /* Home sections */
  .featured-game__grid {
    grid-template-columns: 1fr 1fr;
  }

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

  .mission__inner {
    grid-template-columns: 2fr 3fr;
  }

  /* Footer: horizontal layout */
  .site-footer__inner {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }

  .site-footer__links {
    gap: 2rem;
  }

  /* Inner pages */
  .quotes-grid {
    grid-template-columns: 1fr 1fr;
  }

  .quotes-grid .quote-card:last-child {
    grid-column: 1 / -1;
  }

  .press-grid {
    grid-template-columns: 1fr 2fr;
  }

  .contact-grid {
    grid-template-columns: 3fr 2fr;
  }

  .brand-colors-row {
    grid-template-columns: repeat(4, 1fr);
  }

  /* Home pillars bento — tablet */
  .home-pillars__grid {
    grid-template-columns: repeat(12, 1fr);
    gap: 1rem;
  }

  .pillar-card--feature {
    grid-column: span 8;
  }

  .pillar-card--accent {
    grid-column: span 4;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
  }

  .pillar-card:not(.pillar-card--feature):not(.pillar-card--accent) {
    grid-column: span 4;
  }

  /* Home ethos — tablet */
  .home-ethos__grid {
    grid-template-columns: 1fr 1fr;
    align-items: start;
  }
}

/* ---- Desktop (1024px+) ---- */
@media (min-width: 1024px) {
  .hero {
    padding: 12rem 0 8rem;
  }

  .values__grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .page-hero {
    padding: 11rem 0 5rem;
  }

  .quotes-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .quotes-grid .quote-card:last-child {
    grid-column: auto;
  }
}

/* ============================================================
   GAMES PAGE v2 — HERO STATS, ROSTER, PIPELINE
   Mobile-first. Breakpoints for this block live at the bottom.
   ============================================================ */

/* ---- Hero stat strip ---- */
.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem 2.5rem;
  margin-top: 2.5rem;
  padding-top: 1.75rem;
  border-top: 1px solid var(--outline-variant);
}

.hero-stat {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.hero-stat__num {
  font-family: var(--font-headline);
  font-size: 2rem;
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.04em;
  color: var(--primary-container);
}

.hero-stat__label {
  font-family: var(--font-headline);
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--outline);
}

/* ---- Status pill ---- */
.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-headline);
  font-size: 0.65rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  padding: 0.35rem 0.75rem;
  border: 1px solid var(--outline-variant);
  color: var(--on-surface-variant);
  background: var(--surface-container-high);
  white-space: nowrap;
}

.status-pill::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
  flex: none;
}

.status-pill--dev {
  color: var(--secondary);
  border-color: rgba(47, 248, 1, 0.4);
  background: rgba(47, 248, 1, 0.07);
}

.status-pill--dev::before {
  animation: dotBlink 1.5s ease-in-out infinite;
}

.status-pill--concept {
  color: var(--primary);
  border-color: rgba(105, 218, 255, 0.35);
  background: rgba(105, 218, 255, 0.07);
}

/* ---- Roster section ---- */
.games-roster {
  padding: 5rem 0 6rem;
  position: relative;
  overflow: hidden;
  background-color: var(--surface-container-low);
  background-image:
    radial-gradient(ellipse 60% 50% at 0% 0%, rgba(105, 218, 255, 0.09) 0%, transparent 60%),
    radial-gradient(ellipse 55% 45% at 100% 100%, rgba(47, 248, 1, 0.06) 0%, transparent 55%);
}

.roster-list {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
  margin-top: 2.5rem;
}

.game-entry {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  padding: 1.5rem;
  background: var(--surface-container);
  border: 2px solid var(--outline-variant);
  transition: border-color 0.3s ease, background 0.3s ease;
}

.game-entry:hover {
  border-color: var(--primary-container);
  background: var(--surface-container-high);
}

.game-entry__index {
  position: absolute;
  top: 0.75rem;
  right: 1rem;
  font-family: var(--font-headline);
  font-size: 3.5rem;
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.05em;
  color: var(--on-surface);
  opacity: 0.06;
  pointer-events: none;
  user-select: none;
}

.game-entry__media {
  position: relative;
}

.game-entry__frame {
  position: relative;
  border: 3px solid var(--on-surface);
  background: var(--surface-container-lowest);
  padding: 0.4rem;
  box-shadow: 8px 8px 0 0 rgba(0, 0, 0, 0.5);
  overflow: hidden;
}

.game-entry__frame img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  transition: transform 0.5s ease-out;
}

.game-entry:hover .game-entry__frame img {
  transform: scale(1.03);
}

/* Procedural art panel for titles without a screenshot yet */
.game-art {
  position: relative;
  aspect-ratio: 16 / 10;
  display: grid;
  place-items: center;
  overflow: hidden;
  background-color: var(--surface-container-lowest);
  background-image:
    linear-gradient(0deg, transparent 24%, rgba(105, 218, 255, 0.07) 25%, rgba(105, 218, 255, 0.07) 26%, transparent 27%, transparent 74%, rgba(105, 218, 255, 0.07) 75%, rgba(105, 218, 255, 0.07) 76%, transparent 77%, transparent),
    linear-gradient(90deg, transparent 24%, rgba(105, 218, 255, 0.07) 25%, rgba(105, 218, 255, 0.07) 26%, transparent 27%, transparent 74%, rgba(105, 218, 255, 0.07) 75%, rgba(105, 218, 255, 0.07) 76%, transparent 77%, transparent);
  background-size: 44px 44px;
}

.game-art::after {
  content: '';
  position: absolute;
  width: 65%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 144, 155, 0.3) 0%, rgba(255, 144, 155, 0.08) 45%, transparent 68%);
  animation: lampGlow 6s ease-in-out infinite;
  pointer-events: none;
}

.game-art__icon {
  position: relative;
  z-index: 1;
  font-size: 3.25rem;
  color: var(--tertiary-fixed);
  font-variation-settings: 'FILL' 1;
}

.game-art__caption {
  position: absolute;
  bottom: 0.85rem;
  left: 0;
  width: 100%;
  text-align: center;
  z-index: 1;
  font-family: var(--font-headline);
  font-size: 0.6rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--outline);
}

@keyframes lampGlow {
  0%, 100% { opacity: 0.55; transform: scale(0.95); }
  50%      { opacity: 1; transform: scale(1.05); }
}

/* ---- Roster entry body ---- */
.game-entry__body {
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
  min-width: 0;
}

.game-entry__eyebrow {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
}

.game-entry__title {
  font-family: var(--font-headline);
  font-size: clamp(1.6rem, 4vw, 2.25rem);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: -0.03em;
  line-height: 1;
}

.game-entry__title span {
  color: var(--primary-container);
}

.game-entry__tagline {
  font-family: var(--font-headline);
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.35;
  color: var(--on-surface);
  margin-top: -0.4rem;
}

.game-entry__desc {
  color: var(--on-surface-variant);
  font-size: 0.98rem;
  line-height: 1.75;
}

.game-entry__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.game-entry__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 0.25rem;
}

/* Promise list (no ads, no popups, pay once) */
.promise-list {
  list-style: none;
  display: grid;
  gap: 0.6rem;
  padding: 1.1rem 1.25rem;
  background: var(--surface-container-lowest);
  border-left: 3px solid var(--primary-container);
}

.promise-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  font-size: 0.9rem;
  line-height: 1.55;
  color: var(--on-surface-variant);
}

.promise-list .material-symbols-outlined {
  font-size: 1.1rem;
  line-height: 1.4;
  color: var(--secondary);
  flex: none;
}

/* ---- Pipeline / roadmap ---- */
.pipeline {
  padding: 5rem 0;
  position: relative;
  overflow: hidden;
}

.pipeline__track {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  margin-top: 2rem;
}

.pipeline-step {
  position: relative;
  background: var(--surface-container);
  border-top: 3px solid var(--outline-variant);
  padding: 1.5rem 1.35rem;
  transition: border-color 0.3s ease, background 0.3s ease, transform 0.3s ease;
}

.pipeline-step:hover,
.reveal.revealed .pipeline-step:hover {
  background: var(--surface-container-high);
  transform: translateY(-3px);
}

.pipeline-step--done {
  border-top-color: var(--primary-container);
}

.pipeline-step--active {
  border-top-color: var(--secondary);
  background: var(--surface-container-high);
}

.pipeline-step__num {
  font-family: var(--font-headline);
  font-size: 0.7rem;
  font-weight: 900;
  letter-spacing: 0.18em;
  color: var(--outline);
  display: block;
  margin-bottom: 0.6rem;
}

.pipeline-step--active .pipeline-step__num {
  color: var(--secondary);
}

.pipeline-step__title {
  font-family: var(--font-headline);
  font-size: 1.05rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: -0.02em;
  margin-bottom: 0.5rem;
}

.pipeline-step__text {
  font-size: 0.88rem;
  line-height: 1.65;
  color: var(--on-surface-variant);
}

.pipeline-step__flag {
  display: inline-block;
  margin-top: 0.9rem;
  font-family: var(--font-headline);
  font-size: 0.6rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--on-secondary-container);
}

/* ---- Staggered reveal for roster + pipeline ---- */
.reveal .game-entry,
.reveal .pipeline-step {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out,
              border-color 0.3s ease, background 0.3s ease;
}

.reveal.revealed .game-entry,
.reveal.revealed .pipeline-step {
  opacity: 1;
  transform: translateY(0);
}

.revealed .game-entry:nth-child(1),
.revealed .pipeline-step:nth-child(1) { transition-delay: 0.05s; }
.revealed .game-entry:nth-child(2),
.revealed .pipeline-step:nth-child(2) { transition-delay: 0.15s; }
.revealed .pipeline-step:nth-child(3) { transition-delay: 0.25s; }
.revealed .pipeline-step:nth-child(4) { transition-delay: 0.35s; }

/* Clear the stagger delay on hover so interaction feels instant */
.revealed .game-entry:hover,
.revealed .pipeline-step:hover {
  transition-delay: 0s;
}

/* ---- Games page responsive ---- */
@media (min-width: 768px) {
  .game-entry {
    grid-template-columns: 1.05fr 1fr;
    align-items: center;
    gap: 2.5rem;
    padding: 2rem;
  }

  .game-entry--reverse .game-entry__media {
    order: 2;
  }

  .game-entry__index {
    font-size: 5rem;
    top: 0.5rem;
    right: 1.5rem;
  }

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

@media (min-width: 1024px) {
  .games-roster {
    padding: 6rem 0 7rem;
  }

  .roster-list {
    gap: 3.5rem;
  }

  .pipeline__track {
    grid-template-columns: repeat(4, 1fr);
  }

  .hero-stats {
    gap: 3rem;
  }
}

/* Diagonal hatch decoration for the CTA corner panels */
.cta__hatch {
  background-image: repeating-linear-gradient(
    45deg,
    var(--primary-container) 0,
    var(--primary-container) 1px,
    transparent 1px,
    transparent 9px
  );
}

@media (prefers-reduced-motion: reduce) {
  .game-art::after,
  .status-pill--dev::before {
    animation: none;
  }

  .reveal .game-entry,
  .reveal .pipeline-step {
    opacity: 1;
    transform: none;
  }
}

/* ============================================================
   DOWNLOAD PORCHLIGHT PAGE
   Hero lockup, store buttons, platform cards, learn-more panel.
   Mobile-first. Breakpoints live at the bottom of this block.
   ============================================================ */

/* Step track is an ordered list; the step numbers are rendered in markup,
   so the default list markers are redundant. */
.pipeline__track {
  list-style: none;
}

/* ---- Hero layout ---- */
.page-hero--download {
  padding: 9rem 0 4.5rem;
}

.dl-hero__grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
}

.dl-hero__content {
  max-width: 620px;
}

.dl-hero__visual {
  position: relative;
  display: flex;
  justify-content: flex-start;
}

/* ---- Porchlight logo lockup ---- */
.porchlight-lockup {
  position: relative;
  width: 100%;
  max-width: 420px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.25rem;
  padding: 2rem 1.5rem;
  background-color: var(--surface-container-low);
  border: 2px solid var(--outline-variant);
  box-shadow: 6px 6px 0 0 rgba(105, 218, 255, 0.15);
}

.porchlight-mark {
  width: 100%;
  max-width: 220px;
  height: auto;
  display: block;
}

.pl-frame {
  fill: none;
  stroke: var(--outline-variant);
  stroke-width: 2;
}

.pl-tick {
  fill: none;
  stroke: var(--primary-container);
  stroke-width: 4;
}

.pl-cone {
  fill: url(#pl-cone-grad);
  animation: porchGlow 6s ease-in-out infinite;
}

.pl-cone-a { stop-color: var(--tertiary-fixed); stop-opacity: 0.38; }
.pl-cone-b { stop-color: var(--tertiary-fixed); stop-opacity: 0; }

.pl-line,
.pl-ground {
  fill: none;
  stroke: var(--outline);
  stroke-width: 4;
}

.pl-ground {
  stroke: var(--primary-container);
  stroke-width: 3;
  opacity: 0.6;
}

.pl-shade {
  fill: var(--surface-container-high);
  stroke: var(--primary-container);
  stroke-width: 4;
  stroke-linejoin: miter;
}

.pl-bulb {
  fill: var(--tertiary-fixed);
  animation: porchBulb 6s ease-in-out infinite;
}

@keyframes porchGlow {
  0%, 100% { opacity: 0.6; }
  50%      { opacity: 1; }
}

@keyframes porchBulb {
  0%, 100% { opacity: 0.75; }
  50%      { opacity: 1; }
}

.porchlight-wordmark {
  text-align: center;
}

.porchlight-wordmark__name {
  display: block;
  font-family: var(--font-headline);
  font-size: clamp(1.9rem, 5vw, 2.6rem);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: -0.04em;
  line-height: 1;
  color: var(--on-surface);
}

.porchlight-wordmark__name span {
  color: var(--primary-container);
}

.porchlight-wordmark__sub {
  display: block;
  margin-top: 0.5rem;
  font-family: var(--font-headline);
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.32em;
  color: var(--outline);
}

.porchlight-lockup__meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
}

/* ---- Store buttons ---- */
.store-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 2.25rem;
}

.store-btn {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  min-width: 15rem;
  padding: 0.85rem 1.4rem;
  background: var(--surface-container-high);
  border: 2px solid var(--outline-variant);
  color: var(--on-surface);
  text-decoration: none;
  transition: transform 0.1s, box-shadow 0.1s, border-color 0.2s, background 0.2s;
}

.store-btn:hover {
  color: var(--on-surface);
  background: var(--surface-bright);
  border-color: var(--primary-container);
  box-shadow: 4px 4px 0 0 rgba(105, 218, 255, 0.3);
}

.store-btn:active {
  transform: translate(4px, 4px);
  box-shadow: 0 0 0 0 rgba(105, 218, 255, 0.3);
}

.store-btn__icon {
  flex: 0 0 auto;
  width: 2.25rem;
  height: 2.25rem;
  display: grid;
  place-items: center;
}

.store-btn__icon svg {
  width: 100%;
  height: 100%;
}

.store-glyph {
  fill: var(--primary-container);
}

.store-glyph--dim {
  fill: var(--primary);
  opacity: 0.45;
}

.store-btn__text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.store-btn__small {
  font-family: var(--font-body);
  font-size: 0.65rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--outline);
}

.store-btn__big {
  font-family: var(--font-headline);
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  color: var(--on-surface);
}

/* ---- Hero note + learn link ---- */
.dl-note {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  margin-top: 1.5rem;
  max-width: 34rem;
  font-size: 0.85rem;
  line-height: 1.6;
  color: var(--on-surface-variant);
  border-left: 2px solid var(--outline-variant);
  padding-left: 0.9rem;
}

.dl-note .material-symbols-outlined {
  font-size: 1.05rem;
  color: var(--primary-container);
  line-height: 1.5;
}

.dl-learn-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: 1.75rem;
  font-family: var(--font-headline);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--primary-container);
  border-bottom: 2px solid transparent;
  padding-bottom: 0.15rem;
}

.dl-learn-link:hover {
  color: var(--primary);
  border-bottom-color: var(--primary);
}

.dl-learn-link .material-symbols-outlined {
  font-size: 1.05rem;
  transition: transform 0.2s;
}

.dl-learn-link:hover .material-symbols-outlined {
  transform: translateX(4px);
}

/* ---- Platform section ---- */
.platform-section {
  padding: 4.5rem 0;
  background-color: var(--surface-container-low);
  position: relative;
  overflow: hidden;
  background-image:
    radial-gradient(ellipse 60% 45% at 85% 10%, rgba(105, 218, 255, 0.07) 0%, transparent 65%),
    radial-gradient(ellipse 50% 40% at 10% 90%, rgba(255, 110, 129, 0.05) 0%, transparent 60%);
}

.platform-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

.platform-card {
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
  padding: 1.75rem;
  background-color: var(--surface-container-high);
  border: 2px solid var(--outline-variant);
  transition: transform 0.2s, border-color 0.2s, box-shadow 0.2s;
}

.platform-card:hover {
  transform: translateY(-4px);
  border-color: var(--primary-container);
  box-shadow: 6px 6px 0 0 rgba(105, 218, 255, 0.2);
}

.platform-card__head {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.platform-card__glyph {
  flex: 0 0 auto;
  width: 3.5rem;
  height: 3.5rem;
  display: grid;
  place-items: center;
  border: 2px solid var(--primary-container);
  background: rgba(105, 218, 255, 0.06);
}

.platform-card__glyph svg {
  width: 60%;
  height: 60%;
}

.platform-card__title {
  font-family: var(--font-headline);
  font-size: 1.5rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: -0.03em;
  line-height: 1.05;
  color: var(--on-surface);
}

.platform-card__kicker {
  font-family: var(--font-headline);
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--outline);
  margin-top: 0.35rem;
}

.platform-card__text {
  color: var(--on-surface-variant);
  font-size: 0.95rem;
  line-height: 1.7;
}

.platform-card__cta {
  align-self: flex-start;
  margin-top: auto;
}

/* ---- Learn more panel ---- */
.dl-learn {
  padding: 4.5rem 0;
  position: relative;
  overflow: hidden;
}

.dl-learn__inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  align-items: stretch;
}

.dl-learn__panel {
  position: relative;
  padding: 2rem;
  background-color: var(--surface-container-high);
  border: 2px solid var(--outline-variant);
  border-left: 4px solid var(--primary-container);
}

.dl-learn__icon {
  font-size: 2rem;
  color: var(--primary-container);
  margin-bottom: 0.75rem;
  display: block;
}

.dl-learn__heading {
  font-family: var(--font-headline);
  font-size: clamp(1.9rem, 4.5vw, 2.75rem);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: -0.03em;
  line-height: 1;
  margin-bottom: 1rem;
}

.dl-learn__heading span {
  color: var(--primary-container);
}

.dl-learn__text {
  color: var(--on-surface-variant);
  line-height: 1.7;
  max-width: 34rem;
  margin-bottom: 1.75rem;
}

.dl-learn__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.dl-learn__facts {
  padding: 1.75rem;
  background-color: var(--surface-container);
  border: 2px solid var(--outline-variant);
}

.dl-learn__facts-title {
  font-family: var(--font-headline);
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--outline);
  margin-bottom: 1rem;
}

/* ---- Reveal choreography ---- */
.platform-section.reveal .platform-card,
.dl-values.reveal .value-card {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.platform-section.revealed .platform-card,
.dl-values.revealed .value-card {
  opacity: 1;
  transform: translateY(0);
}

.platform-section.revealed .platform-card:nth-child(1),
.dl-values.revealed .value-card:nth-child(1) { transition-delay: 0.05s; }
.platform-section.revealed .platform-card:nth-child(2),
.dl-values.revealed .value-card:nth-child(2) { transition-delay: 0.15s; }
.dl-values.revealed .value-card:nth-child(3) { transition-delay: 0.25s; }

.platform-section.revealed .platform-card:hover,
.dl-values.revealed .value-card:hover {
  transition-delay: 0s;
}

/* ---- Download page responsive ---- */
@media (min-width: 768px) {
  .platform-grid {
    grid-template-columns: 1fr 1fr;
  }

  .porchlight-lockup {
    padding: 2.5rem 2rem;
  }

  .dl-learn__inner {
    grid-template-columns: 1.6fr 1fr;
  }

  .dl-learn__panel {
    padding: 2.5rem;
  }
}

@media (min-width: 1024px) {
  .page-hero--download {
    padding: 11rem 0 6rem;
  }

  .dl-hero__grid {
    grid-template-columns: 1.05fr 0.95fr;
    gap: 4rem;
  }

  .dl-hero__visual {
    justify-content: flex-end;
  }

  .platform-section,
  .dl-learn {
    padding: 6rem 0;
  }

  .platform-card {
    padding: 2.25rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .pl-cone,
  .pl-bulb {
    animation: none;
  }

  .platform-section.reveal .platform-card,
  .dl-values.reveal .value-card {
    opacity: 1;
    transform: none;
  }
}

/* ============================================================
   GAMES PAGE v3 — PORCHLIGHT SHOWCASE
   Hero stroke word, six game lineup, porch panel, daily spin,
   small moments, promise strip. Mobile-first; breakpoints live
   at the bottom of this block.
   ============================================================ */

/* ---- Hero ---- */
.page-hero--games {
  padding: 9rem 0 4.5rem;
}

.page-hero--games .hero__actions {
  margin-top: 2.25rem;
}

.page-hero--games .hero-stats {
  margin-top: 2.75rem;
}

/* Oversized outlined editorial word behind the hero copy */
.stroke-word {
  position: absolute;
  right: -0.06em;
  bottom: -0.18em;
  z-index: 0;
  font-family: var(--font-headline);
  font-size: clamp(7rem, 22vw, 17rem);
  font-weight: 900;
  line-height: 0.8;
  letter-spacing: -0.05em;
  text-transform: uppercase;
  color: transparent;
  -webkit-text-stroke: 1px rgba(105, 218, 255, 0.22);
  opacity: 0.55;
  pointer-events: none;
  user-select: none;
}

/* ---- Released status pill ---- */
.status-pill--live {
  color: var(--secondary);
  border-color: rgba(47, 248, 1, 0.4);
  background: rgba(47, 248, 1, 0.07);
}

.status-pill--live::before {
  animation: dotBlink 1.5s ease-in-out infinite;
}

/* ---- Roster: logo lockup in place of a screenshot ---- */
.game-entry__media--lockup {
  display: flex;
  justify-content: center;
}

.game-entry__body .game-entry__desc + .game-entry__desc {
  margin-top: -0.4rem;
}

/* Second roster block sits under the promise strip, which already uses
   surface-container-low. Shift the tone so the sections still read as
   separate layers without a divider line. */
.games-roster--alt {
  background-color: var(--surface);
  background-image:
    radial-gradient(ellipse 55% 45% at 100% 0%, rgba(105, 218, 255, 0.08) 0%, transparent 60%),
    radial-gradient(ellipse 50% 45% at 0% 100%, rgba(255, 144, 155, 0.05) 0%, transparent 55%);
}

/* ============================================================
   SIX GAME LINEUP (bento grid with shared cel outlines)
   ============================================================ */
.lineup {
  padding: 5rem 0;
  position: relative;
  overflow: hidden;
}

.lineup-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2px;
  margin-top: 2.5rem;
  background: var(--outline-variant);
  border: 2px solid var(--outline-variant);
}

.lineup-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.85rem;
  padding: 1.85rem 1.6rem 1.6rem;
  background: var(--surface-container-low);
  transition: background 0.3s ease;
}

.lineup-card:hover {
  background: var(--surface-bright);
}

.lineup-card__num {
  position: absolute;
  top: 1rem;
  right: 1.15rem;
  font-family: var(--font-headline);
  font-size: 0.7rem;
  font-weight: 900;
  letter-spacing: 0.2em;
  color: var(--outline);
  opacity: 0.7;
}

.lineup-card__glyph {
  position: relative;
  width: 3.25rem;
  height: 3.25rem;
  display: grid;
  place-items: center;
  border: 2px solid var(--primary-container);
  background: rgba(105, 218, 255, 0.06);
  transition: background 0.3s ease;
}

.lineup-card__glyph .material-symbols-outlined {
  font-size: 1.75rem;
  color: var(--primary-container);
  font-variation-settings: 'FILL' 1;
}

.lineup-card__glyph::after {
  content: '';
  position: absolute;
  top: -3px;
  right: -3px;
  width: 6px;
  height: 6px;
  background: var(--primary-container);
}

.lineup-card__glyph--primary {
  border-color: var(--primary-container);
  background: rgba(105, 218, 255, 0.06);
}

.lineup-card__glyph--secondary {
  border-color: var(--secondary);
  background: rgba(47, 248, 1, 0.06);
}

.lineup-card__glyph--secondary .material-symbols-outlined {
  color: var(--secondary);
}

.lineup-card__glyph--secondary::after {
  background: var(--secondary);
}

.lineup-card__glyph--tertiary {
  border-color: var(--tertiary-fixed);
  background: rgba(255, 144, 155, 0.06);
}

.lineup-card__glyph--tertiary .material-symbols-outlined {
  color: var(--tertiary-fixed);
}

.lineup-card__glyph--tertiary::after {
  background: var(--tertiary-fixed);
}

.lineup-card:hover .lineup-card__glyph {
  background: rgba(105, 218, 255, 0.14);
}

.lineup-card__name {
  font-family: var(--font-headline);
  font-size: 1.35rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: -0.03em;
  line-height: 1;
  color: var(--on-surface);
}

.lineup-card__text {
  font-size: 0.92rem;
  line-height: 1.7;
  color: var(--on-surface-variant);
}

.lineup-card__tag {
  margin-top: auto;
  width: 100%;
  padding-top: 0.75rem;
  border-top: 2px solid var(--outline-variant);
  font-family: var(--font-headline);
  font-size: 0.6rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--outline);
}

/* ============================================================
   PORCH PANEL + DAILY SPIN
   ============================================================ */
.porch {
  padding: 5rem 0;
  position: relative;
  overflow: hidden;
  background-color: var(--surface-container-low);
  background-image:
    radial-gradient(ellipse 55% 45% at 5% 5%, rgba(255, 144, 155, 0.07) 0%, transparent 60%),
    radial-gradient(ellipse 55% 45% at 95% 95%, rgba(105, 218, 255, 0.07) 0%, transparent 60%);
}

.porch__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  margin-top: 2.5rem;
  align-items: stretch;
}

.porch__panel {
  padding: 2rem 1.75rem;
  background: var(--surface-container-high);
  border: 2px solid var(--outline-variant);
  border-left: 4px solid var(--tertiary-fixed);
}

.porch__icon {
  display: block;
  font-size: 2.25rem;
  color: var(--tertiary-fixed);
  margin-bottom: 0.9rem;
  font-variation-settings: 'FILL' 1;
}

.porch__lead {
  font-family: var(--font-headline);
  font-size: clamp(1.15rem, 2.6vw, 1.5rem);
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: -0.02em;
  color: var(--on-surface);
  margin-bottom: 1rem;
}

.porch__text {
  color: var(--on-surface-variant);
  line-height: 1.75;
  font-size: 0.98rem;
  margin-bottom: 1.75rem;
}

.porch-upgrades {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr;
  gap: 2px;
  background: var(--outline-variant);
  border: 2px solid var(--outline-variant);
}

.porch-upgrades li {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.85rem 1rem;
  background: var(--surface-container);
  font-family: var(--font-headline);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  color: var(--on-surface);
  transition: background 0.25s ease;
}

.porch-upgrades li:hover {
  background: var(--surface-bright);
}

.porch-upgrades .material-symbols-outlined {
  font-size: 1.2rem;
  color: var(--primary-container);
  flex: none;
  font-variation-settings: 'FILL' 1;
}

/* ---- Daily spin card ---- */
.spin-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 1rem;
  padding: 2rem 1.75rem;
  background: var(--surface-container);
  border: 2px solid var(--outline-variant);
  box-shadow: 6px 6px 0 0 rgba(47, 248, 1, 0.14);
}

.spin-wheel {
  width: 100%;
  max-width: 190px;
  height: auto;
  display: block;
}

.spin-wheel__rotor {
  transform-origin: 60px 60px;
  animation: wheelSpin 24s linear infinite;
}

.sw-ring {
  fill: none;
  stroke: var(--primary-container);
  stroke-width: 3;
}

.sw-ring--inner {
  stroke: var(--outline);
  stroke-width: 2;
  opacity: 0.6;
}

.sw-spoke {
  fill: none;
  stroke: var(--outline-variant);
  stroke-width: 2;
}

.sw-hub {
  fill: var(--secondary);
}

.sw-pointer {
  fill: var(--tertiary-fixed);
}

@keyframes wheelSpin {
  0%   { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.spin-card__title {
  font-family: var(--font-headline);
  font-size: clamp(1.5rem, 3.5vw, 2rem);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: -0.03em;
  line-height: 1;
}

.spin-card__title span {
  color: var(--secondary);
}

.spin-card__text {
  color: var(--on-surface-variant);
  font-size: 0.95rem;
  line-height: 1.7;
}

.spin-card__note {
  width: 100%;
  padding-top: 0.9rem;
  border-top: 2px solid var(--outline-variant);
  font-size: 0.85rem;
  line-height: 1.6;
  color: var(--on-surface-variant);
}

/* ============================================================
   SMALL MOMENTS
   ============================================================ */
.details-section {
  padding: 5rem 0;
  position: relative;
  overflow: hidden;
}

.details-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  margin-top: 2.5rem;
}

.detail-card {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  padding: 1.6rem;
  background: var(--surface-container);
  border: 2px solid var(--outline-variant);
  transition: transform 0.25s ease, border-color 0.25s ease,
              box-shadow 0.25s ease, background 0.25s ease;
}

.detail-card:hover {
  transform: translateY(-4px);
  background: var(--surface-container-high);
  border-color: var(--primary-container);
  box-shadow: 6px 6px 0 0 rgba(105, 218, 255, 0.2);
}

.detail-card__icon {
  font-size: 1.9rem;
  color: var(--primary-container);
  font-variation-settings: 'FILL' 1;
}

.detail-card--wide .detail-card__icon {
  color: var(--tertiary-fixed);
}

.detail-card--wide:hover {
  border-color: var(--tertiary-fixed);
  box-shadow: 6px 6px 0 0 rgba(255, 144, 155, 0.2);
}

.detail-card__title {
  font-family: var(--font-headline);
  font-size: 1.05rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: -0.02em;
  line-height: 1.2;
  color: var(--on-surface);
}

.detail-card__text {
  font-size: 0.92rem;
  line-height: 1.7;
  color: var(--on-surface-variant);
}

/* ============================================================
   PROMISE STRIP
   ============================================================ */
.promises {
  padding: 5rem 0;
  position: relative;
  overflow: hidden;
  background-color: var(--surface-container-low);
}

.promise-strip {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr;
  gap: 2px;
  margin-top: 2.5rem;
  background: var(--outline-variant);
  border: 2px solid var(--outline-variant);
}

.promise-item {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  padding: 1.75rem 1.5rem;
  background: var(--surface-container-lowest);
  transition: background 0.3s ease;
}

.promise-item:hover {
  background: var(--surface-container-high);
}

.promise-item__mark {
  font-family: var(--font-headline);
  font-size: 0.65rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--outline);
}

.promise-item__word {
  font-family: var(--font-headline);
  font-size: clamp(1.7rem, 4.5vw, 2.4rem);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: -0.04em;
  line-height: 1;
  color: var(--primary-container);
}

.promise-item--accent .promise-item__word {
  color: var(--secondary);
}

.promise-item__text {
  margin-top: 0.4rem;
  font-size: 0.88rem;
  line-height: 1.6;
  color: var(--on-surface-variant);
}

/* ============================================================
   REVEAL CHOREOGRAPHY (games page v3)
   ============================================================ */
.lineup.reveal .lineup-card,
.details-section.reveal .detail-card,
.promises.reveal .promise-item,
.porch.reveal .porch__panel,
.porch.reveal .spin-card {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease,
              background 0.3s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.lineup.revealed .lineup-card,
.details-section.revealed .detail-card,
.promises.revealed .promise-item,
.porch.revealed .porch__panel,
.porch.revealed .spin-card {
  opacity: 1;
  transform: translateY(0);
}

.lineup.revealed .lineup-card:nth-child(1),
.details-section.revealed .detail-card:nth-child(1),
.promises.revealed .promise-item:nth-child(1),
.porch.revealed .porch__panel { transition-delay: 0.05s; }

.lineup.revealed .lineup-card:nth-child(2),
.details-section.revealed .detail-card:nth-child(2),
.promises.revealed .promise-item:nth-child(2),
.porch.revealed .spin-card { transition-delay: 0.15s; }

.lineup.revealed .lineup-card:nth-child(3),
.details-section.revealed .detail-card:nth-child(3),
.promises.revealed .promise-item:nth-child(3) { transition-delay: 0.25s; }

.lineup.revealed .lineup-card:nth-child(4),
.details-section.revealed .detail-card:nth-child(4),
.promises.revealed .promise-item:nth-child(4) { transition-delay: 0.35s; }

.lineup.revealed .lineup-card:nth-child(5),
.details-section.revealed .detail-card:nth-child(5) { transition-delay: 0.45s; }

.lineup.revealed .lineup-card:nth-child(6) { transition-delay: 0.55s; }

.lineup.revealed .lineup-card:hover,
.details-section.revealed .detail-card:hover,
.promises.revealed .promise-item:hover,
.porch.revealed .porch__panel:hover,
.porch.revealed .spin-card:hover {
  transition-delay: 0s;
}

/* ============================================================
   GAMES PAGE v3 — RESPONSIVE
   ============================================================ */
@media (min-width: 768px) {
  .lineup-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .porch__grid {
    grid-template-columns: 1.5fr 1fr;
  }

  .porch__panel {
    padding: 2.5rem;
  }

  .porch-upgrades {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .detail-card--wide {
    grid-column: 1 / -1;
  }

  .promise-strip {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .page-hero--games {
    padding: 11rem 0 5.5rem;
  }

  .lineup,
  .porch,
  .details-section,
  .promises {
    padding: 6rem 0;
  }

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

  .lineup-card {
    padding: 2.25rem 2rem 1.85rem;
  }

  .details-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .detail-card {
    padding: 1.9rem;
  }

  .detail-card--wide {
    grid-column: span 1;
    grid-row: span 2;
    justify-content: center;
  }

  .promise-strip {
    grid-template-columns: repeat(4, 1fr);
  }

  .spin-card {
    padding: 2.5rem 2rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .spin-wheel__rotor,
  .status-pill--live::before {
    animation: none;
  }

  .lineup.reveal .lineup-card,
  .details-section.reveal .detail-card,
  .promises.reveal .promise-item,
  .porch.reveal .porch__panel,
  .porch.reveal .spin-card {
    opacity: 1;
    transform: none;
  }
}

/* ============================================================
   GAMES PAGE v4 : PORCHLIGHT PRODUCT ASSETS
   Hero sprite decor, logo plate, screenshot rail, porch kit,
   daily spin band, sprite detail card. Mobile-first;
   breakpoints live at the bottom of this block.
   ============================================================ */

/* ---- Pixel art sprites keep their hard edges ---- */
.sprite-img {
  display: block;
  image-rendering: pixelated;
  image-rendering: crisp-edges;
}

/* ---- Hero sprite decor (desktop only, purely decorative) ---- */
.games-hero__decor {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: none;
  pointer-events: none;
  will-change: transform;
}

.games-sprite {
  position: absolute;
  width: 7rem;
  height: auto;
  opacity: 0.95;
  filter: drop-shadow(0 14px 24px rgba(0, 0, 0, 0.6));
}

.games-sprite--card {
  right: 10%;
  top: 22%;
  width: 8.5rem;
  animation: spriteFloatA 8s ease-in-out infinite;
}

.games-sprite--back {
  right: 23%;
  top: 44%;
  width: 6.75rem;
  animation: spriteFloatB 9.5s ease-in-out infinite;
  animation-delay: -2.5s;
}

.games-sprite--cherries {
  right: 6%;
  bottom: 14%;
  width: 6.25rem;
  animation: spriteFloatC 7s ease-in-out infinite;
  animation-delay: -4s;
}

@keyframes spriteFloatA {
  0%, 100% { transform: translateY(0) rotate(-9deg); }
  50%      { transform: translateY(-14px) rotate(-5deg); }
}

@keyframes spriteFloatB {
  0%, 100% { transform: translateY(0) rotate(10deg); }
  50%      { transform: translateY(-18px) rotate(6deg); }
}

@keyframes spriteFloatC {
  0%, 100% { transform: translateY(0) rotate(4deg); }
  50%      { transform: translateY(-12px) rotate(-3deg); }
}

/* ---- Porchlight logo plate (roster media column) ---- */
.pl-plate {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.25rem;
  padding: 1.75rem 1.5rem;
  overflow: hidden;
  border: 3px solid var(--on-surface);
  background-color: var(--surface-container-lowest);
  background-image:
    linear-gradient(0deg, transparent 24%, rgba(105, 218, 255, 0.07) 25%, rgba(105, 218, 255, 0.07) 26%, transparent 27%, transparent 74%, rgba(105, 218, 255, 0.07) 75%, rgba(105, 218, 255, 0.07) 76%, transparent 77%, transparent),
    linear-gradient(90deg, transparent 24%, rgba(105, 218, 255, 0.07) 25%, rgba(105, 218, 255, 0.07) 26%, transparent 27%, transparent 74%, rgba(105, 218, 255, 0.07) 75%, rgba(105, 218, 255, 0.07) 76%, transparent 77%, transparent);
  background-size: 44px 44px;
  box-shadow: 8px 8px 0 0 rgba(0, 0, 0, 0.5);
}

.pl-plate::after {
  content: '';
  position: absolute;
  top: 4%;
  left: 50%;
  width: 78%;
  aspect-ratio: 1;
  transform: translateX(-50%);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 144, 155, 0.26) 0%, rgba(255, 144, 155, 0.07) 45%, transparent 68%);
  animation: lampGlow 6s ease-in-out infinite;
  pointer-events: none;
}

.pl-plate__logo {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 360px;
}

.pl-plate__meta {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
}

/* ============================================================
   SCREENSHOT RAIL
   ============================================================ */
.shots {
  padding: 5rem 0;
  position: relative;
  overflow: hidden;
  background-color: var(--surface-container-lowest);
  background-image:
    radial-gradient(ellipse 55% 45% at 10% 0%, rgba(105, 218, 255, 0.08) 0%, transparent 60%),
    radial-gradient(ellipse 55% 45% at 90% 100%, rgba(47, 248, 1, 0.06) 0%, transparent 60%);
}

.shots__rail {
  display: flex;
  gap: 1rem;
  margin-top: 2.5rem;
  padding-bottom: 1.25rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-color: var(--primary-container) var(--surface-container);
  scrollbar-width: thin;
}

.shots__rail:focus-visible {
  outline: 2px solid var(--primary-container);
  outline-offset: 4px;
}

.shots__rail::-webkit-scrollbar {
  height: 8px;
}

.shots__rail::-webkit-scrollbar-track {
  background: var(--surface-container);
}

.shots__rail::-webkit-scrollbar-thumb {
  background: var(--primary-container);
}

.shot-card {
  position: relative;
  flex: 0 0 76%;
  max-width: 280px;
  scroll-snap-align: start;
  background: var(--surface-container);
  border: 2px solid var(--outline-variant);
  transition: transform 0.25s ease, border-color 0.25s ease,
              box-shadow 0.25s ease, background 0.25s ease;
}

.shot-card:hover {
  transform: translateY(-4px);
  background: var(--surface-container-high);
  border-color: var(--primary-container);
  box-shadow: 6px 6px 0 0 rgba(105, 218, 255, 0.2);
}

.shot-card__media {
  position: relative;
  overflow: hidden;
  background: var(--surface-container-lowest);
}

.shot-card__media img {
  width: 100%;
  aspect-ratio: 9 / 16;
  object-fit: cover;
  transition: transform 0.5s ease-out;
}

.shot-card:hover .shot-card__media img {
  transform: scale(1.03);
}

.shot-card__num {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
  padding: 0.3rem 0.6rem;
  background: var(--surface-container-lowest);
  border-right: 2px solid var(--outline-variant);
  border-bottom: 2px solid var(--outline-variant);
  font-family: var(--font-headline);
  font-size: 0.6rem;
  font-weight: 900;
  letter-spacing: 0.18em;
  color: var(--primary-container);
}

.shot-card__caption {
  padding: 1rem;
  border-top: 2px solid var(--outline-variant);
}

.shot-card__name {
  font-family: var(--font-headline);
  font-size: 1.05rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: -0.02em;
  line-height: 1.1;
  color: var(--on-surface);
}

.shot-card__text {
  margin-top: 0.4rem;
  font-size: 0.85rem;
  line-height: 1.6;
  color: var(--on-surface-variant);
}

.shots__hint {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 0.75rem;
  font-family: var(--font-headline);
  font-size: 0.62rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--outline);
}

.shots__hint .material-symbols-outlined {
  font-size: 1rem;
  color: var(--primary-container);
}

/* ============================================================
   PORCH KIT SPRITES + PORCH VISUAL
   ============================================================ */
.porch-kit {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2px;
  background: var(--outline-variant);
  border: 2px solid var(--outline-variant);
}

/* Five sprites in a two or three column grid: let the last one fill the
   remaining cells so the kit never ends on an empty square. */
.porch-kit__item:nth-child(5) {
  grid-column: span 2;
}

.porch-kit__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.65rem;
  padding: 1.15rem 0.6rem;
  background: var(--surface-container);
  transition: background 0.25s ease;
}

.porch-kit__item:hover {
  background: var(--surface-bright);
}

.porch-kit__sprite {
  width: 4rem;
  height: 4rem;
  object-fit: contain;
  transition: transform 0.3s ease;
}

.porch-kit__item:hover .porch-kit__sprite {
  transform: translateY(-4px);
}

.porch-kit__label {
  font-family: var(--font-headline);
  font-size: 0.62rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  line-height: 1.3;
  color: var(--on-surface);
}

.porch__visual {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  margin: 0;
  padding: 1.25rem;
  background: var(--surface-container);
  border: 2px solid var(--outline-variant);
  box-shadow: 6px 6px 0 0 rgba(255, 144, 155, 0.16);
}

.porch__visual img {
  width: 100%;
  max-width: 260px;
  border: 2px solid var(--outline-variant);
}

.porch__visual figcaption {
  font-family: var(--font-headline);
  font-size: 0.62rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  text-align: center;
  color: var(--outline);
}

/* ---- Daily spin band ---- */
.spin-band {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  align-items: center;
  margin-top: 1.5rem;
  padding: 1.5rem;
  background: var(--surface-container-high);
  border: 2px solid var(--outline-variant);
  border-left: 4px solid var(--secondary);
}

.spin-band__shot img {
  width: 100%;
  max-width: 240px;
  margin: 0 auto;
  border: 2px solid var(--outline-variant);
}

.spin-band__label {
  font-family: var(--font-headline);
  font-size: 0.62rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--secondary);
}

.spin-band__title {
  margin-top: 0.5rem;
  font-family: var(--font-headline);
  font-size: clamp(1.5rem, 3.5vw, 2.1rem);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: -0.03em;
  line-height: 1;
  color: var(--on-surface);
}

.spin-band__title span {
  color: var(--secondary);
}

.spin-band__text {
  margin-top: 0.9rem;
  font-size: 0.98rem;
  line-height: 1.75;
  color: var(--on-surface-variant);
}

.spin-band__note {
  margin-top: 1rem;
  padding-top: 0.9rem;
  border-top: 2px solid var(--outline-variant);
  font-size: 0.85rem;
  line-height: 1.6;
  color: var(--on-surface-variant);
}

/* ---- Sprite inside a small moments card ---- */
.detail-card__sprite {
  width: 5.5rem;
  height: 5.5rem;
  object-fit: contain;
  transition: transform 0.3s ease;
}

.detail-card--wide .detail-card__sprite {
  width: 7rem;
  height: 7rem;
}

.detail-card:hover .detail-card__sprite {
  transform: translateY(-4px) rotate(-3deg);
}

/* ---- Reveal choreography for the new blocks ---- */
.shots.reveal .shot-card,
.porch.reveal .porch__visual,
.porch.reveal .spin-band {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease,
              background 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.shots.revealed .shot-card,
.porch.revealed .porch__visual,
.porch.revealed .spin-band {
  opacity: 1;
  transform: translateY(0);
}

.shots.revealed .shot-card:nth-child(1) { transition-delay: 0.05s; }
.shots.revealed .shot-card:nth-child(2) { transition-delay: 0.12s; }
.shots.revealed .shot-card:nth-child(3) { transition-delay: 0.19s; }
.shots.revealed .shot-card:nth-child(4) { transition-delay: 0.26s; }
.shots.revealed .shot-card:nth-child(5) { transition-delay: 0.33s; }
.shots.revealed .shot-card:nth-child(6) { transition-delay: 0.4s; }
.porch.revealed .porch__visual { transition-delay: 0.15s; }
.porch.revealed .spin-band { transition-delay: 0.25s; }

.shots.revealed .shot-card:hover,
.porch.revealed .porch__visual:hover,
.porch.revealed .spin-band:hover {
  transition-delay: 0s;
}

/* ---- Games page v4 responsive ---- */
@media (min-width: 768px) {
  .porch-kit {
    grid-template-columns: repeat(3, 1fr);
  }

  .shot-card {
    flex: 0 0 240px;
  }

  .spin-band {
    grid-template-columns: 240px 1fr;
    gap: 2.25rem;
    padding: 2rem;
    margin-top: 2rem;
  }

  .porch__visual img {
    max-width: 100%;
  }
}

@media (min-width: 1024px) {
  .games-hero__decor {
    display: block;
  }

  .shots {
    padding: 6rem 0;
  }

  .shot-card {
    flex: 0 0 258px;
  }

  .porch-kit {
    grid-template-columns: repeat(5, 1fr);
  }

  .porch-kit__item:nth-child(5) {
    grid-column: auto;
  }

  /* Keep the porch screenshot in proportion with the copy column */
  .porch__visual img {
    max-width: 300px;
  }

  .spin-band {
    grid-template-columns: 260px 1fr;
    padding: 2.5rem;
  }

  .pl-plate {
    padding: 2.25rem 2rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .games-sprite,
  .pl-plate::after {
    animation: none;
  }

  .shots.reveal .shot-card,
  .porch.reveal .porch__visual,
  .porch.reveal .spin-band {
    opacity: 1;
    transform: none;
  }
}

/* ============================================================
   GAMES PAGE v5 : STUDIO ASSET DECORATION
   Concept art panel for unreleased titles and the sprite-led
   development pipeline. Mobile-first.
   ============================================================ */

/* Rendered studio icon sitting inside the procedural art panel */
.game-art__img {
  position: relative;
  z-index: 1;
  width: 58%;
  max-width: 15rem;
  height: auto;
  filter: drop-shadow(0 16px 26px rgba(0, 0, 0, 0.6));
  animation: artFloat 7s ease-in-out infinite;
}

@keyframes artFloat {
  0%, 100% { transform: translateY(0) rotate(-2deg); }
  50%      { transform: translateY(-10px) rotate(1deg); }
}

/* Pipeline steps carry a rendered icon above the copy */
.pipeline-step__sprite {
  width: 3.5rem;
  height: 3.5rem;
  object-fit: contain;
  margin-bottom: 0.9rem;
  filter: drop-shadow(0 8px 14px rgba(0, 0, 0, 0.55));
  transition: transform 0.3s ease;
}

.pipeline-step:hover .pipeline-step__sprite {
  transform: translateY(-4px) rotate(-3deg);
}

/* Spin band copy column keeps its own rhythm */
.spin-band__copy {
  min-width: 0;
}

@media (min-width: 1024px) {
  .pipeline-step__sprite {
    width: 4rem;
    height: 4rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .game-art__img {
    animation: none;
  }
}


/* ============================================================
   DOWNLOAD PORCHLIGHT PAGE v2
   Logo plate hero, floating pixel sprites, store rows, step
   track, promise cards, learn panel. Mobile-first; breakpoints
   live at the bottom of this block.
   ============================================================ */

/* ---- Hero copy rhythm ---- */
.page-hero--download .status-pill {
  margin-bottom: 1.5rem;
}

.dl-hero__heading {
  margin-bottom: 1.25rem;
}

.page-hero--download .page-hero__sub {
  max-width: 34rem;
}

.page-hero--download .hero-stats {
  margin-top: 2.75rem;
}

/* ---- Porchlight logo plate in the hero ---- */
.dl-plate {
  width: 100%;
  max-width: 480px;
}

.dl-plate .pl-plate__logo {
  max-width: 400px;
}

/* ---- Floating pixel sprites (wide screens only, decorative) ---- */
.dl-hero__decor {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: none;
  pointer-events: none;
  will-change: transform;
}

.dl-sprite {
  position: absolute;
  width: 7rem;
  height: auto;
  opacity: 0.9;
  filter: drop-shadow(0 14px 24px rgba(0, 0, 0, 0.6));
}

.dl-sprite--ace {
  left: 0.75%;
  top: 24%;
  width: 7rem;
  animation: dlFloatA 8s ease-in-out infinite;
}

.dl-sprite--back {
  left: 1.25%;
  bottom: 13%;
  width: 5.5rem;
  animation: dlFloatB 9.5s ease-in-out infinite;
  animation-delay: -2.5s;
}

.dl-sprite--cherries {
  right: 2%;
  bottom: 8%;
  width: 6.25rem;
  animation: dlFloatC 7s ease-in-out infinite;
  animation-delay: -4s;
}

@keyframes dlFloatA {
  0%, 100% { transform: translateY(0) rotate(-10deg); }
  50%      { transform: translateY(-14px) rotate(-5deg); }
}

@keyframes dlFloatB {
  0%, 100% { transform: translateY(0) rotate(9deg); }
  50%      { transform: translateY(-18px) rotate(4deg); }
}

@keyframes dlFloatC {
  0%, 100% { transform: translateY(0) rotate(5deg); }
  50%      { transform: translateY(-12px) rotate(-4deg); }
}

/* ---- Store button icon sizing on this page ---- */
.page-hero--download .store-btn {
  flex: 1 1 15rem;
}

/* ---- Step track ---- */
.dl-steps {
  padding: 5rem 0;
  position: relative;
  overflow: hidden;
  background-color: var(--surface);
  background-image:
    radial-gradient(ellipse 55% 45% at 100% 0%, rgba(105, 218, 255, 0.08) 0%, transparent 60%),
    radial-gradient(ellipse 50% 45% at 0% 100%, rgba(255, 144, 155, 0.05) 0%, transparent 55%);
}

.dl-steps__track {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

.dl-step {
  position: relative;
  overflow: hidden;
  padding: 1.75rem;
  background-color: var(--surface-container-high);
  border: 2px solid var(--outline-variant);
  border-top: 4px solid var(--primary-container);
  transition: transform 0.25s ease, border-color 0.25s ease,
              box-shadow 0.25s ease, background 0.25s ease;
}

.dl-step:hover {
  transform: translateY(-4px);
  background-color: var(--surface-bright);
  border-color: var(--primary-container);
  box-shadow: 6px 6px 0 0 rgba(105, 218, 255, 0.2);
}

.dl-step__num {
  display: block;
  font-family: var(--font-headline);
  font-size: 2.25rem;
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.05em;
  color: var(--primary-container);
  margin-bottom: 0.85rem;
}

.dl-step__title {
  font-family: var(--font-headline);
  font-size: 1.15rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: -0.02em;
  line-height: 1.15;
  color: var(--on-surface);
  margin-bottom: 0.5rem;
}

.dl-step__text {
  font-size: 0.92rem;
  line-height: 1.7;
  color: var(--on-surface-variant);
}

.dl-steps__kit {
  margin-top: 2.5rem;
}

/* ---- Promise cards ---- */
.dl-values {
  padding: 5rem 0;
  background-color: var(--surface);
}

.dl-values .value-card {
  background-color: var(--surface-container-high);
  border-left-width: 4px;
}

/* ---- Learn more panel ---- */
.dl-learn {
  background-color: var(--surface-container-low);
}

.dl-learn__panel {
  overflow: hidden;
}

.dl-learn__sprite {
  display: none;
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  width: 6rem;
  height: 6rem;
  object-fit: contain;
  opacity: 0.95;
  filter: drop-shadow(0 12px 20px rgba(0, 0, 0, 0.55));
  animation: dlFloatC 7s ease-in-out infinite;
}

.dl-learn__promises {
  margin-top: 1.5rem;
}

/* ---- Closing CTA sprite ---- */
.cta__sprite {
  width: 4.5rem;
  height: 4.5rem;
  object-fit: contain;
  margin: 0 auto 1.5rem;
  opacity: 0.95;
}

/* ---- Reveal choreography ---- */
.dl-steps.reveal .dl-step,
.shots.reveal .shot-card {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.dl-steps.revealed .dl-step,
.shots.revealed .shot-card {
  opacity: 1;
  transform: translateY(0);
}

.dl-steps.revealed .dl-step:nth-child(1) { transition-delay: 0.05s; }
.dl-steps.revealed .dl-step:nth-child(2) { transition-delay: 0.15s; }
.dl-steps.revealed .dl-step:nth-child(3) { transition-delay: 0.25s; }

.dl-steps.revealed .dl-step:hover {
  transition-delay: 0s;
}

/* ---- Download page v2 responsive ---- */
@media (min-width: 768px) {
  .dl-steps__track {
    grid-template-columns: repeat(3, 1fr);
  }

  .dl-learn__sprite {
    display: block;
  }

  .page-hero--download .store-btn {
    flex: 0 0 auto;
  }
}

@media (min-width: 1024px) {
  .dl-steps,
  .dl-values {
    padding: 6rem 0;
  }

  .dl-step {
    padding: 2.25rem;
  }

  .dl-learn__sprite {
    width: 7rem;
    height: 7rem;
  }
}

/* The floating sprites only appear once the viewport is wide enough for them
   to sit in the gutters outside the 1200px container. */
@media (min-width: 1440px) {
  .dl-hero__decor {
    display: block;
  }
}

@media (prefers-reduced-motion: reduce) {
  .dl-sprite,
  .dl-learn__sprite {
    animation: none;
  }

  .dl-steps.reveal .dl-step,
  .shots.reveal .shot-card {
    opacity: 1;
    transform: none;
  }
}

/* ============================================================
   HOME PAGE v3 — BRAND SPRITE DECOR, PORCHLIGHT FEATURE,
   STUDIO STRIP, ETHOS VISUAL
   Mobile-first. Breakpoints live at the bottom of this block.
   ============================================================ */

/* ---- Hero brand sprite decor (wide screens only, decorative) ---- */
.home-hero__decor {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: none;
  pointer-events: none;
  will-change: transform;
}

.home-sprite {
  position: absolute;
  height: auto;
  opacity: 0.95;
  filter: drop-shadow(0 18px 32px rgba(0, 0, 0, 0.65));
}

.home-sprite--mascot {
  right: 5%;
  top: 20%;
  width: 15rem;
  animation: homeFloatA 9s ease-in-out infinite;
}

.home-sprite--controller {
  right: 24%;
  bottom: 14%;
  width: 10rem;
  animation: homeFloatB 11s ease-in-out infinite;
  animation-delay: -3s;
}

.home-sprite--bulb {
  right: 30%;
  top: 16%;
  width: 5rem;
  opacity: 0.8;
  animation: homeFloatC 8s ease-in-out infinite;
  animation-delay: -1.5s;
}

@keyframes homeFloatA {
  0%, 100% { transform: translateY(0) rotate(-3deg); }
  50%      { transform: translateY(-18px) rotate(1deg); }
}

@keyframes homeFloatB {
  0%, 100% { transform: translateY(0) rotate(7deg); }
  50%      { transform: translateY(-14px) rotate(2deg); }
}

@keyframes homeFloatC {
  0%, 100% { transform: translateY(0) rotate(-6deg); }
  50%      { transform: translateY(-12px) rotate(4deg); }
}

/* ---- Featured Porchlight block ---- */
.featured-game__eyebrow {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.6rem;
}

.featured-game__plate {
  position: relative;
  z-index: 1;
}

.featured-game__visual .store-buttons {
  margin-top: 1.5rem;
}

.featured-game__info .store-buttons {
  margin-top: 0;
}

.featured-game__info .store-btn {
  min-width: 13.5rem;
  flex: 1 1 13.5rem;
}

.featured-game__note {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-size: 0.85rem;
  line-height: 1.6;
  color: var(--outline);
  border-left: 2px solid var(--secondary);
  padding-left: 0.85rem;
}

.featured-game__note .material-symbols-outlined {
  font-size: 1.1rem;
  color: var(--secondary);
  flex: 0 0 auto;
}

/* ---- Studio strip: what the studio does ---- */
.studio-strip {
  padding: 5rem 0;
  position: relative;
  overflow: hidden;
  background-color: var(--surface);
  background-image:
    radial-gradient(ellipse 50% 45% at 5% 0%, rgba(105, 218, 255, 0.06) 0%, transparent 60%),
    radial-gradient(ellipse 50% 45% at 95% 100%, rgba(47, 248, 1, 0.05) 0%, transparent 60%);
}

.studio-strip__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2px;
  margin-top: 2.5rem;
  background: var(--outline-variant);
  border: 2px solid var(--outline-variant);
}

.studio-card {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  padding: 2rem 1.75rem;
  background: var(--surface-container-high);
  transition: background 0.25s, transform 0.25s;
}

.studio-card:hover {
  background: var(--surface-bright);
  transform: translateY(-3px);
}

.studio-card__sprite {
  width: 4.25rem;
  height: 4.25rem;
  object-fit: contain;
  transition: transform 0.35s;
}

.studio-card:hover .studio-card__sprite {
  transform: translateY(-4px) scale(1.05);
}

.studio-card__title {
  font-family: var(--font-headline);
  font-size: 1.15rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: -0.02em;
  color: var(--on-surface);
}

.studio-card__text {
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--on-surface-variant);
}

.studio-card__tag {
  margin-top: auto;
  font-family: var(--font-headline);
  font-size: 0.6rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--primary-container);
}

/* ---- Ethos section on the home page sits on the base surface ---- */
.home-ethos {
  background-color: var(--surface);
}

.ethos-mascot {
  align-self: flex-start;
  width: 6.5rem;
  height: auto;
  margin-bottom: 0.25rem;
  filter: drop-shadow(0 14px 24px rgba(0, 0, 0, 0.55));
  animation: homeFloatA 9s ease-in-out infinite;
}

/* ---- Reveal choreography for the studio strip ---- */
.studio-strip.reveal .studio-card {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease, background 0.25s;
}

.studio-strip.revealed .studio-card {
  opacity: 1;
  transform: translateY(0);
}

.studio-strip.revealed .studio-card:nth-child(1) { transition-delay: 0.05s; }
.studio-strip.revealed .studio-card:nth-child(2) { transition-delay: 0.15s; }
.studio-strip.revealed .studio-card:nth-child(3) { transition-delay: 0.25s; }

.studio-strip.revealed .studio-card:hover {
  transition-delay: 0s;
  transform: translateY(-3px);
}

/* ---- Home page v3 responsive ---- */
@media (min-width: 768px) {
  .studio-strip__grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .featured-game__info .store-btn {
    flex: 0 0 auto;
  }

  .ethos-mascot {
    width: 8rem;
  }
}

@media (min-width: 1024px) {
  .studio-strip {
    padding: 6rem 0;
  }

  .studio-card {
    padding: 2.25rem 2rem;
  }

  .ethos-mascot {
    width: 9.5rem;
  }
}

/* The floating brand sprites only appear once the viewport is wide enough
   for them to sit in the gutters outside the 1200px container. */
@media (min-width: 1440px) {
  .home-hero__decor {
    display: block;
  }
}

@media (prefers-reduced-motion: reduce) {
  .home-sprite,
  .ethos-mascot {
    animation: none;
  }

  .studio-strip.reveal .studio-card {
    opacity: 1;
    transform: none;
  }
}

/* ============================================================
   BRAND MARK — REAL COMPANY LOGO IN NAV + FOOTER
   The header used to render the wordmark as plain text, so
   assets/logo.png was only ever wired up as the favicon. These
   rules style the actual logo image lockup in nav and footer.
   ============================================================ */
.site-nav__logo {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  line-height: 0;
  padding: 0.2rem 0;
}

.site-nav__logo-mark {
  display: block;
  width: auto;
  height: 26px;
  transition: filter 0.3s ease, transform 0.3s ease;
}

.site-nav__logo:hover .site-nav__logo-mark {
  filter: drop-shadow(0 0 12px rgba(105, 218, 255, 0.55));
  transform: translateY(-1px);
}

.site-nav__logo:focus-visible {
  outline: 2px solid var(--primary-container);
  outline-offset: 5px;
}

.site-footer__brand {
  display: block;
  line-height: 0;
}

.site-footer__brand-mark {
  width: auto;
  height: 34px;
  margin-bottom: 0.9rem;
  opacity: 0.92;
  transition: opacity 0.3s ease, filter 0.3s ease;
}

/* The accent pillar sits on bright green, so its body copy needs the
   darkest on-secondary tone rather than a faded one. */
.pillar-card--accent .pillar-card__text {
  color: var(--on-secondary-fixed);
  opacity: 1;
}

.site-footer__brand:hover .site-footer__brand-mark {
  opacity: 1;
  filter: drop-shadow(0 0 12px rgba(105, 218, 255, 0.4));
}

/* ============================================================
   NAVIGATION v2 — SCROLLED STATE, CTA, ANIMATED TOGGLE
   ============================================================ */
.site-nav {
  background: rgba(10, 14, 20, 0.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  transition: background 0.3s ease, box-shadow 0.3s ease;
}

.site-nav--scrolled {
  background: rgba(10, 14, 20, 0.96);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.45);
}

.site-nav__links a.site-nav__cta {
  display: none;
  font-family: var(--font-headline);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--on-primary);
  background: var(--primary-container);
  border: 2px solid var(--primary-container);
  padding: 0.55rem 1.1rem;
  transition: background 0.2s ease, box-shadow 0.2s ease, transform 0.1s ease;
}

.site-nav__links a.site-nav__cta:hover {
  color: var(--on-primary);
  background: var(--primary);
  box-shadow: 4px 4px 0 0 rgba(105, 218, 255, 0.3);
}

.site-nav__links a.site-nav__cta:active {
  transform: translate(2px, 2px);
  box-shadow: none;
}

/* The CTA also shows inside the open mobile drawer */
.site-nav.open .site-nav__links a.site-nav__cta {
  display: inline-block;
  align-self: flex-start;
}

.nav-toggle span {
  transform-origin: center;
  transition: transform 0.25s ease, opacity 0.2s ease, background 0.25s ease;
}

.site-nav.open .nav-toggle span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
  background: var(--primary-container);
}

.site-nav.open .nav-toggle span:nth-child(2) {
  opacity: 0;
}

.site-nav.open .nav-toggle span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
  background: var(--primary-container);
}

.site-nav.open .site-nav__links {
  background: rgba(10, 14, 20, 0.98);
}

/* ---- Skip link ---- */
.skip-link {
  position: absolute;
  top: -100px;
  left: var(--gap);
  z-index: 200;
  font-family: var(--font-headline);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--on-primary);
  background: var(--primary-container);
  padding: 0.75rem 1.25rem;
  transition: top 0.2s ease;
}

.skip-link:focus {
  top: 0.75rem;
  color: var(--on-primary);
}

/* ---- Reading progress bar ---- */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 2px;
  width: 100%;
  transform: scaleX(0);
  transform-origin: 0 50%;
  background: linear-gradient(90deg, var(--primary-container), var(--secondary));
  z-index: 120;
  pointer-events: none;
}

/* ============================================================
   HOME PAGE v4 — LOGO LOCKUP, TICKER BAND, PORCH TEASER
   Mobile-first. Breakpoints live at the bottom of this block.
   ============================================================ */

/* ---- Hero logo lockup ---- */
.hero__lockup {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 380px;
  height: auto;
  margin-bottom: 1.75rem;
  filter: drop-shadow(0 0 34px rgba(105, 218, 255, 0.25));
  opacity: 0;
  transform: translateY(24px);
  animation: heroEntrance 0.6s ease-out forwards;
  animation-delay: 0.05s;
}

.hero__content .hero__pill {
  opacity: 0;
  transform: translateY(24px);
  animation: heroEntrance 0.6s ease-out forwards;
  animation-delay: 0.2s;
}

.hero__pill {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  background: var(--surface-container);
  border: 2px solid var(--outline-variant);
  border-left: 3px solid var(--secondary);
  color: var(--on-surface);
  font-family: var(--font-headline);
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  padding: 0.45rem 0.9rem;
  margin-bottom: 1.5rem;
}

.hero__pill-dot {
  width: 8px;
  height: 8px;
  background: var(--secondary);
  border-radius: 50%;
  animation: pillPulse 2.4s ease-in-out infinite;
  flex: none;
}

@keyframes pillPulse {
  0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(47, 248, 1, 0.5); }
  50%      { opacity: 0.6; box-shadow: 0 0 0 6px rgba(47, 248, 1, 0); }
}

.hero__scroll-cue {
  display: none;
  position: absolute;
  left: 50%;
  bottom: 2rem;
  z-index: 2;
  transform: translateX(-50%);
  font-family: var(--font-headline);
  font-size: 0.6rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.24em;
  color: var(--outline);
  text-align: center;
}

.hero__scroll-cue .material-symbols-outlined {
  display: block;
  margin: 0.35rem auto 0;
  font-size: 1.3rem;
  color: var(--primary-container);
  animation: cueBob 2.2s ease-in-out infinite;
}

@keyframes cueBob {
  0%, 100% { transform: translateY(0); opacity: 0.75; }
  50%      { transform: translateY(6px); opacity: 1; }
}

/* ---- Ticker band ---- */
.ticker {
  position: relative;
  overflow: hidden;
  border-top: 2px solid var(--outline-variant);
  border-bottom: 2px solid var(--outline-variant);
  background: var(--surface-container-low);
  padding: 0.85rem 0;
}

.ticker__track {
  display: flex;
  width: max-content;
  gap: 2.5rem;
  padding-left: 2.5rem;
  animation: tickerSlide 34s linear infinite;
}

.ticker:hover .ticker__track {
  animation-play-state: paused;
}

.ticker__item {
  display: inline-flex;
  align-items: center;
  gap: 2.5rem;
  font-family: var(--font-headline);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  white-space: nowrap;
  color: var(--on-surface-variant);
}

.ticker__item::after {
  content: '';
  width: 6px;
  height: 6px;
  background: var(--primary-container);
  flex: none;
}

.ticker__item--accent {
  color: var(--primary-container);
}

.ticker__item--accent::after {
  background: var(--secondary);
}

@keyframes tickerSlide {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ---- Porch teaser (home flavour of the games page porch block) ---- */
.porch--home .porch__grid {
  margin-top: 2.5rem;
}

/* The home kit sits in a narrow column, so it keeps two tidy columns
   at every width instead of stretching to five like the games page. */
.porch--home .porch-kit {
  grid-template-columns: repeat(2, 1fr);
}

.porch--home .porch-kit__item:nth-child(5) {
  grid-column: span 2;
}

.porch-panel__foot {
  margin-top: 1.75rem;
  padding-top: 1.25rem;
  border-top: 2px solid var(--outline-variant);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
}

.porch-kit-wrap {
  padding: 1.5rem;
  background: var(--surface-container-high);
  border: 2px solid var(--outline-variant);
  box-shadow: 6px 6px 0 0 rgba(255, 144, 155, 0.14);
}

.porch-kit-wrap__title {
  font-family: var(--font-headline);
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--tertiary-fixed);
}

.porch-kit-wrap__text {
  margin-top: 0.6rem;
  margin-bottom: 1.25rem;
  font-size: 0.9rem;
  line-height: 1.7;
  color: var(--on-surface-variant);
}

/* ---- Ethos grid: keep tracks from being forced wider than the phone ---- */
.home-ethos__grid {
  grid-template-columns: minmax(0, 1fr);
}

.home-ethos__prose {
  max-width: 100%;
}

.home-ethos__stats {
  grid-template-columns: repeat(auto-fit, minmax(8.5rem, 1fr));
}

/* ---- Studio strip lead paragraph ---- */
.studio-strip__lead {
  max-width: 660px;
  margin-top: -0.5rem;
  margin-bottom: 2.25rem;
  font-size: 1.02rem;
  line-height: 1.8;
  color: var(--on-surface-variant);
}

/* ---- Reveal for the porch teaser kit ---- */
.porch--home.reveal .porch-kit-wrap {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
  transition-delay: 0.2s;
}

.porch--home.revealed .porch-kit-wrap {
  opacity: 1;
  transform: none;
}

/* ---- Responsive ---- */
@media (min-width: 768px) {
  .site-nav__logo-mark {
    height: 30px;
  }

  .site-nav__links a.site-nav__cta {
    display: inline-block;
  }

  .hero__lockup {
    max-width: 440px;
  }

  .porch--home .porch__grid {
    grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
    align-items: start;
  }

  .home-ethos__grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }

  .home-ethos__prose {
    max-width: 560px;
  }
}

@media (min-width: 1024px) {
  .site-nav__logo-mark {
    height: 34px;
  }

  .hero__lockup {
    max-width: 500px;
  }

  .hero__scroll-cue {
    display: block;
  }

  .ticker__item {
    font-size: 0.85rem;
  }

  .porch-kit-wrap {
    padding: 1.85rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .ticker__track,
  .hero__pill-dot,
  .hero__scroll-cue .material-symbols-outlined {
    animation: none;
  }

  .hero__lockup,
  .hero__content .hero__pill {
    animation: none;
    opacity: 1;
    transform: none;
  }

  .porch--home.reveal .porch-kit-wrap {
    opacity: 1;
    transform: none;
  }

  .scroll-progress {
    display: none;
  }
}

/* ============================================================
   PRIVACY POLICY PAGE
   ============================================================ */
.page-hero--legal {
  padding: 9.5rem 0 4.5rem;
}

.page-hero--legal .page-hero__content {
  max-width: 780px;
}

.legal-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 2.25rem;
}

.legal-meta__item {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 0.9rem;
  background: var(--surface-container-high);
  border: 2px solid var(--outline-variant);
  font-family: var(--font-headline);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--on-surface-variant);
}

.legal-meta__item .material-symbols-outlined {
  font-size: 1rem;
  color: var(--primary-container);
}

/* ---- Privacy at a glance ---- */
.privacy-glance {
  padding: 4.5rem 0;
  background: var(--surface-container-low);
}

.glance-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  margin-top: 2.5rem;
}

.glance-card {
  position: relative;
  background: var(--surface-container-high);
  border: 2px solid var(--outline-variant);
  padding: 1.75rem;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.glance-card:hover {
  transform: translate(-3px, -3px);
  border-color: var(--primary-container);
  box-shadow: 6px 6px 0 0 rgba(0, 207, 252, 0.22);
}

.glance-card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 2px solid var(--primary-container);
  color: var(--primary-container);
  font-size: 1.5rem;
  margin-bottom: 1.1rem;
}

.glance-card__title {
  font-family: var(--font-headline);
  font-size: 1.05rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: -0.01em;
  margin-bottom: 0.6rem;
  color: var(--on-surface);
}

.glance-card__text {
  font-size: 0.92rem;
  line-height: 1.7;
  color: var(--on-surface-variant);
}

/* ---- Policy body layout with table of contents ---- */
.privacy-body {
  padding: 4.5rem 0 5rem;
}

.legal-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: start;
}

.legal-toc {
  background: var(--surface-container-high);
  border: 2px solid var(--outline-variant);
  padding: 1.5rem;
}

.legal-toc__title {
  font-family: var(--font-headline);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--outline);
  margin-bottom: 1rem;
}

.legal-toc__list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.legal-toc__list a {
  display: block;
  padding: 0.5rem 0.7rem;
  border-left: 2px solid var(--outline-variant);
  font-size: 0.85rem;
  color: var(--on-surface-variant);
  transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.legal-toc__list a:hover,
.legal-toc__list a.is-active {
  color: var(--primary-container);
  border-left-color: var(--primary-container);
  background: rgba(0, 207, 252, 0.06);
}

.legal-article {
  max-width: 760px;
}

.legal-article__heading {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  margin-bottom: 1.5rem;
}

.legal-article__intro {
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--on-surface-variant);
  padding-bottom: 2rem;
  margin-bottom: 1rem;
  border-bottom: 2px solid var(--outline-variant);
}

.legal-section {
  scroll-margin-top: 7rem;
  padding-top: 2.5rem;
}

.legal-section__num {
  display: inline-block;
  font-family: var(--font-headline);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--primary-container);
  margin-bottom: 0.5rem;
}

.legal-section h2 {
  font-family: var(--font-headline);
  font-size: 1.35rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: -0.02em;
  margin-bottom: 0.9rem;
  color: var(--on-surface);
}

.legal-section p {
  color: var(--on-surface-variant);
  font-size: 0.97rem;
  line-height: 1.8;
  margin-bottom: 1rem;
}

.legal-section ul {
  list-style: none;
  padding: 0;
  margin: 0 0 1rem;
}

.legal-section ul li {
  position: relative;
  padding-left: 1.35rem;
  margin-bottom: 0.6rem;
  color: var(--on-surface-variant);
  font-size: 0.97rem;
  line-height: 1.75;
}

.legal-section ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.7em;
  width: 8px;
  height: 2px;
  background: var(--primary-container);
}

.legal-section strong {
  color: var(--on-surface);
  font-weight: 700;
}

/* ---- Data collection rows ---- */
.data-rows {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin: 1.5rem 0 1.25rem;
  border: 2px solid var(--outline-variant);
}

.data-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.35rem;
  padding: 1.1rem 1.25rem;
  background: var(--surface-container-high);
}

.data-row + .data-row {
  border-top: 2px solid var(--outline-variant);
}

.data-row__label {
  font-family: var(--font-headline);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--primary-container);
}

.data-row__text {
  font-size: 0.92rem;
  line-height: 1.7;
  color: var(--on-surface-variant);
}

/* ---- Callout ---- */
.legal-callout {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  background: var(--surface-container);
  border: 2px solid var(--primary-container);
  padding: 1.25rem 1.4rem;
  margin: 1.5rem 0;
}

.legal-callout .material-symbols-outlined {
  color: var(--primary-container);
  font-size: 1.4rem;
  flex-shrink: 0;
}

.legal-callout p {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.7;
  color: var(--on-surface-variant);
}

.legal-footnote {
  margin-top: 3rem;
  padding-top: 1.5rem;
  border-top: 2px solid var(--outline-variant);
  font-size: 0.8rem;
  line-height: 1.7;
  color: var(--outline);
}

/* ---- Related policies ---- */
.legal-related {
  padding: 4rem 0;
  background: var(--surface-container-low);
}

.legal-related__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  margin-top: 2.5rem;
}

.related-card {
  display: block;
  background: var(--surface-container-high);
  border: 2px solid var(--outline-variant);
  padding: 1.5rem;
  color: inherit;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.related-card:hover {
  transform: translate(-3px, -3px);
  border-color: var(--primary-container);
  box-shadow: 6px 6px 0 0 rgba(0, 207, 252, 0.22);
  color: inherit;
}

.related-card__title {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-headline);
  font-size: 1rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--on-surface);
  margin-bottom: 0.5rem;
}

.related-card__title .material-symbols-outlined {
  font-size: 1.2rem;
  color: var(--primary-container);
}

.related-card__text {
  font-size: 0.9rem;
  line-height: 1.65;
  color: var(--on-surface-variant);
}

/* ---- Privacy page responsive ---- */
@media (min-width: 768px) {
  .glance-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .legal-related__grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .data-row {
    grid-template-columns: 200px 1fr;
    gap: 1.25rem;
    align-items: baseline;
  }
}

@media (min-width: 1024px) {
  .glance-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .legal-layout {
    grid-template-columns: 260px 1fr;
    gap: 4rem;
  }

  .legal-toc {
    position: sticky;
    top: 7rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .glance-card:hover,
  .related-card:hover {
    transform: none;
  }
}

/* ============================================================
   TERMS OF USE PAGE
   Reuses the shared legal kit (.legal-toc, .legal-article,
   .legal-section, .legal-callout, .related-card). Only the
   page-scoped wrappers and a few terms-only pieces live here.
   ============================================================ */
.terms-glance {
  padding: 4.5rem 0;
  background: var(--surface-container-low);
}

.terms-body {
  padding: 4.5rem 0 5rem;
}

/* ---- TOC with stitch-style icon rail ---- */
.legal-toc--icons .legal-toc__list a {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.legal-toc--icons .legal-toc__list a .material-symbols-outlined {
  font-size: 1.05rem;
  color: var(--outline);
  transition: color 0.2s ease;
}

.legal-toc--icons .legal-toc__list a:hover .material-symbols-outlined,
.legal-toc--icons .legal-toc__list a.is-active .material-symbols-outlined {
  color: var(--primary-container);
}

/* ---- Chip row used for the enumerated protected material ---- */
.legal-section ul.legal-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 1.4rem 0 0.25rem;
  padding: 0;
  list-style: none;
}

.legal-section ul.legal-chips li {
  position: static;
  padding: 0;
  margin: 0;
}

.legal-section ul.legal-chips li::before {
  content: none;
}

/* ---- Agreement banner that opens the article ---- */
.terms-accept {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  background: var(--surface-container-high);
  border: 2px solid var(--outline-variant);
  border-left: 4px solid var(--secondary);
  padding: 1.35rem 1.5rem;
  margin-bottom: 2.25rem;
}

.terms-accept .material-symbols-outlined {
  color: var(--secondary);
  font-size: 1.5rem;
  flex-shrink: 0;
}

.terms-accept__label {
  display: block;
  font-family: var(--font-headline);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--secondary);
  margin-bottom: 0.4rem;
}

.terms-accept__text {
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--on-surface-variant);
}

/* ---- Section counter rail on the article ---- */
.legal-section + .legal-section {
  margin-top: 0.5rem;
}

.legal-section h2 a.legal-anchor {
  color: inherit;
}

/* ---- Terms page responsive ---- */
@media (prefers-reduced-motion: reduce) {
  .terms-accept {
    transition: none;
  }
}

/* ============================================================
   CONTACT PAGE v2
   Hero channels, mailto form panel, routing cards, FAQ.
   Mobile-first; breakpoints at the end of this block.
   ============================================================ */

.page-hero--contact {
  padding: 9rem 0 5rem;
  background-color: var(--surface);
}

.page-hero--contact .page-hero__content {
  max-width: 720px;
}

.page-hero--contact .hero__actions {
  margin-top: 2.25rem;
}

/* ---- Floating chat sprite in the hero ---- */
.contact-sprite {
  position: absolute;
  z-index: 1;
  pointer-events: none;
  user-select: none;
  display: none;
  filter: drop-shadow(0 18px 40px rgba(0, 0, 0, 0.55));
}

.contact-sprite--chat {
  top: 24%;
  right: 4%;
  width: clamp(140px, 16vw, 240px);
  height: auto;
  opacity: 0.9;
  animation: contactFloat 7s ease-in-out infinite;
}

@keyframes contactFloat {
  0%, 100% { transform: translateY(0) rotate(-3deg); }
  50%      { transform: translateY(-16px) rotate(3deg); }
}

/* ---- Hero channel strip ---- */
.contact-channels {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  margin-top: 2.75rem;
  padding-top: 1.75rem;
  border-top: 1px solid var(--outline-variant);
}

.contact-channel {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  position: relative;
  padding-left: 2.1rem;
}

.contact-channel__icon {
  position: absolute;
  left: 0;
  top: 0.1rem;
  font-size: 1.35rem;
  color: var(--primary-container);
  font-variation-settings: 'FILL' 1, 'wght' 400, 'GRAD' 0, 'opsz' 24;
}

.contact-channel__label {
  font-family: var(--font-headline);
  font-size: 0.62rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--outline);
}

.contact-channel__value {
  font-family: var(--font-headline);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--on-surface);
  text-decoration: none;
  word-break: break-word;
}

a.contact-channel__value {
  border-bottom: 1px solid transparent;
  transition: color 0.2s, border-color 0.2s;
}

a.contact-channel__value:hover {
  color: var(--primary-container);
  border-bottom-color: var(--primary-container);
}

/* ---- Form panel ---- */
.contact-section {
  padding: 5rem 0;
  background-color: var(--surface-container-low);
  background-image:
    radial-gradient(ellipse 55% 45% at 100% 0%, rgba(105, 218, 255, 0.08) 0%, transparent 60%),
    radial-gradient(ellipse 45% 40% at 0% 100%, rgba(47, 248, 1, 0.05) 0%, transparent 60%);
}

.contact-panel {
  background: var(--surface-container-high);
  border: 2px solid var(--outline-variant);
  padding: 2rem 1.5rem;
  transition: border-color 0.3s;
}

.contact-panel:focus-within {
  border-color: rgba(105, 218, 255, 0.45);
}

.contact-panel__note {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  font-size: 0.85rem;
  line-height: 1.6;
  color: var(--on-surface-variant);
  background: var(--surface-container-lowest);
  border-left: 4px solid var(--secondary);
  padding: 1rem 1.1rem;
  margin-bottom: 2rem;
}

.contact-panel__note .material-symbols-outlined {
  font-size: 1.25rem;
  color: var(--secondary);
  flex-shrink: 0;
  font-variation-settings: 'FILL' 1, 'wght' 400, 'GRAD' 0, 'opsz' 24;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

.contact-panel .form-input {
  background: var(--surface-container-highest);
}

.contact-panel .form-input:focus {
  border-color: var(--primary-container);
  box-shadow: 0 0 5px rgba(105, 218, 255, 0.45);
}

.form-hint {
  font-size: 0.75rem;
  line-height: 1.5;
  color: var(--outline);
  margin-top: 0.15rem;
}

.form-actions {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1rem;
  margin-top: 0.25rem;
}

.form-actions .btn {
  width: 100%;
  text-align: center;
  justify-content: center;
}

.form-status {
  font-size: 0.8rem;
  line-height: 1.55;
  color: var(--on-surface-variant);
  min-height: 1em;
}

.form-status--ok {
  color: var(--secondary);
}

.form-status--error {
  color: var(--error);
}

/* ---- Aside cards ---- */
.contact-card a {
  color: var(--primary-container);
  text-decoration: none;
  border-bottom: 1px solid rgba(0, 207, 252, 0.35);
  transition: border-color 0.2s, color 0.2s;
}

.contact-card a:hover {
  color: var(--primary);
  border-bottom-color: var(--primary);
}

.contact-card--accent {
  border-left-color: var(--secondary);
  background: var(--surface-container-high);
}

.contact-card--accent:hover {
  border-left-color: var(--secondary);
  background: var(--surface-bright);
}

.contact-card--accent .contact-card__icon {
  color: var(--secondary);
}

/* ---- Routing cards ---- */
.routing {
  padding: 5rem 0;
  background-color: var(--surface);
  background-image:
    radial-gradient(ellipse 60% 45% at 20% 0%, rgba(255, 110, 129, 0.06) 0%, transparent 60%);
}

.routing__intro {
  max-width: 640px;
  font-size: 1rem;
  line-height: 1.75;
  color: var(--on-surface-variant);
  margin-bottom: 2.75rem;
}

.routing-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

.routing-card {
  position: relative;
  overflow: hidden;
  background: var(--surface-container-high);
  border: 2px solid var(--outline-variant);
  padding: 2rem 1.75rem;
  display: flex;
  flex-direction: column;
  transition: border-color 0.3s, transform 0.3s, box-shadow 0.3s, background 0.3s;
}

.routing-card:hover {
  border-color: var(--primary-container);
  background: var(--surface-bright);
  transform: translateY(-4px);
  box-shadow: 4px 4px 0 0 rgba(105, 218, 255, 0.3);
}

.routing-card__index {
  position: absolute;
  top: -0.35rem;
  right: 0.5rem;
  font-family: var(--font-headline);
  font-size: 5rem;
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.06em;
  color: var(--outline);
  opacity: 0.12;
  pointer-events: none;
  user-select: none;
}

.routing-card__icon {
  font-size: 2rem;
  color: var(--primary-container);
  margin-bottom: 1rem;
  font-variation-settings: 'FILL' 1, 'wght' 400, 'GRAD' 0, 'opsz' 24;
}

.routing-card__title {
  font-family: var(--font-headline);
  font-size: 1.15rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: -0.02em;
  margin-bottom: 0.75rem;
}

.routing-card__text {
  font-size: 0.9rem;
  line-height: 1.7;
  color: var(--on-surface-variant);
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.routing-card__link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  align-self: flex-start;
  font-family: var(--font-headline);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--primary-container);
  text-decoration: none;
  padding-bottom: 0.3rem;
  border-bottom: 2px solid rgba(0, 207, 252, 0.3);
  transition: border-color 0.2s, gap 0.2s, color 0.2s;
}

.routing-card__link .material-symbols-outlined {
  font-size: 1rem;
}

.routing-card__link:hover {
  color: var(--primary);
  border-bottom-color: var(--primary);
  gap: 0.75rem;
}

/* ---- FAQ ---- */
.contact-faq {
  padding: 5rem 0;
  background-color: var(--surface-container-low);
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-width: 860px;
}

.faq-item {
  background: var(--surface-container-high);
  border-left: 4px solid var(--outline-variant);
  transition: border-color 0.3s, background 0.3s;
}

.faq-item:hover {
  border-left-color: var(--primary-container);
}

.faq-item[open] {
  border-left-color: var(--secondary);
  background: var(--surface-container);
}

.faq-item__q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  cursor: pointer;
  list-style: none;
  padding: 1.25rem 1.5rem;
  font-family: var(--font-headline);
  font-size: 0.98rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--on-surface);
}

.faq-item__q::-webkit-details-marker {
  display: none;
}

.faq-item__q:focus-visible {
  outline: 2px solid var(--primary-container);
  outline-offset: -2px;
}

.faq-item__chevron {
  flex-shrink: 0;
  font-size: 1.4rem;
  color: var(--primary-container);
  transition: transform 0.3s ease;
}

.faq-item[open] .faq-item__chevron {
  transform: rotate(180deg);
  color: var(--secondary);
}

.faq-item__a {
  padding: 0 1.5rem 1.5rem;
  font-size: 0.9rem;
  line-height: 1.75;
  color: var(--on-surface-variant);
}

.faq-item__a p + p {
  margin-top: 0.85rem;
}

.faq-item__a a {
  color: var(--primary-container);
  text-decoration: none;
  border-bottom: 1px solid rgba(0, 207, 252, 0.35);
  transition: border-color 0.2s, color 0.2s;
}

.faq-item__a a:hover {
  color: var(--primary);
  border-bottom-color: var(--primary);
}

.faq-item__list {
  list-style: none;
  margin-top: 0.85rem;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.faq-item__list li {
  position: relative;
  padding-left: 1.35rem;
}

.faq-item__list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 7px;
  height: 7px;
  background: var(--secondary);
}

/* ---- CTA with mascot ---- */
.contact-cta {
  position: relative;
  overflow: hidden;
}

.contact-cta__mascot {
  position: absolute;
  right: 3%;
  bottom: -1.5rem;
  width: clamp(150px, 18vw, 260px);
  height: auto;
  z-index: 0;
  opacity: 0.85;
  pointer-events: none;
  user-select: none;
  display: none;
  filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.5));
  animation: contactFloat 9s ease-in-out infinite;
}

/* ---- Staggered reveal for this page's cards ---- */
.routing.reveal .routing-card,
.contact-faq.reveal .faq-item,
.contact-section.reveal .contact-card {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.routing.revealed .routing-card,
.contact-faq.revealed .faq-item,
.contact-section.revealed .contact-card {
  opacity: 1;
  transform: translateY(0);
}

.revealed .routing-card:nth-child(1),
.revealed .faq-item:nth-child(1),
.revealed .contact-card:nth-child(1) { transition-delay: 0.05s; }
.revealed .routing-card:nth-child(2),
.revealed .faq-item:nth-child(2),
.revealed .contact-card:nth-child(2) { transition-delay: 0.13s; }
.revealed .routing-card:nth-child(3),
.revealed .faq-item:nth-child(3),
.revealed .contact-card:nth-child(3) { transition-delay: 0.21s; }
.revealed .routing-card:nth-child(4),
.revealed .faq-item:nth-child(4),
.revealed .contact-card:nth-child(4) { transition-delay: 0.29s; }
.revealed .faq-item:nth-child(5) { transition-delay: 0.37s; }
.revealed .faq-item:nth-child(6) { transition-delay: 0.45s; }

/* ---- Contact page: tablet ---- */
@media (min-width: 768px) {
  .page-hero--contact {
    padding: 10rem 0 5.5rem;
  }

  .contact-sprite,
  .contact-cta__mascot {
    display: block;
  }

  .contact-channels {
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
  }

  .contact-panel {
    padding: 2.5rem 2.25rem;
  }

  .form-row {
    grid-template-columns: 1fr 1fr;
  }

  .form-actions {
    flex-direction: row;
    align-items: center;
    gap: 1.5rem;
  }

  .form-actions .btn {
    width: auto;
  }

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

  .faq-item__q {
    font-size: 1.05rem;
    padding: 1.4rem 1.75rem;
  }

  .faq-item__a {
    padding: 0 1.75rem 1.75rem;
    font-size: 0.95rem;
  }
}

/* ---- Contact page: desktop ---- */
@media (min-width: 1024px) {
  .page-hero--contact {
    padding: 11rem 0 6rem;
  }

  .contact-section,
  .routing,
  .contact-faq {
    padding: 6rem 0;
  }

  .contact-grid {
    grid-template-columns: 3fr 2fr;
    gap: 3.5rem;
  }

  .contact-sprite--chat {
    top: 22%;
    right: 6%;
  }
}

/* ---- Contact page: reduced motion ---- */
@media (prefers-reduced-motion: reduce) {
  .contact-sprite--chat,
  .contact-cta__mascot {
    animation: none;
  }

  .routing.reveal .routing-card,
  .contact-faq.reveal .faq-item,
  .contact-section.reveal .contact-card {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .routing-card:hover {
    transform: none;
  }
}
