@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,400;0,600;0,700;1,400;1,600&family=Jost:wght@300;400;500;600&display=swap');

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

:root {
  --bg:       #f0f4f8;
  --bg2:      #e8eef4;
  --panel:    #dce6f0;
  --white:    #ffffff;
  --ink:      #1c2b3a;
  --ink-mid:  #3d5166;
  --muted:    #7a93aa;
  --accent:   #5b8db8;
  --accent2:  #3a6d9a;
  --line:     rgba(91,141,184,0.18);
  --dark:     #131e28;
  --shadow:   0 4px 28px rgba(28,43,58,0.08);
}

html { scroll-behavior: smooth; }
body {
  font-family: 'Jost', sans-serif;
  background: var(--bg);
  color: var(--ink);
  overflow-x: hidden;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* ─── NAV ─── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; justify-content: space-between; align-items: center;
  padding: 1.3rem 4rem;
  background: rgba(240,244,248,0.92);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
  transition: padding 0.3s;
}
nav.scrolled { padding: 0.85rem 4rem; }
.nav-logo {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.2rem; font-weight: 700;
  color: var(--ink); text-decoration: none; letter-spacing: 0.02em;
}
.nav-links { display: flex; gap: 2rem; list-style: none; }
.nav-links a {
  font-size: 0.76rem; font-weight: 500; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--ink-mid); text-decoration: none;
  transition: color 0.2s; padding-bottom: 2px;
  border-bottom: 1px solid transparent;
}
.nav-links a:hover,
.nav-links a.active { color: var(--accent2); border-bottom-color: var(--accent); }

/* ─── PAGE WRAPPER ─── */
main {
  flex: 1;
  padding-top: 74px;
}

/* ─── PAGE HERO BANNER ─── */
.page-banner {
  background: var(--white);
  padding: 5rem 5rem 4rem;
  border-bottom: 1px solid var(--line);
}
.page-banner .eyebrow {
  font-size: 0.7rem; font-weight: 600; letter-spacing: 0.24em;
  text-transform: uppercase; color: var(--accent); margin-bottom: 0.8rem;
  opacity: 0; animation: fadeUp 0.6s ease 0.1s forwards;
}
.page-banner h1 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2.6rem, 5vw, 4.5rem);
  font-weight: 700; line-height: 1.0; color: var(--ink);
  opacity: 0; animation: fadeUp 0.6s ease 0.2s forwards;
}
.page-banner h1 em { font-style: italic; color: var(--accent); font-weight: 400; }
.page-banner .sub {
  margin-top: 1rem;
  font-size: 1rem; font-weight: 300; line-height: 1.8;
  color: var(--ink-mid); max-width: 560px;
  opacity: 0; animation: fadeUp 0.6s ease 0.3s forwards;
}

/* ─── CONTENT AREA ─── */
.content {
  padding: 4rem 5rem 5rem;
  max-width: 1100px;
}

/* ─── SECTION LABELS ─── */
.section-label {
  font-size: 0.7rem; font-weight: 600; letter-spacing: 0.22em;
  text-transform: uppercase; color: var(--accent); margin-bottom: 0.6rem;
}
.section-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1.8rem, 3vw, 2.6rem); font-weight: 700;
  line-height: 1.1; color: var(--ink); margin-bottom: 2.5rem;
}
.section-title em { font-style: italic; color: var(--accent); font-weight: 400; }

/* ─── CARDS ─── */
.card {
  background: var(--white); border: 1px solid var(--line);
  border-radius: 2px; padding: 2rem;
  transition: transform 0.25s, box-shadow 0.25s;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.card-icon { font-size: 1.5rem; margin-bottom: 1rem; }
.card h3 {
  font-family: 'Cormorant Garamond', serif; font-size: 1.2rem;
  font-weight: 700; color: var(--ink); margin-bottom: 0.5rem;
}
.card p { font-size: 0.87rem; font-weight: 300; line-height: 1.8; color: var(--ink-mid); }

/* ─── TIMELINE ─── */
.tl { position: relative; padding-left: 1.8rem; }
.tl::before {
  content: ''; position: absolute; left: 0; top: 8px; bottom: 0;
  width: 1px; background: var(--line);
}
.tl-item { position: relative; padding-bottom: 2.6rem; }
.tl-item:last-child { padding-bottom: 0; }
.tl-dot {
  position: absolute; left: -2.2rem; top: 7px;
  width: 9px; height: 9px; background: var(--accent);
  border-radius: 50%; border: 2px solid var(--bg); outline: 1px solid var(--accent);
}
.tl-date { font-size: 0.69rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--accent); margin-bottom: 0.3rem; }
.tl-role { font-family: 'Cormorant Garamond', serif; font-size: 1.2rem; font-weight: 700; color: var(--ink); margin-bottom: 0.15rem; }
.tl-org { font-size: 0.8rem; font-weight: 500; color: var(--muted); margin-bottom: 0.8rem; }
.tl-body { font-size: 0.86rem; font-weight: 300; line-height: 1.9; color: var(--ink-mid); }
.tl-body ul { list-style: none; }
.tl-body ul li { position: relative; padding-left: 1rem; margin-bottom: 0.3rem; }
.tl-body ul li::before { content: '–'; position: absolute; left: 0; color: var(--accent); }

/* ─── STAT CARDS ─── */
.stat {
  background: var(--white); border: 1px solid var(--line);
  padding: 1.6rem; border-radius: 2px;
}
.stat-num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2.6rem; font-weight: 700; line-height: 1;
  color: var(--ink); margin-bottom: 0.3rem;
}
.stat-num span { color: var(--accent); }
.stat-label { font-size: 0.73rem; font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }

/* ─── FOOTER ─── */
footer {
  background: var(--dark); color: rgba(255,255,255,0.25);
  padding: 1.8rem 4rem; display: flex;
  justify-content: space-between; align-items: center;
  font-size: 0.75rem; letter-spacing: 0.05em;
  margin-top: auto;
}
footer .fn { font-family: 'Cormorant Garamond', serif; font-weight: 700; font-size: 0.9rem; color: rgba(255,255,255,0.55); }
footer a { color: rgba(255,255,255,0.4); text-decoration: none; transition: color 0.2s; }
footer a:hover { color: var(--accent); }

/* ─── ANIMATIONS ─── */
@keyframes fadeUp { from { opacity:0; transform:translateY(18px); } to { opacity:1; transform:translateY(0); } }
@keyframes fadeIn { from { opacity:0; } to { opacity:1; } }
.reveal { opacity:0; transform:translateY(20px); transition: opacity 0.65s ease, transform 0.65s ease; }
.reveal.visible { opacity:1; transform:translateY(0); }

/* ─── RESPONSIVE ─── */
@media (max-width: 900px) {
  nav { padding: 1.1rem 1.5rem; }
  nav.scrolled { padding: 0.8rem 1.5rem; }
  .nav-links { gap: 1.2rem; }
  .nav-links a { font-size: 0.7rem; }
  .page-banner, .content { padding-left: 1.5rem; padding-right: 1.5rem; }
}
@media (max-width: 640px) {
  .nav-links { gap: 0.8rem; }
  .nav-links a { letter-spacing: 0.08em; }
}
