/* ========================================
   NINE YEAR PLAN — STYLESHEET
   Deep navy · gold · ivory
   ======================================== */

:root {
  --navy:       #0f2044;
  --navy-mid:   #1a3160;
  --navy-light: #243f7a;
  --gold:       #c9a84c;
  --gold-light: #e0c070;
  --gold-pale:  #f5e9c8;
  --ivory:      #faf7f0;
  --cream:      #f2ead8;
  --text:       #2a2a2a;
  --muted:      #666;
  --border:     #ddd5c0;
  --white:      #ffffff;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.7;
  font-size: 16px;
}

h1, h2, h3, h4 {
  font-family: 'Cormorant Garamond', serif;
  line-height: 1.2;
}

a { color: var(--navy-light); text-decoration: none; }
a:hover { text-decoration: underline; }

.container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* ========================================
   NAVIGATION
   ======================================== */
#topnav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(15, 32, 68, 0.97);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(201, 168, 76, 0.2);
}

.nav-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 2rem;
  height: 58px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-brand {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: 0.03em;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 0.15rem;
}

.nav-links a {
  color: rgba(255,255,255,0.65);
  font-size: 0.76rem;
  font-weight: 500;
  padding: 0.35rem 0.65rem;
  border-radius: 4px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  transition: all 0.2s;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--gold);
  background: rgba(201,168,76,0.12);
  text-decoration: none;
}

/* ========================================
   HERO
   ======================================== */
#hero {
  position: relative;
  height: 100vh;
  min-height: 620px;
  background: linear-gradient(160deg, #060f25 0%, #0f2044 45%, #1a3a6b 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}

#hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 20% 50%, rgba(201,168,76,0.08) 0%, transparent 60%),
    radial-gradient(ellipse at 80% 20%, rgba(201,168,76,0.05) 0%, transparent 50%);
}

/* Star-like dots */
#hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(1px 1px at 20% 30%, rgba(255,255,255,0.4) 0%, transparent 100%),
    radial-gradient(1px 1px at 40% 70%, rgba(255,255,255,0.3) 0%, transparent 100%),
    radial-gradient(1px 1px at 60% 20%, rgba(255,255,255,0.35) 0%, transparent 100%),
    radial-gradient(1px 1px at 80% 60%, rgba(255,255,255,0.25) 0%, transparent 100%),
    radial-gradient(1px 1px at 90% 40%, rgba(255,255,255,0.3) 0%, transparent 100%);
}

.hero-overlay { position: absolute; inset: 0; background: rgba(0,0,0,0.1); }

.hero-content {
  position: relative;
  z-index: 1;
  color: #fff;
  max-width: 780px;
  padding: 2rem;
}

.hero-label {
  font-size: 0.8rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--gold);
  margin-bottom: 1.25rem;
}

.hero-content h1 {
  font-size: clamp(3.5rem, 9vw, 7rem);
  font-weight: 700;
  letter-spacing: -0.01em;
  color: #fff;
  margin-bottom: 0.3rem;
  text-shadow: 0 4px 30px rgba(0,0,0,0.4);
}

.hero-years {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1.5rem, 4vw, 2.5rem);
  color: var(--gold);
  margin-bottom: 1.25rem;
  letter-spacing: 0.1em;
  font-weight: 500;
}

.hero-tagline {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.75);
  max-width: 600px;
  margin: 0 auto 2.25rem;
  line-height: 1.8;
}

.hero-btn {
  display: inline-block;
  border: 2px solid var(--gold);
  color: var(--gold);
  font-weight: 600;
  padding: 0.8rem 2.5rem;
  border-radius: 50px;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  transition: all 0.25s;
}

.hero-btn:hover {
  background: var(--gold);
  color: var(--navy);
  text-decoration: none;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(201,168,76,0.3);
}

.hero-scroll-hint {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255,255,255,0.35);
  font-size: 1.5rem;
  animation: bounce 2s infinite;
  z-index: 1;
}

@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(8px); }
}

/* ========================================
   SECTIONS
   ======================================== */
.section { padding: 5.5rem 0; }
.section-light  { background: var(--white); }
.section-dark   { background: var(--navy); color: #ddd5c0; }
.section-cream  { background: var(--cream); }

.section-header {
  text-align: center;
  margin-bottom: 3.5rem;
}

.section-header h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--navy);
  margin-bottom: 0.75rem;
}

.section-header.light h2,
.section-dark .section-header h2 { color: #fff; }

.section-tag {
  display: inline-block;
  background: var(--gold);
  color: var(--navy);
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  padding: 0.25rem 0.9rem;
  border-radius: 50px;
  margin-bottom: 1rem;
}

.section-dark .section-tag {
  background: rgba(201,168,76,0.15);
  color: var(--gold);
  border: 1px solid rgba(201,168,76,0.4);
}

.section-desc {
  font-size: 1.05rem;
  color: var(--muted);
  max-width: 650px;
  margin: 0 auto;
  line-height: 1.85;
}

.section-dark .section-desc { color: rgba(255,255,255,0.55); }

/* ========================================
   THE PLAN — TWO COL
   ======================================== */
.content-grid.two-col {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 3.5rem;
  align-items: start;
}

.content-text p {
  font-size: 1.02rem;
  color: #444;
  line-height: 1.9;
  margin-bottom: 1.25rem;
}

.content-text strong { color: var(--navy); }

.content-text blockquote {
  border-left: 3px solid var(--gold);
  padding: 1rem 1.5rem;
  margin: 1.75rem 0;
  background: var(--gold-pale);
  font-style: italic;
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.1rem;
  color: var(--navy-mid);
  border-radius: 0 8px 8px 0;
  line-height: 1.7;
}

.fact-card {
  background: var(--ivory);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.5rem;
}

.fact-card h4 {
  font-size: 1rem;
  color: var(--navy);
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--gold);
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.15rem;
}

.fact-list { list-style: none; }
.fact-list li {
  display: flex;
  justify-content: space-between;
  padding: 0.45rem 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.88rem;
  gap: 0.5rem;
}
.fact-list li:last-child { border-bottom: none; }

.fact-label {
  color: var(--muted);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  font-weight: 600;
  flex-shrink: 0;
}

.protagonist-grid { display: flex; flex-direction: column; gap: 0.75rem; }

.protagonist {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

.protagonist-icon { font-size: 1.4rem; flex-shrink: 0; }

.protagonist strong {
  display: block;
  font-size: 0.9rem;
  color: var(--navy);
  margin-bottom: 0.15rem;
}

.protagonist p {
  font-size: 0.8rem;
  color: var(--muted);
  margin: 0;
  line-height: 1.5;
}

/* ========================================
   TIMELINE
   ======================================== */
.timeline {
  position: relative;
  padding-left: 3rem;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 0.9rem;
  top: 0; bottom: 0;
  width: 2px;
  background: rgba(201,168,76,0.3);
}

.timeline-item {
  position: relative;
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 1.5rem;
  margin-bottom: 2.5rem;
  align-items: start;
}

.timeline-item::before {
  content: '';
  position: absolute;
  left: -2.1rem;
  top: 0.6rem;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(201,168,76,0.5);
  border: 2px solid var(--gold);
}

.timeline-item.highlight::before {
  background: var(--gold);
  width: 14px;
  height: 14px;
  left: -2.3rem;
  box-shadow: 0 0 15px rgba(201,168,76,0.5);
}

.timeline-year {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--gold);
  padding-top: 0.1rem;
  flex-shrink: 0;
}

.timeline-body {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 10px;
  padding: 1.25rem 1.5rem;
}

.timeline-item.highlight .timeline-body {
  border-color: rgba(201,168,76,0.3);
  background: rgba(201,168,76,0.05);
}

.timeline-body h3 {
  font-size: 1.2rem;
  color: #fff;
  margin-bottom: 0.6rem;
}

.timeline-item.highlight .timeline-body h3 { color: var(--gold); }

.timeline-body p {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.6);
  line-height: 1.75;
  margin-bottom: 0.9rem;
}

.timeline-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.timeline-tags span {
  font-size: 0.72rem;
  padding: 0.2rem 0.65rem;
  border-radius: 50px;
  background: rgba(201,168,76,0.1);
  border: 1px solid rgba(201,168,76,0.25);
  color: var(--gold-light);
  font-weight: 500;
}

/* ========================================
   CORE ACTIVITIES
   ======================================== */
.activity-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.activity-card {
  background: #fff;
  border: 1px solid var(--border);
  border-top: 3px solid var(--gold);
  border-radius: 10px;
  padding: 1.75rem;
  transition: all 0.2s;
}

.activity-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 35px rgba(0,0,0,0.08);
}

.activity-num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 0.5rem;
  opacity: 0.6;
}

.activity-card h3 {
  font-size: 1.3rem;
  color: var(--navy);
  margin-bottom: 0.75rem;
}

.activity-card p {
  font-size: 0.88rem;
  color: #555;
  line-height: 1.8;
  margin-bottom: 1rem;
}

.activity-focus {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.activity-focus span {
  font-size: 0.72rem;
  padding: 0.2rem 0.65rem;
  border-radius: 50px;
  background: var(--gold-pale);
  border: 1px solid var(--border);
  color: var(--navy-mid);
  font-weight: 500;
}

.activity-note {
  background: var(--gold-pale);
  border: 1px solid var(--border);
  border-left: 4px solid var(--gold);
  border-radius: 8px;
  padding: 1rem 1.5rem;
  font-size: 0.9rem;
  color: #4a3d1f;
  line-height: 1.7;
}

/* ========================================
   FRAMEWORK
   ======================================== */
.framework-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.25rem;
  margin-bottom: 3rem;
}

.framework-card {
  background: var(--ivory);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 1.5rem;
  transition: all 0.2s;
}

.framework-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0,0,0,0.07);
}

.framework-card.primary {
  border-color: var(--gold);
  background: var(--gold-pale);
}

.fw-icon { font-size: 1.75rem; margin-bottom: 0.6rem; }

.framework-card h3 {
  font-size: 1.15rem;
  color: var(--navy);
  margin-bottom: 0.6rem;
}

.framework-card p {
  font-size: 0.87rem;
  color: #555;
  line-height: 1.75;
  margin-bottom: 0.75rem;
}

.fw-detail {
  font-size: 0.75rem;
  color: var(--gold);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  border-top: 1px solid var(--border);
  padding-top: 0.6rem;
  margin-top: 0.5rem;
}

/* Glossary */
.concept-glossary {
  background: var(--navy);
  border-radius: 12px;
  padding: 2.5rem;
}

.concept-glossary h3 {
  font-size: 1.5rem;
  color: var(--gold);
  margin-bottom: 1.5rem;
  text-align: center;
}

.glossary-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
}

.glossary-item dt {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--gold-light);
  margin-bottom: 0.4rem;
}

.glossary-item dd {
  font-size: 0.87rem;
  color: rgba(255,255,255,0.6);
  line-height: 1.75;
  margin: 0;
}

/* ========================================
   INSTITUTIONS
   ======================================== */
.institution-list {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.institution-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 10px;
  padding: 1.5rem 1.75rem;
  display: block;
  transition: all 0.2s;
}

.institution-card .inst-level {
  margin-bottom: 0.65rem;
}

.institution-card:hover {
  border-color: rgba(201,168,76,0.3);
  background: rgba(201,168,76,0.03);
}

.inst-level {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--gold);
  background: rgba(201,168,76,0.1);
  border: 1px solid rgba(201,168,76,0.25);
  padding: 0.3rem 0.6rem;
  border-radius: 4px;
  text-align: center;
  margin-top: 0.2rem;
  width: fit-content;
}

.institution-card h3 {
  font-size: 1.15rem;
  color: #fff;
  margin-bottom: 0.5rem;
}

.institution-card p {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.6);
  line-height: 1.8;
  margin: 0;
}

/* ========================================
   SOCIAL ACTION
   ======================================== */
.social-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.social-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 1.75rem;
  transition: all 0.2s;
}

.social-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0,0,0,0.07);
}

.social-icon { font-size: 2rem; margin-bottom: 0.75rem; }

.social-card h3 {
  font-size: 1.2rem;
  color: var(--navy);
  margin-bottom: 0.75rem;
}

.social-card p {
  font-size: 0.88rem;
  color: #555;
  line-height: 1.8;
  margin-bottom: 0.75rem;
}
.social-card p:last-child { margin-bottom: 0; }

/* ========================================
   STATISTICS
   ======================================== */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  gap: 1.5rem;
}

.stat-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 12px;
  padding: 2rem 1.5rem;
  text-align: center;
  transition: all 0.2s;
}

.stat-card:hover {
  border-color: rgba(201,168,76,0.3);
  transform: translateY(-3px);
}

.stat-num {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 0.5rem;
}

.stat-label {
  font-size: 0.85rem;
  font-weight: 600;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 0.5rem;
}

.stat-note {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.45);
  line-height: 1.5;
}

/* ========================================
   MESSAGES
   ======================================== */
.messages-list {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.message-card {
  background: var(--ivory);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 1.5rem 1.75rem;
  position: relative;
  transition: all 0.2s;
}

.message-card:hover {
  box-shadow: 0 6px 20px rgba(0,0,0,0.07);
  transform: translateY(-1px);
}

.message-card.featured {
  border-color: var(--gold);
  border-width: 2px;
  background: var(--gold-pale);
}

.msg-badge {
  position: absolute;
  top: -1px; right: -1px;
  background: var(--gold);
  color: var(--navy);
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 0.25rem 0.85rem;
  border-radius: 0 8px 0 8px;
}

.msg-date {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--gold);
  font-weight: 600;
  margin-bottom: 0.3rem;
}

.message-card h3 {
  font-size: 1.2rem;
  color: var(--navy);
  margin-bottom: 0.6rem;
}

.msg-themes {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 0.75rem;
}

.msg-themes span {
  font-size: 0.72rem;
  padding: 0.2rem 0.65rem;
  border-radius: 50px;
  background: rgba(15,32,68,0.07);
  border: 1px solid var(--border);
  color: var(--navy-mid);
  font-weight: 500;
}

.message-card p {
  font-size: 0.9rem;
  color: #555;
  line-height: 1.8;
  margin: 0;
}

/* ========================================
   YOUTH
   ======================================== */
.youth-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.75rem;
}

.youth-item {
  border-top: 2px solid rgba(201,168,76,0.3);
  padding-top: 1.25rem;
}

.youth-item h3 {
  font-size: 1.15rem;
  color: #fff;
  margin-bottom: 0.6rem;
}

.youth-item p {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.6);
  line-height: 1.8;
}

.youth-item strong { color: var(--gold-light); }

/* ========================================
   FOOTER
   ======================================== */
#footer {
  background: #080f20;
  color: rgba(255,255,255,0.6);
  padding: 3.5rem 0 2rem;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  margin-bottom: 1.5rem;
}

.footer-left h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.5rem;
  color: var(--gold);
  margin-bottom: 0.5rem;
}

.footer-left p, .footer-right p {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.4);
  line-height: 1.7;
  margin-bottom: 0.3rem;
}

.footer-bottom p {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.25);
  text-align: center;
}

/* ========================================
   FADE-IN ANIMATIONS
   ======================================== */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

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

/* ========================================
   RESPONSIVE
   ======================================== */
@media (max-width: 960px) {
  .content-grid.two-col { grid-template-columns: 1fr; }
  /* institution-card is block — no override needed */
  .nav-links { display: none; }
}

@media (max-width: 640px) {
  .section { padding: 3.5rem 0; }
  .timeline { padding-left: 1.5rem; }
  .timeline-item { grid-template-columns: 60px 1fr; gap: 1rem; }
  .footer-inner { flex-direction: column; }
}
