/* ==========================================================================
   Rory Talks Football — Landing Page Styles
   ========================================================================== */

:root {
  /* Color */
  --bg-base: #0B0B0B;
  --bg-elev: #161616;
  --bg-surf: #1C1C1C;
  --bg-input: #222;
  --border-subtle: #262626;
  --border-default: #2E2E2E;
  --text-primary: #FFFFFF;
  --text-secondary: #A1A1A1;
  --text-tertiary: #6B6B6B;
  --brand-red: #E11A1A;
  --brand-red-hover: #C71515;
  --brand-red-muted: rgba(225, 26, 26, 0.12);
  --mxi-teal: #2DD4D4;
  --shadow-card: 0 4px 24px rgba(0, 0, 0, 0.4);
  --focus-ring: 0 0 0 2px var(--brand-red);

  /* Typography */
  --font-display: 'Anton', 'Bebas Neue', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, -apple-system, sans-serif;

  /* Motion */
  --dur-fast: 150ms;
  --dur-base: 250ms;
  --dur-slow: 400ms;
  --ease-std: cubic-bezier(0.2, 0.8, 0.2, 1);
  --ease-in: cubic-bezier(0.16, 1, 0.3, 1);

  /* Layout */
  --max-w: 1280px;
  --gutter: 1.5rem;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
}

@media (min-width: 1024px) {
  :root { --gutter: 3rem; }
}

/* ============================== RESET ============================== */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg-base);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;        /* prevent any rogue horizontal page scroll on mobile */
}
img, svg { display: block; max-width: 100%; }
button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }
a { color: inherit; text-decoration: none; }
ul { padding: 0; margin: 0; list-style: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* ============================== MOBILE OPTIMISATIONS ============================== */
@media (max-width: 767px) {
  /* Tighter section padding so the page scrolls more naturally on phones */
  .trusted        { padding: 3rem 0; }
  .branded-work   { padding: 3rem 0 2.5rem; }
  .pillars        { padding: 3rem 0; }
  .performance    { padding: 3rem 0; }
  .audience-section { padding: 3rem 0; }
  .platforms      { padding: 3rem 0; }
  .work           { padding: 3rem 0; }
  .objectives     { padding: 3rem 0; }
  .cases          { padding: 3rem 0; }
  .beyond         { padding: 3rem 0; }
  .worldcup       { padding: 3.5rem 0; }
  .contact        { padding: 4rem 0; }
  .footer         { padding: 2rem 0 1rem; }

  /* Tighter section heads */
  .section-head { margin-bottom: 2rem; }
  .section-head h2 { font-size: clamp(1.75rem, 7vw, 2.25rem); }

  /* Hero spacing on mobile */
  .hero { padding: 2rem 0 0; }
  .hero__inner { gap: 2rem; }
  .hero__title { font-size: clamp(2.5rem, 12vw, 3.5rem); }
  .hero__tagline { font-size: 1rem; }
  .hero__body p { font-size: 0.95rem; }
  .hero__stats { margin-top: 2.5rem; }
  .hero__stats-inner { padding: 1.5rem 0; }
  .stat-chip { padding: 0.4rem 0.9rem; }
  .stat-chip__num { font-size: 1.5rem; }
  .stat-chip__label { font-size: 0.65rem; }

  /* Performance hero stat */
  .hero-stat { padding: 2.5rem 1rem; margin-bottom: 1.5rem; }
  .hero-stat__num { font-size: clamp(3rem, 14vw, 4.5rem); }
  .hero-stat__label { font-size: 0.85rem; }
  .hero-stat__sub { font-size: 0.75rem; }

  /* Platform tabs scrollable on mobile */
  .perf-tabs__head { margin-bottom: 1.5rem; padding-bottom: 2px; }
  .perf-tabs__btn { padding: 0.875rem 1rem; font-size: 1rem; }

  /* KPI grid stays 2-col on mobile, tighter */
  .kpi { padding: 1.1rem; }
  .kpi__num { font-size: 1.6rem; }

  /* Tighten cards */
  .work__card, .obj, .pillar { padding: 1.5rem; }
  .pillar h3 { font-size: 1.25rem; }
  .pillar__icon { width: 32px; height: 32px; margin-bottom: 1rem; }

  /* Tighten platform cards */
  .platform { padding: 1.5rem; }

  /* Branded work cards stack with tighter spacing */
  .branded-work__grid { gap: 0.875rem; }

  /* World Cup section */
  .worldcup__inner { gap: 2rem; }
  .worldcup__copy p { font-size: 0.95rem; }

  /* Beyond social */
  .beyond__inner { gap: 1.5rem; }

  /* Audience panel */
  .aud-stat { padding: 1.5rem; }
  .aud-section-more { padding: 1rem 1.25rem; }
  .audience__chart-row { grid-template-columns: 80px 1fr 48px; gap: 0.5rem; font-size: 0.75rem; }

  /* Tabs (TikTok channel breakdown) */
  .tabs__btn { padding: 0.75rem 1rem; font-size: 0.8rem; min-width: 0; }
  .tabs__pane { padding: 1.25rem; }
  .tab-grid { gap: 1rem; }
  .tab-grid span { font-size: 1.4rem; }

  /* Momentum chip spacing */
  .momentum { padding: 1rem; flex-direction: column; align-items: flex-start; }

  /* Contact section */
  .contact__simple h2 { font-size: clamp(2rem, 9vw, 2.75rem); }
  .contact__ctas .btn { flex: 1 1 100%; }

  /* Footer */
  .footer__legal { margin-top: 2rem; padding-top: 1rem; }
}

/* Even tighter for very small screens */
@media (max-width: 380px) {
  :root { --gutter: 1rem; }
  .stat-chip { padding: 0.35rem 0.6rem; }
  .stat-chip__num { font-size: 1.35rem; }
  .hero__title { font-size: 2.25rem; }
}

/* Ensure all interactive elements meet 44px touch target on touch devices */
@media (hover: none) and (pointer: coarse) {
  .nav__toggle { width: 48px; height: 48px; }
  .platform { min-height: 44px; }
}

/* ============================== UTIL ============================== */
.container { width: 100%; max-width: var(--max-w); margin: 0 auto; padding: 0 var(--gutter); }
.text-red { color: var(--brand-red); }
.eyebrow {
  display: inline-block;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--brand-red);
  margin-bottom: 1rem;
}
.section-head { max-width: 760px; margin-bottom: 3rem; }
.section-head h2 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(2rem, 5vw, 3rem);
  line-height: 1.05;
  text-transform: uppercase;
  letter-spacing: -0.01em;
  margin: 0;
}
.source-note {
  font-size: 0.75rem;
  color: var(--text-tertiary);
  margin-top: 2rem;
}
.skip-link {
  position: absolute; top: -100px; left: 1rem;
  background: var(--brand-red); color: #fff;
  padding: 0.75rem 1rem; border-radius: 8px;
  z-index: 1000;
}
.skip-link:focus { top: 1rem; }

.hide-mobile { display: none; }
@media (min-width: 768px) { .hide-mobile { display: flex; } }

/* ============================== BUTTONS ============================== */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--font-body); font-weight: 600;
  border-radius: 9999px;
  padding: 0.875rem 1.5rem;
  transition: all var(--dur-base) var(--ease-std);
  min-height: 44px;
  white-space: nowrap;
}
.btn:focus-visible { outline: none; box-shadow: var(--focus-ring); }
.btn--primary { background: var(--brand-red); color: #fff; }
.btn--primary:hover { background: var(--brand-red-hover); transform: translateY(-1px); }
.btn--primary:active { transform: translateY(0) scale(0.98); }
.btn--ghost { background: transparent; color: #fff; border: 1px solid var(--border-default); }
.btn--ghost:hover { background: var(--bg-elev); border-color: #fff; }
.btn--sm { padding: 0.5rem 1rem; font-size: 0.875rem; min-height: 40px; }
.btn--lg { padding: 1rem 2rem; font-size: 1rem; min-height: 52px; }
.btn--block { width: 100%; }

/* ============================== NAV ============================== */
.nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(11, 11, 11, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid transparent;
  transition: border-color var(--dur-base) var(--ease-std);
}
.nav.is-scrolled { border-bottom-color: var(--border-subtle); }
.nav__inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 72px; gap: 1rem;
}
.nav__logo {
  display: inline-flex;
  align-items: center;
  line-height: 0;
  transition: opacity var(--dur-base) var(--ease-std);
}
.nav__logo:hover { opacity: 0.85; }
.nav__logo img {
  height: 32px;
  width: auto;
  display: block;
}
@media (min-width: 1024px) {
  .nav__logo img { height: 38px; }
}
.nav__links {
  display: none;
  gap: 1.75rem; align-items: center;
  font-size: 0.875rem;
  color: var(--text-secondary);
}
@media (min-width: 900px) { .nav__links { display: flex; } }
.nav__links a { transition: color var(--dur-fast) var(--ease-std); }
.nav__links a:hover { color: #fff; }
.nav__toggle {
  display: flex; flex-direction: column; gap: 5px;
  width: 40px; height: 40px;
  align-items: center; justify-content: center;
  border-radius: 8px;
}
.nav__toggle span {
  display: block; width: 22px; height: 2px;
  background: #fff; border-radius: 2px;
  transition: transform var(--dur-base) var(--ease-std);
}
@media (min-width: 900px) { .nav__toggle { display: none; } }
.nav__toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav__toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.nav__mobile {
  position: fixed;
  top: 72px;
  left: 0; right: 0;
  bottom: 0;
  display: flex; flex-direction: column;
  padding: 1.25rem var(--gutter) calc(env(safe-area-inset-bottom, 0px) + 2rem);
  background: #0B0B0B;
  border-top: 1px solid var(--border-subtle);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  z-index: 110;
  animation: nav-mobile-in 220ms var(--ease-std);
}
.nav__mobile[hidden] { display: none !important; }
@keyframes nav-mobile-in {
  from { opacity: 0; transform: translateY(-6px); }
  to   { opacity: 1; transform: translateY(0); }
}
.nav__mobile a {
  padding: 1.125rem 0.25rem;
  font-size: 1.125rem;
  font-weight: 500;
  border-bottom: 1px solid var(--border-subtle);
  color: #fff;
}
.nav__mobile a:active { color: var(--brand-red); }
.nav__mobile a.btn {
  border-bottom: 0;
  margin-top: 1.5rem;
  align-self: stretch;
  text-align: center;
  font-weight: 600;
  font-size: 1rem;
  padding: 1.125rem;
}
@media (min-width: 900px) { .nav__mobile { display: none !important; } }
.nav .btn--sm { display: inline-flex; }
@media (max-width: 600px) { .nav .btn--sm { display: none; } }

/* When mobile nav is open: lock body scroll, hide floating CTA */
body.nav-open { overflow: hidden; }
body.nav-open .floating-cta { opacity: 0 !important; pointer-events: none !important; }

/* ============================== HERO ============================== */
.hero { padding: 3rem 0 0; position: relative; }
@media (min-width: 1024px) { .hero { padding: 4rem 0 0; } }

.hero__inner {
  display: grid; gap: 3rem;
}
@media (min-width: 1024px) {
  .hero__inner { grid-template-columns: 1.05fr 1fr; align-items: center; gap: 4rem; }
}

.hero__eyebrow {
  text-transform: uppercase; letter-spacing: 0.14em;
  font-size: 0.75rem; font-weight: 700;
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
}
.hero__title {
  font-family: var(--font-display); font-weight: 400;
  font-size: clamp(3rem, 9vw, 5.5rem);
  line-height: 0.95;
  text-transform: uppercase;
  letter-spacing: -0.02em;
  margin: 0 0 1.5rem;
}
.hero__tagline {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(1.5rem, 3vw, 2.125rem);
  text-transform: uppercase;
  letter-spacing: -0.005em;
  line-height: 1.1;
  color: #fff;
  margin: 0 0 1.5rem;
}
.hero__body {
  max-width: 560px;
  margin: 0 0 2rem;
}
.hero__body p {
  font-size: 1rem;
  color: var(--text-secondary);
  margin: 0 0 1rem;
}
.hero__body p:last-child { margin-bottom: 0; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 0.75rem; }

.hero__media {
  position: relative;
  min-height: 380px;
}
@media (min-width: 1024px) { .hero__media { min-height: 560px; } }

.hero__photo {
  position: absolute;
  border-radius: var(--radius-lg);
  background-color: var(--bg-elev);
  background-size: cover; background-position: center;
  overflow: hidden;
  box-shadow: var(--shadow-card);
}
.hero__photo::before {
  content: attr(aria-label);
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  padding: 1.5rem; text-align: center;
  color: var(--text-tertiary); font-size: 0.75rem;
  background: linear-gradient(135deg, #1a1a1a 0%, #0e0e0e 100%);
  background-image:
    linear-gradient(135deg, rgba(225, 26, 26, 0.08), transparent 60%),
    repeating-linear-gradient(45deg, transparent 0 12px, rgba(255,255,255,0.02) 12px 13px);
}
/* When image is loaded via JS the ::before is hidden */
.hero__photo.has-img::before { display: none; }

.hero__photo--solo {
  position: relative;
  top: auto; right: auto;
  width: 100%;
  max-width: 460px;
  aspect-ratio: 3/4;
  margin: 0 auto;
}
@media (min-width: 1024px) {
  .hero__photo--solo {
    max-width: none;
    width: 100%;
    aspect-ratio: 4/5;
  }
}

.hero__stats {
  margin-top: 3rem;
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}
@media (min-width: 1024px) { .hero__stats { margin-top: 5rem; } }

.hero__stats-inner {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  padding: 2.25rem 0;
}
@media (min-width: 768px) {
  .hero__stats-inner {
    grid-template-columns: repeat(6, 1fr);
    padding: 2.5rem 0;
  }
}

.stat-chip {
  position: relative;
  display: flex; flex-direction: column;
  justify-content: center;
  gap: 0.625rem;
  padding: 0.5rem 1.5rem;
  text-align: left;
  min-width: 0;
}

/* Vertical divider as a centered line, not a full-height border */
.stat-chip::after {
  content: '';
  position: absolute;
  right: 0; top: 20%; bottom: 20%;
  width: 1px;
  background: var(--border-subtle);
}
.stat-chip:last-child::after { display: none; }
.stat-chip:nth-child(3n)::after { display: none; }
@media (min-width: 768px) {
  .stat-chip:nth-child(3n)::after { display: block; }
  .stat-chip:last-child::after { display: none; }
}

.stat-chip__num {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 2.8vw, 2rem);
  color: var(--brand-red);
  line-height: 1;
  letter-spacing: -0.01em;
}
.stat-chip__label {
  font-size: 0.7rem;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  line-height: 1.3;
}

/* ============================== TRUSTED ============================== */
.trusted { padding: 5rem 0; }
.trusted__lead {
  text-align: center;
  font-size: 0.8rem;
  color: var(--text-secondary);
  text-transform: uppercase; letter-spacing: 0.18em;
  margin: 0 0 3rem;
}
.trusted__strip {
  display: flex; flex-wrap: wrap;
  gap: 2.5rem 3rem;
  align-items: center; justify-content: center;
  max-width: 1100px;
  margin: 0 auto;
}
.trusted__slot {
  height: 48px;
  display: flex; align-items: center; justify-content: center;
}
.trusted__logo-img {
  max-height: 100%;
  max-width: 240px;
  width: auto; height: auto;
  object-fit: contain;
  opacity: 0.75;
  transition: opacity var(--dur-base) var(--ease-std);
}
.trusted__logo-img:hover {
  opacity: 1;
}
/* Per-logo size tuning so each reads at similar visual weight */
.trusted__slot--topps { height: 60px; }
.trusted__slot--topps .trusted__logo-img { opacity: 0.95; max-width: 120px; }  /* Topps stays in brand red */
.trusted__slot:nth-child(8) { height: 44px; }                                   /* talkSPORT */

/* ============================== BRANDED WORK ============================== */
.branded-work { padding: 5rem 0 4rem; }
.branded-work__grid {
  display: grid; gap: 1rem;
  grid-template-columns: 1fr;
}
@media (min-width: 640px) { .branded-work__grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .branded-work__grid { grid-template-columns: repeat(3, 1fr); } }

/* ============================== PILLARS ============================== */
.pillars { padding: 5rem 0; }
.pillars__grid {
  display: grid; gap: 1rem;
  grid-template-columns: 1fr;
}
@media (min-width: 640px) { .pillars__grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .pillars__grid { grid-template-columns: repeat(4, 1fr); } }

/* 5-card variant: top row 3 cards (1/3 each), bottom row 2 cards (1/2 each — wider) */
.pillars__grid--five {
  grid-template-columns: 1fr;
  gap: 1rem;
}
@media (min-width: 640px) {
  .pillars__grid--five {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
  }
  /* On tablet: 2-col, last card sits alone on its row (full width) */
  .pillars__grid--five .pillar:nth-child(5) { grid-column: 1 / -1; }
}
@media (min-width: 1024px) {
  .pillars__grid--five {
    grid-template-columns: repeat(6, 1fr);
    gap: 1.5rem;
  }
  /* Top row: 3 cards, each 2 of 6 cols */
  .pillars__grid--five .pillar:nth-child(1) { grid-column: 1 / 3; }
  .pillars__grid--five .pillar:nth-child(2) { grid-column: 3 / 5; }
  .pillars__grid--five .pillar:nth-child(3) { grid-column: 5 / 7; }
  /* Bottom row: 2 cards, each 3 of 6 cols (wider than top) */
  .pillars__grid--five .pillar:nth-child(4) { grid-column: 1 / 4; }
  .pillars__grid--five .pillar:nth-child(5) { grid-column: 4 / 7; }
}

.pillar {
  position: relative;
  background: var(--bg-elev);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 2rem;
  transition: border-color var(--dur-base) var(--ease-std), transform var(--dur-base) var(--ease-std), background var(--dur-base) var(--ease-std);
  overflow: hidden;
}
@media (min-width: 1024px) { .pillar { padding: 2.25rem 2rem; } }
.pillar:hover {
  border-color: var(--brand-red);
  transform: translateY(-2px);
}
.pillar__icon {
  width: 40px; height: 40px;
  color: var(--brand-red);
  margin-bottom: 1.5rem;
}
.pillar h3 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 1.5rem;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  margin: 0 0 0.75rem;
}
.pillar p {
  margin: 0;
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.55;
}

/* .pillar--accent kept for HTML hook but no default red treatment — only on hover */

/* ============================== PERFORMANCE ============================== */
.performance { padding: 5rem 0; background: linear-gradient(180deg, var(--bg-base) 0%, #0a0a0a 100%); }

.hero-stat {
  text-align: center;
  background: var(--bg-elev);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 3rem 1.5rem;
  margin-bottom: 2rem;
  position: relative;
  overflow: hidden;
}
.hero-stat::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at 50% 0%, rgba(225, 26, 26, 0.18), transparent 60%);
  pointer-events: none;
}
.hero-stat__num {
  font-family: var(--font-display);
  font-size: clamp(4rem, 12vw, 8rem);
  color: var(--brand-red);
  line-height: 1;
  letter-spacing: -0.02em;
  position: relative;
}
.hero-stat__label {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.625rem;
  text-transform: uppercase; letter-spacing: 0.14em;
  font-weight: 700; font-size: 1rem;
  color: #fff;
  margin-top: 1rem;
  position: relative;
}
.hero-stat__icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}
.hero-stat__sub {
  font-size: 0.875rem;
  color: var(--text-secondary);
  margin-top: 0.5rem;
  position: relative;
}

.kpi-grid {
  display: grid; gap: 1rem;
  grid-template-columns: repeat(2, 1fr);
  margin-bottom: 2rem;
}
@media (min-width: 768px) { .kpi-grid { grid-template-columns: repeat(4, 1fr); } }
.kpi {
  background: var(--bg-elev);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  transition: border-color var(--dur-base) var(--ease-std);
}
.kpi:hover { border-color: var(--brand-red-muted); }
.kpi__num {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 2.75rem);
  color: #fff;
  line-height: 1;
}
.kpi__label {
  text-transform: uppercase; letter-spacing: 0.08em;
  font-size: 0.75rem;
  color: var(--text-secondary);
  margin-top: 0.5rem;
}

.momentum {
  display: flex; flex-wrap: wrap; align-items: center; gap: 1rem;
  padding: 1.25rem 1.5rem;
  background: var(--brand-red-muted);
  border-left: 3px solid var(--brand-red);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  margin-bottom: 3rem;
}
.momentum__title {
  font-size: 0.875rem;
  color: #fff;
  font-weight: 600;
}
.momentum__row { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.momentum__chip {
  background: rgba(0,0,0,0.4);
  padding: 0.4rem 0.85rem;
  border-radius: 9999px;
  font-size: 0.8rem;
  font-weight: 600;
  color: #fff;
}

/* Platform tabs (TikTok / Instagram / YouTube) */
.perf-tabs { width: 100%; }
.perf-tabs__head {
  display: flex;
  gap: 0.25rem;
  margin-bottom: 2rem;
  border-bottom: 1px solid var(--border-subtle);
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.perf-tabs__head::-webkit-scrollbar { display: none; }
.perf-tabs__btn {
  position: relative;
  padding: 1rem 1.5rem;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 1.125rem;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--text-secondary);
  white-space: nowrap;
  transition: color var(--dur-base) var(--ease-std);
  display: inline-flex;
  align-items: center;
  gap: 0.625rem;
}
.perf-tabs__icon {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
}
.perf-tabs__btn:hover { color: #fff; }
.perf-tabs__btn.is-active { color: #fff; }
.perf-tabs__btn::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: -1px;
  height: 3px;
  background: var(--brand-red);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform var(--dur-base) var(--ease-std);
}
.perf-tabs__btn.is-active::after { transform: scaleX(1); }
.perf-tabs__pane { animation: fade-in var(--dur-base) var(--ease-in); }
@keyframes fade-in {
  from { opacity: 0; transform: translateY(4px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Recent standout posts */
.perf-standouts {
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border-subtle);
}
.perf-standouts__title {
  display: block;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--brand-red);
  margin-bottom: 1rem;
}
.perf-standouts__grid {
  display: grid; gap: 0.875rem;
  grid-template-columns: 1fr;
}
@media (min-width: 768px) { .perf-standouts__grid { grid-template-columns: repeat(3, 1fr); } }
.perf-standout {
  display: flex;
  flex-direction: column;
  background: var(--bg-elev);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: border-color var(--dur-base) var(--ease-std), transform var(--dur-base) var(--ease-std), background var(--dur-base) var(--ease-std);
  text-decoration: none;
  color: inherit;
}
.perf-standout:hover { border-color: var(--brand-red-muted); }
.perf-standout--link { cursor: pointer; }
.perf-standout--link:hover {
  border-color: var(--brand-red);
  transform: translateY(-3px);
  background: var(--bg-surf);
}
.perf-standout--link:hover .perf-standout__cta span { transform: translateX(4px); }
.perf-standout--link:hover .perf-standout__thumb { transform: scale(1.04); }
/* .perf-standout--peak kept for HTML hook — the "Latest" badge is the only visual marker */
.perf-standout--brand { border-color: rgba(45, 212, 212, 0.3); }

.perf-standout__thumb {
  position: relative;
  width: 100%;
  aspect-ratio: 5 / 3;
  background-color: #0a0a0a;
  background-size: cover;
  background-position: center;
  transition: transform 0.6s var(--ease-std);
}
.perf-standout__thumb::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(0,0,0,0.5));
  pointer-events: none;
}
/* peak thumb red ring removed — keeping cards uniform at rest */

.perf-standout__body {
  display: flex; flex-direction: column;
  padding: 1.25rem;
  flex: 1;
}
.perf-standout__badge {
  display: inline-block;
  align-self: flex-start;
  padding: 0.2rem 0.55rem;
  background: var(--brand-red);
  color: #fff;
  font-size: 0.6rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  border-radius: 9999px;
  margin-bottom: 0.7rem;
}
.perf-standout__badge--brand { background: var(--mxi-teal); color: #0B0B0B; }
.perf-standout__topic {
  font-weight: 600;
  font-size: 1rem;
  color: #fff;
  line-height: 1.3;
  margin-bottom: 0.3rem;
}
.perf-standout__date {
  font-size: 0.7rem;
  color: var(--text-tertiary);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 0.875rem;
}
.perf-standout__metrics {
  display: flex; flex-wrap: wrap; gap: 1rem;
  font-size: 0.8rem;
  color: var(--text-secondary);
  margin-bottom: 0.875rem;
}
.perf-standout__metrics strong {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 1.25rem;
  color: #fff;
  display: block;
}
.perf-standout__cta {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  margin-top: auto;
  padding-top: 0.875rem;
  border-top: 1px solid var(--border-subtle);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--brand-red);
}
.perf-standout__cta span { display: inline-block; transition: transform var(--dur-base) var(--ease-std); }

.perf-standouts__footer {
  margin: 1.5rem 0 0;
  font-size: 0.85rem;
  color: var(--text-secondary);
}
.perf-standouts__footer--solo {
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border-subtle);
}
.perf-standouts__footer a {
  color: var(--brand-red);
  font-weight: 600;
  margin-left: 0.25rem;
}
.perf-standouts__footer a:hover { text-decoration: underline; }

/* YouTube shorts split bar */
.perf-split {
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border-subtle);
}
.perf-split__title {
  font-size: 0.95rem;
  font-weight: 600;
  color: #fff;
  margin-bottom: 1rem;
}
.perf-split__bar {
  display: flex;
  height: 12px;
  border-radius: 9999px;
  overflow: hidden;
  background: var(--bg-elev);
  margin-bottom: 1rem;
}
.perf-split__seg {
  background: var(--brand-red);
  height: 100%;
  transition: filter var(--dur-fast) var(--ease-std);
}
.perf-split__seg:hover { filter: brightness(1.2); }
.perf-split__seg--alt { background: #ff7a7a; }
.perf-split__seg--alt2 { background: #ffb3b3; }
.perf-split__legend {
  display: flex; flex-wrap: wrap;
  gap: 1.25rem;
  font-size: 0.8rem;
  color: var(--text-secondary);
}
.perf-split__legend span { display: inline-flex; align-items: center; gap: 0.5rem; }
.perf-split__dot {
  display: inline-block;
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--brand-red);
}
.perf-split__dot--alt { background: #ff7a7a; }
.perf-split__dot--alt2 { background: #ffb3b3; }

/* Tabs */
.tabs {
  background: var(--bg-elev);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.tabs__head {
  display: flex; flex-wrap: wrap;
  border-bottom: 1px solid var(--border-subtle);
}
.tabs__btn {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.25rem;
  padding: 1rem 1.25rem;
  color: var(--text-secondary);
  border-right: 1px solid var(--border-subtle);
  flex: 1; min-width: 200px;
  text-align: left;
  position: relative;
  transition: all var(--dur-base) var(--ease-std);
}
.tabs__btn-title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 1.125rem;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  line-height: 1;
}
.tabs__btn-handle {
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--text-tertiary);
  letter-spacing: 0.01em;
}
.tabs__btn.is-active .tabs__btn-title { color: #fff; }
.tabs__btn.is-active .tabs__btn-handle { color: var(--text-secondary); }
.tabs__btn:last-child { border-right: 0; }
.tabs__btn:hover { color: #fff; }
.tabs__btn.is-active {
  color: #fff;
  background: var(--bg-surf);
}
.tabs__btn.is-active::after {
  content: ''; position: absolute;
  left: 0; right: 0; bottom: -1px; height: 2px;
  background: var(--brand-red);
}
.tabs__pane { padding: 2rem; }
.tab-grid {
  display: grid; gap: 1.5rem;
  grid-template-columns: repeat(2, 1fr);
}
@media (min-width: 640px) { .tab-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 900px) { .tab-grid { grid-template-columns: repeat(6, 1fr); } }
.tab-grid > div { display: flex; flex-direction: column; gap: 0.25rem; }
.tab-grid span {
  font-family: var(--font-display);
  font-size: 1.75rem;
  color: #fff;
  line-height: 1;
}
.tab-grid label {
  font-size: 0.7rem;
  color: var(--text-secondary);
  text-transform: uppercase; letter-spacing: 0.08em;
}

/* Platform switcher buttons under each carousel */
.perf-switcher {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
  margin-top: 1.5rem;
  padding: 1rem 1.25rem;
  background: var(--bg-elev);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
}
.perf-switcher__label {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--text-secondary);
  margin-right: 0.25rem;
}
.perf-switcher__btn {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.5rem 1.1rem;
  background: transparent;
  border: 1px solid var(--border-default);
  border-radius: 9999px;
  color: #fff;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 0.9rem;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  cursor: pointer;
  transition: border-color var(--dur-base) var(--ease-std), color var(--dur-base) var(--ease-std), background var(--dur-base) var(--ease-std), transform var(--dur-base) var(--ease-std);
}
.perf-switcher__btn:hover {
  border-color: var(--brand-red);
  color: var(--brand-red);
  background: rgba(225, 26, 26, 0.06);
  transform: translateY(-1px);
}
.perf-switcher__btn svg { width: 16px; height: 16px; flex-shrink: 0; }
.perf-switcher__more {
  margin-left: auto;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--brand-red);
  text-decoration: none;
  white-space: nowrap;
}
.perf-switcher__more:hover { text-decoration: underline; }
@media (max-width: 600px) {
  .perf-switcher__more { margin-left: 0; }
}

.content-carousel-wrap { position: relative; }
.content-carousel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
  gap: 1rem;
}
.content-carousel-label {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--brand-red);
}
.content-carousel-nav { display: flex; gap: 0.5rem; }

.content-carousel {
  display: flex;
  gap: 1rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding: 0.5rem 0;
}
.content-carousel::-webkit-scrollbar { display: none; }

/* Reuse perf-standout card layout but make it a flex item with fixed width */
.content-carousel .perf-standout {
  flex: 0 0 85%;
  scroll-snap-align: start;
}
@media (min-width: 640px) {
  .content-carousel .perf-standout { flex: 0 0 calc(50% - 0.5rem); }
}
@media (min-width: 1024px) {
  .content-carousel .perf-standout { flex: 0 0 calc((100% - 3rem) / 4.25); }
}

/* ============================== AUDIENCE ============================== */
.audience-section { padding: 5rem 0; background: linear-gradient(180deg, var(--bg-base), #0a0a0a); }
.section-head__lead {
  color: var(--text-secondary);
  font-size: 1rem;
  margin-top: 1rem;
  max-width: 720px;
}

.aud-stats {
  display: grid; gap: 1rem;
  grid-template-columns: 1fr;
  margin-bottom: 2rem;
}
@media (min-width: 768px) { .aud-stats { grid-template-columns: repeat(3, 1fr); } }

.aud-stat {
  position: relative;
  background: var(--bg-elev);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 2rem;
  overflow: hidden;
  transition: border-color var(--dur-base) var(--ease-std);
}
.aud-stat:hover { border-color: var(--brand-red-muted); }
.aud-stat::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at top right, rgba(225, 26, 26, 0.08), transparent 60%);
  pointer-events: none;
}
.aud-stat__num {
  font-family: var(--font-display);
  font-size: clamp(3.5rem, 8vw, 5rem);
  line-height: 1;
  color: #fff;
  letter-spacing: -0.02em;
  position: relative;
}
.aud-stat__unit {
  color: var(--brand-red);
}
.aud-stat__bar {
  width: 100%; height: 6px;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 9999px;
  margin: 1rem 0 0.875rem;
  overflow: hidden;
}
.aud-stat__bar i {
  display: block; height: 100%;
  background: linear-gradient(90deg, var(--brand-red), #ff4d4d);
  border-radius: 9999px;
  width: 0;
  transition: width 1.2s var(--ease-in);
}
.is-revealed .aud-stat__bar i { width: var(--w, 0); }
.aud-stat__label {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--text-secondary);
  position: relative;
}

/* Standalone breakdown — 3-column charts on desktop */
.aud-section-more {
  background: var(--bg-elev);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 1.5rem 2rem;
  margin-top: 0;
  border-top: 1px solid var(--border-subtle);
}
.aud-section-more summary {
  padding: 0.5rem 0;
}
.audience__charts-grid {
  display: grid; gap: 2rem;
  grid-template-columns: 1fr;
  margin-top: 1rem;
}
@media (min-width: 1024px) {
  .audience__charts-grid { grid-template-columns: repeat(3, 1fr); gap: 2.5rem; }
}
.audience__more { margin-top: 1.5rem; border-top: 1px solid var(--border-subtle); padding-top: 1.25rem; }
.audience__more summary {
  cursor: pointer;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-secondary);
  padding: 0.25rem 0;
  list-style: none;
  display: flex; align-items: center; gap: 0.5rem;
  transition: color var(--dur-fast) var(--ease-std);
}
.audience__more summary::-webkit-details-marker { display: none; }
.audience__more summary::before {
  content: '';
  display: inline-block;
  width: 8px; height: 8px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
  transition: transform var(--dur-base) var(--ease-std);
  margin-bottom: 3px;
}
.audience__more[open] summary::before { transform: rotate(-135deg); margin-bottom: -3px; }
.audience__more summary:hover { color: #fff; }
.audience__detail { padding-top: 1.5rem; }

/* Bar charts */
.audience__chart { margin-bottom: 1.75rem; }
.audience__chart:last-of-type { margin-bottom: 1rem; }
.audience__chart-title {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--brand-red);
  margin: 0 0 1rem;
}
.audience__chart-row {
  display: grid;
  grid-template-columns: 110px 1fr 56px;
  align-items: center;
  gap: 0.875rem;
  padding: 0.35rem 0;
  font-size: 0.8rem;
}
.audience__chart-label {
  color: var(--text-secondary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.audience__chart-bar {
  display: block;
  height: 6px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 9999px;
  overflow: hidden;
}
.audience__chart-bar i {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, var(--brand-red), #ff4d4d);
  border-radius: 9999px;
  width: 0;
  transition: width 0.9s var(--ease-in);
}
.audience__more[open] .audience__chart-bar i {
  width: var(--w, 0);
}
.audience__chart-value {
  font-family: var(--font-display);
  font-size: 1rem;
  color: #fff;
  text-align: right;
  letter-spacing: -0.01em;
}
@media (max-width: 480px) {
  .audience__chart-row {
    grid-template-columns: 90px 1fr 52px;
    gap: 0.625rem;
    font-size: 0.75rem;
  }
}

/* ============================== PLATFORMS / ECOSYSTEM ============================== */
.platforms { padding: 5rem 0; }

/* Ecosystem stats strip — wide rounded container with vertical dividers */
.eco-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  background: var(--bg-elev);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 1.5rem 0.5rem;
  margin-bottom: 3rem;
}
@media (min-width: 640px) { .eco-stats { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1024px) { .eco-stats { grid-template-columns: repeat(6, 1fr); padding: 2rem 0.5rem; } }

.eco-stat {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 0.875rem 1.25rem;
}
.eco-stat::after {
  content: '';
  position: absolute;
  right: 0; top: 20%; bottom: 20%;
  width: 1px;
  background: var(--border-subtle);
}
/* Hide divider at end of each row */
.eco-stat:nth-child(2n)::after { display: none; }
@media (min-width: 640px) {
  .eco-stat:nth-child(2n)::after { display: block; }
  .eco-stat:nth-child(3n)::after { display: none; }
}
@media (min-width: 1024px) {
  .eco-stat:nth-child(3n)::after { display: block; }
  .eco-stat:nth-child(6n)::after { display: none; }
  .eco-stat:last-child::after { display: none; }
}
.eco-stat__icon {
  width: 20px; height: 20px;
  color: var(--brand-red);
  margin-bottom: 0.6rem;
  flex-shrink: 0;
}
.eco-stat__num {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(1.5rem, 2.6vw, 2rem);
  line-height: 1;
  color: #fff;
  letter-spacing: -0.01em;
}
.eco-stat__label {
  font-size: 0.75rem;
  color: var(--text-secondary);
  margin-top: 0.4rem;
  line-height: 1.3;
}

/* Channel carousel */
.eco-carousel-wrap {
  position: relative;
}
.eco-carousel-head {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 1.25rem;
  gap: 1rem;
}
.eco-carousel-label {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--brand-red);
}
.eco-carousel-nav {
  display: flex;
  gap: 0.5rem;
}
.eco-arrow {
  display: flex; align-items: center; justify-content: center;
  width: 40px; height: 40px;
  background: var(--bg-elev);
  border: 1px solid var(--border-subtle);
  border-radius: 50%;
  color: #fff;
  cursor: pointer;
  transition: all var(--dur-base) var(--ease-std);
}
.eco-arrow:hover {
  background: var(--brand-red);
  border-color: var(--brand-red);
  transform: scale(1.05);
}
.eco-arrow:focus-visible { outline: none; box-shadow: var(--focus-ring); }
.eco-arrow:disabled { opacity: 0.35; cursor: not-allowed; transform: none; }
.eco-arrow:disabled:hover { background: var(--bg-elev); border-color: var(--border-subtle); }
.eco-arrow svg { width: 18px; height: 18px; }

.eco-carousel {
  display: flex;
  gap: 1rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding: 0.5rem 0;
  /* Allow cards to peek slightly at the right edge on desktop */
  scroll-padding-left: 0;
}
.eco-carousel::-webkit-scrollbar { display: none; }

.eco-card {
  flex: 0 0 85%;
  scroll-snap-align: start;
  background: var(--bg-elev);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  transition: border-color var(--dur-base) var(--ease-std), transform var(--dur-base) var(--ease-std), background var(--dur-base) var(--ease-std);
}
@media (min-width: 640px) {
  .eco-card { flex: 0 0 calc(50% - 0.5rem); }
}
@media (min-width: 1024px) {
  /* Show 4 full + a sliver of the 5th */
  .eco-card { flex: 0 0 calc((100% - 3rem) / 4.25); }
}
.eco-card:hover {
  border-color: var(--brand-red);
  background: var(--bg-surf);
  transform: translateY(-2px);
}
.eco-card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px; height: 40px;
  background: var(--brand-red);
  color: #fff;
  border-radius: 50%;
  margin-bottom: 0.75rem;
}
.eco-card__icon svg { width: 20px; height: 20px; }
.eco-card__handle {
  font-weight: 600;
  font-size: 1.05rem;
  color: #fff;
  word-break: break-word;
}
.eco-card__role {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.4;
  margin-bottom: 0.5rem;
}
.eco-card__stat {
  font-size: 0.8rem;
  color: var(--text-secondary);
  padding-top: 0.875rem;
  border-top: 1px solid var(--border-subtle);
  margin-top: auto;
}
.eco-card__cta {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--brand-red);
  margin-top: 0.75rem;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
}
.eco-card__cta span { transition: transform var(--dur-base) var(--ease-std); display: inline-block; }
.eco-card:hover .eco-card__cta span { transform: translateX(4px); }

/* Divider between Rory's solo channels and group projects */
.eco-divider {
  flex: 0 0 56px;
  align-self: stretch;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  scroll-snap-align: none;
  padding: 0.5rem 0;
}
.eco-divider::before {
  content: '';
  position: absolute;
  top: 12%;
  bottom: 12%;
  left: 50%;
  width: 1px;
  background: linear-gradient(to bottom, transparent, var(--border-default) 15%, var(--border-default) 85%, transparent);
}
.eco-divider__tag {
  position: relative;
  background: var(--bg-base);
  padding: 1rem 0;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--brand-red);
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  white-space: nowrap;
}
@media (max-width: 639px) {
  .eco-divider { flex-basis: 44px; }
  .eco-divider__tag { font-size: 0.75rem; padding: 0.75rem 0; }
}

/* Progress bar */
.eco-progress {
  margin-top: 1.5rem;
  height: 2px;
  background: var(--border-subtle);
  border-radius: 9999px;
  overflow: hidden;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
}
.eco-progress__fill {
  display: block;
  height: 100%;
  width: 30%;
  margin-left: 0;
  background: var(--brand-red);
  border-radius: 9999px;
  transition: width 200ms var(--ease-std), margin-left 200ms var(--ease-std);
}

/* Tier 2: smaller "also on" cards */
.platform-secondary {
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border-subtle);
}
.platform-secondary__label {
  display: block;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--text-tertiary);
  margin-bottom: 1rem;
}
.platform-secondary__grid {
  display: grid; gap: 0.75rem;
  grid-template-columns: 1fr;
}
@media (min-width: 640px) {
  .platform-secondary__grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1100px) {
  .platform-secondary__grid { grid-template-columns: repeat(4, 1fr); }
}
.platform-mini {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.25rem;
  background: var(--bg-elev);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  text-decoration: none;
  color: inherit;
  transition: border-color var(--dur-base) var(--ease-std), background var(--dur-base) var(--ease-std), transform var(--dur-base) var(--ease-std);
}
.platform-mini:hover {
  border-color: var(--brand-red);
  background: var(--bg-surf);
  transform: translateY(-1px);
}
.platform-mini__badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px; height: 32px;
  background: var(--brand-red);
  color: #fff;
  border-radius: 50%;
  flex-shrink: 0;
}
.platform-mini__badge svg { width: 16px; height: 16px; }
.platform-mini__body {
  display: flex; flex-direction: column;
  gap: 0.2rem;
  flex: 1;
  min-width: 0;
}
.platform-mini__title {
  font-weight: 600;
  font-size: 0.95rem;
  color: #fff;
}
.platform-mini__meta {
  font-size: 0.8rem;
  color: var(--text-secondary);
}
.platform-mini__cta {
  font-size: 1.125rem;
  color: var(--brand-red);
  flex-shrink: 0;
  transition: transform var(--dur-base) var(--ease-std);
}
.platform-mini:hover .platform-mini__cta { transform: translateX(4px); }
.platform__handles { color: var(--text-tertiary); font-size: 0.78rem; word-break: break-word; }

.platform {
  background: var(--bg-elev);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1.75rem;
  display: flex; flex-direction: column;
  gap: 1.25rem;
  transition: all var(--dur-base) var(--ease-std);
}
.platform:hover {
  background: var(--bg-surf);
  border-color: var(--brand-red);
  transform: translateY(-2px);
}
.platform__top {
  display: flex; flex-direction: column; gap: 0.4rem;
}
.platform__badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  align-self: flex-start;
  width: 36px;
  height: 36px;
  background: var(--brand-red);
  color: #fff;
  border-radius: 50%;
}
.platform__icon {
  width: 18px;
  height: 18px;
}
.platform__handle {
  font-weight: 600;
  font-size: 1rem;
}
.platform__stats {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 1rem;
  padding: 1rem 0;
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}
.platform__stats > div { display: flex; flex-direction: column; gap: 0.2rem; }
.platform__stats strong {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: #fff;
  font-weight: 400;
}
.platform__stats span {
  font-size: 0.7rem;
  color: var(--text-secondary);
  text-transform: uppercase; letter-spacing: 0.08em;
}
.platform__note {
  font-size: 0.85rem;
  color: var(--text-secondary);
  margin: 0;
}
.platform__cta {
  margin-top: auto;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--brand-red);
}
.platform__cta span { transition: transform var(--dur-base) var(--ease-std); display: inline-block; }
.platform:hover .platform__cta span { transform: translateX(4px); }
.platform--feature { border-color: var(--border-default); }

/* ============================== WORK + OBJECTIVES ============================== */
.work, .objectives { padding: 5rem 0; }
.work { background: linear-gradient(180deg, #0a0a0a, var(--bg-base)); }

/* OBJECTIVES — journey layout (4 steps) */
.journey {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
  margin-top: 0.5rem;
}
@media (min-width: 700px) { .journey { grid-template-columns: repeat(2, 1fr); gap: 1.5rem; } }
@media (min-width: 1100px) { .journey { grid-template-columns: repeat(4, 1fr); gap: 2rem; } }

.journey__card {
  position: relative;
  padding: 2rem 1.5rem;
  background: var(--bg-elev);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  text-align: center;
  transition: border-color var(--dur-base) var(--ease-std), transform var(--dur-base) var(--ease-std), background var(--dur-base) var(--ease-std);
}
.journey__card:hover {
  border-color: var(--brand-red);
  background: var(--bg-surf);
  transform: translateY(-2px);
}
/* .journey__card--lead kept for HTML hook but no default red treatment — only on hover */

.journey__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 64px; height: 64px;
  border-radius: 50%;
  background: rgba(225, 26, 26, 0.08);
  border: 1px solid var(--brand-red);
  color: var(--brand-red);
  margin: 0 auto 1.25rem;
  position: relative;
  z-index: 2;
}
.journey__icon svg { width: 26px; height: 26px; }

.journey__num {
  display: block;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 0.95rem;
  letter-spacing: 0.06em;
  color: var(--brand-red);
  margin-bottom: 0.25rem;
}
.journey__title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(1.5rem, 3vw, 2rem);
  text-transform: uppercase;
  letter-spacing: 0.01em;
  line-height: 1;
  color: #fff;
  margin: 0 0 0.875rem;
  position: relative;
}
.journey__title::after {
  content: '';
  display: block;
  width: 32px;
  height: 2px;
  background: var(--brand-red);
  margin: 0.625rem auto 0;
}
.journey__copy {
  margin: 0;
  color: var(--text-secondary);
  font-size: 0.875rem;
  line-height: 1.55;
}

/* Connecting arrows between cards on desktop */
@media (min-width: 1100px) {
  .journey__card:not(:last-child)::after {
    content: '';
    position: absolute;
    right: -2rem;
    top: 2.875rem; /* aligns with vertical center of the 64px icon (top:2rem padding + 32px = 2rem + 0.5rem… nudge) */
    width: 2rem;
    height: 1px;
    background: linear-gradient(90deg, var(--brand-red), rgba(225, 26, 26, 0.3));
    z-index: 1;
  }
  .journey__card:not(:last-child)::before {
    content: '';
    position: absolute;
    right: -1.65rem;
    top: 2.65rem;
    width: 8px; height: 8px;
    border-top: 1px solid var(--brand-red);
    border-right: 1px solid var(--brand-red);
    transform: rotate(45deg);
    z-index: 1;
  }
}

/* Supporting "Built For" strip */
.built-for {
  display: grid;
  grid-template-columns: 1fr;
  align-items: center;
  gap: 1rem;
  margin-top: 2rem;
  padding: 1.25rem 1.5rem;
  background: var(--bg-elev);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
}
@media (min-width: 1024px) {
  .built-for {
    grid-template-columns: auto 1fr;
    gap: 2rem;
    padding: 1.5rem 2rem;
  }
}
.built-for__label {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-secondary);
  white-space: nowrap;
}
@media (min-width: 1024px) {
  .built-for__label {
    padding-right: 1.5rem;
    border-right: 1px solid var(--border-subtle);
  }
}
.built-for__list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.875rem 1.5rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
@media (min-width: 540px) {
  .built-for__list { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 780px) {
  .built-for__list { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 1024px) {
  .built-for__list { grid-template-columns: repeat(5, 1fr); gap: 0.875rem 1rem; }
}
.built-for__item {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  color: #fff;
  line-height: 1.1;
  white-space: nowrap;
}
@media (max-width: 540px) { .built-for__item { font-size: 0.875rem; } }
.built-for__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--brand-red);
  flex-shrink: 0;
}
.built-for__icon svg { width: 18px; height: 18px; }

/* Mobile-only: turn the items into stacked mini-cards so they read as part of
   the surrounding section rather than a left-aligned list */
@media (max-width: 767px) {
  .built-for__list {
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem;
  }
  .built-for__item {
    flex-direction: column;
    align-items: center;
    text-align: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 1rem 0.6rem;
    min-height: 88px;
    background: var(--bg-base);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-sm);
    font-size: 0.72rem;
    line-height: 1.25;
    white-space: normal;
  }
  .built-for__icon svg { width: 22px; height: 22px; }
}

/* WORK section — simplified 2x2 tile grid */
.work-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
  margin-top: 0.5rem;
}
@media (min-width: 880px) { .work-grid { grid-template-columns: repeat(2, 1fr); gap: 1.25rem; } }

.work-tile {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: start;
  gap: 1.5rem;
  padding: 2rem;
  background: var(--bg-elev);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  transition: border-color var(--dur-base) var(--ease-std), transform var(--dur-base) var(--ease-std), background var(--dur-base) var(--ease-std);
  overflow: hidden;
}
@media (min-width: 880px) { .work-tile { padding: 2.25rem; } }
.work-tile:hover {
  border-color: var(--brand-red);
  background: var(--bg-surf);
  transform: translateY(-2px);
}
/* .work-tile--lead kept for HTML hook but no default red treatment — only on hover */

.work-tile__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px; height: 56px;
  border-radius: 50%;
  background: rgba(225, 26, 26, 0.08);
  color: var(--brand-red);
  flex-shrink: 0;
}
.work-tile__icon svg { width: 26px; height: 26px; }

.work-tile__body {
  min-width: 0;
}
.work-tile__num {
  display: block;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 1rem;
  color: var(--brand-red);
  letter-spacing: 0.04em;
  margin-bottom: 0.4rem;
  line-height: 1;
}
.work-tile__title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(1.25rem, 2.4vw, 1.5rem);
  text-transform: uppercase;
  letter-spacing: 0.01em;
  line-height: 1.1;
  color: #fff;
  margin: 0 0 0.75rem;
}
.work-tile__copy {
  margin: 0;
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.55;
}

.work-tile__arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px; height: 36px;
  color: var(--brand-red);
  flex-shrink: 0;
  transition: transform var(--dur-base) var(--ease-std);
}
.work-tile__arrow svg { width: 20px; height: 20px; }
.work-tile:hover .work-tile__arrow { transform: translateX(4px); }

/* Slim "Need more scale?" banner */
.work-banner {
  position: relative;
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin-top: 1.5rem;
  padding: 1.5rem 1.75rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--brand-red-muted);
  background:
    radial-gradient(ellipse 400px 200px at 0% 50%, rgba(225, 26, 26, 0.15), transparent 60%),
    linear-gradient(135deg, rgba(225, 26, 26, 0.05), var(--bg-elev) 50%);
  overflow: hidden;
  transition: border-color var(--dur-base) var(--ease-std);
}
@media (min-width: 768px) { .work-banner { padding: 1.75rem 2.5rem; gap: 2rem; } }
.work-banner:hover { border-color: var(--brand-red); }
.work-banner__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px; height: 48px;
  border-radius: 50%;
  background: rgba(225, 26, 26, 0.15);
  color: var(--brand-red);
  flex-shrink: 0;
}
.work-banner__icon svg { width: 24px; height: 24px; }
.work-banner__body { min-width: 0; }
.work-banner__title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(1.25rem, 2.4vw, 1.5rem);
  text-transform: uppercase;
  letter-spacing: 0.01em;
  line-height: 1.1;
  color: #fff;
  margin: 0 0 0.4rem;
}
.work-banner__copy {
  margin: 0;
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.55;
}

@media (max-width: 600px) {
  .work-tile {
    grid-template-columns: auto 1fr;
    gap: 1rem;
    padding: 1.5rem;
  }
  .work-tile__arrow { display: none; }
  .work-tile__icon { width: 44px; height: 44px; }
  .work-tile__icon svg { width: 22px; height: 22px; }
  .work-banner {
    flex-direction: column;
    align-items: flex-start;
    padding: 1.5rem;
  }
}

/* ============================== CASE STUDIES ============================== */
.cases { padding: 5rem 0; }
.case {
  background: var(--bg-elev);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 2rem;
  margin-bottom: 1rem;
}
.case__tag {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  background: var(--brand-red-muted);
  color: var(--brand-red);
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.1em;
  border-radius: 9999px;
  margin-bottom: 1rem;
}
.case__tag--upcoming { background: rgba(255,255,255,0.06); color: var(--text-secondary); }
.case__title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(1.5rem, 3vw, 2rem);
  text-transform: uppercase; letter-spacing: -0.01em;
  margin: 0 0 1rem;
}
.case__role, .case__why, .case__deliv, .case__note {
  margin: 0 0 0.75rem;
  color: var(--text-secondary);
}
.case__deliv { color: #fff; }
.case__note { font-size: 0.85rem; color: var(--text-tertiary); }
.case--placeholder { opacity: 0.7; }

.case--featured {
  padding: 0;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr;
  border-color: var(--brand-red-muted);
}
@media (min-width: 768px) {
  .case--featured { grid-template-columns: 280px 1fr; }
}
.case--featured .case__media {
  min-height: 320px;
  background: var(--bg-surf);
  background-size: cover;
  background-position: center top;
  position: relative;
}
.case--featured .case__media::before {
  content: attr(aria-label);
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  padding: 1.5rem; text-align: center;
  color: var(--text-tertiary); font-size: 0.75rem;
  background: linear-gradient(135deg, #1a1a1a, #0e0e0e);
}
.case--featured .case__media.has-img::before { display: none; }
.case--featured .case__body { padding: 2rem; }

/* ============================== BEYOND SOCIAL ============================== */
.beyond { padding: 5rem 0; }
.beyond__inner {
  display: grid; gap: 3rem;
  align-items: center;
}
@media (min-width: 1024px) { .beyond__inner { grid-template-columns: 1fr 1fr; gap: 4rem; } }
.beyond__copy h2 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  text-transform: uppercase; letter-spacing: -0.01em;
  line-height: 1.05;
  margin: 0 0 1.5rem;
}
.beyond__copy p { color: var(--text-secondary); margin: 0 0 1rem; }
.beyond__copy p:last-of-type { margin-bottom: 1.25rem; }
.beyond__list {
  display: grid;
  gap: 0.625rem 1.5rem;
  grid-template-columns: 1fr;
  margin: 1.75rem 0 0;
  padding: 0;
  list-style: none;
}
@media (min-width: 640px) { .beyond__list { grid-template-columns: 1fr 1fr; } }
.beyond__item {
  display: flex;
  align-items: center;
  gap: 0.875rem;
  padding: 0.35rem 0;
  color: #fff;
  font-size: 0.95rem;
  line-height: 1.3;
}
.beyond__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  flex-shrink: 0;
  color: var(--brand-red);
}
.beyond__icon svg { width: 22px; height: 22px; }

/* Mobile-only: turn each Beyond Social item into a small card so they feel
   contained rather than left-aligned text rows */
@media (max-width: 639px) {
  .beyond__list {
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem;
  }
  .beyond__item {
    flex-direction: column;
    align-items: center;
    text-align: center;
    justify-content: center;
    gap: 0.55rem;
    padding: 1.1rem 0.6rem;
    min-height: 96px;
    background: var(--bg-elev);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-sm);
    font-size: 0.8rem;
    line-height: 1.3;
  }
  .beyond__icon { width: 32px; height: 32px; }
  .beyond__icon svg { width: 24px; height: 24px; }
}
.beyond__media { position: relative; }
.beyond__photo {
  width: 100%;
  aspect-ratio: 4/5;
  border-radius: var(--radius-lg);
  background: var(--bg-elev);
  background-size: cover; background-position: center top;
  position: relative;
  overflow: hidden;
}
.beyond__photo::before {
  content: attr(aria-label);
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  padding: 2rem; text-align: center;
  color: var(--text-tertiary); font-size: 0.75rem;
  background: linear-gradient(135deg, #1a1a1a, #0e0e0e);
}
.beyond__photo.has-img::before { display: none; }
.beyond__caption {
  position: absolute;
  bottom: 1rem; left: 1rem; right: 1rem;
  padding: 0.75rem 1rem;
  background: rgba(0,0,0,0.7);
  backdrop-filter: blur(10px);
  border-radius: 9999px;
  font-size: 0.8rem;
  color: #fff;
  text-align: center;
}

/* ============================== WORLD CUP ============================== */
.worldcup {
  padding: 5rem 0;
  background:
    radial-gradient(ellipse at 80% 50%, rgba(225, 26, 26, 0.12), transparent 60%),
    var(--bg-base);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}
.worldcup__inner {
  display: grid; gap: 3rem; align-items: center;
}
@media (min-width: 1024px) { .worldcup__inner { grid-template-columns: 1.3fr 1fr; } }
.worldcup__copy h2 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(2rem, 5vw, 3rem);
  text-transform: uppercase; letter-spacing: -0.02em;
  line-height: 1;
  margin: 0 0 1.25rem;
}
.worldcup__copy p {
  color: var(--text-secondary);
  margin: 0 0 2rem;
  max-width: 540px;
}
.worldcup__art {
  position: relative;
  display: flex; align-items: center; justify-content: center;
  aspect-ratio: 1/1;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background:
    repeating-linear-gradient(45deg, transparent 0 12px, rgba(255,255,255,0.02) 12px 13px),
    radial-gradient(circle at center, var(--brand-red-muted), transparent 70%);
  background-size: cover; background-position: center;
}
.worldcup__art.has-img {
  background-blend-mode: normal;
}
.worldcup__art.has-img::before {
  content: '';
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(11,11,11,0.4) 0%, rgba(11,11,11,0.75) 100%),
    radial-gradient(circle at center, rgba(225, 26, 26, 0.25), transparent 70%);
  z-index: 1;
}
.worldcup__year {
  position: relative;
  z-index: 2;
  font-family: var(--font-display);
  font-size: clamp(5rem, 14vw, 9rem);
  color: var(--brand-red);
  line-height: 1;
  letter-spacing: -0.04em;
  text-shadow: 0 4px 24px rgba(0,0,0,0.6);
}

/* ============================== CONTACT ============================== */
.contact {
  padding: 6rem 0;
  background:
    radial-gradient(ellipse at 50% 0%, rgba(225, 26, 26, 0.10), transparent 60%),
    var(--bg-base);
  border-top: 1px solid var(--border-subtle);
}
.contact__simple {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}
.contact__simple h2 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(2.75rem, 7vw, 4.5rem);
  text-transform: uppercase;
  letter-spacing: -0.02em;
  line-height: 0.95;
  margin: 0 0 1.5rem;
}
.contact__simple p {
  color: var(--text-secondary);
  font-size: 1.0625rem;
  margin: 0 0 2.5rem;
  max-width: 540px;
  margin-left: auto;
  margin-right: auto;
}
.contact__ctas {
  display: flex; flex-wrap: wrap; gap: 0.75rem;
  justify-content: center;
  margin-bottom: 2rem;
}
.contact__direct-line {
  font-size: 0.85rem;
  color: var(--text-tertiary);
  margin: 0;
}
.contact__direct-line a {
  color: var(--text-secondary);
  border-bottom: 1px solid var(--border-default);
  padding-bottom: 1px;
  transition: color var(--dur-fast) var(--ease-std), border-color var(--dur-fast) var(--ease-std);
}
.contact__direct-line a:hover { color: #fff; border-color: var(--brand-red); }

/* ============================== FOOTER ============================== */
.footer {
  background: #060606;
  border-top: 1px solid var(--border-subtle);
  padding: 3rem 0 1.5rem;
}
.footer__inner {
  display: grid; gap: 2rem;
  grid-template-columns: 1fr;
}
@media (min-width: 768px) { .footer__inner { grid-template-columns: 1.5fr 1fr 1fr; } }
.footer__rtf {
  display: inline-block;
  line-height: 0;
  transition: opacity var(--dur-base) var(--ease-std);
}
.footer__rtf:hover { opacity: 0.85; }
.footer__rtf img {
  height: 36px;
  width: auto;
  display: block;
}
@media (min-width: 768px) { .footer__rtf img { height: 40px; } }
.footer__tag {
  font-size: 0.85rem;
  color: var(--text-secondary);
  margin: 0.5rem 0 0;
  max-width: 320px;
}
.footer__socials {
  display: flex; flex-wrap: wrap; gap: 1rem;
  align-content: flex-start;
}
.footer__socials a {
  font-size: 0.85rem;
  color: var(--text-secondary);
  transition: color var(--dur-fast) var(--ease-std);
}
.footer__socials a:hover { color: #fff; }
.footer__mxi {
  display: flex; flex-direction: column;
  align-items: flex-start;
  gap: 0.625rem;
}
.footer__mxi-label {
  font-size: 0.65rem;
  font-weight: 600;
  color: var(--text-tertiary);
  text-transform: uppercase;
  letter-spacing: 0.2em;
}
.footer__mxi-logo {
  display: inline-block;
  line-height: 0;
  opacity: 0.75;
  transition: opacity var(--dur-base) var(--ease-std);
}
.footer__mxi-logo:hover { opacity: 1; }
.footer__mxi-logo img {
  height: 28px;
  width: auto;
  display: block;
}
.footer__mxi-email {
  font-size: 0.8rem;
  color: var(--text-secondary);
  border-bottom: 1px solid transparent;
  padding-bottom: 1px;
  transition: color var(--dur-fast) var(--ease-std), border-color var(--dur-fast) var(--ease-std);
}
.footer__mxi-email:hover {
  color: #fff;
  border-color: var(--mxi-teal);
}
.footer__legal {
  margin-top: 3rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border-subtle);
}
.footer__legal p {
  font-size: 0.75rem;
  color: var(--text-tertiary);
  margin: 0.25rem 0;
}

/* ============================== VAR EASTER EGG ============================== */
.var-modal {
  position: fixed;
  inset: 0;
  z-index: 250;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  animation: var-modal-fade 220ms var(--ease-in);
}
.var-modal[hidden] { display: none !important; }
@keyframes var-modal-fade {
  from { opacity: 0; }
  to   { opacity: 1; }
}
.var-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.82);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}
.var-modal__inner {
  position: relative;
  width: 100%;
  max-width: 460px;
  padding: 2.75rem 2rem 1.75rem;
  background:
    radial-gradient(ellipse 400px 200px at 50% 0%, rgba(225, 26, 26, 0.12), transparent 70%),
    linear-gradient(180deg, #121212 0%, #0d0d0d 100%);
  border: 1px solid var(--brand-red);
  border-radius: 12px;
  box-shadow:
    0 0 0 1px rgba(225, 26, 26, 0.18),
    0 0 60px rgba(225, 26, 26, 0.18),
    0 24px 80px rgba(0, 0, 0, 0.7);
  text-align: center;
  animation: var-modal-pop 280ms var(--ease-in);
}
@keyframes var-modal-pop {
  from { opacity: 0; transform: translateY(8px) scale(0.97); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}
.var-modal__close {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  width: 34px; height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: 0;
  color: var(--text-secondary);
  cursor: pointer;
  border-radius: 50%;
  transition: background var(--dur-base) var(--ease-std), color var(--dur-base) var(--ease-std), transform var(--dur-base) var(--ease-std);
}
.var-modal__close:hover {
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  transform: rotate(90deg);
}
.var-modal__close:focus-visible { outline: none; box-shadow: 0 0 0 2px var(--brand-red); }

.var-modal__label {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--brand-red);
  margin-bottom: 1.25rem;
}
.var-modal__icon { width: 22px; height: 22px; }

.var-modal__title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(2.5rem, 7.5vw, 3.5rem);
  text-transform: uppercase;
  letter-spacing: 0.005em;
  line-height: 0.95;
  color: #fff;
  margin: 0 0 1.25rem;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.6);
}

.var-modal__divider {
  position: relative;
  width: 60%;
  max-width: 220px;
  margin: 0 auto 1.25rem;
  height: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.var-modal__divider::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(225, 26, 26, 0.45), transparent);
}
.var-modal__dot {
  position: relative;
  display: block;
  width: 7px; height: 7px;
  background: var(--brand-red);
  border-radius: 50%;
  box-shadow: 0 0 8px rgba(225, 26, 26, 0.7);
}

.var-modal__body {
  font-size: 0.95rem;
  color: #fff;
  line-height: 1.5;
  margin: 0 auto 1.5rem;
  max-width: 320px;
}

.var-modal__rule {
  width: 100%;
  height: 1px;
  background: rgba(255, 255, 255, 0.1);
  margin: 0 0 1.25rem;
}

.var-modal__decision { margin-bottom: 1.25rem; }
.var-modal__decision-label {
  display: block;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--text-secondary);
  margin-bottom: 0.4rem;
}
.var-modal__decision-call {
  display: block;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(1.5rem, 4.5vw, 2.125rem);
  text-transform: uppercase;
  letter-spacing: 0.01em;
  color: var(--brand-red);
  line-height: 1;
}

.var-modal__footer {
  font-size: 0.8rem;
  color: var(--text-tertiary);
  margin: 0;
  letter-spacing: 0.02em;
}
@media (max-width: 380px) {
  .var-modal { padding: 1rem; }
  .var-modal__inner { padding: 2.25rem 1.25rem 1.5rem; }
}

/* ============================== VIDEO LIGHTBOX ============================== */
.video-modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  animation: video-modal-in 240ms var(--ease-in);
}
@keyframes video-modal-in {
  from { opacity: 0; }
  to   { opacity: 1; }
}
.video-modal[hidden] { display: none; }
.video-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.video-modal__inner {
  position: relative;
  width: 100%;
  max-width: 420px;
  max-height: calc(100vh - 6rem);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  animation: video-modal-pop 280ms var(--ease-in);
}
@keyframes video-modal-pop {
  from { opacity: 0; transform: translateY(20px) scale(0.96); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}
.video-modal__close {
  position: absolute;
  top: -3rem;
  right: 0;
  width: 44px; height: 44px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 50%;
  color: #fff;
  transition: background var(--dur-base) var(--ease-std), transform var(--dur-base) var(--ease-std);
}
.video-modal__close:hover { background: rgba(255, 255, 255, 0.16); transform: rotate(90deg); }
.video-modal__close:focus-visible { outline: none; box-shadow: var(--focus-ring); }

.video-modal__frame {
  width: 100%;
  aspect-ratio: 9 / 16;
  max-height: calc(100vh - 9rem);
  background: #000;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}
.video-modal__frame[data-platform="instagram"] { aspect-ratio: auto; height: calc(100vh - 9rem); max-width: 540px; width: 100%; }
.video-modal__frame iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}
.video-modal__fallback {
  font-size: 0.85rem;
  color: var(--text-secondary);
  text-decoration: none;
  padding: 0.4rem 0.8rem;
  border-radius: 9999px;
  transition: color var(--dur-base) var(--ease-std), background var(--dur-base) var(--ease-std);
}
.video-modal__fallback:hover { color: #fff; background: rgba(255, 255, 255, 0.08); }

/* Visual cue: clickable cards get a subtle play-icon on the thumbnail */
.perf-standout--link .perf-standout__thumb::before {
  content: '';
  position: absolute;
  left: 50%; top: 50%;
  width: 56px; height: 56px;
  margin: -28px 0 0 -28px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.6);
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='white'><path d='M8 5v14l11-7z'/></svg>");
  background-repeat: no-repeat;
  background-position: 56% center;
  background-size: 22px 22px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  opacity: 0;
  transform: scale(0.85);
  transition: opacity var(--dur-base) var(--ease-std), transform var(--dur-base) var(--ease-std);
  z-index: 2;
}
.perf-standout--link:hover .perf-standout__thumb::before {
  opacity: 1;
  transform: scale(1);
}

/* ============================== FLOATING CTA ============================== */
/* Hidden everywhere — the static "Work with Rory" button in the nav + the final
   Contact section give enough CTA coverage without a sticky pill following the
   user around the page. Kept the element in the DOM so it can be re-enabled
   later by removing this rule. */
.floating-cta { display: none !important; }

/* ============================== REVEAL ANIMATIONS ============================== */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 600ms var(--ease-in), transform 600ms var(--ease-in);
}
.reveal.is-revealed {
  opacity: 1;
  transform: translateY(0);
}
