*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
:root {
  --deep:      #141715;
  --navy:      #143d28;
  --royal:     #22a366;
  --mid-blue:  #1a7a4c;
  --gold:      #1a7a4c;
  --gold-lt:   #22a366;
  --gold-pale: #b8e6cc;
  --cream:     #141715;
  --white:     #FFFFFF;
  --muted:     rgba(20,23,21,0.78);
  --line:      rgba(26,122,76,0.22);
  --bg-top:    #ffffff;
  --bg-bottom: #eaf5ef;
  --glass-bg:     rgba(255,255,255,0.4);
  --glass-border: rgba(255,255,255,0.75);
  --glass-shadow: 0 8px 32px rgba(10,40,25,0.18);
  --serif:  'Barlow Condensed', sans-serif;
  --display:'Barlow Condensed', sans-serif;
  --sans:   'Barlow', sans-serif;
  --mono:   'JetBrains Mono', monospace;
  --ease:   cubic-bezier(0.16,1,0.3,1);
  --spring: cubic-bezier(0.2,0.9,0.4,1.1);
}

[data-theme="dark"] {
  --deep:      #eef5f0;
  --cream:     #eef5f0;
  --white:     #0d100e;
  --muted:     rgba(238,245,240,0.68);
  --line:      rgba(34,163,102,0.3);
  --bg-top:    #0d100e;
  --bg-bottom: #10201a;
  --glass-bg:     rgba(255,255,255,0.06);
  --glass-border: rgba(255,255,255,0.12);
  --glass-shadow: 0 8px 32px rgba(0,0,0,0.4);
}
[data-theme="dark"] body { background: linear-gradient(180deg, #0d100e 0%, #10201a 55%, #0c1712 100%); }
[data-theme="dark"] footer { background: rgba(13,16,14,0.97); }
[data-theme="dark"] .card, [data-theme="dark"] .page-card, [data-theme="dark"] .ann-card { background: rgba(255,255,255,0.05); }
html { scroll-behavior: smooth; overflow-x: hidden; }
body {
  background: linear-gradient(180deg, var(--bg-top) 0%, #f5faf7 55%, var(--bg-bottom) 100%);
  color: var(--cream);
  font-family: var(--sans);
  overflow-x: hidden;
  cursor: default;
}

/* ═══════════════════════════════════════════════
   PAGE CURTAIN REVEAL
═══════════════════════════════════════════════ */
#curtain {
  position: fixed; inset: 0; z-index: 9999;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(180deg, var(--bg-top) 0%, var(--bg-bottom) 100%);
  flex-direction: column; gap: 18px;
}
#curtain .c-logo {
  font-family: var(--serif); font-size: 32px; font-weight: 800;
  letter-spacing: 0.12em; color: var(--gold);
  opacity: 0; animation: cFadeIn 0.6s 0.2s var(--ease) forwards;
}
#curtain .c-line {
  width: 0; height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  animation: cLine 0.8s 0.5s var(--ease) forwards;
}
#curtain .c-sub {
  font-size: 11px; letter-spacing: 0.3em; text-transform: uppercase;
  color: var(--muted); opacity: 0;
  animation: cFadeIn 0.5s 0.7s var(--ease) forwards;
}
@keyframes cFadeIn { to { opacity: 1; } }
@keyframes cLine   { to { width: 180px; } }
.ambient {
  position: fixed; inset: 0; pointer-events: none; z-index: 0;
  overflow: hidden;
}
.amb-orb {
  position: absolute; border-radius: 50%;
  filter: blur(100px); opacity: 0.18;
  animation: orbDrift 25s infinite alternate;
}
.amb-orb-1 { width: 700px; height: 700px; top: -200px; left: -200px; background: var(--mid-blue); animation-duration: 22s; }
.amb-orb-2 { width: 500px; height: 500px; bottom: -100px; right: -100px; background: var(--gold); opacity: 0.10; animation-duration: 30s; animation-direction: alternate-reverse; }
.amb-orb-3 { width: 350px; height: 350px; top: 45%; left: 40%; background: var(--royal); animation-duration: 18s; }
@keyframes orbDrift {
  0%   { transform: translate(0,0) scale(1); }
  100% { transform: translate(50px,40px) scale(1.25); }
}

/* grain overlay */
body::after {
  content: '';
  position: fixed; inset: 0; z-index: 1; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='g'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23g)' opacity='0.03'/%3E%3C/svg%3E");
  opacity: 0.5;
}
.hero {
  position: relative; z-index: 2;
  min-height: 100vh;
  display: flex; flex-direction: column;
  justify-content: center; align-items: center;
  text-align: center;
  padding: 120px 32px 80px;
  overflow: hidden;
}

.hero-rings {
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
}
.ring {
  position: absolute; border-radius: 50%;
  border: 1px solid rgba(26,122,76,0.12);
  transform: translate(-50%, -50%);
  animation: ringPulse 6s infinite ease-in-out;
}
.ring-1 { width: 380px; height: 380px; animation-delay: 0s; }
.ring-2 { width: 580px; height: 580px; animation-delay: 1.2s; border-color: rgba(26,122,76,0.07); }
.ring-3 { width: 800px; height: 800px; animation-delay: 2.4s; border-color: rgba(26,122,76,0.04); }
.ring-4 { width: 1050px; height: 1050px; animation-delay: 3.6s; border-color: rgba(26,122,76,0.025); }
@keyframes ringPulse {
  0%,100% { transform: translate(-50%,-50%) scale(1);   opacity: 1; }
  50%      { transform: translate(-50%,-50%) scale(1.04); opacity: 0.6; }
}

.hero-line-l, .hero-line-r {
  position: absolute; top: 0; bottom: 0; width: 1px;
  background: linear-gradient(to bottom, transparent, rgba(26,122,76,0.35) 30%, rgba(26,122,76,0.35) 70%, transparent);
  pointer-events: none;
}
.hero-line-l { left: 15%; }
.hero-line-r { right: 15%; }

.hero-content { position: relative; z-index: 2; max-width: 900px; }

.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 14px;
  font-size: 11px; font-weight: 600; letter-spacing: 0.32em;
  text-transform: uppercase; color: var(--gold);
  margin-bottom: 32px;
  opacity: 0; transform: translateY(20px);
  animation: heroUp 0.7s 1.5s var(--ease) forwards;
}
.hero-eyebrow::before, .hero-eyebrow::after {
  content: ''; display: block; width: 36px; height: 1px; background: var(--gold);
}

.hero-title {
  font-family: var(--serif);
  font-size: clamp(52px, 10vw, 116px);
  font-weight: 900;
  line-height: 0.9;
  letter-spacing: -0.01em;
  color: var(--deep);
  margin-bottom: 10px;
  opacity: 0; transform: translateY(30px);
  animation: heroUp 0.8s 1.65s var(--ease) forwards;
}
.hero-title .accent { color: var(--gold); font-style: italic; }
.hero-title .outline {
  -webkit-text-stroke: 2px rgba(20,23,21,0.28);
  color: transparent;
}

.hero-chapter {
  font-family: var(--display);
  font-size: clamp(18px, 3.5vw, 38px);
  font-style: italic; color: var(--gold-lt);
  letter-spacing: 0.06em; margin-bottom: 28px;
  opacity: 0; transform: translateY(24px);
  animation: heroUp 0.7s 1.8s var(--ease) forwards;
}

.hero-divider {
  display: flex; align-items: center; justify-content: center; gap: 14px;
  margin-bottom: 28px;
  opacity: 0; animation: heroUp 0.6s 1.9s var(--ease) forwards;
}
.hero-divider::before, .hero-divider::after {
  content: ''; display: block;
  width: 80px; height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold));
}
.hero-divider::after { background: linear-gradient(270deg, transparent, var(--gold)); }
.hero-divider-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--gold); box-shadow: 0 0 12px var(--gold);
}

.hero-desc {
  font-size: clamp(15px, 2vw, 18px); font-weight: 300; line-height: 1.8;
  color: var(--muted); max-width: 640px; margin: 0 auto 44px;
  opacity: 0; transform: translateY(20px);
  animation: heroUp 0.7s 2s var(--ease) forwards;
}
.hero-desc strong { color: var(--gold-lt); font-weight: 500; }

.hero-ctas {
  display: flex; align-items: center; justify-content: center; gap: 16px;
  flex-wrap: wrap;
  opacity: 0; transform: translateY(20px);
  animation: heroUp 0.7s 2.15s var(--ease) forwards;
}
.btn-primary {
  background: linear-gradient(135deg, var(--gold), var(--gold-lt));
  color: var(--deep); border: none;
  padding: 16px 38px; border-radius: 60px;
  font-family: var(--sans); font-size: 13px; font-weight: 700;
  letter-spacing: 0.14em; text-transform: uppercase; cursor: pointer;
  text-decoration: none; display: inline-block;
  box-shadow: 0 8px 32px rgba(26,122,76,0.4), 0 2px 8px rgba(10,40,25,0.25);
  transition: all 0.3s var(--ease); position: relative; overflow: hidden;
}
.btn-primary::before {
  content: ''; position: absolute; inset: 0;
  background: rgba(255,255,255,0); transition: background 0.3s ease;
}
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 16px 48px rgba(26,122,76,0.55); }
.btn-primary:hover::before { background: rgba(255,255,255,0.12); }

.btn-ghost {
  background: transparent;
  border: 1px solid rgba(26,122,76,0.4);
  color: var(--gold-lt); padding: 16px 38px; border-radius: 60px;
  font-family: var(--sans); font-size: 13px; font-weight: 600;
  letter-spacing: 0.14em; text-transform: uppercase; cursor: pointer;
  text-decoration: none; display: inline-block;
  transition: all 0.3s ease; backdrop-filter: blur(8px);
}
.btn-ghost:hover { border-color: var(--gold); background: rgba(26,122,76,0.1); transform: translateY(-3px); }

.hero-scroll {
  position: absolute; bottom: 36px; left: 50%; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  opacity: 0; animation: heroUp 0.6s 2.4s var(--ease) forwards; cursor: pointer;
}
.scroll-label { font-size: 9px; letter-spacing: 0.3em; text-transform: uppercase; color: var(--muted); }
.scroll-track {
  width: 1px; height: 52px;
  background: linear-gradient(to bottom, rgba(26,122,76,0.6), transparent);
  position: relative;
}
.scroll-dot {
  position: absolute; top: 0; left: 50%; transform: translateX(-50%);
  width: 5px; height: 5px; border-radius: 50%;
  background: var(--gold); margin-left: -2px;
  animation: scrollBob 2s infinite var(--ease);
}
@keyframes scrollBob {
  0%,100% { top: 0; opacity: 1; }
  100%     { top: 42px; opacity: 0; }
}
@keyframes heroUp { to { opacity: 1; transform: translateY(0); } }

/* ═══════════════════════════════════════════════
   WELCOME SECTION
═══════════════════════════════════════════════ */
.welcome {
  position: relative; z-index: 2;
  padding: 120px 48px;
  max-width: 1400px; margin: 0 auto;
  display: grid; grid-template-columns: 1fr 1.1fr; gap: 80px;
  align-items: center;
}
.welcome-left { opacity: 0; transform: translateX(-40px); transition: all 0.8s var(--ease); }
.welcome-left.vis { opacity: 1; transform: translateX(0); }
.welcome-right { opacity: 0; transform: translateX(40px); transition: all 0.8s 0.2s var(--ease); }
.welcome-right.vis { opacity: 1; transform: translateX(0); }

.section-tag {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 10px; font-weight: 700; letter-spacing: 0.28em;
  text-transform: uppercase; color: var(--gold); margin-bottom: 20px;
}
.section-tag::before {
  content: ''; display: block; width: 24px; height: 1.5px; background: var(--gold);
}

.welcome-heading {
  font-family: var(--serif);
  font-size: clamp(36px, 5vw, 60px);
  font-weight: 700; line-height: 1.1;
  color: var(--cream); margin-bottom: 24px;
}
.welcome-heading em { color: var(--gold); font-style: italic; }

.welcome-body {
  font-size: 16px; font-weight: 300; line-height: 1.9;
  color: var(--muted); margin-bottom: 16px;
}
.welcome-body strong { color: var(--gold-lt); font-weight: 500; }

.welcome-sig {
  margin-top: 32px; display: flex; align-items: center; gap: 16px;
  padding-top: 24px; border-top: 1px solid var(--line);
}
.sig-avatar {
  width: 50px; height: 50px; border-radius: 50%;
  background: linear-gradient(135deg, var(--royal), var(--mid-blue));
  border: 1.5px solid var(--gold);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--serif); font-size: 18px; font-weight: 900; color: var(--gold);
}
.sig-info { display: flex; flex-direction: column; gap: 2px; }
.sig-name { font-size: 14px; font-weight: 600; color: var(--cream); }
.sig-role { font-size: 11px; font-weight: 400; letter-spacing: 0.1em; color: var(--muted); }

.welcome-card {
  background: linear-gradient(160deg, rgba(255,255,255,0.55), rgba(255,255,255,0.14) 40%), linear-gradient(135deg, var(--purple-1,#22a366), var(--purple-2,#1a7a4c));
  border: 1px solid var(--line);
  border-radius: 28px; padding: 40px;
  backdrop-filter: blur(16px);
  box-shadow: 0 32px 64px rgba(10,40,25,0.25), inset 0 1px 0 rgba(26,122,76,0.15);
  position: relative; overflow: hidden;
}
.welcome-card::before {
  content: ''; position: absolute; top: -60px; right: -60px;
  width: 200px; height: 200px; border-radius: 50%;
  background: radial-gradient(circle, rgba(26,122,76,0.18), transparent 70%);
  pointer-events: none;
}
.wc-badge {
  font-size: 9px; font-weight: 700; letter-spacing: 0.28em; text-transform: uppercase;
  color: #fff; background: rgba(255,255,255,0.18);
  border: 1px solid rgba(255,255,255,0.35);
  display: inline-block; padding: 5px 14px; border-radius: 40px; margin-bottom: 24px;
}
.wc-title {
  font-family: var(--serif); font-size: 26px; font-weight: 700;
  color: #fff; line-height: 1.2; margin-bottom: 20px;
}
.wc-list { list-style: none; display: flex; flex-direction: column; gap: 14px; }
.wc-list li {
  display: flex; align-items: flex-start; gap: 14px;
  font-size: 14px; font-weight: 300; color: rgba(255,255,255,0.88); line-height: 1.5;
}
.wc-icon {
  width: 30px; height: 30px; flex-shrink: 0; border-radius: 8px;
  background: rgba(255,255,255,0.2); border: 1px solid rgba(255,255,255,0.35);
  display: flex; align-items: center; justify-content: center; font-size: 14px; }
.nav-cards-section {
  position: relative; z-index: 2;
  padding: 80px 48px 120px;
  max-width: 1400px; margin: 0 auto;
}
.nav-cards-header {
  text-align: center; margin-bottom: 60px;
  opacity: 0; transform: translateY(30px);
  transition: all 0.7s var(--ease);
}
.nav-cards-header.vis { opacity: 1; transform: translateY(0); }
.nav-cards-title {
  font-family: var(--serif); font-size: clamp(34px,4.5vw,54px);
  font-weight: 700; color: var(--cream); margin-bottom: 12px;
}
.nav-cards-title em { color: var(--gold); font-style: italic; }
.nav-cards-sub { font-size: 15px; font-weight: 300; color: var(--muted); }

.cards-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 24px;
}
.page-card {
  background: var(--glass-bg);
  border: 1px solid rgba(26,122,76,0.18); border-radius: 24px; padding: 36px 28px;
  cursor: pointer; text-decoration: none;
  display: flex; flex-direction: column; gap: 20px;
  transition: all 0.4s var(--ease); backdrop-filter: blur(12px);
  box-shadow: 0 8px 28px rgba(10,40,25,0.2);
  opacity: 0; transform: translateY(28px); position: relative; overflow: hidden;
}
.page-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  transform: scaleX(0); transition: transform 0.4s var(--ease);
}
.page-card::after {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(circle at 80% 20%, rgba(26,122,76,0.06), transparent 60%);
  opacity: 0; transition: opacity 0.4s ease;
}
.page-card:hover { transform: translateY(-8px); border-color: rgba(26,122,76,0.45); box-shadow: 0 24px 56px rgba(10,40,25,0.3), 0 0 0 1px rgba(26,122,76,0.2); }
.page-card:hover::before { transform: scaleX(1); }
.page-card:hover::after  { opacity: 1; }
.page-card.vis { opacity: 1; transform: translateY(0); }

.card-icon-wrap {
  width: 54px; height: 54px; border-radius: 16px;
  display: flex; align-items: center; justify-content: center; font-size: 24px;
  border: 1px solid rgba(26,122,76,0.3); transition: all 0.3s ease; position: relative; z-index: 1;
}
.page-card:hover .card-icon-wrap { border-color: var(--gold); box-shadow: 0 0 20px rgba(26,122,76,0.25); }

.card-body-text { position: relative; z-index: 1; }
.card-title {
  font-family: var(--serif); font-size: 22px; font-weight: 700;
  color: var(--cream); margin-bottom: 8px; line-height: 1.2;
}
.card-desc { font-size: 13px; font-weight: 300; line-height: 1.65; color: var(--muted); }

.card-footer-row {
  display: flex; justify-content: space-between; align-items: center;
  margin-top: auto; padding-top: 20px;
  border-top: 1px solid rgba(26,122,76,0.12); position: relative; z-index: 1;
}
.card-link-label { font-size: 10px; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold); }
.card-arrow {
  width: 32px; height: 32px; border-radius: 50%;
  border: 1px solid rgba(26,122,76,0.35);
  display: flex; align-items: center; justify-content: center;
  font-size: 14px; color: var(--gold); transition: all 0.25s ease;
}
.page-card:hover .card-arrow { background: var(--gold); color: var(--deep); transform: translate(2px,-2px); }

.ic-blue { background: rgba(34,163,102,0.35); }
.ic-gold { background: rgba(26,122,76,0.15); }
.ic-teal { background: rgba(176,154,255,0.35); }
.ic-rose { background: rgba(61,43,168,0.22); }
.announcements {
  position: relative; z-index: 2;
  padding: 80px 48px;
  max-width: 1400px; margin: 0 auto;
}
.ann-header {
  display: flex; justify-content: space-between; align-items: flex-end;
  margin-bottom: 48px; opacity: 0; transform: translateY(24px);
  transition: all 0.7s var(--ease);
}
.ann-header.vis { opacity: 1; transform: translateY(0); }
.ann-title {
  font-family: var(--serif); font-size: clamp(28px,3.5vw,42px);
  font-weight: 700; color: var(--cream);
}
.ann-title em { color: var(--gold); font-style: italic; }
.ann-see-all {
  font-size: 11px; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--gold); text-decoration: none;
  display: flex; align-items: center; gap: 8px; transition: gap 0.2s ease;
}
.ann-see-all:hover { gap: 14px; }

.ann-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 20px;
}
.ann-card {
  background: var(--glass-bg);
  border: 1px solid rgba(26,122,76,0.15); border-radius: 20px; padding: 28px;
  transition: all 0.35s var(--ease); backdrop-filter: blur(10px);
  opacity: 0; transform: translateY(24px);
  cursor: pointer; text-decoration: none; display: block;
}
.ann-card:hover { transform: translateY(-5px); border-color: rgba(26,122,76,0.4); box-shadow: 0 20px 44px rgba(10,40,25,0.25); }
.ann-card.vis { opacity: 1; transform: translateY(0); }
.ann-meta {
  display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px;
}
.ann-tag {
  font-size: 9px; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase;
  padding: 3px 10px; border-radius: 20px;
}
.tag-urgent { background: rgba(217,108,108,0.2); color: #e0729a; border: 1px solid rgba(217,108,108,0.3); }
.tag-info   { background: rgba(26,122,76,0.15); color: var(--gold); border: 1px solid var(--line); }
.tag-event  { background: rgba(26,122,76,0.5); color: #b8e6cc; border: 1px solid rgba(26,122,76,0.6); }
.ann-date { font-size: 10px; color: var(--muted); font-weight: 300; letter-spacing: 0.08em; }
.ann-card-title {
  font-family: var(--serif); font-size: 18px; font-weight: 700;
  color: var(--cream); margin-bottom: 10px; line-height: 1.3;
}
.ann-excerpt {
  font-size: 13px; font-weight: 300; line-height: 1.6; color: var(--muted);
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
.pillars {
  position: relative; z-index: 2;
  padding: 100px 48px;
  background: linear-gradient(180deg, transparent, rgba(26,122,76,0.08), transparent);
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
}
.pillars-inner { max-width: 1400px; margin: 0 auto; }
.pillars-header {
  text-align: center; margin-bottom: 64px;
  opacity: 0; transform: translateY(24px); transition: all 0.7s var(--ease);
}
.pillars-header.vis { opacity: 1; transform: translateY(0); }
.pillars-title { font-family: var(--serif); font-size: clamp(30px,4vw,48px); font-weight: 700; color: var(--cream); }
.pillars-title em { color: var(--gold); font-style: italic; }

.pillars-row { display: grid; grid-template-columns: repeat(4,1fr); gap: 2px; }
.pillar {
  padding: 40px 28px; text-align: center;
  border-right: 1px solid var(--line);
  opacity: 0; transform: translateY(20px); transition: all 0.6s var(--ease);
}
.pillar:last-child { border-right: none; }
.pillar.vis { opacity: 1; transform: translateY(0); }
.pillar-num {
  font-family: var(--serif); font-size: 52px; font-weight: 900;
  color: rgba(26,122,76,0.18); line-height: 1; margin-bottom: 12px; letter-spacing: -0.02em;
}
.pillar-icon { font-size: 30px; margin-bottom: 16px; }
.pillar-title { font-family: var(--serif); font-size: 20px; font-weight: 700; color: var(--cream); margin-bottom: 10px; }
.pillar-desc { font-size: 13px; font-weight: 300; line-height: 1.65; color: var(--muted); }
.cta-band {
  position: relative; z-index: 2;
  padding: 100px 48px; text-align: center;
  max-width: 900px; margin: 0 auto;
  opacity: 0; transform: translateY(32px); transition: all 0.8s var(--ease);
}
.cta-band.vis { opacity: 1; transform: translateY(0); }
.cta-pre { font-size: 10px; font-weight: 700; letter-spacing: 0.3em; text-transform: uppercase; color: var(--gold); margin-bottom: 18px; }
.cta-heading { font-family: var(--serif); font-size: clamp(34px,5vw,62px); font-weight: 900; color: var(--cream); line-height: 1.1; margin-bottom: 20px; }
.cta-heading em { color: var(--gold); font-style: italic; }
.cta-sub { font-size: 16px; font-weight: 300; line-height: 1.8; color: var(--muted); margin-bottom: 40px; }
.cta-buttons { display: flex; justify-content: center; gap: 16px; flex-wrap: wrap; }
.whatsapp-cta {
  display: inline-flex; align-items: center; gap: 10px;
  margin-top: 22px;
  padding: 13px 28px;
  border-radius: 50px;
  background: #25D366;
  color: #fff; text-decoration: none;
  font-size: 14px; font-weight: 700; letter-spacing: 0.02em;
  box-shadow: 0 10px 26px rgba(37,211,102,0.4);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.whatsapp-cta:hover { transform: translateY(-2px); box-shadow: 0 14px 32px rgba(37,211,102,0.5); }
.whatsapp-fab {
  position: fixed; right: 18px; bottom: 96px; z-index: 140;
  width: 54px; height: 54px; border-radius: 50%;
  background: #25D366;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 10px 28px rgba(37,211,102,0.45);
  text-decoration: none;
  transition: transform 0.2s ease;
}
.whatsapp-fab:hover { transform: scale(1.06); }
.whatsapp-fab svg { width: 26px; height: 26px; }
footer {
  position: relative; z-index: 2;
  background: rgba(255,255,255,0.97);
  border-top: 1px solid var(--line);
  padding: 60px 48px 120px; /* extra bottom padding for mobile bottom nav */
}
.footer-inner { max-width: 1400px; margin: 0 auto; }
.footer-top {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px;
  margin-bottom: 48px; padding-bottom: 48px; border-bottom: 1px solid var(--line);
}
.footer-brand-col .f-logo {
  font-family: var(--serif); font-size: 28px; font-weight: 900;
  color: var(--gold); letter-spacing: 0.06em; margin-bottom: 14px;
}
.footer-brand-col p { font-size: 13px; font-weight: 300; line-height: 1.75; color: var(--muted); max-width: 280px; }
.f-col-title {
  font-size: 10px; font-weight: 700; letter-spacing: 0.24em;
  text-transform: uppercase; color: var(--gold); margin-bottom: 18px;
}
.f-links { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.f-links a { font-size: 13px; font-weight: 300; color: var(--muted); text-decoration: none; transition: color 0.2s ease; }
.f-links a:hover { color: var(--gold-lt); }
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center;
  font-size: 11px; color: rgba(20,23,21,0.55);
}
.footer-bottom a { color: var(--gold); text-decoration: none; }
#particles { position: fixed; inset: 0; z-index: 0; pointer-events: none; }
.topbar {
  display: flex;
  position: fixed; top: 0; left: 0; right: 0; z-index: 150;
  align-items: center;
  justify-content: space-between;
  padding: 0 16px; height: 60px;
  background: var(--glass-bg);
  border-bottom: 1px solid var(--glass-border);
  box-shadow: var(--glass-shadow);
  backdrop-filter: blur(18px) saturate(180%);
  -webkit-backdrop-filter: blur(18px) saturate(180%);
  flex-shrink: 0;
}

.logo {
  display: flex; align-items: center; gap: 10px;
}
.logo-icon {
  width: 38px; height: 38px; border-radius: 10px;
  background: linear-gradient(135deg, var(--royal), var(--mid-blue));
  border: 1.5px solid var(--glass-border);
  box-shadow: 0 4px 10px rgba(90,60,200,0.3);
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
}
.logo-text {
  color: var(--deep); font-weight: 700; font-size: 16px; letter-spacing: 0.3px;
}
.logo-text span { color: #1a7a4c; }
.menu-btn {
  width: 38px; height: 38px; border-radius: 10px;
  background: var(--glass-bg);
  border: 1.5px solid var(--glass-border);
  box-shadow: var(--glass-shadow);
  cursor: pointer;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 5px; transition: background 0.2s;
}
.menu-btn:hover { background: rgba(26,122,76,0.14); }
.menu-btn span {
  display: block; height: 2px; background: var(--deep);
  border-radius: 2px; transition: width 0.2s;
}
.menu-btn span:nth-child(1) { width: 18px; }
.menu-btn span:nth-child(2) { width: 18px; }
.menu-btn span:nth-child(3) { width: 12px; align-self: flex-end; }
.bottom-nav {
  display: flex;
  background: var(--glass-bg);
  border-top: 1px solid var(--glass-border);
  box-shadow: 0 -8px 32px rgba(10,40,25,0.18);
  backdrop-filter: blur(18px) saturate(180%);
  -webkit-backdrop-filter: blur(18px) saturate(180%);
  padding: 10px 0 14px;
  flex-shrink: 0;
  z-index: 200;
  position: fixed;
  bottom: 0; left: 0; right: 0;
}
.nav-item {
  flex: 1; background: none; border: none; cursor: pointer;
  display: flex; flex-direction: column; align-items: center; gap: 5px; padding: 0;
}
.nav-icon {
  width: 26px; height: 26px; border-radius: 7px;
  background: rgba(26,122,76,0.08);
  border: 1.5px solid rgba(26,122,76,0.18);
  transition: all 0.2s;
  overflow: hidden;
  display: flex; align-items: center; justify-content: center;
}
.nav-label {
  font-size: 11px; font-weight: 500;
  color: rgba(20,23,21,0.68); letter-spacing: 0.2px; transition: color 0.2s;
}
.nav-item.active .nav-icon {
  background: rgba(26,122,76,0.22);
  border-color: rgba(26,122,76,0.5);
}
.nav-item.active .nav-label { color: #1a7a4c; font-weight: 700; }
[data-theme="dark"] .nav-label { color: rgba(238,245,240,0.68); }
.slide-overlay {
  position: fixed; inset: 0;
  background: rgba(0,0,0,0.5);
  z-index: 300;
  opacity: 0; pointer-events: none; transition: opacity 0.28s ease;
}
.slide-overlay.show { opacity: 1; pointer-events: all; }
.panel {
  position: fixed;
  top: 0; right: 0; bottom: 0;
  width: 78%; max-width: 320px;
  background: linear-gradient(180deg, #f7fbf9 0%, #eef7f1 100%);
  z-index: 400;
  display: flex; flex-direction: column;
  transform: translateX(105%);
  transition: transform 0.32s cubic-bezier(0.32,0,0.15,1);
  box-shadow: -12px 0 40px rgba(10,40,25,0.3);
}
.panel.open { transform: translateX(0); }
.panel-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 22px 20px 16px;
  border-bottom: 1px solid var(--line); flex-shrink: 0;
}
.panel-title { color: var(--gold); font-size: 22px; font-weight: 700; letter-spacing: 0.3px; }
.close-btn {
  width: 36px; height: 36px; border-radius: 10px;
  background: var(--glass-bg);
  border: 1.5px solid var(--glass-border);
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  color: var(--deep); font-size: 17px; line-height: 1; transition: background 0.2s;
}
.close-btn:hover { background: rgba(26,122,76,0.14); }
.menu-list {
  flex: 1; overflow-y: auto;
  padding: 12px 14px;
  display: flex; flex-direction: column; gap: 8px;
  scrollbar-width: none;
}
.menu-list::-webkit-scrollbar { display: none; }
.menu-item {
  display: flex; align-items: center; gap: 14px;
  padding: 13px 14px; border-radius: 14px;
  background: var(--glass-bg);
  border: 1.5px solid var(--glass-border);
  cursor: pointer; width: 100%; text-align: left;
  transition: background 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
  text-decoration: none;
}
.menu-item:hover { background: rgba(255,255,255,0.65); }
.menu-item.active {
  background: linear-gradient(135deg, #22a366 0%, #1a7a4c 100%);
  border-color: #1a7a4c;
  box-shadow: 0 4px 20px rgba(26,122,76,0.35);
}

/* Item icon slot */
.item-icon {
  width: 38px; height: 38px; border-radius: 10px;
  background: rgba(26,122,76,0.08);
  border: 1.5px solid rgba(26,122,76,0.18);
  flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
  transition: background 0.18s, border-color 0.18s;
}
.menu-item.active .item-icon {
  background: rgba(255,255,255,0.28);
  border-color: rgba(255,255,255,0.6);
}
.item-label {
  flex: 1; color: var(--deep);
  font-weight: 500; font-size: 15px; letter-spacing: 0.2px;
  transition: color 0.18s, font-weight 0.18s;
}
.menu-item.active .item-label { color: #fff; font-weight: 700; }
.chevron { width: 18px; height: 18px; flex-shrink: 0; opacity: 0.35; transition: opacity 0.18s; }
.menu-item.active .chevron { opacity: 1; }
.chevron path { stroke: #1a7a4c; }
.menu-item.active .chevron path { stroke: #fff; }
@media (max-width: 1024px) {
  .welcome { grid-template-columns: 1fr; gap: 52px; padding: 80px 32px; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 32px; }
  .pillars-row { grid-template-columns: repeat(2,1fr); }
  .pillar:nth-child(2) { border-right: none; }
  .pillar:nth-child(3) { border-right: 1px solid var(--line); }
}
@media (max-width: 768px) {
  .hero { padding: 110px 24px 90px; }
  .hero-line-l, .hero-line-r { display: none; }
  .nav-cards-section, .announcements, .pillars { padding: 60px 24px; }
  .pillars-row { grid-template-columns: 1fr 1fr; }
  .pillar { padding: 28px 16px; }
  .pillar:nth-child(3) { border-right: none; }
  .footer-top { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
  .cta-band { padding: 70px 24px; }
  footer { padding-bottom: 100px; }
  .welcome { padding: 80px 20px; }
}
@media (max-width: 520px) {
  .pillars-row { grid-template-columns: 1fr; }
  .pillar { border-right: none; border-bottom: 1px solid var(--line); }
  .pillar:last-child { border-bottom: none; }
  .ann-header { flex-direction: column; align-items: flex-start; gap: 12px; }
}

/* ── Accessibility: visible keyboard focus ── */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible,
[tabindex]:focus-visible {
  outline: 2.5px solid #1a7a4c;
  outline-offset: 2px;
  border-radius: 4px;
}

/* ── Dark mode toggle button ── */
.theme-toggle {
  width: 38px; height: 38px; border-radius: 10px;
  background: rgba(255,255,255,0.4);
  border: 1.5px solid rgba(255,255,255,0.75);
  cursor: pointer; display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; transition: background 0.2s ease;
}
.theme-toggle:hover { background: rgba(26,122,76,0.14); }
.theme-toggle svg { width: 18px; height: 18px; }
.theme-toggle .icon-sun { display: none; }
[data-theme="dark"] .theme-toggle { background: rgba(255,255,255,0.06); border-color: rgba(255,255,255,0.12); }
[data-theme="dark"] .theme-toggle:hover { background: rgba(34,163,102,0.2); }
[data-theme="dark"] .theme-toggle .icon-moon { display: none; }
[data-theme="dark"] .theme-toggle .icon-sun { display: block; }
