/* =============================================================================
   MATHATISED ESPORTS — STYLES
   1. Tokens   2. Base   3. Layout   4. Header   5. Buttons   6. Hero
   7. Sections & cards   8. Components   9. MECS   10. Forms   11. Footer
   12. Motion   13. Responsive
   ========================================================================== */

/* 1. TOKENS ---------------------------------------------------------------- */
:root {
  --font-head: "Sora", "Segoe UI", system-ui, -apple-system, sans-serif;
  --font-body: "Manrope", "Segoe UI", system-ui, -apple-system, sans-serif;

  --bg: #ffffff;
  --bg-alt: #f4f7fb;
  --surface: #ffffff;
  --surface-2: #f6f8fc;
  --border: #e2e8f0;
  --border-strong: #cdd6e3;
  --text: #2a3550;
  --heading: #131f3c;
  --muted: #5b667d;

  --gold: #d4ae55;
  --gold-hover: #c69d3f;
  --gold-text: #8a6818;
  --gold-soft: #fbf5e6;
  --gold-display: #b0892c;
  --gold-line: rgba(212, 174, 85, 0.5);
  --on-gold: #131f3c;

  --navy: #16223f;
  --navy-2: #1c2a4d;
  --navy-deep: #0c1530;
  --on-navy: #ffffff;
  --on-navy-muted: #c2cadb;
  --navy-line: rgba(255, 255, 255, 0.14);

  --header-bg: rgba(255, 255, 255, 0.94);
  --shadow: 0 1px 2px rgba(19, 31, 60, 0.04), 0 12px 32px -14px rgba(19, 31, 60, 0.16);
  --shadow-lg: 0 2px 4px rgba(19, 31, 60, 0.05), 0 24px 48px -18px rgba(19, 31, 60, 0.24);
  --radius: 10px;
  --radius-sm: 6px;
  --header-h: 70px;
  --gutter: clamp(20px, 3.5vw, 56px);
  color-scheme: light;
}

:root[data-theme="dark"] {
  --bg: #0a1227;
  --bg-alt: #0e1833;
  --surface: #121e3c;
  --surface-2: #172549;
  --border: #243359;
  --border-strong: #31426d;
  --text: #d5dcea;
  --heading: #ffffff;
  --muted: #9ca8c1;
  --gold-text: #e2bf6b;
  --gold-soft: rgba(212, 174, 85, 0.1);
  --gold-display: #d9b562;
  --navy: #101b37;
  --navy-2: #16244a;
  --navy-deep: #060c1e;
  --header-bg: rgba(10, 18, 39, 0.94);
  --shadow: 0 1px 2px rgba(0, 0, 0, 0.3), 0 12px 32px -14px rgba(0, 0, 0, 0.6);
  --shadow-lg: 0 2px 4px rgba(0, 0, 0, 0.3), 0 24px 48px -18px rgba(0, 0, 0, 0.7);
  color-scheme: dark;
}

/* 2. BASE ------------------------------------------------------------------ */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  transition: background-color 0.25s ease, color 0.25s ease;
}
body.no-scroll { overflow: hidden; }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
h1, h2, h3, h4 { font-family: var(--font-head); color: var(--heading); margin: 0; line-height: 1.15; letter-spacing: -0.02em; font-weight: 700; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
dl, dd { margin: 0; }

:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 4px; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 16px; top: -60px; z-index: 200; background: var(--gold); color: var(--on-gold); padding: 10px 16px; border-radius: var(--radius-sm); font-weight: 700; }
.skip-link:focus { top: 12px; }

.icon { width: 1.25em; height: 1.25em; flex: none; }

/* 3. LAYOUT ---------------------------------------------------------------- */
.container { width: 100%; max-width: 1440px; margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: 88px 0; position: relative; }
.section--alt { background: var(--bg-alt); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.section--tight { padding: 72px 0; }
.section + .section--alt, .section--alt + .section { border-top-color: var(--border); }

.section-head { max-width: 720px; margin-bottom: 48px; }
.section-head--center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head h2 { font-size: clamp(1.6rem, 2.5vw, 2.2rem); }
.section-head .lead { margin-top: 14px; }
.lead { font-size: 1rem; color: var(--muted); max-width: 64ch; }

.eyebrow {
  display: inline-block;
  font-family: var(--font-head);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold-text);
  margin-bottom: 14px;
}
.eyebrow--sm { font-size: 0.66rem; margin-bottom: 10px; }

.grid { display: grid; gap: 24px; }
.g-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.g-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.g-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.g-5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }

.split { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 64px; align-items: start; }
.split--even { grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: center; }
.prose p + p { margin-top: 18px; }
.prose p { color: var(--muted); font-size: 1.0625rem; }
.prose strong { color: var(--heading); }

/* 4. HEADER ---------------------------------------------------------------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  min-height: var(--header-h);
  background: var(--header-bg);
  backdrop-filter: saturate(1.4) blur(10px);
  -webkit-backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow 0.25s ease, background-color 0.25s ease;
}
.site-header.is-scrolled { box-shadow: 0 8px 24px -16px rgba(19, 31, 60, 0.28); }
/* Logo left, menu in the true centre, actions right */
.header-inner { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 20px; height: var(--header-h); }
.header-inner > .brand { justify-self: start; }
.header-inner > .header-actions { justify-self: end; }

.brand { display: inline-flex; align-items: center; gap: 12px; flex: none; white-space: nowrap; }
.brand-mark { width: 44px; height: 44px; border-radius: 10px; object-fit: contain; background: #fff; box-shadow: 0 0 0 1px var(--gold-line); }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-name { font-family: var(--font-head); font-weight: 800; font-size: 0.95rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--heading); }
.brand-sub { font-family: var(--font-head); font-weight: 700; font-size: 0.64rem; letter-spacing: 0.3em; text-transform: uppercase; color: var(--gold-text); margin-top: 5px; }
.brand--light .brand-name { color: #fff; }
.brand--light .brand-sub { color: var(--gold); }

.main-nav { justify-self: center; }
.main-nav > ul { display: flex; align-items: center; gap: 6px; }
.nav-link {
  position: relative; display: inline-flex; align-items: center; gap: 4px;
  padding: 8px 10px; font-size: 0.9rem; font-weight: 600; color: var(--muted); white-space: nowrap;
  background: none; border: 0; border-radius: var(--radius-sm);
  transition: color 0.2s ease;
}
.nav-link::after {
  content: ""; position: absolute; left: 10px; right: 10px; bottom: 2px; height: 2px;
  background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform 0.25s ease;
}
.nav-link:hover { color: var(--heading); }
.nav-link:hover::after, .nav-link.is-active::after { transform: scaleX(1); }
.nav-link.is-active { color: var(--heading); }
.nav-link .chev { width: 16px; height: 16px; transition: transform 0.2s ease; }

.has-dropdown { position: relative; }
.has-dropdown.is-open .chev { transform: rotate(180deg); }
.dropdown {
  position: absolute; top: calc(100% + 6px); left: 50%; min-width: 300px;
  transform: translate(-50%, 6px); opacity: 0; visibility: hidden;
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  box-shadow: var(--shadow-lg); padding: 8px;
  transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s;
}
.dropdown::before { content: ""; position: absolute; left: 0; right: 0; top: -12px; height: 12px; }
.has-dropdown.is-open .dropdown { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.dropdown a { display: block; padding: 12px 14px; border-radius: var(--radius-sm); transition: background-color 0.15s ease; }
.dropdown a:hover, .dropdown a[aria-current="page"] { background: var(--gold-soft); }
.dd-title { display: block; font-weight: 700; color: var(--heading); font-size: 0.94rem; }
.dd-text { display: block; font-size: 0.82rem; color: var(--muted); margin-top: 2px; }

.header-actions { display: flex; align-items: center; gap: 10px; }
.icon-btn {
  display: inline-grid; place-items: center; width: 42px; height: 42px;
  border: 1px solid var(--border); border-radius: var(--radius-sm); background: var(--surface); color: var(--heading);
  transition: border-color 0.2s ease, color 0.2s ease;
}
.icon-btn:hover { border-color: var(--gold); color: var(--gold-text); }
.icon-btn .icon { width: 20px; height: 20px; }
.theme-toggle .i-sun { display: none; }
[data-theme="dark"] .theme-toggle .i-sun { display: block; }
[data-theme="dark"] .theme-toggle .i-moon { display: none; }
.nav-toggle { display: none; }
.nav-toggle .i-close { display: none; }
.menu-open .nav-toggle .i-close { display: block; }
.menu-open .nav-toggle .i-menu { display: none; }

.mobile-menu {
  position: fixed; z-index: 99; top: var(--header-h); left: 0; right: 0; bottom: 0;
  background: var(--bg); overflow-y: auto; padding: 16px 0 40px;
  opacity: 0; transform: translateY(-8px); transition: opacity 0.2s ease, transform 0.2s ease;
  border-top: 1px solid var(--border);
}
.mobile-menu.is-open { opacity: 1; transform: none; }
.m-list > li > a, .m-group ul a {
  display: flex; align-items: center; min-height: 52px; padding: 0 4px;
  font-family: var(--font-head); font-weight: 600; font-size: 1.12rem; color: var(--heading);
  border-bottom: 1px solid var(--border);
}
.m-list a[aria-current="page"] { color: var(--gold-text); }
.m-group-label { display: block; padding: 22px 4px 6px; font-size: 0.72rem; letter-spacing: 0.2em; text-transform: uppercase; font-weight: 700; color: var(--gold-text); }
.m-group ul a { padding-left: 16px; font-size: 1.02rem; }
.mobile-menu .btn-block { margin: 28px 0 22px; }

/* 5. BUTTONS --------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 0 24px;
  font-family: var(--font-head); font-weight: 700; font-size: 0.95rem; letter-spacing: -0.005em;
  border-radius: var(--radius-sm); border: 1px solid transparent;
  transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
  white-space: nowrap; text-align: center;
}
.btn .icon { width: 18px; height: 18px; transition: transform 0.2s ease; }
.btn:hover .i-arrow { transform: translateX(3px); }
.btn:active { transform: translateY(1px); }
.btn-sm { min-height: 42px; padding: 0 18px; font-size: 0.88rem; }
.btn-block { display: flex; width: 100%; }
.btn-gold { background: var(--gold); color: var(--on-gold); box-shadow: 0 8px 20px -10px rgba(212, 174, 85, 0.8); }
.btn-gold:hover { background: var(--gold-hover); }
.btn-outline { background: var(--surface); color: var(--heading); border-color: var(--border-strong); }
.btn-outline:hover { border-color: var(--gold); color: var(--heading); }
.btn-light { background: transparent; color: #fff; border-color: rgba(255, 255, 255, 0.35); }
.btn-light:hover { border-color: var(--gold); background: rgba(255, 255, 255, 0.05); }
.btn[disabled] { opacity: 0.65; cursor: progress; }
.text-link { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; color: var(--heading); border-bottom: 2px solid var(--gold); padding-bottom: 2px; }
.text-link:hover { color: var(--gold-text); }
.text-link .icon { width: 16px; height: 16px; }

/* 6. HERO ------------------------------------------------------------------ */
.hero {
  position: relative; overflow: hidden; isolation: isolate;
  background-color: var(--navy);
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 64px 64px;
  color: var(--on-navy);
  padding: 96px 0 92px;
}
.hero::before {
  /* rotated geometric frame, echoing the logo's angular panels */
  content: ""; position: absolute; z-index: -1; right: -6%; top: 50%; width: 440px; height: 440px;
  border: 1px solid rgba(212, 174, 85, 0.35); transform: translateY(-50%) rotate(14deg);
}
.hero::after {
  content: ""; position: absolute; z-index: -1; inset: 0 0 0 45%;
  background: url("../img/geo-network.svg") right center / cover no-repeat; opacity: 0.35;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 40%);
  mask-image: linear-gradient(90deg, transparent, #000 40%);
}
.hero-inner { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr); gap: 56px; align-items: center; }
.hero .eyebrow { color: var(--gold); }
.hero h1 { color: #fff; font-size: clamp(2.2rem, 4.2vw, 3.6rem); letter-spacing: -0.035em; line-height: 1.04; max-width: 18ch; }
.hero .lead { color: var(--on-navy-muted); margin-top: 20px; font-size: clamp(1rem, 1.25vw, 1.12rem); max-width: 58ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }
.hero-art { justify-self: end; width: 100%; max-width: 360px; }
.hero-art img { width: 100%; filter: drop-shadow(0 28px 40px rgba(0, 0, 0, 0.45)); }
.hero-art--framed img { border-radius: 14px; box-shadow: 0 0 0 1px var(--gold-line), 0 30px 60px -20px rgba(0, 0, 0, 0.6); filter: none; }

/* Home hero: full-bleed media (background video, or the brand artwork until a video is set) */
.hero-media {
  position: relative; overflow: hidden; isolation: isolate; display: flex; align-items: center;
  min-height: clamp(540px, calc(100svh - var(--header-h)), 860px);
  background: var(--navy-deep); color: var(--on-navy);
}
.hero-media__bg { position: absolute; inset: 0; z-index: -2; }
.hero-media__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 0.8s ease; }
.hero-media.is-playing .hero-media__video { opacity: 1; }
.hero-media__bg {
  background-color: var(--navy-deep);
  background-image: linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 64px 64px;
}
.hero-media__bg::before {
  content: ""; position: absolute; inset: 0 0 0 40%; opacity: 0.35;
  background: url("../img/geo-network.svg") center / cover no-repeat;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 35%); mask-image: linear-gradient(90deg, transparent, #000 35%);
}
.hero-media__logo {
  position: absolute; top: 50%; right: max(var(--gutter), calc((100% - 1440px) / 2 + 72px)); transform: translateY(-50%);
  height: min(78%, 580px); width: auto; filter: drop-shadow(0 0 48px rgba(212, 174, 85, 0.18));
  transition: opacity 0.8s ease;
}
.hero-media.is-playing .hero-media__logo, .hero-media.is-playing .hero-media__bg::before { opacity: 0; }
.hero-media__shade {
  position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    linear-gradient(90deg, rgba(8, 13, 30, 0.94) 0%, rgba(8, 13, 30, 0.76) 36%, rgba(8, 13, 30, 0.18) 70%, rgba(8, 13, 30, 0) 100%),
    linear-gradient(0deg, rgba(8, 13, 30, 0.6), transparent 35%);
}
.hero-media__inner { position: relative; padding-top: 72px; padding-bottom: 72px; }
.hero-media__copy { max-width: 580px; }
.hero-media .eyebrow { color: var(--gold); }
.hero-media h1 { color: #fff; font-size: clamp(2.6rem, 5.4vw, 4.6rem); letter-spacing: -0.035em; line-height: 1.02; max-width: 12ch; }
.h1-accent { color: var(--gold-display); }
.hero-media .h1-accent { color: var(--gold); }
.hero-media .lead { color: var(--on-navy-muted); margin-top: 20px; font-size: clamp(1rem, 1.25vw, 1.12rem); max-width: 46ch; }
.hero-points { display: flex; flex-wrap: wrap; gap: 10px 26px; margin-top: 34px; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, 0.14); }
.hero-points li { display: flex; align-items: center; gap: 10px; font-size: 0.86rem; color: var(--on-navy-muted); }
.hero-points .icon { width: 18px; height: 18px; color: var(--gold); }
.hero-points strong { color: #fff; font-family: var(--font-head); font-weight: 700; margin-right: 3px; }
.hero-media__toggle {
  position: absolute; right: var(--gutter); bottom: 24px; display: grid; place-items: center; width: 42px; height: 42px;
  border-radius: var(--radius-sm); background: rgba(8, 13, 30, 0.55); border: 1px solid rgba(255, 255, 255, 0.25); color: #fff;
}
.hero-media__toggle[hidden] { display: none; }
.hero-media__toggle:hover { border-color: var(--gold); }
.hero-media__toggle .icon { width: 18px; height: 18px; }

/* Key numbers band (Home) */
.metrics-band { background: var(--bg); border-bottom: 1px solid var(--border); }
.metrics { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 860px) { .metrics { grid-template-columns: repeat(2, minmax(0, 1fr)); } .metrics div:nth-child(3) { border-left: 0; } .metrics div:nth-child(n+3) { border-top: 1px solid var(--border); } }
.metrics div { display: flex; flex-direction: column-reverse; align-items: center; gap: 6px; padding: 34px 16px; text-align: center; }
.metrics div + div { border-left: 1px solid var(--border); }
.metrics dd { font-family: var(--font-head); font-weight: 800; font-size: clamp(1.9rem, 3.4vw, 2.75rem); line-height: 1; letter-spacing: -0.03em; color: var(--heading); }
.metrics dt { font-size: 0.72rem; letter-spacing: 0.18em; text-transform: uppercase; font-weight: 800; color: var(--gold-text); }
@media (max-width: 560px) {
  .metrics { grid-template-columns: minmax(0, 1fr); }
  .metrics div { padding: 22px 12px; }
  .metrics div + div { border-left: 0; border-top: 1px solid var(--border); }
}
/* Brand panel (navy card with the logo), used beside long text and forms */
.brand-panel {
  position: relative; overflow: hidden; isolation: isolate; margin-top: 32px; padding: 40px 28px 30px;
  display: flex; flex-direction: column; align-items: center; gap: 22px; text-align: center;
  border-radius: var(--radius); background-color: var(--navy); box-shadow: var(--shadow-lg);
  background-image: linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 48px 48px;
}
.brand-panel::before { content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0.28; background: url("../img/geo-network.svg") center / cover no-repeat; }
.brand-panel img { width: min(200px, 55%); height: auto; filter: drop-shadow(0 0 30px rgba(212, 174, 85, 0.2)); }
.brand-panel__pillars { font-family: var(--font-head); font-size: 0.68rem; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; color: var(--on-navy-muted); line-height: 1.9; }
.brand-panel__label { font-family: var(--font-head); font-size: 0.68rem; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold); }
.brand-panel--metrics img { width: min(120px, 40%); }
.mini-metrics { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; width: 100%; background: rgba(255, 255, 255, 0.12); border-radius: var(--radius-sm); overflow: hidden; }
.mini-metrics div { display: flex; flex-direction: column-reverse; gap: 4px; padding: 16px 10px; background: var(--navy); }
.mini-metrics dd { font-family: var(--font-head); font-weight: 800; font-size: 1.4rem; line-height: 1.1; color: #fff; letter-spacing: -0.02em; }
.mini-metrics dt { font-size: 0.62rem; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold); }

/* Layout helpers for balanced two-column sections */
.split.split--center { align-items: center; }
.split--sticky > :first-child, .contact-grid--sticky > :first-child { position: sticky; top: calc(var(--header-h) + 28px); align-self: start; }
.mission-callout {
  margin-top: 44px; padding: 24px 28px; border-left: 3px solid var(--gold); border-radius: 0 var(--radius) var(--radius) 0;
  background: var(--gold-soft); color: var(--text); font-size: 1.05rem; line-height: 1.7;
}
.mission-callout strong { color: var(--heading); }
.outcomes.outcomes--left { margin-top: 16px; }

/* Checkbox groups sit inside their own framed panel, like the other fields */
fieldset.field[data-required-group] .check-grid { padding: 14px; border: 1px solid var(--border-strong); border-radius: var(--radius-sm); background: var(--surface-2); }
fieldset.field[data-required-group] .check { padding: 12px 16px; background: var(--surface); }
fieldset.field[data-required-group] legend { margin-bottom: 8px; }
fieldset.field.is-invalid .check-grid { border-color: #c2413b; }
/* Edition note (MECS format section) */
.edition-note { display: flex; gap: 12px; align-items: flex-start; margin-top: 18px; padding: 14px 18px; max-width: 760px; border-radius: var(--radius-sm); border: 1px solid var(--gold-line); background: var(--gold-soft); color: var(--text); font-size: 0.92rem; line-height: 1.6; }
.edition-note .icon { width: 18px; height: 18px; color: var(--gold-text); margin-top: 3px; }
.edition-note strong { color: var(--heading); }
.leg-note { font-size: 0.85rem; color: var(--muted); margin-top: 6px; }
/* Announcement bar (config: announcement) */
.announce-bar { background: var(--navy-deep); color: var(--on-navy-muted); font-size: 0.85rem; border-bottom: 1px solid rgba(212, 174, 85, 0.25); }
.announce-inner { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 6px 12px; min-height: 40px; padding-top: 7px; padding-bottom: 7px; text-align: center; }
.announce-label { font-family: var(--font-head); font-size: 0.68rem; font-weight: 800; letter-spacing: 0.16em; text-transform: uppercase; color: var(--on-gold); background: var(--gold); border-radius: 4px; padding: 3px 8px; }
.announce-text { color: #fff; }
.announce-cta { display: inline-flex; align-items: center; gap: 4px; font-weight: 700; color: var(--gold); border-bottom: 1px solid transparent; }
.announce-cta:hover { border-bottom-color: var(--gold); }
.announce-cta .icon { width: 15px; height: 15px; }
.announce-text--short { display: none; }
@media (max-width: 640px) {
  .announce-bar { font-size: 0.8rem; }
  .announce-inner { flex-wrap: nowrap; gap: 8px; min-height: 38px; }
  .announce-label { font-size: 0.6rem; padding: 2px 6px; letter-spacing: 0.1em; white-space: nowrap; }
  .announce-text { display: none; }
  .announce-text--short { display: inline; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
  .announce-cta { white-space: nowrap; }
}

/* MECS regional editions */
.edition-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.edition-card { display: flex; flex-direction: column; padding: 30px; }
.edition-card--open { border-color: var(--gold-line); box-shadow: 0 0 0 1px var(--gold-line), var(--shadow); }
.edition-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 10px; }
.edition-region { font-family: var(--font-head); font-weight: 800; font-size: 1.5rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--gold-text); }
.edition-name { font-size: 1.25rem; margin-bottom: 8px; }
.edition-card > p { color: var(--muted); }
.edition-card .comp-meta { margin-bottom: 22px; }
.edition-card .btn { margin-top: auto; align-self: flex-start; }
.edition-schedule { margin-top: 18px; border: 1px solid var(--border); border-radius: var(--radius-sm); overflow: hidden; }
.edition-schedule li { display: flex; justify-content: space-between; gap: 12px; padding: 11px 14px; font-size: 0.92rem; color: var(--text); }
.edition-schedule li + li { border-top: 1px solid var(--border); }
.edition-schedule li:nth-child(odd) { background: var(--surface-2); }
.edition-schedule strong { font-family: var(--font-head); color: var(--heading); white-space: nowrap; }
.status--live { color: #b42318; background: #fdecea; border-color: #f4b8b2; }
.status--live .status-dot { background: #e5484d; box-shadow: 0 0 0 3px rgba(229, 72, 77, 0.2); animation: live-pulse 1.6s ease-in-out infinite; }
[data-theme="dark"] .status--live { color: #ff9b94; background: rgba(229, 72, 77, 0.12); border-color: rgba(229, 72, 77, 0.4); }
@keyframes live-pulse { 50% { opacity: 0.35; } }
.edition-aside { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 28px 40px; align-items: start; margin-top: 44px; padding: 28px 30px; border-radius: var(--radius); border: 1px dashed var(--border-strong); background: var(--surface); }
.edition-aside__head h3 { font-size: 1.2rem; margin: 14px 0 8px; }
.edition-aside__head p { color: var(--muted); font-size: 0.95rem; }
.edition-aside .dot-list { columns: 2; column-gap: 28px; }
.edition-aside .dot-list li { break-inside: avoid; margin: 0 0 10px; }
@media (max-width: 860px) {
  .edition-grid, .edition-aside { grid-template-columns: minmax(0, 1fr); }
  .edition-aside .dot-list { columns: 1; }
}
/* Official documents */
.doc-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.doc-card { display: grid; grid-template-columns: auto 1fr; column-gap: 18px; align-items: start; }
.doc-card .card-icon { margin-bottom: 0; }
.doc-card .btn, .doc-card .doc-soon { grid-column: 2; justify-self: start; margin-top: 18px; }
.doc-meta { font-size: 0.72rem !important; letter-spacing: 0.16em; text-transform: uppercase; font-weight: 800; color: var(--gold-text) !important; margin: -4px 0 8px; }

/* 7. SECTIONS & CARDS ------------------------------------------------------ */
.card {
  position: relative; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 30px; box-shadow: var(--shadow);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}
.card--hover:hover, .comp-card:hover, .team-card:hover, .role-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: var(--gold-line); }
.card-icon {
  display: inline-grid; place-items: center; width: 46px; height: 46px; margin-bottom: 20px;
  border-radius: 10px; background: var(--gold-soft); color: var(--gold-text); border: 1px solid var(--gold-line);
}
.card-icon .icon { width: 22px; height: 22px; }
.card-title { font-size: 1.12rem; margin-bottom: 10px; letter-spacing: -0.01em; }
.card p { color: var(--muted); font-size: 0.95rem; }
.card .btn { margin-top: 22px; }

.pull-quote {
  margin: 48px 0 0; padding: 8px 0 8px 28px; border-left: 3px solid var(--gold);
  font-family: var(--font-head); font-weight: 700; font-size: clamp(1.2rem, 2.1vw, 1.6rem); color: var(--heading); line-height: 1.35; max-width: 42ch; letter-spacing: -0.015em;
}

.chip-list { display: flex; flex-wrap: wrap; gap: 10px; }
.chip {
  display: inline-flex; align-items: center; min-height: 40px; padding: 0 18px;
  background: var(--surface); border: 1px solid var(--border); border-radius: 999px;
  font-weight: 700; font-size: 0.9rem; color: var(--heading); box-shadow: var(--shadow);
}
.chip--gold { gap: 8px; background: var(--gold-soft); border-color: var(--gold-line); color: var(--gold-text); }
.chip .icon { width: 16px; height: 16px; }
.chip--muted { color: var(--muted); font-weight: 600; box-shadow: none; background: transparent; border-style: dashed; }
.chip--square { border-radius: var(--radius-sm); min-height: 34px; padding: 0 12px; font-size: 0.82rem; font-weight: 600; box-shadow: none; background: var(--surface-2); }
.chip-list--sm { gap: 8px; }

.dot-list li, .check-list li { position: relative; padding-left: 22px; color: var(--muted); font-size: 0.95rem; }
.dot-list li + li, .check-list li + li { margin-top: 8px; }
.dot-list li::before { content: ""; position: absolute; left: 2px; top: 0.62em; width: 7px; height: 7px; background: var(--gold); transform: rotate(45deg); }
.check-list li::before {
  content: ""; position: absolute; left: 0; top: 0.4em; width: 14px; height: 8px;
  border-left: 2px solid var(--gold); border-bottom: 2px solid var(--gold); transform: rotate(-45deg) scale(0.8);
}

.placeholder-note {
  margin-top: 22px; padding: 14px 16px; border-radius: var(--radius-sm);
  background: var(--bg-alt); border: 1px dashed var(--border-strong); color: var(--muted); font-size: 0.85rem;
}

/* CTA band */
.cta-band { background: var(--navy); color: var(--on-navy); padding: 52px 0; position: relative; overflow: hidden; isolation: isolate; }
.cta-band::before {
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0.18;
  background: url("../img/geo-network.svg") center / cover no-repeat;
}
/* Compact band: message on the left, buttons on the right */
.cta-band .container { display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: 48px; align-items: center; }
.cta-band h2 { color: #fff; font-size: clamp(1.35rem, 2.1vw, 1.75rem); max-width: 34ch; margin: 0; }
.cta-band p { color: var(--on-navy-muted); margin: 8px 0 0; max-width: 56ch; font-size: 0.98rem; }
.cta-band .cta-actions { grid-column: 2; grid-row: 1 / span 2; margin-top: 0; flex-wrap: nowrap; }
.cta-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 34px; }
.cta-band--light { background: var(--bg); color: var(--text); }
.cta-band--light::before { opacity: 0.12; }
[data-theme="dark"] .cta-band--light::before { filter: none; opacity: 0.12; }
.cta-band--light h2 { color: var(--heading); }
.cta-band--light p { color: var(--muted); }

/* Inline strip (e.g. "Looking to compete?") */
.strip {
  display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap;
  padding: 34px 36px; border-radius: var(--radius); background: var(--bg-alt); border: 1px solid var(--border);
}
.strip h2 { font-size: 1.4rem; }
.strip p { color: var(--muted); margin-top: 6px; }
.strip-actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* 8. COMPONENTS ------------------------------------------------------------ */
/* Competition cards */
.comp-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); gap: 28px; }
.comp-card { display: flex; flex-direction: column; padding: 32px; overflow: hidden; }
.comp-card::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: var(--border-strong);
}
.comp-card--current::before { background: linear-gradient(90deg, var(--gold), #e9cf8d); }
.comp-card--live::before { background: linear-gradient(90deg, #e5484d, var(--gold)); }
.comp-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; margin-bottom: 18px; }
.comp-logo { width: 72px; height: 72px; object-fit: contain; }
.comp-card--current .comp-logo { border-radius: 10px; }
.status {
  display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: 999px;
  font-size: 0.68rem; font-weight: 800; letter-spacing: 0.18em; text-transform: uppercase; border: 1px solid var(--border-strong); color: var(--muted); background: var(--surface-2);
}
.status-dot { width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.status--current { color: var(--gold-text); background: var(--gold-soft); border-color: var(--gold-line); }
.status--current .status-dot { background: var(--gold); box-shadow: 0 0 0 3px rgba(212, 174, 85, 0.25); }
.comp-code { font-family: var(--font-head); font-weight: 800; font-size: 1.6rem; letter-spacing: 0.1em; color: var(--gold-text); line-height: 1; }
.comp-name { font-size: 1.28rem; margin-top: 10px; }
.comp-desc { margin-top: 12px; color: var(--muted); }
.comp-meta { margin-top: 22px; padding-top: 22px; border-top: 1px solid var(--border); display: grid; gap: 14px; margin-bottom: 8px; }
.comp-meta dt { font-size: 0.68rem; letter-spacing: 0.2em; text-transform: uppercase; font-weight: 800; color: var(--heading); }
.comp-meta dd { color: var(--muted); font-size: 0.93rem; margin-top: 2px; }
.comp-card .btn { margin-top: auto; align-self: flex-start; }
.comp-card .comp-meta + .btn { margin-top: 20px; }

/* Player journey */
.journey { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; counter-reset: step; }
.journey-step { position: relative; padding: 26px 22px; }
.journey-step:not(:last-child)::after {
  content: ""; position: absolute; top: 44px; right: -13px; width: 10px; height: 10px; z-index: 2;
  border-top: 2px solid var(--gold); border-right: 2px solid var(--gold); transform: rotate(45deg);
}
.step-num { display: block; font-size: 0.66rem; letter-spacing: 0.2em; text-transform: uppercase; font-weight: 800; color: var(--gold-text); }
.journey-step .card-icon { margin: 14px 0 16px; width: 42px; height: 42px; }
.journey-step h3 { font-size: 1.08rem; margin-bottom: 8px; }
.journey-step p { font-size: 0.9rem; }

/* Broadcast */
.broadcast-visual { position: relative; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-lg); background: var(--navy); }
.broadcast-visual img { width: 100%; aspect-ratio: 16 / 11; object-fit: cover; }
.broadcast-visual.has-video { aspect-ratio: 16 / 9; box-shadow: 0 0 0 1px var(--gold-line), var(--shadow-lg); }
.broadcast-visual iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.broadcast-visual figcaption {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 12px 18px; font-size: 0.68rem; letter-spacing: 0.18em; text-transform: uppercase; font-weight: 700;
  color: var(--on-navy-muted); background: linear-gradient(0deg, rgba(8, 14, 32, 0.85), transparent);
}
.live-badge {
  position: absolute; top: 16px; left: 16px; display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: 4px;
  background: rgba(8, 14, 32, 0.7); color: #fff; font-size: 0.7rem; font-weight: 800; letter-spacing: 0.18em; border: 1px solid rgba(255, 255, 255, 0.2);
}
.live-badge::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--gold); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.feature-list { margin-top: 26px; }

/* Team */
.team-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
.team-card { padding: 0; overflow: hidden; display: flex; flex-direction: column; }
.team-photo { position: relative; background: var(--navy); aspect-ratio: 1; overflow: hidden; }
.team-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.team-card:hover .team-photo img { transform: scale(1.03); }
.team-tag {
  position: absolute; left: 0; bottom: 0; right: 0; padding: 12px 18px; font-size: 0.66rem; font-weight: 800; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--gold); background: linear-gradient(0deg, rgba(8, 14, 32, 0.9), transparent);
}
.team-body { padding: 24px 26px 28px; }
.team-name { font-size: 1.1rem; }
.team-role { font-size: 0.72rem; font-weight: 800; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold-text); margin-top: 6px; }
.team-bio { margin-top: 12px; }
.team-region { display: flex; align-items: center; gap: 6px; margin-top: 14px; font-size: 0.85rem !important; }
.team-region .icon { width: 15px; height: 15px; color: var(--gold-text); }
.team-socials { margin-top: 16px; }

/* Roles */
.role-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.role-card { display: flex; flex-direction: column; }
.role-card .btn { align-self: flex-start; margin-top: auto; white-space: normal; max-width: 100%; }
.role-card { min-width: 0; }
.role-card p { margin-bottom: 22px; }
.role-card .role-needs-label { margin: -6px 0 10px; }
.role-needs { margin-bottom: 24px; }
.role-needs li { font-size: 0.9rem; }

/* Social icons */
.social-list { display: flex; flex-wrap: wrap; gap: 10px; }
.social-btn {
  display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 8px;
  border: 1px solid var(--border); background: var(--surface); color: var(--heading);
  transition: border-color 0.2s ease, color 0.2s ease, transform 0.2s ease, background-color 0.2s ease;
}
.social-btn:hover { border-color: var(--gold); color: var(--gold-text); transform: translateY(-2px); }
.social-btn .icon { width: 20px; height: 20px; }
.social-btn--sm { width: 36px; height: 36px; }
.social-btn--sm .icon { width: 17px; height: 17px; }
.social-list--dark { gap: 8px; }
.social-list--dark .social-btn { width: 40px; height: 40px; background: transparent; border-color: var(--navy-line); color: #fff; }
.social-list--dark .social-btn:hover { border-color: var(--gold); color: var(--gold); }

/* SPL */
.spl-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; }
.spl-card .card-title { font-size: 1.25rem; margin-bottom: 18px; }
.prize-tag { display: inline-flex; align-items: center; gap: 8px; margin: -6px 0 18px; padding: 6px 12px; border-radius: 999px; background: var(--gold-soft); border: 1px solid var(--gold-line); color: var(--gold-text) !important; font-size: 0.85rem !important; font-weight: 600; }
.prize-tag .icon { width: 16px; height: 16px; }
.prize-tag strong { color: var(--heading); font-family: var(--font-head); }
.mini-label { font-family: var(--font-body); font-size: 0.68rem; letter-spacing: 0.2em; text-transform: uppercase; font-weight: 800; color: var(--heading); margin: 28px 0 12px; }
.placements { border-top: 1px solid var(--border); }
.placement { display: grid; grid-template-columns: 22px 48px 1fr; align-items: center; gap: 10px; padding: 14px 0; border-bottom: 1px solid var(--border); }
.placement .icon { width: 18px; height: 18px; color: var(--gold-text); }
.placement--2 .icon, .placement--3 .icon { color: var(--muted); }
.place { font-family: var(--font-head); font-weight: 800; color: var(--heading); font-size: 0.95rem; }
.placement .team { color: var(--text); font-weight: 600; }
.placement .team small { display: block; margin-top: 2px; font-size: 0.8rem; font-weight: 500; color: var(--muted); }
.placement--1 { background: linear-gradient(90deg, var(--gold-soft), transparent 70%); }
.stat-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); gap: 12px; }
.stat-row div { display: flex; flex-direction: column-reverse; gap: 4px; padding: 18px 8px; min-width: 0; text-align: center; border-radius: var(--radius-sm); background: var(--gold-soft); border: 1px solid var(--gold-line); }
.stat-row dd { font-family: var(--font-head); font-weight: 800; font-size: clamp(1.3rem, 1.9vw, 1.6rem); color: var(--heading); line-height: 1.1; letter-spacing: -0.02em; }
.stat-row dt { font-size: 0.66rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); font-weight: 700; }

/* Numbered process (Host / Sponsor) */
.process { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 0; border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); box-shadow: var(--shadow); overflow: hidden; }
.process--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.process li { padding: 30px 26px; position: relative; }
.process li + li { border-left: 1px solid var(--border); }
.process .num { font-family: var(--font-head); font-weight: 800; font-size: 2rem; color: transparent; -webkit-text-stroke: 1px var(--gold); line-height: 1; }
.process h3 { font-size: 1.05rem; margin: 18px 0 8px; }
.process p { color: var(--muted); font-size: 0.9rem; }

.tier-card { display: flex; flex-direction: column; }
.tier-card .check-list { margin-top: 18px; }
.tier-card--featured { border-color: var(--gold); box-shadow: 0 0 0 1px var(--gold), var(--shadow-lg); }
.tier-flag { position: absolute; top: -12px; left: 30px; background: var(--gold); color: var(--on-gold); font-size: 0.66rem; letter-spacing: 0.18em; font-weight: 800; text-transform: uppercase; padding: 4px 10px; border-radius: 4px; }

.proof { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--border); }
.proof div { padding: 26px 24px 0 0; }
.proof dt { font-family: var(--font-head); font-weight: 800; font-size: 1.05rem; color: var(--heading); }
.proof dd { color: var(--muted); font-size: 0.92rem; margin-top: 6px; }

.visibility-map { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.vis-item { display: flex; gap: 14px; align-items: flex-start; padding: 20px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--border); }
.vis-item .icon { width: 22px; height: 22px; color: var(--gold-text); margin-top: 2px; }
.vis-item h3 { font-size: 0.98rem; }
.vis-item p { color: var(--muted); font-size: 0.88rem; margin-top: 4px; }

.note { font-size: 0.88rem; color: var(--muted); margin-top: 22px; }
.note a[data-email-text] { display: inline; overflow-wrap: anywhere; }

/* 9. MECS ------------------------------------------------------------------ */
.platform-points { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.platform-points li {
  display: flex; align-items: center; gap: 12px; padding: 16px 18px; border-radius: var(--radius-sm);
  background: var(--surface); border: 1px solid var(--border); font-weight: 700; color: var(--heading); font-size: 0.95rem;
}
.platform-points .icon { width: 18px; height: 18px; color: var(--gold-text); }
.platform-note { margin-top: 20px; color: var(--muted); font-size: 0.95rem; }

/* Stage explorer tabs */
.tablist { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 22px; }
.tab {
  display: inline-flex; align-items: center; gap: 10px; min-height: 46px; padding: 0 18px;
  border: 1px solid var(--border-strong); border-radius: var(--radius-sm); background: var(--surface);
  font-family: var(--font-head); font-weight: 700; font-size: 0.9rem; color: var(--muted);
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.tab:hover { color: var(--heading); border-color: var(--gold); }
.tab[aria-selected="true"] { background: var(--gold); border-color: var(--gold); color: var(--on-gold); }
.tab-num { font-size: 0.72rem; opacity: 0.7; }
.tabpanel { padding: 34px; }
.tabpanel[hidden] { display: none; }
.panel-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; margin-bottom: 18px; }
.panel-head h3 { font-size: 1.45rem; }
.duration { flex: none; display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 999px; background: var(--gold-soft); border: 1px solid var(--gold-line); color: var(--gold-text); font-size: 0.72rem; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; }
.duration .icon { width: 14px; height: 14px; }
.panel-cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 40px; }
.panel-cols li + li { margin-top: 0; }
.panel-lead { color: var(--muted); margin-bottom: 18px; max-width: 70ch; }
.panel-foot { display: flex; flex-wrap: wrap; gap: 10px; justify-content: flex-end; margin-top: 26px; padding-top: 20px; border-top: 1px solid var(--border); }

.week-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-top: 26px; }
.week { border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface-2); padding: 20px; }
.week-title { font-size: 0.7rem; letter-spacing: 0.2em; text-transform: uppercase; font-weight: 800; color: var(--gold-text); margin-bottom: 14px; }
.days { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.day { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 14px 16px; }
.day h4 { font-size: 0.95rem; margin-bottom: 8px; }
.group-pills { display: flex; gap: 6px; flex-wrap: wrap; }
.group-pill { display: inline-grid; place-items: center; min-width: 76px; height: 30px; padding: 0 10px; border-radius: 4px; background: var(--navy); color: #fff; font-size: 0.8rem; font-weight: 700; }
[data-theme="dark"] .group-pill { background: var(--surface-2); border: 1px solid var(--border-strong); }

.advance-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.advance-card { padding: 28px; border-top-width: 4px; }
.advance-card .pos { font-size: 0.7rem; letter-spacing: 0.18em; text-transform: uppercase; font-weight: 800; color: var(--muted); }
.advance-card .count { font-family: var(--font-head); font-size: 2rem; font-weight: 800; color: var(--heading); margin: 10px 0 4px; line-height: 1.1; }
.advance-card .result { display: flex; align-items: center; gap: 8px; font-weight: 700; color: var(--heading); margin-top: 12px; }
.advance-card .result .icon { width: 18px; height: 18px; }
.advance-card--direct { border-top-color: var(--gold); background: linear-gradient(180deg, var(--gold-soft), var(--surface) 70%); }
.advance-card--direct .result .icon { color: var(--gold-text); }
.advance-card--playoff { border-top-color: #6d86b8; }
.advance-card--playoff .result .icon { color: #6d86b8; }
.advance-card--out { border-top-color: var(--border-strong); }
.advance-card--out .count, .advance-card--out .result { color: var(--muted); }

.legs { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px; margin-top: 30px; }
.leg { padding: 22px; border-radius: var(--radius); border: 1px solid var(--border); background: var(--surface); }
.leg .label { font-size: 0.68rem; letter-spacing: 0.2em; text-transform: uppercase; font-weight: 800; color: var(--gold-text); }
.leg .big { font-family: var(--font-head); font-weight: 800; font-size: 1.5rem; color: var(--heading); margin-top: 6px; }
.match-dots { display: flex; gap: 6px; margin-top: 12px; }
.match-dots span { width: 22px; height: 22px; border-radius: 4px; border: 1px solid var(--gold-line); background: var(--gold-soft); display: grid; place-items: center; font-size: 0.66rem; font-weight: 800; color: var(--gold-text); }
.callout { margin-top: 20px; padding: 16px 18px; border-left: 3px solid var(--gold); background: var(--surface); border-radius: 0 var(--radius-sm) var(--radius-sm) 0; font-size: 0.93rem; color: var(--text); border-top: 1px solid var(--border); border-right: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.callout strong { color: var(--heading); }

.aggregate-steps { counter-reset: agg; margin-top: 8px; }
.aggregate-steps li { position: relative; padding: 14px 0 14px 46px; border-bottom: 1px solid var(--border); color: var(--muted); font-size: 0.95rem; }
.aggregate-steps li strong { color: var(--heading); display: block; }
.aggregate-steps li::before {
  counter-increment: agg; content: counter(agg); position: absolute; left: 0; top: 14px; width: 30px; height: 30px; border-radius: 50%;
  display: grid; place-items: center; background: var(--navy); color: #fff; font-weight: 800; font-size: 0.8rem;
}
.example { margin-top: 20px; padding: 18px 20px; border-radius: var(--radius-sm); background: var(--bg-alt); border: 1px solid var(--border); }
.example .prize-tag { display: inline-flex; align-items: center; gap: 8px; margin: -6px 0 18px; padding: 6px 12px; border-radius: 999px; background: var(--gold-soft); border: 1px solid var(--gold-line); color: var(--gold-text) !important; font-size: 0.85rem !important; font-weight: 600; }
.prize-tag .icon { width: 16px; height: 16px; }
.prize-tag strong { color: var(--heading); font-family: var(--font-head); }
.example .mini-label { margin: 0 0 10px; }
.example-row { display: grid; grid-template-columns: 1fr auto auto; gap: 16px; padding: 8px 0; font-size: 0.92rem; border-bottom: 1px dashed var(--border-strong); }
.example-row:last-of-type { border-bottom: 0; }
.example-row span:first-child { font-weight: 700; color: var(--heading); }
.example-row .adv { color: var(--gold-text); font-weight: 800; }
.example p { font-size: 0.85rem; color: var(--muted); margin-top: 10px; }
.outcomes { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 20px; }
.outcome { display: flex; align-items: center; gap: 10px; padding: 14px 16px; border-radius: var(--radius-sm); border: 1px solid var(--border); font-weight: 700; color: var(--heading); font-size: 0.92rem; background: var(--surface); }
.outcome .icon { width: 18px; height: 18px; }
.outcome--win { background: var(--gold-soft); border-color: var(--gold-line); }
.outcome--win .icon { color: var(--gold-text); }
.outcome--lose { color: var(--muted); }

.bracket-sum { display: grid; grid-template-columns: 1fr auto 1fr auto 1.1fr; align-items: center; gap: 14px; margin-bottom: 36px; }
.sum-box { padding: 22px; text-align: center; border-radius: var(--radius); border: 1px solid var(--border); background: var(--surface); box-shadow: var(--shadow); }
.sum-box .n { font-family: var(--font-head); font-weight: 800; font-size: 2.2rem; color: var(--heading); line-height: 1; }
.sum-box .t { font-size: 0.68rem; letter-spacing: 0.18em; text-transform: uppercase; font-weight: 800; color: var(--muted); margin-top: 8px; }
.sum-box--total { background: var(--gold-soft); border-color: var(--gold); }
.sum-op { font-family: var(--font-head); font-weight: 800; font-size: 1.5rem; color: var(--gold-text); }

.format-table { width: 100%; border-collapse: collapse; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.format-table th, .format-table td { text-align: left; padding: 18px 22px; border-bottom: 1px solid var(--border); font-size: 0.95rem; }
.format-table thead th { font-size: 0.68rem; letter-spacing: 0.2em; text-transform: uppercase; font-weight: 800; color: var(--heading); background: var(--surface-2); }
.format-table tbody th { font-family: var(--font-head); color: var(--heading); font-weight: 700; }
.format-table td { color: var(--muted); }
.format-table tr:last-child th, .format-table tr:last-child td { border-bottom: 0; }
.bo { display: inline-grid; place-items: center; min-width: 54px; height: 30px; padding: 0 10px; border-radius: 4px; background: var(--gold-soft); border: 1px solid var(--gold-line); color: var(--gold-text); font-weight: 800; font-size: 0.82rem; letter-spacing: 0.06em; }
.format-table tr.is-final th, .format-table tr.is-final td { background: var(--gold-soft); }

.timeline { max-width: 760px; margin: 0 auto; position: relative; }
.timeline::before { content: ""; position: absolute; left: 23px; top: 12px; bottom: 60px; width: 2px; background: linear-gradient(var(--gold), var(--gold-line)); }
.tl-item { position: relative; display: grid; grid-template-columns: 48px 1fr; gap: 22px; align-items: center; padding: 10px 0; }
.tl-dot { position: relative; z-index: 1; width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; background: var(--surface); border: 2px solid var(--gold); font-family: var(--font-head); font-weight: 800; color: var(--heading); font-size: 0.9rem; }
.tl-card { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 24px; }
.tl-card h3 { font-size: 1.05rem; }
.tl-card p { font-size: 0.88rem; margin-top: 2px; }
.tl-when { flex: none; font-size: 0.72rem; letter-spacing: 0.16em; text-transform: uppercase; font-weight: 800; color: var(--gold-text); }
.tl-item--champion .tl-dot { background: var(--gold); border-color: var(--gold); color: var(--on-gold); }
.tl-item--champion .tl-dot .icon { width: 22px; height: 22px; }
.tl-item--champion .tl-card { background: var(--gold-soft); border-color: var(--gold); }
.tl-total { text-align: center; margin-top: 28px; color: var(--muted); font-weight: 600; }

.seed-stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.seed-stat { padding: 26px; text-align: center; }
.seed-stat .n { font-family: var(--font-head); font-weight: 800; font-size: 2.4rem; color: var(--heading); line-height: 1; }
.seed-stat .t { font-size: 0.68rem; letter-spacing: 0.18em; text-transform: uppercase; font-weight: 800; color: var(--muted); margin-top: 10px; }
.pot-draw { margin-top: 26px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.pot { border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 12px 10px; text-align: center; background: var(--surface); }
.pot b { display: block; font-family: var(--font-head); color: var(--heading); font-size: 0.9rem; }
.pot span { font-size: 0.78rem; color: var(--muted); }
.pot-arrow { grid-column: 1 / -1; text-align: center; font-size: 0.85rem; color: var(--gold-text); font-weight: 700; padding: 6px 0; }
.pot-draw.pot-draw--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.week-grid.week-grid--single { grid-template-columns: minmax(0, 1fr); }
.tl-item--pre .tl-dot { border-style: dashed; color: var(--gold-text); }
.tl-item--pre .tl-dot .icon { width: 20px; height: 20px; }
.tl-item--pre .tl-card { background: transparent; box-shadow: none; border-style: dashed; }
/* Regionals: next event line in the hero + MMR checker */
.hero-next { display: inline-flex; align-items: center; gap: 8px; margin-top: 18px; padding: 8px 14px; border-radius: 999px; background: rgba(212, 174, 85, 0.14); border: 1px solid rgba(212, 174, 85, 0.45); color: var(--on-navy); font-size: 0.9rem; }
.hero-next strong { color: #fff; }
.hero-next .icon { width: 16px; height: 16px; color: var(--gold); }
.mmr-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin-top: 6px; }
.mmr-hint { margin-top: 10px; font-size: 0.8rem; color: var(--muted); }
.mmr-result { display: flex; flex-direction: column; gap: 2px; margin-top: 16px; padding: 14px 16px; border-radius: var(--radius-sm); background: var(--bg-alt); border: 1px solid var(--border); }
.mmr-total { font-family: var(--font-head); font-weight: 800; color: var(--heading); font-size: 1.1rem; }
.mmr-verdict { font-size: 0.88rem; font-weight: 700; }
.mmr-result.is-ok { background: var(--gold-soft); border-color: var(--gold); }
.mmr-result.is-ok .mmr-verdict { color: var(--gold-text); }
.mmr-result.is-close .mmr-verdict { color: var(--text); }
.mmr-result.is-short .mmr-verdict { color: var(--muted); }
@media (max-width: 420px) { .mmr-fields { grid-template-columns: 1fr; } }

/* Regionals schedule */
.tl-dot--text { font-size: 0.78rem; letter-spacing: 0.02em; }
.tl-tag { display: block; width: max-content; margin-top: 6px; padding: 3px 8px; border-radius: 999px; background: var(--gold-soft); border: 1px solid var(--gold-line); color: var(--gold-text); font-size: 0.62rem; letter-spacing: 0.12em; }
.tl-tag--live { background: var(--gold); border-color: var(--gold); color: var(--on-gold); }
.tl-item--live .tl-card { border-color: var(--gold); box-shadow: var(--shadow-lg); }
.tl-item--live .tl-dot { background: var(--gold); color: var(--on-gold); }
.tl-item--showdown .tl-card { border-left: 3px solid var(--gold); }
.tl-item--showdown .tl-dot { border-style: dashed; }
/* Document not published yet */
.doc-soon { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: var(--radius-sm); border: 1px dashed var(--border-strong); color: var(--muted); font-size: 0.85rem; font-weight: 700; white-space: nowrap; }
.doc-soon .icon { width: 16px; height: 16px; }
.doc-card--soon .card-icon { opacity: 0.6; }
/* Finished stages */
.tl-item--done .tl-dot { background: var(--gold-soft); color: var(--gold-text); }
.tl-done { display: block; margin-top: 4px; font-size: 0.66rem; letter-spacing: 0.14em; color: var(--muted); }
.tl-done::before { content: "✓ "; color: var(--gold-text); }
.hero-points.hero-points--facts { display: grid; grid-template-columns: repeat(2, max-content); gap: 12px 36px; margin-top: 26px; padding-top: 0; border-top: 0; }
@media (max-width: 560px) { .hero-points.hero-points--facts { grid-template-columns: minmax(0, 1fr); } }.pot-group { grid-column: 1 / -1; padding: 14px; text-align: center; border-radius: var(--radius-sm); background: var(--navy); color: #fff; font-weight: 700; font-size: 0.92rem; }

/* 10. FORMS ---------------------------------------------------------------- */
.form-card { padding: 40px; }
.form-card h2 { font-size: 1.6rem; }
.form-card > p { color: var(--muted); margin-top: 8px; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; margin-top: 28px; }
.field { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.field--full { grid-column: 1 / -1; }
.field label, .field legend { font-weight: 700; font-size: 0.9rem; color: var(--heading); padding: 0; }
.field .req { color: var(--gold-text); }
.field .hint { font-size: 0.8rem; color: var(--muted); font-weight: 500; }
.input {
  width: 100%; min-height: 50px; padding: 12px 14px; font: inherit; font-size: 0.97rem; color: var(--heading);
  background: var(--surface); border: 1px solid var(--border-strong); border-radius: var(--radius-sm);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
textarea.input { min-height: 150px; resize: vertical; }
select.input { appearance: none; -webkit-appearance: none; padding-right: 42px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23b8913a' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; }
.input::placeholder { color: #8f98ab; }
.input:hover { border-color: var(--gold-line); }
.input:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(212, 174, 85, 0.25); }
.was-validated .input:invalid { border-color: #c2413b; }
.was-validated .input:invalid:focus { box-shadow: 0 0 0 3px rgba(194, 65, 59, 0.2); }
fieldset.field { border: 0; margin: 0; padding: 0; }
.check-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.check {
  display: flex; align-items: center; gap: 10px; min-height: 46px; padding: 10px 14px; border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm); background: var(--surface); cursor: pointer; font-size: 0.92rem; color: var(--text); font-weight: 600;
}
.check:hover { border-color: var(--gold-line); }
.check input { width: 18px; height: 18px; accent-color: var(--gold); flex: none; margin: 0; }
.check:has(input:checked) { border-color: var(--gold); background: var(--gold-soft); }
.is-invalid .check { border-color: #c2413b; }
.form-actions { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; margin-top: 26px; }
.form-privacy { font-size: 0.8rem; color: var(--muted); max-width: 46ch; }
.form-status { margin-top: 20px; padding: 14px 16px; border-radius: var(--radius-sm); font-size: 0.93rem; outline: none; }
.form-status--success { background: #eaf6ee; border: 1px solid #9fd1ae; color: #1c5a31; }
.form-status--error { background: #fbeceb; border: 1px solid #e6a8a4; color: #8a2621; }
[data-theme="dark"] .form-status--success { background: rgba(60, 170, 100, 0.12); color: #9fe0b4; border-color: rgba(60, 170, 100, 0.4); }
[data-theme="dark"] .form-status--error { background: rgba(220, 80, 70, 0.12); color: #f2aaa4; border-color: rgba(220, 80, 70, 0.4); }
.form-status a { text-decoration: underline; font-weight: 700; }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }

.contact-grid { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 0.9fr); gap: 28px; align-items: start; }
.contact-grid--rev { grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.3fr); gap: 56px; }
.contact-aside { display: grid; gap: 24px; }
.contact-card h2 { font-size: 1.3rem; margin-bottom: 10px; }
.contact-email { display: inline-block; margin: 16px 0 20px; font-family: var(--font-head); font-weight: 700; color: var(--heading); font-size: 1.05rem; border-bottom: 2px solid var(--gold); padding-bottom: 2px; word-break: break-all; }
.contact-email:hover { color: var(--gold-text); }
.divider { height: 1px; background: var(--border); margin: 26px 0 20px; }

/* 11. FOOTER --------------------------------------------------------------- */
.site-footer { background: var(--navy-deep); color: var(--on-navy-muted); padding: 56px 0 24px; position: relative; overflow: hidden; }
.site-footer::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 64px 64px;
}
.site-footer .container { position: relative; }
.footer-grid { display: grid; grid-template-columns: 1.7fr repeat(4, minmax(0, 1fr)); gap: 32px; }
.footer-brand p { margin: 14px 0 16px; max-width: 34ch; font-size: 0.9rem; }
.footer-title { font-family: var(--font-head); font-size: 0.7rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold); margin-bottom: 14px; font-weight: 700; }
.footer-col li + li { margin-top: 8px; }
.footer-col a { font-size: 0.9rem; transition: color 0.2s ease; }
.footer-col a:hover, .footer-email:hover { color: #fff; }
.footer-email { display: inline-flex; align-items: center; gap: 8px; margin-top: 14px; font-size: 0.88rem; overflow-wrap: anywhere; transition: color 0.2s ease; }
.footer-email svg { width: 16px; height: 16px; flex: none; color: var(--gold); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; margin-top: 36px; padding-top: 18px; border-top: 1px solid var(--navy-line); font-size: 0.82rem; }
.pillars { font-family: var(--font-head); font-size: 0.72rem; letter-spacing: 0.22em; text-transform: uppercase; font-weight: 700; color: #8e9ab5; }

/* ASSISTANT (chat button + window) ----------------------------------------- */
.assistant-launcher {
  position: fixed; right: 20px; bottom: 20px; z-index: 90;
  display: inline-flex; align-items: center; gap: 8px; height: 50px; padding: 0 20px 0 16px;
  border: 0; border-radius: 999px; background: var(--gold); color: var(--on-gold);
  font-family: var(--font-head); font-weight: 700; font-size: 0.92rem; cursor: pointer;
  box-shadow: 0 10px 28px -10px rgba(19, 31, 60, 0.55), 0 2px 6px rgba(19, 31, 60, 0.18);
  transition: transform 0.2s ease, background 0.2s ease;
}
.assistant-launcher:hover { background: var(--gold-hover); transform: translateY(-2px); }
.assistant-launcher:focus-visible { outline: 3px solid var(--heading); outline-offset: 3px; }
.assistant-launcher .icon { width: 22px; height: 22px; }
.assistant-launcher.is-loading { opacity: 0.7; cursor: progress; }
.no-scroll .assistant-launcher { display: none; }

.assistant {
  position: fixed; right: 20px; bottom: 82px; z-index: 101;
  width: min(390px, calc(100vw - 40px)); height: min(620px, calc(100vh - var(--header-h) - 100px));
  display: flex; flex-direction: column; overflow: hidden;
  background: var(--surface); color: var(--text); border: 1px solid var(--border); border-radius: 16px; box-shadow: var(--shadow-lg);
}
.assistant[hidden] { display: none; }
.assistant-head { display: flex; align-items: center; gap: 12px; padding: 14px 12px 14px 16px; background: var(--navy); color: var(--on-navy); }
.assistant-head img { width: 36px; height: 36px; border-radius: 8px; background: #fff; flex: none; }
.assistant-head > div { flex: 1; min-width: 0; }
.assistant-title { font-family: var(--font-head); font-weight: 700; font-size: 0.98rem; color: #fff; line-height: 1.2; }
.assistant-sub { font-size: 0.76rem; color: var(--on-navy-muted); margin-top: 2px; }
.assistant-icon-btn { width: 34px; height: 34px; display: grid; place-items: center; flex: none; border: 0; border-radius: 8px; background: transparent; color: var(--on-navy-muted); cursor: pointer; }
.assistant-icon-btn:hover { background: rgba(255, 255, 255, 0.1); color: #fff; }
.assistant-icon-btn svg, .assistant-send svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

.assistant-log { flex: 1; overflow-y: auto; padding: 16px; display: flex; flex-direction: column; gap: 10px; background: var(--bg-alt); overscroll-behavior: contain; }
.assistant-msg { max-width: 88%; padding: 10px 14px; border-radius: 14px; font-size: 0.9rem; line-height: 1.55; overflow-wrap: anywhere; }
.assistant-msg--bot { align-self: flex-start; background: var(--surface); border: 1px solid var(--border); border-bottom-left-radius: 4px; }
.assistant-msg--user { align-self: flex-end; background: var(--navy); color: #fff; border-bottom-right-radius: 4px; white-space: pre-wrap; }
.assistant-msg p + p, .assistant-msg p + ul, .assistant-msg ul + p { margin-top: 8px; }
.assistant-msg ul { padding-left: 18px; list-style: disc; }
.assistant-msg li + li { margin-top: 3px; }
.assistant-msg strong { color: var(--heading); }
.assistant-msg em { color: var(--muted); font-size: 0.85rem; }
.assistant-msg a { color: var(--gold-text); font-weight: 700; text-decoration: underline; text-underline-offset: 2px; }
.assistant-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.assistant-chip { padding: 8px 12px; border: 1px solid var(--gold-line); border-radius: 999px; background: var(--surface); color: var(--heading); font: inherit; font-size: 0.82rem; font-weight: 600; cursor: pointer; text-align: left; }
.assistant-chip:hover { background: var(--gold-soft); border-color: var(--gold); }
.assistant-typing { display: inline-flex; gap: 5px; padding: 14px 16px; }
.assistant-typing span { width: 7px; height: 7px; border-radius: 50%; background: var(--muted); animation: assistant-dot 1.2s infinite ease-in-out; }
.assistant-typing span:nth-child(2) { animation-delay: 0.15s; }
.assistant-typing span:nth-child(3) { animation-delay: 0.3s; }
@keyframes assistant-dot { 0%, 80%, 100% { opacity: 0.25; transform: translateY(0); } 40% { opacity: 1; transform: translateY(-3px); } }

.assistant-form { display: flex; align-items: flex-end; gap: 8px; padding: 12px 12px 6px; border-top: 1px solid var(--border); background: var(--surface); }
.assistant-form textarea {
  flex: 1; min-height: 42px; max-height: 120px; resize: none; padding: 10px 12px;
  border: 1px solid var(--border-strong); border-radius: 10px; background: var(--bg); color: var(--text); font: inherit; font-size: 0.92rem; line-height: 1.4;
}
.assistant-form textarea:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px var(--gold-soft); }
.assistant-send { width: 42px; height: 42px; flex: none; display: grid; place-items: center; border: 0; border-radius: 10px; background: var(--gold); color: var(--on-gold); cursor: pointer; }
.assistant-send:hover { background: var(--gold-hover); }
.assistant-send:disabled { opacity: 0.5; cursor: wait; }
.assistant-note { padding: 4px 14px 12px; font-size: 0.7rem; line-height: 1.45; color: var(--muted); background: var(--surface); }
.assistant-note a { color: var(--gold-text); text-decoration: underline; }

@media (max-width: 560px) {
  .assistant-launcher { right: 16px; bottom: 16px; width: 54px; height: 54px; padding: 0; justify-content: center; }
  .assistant-launcher__text { display: none; }
  .assistant { inset: 0; width: 100%; height: 100%; height: 100dvh; border-radius: 0; border: 0; }
  .assistant-open .assistant-launcher { display: none; }
  .assistant-open body { overflow: hidden; }
}
@media print { .assistant-launcher, .assistant { display: none !important; } }

/* 404 */
.notfound { min-height: 70vh; display: grid; place-items: center; text-align: left; }
.big-code { font-family: var(--font-head); font-weight: 800; font-size: clamp(5rem, 16vw, 9rem); line-height: 1; color: transparent; -webkit-text-stroke: 1.5px var(--gold); }

/* 12. MOTION --------------------------------------------------------------- */
.js .will-reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.2, 0.7, 0.2, 1), box-shadow 0.3s ease, border-color 0.3s ease; }
.js .will-reveal.is-visible { opacity: 1; transform: none; }
.js .will-reveal.is-visible.card--hover:hover, .js .will-reveal.is-visible.comp-card:hover, .js .will-reveal.is-visible.team-card:hover, .js .will-reveal.is-visible.role-card:hover { transform: translateY(-4px); transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
}

/* 13. RESPONSIVE ----------------------------------------------------------- */
/* Smaller laptops: a little less space between menu items so the full menu fits. */
@media (max-width: 1320px) {
  .main-nav > ul { gap: 2px; }
  .nav-link { padding: 8px 8px; }
  .nav-link::after { left: 8px; right: 8px; }
}
@media (max-width: 1200px) {
  .main-nav, .header-cta { display: none; }
  .nav-toggle { display: inline-grid; }
  .header-inner { display: flex; }
  .header-actions { margin-left: auto; }
  .footer-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; }
  .footer-brand { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; gap: 12px 28px; }
  .footer-brand p { margin: 0; flex: 1 1 260px; }
  .footer-brand .footer-email { margin-top: 0; }
  .journey { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .journey-step:nth-child(3)::after { display: none; }
  .process { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .process li:nth-child(4) { border-left: 0; }
  .process li:nth-child(n+4) { border-top: 1px solid var(--border); }
  .process--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .process--4 li:nth-child(3) { border-left: 0; border-top: 1px solid var(--border); }
  .process--4 li:nth-child(4) { border-left: 1px solid var(--border); }
}

@media (max-width: 980px) {
  .split--sticky > :first-child, .contact-grid--sticky > :first-child { position: static; }
  .hero-media__logo { right: 0; height: 70%; opacity: 0.22; }
  :root { --gutter: 28px; }
  .section { padding: 80px 0; }
  .hero { padding: 96px 0 88px; }
  .hero-inner { grid-template-columns: 1fr; gap: 48px; }
  .hero-art { justify-self: start; max-width: 240px; order: -1; }
  .doc-grid { grid-template-columns: 1fr; }
  .cta-band .container { grid-template-columns: minmax(0, 1fr); text-align: center; }
  .cta-band h2, .cta-band p { margin-left: auto; margin-right: auto; }
  .cta-band .cta-actions { grid-column: 1; grid-row: auto; margin-top: 22px; flex-wrap: wrap; }
  .split, .split--even, .contact-grid { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .g-3, .team-grid, .advance-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .g-4, .g-5 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .visibility-map, .proof { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .advance-card--out { grid-column: 1 / -1; }
  .bracket-sum { grid-template-columns: 1fr auto 1fr; }
  .bracket-sum .sum-op:nth-of-type(2) { display: none; }
  .bracket-sum .sum-box--total { grid-column: 1 / -1; }
}

@media (max-width: 760px) {
  :root { --gutter: 20px; --header-h: 68px; }
  .brand-mark { width: 40px; height: 40px; }
  .brand-name { font-size: 0.92rem; }
  .section { padding: 64px 0; }
  .section--tight { padding: 52px 0; }
  .section-head { margin-bottom: 34px; }
  .hero { padding: 72px 0 68px; }
  .hero::before { width: 320px; height: 320px; right: -30%; }
  .hero::after { inset: 0; opacity: 0.18; }
  .hero-actions .btn, .cta-actions .btn { flex: 1 1 auto; }
  .hero-art { max-width: 180px; }
  .hero-media { min-height: 0; }
  .hero-media__inner { padding-top: 64px; padding-bottom: 72px; }
  .hero-media__logo { right: 50%; transform: translate(50%, -50%); height: 72%; opacity: 0.16; }
  .hero-media__shade { background: linear-gradient(180deg, rgba(8, 13, 30, 0.55), rgba(8, 13, 30, 0.9)); }
  .hero-media .hero-actions .btn { flex: 1 1 auto; }
  .hero-points { gap: 12px; flex-direction: column; }
  .hero-media__toggle { bottom: 16px; }
  .doc-card { grid-template-columns: 1fr; }
  .doc-card .card-icon { margin-bottom: 16px; }
  .doc-card .btn, .doc-card .doc-soon { grid-column: 1; }
  .comp-grid, .spl-grid, .role-grid, .g-2, .g-3, .g-4, .g-5, .team-grid, .advance-grid, .visibility-map, .proof, .form-grid, .check-grid, .platform-points, .legs, .outcomes, .panel-cols, .week-grid { grid-template-columns: 1fr; }
  .advance-card--out { grid-column: auto; }
  .journey { grid-template-columns: 1fr; gap: 14px; }
  .journey-step::after { display: none; }
  .journey-step { display: grid; grid-template-columns: 44px 1fr; column-gap: 16px; padding: 20px; }
  .journey-step .card-icon { grid-row: 1 / span 3; margin: 0; }
  .process, .process--4 { grid-template-columns: 1fr; }
  .process li + li { border-left: 0 !important; border-top: 1px solid var(--border); }
  .card { padding: 24px; }
  .form-card { padding: 26px 20px; }
  .tabpanel { padding: 24px 20px; }
  .panel-head { flex-direction: column; }
  .tablist { display: grid; grid-template-columns: 1fr 1fr; }
  .tab { justify-content: flex-start; padding: 0 14px; font-size: 0.85rem; }
  .strip { padding: 26px 22px; }
  .strip-actions, .strip-actions .btn { width: 100%; }
  .cta-band { padding: 44px 0; }
  .pull-quote { padding-left: 18px; }
  .site-footer { padding-top: 44px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px 20px; }
  .footer-brand { display: block; }
  .footer-brand p { margin: 12px 0 14px; }
  .footer-brand .footer-email { margin-top: 12px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; gap: 6px; margin-top: 28px; }
  .pillars { font-size: 0.64rem; letter-spacing: 0.16em; }
  .tl-card { flex-direction: column; align-items: flex-start; gap: 4px; padding: 16px 18px; }
  .bracket-sum { grid-template-columns: 1fr auto 1fr; gap: 10px; }
  .sum-box { padding: 16px 10px; }
  .sum-box .n { font-size: 1.8rem; }
  .pot-draw { grid-template-columns: repeat(2, minmax(0, 1fr)); }

  /* Format table → stacked cards */
  .format-table, .format-table tbody, .format-table tr, .format-table th, .format-table td { display: block; width: 100%; }
  .format-table { border: 0; background: none; box-shadow: none; }
  .format-table thead { display: none; }
  .format-table tr { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); margin-bottom: 12px; padding: 16px 18px; box-shadow: var(--shadow); display: grid; grid-template-columns: 1fr auto; gap: 6px 12px; }
  .format-table th, .format-table td { padding: 0; border: 0; }
  .format-table td:nth-of-type(1) { grid-row: 1; grid-column: 2; }
  .format-table td:nth-of-type(2) { grid-column: 1 / -1; font-size: 0.9rem; }
  .format-table tr.is-final { background: var(--gold-soft); }
  .format-table tr.is-final th, .format-table tr.is-final td { background: none; }
}

@media (max-width: 420px) {
  .tablist { grid-template-columns: 1fr; }
  .days { grid-template-columns: 1fr; }
  .hero h1 { font-size: 2.15rem; }
}
/* Contact form: extra questions for a chosen topic */
.topic-fields { border: 0; padding: 0; margin: 4px 0 0; min-width: 0; }
.topic-legend { padding: 0; margin-bottom: 12px; font-family: var(--font-head); font-weight: 700; color: var(--heading); }

/* Home: "Compete now" — MECS Regionals feature card + latest champions (Tournament Hub) */
.compete-grid { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: 24px; align-items: stretch; }
@media (max-width: 900px) { .compete-grid { grid-template-columns: minmax(0, 1fr); } }

.compete-feature {
  position: relative; overflow: hidden; display: flex; flex-direction: column; gap: 22px;
  padding: clamp(24px, 3vw, 36px); border-radius: 16px; color: var(--on-navy);
  background: radial-gradient(120% 90% at 100% 0%, rgba(212, 174, 85, 0.22), transparent 55%), linear-gradient(160deg, var(--navy-2), var(--navy-deep));
  box-shadow: var(--shadow-lg);
}
.compete-feature__head { display: flex; align-items: center; gap: 16px; }
.compete-feature__head img { width: 72px; height: 72px; border-radius: 14px; flex: none; object-fit: cover; box-shadow: 0 0 0 1px var(--gold-line); }
.compete-kicker { margin: 0 0 4px; font-size: 0.72rem; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; color: var(--gold); }
.compete-feature h3 { margin: 0; font-size: clamp(1.5rem, 2.4vw, 1.9rem); color: #fff; }

.compete-next { margin: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 10px; padding: 12px 14px; border-radius: 12px; background: rgba(255, 255, 255, 0.06); border: 1px solid var(--navy-line); }
.compete-next__label { font-size: 0.7rem; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; color: var(--on-gold); background: var(--gold); padding: 4px 9px; border-radius: 999px; }
.compete-next strong { color: #fff; font-weight: 700; }

.compete-facts { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 18px; }
@media (max-width: 520px) { .compete-facts { grid-template-columns: minmax(0, 1fr); } }
.compete-facts li { display: flex; align-items: center; gap: 12px; min-width: 0; }
.compete-facts li > span:last-child { display: flex; flex-direction: column; min-width: 0; font-size: 0.86rem; color: var(--on-navy-muted); }
.compete-facts strong { color: #fff; font-size: 0.95rem; }
.compete-ico { display: inline-grid; place-items: center; width: 40px; height: 40px; flex: none; border-radius: 10px; background: rgba(212, 174, 85, 0.14); color: var(--gold); }
.compete-ico .icon { width: 20px; height: 20px; }
.compete-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: auto; }

.compete-side { display: flex; flex-direction: column; gap: 14px; padding: clamp(20px, 2.5vw, 28px); border-radius: 16px; background: var(--surface); border: 1px solid var(--border); box-shadow: var(--shadow); }
.recent-title { font-size: 0.75rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.1em; color: var(--muted); margin: 0 0 12px; }
.recent-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.recent-list a { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 12px; background: var(--surface-2); border: 1px solid transparent; color: var(--text); text-decoration: none; transition: border-color 0.15s, transform 0.15s; }
.recent-list a:hover { border-color: var(--gold); transform: translateX(2px); }
.recent-list img, .recent-blank { width: 40px; height: 40px; border-radius: 10px; object-fit: contain; flex: none; background: var(--surface); display: inline-grid; place-items: center; color: var(--gold); box-shadow: 0 0 0 1px var(--border); }
.recent-list a > span { display: flex; flex-direction: column; min-width: 0; }
.recent-list strong { color: var(--heading); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.recent-list a > span > span { font-size: 0.84rem; color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.compete-hub { margin-top: auto; display: flex; align-items: center; gap: 12px; padding: 14px; border-radius: 12px; border: 1px dashed var(--gold-line); color: var(--text); text-decoration: none; transition: background-color 0.15s; }
.compete-hub:hover { background: var(--gold-soft); }
.compete-hub > span:nth-child(2) { display: flex; flex-direction: column; flex: 1; min-width: 0; font-size: 0.86rem; color: var(--muted); }
.compete-hub strong { color: var(--heading); font-size: 0.98rem; }
.compete-hub .compete-ico { background: var(--gold-soft); color: var(--gold-text); }
.compete-hub__arrow { color: var(--gold-text); }

/* About: "Our story" section */
.story-split { gap: clamp(32px, 5vw, 72px); }
.story-split .brand-panel { margin-top: 0; }
.story-split h2 { margin: 6px 0 16px; font-size: clamp(1.8rem, 3vw, 2.4rem); }
.story-lead { margin: 0 0 12px; font-family: var(--font-head); font-weight: 700; font-size: clamp(1.08rem, 1.6vw, 1.25rem); line-height: 1.4; color: var(--heading); }
.story-text { margin: 0 0 18px; color: var(--muted); }
.story-points { list-style: none; padding: 0; margin: 0 0 22px; display: grid; gap: 12px; }
.story-points li { display: flex; align-items: center; gap: 12px; font-weight: 600; color: var(--text); }
.story-points .icon { flex: none; width: 34px; height: 34px; padding: 7px; border-radius: 9px; background: var(--gold-soft); color: var(--gold-text); }
.story-close { margin: 0; padding-left: 14px; border-left: 3px solid var(--gold); font-weight: 800; color: var(--heading); }
