@import url('https://fonts.googleapis.com/css2?family=Oswald:wght@400;500;600;700&family=Source+Sans+3:ital,wght@0,300;0,400;0,600;0,700;1,400&display=swap');

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --gold: #C9A84C;
  --gold-dim: #9E7E35;
  --crimson: #C0392B;
  --crimson-light: #E74C3C;
  --emerald: #10B981;
  --blue: #3B82F6;
  --amber: #F59E0B;
  --orange: #F97316;
  --pink: #EC4899;
  --bg: #080808;
  --bg-card: #111111;
  --bg-card2: #161616;
  --border: rgba(255,255,255,0.07);
  --text: #F0EDE8;
  --text-muted: rgba(240,237,232,0.60);
  --text-dim: rgba(240,237,232,0.65);
}

html { font-size: 18px; scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Source Sans 3', sans-serif;
  font-size: 1rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1,h2,h3,h4,h5 {
  font-family: 'Oswald', sans-serif;
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 1.05;
  text-transform: uppercase;
}

a { text-decoration: none; color: inherit; }

.section-label {
  font-family: 'Oswald', sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  display: block;
}

.btn-primary {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 32px;
  background: var(--crimson);
  color: white;
  font-family: 'Oswald', sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border-radius: 6px;
  border: none;
  cursor: pointer;
  transition: background 0.2s, transform 0.15s;
  text-decoration: none;
}
.btn-primary:hover { background: var(--crimson-light); transform: translateY(-1px); }

.btn-gold {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 32px;
  background: var(--gold);
  color: #000;
  font-family: 'Oswald', sans-serif;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border-radius: 6px;
  border: none;
  cursor: pointer;
  transition: background 0.2s, transform 0.15s;
  text-decoration: none;
}
.btn-gold:hover { background: #D4AD55; transform: translateY(-1px); }

.btn-outline {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 13px 28px;
  background: transparent;
  color: var(--text-dim);
  font-family: 'Oswald', sans-serif;
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border-radius: 6px;
  /* --border (7% white) renders ~1.14:1 on --bg — below the 3:1 WCAG 1.4.11
     floor for UI boundaries, so the button read as plain text at rest.
     --gold-dim is 5.2:1 and stays dimmer than the :hover gold below. */
  border: 1px solid var(--gold-dim);
  cursor: pointer;
  transition: border-color 0.2s, color 0.2s;
  text-decoration: none;
}
.btn-outline:hover { border-color: var(--gold); color: var(--gold); }

/* KEYBOARD FOCUS — nothing here defined a focus indicator, so tabbing fell back
   to the UA default, which is close to invisible on --bg. :focus-visible rather
   than :focus so the ring answers the keyboard without firing on mouse clicks. */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
[tabindex]:focus-visible {
  outline: 2px solid var(--text);
  outline-offset: 2px;
}
/* CTAs sit over the photographic heroes, where a cream ring alone can wash out.
   The 6px shadow lays a dark halo either side of the ring (dark 0-2px, cream
   2-4px, dark 4-6px) so it holds against any backdrop. Buttons only — a halo
   around an inline link would smother the prose around it. */
.btn-primary:focus-visible,
.btn-gold:focus-visible,
.btn-outline:focus-visible,
.nav-cta:focus-visible {
  box-shadow: 0 0 0 6px rgba(8,8,8,0.9);
}

.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
}

.text-gold { color: var(--gold); }
.text-crimson { color: var(--crimson-light); }
.text-emerald { color: var(--emerald); }
.text-blue { color: var(--blue); }
.text-muted { color: var(--text-muted); }
.text-dim { color: var(--text-dim); }

/* NAV */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  transition: all 0.3s ease;
  border-bottom: 1px solid transparent;
}
nav.scrolled {
  background: rgba(8,8,8,0.97);
  border-bottom-color: var(--border);
  backdrop-filter: blur(12px);
}
.nav-inner {
  max-width: 1200px; margin: 0 auto;
  padding: 0 24px;
  display: flex; align-items: center; height: 64px; justify-content: space-between;
}
.nav-logo {
  font-family: 'Oswald', sans-serif; font-size: 1.2rem; font-weight: 700;
  letter-spacing: 0.1em; color: var(--text); text-decoration: none;
}
.nav-links { display: flex; gap: 32px; align-items: center; }
.nav-link {
  font-family: 'Oswald', sans-serif; font-size: 0.8rem; letter-spacing: 0.1em;
  color: var(--text-dim); text-transform: uppercase; padding: 8px 0;
  text-decoration: none; transition: color 0.2s;
}
.nav-link:hover, .nav-link.active { color: var(--text); }
.nav-cta {
  padding: 8px 20px; font-size: 0.75rem;
}

/* TICKER */
.ticker-wrap {
  background: var(--gold); overflow: hidden; padding: 10px 0;
}
.ticker-track {
  display: flex; animation: ticker 32s linear infinite; white-space: nowrap;
}
.ticker-item {
  font-family: 'Oswald', sans-serif; font-size: 0.75rem; font-weight: 600;
  letter-spacing: 0.15em; text-transform: uppercase; color: #000;
  padding: 0 32px; flex-shrink: 0;
}
.ticker-sep { opacity: 0.4; margin-left: 16px; }

/* SECTIONS */
.section { padding: 100px 24px; }
.section-sm { padding: 60px 24px; }
.section-dark { background: var(--bg-card); }
.container { max-width: 1200px; margin: 0 auto; }
.container-sm { max-width: 900px; margin: 0 auto; }
.container-md { max-width: 1000px; margin: 0 auto; }

/* HERO */
.hero {
  min-height: 100vh; display: flex; align-items: flex-end;
  position: relative; overflow: hidden; padding-bottom: 80px;
}
.hero-inner { position: relative; z-index: 2; }
.hero-bg {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, #080808 0%, #0f0a06 50%, #080808 100%);
}
.hero-glow {
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at 70% 40%, rgba(201,168,76,0.08) 0%, transparent 60%),
              radial-gradient(ellipse at 20% 70%, rgba(192,57,43,0.06) 0%, transparent 50%);
}
.hero-grid {
  position: absolute; inset: 0; opacity: 0.04;
  background-image: linear-gradient(var(--border) 1px, transparent 1px),
                    linear-gradient(90deg, var(--border) 1px, transparent 1px);
  background-size: 60px 60px;
}
.hero-h1 { font-size: clamp(2.8rem, 7vw, 6rem); margin-bottom: 24px; line-height: 1; }
.hero-sub { font-size: 1.2rem; color: var(--text-dim); max-width: 560px; line-height: 1.7; margin-bottom: 36px; }
.hero-ctas { display: flex; gap: 12px; flex-wrap: wrap; }

/* STATS STRIP */
.stats-strip { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 1px; background: var(--border); }
.stat-block { background: rgba(8,8,8,0.9); padding: 20px 24px; }
.stat-val { font-family: 'Oswald', sans-serif; font-size: 2rem; font-weight: 700; color: var(--gold); }
.stat-lbl { font-size: 0.75rem; letter-spacing: 0.12em; color: var(--text-muted); text-transform: uppercase; font-family: 'Oswald', sans-serif; }

/* GRID LAYOUTS */
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.grid-auto { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; }
.grid-auto-lg { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 24px; }

/* CARDS */
.path-card {
  background: var(--bg); border: 1px solid var(--border); border-radius: 12px;
  padding: 0; cursor: pointer; transition: transform 0.2s, border-color 0.2s;
  text-decoration: none; display: block; overflow: hidden;
}
.path-card-img {
  width: 100%; height: 180px; overflow: hidden;
}
.path-card-img img {
  width: 100%; height: 100%; object-fit: cover; object-position: center;
  display: block; transition: transform 0.4s ease;
}
.path-card:hover .path-card-img img { transform: scale(1.04); }
.path-card .dot,
.path-card .tag,
.path-card h3,
.path-card p,
.path-card .cta,
.path-card .hot-badge,
.path-card > span { }
/* Inner content padding — everything after the image */
.path-card > .dot,
.path-card > .tag,
.path-card > h3,
.path-card > p,
.path-card > .cta,
.path-card > span.hot-badge { margin-left: 32px; margin-right: 32px; }
.path-card > .dot { margin-top: 24px; }
.path-card > .cta { margin-bottom: 28px; }
.path-card:hover { transform: translateY(-4px); }
.path-card.hot { background: linear-gradient(135deg, rgba(192,57,43,0.15), rgba(192,57,43,0.05)); border-color: rgba(231,76,60,0.95); }
.path-card .dot { width: 8px; height: 8px; border-radius: 50%; margin-bottom: 20px; }
.path-card .tag { font-family: 'Oswald', sans-serif; font-size: 0.85rem; letter-spacing: 0.15em; margin-bottom: 8px; }
/* Kicker dot rides inline with the tag instead of sitting on its own line.
   The standalone .dot div is hidden (only when a .tag follows it) and redrawn
   as a ::before inside the tag — tag color always matches the dot color. */
.path-card .dot:has(+ .tag):not([style*="absolute"]),
.path-card .dot:has(+ .dot + .tag):not([style*="absolute"]) { display: none; }
.path-card .dot + .tag,
.path-card .dot + .dot + .tag { margin-top: 24px; }
.path-card .dot + .tag::before,
.path-card .dot + .dot + .tag::before { content: ''; display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: currentColor; margin-right: 10px; vertical-align: middle; }
.path-card h3 { font-size: 1.3rem; margin-bottom: 16px; }
.path-card p { font-size: 0.9rem; color: var(--text-muted); line-height: 1.7; margin-bottom: 24px; }
.path-card .cta { font-family: 'Oswald', sans-serif; font-size: 0.8rem; letter-spacing: 0.1em; display: flex; align-items: center; gap: 6px; }
.hot-badge { position: absolute; top: 16px; right: 16px; background: var(--crimson); color: #fff; font-family: 'Oswald', sans-serif; font-size:0.85rem; letter-spacing: 0.1em; padding: 3px 10px; border-radius: 4px; }

/* MASTER CARDS */
.master-card { padding: 28px; position: relative; overflow: hidden; }
.master-card .accent-bar { position: absolute; top: 0; left: 0; right: 0; height: 3px; }
.master-card .location { font-family: 'Oswald', sans-serif; font-size:0.85rem; letter-spacing: 0.15em; margin-bottom: 8px; }
.master-card h3 { font-size: 1.1rem; margin-bottom: 4px; }
.master-card .role { font-size: 0.8rem; color: var(--text-muted); margin-bottom: 20px; }
.master-card .creds { border-top: 1px solid var(--border); padding-top: 16px; }
.cred-item { display: flex; gap: 8px; align-items: flex-start; margin-bottom: 8px; }
.cred-item span { font-size: 0.85rem; color: var(--text-dim); }

/* REVIEWS */
.review-card { padding: 24px; }
.stars { display: flex; gap: 2px; margin-bottom: 12px; }
.star { color: var(--gold); font-size: 14px; }
.review-text { font-size: 0.9rem; color: var(--text-dim); line-height: 1.7; margin-bottom: 16px; }
.reviewer { font-family: 'Oswald', sans-serif; font-size: 0.8rem; letter-spacing: 0.05em; }

/* SECTION HEADERS */
.section-header { text-align: center; margin-bottom: 60px; }
.section-header h2 { font-size: clamp(1.8rem, 3.5vw, 2.8rem); margin-top: 12px; }
.section-header p { color: var(--text-muted); margin-top: 12px; max-width: 560px; margin-left: auto; margin-right: auto; }

/* PAGE HERO */
.page-hero {
  min-height: 70vh; display: flex; align-items: center;
  position: relative; overflow: hidden; padding-top: 80px;
}
.page-hero-inner { max-width: 1200px; margin: 0 auto; padding: 80px 24px; position: relative; z-index: 2; }
.page-hero h1 { font-size: clamp(2.5rem, 6vw, 4.5rem); margin-bottom: 20px; }
.page-hero p { font-size: 1.1rem; color: var(--text-dim); max-width: 620px; line-height: 1.7; margin-bottom: 32px; }

/* STAT BAR 4 */
.stat-bar-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--border); }
.stat-bar-block { background: var(--bg-card2); padding: 20px 24px; text-align: center; }

/* CONVERSION BRIDGE */
.bridge-card {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: 12px; padding: 28px; cursor: pointer;
  transition: all 0.2s; position: relative; overflow: hidden;
}
.bridge-card:hover, .bridge-card.active { background: rgba(192,57,43,0.1); border-color: rgba(231,76,60,0.95); }
.bridge-num { font-family: 'Oswald', sans-serif; font-size: 3.5rem; color: rgba(201,168,76,0.75); position: absolute; top: 8px; right: 16px; }
.bridge-rate { font-family: 'Oswald', sans-serif; font-size: 2.5rem; color: var(--gold); margin-bottom: 8px; }
.bridge-title { font-family: 'Oswald', sans-serif; font-size: 0.8rem; letter-spacing: 0.08em; margin-bottom: 4px; }
.bridge-desc { font-size: 0.85rem; color: var(--text-muted); line-height: 1.6; }
.bridge-trigger { margin-top: 12px; font-size: 0.75rem; color: var(--crimson-light); font-style: italic; }

/* LICENSE CARDS */
.license-card {
  background: var(--bg); border: 1px solid var(--border);
  border-radius: 12px; padding: 32px; position: relative;
  display: flex; flex-direction: column;
}
.license-card.popular { border-width: 2px; border-color: rgba(201,168,76,0.69); }
.license-badge { position: absolute; top: -12px; left: 50%; transform: translateX(-50%); background: var(--gold); color: #000; font-family: 'Oswald', sans-serif; font-size:0.85rem; letter-spacing: 0.1em; padding: 4px 14px; border-radius: 20px; white-space: nowrap; }
.license-tag { font-family: 'Oswald', sans-serif; font-size:0.85rem; letter-spacing: 0.15em; margin-bottom: 8px; text-align: center; }
.license-name { font-size: 1.1rem; margin-bottom: 8px; text-align: center; }
.license-price { font-family: 'Oswald', sans-serif; font-size: 2.5rem; color: var(--text); margin-bottom: 16px; text-align: center; }
.license-desc { font-size: 0.9rem; color: var(--text-muted); line-height: 1.7; margin-bottom: 24px; flex: 1; }
.license-revenue { padding: 16px; background: rgba(255,255,255,0.03); border-radius: 8px; margin-bottom: 20px; }
.license-revenue .rev { font-size: 0.8rem; margin-bottom: 4px; }
.license-meta { display: flex; justify-content: space-between; font-size: 0.75rem; color: var(--text-muted); margin-bottom: 20px; padding: 0 2px; }
.check-item { display: flex; gap: 10px; margin-bottom: 10px; align-items: flex-start; }
.check-item span { font-size: 0.9rem; color: var(--text-dim); }

/* TIMELINE */
.timeline { position: relative; }
.timeline::before { content: ''; position: absolute; left: 23px; top: 0; bottom: 0; width: 2px; background: var(--border); }
.timeline-item { display: flex; gap: 32px; margin-bottom: 48px; position: relative; }
.timeline-dot {
  width: 48px; height: 48px; border-radius: 50%; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center; z-index: 2;
  font-family: 'Oswald', sans-serif; font-weight: 700;
}
.timeline-item .year { font-family: 'Oswald', sans-serif; font-size: 0.8rem; letter-spacing: 0.1em; }
.timeline-item h3 { font-size: 1.2rem; margin: 4px 0 8px; }
.timeline-item p { font-size: 0.9rem; color: var(--text-muted); line-height: 1.8; }

/* WORLD GAMES STEPS */
.wg-steps { display: grid; grid-template-columns: repeat(7, 1fr); gap: 8px; position: relative; }
.wg-step { text-align: center; position: relative; }
.wg-dot {
  width: 48px; height: 48px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 12px; position: relative; z-index: 2;
  font-family: 'Oswald', sans-serif; font-weight: 700; font-size: 1rem;
}
.wg-dot.done { background: var(--gold); border: 2px solid var(--gold); }
.wg-dot.active { background: var(--crimson); border: 2px solid var(--crimson); animation: pulse 2s ease infinite; }
.wg-dot.upcoming { background: var(--bg-card); border: 2px solid var(--border); color: var(--text-muted); }
.wg-label { font-family: 'Oswald', sans-serif; font-size:0.85rem; letter-spacing: 0.08em; text-transform: uppercase; line-height: 1.4; }
.wg-active-label { font-family: 'Oswald', sans-serif; font-size: 0.6rem; color: var(--crimson-light); margin-top: 4px; }

/* LOCATION CARDS */
.location-card {
  padding: 24px; border-left-width: 3px; border-left-style: solid;
  background: var(--bg-card); border-radius: 0 12px 12px 0;
  border-top: 1px solid var(--border); border-right: 1px solid var(--border); border-bottom: 1px solid var(--border);
}
.location-card .type { font-family: 'Oswald', sans-serif; font-size:0.85rem; letter-spacing: 0.15em; margin-bottom: 4px; }
.location-card h3 { font-size: 1.05rem; margin-bottom: 8px; }
.location-card .city { display: flex; align-items: center; gap: 6px; font-size: 0.85rem; color: var(--text-muted); margin-bottom: 12px; }
.location-card p { font-size: 0.85rem; color: var(--text-muted); line-height: 1.6; }
.status-badge { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; background: rgba(16,185,129,0.1); border: 1px solid rgba(16,185,129,0.3); border-radius: 20px; }
.status-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--emerald); }
.status-text { font-family: 'Oswald', sans-serif; font-size:0.85rem; letter-spacing: 0.1em; color: var(--emerald); }

/* TABLE */
table { width: 100%; border-collapse: collapse; }
th { padding: 12px 16px; text-align: left; font-family: 'Oswald', sans-serif; font-size:0.85rem; letter-spacing: 0.15em; color: var(--gold); border-bottom: 1px solid var(--border); }
td { padding: 14px 16px; font-size: 0.85rem; color: var(--text-dim); border-bottom: 1px solid var(--border); }
tr:nth-child(even) td { background: rgba(255,255,255,0.01); }
td.day { font-family: 'Oswald', sans-serif; color: var(--gold); }
td.bold { font-family: 'Oswald', sans-serif; color: var(--text); }
td.right { text-align: right; }

/* REVENUE TABLE */
.rev-table { background: var(--bg-card); border: 1px solid var(--border); border-radius: 12px; padding: 28px; }
.rev-table h3 { font-family: 'Oswald', sans-serif; font-size: 0.8rem; letter-spacing: 0.1em; margin-bottom: 20px; display: flex; align-items: center; gap: 8px; }
.rev-total td { font-family: 'Oswald', sans-serif; font-size: 1rem; padding-top: 12px; border-top: 2px solid rgba(201,168,76,0.4); border-bottom: none; }

/* NET BOX */
.net-box { background: rgba(201,168,76,0.08); border: 1px solid rgba(201,168,76,0.25); border-radius: 12px; padding: 28px; text-align: center; }
.net-val { font-family: 'Oswald', sans-serif; font-size: 3rem; color: var(--gold); }
.net-label { color: var(--text-muted); font-size: 0.9rem; margin-top: 4px; }
.net-students { font-family: 'Oswald', sans-serif; font-size: 1.2rem; margin-top: 12px; }
.net-meta { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin-top: 16px; font-size: 0.8rem; color: var(--text-muted); }
.net-meta span { color: var(--gold); font-family: 'Oswald', sans-serif; }

/* FORMAT CARDS */
.format-card { padding: 32px; border-top-width: 3px; border-top-style: solid; }
.format-card .sub { font-family: 'Oswald', sans-serif; font-size:0.85rem; letter-spacing: 0.15em; margin-bottom: 8px; }
.format-card h3 { font-size: 1.5rem; margin-bottom: 16px; }
.format-card p { font-size: 0.9rem; color: var(--text-muted); line-height: 1.7; }

/* JUNE 14 BOX */
.june14-box { background: linear-gradient(135deg, rgba(192,57,43,0.15), rgba(192,57,43,0.05)); border: 1px solid rgba(192,57,43,0.3); border-radius: 16px; padding: 48px; text-align: center; }
.live-badge { display: inline-flex; align-items: center; gap: 8px; padding: 6px 16px; background: rgba(192,57,43,0.2); border-radius: 20px; margin-bottom: 24px; }
.live-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--crimson); animation: pulse 2s ease infinite; }
.live-text { font-family: 'Oswald', sans-serif; font-size:0.85rem; letter-spacing: 0.15em; color: var(--crimson-light); }
.june14-title { font-size: clamp(2rem, 4vw, 3rem); margin-bottom: 8px; }
.june14-date { font-family: 'Oswald', sans-serif; font-size: 1.5rem; color: var(--gold); margin-bottom: 24px; }
.june14-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-bottom: 36px; }
.june14-stat { padding: 16px; background: rgba(255,255,255,0.03); border-radius: 8px; }
.june14-stat .v { font-family: 'Oswald', sans-serif; font-size: 1.2rem; color: var(--crimson-light); }
.june14-stat .l { font-size: 0.75rem; color: var(--text-muted); margin-top: 4px; }

/* PATHWAY LIST */
.pathway-list { position: relative; }
.pathway-list::before { content: ''; position: absolute; left: 23px; top: 0; bottom: 0; width: 2px; background: var(--border); }
.pathway-progress::before { background: var(--gold) !important; height: 32% !important; }
.pathway-item { display: flex; gap: 32px; margin-bottom: 40px; position: relative; }
.pathway-dot {
  width: 48px; height: 48px; border-radius: 50%; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center; z-index: 2;
  font-family: 'Oswald', sans-serif; font-weight: 700;
}
.pathway-dot.done { background: var(--gold); border: 2px solid var(--gold); }
.pathway-dot.active { background: var(--crimson); border: 2px solid var(--crimson); animation: pulse 2s ease infinite; }
.pathway-dot.upcoming { background: var(--bg-card); border: 2px solid var(--border); color: var(--text-muted); }
.pathway-body { padding-top: 8px; flex: 1; }
.pathway-label-row { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 4px; }
.pathway-title { font-size: 1rem; }
.pathway-months { font-family: 'Oswald', sans-serif; font-size:0.85rem; letter-spacing: 0.1em; color: var(--text-muted); padding: 2px 8px; border: 1px solid var(--border); border-radius: 4px; }
.pathway-detail { font-size: 0.85rem; color: var(--text-muted); line-height: 1.7; }

/* ABOUT/STORY */
.origin-callout { background: linear-gradient(135deg, rgba(59,130,246,0.1), rgba(59,130,246,0.04)); border: 1px solid rgba(59,130,246,0.3); border-radius: 16px; padding: 48px; }
.origin-grid { display: grid; grid-template-columns: 1fr auto; gap: 32px; align-items: start; }

/* WARRIOR PIPELINE */
.pipeline-box { background: rgba(16,185,129,0.05); border: 1px solid rgba(16,185,129,0.2); border-radius: 16px; padding: 32px; }
.pipeline-step { display: flex; gap: 16px; margin-bottom: 20px; }
.pipeline-num { width: 32px; height: 32px; border-radius: 50%; display: flex; align-items: center; justify-content: center; flex-shrink: 0; font-family: 'Oswald', sans-serif; font-size: 0.75rem; }
.pipeline-num.done { background: rgba(16,185,129,0.2); border: 1px solid var(--emerald); color: var(--emerald); }
.pipeline-num.up { background: var(--border); border: 1px solid var(--border); color: var(--text-muted); }
.pipeline-name { font-family: 'Oswald', sans-serif; font-size: 0.85rem; margin-bottom: 2px; }
.pipeline-desc { font-size: 0.8rem; color: var(--text-muted); }

/* SABER CIRCLE GOVERNANCE */
.gov-card { padding: 20px; }
.gov-icon { font-size: 1.2rem; color: var(--emerald); margin-bottom: 10px; }
.gov-title { font-family: 'Oswald', sans-serif; font-size: 0.85rem; margin-bottom: 4px; }
.gov-desc { font-size: 0.75rem; color: var(--text-muted); }

/* FOOTER */
footer { background: #050505; border-top: 1px solid var(--border); padding: 60px 24px 40px; }
.footer-inner { max-width: 1200px; margin: 0 auto; }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 40px; margin-bottom: 48px; }
.footer-logo { font-family: 'Oswald', sans-serif; font-size: 1.1rem; font-weight: 700; letter-spacing: 0.1em; margin-bottom: 16px; }
.footer-about { font-size: 0.85rem; color: var(--text-muted); line-height: 1.7; }
.footer-col-title { font-family: 'Oswald', sans-serif; font-size: 0.75rem; letter-spacing: 0.15em; color: var(--gold); margin-bottom: 12px; }
.footer-link { display: block; font-size: 0.85rem; color: var(--text-muted); padding: 5px 0; text-decoration: none; transition: color 0.2s; }
.footer-link:hover { color: var(--text); }
.footer-bottom { border-top: 1px solid var(--border); padding-top: 24px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; }
.footer-copy { font-size: 0.8rem; color: var(--text-muted); }

/* ANIMATIONS */
@keyframes fadeUp { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: translateY(0); } }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes ticker { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes pulse { 0%,100% { opacity:1; box-shadow: 0 0 0 0 currentColor; } 50% { opacity: 0.7; } }

.fade-up { animation: fadeUp 0.7s ease both; }
.fade-up-1 { animation: fadeUp 0.7s 0.15s ease both; }
.fade-up-2 { animation: fadeUp 0.7s 0.3s ease both; }
.fade-up-3 { animation: fadeUp 0.7s 0.45s ease both; }

/* SCROLLBAR */
::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.1); border-radius: 4px; }

/* RESPONSIVE */
@media (max-width: 900px) {
  .grid-2 { grid-template-columns: 1fr; gap: 24px; }
  .grid-3 { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .stats-strip { grid-template-columns: repeat(3, 1fr); }
  .stat-bar-4 { grid-template-columns: repeat(2, 1fr); }
  .wg-steps { grid-template-columns: repeat(4, 1fr); }
  .nav-links { display: none; }
  .nav-mobile-btn { display: block; }
  .origin-grid { grid-template-columns: 1fr; }
  .june14-grid { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .grid-4 { grid-template-columns: 1fr; }
  .stats-strip { grid-template-columns: repeat(2, 1fr); }
  .stat-bar-4 { grid-template-columns: 1fr; }
  .hero-h1 { font-size: 2.5rem; }
  .section { padding: 60px 24px; }
  .wg-steps { grid-template-columns: repeat(3, 1fr); }
  .net-meta { grid-template-columns: 1fr; }
}

/* UTILITY */
.relative { position: relative; }
.text-center { text-align: center; }
.mb-4 { margin-bottom: 16px; }
.mb-8 { margin-bottom: 32px; }
.mb-12 { margin-bottom: 48px; }
.mt-4 { margin-top: 16px; }
.flex { display: flex; }
.gap-3 { gap: 12px; }
.items-center { align-items: center; }
.flex-wrap { flex-wrap: wrap; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.italic { font-style: italic; }
.bold { font-weight: 700; }
.line-through { text-decoration: line-through; }

/* ═══════════════════════════════════════════════════════════
   MOBILE-FIRST RESPONSIVE OVERRIDES
   Comprehensive breakpoints for all pages & components
   ═══════════════════════════════════════════════════════════ */

/* ── GLOBAL BOX MODEL ── */
*, *::before, *::after { box-sizing: border-box; }
img, video, iframe { max-width: 100%; }

/* ── CONTAINERS: never overflow viewport ── */
.container, .container-md, .container-sm,
[style*="max-width:1200px"], [style*="max-width:1100px"],
[style*="max-width: 1200px"], [style*="max-width: 1100px"] {
  width: 100%;
  padding-left: 20px !important;
  padding-right: 20px !important;
}

/* ── TABLET: 768px ── */
@media (max-width: 768px) {

  /* --- NAVIGATION --- */
  .nav-links { display: none !important; }
  .nav-cta-btn { display: none !important; }
  .nav-mobile-btn { display: block !important; }

  /* --- HERO --- */
  .hero { min-height: 100svh; align-items: center; padding-top: 100px !important; padding-bottom: 60px !important; }
  .hero-h1 { font-size: clamp(2.2rem, 8vw, 3.2rem) !important; }
  .hero-sub { font-size: 1rem !important; }
  .hero-ctas { flex-wrap: wrap !important; gap: 12px !important; }
  .hero-inner { padding: 0 20px !important; }

  /* --- STATS STRIPS --- */
  .stats-strip { grid-template-columns: repeat(3, 1fr) !important; gap: 1px !important; }
  .stats-bar   { grid-template-columns: repeat(3, 1fr) !important; }

  /* --- ALL MULTI-COLUMN GRIDS → SINGLE OR 2-COL --- */
  [style*="grid-template-columns: repeat(4"],
  [style*="grid-template-columns:repeat(4"] { grid-template-columns: repeat(2, 1fr) !important; }

  [style*="grid-template-columns: repeat(3"],
  [style*="grid-template-columns:repeat(3"],
  [style*="grid-template-columns: repeat(5"],
  [style*="grid-template-columns:repeat(5"] { grid-template-columns: repeat(2, 1fr) !important; }

  [style*="grid-template-columns: 1fr 1fr"],
  [style*="grid-template-columns:1fr 1fr"] { grid-template-columns: 1fr !important; }

  [style*="grid-template-columns: 320px"],
  [style*="grid-template-columns:320px"] { grid-template-columns: 1fr !important; }

  /* --- MASTER GRID (founding masters) --- */
  .master-grid,
  .master-grid.reverse { grid-template-columns: 1fr !important; gap: 32px !important; }
  .master-sidebar { order: 1 !important; position: static !important; }
  .master-content { order: 2 !important; }
  .master-portrait-wrap { width: 180px !important; height: 180px !important; }

  /* --- GALLERY GRIDS --- */
  .gallery-grid.cols-3 { grid-template-columns: repeat(2, 1fr) !important; }
  .video-grid.cols-2   { grid-template-columns: 1fr !important; }

  /* --- LINEAGE / CARDS --- */
  .lineage-grid        { grid-template-columns: 1fr !important; }
  .paths-mini-grid     { grid-template-columns: repeat(2, 1fr) !important; }
  .quiz-after-grid     { grid-template-columns: 1fr !important; }

  /* --- FLEX ROWS → WRAP --- */
  [style*="display:flex"],
  [style*="display: flex"] { flex-wrap: wrap !important; }

  /* Exception: nav, inline badges, icon+text combos should stay inline */
  .nav-inner,
  .trust-pill,
  .accred-chip,
  .master-badge,
  .master-eyebrow,
  .quiz-eyebrow,
  .cred-item,
  .stat-block,
  .stat-item,
  .accred-chip,
  [style*="flex-wrap:nowrap"],
  [style*="flex-wrap: nowrap"] { flex-wrap: nowrap !important; }

  /* --- SECTIONS --- */
  .section { padding: 60px 20px !important; }
  .section-dark { padding: 60px 20px !important; }
  .page-hero { padding: 80px 20px 60px !important; }
  .master-section { padding: 60px 0 !important; }
  .master-inner { padding: 0 20px !important; }

  /* --- TYPOGRAPHY SCALE --- */
  h1 { font-size: clamp(2rem, 8vw, 3rem) !important; }
  h2 { font-size: clamp(1.6rem, 6vw, 2.4rem) !important; }
  h3 { font-size: clamp(1.2rem, 4vw, 1.6rem) !important; }
  .master-content-heading { font-size: clamp(1.5rem, 5vw, 2rem) !important; }

  /* --- BUTTONS --- */
  .btn-primary, .btn-gold, .btn-outline {
    width: 100%; text-align: center; justify-content: center;
  }
  .hero-ctas .btn-primary,
  .hero-ctas .btn-gold,
  .hero-ctas .btn-outline { width: auto; min-width: 140px; }

  /* --- ORIGIN / SPECIFIC LAYOUTS --- */
  .origin-grid   { grid-template-columns: 1fr !important; }
  .june14-grid   { grid-template-columns: 1fr !important; }
  .origin-callout .origin-grid { grid-template-columns: 1fr !important; }

  /* --- SUMMIT PHOTO --- */
  .summit-photo-wrap { margin: 24px 0 0 !important; }

  /* --- TABLES --- */
  table { display: block; overflow-x: auto; -webkit-overflow-scrolling: touch; }

  /* --- STATS BAR (founding masters) --- */
  .stats-bar { grid-template-columns: repeat(3, 1fr) !important; }
  .stat-item { padding: 16px 10px !important; }

  /* --- ACCREDITATION GRID --- */
  .accred-grid { gap: 8px !important; }
  .accred-chip { font-size: 0.65rem !important; padding: 6px 12px !important; }

  /* --- MASTER CREDS SIDEBAR --- */
  .master-creds { margin-top: 0; }
  .master-portrait-wrap { margin: 0 auto 20px !important; }
}

/* ── MOBILE: 480px ── */
@media (max-width: 480px) {

  /* Stats: 2 across */
  .stats-strip { grid-template-columns: repeat(2, 1fr) !important; }
  .stats-bar   { grid-template-columns: repeat(2, 1fr) !important; }

  /* All multi-col grids → single */
  [style*="grid-template-columns: repeat("],
  [style*="grid-template-columns:repeat("],
  [style*="grid-template-columns: 1fr 1fr"],
  [style*="grid-template-columns:1fr 1fr"],
  .gallery-grid.cols-3,
  .gallery-grid.cols-2,
  .paths-mini-grid { grid-template-columns: 1fr !important; }

  /* hero */
  .hero-h1 { font-size: clamp(1.9rem, 9vw, 2.6rem) !important; }
  .masters-hero h1 { font-size: clamp(2rem, 9vw, 3rem) !important; }

  /* section padding tighter */
  .section, .section-dark { padding: 48px 16px !important; }
  .master-section { padding: 48px 0 !important; }
  .master-inner { padding: 0 16px !important; }
  .quiz-video-section { padding: 0 16px 48px !important; }
  .quiz-after, .paths-preview { padding: 0 16px 48px !important; }
  .lineage-inner { padding: 0 16px !important; }
  .accred-inner  { padding: 0 16px !important; }

  /* portrait smaller on phones */
  .master-portrait-wrap { width: 150px !important; height: 150px !important; }

  /* trust pills stack */
  .trust-pills { gap: 8px !important; }
  .trust-pill  { font-size: 0.65rem !important; padding: 6px 12px !important; }

  /* lineage cards */
  .lineage-card { padding: 24px 18px !important; }

  /* video embeds full width */
  .video-grid { gap: 12px !important; }
}

/* ── SMALL PHONES: 360px ── */
@media (max-width: 360px) {
  .hero-h1 { font-size: 1.8rem !important; }
  .master-name { font-size: 1.4rem !important; }
  .stat-num { font-size: 1.6rem !important; }
  .section, .section-dark { padding: 40px 14px !important; }
  .master-inner { padding: 0 14px !important; }
}

/* ── TOUCH TARGETS ── */
@media (hover: none) and (pointer: coarse) {
  a, button { min-height: 44px; }
  .btn-primary, .btn-gold, .btn-outline {
    padding: 14px 24px !important;
    font-size: 0.95rem !important;
  }
  .nav-mobile-btn { min-width: 44px; min-height: 44px; }
}

/* ── PATH CARD IMAGE HEADER ── */
.path-card.hot { background: linear-gradient(135deg, rgba(192,57,43,0.15), rgba(192,57,43,0.05)); border-color: rgba(231,76,60,0.95); }
.path-card-img + .hot-badge { position: absolute; top: 188px; right: 16px; }

/* Inner padding wrapper for content below image */
.path-card > *:not(.path-card-img) { padding-left: 0; padding-right: 0; }
.path-card .dot  { margin-left: 32px !important; margin-right: 32px !important; }
.path-card .tag  { margin-left: 32px !important; margin-right: 32px !important; }
.path-card h3    { margin-left: 32px !important; margin-right: 32px !important; }
.path-card p     { margin-left: 32px !important; margin-right: 32px !important; }
.path-card .cta  { margin-left: 32px !important; margin-right: 32px !important; margin-bottom: 28px !important; }
.path-card .hot-badge { right: 16px !important; top: 192px !important; }
/* Hot card: the badge occupies the band between image and tag, so push the tag
   down to its pre-inline-dot position (badge band 192–222, tag at 232) */
.path-card .hot-badge ~ .tag { margin-top: 52px; }

/* path-mini-card image */
.path-mini-card .path-card-img { height: 140px; }
.path-mini-card .path-mini-label,
.path-mini-card .path-mini-name,
.path-mini-card .path-mini-desc,
.path-mini-card .path-mini-cta { padding-left: 4px; padding-right: 4px; }

/* paths.html large cards */
.path-large-card .path-card-img { height: 200px; border-radius: 12px 12px 0 0; }

/* ─────────────────────────────────────────────────────────────────────────
   EMBEDDED VIDEO FRAME (2026-08-23)
   A visible gold border on every embedded content video. Applied here rather
   than on the ~58 individual embeds because the inline wrapper borders share
   their rgba(201,168,76,…) values with cards and panels used sitewide — a
   find-and-replace on those would have restyled the whole site.
   !important is required: the embed wrappers carry inline border styles.
   ───────────────────────────────────────────────────────────────────────── */
iframe[src*="mediadelivery.net"],
iframe[src*="youtube.com"],
iframe[src*="youtube-nocookie.com"],
iframe[src*="player.vimeo.com"],
video {
  border: 2px solid rgba(201, 168, 76, 0.85) !important;
  border-radius: 10px;
  box-sizing: border-box;
}

/* …except decorative hero background media, which is full-bleed and must stay
   frameless. Listed after the rule above so it wins on equal specificity. */
.hero-media video,
.hero-media iframe,
video.hero-bg-video,
.hero-bg-video,
.hero-bg-vimeo,
.hero-bg-vimeo iframe {
  border: 0 !important;
  border-radius: 0 !important;
}

/* ── LEGIBILITY OVER PHOTOGRAPHIC HEROES (2026-08-24) ───────────────────────
   Hero copy is layered over <img>/<video> inside .hero-media, so its contrast
   depends on the pixels behind each glyph. Colour alone cannot fix that, and
   darkening the scrim would undo the hero-overlay lightening done 2026-08-23.
   A per-glyph dark halo holds the text against any backdrop while leaving the
   image at full brightness. Two layers: a tight shadow for edge definition, a
   wider one to lift the text off busy areas. */
.hero-content-wrap h1, .hero-content-wrap h2, .hero-content-wrap h3,
.hero-content-wrap p, .hero-content-wrap span, .hero-content-wrap li,
.hero-inner h1, .hero-inner h2, .hero-inner h3,
.hero-inner p, .hero-inner span, .hero-inner li,
.page-hero-inner h1, .page-hero-inner h2, .page-hero-inner h3,
.page-hero-inner p, .page-hero-inner span, .page-hero-inner li,
.masters-hero-inner h1, .masters-hero-inner h2,
.masters-hero-inner p, .masters-hero-inner span,
.kit-hero-inner h1, .kit-hero-inner h2, .kit-hero-inner p, .kit-hero-inner span,
.hero-h1, .hero-sub, .masters-tagline {
  text-shadow: 0 1px 3px rgba(0,0,0,0.92), 0 2px 14px rgba(0,0,0,0.65);
}

/* Buttons carry their own solid backgrounds; a halo there only muddies the
   edge, and their contrast is already governed by the button colour. */
.hero-content-wrap a[class*="btn"], .hero-inner a[class*="btn"],
.page-hero-inner a[class*="btn"], .masters-hero-inner a[class*="btn"],
.kit-hero-inner a[class*="btn"],
.hero-ctas a, .hero-ctas button {
  text-shadow: none;
}
