@import url('https://fonts.googleapis.com/css2?family=IBM+Plex+Serif:wght@400;500;600&family=Inter:wght@400;500;600;700&display=swap');

/* =============================================
   CUSTOM PROPERTIES
   ============================================= */
:root {
  --blue:        #1E3A8A;
  --blue-dark:   #162d6e;
  --blue-light:  #EFF4FF;
  --teal:        #0F766E;
  --teal-dark:   #0a5c55;
  --teal-light:  #CCFBF1;
  --amber:       #F59E0B;
  --amber-hover: #D97706;
  --amber-light: #FEF3C7;
  --sand:        #F8F5F0;
  --sand-dark:   #EDE8E0;
  --text:        #1F2937;
  --muted:       #475569;
  --border:      #E2E8F0;
  --white:       #FFFFFF;

  --font-serif: 'IBM Plex Serif', Georgia, 'Times New Roman', serif;
  --font-sans:  'Inter', system-ui, -apple-system, sans-serif;

  --sp-1:  8px;
  --sp-2:  16px;
  --sp-3:  24px;
  --sp-4:  32px;
  --sp-6:  48px;
  --sp-8:  64px;
  --sp-12: 96px;
  --sp-16: 128px;

  --radius:    12px;
  --radius-sm: 6px;
  --radius-lg: 20px;

  --shadow-sm: 0 1px 3px rgba(0,0,0,0.06), 0 2px 8px rgba(0,0,0,0.05);
  --shadow:    0 2px 8px rgba(0,0,0,0.07), 0 8px 24px rgba(0,0,0,0.07);
  --shadow-lg: 0 4px 16px rgba(0,0,0,0.08), 0 16px 48px rgba(0,0,0,0.1);

  --max-w: 1200px;
  --nav-h: 72px;

  --transition: 0.22s ease;
}

/* =============================================
   RESET & BASE
   ============================================= */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-sans);
  font-size: 18px;
  line-height: 1.7;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
table { border-collapse: collapse; width: 100%; }
button { font: inherit; cursor: pointer; border: none; background: none; }

/* =============================================
   TYPOGRAPHY
   ============================================= */
h1, h2, h3, h4 {
  font-family: var(--font-serif);
  line-height: 1.15;
  color: var(--text);
  letter-spacing: -0.01em;
}

h1 { font-size: clamp(2.25rem, 5vw, 3.5rem); font-weight: 600; }
h2 { font-size: clamp(1.75rem, 3.5vw, 2.25rem); font-weight: 600; }
h3 { font-family: var(--font-sans); font-size: 1.375rem; font-weight: 600; color: var(--text); }
h4 { font-family: var(--font-sans); font-size: 1.125rem; font-weight: 600; }

p { margin-bottom: var(--sp-3); }
p:last-child { margin-bottom: 0; }

.lead {
  font-size: 1.25rem;
  line-height: 1.65;
  color: var(--muted);
}

.eyebrow {
  font-family: var(--font-sans);
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: var(--sp-2);
}

.eyebrow--teal  { color: var(--teal); }
.eyebrow--white { color: rgba(255,255,255,0.7); }
.eyebrow--blue  { color: var(--blue); }

/* =============================================
   LAYOUT
   ============================================= */
.container {
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: var(--sp-4);
}

@media (max-width: 768px) {
  .container { padding-inline: var(--sp-2); }
}

.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--sp-4); }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--sp-4); }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--sp-3); }

@media (max-width: 900px) {
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
}

/* =============================================
   NAVIGATION
   ============================================= */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  height: var(--nav-h);
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color var(--transition), box-shadow var(--transition);
}

.site-header.scrolled {
  border-bottom-color: var(--border);
  box-shadow: 0 1px 12px rgba(0,0,0,0.06);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--nav-h);
  gap: var(--sp-4);
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
  transition: opacity var(--transition);
}

.nav-logo:hover { opacity: 0.85; }

.nav-wordmark {
  font-family: var(--font-serif);
  font-size: 1.1875rem;
  font-weight: 600;
  color: var(--blue);
  letter-spacing: -0.01em;
  line-height: 1;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: var(--sp-1);
  flex-wrap: wrap;
}

.nav-links a {
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--muted);
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  transition: color var(--transition), background var(--transition);
}

.nav-links a:hover,
.nav-links a[aria-current="page"] {
  color: var(--blue);
  background: var(--blue-light);
}

.btn-nav-partner {
  font-size: 0.875rem !important;
  font-weight: 600 !important;
  color: var(--blue) !important;
  border: 1.5px solid var(--blue) !important;
  padding: 7px 16px !important;
  border-radius: var(--radius-sm) !important;
  transition: background var(--transition), color var(--transition) !important;
  background: transparent !important;
}

.btn-nav-partner:hover {
  background: var(--blue) !important;
  color: var(--white) !important;
}

.btn-nav-donate {
  font-size: 0.875rem !important;
  font-weight: 600 !important;
  color: var(--white) !important;
  background: var(--amber) !important;
  padding: 7px 16px !important;
  border-radius: var(--radius-sm) !important;
  transition: background var(--transition) !important;
}

.btn-nav-donate:hover {
  background: var(--amber-hover) !important;
  color: var(--white) !important;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  padding: 8px;
}

.nav-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition);
}

.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 900px) {
  .nav-toggle { display: flex; }

  .nav-links {
    display: none;
    position: fixed;
    top: var(--nav-h);
    left: 0; right: 0;
    background: var(--white);
    border-bottom: 1px solid var(--border);
    flex-direction: column;
    align-items: flex-start;
    padding: var(--sp-3) var(--sp-4);
    gap: var(--sp-1);
    box-shadow: 0 8px 24px rgba(0,0,0,0.1);
  }

  .nav-links.open { display: flex; }

  .nav-links a,
  .btn-nav-partner,
  .btn-nav-donate {
    width: 100%;
    text-align: left;
  }
}

/* =============================================
   BUTTONS
   ============================================= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-sans);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  padding: 14px 28px;
  border-radius: var(--radius-sm);
  border: 2px solid transparent;
  transition: background var(--transition), color var(--transition), border-color var(--transition), transform var(--transition), box-shadow var(--transition);
  cursor: pointer;
  line-height: 1;
  white-space: nowrap;
}

.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn-primary {
  background: var(--amber);
  color: var(--white);
  border-color: var(--amber);
}
.btn-primary:hover {
  background: var(--amber-hover);
  border-color: var(--amber-hover);
  box-shadow: 0 4px 16px rgba(245,158,11,0.35);
}

.btn-outline {
  background: transparent;
  color: var(--blue);
  border-color: var(--blue);
}
.btn-outline:hover {
  background: var(--blue);
  color: var(--white);
}

.btn-outline-white {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.6);
}
.btn-outline-white:hover {
  background: rgba(255,255,255,0.15);
  border-color: var(--white);
}

.btn-ghost {
  background: transparent;
  color: var(--blue);
  border-color: transparent;
  padding-left: 0;
  padding-right: 0;
}
.btn-ghost:hover { color: var(--teal); }

.btn-sm {
  font-size: 0.875rem;
  padding: 10px 20px;
}

/* =============================================
   PAGE TOP PADDING (fixed nav compensation)
   ============================================= */
main { padding-top: var(--nav-h); }

/* =============================================
   HERO
   ============================================= */
.hero {
  background-color: var(--blue);
  background-image:
    linear-gradient(rgba(15, 118, 110, 0.12) 1px, transparent 1px),
    linear-gradient(90deg, rgba(15, 118, 110, 0.12) 1px, transparent 1px);
  background-size: 48px 48px;
  padding: var(--sp-16) 0 var(--sp-12);
  position: relative;
  overflow: hidden;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 80px;
  background: linear-gradient(to bottom right, transparent 49%, var(--white) 50%);
}

.hero--teal {
  background-color: var(--teal);
  background-image:
    linear-gradient(rgba(30, 58, 138, 0.12) 1px, transparent 1px),
    linear-gradient(90deg, rgba(30, 58, 138, 0.12) 1px, transparent 1px);
  background-size: 48px 48px;
}

.hero--teal::after {
  background: linear-gradient(to bottom right, transparent 49%, var(--sand) 50%);
}

.hero--sand {
  background-color: var(--sand);
  background-image:
    linear-gradient(rgba(30, 58, 138, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(30, 58, 138, 0.05) 1px, transparent 1px);
  background-size: 48px 48px;
}

.hero--sand::after {
  background: linear-gradient(to bottom right, transparent 49%, var(--white) 50%);
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 760px;
}

.hero h1 {
  color: var(--white);
  margin-bottom: var(--sp-3);
  text-shadow: 0 2px 16px rgba(0,0,0,0.15);
}

.hero--sand h1 { color: var(--blue); }

.hero .lead {
  color: rgba(255,255,255,0.8);
  margin-bottom: var(--sp-6);
  font-size: 1.1875rem;
}

.hero--sand .lead { color: var(--muted); }

.hero-actions {
  display: flex;
  gap: var(--sp-2);
  flex-wrap: wrap;
}

/* =============================================
   PAGE HERO (inner pages - shorter)
   ============================================= */
.page-hero {
  background-color: var(--blue);
  background-image:
    linear-gradient(rgba(15, 118, 110, 0.12) 1px, transparent 1px),
    linear-gradient(90deg, rgba(15, 118, 110, 0.12) 1px, transparent 1px);
  background-size: 48px 48px;
  padding: var(--sp-12) 0 var(--sp-8);
  position: relative;
}

.page-hero::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 60px;
  background: linear-gradient(to bottom right, transparent 49%, var(--white) 50%);
}

.page-hero--teal { background-color: var(--teal); }
.page-hero--teal::after {
  background: linear-gradient(to bottom right, transparent 49%, var(--sand) 50%);
}
.page-hero--sand {
  background-color: var(--sand);
  background-image:
    linear-gradient(rgba(30, 58, 138, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(30, 58, 138, 0.05) 1px, transparent 1px);
  background-size: 48px 48px;
}
.page-hero--sand::after {
  background: linear-gradient(to bottom right, transparent 49%, var(--white) 50%);
}

.page-hero-content {
  position: relative;
  z-index: 1;
  max-width: 680px;
}

.page-hero h1 { color: var(--white); margin-bottom: var(--sp-2); }
.page-hero--sand h1 { color: var(--blue); }
.page-hero .lead { color: rgba(255,255,255,0.8); }
.page-hero--sand .lead { color: var(--muted); }

/* =============================================
   SECTIONS
   ============================================= */
.section {
  padding: var(--sp-12) 0;
}

.section--lg {
  padding: var(--sp-16) 0;
}

.section--sm {
  padding: var(--sp-8) 0;
}

.section--blue {
  background: var(--blue);
  color: var(--white);
}

.section--blue h2,
.section--blue h3 { color: var(--white); }

.section--teal {
  background: var(--teal);
  color: var(--white);
}

.section--teal h2,
.section--teal h3 { color: var(--white); }

.section--sand { background: var(--sand); }

.section--sand-dark { background: var(--sand-dark); }

.section-header {
  max-width: 620px;
  margin-bottom: var(--sp-8);
}

.section-header h2 { margin-bottom: var(--sp-2); }

.section-header .lead { margin-bottom: 0; }

/* =============================================
   CARDS
   ============================================= */
.card {
  background: var(--white);
  border-radius: var(--radius);
  padding: var(--sp-4);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  transition: box-shadow var(--transition), transform var(--transition);
}

.card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}

.card-icon {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  background: var(--blue-light);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--sp-3);
  flex-shrink: 0;
}

.card-icon--amber { background: var(--amber-light); }
.card-icon--teal  { background: var(--teal-light); }

.card h3 { margin-bottom: var(--sp-2); }
.card p { color: var(--muted); font-size: 0.9375rem; line-height: 1.65; margin-bottom: 0; }

.card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--blue);
  margin-top: var(--sp-3);
  transition: gap var(--transition), color var(--transition);
}

.card-link:hover { gap: 10px; color: var(--teal); }

.card-link svg { flex-shrink: 0; }

/* Pillar cards */
.pillar-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: var(--sp-4);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--transition), transform var(--transition), border-color var(--transition);
}

.pillar-card:hover {
  box-shadow: var(--shadow);
  border-color: var(--blue);
  transform: translateY(-3px);
}

.pillar-number {
  font-family: var(--font-serif);
  font-size: 3rem;
  font-weight: 600;
  color: var(--blue);
  line-height: 1;
  opacity: 0.15;
  margin-bottom: var(--sp-2);
}

.pillar-card h3 { margin-bottom: var(--sp-2); color: var(--blue); }

/* =============================================
   PULL QUOTES
   ============================================= */
.pull-quote {
  font-family: var(--font-serif);
  font-size: clamp(1.25rem, 2.5vw, 1.75rem);
  font-weight: 500;
  color: var(--teal);
  line-height: 1.45;
  padding-left: var(--sp-4);
  border-left: 4px solid var(--amber);
  margin: var(--sp-6) 0;
}

.pull-quote--white {
  color: rgba(255,255,255,0.9);
  border-left-color: var(--amber);
}

.pull-quote cite {
  display: block;
  font-family: var(--font-sans);
  font-style: normal;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--muted);
  margin-top: var(--sp-2);
  letter-spacing: 0.04em;
}

/* =============================================
   STATS / METRICS
   ============================================= */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--sp-4);
}

@media (max-width: 900px) {
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
  .stats-grid { grid-template-columns: 1fr; }
}

.stat-item { text-align: center; }

.stat-number {
  font-family: var(--font-serif);
  font-size: clamp(2.25rem, 4vw, 3rem);
  font-weight: 600;
  color: var(--amber);
  line-height: 1;
  margin-bottom: var(--sp-1);
}

.stat-label {
  font-size: 0.9375rem;
  color: rgba(255,255,255,0.75);
  line-height: 1.4;
  font-weight: 500;
}

.stat-label--dark { color: var(--muted); }

/* =============================================
   TABLES
   ============================================= */
.table-wrap {
  overflow-x: auto;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}

table {
  font-size: 0.9375rem;
}

thead tr {
  background: var(--blue);
  color: var(--white);
}

thead th {
  padding: 14px 20px;
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 0.8125rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-align: left;
}

tbody tr {
  border-bottom: 1px solid var(--border);
  transition: background var(--transition);
}

tbody tr:last-child { border-bottom: none; }
tbody tr:hover { background: var(--blue-light); }

tbody td {
  padding: 14px 20px;
  color: var(--text);
  line-height: 1.5;
  vertical-align: top;
}

tbody td strong { color: var(--blue); font-weight: 600; }

.table--teal thead tr { background: var(--teal); }

/* =============================================
   LOGIC MODEL TABLE
   ============================================= */
.logic-table {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

/* =============================================
   BADGES / TAGS
   ============================================= */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8125rem;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 99px;
  letter-spacing: 0.02em;
}

.badge--blue  { background: var(--blue-light); color: var(--blue); }
.badge--teal  { background: var(--teal-light); color: var(--teal-dark); }
.badge--amber { background: var(--amber-light); color: var(--amber-hover); }

/* =============================================
   TRACK CARDS (Partner page)
   ============================================= */
.track-card {
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  padding: var(--sp-6) var(--sp-4);
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--transition), transform var(--transition), border-color var(--transition);
}

.track-card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-3px);
  border-color: var(--teal);
}

.track-icon {
  width: 64px;
  height: 64px;
  border-radius: var(--radius);
  margin: 0 auto var(--sp-3);
  display: flex;
  align-items: center;
  justify-content: center;
}

.track-card h3 { margin-bottom: var(--sp-2); color: var(--blue); }
.track-card p  { color: var(--muted); font-size: 0.9375rem; line-height: 1.6; }

.track-card ul {
  text-align: left;
  margin-top: var(--sp-3);
  display: flex;
  flex-direction: column;
  gap: var(--sp-1);
}

.track-card ul li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 0.875rem;
  color: var(--muted);
}

.track-card ul li::before {
  content: '';
  display: block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--amber);
  flex-shrink: 0;
  margin-top: 9px;
}

/* =============================================
   SPEC CARDS (Donate page)
   ============================================= */
.spec-card {
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.spec-card-header {
  background: var(--blue);
  padding: var(--sp-3) var(--sp-4);
  display: flex;
  align-items: center;
  gap: var(--sp-2);
}

.spec-card-header h3 {
  color: var(--white);
  font-size: 1.125rem;
  margin-bottom: 0;
}

.spec-card-body { padding: var(--sp-4); }

/* =============================================
   CHECKLIST
   ============================================= */
.checklist {
  display: flex;
  flex-direction: column;
  gap: var(--sp-2);
}

.checklist-item {
  display: flex;
  align-items: flex-start;
  gap: var(--sp-2);
  font-size: 0.9375rem;
  color: var(--text);
}

.checklist-item .icon-check {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--teal-light);
  color: var(--teal);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}

.checklist-item .icon-x {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #FEE2E2;
  color: #DC2626;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}

/* =============================================
   STEP FLOW (About page)
   ============================================= */
.step-flow {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  position: relative;
}

.step-flow::before {
  content: '';
  position: absolute;
  top: 24px;
  left: calc(12.5%);
  right: calc(12.5%);
  height: 2px;
  background: var(--amber);
  z-index: 0;
}

.step {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 0 var(--sp-2);
  position: relative;
  z-index: 1;
}

.step-dot {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--blue);
  border: 3px solid var(--white);
  box-shadow: 0 0 0 2px var(--blue);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: 1.125rem;
  margin-bottom: var(--sp-3);
  flex-shrink: 0;
}

.step-dot--amber {
  background: var(--amber);
  box-shadow: 0 0 0 2px var(--amber);
}

.step h4 { margin-bottom: 6px; color: var(--blue); }
.step p { font-size: 0.875rem; color: var(--muted); margin-bottom: 0; }

@media (max-width: 768px) {
  .step-flow {
    grid-template-columns: 1fr;
    gap: var(--sp-4);
  }
  .step-flow::before { display: none; }
  .step { flex-direction: row; text-align: left; gap: var(--sp-3); }
  .step-dot { margin-bottom: 0; }
}

/* =============================================
   CTA SECTIONS
   ============================================= */
.cta-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-4);
}

@media (max-width: 768px) {
  .cta-split { grid-template-columns: 1fr; }
}

.cta-block {
  background: var(--white);
  border-radius: var(--radius);
  padding: var(--sp-6);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}

.cta-block--blue {
  background: var(--blue);
  border-color: transparent;
}

.cta-block--teal {
  background: var(--teal);
  border-color: transparent;
}

.cta-block--blue h3, .cta-block--teal h3 { color: var(--white); }
.cta-block--blue p,  .cta-block--teal p  { color: rgba(255,255,255,0.8); }
.cta-block h3 { margin-bottom: var(--sp-2); }
.cta-block p  { margin-bottom: var(--sp-4); font-size: 0.9375rem; }

/* =============================================
   NOTICE / ALERT
   ============================================= */
.notice {
  display: flex;
  gap: var(--sp-3);
  align-items: flex-start;
  background: var(--blue-light);
  border: 1px solid rgba(30, 58, 138, 0.2);
  border-radius: var(--radius);
  padding: var(--sp-4);
}

.notice--amber {
  background: var(--amber-light);
  border-color: rgba(245, 158, 11, 0.3);
}

.notice--teal {
  background: var(--teal-light);
  border-color: rgba(15, 118, 110, 0.3);
}

.notice p { font-size: 0.9375rem; color: var(--text); margin-bottom: 0; }

/* =============================================
   CASE STUDY CARDS
   ============================================= */
.case-card {
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--transition), transform var(--transition);
}

.case-card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}

.case-card-header {
  height: 6px;
  background: var(--blue);
}

.case-card-header--teal  { background: var(--teal); }
.case-card-header--amber { background: var(--amber); }

.case-card-body { padding: var(--sp-4); }
.case-card-region {
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--amber-hover);
  margin-bottom: var(--sp-1);
}
.case-card h3 { margin-bottom: var(--sp-2); font-size: 1.125rem; }
.case-card p  { color: var(--muted); font-size: 0.9375rem; line-height: 1.6; margin-bottom: 0; }

/* =============================================
   FOOTER
   ============================================= */
.footer {
  background: var(--blue);
  color: rgba(255,255,255,0.75);
  padding: var(--sp-12) 0 var(--sp-6);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--sp-8);
  padding-bottom: var(--sp-8);
  border-bottom: 1px solid rgba(255,255,255,0.12);
}

@media (max-width: 900px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: var(--sp-6); }
}
@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; }
}

.footer-brand .nav-wordmark {
  color: var(--white);
  font-size: 1.3125rem;
  margin-bottom: var(--sp-2);
  display: block;
}

.footer-tagline {
  font-family: var(--font-serif);
  font-size: 0.9375rem;
  font-style: italic;
  color: rgba(255,255,255,0.6);
  margin-top: var(--sp-2);
  line-height: 1.5;
}

.footer-brand p {
  font-size: 0.9rem;
  line-height: 1.6;
  margin-top: var(--sp-2);
  margin-bottom: 0;
}

.footer-col h4 {
  font-family: var(--font-sans);
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  margin-bottom: var(--sp-3);
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: var(--sp-2);
}

.footer-col a {
  font-size: 0.9375rem;
  color: rgba(255,255,255,0.75);
  transition: color var(--transition);
}

.footer-col a:hover { color: var(--white); }

.footer-bottom {
  padding-top: var(--sp-4);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-4);
  flex-wrap: wrap;
}

.footer-bottom p {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.45);
  margin-bottom: 0;
}

.footer-mandate {
  font-family: var(--font-serif);
  font-size: 0.9375rem;
  font-weight: 500;
  color: rgba(255,255,255,0.45);
  letter-spacing: 0.04em;
}

/* =============================================
   LOGO NAV INLINE SVG WRAPPERS
   ============================================= */
.logo-svg-wrap { display: flex; align-items: flex-end; }
.footer-logo-wrap { display: flex; align-items: flex-end; margin-bottom: var(--sp-2); }

/* =============================================
   DIVIDER
   ============================================= */
.divider {
  height: 1px;
  background: var(--border);
  margin: var(--sp-6) 0;
}

/* =============================================
   UTILITY
   ============================================= */
.text-center { text-align: center; }
.text-muted   { color: var(--muted); }
.text-white   { color: var(--white); }
.text-blue    { color: var(--blue); }
.text-teal    { color: var(--teal); }
.text-amber   { color: var(--amber); }

.mb-0 { margin-bottom: 0; }
.mb-2 { margin-bottom: var(--sp-2); }
.mb-3 { margin-bottom: var(--sp-3); }
.mb-4 { margin-bottom: var(--sp-4); }
.mb-6 { margin-bottom: var(--sp-6); }
.mb-8 { margin-bottom: var(--sp-8); }

.mt-4 { margin-top: var(--sp-4); }
.mt-6 { margin-top: var(--sp-6); }

.gap-2 { gap: var(--sp-2); }
.gap-3 { gap: var(--sp-3); }

.flex-row { display: flex; align-items: center; }

/* =============================================
   SCROLL ANIMATIONS
   ============================================= */
.fade-up {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.65s cubic-bezier(0.22, 1, 0.36, 1),
              transform 0.65s cubic-bezier(0.22, 1, 0.36, 1);
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

.fade-up:nth-child(2) { transition-delay: 0.1s; }
.fade-up:nth-child(3) { transition-delay: 0.18s; }
.fade-up:nth-child(4) { transition-delay: 0.26s; }
.fade-up:nth-child(5) { transition-delay: 0.34s; }

.stagger-1 { transition-delay: 0.08s !important; }
.stagger-2 { transition-delay: 0.16s !important; }
.stagger-3 { transition-delay: 0.24s !important; }
.stagger-4 { transition-delay: 0.32s !important; }

/* =============================================
   RESPONSIVE TWEAKS
   ============================================= */
@media (max-width: 768px) {
  .hero { padding: var(--sp-12) 0 var(--sp-8); }
  .section { padding: var(--sp-8) 0; }
  .section--lg { padding: var(--sp-12) 0; }
}

@media (max-width: 480px) {
  .hero { padding: var(--sp-8) 0 var(--sp-6); }
  .section { padding: var(--sp-6) 0; }
}
