:root {
  --bg: #edf4ff;
  --page: #ffffff;
  --panel: #ffffff;
  --panel-soft: #f8fbff;
  --text: #12213d;
  --muted: #53627f;
  --line: #dbe5f4;
  --line-strong: #cad8ef;
  --primary: #2167eb;
  --primary-dark: #174fb8;
  --primary-soft: #eaf2ff;
  --shadow-lg: 0 24px 60px rgba(45, 93, 170, 0.12);
  --shadow-md: 0 10px 24px rgba(45, 93, 170, 0.1);
  --radius-xl: 26px;
  --radius-lg: 18px;
  --radius-md: 14px;
  --container: 1220px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Aptos", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  background:
    radial-gradient(circle at top left, rgba(199, 221, 255, 0.55), transparent 26%),
    linear-gradient(180deg, #eef5ff 0%, #f5f9ff 100%);
  color: var(--text);
}

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

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

button,
input,
textarea {
  font: inherit;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 12px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 10px 12px;
  z-index: 100;
}

.skip-link:focus {
  left: 12px;
}

.page-shell {
  width: min(1560px, calc(100% - 24px));
  margin: 16px auto;
  background: var(--page);
  border: 1px solid rgba(185, 201, 224, 0.8);
  border-radius: 18px;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}

.container {
  width: min(var(--container), calc(100% - 56px));
  margin: 0 auto;
}

.site-header {
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.96);
}

.header-inner {
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: center;
  gap: 24px;
  padding: 18px 0 16px;
}

.brand {
  font-size: 24px;
  font-weight: 700;
  letter-spacing: -0.03em;
}

.site-nav {
  display: flex;
  gap: 18px;
  justify-content: center;
  font-size: 15px;
  color: var(--muted);
}

.site-nav a {
  padding: 8px 10px;
  border-radius: 999px;
}

.site-nav a:hover {
  color: var(--text);
  background: #f4f8ff;
}

.nav-toggle {
  display: none;
  border: 1px solid var(--line);
  background: var(--panel);
  color: var(--text);
  padding: 10px 14px;
  border-radius: 999px;
}

.header-cta {
  justify-self: end;
}

.hero-section {
  position: relative;
  overflow: hidden;
}

.hero-background {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero-wave {
  position: absolute;
  left: -180px;
  top: 14px;
  width: 760px;
  height: 420px;
  background:
    radial-gradient(circle at 60% 50%, rgba(105, 160, 255, 0.08), transparent 50%),
    repeating-radial-gradient(circle at 70% 50%, rgba(88, 144, 249, 0.1) 0 34px, transparent 34px 68px);
  opacity: 0.55;
}

.hero-dots {
  position: absolute;
  right: 44px;
  top: 225px;
  width: 220px;
  height: 160px;
  background-image: radial-gradient(rgba(88, 144, 249, 0.25) 1.4px, transparent 1.4px);
  background-size: 16px 16px;
  opacity: 0.55;
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) 390px;
  gap: 48px;
  padding: 32px 0 22px;
}

.hero-copy {
  padding: 26px 0 0;
}

.hero-kicker {
  margin: 0 0 10px;
  color: var(--primary);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.hero-copy h1 {
  margin: 0;
  font-size: clamp(46px, 5vw, 68px);
  line-height: 0.94;
  letter-spacing: -0.05em;
}

.hero-copy h1 br:last-child + * {
  display: none;
}

.hero-copy h1::after {
  content: "";
}

.hero-copy h1 {
  max-width: 680px;
}

.hero-copy h1 .accent,
.hero-copy h1 strong {
  color: var(--primary);
}

.hero-lead {
  margin: 18px 0 16px;
  max-width: 620px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.42;
}

.cert-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
  color: var(--text);
  font-weight: 600;
}

.cert-badge-icon {
  display: inline-flex;
  width: 22px;
  height: 22px;
  align-items: center;
  justify-content: center;
  color: var(--primary);
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 18px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 10px;
  border: 1px solid var(--line-strong);
  background: var(--panel);
  color: var(--primary);
  font-weight: 600;
  box-shadow: var(--shadow-md);
}

.button:hover {
  transform: translateY(-1px);
}

.button.primary {
  background: linear-gradient(180deg, #2c78f4, #2167eb);
  color: #fff;
  border-color: #1f5cd0;
}

.button.secondary {
  background: #fff;
  color: var(--primary);
  border-color: #8fb1ef;
}

.mini-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  max-width: 680px;
}

.mini-stat {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 14px 16px;
  box-shadow: var(--shadow-md);
}

.mini-stat-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 4px;
}

.mini-stat-head strong {
  font-size: 30px;
  line-height: 1;
  letter-spacing: -0.04em;
}

.mini-stat p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.mini-stat-icon {
  color: var(--primary);
}

.profile-panel {
  align-self: start;
  margin-top: 2px;
  padding: 28px 24px 22px;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid #edf2fb;
  border-radius: 22px;
  box-shadow: var(--shadow-lg);
  text-align: center;
}

.profile-avatar {
  display: flex;
  justify-content: center;
  margin-bottom: 16px;
}

.profile-avatar-frame {
  display: grid;
  place-items: center;
  min-height: 230px;
}

.profile-avatar-frame img {
  width: 240px;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 16px 28px rgba(34, 82, 156, 0.12));
}

.profile-name {
  margin: 0;
  font-size: 26px;
  letter-spacing: -0.04em;
}

.profile-title {
  margin: 8px 0 0;
  color: var(--primary);
  font-size: 14px;
  font-weight: 600;
}

.profile-date {
  margin: 6px 0 0;
  color: var(--muted);
}

.profile-divider {
  height: 1px;
  background: var(--line);
  margin: 18px 0 16px;
}

.profile-meta {
  display: grid;
  gap: 12px;
  text-align: left;
  color: var(--muted);
}

.profile-meta-row {
  display: flex;
  align-items: center;
  gap: 10px;
}

.section {
  padding: 12px 0 18px;
}

.section-title {
  margin: 0 0 14px;
  font-size: 20px;
  letter-spacing: -0.03em;
}

.expertise-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.feature-card,
.impact-card,
.tools-card,
.about-panel,
.experience-item,
.contact-bar {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: var(--shadow-md);
}

.feature-card {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 14px;
  align-items: start;
  padding: 16px;
}

.feature-icon {
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--primary-soft);
  color: var(--primary);
  font-size: 24px;
}

.feature-card h3,
.impact-card h3,
.tools-card h3,
.experience-item h3 {
  margin: 0 0 6px;
  font-size: 15px;
}

.feature-card p,
.impact-card p,
.tools-card p,
.about-panel p,
.experience-item p {
  margin: 0;
  color: var(--muted);
  line-height: 1.45;
}

.impact-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
  align-items: stretch;
}

.impact-card {
  padding: 16px;
}

.impact-icon {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--primary-soft);
  color: var(--primary);
  margin-bottom: 12px;
  font-size: 22px;
}

.impact-card a {
  display: inline-block;
  margin-top: 18px;
  color: var(--primary);
  font-weight: 600;
}

.certification-card {
  padding: 18px;
  border-radius: 18px;
  background: linear-gradient(180deg, #2d79f4, #1e64e8);
  color: #fff;
  box-shadow: var(--shadow-md);
}

.certification-kicker {
  margin: 0 0 10px;
  font-size: 14px;
  opacity: 0.9;
}

.certification-card h3 {
  margin: 0 0 10px;
  font-size: 20px;
  line-height: 1.2;
}

.certification-date {
  margin: 0 0 18px;
  font-weight: 600;
}

.certification-copy {
  margin: 0;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.35);
  line-height: 1.45;
}

.tools-card {
  padding: 16px;
}

.tool-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 14px;
}

.tool-pills span,
.location-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 16px;
  border: 1px solid #b7cbef;
  border-radius: 12px;
  color: var(--primary);
  background: #fff;
  font-weight: 500;
}

.about-panel {
  padding: 20px;
  display: grid;
  gap: 14px;
}

.experience-list {
  display: grid;
  gap: 14px;
}

.experience-item {
  padding: 18px;
}

.experience-head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 8px;
}

.experience-head p {
  color: var(--muted);
  font-size: 14px;
}

.contact-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 20px;
}

.contact-lead {
  display: flex;
  gap: 14px;
  align-items: center;
}

.contact-icon {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--primary-soft);
  color: var(--primary);
  font-size: 24px;
}

.contact-lead h2 {
  margin: 0 0 6px;
  font-size: 18px;
  letter-spacing: -0.03em;
}

.contact-lead p {
  margin: 0;
  color: var(--muted);
}

.contact-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.header-cta[aria-disabled="true"],
.button[aria-disabled="true"] {
  pointer-events: none;
  opacity: 0.78;
}

@media (max-width: 1280px) {
  .impact-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .certification-card,
  .tools-card {
    grid-column: span 1;
  }
}

@media (max-width: 1080px) {
  .header-inner {
    grid-template-columns: 1fr auto auto;
  }

  .site-nav {
    gap: 10px;
    font-size: 14px;
  }

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

  .profile-panel {
    max-width: 430px;
  }

  .expertise-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 760px) {
  .page-shell {
    width: calc(100% - 12px);
    margin: 6px auto;
    border-radius: 12px;
  }

  .container {
    width: calc(100% - 28px);
  }

  .header-inner {
    grid-template-columns: 1fr auto;
    gap: 12px;
  }

  .nav-toggle {
    display: inline-flex;
    justify-self: end;
  }

  .header-cta {
    display: none;
  }

  .site-nav {
    display: none;
    grid-column: 1 / -1;
    flex-wrap: wrap;
    justify-content: flex-start;
    padding-bottom: 6px;
  }

  .site-header[data-open="true"] .site-nav {
    display: flex;
  }

  .hero-copy {
    padding-top: 12px;
  }

  .hero-copy h1 {
    font-size: 42px;
  }

  .mini-stats,
  .expertise-grid,
  .impact-grid {
    grid-template-columns: 1fr;
  }

  .contact-bar {
    flex-direction: column;
    align-items: stretch;
  }
}
