/* ============================================================
   SOVEREIGN SIGNAL — ROYAL
   Governor's Office · Republic of Namibia
   Palette: white · black · royal blue (NYDF flagship tones)
   ============================================================ */

:root {
  --cream: #ffffff;
  --paper: #ffffff;
  --parchment: #f5f8fd;
  --hairline: #dde5f2;
  --hairline-soft: #eaf0fa;

  --ink: #0a0e1a;
  --graphite: #2a3142;
  --slate: #5a6275;
  --mist: #9099ae;

  --ember: #1e40af;
  --ember-soft: #dce7ff;
  --navy: #050f2e;
  --navy-deep: #020618;
  --gold: #93c5fd;
  --gold-soft: #eaf2ff;
  --moss: #1e3a8a;

  --shadow-sm: 0 1px 2px rgba(10, 14, 26, 0.05);
  --shadow-md: 0 8px 24px -12px rgba(10, 14, 26, 0.18);
  --shadow-lg: 0 32px 64px -32px rgba(10, 14, 26, 0.32);

  --radius-sm: 6px;
  --radius-md: 14px;
  --radius-lg: 22px;

  --ease: cubic-bezier(.2,.7,.2,1);
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--cream);
  color: var(--ink);
  font-family: 'Satoshi', -apple-system, sans-serif;
  font-size: 16px;
  line-height: 1.55;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

/* ============================================================
   AMBIENT BACKGROUND — royal silk mesh
   Layered radial washes in royal blue over a cool white base,
   mimicking the atmosphere of nyd.fund's identity.
   ============================================================ */
body::before {
  content: '';
  position: fixed;
  inset: -10%;
  z-index: -2;
  pointer-events: none;
  background:
    /* royal blue bloom upper-left */
    radial-gradient(ellipse 65% 55% at 8% 5%, rgba(30, 64, 175, 0.22), transparent 55%),
    /* sky-blue sweep upper-right */
    radial-gradient(ellipse 55% 65% at 95% 12%, rgba(96, 165, 250, 0.22), transparent 55%),
    /* deep navy counterweight lower-right */
    radial-gradient(ellipse 45% 55% at 88% 78%, rgba(5, 15, 46, 0.16), transparent 60%),
    /* second navy whisper bottom-center */
    radial-gradient(ellipse 60% 45% at 50% 105%, rgba(5, 15, 46, 0.12), transparent 65%),
    /* base cool-white wash */
    radial-gradient(ellipse 100% 80% at 45% 40%, #ffffff 0%, #f2f6fd 35%, #e6eefb 80%);
  filter: blur(20px) saturate(115%);
  animation: breathe 22s ease-in-out infinite alternate;
}

/* Conic accent for the silk-drape directional sweep */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    /* organic flowing turbulence, tinted royal blue */
    url("data:image/svg+xml;utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 800 800'%3E%3Cfilter id='f'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.012' numOctaves='3' seed='7'/%3E%3CfeColorMatrix values='0 0 0 0 0.12  0 0 0 0 0.25  0 0 0 0 0.68  0 0 0 0.3 0'/%3E%3CfeGaussianBlur stdDeviation='8'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23f)'/%3E%3C/svg%3E"),
    /* fine grain on top */
    url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='1.8' numOctaves='2'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.05 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: cover, 200px 200px;
  mix-blend-mode: multiply;
  opacity: 0.7;
}

@keyframes breathe {
  0%   { transform: scale(1)    translate(0, 0)    rotate(0deg); }
  100% { transform: scale(1.08) translate(-1%, 1%) rotate(1.5deg); }
}

/* Typography */
.display, h1, h2, h3 {
  font-family: 'Clash Display', serif;
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.05;
  color: var(--ink);
}

.mono, .mono-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--graphite);
}

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

.wrap {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 32px;
}

/* ============================================================
   UTILITY BAR
   ============================================================ */
.util-bar {
  background: var(--navy-deep);
  color: var(--cream);
  font-size: 12px;
  letter-spacing: 0.05em;
}
.util-bar .wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 34px;
}
.util-bar .util-left,
.util-bar .util-right {
  display: flex;
  gap: 24px;
  align-items: center;
}
.util-bar .pulse {
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--ember);
  margin-right: 8px;
  box-shadow: 0 0 0 0 rgba(30, 64, 175, 0.6);
  animation: pulse 2s infinite;
}
.util-bar a { opacity: .75; transition: opacity .2s; }
.util-bar a:hover { opacity: 1; }

@keyframes pulse {
  0%   { box-shadow: 0 0 0 0 rgba(30, 64, 175, 0.55); }
  70%  { box-shadow: 0 0 0 10px rgba(30, 64, 175, 0); }
  100% { box-shadow: 0 0 0 0 rgba(30, 64, 175, 0); }
}

/* ============================================================
   NAV
   ============================================================ */
nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(250, 246, 238, 0.82);
  backdrop-filter: saturate(180%) blur(16px);
  -webkit-backdrop-filter: saturate(180%) blur(16px);
  border-bottom: 1px solid var(--hairline-soft);
  padding: 18px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
}
.brand-mark {
  width: 42px;
  height: 42px;
  object-fit: contain;
  filter: drop-shadow(0 1px 2px rgba(15, 21, 40, 0.12));
}
.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}
.brand-title {
  font-family: 'Clash Display', serif;
  font-weight: 600;
  font-size: 17px;
  color: var(--ink);
  letter-spacing: -0.01em;
}
.brand-sub {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--slate);
  margin-top: 2px;
}

.nav-links {
  display: flex;
  gap: 36px;
  list-style: none;
  font-size: 14px;
  font-weight: 500;
}
.nav-links a {
  color: var(--graphite);
  position: relative;
  transition: color .2s;
}
.nav-links a:hover { color: var(--ember); }
.nav-links a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 0;
  height: 1px;
  background: var(--ember);
  transition: width .3s var(--ease);
}
.nav-links a:hover::after { width: 100%; }

.cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 20px;
  background: var(--ink);
  color: var(--cream);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.01em;
  transition: transform .2s var(--ease), box-shadow .2s var(--ease);
  box-shadow: var(--shadow-md);
}
.cta:hover {
  transform: translateY(-1px);
  box-shadow: var(--shadow-lg);
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  padding: 80px 0 120px;
  position: relative;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, transparent, var(--hairline));
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  gap: 80px;
  align-items: center;
}

.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 14px;
  border: 1px solid var(--hairline);
  border-radius: 999px;
  background: var(--paper);
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--graphite);
  margin-bottom: 32px;
  box-shadow: var(--shadow-sm);
}
.hero-kicker .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--ember);
  box-shadow: 0 0 0 3px rgba(30, 64, 175, 0.18);
}

.headline {
  font-family: 'Clash Display', serif;
  font-size: clamp(54px, 7vw, 104px);
  line-height: 1.0;
  letter-spacing: -0.035em;
  font-weight: 500;
  color: var(--ink);
}
.headline .gradient {
  color: var(--ember);
  font-style: italic;
  font-weight: 500;
}

.hero-copy {
  font-size: 19px;
  line-height: 1.55;
  color: var(--graphite);
  margin-top: 28px;
  max-width: 560px;
}

.hero-ctas {
  display: flex;
  gap: 14px;
  margin-top: 40px;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 28px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.01em;
  transition: all .25s var(--ease);
  cursor: pointer;
  border: 1px solid transparent;
}
.btn-primary {
  background: var(--ink);
  color: var(--cream);
  box-shadow: var(--shadow-md);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
  background: var(--navy-deep);
}
.btn-secondary {
  background: transparent;
  color: var(--cream);
  border-color: rgba(255, 255, 255, 0.35);
}
.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.65);
  transform: translateY(-2px);
}
.cta-strip__actions {
  display: flex;
  gap: 0.9rem;
  flex-wrap: wrap;
  align-items: center;
  margin-top: 0.5rem;
}
.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--hairline);
}
.btn-ghost:hover {
  background: var(--paper);
  border-color: var(--ink);
}
.btn .arrow { transition: transform .25s var(--ease); }
.btn:hover .arrow { transform: translateX(4px); }

/* Stat stack */
.stat-stack {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.stat-card {
  padding: 28px 30px;
  border-radius: var(--radius-md);
  background: var(--paper);
  border: 1px solid var(--hairline-soft);
  box-shadow: var(--shadow-sm);
  position: relative;
  overflow: hidden;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.stat-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--radius-md);
  padding: 1px;
  background: linear-gradient(135deg, rgba(30,64,175,0.32), transparent 40%, transparent 60%, rgba(5,15,46,0.28));
  -webkit-mask:
    linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
          mask-composite: exclude;
  opacity: 0;
  transition: opacity .3s;
}
.stat-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.stat-card:hover::before { opacity: 1; }

.stat-label {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}
.stat-tag {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 3px 8px;
  border-radius: 999px;
  background: var(--ember-soft);
  color: var(--ember);
}
.stat-value {
  font-family: 'Clash Display', serif;
  font-size: 54px;
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--ink);
  display: flex;
  align-items: baseline;
  gap: 4px;
}
.stat-value .currency {
  font-size: 24px;
  color: var(--graphite);
  font-weight: 400;
}
.stat-value .unit {
  font-size: 22px;
  color: var(--graphite);
  font-weight: 400;
}
.stat-sub {
  font-size: 13px;
  color: var(--slate);
  margin-top: 8px;
}

/* ============================================================
   SECTION HEADS
   ============================================================ */
section {
  padding: 110px 0;
  position: relative;
}
.section-head {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: end;
  margin-bottom: 64px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--hairline);
}
.section-head h2 {
  font-family: 'Clash Display', serif;
  font-size: clamp(40px, 5vw, 72px);
  line-height: 1.05;
  letter-spacing: -0.03em;
  font-weight: 500;
  color: var(--ink);
}
.section-head h2 em {
  font-style: italic;
  font-weight: 500;
  color: var(--ember);
}
.section-kicker {
  display: inline-block;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ember);
  margin-bottom: 20px;
  padding-bottom: 6px;
  border-bottom: 1px solid var(--ember);
}
.section-lead {
  font-size: 17px;
  line-height: 1.6;
  color: var(--graphite);
  max-width: 520px;
}

/* ============================================================
   PROGRAMMES — Governor's Office portfolio
   ============================================================ */
.programmes {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 24px;
}
.programme {
  position: relative;
  padding: 36px 34px 40px;
  background: var(--paper);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
  min-height: 420px;
  display: flex;
  flex-direction: column;
}
.programme:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }

.programme-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 28px;
}
.programme-code {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.12em;
  color: var(--slate);
  text-transform: uppercase;
}
.programme-status {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  padding: 4px 10px;
  border-radius: 999px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.programme-status.open { background: var(--ember-soft); color: var(--ember); }
.programme-status.soon { background: var(--gold-soft); color: #1e3a8a; }
.programme-status.ongoing { background: #e1ebf6; color: var(--navy); }

.programme h3 {
  font-family: 'Clash Display', serif;
  font-size: 30px;
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.05;
  margin-bottom: 14px;
}
.programme-desc {
  font-size: 14px;
  color: var(--graphite);
  line-height: 1.55;
  margin-bottom: auto;
}
.programme-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 32px;
  padding-top: 20px;
  border-top: 1px solid var(--hairline-soft);
}
.programme-foot .tag {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  color: var(--slate);
}
.programme-link {
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.programme-link span { transition: transform .2s; }
.programme-link:hover span { transform: translateX(3px); }

.programme.featured {
  background:
    radial-gradient(ellipse at 100% 0%, rgba(30,64,175,0.12), transparent 60%),
    linear-gradient(160deg, var(--paper) 0%, var(--parchment) 100%);
  border-color: var(--ember);
}
.programme.featured h3 {
  font-size: 44px;
}
.programme.featured .programme-desc {
  font-size: 16px;
}
.programme.featured .highlight {
  display: flex;
  gap: 28px;
  margin: 24px 0;
  padding: 16px 20px;
  background: rgba(255,255,255,0.7);
  border-radius: 12px;
  border: 1px solid var(--hairline-soft);
}
.programme.featured .hi-item {
  display: flex;
  flex-direction: column;
}
.programme.featured .hi-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  color: var(--slate);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.programme.featured .hi-value {
  font-family: 'Clash Display', serif;
  font-size: 22px;
  font-weight: 500;
  color: var(--ink);
  line-height: 1.1;
  margin-top: 4px;
}

/* ============================================================
   NYDF DEEP DIVE
   ============================================================ */
#nydf {
  background:
    radial-gradient(ellipse 70% 80% at 85% 15%, rgba(30,64,175,0.08), transparent 60%),
    radial-gradient(ellipse 60% 60% at 15% 100%, rgba(5,15,46,0.06), transparent 60%),
    var(--parchment);
  border-top: 1px solid var(--hairline);
  border-bottom: 1px solid var(--hairline);
}

/* TIERS */
.tiers {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.tier {
  background: var(--paper);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-lg);
  padding: 34px 30px 36px;
  position: relative;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s;
}
.tier:hover {
  transform: translateY(-4px);
  border-color: var(--ember);
  box-shadow: var(--shadow-lg);
}
.tier-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
}
.tier-head .num {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  color: var(--slate);
  letter-spacing: 0.12em;
}
.tier-head .rate {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  color: var(--ember);
  background: var(--ember-soft);
  padding: 4px 10px;
  border-radius: 999px;
}
.tier h3 {
  font-family: 'Clash Display', serif;
  font-size: 32px;
  font-weight: 500;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
}
.tier-range {
  padding: 16px 0;
  border-top: 1px solid var(--hairline-soft);
  border-bottom: 1px solid var(--hairline-soft);
  margin-bottom: 18px;
}
.tier-range .min {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  color: var(--slate);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  display: block;
  margin-bottom: 6px;
}
.tier-range .amount {
  font-family: 'Clash Display', serif;
  font-size: 26px;
  color: var(--ink);
  font-weight: 500;
}
.tier-desc {
  font-size: 14px;
  color: var(--graphite);
  line-height: 1.6;
  margin-bottom: 24px;
}
.tier-meta {
  display: flex;
  gap: 20px;
  padding-top: 18px;
  border-top: 1px solid var(--hairline-soft);
}
.tier-meta-item {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  color: var(--slate);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.tier-meta-item strong {
  font-family: 'Satoshi', sans-serif;
  font-size: 13px;
  color: var(--ink);
  font-weight: 600;
  text-transform: none;
  letter-spacing: 0;
}

/* ============================================================
   PROCESS
   ============================================================ */
.process {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
  position: relative;
}
.process::before {
  content: '';
  position: absolute;
  top: 38px;
  left: 7%;
  right: 7%;
  height: 1px;
  background: linear-gradient(to right, var(--hairline) 0%, var(--ember) 50%, var(--hairline) 100%);
  z-index: 0;
}
.step {
  background: var(--paper);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-md);
  padding: 26px 22px 28px;
  position: relative;
  z-index: 1;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.step:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--ember);
}
.step-num {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  color: var(--ember);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--hairline-soft);
}
.step h4 {
  font-family: 'Clash Display', serif;
  font-size: 22px;
  font-weight: 500;
  letter-spacing: -0.01em;
  margin-bottom: 10px;
  color: var(--ink);
}
.step p {
  font-size: 13px;
  color: var(--graphite);
  line-height: 1.55;
}

/* ============================================================
   SECTORS
   ============================================================ */
.sectors {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.chip {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 18px;
  background: var(--paper);
  border: 1px solid var(--hairline);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 500;
  color: var(--graphite);
  transition: all .25s var(--ease);
}
.chip:hover {
  border-color: var(--ember);
  color: var(--ink);
  transform: translateY(-2px);
}
.chip .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--mist);
}
.chip.priority {
  background: linear-gradient(135deg, var(--ember-soft), var(--gold-soft));
  border-color: var(--ember);
  color: var(--ink);
  font-weight: 600;
}
.chip.priority .dot { background: var(--ember); box-shadow: 0 0 0 3px rgba(30,64,175,0.22); }

/* ============================================================
   PARTNERS
   ============================================================ */
.partners {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 60px;
  align-items: center;
  padding: 60px;
  background: var(--paper);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}
.partners-left h3 {
  font-family: 'Clash Display', serif;
  font-size: 40px;
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1;
  margin: 14px 0 18px;
}
.partners-left p {
  font-size: 15px;
  color: var(--graphite);
  line-height: 1.6;
}
.partners-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.partner {
  aspect-ratio: 1;
  background: var(--cream);
  border: 1px solid var(--hairline-soft);
  border-radius: var(--radius-md);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 18px;
  gap: 10px;
  transition: all .3s var(--ease);
}
.partner:hover {
  background: var(--paper);
  border-color: var(--ember);
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}
.partner img {
  max-width: 100%;
  max-height: 52px;
  object-fit: contain;
  filter: none;
  transition: filter .3s;
}
.partner-name {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--slate);
}

/* ============================================================
   REGIONS
   ============================================================ */
.regions {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 10px;
}
.region {
  aspect-ratio: 1.2;
  background: var(--paper);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-md);
  padding: 16px 14px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all .35s var(--ease);
  cursor: pointer;
}
.region:hover {
  background: var(--ink);
  border-color: var(--ink);
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}
.region:hover .region-code,
.region:hover .region-name { color: var(--cream); }
.region:hover .region-code { color: var(--gold); }
.region-code {
  font-family: 'JetBrains Mono', monospace;
  font-size: 9px;
  color: var(--slate);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transition: color .3s;
}
.region-name {
  font-family: 'Clash Display', serif;
  font-size: 17px;
  font-weight: 500;
  color: var(--ink);
  line-height: 1;
  transition: color .3s;
}

/* ============================================================
   NEWS / ANNOUNCEMENTS
   ============================================================ */
.news {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.news-card {
  background: var(--paper);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-lg);
  padding: 32px;
  display: flex;
  flex-direction: column;
  transition: all .3s var(--ease);
  min-height: 280px;
}
.news-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--ink);
}
.news-meta {
  display: flex;
  gap: 12px;
  align-items: center;
  margin-bottom: 18px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--slate);
}
.news-meta .cat {
  color: var(--ember);
  padding-right: 12px;
  border-right: 1px solid var(--hairline);
}
.news-card h4 {
  font-family: 'Clash Display', serif;
  font-size: 22px;
  font-weight: 500;
  letter-spacing: -0.015em;
  line-height: 1.15;
  color: var(--ink);
  margin-bottom: 14px;
}
.news-card p {
  font-size: 14px;
  color: var(--graphite);
  line-height: 1.55;
  margin-bottom: 24px;
}
.news-card .read {
  margin-top: auto;
  font-size: 13px;
  font-weight: 600;
  color: var(--ember);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

/* ============================================================
   CTA STRIP
   ============================================================ */
.cta-strip {
  background: var(--ink);
  color: var(--cream);
  padding: 80px;
  border-radius: var(--radius-lg);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-strip::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 60% at 80% 100%, rgba(30,64,175,0.36), transparent 60%),
    radial-gradient(ellipse 60% 80% at 0% 0%, rgba(96,165,250,0.22), transparent 60%);
  pointer-events: none;
}
.cta-strip > * { position: relative; z-index: 1; }
.cta-strip .section-kicker {
  color: var(--gold);
  border-color: var(--gold);
}
.cta-strip h2 {
  font-family: 'Clash Display', serif;
  font-size: clamp(42px, 5vw, 80px);
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1.05;
  color: var(--cream);
  margin-bottom: 22px;
}
.cta-strip h2 em {
  font-style: italic;
  color: var(--gold);
}
.cta-strip p {
  font-size: 17px;
  max-width: 560px;
  margin: 0 auto 36px;
  color: rgba(250,246,238,0.72);
}
.cta-strip .btn-primary {
  background: var(--ember);
  color: var(--cream);
  border: 1px solid var(--ember);
}
.cta-strip .btn-primary:hover {
  background: var(--cream);
  color: var(--ink);
  border-color: var(--cream);
}

/* FOOTER — replaced by site-footer block below */

/* ============================================================
   REVEALS
   .reveal is a marker class — always visible by default.
   Hero elements get a one-shot CSS entrance on page load
   so the first paint feels alive without ever hiding content
   from screenshots, RSS readers, or no-JS users.
   ============================================================ */
.reveal { opacity: 1; }

@keyframes entrance {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: translateY(0); }
}

.hero .reveal { animation: entrance 0.9s var(--ease) both; }
.hero .reveal-1 { animation-delay: 0.05s; }
.hero .reveal-2 { animation-delay: 0.18s; }
.hero .reveal-3 { animation-delay: 0.32s; }
.hero .reveal-4 { animation-delay: 0.46s; }
.hero .reveal-5 { animation-delay: 0.60s; }

/* No scroll-driven hiding — the rest of the page stays fully visible.
   Hover and section-level transitions carry the rhythm instead. */
.reveal-1 { transition-delay: .05s; }
.reveal-2 { transition-delay: .15s; }
.reveal-3 { transition-delay: .25s; }
.reveal-4 { transition-delay: .35s; }
.reveal-5 { transition-delay: .45s; }

/* ============================================================
   APPLY — INTRO
   ============================================================ */
.apply-hero {
  padding: 80px 0 60px;
  border-bottom: 1px solid var(--hairline);
}
.apply-hero h1 {
  font-family: 'Clash Display', serif;
  font-size: clamp(44px, 6vw, 84px);
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1.05;
  margin: 28px 0 24px;
}
.apply-hero h1 em {
  font-style: italic;
  color: var(--ember);
}
.apply-hero p {
  font-size: 18px;
  color: var(--graphite);
  max-width: 640px;
  line-height: 1.6;
}

/* Start / resume cards */
.start-card,
.resume-card {
  margin: 60px 0 0;
  padding: 56px 60px;
  background: var(--paper);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}
.start-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 60px;
  align-items: center;
}
.start-grid h3,
.resume-card h3 {
  font-family: 'Clash Display', serif;
  font-size: 36px;
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1;
  margin: 14px 0 24px;
}
.checklist {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.checklist li {
  display: flex;
  gap: 14px;
  align-items: center;
  font-size: 16px;
  color: var(--graphite);
}
.checklist li span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  background: var(--ember-soft);
  color: var(--ember);
  border-radius: 999px;
  font-weight: 700;
  font-size: 13px;
  flex-shrink: 0;
}
.start-cta {
  padding: 36px;
  background: var(--parchment);
  border-radius: var(--radius-md);
  border: 1px solid var(--hairline-soft);
}
.start-cta p {
  font-size: 14px;
  color: var(--graphite);
  margin-bottom: 24px;
  line-height: 1.5;
}

.resume-card .resume-meta {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 6px;
}
.resume-card .ref {
  font-family: 'JetBrains Mono', monospace;
  font-size: 13px;
  padding: 4px 10px;
  background: var(--ember-soft);
  color: var(--ember);
  border-radius: 999px;
}
.resume-card p {
  font-size: 16px;
  color: var(--graphite);
  margin-bottom: 28px;
  max-width: 640px;
}
.resume-actions {
  display: flex;
  gap: 14px;
  align-items: center;
}

/* ============================================================
   WIZARD
   ============================================================ */
.ref-pill {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  padding: 3px 10px;
  background: rgba(255, 255, 255, 0.15);
  color: var(--gold);
  border-radius: 999px;
  letter-spacing: 0.05em;
}

.wizard-progress {
  background: var(--paper);
  border-bottom: 1px solid var(--hairline);
  padding: 22px 0 24px;
}
.wizard-progress .steps {
  display: flex;
  justify-content: space-between;
  margin-bottom: 16px;
  gap: 16px;
}
.step-dot {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--hairline);
  transition: border-color .3s var(--ease);
}
.step-dot .dot-num {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.12em;
  color: var(--slate);
}
.step-dot .dot-label {
  font-family: 'Clash Display', serif;
  font-size: 16px;
  font-weight: 500;
  color: var(--ink);
  opacity: 0.5;
}
.step-dot.done {
  border-bottom-color: var(--ember);
}
.step-dot.done .dot-num,
.step-dot.done .dot-label { opacity: 1; color: var(--graphite); }
.step-dot.active {
  border-bottom-color: var(--ember);
}
.step-dot.active .dot-num { color: var(--ember); }
.step-dot.active .dot-label { opacity: 1; color: var(--ink); }

.wizard-progress .bar {
  height: 3px;
  background: var(--hairline-soft);
  border-radius: 999px;
  overflow: hidden;
}
.wizard-progress .bar .fill {
  height: 100%;
  background: linear-gradient(90deg, var(--ember), var(--gold));
  transition: width .6s var(--ease);
  border-radius: 999px;
}

.wizard {
  padding: 70px 0 100px;
}
.wizard-grid {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 80px;
  align-items: start;
}
.wizard-side {
  position: sticky;
  top: 130px;
}
.wizard-side .step-num-big {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--ember);
  margin-bottom: 18px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--ember);
  display: inline-block;
}
.wizard-side h1 {
  font-family: 'Clash Display', serif;
  font-size: clamp(48px, 5vw, 72px);
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1.05;
  margin-bottom: 20px;
}
.wizard-side h1 .dot-end { color: var(--ember); }
.wizard-side .lead {
  font-size: 18px;
  color: var(--graphite);
  line-height: 1.55;
  max-width: 360px;
}
.wizard-side .side-meta {
  margin-top: 36px;
  padding-top: 24px;
  border-top: 1px solid var(--hairline);
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.wizard-side .side-meta .ref {
  font-family: 'JetBrains Mono', monospace;
  font-size: 14px;
  color: var(--ink);
}

.form-card {
  background: var(--paper);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-lg);
  padding: 48px 52px;
  box-shadow: var(--shadow-md);
}
.form-card h3 {
  font-family: 'Clash Display', serif;
  font-size: 32px;
  font-weight: 500;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}
.form-intro {
  font-size: 15px;
  color: var(--graphite);
  margin-bottom: 32px;
  line-height: 1.55;
}

/* form fields */
.field {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 26px;
}
.field label {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
}
.field-label {
  font-family: 'Clash Display', serif;
  font-size: 16px;
  font-weight: 500;
  color: var(--ink);
}
.field .req {
  font-family: 'JetBrains Mono', monospace;
  font-size: 9px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--slate);
}
.field input[type="text"],
.field input[type="email"],
.field input[type="number"],
.field input[type="tel"],
.field input[type="date"],
.field textarea,
.field select {
  width: 100%;
  padding: 14px 16px;
  background: var(--cream);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-sm);
  font-family: 'Satoshi', sans-serif;
  font-size: 16px;
  color: var(--ink);
  transition: border-color .2s, background .2s, box-shadow .2s;
}
.field input:focus,
.field textarea:focus,
.field select:focus {
  outline: none;
  background: var(--paper);
  border-color: var(--ember);
  box-shadow: 0 0 0 4px rgba(30, 64, 175, 0.14);
}
.field textarea { resize: vertical; min-height: 120px; }
.field .hint { font-size: 12px; color: var(--slate); }
.field .err {
  font-size: 12px;
  color: var(--ember);
  font-weight: 600;
  font-family: 'JetBrains Mono', monospace;
}
.field.has-error input,
.field.has-error textarea,
.field.has-error select {
  border-color: var(--ember);
  background: var(--ember-soft);
}

.tier-preview {
  margin: 0 0 26px;
  padding: 18px 22px;
  background: linear-gradient(135deg, var(--ember-soft), var(--gold-soft));
  border: 1px solid var(--ember);
  border-radius: var(--radius-md);
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.tier-preview .mono-label { color: var(--ember); }
#tier-text { font-size: 15px; color: var(--ink); }

.form-error {
  padding: 14px 18px;
  background: var(--ember-soft);
  border: 1px solid var(--ember);
  border-radius: var(--radius-sm);
  color: var(--ember);
  margin-bottom: 24px;
  font-size: 14px;
}

.form-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 36px;
  padding-top: 24px;
  border-top: 1px solid var(--hairline-soft);
  gap: 12px;
}
.form-actions-right { display: flex; gap: 10px; }

/* review step */
.review-grid {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 28px;
}
.review-block {
  padding: 22px 26px;
  background: var(--cream);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-md);
}
.review-block .block-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 14px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--hairline-soft);
}
.review-block .block-head a {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  color: var(--ember);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.review-block .block-head a:hover { text-decoration: underline; }
.review-block dl {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 10px 20px;
  font-size: 14px;
}
.review-block dt {
  color: var(--slate);
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  align-self: center;
}
.review-block dd {
  color: var(--ink);
  font-weight: 500;
}

.declaration {
  padding: 24px 26px;
  background: var(--parchment);
  border: 1px dashed var(--gold);
  border-radius: var(--radius-md);
  margin-bottom: 8px;
}
.declaration strong {
  font-family: 'Clash Display', serif;
  font-size: 18px;
  color: var(--ink);
  display: block;
  margin-bottom: 6px;
}
.declaration p {
  font-size: 13px;
  color: var(--graphite);
  line-height: 1.6;
}

/* ============================================================
   APPLY DONE
   ============================================================ */
.success-card {
  margin: 60px 0 0;
  padding: 56px 60px;
  background: var(--paper);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}
.success-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 60px;
  padding-bottom: 36px;
  margin-bottom: 36px;
  border-bottom: 1px solid var(--hairline);
}
.big-ref {
  font-family: 'Clash Display', serif;
  font-size: 44px;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--ember);
  margin: 8px 0 14px;
}
.ref-help {
  font-size: 14px;
  color: var(--graphite);
  max-width: 380px;
  line-height: 1.5;
}
.success-meta {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 24px;
  background: var(--cream);
  border-radius: var(--radius-md);
  border: 1px solid var(--hairline-soft);
}
.success-meta .meta-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--hairline-soft);
}
.success-meta .meta-row:last-child { border-bottom: none; padding-bottom: 0; }
.success-meta strong {
  font-family: 'Clash Display', serif;
  font-size: 16px;
  color: var(--ink);
  font-weight: 500;
}

.next-steps h4 {
  font-family: 'Clash Display', serif;
  font-size: 22px;
  margin-bottom: 18px;
  font-weight: 500;
}
.next-steps ol {
  list-style: none;
  counter-reset: step;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.next-steps li {
  counter-increment: step;
  position: relative;
  padding-left: 44px;
  font-size: 14px;
  color: var(--graphite);
  line-height: 1.55;
}
.next-steps li::before {
  content: counter(step, decimal-leading-zero);
  position: absolute;
  left: 0;
  top: 0;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  color: var(--ember);
  background: var(--ember-soft);
  padding: 4px 8px;
  border-radius: 999px;
  letter-spacing: 0.06em;
}
.next-steps li strong { color: var(--ink); }
.success-actions {
  margin-top: 36px;
  padding-top: 28px;
  border-top: 1px solid var(--hairline);
  display: flex;
  justify-content: flex-end;
}

/* wizard responsive */
@media (max-width: 1100px) {
  .wizard-grid { grid-template-columns: 1fr; gap: 40px; }
  .wizard-side { position: static; }
  .start-grid, .success-grid { grid-template-columns: 1fr; gap: 32px; }
  .form-card, .start-card, .resume-card, .success-card { padding: 36px 28px; }
  .review-block dl { grid-template-columns: 1fr; gap: 4px 0; }
  .review-block dd { padding-bottom: 8px; border-bottom: 1px solid var(--hairline-soft); }
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1100px) {
  .hero-grid { grid-template-columns: 1fr; gap: 60px; }
  .section-head { grid-template-columns: 1fr; gap: 24px; }
  .programmes { grid-template-columns: 1fr; }
  .tiers { grid-template-columns: 1fr; }
  .process { grid-template-columns: repeat(2, 1fr); }
  .process::before { display: none; }
  .partners { grid-template-columns: 1fr; gap: 40px; padding: 40px; }
  .regions { grid-template-columns: repeat(4, 1fr); }
  .news { grid-template-columns: 1fr; }
  /* footer-grid responsive moved to site-footer block */
}

@media (max-width: 640px) {
  .wrap { padding: 0 20px; }
  nav { padding: 14px 20px; flex-wrap: wrap; }
  .nav-links { display: none; }
  .cta { display: none; }
  .hero { padding: 50px 0 80px; }
  section { padding: 70px 0; }
  .hero-ctas { flex-direction: column; }
  .btn { justify-content: center; }
  .regions { grid-template-columns: repeat(2, 1fr); }
  .partners-grid { grid-template-columns: repeat(2, 1fr); }
  .cta-strip { padding: 50px 30px; }
  /* footer-grid / footer-bottom responsive moved to site-footer block */
  .util-bar .util-right { display: none; }

  /* Hamburger button */
  .nav-burger {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 36px;
    height: 36px;
    padding: 6px;
    background: none;
    border: 1px solid var(--hairline);
    border-radius: 8px;
    cursor: pointer;
    margin-left: auto;
  }
  .nav-burger span {
    display: block;
    height: 2px;
    background: var(--ink);
    border-radius: 2px;
    transition: all 0.2s ease;
  }
  .nav-open .nav-burger span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
  .nav-open .nav-burger span:nth-child(2) { opacity: 0; }
  .nav-open .nav-burger span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

  /* Mobile menu dropdown */
  .nav-mobile {
    display: none;
    width: 100%;
    flex-direction: column;
    padding: 12px 0 8px;
    border-top: 1px solid var(--hairline);
    margin-top: 12px;
  }
  .nav-open .nav-mobile { display: flex; }
  .nav-mobile a {
    padding: 12px 4px;
    font-size: 15px;
    color: var(--ink);
    border-bottom: 1px solid var(--hairline-soft);
    text-decoration: none;
  }
  .nav-mobile a:last-child { border-bottom: none; }
  .nav-mobile a:hover { color: var(--ember); }
}

/* Hide hamburger + mobile menu on desktop */
@media (min-width: 641px) {
  .nav-burger { display: none !important; }
  .nav-mobile { display: none !important; }
}

/* ============================================================
   SITE FOOTER — Sovereign Signal dark base, ember/gold accents
   ============================================================ */
.site-footer {
  position: relative;
  background: #0f1831;                 /* deep navy, existing base */
  color: #e8e4d8;                      /* lifted off-white (was too dark) */
  padding: 72px 0 32px;
  margin-top: 120px;
  overflow: hidden;
}

.footer-hairline {
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, #ff5b2e 20%, #d99a2b 50%, #ff5b2e 80%, transparent 100%);
  background-size: 200% 100%;
  animation: footer-shimmer 22s ease-in-out infinite;
  opacity: 0.75;
  margin-bottom: 56px;
}
.footer-hairline--quiet {
  opacity: 0.35;
  margin: 48px 0 24px;
  animation: none;
}

@keyframes footer-shimmer {
  0%   { background-position: 0% 50%; }
  50%  { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
  gap: 48px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}
.footer-brand img {
  width: 28px;
  height: 28px;
}
.footer-brand-text {
  color: #f5f0e4;
  font-family: 'Clash Display', sans-serif;
  font-size: 18px;
  line-height: 1.15;
  display: flex;
  flex-direction: column;
}
.footer-brand-text .sub {
  font-family: 'Satoshi', sans-serif;
  font-size: 12px;
  font-weight: 400;
  color: #a9a295;
  letter-spacing: 0.02em;
  margin-top: 2px;
}

.footer-blurb {
  color: #d4cfc0;
  font-size: 15px;
  line-height: 1.6;
  max-width: 44ch;
  margin-bottom: 32px;
}

.footer-signoff {
  position: relative;
  padding: 18px 20px;
  border-left: 2px solid rgba(217, 154, 43, 0.45);
  overflow: hidden;
}
.footer-signoff p {
  position: relative;
  color: #f0ead9;
  font-family: 'Clash Display', sans-serif;
  font-size: 13px;
  letter-spacing: 0.03em;
  line-height: 1.5;
  margin: 0;
}
.footer-signoff-mark {
  position: absolute;
  top: 50%;
  right: -8px;
  width: 70px;
  height: 70px;
  transform: translateY(-50%);
  opacity: 0.08;
  pointer-events: none;
}

.footer-col h5 {
  color: #ff5b2e;
  font-family: 'Satoshi', sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin: 0 0 20px;
}
.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.footer-col li {
  margin-bottom: 10px;
}
.footer-col a {
  color: #e8e4d8;
  text-decoration: none;
  font-size: 15px;
  font-weight: 400;
  position: relative;
  background-image: linear-gradient(#d99a2b, #d99a2b);
  background-size: 0% 1px;
  background-position: 0 100%;
  background-repeat: no-repeat;
  padding-bottom: 2px;
  transition: color 0.2s ease, background-size 0.25s ease;
}
.footer-col a:hover {
  color: #d99a2b;
  background-size: 100% 1px;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
  color: rgba(212, 207, 192, 0.65);
  font-size: 13px;
  font-family: 'JetBrains Mono', monospace;
  letter-spacing: 0.02em;
}
.footer-bottom-links {
  display: flex;
  gap: 20px;
}
.footer-bottom-links a {
  color: rgba(212, 207, 192, 0.75);
  text-decoration: none;
  transition: color 0.2s ease;
}
.footer-bottom-links a:hover {
  color: #d99a2b;
}

@media (max-width: 1000px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .footer-brand-col {
    grid-column: 1 / -1;
  }
}

@media (max-width: 600px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* ============================================================
   STATIC / INNER PAGES — shared scaffolding
   ============================================================ */
.static-page,
.programme-page,
.legal-page {
  padding: 80px 0 120px;
  max-width: 880px;
  margin: 0 auto;
}

.static-hero,
.programme-hero,
.legal-hero {
  margin-bottom: 56px;
  padding-bottom: 32px;
  border-bottom: 1px solid rgba(19, 35, 79, 0.08);
}
.static-hero .eyebrow,
.programme-hero .eyebrow,
.legal-hero .eyebrow {
  color: #ff5b2e;
  font-family: 'Satoshi', sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin: 0 0 16px;
}
.static-hero h1,
.programme-hero h1,
.legal-hero h1 {
  font-family: 'Clash Display', sans-serif;
  font-size: clamp(36px, 5vw, 54px);
  line-height: 1.05;
  color: #13234f;
  margin: 0 0 20px;
}
.static-hero .lede,
.programme-hero .lede {
  font-size: 18px;
  line-height: 1.55;
  color: #3d4666;
  max-width: 60ch;
  margin: 0;
}
.legal-updated {
  color: #7a7a7a;
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  margin: 0;
}

.static-section,
.programme-section,
.legal-section {
  margin-bottom: 40px;
}
.static-section h2,
.programme-section h2,
.legal-section h2 {
  font-family: 'Clash Display', sans-serif;
  font-size: 22px;
  color: #13234f;
  margin: 0 0 16px;
}
.static-section p,
.programme-section p,
.legal-section p {
  color: #3d4666;
  font-size: 16px;
  line-height: 1.7;
  margin: 0 0 14px;
}
.static-section a,
.programme-section a,
.legal-section a {
  color: #ff5b2e;
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 91, 46, 0.35);
  transition: border-color 0.2s ease;
}
.static-section a:hover,
.programme-section a:hover,
.legal-section a:hover {
  border-bottom-color: #ff5b2e;
}

.programme-list {
  padding-left: 20px;
  color: #3d4666;
  line-height: 1.7;
}
.programme-list li {
  margin-bottom: 8px;
}
.programme-note {
  padding: 18px 24px;
  background: rgba(217, 154, 43, 0.08);
  border-left: 3px solid #d99a2b;
  color: #3d4666;
  font-size: 15px;
  line-height: 1.6;
  margin: 32px 0;
}
.programme-back {
  margin-top: 48px;
}
.programme-back a {
  color: #13234f;
  font-family: 'Satoshi', sans-serif;
  font-size: 14px;
  text-decoration: none;
  border-bottom: 1px solid rgba(19, 35, 79, 0.2);
}
.programme-back a:hover {
  border-bottom-color: #13234f;
}

.legal-disclaimer-note {
  margin-top: 64px;
  padding: 18px 22px;
  background: rgba(19, 35, 79, 0.04);
  color: #7a7a7a;
  font-size: 13px;
  font-style: italic;
  line-height: 1.55;
  border-left: 2px solid rgba(19, 35, 79, 0.2);
}

/* ---- Regions grid (directory view) ---- */
.regions-grid-full {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 20px;
}
.region-card {
  padding: 24px;
  background: #fdfaf2;
  border: 1px solid rgba(19, 35, 79, 0.08);
  border-radius: 6px;
  transition: border-color 0.2s ease, transform 0.2s ease;
}
.region-card:hover {
  border-color: rgba(255, 91, 46, 0.5);
  transform: translateY(-2px);
}
.region-card h2 {
  font-family: 'Clash Display', sans-serif;
  font-size: 18px;
  color: #13234f;
  margin: 0 0 6px;
}
.region-capital {
  color: #7a7a7a;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin: 0 0 12px;
}
.region-governor {
  color: #3d4666;
  font-size: 14px;
  margin: 0 0 10px;
}
.region-contact {
  font-size: 13px;
  line-height: 1.6;
  margin: 0;
}
.region-contact a {
  color: #ff5b2e;
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 91, 46, 0.3);
}

/* ---- News list ---- */
.news-list {
  display: flex;
  flex-direction: column;
  gap: 40px;
}
.news-item time {
  display: block;
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  color: #7a7a7a;
  letter-spacing: 0.06em;
  margin-bottom: 8px;
}
.news-item h2 {
  font-family: 'Clash Display', sans-serif;
  font-size: 22px;
  line-height: 1.25;
  color: #13234f;
  margin: 0 0 12px;
}
.news-excerpt {
  color: #3d4666;
  font-size: 16px;
  line-height: 1.6;
  margin: 0 0 12px;
}
.news-body {
  color: #555e77;
  font-size: 15px;
  line-height: 1.7;
  margin: 0;
}

/* ---- Publications ---- */
.pub-category {
  margin-bottom: 40px;
}
.pub-category h2 {
  font-family: 'Satoshi', sans-serif;
  font-size: 12px;
  color: #ff5b2e;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  margin: 0 0 16px;
}
.pub-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.pub-item + .pub-item { border-top: 1px solid rgba(19, 35, 79, 0.08); }
.pub-link {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 24px;
  padding: 16px 0;
  text-decoration: none;
  transition: padding 0.2s ease;
}
.pub-link:hover { padding-left: 6px; }
.pub-title {
  color: #13234f;
  font-size: 16px;
  font-weight: 500;
}
.pub-link:hover .pub-title { color: #ff5b2e; }
.pub-meta {
  color: #7a7a7a;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.04em;
  white-space: nowrap;
}

/* ---- FAQ (help page) ---- */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.faq-item {
  border-bottom: 1px solid rgba(19, 35, 79, 0.1);
  padding: 20px 0;
}
.faq-item summary {
  cursor: pointer;
  font-family: 'Clash Display', sans-serif;
  font-size: 17px;
  color: #13234f;
  list-style: none;
  position: relative;
  padding-right: 32px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '+';
  position: absolute;
  right: 0;
  top: 0;
  color: #ff5b2e;
  font-size: 22px;
  font-weight: 300;
  transition: transform 0.2s ease;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item p {
  color: #3d4666;
  font-size: 15px;
  line-height: 1.7;
  margin: 14px 0 0;
}
.faq-item a {
  color: #ff5b2e;
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 91, 46, 0.35);
}

/* ---- Fraud form ---- */
.fraud-form .form-row {
  margin-bottom: 20px;
}
.fraud-form label {
  display: block;
  font-family: 'Satoshi', sans-serif;
  font-size: 13px;
  font-weight: 500;
  color: #13234f;
  margin-bottom: 8px;
  letter-spacing: 0.01em;
}
.fraud-form input[type="text"],
.fraud-form input[type="email"],
.fraud-form textarea {
  width: 100%;
  padding: 12px 14px;
  background: #fdfaf2;
  border: 1px solid rgba(19, 35, 79, 0.15);
  border-radius: 4px;
  font-family: 'Satoshi', sans-serif;
  font-size: 15px;
  color: #13234f;
  transition: border-color 0.2s ease;
}
.fraud-form input:focus,
.fraud-form textarea:focus {
  outline: none;
  border-color: #ff5b2e;
}
.fraud-form .field-error {
  color: #c3381f;
  font-size: 13px;
  margin: 6px 0 0;
}
.form-notice {
  padding: 16px 20px;
  background: rgba(217, 154, 43, 0.1);
  border-left: 3px solid #d99a2b;
  color: #3d4666;
  font-size: 15px;
  line-height: 1.5;
  border-radius: 2px;
}

/* ─── Task 20: EAS scope + apply picker + programme cards + closed state ─── */

/* Per-programme accent scope — EAS flips accent to gold, NYDF stays ember. */
body.eas-scope { --accent: #d99a2b; }
body.nydf-scope { --accent: #ff5b2e; }

/* Apply picker (public /apply/) */
.apply-picker { padding: 48px 0 96px; }
.apply-picker .wrap { max-width: 1080px; margin: 0 auto; padding: 0 24px; }
.apply-picker h1 {
  font-family: 'Clash Display', serif;
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  color: #13234f;
  margin: 0 0 28px;
  letter-spacing: -0.01em;
}
.apply-picker .closed-programmes { margin-top: 48px; }
.apply-picker .closed-programmes h2 {
  font-family: 'JetBrains Mono', monospace;
  font-size: .78rem;
  text-transform: uppercase;
  letter-spacing: .14em;
  color: #6b6660;
  margin: 0 0 16px;
  font-weight: 500;
}

/* Programme grid (open + closed variants) */
.programme-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}
.programme-grid.muted .programme-card { opacity: .78; }

/* Programme card — uses --accent custom property per-card */
.programme-card {
  --accent: #ff5b2e;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 22px 22px 20px;
  background: #fcfaf3;
  border: 1px solid #e2ded4;
  border-radius: 12px;
  text-decoration: none;
  color: inherit;
  position: relative;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
  min-height: 180px;
}
.programme-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 40px rgba(19,35,79,.08);
  border-color: var(--accent);
}
.programme-card.open::before {
  content: "";
  position: absolute; inset: 0 auto 0 0;
  width: 3px; border-radius: 12px 0 0 12px;
  background: var(--accent);
}
.programme-card h2,
.programme-card h3 {
  font-family: 'Clash Display', serif;
  font-size: 1.3rem;
  color: #13234f;
  margin: 4px 0 0;
  letter-spacing: -0.01em;
}
.programme-card p {
  margin: 0;
  color: #3d4666;
  font-size: .95rem;
  line-height: 1.5;
}
.programme-card .cta {
  margin-top: auto;
  font-family: 'JetBrains Mono', monospace;
  font-size: .78rem;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--accent);
  font-weight: 500;
}
.programme-card.closed { cursor: pointer; }
.programme-card.closed::before { display: none; }

/* Chips — public-side small variant */
.chip {
  display: inline-block;
  padding: .28rem .7rem;
  border-radius: 999px;
  font-family: 'JetBrains Mono', monospace;
  font-size: .7rem;
  font-weight: 500;
  letter-spacing: .1em;
  text-transform: uppercase;
  align-self: flex-start;
}
.chip-sm { padding: .2rem .55rem; font-size: .64rem; }
.chip-ok { background: #e2f6ed; color: #1f8f5f; }
.chip-warn { background: rgba(217,154,43,.18); color: #a47418; }
.chip-danger { background: #fbe3de; color: #b5352b; }

/* Empty + closed states on public side */
.apply-empty {
  padding: 48px 32px;
  background: #fcfaf3;
  border: 1px dashed #d8d2c4;
  border-radius: 12px;
  text-align: center;
}
.apply-empty h2 {
  font-family: 'Clash Display', serif;
  font-size: 1.35rem;
  color: #13234f;
  margin: 0 0 8px;
}
.apply-empty p { margin: 0; color: #6b6660; }

.apply-closed { padding: 72px 0 120px; }
.apply-closed .wrap.narrow {
  max-width: 640px;
  margin: 0 auto;
  padding: 0 24px;
}
.apply-closed .lede {
  font-size: 1.15rem;
  color: #3d4666;
  margin: 12px 0 8px;
}
.apply-closed h1 {
  font-family: 'Clash Display', serif;
  font-size: clamp(1.8rem, 3.5vw, 2.4rem);
  color: #13234f;
  margin: 16px 0 6px;
}
.intake-note {
  padding: 14px 18px;
  background: rgba(217,154,43,.08);
  border-left: 3px solid #d99a2b;
  color: #3d4666;
  border-radius: 2px;
  margin: 14px 0;
}
.next-window {
  font-family: 'JetBrains Mono', monospace;
  font-size: .88rem;
  color: #13234f;
  margin: 14px 0 22px;
}
.next-window strong { color: #ff5b2e; }
.apply-closed .actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* Programme hero CTA (used on programme deep-dive pages) */
.programme-hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 22px;
  background: var(--accent, #ff5b2e);
  color: #fff;
  border-radius: 999px;
  font-family: 'JetBrains Mono', monospace;
  font-size: .78rem;
  text-transform: uppercase;
  letter-spacing: .12em;
  text-decoration: none;
  transition: transform .2s ease, box-shadow .2s ease;
}
.programme-hero-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 28px rgba(255,91,46,.28);
}
.programme-hero-cta[aria-disabled="true"] {
  background: #b8b3a8; pointer-events: none; cursor: not-allowed;
}

/* ─── EAS wizard: sticky 6-step progress rail ─── */
.wizard-progress {
  position: sticky; top: 0; z-index: 10;
  background: #fcfaf3;
  padding: .75rem 1rem;
  border-bottom: 1px solid #e2ded4;
  display: flex; gap: .5rem; overflow-x: auto;
}
.wizard-progress .pill {
  padding: .4rem .85rem;
  border-radius: 999px;
  border: 1px solid #e2ded4;
  background: transparent;
  font: 500 .78rem/1 'JetBrains Mono', monospace;
  letter-spacing: .05em;
  text-transform: uppercase;
  color: #6b6660;
  white-space: nowrap;
}
.wizard-progress .pill.done {
  background: #e2f6ed; color: #1f8f5f; border-color: #bfe8d2;
}
.wizard-progress .pill.active {
  background: var(--accent, #ff5b2e);
  color: #fff;
  border-color: transparent;
}

/* EAS wizard already uses .wizard__progress/.wizard__step BEM in _layout.html.
   Ensure the EAS accent colour flows through BEM elements. */
body.eas-scope .wizard__progress-fill,
body.eas-scope .wizard__step.is-current .wizard__step-num {
  background: var(--accent);
}
body.eas-scope .wizard__step.is-done .wizard__step-num {
  background: #e2f6ed; color: #1f8f5f; border-color: #bfe8d2;
}

/* Step 3: quote grid (three supplier quotes side by side) */
.quote-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 14px;
  margin-top: 12px;
}
.quote-card {
  padding: 16px 16px 12px;
  background: #fcfaf3;
  border: 1px solid #e2ded4;
  border-radius: 12px;
}
.quote-card h3 {
  font-family: 'JetBrains Mono', monospace;
  font-size: .72rem;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: #6b6660;
  margin: 0 0 10px;
  font-weight: 500;
}

/* Step 4: eligibility checkbox rows */
.field--check {
  padding: 10px 12px;
  border: 1px solid #e2ded4;
  border-radius: 10px;
  background: #fcfaf3;
  margin-bottom: 8px;
  transition: border-color .15s ease, background .15s ease;
}
.field--check:hover { border-color: var(--accent, #d99a2b); }
.field--check label { display: block; cursor: pointer; }
.field--check .checkbox-row {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: .95rem;
  color: #13234f;
}
.field--check input[type="checkbox"] {
  width: 18px; height: 18px;
  accent-color: var(--accent, #d99a2b);
}

/* Step 5: document dropzones */
.doc-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.doc-list li {
  display: flex;
  gap: 12px;
  padding: 10px 12px;
  background: #fcfaf3;
  border: 1px solid #e2ded4;
  border-radius: 8px;
  font-size: .9rem;
}
.doc-list__kind {
  font-family: 'JetBrains Mono', monospace;
  font-size: .7rem;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: #6b6660;
  flex: 0 0 140px;
}
.doc-list__name { color: #13234f; }
input[type="file"] {
  display: block;
  width: 100%;
  padding: 18px;
  background: #fcfaf3;
  border: 2px dashed #d8d2c4;
  border-radius: 12px;
  cursor: pointer;
  transition: border-color .15s ease, background .15s ease;
  font-family: 'Satoshi', sans-serif;
}
input[type="file"]:hover {
  border-color: var(--accent, #d99a2b);
  background: #fff;
}

/* ---------- EAS wizard: autosave chip ---------- */
.eas-scope .wizard__autosave {
  position: sticky;
  top: 12px;
  z-index: 5;
  align-self: flex-end;
  margin-left: auto;
  margin-bottom: -24px;
  padding: 6px 12px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  color: #2d6a3e;
  background: rgba(219, 244, 221, 0.95);
  border: 1px solid #b4dab7;
  border-radius: 999px;
  opacity: 0;
  pointer-events: none;
  transition: opacity .25s ease;
  width: fit-content;
}
.eas-scope .wizard__autosave.is-visible {
  opacity: 1;
}

/* ---------- EAS wizard: drop zones for documents ---------- */
.drop-zone-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 14px;
  margin-top: 12px;
}
.drop-zone {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 18px 16px;
  border: 2px dashed #d5ccb6;
  border-radius: 10px;
  background: #fdfaf0;
  cursor: pointer;
  transition: border-color .15s ease, background .15s ease, transform .15s ease;
}
.drop-zone:hover {
  border-color: #d99a2b;
  background: #fff;
}
.drop-zone.is-dragover {
  border-color: #ff5b2e;
  background: #fff4ee;
  transform: translateY(-1px);
}
.drop-zone__kind {
  font-family: 'Clash Display', sans-serif;
  font-weight: 600;
  font-size: 14px;
  color: #13234f;
}
.drop-zone__hint {
  font-size: 12px;
  color: #6b6352;
}
.drop-zone__filename {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  color: #2d6a3e;
  min-height: 14px;
  word-break: break-all;
}
.drop-zone__input {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
}
.doc-upload-fallback {
  margin-top: 18px;
  padding: 10px 14px;
  background: #faf6ea;
  border-radius: 8px;
  font-size: 13px;
}
.doc-upload-fallback summary {
  cursor: pointer;
  font-family: 'Clash Display', sans-serif;
  color: #13234f;
}

