/* ============================================================
   REMIX GAMING — SITE STYLES
   Reuses design tokens from the deck (colors, type, scales) but
   adapts to a responsive scrolling page instead of a fixed 1920x1080
   canvas. No imports — tokens are restated here so the site can be
   deployed standalone without the deck's CSS pipeline.
   ============================================================ */

:root {
  /* CANVAS */
  --bg-base: #0a0a0c;
  --bg-elevated: #111114;
  --bg-subtle: #17171c;
  --bg-inset: #08080a;
  /* Section tone — sits between base and elevated. Barely perceptible
     contrast that reads as rhythm when alternated across long scrolls. */
  --bg-tone: #0d0d10;

  /* INK */
  --ink-primary: #f5f5f7;
  --ink-secondary: #b8b8bf;
  --ink-tertiary: #7a7a82;
  --ink-muted: #4a4a52;
  --ink-faint: #2a2a30;

  /* BRAND RED */
  --brand-red: #f84555;
  --brand-red-soft: #ff7a85;
  --brand-red-bright: #ff6070;
  --brand-red-deep: #b0101f;
  --brand-red-wash: rgba(248, 69, 85, 0.08);
  --brand-red-glow: rgba(248, 69, 85, 0.35);

  /* PRODUCT */
  --chexi: #ea7e3c; --chexi-soft: #ffa870;
  --slabz: #8b5cf6; --slabz-soft: #b794ff;
  --brazil: #2ea043; --brazil-soft: #5bc675;

  /* BORDERS */
  --border-subtle: rgba(255, 255, 255, 0.06);
  --border-default: rgba(255, 255, 255, 0.1);
  --border-emphasis: rgba(255, 255, 255, 0.18);

  /* TYPE */
  --font-display: 'Oswald', 'Inter', -apple-system, sans-serif;
  --font-accent: 'Fraunces', Georgia, serif;
  --font-sans: 'Inter', -apple-system, sans-serif;
  --font-mono: 'IBM Plex Mono', 'SF Mono', monospace;

  /* LAYOUT */
  --container-max: 1280px;
  --section-pad-y: 96px;
  --section-pad-x: clamp(20px, 5vw, 64px);

  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

/* ============================================================
   RESET / BASE
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
  /* Prevent any rogue overflowing element from making the body wider than
     the viewport — which on mobile causes the entire page to render
     left-aligned with empty space on the right (the "scrunched" symptom). */
  overflow-x: hidden;
}

body {
  background: var(--bg-base);
  color: var(--ink-primary);
  font-family: var(--font-sans);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  line-height: 1.5;
  /* Subtle ambient red glow at the very bottom + noise to break up the flatness */
  background-image:
    radial-gradient(ellipse 80% 40% at 50% 100%, rgba(248, 69, 85, 0.04) 0%, transparent 70%),
    linear-gradient(180deg, #0c0c0f 0%, #0a0a0c 50%, #08080a 100%);
  background-attachment: fixed;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }

strong { color: var(--ink-primary); font-weight: 600; }

::selection { background: rgba(248, 69, 85, 0.3); color: #fff; }

/* ============================================================
   NAV
   ============================================================ */
.site-nav {
  position: sticky; top: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px clamp(20px, 4vw, 48px);
  background: rgba(10, 10, 12, 0.72);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border-subtle);
}
.site-nav__brand {
  display: flex; align-items: center; gap: 12px;
}
.site-nav__icon { height: 28px; width: auto; }
.site-nav__word {
  font-family: var(--font-mono); font-size: 13px; font-weight: 500;
  letter-spacing: 0.18em; text-transform: uppercase; color: var(--ink-primary);
}
.site-nav__word-muted { color: var(--ink-tertiary); }
.site-nav__links {
  display: flex; align-items: center; gap: clamp(16px, 2.5vw, 32px);
  font-family: var(--font-mono); font-size: 13px;
  letter-spacing: 0.14em; text-transform: uppercase;
}
.site-nav__links a {
  color: var(--ink-secondary);
  transition: color 180ms var(--ease-out);
}
.site-nav__links a:hover { color: var(--ink-primary); }
.site-nav__cta {
  padding: 8px 16px;
  border: 1px solid rgba(248, 69, 85, 0.4);
  border-radius: 8px;
  color: var(--brand-red-soft) !important;
  background: rgba(248, 69, 85, 0.06);
}
.site-nav__cta:hover {
  background: rgba(248, 69, 85, 0.14);
  color: var(--brand-red-soft) !important;
}

/* Mobile-only nav controls — hidden on desktop, shown <= 720px. */
.site-nav__mobile { display: none; }
.site-nav__cta--mobile {
  font-family: var(--font-mono); font-size: 11px;
  letter-spacing: 0.14em; text-transform: uppercase;
  padding: 8px 14px;
}
.site-nav__burger {
  background: transparent; border: none;
  width: 40px; height: 40px;
  display: flex; flex-direction: column; justify-content: center; align-items: center;
  gap: 5px; cursor: pointer; padding: 0;
}
.site-nav__burger-line {
  width: 22px; height: 2px;
  background: var(--ink-primary);
  border-radius: 2px;
  transition: transform 220ms var(--ease-out), opacity 220ms var(--ease-out);
}
.site-nav__burger[aria-expanded="true"] .site-nav__burger-line:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.site-nav__burger[aria-expanded="true"] .site-nav__burger-line:nth-child(2) {
  opacity: 0;
}
.site-nav__burger[aria-expanded="true"] .site-nav__burger-line:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Slide-out mobile menu panel */
.mobile-menu {
  position: fixed;
  top: 64px; left: 0; right: 0; bottom: 0;
  background: rgba(10, 10, 12, 0.98);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  z-index: 99;
  padding: 32px 24px;
}
.mobile-menu__nav {
  display: flex; flex-direction: column; gap: 4px;
  max-width: 480px; margin: 0 auto;
}
.mobile-menu__nav a {
  display: block;
  padding: 18px 8px;
  font-family: var(--font-display); font-weight: 700;
  font-size: 28px; letter-spacing: -0.005em;
  color: var(--ink-primary);
  border-bottom: 1px solid var(--border-subtle);
  transition: color 180ms var(--ease-out), padding-left 180ms var(--ease-out);
}
.mobile-menu__nav a:hover,
.mobile-menu__nav a:focus {
  color: var(--brand-red);
  padding-left: 12px;
}

/* ============================================================
   SHARED SECTION LAYOUT
   ============================================================ */
.section {
  padding: var(--section-pad-y) var(--section-pad-x);
  position: relative;
}
.section__inner {
  max-width: var(--container-max);
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

/* ============================================================
   SECTION BACKGROUNDS — subtle alternating rhythm
   Each "tone" section sits ~3 brightness units above the base canvas;
   barely perceptible as you look at one section in isolation, but
   creates clear horizontal banding when you scroll past several.
   Product sections add a faint colored edge wash that reinforces the
   product's accent without being loud.
   ============================================================ */
.section--convergence,
.section--portfolio-intro,
.section--slabz,
.section--chexi,
.section--brazil,
.section--contact {
  background: var(--bg-tone);
  position: relative;
}
/* Thin fading rule at the top of every tonal section — quiet section divider.
   Excludes sections that should flow continuously into the previous tonal
   section (no hard break inside the live-markets product group). */
.section--convergence::after,
.section--portfolio-intro::after,
.section--contact::after {
  content: ''; position: absolute; left: 0; right: 0; top: 0; height: 1px;
  background: linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.08) 50%, transparent 100%);
  pointer-events: none;
}
.section--slabz {
  background:
    radial-gradient(ellipse 60% 80% at 100% 50%, rgba(45, 212, 191, 0.05) 0%, transparent 60%),
    radial-gradient(ellipse 40% 60% at 0% 0%, rgba(45, 212, 191, 0.03) 0%, transparent 60%),
    var(--bg-tone);
}
.section--brazil {
  background:
    radial-gradient(ellipse 60% 60% at 0% 50%, rgba(0, 156, 59, 0.05) 0%, transparent 60%),
    radial-gradient(ellipse 50% 50% at 100% 100%, rgba(255, 223, 0, 0.025) 0%, transparent 60%),
    var(--bg-tone);
}
/* Signal — the AI reveal earns its own atmospheric red treatment */
.section--signal {
  background:
    radial-gradient(ellipse 70% 60% at 50% 50%, rgba(248, 69, 85, 0.07) 0%, transparent 65%),
    radial-gradient(ellipse 40% 30% at 50% 0%, rgba(248, 69, 85, 0.04) 0%, transparent 60%);
  position: relative;
}
/* Thin red top edge on Signal — marks the narrative climax */
.section--signal::before {
  content: ''; position: absolute; left: 0; right: 0; top: 0; height: 1px;
  background: linear-gradient(90deg, transparent 0%, rgba(248, 69, 85, 0.4) 50%, transparent 100%);
  z-index: 0;
}
.section__header {
  margin-bottom: 64px;
}
.section__header--center {
  text-align: center;
  max-width: 820px; margin-left: auto; margin-right: auto;
}
.section__sub {
  font-family: var(--font-sans); font-size: 22px; font-weight: 400;
  line-height: 1.5; color: var(--ink-secondary);
  margin-top: 20px; max-width: 720px; letter-spacing: -0.005em;
}
.section__sub--center { margin-left: auto; margin-right: auto; }
.section__sub em {
  font-style: normal; color: var(--brand-red); font-weight: 700;
  font-family: var(--font-display); letter-spacing: -0.005em;
}

.eyebrow {
  font-family: var(--font-mono); font-size: 13px; font-weight: 600;
  letter-spacing: 0.24em; text-transform: uppercase;
  color: var(--brand-red);
  margin-bottom: 18px;
}

.display-title {
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(40px, 5.6vw, 76px);
  line-height: 1.05; letter-spacing: -0.015em; color: var(--ink-primary);
}
.display-title em {
  font-family: var(--font-display); font-style: normal; font-weight: 700;
  color: var(--brand-red); letter-spacing: -0.015em;
}

.anchor {
  font-family: var(--font-sans); font-size: 20px; font-weight: 500;
  line-height: 1.5; color: var(--ink-secondary);
  padding-left: 18px;
  border-left: 2px solid var(--brand-red);
  margin-top: 32px;
  max-width: 560px;
}
.anchor em {
  font-family: var(--font-display); font-style: normal; font-weight: 700;
  color: var(--brand-red);
}

/* ============================================================
   HERO — replica of deck cover (slide-01)
   Layout: lockup + tagline + subtagline stacked centered,
   four-cell glass stat bar pinned to bottom with red glow line above.
   ============================================================ */
.hero {
  position: relative;
  padding: clamp(40px, 6vh, 72px) var(--section-pad-x) clamp(64px, 8vh, 96px);
  overflow: hidden;
}
.hero__inner {
  position: relative;
  width: 100%;
  max-width: 1800px;
  margin: 0 auto;
  display: flex; flex-direction: column; align-items: center;
  gap: clamp(56px, 9vh, 112px);
}
/* Centerpiece: lockup + tagline + subtagline */
.hero__hero {
  display: flex; flex-direction: column; align-items: center;
  gap: clamp(28px, 4vh, 48px);
  text-align: center;
  width: 100%;
}
.hero__lockup {
  width: clamp(320px, 42vw, 580px);
  height: auto;
}
.hero__tagline {
  font-family: var(--font-sans); font-weight: 400;
  font-size: clamp(26px, 3.2vw, 52px);
  line-height: 1.2; letter-spacing: -0.025em;
  color: var(--ink-secondary);
  max-width: 1100px;
}
.hero__tagline-accent {
  font-family: var(--font-display); font-weight: 700; font-style: normal;
  color: var(--brand-red); letter-spacing: -0.01em;
}
.hero__subtagline {
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(28px, 3.5vw, 56px);
  letter-spacing: -0.015em; line-height: 1.15;
  color: var(--ink-primary);
  margin-top: clamp(4px, 1vh, 16px);
}
.hero__subtagline-accent {
  color: var(--brand-red);
}
/* Mobile-only line break — desktop renders "Built fast. Built right." on one line */
.mobile-only-br { display: none; }
@media (max-width: 600px) {
  .mobile-only-br { display: inline; }
}

/* Verticals — floating inline list with red dot separators */
.hero__verticals {
  position: relative;
  list-style: none;
  display: flex; align-items: center; justify-content: center;
  flex-wrap: wrap;
  padding: 0;
  margin: 0;
  font-family: var(--font-mono); font-size: clamp(13px, 1vw, 15px);
  font-weight: 500;
  letter-spacing: 0.24em; text-transform: uppercase;
  color: var(--ink-secondary);
}
.hero__verticals::before {
  content: ''; position: absolute; top: -28px; left: 30%; right: 30%;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, rgba(248, 69, 85, 0.4) 50%, transparent 100%);
}
.hero__verticals li {
  display: inline-flex; align-items: center;
  padding: 0 clamp(14px, 1.8vw, 22px);
}
.hero__verticals li + li {
  border-left: 1px solid transparent;
  position: relative;
}
.hero__verticals li + li::before {
  content: '';
  position: absolute; left: 0; top: 50%;
  transform: translate(-50%, -50%);
  width: 4px; height: 4px;
  border-radius: 50%;
  background: var(--brand-red);
  box-shadow: 0 0 8px rgba(248, 69, 85, 0.6);
}

/* ============================================================
   CONVERGENCE
   ============================================================ */
.convergence-grid {
  display: grid; grid-template-columns: 1fr 1.35fr; gap: clamp(40px, 4vw, 80px);
  align-items: start;
}
.convergence-left { display: flex; flex-direction: column; gap: 48px; }
.convergence-left .display-title {
  font-size: clamp(30px, 3.6vw, 56px);
  line-height: 1.1;
  max-width: 720px;
  white-space: nowrap;
}
.convergence-body {
  display: flex; flex-direction: column; gap: 28px;
  max-width: 580px;
}
.convergence-body p {
  font-family: var(--font-sans); font-size: 22px; line-height: 1.6;
  color: var(--ink-secondary); letter-spacing: -0.005em;
}
.convergence-thesis {
  margin-top: 8px;
  font-family: var(--font-accent); font-style: italic; font-weight: 500;
  font-size: clamp(34px, 3.8vw, 52px); line-height: 1.1;
  color: var(--brand-red-soft); letter-spacing: -0.01em;
}
.convergence-right {
  display: flex; align-items: flex-start; justify-content: flex-end;
  /* Image floats up to align with the top of the title block */
  margin-top: -24px;
  /* Push the image to the right so we can scale it bigger without crowding the left column */
  margin-right: clamp(-40px, -2vw, -8px);
}
.convergence-img {
  width: 100%;
  max-width: 1060px;
  height: auto;
  display: block;
}
/* More breathing room around the whole convergence section */
.section--convergence { padding-top: clamp(96px, 12vh, 160px); padding-bottom: clamp(96px, 12vh, 160px); }

/* ============================================================
   MOATS
   ============================================================ */
.moat-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px;
}
.moat-card {
  --card-accent: var(--brand-red);
  --card-accent-soft: var(--brand-red-soft);
  --card-accent-wash: rgba(248, 69, 85, 0.06);
  position: relative;
  padding: 36px 32px 32px;
  background: linear-gradient(180deg, var(--card-accent-wash) 0%, rgba(255, 255, 255, 0) 50%), var(--bg-elevated);
  border: 1px solid var(--border-subtle);
  border-radius: 18px;
  display: flex; flex-direction: column; gap: 14px;
  overflow: hidden;
}
.moat-card__rail {
  position: absolute; top: -1px; left: -1px; right: -1px; height: 3px;
  background: var(--card-accent);
  box-shadow: 0 0 20px var(--card-accent);
  border-top-left-radius: 18px; border-top-right-radius: 18px;
  opacity: 0.9;
}
.moat-card__eyebrow {
  font-family: var(--font-mono); font-size: 13px; font-weight: 500;
  letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--card-accent-soft);
  margin-top: 8px;
}
.moat-card__title {
  font-family: var(--font-display); font-size: 44px; font-weight: 700;
  line-height: 1; letter-spacing: -0.01em; color: var(--ink-primary);
  margin-top: 4px;
  display: flex; align-items: baseline; gap: 10px;
  min-height: 44px;
}
.moat-card__title .signal-os-lockup {
  height: 44px; width: auto;
  filter: drop-shadow(0 0 20px rgba(248, 69, 85, 0.25));
  transform: translateY(2px);
}
.moat-card__tagline {
  font-family: var(--font-display); font-weight: 600;
  font-size: 20px; letter-spacing: -0.005em;
  color: var(--card-accent); line-height: 1.35;
}
.moat-card__tagline em {
  font-family: var(--font-display); font-style: normal;
}
.moat-card__bullets {
  list-style: none; display: flex; flex-direction: column; gap: 14px;
  flex: 1; margin-top: 12px;
}
.moat-card__bullets li {
  font-family: var(--font-sans); font-size: 17px; line-height: 1.5;
  color: var(--ink-secondary); padding-left: 22px; position: relative;
}
.moat-card__bullets li::before {
  content: ''; position: absolute; left: 0; top: 12px;
  width: 14px; height: 1px; background: var(--card-accent);
}
.moat-card__close {
  margin-top: auto; padding-top: 18px;
  border-top: 1px solid var(--border-subtle);
  display: flex; align-items: baseline; gap: 12px;
  font-family: var(--font-sans); font-size: 18px; font-weight: 600;
  color: var(--ink-primary); letter-spacing: -0.01em; line-height: 1.3;
  position: relative;
}
.moat-card__close::before {
  content: ''; position: absolute; top: -1px; left: 0;
  width: 60px; height: 1px;
  background: var(--card-accent);
}
.moat-card__close em {
  font-family: var(--font-display); font-style: normal; font-weight: 700;
  color: var(--card-accent);
}
.moat-card__arrow {
  font-size: 20px;
  color: var(--card-accent);
}

/* Variants */
.moat-card--red {
  --card-accent: var(--brand-red);
  --card-accent-soft: var(--brand-red-soft);
  --card-accent-wash: rgba(248, 69, 85, 0.08);
  border-color: rgba(248, 69, 85, 0.22);
  box-shadow: 0 0 60px rgba(248, 69, 85, 0.08);
}
.moat-card--neutral {
  --card-accent: #b8b8bf;
  --card-accent-soft: #d4d4da;
  --card-accent-wash: rgba(255, 255, 255, 0.025);
}
.moat-card--neutral .moat-card__rail { opacity: 0.5; box-shadow: none; }

/* ============================================================
   SIGNAL
   ============================================================ */
.section--signal {
  position: relative;
}
/* Two independent blocks on one row, vertically centered together.
   No baseline math, no wrappers, no negative margins. Logo is one block.
   Text is its own block. align-items: center handles the rest. */
.signal-title-row {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
  margin: 0;
}
.signal-title-row__logo {
  height: clamp(80px, 8vw, 120px);
  width: auto;
  display: block;
  flex-shrink: 0;
  filter: drop-shadow(0 0 36px rgba(248, 69, 85, 0.4));
  /* Visual nudge — compensates for transparent padding above the PNG glyphs
     so the logo's optical center matches the text's optical center. */
  transform: translateY(10px);
}
.signal-title-row__text {
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(40px, 5.6vw, 76px);
  letter-spacing: -0.015em;
  line-height: 1;
  color: var(--ink-primary);
  margin: 0;
  padding: 0;
}
.signal-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
  margin-top: 16px;
}
.signal-pillar {
  padding: 36px 30px;
  background:
    radial-gradient(ellipse at 50% 0%, rgba(248, 69, 85, 0.1) 0%, transparent 50%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.04) 0%, rgba(255, 255, 255, 0.01) 100%),
    var(--bg-elevated);
  border: 1px solid rgba(248, 69, 85, 0.3);
  border-radius: 20px;
  box-shadow:
    0 0 40px rgba(248, 69, 85, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.04);
}
.signal-pillar__title {
  font-family: var(--font-mono); font-size: 18px; font-weight: 600;
  letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--brand-red);
  text-align: center;
  margin-bottom: 10px;
}
.signal-pillar__tagline {
  font-family: var(--font-display); font-weight: 600;
  font-size: 19px; line-height: 1.3;
  color: var(--ink-secondary); letter-spacing: -0.005em;
  text-align: center;
}
.signal-pillar__divider {
  height: 1px; margin: 24px 0 22px;
  background: linear-gradient(90deg,
    transparent 0%, rgba(248, 69, 85, 0.35) 50%, transparent 100%);
}
.signal-pillar__label {
  font-family: var(--font-mono); font-size: 12px; font-weight: 500;
  letter-spacing: 0.22em; text-transform: uppercase;
  color: #6ba5fa;
  margin-bottom: 14px;
}
.signal-pillar__list {
  list-style: none; display: flex; flex-direction: column; gap: 10px;
}
.signal-pillar__list li {
  font-family: var(--font-sans); font-size: 16px; line-height: 1.4;
  color: var(--ink-primary); font-weight: 500;
  padding-left: 22px; position: relative;
}
.signal-pillar__list li::before {
  content: ''; position: absolute; left: 0; top: 11px;
  width: 14px; height: 2px; background: var(--ink-secondary);
  border-radius: 1px;
}
.signal-anchor {
  margin-top: 56px;
  padding-left: 18px;
  border-left: 2px solid var(--brand-red);
  font-family: var(--font-sans); font-size: clamp(20px, 2vw, 26px); font-weight: 500;
  line-height: 1.4; color: var(--ink-secondary); letter-spacing: -0.005em;
  max-width: 720px;
}
.signal-anchor em {
  font-family: var(--font-display); font-style: normal; font-weight: 700;
  color: var(--brand-red);
}

/* ============================================================
   PORTFOLIO LEAD-IN (intro section)
   ============================================================ */
.section--portfolio-intro {
  padding-top: clamp(80px, 10vh, 128px);
  padding-bottom: clamp(40px, 5vh, 64px);
}

/* Three large color-coded market chips below the lead headline */
.market-chips {
  margin-top: 36px;
  display: flex; align-items: center; justify-content: center;
  flex-wrap: wrap;
  gap: 16px;
}
.market-chip {
  --chip-accent: var(--brand-red);
  --chip-accent-soft: var(--brand-red-soft);
  --chip-accent-wash: rgba(248, 69, 85, 0.08);
  --chip-accent-border: rgba(248, 69, 85, 0.35);

  display: inline-flex; align-items: center; justify-content: center;
  padding: 14px 32px;
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(18px, 1.6vw, 22px);
  letter-spacing: 0.04em; text-transform: uppercase;
  color: var(--chip-accent-soft);
  background: var(--chip-accent-wash);
  border: 1px solid var(--chip-accent-border);
  border-radius: 999px;
  transition: transform 220ms var(--ease-out), background 220ms var(--ease-out), border-color 220ms var(--ease-out), box-shadow 220ms var(--ease-out);
  cursor: pointer;
  position: relative;
  overflow: hidden;
}
.market-chip:hover {
  transform: translateY(-2px);
  background: color-mix(in srgb, var(--chip-accent) 18%, transparent);
  border-color: var(--chip-accent);
  box-shadow: 0 8px 24px color-mix(in srgb, var(--chip-accent) 25%, transparent);
  color: #fff;
}
.market-chip--slabz {
  --chip-accent: #2dd4bf;
  --chip-accent-soft: #5eead4;
  --chip-accent-wash: rgba(45, 212, 191, 0.10);
  --chip-accent-border: rgba(45, 212, 191, 0.4);
}
.market-chip--chexi {
  --chip-accent: var(--chexi);
  --chip-accent-soft: var(--chexi-soft);
  --chip-accent-wash: rgba(234, 126, 60, 0.10);
  --chip-accent-border: rgba(234, 126, 60, 0.4);
}
.market-chip--brazil {
  --chip-accent: var(--brazil);
  --chip-accent-soft: var(--brazil-soft);
  --chip-accent-wash: rgba(46, 160, 67, 0.10);
  --chip-accent-border: rgba(46, 160, 67, 0.4);
}

/* ============================================================
   PRODUCT SECTIONS — Slabz, Chexi (alternating split layout)
   ============================================================ */
.section--product {
  padding-top: clamp(56px, 8vh, 96px);
  padding-bottom: clamp(56px, 8vh, 96px);
}
.product-section {
  --card-accent: var(--brand-red);
  --card-accent-soft: var(--brand-red-soft);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(48px, 6vw, 96px);
  align-items: center;
}
/* Slabz layout — slightly weighted to give the right column more room
   for the larger spin-machine art. Copy panel still owns the left side. */
.product-section--slabz {
  grid-template-columns: 1fr 1.15fr;
}
.product-section--reverse {
  /* Image on the left, copy on the right */
}
.product-section__copy {
  display: flex; flex-direction: column;
  max-width: 640px;
  padding: clamp(32px, 3.5vw, 48px);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.025) 0%, rgba(255, 255, 255, 0) 100%),
    rgba(10, 10, 12, 0.4);
  border: 1px solid var(--border-subtle);
  border-radius: 20px;
  box-shadow:
    0 16px 48px rgba(0, 0, 0, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.04);
  position: relative;
}
/* Top edge accent in the product's color — small but reinforces the color story */
.product-section__copy::before {
  content: ''; position: absolute; top: 0; left: 0;
  width: 80px; height: 2px;
  background: var(--card-accent);
  box-shadow: 0 0 16px var(--card-accent);
  border-top-left-radius: 20px;
}
.product-section__eyebrow {
  font-family: var(--font-mono); font-size: 12px; font-weight: 600;
  letter-spacing: 0.24em; text-transform: uppercase;
  color: var(--card-accent-soft);
  margin-bottom: 18px;
}
.product-section__title {
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(40px, 4.6vw, 68px);
  line-height: 1.05; letter-spacing: -0.015em; color: var(--ink-primary);
  margin-bottom: 16px;
}
/* Slabz variant — smaller so "Play Games, Pull Slabz" fits on one line */
.product-section__title--slabz {
  font-size: clamp(28px, 2.8vw, 42px);
  white-space: nowrap;
}
/* Chexi variant — short product name, sized to feel proportionate */
.product-section__title--chexi {
  font-size: clamp(48px, 5.2vw, 76px);
  line-height: 0.95;
}
/* Poker variant — matches Chexi proportions; Brazil green accent
   on the italic tagline keyword to tie the title into the section palette. */
.product-section__title--poker {
  font-size: clamp(48px, 5.2vw, 76px);
  line-height: 0.95;
}
.product-section__tagline--poker {
  margin-bottom: 0;
}
.product-section__tagline--poker em {
  font-family: var(--font-accent); font-style: italic; font-weight: 600;
  color: var(--brz-yellow-soft);
}
/* Wordmark image — sits above the title in the Slabz section.
   Source PNG aspect ratio is 4.35:1 (2612×600). Sizing by width and
   letting height: auto compute keeps the ratio intact without the
   global `img { height: auto }` rule fighting an explicit height clamp. */
.product-section__wordmark {
  width: clamp(220px, 22vw, 320px);
  height: auto;
  max-width: 100%;
  margin-bottom: 36px;
  display: block;
  filter: drop-shadow(0 0 24px rgba(255, 255, 255, 0.08));
}
.product-section__tagline {
  font-family: var(--font-accent); font-style: italic; font-weight: 400;
  font-size: clamp(20px, 1.6vw, 26px); line-height: 1.4;
  color: var(--ink-secondary); letter-spacing: -0.005em;
  margin-bottom: 36px;
}
.product-section__tagline em {
  font-family: var(--font-accent); font-style: italic;
}
/* Accent variant — non-italic body text with an italic colored phrase inside.
   Used for product taglines that need to read as a tagline statement, not editorial prose. */
.product-section__tagline--accent {
  font-family: var(--font-sans); font-style: normal; font-weight: 400;
  font-size: clamp(18px, 1.5vw, 22px); line-height: 1.5;
  color: var(--ink-secondary);
}
/* Product title accent fragment (e.g., "Pull Slabz" in green) — overrides default em behavior */
.product-section__title-accent {
  display: inline-block;
}

/* Slabz tagline — two lines with breathing room between.
   Line 1 ("Collectibles Arcade Experience") gets to stand alone.
   Line 2 ("Win real Pokémon cards...") sits below as the supporting line. */
.product-section__tagline--slabz {
  display: flex; flex-direction: column;
  margin-bottom: 40px;
}
.tagline-line {
  display: block;
  white-space: normal;
}
.tagline-line--sub {
  margin-top: 18px;
  font-size: 0.92em;
  color: var(--ink-tertiary);
}
.tagline-keep-together {
  white-space: nowrap;
}
.product-section__bullets {
  list-style: none; display: flex; flex-direction: column; gap: 18px;
  margin: 0; padding: 0;
}
.product-section__bullets li {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 20px;
  align-items: baseline;
  padding-left: 18px;
  position: relative;
}
.product-section__bullets li::before {
  content: ''; position: absolute; left: 0; top: 12px;
  width: 10px; height: 1px;
  background: var(--card-accent);
}
.product-section__bullets li strong {
  font-family: var(--font-sans); font-size: 18px; font-weight: 700;
  color: var(--ink-primary); letter-spacing: -0.005em;
  line-height: 1.3;
}
.product-section__bullets li span {
  font-family: var(--font-sans); font-size: 16px; font-weight: 400;
  color: var(--ink-secondary); line-height: 1.5;
}

/* STACKED variant — co-venture deck pattern.
   Bold title on top, descriptor directly below. No two-column grid.
   Dash sits at the title line. Clean, compact, scannable. */
.product-section__bullets--stacked li {
  display: flex; flex-direction: column; gap: 4px;
  padding-left: 24px;
  align-items: stretch;
  grid-template-columns: none;
}
.product-section__bullets--stacked li::before {
  top: 13px;
  width: 14px;
}
.product-section__bullets--stacked li strong {
  font-family: var(--font-sans); font-size: 18px; font-weight: 600;
  color: var(--ink-primary); letter-spacing: -0.005em;
  line-height: 1.3;
}
.product-section__bullets--stacked li > span:not(.product-section__bullet-num) {
  font-family: var(--font-sans); font-size: 15px; font-weight: 400;
  color: var(--ink-tertiary); line-height: 1.45;
}
.product-section__bullets--stacked li .product-section__bullet-num {
  margin-bottom: 4px;
}
.product-section__bullet-num {
  font-family: var(--font-display); font-size: 26px; font-weight: 700;
  color: var(--card-accent); letter-spacing: -0.015em;
  line-height: 1;
}
.product-section__bullet-num-unit {
  font-family: var(--font-sans); font-size: 14px; font-weight: 500;
  color: var(--ink-tertiary); letter-spacing: 0;
}
/* Footer row — partner block + optional website link, side by side */
.product-section__footer {
  margin-top: 36px;
  padding-top: 22px;
  border-top: 1px solid var(--border-subtle);
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  position: relative;
}
.product-section__footer::before {
  content: ''; position: absolute; top: -1px; left: 0;
  width: 60px; height: 1px;
  background: var(--card-accent);
}
/* Partner block — used standalone or inside __footer */
.product-section__partner {
  display: flex; flex-direction: column; gap: 6px;
}
.product-section__copy > .product-section__partner {
  /* Legacy direct-child usage retains the divider treatment */
  margin-top: 36px;
  padding-top: 22px;
  border-top: 1px solid var(--border-subtle);
  position: relative;
  align-self: flex-start;
}
.product-section__copy > .product-section__partner::before {
  content: ''; position: absolute; top: -1px; left: 0;
  width: 60px; height: 1px;
  background: var(--card-accent);
}
.product-section__partner-label {
  font-family: var(--font-mono); font-size: 11px; font-weight: 600;
  letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--ink-tertiary);
}
.product-section__partner-name {
  font-family: var(--font-display); font-size: 26px; font-weight: 700;
  letter-spacing: -0.005em; color: var(--ink-primary);
  line-height: 1.1;
}

/* Rollout strategy block — simplified two-step progression used in product
   sections that have a clear market-entry → expansion story (e.g. Chexi).
   Visually heavier than a single partner block but lighter than a 3-up grid. */
.product-section__rollout {
  margin-top: 36px;
  padding-top: 22px;
  border-top: 1px solid var(--border-subtle);
  position: relative;
}
.product-section__rollout::before {
  content: ''; position: absolute; top: -1px; left: 0;
  width: 60px; height: 1px;
  background: var(--card-accent);
}
.product-section__rollout-label {
  font-family: var(--font-mono); font-size: 11px; font-weight: 600;
  letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--ink-tertiary);
  display: block;
  margin-bottom: 14px;
}
.product-section__rollout-row {
  display: flex; align-items: center; gap: 18px;
  flex-wrap: wrap;
}
.product-section__rollout-step {
  display: flex; flex-direction: column; gap: 2px;
}
.product-section__rollout-stage {
  font-family: var(--font-mono); font-size: 10px; font-weight: 600;
  letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--card-accent-soft);
}
.product-section__rollout-name {
  font-family: var(--font-display); font-size: 22px; font-weight: 700;
  letter-spacing: -0.005em; color: var(--ink-primary);
  line-height: 1.1;
}
.product-section__rollout-arrow {
  font-family: var(--font-sans); font-size: 22px;
  color: var(--card-accent);
  line-height: 1;
}
/* External website link */
.product-section__link {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 18px;
  font-family: var(--font-mono); font-size: 13px; font-weight: 600;
  letter-spacing: 0.16em; text-transform: lowercase;
  color: var(--card-accent-soft);
  background: color-mix(in srgb, var(--card-accent) 8%, transparent);
  border: 1px solid color-mix(in srgb, var(--card-accent) 35%, transparent);
  border-radius: 999px;
  transition: transform 200ms var(--ease-out), background 200ms var(--ease-out), border-color 200ms var(--ease-out);
}
.product-section__link:hover {
  transform: translateY(-1px);
  background: color-mix(in srgb, var(--card-accent) 18%, transparent);
  border-color: var(--card-accent);
  color: #fff;
}
.product-section__link-arrow {
  font-size: 14px;
  transition: transform 200ms var(--ease-out);
}
.product-section__link:hover .product-section__link-arrow {
  transform: translateX(3px);
}
/* Image area */
.product-section__art {
  position: relative;
  min-height: 480px;
  display: flex; align-items: center; justify-content: center;
}
.product-section__art-img {
  display: block;
  max-width: 100%; height: auto;
}

/* ============================================================
   TRUSTED PARTNERSHIPS STRIP — replicates gachaslabz.com pattern.
   Glass-paneled rounded container. Header row with title left + "Built
   on Solana" right. 5-up logo row below, divider rule between.
   Dark-fill marks get inverted so they read on the dark canvas; opacity
   nudges keep the row visually balanced.
   ============================================================ */
.trusted-strip {
  max-width: 980px;
  margin: clamp(56px, 7vw, 96px) auto 0;
  padding: clamp(22px, 2.4vw, 32px) clamp(24px, 3vw, 40px) clamp(28px, 3.6vw, 40px);
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(10, 10, 20, 0.75) 0%, rgba(10, 10, 20, 0.55) 100%);
  border: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.06),
    0 12px 32px rgba(0, 0, 0, 0.35);
}
.trusted-strip__head {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.trusted-strip__title {
  font-family: var(--font-mono); font-weight: 700;
  font-size: clamp(11px, 1vw, 13px);
  letter-spacing: 0.28em; text-transform: uppercase;
  color: rgba(255, 255, 255, 0.85);
}
.trusted-strip__infra {
  display: inline-flex; align-items: center; gap: 10px;
  color: rgba(255, 255, 255, 0.55);
}
.trusted-strip__infra-label {
  font-family: var(--font-mono); font-weight: 600;
  font-size: clamp(10px, 0.9vw, 12px);
  letter-spacing: 0.3em; text-transform: uppercase;
}
.trusted-strip__solana {
  height: clamp(14px, 1.4vw, 20px); width: auto;
  opacity: 0.9;
  display: block;
}

.trusted-strip__logos {
  display: grid; grid-template-columns: repeat(5, 1fr);
  align-items: center;
  padding-top: 28px;
  gap: 16px;
}
.trusted-strip__cell {
  display: flex; align-items: center; justify-content: center;
  min-height: 48px;
}
.trusted-logo {
  width: auto;
  opacity: 0.72;
  transition: opacity 200ms var(--ease-out);
  display: block;
}
.trusted-logo:hover { opacity: 1; }
.trusted-logo--invert {
  filter: invert(1);
}
/* Per-logo optical balancing — raw bounding boxes lie about visual weight */
.trusted-logo--cmc      { height: 36px; }
.trusted-logo--carv     { height: 30px; }
.trusted-logo--kgen     { height: 22px; }
.trusted-logo--cardchase{ height: 28px; }
.trusted-logo--dontdie  { height: 40px; }

@media (max-width: 720px) {
  .trusted-strip__logos {
    grid-template-columns: repeat(2, 1fr);
    row-gap: 28px;
  }
  /* Center the 5th logo (Don't Die) across both columns on mobile */
  .trusted-strip__cell:nth-child(5) {
    grid-column: 1 / -1;
  }
}

/* Slabz variant — fully adopts gachaslabz.com's teal across the section.
   Accent rail, bullet dashes, eyebrows, and the "Pull Slabz" headline
   accent all draw from this single teal palette. Drop-shadow on the
   floating art keeps a quiet purple glow for atmospheric depth so the
   image doesn't go flat against the dark canvas. */
.product-section--slabz {
  --slabz-teal: #2dd4bf;
  --slabz-teal-soft: #5eead4;
  --card-accent: var(--slabz-teal);
  --card-accent-soft: var(--slabz-teal-soft);
}
.product-section--slabz .product-section__title-accent {
  color: var(--slabz-teal);
  font-family: var(--font-display); font-weight: 700;
  letter-spacing: -0.015em;
}
.product-section--slabz .product-section__tagline--accent em {
  font-family: var(--font-accent); font-style: italic; font-weight: 600;
  color: var(--slabz-teal);
}
.product-section--chexi .product-section__tagline--accent em {
  font-family: var(--font-accent); font-style: italic; font-weight: 600;
  color: var(--chexi-soft);
}
.product-section--slabz .product-section__art {
  /* Center vertically with image and link stacked, image pulled upward */
  flex-direction: column;
  gap: 28px;
  margin-top: -32px;
}
.product-section__art-img--slabz-spin {
  max-width: 650px;
  width: 100%;
  filter: drop-shadow(0 30px 80px rgba(139, 92, 246, 0.4));
}
/* Centered website link variant — sits below the floating image */
.product-section__link--centered {
  align-self: center;
}

/* Chexi variant — dice stacked centered above the gameplay image.
   Both images flow vertically in the art column, no absolute overlap. */
.product-section--chexi {
  --card-accent: var(--chexi);
  --card-accent-soft: var(--chexi-soft);
}
.product-section__art--chexi {
  flex-direction: column;
  gap: clamp(20px, 2.4vw, 36px);
  align-items: center;
  justify-content: center;
}
.product-section__art-img--chexi-dice {
  max-width: 280px;
  width: 100%;
  filter: drop-shadow(0 20px 50px rgba(234, 126, 60, 0.55));
}
.product-section__art-img--chexi-roll {
  max-width: 520px;
  width: 100%;
  filter: drop-shadow(0 30px 80px rgba(234, 126, 60, 0.32));
}

/* ============================================================
   BRAZIL POKER — LATAM map full section
   ============================================================ */
.section--brazil {
  --brz-green: #009C3B;
  --brz-green-soft: #58d585;
  --brz-green-glow: rgba(0, 156, 59, 0.32);
  --brz-yellow: #FFDF00;
  --brz-yellow-soft: #ffe94d;
}
.section--brazil .display-title em {
  color: var(--brz-yellow);
}
.section--brazil .section__sub em {
  font-family: var(--font-accent); font-style: italic; font-weight: 500;
  color: var(--brz-yellow-soft);
}
.brazil-section__header {
  margin-bottom: 56px;
  display: flex; flex-direction: column;
}
.brazil-section__header .product-section__title--poker {
  margin-bottom: 16px;
}
/* Brazil sub-block — visually demoted from a primary headline to a
   "section within a section" treatment. Sits below the Poker intro
   with a thin yellow rail to mark the transition into the Brazil story. */
.brazil-section__sub {
  margin-top: 40px;
  padding-top: 28px;
  border-top: 1px solid var(--border-subtle);
  position: relative;
}
.brazil-section__sub::before {
  content: ''; position: absolute; top: -1px; left: 0;
  width: 60px; height: 1px;
  background: var(--brz-yellow);
  box-shadow: 0 0 12px rgba(255, 223, 0, 0.4);
}
.brazil-section__subtitle {
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(28px, 3vw, 44px);
  line-height: 1.1; letter-spacing: -0.01em;
  color: var(--ink-primary);
  margin-bottom: 12px;
}
.brazil-section__subtitle em {
  font-family: var(--font-display); font-style: normal; font-weight: 700;
  color: var(--brz-yellow);
  letter-spacing: -0.01em;
}
.brazil-section__lead {
  font-family: var(--font-sans); font-size: clamp(17px, 1.4vw, 21px);
  line-height: 1.5; color: var(--ink-secondary);
  max-width: 720px;
}
.brazil-section__lead em {
  font-family: var(--font-accent); font-style: italic; font-weight: 500;
  color: var(--brz-yellow-soft);
}

.brazil-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(48px, 5vw, 80px);
  align-items: start;
}
.brazil-map-wrap {
  display: flex; flex-direction: column; gap: 24px;
  padding: clamp(28px, 3vw, 40px);
  background:
    radial-gradient(ellipse 80% 60% at 50% 0%, rgba(0, 156, 59, 0.06) 0%, transparent 60%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.025) 0%, rgba(255, 255, 255, 0) 100%);
  border: 1px solid var(--border-subtle);
  border-radius: 20px;
  box-shadow:
    0 16px 48px rgba(0, 0, 0, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.04);
  position: relative;
}
.brazil-map-wrap::before {
  content: ''; position: absolute; top: 0; left: 0;
  width: 80px; height: 2px;
  background: var(--brz-green);
  box-shadow: 0 0 16px var(--brz-green-glow);
  border-top-left-radius: 20px;
}
.brazil-map {
  display: block; width: 100%; height: auto;
  max-width: 520px; margin: 0 auto;
}

.brazil-legend {
  padding: 18px 4px 4px;
  border-top: 1px solid var(--border-subtle);
  display: flex; flex-direction: column; gap: 14px;
}
.brazil-legend__row {
  display: grid;
  grid-template-columns: 14px 180px 1fr;
  gap: 14px;
  align-items: baseline;
}
.brazil-legend__dot {
  width: 10px; height: 10px; border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  align-self: center;
}
.brazil-legend__dot--launch {
  background: var(--brz-yellow);
  box-shadow: 0 0 8px var(--brz-yellow-soft);
}
.brazil-legend__dot--priority {
  background: var(--brz-green-soft);
  box-shadow: 0 0 8px var(--brz-green-glow);
}
.brazil-legend__dot--opportunity {
  background: rgba(0, 156, 59, 0.4);
}
.brazil-legend__label {
  font-family: var(--font-mono); font-size: 11px; font-weight: 600;
  letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--ink-tertiary);
  line-height: 1.3;
}
.brazil-legend__value {
  font-family: var(--font-sans); font-size: 15px; font-weight: 500;
  color: var(--ink-primary); letter-spacing: -0.005em;
  line-height: 1.4;
}
.brazil-legend__row--launch .brazil-legend__value {
  color: var(--brz-yellow);
  font-weight: 700;
}

.brazil-context {
  display: flex; flex-direction: column; gap: 36px;
}
.brazil-stats {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px;
}
.brazil-stat {
  padding: 22px 22px 20px;
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid var(--border-subtle);
  border-radius: 14px;
}
.brazil-stat--main {
  background:
    radial-gradient(ellipse at 0% 0%, rgba(0, 156, 59, 0.18) 0%, transparent 60%),
    rgba(255, 255, 255, 0.025);
  border-color: rgba(0, 156, 59, 0.32);
}
.brazil-stat__value {
  font-family: var(--font-display); font-size: clamp(28px, 2.6vw, 38px);
  font-weight: 700; color: var(--ink-primary);
  letter-spacing: -0.015em; line-height: 1;
  margin-bottom: 8px;
}
.brazil-stat--main .brazil-stat__value {
  color: var(--brz-green-soft);
}
.brazil-stat__label {
  font-family: var(--font-sans); font-size: 13px; font-weight: 500;
  color: var(--ink-secondary); line-height: 1.4;
}

.brazil-points {
  list-style: none;
  display: flex; flex-direction: column; gap: 22px;
  margin: 0; padding: 0;
}
.brazil-points li {
  padding-left: 22px;
  position: relative;
}
.brazil-points li::before {
  content: ''; position: absolute; left: 0; top: 13px;
  width: 14px; height: 1px;
  background: rgba(255, 255, 255, 0.4);
}
.brazil-points li:first-child::before {
  background: var(--brz-green-soft);
}
.brazil-points li strong {
  display: block;
  font-family: var(--font-sans); font-size: 19px; font-weight: 700;
  color: var(--ink-primary); letter-spacing: -0.005em;
  margin-bottom: 6px;
}
.brazil-points li span {
  font-family: var(--font-sans); font-size: 16px; font-weight: 400;
  color: var(--ink-secondary); line-height: 1.55;
}

.brazil-anchor {
  margin-top: 8px;
  padding: 20px 24px;
  background: rgba(0, 0, 0, 0.25);
  border: 1px solid rgba(255, 223, 0, 0.18);
  border-left: 3px solid var(--brz-yellow);
  border-radius: 8px;
  font-family: var(--font-sans); font-size: 18px; font-weight: 500;
  color: var(--ink-secondary); line-height: 1.45;
}
.brazil-anchor em {
  font-family: var(--font-accent); font-style: italic; font-weight: 500;
  color: var(--brz-yellow-soft);
}

/* ============================================================
   TEAM
   ============================================================ */
/* Intro container — sits below the "Founders. Builders..." headline.
   Glass panel with a thin red accent rail at the top-left, gives the
   credibility statement breathing room and visual weight without
   competing with the larger headline above it. */
.team-intro {
  margin-top: 40px;
  padding: 28px 36px;
  max-width: 1020px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.035) 0%, rgba(255, 255, 255, 0.01) 100%),
    rgba(10, 10, 12, 0.5);
  border: 1px solid var(--border-subtle);
  border-radius: 16px;
  box-shadow:
    0 16px 40px rgba(0, 0, 0, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.04);
  position: relative;
}
.team-intro::before {
  content: ''; position: absolute; top: 0; left: 0;
  width: 80px; height: 2px;
  background: var(--brand-red);
  box-shadow: 0 0 16px var(--brand-red);
  border-top-left-radius: 16px;
}
.team-intro__body {
  font-family: var(--font-sans); font-size: clamp(17px, 1.4vw, 21px);
  line-height: 1.6;
  color: var(--ink-secondary); letter-spacing: -0.005em;
  margin: 0;
}
.team-intro__body strong {
  color: var(--ink-primary); font-weight: 600;
}
.team-intro__body em {
  font-family: var(--font-accent); font-style: italic; font-weight: 500;
  color: var(--brand-red-soft);
}

.team-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px;
  margin-top: 48px;
}
.team-card {
  padding: 24px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.025) 0%, rgba(255, 255, 255, 0) 100%);
  border: 1px solid var(--border-subtle);
  border-radius: 18px;
  display: flex; flex-direction: column;
}
/* Portrait container — white circle that unifies all four cutouts.
   The PNG cutout sits inside, scaled to fit, anchored at the bottom so
   shoulders meet the bottom edge of the circle like a classic studio crop. */
.team-card__portrait-wrap {
  aspect-ratio: 1 / 1; width: 100%;
  margin-bottom: 18px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 35%, #ffffff 0%, #f0f0f3 70%, #e2e2e8 100%);
  overflow: hidden;
  position: relative;
  box-shadow:
    inset 0 -8px 24px rgba(0, 0, 0, 0.08),
    0 8px 28px rgba(0, 0, 0, 0.35),
    0 0 0 1px rgba(255, 255, 255, 0.08);
}
.team-card__portrait {
  position: absolute;
  bottom: 0; left: 50%;
  transform: translateX(-50%) scale(1.15);
  transform-origin: center top;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center top;
}
/* Per-portrait framing tweaks — push each face into a consistent position
   so the messy cutout edges at the bottom (where the white ring was) clip
   below the circle's bottom edge. */
.team-card__portrait--kevin {
  transform: translateX(-50%) scale(1.18);
  object-position: center 10%;
}
.team-card__portrait--ben {
  transform: translateX(-50%) scale(1.15);
  object-position: center 8%;
}
.team-card__portrait--gary {
  transform: translateX(-50%) scale(1.12);
  object-position: center 6%;
}
.team-card__portrait--jeff {
  transform: translateX(-50%) scale(1.25);
  object-position: 50% 5%;
}
.team-card__name {
  font-family: var(--font-display); font-size: 22px; font-weight: 700;
  color: var(--ink-primary); letter-spacing: -0.005em; line-height: 1.1;
}
.team-card__role {
  font-family: var(--font-mono); font-size: 12px; font-weight: 500;
  letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--brand-red);
  margin-top: 4px; margin-bottom: 14px;
}
.team-card__bio {
  font-family: var(--font-sans); font-size: 15px; line-height: 1.55;
  color: var(--ink-secondary);
}
.team-card__bullets {
  list-style: none;
  display: flex; flex-direction: column; gap: 10px;
  margin: 0; padding: 0;
}
.team-card__bullets li {
  font-family: var(--font-sans); font-size: 15px; line-height: 1.45;
  color: var(--ink-secondary);
  padding-left: 18px; position: relative;
}
.team-card__bullets li::before {
  content: ''; position: absolute; left: 0; top: 9px;
  width: 10px; height: 1px;
  background: var(--brand-red);
}
.team-card__bullets li strong {
  color: var(--ink-primary); font-weight: 600;
}
.team-strip {
  margin-top: 48px;
  padding-top: 24px;
  text-align: center;
  border-top: 1px solid var(--border-subtle);
  font-family: var(--font-mono); font-size: 12px; font-weight: 500;
  letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--ink-tertiary);
}
.team-strip__sep {
  color: var(--brand-red); margin: 0 8px;
}

/* ============================================================
   CONTACT
   ============================================================ */
.section--contact {
  padding-bottom: 80px;
}
.contact-grid {
  display: grid; grid-template-columns: 1.1fr 1fr 1fr 1fr; gap: 20px;
  margin-top: 24px;
}
.contact-card {
  position: relative;
  padding: 26px 28px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.04) 0%, rgba(255, 255, 255, 0.01) 100%),
    var(--bg-elevated);
  border: 1px solid var(--border-subtle);
  border-radius: 14px;
  display: flex; flex-direction: column;
  overflow: hidden;
  transition: transform 220ms var(--ease-out), border-color 220ms var(--ease-out), box-shadow 220ms var(--ease-out);
}
a.contact-card:hover {
  transform: translateY(-3px);
  border-color: rgba(248, 69, 85, 0.4);
  box-shadow: 0 12px 40px rgba(248, 69, 85, 0.12);
}
.contact-card__rail {
  position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg,
    rgba(248, 69, 85, 0.5) 0%, rgba(248, 69, 85, 0.15) 70%, transparent 100%);
}
.contact-card--lead {
  background:
    radial-gradient(ellipse at 0% 0%, rgba(248, 69, 85, 0.15) 0%, transparent 60%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.01) 100%),
    var(--bg-elevated);
  border-color: rgba(248, 69, 85, 0.3);
  box-shadow: 0 0 32px rgba(248, 69, 85, 0.08);
}
.contact-card--lead .contact-card__rail {
  background: linear-gradient(90deg, var(--brand-red) 0%, rgba(248, 69, 85, 0.5) 60%, transparent 100%);
  height: 3px;
}
.contact-card__role {
  font-family: var(--font-mono); font-size: 12px; font-weight: 600;
  letter-spacing: 0.22em; text-transform: uppercase; color: var(--brand-red);
  margin-bottom: 12px;
}
.contact-card__name {
  font-family: var(--font-display); font-size: 22px; font-weight: 700;
  color: var(--ink-primary); letter-spacing: 0; margin-bottom: 12px;
  line-height: 1.1;
}
.contact-card--lead .contact-card__name { font-size: 24px; }
.contact-card__email {
  font-family: var(--font-mono); font-size: 14px; color: var(--ink-secondary);
  letter-spacing: -0.01em; line-height: 1.4;
  word-break: break-word;
}
.contact-card__tg {
  font-family: var(--font-mono); font-size: 14px; color: var(--ink-tertiary);
  letter-spacing: -0.01em; line-height: 1.4;
  margin-top: 6px;
  display: flex; align-items: center; gap: 6px;
}
.tg-icon { width: 13px; height: 13px; fill: #2AABEE; flex-shrink: 0; }
.contact-card--url {
  background:
    radial-gradient(ellipse at 100% 100%, rgba(248, 69, 85, 0.18) 0%, transparent 60%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.04) 0%, rgba(255, 255, 255, 0.01) 100%),
    var(--bg-elevated);
  border-color: rgba(248, 69, 85, 0.25);
}
.contact-card--url .contact-card__name {
  font-family: var(--font-mono); font-size: 16px; font-weight: 500;
  color: var(--ink-primary); letter-spacing: 0; margin-bottom: 0;
}
.contact-card__brandmark {
  height: 44px; width: auto;
  margin-top: auto;
  align-self: center;
  filter: drop-shadow(0 0 24px rgba(248, 69, 85, 0.4));
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  border-top: 1px solid var(--border-subtle);
  padding: 32px var(--section-pad-x);
  background: rgba(0, 0, 0, 0.3);
}
.site-footer__inner {
  max-width: var(--container-max);
  margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap;
}
.site-footer__brand {
  display: flex; align-items: center; gap: 12px;
  font-family: var(--font-mono); font-size: 12px; font-weight: 500;
  letter-spacing: 0.18em; text-transform: uppercase; color: var(--ink-tertiary);
}
.site-footer__icon { height: 22px; width: auto; opacity: 0.6; }
.site-footer__meta {
  font-family: var(--font-mono); font-size: 12px; font-weight: 500;
  letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-muted);
}

/* ============================================================
   RESPONSIVE — three breakpoints
   ============================================================
   - 1100px: tablet landscape. Stack columns, narrow grids.
   - 860px: tablet portrait. Tighten image scales, drop product-section
     image overhangs, swap 4-up cards to 2-up.
   - 600px: phone. Collapse everything to single column, scale type
     down so headlines fit on narrow screens.
   ============================================================ */

/* --- 1100px: layout columns collapse to single-column flow --- */
@media (max-width: 1100px) {
  :root { --section-pad-y: 96px; }

  /* Kill ALL nowrap directives below tablet width — they cause horizontal
     overflow on phones which makes the body wider than the viewport,
     making everything appear "scrunched" or off-center. */
  .hero__tagline,
  .hero__tagline-accent,
  .convergence-left .display-title,
  .product-section__title--slabz,
  .product-section__title,
  .tagline-keep-together,
  .signal-title-row {
    white-space: normal !important;
    flex-wrap: wrap !important;
  }

  .convergence-grid { grid-template-columns: 1fr; gap: 48px; align-items: center; }
  .convergence-right {
    order: -1;
    margin-top: 0;
    margin-right: 0;
    justify-content: center;
  }
  .convergence-img { max-width: 720px; margin: 0 auto; }
  .convergence-left .display-title { max-width: 100%; }

  .moat-grid { grid-template-columns: 1fr; gap: 20px; }
  .signal-grid { grid-template-columns: 1fr; gap: 16px; }

  /* Product sections stack — image goes on top regardless of side variant */
  .product-section { grid-template-columns: 1fr; gap: 40px; }
  .product-section--slabz { grid-template-columns: 1fr; }
  .product-section--reverse .product-section__art { order: -1; }
  .product-section--slabz .product-section__art { order: -1; margin-top: 0; }
  .product-section__art { min-height: auto; }
  .product-section__copy { max-width: 100%; }

  .brazil-grid { grid-template-columns: 1fr; gap: 40px; }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: repeat(2, 1fr); }
}

/* --- 860px: tablet portrait / large phone landscape --- */
@media (max-width: 860px) {
  :root { --section-pad-y: 80px; }

  /* Signal title — logo + text often overflow at this size. Drop the
     logo height down and let the text size scale too. */
  .signal-title-row { gap: 16px; }
  .signal-title-row__logo {
    height: clamp(56px, 11vw, 80px);
    transform: translateY(6px);
  }
  .signal-title-row__text {
    font-size: clamp(34px, 7vw, 52px);
  }

  /* Slabz section — image scale down so it doesn't dominate */
  .product-section__art-img--slabz-spin { max-width: 480px; }
  .product-section__art-img--chexi-roll { max-width: 440px; }
  .product-section__art-img--chexi-dice { max-width: 220px; }

  /* Trusted strip — start tightening logo sizes */
  .trusted-logo--cmc      { height: 30px; }
  .trusted-logo--carv     { height: 26px; }
  .trusted-logo--kgen     { height: 18px; }
  .trusted-logo--cardchase{ height: 24px; }
  .trusted-logo--dontdie  { height: 34px; }

  /* Market chips — wrap nicely if they don't fit */
  .market-chip { padding: 12px 24px; }
}

/* --- 720px: tablet / phone breakpoint --- */
@media (max-width: 720px) {
  :root { --section-pad-y: 72px; }

  .site-nav { padding: 12px 16px; }
  /* Drop the "REMIX GAMING" wordmark on phone — icon alone reads as the brand */
  .site-nav__word { display: none; }
  .site-nav__icon { height: 32px; }
  /* Hide the inline desktop nav on phone */
  .site-nav__links { display: none; }
  /* Show the mobile CTA + hamburger group */
  .site-nav__mobile {
    display: flex; align-items: center; gap: 8px;
  }

  .hero { padding: 56px 18px 48px; }
  .hero__inner { gap: 48px; }
  .hero__verticals::before { left: 20%; right: 20%; }

  .section__header { margin-bottom: 40px; }

  .moat-card { padding: 28px 24px 24px; }
  .moat-card__title { font-size: 36px; }
  .moat-card__bullets li { font-size: 16px; }

  .signal-pillar { padding: 28px 22px; }

  /* Stacked-bullet product sections need padding tightened on phone */
  .product-section__copy { padding: 28px 24px; }
  .product-section__bullets--stacked li { padding-left: 20px; }

  /* Brazil section components reflow */
  .brazil-stats { grid-template-columns: 1fr; }
  .brazil-legend__row { grid-template-columns: 14px 1fr; }
  .brazil-legend__row .brazil-legend__value { grid-column: 2; }
  .brazil-section__sub { margin-top: 28px; padding-top: 22px; }

  /* Team grid stays 2-col here for portraits, drops to 1-col at phone size below */
  .team-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .team-card { padding: 20px; }
  .contact-grid { grid-template-columns: 1fr; }

  /* Containers / intros — tighten padding for phone */
  .team-intro { padding: 22px 24px; margin-top: 28px; }

  .anchor, .signal-anchor { font-size: 18px; }
}

/* --- 600px: phone --- */
@media (max-width: 600px) {
  :root { --section-pad-y: 64px; }

  /* Center-align all section content on phone — reads cleaner than the
     desktop left-aligned layout when everything is single column. */
  .convergence-left,
  .convergence-body,
  .convergence-left .display-title,
  .convergence-thesis,
  .product-section__copy,
  .product-section__bullets,
  .brazil-section__header,
  .brazil-section__sub,
  .brazil-points,
  .brazil-anchor,
  .team-intro,
  .team-intro__body {
    text-align: center;
  }
  /* Bullets with leading dashes — center the list itself but keep
     dashes/text on the left edge of their item so they read as bullets. */
  .product-section__bullets,
  .brazil-points {
    align-items: center;
  }
  .product-section__bullets li,
  .brazil-points li {
    text-align: left;
    max-width: 320px;
    width: 100%;
  }
  /* Section headers center too */
  .section__header {
    text-align: center;
  }
  .section__sub {
    margin-left: auto;
    margin-right: auto;
  }
  /* Pull rollout to center */
  .product-section__rollout,
  .product-section__footer {
    align-items: center;
    text-align: center;
  }
  .product-section__rollout::before,
  .product-section__footer::before {
    left: 50%;
    transform: translateX(-50%);
  }
  /* Wordmark + product titles center */
  .product-section__wordmark {
    margin-left: auto;
    margin-right: auto;
  }
  /* Team intro container — center the red accent rail too */
  .team-intro::before {
    left: 50%;
    transform: translateX(-50%);
  }

  .site-nav__brand .site-nav__word { font-size: 11px; }

  /* Hero scales down */
  .hero__tagline { font-size: clamp(24px, 7vw, 36px); }
  .hero__subtagline { font-size: clamp(22px, 7vw, 34px); }
  .hero__lockup { width: clamp(220px, 60vw, 320px); }
  .hero__verticals {
    gap: 0;
    font-size: 11px;
    letter-spacing: 0.18em;
  }
  .hero__verticals li { padding: 0 10px; }

  /* Section headlines smaller so they fit narrow widths */
  .display-title { font-size: clamp(32px, 8vw, 44px); }
  .section__sub { font-size: 17px; }

  /* Signal logo + text drop further */
  .signal-title-row { gap: 12px; }
  .signal-title-row__logo {
    height: clamp(44px, 13vw, 64px);
    transform: translateY(4px);
  }
  .signal-title-row__text {
    font-size: clamp(28px, 8vw, 40px);
  }

  /* Market chips wrap and tighten */
  .market-chips { gap: 10px; }
  .market-chip {
    padding: 10px 18px;
    font-size: 14px;
  }

  /* Product sections — scale art down further */
  .product-section__art-img--slabz-spin { max-width: 100%; }
  .product-section__art-img--chexi-roll { max-width: 100%; }
  .product-section__art-img--chexi-dice { max-width: 180px; }
  .product-section__title { font-size: clamp(34px, 9vw, 44px); }
  .product-section__title--slabz { font-size: clamp(24px, 7vw, 32px); }
  .product-section__title--chexi,
  .product-section__title--poker { font-size: clamp(40px, 11vw, 56px); }
  .product-section__wordmark { width: clamp(180px, 50vw, 240px); }

  /* Rollout row stacks on narrow screens */
  .product-section__rollout-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }
  .product-section__rollout-arrow {
    transform: rotate(90deg);
    margin-left: 8px;
  }

  /* Brazil stats tighter */
  .brazil-stat { padding: 18px 18px 16px; }
  .brazil-section__subtitle { font-size: clamp(24px, 7vw, 32px); }

  /* Team collapses to single column at phone */
  .team-grid { grid-template-columns: 1fr; gap: 14px; }

  /* Trusted partnerships — tightened to fit narrow widths */
  .trusted-strip { padding: 18px 18px 22px; margin-top: 40px; }
  .trusted-strip__head {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    padding-bottom: 16px;
  }
  .trusted-strip__logos { gap: 12px; }
  .trusted-logo--cmc      { height: 24px; }
  .trusted-logo--carv     { height: 20px; }
  .trusted-logo--kgen     { height: 14px; }
  .trusted-logo--cardchase{ height: 20px; }
  .trusted-logo--dontdie  { height: 28px; }

  /* Contact cards keep visible-tap-target sizes */
  .contact-card { padding: 22px 22px; }
  .contact-card__name { font-size: 19px; }
  .contact-card--lead .contact-card__name { font-size: 20px; }

  /* Footer wrap cleanly */
  .site-footer { padding: 24px 18px; }
  .site-footer__inner { flex-direction: column; align-items: flex-start; gap: 10px; }
  .site-footer__meta { font-size: 11px; }
}

/* --- Touch-device hover hygiene ---
   Disable hover transforms on touch devices so cards don't get stuck
   in the "hovered" state after a tap on iOS/Android. */
@media (hover: none) {
  a.contact-card:hover,
  .market-chip:hover,
  .product-section__link:hover,
  .trusted-logo:hover {
    transform: none;
  }
}
