/* ==========================================================================
   Uromi JDPCI — Design System (Phase 2A Shell)
   Derived strictly from brand logos. Editorial + institutional.
   ========================================================================== */

/* ---------- Custom Properties ---------- */
:root {
  /* Primary Blue — from Uromi JDPCI logo #148BCC */
  --blue-950: #072A42;
  --blue-900: #0A3D5C;
  --blue-800: #0D4F78;
  --blue-700: #1168A0;
  --blue-600: #148BCC;
  --blue-500: #2A9FD8;
  --blue-400: #5BB5E3;
  --blue-300: #8FCDF0;
  --blue-200: #C2E4F7;
  --blue-100: #E6F3FB;
  --blue-50:  #F3F9FD;

  /* Gold / Yellow — from logo #F7EC00 (refined) */
  --gold-700: #B38F00;
  --gold-600: #C9A400;
  --gold-500: #E6B800;
  --gold-400: #F0C92A;
  --gold-300: #F5D85C;
  --gold-200: #F9E99A;
  --gold-100: #FDF6D4;
  --gold-50:  #FEFBEA;

  /* Supporting Red — Caritas (sparing use) */
  --red-600: #D91E22;
  --red-500: #ED2024;
  --red-100: #FDE8E8;

  /* Neutrals */
  --neutral-950: #0F172A;
  --neutral-900: #1A2B3C;
  --neutral-800: #2D3E50;
  --neutral-700: #3F5163;
  --neutral-600: #5A6A7A;
  --neutral-500: #7A8A9A;
  --neutral-400: #9AABC0;
  --neutral-300: #C5D0DC;
  --neutral-200: #E2E8F0;
  --neutral-100: #F1F5F9;
  --neutral-50:  #F8FAFC;
  --white:      #FFFFFF;

  /* Semantic */
  --bg-page:        #F8FAFC;
  --bg-surface:     #FFFFFF;
  --text-primary:   var(--neutral-900);
  --text-secondary: var(--neutral-600);
  --text-muted:     var(--neutral-500);
  --border:         var(--neutral-200);
  --border-strong:  var(--neutral-300);

  /* Shadows */
  --shadow-xs:  0 1px 2px rgba(15, 23, 42, 0.04);
  --shadow-sm:  0 1px 3px rgba(15, 23, 42, 0.06), 0 1px 2px rgba(15, 23, 42, 0.04);
  --shadow-md:  0 4px 6px -1px rgba(15, 23, 42, 0.07), 0 2px 4px -2px rgba(15, 23, 42, 0.05);
  --shadow-lg:  0 10px 15px -3px rgba(15, 23, 42, 0.08), 0 4px 6px -4px rgba(15, 23, 42, 0.04);
  --shadow-xl:  0 20px 25px -5px rgba(15, 23, 42, 0.08), 0 8px 10px -6px rgba(15, 23, 42, 0.04);

  /* Radius */
  --radius-sm:  6px;
  --radius-md:  10px;
  --radius-lg:  14px;
  --radius-xl:  20px;
  --radius-2xl: 28px;
  --radius-full: 9999px;

  /* Spacing */
  --space-1:  0.25rem;
  --space-2:  0.5rem;
  --space-3:  0.75rem;
  --space-4:  1rem;
  --space-5:  1.25rem;
  --space-6:  1.5rem;
  --space-8:  2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-20: 5rem;
  --space-24: 6rem;

  /* Typography */
  --font-serif: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --font-sans:  'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  /* Layout */
  --container: 1120px;
  --header-h:  72px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-sans);
  font-weight: 400;
  line-height: 1.65;
  color: var(--text-primary);
  background: var(--bg-page);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
img, svg { max-width: 100%; display: block; }
a { color: var(--blue-600); text-decoration: none; transition: color 0.2s ease; }
a:hover { color: var(--blue-800); }
ul, ol { list-style: none; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; border: none; background: none; }

/* ---------- Utilities ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--space-6);
}
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

/* ---------- Typography helpers ---------- */
.font-serif { font-family: var(--font-serif); }
.text-display { font-family: var(--font-serif); font-size: clamp(2.25rem, 5vw, 3.5rem); font-weight: 600; line-height: 1.15; letter-spacing: -0.03em; }
.text-h1 { font-family: var(--font-serif); font-size: clamp(1.875rem, 4vw, 2.5rem); font-weight: 600; line-height: 1.2; letter-spacing: -0.025em; }
.text-h2 { font-family: var(--font-serif); font-size: clamp(1.5rem, 3vw, 2rem); font-weight: 600; line-height: 1.25; letter-spacing: -0.02em; }
.text-h3 { font-family: var(--font-serif); font-size: 1.5rem; font-weight: 600; line-height: 1.3; }
.text-h4 { font-family: var(--font-serif); font-size: 1.25rem; font-weight: 600; line-height: 1.35; }
.text-body-lg { font-size: 1.125rem; line-height: 1.7; }
.text-body { font-size: 1rem; line-height: 1.65; }
.text-sm { font-size: 0.875rem; line-height: 1.6; }
.text-caption { font-size: 0.8125rem; line-height: 1.5; color: var(--text-muted); }
.text-muted { color: var(--text-muted); }
.text-secondary { color: var(--text-secondary); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 0.9375rem;
  line-height: 1;
  padding: 0.875rem 1.5rem;
  border-radius: var(--radius-md);
  border: 2px solid transparent;
  cursor: pointer;
  transition: all 0.2s ease;
  text-decoration: none;
  white-space: nowrap;
}
.btn:focus-visible {
  outline: 2px solid var(--blue-600);
  outline-offset: 2px;
}
.btn-primary {
  background: var(--blue-600);
  color: #fff;
  box-shadow: 0 1px 2px rgba(20, 139, 204, 0.25);
}
.btn-primary:hover {
  background: var(--blue-700);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(20, 139, 204, 0.3);
}
.btn-secondary {
  background: var(--white);
  color: var(--blue-700);
  border-color: var(--blue-200);
}
.btn-secondary:hover {
  background: var(--blue-50);
  border-color: var(--blue-300);
  color: var(--blue-800);
}
.btn-gold {
  background: var(--gold-500);
  color: var(--neutral-900);
  box-shadow: 0 1px 2px rgba(230, 184, 0, 0.25);
}
.btn-gold:hover {
  background: var(--gold-400);
  color: var(--neutral-900);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(230, 184, 0, 0.3);
}
.btn-outline {
  background: transparent;
  color: var(--blue-700);
  border-color: var(--blue-600);
}
.btn-outline:hover {
  background: var(--blue-600);
  color: #fff;
}
.btn-ghost {
  background: transparent;
  color: var(--blue-700);
}
.btn-ghost:hover {
  background: var(--blue-50);
  color: var(--blue-800);
}
.btn-sm { padding: 0.55rem 1rem; font-size: 0.8125rem; }
.btn-lg { padding: 1.05rem 1.85rem; font-size: 1.0625rem; }
.btn-block { width: 100%; }

/* ---------- Forms ---------- */
.form-group { margin-bottom: var(--space-5); }
.form-label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--neutral-800);
  margin-bottom: var(--space-2);
}
.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: 0.8rem 1rem;
  font-size: 0.9375rem;
  color: var(--text-primary);
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-md);
  transition: all 0.2s ease;
  appearance: none;
}
.form-input:hover,
.form-select:hover,
.form-textarea:hover { border-color: var(--neutral-300); }
.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--blue-600);
  box-shadow: 0 0 0 3px rgba(20, 139, 204, 0.15);
}
.form-textarea { min-height: 120px; resize: vertical; }
.form-hint { font-size: 0.8125rem; color: var(--text-muted); margin-top: var(--space-1); }
.form-error { font-size: 0.8125rem; color: var(--red-600); margin-top: var(--space-1); }
.form-input.error { border-color: var(--red-500); }
.form-input.error:focus { box-shadow: 0 0 0 3px rgba(237, 32, 36, 0.12); }

/* ---------- Badges ---------- */
.badge {
  display: inline-flex;
  align-items: center;
  padding: 0.3rem 0.75rem;
  font-size: 0.75rem;
  font-weight: 600;
  border-radius: var(--radius-full);
  letter-spacing: 0.02em;
}
.badge-blue { background: var(--blue-100); color: var(--blue-800); }
.badge-gold { background: var(--gold-100); color: var(--gold-700); }
.badge-neutral { background: var(--neutral-100); color: var(--neutral-700); }
.badge-red { background: var(--red-100); color: var(--red-600); }

/* ---------- Cards (base) ---------- */
.card {
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  overflow: hidden;
  transition: all 0.25s ease;
  box-shadow: var(--shadow-sm);
}
.card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
  border-color: var(--blue-200);
}

/* ---------- Flash messages ---------- */
.flash-messages {
  position: fixed;
  top: calc(var(--header-h) + 12px);
  right: 16px;
  z-index: 200;
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-width: 360px;
}
.flash {
  padding: 0.9rem 1.15rem;
  border-radius: var(--radius-md);
  font-size: 0.875rem;
  font-weight: 500;
  box-shadow: var(--shadow-lg);
  animation: flashIn 0.3s ease;
}
.flash-success { background: #ECFDF5; color: #065F46; border: 1px solid #A7F3D0; }
.flash-danger  { background: #FEF2F2; color: #991B1B; border: 1px solid #FECACA; }
.flash-info    { background: var(--blue-50); color: var(--blue-800); border: 1px solid var(--blue-200); }
@keyframes flashIn {
  from { opacity: 0; transform: translateY(-8px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ==========================================================================
   HEADER / NAVBAR
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  height: var(--header-h);
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  gap: var(--space-6);
}
.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
  text-decoration: none;
}
.brand img {
  height: 42px;
  width: auto;
}
.brand-text {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--blue-900);
  line-height: 1.2;
  letter-spacing: -0.01em;
}
.brand-text span {
  display: block;
  font-family: var(--font-sans);
  font-size: 0.7rem;
  font-weight: 500;
  color: var(--text-muted);
  letter-spacing: 0.02em;
}

/* Desktop nav */
.nav-desktop {
  display: none;
  align-items: center;
  gap: 0.15rem;
}
@media (min-width: 1024px) {
  .nav-desktop { display: flex; }
}
.nav-link {
  position: relative;
  padding: 0.5rem 0.85rem;
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--neutral-700);
  border-radius: var(--radius-sm);
  transition: color 0.2s ease, background 0.2s ease;
}
.nav-link:hover {
  color: var(--blue-700);
  background: var(--blue-50);
}
.nav-link.active {
  color: var(--blue-700);
  font-weight: 600;
}
.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 0.85rem;
  right: 0.85rem;
  height: 2px;
  background: var(--gold-500);
  border-radius: 1px;
}

/* Dropdown */
.nav-item { position: relative; }
.nav-item:hover .nav-dropdown,
.nav-item:focus-within .nav-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.nav-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 220px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  padding: 0.5rem;
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: all 0.2s ease;
  z-index: 50;
}
.nav-dropdown a {
  display: block;
  padding: 0.6rem 0.85rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--neutral-700);
  border-radius: var(--radius-sm);
}
.nav-dropdown a:hover {
  background: var(--blue-50);
  color: var(--blue-800);
}

.nav-actions {
  display: none;
  align-items: center;
  gap: 0.5rem;
  flex-shrink: 0;
}
@media (min-width: 1024px) {
  .nav-actions { display: flex; }
}

/* Mobile toggle */
.nav-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: var(--radius-md);
  color: var(--neutral-800);
  background: transparent;
  border: 1px solid var(--border);
}
.nav-toggle:hover { background: var(--neutral-50); }
@media (min-width: 1024px) {
  .nav-toggle { display: none; }
}
.nav-toggle svg { width: 22px; height: 22px; }

/* Mobile menu */
.nav-mobile {
  display: none;
  position: fixed;
  inset: var(--header-h) 0 0 0;
  background: var(--white);
  z-index: 90;
  padding: var(--space-6);
  overflow-y: auto;
  border-top: 1px solid var(--border);
}
.nav-mobile.is-open { display: block; }
.nav-mobile .nav-link {
  display: block;
  padding: 0.85rem 0;
  font-size: 1.0625rem;
  border-bottom: 1px solid var(--border);
  border-radius: 0;
}
.nav-mobile .nav-link.active::after { display: none; }
.nav-mobile .nav-link.active { color: var(--blue-700); }
.nav-mobile-actions {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-top: var(--space-6);
}
.nav-mobile-section {
  margin-top: var(--space-4);
}
.nav-mobile-section-title {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  margin-bottom: var(--space-2);
  padding-top: var(--space-3);
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.site-footer {
  background: var(--blue-950);
  color: var(--neutral-300);
  margin-top: auto;
  padding-top: var(--space-16);
  padding-bottom: var(--space-8);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: var(--space-10);
  margin-bottom: var(--space-12);
}
@media (max-width: 900px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: var(--space-8); }
}
@media (max-width: 560px) {
  .footer-grid { grid-template-columns: 1fr; }
}
.footer-brand {
  max-width: 300px;
}
.footer-brand .brand-text { color: #fff; }
.footer-brand p {
  font-size: 0.9375rem;
  line-height: 1.7;
  margin-top: var(--space-4);
  opacity: 0.85;
}
.footer-col h4 {
  font-family: var(--font-serif);
  font-size: 1rem;
  font-weight: 600;
  color: #fff;
  margin-bottom: var(--space-4);
}
.footer-col ul li { margin-bottom: 0.55rem; }
.footer-col a {
  color: var(--neutral-300);
  font-size: 0.875rem;
  transition: color 0.2s;
}
.footer-col a:hover { color: var(--gold-400); }

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  margin-bottom: 0.75rem;
  font-size: 0.875rem;
  color: var(--neutral-300);
}
.footer-contact-item svg {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  margin-top: 2px;
  opacity: 0.7;
}
.footer-contact-item a { color: inherit; }
.footer-contact-item a:hover { color: var(--gold-400); }

.footer-bottom {
  padding-top: var(--space-6);
  border-top: 1px solid rgba(255,255,255,0.1);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: var(--space-4);
  font-size: 0.8125rem;
  opacity: 0.7;
}
.footer-bottom a { color: inherit; }
.footer-bottom a:hover { color: var(--gold-400); }

/* Social links */
.social-links {
  display: flex;
  gap: 0.5rem;
  margin-top: var(--space-5);
}
.social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  color: #fff;
  transition: all 0.2s;
}
.social-links a:hover {
  background: var(--gold-500);
  color: var(--neutral-900);
}

/* ==========================================================================
   NEWSLETTER / SUBSCRIBE BLOCK
   ========================================================================== */
.subscribe-section {
  background: linear-gradient(135deg, var(--blue-900) 0%, var(--blue-700) 100%);
  padding: var(--space-16) 0;
  position: relative;
  overflow: hidden;
}
.subscribe-section::before {
  content: '';
  position: absolute;
  top: -40%;
  right: -15%;
  width: 50%;
  height: 180%;
  background: radial-gradient(circle, rgba(230,184,0,0.12) 0%, transparent 70%);
  pointer-events: none;
}
.subscribe-inner {
  position: relative;
  text-align: center;
  max-width: 640px;
  margin: 0 auto;
}
.subscribe-inner .eyebrow {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--gold-400);
  margin-bottom: var(--space-3);
}
.subscribe-inner h2 {
  font-family: var(--font-serif);
  font-size: clamp(1.75rem, 3.5vw, 2.25rem);
  font-weight: 600;
  color: #fff;
  margin-bottom: var(--space-4);
  letter-spacing: -0.02em;
}
.subscribe-inner p {
  color: rgba(255,255,255,0.85);
  font-size: 1.0625rem;
  line-height: 1.7;
  margin-bottom: var(--space-8);
}
.subscribe-form {
  display: flex;
  gap: 0.75rem;
  max-width: 480px;
  margin: 0 auto;
}
@media (max-width: 520px) {
  .subscribe-form { flex-direction: column; }
}
.subscribe-form .form-input {
  flex: 1;
  border: none;
  background: rgba(255,255,255,0.95);
  color: var(--neutral-900);
  height: 52px;
}
.subscribe-form .form-input::placeholder { color: var(--neutral-500); }
.subscribe-form .form-input:focus {
  box-shadow: 0 0 0 3px rgba(230, 184, 0, 0.35);
  border: none;
}
.subscribe-form .btn {
  height: 52px;
  padding-inline: 1.5rem;
  flex-shrink: 0;
}

/* ==========================================================================
   404 PAGE
   ========================================================================== */
.page-404 {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-20) var(--space-6);
  text-align: center;
}
.page-404-inner {
  max-width: 480px;
}
.page-404 .code {
  font-family: var(--font-serif);
  font-size: clamp(5rem, 15vw, 8rem);
  font-weight: 600;
  color: var(--blue-100);
  line-height: 1;
  margin-bottom: var(--space-4);
}
.page-404 h1 {
  font-family: var(--font-serif);
  font-size: 1.75rem;
  font-weight: 600;
  color: var(--blue-900);
  margin-bottom: var(--space-3);
}
.page-404 p {
  color: var(--text-secondary);
  margin-bottom: var(--space-8);
  font-size: 1.0625rem;
}

/* ==========================================================================
   PAGE HERO (shared for inner pages later)
   ========================================================================== */
.page-hero {
  background: linear-gradient(135deg, var(--blue-900) 0%, var(--blue-700) 100%);
  padding: var(--space-16) 0 var(--space-12);
  color: #fff;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  top: -30%;
  right: -10%;
  width: 45%;
  height: 160%;
  background: radial-gradient(circle, rgba(230,184,0,0.1) 0%, transparent 70%);
  pointer-events: none;
}
.page-hero .eyebrow {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--gold-400);
  margin-bottom: var(--space-3);
}
.page-hero h1 {
  font-family: var(--font-serif);
  font-size: clamp(1.875rem, 4vw, 2.75rem);
  font-weight: 600;
  letter-spacing: -0.025em;
  margin-bottom: var(--space-3);
  max-width: 700px;
}
.page-hero p {
  font-size: 1.125rem;
  opacity: 0.9;
  max-width: 560px;
  line-height: 1.7;
}

/* ==========================================================================
   MISC
   ========================================================================== */
.back-to-top {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--blue-600);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-md);
  opacity: 0;
  visibility: hidden;
  transition: all 0.25s ease;
  z-index: 50;
}
.back-to-top.is-visible {
  opacity: 1;
  visibility: visible;
}
.back-to-top:hover {
  background: var(--blue-700);
  transform: translateY(-2px);
  color: #fff;
}
.back-to-top svg { width: 20px; height: 20px; }

/* Main content grows */
main { flex: 1; }

/* ==========================================================================
   HOMEPAGE & IDENTITY PAGES (Phase 2B)
   ========================================================================== */

/* Hero */
.home-hero {
  position: relative;
  min-height: 88vh;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, var(--blue-950) 0%, var(--blue-800) 55%, var(--blue-700) 100%);
  color: #fff;
  overflow: hidden;
}
.home-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 85% 20%, rgba(230,184,0,0.14) 0%, transparent 55%),
    radial-gradient(ellipse 50% 40% at 10% 90%, rgba(20,139,204,0.25) 0%, transparent 50%);
  pointer-events: none;
}
.home-hero .container {
  position: relative;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: var(--space-12);
  align-items: center;
  padding-block: var(--space-16);
}
@media (max-width: 900px) {
  .home-hero { min-height: auto; }
  .home-hero .container {
    grid-template-columns: 1fr;
    padding-block: var(--space-12);
  }
}
.home-hero .eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--gold-400);
  margin-bottom: var(--space-4);
}
.home-hero h1 {
  font-family: var(--font-serif);
  font-size: clamp(2.25rem, 5vw, 3.4rem);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin-bottom: var(--space-5);
  max-width: 16ch;
}
.home-hero h1 span { color: var(--gold-400); }
.home-hero .lead {
  font-size: 1.125rem;
  line-height: 1.75;
  opacity: 0.9;
  max-width: 36ch;
  margin-bottom: var(--space-8);
}
.home-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}
.home-hero-visual {
  position: relative;
}
.home-hero-card {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius-xl);
  padding: var(--space-6);
  backdrop-filter: blur(8px);
}
.home-hero-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-4);
}
.stat-item {
  text-align: center;
  padding: var(--space-4);
  background: rgba(255,255,255,0.06);
  border-radius: var(--radius-md);
}
.stat-item strong {
  display: block;
  font-family: var(--font-serif);
  font-size: 1.75rem;
  font-weight: 600;
  color: var(--gold-400);
  line-height: 1.2;
}
.stat-item span {
  font-size: 0.8125rem;
  opacity: 0.8;
}

/* Section shared */
.section {
  padding: var(--space-20) 0;
}
.section-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto var(--space-12);
}
.section-header .eyebrow {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--blue-600);
  margin-bottom: var(--space-3);
}
.section-header h2 {
  font-family: var(--font-serif);
  font-size: clamp(1.75rem, 3.5vw, 2.25rem);
  font-weight: 600;
  color: var(--blue-900);
  letter-spacing: -0.02em;
  margin-bottom: var(--space-3);
}
.section-header p {
  color: var(--text-secondary);
  font-size: 1.0625rem;
  line-height: 1.7;
}

/* Focus areas grid */
.focus-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-5);
}
@media (max-width: 900px) {
  .focus-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 520px) {
  .focus-grid { grid-template-columns: 1fr; }
}
.focus-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  text-align: center;
  transition: all 0.25s ease;
  box-shadow: var(--shadow-xs);
}
.focus-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: var(--blue-200);
}
.focus-card .icon-wrap {
  width: 56px;
  height: 56px;
  margin: 0 auto var(--space-4);
  border-radius: var(--radius-md);
  background: var(--blue-50);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--blue-600);
}
.focus-card .icon-wrap svg { width: 26px; height: 26px; }
.focus-card h3 {
  font-family: var(--font-serif);
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--neutral-900);
  margin-bottom: var(--space-2);
}
.focus-card p {
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* About teaser */
.about-teaser {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-12);
  align-items: center;
}
@media (max-width: 800px) {
  .about-teaser { grid-template-columns: 1fr; }
}
.about-teaser-image {
  border-radius: var(--radius-xl);
  overflow: hidden;
  aspect-ratio: 4/3;
  background: var(--neutral-100);
  position: relative;
}
.about-teaser-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.about-teaser-content .eyebrow {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--blue-600);
  margin-bottom: var(--space-3);
}
.about-teaser-content h2 {
  font-family: var(--font-serif);
  font-size: clamp(1.75rem, 3vw, 2.15rem);
  font-weight: 600;
  color: var(--blue-900);
  margin-bottom: var(--space-4);
  letter-spacing: -0.02em;
}
.about-teaser-content p {
  color: var(--text-secondary);
  margin-bottom: var(--space-4);
  line-height: 1.7;
}
.about-points {
  display: grid;
  gap: 0.65rem;
  margin-bottom: var(--space-6);
}
.about-points li {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  font-size: 0.9375rem;
  color: var(--neutral-800);
}
.about-points li svg {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  color: var(--blue-600);
  margin-top: 2px;
}

/* Program cards on home */
.program-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
}
@media (max-width: 900px) {
  .program-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .program-grid { grid-template-columns: 1fr; }
}
.program-card .card-image {
  aspect-ratio: 16/10;
  background: var(--neutral-100);
}
.program-card .card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.program-card .card-body { padding: var(--space-5); }
.program-card .card-title {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--neutral-900);
  margin-bottom: var(--space-2);
  line-height: 1.3;
}
.program-card .card-excerpt {
  font-size: 0.9375rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: var(--space-4);
}

/* Testimonials */
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
}
@media (max-width: 900px) {
  .testimonial-grid { grid-template-columns: 1fr; }
}
.testimonial-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
}
.testimonial-card .quote {
  font-family: var(--font-serif);
  font-size: 1.0625rem;
  font-style: italic;
  color: var(--neutral-800);
  line-height: 1.65;
  margin-bottom: var(--space-5);
  flex: 1;
  position: relative;
  padding-left: 0.25rem;
}
.testimonial-card .quote::before {
  content: '"';
  font-size: 2.5rem;
  color: var(--gold-300);
  position: absolute;
  top: -0.6rem;
  left: -0.35rem;
  opacity: 0.7;
  font-family: var(--font-serif);
  font-style: normal;
}
.testimonial-card .author {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding-top: var(--space-4);
  border-top: 1px solid var(--border);
}
.testimonial-card .avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  background: var(--blue-100);
}
.testimonial-card .avatar-fallback {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--blue-100);
  color: var(--blue-700);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 0.875rem;
}
.testimonial-card .author strong {
  display: block;
  font-size: 0.9375rem;
  color: var(--neutral-900);
}
.testimonial-card .author span {
  font-size: 0.8125rem;
  color: var(--text-muted);
}

/* CTA band */
.cta-band {
  background: linear-gradient(135deg, var(--blue-900) 0%, var(--blue-700) 100%);
  padding: var(--space-16) 0;
  text-align: center;
  color: #fff;
  position: relative;
  overflow: hidden;
}
.cta-band::before {
  content: '';
  position: absolute;
  top: -40%;
  right: -10%;
  width: 40%;
  height: 180%;
  background: radial-gradient(circle, rgba(230,184,0,0.12) 0%, transparent 70%);
  pointer-events: none;
}
.cta-band h2 {
  font-family: var(--font-serif);
  font-size: clamp(1.75rem, 3.5vw, 2.25rem);
  font-weight: 600;
  margin-bottom: var(--space-3);
  letter-spacing: -0.02em;
}
.cta-band p {
  opacity: 0.9;
  font-size: 1.0625rem;
  max-width: 480px;
  margin: 0 auto var(--space-8);
  line-height: 1.7;
}
.cta-band .actions {
  display: flex;
  gap: 0.85rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* Inner page content */
.page-content {
  padding: var(--space-16) 0 var(--space-20);
}
.prose {
  max-width: 720px;
  margin: 0 auto;
}
.prose p {
  margin-bottom: var(--space-5);
  color: var(--neutral-700);
  line-height: 1.75;
  font-size: 1.0625rem;
}
.prose h2, .prose h3 {
  font-family: var(--font-serif);
  color: var(--blue-900);
  margin: var(--space-8) 0 var(--space-4);
}
.prose ul {
  margin: 0 0 var(--space-5) var(--space-6);
  list-style: disc;
  color: var(--neutral-700);
}
.prose ul li { margin-bottom: 0.4rem; line-height: 1.65; }

/* Partners */
.partners-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: var(--space-5);
  align-items: center;
}
.partner-item {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: var(--space-5);
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 90px;
  transition: all 0.2s;
}
.partner-item:hover {
  border-color: var(--blue-200);
  box-shadow: var(--shadow-sm);
}
.partner-item img {
  max-height: 48px;
  max-width: 100%;
  object-fit: contain;
  filter: grayscale(30%);
  opacity: 0.85;
}
.partner-item:hover img {
  filter: grayscale(0%);
  opacity: 1;
}

/* Team grid */
.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-6);
}
@media (max-width: 900px) {
  .team-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 520px) {
  .team-grid { grid-template-columns: 1fr; }
}
.team-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: all 0.25s ease;
}
.team-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
  border-color: var(--blue-200);
}
.team-card-photo {
  aspect-ratio: 1;
  background: var(--neutral-100);
  overflow: hidden;
}
.team-card-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.team-card-body {
  padding: var(--space-5);
}
.team-card-body h3 {
  font-family: var(--font-serif);
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--neutral-900);
  margin-bottom: 0.25rem;
}
.team-card-body .role {
  font-size: 0.875rem;
  color: var(--blue-600);
  font-weight: 500;
}

/* ==========================================================================
   PROGRAMS LIST & DETAIL (Phase 2C)
   ========================================================================== */

.program-list-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
}
@media (max-width: 900px) {
  .program-list-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .program-list-grid { grid-template-columns: 1fr; }
}

.program-list-card {
  display: flex;
  flex-direction: column;
  height: 100%;
}
.program-list-card .card-image {
  aspect-ratio: 16 / 10;
  background: var(--neutral-100);
}
.program-list-card .card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.program-list-card .card-body {
  padding: var(--space-5);
  display: flex;
  flex-direction: column;
  flex: 1;
}
.program-list-card .card-title {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--neutral-900);
  margin-bottom: var(--space-2);
  line-height: 1.3;
}
.program-list-card .card-excerpt {
  font-size: 0.9375rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: var(--space-4);
  flex: 1;
}
.program-list-card .card-actions {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-top: auto;
}

/* Context block on programs page */
.context-block {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--space-8);
  margin-bottom: var(--space-12);
  box-shadow: var(--shadow-xs);
}
.context-block h3 {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--blue-900);
  margin-bottom: var(--space-3);
}
.context-block p {
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: var(--space-3);
}
.context-block ul {
  list-style: disc;
  margin-left: var(--space-6);
  color: var(--neutral-700);
}
.context-block ul li {
  margin-bottom: 0.4rem;
  line-height: 1.6;
}

/* Program detail */
.detail-hero-image {
  width: 100%;
  max-height: 420px;
  object-fit: cover;
  border-radius: var(--radius-xl);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-md);
  margin-bottom: var(--space-8);
}
.detail-body {
  max-width: 720px;
  margin: 0 auto;
}
.detail-body h1 {
  font-family: var(--font-serif);
  font-size: clamp(1.75rem, 3.5vw, 2.35rem);
  font-weight: 600;
  color: var(--blue-900);
  letter-spacing: -0.02em;
  margin-bottom: var(--space-6);
  line-height: 1.25;
}
.detail-body .prose-text {
  font-size: 1.0625rem;
  line-height: 1.8;
  color: var(--neutral-700);
  white-space: pre-line;
}

/* Prev / Next navigation */
.detail-nav {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-5);
  margin-top: var(--space-12);
  padding-top: var(--space-8);
  border-top: 1px solid var(--border);
}
@media (max-width: 600px) {
  .detail-nav { grid-template-columns: 1fr; }
}
.detail-nav-item {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  padding: var(--space-4);
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  transition: all 0.2s ease;
  text-decoration: none;
  color: inherit;
}
.detail-nav-item:hover {
  border-color: var(--blue-200);
  box-shadow: var(--shadow-sm);
  color: inherit;
}
.detail-nav-item.next {
  flex-direction: row-reverse;
  text-align: right;
}
.detail-nav-thumb {
  width: 72px;
  height: 54px;
  border-radius: var(--radius-sm);
  object-fit: cover;
  flex-shrink: 0;
  background: var(--neutral-100);
}
.detail-nav-label {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--text-muted);
  margin-bottom: 0.2rem;
}
.detail-nav-title {
  font-family: var(--font-serif);
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--neutral-900);
  line-height: 1.3;
}

.empty-state {
  text-align: center;
  padding: var(--space-16) var(--space-6);
  color: var(--text-secondary);
}
.empty-state h3 {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  color: var(--blue-900);
  margin-bottom: var(--space-3);
}

/* ==========================================================================
   CONTENT HUB — Events, Articles, Newsletters, Annual Reports (Phase 2D)
   ========================================================================== */

.content-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
}
@media (max-width: 900px) {
  .content-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .content-grid { grid-template-columns: 1fr; }
}

.content-card {
  display: flex;
  flex-direction: column;
  height: 100%;
}
.content-card .card-image {
  aspect-ratio: 16 / 10;
  background: var(--neutral-100);
  position: relative;
}
.content-card .card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.content-card .card-date-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: rgba(255,255,255,0.95);
  color: var(--blue-800);
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.35rem 0.7rem;
  border-radius: var(--radius-full);
  box-shadow: var(--shadow-sm);
}
.content-card .card-body {
  padding: var(--space-5);
  display: flex;
  flex-direction: column;
  flex: 1;
}
.content-card .card-meta {
  font-size: 0.8125rem;
  color: var(--text-muted);
  margin-bottom: var(--space-2);
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
}
.content-card .card-title {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--neutral-900);
  margin-bottom: var(--space-2);
  line-height: 1.35;
}
.content-card .card-excerpt {
  font-size: 0.9375rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: var(--space-4);
  flex: 1;
}

/* Events — 2 col */
.events-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-6);
}
@media (max-width: 700px) {
  .events-grid { grid-template-columns: 1fr; }
}

/* Article detail content */
.article-content {
  max-width: 720px;
  margin: 0 auto;
}
.article-content .meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 1.5rem;
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-bottom: var(--space-6);
  padding-bottom: var(--space-5);
  border-bottom: 1px solid var(--border);
}
.article-content .body-html {
  font-size: 1.0625rem;
  line-height: 1.8;
  color: var(--neutral-700);
}
.article-content .body-html p { margin-bottom: 1.25rem; }
.article-content .body-html img { max-width: 100%; border-radius: var(--radius-md); margin: 1.5rem 0; }

/* PDF download card */
.pdf-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  box-shadow: var(--shadow-sm);
  position: sticky;
  top: calc(var(--header-h) + 16px);
}
.pdf-card h3 {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--blue-900);
  margin-bottom: var(--space-2);
}
.pdf-card p {
  font-size: 0.875rem;
  color: var(--text-secondary);
  margin-bottom: var(--space-5);
  line-height: 1.6;
}
.detail-layout {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: var(--space-10);
  align-items: start;
}
@media (max-width: 800px) {
  .detail-layout { grid-template-columns: 1fr; }
  .pdf-card { position: static; }
}

/* Pagination */
.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
  margin-top: var(--space-12);
  flex-wrap: wrap;
}
.pagination a,
.pagination span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 0.75rem;
  font-size: 0.875rem;
  font-weight: 500;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  background: var(--white);
  color: var(--neutral-700);
  transition: all 0.2s;
}
.pagination a:hover {
  border-color: var(--blue-300);
  color: var(--blue-700);
  background: var(--blue-50);
}
.pagination .is-active {
  background: var(--blue-600);
  border-color: var(--blue-600);
  color: #fff;
}
.pagination .is-disabled {
  opacity: 0.45;
  pointer-events: none;
}

/* Featured article on list */
.featured-article {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: var(--space-8);
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  overflow: hidden;
  margin-bottom: var(--space-12);
  box-shadow: var(--shadow-sm);
}
@media (max-width: 800px) {
  .featured-article { grid-template-columns: 1fr; }
}
.featured-article-image {
  aspect-ratio: 16/11;
  background: var(--neutral-100);
}
.featured-article-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.featured-article-body {
  padding: var(--space-8) var(--space-6) var(--space-8) 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
@media (max-width: 800px) {
  .featured-article-body { padding: var(--space-6); }
}
.featured-article-body .badge { margin-bottom: var(--space-3); align-self: flex-start; }
.featured-article-body h2 {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--blue-900);
  margin-bottom: var(--space-3);
  line-height: 1.3;
}
.featured-article-body p {
  color: var(--text-secondary);
  line-height: 1.65;
  margin-bottom: var(--space-5);
}

/* ==========================================================================
   COMMUNITY — Testimonials, Form, FAQs (Phase 2E)
   ========================================================================== */

/* FAQ accordion (no Bootstrap) */
.faq-list {
  max-width: 720px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}
.faq-item {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-xs);
}
.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  padding: var(--space-5) var(--space-5);
  text-align: left;
  font-family: var(--font-sans);
  font-size: 1rem;
  font-weight: 600;
  color: var(--neutral-900);
  background: transparent;
  cursor: pointer;
  transition: background 0.2s;
}
.faq-question:hover { background: var(--blue-50); }
.faq-question svg {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  color: var(--blue-600);
  transition: transform 0.25s ease;
}
.faq-item.is-open .faq-question svg { transform: rotate(180deg); }
.faq-answer {
  display: none;
  padding: 0 var(--space-5) var(--space-5);
  color: var(--text-secondary);
  font-size: 0.975rem;
  line-height: 1.7;
}
.faq-item.is-open .faq-answer { display: block; }
.faq-answer ul {
  list-style: disc;
  margin: 0.75rem 0 0 1.25rem;
}
.faq-answer ul li { margin-bottom: 0.35rem; }
.faq-answer a { color: var(--blue-600); text-decoration: underline; text-underline-offset: 2px; }

/* Form card */
.form-card {
  max-width: 560px;
  margin: 0 auto;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--space-8);
  box-shadow: var(--shadow-sm);
}
.form-card .form-errors {
  background: var(--red-100);
  color: var(--red-600);
  border: 1px solid #FECACA;
  border-radius: var(--radius-md);
  padding: var(--space-4);
  margin-bottom: var(--space-5);
  font-size: 0.875rem;
}
.form-card .form-errors ul {
  list-style: disc;
  margin-left: 1.15rem;
}
.form-check-label {
  font-size: 0.875rem;
  color: var(--neutral-700);
  line-height: 1.5;
}
