:root {
  color-scheme: light;
  --ink: #101419;
  --muted: #626b75;
  --line: #dfe5ea;
  --paper: #f7f8f5;
  --card: #ffffff;
  --coal: #151b22;
  --coal-2: #202832;
  --mint: #1a8a68;
  --mint-soft: #dff3ea;
  --amber: #be7c2b;
  --blue: #2f6f9f;
  --shadow: 0 24px 70px rgba(16, 20, 25, .12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background:
    linear-gradient(90deg, rgba(16, 20, 25, .035) 1px, transparent 1px) 0 0 / 56px 56px,
    linear-gradient(rgba(16, 20, 25, .035) 1px, transparent 1px) 0 0 / 56px 56px,
    var(--paper);
}

a {
  color: inherit;
}

.page-shell {
  width: min(1180px, calc(100% - 40px));
  margin: 28px auto 56px;
}

.hero {
  display: grid;
  grid-template-columns: minmax(250px, 360px) minmax(0, 1fr) minmax(230px, 285px);
  gap: 0;
  min-height: 560px;
  overflow: hidden;
  color: #f7faf8;
  background: var(--coal);
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.hero-media {
  position: relative;
  min-height: 420px;
  background: #0d1116;
}

.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 45%, rgba(13, 17, 22, .84));
}

.hero-media img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center top;
  filter: saturate(.94) contrast(1.02);
}

.hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(32px, 5vw, 68px);
}

.eyebrow {
  width: fit-content;
  margin-bottom: 18px;
  padding: 8px 12px;
  border: 1px solid rgba(223, 243, 234, .24);
  border-radius: 999px;
  color: #a8ddca;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0;
}

h1,
h2,
h3,
p {
  margin: 0;
}

h1 {
  max-width: 780px;
  font-size: clamp(44px, 5.4vw, 74px);
  line-height: .94;
  font-weight: 900;
  letter-spacing: 0;
}

.lead {
  max-width: 650px;
  margin-top: 28px;
  color: #cad3d3;
  font-size: clamp(18px, 2vw, 23px);
  line-height: 1.45;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 18px;
  color: #f8fbfa;
  font-weight: 800;
  text-decoration: none;
  background: rgba(255, 255, 255, .09);
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 6px;
  transition: background .2s ease, border-color .2s ease, transform .2s ease;
}

.action svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

.action:hover {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, .14);
  border-color: rgba(255, 255, 255, .32);
}

.action.primary {
  color: #082417;
  background: var(--mint-soft);
  border-color: transparent;
}

.action.download {
  color: #1f1606;
  background: #f7dca7;
  border-color: transparent;
}

.hero-card {
  display: grid;
  align-content: end;
  gap: 18px;
  padding: 30px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .04), rgba(255, 255, 255, .01)),
    var(--coal-2);
  border-left: 1px solid rgba(255, 255, 255, .08);
}

.hero-card div {
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, .11);
}

.meta-label {
  display: block;
  margin-bottom: 7px;
  color: #9aa7a8;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0;
}

.hero-card strong {
  display: block;
  color: #ffffff;
  font-size: 16px;
  line-height: 1.35;
}

.metrics {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  margin: 18px 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--line);
  box-shadow: 0 18px 44px rgba(16, 20, 25, .06);
}

.metrics article {
  min-height: 136px;
  padding: 26px;
  background: rgba(255, 255, 255, .88);
}

.metrics strong {
  display: block;
  color: var(--mint);
  font-size: clamp(32px, 4vw, 52px);
  line-height: 1;
  letter-spacing: 0;
}

.metrics span {
  display: block;
  max-width: 180px;
  margin-top: 12px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.35;
}

.content-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 18px;
  align-items: start;
}

.main-column,
.side-column {
  display: grid;
  gap: 18px;
}

.panel {
  padding: clamp(24px, 4vw, 40px);
  background: rgba(255, 255, 255, .92);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 18px 44px rgba(16, 20, 25, .06);
}

.sticky-panel {
  position: static;
}

.section-heading {
  display: flex;
  align-items: baseline;
  gap: 16px;
  margin-bottom: 22px;
}

.section-heading span {
  color: var(--amber);
  font-size: 13px;
  font-weight: 900;
}

.section-heading h2 {
  font-size: clamp(24px, 3vw, 36px);
  line-height: 1.1;
  letter-spacing: 0;
}

.section-heading.compact h2 {
  font-size: 24px;
}

.panel p,
.panel li {
  color: #3f4850;
  font-size: 16px;
  line-height: 1.7;
}

.timeline {
  display: grid;
  gap: 28px;
}

.role {
  position: relative;
  padding-left: 26px;
}

.role::before {
  content: "";
  position: absolute;
  left: 0;
  top: 7px;
  width: 10px;
  height: 10px;
  background: var(--blue);
  border-radius: 50%;
  box-shadow: 0 0 0 6px rgba(47, 111, 159, .12);
}

.role:not(:last-child)::after {
  content: "";
  position: absolute;
  left: 4px;
  top: 28px;
  bottom: -18px;
  width: 1px;
  background: var(--line);
}

.role-head {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 14px;
}

.role h3,
.education-title {
  font-size: 20px;
  line-height: 1.25;
}

.role-head p,
.muted {
  margin-top: 5px;
  color: var(--muted);
  font-weight: 700;
}

time {
  flex: 0 0 auto;
  color: var(--amber);
  font-size: 14px;
  font-weight: 900;
}

ul {
  margin: 0;
  padding-left: 18px;
}

li + li {
  margin-top: 7px;
}

.proof-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}

.proof-strip span {
  padding: 9px 12px;
  color: #173426;
  font-size: 13px;
  font-weight: 900;
  background: var(--mint-soft);
  border-radius: 6px;
}

.achievement-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.achievement-grid section {
  min-height: 168px;
  padding: 22px;
  background: #f8faf8;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.achievement-grid h3 {
  margin-bottom: 10px;
  font-size: 18px;
}

.skill-list {
  display: grid;
  gap: 18px;
}

.skill-list div {
  display: grid;
  gap: 8px;
}

.skill-list span {
  color: #2c343b;
  font-size: 14px;
  font-weight: 800;
}

.skill-list b {
  height: 7px;
  overflow: hidden;
  background: #e8edf0;
  border-radius: 999px;
}

.skill-list b::before {
  content: "";
  display: block;
  width: var(--level);
  height: 100%;
  background: linear-gradient(90deg, var(--mint), var(--blue));
  border-radius: inherit;
}

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 26px;
}

.tags span {
  padding: 8px 10px;
  color: #25313a;
  font-size: 13px;
  font-weight: 800;
  background: #f3f5f2;
  border: 1px solid var(--line);
  border-radius: 999px;
}

.check-list {
  list-style: none;
  padding: 0;
}

.check-list li {
  position: relative;
  padding-left: 24px;
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .68em;
  width: 9px;
  height: 9px;
  background: var(--mint);
  border-radius: 50%;
}

@media (max-width: 1020px) {
  .page-shell {
    width: min(100% - 28px, 760px);
  }

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

  .hero {
    min-height: 0;
  }

  .hero-media {
    min-height: 520px;
  }

  .hero-card {
    grid-template-columns: repeat(3, 1fr);
    border-top: 1px solid rgba(255, 255, 255, .08);
    border-left: 0;
  }

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

  .sticky-panel {
    position: static;
  }
}

@media (max-width: 640px) {
  .page-shell {
    width: 100%;
    margin: 0;
  }

  .hero,
  .metrics,
  .panel {
    border-right: 0;
    border-left: 0;
    border-radius: 0;
  }

  .hero-media {
    min-height: 430px;
  }

  .hero-copy {
    padding: 30px 20px 34px;
  }

  h1 {
    font-size: 46px;
  }

  .lead {
    font-size: 17px;
  }

  .hero-actions {
    display: grid;
  }

  .action {
    width: 100%;
  }

  .hero-card,
  .metrics,
  .achievement-grid {
    grid-template-columns: 1fr;
  }

  .hero-card {
    padding: 22px 20px 28px;
  }

  .content-grid,
  .main-column,
  .side-column {
    gap: 0;
  }

  .role-head {
    display: grid;
  }

  time {
    width: fit-content;
  }
}

@media print {
  body {
    background: #ffffff;
  }

  .page-shell {
    width: 100%;
    margin: 0;
  }

  .hero,
  .metrics,
  .content-grid {
    display: block;
  }

  .hero {
    min-height: 0;
    color: #111827;
    background: #ffffff;
    box-shadow: none;
  }

  .hero-media {
    width: 180px;
    min-height: 220px;
    float: right;
  }

  .hero-copy,
  .hero-card,
  .panel,
  .metrics article {
    padding: 18px;
    box-shadow: none;
    border-color: #d1d5db;
  }

  .hero-card,
  .action,
  .hero-actions {
    display: none;
  }

  .lead,
  .panel p,
  .panel li {
    color: #111827;
  }
}
