/* ==========================================================================
   AI EARNING CLASH — "The Earning Circuit"
   Dark night-ops command console design system
   ========================================================================== */

:root {
  --void: #070A10;
  --cobalt: #121A2C;
  --cobalt-2: #17203A;
  --frost: #EAF0F8;
  --volt: #C8F542;
  --mute: #8B93A7;
  --link-on-dark: #C8F542;
  --link-on-cobalt: #D4FF6A;
  --void-text: #070A10;
  --border-soft: rgba(234, 240, 248, 0.10);
  --border-volt: rgba(200, 245, 66, 0.35);

  --font-display: 'Unbounded', 'Segoe UI', Arial, sans-serif;
  --font-body: 'Source Sans 3', 'Segoe UI', Arial, sans-serif;
  --font-mono: 'JetBrains Mono', 'Consolas', monospace;

  --rail-w: 88px;
  --bar-h: 56px;
  --drawer-w: 280px;
  --radius: 4px;
  --container: 1220px;
}

/* ---------------------------- Reset ---------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--void);
  color: var(--frost);
  font-family: var(--font-body);
  font-weight: 400;
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; height: auto; }
ul, ol { padding: 0; margin: 0; list-style: none; }
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 800; line-height: 1.15; margin: 0 0 0.6em; color: var(--frost); }
h3, h4 { font-weight: 700; }
p { margin: 0 0 1em; color: var(--frost); }
a { color: var(--link-on-dark); text-decoration: none; }
a:hover { text-decoration: underline; }
button { font-family: inherit; cursor: pointer; }
main :is(h1,h2,h3,h4,p,li,dt,dd,figcaption) { color: inherit; }

.mono { font-family: var(--font-mono); letter-spacing: 0.04em; }

/* ------------------------- Skip link ------------------------- */
.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--volt);
  color: var(--void-text);
  padding: 10px 16px;
  z-index: 999;
  font-family: var(--font-mono);
  font-weight: 500;
}
.skip-link:focus { left: var(--rail-w); top: var(--bar-h); }

/* ------------------------- Command Rail (desktop left nav) ------------------------- */
.command-rail {
  position: fixed;
  top: 0; left: 0; bottom: 0;
  width: var(--rail-w);
  background: var(--cobalt);
  border-right: 1px solid var(--border-soft);
  display: flex;
  flex-direction: column;
  align-items: center;
  z-index: 60;
  padding: 12px 0 20px;
}
.rail-logo {
  width: 48px; height: 48px;
  display: flex; align-items: center; justify-content: center;
  border: 1px solid var(--border-volt);
  border-radius: var(--radius);
  margin-bottom: 28px;
  flex-shrink: 0;
}
.rail-logo .logo-mark {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 15px;
  color: var(--volt);
  letter-spacing: 0.02em;
}
.rail-nav {
  display: flex;
  flex-direction: column;
  gap: 6px;
  width: 100%;
  align-items: center;
}
.rail-link {
  position: relative;
  width: 56px; height: 56px;
  display: flex; align-items: center; justify-content: center;
  color: var(--mute);
  border-radius: var(--radius);
  border: 1px solid transparent;
}
.rail-link svg { width: 22px; height: 22px; stroke: currentColor; fill: none; stroke-width: 1.6; }
.rail-link:hover { color: var(--frost); background: rgba(234,240,248,0.04); text-decoration: none; }
.rail-link.is-active { color: var(--volt); border-color: var(--border-volt); background: rgba(200,245,66,0.06); }
.rail-link.is-active::before {
  content: "";
  position: absolute;
  left: -1px; top: 10px; bottom: 10px;
  width: 2px;
  background: var(--volt);
}
.rail-link .tip {
  position: absolute;
  left: 68px;
  white-space: nowrap;
  background: var(--cobalt-2);
  border: 1px solid var(--border-soft);
  color: var(--frost);
  font-family: var(--font-mono);
  font-size: 11px;
  padding: 6px 10px;
  border-radius: var(--radius);
  opacity: 0;
  visibility: hidden;
  transform: translateX(-4px);
  transition: opacity 0.15s, transform 0.15s;
  pointer-events: none;
  z-index: 70;
}
.rail-link:hover .tip, .rail-link:focus-visible .tip { opacity: 1; visibility: visible; transform: translateX(0); }
.rail-foot {
  margin-top: auto;
  font-family: var(--font-mono);
  font-size: 9px;
  color: var(--mute);
  writing-mode: vertical-rl;
  letter-spacing: 0.1em;
  padding-bottom: 6px;
}

/* ------------------------- Top Command Bar ------------------------- */
.command-bar {
  position: fixed;
  top: 0; right: 0;
  left: var(--rail-w);
  height: var(--bar-h);
  background: var(--void);
  border-bottom: 1px solid var(--border-soft);
  display: flex;
  align-items: center;
  z-index: 55;
  padding: 0 20px;
  gap: 16px;
}
.breadcrumb {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--mute);
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 1;
  min-width: 0;
  overflow: hidden;
  white-space: nowrap;
}
.breadcrumb a { color: var(--mute); }
.breadcrumb a:hover { color: var(--volt); }
.breadcrumb .crumb-sep { color: var(--border-volt); }
.breadcrumb .crumb-current { color: var(--frost); }
.cohort-tag {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--volt);
  border: 1px solid var(--border-volt);
  padding: 5px 12px;
  border-radius: var(--radius);
  flex-shrink: 0;
  display: none;
}
.bar-cta { flex-shrink: 0; padding: 9px 18px; font-size: 13px; }
.bar-wordmark { display: none; font-family: var(--font-display); font-weight: 800; font-size: 15px; color: var(--frost); letter-spacing: 0.01em; }
.bar-wordmark span { color: var(--volt); }

.hamburger {
  display: none;
  flex-shrink: 0;
  width: 40px; height: 40px;
  background: transparent;
  border: 1px solid var(--border-soft);
  border-radius: var(--radius);
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 4px;
}
.hamburger span { display: block; width: 18px; height: 2px; background: var(--frost); }

/* ------------------------- Buttons ------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 15px;
  padding: 13px 26px;
  border-radius: var(--radius);
  border: 1px solid transparent;
  text-decoration: none;
  transition: transform 0.15s ease, background 0.15s ease, border-color 0.15s ease;
  line-height: 1.2;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn-volt { background: var(--volt); color: var(--void-text); border-color: var(--volt); }
.btn-volt:hover { background: #d7ff63; }
.btn-outline { background: transparent; color: var(--frost); border-color: rgba(234,240,248,0.35); }
.btn-outline:hover { border-color: var(--frost); background: rgba(234,240,248,0.06); }
.btn-block { width: 100%; }

/* ------------------------- Layout shell ------------------------- */
.page-shell { padding-left: var(--rail-w); padding-top: var(--bar-h); min-height: 100vh; display: flex; flex-direction: column; }
.container { max-width: var(--container); margin: 0 auto; padding: 0 28px; }
main { flex: 1; }
section { padding: 88px 0; position: relative; }
section + section { border-top: 1px solid var(--border-soft); }
.section-tight { padding: 64px 0; }

.eyebrow {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.16em;
  color: var(--volt);
  text-transform: uppercase;
  margin-bottom: 14px;
  display: block;
}
.section-head { max-width: 680px; margin-bottom: 48px; }
.section-head h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); }
.section-head p { color: var(--mute); font-size: 1.05rem; }
.lede { font-size: 1.15rem; color: var(--mute); max-width: 700px; }

/* ------------------------- Corner bracket ticks ------------------------- */
.bracket {
  position: relative;
}
.bracket::before, .bracket::after {
  content: "";
  position: absolute;
  width: 14px; height: 14px;
  border-color: var(--border-volt);
  z-index: 2;
}
.bracket::before { top: -1px; left: -1px; border-top: 2px solid; border-left: 2px solid; }
.bracket::after { bottom: -1px; right: -1px; border-bottom: 2px solid; border-right: 2px solid; }

/* ------------------------- Surfaces ------------------------- */
.surface-void { background: var(--void); }
.surface-cobalt { background: var(--cobalt); }
.surface-volt { background: var(--volt); color: var(--void-text); }
.surface-volt h2, .surface-volt h3, .surface-volt p { color: var(--void-text); }
.surface-frost { background: var(--frost); color: #1B2334; border-radius: 8px; }
.surface-frost h2, .surface-frost h3, .surface-frost label, .surface-frost p { color: #1B2334; }
.surface-frost a { color: #1C4EAF; }

/* ------------------------- Hero: The Circuit ------------------------- */
.hero-circuit {
  position: relative;
  min-height: 82vh;
  display: flex;
  align-items: flex-end;
  background-color: var(--void);
  background-image: linear-gradient(180deg, rgba(7,10,16,0.55) 0%, rgba(7,10,16,0.72) 55%, rgba(7,10,16,0.94) 100%), url('/images/aiearningclash-01-hero-circuit.jpg');
  background-size: cover;
  background-position: center;
  overflow: hidden;
}
.hero-top-strip {
  position: absolute;
  top: 0; left: 0; right: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 22px 28px;
  border-bottom: 1px solid rgba(234,240,248,0.14);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
}
.hero-top-strip .strip-left { color: var(--volt); }
.hero-top-strip .strip-right { color: var(--frost); }
.hero-body { padding: 64px 28px 56px; max-width: var(--container); margin: 0 auto; width: 100%; }
.hero-eyebrow {
  font-family: var(--font-mono);
  font-size: 12.5px;
  letter-spacing: 0.22em;
  color: var(--volt);
  text-transform: uppercase;
  margin-bottom: 18px;
  display: block;
}
.hero-circuit h1 {
  font-size: clamp(2.1rem, 5vw, 3.6rem);
  max-width: 780px;
  margin-bottom: 20px;
}
.hero-circuit h1 .volt-text { color: var(--volt); }
.hero-sub { color: var(--frost); opacity: 0.88; font-size: 1.12rem; max-width: 560px; margin-bottom: 32px; }
.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 44px; }
.trust-strip {
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--mute);
  border-top: 1px solid rgba(234,240,248,0.14);
  padding-top: 20px;
}
.trust-strip strong { color: var(--frost); font-weight: 500; }

/* ------------------------- Metric trio ------------------------- */
.metric-trio { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--border-soft); border: 1px solid var(--border-soft); }
.metric-cell { background: var(--cobalt); padding: 32px 28px; }
.metric-num { font-family: var(--font-mono); font-size: clamp(2rem, 4vw, 2.8rem); color: var(--volt); font-weight: 500; line-height: 1; margin-bottom: 10px; }
.metric-label { color: var(--frost); font-weight: 600; margin-bottom: 6px; }
.metric-desc { color: var(--mute); font-size: 0.92rem; margin: 0; }

/* ------------------------- Rounds grid (4 rounds) ------------------------- */
.rounds-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.round-card {
  background: var(--cobalt);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius);
  padding: 28px 22px;
  position: relative;
}
.round-card .round-tag { font-family: var(--font-mono); font-size: 11px; color: var(--volt); letter-spacing: 0.1em; margin-bottom: 16px; display: block; }
.round-card h3 { font-size: 1.15rem; margin-bottom: 10px; }
.round-card p { color: var(--mute); font-size: 0.94rem; margin: 0; }

/* ------------------------- Method / how it works ------------------------- */
.method-list { display: grid; gap: 18px; }
.method-row {
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 24px;
  padding: 26px 0;
  border-bottom: 1px solid var(--border-soft);
  align-items: start;
}
.method-row:last-child { border-bottom: none; }
.method-idx { font-family: var(--font-mono); font-size: 13px; color: var(--volt); padding-top: 4px; }
.method-row h3 { font-size: 1.2rem; margin-bottom: 8px; }
.method-row p { color: var(--mute); margin: 0; }

/* ------------------------- Programme volt rail (6 programmes) ------------------------- */
.programme-rail { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.programme-card {
  background: var(--cobalt);
  border: 1px solid var(--border-soft);
  border-left: 3px solid var(--volt);
  border-radius: var(--radius);
  padding: 26px 24px;
  display: flex;
  flex-direction: column;
  min-height: 100%;
}
.programme-card .round-tag { font-family: var(--font-mono); font-size: 11px; color: var(--volt); letter-spacing: 0.08em; margin-bottom: 12px; }
.programme-card h3 { font-size: 1.1rem; margin-bottom: 10px; }
.programme-card p { color: var(--mute); font-size: 0.92rem; flex-grow: 1; }
.programme-card .card-link { margin-top: 14px; font-family: var(--font-mono); font-size: 12.5px; color: var(--link-on-cobalt); }

/* ------------------------- Learner scenarios ------------------------- */
.scenario-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.scenario-card { background: var(--cobalt); border: 1px solid var(--border-soft); border-radius: var(--radius); padding: 32px; }
.scenario-card .scenario-role { font-family: var(--font-mono); font-size: 11px; color: var(--volt); letter-spacing: 0.1em; margin-bottom: 14px; display: block; }
.scenario-card h3 { font-size: 1.15rem; margin-bottom: 12px; }
.scenario-card p { color: var(--mute); }
.scenario-card ul { margin: 16px 0 0; display: grid; gap: 8px; }
.scenario-card li { color: var(--frost); font-size: 0.94rem; padding-left: 18px; position: relative; }
.scenario-card li::before { content: "›"; color: var(--volt); position: absolute; left: 0; font-weight: 700; }

/* ------------------------- FAQ accordion (details/summary, no-JS friendly) ------------------------- */
.faq-list { display: grid; gap: 1px; background: var(--border-soft); border: 1px solid var(--border-soft); border-radius: var(--radius); overflow: hidden; }
.faq-item { background: var(--cobalt); }
.faq-item summary {
  padding: 22px 26px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.02rem;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  font-family: var(--font-mono);
  color: var(--volt);
  font-size: 1.3rem;
  flex-shrink: 0;
  transition: transform 0.15s;
}
.faq-item[open] summary::after { content: "–"; }
.faq-item .faq-body { padding: 0 26px 24px; color: var(--mute); max-width: 760px; }
.faq-item .faq-body p:last-child { margin-bottom: 0; }

/* ------------------------- CTA banner ------------------------- */
.cta-band { text-align: left; }
.cta-band .container { display: flex; justify-content: space-between; align-items: center; gap: 32px; flex-wrap: wrap; }
.cta-band h2 { margin-bottom: 6px; font-size: clamp(1.5rem, 2.6vw, 2rem); }
.cta-band p { margin: 0; }
.cta-band .cta-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.surface-volt .btn-outline { border-color: rgba(7,10,16,0.4); color: var(--void-text); }
.surface-volt .btn-outline:hover { background: rgba(7,10,16,0.08); }
.surface-volt .btn-volt { background: var(--void); color: var(--frost); border-color: var(--void); }
.surface-volt .btn-volt:hover { background: #1a2438; }

/* ------------------------- Cards (generic content cards) ------------------------- */
.card-cobalt { background: var(--cobalt); border: 1px solid var(--border-soft); border-radius: var(--radius); padding: 28px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }

.photo-frame { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--border-soft); }
.photo-frame img { width: 100%; height: 100%; object-fit: cover; }

.stat-line { display: flex; gap: 10px; align-items: baseline; font-family: var(--font-mono); color: var(--mute); font-size: 0.9rem; margin-bottom: 6px; }
.stat-line strong { color: var(--volt); font-size: 1.1rem; }

/* ------------------------- Page header (inner pages) ------------------------- */
.page-header { padding: 70px 0 54px; border-bottom: 1px solid var(--border-soft); }
.page-header .eyebrow { margin-bottom: 16px; }
.page-header h1 { font-size: clamp(1.9rem, 4vw, 2.9rem); max-width: 760px; }
.page-header .lede { margin-top: 14px; }

/* ------------------------- Forms (dark circuit panel) ------------------------- */
.form-panel {
  background: var(--cobalt);
  color: var(--frost);
  border: 1px solid var(--border-volt);
  border-radius: 8px;
  padding: 36px;
  box-shadow: 0 0 0 1px rgba(200, 245, 66, 0.06), 0 24px 60px -36px rgba(0, 0, 0, 0.65);
}
.form-panel h2,
.form-panel h3,
.form-panel label,
.form-panel p { color: var(--frost); }
.form-panel a { color: var(--link-on-cobalt); }
.form-panel .eyebrow { color: var(--volt); }

.form-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.form-field { display: flex; flex-direction: column; gap: 7px; margin-bottom: 4px; }
.form-field.full { grid-column: 1 / -1; }
.form-field label { font-weight: 600; font-size: 0.92rem; color: var(--frost); }
.form-field input, .form-field select, .form-field textarea {
  font-family: var(--font-body);
  font-size: 15px;
  padding: 12px 14px;
  border-radius: var(--radius);
  border: 1px solid rgba(234, 240, 248, 0.18);
  background: var(--void);
  color: var(--frost);
  color-scheme: dark;
}
.form-field input::placeholder,
.form-field textarea::placeholder { color: var(--mute); opacity: 0.85; }
.form-field select {
  appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, var(--volt) 50%),
    linear-gradient(135deg, var(--volt) 50%, transparent 50%);
  background-position: calc(100% - 18px) calc(50% - 2px), calc(100% - 12px) calc(50% - 2px);
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
  padding-right: 36px;
}
.form-field select option { background: var(--cobalt); color: var(--frost); }
.form-field input:focus, .form-field select:focus, .form-field textarea:focus {
  outline: 2px solid var(--volt);
  outline-offset: 1px;
  border-color: rgba(200, 245, 66, 0.55);
}
.form-field textarea { resize: vertical; min-height: 120px; }
.consent-row { display: flex; align-items: flex-start; gap: 10px; margin: 8px 0 18px; grid-column: 1 / -1; }
.consent-row input { margin-top: 3px; width: 17px; height: 17px; flex-shrink: 0; accent-color: var(--volt); }
.consent-row label { font-size: 0.88rem; color: var(--mute); font-weight: 400; }
.honey-field { position: absolute; left: -9999px; top: -9999px; opacity: 0; }
.form-note { font-size: 0.82rem; color: var(--mute); margin-top: 10px; }
.form-status { margin-top: 14px; font-size: 0.9rem; color: var(--frost); }

/* ------------------------- Footer ------------------------- */
.site-footer {
  background: var(--cobalt);
  border-top: 1px solid var(--border-soft);
  padding: 64px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1.2fr;
  gap: 40px;
  padding-bottom: 48px;
}
.footer-brand .logo-mark-lg { font-family: var(--font-display); font-weight: 800; font-size: 1.3rem; color: var(--frost); }
.footer-brand .logo-mark-lg span { color: var(--volt); }
.footer-brand p { color: var(--mute); margin-top: 14px; max-width: 320px; }
.footer-col h4 { font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.1em; color: var(--mute); text-transform: uppercase; margin-bottom: 18px; font-weight: 500; }
.footer-col ul { display: grid; gap: 11px; }
.footer-col a { color: var(--frost); }
.footer-col a:hover { color: var(--link-on-cobalt); }
.footer-address p { color: var(--frost); margin-bottom: 10px; }
.footer-address .mono { color: var(--mute); font-size: 0.88rem; }
.footer-bottom {
  border-top: 1px solid var(--border-soft);
  padding: 20px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 0.82rem;
  color: var(--mute);
}
.footer-bottom-links { display: flex; gap: 18px; flex-wrap: wrap; }
.footer-bottom-links a { color: var(--mute); }
.footer-bottom-links a:hover { color: var(--volt); }
.footer-disclaimer { color: var(--mute); font-size: 0.8rem; max-width: 900px; padding: 0 0 24px; line-height: 1.6; }

/* ------------------------- Mobile drawer ------------------------- */
.drawer-overlay {
  position: fixed; inset: 0;
  background: rgba(7,10,16,0.7);
  z-index: 80;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s;
}
.drawer-overlay.is-open { opacity: 1; visibility: visible; }
.drawer {
  position: fixed;
  top: 0; left: 0; bottom: 0;
  width: var(--drawer-w);
  background: var(--cobalt);
  border-right: 1px solid var(--border-soft);
  z-index: 90;
  transform: translateX(-100%);
  transition: transform 0.22s ease;
  padding: 22px 22px 30px;
  display: flex;
  flex-direction: column;
  overflow-y: auto;
}
.drawer.is-open { transform: translateX(0); }
.drawer-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 30px; }
.drawer-wordmark { font-family: var(--font-display); font-weight: 800; font-size: 1.05rem; color: var(--frost); }
.drawer-wordmark span { color: var(--volt); }
.drawer-close { background: transparent; border: 1px solid var(--border-soft); color: var(--frost); width: 36px; height: 36px; border-radius: var(--radius); font-size: 18px; }
.drawer-nav { display: grid; gap: 4px; }
.drawer-link { display: flex; align-items: center; gap: 14px; padding: 13px 12px; border-radius: var(--radius); color: var(--frost); font-weight: 600; }
.drawer-link svg { width: 20px; height: 20px; stroke: currentColor; fill: none; stroke-width: 1.6; flex-shrink: 0; }
.drawer-link:hover, .drawer-link:focus-visible { background: rgba(234,240,248,0.06); text-decoration: none; }
.drawer-link.is-active { color: var(--volt); background: rgba(200,245,66,0.08); }
.drawer-foot { margin-top: auto; padding-top: 24px; border-top: 1px solid var(--border-soft); }
.drawer-foot .btn { width: 100%; }

/* ------------------------- Cookie banner ------------------------- */
.cookie-banner {
  position: fixed;
  bottom: 16px;
  left: 16px;
  right: 16px;
  max-width: 720px;
  margin: 0 auto;
  background: var(--cobalt-2);
  border: 1px solid var(--border-soft);
  border-radius: 8px;
  padding: 22px 24px;
  z-index: 200;
  box-shadow: 0 12px 40px rgba(0,0,0,0.5);
}
.cookie-banner[hidden] { display: none; }
.cookie-banner p { font-size: 0.92rem; color: var(--frost); margin: 0 0 6px; }
.cookie-banner .cookie-note { color: var(--mute); font-size: 0.82rem; margin-bottom: 16px; }
.cookie-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.cookie-actions .btn { padding: 10px 18px; font-size: 13.5px; }

/* ------------------------- Reveal (JS-only, ≤800ms safety) ------------------------- */
.js .reveal {
  opacity: 0;
  transform: translateY(0);
  transition: opacity 0.5s ease;
}
.js .reveal.is-visible { opacity: 1; }

/* ------------------------- Utility ------------------------- */
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.split-2 {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
}
@media (max-width: 900px) {
  .split-2 { grid-template-columns: 1fr; }
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (min-width: 1000px) {
  .cohort-tag { display: flex; align-items: center; }
}

@media (max-width: 999px) {
  .command-rail { display: none; }
  .command-bar { left: 0; padding: 0 16px; justify-content: space-between; }
  .hamburger { display: flex; }
  .bar-wordmark { display: block; }
  .breadcrumb { display: none; }
  .bar-cta { display: none; }
  .page-shell { padding-left: 0; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .rounds-grid { grid-template-columns: repeat(2, 1fr); }
  .programme-rail { grid-template-columns: repeat(2, 1fr); }
  .metric-trio { grid-template-columns: 1fr; }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 680px) {
  section { padding: 56px 0; }
  .rounds-grid, .programme-rail, .scenario-grid, .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .method-row { grid-template-columns: 1fr; gap: 8px; }
  .hero-body { padding: 48px 20px 40px; }
  .cta-band .container { flex-direction: column; align-items: flex-start; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .container { padding: 0 18px; }
}
