/* =============================================================
   REAL ESTATE · Gosu Upskill
   Industry landing page — navy base, gold accent, green trust
   ============================================================= */

/* -------------------------------------------------------------
   PALETTE OVERRIDES
   ------------------------------------------------------------- */
:root {
  --bg:          #000000;
  --bg-elev:     #0f1d33;
  --bg-elev-2:   #1a2a4a;
  --ink:         #f4f1ea;
  --ink-muted:   #8a9ab5;
  --ink-dim:     #5a6577;
  --line:        rgba(138, 154, 181, 0.12);
  --line-strong: rgba(138, 154, 181, 0.28);

  --amber:       #caa14e;
  --amber-soft:  #e3c47e;
  --accent:      #caa14e;
  --accent-soft: #e3c47e;
  --cyan:        #4cc9ff;

  --trust:       #2d8a6a;
  --trust-soft:  #1a3a2a;
  --trust-bg:    #0a1a14;

  /* Category palette — Two Families (warm = sales, cool = compliance) */
  --cat-negotiation: #e8c76a;
  --cat-pipeline:    #ffb05c;
  --cat-lifecycle:   #ff7e8a;
  --cat-cyber:       #5ae8ff;
  --cat-aml:         #39e58c;
  --cat-fairhousing: #4d9fff;
  --cat-conduct:     #a78bfa;

  /* Warm near-white body for the bright zones (clean-cut, O&G-style) */
  --paper:       #f7f4ee;

  /* Category palette — retail games (vivid on the dark band) */
  --cat-clienteling: #caa14e;  /* champagne gold */
  --cat-mobile:      #4cc9ff;  /* drill cyan     */
  --cat-career:      #b98bff;  /* life-sim violet*/
  --cat-onboarding:  #4fd98a;  /* go green       */
  --cat-lp:          #ff5a5a;  /* alarm red      */
  --cat-heritage:    #d8a24a;  /* deep gold      */
  --cat-operations:  #6ea8ff;  /* ops blue       */
  --cat-coaching:    #2fd6a6;  /* teal           */

  /* Glass system */
  --glass-bg:     rgba(10, 20, 38, 0.55);
  --glass-border: rgba(255, 255, 255, 0.14);
  --glass-blur:   14px;

  /* Spotlight pointer position (updated by JS) */
  --mx: 50vw;
  --my: 0vh;
}

::selection { background: var(--accent); color: #000; }

/* -------------------------------------------------------------
   HERO — ambient video background
   ------------------------------------------------------------- */
.re-hero {
  position: relative;
  z-index: 10;
  height: 100vh;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding: 0 var(--edge);
  overflow: hidden;
  background: var(--bg);
}
.re-hero-video {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}
.re-hero-video video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.re-hero-scrim {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(0,0,0,0.6) 0%, rgba(0,0,0,0.3) 40%, rgba(0,0,0,0.7) 100%);
}
.re-hero-vignette {
  position: absolute;
  inset: 0;
  z-index: 2;
  background:
    radial-gradient(ellipse at center, transparent 40%, rgba(0,0,0,0.6) 100%);
}
/* Fallback gradient when video is not available */
.re-hero-fallback {
  position: absolute;
  inset: 0;
  z-index: -1; /* sits beneath the hero video; shows only if the video fails */
  background:
    radial-gradient(ellipse 60% 60% at 30% 40%, rgba(15, 29, 51, 0.7), transparent 70%),
    radial-gradient(ellipse 50% 50% at 75% 60%, rgba(26, 42, 74, 0.5), transparent 65%),
    var(--bg);
}

.re-hero-content {
  position: relative;
  z-index: 3;
  max-width: 960px;
  padding-top: 5vh;
}
.re-hero .hero-heading {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2.6rem, 8vw, 7.5rem);
  line-height: 0.92;
  letter-spacing: -0.03em;
  text-transform: uppercase;
  color: var(--ink);
}
.re-hero .hero-word {
  display: block;
  overflow: hidden;
  padding-right: 0.06em;
  padding-bottom: 0.08em;
}
.re-hero .hero-word > span {
  display: inline-block;
  will-change: transform;
}
.re-hero .hero-word--accent > span {
  background: linear-gradient(180deg, var(--accent) 0%, var(--accent-soft) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-style: italic;
  /* Unbounded has no italic face, so the browser fakes it by skewing. The last
     glyph's skew overhangs its box; pad right so background-clip:text still
     paints it instead of cutting it at a clean vertical edge. */
  padding-right: 0.2em;
}
.re-hero .hero-tagline {
  font-family: var(--font-body);
  font-size: clamp(1rem, 1.3vw, 1.2rem);
  font-weight: 400;
  max-width: 48ch;
  margin-top: 1.8rem;
  color: var(--ink-muted);
  line-height: 1.6;
}
.re-hero .hero-meta {
  display: flex;
  gap: 1.6rem;
  margin-top: 2rem;
  flex-wrap: wrap;
  padding-top: 1.6rem;
  border-top: 1px solid var(--line);
}
.re-hero .hero-meta-item {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  color: var(--ink-dim);
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 0.55em;
}
.re-hero .hero-meta-item em {
  font-style: normal;
  color: var(--accent);
  font-size: 0.7em;
}

/* Label dot */
.label-dot {
  width: 6px; height: 6px;
  background: var(--accent);
  border-radius: 50%;
  box-shadow: 0 0 12px var(--accent);
  animation: pulse 2.2s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 0.5; transform: scale(0.95); }
  50%      { opacity: 1;   transform: scale(1.1); }
}

/* Stat chips (Problem section) */
.stat-chips {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-top: 1.8rem;
}
.stat-chip {
  display: flex;
  align-items: flex-start;
  gap: 0.8rem;
  padding: 0.75rem 1rem;
  background: var(--bg-elev);
  border: 1px solid var(--bg-elev-2);
  border-radius: 8px;
  text-decoration: none;
  transition: border-color 0.3s var(--ease-out);
}
.stat-chip:hover { border-color: var(--accent); }
.stat-chip-value {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.2rem;
  color: var(--accent);
  white-space: nowrap;
  min-width: 55px;
  flex-shrink: 0;
  line-height: 1.4;
}
.stat-chip-text {
  font-family: var(--font-body);
  font-size: 0.85rem;
  color: var(--ink-muted);
  line-height: 1.5;
}
.stat-chip--text-only .stat-chip-text {
  font-style: italic;
  color: var(--ink-dim);
}

/* Contrast pairs (Shift section) */
.contrast-pairs {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-top: 2rem;
}
.contrast-pair {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.8rem;
}
.contrast-old {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-dim);
  text-decoration: line-through;
}
.contrast-arrow {
  color: var(--accent);
  font-size: 0.9rem;
}
.contrast-new {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink);
  font-weight: 700;
}
.contrast-new em {
  font-style: italic;
  color: var(--accent);
}

/* -------------------------------------------------------------
   BODY SECTIONS (natural scroll, stagger-in)
   ------------------------------------------------------------- */
.re-body {
  position: relative;
  z-index: 20;
  background: var(--paper);
}

/* Bright clean-cut port: the page-wide dark canvas + drifting blooms are
   replaced by per-zone backgrounds, so disable them. */
.re-canvas,
.re-blooms { display: none; }

/* -------------------------------------------------------------
   COLOR ZONES — groups of sections sharing a background,
   with gradient transitions between zones
   ------------------------------------------------------------- */
.re-zone {
  position: relative;
  z-index: 1;
}
.re-zone > .re-section:first-child {
  border-top: none;
}

/* Light zone — flat warm-white body shows through (transparent). Tokens
   re-scope so every card/section inside renders dark-on-light. */
.re-zone--light {
  background: transparent;
  --ink:         #1b2230;
  --ink-muted:   #5a6576;
  --ink-dim:     #97a1b0;
  --line:        rgba(27, 34, 48, 0.12);
  --line-strong: rgba(27, 34, 48, 0.22);

  --amber:       #9c7320;
  --amber-soft:  #c79a3f;
  --accent:      #9c7320;
  --accent-soft: #c79a3f;

  --glass-bg:     rgba(255, 255, 255, 0.62);
  --glass-border: rgba(27, 34, 48, 0.10);
  color: var(--ink);
}

/* Navy zone — clean cut in from white, then a slow blue -> black descent
   within the zone (+ faint champagne/blue glow). Tall band: 003-009. */
.re-zone--navy {
  color: var(--ink);
  background:
    radial-gradient(55% 26% at 82% 8%, rgba(202, 161, 78, 0.12), transparent 60%),
    radial-gradient(50% 30% at 12% 52%, rgba(70, 150, 235, 0.10), transparent 62%),
    linear-gradient(180deg,
      #1a4478 0%,
      #123257 20%,
      #0c2440 42%,
      #08192e 64%,
      #050f1f 82%,
      #04080f 100%);
}
.re-zone--navy .re-section { border-top-color: rgba(255, 255, 255, 0.07); }

/* Dark zone — same blue at the cut, gradient to black (Process + CTA) */
.re-zone--dark {
  color: var(--ink);
  background:
    radial-gradient(58% 24% at 78% 10%, rgba(202, 161, 78, 0.12), transparent 60%),
    linear-gradient(180deg,
      #1a4478 0%,
      #102a4c 32%,
      #0a1c34 62%,
      #05101f 86%,
      #04080f 100%);
}
.re-zone--dark .re-section { border-top-color: rgba(255, 255, 255, 0.07); }

/* Centered contrast pairs (Shift section) */
.contrast-pairs--centered {
  align-items: center;
  max-width: 480px;
  margin: 0 auto;
}
.contrast-pairs--centered .contrast-pair {
  justify-content: center;
}

/* Problem section — 2-column layout */
.re-problem-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  max-width: 1200px;
  margin: 0 auto;
  align-items: start;
}
.re-problem-copy {
  max-width: 48ch;
}
.re-section-body {
  font-size: clamp(1rem, 1.15vw, 1.13rem);
  line-height: 1.6;
  margin-bottom: 1.2rem;
}
.re-section-body:last-child { margin-bottom: 0; }

/* Shared section wrapper */
.re-section {
  padding: 12vh var(--edge);
  border-top: 1px solid var(--line);
}
.re-section-header {
  max-width: 720px;
  margin: 0 auto 4rem;
  text-align: center;
}
.re-section-heading {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2.4rem, 5.5vw, 4.8rem);
  line-height: 0.95;
  letter-spacing: -0.025em;
  color: var(--ink);
  margin-top: 0.3rem;
}
.re-section-heading em {
  font-style: italic;
  font-weight: 500;
  background: linear-gradient(180deg, var(--accent) 0%, var(--accent-soft) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
/* Unbounded has no italic face, so the browser fakes italics by skewing. The
   last glyph on each line overhangs its box and background-clip:text clips that
   tail. Pad the box right and clone the decoration per line so every line-end
   glyph (and the final character) stays painted. */
.re-section-heading em,
.re-cta-heading em,
.re-compliance .re-section-heading em {
  padding-right: 0.2em;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}
.re-section-subtitle {
  margin-top: 1.2rem;
  font-size: clamp(1rem, 1.15vw, 1.13rem);
  color: var(--ink-muted);
  line-height: 1.6;
  max-width: 54ch;
  margin-left: auto;
  margin-right: auto;
}

/* 003 — NUMBERS: stat grid */
.re-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--glass-border);
  max-width: 1200px;
  margin: 0 auto;
  border-radius: 12px;
  overflow: hidden;
  backdrop-filter: blur(var(--glass-blur)) saturate(120%);
  -webkit-backdrop-filter: blur(var(--glass-blur)) saturate(120%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.14), 0 12px 30px rgba(0, 0, 0, 0.38);
}
.re-stat {
  background: var(--glass-bg);
  padding: 2.4rem 1.6rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.re-stat-value {
  display: flex;
  align-items: baseline;
  justify-content: center;
  white-space: nowrap;
}
.re-stat-number {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2.8rem, 5.5vw, 4.8rem);
  line-height: 1;
  color: var(--ink);
  letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums;
}
.re-stat-suffix {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(1.4rem, 2.8vw, 2.4rem);
  color: var(--accent);
  letter-spacing: -0.02em;
}
.re-stat-label {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink);
  max-width: 22ch;
  margin: 0.9rem auto 0;
  line-height: 1.5;
}
.re-stat-context {
  font-size: 0.8rem;
  line-height: 1.5;
  color: var(--ink-muted);
  max-width: 26ch;
  margin: 0.55rem auto 0;
}
.re-stat-source {
  display: inline-block;
  margin-top: auto;
  padding-top: 0.9rem;
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.14em;
  color: var(--ink-dim);
  text-decoration: underline;
  text-underline-offset: 2px;
  transition: color 0.3s var(--ease-out);
}
.re-stat-source:hover { color: var(--accent); }

/* -------------------------------------------------------------
   012 — THE RESEARCH: learning-science ledger.
   Sits in the white zone as a horizontal ledger, oversized gold
   number on the left and the claim on the right, so it reads
   distinctly from the glass stat cards up in 003 (THE NUMBERS).
   ------------------------------------------------------------- */
.re-proof-ledger {
  max-width: 940px;
  margin: 0 auto;
  border-top: 1px solid var(--line);
}
.re-proof-row {
  position: relative;
  display: grid;
  grid-template-columns: clamp(7rem, 18vw, 12rem) 1fr;
  align-items: center;
  gap: clamp(1.25rem, 3.5vw, 2.5rem);
  padding: clamp(1.6rem, 3.4vw, 2.6rem) 0.75rem;
  border-bottom: 1px solid var(--line);
}
/* Left accent tick grows on row hover */
.re-proof-row::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  width: 2px;
  height: 0;
  background: var(--accent);
  transform: translateY(-50%);
  transition: height 0.45s var(--ease-out);
}
.re-proof-row:hover::before { height: 60%; }

.re-proof-value {
  display: flex;
  align-items: baseline;
  justify-content: flex-end;
  white-space: nowrap;
  line-height: 0.9;
}
.re-proof-num {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(3rem, 6.4vw, 5.2rem);
  line-height: 0.9;
  color: var(--accent);
  letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums;
}
.re-proof-unit {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.2rem, 2.2vw, 1.9rem);
  color: var(--accent-soft);
  margin-left: 0.08em;
}
.re-proof-text {
  max-width: 54ch;
  padding-left: clamp(1.25rem, 3.5vw, 2.5rem);
  border-left: 1px solid var(--line);
}
.re-proof-claim {
  font-family: var(--font-body);
  font-size: clamp(0.98rem, 1.4vw, 1.12rem);
  line-height: 1.5;
  color: var(--ink);
  margin: 0 0 0.65rem;
}
.re-proof-source {
  display: inline-flex;
  align-items: center;
  gap: 0.4em;
  font-family: var(--font-mono);
  font-size: 0.66rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-dim);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  padding-bottom: 1px;
  transition: color 0.25s var(--ease-out), border-color 0.25s var(--ease-out);
}
.re-proof-source:hover {
  color: var(--accent);
  border-bottom-color: var(--accent);
}

@media (max-width: 760px) {
  .re-proof-row {
    grid-template-columns: clamp(5.5rem, 22vw, 8rem) 1fr;
    gap: clamp(1rem, 4vw, 1.6rem);
  }
  .re-proof-text { padding-left: clamp(1rem, 4vw, 1.6rem); }
}
@media (max-width: 520px) {
  .re-proof-row {
    grid-template-columns: 1fr;
    align-items: start;
    gap: 0.4rem;
    padding: 1.5rem 0.75rem;
  }
  .re-proof-value { justify-content: flex-start; }
  .re-proof-text {
    padding-left: 0;
    border-left: none;
  }
}

/* 004 — SKILLS: reuses offering-card pattern from base.css */
/* This page's skills cards drop the footer label, so restore the bottom padding */
.re-skills .offering-card { padding-bottom: 2.2rem; }
@media (max-width: 600px) { .re-skills .offering-card { padding-bottom: 1.8rem; } }
/* Track A = warm gold glass, Track B = cool cyan glass */
.re-skills .offering-card {
  background: var(--glass-bg);
  border-color: var(--glass-border);
  backdrop-filter: blur(var(--glass-blur)) saturate(120%);
  -webkit-backdrop-filter: blur(var(--glass-blur)) saturate(120%);
}
.re-skills .offering-card[data-track="soft"] { --c: var(--cat-negotiation); }
.re-skills .offering-card[data-track="hard"] { --c: var(--cat-cyber); }
.re-skills .offering-card::before {
  background: radial-gradient(ellipse 80% 60% at 20% 10%, color-mix(in srgb, var(--c) 18%, transparent) 0%, transparent 60%);
  opacity: 0.9;
}
.re-skills .offering-card .offering-icon { color: var(--c); }
.re-skills .offering-card .offering-list li span { color: var(--c); }
.re-skills .offering-card:hover { border-color: color-mix(in srgb, var(--c) 45%, var(--glass-border)); }

/* 005 — GAMES: glass cards tinted by category color */
.re-games-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  max-width: 1280px;
  margin: 0 auto;
}
@property --glow {
  syntax: '<percentage>';
  initial-value: 22%;
  inherits: false;
}
.re-game-card {
  --c: var(--cat-negotiation); /* fallback; data-cat sets the real color */
  --glow: 22%;
  position: relative;
  /* one category glow rising from the bottom, shared across the whole body */
  background:
    linear-gradient(0deg, color-mix(in srgb, var(--c) var(--glow), transparent), transparent 80%),
    var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 12px;
  overflow: hidden;
  cursor: pointer;
  backdrop-filter: blur(var(--glass-blur)) saturate(120%);
  -webkit-backdrop-filter: blur(var(--glass-blur)) saturate(120%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.14), 0 12px 30px rgba(0, 0, 0, 0.38);
  transition: border-color 0.3s var(--ease-out), transform 0.15s var(--ease-out), --glow 0.4s var(--ease-out);
}
.re-game-card:hover {
  transform: translateY(-3px);
  border-color: color-mix(in srgb, var(--c) 45%, var(--glass-border));
  --glow: 30%;
}
.re-game-card.expanded {
  grid-column: 1 / -1;
  border-color: color-mix(in srgb, var(--c) 60%, transparent);
  cursor: default;
  --glow: 34%;
}

.re-game-card-image {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #0a1422;
}
.re-game-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--ease-out);
}
.re-game-card:hover .re-game-card-image img {
  transform: scale(1.03);
}
.re-game-card-badge {
  position: absolute;
  top: 0.6rem;
  padding: 0.2rem 0.6rem;
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(4px);
  border-radius: 4px;
  color: var(--ink-muted);
}
.re-game-card-badge--code { left: 0.6rem; color: var(--c); }
.re-game-card-badge--cat {
  right: 0.6rem;
  background: var(--c);
  color: #04070d;
  font-weight: 700;
}

/* Glass info + detail areas, glowing in the category color */
.re-game-card-info,
.re-game-card-detail {
  position: relative;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.05);
}
.re-game-card-info {
  padding: 1.2rem 1.4rem;
  border-top: 1px solid color-mix(in srgb, var(--c) 50%, transparent);
}
/* (Single glow now lives on the card background and rises through the whole
   body, so info and detail share one continuous gradient.) */
.re-game-card-title {
  position: relative;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--ink);
  letter-spacing: -0.01em;
  margin-bottom: 0.3rem;
}
.re-game-card-genre {
  position: relative;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  color: color-mix(in srgb, var(--c) 70%, var(--ink));
  text-transform: uppercase;
}
.re-game-card-expand-hint {
  position: relative;
  font-family: var(--font-mono);
  font-size: 0.64rem;
  letter-spacing: 0.12em;
  color: var(--ink-muted);
  margin-top: 0.6rem;
  transition: color 0.3s var(--ease-out);
}
.re-game-card:hover .re-game-card-expand-hint { color: var(--ink); }
.re-game-card.expanded .re-game-card-expand-hint { display: none; }

/* Expanded content — hidden by default */
.re-game-card-detail {
  max-height: 0;
  transition: max-height 0.5s var(--ease-out), padding 0.5s var(--ease-out);
  padding: 0 1.4rem;
}
.re-game-card.expanded .re-game-card-detail {
  max-height: 600px;
  padding: 0 1.4rem 1.6rem;
}
.re-game-card-desc {
  position: relative;
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--ink);
  opacity: 0.92;
  line-height: 1.65;
  margin-bottom: 1.4rem;
}
.re-game-card-meta {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.re-game-card-meta dt {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: color-mix(in srgb, var(--c) 65%, var(--ink-muted));
  margin-bottom: 0.3rem;
}
.re-game-card-meta dd {
  font-family: var(--font-body);
  font-size: 0.88rem;
  color: var(--ink);
  opacity: 0.88;
  line-height: 1.5;
  margin: 0;
}

/* Expanded card: image becomes taller */
.re-game-card.expanded .re-game-card-image {
  aspect-ratio: 21 / 9;
}
.re-game-card.expanded .re-game-card-title {
  font-size: 1.4rem;
}

/* 006 — COMPLIANCE: green zone */
.re-compliance {
  background:
    radial-gradient(ellipse 60% 40% at 50% 20%, rgba(45, 138, 106, 0.06), transparent 70%);
}
.re-compliance .section-label .label-dot,
.re-compliance .label-index {
  color: var(--trust);
}
.re-compliance .section-label .label-dot {
  background: var(--trust);
  box-shadow: 0 0 12px var(--trust);
}
.re-compliance .re-section-heading em {
  background: linear-gradient(180deg, var(--trust) 0%, #4aad8a 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-style: italic;
}

.re-compliance-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.6rem;
  max-width: 1100px;
  margin: 0 auto;
}
.re-compliance-card {
  --c: var(--cat-fairhousing); /* fallback; data-theme sets the real color */
  position: relative;
  overflow: hidden;
  background: var(--glass-bg);
  border: 1px solid color-mix(in srgb, var(--c) 28%, var(--glass-border));
  border-radius: 12px;
  padding: 1.6rem 1.6rem 1.6rem 1.8rem;
  backdrop-filter: blur(var(--glass-blur)) saturate(120%);
  -webkit-backdrop-filter: blur(var(--glass-blur)) saturate(120%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.14), 0 12px 30px rgba(0, 0, 0, 0.34);
  transition: border-color 0.3s var(--ease-out), transform 0.3s var(--ease-out);
}
.re-compliance-card::before {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 3px;
  background: var(--c);
}
.re-compliance-card:hover {
  border-color: color-mix(in srgb, var(--c) 55%, transparent);
  transform: translateY(-3px);
}
.re-compliance-card--full {
  grid-column: 1 / -1;
}
.re-compliance-card-header {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 0.7rem;
}
.re-compliance-dot {
  width: 8px; height: 8px;
  background: var(--c);
  border-radius: 2px;
  flex-shrink: 0;
}
.re-compliance-card-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  color: var(--ink);
  letter-spacing: -0.01em;
}
.re-compliance-card-body {
  font-family: var(--font-body);
  font-size: 0.88rem;
  color: var(--ink-muted);
  line-height: 1.6;
  margin-bottom: 0.7rem;
}
.re-compliance-covered {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  color: color-mix(in srgb, var(--c) 75%, var(--ink));
}
.re-compliance-covered span {
  color: var(--ink);
  font-weight: 700;
}
.re-compliance-footnote {
  text-align: center;
  margin-top: 3rem;
  font-size: 0.85rem;
  color: var(--ink-dim);
  line-height: 1.6;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

/* 007 — BUILT FOR: three tiles */
.re-tiles-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.9rem;
  max-width: 1280px;
  margin: 0 auto;
}
@media (max-width: 1080px) { .re-tiles-grid { grid-template-columns: repeat(2, 1fr); } }
.re-tile {
  background: var(--bg-elev);
  border: 1px solid var(--bg-elev-2);
  border-radius: 10px;
  padding: 1.7rem 1.4rem;
  transition: border-color 0.4s var(--ease-out), transform 0.4s var(--ease-out);
}
.re-tile:hover {
  border-color: var(--accent);
  transform: translateY(-4px);
}
.re-tile-label {
  font-family: var(--font-mono);
  font-size: 0.64rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1rem;
}
.re-tile-body {
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--ink-muted);
  line-height: 1.65;
}

/* 008 — PROCESS: override node bg to match navy elevation */
.re-process .process-node {
  background: var(--bg-elev);
}

/* 009 — CTA */
.re-cta-section {
  padding: 14vh var(--edge) 18vh;
  text-align: center;
  background: transparent;
}
.re-cta-inner {
  max-width: 640px;
  margin: 0 auto;
}
.re-cta-heading {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2.4rem, 5.6vw, 4.2rem);
  line-height: 0.95;
  letter-spacing: -0.025em;
  color: var(--ink);
  margin-bottom: 1.4rem;
}
.re-cta-heading em {
  font-style: italic;
  font-weight: 500;
  background: linear-gradient(180deg, var(--accent) 0%, var(--accent-soft) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.re-cta-body {
  font-size: clamp(1rem, 1.15vw, 1.13rem);
  color: var(--ink-muted);
  line-height: 1.6;
  margin-bottom: 2.2rem;
  max-width: 52ch;
  margin-left: auto;
  margin-right: auto;
}
.re-cta-group {
  display: flex;
  gap: 0.8rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* Footer override: navy border */
.re-footer { border-top-color: var(--bg-elev-2); }

/* =============================================================
   RETAIL-ONLY BANDS — all live inside the navy zone, so they
   sit on the blue->black gradient with dark glass + light ink.
   ============================================================= */

/* 004 — ON THE FLOOR, ON THEIR PHONE -------------------------- */
.re-mobile-layout {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 3.5rem;
  max-width: 1100px;
  margin: 0 auto;
  align-items: center;
}
.re-mobile-bullets {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  max-width: 360px;
}
.re-mobile-bullets li {
  position: relative;
  padding-left: 1.5rem;
  font-size: 0.92rem;
  line-height: 1.55;
  color: var(--ink);
  opacity: 0.9;
}
.re-mobile-bullet-dot {
  position: absolute;
  left: 0; top: 0.5em;
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 10px var(--accent);
}
.re-mobile-visual {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
}
.re-mobile-caption {
  font-family: var(--font-body);
  font-size: 1.02rem;
  font-weight: 500;
  line-height: 1.5;
  color: var(--ink);
  text-align: center;
  max-width: 26ch;
  margin: 0;
}

/* Phone mock — self-contained dark device */
.re-phone-mock {
  width: 240px;
  aspect-ratio: 9 / 19;
  border-radius: 34px;
  padding: 12px;
  position: relative;
  background: linear-gradient(160deg, #2a3550, #0d1422);
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.18);
}
.re-phone-mock::before {
  content: '';
  position: absolute;
  top: 14px; left: 50%;
  transform: translateX(-50%);
  width: 84px; height: 6px;
  border-radius: 3px;
  background: rgba(0, 0, 0, 0.5);
  z-index: 2;
}
.re-phone-screen {
  height: 100%;
  border-radius: 24px;
  background: radial-gradient(120% 80% at 50% 0%, #143a6b, #081427 70%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 2.2rem 1.1rem 1.3rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.7rem;
  overflow: hidden;
}
.re-phone-header {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-muted);
}
.re-phone-timer {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 2rem;
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--accent);
}
.re-phone-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.6rem;
  width: 100%;
  margin-top: 0.3rem;
}
.re-phone-tile {
  aspect-ratio: 1;
  border-radius: 10px;
  background: linear-gradient(150deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.03));
  border: 1px solid rgba(255, 255, 255, 0.10);
}
.re-phone-tile--target {
  border-color: var(--accent);
  box-shadow: 0 0 0 2px color-mix(in srgb, var(--accent) 60%, transparent),
              0 0 20px color-mix(in srgb, var(--accent) 45%, transparent);
}
.re-phone-prompt {
  font-family: var(--font-body);
  font-size: 0.8rem;
  color: var(--ink);
  opacity: 0.85;
  margin-top: 0.3rem;
}

/* 007 — TWO MODES -------------------------------------------- */
/* Now the left column of the merged Two Modes + mobile band — the two
   mode cards stack vertically beside the phone. */
.re-modes-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}
.re-mode-card {
  position: relative;
  overflow: hidden;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 12px;
  padding: 2rem 1.8rem;
  backdrop-filter: blur(var(--glass-blur)) saturate(120%);
  -webkit-backdrop-filter: blur(var(--glass-blur)) saturate(120%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.14), 0 12px 30px rgba(0, 0, 0, 0.34);
  transition: border-color 0.3s var(--ease-out), transform 0.3s var(--ease-out);
}
.re-mode-card:hover {
  border-color: color-mix(in srgb, var(--accent) 45%, var(--glass-border));
  transform: translateY(-3px);
}
.re-mode-tag {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.64rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.9rem;
}
.re-mode-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.5rem;
  letter-spacing: -0.01em;
  color: var(--ink);
  margin-bottom: 0.7rem;
}
.re-mode-body {
  font-family: var(--font-body);
  font-size: 0.92rem;
  color: var(--ink);
  opacity: 0.85;
  line-height: 1.6;
  margin-bottom: 1.1rem;
}
.re-mode-examples {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.06em;
  color: var(--ink-muted);
  line-height: 1.8;
}
.re-mode-examples span { color: var(--accent-soft); }

/* 008 — TIED TO YOUR BUSINESS KPIs --------------------------- */
.re-kpi-layout {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 3rem;
  max-width: 1100px;
  margin: 0 auto;
  align-items: center;
}
.re-kpi-subhead {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1rem;
}
.re-kpi-bullets {
  list-style: none;
  margin: 0 0 1.4rem;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}
.re-kpi-bullets li {
  font-size: 0.92rem;
  line-height: 1.55;
  color: var(--ink);
  opacity: 0.9;
  padding-left: 1.1rem;
  border-left: 2px solid color-mix(in srgb, var(--accent) 40%, transparent);
}
.re-kpi-bullets li strong { color: var(--accent-soft); font-weight: 700; }
.re-kpi-footnote {
  font-size: 0.82rem;
  line-height: 1.6;
  color: var(--ink-muted);
}

/* Illustrative KPI panel — bars show the numbers the games are built to move */
.re-dashboard-mock {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 14px;
  padding: 1.4rem 1.5rem 1.2rem;
  backdrop-filter: blur(var(--glass-blur)) saturate(120%);
  -webkit-backdrop-filter: blur(var(--glass-blur)) saturate(120%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.14), 0 18px 40px rgba(0, 0, 0, 0.4);
}
.re-dashboard-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.1rem;
}
.re-dashboard-title {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink);
}
.re-dashboard-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.4em;
  font-family: var(--font-mono);
  font-size: 0.58rem;
  letter-spacing: 0.16em;
  color: var(--ink-muted);
  border: 1px solid var(--line-strong);
  border-radius: 20px;
  padding: 0.15rem 0.6rem;
}
.re-dashboard-tag::before {
  content: '';
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--ink-dim);
}
.re-dashboard-rows { display: flex; flex-direction: column; gap: 0.7rem; }
.re-dashboard-row {
  display: grid;
  grid-template-columns: 120px 1fr;
  align-items: center;
  gap: 0.8rem;
}
.re-dashboard-rank {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--ink-dim);
}
.re-dashboard-name {
  font-family: var(--font-body);
  font-size: 0.82rem;
  color: var(--ink);
  white-space: nowrap;
}
.re-dashboard-bar {
  height: 8px;
  border-radius: 5px;
  background: rgba(255, 255, 255, 0.08);
  overflow: hidden;
}
.re-dashboard-bar-fill {
  height: 100%;
  border-radius: 5px;
  background: linear-gradient(90deg, color-mix(in srgb, var(--accent) 55%, transparent), var(--accent));
}
.re-dashboard-score {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--ink);
  min-width: 2.2em;
  text-align: right;
}
.re-dashboard-footer {
  margin-top: 1.1rem;
  padding-top: 0.9rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-family: var(--font-mono);
  font-size: 0.64rem;
  letter-spacing: 0.08em;
  color: var(--ink-muted);
}

/* Persona anchor stats — distinct callout within each Built-For tile */
.re-tile-anchor {
  margin-top: 1.1rem;
  padding-top: 0.9rem;
  border-top: 1px solid var(--line-strong);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  line-height: 1.5;
  color: var(--accent);
}

/* -------------------------------------------------------------
   RESPONSIVE
   ------------------------------------------------------------- */
@media (max-width: 900px) {
  .re-hero { height: 100svh; }
  .re-hero .hero-heading { font-size: clamp(2.2rem, 11vw, 4.5rem); }
  .re-hero .hero-tagline { font-size: 1rem; margin-top: 1.2rem; }
  .re-hero .hero-meta { gap: 0.8rem; }

  .re-problem-layout { grid-template-columns: 1fr; gap: 2rem; }
  .contrast-pairs--centered .contrast-pair { justify-content: flex-start; }

  .re-stats-grid { grid-template-columns: repeat(2, 1fr); }
  .re-stat { padding: 1.8rem 1rem; }

  .re-games-grid { grid-template-columns: 1fr; }
  .re-game-card.expanded { grid-column: 1; }

  .re-compliance-grid { grid-template-columns: 1fr; }
  .re-compliance-card--full { grid-column: 1; }

  .re-tiles-grid { grid-template-columns: 1fr; }

  .re-mobile-layout { grid-template-columns: 1fr; gap: 2.4rem; }
  .re-modes-grid { grid-template-columns: 1fr; }
  .re-kpi-layout { grid-template-columns: 1fr; gap: 2.4rem; }

  .re-section { padding: 10vh var(--edge); }
}

@media (max-width: 480px) {
  .re-stats-grid { grid-template-columns: 1fr; }
  .re-stat { padding: 1.4rem 1rem; }

  .hero-cta-group { flex-direction: column; align-items: stretch; }
  .hero-cta-group .cta-button { width: 100%; justify-content: center; }

  .re-cta-group { flex-direction: column; align-items: stretch; }
  .re-cta-group .cta-button { width: 100%; justify-content: center; }

  .re-game-card-meta { grid-template-columns: 1fr; }
}

/* -------------------------------------------------------------
   CATEGORY COLOR WIRING
   ------------------------------------------------------------- */
.re-game-card[data-cat="clienteling"] { --c: var(--cat-clienteling); }
.re-game-card[data-cat="mobile"]      { --c: var(--cat-mobile); }
.re-game-card[data-cat="career"]      { --c: var(--cat-career); }
.re-game-card[data-cat="onboarding"]  { --c: var(--cat-onboarding); }
.re-game-card[data-cat="lp"]          { --c: var(--cat-lp); }
.re-game-card[data-cat="heritage"]    { --c: var(--cat-heritage); }
.re-game-card[data-cat="operations"]  { --c: var(--cat-operations); }
.re-game-card[data-cat="coaching"]    { --c: var(--cat-coaching); }

/* Compliance theme colours — deepened to read on the white light zone */
.re-compliance-card[data-theme="safety"]  { --c: #e2592a; }
.re-compliance-card[data-theme="lp"]       { --c: #d83a3a; }
.re-compliance-card[data-theme="conduct"]  { --c: #8a5cf0; }
.re-compliance-card[data-theme="pci"]      { --c: #2f7fd6; }
.re-compliance-card[data-theme="brand"]    { --c: #b8780a; }

/* -------------------------------------------------------------
   DARK GLASS WORLD — canvas + overlays
   ------------------------------------------------------------- */
/* Gradient canvas — spans full document height, scrolls with content */
.re-canvas {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background: linear-gradient(180deg,
    #1a4078 0%,
    #0a1c38 12%,
    #05090f 26%,
    #0f3d2c 50%,
    #060a12 76%,
    #0c2346 100%);
}

/* Colored light blooms — fixed to viewport, slow drift, JS parallax */
.re-blooms {
  position: fixed;
  inset: -20% 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(40% 30% at 18% 12%, rgba(212,168,67,0.16), transparent 60%),
    radial-gradient(45% 35% at 85% 50%, rgba(45,138,106,0.16), transparent 60%),
    radial-gradient(40% 30% at 12% 86%, rgba(90,232,255,0.10), transparent 60%);
  background-size: 140% 140%;
  background-position: 0% 0%;
  will-change: transform, background-position;
  animation: re-bloom-drift 32s ease-in-out infinite alternate;
}
@keyframes re-bloom-drift {
  from { background-position: 0% 0%; }
  to   { background-position: 100% 100%; }
}

/* Cursor spotlight — off until JS enables it on fine-pointer devices.
   Sits above the section content and screen-blends so it reads as light. */
.re-spotlight {
  position: fixed;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  opacity: 0;
  mix-blend-mode: screen;
  background: radial-gradient(180px 180px at var(--mx) var(--my),
    rgba(150, 190, 255, 0.10), transparent 70%);
  transition: opacity 0.3s var(--ease-out);
}
body.re-spotlight-on .re-spotlight { opacity: 1; }

/* Film grain — fixed texture above content, below the fixed header */
.re-grain {
  position: fixed;
  inset: 0;
  z-index: 40;
  pointer-events: none;
  opacity: 0.07;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='150' height='150'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* -------------------------------------------------------------
   001 — PROBLEM chips + 007 — BUILT-FOR tiles (glass)
   ------------------------------------------------------------- */
.stat-chip {
  background: var(--glass-bg);
  border-color: var(--glass-border);
  backdrop-filter: blur(10px) saturate(120%);
  -webkit-backdrop-filter: blur(10px) saturate(120%);
}
.stat-chip:hover { border-color: color-mix(in srgb, var(--accent) 50%, var(--glass-border)); }
.stat-chip-text { color: var(--ink); opacity: 0.82; }
.stat-chip--text-only {
  background: transparent;
  border-color: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}
.stat-chip--text-only .stat-chip-text { font-style: italic; color: var(--ink-muted); opacity: 1; }

.re-tile {
  background: var(--glass-bg);
  border-color: var(--glass-border);
  backdrop-filter: blur(var(--glass-blur)) saturate(120%);
  -webkit-backdrop-filter: blur(var(--glass-blur)) saturate(120%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.14), 0 12px 30px rgba(0, 0, 0, 0.34);
}
.re-tile:hover { border-color: color-mix(in srgb, var(--accent) 50%, var(--glass-border)); transform: translateY(-4px); }
.re-tile-body { color: var(--ink); opacity: 0.85; }

/* -------------------------------------------------------------
   FLAIR — sheen, glow swell, edge light
   ------------------------------------------------------------- */
.re-game-card, .re-tile, .re-skills .offering-card { position: relative; }

/* Glass hover sheen — a diagonal flash that sweeps fully across the card and
   exits off the far edge while fading, so it never stops mid-card or blinks out */
.re-game-card::after,
.re-tile::after,
.re-skills .offering-card::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  background: linear-gradient(115deg, transparent 36%, rgba(255, 255, 255, 0.20) 50%, transparent 64%);
  background-repeat: no-repeat;
  background-size: 250% 250%;
  background-position: 170% 0;
  opacity: 0;
  z-index: 2;
}
.re-game-card:hover::after,
.re-tile:hover::after,
.re-skills .offering-card:hover::after {
  animation: re-sheen 1.5s var(--ease-out);
}
@keyframes re-sheen {
  0%   { background-position: 170% 0; opacity: 0; }
  20%  { opacity: 1; }
  80%  { opacity: 1; }
  100% { background-position: -70% 0; opacity: 0; }
}

/* Category glow swell is handled by the animated --glow custom property on
   .re-game-card:hover / .re-game-card.expanded (see the GAMES section). */

/* Animated edge light — only on the expanded card */
@property --edge-angle {
  syntax: '<angle>';
  initial-value: 0deg;
  inherits: false;
}
.re-game-card.expanded { border-color: transparent; }
.re-game-card.expanded::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 3;
  border-radius: inherit;
  padding: 1.5px;
  background: conic-gradient(from var(--edge-angle, 0deg),
    color-mix(in srgb, var(--c) 85%, transparent) 0deg,
    transparent 70deg,
    color-mix(in srgb, var(--c) 85%, transparent) 180deg,
    transparent 250deg,
    color-mix(in srgb, var(--c) 85%, transparent) 360deg);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
          mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
          mask-composite: exclude;
  pointer-events: none;
  animation: re-edge-spin 6s linear infinite;
}
@keyframes re-edge-spin {
  to { --edge-angle: 360deg; }
}

/* -------------------------------------------------------------
   MOTION + PERFORMANCE FALLBACKS
   ------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  .re-blooms { animation: none; }
  .re-game-card.expanded { animation: none; }
  .re-game-card::after,
  .re-tile::after,
  .re-skills .offering-card::after { display: none; }
  .re-spotlight { display: none; }
}

/* Mobile + browsers without backdrop-filter: solid translucent panels,
   no cursor spotlight (backdrop-filter is GPU-heavy at volume) */
@media (max-width: 900px) {
  .re-spotlight { display: none; }
  /* Dark-zone glass -> opaque dark */
  .re-zone--navy .re-game-card,
  .re-zone--navy .re-stat,
  .re-zone--navy .re-stats-grid,
  .re-zone--navy .re-skills .offering-card,
  .re-zone--navy .re-mode-card,
  .re-zone--navy .re-dashboard-mock {
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    background: rgba(8, 16, 30, 0.92);
  }
  /* Light-zone glass -> opaque white */
  .re-zone--light .stat-chip,
  .re-zone--light .re-compliance-card,
  .re-zone--light .re-tile {
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    background: rgba(255, 255, 255, 0.95);
  }
  .re-zone--light .stat-chip--text-only { background: transparent; }
}
@supports not ((backdrop-filter: blur(2px)) or (-webkit-backdrop-filter: blur(2px))) {
  .re-zone--navy .re-game-card,
  .re-zone--navy .re-stat,
  .re-zone--navy .re-stats-grid,
  .re-zone--navy .re-skills .offering-card,
  .re-zone--navy .re-mode-card,
  .re-zone--navy .re-dashboard-mock {
    background: rgba(8, 16, 30, 0.94);
  }
  .re-zone--light .stat-chip,
  .re-zone--light .re-compliance-card,
  .re-zone--light .re-tile {
    background: rgba(255, 255, 255, 0.96);
  }
  .re-zone--light .stat-chip--text-only { background: transparent; }
}

/* base.css section wrappers are opaque black — make them transparent on
   this page so the gradient canvas shows through (scoped to RE; home page
   keeps its own backgrounds) */
.re-skills.offerings-section,
.re-process.process-section {
  background: transparent;
}

/* -------------------------------------------------------------
   INDUSTRY PROOF BAR — dark band between the hero and white body
   ------------------------------------------------------------- */
.industry-proof {
  position: relative;
  z-index: 21;
  background: #0a1929;
  padding: 36px var(--edge) 32px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.industry-proof-inner { max-width: 1280px; margin: 0 auto; }
.industry-proof-label {
  text-align: center;
  font-family: var(--font-mono);
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-size: 0.7rem;
  color: rgba(255, 255, 255, 0.5);
  margin: 0 0 28px;
}
.industry-proof-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}
.proof-stat { text-align: center; color: #fff; }
.proof-stat-value {
  display: block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 2.4rem;
  color: var(--accent-soft);
  line-height: 1;
  margin-bottom: 10px;
}
.proof-stat-claim {
  display: block;
  font-family: var(--font-body);
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.86);
  line-height: 1.45;
  margin-bottom: 8px;
  padding: 0 4px;
}
.proof-stat-source {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.66rem;
  letter-spacing: 0.05em;
  color: rgba(255, 255, 255, 0.45);
  text-decoration: none;
  border-bottom: 1px dotted rgba(255, 255, 255, 0.22);
  padding-bottom: 1px;
  transition: color 0.2s ease, border-color 0.2s ease;
}
.proof-stat-source:hover { color: rgba(255, 255, 255, 0.85); border-bottom-color: rgba(255, 255, 255, 0.6); }
@media (max-width: 900px) {
  .industry-proof-grid { grid-template-columns: repeat(2, 1fr); gap: 28px; }
  .proof-stat-value { font-size: 2.1rem; }
}
@media (max-width: 480px) {
  .industry-proof-grid { grid-template-columns: 1fr; gap: 24px; }
}
