/* ============================================================================
   NearbyPlay — homepage design system
   Owned visual language: warm colour environments + route/pin motif.
   Single cacheable stylesheet for index.html.
   ============================================================================ */

/* Metric-matched fallback for Inter Tight — forces the fallback to occupy
   Inter Tight's line metrics so any web-font swap causes ~0 layout shift
   (belt-and-suspenders alongside font-display: optional). */
@font-face {
  font-family: 'Inter Tight Fallback';
  src: local('Roboto'), local('Segoe UI'), local('Helvetica Neue'), local('Arial');
  ascent-override: 90%;
  descent-override: 22.5%;
  line-gap-override: 0%;
  size-adjust: 100%;
}

/* ============================================================
   1. GLOBAL TOKENS
   ============================================================ */
:root {
  /* Brand accent — used ONLY for key type, CTAs, routes and pins */
  --orange: #F97316;
  --orange-lift: #FB923C;      /* legible orange on dark surfaces */
  --pink: #E91E63;
  --brand-gradient: linear-gradient(100deg, #F97316 0%, #E91E63 100%);
  --brand-gradient-strong: linear-gradient(100deg, #C2410C 0%, #BE185D 100%);

  /* Restrained secondary accent */
  --green: #4F9E6A;

  /* Type scale — with a true display range for scroll-moments */
  --fs-mega:    clamp(2.35rem, 0.9rem + 6.6vw, 6.25rem);
  --fs-display: clamp(2.05rem, 1.2rem + 4.3vw, 4.6rem);
  --fs-h2:      clamp(1.95rem, 1.3rem + 2.6vw, 3.1rem);
  --fs-h3:      clamp(1.2rem, 1.05rem + 0.7vw, 1.5rem);
  --fs-lead:    clamp(1.1rem, 1.02rem + 0.4vw, 1.28rem);
  --fs-body:    1.0625rem;
  --fs-small:   0.875rem;
  --fs-eyebrow: 0.8125rem;

  --font: 'Inter Tight', 'Inter Tight Fallback', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, system-ui, sans-serif;

  --space-1: 4px;  --space-2: 8px;  --space-3: 16px; --space-4: 24px;
  --space-5: 32px; --space-6: 48px; --space-7: 64px; --space-8: 96px; --space-9: 128px;
  --section-y: clamp(52px, 2.75rem + 3.6vw, 92px);

  --container: 1200px;
  --measure: 720px;
  --container-pad: clamp(20px, 5vw, 32px);

  --radius: 14px;
  --radius-lg: 22px;
  --radius-xl: 30px;
  --radius-pill: 100px;

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

/* ============================================================
   2. COLOUR ENVIRONMENTS
   Each <section> carries one env-* class. Adjacent environments
   share blended seams (see §seams) so the page reads as one flow.
   Weighting: black + cream are primary; navy is one chapter;
   plum is restrained (belief + close); green is accent only.
   ============================================================ */
.env-black {
  --bg: #100C0A; --bg-2: #17110E; --card: #1C1613;
  --border: rgba(255,255,255,0.09); --border-strong: rgba(255,255,255,0.17);
  --ink: #F7F3EE; --ink-2: #DCD4CB; --ink-muted: #A79E94;
  --accent-text: var(--orange-lift); --grad-text: var(--brand-gradient);
  --seam-top: #100C0A;
  background: var(--bg); color: var(--ink);
}
.env-cream {
  --bg: #FAF6F0; --bg-2: #FFFFFF; --card: #FFFFFF;
  --border: #ECE4D9; --border-strong: #D9CEBF;
  --ink: #1A1512; --ink-2: #463D34; --ink-muted: #6E6157;
  --accent-text: #C2410C; --grad-text: var(--brand-gradient-strong);
  --seam-top: #FAF6F0;
  background: var(--bg); color: var(--ink);
}
.env-navy {
  --bg: #0F1A2B; --bg-2: #142338; --card: rgba(255,255,255,0.05);
  --border: rgba(255,255,255,0.12); --border-strong: rgba(255,255,255,0.24);
  --ink: #F2F6FC; --ink-2: #CBD8EA; --ink-muted: #90A2BB;
  --accent-text: #FDBA74; --grad-text: var(--brand-gradient);
  --seam-top: #0F1A2B;
  background: var(--bg); color: var(--ink);
}
.env-plum {
  --bg: #1B1220; --bg-2: #251729; --card: rgba(255,255,255,0.05);
  --border: rgba(255,255,255,0.11); --border-strong: rgba(255,255,255,0.21);
  --ink: #FBF4F7; --ink-2: #E7D6DE; --ink-muted: #B49CA8;
  --accent-text: #F9A8C4; --grad-text: var(--brand-gradient);
  --seam-top: #1B1220;
  background: var(--bg); color: var(--ink);
}

/* ============================================================
   3. RESET & BASE
   ============================================================ */
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  font-family: var(--font);
  font-size: var(--fs-body);
  line-height: 1.6;
  background: #100C0A;
  color: #F7F3EE;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-feature-settings: 'ss01';
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
:focus-visible { outline: 2px solid var(--orange); outline-offset: 3px; border-radius: 3px; }
/* Skip-link target: focusable for AT, but no visible ring on programmatic focus */
#main:focus { outline: none; }
[hidden] { display: none !important; }

.container { max-width: var(--container); margin: 0 auto; padding: 0 var(--container-pad); position: relative; }
.measure { max-width: var(--measure); }

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 200;
  background: var(--orange); color: #100C0A; padding: 10px 16px;
  border-radius: 0 0 8px 0; font-weight: 600;
}
.skip-link:focus { left: 0; }

/* Global brand-gradient SVG def host (visually hidden) */
.svg-defs { position: absolute; width: 0; height: 0; overflow: hidden; }

/* ============================================================
   4. MOTION — reveal-on-scroll (progressive enhancement)
   No-JS: everything visible (styles gated behind html.js).
   Reduced-motion: instant, no transform.
   ============================================================ */
html.js [data-reveal] { opacity: 0; transform: translateY(18px); will-change: opacity, transform; }
html.js [data-reveal].in-view {
  opacity: 1; transform: none;
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}
/* Stagger children marked with [data-stagger] */
html.js [data-stagger] > * { opacity: 0; transform: translateY(16px); }
html.js [data-stagger].in-view > * {
  opacity: 1; transform: none;
  transition: opacity 0.6s var(--ease-out), transform 0.6s var(--ease-out);
}
html.js [data-stagger].in-view > *:nth-child(1) { transition-delay: 0.00s; }
html.js [data-stagger].in-view > *:nth-child(2) { transition-delay: 0.07s; }
html.js [data-stagger].in-view > *:nth-child(3) { transition-delay: 0.14s; }
html.js [data-stagger].in-view > *:nth-child(4) { transition-delay: 0.21s; }
html.js [data-stagger].in-view > *:nth-child(5) { transition-delay: 0.28s; }
html.js [data-stagger].in-view > *:nth-child(6) { transition-delay: 0.35s; }

@media (prefers-reduced-motion: reduce) {
  html.js [data-reveal],
  html.js [data-stagger] > * { opacity: 1 !important; transform: none !important; transition: none !important; }
}

/* ============================================================
   5. PRIMITIVES
   ============================================================ */
section { padding: var(--section-y) 0; position: relative; }

.eyebrow {
  font-size: var(--fs-eyebrow); font-weight: 600; letter-spacing: 0.09em;
  text-transform: uppercase; color: var(--accent-text); margin-bottom: var(--space-4);
  display: inline-flex; align-items: center; gap: 9px;
}
.eyebrow::before {
  content: ''; width: 20px; height: 2px; border-radius: 2px;
  background: var(--brand-gradient); flex-shrink: 0;
}
.eyebrow--future::after {
  content: ''; width: 7px; height: 7px; border-radius: 50%;
  background: currentColor; opacity: 0.65;
}

.mega {
  font-size: var(--fs-mega); line-height: 0.98; letter-spacing: -0.04em;
  font-weight: 800; color: var(--ink); overflow-wrap: break-word;
}
.display {
  font-size: var(--fs-display); line-height: 1.0; letter-spacing: -0.035em;
  font-weight: 800; color: var(--ink);
}
h2.title, .title {
  font-size: var(--fs-h2); line-height: 1.06; letter-spacing: -0.03em;
  font-weight: 700; color: var(--ink); max-width: 22ch;
}
.title--wide { max-width: 30ch; }
.lead { font-size: var(--fs-lead); line-height: 1.5; color: var(--ink-muted); max-width: 60ch; }
.body-copy { color: var(--ink-2); max-width: 62ch; }
.body-copy + .body-copy { margin-top: var(--space-4); }
.lead, .body-copy { overflow-wrap: break-word; }
/* Big headings wrap on whole words only — never mid-word */
.mega, .display, h2.title, .title { overflow-wrap: normal; word-break: normal; hyphens: none; }
/* Grid/flex children must be allowed to shrink below content width (no overflow) */
.hero-grid > *, .today-grid > *, .colleges .container > *, .founding-grid > *,
.pathways-grid > *, .status-strip > *, .journey > * { min-width: 0; }

.grad {
  background: var(--grad-text);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Buttons — audited across every environment */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 24px; min-height: 46px; border-radius: var(--radius-pill);
  font-family: inherit; font-size: 15px; font-weight: 600; letter-spacing: -0.005em;
  border: 1px solid transparent; cursor: pointer;
  transition: transform 0.15s var(--ease), filter 0.15s var(--ease),
              background 0.15s var(--ease), border-color 0.15s var(--ease), color 0.15s var(--ease);
}
.btn-primary { background: var(--brand-gradient-strong); color: #fff; box-shadow: 0 10px 30px -12px rgba(233,30,99,0.5); }
.btn-primary:hover { filter: brightness(1.07); transform: translateY(-1px); }
.btn-ghost { color: var(--ink); border-color: var(--border-strong); background: transparent; }
.btn-ghost:hover { border-color: var(--ink-muted); background: color-mix(in srgb, var(--ink) 8%, transparent); }
.btn-solid { background: var(--ink); color: var(--bg); }
.btn-solid:hover { filter: brightness(0.94); transform: translateY(-1px); }
@media (prefers-reduced-motion: reduce) { .btn:hover { transform: none; } }

.arrow-link {
  display: inline-flex; align-items: center; gap: 7px;
  font-weight: 600; font-size: 15px; color: var(--accent-text);
}
.arrow-link span { transition: transform 0.15s var(--ease); }
.arrow-link:hover span { transform: translateX(3px); }
@media (prefers-reduced-motion: reduce) { .arrow-link:hover span { transform: none; } }

/* App store badges */
.app-badges { display: flex; gap: 12px; flex-wrap: wrap; }
.app-badge {
  background: var(--brand-gradient-strong); color: #fff;
  padding: 11px 20px; min-height: 46px; border-radius: var(--radius);
  display: inline-flex; align-items: center; gap: 12px;
  transition: transform 0.15s var(--ease), filter 0.15s var(--ease);
}
.app-badge:hover { transform: translateY(-1px); filter: brightness(1.06); }
@media (prefers-reduced-motion: reduce) { .app-badge:hover { transform: none; } }
.app-badge-icon { line-height: 0; flex-shrink: 0; }
.app-badge-icon svg { display: block; fill: currentColor; }
.app-badge-text { text-align: left; line-height: 1.15; }
.app-badge-sub { font-size: 10.5px; opacity: 0.9; font-weight: 500; text-transform: uppercase; letter-spacing: 0.04em; }
.app-badge-main { font-size: 16px; font-weight: 700; margin-top: 2px; letter-spacing: -0.01em; }

/* Status pill */
.pill {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 500; color: var(--ink-2);
  background: color-mix(in srgb, var(--ink) 8%, transparent);
  border: 1px solid var(--border); padding: 6px 13px; border-radius: var(--radius-pill);
}
.pill::before {
  content: ''; width: 7px; height: 7px; border-radius: 50%;
  background: var(--green); box-shadow: 0 0 0 3px color-mix(in srgb, var(--green) 22%, transparent);
}

/* ============================================================
   6. ROUTE / PIN MOTIF — the NearbyPlay signature
   A gradient stroke that travels between pinned points.
   Routes draw in on scroll via pathLength="1" + dashoffset.
   ============================================================ */
.route { display: block; width: 100%; height: auto; overflow: visible; }
.route [data-path] {
  fill: none; stroke: url(#np-grad); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round;
  stroke-dasharray: 1; stroke-dashoffset: 1;
}
html.js .route.in-view [data-path] {
  transition: stroke-dashoffset 1.3s var(--ease-out);
  stroke-dashoffset: 0;
}
.route [data-path].is-future { stroke: var(--border-strong); stroke-dasharray: 0.012 0.02; stroke-dashoffset: 0; }
@media (prefers-reduced-motion: reduce) {
  html.js .route [data-path] { stroke-dashoffset: 0 !important; transition: none !important; }
}

/* Pin marker — used as list marker, node, flow point */
.pin {
  --pin-size: 14px;
  display: inline-block; width: var(--pin-size); height: var(--pin-size);
  border-radius: 50%; background: var(--brand-gradient); flex-shrink: 0;
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--orange) 16%, transparent);
}
.pin--hollow { background: transparent; border: 2px solid var(--accent-text); box-shadow: none; }
.pin--green { background: var(--green); box-shadow: 0 0 0 4px color-mix(in srgb, var(--green) 20%, transparent); }

/* ============================================================
   7. SECTION SEAMS — soften the boundary between environments
   A thin gradient at the top of a section fades from the previous
   environment's colour so bands don't read as hard rectangles.
   ============================================================ */
.seam { position: relative; }
.seam::before {
  content: ''; position: absolute; left: 0; right: 0; top: 0; height: 68px;
  background: linear-gradient(180deg, var(--seam-from, transparent) 0%, transparent 100%);
  pointer-events: none; z-index: 0; opacity: 0.4;
}
.seam > .container { position: relative; z-index: 1; }

/* ============================================================
   8. HEADER & NAVIGATION
   ============================================================ */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(16,12,10,0.55);
  backdrop-filter: saturate(140%) blur(12px);
  -webkit-backdrop-filter: saturate(140%) blur(12px);
  border-bottom: 1px solid transparent;
  transition: background 0.25s var(--ease), border-color 0.25s var(--ease);
}
.site-header.scrolled {
  background: rgba(16,12,10,0.82);
  border-bottom-color: rgba(255,255,255,0.09);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; padding: 12px 0; }

/* Brand lockup — small optimised mark + live gradient wordmark (crisp, light) */
.brand { display: inline-flex; align-items: center; gap: 9px; }
.brand img { height: 27px; width: auto; }
.brand-word {
  font-weight: 700; font-size: 19px; letter-spacing: -0.02em; line-height: 1;
  background: var(--brand-gradient); -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}

.nav-desktop { display: none; align-items: center; gap: 2px; }
.nav-desktop a {
  color: #D9D2CA; font-size: 14.5px; font-weight: 500; padding: 8px 13px;
  border-radius: 8px; transition: color 0.15s var(--ease), background 0.15s var(--ease);
}
.nav-desktop a:hover { color: #fff; background: rgba(255,255,255,0.06); }
.nav-cta {
  margin-left: 6px; background: var(--brand-gradient-strong);
  color: #fff !important; font-weight: 600 !important;
}
.nav-cta:hover { filter: brightness(1.07); background: var(--brand-gradient-strong) !important; }

.menu-btn {
  display: inline-flex; align-items: center; justify-content: center;
  width: 42px; height: 42px; background: transparent;
  border: 1px solid rgba(255,255,255,0.2); border-radius: 10px; color: #F7F3EE; cursor: pointer;
}
.mobile-nav { border-top: 1px solid rgba(255,255,255,0.08); background: #14100D; padding: 8px 0 16px; }
/* Panel starts hidden (no pre-JS flash / CLS). Without JS, reveal it on mobile
   so nav stays accessible; JS toggles the [hidden] attribute thereafter. */
@media (max-width: 899px) { html:not(.js) #mobile-nav[hidden] { display: block !important; } }
.mobile-nav ul { list-style: none; }
.mobile-nav a { display: block; padding: 13px var(--container-pad); color: #E7E1D9; font-size: 16px; font-weight: 500; }
.mobile-nav a:hover { background: #1C1613; }
.mobile-nav .nav-cta { margin: 12px var(--container-pad) 0; border-radius: var(--radius-pill); text-align: center; justify-content: center; display: flex; }

@media (min-width: 900px) {
  .nav-desktop { display: flex; }
  .menu-btn { display: none; }
  .mobile-nav { display: none !important; }
}

/* ============================================================
   9. HERO — brand-led, immersive; abstract sports-space route art
   ============================================================ */
.hero { position: relative; overflow: hidden; }
.hero::before { /* single restrained brand glow, right side */
  content: ''; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background:
    radial-gradient(60% 70% at 82% 18%, rgba(233,30,99,0.28), transparent 60%),
    radial-gradient(55% 65% at 96% 60%, rgba(249,115,22,0.22), transparent 62%);
}
.hero .container { position: relative; z-index: 1; }
.hero-grid { display: grid; grid-template-columns: 1fr; gap: var(--space-7); align-items: center; padding: clamp(40px, 6vw, 72px) 0 clamp(24px, 4vw, 44px); }
.hero-copy { max-width: 640px; }
.hero-copy .pill { margin-bottom: var(--space-4); }
.hero-copy h1 { margin-bottom: var(--space-4); }
.hero-copy .lead { margin-bottom: var(--space-3); color: var(--ink-2); }
.hero-copy .secondary { color: var(--ink-muted); max-width: 52ch; margin-bottom: var(--space-5); }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-bottom: var(--space-4); }
.hero-meta {
  display: flex; flex-wrap: wrap; gap: 8px 10px;
  font-size: 12.5px; color: var(--ink-muted); margin-top: var(--space-3);
}
.hero-meta span {
  display: inline-flex; align-items: center; gap: 7px;
  border: 1px solid var(--border); border-radius: var(--radius-pill); padding: 5px 12px;
}
.hero-meta span::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--brand-gradient); }

/* Hero visual: owned abstract sports-space (route + pins + court lines).
   Height reserved on the container (aspect-ratio) to prevent load-time CLS. */
.hero-art { position: relative; width: 100%; max-width: 560px; margin: 0 auto; }
.hero-art .route { width: 100%; height: auto; aspect-ratio: 560 / 470; }
.hero-art .hero-chip {
  position: absolute; background: var(--card); border: 1px solid var(--border);
  border-radius: 12px; padding: 8px 12px; font-size: 12.5px; font-weight: 600;
  color: var(--ink); display: inline-flex; align-items: center; gap: 8px;
  box-shadow: 0 18px 40px -20px rgba(0,0,0,0.6);
}
.hero-chip .pin { --pin-size: 9px; }
.hero-chip--a { top: 8%; left: 2%; }
.hero-chip--b { bottom: 12%; right: 4%; }

/* Optional small app proof (kept subtle — product section carries the demo) */
.hero-proof { display: none; }

@media (min-width: 1000px) {
  .hero-grid { grid-template-columns: 1.05fr 0.95fr; gap: var(--space-8); padding: clamp(56px, 6vw, 96px) 0; min-height: min(78vh, 720px); }
  .hero-art .route { max-width: none; }
}

/* ============================================================
   10. PARTICIPATION CHALLENGE — type-led editorial + pins
   ============================================================ */
.challenge-head { max-width: 20ch; margin-bottom: var(--space-4); }
.challenge-statement { margin-bottom: var(--space-6); }
.challenge-intro { color: var(--ink-2); max-width: 56ch; font-size: var(--fs-lead); line-height: 1.5; margin-bottom: var(--space-5); }
.obs-list { list-style: none; display: grid; gap: 0; max-width: 920px; }
.obs {
  display: grid; grid-template-columns: auto 1fr; gap: var(--space-4);
  padding: var(--space-4) 0; border-top: 1px solid var(--border); align-items: start;
}
.obs:last-child { border-bottom: 1px solid var(--border); }
.obs-pin { margin-top: 7px; }
.obs-body h3 { font-size: var(--fs-h3); font-weight: 600; letter-spacing: -0.015em; margin-bottom: 4px; }
.obs-body p { color: var(--ink-muted); font-size: var(--fs-small); max-width: 60ch; }
@media (min-width: 760px) {
  .obs { grid-template-columns: 30px 1fr; align-items: baseline; }
  .obs-pin { margin-top: 5px; }
  .obs-body { display: grid; grid-template-columns: 0.85fr 1.4fr; gap: var(--space-4); align-items: baseline; }
  .obs-body p { margin: 0; }
}

/* ============================================================
   11. WHY — belief; single mega statement
   ============================================================ */
/* Immersive full-bleed community image + layered overlays (text on the left) */
.belief { position: relative; overflow: hidden; display: flex; align-items: center; min-height: 620px; }
.belief-media { position: absolute; inset: 0; z-index: 0; }
.belief-img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 44%; }
.belief-scrim {
  position: absolute; inset: 0;
  background:
    /* text-side: dark plum on the left -> clear over the people on the right */
    linear-gradient(90deg, rgba(21,13,27,0.96) 0%, rgba(21,13,27,0.89) 30%, rgba(21,13,27,0.60) 52%, rgba(21,13,27,0.28) 72%, rgba(21,13,27,0.10) 90%, rgba(21,13,27,0.03) 100%),
    /* bottom: fade to plum for a seamless transition into the next section */
    linear-gradient(0deg, #1B1220 0%, rgba(27,18,32,0) 24%),
    /* overall subtle plum unify — keeps warmth, avoids a monochrome look */
    linear-gradient(180deg, rgba(24,15,30,0.12), rgba(24,15,30,0.12)),
    /* top: soft cream blend from the cream section above (back layer) */
    linear-gradient(180deg, #FAF6F0 0%, rgba(250,246,240,0) 7%);
}
.belief-content { position: relative; z-index: 2; max-width: 560px; }
.belief .mega { max-width: 15ch; margin: var(--space-3) 0 var(--space-4); }
.belief .mega .grad { display: inline; }
.belief .lead { color: #EFE1E8; max-width: 42ch; }

@media (min-width: 760px) {
  .belief { min-height: 720px; }
  .belief-content { max-width: 600px; }
}
/* Mobile (~390px): keep the standing group + net; text at the top over a
   stronger vertical gradient so it stays readable and the crop stays meaningful */
@media (max-width: 640px) {
  .belief { min-height: 620px; align-items: flex-start; }
  .belief-img { object-position: 64% 50%; }
  .belief-scrim {
    background:
      linear-gradient(180deg, rgba(22,14,28,0.96) 0%, rgba(22,14,28,0.88) 26%, rgba(22,14,28,0.62) 46%, rgba(22,14,28,0.42) 58%, rgba(22,14,28,0.14) 78%, rgba(22,14,28,0.22) 100%),
      linear-gradient(0deg, #1B1220 0%, rgba(27,18,32,0) 18%),
      linear-gradient(180deg, rgba(27,18,32,0.5) 0%, rgba(27,18,32,0) 10%);
  }
  .belief-content { max-width: 100%; }
}

/* ============================================================
   12. WHAT WE DO TODAY — product demonstration (real screenshots)
   One primary phone + two controlled fragments (no random stack).
   ============================================================ */
.today-intro { margin-bottom: var(--space-6); }
.today-grid { display: grid; grid-template-columns: 1fr; gap: var(--space-8); align-items: center; }
.action-list { list-style: none; display: grid; gap: 0; }
.action-item {
  display: grid; grid-template-columns: auto 1fr; gap: var(--space-4);
  padding: var(--space-4) 0; border-top: 1px solid var(--border); align-items: start;
}
.action-item:last-child { border-bottom: 1px solid var(--border); }
.action-index { font-size: var(--fs-small); font-weight: 700; color: var(--accent-text); padding-top: 3px; font-variant-numeric: tabular-nums; }
.action-item h3 { font-size: var(--fs-h3); font-weight: 600; letter-spacing: -0.015em; margin-bottom: 4px; }
.action-item p { color: var(--ink-muted); font-size: var(--fs-small); }
.today-note { margin-top: var(--space-5); font-size: var(--fs-small); color: var(--ink-muted); }

/* Product showcase — two full phone devices (primary front-right, secondary behind-left) */
.showcase { position: relative; width: min(100%, 440px); margin: 0 auto; padding: var(--space-2) 0 var(--space-4); }
.device {
  background: #0b0b0b; padding: 8px; border-radius: 40px;
  box-shadow: 0 46px 84px -32px rgba(0,0,0,0.5), 0 0 0 1px rgba(0,0,0,0.05);
}
.device::before { /* notch */
  content: ''; position: absolute; top: 16px; left: 50%; transform: translateX(-50%);
  width: 27%; height: 20px; background: #0b0b0b; border-radius: 12px; z-index: 3;
}
.device .device-screen { border-radius: 32px; overflow: hidden; aspect-ratio: 1179 / 2556; background: #FAF6F0; }
.device .device-screen img { width: 100%; height: 100%; object-fit: cover; object-position: top center; }
.device--primary { position: relative; z-index: 2; width: 64%; margin-left: auto; }
.device--secondary { position: absolute; z-index: 1; width: 47%; left: 0; bottom: 9%; border-radius: 34px; }
.device--secondary .device-screen { border-radius: 27px; }
.device--secondary::before { height: 15px; top: 12px; }

@media (min-width: 900px) {
  .today-grid { grid-template-columns: 1fr 1.02fr; gap: var(--space-8); }
}

/* ============================================================
   13. STARTING WITH COLLEGES — immersive; conceptual campus map
   Explicitly illustrative (never implies a real/surveyed campus).
   ============================================================ */
/* Immersive full-bleed campus-sports image + layered navy overlays.
   Source cropped so no generated signage/emblems are present. */
.colleges { position: relative; overflow: hidden; display: flex; align-items: center; min-height: 660px; }
.colleges-media { position: absolute; inset: 0; z-index: 0; }
.colleges-img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 54%; }
.colleges-scrim {
  position: absolute; inset: 0;
  background:
    /* text-side: dark navy on the left -> clearer over the court on the right */
    linear-gradient(90deg, rgba(8,15,26,0.96) 0%, rgba(8,15,26,0.90) 30%, rgba(8,15,26,0.66) 52%, rgba(8,15,26,0.34) 72%, rgba(8,15,26,0.10) 90%, rgba(8,15,26,0.04) 100%),
    /* bottom: fade to navy for a seamless transition into the next section */
    linear-gradient(0deg, #0F1A2B 0%, rgba(15,26,43,0) 22%),
    /* overall subtle navy tint — keeps the warm sunlight, avoids a flat look */
    linear-gradient(180deg, rgba(12,20,34,0.10), rgba(12,20,34,0.10)),
    /* top: soft cream blend from the cream section above */
    linear-gradient(180deg, #FAF6F0 0%, rgba(250,246,240,0) 7%);
}
.colleges-copy { position: relative; z-index: 2; max-width: 560px; }
.colleges-copy .lead, .colleges-copy .body-copy { color: var(--ink-2); }
.stakeholders { margin-top: var(--space-5); display: flex; flex-wrap: wrap; gap: 8px; }
.stakeholders span {
  font-size: var(--fs-small); font-weight: 600; color: var(--ink);
  background: rgba(9,16,28,0.45); border: 1px solid rgba(255,255,255,0.22);
  border-radius: var(--radius-pill); padding: 6px 14px;
  display: inline-flex; align-items: center; gap: 8px;
  -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px);
}
.stakeholders span::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--accent-text); }

@media (min-width: 760px) {
  .colleges { min-height: 750px; }
  .colleges-copy { max-width: 600px; }
}
/* Mobile (~390px): text at top over a stronger vertical gradient; keep the
   court, hoop/goalpost, equipment and distant people (building already cropped) */
@media (max-width: 640px) {
  .colleges { min-height: 660px; align-items: flex-start; }
  .colleges-img { object-position: 58% 56%; }
  .colleges-scrim {
    background:
      linear-gradient(180deg, rgba(9,16,28,0.95) 0%, rgba(9,16,28,0.80) 30%, rgba(9,16,28,0.34) 56%, rgba(9,16,28,0.12) 78%, rgba(9,16,28,0.22) 100%),
      linear-gradient(0deg, #0F1A2B 0%, rgba(15,26,43,0) 18%),
      linear-gradient(180deg, rgba(15,26,43,0.5) 0%, rgba(15,26,43,0) 10%);
  }
  .colleges-copy { max-width: 100%; }
}

/* ============================================================
   14. FOUNDING PARTNER — editorial "field notes" + enquiry
   ============================================================ */
.founding-grid { display: grid; grid-template-columns: 1fr; gap: var(--space-7); align-items: start; }
@media (min-width: 900px) { .founding-grid { grid-template-columns: 1fr 0.82fr; gap: var(--space-8); align-items: start; } }

/* Field-research treatment: campus listening prompts as highlighted questions */
.field-notes { margin-top: var(--space-5); max-width: 48ch; }
.field-intro { font-size: var(--fs-small); color: var(--ink-muted); margin-bottom: var(--space-4); }
.field-tick { color: var(--accent-text); font-weight: 700; margin-right: 5px; }
.prompts { list-style: none; display: grid; gap: var(--space-3); }
.prompts li { display: grid; grid-template-columns: 26px 1fr; gap: var(--space-2); align-items: baseline; }
.prompt-n { font-size: 12px; font-weight: 700; color: var(--accent-text); font-variant-numeric: tabular-nums; opacity: 0.75; }
.prompt-q {
  font-size: 1.02rem; font-weight: 600; letter-spacing: -0.01em; color: var(--ink); line-height: 1.34;
  background: linear-gradient(180deg, transparent 60%, color-mix(in srgb, var(--orange) 22%, transparent) 60%);
  background-repeat: no-repeat;
  -webkit-box-decoration-break: clone; box-decoration-break: clone;
}
.field-annot { margin-top: var(--space-4); font-size: var(--fs-small); color: var(--ink-muted); font-style: italic; }
.field-annot span { color: var(--accent-text); font-style: normal; margin-right: 5px; }

.enquiry { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: clamp(24px, 4vw, 34px); }
.enquiry h3 { font-size: var(--fs-h3); font-weight: 600; margin-bottom: var(--space-3); }
.enquiry .enquiry-lead { font-size: var(--fs-small); color: var(--ink-muted); margin-bottom: var(--space-4); }
.enquiry-actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.enquiry-fallback {
  margin-top: var(--space-4); padding-top: var(--space-4); border-top: 1px solid var(--border);
  font-size: var(--fs-small); color: var(--ink-muted); display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px;
}
.enquiry-fallback a { color: var(--accent-text); font-weight: 600; }
.copy-btn {
  display: inline-flex; align-items: center; gap: 6px; background: transparent;
  border: 1px solid var(--border-strong); color: var(--ink-2); font-family: inherit;
  font-size: 13px; font-weight: 500; padding: 6px 12px; border-radius: var(--radius-pill);
  cursor: pointer; transition: border-color 0.15s var(--ease), color 0.15s var(--ease);
}
.copy-btn:hover { border-color: var(--ink-muted); color: var(--ink); }
.copy-status { font-size: 13px; color: var(--accent-text); min-height: 1em; flex-basis: 100%; }

/* ============================================================
   15. BUILT WITH COMMUNITIES — method; signature type + route
   ============================================================ */
.method { text-align: center; }
.method .eyebrow { justify-content: center; }
.method .display { max-width: 16ch; margin: var(--space-3) auto var(--space-5); }
.method .body-copy { margin: 0 auto var(--space-7); color: var(--ink-2); }
.flow-route { max-width: 760px; margin: 0 auto; }
.flow-steps {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: center;
  gap: 10px 28px; margin-top: var(--space-4);
}
.flow-step { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; font-size: clamp(1rem, 0.9rem + 0.5vw, 1.2rem); letter-spacing: -0.01em; color: var(--ink); }
.flow-step .pin { --pin-size: 11px; }

/* ============================================================
   16. VISION — route timeline (today vs future ambition)
   ============================================================ */
.vision-head { max-width: 640px; margin-bottom: var(--space-6); }
.journey { list-style: none; display: grid; grid-template-columns: 1fr; gap: 0; position: relative; }
.stop { position: relative; padding: 0 0 var(--space-6) var(--space-6); }
.stop::before {
  content: ''; position: absolute; left: 6px; top: 6px; bottom: -2px; width: 2px;
  background: var(--seg, var(--border-strong));
}
.stop:last-child::before { display: none; }
.stop::after {
  content: ''; position: absolute; left: 0; top: 4px; width: 14px; height: 14px; border-radius: 50%;
  background: var(--dot-bg, transparent); border: 2px solid var(--dot, var(--accent-text)); box-sizing: border-box;
}
.stop .tag {
  display: inline-block; font-size: 11px; font-weight: 700; letter-spacing: 0.06em;
  text-transform: uppercase; margin-bottom: 4px; color: var(--tagc, var(--accent-text));
}
.stop h3 { font-size: var(--fs-h3); font-weight: 600; letter-spacing: -0.015em; }
.stop p { color: var(--ink-muted); font-size: var(--fs-small); margin-top: 4px; max-width: 46ch; }
.stop.is-today { --dot: var(--green); --dot-bg: var(--green); --seg: linear-gradient(180deg, var(--green), var(--orange)); --tagc: #6ec48a; }
.stop.is-future { --dot: var(--accent-text); --seg: linear-gradient(180deg, var(--orange), var(--pink)); }
.stop.is-future::after { border-style: dashed; }

@media (min-width: 860px) {
  .journey { grid-template-columns: repeat(4, 1fr); }
  .stop { padding: var(--space-6) var(--space-5) 0 0; }
  .stop::before { left: 4px; top: 6px; bottom: auto; right: 0; width: auto; height: 2px; }
  .stop::after { top: 0; left: 0; }
}

/* ============================================================
   17. PATHWAYS — product-led split (two doors)
   ============================================================ */
.pathways-head { margin-bottom: var(--space-5); }
.pathways-grid { display: grid; grid-template-columns: 1fr; gap: var(--space-4); }
@media (min-width: 820px) { .pathways-grid { grid-template-columns: 1fr 1fr; gap: var(--space-5); } }
.path {
  position: relative; overflow: hidden; border-radius: var(--radius-xl);
  min-height: 300px; display: flex; flex-direction: column; justify-content: space-between; gap: var(--space-5);
  padding: clamp(26px, 3.5vw, 40px); color: #fff; border: 1px solid var(--border);
}
.path__bg { position: absolute; inset: 0; z-index: 0; }
.path--communities .path__bg { background: radial-gradient(120% 130% at 12% 4%, rgba(249,115,22,0.5), transparent 58%), linear-gradient(160deg, #2C1206, #171012); }
.path--players .path__bg { background: radial-gradient(120% 130% at 88% 4%, rgba(233,30,99,0.5), transparent 58%), linear-gradient(200deg, #2A0A1C, #14101A); }
/* Lift motif + text content above the background */
.path > :not(.path__bg) { position: relative; z-index: 2; }
.path .path-kicker { display: block; font-size: var(--fs-eyebrow); font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: #FFD9A8; margin-bottom: var(--space-3); }
.path h3 { font-size: clamp(1.5rem, 1.1rem + 1.6vw, 2.05rem); font-weight: 700; letter-spacing: -0.025em; margin-bottom: var(--space-3); max-width: 16ch; color: #fff; }
.path p { color: rgba(255,255,255,0.82); font-size: var(--fs-small); max-width: 34ch; margin-bottom: var(--space-4); }

/* Card motifs — owned CSS/SVG product & organiser cues (no photography) */
.path-motif { align-self: flex-end; pointer-events: none; }
.path-motif--players { width: min(200px, 62%); display: grid; gap: 8px; justify-items: end; }
.pm-chips { display: flex; gap: 6px; }
.pm-chip { font-size: 10.5px; font-weight: 600; color: rgba(255,255,255,0.72); background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.16); border-radius: 100px; padding: 3px 10px; }
.pm-chip.is-on { color: #fff; background: var(--brand-gradient-strong); border-color: transparent; }
.pm-game { width: 100%; display: flex; align-items: center; gap: 9px; background: rgba(255,255,255,0.09); border: 1px solid rgba(255,255,255,0.16); border-radius: 13px; padding: 9px 11px; }
.pm-icon { width: 26px; height: 26px; border-radius: 8px; background: var(--brand-gradient); flex-shrink: 0; }
.pm-lines { display: grid; gap: 2px; min-width: 0; }
.pm-title { font-size: 12.5px; font-weight: 700; color: #fff; }
.pm-meta { font-size: 10.5px; color: rgba(255,255,255,0.72); display: inline-flex; align-items: center; gap: 4px; }
.pm-pin { width: 11px; height: 11px; fill: #FFD9A8; flex-shrink: 0; }
.pm-players { width: 100%; display: flex; align-items: center; gap: 5px; padding: 0 2px; }
.pm-dot { width: 8px; height: 8px; border-radius: 50%; border: 1.5px solid rgba(255,255,255,0.45); }
.pm-dot.on { background: #FFD9A8; border-color: #FFD9A8; }
.pm-count { font-size: 10.5px; font-weight: 600; color: rgba(255,255,255,0.78); margin-left: auto; }
.path-motif--comm { width: min(148px, 44%); }
.path-motif--comm svg { display: block; width: 100%; height: auto; }
.cm-line { stroke: rgba(255,255,255,0.30); stroke-width: 1.4; }
.cm-cone { stroke: #FFD9A8; stroke-width: 1.5; }
.cm-org { fill: var(--orange); }
.cm-p { fill: rgba(255,255,255,0.5); }
.path .arrow-link { color: #fff; }
.path .arrow-link span { color: #FFD9A8; }

/* ============================================================
   18. EARLY PROGRESS — compact honest status strip
   ============================================================ */
.progress-head { max-width: 620px; margin-bottom: var(--space-4); }
.status-strip { display: grid; grid-template-columns: 1fr; border-top: 1px solid var(--border); }
.status { padding: var(--space-4) 0; border-bottom: 1px solid var(--border); display: flex; align-items: baseline; gap: var(--space-3); }
.status .pin { --pin-size: 9px; position: relative; top: -1px; }
.status .k { display: block; font-size: var(--fs-eyebrow); font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--accent-text); margin-bottom: 4px; }
.status .v { display: block; font-size: clamp(1.15rem, 1rem + 0.8vw, 1.5rem); font-weight: 600; letter-spacing: -0.02em; color: var(--ink); }
@media (min-width: 720px) {
  .status-strip { grid-template-columns: repeat(3, 1fr); border-bottom: 1px solid var(--border); }
  .status { border-bottom: none; padding: var(--space-4) var(--space-6) var(--space-4) 0; }
  .status + .status { border-left: 1px solid var(--border); padding-left: var(--space-6); }
}

/* ============================================================
   19. FINAL CTA — calm, warm, emotional close (plum→dawn)
   ============================================================ */
/* Warm sunrise close — cream→peach, court-line texture, no route */
.cta-final { position: relative; overflow: hidden; text-align: center;
  background: linear-gradient(178deg, #FAF6F0 0%, #FBEEDD 52%, #FBE0C6 100%);
}
.cta-final::before { /* soft sunrise glow rising from below */
  content: ''; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background:
    radial-gradient(58% 55% at 50% 116%, rgba(249,115,22,0.30), transparent 60%),
    radial-gradient(82% 50% at 50% 126%, rgba(233,30,99,0.14), transparent 62%);
}
.cta-texture { position: absolute; left: 0; right: 0; bottom: 0; height: 48%; z-index: 0; pointer-events: none; opacity: 0.5; }
.cta-texture svg { display: block; width: 100%; height: 100%; }
.cta-texture svg :is(line, circle, path) { fill: none; stroke: #C2803E; stroke-width: 1.4; opacity: 0.4; }
.cta-final .container { position: relative; z-index: 1; }
.cta-final .cta-inner { max-width: 760px; margin: 0 auto; }
.cta-final .eyebrow { justify-content: center; }
.cta-final .display { max-width: 18ch; margin: var(--space-2) auto var(--space-4); }
.cta-final .lead { margin: 0 auto; color: var(--ink-2); max-width: 46ch; }
.final-actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; align-items: center; margin-top: var(--space-5); }
.cta-final .app-badges { justify-content: center; margin-top: var(--space-3); }
.cta-final .final-contact { margin-top: var(--space-5); font-size: 13px; color: var(--ink-muted); }
.cta-final .final-contact a { color: #9A3412; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.cta-final .final-contact a:hover { color: var(--ink); }

/* ============================================================
   20. FOOTER
   ============================================================ */
.site-footer { padding: var(--space-7) 0 var(--space-6); }
.footer-grid { display: grid; grid-template-columns: 1fr; gap: var(--space-6); padding-bottom: var(--space-6); border-bottom: 1px solid var(--border); }
.footer-about .brand { margin-bottom: var(--space-4); }
.footer-about .brand img { height: 30px; }
.footer-about .brand-word { font-size: 21px; }
.footer-about p { font-size: var(--fs-small); color: var(--ink-muted); max-width: 34ch; }
.footer-social { display: flex; gap: 12px; margin-top: var(--space-4); }
.footer-social a {
  width: 34px; height: 34px; border: 1px solid var(--border); border-radius: 9px;
  display: inline-flex; align-items: center; justify-content: center; color: var(--ink-muted);
  transition: color 0.15s var(--ease), border-color 0.15s var(--ease);
}
.footer-social a:hover { color: var(--ink); border-color: var(--border-strong); }
.footer-col h3 { font-size: 12px; font-weight: 600; color: var(--ink); margin-bottom: var(--space-3); letter-spacing: 0.02em; text-transform: uppercase; }
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 9px; }
.footer-col a, .footer-col .meta-line { color: var(--ink-muted); font-size: var(--fs-small); transition: color 0.15s var(--ease); }
.footer-col a:hover { color: var(--ink); }
.footer-col .meta-line { display: block; font-size: 12px; color: #8f8f8f; }
.footer-base { padding-top: var(--space-5); display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--space-3); font-size: 12.5px; color: #8f8f8f; }
@media (min-width: 720px) { .footer-grid { grid-template-columns: 2fr 1fr 1fr 1fr; gap: var(--space-7); } }

/* ============================================================
   21. MOBILE REFINEMENTS
   ============================================================ */
@media (max-width: 560px) {
  .mega { line-height: 1.02; }
  .display { line-height: 1.04; }
  h2.title, .title { line-height: 1.1; }
  section { padding: clamp(56px, 13vw, 74px) 0; }
  .path { min-height: 280px; }
  .hero-chip--a { top: 2%; }
  .hero-chip--b { bottom: 6%; right: 2%; }
}
