:root {
  --bg: #09111f;
  --panel: #0f1b30;
  --panel-soft: #13233c;
  --surface: #ffffff;
  --surface-soft: #f4f7fb;
  --text: #0d1726;
  --muted: #43536a;
  --line: rgba(255, 255, 255, 0.08);
  --brand: #4da3ff;
  --brand-strong: #1f7ae0;
  --shadow: 0 20px 50px rgba(3, 10, 22, 0.18);
  --radius: 22px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background: var(--surface);
  line-height: 1.72;
  font-size: 17px;
}

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

.container {
  width: min(1120px, calc(100% - 2rem));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: blur(16px);
  background: rgba(9, 17, 31, 0.8);
  border-bottom: 1px solid var(--line);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 0;
  gap: 1rem;
}

.brand,
.nav a {
  color: #f5f8ff;
  text-decoration: none;
}

.brand {
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: 0.02em;
}

nav {
  display: flex;
  gap: 1.1rem;
  flex-wrap: wrap;
}

nav a {
  color: rgba(245, 248, 255, 0.82);
  font-size: 0.95rem;
}

.hero {
  background:
    radial-gradient(circle at top left, rgba(77, 163, 255, 0.28), transparent 28%),
    linear-gradient(135deg, #09111f 0%, #0e1b33 45%, #12274b 100%);
  color: #f5f8ff;
  padding: 5rem 0 4rem;
}

.hero-compact {
  padding: 4.2rem 0 3.2rem;
}

.narrow {
  max-width: 52rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 3rem;
  align-items: center;
}

.eyebrow,
.section-label {
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.78rem;
  font-weight: 700;
  margin: 0 0 1rem;
}

.eyebrow {
  color: #9fc6ff;
}

.hero h1,
.section h2 {
  margin: 0;
  line-height: 1.1;
}

.hero h1 {
  font-size: clamp(2.5rem, 5vw, 4.4rem);
  max-width: 12ch;
}

.lead {
  font-size: 1.1rem;
  color: rgba(245, 248, 255, 0.82);
  max-width: 60ch;
  margin: 1.5rem 0 0;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 2rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.8rem 1.25rem;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
}

.button.primary {
  background: #ffffff;
  color: #0d1726;
}

.button.secondary {
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: #f5f8ff;
}

.metrics {
  list-style: none;
  padding: 0;
  margin: 2.2rem 0 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.metrics li {
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  padding: 1rem 1.1rem;
}

.metrics strong {
  display: block;
  font-size: 1.7rem;
  line-height: 1;
}

.metrics span {
  display: block;
  margin-top: 0.45rem;
  color: rgba(245, 248, 255, 0.78);
  font-size: 0.95rem;
}

.hero-photo-wrap {
  display: flex;
  justify-content: center;
}

.hero-photo {
  width: min(420px, 100%);
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center top;
  border-radius: 28px;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.28);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.section {
  padding: 5rem 0;
}

.section.alt {
  background: var(--surface-soft);
}

.section-label {
  color: var(--brand-strong);
}

.two-col {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 3rem;
}

.content-stack p {
  margin: 0 0 1.1rem;
  color: var(--muted);
}

.timeline {
  display: grid;
  gap: 1.2rem;
  margin-top: 2rem;
}

.timeline-item,
.card,
.highlight-panel,
.contact-card {
  background: var(--surface);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.timeline-item {
  padding: 1.4rem 1.5rem;
  border-left: 4px solid var(--brand);
}

.timeline-date,
.timeline-org,
.contact-label {
  color: var(--muted);
  font-weight: 700;
}

.timeline-date {
  display: inline-block;
  margin-bottom: 0.35rem;
  font-size: 0.92rem;
  letter-spacing: 0.02em;
}

.timeline-item h3,
.card h3,
.highlight-panel h3,
.contact-panel h2 {
  margin: 0.35rem 0 0.4rem;
}

.cards {
  display: grid;
  gap: 1.2rem;
  margin-top: 2rem;
}

.cards.three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.cards.two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.card {
  padding: 1.5rem;
}

.card h3 a,
.card p a,
.card li a {
  color: var(--brand-strong);
  text-decoration: none;
}

.card p,
.card li,
.highlight-panel li,
.contact-panel p {
  color: var(--muted);
}

.highlight-panel {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2rem;
  padding: 1.8rem;
  margin-top: 1.4rem;
}

.highlight-panel ul,
.card ul {
  padding-left: 1.2rem;
  margin: 0.85rem 0 0;
}

.tag-list {
  list-style: none;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
}

.tag-list li {
  padding: 0.65rem 0.9rem;
  border-radius: 999px;
  background: var(--surface-soft);
  color: var(--text);
  font-weight: 600;
}

.contact-panel {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 2rem;
  align-items: start;
}

.contact-card {
  padding: 1.6rem;
  background: linear-gradient(180deg, #ffffff 0%, #eef5ff 100%);
  border: 1px solid rgba(31, 122, 224, 0.12);
}

.contact-card a {
  color: var(--brand-strong);
  font-weight: 700;
  text-decoration: none;
}

.top-gap {
  margin-top: 1.2rem;
}

@media (max-width: 900px) {
  .hero-grid,
  .two-col,
  .cards.three,
  .cards.two,
  .highlight-panel,
  .contact-panel {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 4rem;
  }
}

.site-footer {
  background: #09111f;
  color: rgba(245, 248, 255, 0.78);
  padding: 1.4rem 0 2rem;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.site-footer p {
  margin: 0;
}

.site-footer a {
  color: #9fc6ff;
  text-decoration: none;
  font-weight: 700;
}

@media (max-width: 640px) {
  .nav {
    flex-direction: column;
    align-items: flex-start;
  }

  nav {
    gap: 0.8rem;
  }

  .metrics {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 4rem 0;
  }
}
