:root {
  --page-bg: #f4f6fb;
  --surface: #ffffff;
  --surface-soft: #eef2fb;
  --surface-muted: #f8f9fd;
  --ink: #172033;
  --ink-soft: #576279;
  --ink-subtle: #8f97aa;
  --line: rgba(24, 34, 51, 0.08);
  --line-strong: rgba(24, 34, 51, 0.14);
  --navy: #10192d;
  --navy-edge: #1b2741;
  --cyan: #38d4ff;
  --blue: #8db8ff;
  --shadow-lg: 0 36px 90px rgba(20, 29, 49, 0.12);
  --shadow-md: 0 18px 44px rgba(20, 29, 49, 0.08);
  --shadow-sm: 0 8px 24px rgba(20, 29, 49, 0.06);
  --radius-xl: 32px;
  --radius-lg: 24px;
  --radius-md: 18px;
  --radius-sm: 12px;
  --shell-width: min(1120px, calc(100vw - 48px));
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Manrope", sans-serif;
  background:
    radial-gradient(circle at top left, rgba(141, 184, 255, 0.28), transparent 28%),
    linear-gradient(180deg, #edf2fb 0%, #f6f8fc 28%, #f9fafc 100%);
  color: var(--ink);
  line-height: 1.65;
}

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

button {
  font: inherit;
}

.page-shell {
  width: var(--shell-width);
  margin: 0 auto;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: blur(18px);
  background: rgba(244, 246, 251, 0.84);
  border-bottom: 1px solid rgba(17, 25, 40, 0.05);
}

.topbar__inner {
  width: var(--shell-width);
  min-height: 78px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 24px;
  align-items: center;
}

.topbar__brand,
.eyebrow {
  font-family: "IBM Plex Mono", monospace;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-size: 0.72rem;
  font-weight: 600;
}

.topbar__brand {
  color: var(--ink);
  white-space: nowrap;
}

.topbar__meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 22px;
  color: var(--ink-subtle);
  font-size: 0.83rem;
}

.topbar__meta a {
  transition: color 180ms ease;
}

.topbar__meta a:hover,
.conversation-bar a:hover {
  color: #3d72d9;
}

.resume-button {
  border: 0;
  border-radius: 999px;
  padding: 12px 18px;
  background: linear-gradient(135deg, #111d33 0%, #243557 100%);
  color: #f4f7ff;
  font-size: 0.8rem;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 12px 30px rgba(17, 29, 51, 0.18);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.resume-button:hover {
  transform: translateY(-1px);
  box-shadow: 0 18px 38px rgba(17, 29, 51, 0.24);
}

.hero-shell {
  position: relative;
  overflow: hidden;
  padding: 46px 0 64px;
}

.hero-shell::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 320px;
  background:
    radial-gradient(circle at left center, rgba(18, 33, 58, 0.95) 0, rgba(18, 33, 58, 0.82) 18%, transparent 34%),
    linear-gradient(135deg, #dbe6fb 0%, #eef3ff 52%, #f7f9ff 100%);
  border-bottom-left-radius: 40px;
  border-bottom-right-radius: 40px;
}

.hero-card {
  position: relative;
  padding: 56px 54px 46px;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
}

.hero-card h1,
.section h2,
.experience-card h2,
.utility-card h2 {
  margin: 0;
  letter-spacing: -0.04em;
}

.hero-card h1 {
  margin-top: 16px;
  font-size: clamp(3rem, 6vw, 5.3rem);
  line-height: 0.98;
}

.hero-card__subtitle {
  margin: 18px 0 0;
  font-size: clamp(1.1rem, 2vw, 1.55rem);
  font-weight: 700;
  color: #4c5871;
}

.hero-card__summary,
.section__lead,
.section__intro,
.experience-card p,
.utility-card p,
.competency-grid p,
.edge-card p {
  color: var(--ink-soft);
}

.hero-card__summary {
  max-width: 760px;
  margin: 18px 0 0;
  font-size: 1.05rem;
}

.stats-grid,
.impact-grid,
.competency-grid,
.edge-grid,
.utility-grid {
  display: grid;
  gap: 18px;
}

.stats-grid {
  margin-top: 34px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.stat-card {
  padding: 22px 6px 4px 0;
  border-top: 1px solid var(--line);
}

.stat-card strong,
.impact-card strong {
  display: block;
  font-size: clamp(2rem, 3vw, 2.8rem);
  line-height: 1;
  letter-spacing: -0.05em;
}

.stat-card span,
.role-dates,
.pill-list li,
.tag-list li,
.experience-strip span {
  font-family: "IBM Plex Mono", monospace;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.68rem;
}

.stat-card span {
  display: block;
  margin-top: 10px;
  color: var(--ink-subtle);
}

.section {
  padding: 56px 0;
}

.section--tight {
  padding-top: 28px;
  padding-bottom: 72px;
}

.section--dark {
  background:
    linear-gradient(180deg, rgba(14, 22, 39, 0.98), rgba(14, 22, 39, 0.98)),
    linear-gradient(120deg, #0f1730 0%, #162345 100%);
  color: #f8faff;
}

.section--muted {
  background: linear-gradient(180deg, #f3f5fb 0%, #f6f7fc 100%);
}

.section__content {
  display: grid;
  gap: 22px;
}

.eyebrow {
  margin: 0;
  color: var(--ink-subtle);
}

.eyebrow--accent {
  color: #88d8ff;
}

.section h2 {
  max-width: 840px;
  font-size: clamp(2rem, 3vw, 3.25rem);
  line-height: 1.04;
}

.section__lead {
  max-width: 980px;
  margin: 0;
  font-size: 1.08rem;
}

.section__intro,
.impact-note {
  max-width: 820px;
  margin: 0;
  font-size: 0.98rem;
}

.section__intro--dark,
.impact-note {
  color: rgba(229, 238, 255, 0.72);
}

.impact-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.impact-card {
  padding: 24px;
  border: 1px solid rgba(95, 123, 179, 0.18);
  border-radius: var(--radius-md);
  background: linear-gradient(180deg, rgba(18, 30, 53, 0.82), rgba(11, 19, 34, 0.88));
  box-shadow: inset 0 1px 0 rgba(146, 181, 255, 0.06);
}

.impact-card strong {
  color: var(--cyan);
}

.impact-card h3,
.competency-grid h3,
.edge-card h3,
.experience-card h3 {
  margin: 14px 0 8px;
  font-size: 1.02rem;
  line-height: 1.3;
}

.impact-card h3 {
  color: #f6f8fe;
}

.impact-card p {
  margin: 0;
  color: rgba(222, 231, 247, 0.7);
  font-size: 0.92rem;
}

.competency-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px 42px;
}

.competency-grid article {
  padding-bottom: 6px;
  border-bottom: 1px solid var(--line);
}

.competency-grid h3 {
  margin-top: 0;
}

.foundation-row {
  display: grid;
  grid-template-columns: 1.7fr 1fr;
  gap: 40px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
}

.tag-list,
.pill-list {
  list-style: none;
  margin: 16px 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 12px 18px;
}

.tag-list li {
  color: var(--ink);
  letter-spacing: 0.08em;
}

.education-block {
  align-self: end;
}

.education-block p:last-child {
  margin: 14px 0 0;
  color: var(--ink-soft);
}

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

.edge-card,
.utility-card {
  padding: 24px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.82), rgba(245, 248, 255, 0.88));
  border: 1px solid rgba(129, 147, 182, 0.12);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}

.conversation-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  padding: 18px 22px;
  border-radius: var(--radius-sm);
  background: linear-gradient(180deg, rgba(232, 237, 251, 0.76), rgba(238, 242, 253, 0.94));
  border: 1px solid rgba(123, 144, 186, 0.1);
  color: #46526b;
  font-size: 0.95rem;
}

.conversation-bar div {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}

.experience-stack {
  display: grid;
  gap: 22px;
}

.experience-card,
.experience-strip {
  padding: 32px;
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(124, 145, 185, 0.11);
  box-shadow: var(--shadow-md);
}

.role-dates {
  margin: 0;
  color: var(--ink-subtle);
}

.experience-card h2 {
  margin-top: 10px;
  font-size: 2.2rem;
}

.experience-card h3 {
  color: #42506a;
}

.experience-card p {
  margin: 0;
}

.pill-list {
  margin-top: 20px;
}

.pill-list li {
  padding: 10px 14px;
  border-radius: 999px;
  background: var(--surface-soft);
  color: #5a6984;
  letter-spacing: 0.1em;
}

.experience-strip {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
  padding-top: 20px;
  padding-bottom: 20px;
}

.experience-strip p {
  margin: 0;
  color: var(--ink-soft);
}

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

.utility-card {
  background: rgba(255, 255, 255, 0.84);
}

.utility-card p {
  margin: 8px 0 0;
}

.utility-card ol {
  margin: 18px 0 0;
  padding-left: 20px;
  color: var(--ink-soft);
}

.utility-card li + li {
  margin-top: 10px;
}

@media (max-width: 1080px) {
  .topbar__inner {
    grid-template-columns: 1fr;
    justify-items: center;
    padding: 16px 0;
  }

  .topbar__meta {
    justify-content: center;
  }

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

  .edge-grid,
  .utility-grid,
  .stats-grid,
  .foundation-row {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  :root {
    --shell-width: min(100vw - 28px, 100%);
  }

  .hero-shell {
    padding-top: 28px;
  }

  .hero-shell::before {
    height: 250px;
    border-bottom-left-radius: 24px;
    border-bottom-right-radius: 24px;
  }

  .hero-card {
    padding: 34px 24px 28px;
    border-radius: 26px;
  }

  .section {
    padding: 40px 0;
  }

  .impact-grid,
  .competency-grid,
  .edge-grid,
  .utility-grid {
    grid-template-columns: 1fr;
  }

  .experience-card,
  .experience-strip,
  .utility-card {
    padding: 24px;
  }

  .experience-strip,
  .conversation-bar {
    flex-direction: column;
    align-items: flex-start;
  }

  .conversation-bar div {
    gap: 10px 16px;
  }

  .topbar {
    position: static;
  }
}

@media print {
  .topbar {
    position: static;
    border-bottom: 0;
    background: transparent;
  }

  .resume-button,
  .utility-grid {
    display: none;
  }

  body {
    background: #ffffff;
  }

  .hero-shell::before {
    display: none;
  }

  .hero-card,
  .experience-card,
  .experience-strip,
  .edge-card {
    box-shadow: none;
  }

  .section,
  .hero-shell {
    padding: 22px 0;
  }
}
