:root {
  --bg: #f8fafc;
  --panel: #ffffff;
  --panel-strong: #f1f6f9;
  --accent: #00a3d3;
  --accent-2: #008fba;
  --text: #1f242a;
  --muted: #58606a;
  --border: #dce7ef;
  --shadow: 0 8px 28px rgba(17, 31, 47, 0.04);
  --radius: 12px;
}

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Open Sans", system-ui, -apple-system, sans-serif;
  line-height: 1.6;
  min-height: 100vh;
}

img {
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

.top-nav {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
  padding: 0.9rem 7vw;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  font-weight: 700;
  letter-spacing: 0.01em;
}

.nav-links {
  display: flex;
  gap: 1.1rem;
  align-items: center;
  flex-wrap: wrap;
}

.nav-links a {
  padding: 0.15rem 0;
  color: var(--muted);
  border-bottom: 1px solid transparent;
  transition: color 0.15s ease, border-color 0.15s ease;
}

.nav-links a:hover,
.nav-links a:focus-visible {
  color: var(--text);
  border-bottom-color: var(--border);
}

.bg {
  display: none;
}

.hero,
.section {
  position: relative;
  padding: 3rem 7vw;
  max-width: 1120px;
  margin: 0 auto;
}

.page {
  position: relative;
  padding: 3rem 7vw 3.5rem;
  max-width: 1120px;
  margin: 0 auto;
}

.page-header {
  max-width: 820px;
  margin: 1.6rem 0 1.2rem;
}

.page-header h1 {
  margin: 0.25rem 0 0.7rem;
}

.page-header .lede {
  margin: 0;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.7fr);
  gap: 1.75rem;
  align-items: start;
  padding-top: 2.4rem;
}

.label {
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.8rem;
  color: var(--accent-2);
  font-weight: 700;
}

h1,
h2 {
  font-family: "Playfair Display", "Open Sans", serif;
}

h1 {
  font-size: clamp(2.1rem, 3vw, 2.6rem);
  line-height: 1.2;
  margin: 0.2rem 0 0.85rem;
}

h2 {
  margin: 0.1rem 0 0.35rem;
  font-size: clamp(1.55rem, 2.5vw, 1.95rem);
}

h3 {
  margin: 0.2rem 0 0.15rem;
  font-size: 1.15rem;
}

.lede {
  color: var(--muted);
  font-size: 1.04rem;
  max-width: 640px;
}

.lede a {
  color: inherit;
  font-weight: 600;
  text-decoration: none;
  border-bottom: none;
}

.lede a:hover,
.lede a:focus-visible {
  text-decoration: none;
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin: 0.25rem 0 0.55rem;
}

.chip {
  background: var(--panel-strong);
  border: 1px solid transparent;
  color: var(--muted);
  padding: 0.3rem 0.55rem;
  border-radius: 0.55rem;
  font-size: 0.9rem;
}

.cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-bottom: 0.9rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.65rem 0.95rem;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--text);
  font-weight: 600;
  transition: border-color 0.15s ease, background 0.15s ease, color 0.15s ease;
}

.btn.primary {
  background: rgba(0, 163, 211, 0.08);
  border-color: rgba(0, 163, 211, 0.28);
  color: var(--accent-2);
}

.btn:hover,
.btn:focus-visible {
  border-color: var(--accent);
  color: var(--accent);
  background: rgba(0, 163, 211, 0.12);
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.25rem 0;
  background: transparent;
  border: none;
  border-bottom: 1px solid transparent;
  border-radius: 0;
  font-size: 0.95rem;
  color: var(--accent);
  transition: color 0.2s ease, border-color 0.2s ease;
}

.pill:hover,
.pill:focus-visible {
  color: var(--accent-2);
  border-bottom-color: currentColor;
}

.social {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem 1.4rem;
  margin-top: 0.55rem;
  max-width: 720px;
}

.hero__side {
  display: grid;
  gap: 0.9rem;
  justify-items: end;
  align-content: start;
  max-width: 320px;
}

.portrait {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 1.1rem;
  padding: 0.55rem;
  box-shadow: none;
}

.portrait img {
  width: 100%;
  max-width: 300px;
  display: block;
  border-radius: 0.9rem;
}

.stat-card {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 0.95rem 1.05rem;
  box-shadow: none;
}

.stat-label {
  text-transform: uppercase;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  color: var(--muted);
  margin: 0 0 0.35rem;
  font-weight: 700;
}

.stat-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.25rem;
  color: var(--text);
}

.section__header {
  margin-bottom: 1.35rem;
  max-width: 760px;
}

.muted {
  color: var(--muted);
  margin: 0.15rem 0 0;
}

.card-grid {
  display: grid;
  gap: 1rem;
}

.card-grid.two {
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
}

.card-grid.three {
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.card {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1rem 1.05rem;
  box-shadow: none;
  display: grid;
  gap: 0.3rem;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted);
  font-size: 0.8rem;
  margin: 0;
}

.link {
  color: var(--accent);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  margin-top: 0.25rem;
  border-bottom: 1px solid transparent;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.link:hover,
.link:focus-visible {
  color: var(--accent-2);
  border-bottom-color: currentColor;
}

.list {
  list-style: none;
  padding: 0;
  margin: 0.35rem 0 0;
  display: grid;
  gap: 0.3rem;
  color: var(--text);
}

.timeline {
  display: grid;
  gap: 1rem;
}

.timeline-item {
  display: grid;
  grid-template-columns: 120px 1fr;
  align-items: start;
  gap: 0.9rem;
}

.time {
  font-weight: 700;
  color: var(--text);
}

.timeline .card {
  padding: 0.95rem 1.05rem;
}

.contact-card {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.15rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 0.85rem;
  box-shadow: none;
}

.pill-row {
  display: flex;
  gap: 0.45rem;
  flex-wrap: wrap;
}

.contact .muted {
  margin: 0;
}

.footer {
  padding: 2.4rem 7vw 3rem;
  text-align: center;
  color: var(--muted);
  position: relative;
  z-index: 1;
  border-top: 1px solid var(--border);
  background: #ffffff;
}

@media (max-width: 1080px) {
  .hero {
    grid-template-columns: 1fr;
    gap: 1.4rem;
  }

  .top-nav {
    padding: 0.75rem 6vw;
  }

  .hero__side {
    justify-items: start;
    max-width: 320px;
  }

  .portrait img {
    max-width: 260px;
  }
}

@media (max-width: 680px) {
  .top-nav {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.4rem;
  }

  .nav-links {
    width: 100%;
    gap: 0.65rem;
  }
}

@media (max-width: 760px) {
  .hero,
  .section {
    padding: 3rem 6vw;
  }

  .page {
    padding: 3rem 6vw 3.3rem;
  }

  .timeline-item {
    grid-template-columns: 1fr;
  }

  .time {
    color: var(--muted);
  }

  .cta {
    gap: 0.55rem;
  }

  .nav-links {
    gap: 0.7rem;
  }

  .portrait img {
    max-width: 220px;
  }
}

@media (max-width: 540px) {
  h1 {
    font-size: 2.15rem;
  }

  .chips {
    gap: 0.35rem;
  }

  .card {
    padding: 0.9rem 0.95rem;
  }

  .hero,
  .section {
    padding: 2.5rem 6vw;
  }

  .page {
    padding: 2.5rem 6vw 3rem;
  }
}
