:root {
  --bg: #f6f7f9;
  --ink: #111318;
  --muted: #4b5565;
  --panel: #ffffff;
  --panel-2: #f1f4f8;
  --border: #dce3ed;
  --accent: #0078d4;
  --accent-2: #0e9f6e;
  --chip: #e8f1fb;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 90% -10%, #d6ebff 0%, transparent 38%),
    radial-gradient(circle at 10% 0%, #ecfff7 0%, transparent 35%),
    var(--bg);
  font-family: "Space Grotesk", sans-serif;
  min-height: 100vh;
  overflow-x: hidden;
}

.bg-grid {
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.35;
  background-image:
    linear-gradient(#dbe5f0 1px, transparent 1px),
    linear-gradient(90deg, #dbe5f0 1px, transparent 1px);
  background-size: 34px 34px;
  z-index: -2;
}

.bg-orb {
  position: fixed;
  border-radius: 999px;
  filter: blur(65px);
  pointer-events: none;
  z-index: -1;
}

.orb-1 {
  width: 290px;
  height: 290px;
  background: #1f8ef166;
  top: -80px;
  right: -40px;
}

.orb-2 {
  width: 240px;
  height: 240px;
  background: #10b9814d;
  left: -70px;
  bottom: 60px;
}

.topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.6rem 1rem;
  background: #111827;
  color: #e7edf6;
  border-bottom: 1px solid #273244;
  font-size: 0.95rem;
}

.topbar a {
  color: #9bd1ff;
  text-decoration: none;
  font-weight: 700;
}

.nav {
  max-width: 1080px;
  margin: 0 auto;
  padding: 1.2rem 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  color: var(--ink);
  text-decoration: none;
  font-family: "Sora", sans-serif;
  font-size: 1.25rem;
  font-weight: 800;
}

.nav-links {
  display: flex;
  gap: 1rem;
}

.nav-links a {
  color: #334155;
  text-decoration: none;
  font-weight: 700;
}

.container {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 1rem 3.2rem;
}

.hero {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 1rem;
  margin-top: 0.8rem;
}

.hero-text,
.hero-card,
.panel {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 14px;
  box-shadow: 0 10px 30px #0f172a12;
}

.hero-text {
  padding: 1.6rem;
}

.eyebrow {
  margin: 0;
  color: var(--accent);
  font-weight: 700;
  letter-spacing: 0.03em;
}

.lead {
  color: #1f2937;
  font-size: 1.08rem;
}

h1,
h2,
h3 {
  font-family: "Sora", sans-serif;
}

h1 {
  margin: 0.7rem 0;
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  line-height: 1.16;
}

.hero-card {
  padding: 1.3rem;
  background: linear-gradient(165deg, #ffffff, #f4f9ff 72%);
}

.profile-image {
  width: 120px;
  height: 120px;
  border-radius: 999px;
  border: 3px solid #d8e8fb;
  display: block;
  margin-bottom: 0.65rem;
  object-fit: cover;
  object-position: 50% 26%;
}

.profile-caption {
  margin: 0 0 0.8rem;
  color: #1f4f80;
  font-size: 0.9rem;
  font-weight: 700;
}

.hero-card ul {
  margin: 0.7rem 0 0;
  padding-left: 1rem;
  display: grid;
  gap: 0.45rem;
}

.cta-row,
.contact-row {
  margin-top: 1.2rem;
  display: flex;
  gap: 0.8rem;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.65rem 1rem;
  border-radius: 10px;
  border: 1px solid transparent;
  text-decoration: none;
  font-weight: 700;
}

.btn.primary {
  background: linear-gradient(120deg, var(--accent), #33a1f0);
  color: #ffffff;
}

.btn.ghost {
  color: var(--ink);
  border-color: #b5c6da;
  background: #f9fbff;
}

.panel {
  margin-top: 1rem;
  padding: 1.35rem;
}

.subtext,
.note {
  color: var(--muted);
}

.grid.two {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem;
}

.tile {
  background: var(--panel-2);
  border: 1px solid #d6e1ef;
  border-radius: 12px;
  padding: 1rem;
}

.impact-panel {
  background: linear-gradient(135deg, #f8fbff, #eef6ff);
}

.impact-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.8rem;
}

.impact-grid article {
  background: #ffffff;
  border: 1px solid #d5e3f5;
  border-radius: 12px;
  padding: 0.9rem;
}

.impact-value {
  margin: 0;
  font-family: "Sora", sans-serif;
  font-size: 1.2rem;
  font-weight: 800;
  color: #0b4f93;
}

.impact-label {
  margin: 0.25rem 0 0;
  color: var(--muted);
}

.cert-list {
  display: grid;
  gap: 0.55rem;
}

.resume-role {
  background: #fafcff;
  border: 1px solid #d3dfef;
  border-radius: 12px;
  padding: 1rem;
  margin-bottom: 0.85rem;
}

.role-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.role-head h3 {
  margin: 0;
  font-size: 1.04rem;
}

.role-head p {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 600;
}

.role-points {
  margin: 0.75rem 0 0;
  padding-left: 1.05rem;
  display: grid;
  gap: 0.45rem;
}

.role-points li {
  color: #1f2937;
}

.cert-item {
  background: #fafcff;
  border: 1px solid #d3dfef;
  border-radius: 10px;
  padding: 0.65rem 0.8rem;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
}

.state {
  font-size: 0.8rem;
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  font-weight: 700;
}

.state.active {
  color: #084226;
  background: #b8f0d7;
}

.state.historic {
  color: #4a2f09;
  background: #f9d99d;
}

.link-arrow {
  margin-top: 0.9rem;
  color: var(--accent);
  text-decoration: none;
  display: inline-block;
}

.badge-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.8rem;
}

.badge-card {
  background: linear-gradient(170deg, #ffffff, #f2f8ff);
  border: 1px solid #cadcf4;
  border-radius: 12px;
  padding: 0.9rem;
}

.badge-link {
  display: block;
  text-decoration: none;
  color: inherit;
  transition: transform 120ms ease, box-shadow 120ms ease, border-color 120ms ease;
}

.badge-link:hover {
  transform: translateY(-2px);
  border-color: #8ab4e8;
  box-shadow: 0 12px 24px #0d3b7320;
}

.badge-link:focus-visible {
  outline: 3px solid #69aef8;
  outline-offset: 2px;
}

.badge-art {
  height: 140px;
  display: grid;
  place-items: center;
  background: linear-gradient(180deg, #f9fcff, #eef5ff);
  border: 1px solid #d4e3f7;
  border-radius: 10px;
  margin-bottom: 0.75rem;
}

.badge-art img {
  max-height: 116px;
  max-width: 100%;
  width: auto;
  object-fit: contain;
  display: block;
}

.badge-image-fallback {
  display: none;
  width: 54px;
  height: 54px;
  border-radius: 999px;
  place-items: center;
  font-family: "Sora", sans-serif;
  font-size: 1.05rem;
  font-weight: 800;
  color: #114a83;
  border: 1px solid #b9d5f4;
  background: #e7f2ff;
}

.badge-art.has-image .badge-image {
  display: block;
}

.badge-art.has-image .badge-image-fallback {
  display: none;
}

.badge-art.is-broken .badge-image {
  display: none;
}

.badge-art.is-broken .badge-image-fallback {
  display: grid;
}

.badge-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.55rem;
  margin-bottom: 0.25rem;
}

.badge-card h3 {
  margin: 0.35rem 0;
  font-size: 1rem;
}

.badge-card p {
  margin: 0;
  color: var(--muted);
}

.badge-issuer {
  margin: 0;
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  color: #0c4b8b;
  background: #d9ecff;
  border-radius: 999px;
  padding: 0.2rem 0.45rem;
}

.badge-verify {
  margin: 0;
  font-size: 0.74rem;
  font-weight: 700;
  color: #0f6cbd;
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.chips span {
  background: var(--chip);
  border: 1px solid #bdd4ee;
  border-radius: 999px;
  padding: 0.35rem 0.7rem;
  font-weight: 600;
  font-size: 0.9rem;
}

.coverage-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem;
}

.footer {
  text-align: center;
  padding: 1rem;
  color: var(--muted);
}

.reveal {
  opacity: 0;
  transform: translateY(14px);
  animation: rise 0.75s ease forwards;
}

.delay-1 {
  animation-delay: 0.1s;
}

.delay-2 {
  animation-delay: 0.2s;
}

.delay-3 {
  animation-delay: 0.3s;
}

@keyframes rise {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 900px) {
  .hero {
    grid-template-columns: 1fr;
  }

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

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

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

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

  .nav {
    flex-direction: column;
    gap: 0.8rem;
  }

  .nav-links {
    flex-wrap: wrap;
    justify-content: center;
  }

  .topbar {
    flex-direction: column;
    gap: 0.3rem;
    text-align: center;
  }
}
