:root {
  --bg: #f6f7fb;
  --surface: rgba(255, 255, 255, 0.92);
  --text: #172033;
  --muted: #5d6b82;
  --line: rgba(23, 32, 51, 0.08);
  --accent: #243b7c;
  --accent-2: #3a5fc7;
  --tag-bg: #e8eefc;
  --shadow: 0 10px 30px rgba(18, 30, 60, 0.08);
  --radius: 20px;
  --max-width: 1120px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(58, 95, 199, 0.08), transparent 28%),
    radial-gradient(circle at top right, rgba(36, 59, 124, 0.08), transparent 24%),
    var(--bg);
  line-height: 1.7;
}

a {
  color: var(--accent-2);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.container {
  width: min(var(--max-width), calc(100% - 2rem));
  margin: 0 auto;
}

.narrow {
  max-width: 820px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(14px);
  background: rgba(246, 247, 251, 0.78);
  border-bottom: 1px solid var(--line);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  gap: 1rem;
}

.brand {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text);
  letter-spacing: 0.02em;
}

.brand:hover {
  text-decoration: none;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  flex-wrap: wrap;
}

.site-nav a {
  color: var(--muted);
  font-weight: 500;
}

.site-nav a:hover,
.site-nav a.active {
  color: var(--text);
  text-decoration: none;
}

.hero {
  padding: 5rem 0 2.5rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.6fr 0.8fr;
  gap: 2rem;
  align-items: start;
}

.eyebrow,
.section-kicker {
  margin: 0 0 0.75rem;
  color: var(--accent);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.8rem;
}

.hero h1,
.page-title {
  margin: 0 0 1rem;
  font-size: clamp(2.4rem, 5vw, 4.4rem);
  line-height: 1.05;
  letter-spacing: -0.03em;
}

.hero-summary,
.page-summary {
  max-width: 62ch;
  font-size: 1.08rem;
  color: var(--muted);
  margin-bottom: 1.6rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0.8rem 1.15rem;
  border-radius: 999px;
  font-weight: 600;
  border: 1px solid transparent;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.btn:hover {
  transform: translateY(-1px);
  text-decoration: none;
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #fff;
  box-shadow: 0 10px 24px rgba(36, 59, 124, 0.22);
}

.btn-primary:hover {
  color: #fff;
}

.btn-secondary {
  background: #e8eefc;
  color: var(--accent);
  border: 1px solid #d3dcf7;
}

.btn-secondary:hover {
  background: #dfe7fb;
}

.hero-side {
  display: flex;
  justify-content: flex-end;
}

.card {
  background: var(--surface);
  border: 1px solid rgba(255, 255, 255, 0.75);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1.8rem 2rem;
}

.compact-profile {
  width: 100%;
  max-width: 320px;
  padding: 1.1rem;
}

.profile-image {
  display: block;
  width: 100%;
  object-fit: cover;
}

.small-profile-image {
  width: 150px;
  height: 150px;
  margin: 0 auto 1rem;
  border-radius: 18px;
}

.profile-info h2 {
  margin: 0 0 0.75rem;
  font-size: 1.05rem;
}

.contact-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.contact-list li {
  margin-bottom: 0.5rem;
  color: var(--muted);
}

.section,
.page-hero {
  padding: 4rem 0;
}

.section-alt {
  background: linear-gradient(to bottom, rgba(255,255,255,0), rgba(255,255,255,0.38));
}

.section-heading {
  margin-bottom: 1.5rem;
}

.section-heading h2 {
  margin: 0;
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  letter-spacing: -0.02em;
}

.grid {
  display: grid;
  gap: 1.25rem;
}

.grid-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.timeline {
  list-style: none;
  padding: 1.5rem;
  margin: 0;
}

.timeline li {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 1rem;
  padding: 0.9rem 0;
  border-bottom: 1px solid var(--line);
}

.timeline li:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.time {
  font-weight: 700;
  color: var(--accent);
}

.split-cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem;
}

.big-link-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.6rem;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid rgba(58, 95, 199, 0.14);
  box-shadow: var(--shadow);
  color: var(--text);
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.big-link-card:hover {
  text-decoration: none;
  transform: translateY(-2px);
  box-shadow: 0 16px 30px rgba(18, 30, 60, 0.12);
  border-color: rgba(58, 95, 199, 0.28);
}

.big-link-card h3 {
  margin: 0 0 0.4rem;
  font-size: 1.3rem;
}

.big-link-card p {
  margin: 0;
  color: var(--muted);
}

.arrow {
  font-size: 2rem;
  color: var(--accent);
  flex-shrink: 0;
  transition: transform 0.18s ease, color 0.18s ease;
}

.big-link-card:hover .arrow {
  transform: translateX(4px);
  color: var(--accent-2);
}

.arrow {
  font-size: 2rem;
  color: var(--accent);
  flex-shrink: 0;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.4rem;
}

.media-card {
  overflow: hidden;
}

.card-image {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;

  border: 3px solid rgba(23, 32, 51, 0.18);
}

.card-body {
  padding: 1.35rem 1.4rem 1.45rem;
}

.card-topline {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  margin-bottom: 0.8rem;
}

.tag {
  display: inline-block;
  padding: 0.3rem 0.7rem;
  border-radius: 999px;
  background: var(--tag-bg);
  color: var(--accent);
  font-size: 0.82rem;
  font-weight: 700;
}

.year {
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 600;
}

.media-card h3 {
  margin: 0 0 0.5rem;
  font-size: 1.18rem;
  line-height: 1.35;
}

.meta {
  margin: 0 0 0.85rem;
  color: var(--muted);
  font-size: 0.95rem;
}

.card-links {
  display: flex;
  gap: 1rem;
  margin-top: 1rem;
  flex-wrap: wrap;
}

.card-links a {
  font-weight: 600;
}

.contact-card {
  padding: 1.5rem;
}

.contact-card p {
  margin: 0.4rem 0;
}

.site-footer {
  padding: 2rem 0 3rem;
  color: var(--muted);
}

.footer-wrap {
  border-top: 1px solid var(--line);
  padding-top: 1.25rem;
}

@media (max-width: 980px) {
  .hero-grid,
  .grid-3,
  .split-cards,
  .card-grid {
    grid-template-columns: 1fr;
  }

  .hero-side {
    justify-content: flex-start;
  }
}

@media (max-width: 720px) {
  .nav-wrap {
    flex-direction: column;
    align-items: flex-start;
    padding: 0.9rem 0;
  }

  .site-nav {
    gap: 0.9rem;
  }

  .section,
  .page-hero {
    padding: 3rem 0;
  }

  .timeline li {
    grid-template-columns: 1fr;
    gap: 0.35rem;
  }

  .small-profile-image {
    width: 120px;
    height: 120px;
  }

  .card-topline {
    flex-direction: column;
    align-items: flex-start;
  }

  .card-image {
    height: 190px;
  }
}

.card-divider {
  border: none;
  border-top: 1px solid var(--line);
  margin: 1.6rem 0 1.4rem;
}

.subheading {
  margin-top: 0;
  margin-bottom: 0.8rem;
  font-size: 1.15rem;
}

.hero-keywords {
  margin: 0.4rem 0 1rem;
  font-size: 1.05rem;
  color: var(--muted);
  font-weight: 500;
}

.img-popup {
  display: block;
  cursor: zoom-in;
}

.img-modal {
  display: none;
  position: fixed;
  z-index: 999;
  padding-top: 60px;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: rgba(10, 15, 30, 0.85);
  backdrop-filter: blur(6px);
}

.img-modal-content {
  margin: auto;
  display: block;
  max-width: 90%;
  max-height: 85%;
  border-radius: 12px;
  box-shadow: 0 20px 40px rgba(0,0,0,0.4);
}

.img-close {
  position: absolute;
  top: 18px;
  right: 28px;
  font-size: 40px;
  color: white;
  cursor: pointer;
}

