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

:root {
  --navy: #0F1E35;
  --navy-mid: #1a2e4a;
  --rose: #C97A8A;
  --rose-light: #F2E8EC;
  --rose-muted: #a85267;
  --warm-white: #F8F6F2;
  --stone: #66788c;
  --stone-light: #d4dde5;
  --text-primary: #0F1E35;
  --text-secondary: #34455a;
  --border: rgba(15,30,53,0.14);
  --ff: 'Inter', sans-serif;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--ff);
  background: var(--warm-white);
  color: var(--text-primary);
  font-size: 19px;
  font-weight: 400;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; }

/* NAV */
nav.site-nav {
  position: sticky;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(248,246,242,0.97);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  padding: 0 3rem;
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem 1.5rem;
}

.nav-logo {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--navy);
  letter-spacing: 0.01em;
  text-decoration: none;
  line-height: 1.25;
  padding: 0.9rem 0;
}

.nav-logo span {
  display: block;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--stone);
  margin-top: 3px;
}

.nav-links {
  display: flex;
  gap: 1.75rem;
  list-style: none;
  align-items: center;
  flex-wrap: wrap;
  padding: 0.9rem 0;
}

.nav-links a {
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  color: var(--text-secondary);
  text-decoration: none;
  transition: color 0.2s;
  white-space: nowrap;
}

.nav-links a:hover { color: var(--navy); }
.nav-links a.active { color: var(--rose-muted); border-bottom: 3px solid var(--rose); padding-bottom: 4px; }

.nav-cta {
  background: var(--navy);
  color: var(--warm-white) !important;
  padding: 0.6rem 1.2rem !important;
  border-radius: 2px;
  transition: background 0.2s;
}
.nav-cta:hover { background: var(--rose-muted); color: white !important; }

/* PAGE HERO (secondary pages) */
.page-hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 340px;
}

.page-hero.no-photo {
  grid-template-columns: 1fr;
  background: var(--navy);
  padding: 5rem 3rem 4.5rem;
}
.page-hero.no-photo .page-hero-inner { max-width: 900px; }

.page-hero-photo {
  background-size: cover;
  background-position: center;
  min-height: 260px;
}

.page-hero-panel {
  background: var(--navy);
  padding: 3rem 3rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.page-hero-inner { max-width: 900px; }

.eyebrow {
  font-size: 0.88rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--rose);
  margin-bottom: 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.7rem;
}
.eyebrow::before { content: ''; width: 26px; height: 3px; background: var(--rose); flex-shrink: 0; }

.page-title {
  font-size: clamp(2.1rem, 4vw, 3.4rem);
  font-weight: 800;
  line-height: 1.15;
  color: var(--warm-white);
  letter-spacing: -0.01em;
}

.page-dek {
  margin-top: 1.25rem;
  font-size: 1.15rem;
  font-weight: 400;
  color: var(--stone-light);
  line-height: 1.7;
  max-width: 60ch;
}

/* MAIN CONTENT WRAPPER */
main { max-width: 1100px; margin: 0 auto; padding: 0 3rem; }
.section { padding: 4rem 0; border-bottom: 1px solid var(--border); }
.section:last-of-type { border-bottom: none; }
.section-narrow { max-width: 760px; }

.section-heading {
  font-size: clamp(1.6rem, 2.6vw, 2.2rem);
  font-weight: 800;
  color: var(--navy);
  line-height: 1.25;
  margin-bottom: 1.5rem;
  letter-spacing: -0.01em;
}

.section-sub {
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--rose-muted);
  margin-bottom: 1rem;
}

p.body-text { font-size: 1.05rem; color: var(--text-secondary); line-height: 1.85; font-weight: 400; }
p.body-text + p.body-text { margin-top: 1.1rem; }

/* PULL QUOTE */
blockquote.pull-quote {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.5;
  border-left: 5px solid var(--rose);
  padding: 0.25rem 0 0.25rem 1.75rem;
  margin: 2rem 0;
}
blockquote.pull-quote cite {
  display: block;
  margin-top: 0.85rem;
  font-size: 0.85rem;
  font-weight: 700;
  font-style: normal;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--rose-muted);
}

/* CALLOUT BOX */
.callout {
  background: var(--rose-light);
  border: 1px solid rgba(201,122,138,0.35);
  padding: 1.75rem 2rem;
  margin: 2rem 0;
}
.callout .callout-label {
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--rose-muted);
  margin-bottom: 0.6rem;
}
.callout p { font-size: 1rem; color: var(--text-secondary); line-height: 1.75; font-weight: 500; }

/* NAVY CALLOUT */
.callout-dark {
  background: var(--navy);
  padding: 2.25rem 2.5rem;
  margin: 2rem 0;
}
.callout-dark p { color: var(--stone-light); font-size: 1.05rem; line-height: 1.8; font-weight: 500; }
.callout-dark .callout-label { color: var(--rose); }

/* CHECK / VISION LIST */
ul.styled-list { list-style: none; margin: 1.5rem 0; }
ul.styled-list li {
  position: relative;
  padding: 0.9rem 0 0.9rem 2.1rem;
  border-bottom: 1px solid var(--border);
  font-size: 1.02rem;
  color: var(--text-secondary);
  font-weight: 500;
  line-height: 1.6;
}
ul.styled-list li:first-child { padding-top: 0; }
ul.styled-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 1.15rem;
  width: 10px;
  height: 10px;
  background: var(--rose);
}

/* FIRSTS GRID */
.firsts-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
  border-top: 1px solid var(--border);
  margin-top: 2rem;
}
.first-item {
  padding: 1.6rem 2rem 1.6rem 0;
  border-bottom: 1px solid var(--border);
  border-right: 1px solid var(--border);
}
.first-item:nth-child(even) { padding-left: 2rem; padding-right: 0; border-right: none; }
.first-tag {
  display: inline-block;
  background: var(--rose);
  color: white;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.28rem 0.7rem;
  margin-bottom: 0.75rem;
}
.first-text { font-size: 1.02rem; font-weight: 600; line-height: 1.55; color: var(--navy); }

/* TIMELINE (News & Events) */
.timeline { margin-top: 2rem; }
.timeline-item {
  display: grid;
  grid-template-columns: 130px 1fr;
  gap: 2rem;
  padding: 2.25rem 0;
  border-top: 1px solid var(--border);
}
.timeline-item:last-child { border-bottom: 1px solid var(--border); }
.timeline-year {
  font-size: 1.7rem;
  font-weight: 800;
  color: var(--rose-muted);
  line-height: 1;
}
.timeline-content h3 {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 0.7rem;
  line-height: 1.4;
}
.timeline-content .timeline-date {
  display: block;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--stone);
  margin-bottom: 0.6rem;
}
.timeline-content p { font-size: 0.98rem; color: var(--text-secondary); line-height: 1.75; font-weight: 400; }
.timeline-content p + p { margin-top: 0.85rem; }

/* LECTURE / PUBLICATION LIST */
ol.cv-list { list-style: none; counter-reset: cv; margin-top: 1.5rem; }
ol.cv-list li {
  counter-increment: cv;
  position: relative;
  padding: 1.1rem 0 1.1rem 3rem;
  border-bottom: 1px solid var(--border);
  font-size: 0.98rem;
  color: var(--text-secondary);
  line-height: 1.7;
  font-weight: 500;
}
ol.cv-list li::before {
  content: counter(cv);
  position: absolute;
  left: 0;
  top: 1.1rem;
  width: 28px;
  height: 28px;
  background: var(--rose-light);
  color: var(--rose-muted);
  font-size: 0.8rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
}
ol.cv-list li strong { color: var(--navy); font-weight: 700; }
ol.cv-list li a { color: var(--rose-muted); font-weight: 700; text-decoration: underline; }

/* CARD GRID (Services) */
.card-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
  margin-top: 2rem;
}
.card {
  background: white;
  border: 1px solid var(--border);
  padding: 1.75rem;
}
.card h3 { font-size: 1.1rem; font-weight: 800; color: var(--navy); margin-bottom: 0.6rem; }
.card p { font-size: 0.95rem; color: var(--text-secondary); line-height: 1.7; font-weight: 400; }

/* TWO COL LAYOUT */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem;
  align-items: start;
}

/* STAT BAR */
.stat-bar {
  background: var(--rose-light);
  border-top: 1px solid rgba(201,122,138,0.25);
  border-bottom: 1px solid rgba(201,122,138,0.25);
  padding: 2rem 3rem;
  display: flex;
  gap: 3rem;
  flex-wrap: wrap;
  justify-content: center;
  text-align: center;
}
.stat-bar .stat-num { font-size: 2.2rem; font-weight: 800; color: var(--navy); line-height: 1; }
.stat-bar .stat-label { font-size: 0.82rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--rose-muted); margin-top: 0.5rem; }

/* BUTTON */
.btn {
  display: inline-block;
  background: var(--rose);
  color: white;
  padding: 0.95rem 2.1rem;
  font-size: 0.92rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  text-decoration: none;
  transition: background 0.2s;
}
.btn:hover { background: var(--rose-muted); }
.btn-ghost {
  display: inline-block;
  background: transparent;
  color: var(--warm-white);
  border: 2px solid rgba(248,246,242,0.5);
  padding: 0.95rem 2.1rem;
  font-size: 0.92rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  text-decoration: none;
  transition: border-color 0.2s;
}
.btn-ghost:hover { border-color: var(--warm-white); }

/* FOOTER */
footer.site-footer {
  background: #080f1a;
  padding: 3rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.5rem;
  border-top: 1px solid rgba(255,255,255,0.06);
}
.footer-brand { font-size: 1rem; font-weight: 700; color: var(--stone-light); }
.footer-brand a { color: var(--rose); text-decoration: none; font-weight: 700; }
.footer-copy { font-size: 0.8rem; font-weight: 500; color: var(--stone); }

/* PHOTO BLOCK */
.photo-block { border: 1px solid var(--border); background: white; margin: 1.75rem 0; }
.photo-frame {
  aspect-ratio: 16/10;
  background: var(--rose-light);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--rose-muted);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-align: center;
  padding: 1rem;
}
.photo-caption {
  padding: 1.1rem 1.3rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-secondary);
  line-height: 1.65;
}

/* RESPONSIVE */
@media (max-width: 900px) {
  nav.site-nav { padding: 0 1.5rem; }
  .nav-links { display: none; }
  .page-hero { grid-template-columns: 1fr; }
  .page-hero-photo { min-height: 200px; }
  .page-hero.no-photo, .page-hero-panel { padding: 3rem 1.5rem; }
  main { padding: 0 1.5rem; }
  .two-col { grid-template-columns: 1fr; gap: 2rem; }
  .firsts-grid { grid-template-columns: 1fr; }
  .first-item { padding: 1.4rem 0 !important; border-right: none !important; }
  .card-grid { grid-template-columns: 1fr; }
  .timeline-item { grid-template-columns: 1fr; gap: 0.5rem; }
  footer.site-footer { flex-direction: column; text-align: center; padding: 2.5rem 1.5rem; }
  .stat-bar { padding: 1.75rem; gap: 1.75rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
