* {
  box-sizing: border-box;
}

:root {
  --bg: #0d0f12;
  --surface: #15191f;
  --surface-2: #1b2028;
  --text: #f3f4f6;
  --muted: #aab1bc;
  --line: #2a3039;
  --accent: #dfe4ea;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
}

a {
  color: inherit;
}

button {
  font: inherit;
}

.container {
  width: min(1080px, 90%);
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: blur(14px);
  background: rgba(13, 15, 18, 0.88);
  border-bottom: 1px solid var(--line);
}

.nav-wrap {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.brand {
  text-decoration: none;
  font-weight: 750;
  letter-spacing: -0.02em;
}

nav {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
}

nav a {
  text-decoration: none;
  color: var(--muted);
  font-size: 0.95rem;
}

nav a:hover,
nav a.active {
  color: var(--text);
}

nav a.active {
  text-decoration: underline;
  text-decoration-color: #59616c;
  text-underline-offset: 7px;
}

.hero,
.page-hero {
  padding: 110px 0 90px;
  border-top: 0;
}

.page-hero {
  padding-bottom: 72px;
}

.hero h1,
.page-hero h1 {
  max-width: 960px;
  margin: 12px 0 28px;
  font-size: clamp(2.8rem, 7vw, 5.5rem);
  line-height: 1.02;
  letter-spacing: -0.055em;
}

.page-hero h1 {
  max-width: 900px;
  font-size: clamp(2.7rem, 6vw, 4.8rem);
}

.hero-copy {
  max-width: 800px;
  margin: 0;
  color: var(--muted);
  font-size: clamp(1.05rem, 2vw, 1.25rem);
}

.eyebrow {
  margin: 0 0 10px;
  color: #8f98a5;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border: 1px solid transparent;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.15s ease, border-color 0.15s ease;
}

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

.button.primary {
  background: var(--text);
  color: #101216;
}

.button.secondary {
  background: transparent;
  border-color: var(--line);
  color: var(--text);
}

.button.secondary:hover {
  background: var(--surface);
}

.text-link {
  display: inline-block;
  margin-top: 10px;
  color: var(--text);
  font-weight: 700;
  text-decoration: none;
}

.text-link:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.hero-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin-top: 68px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--line);
}

.fact {
  min-height: 145px;
  padding: 25px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: var(--surface);
}

.fact strong {
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1;
  letter-spacing: -0.04em;
}

.fact span {
  max-width: 230px;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.4;
}

section {
  padding: 84px 0;
  border-top: 1px solid var(--line);
}

h2 {
  margin: 0;
  max-width: 780px;
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1.12;
  letter-spacing: -0.035em;
}

h3 {
  margin: 8px 0 12px;
  font-size: 1.25rem;
  line-height: 1.3;
}

p {
  margin-top: 0;
}

.two-column {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 64px;
  align-items: start;
}

.compact-section {
  align-items: center;
}

.section-copy {
  color: var(--muted);
  font-size: 1.05rem;
}

.section-copy p:last-child {
  margin-bottom: 0;
}

.timeline {
  margin-top: 12px;
  border-top: 1px solid var(--line);
}

.timeline-item {
  position: relative;
  display: grid;
  grid-template-columns: 0.72fr 1.28fr;
  gap: 54px;
  padding: 36px 0;
  border-bottom: 1px solid var(--line);
}

.timeline-item.current::before {
  content: "";
  position: absolute;
  left: -18px;
  top: 44px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--text);
}

.timeline-meta {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.timeline-date,
.timeline-company {
  color: #8f98a5;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.timeline-company {
  color: var(--text);
  letter-spacing: 0.04em;
}

.timeline-content h3 {
  margin-top: 0;
  font-size: 1.55rem;
  letter-spacing: -0.025em;
}

.timeline-content > p,
.card p,
.capability-card p {
  color: var(--muted);
}

.clean-list {
  margin: 22px 0 0;
  padding-left: 20px;
  color: var(--muted);
}

.clean-list.compact {
  margin-top: 18px;
}

.clean-list li + li {
  margin-top: 8px;
}

.capability-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 34px;
}

.capability-card {
  padding: 28px;
  background: linear-gradient(180deg, var(--surface-2), var(--surface));
  border: 1px solid var(--line);
  border-radius: 14px;
}

.capability-topline {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 34px;
  color: #7f8895;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.capability-card h3 {
  font-size: 1.4rem;
  letter-spacing: -0.02em;
}

.capability-card p:last-child {
  margin-bottom: 0;
}

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

.card {
  min-height: 275px;
  padding: 26px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 14px;
}

.card-number {
  display: inline-block;
  margin-bottom: 46px;
  color: #7f8895;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
}

.link-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 28px;
}

.link-card {
  min-height: 205px;
  padding: 26px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 18px;
  text-decoration: none;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 14px;
  transition: transform 0.15s ease, border-color 0.15s ease;
}

.link-card:hover {
  transform: translateY(-2px);
  border-color: #4a5360;
}

.link-card span,
.link-card small {
  color: #87909c;
}

.link-card span {
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.link-card strong {
  font-size: 1.28rem;
  line-height: 1.25;
  letter-spacing: -0.02em;
}

.link-card small {
  font-size: 0.92rem;
}

.path-strip {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  align-items: center;
  gap: 18px;
  margin-top: 30px;
  padding: 28px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 14px;
}

.path-strip > div:not(.path-arrow) {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.path-strip span {
  color: #87909c;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.path-strip strong {
  font-size: 1.05rem;
}

.path-arrow {
  color: #68717d;
  font-size: 1.35rem;
}

.resume-shell {
  padding: 56px 0 84px;
  border-top: 0;
}

.resume-document {
  padding: 48px;
  background: #12151a;
  border: 1px solid var(--line);
  border-radius: 16px;
}

.resume-heading {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 32px;
  padding-bottom: 30px;
  border-bottom: 1px solid var(--line);
}

.resume-heading h1 {
  margin: 2px 0 8px;
  font-size: clamp(2.5rem, 5vw, 4rem);
  line-height: 1;
  letter-spacing: -0.05em;
}

.resume-title {
  margin: 0;
  color: var(--muted);
}

.resume-section {
  padding: 30px 0;
  border-bottom: 1px solid var(--line);
}

.resume-section:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.resume-section h2 {
  margin-bottom: 18px;
  font-size: 1rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.resume-section > p {
  max-width: 900px;
  color: var(--muted);
}

.skill-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.skill-list span {
  padding: 7px 10px;
  color: var(--muted);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 6px;
  font-size: 0.9rem;
}

.resume-role {
  padding: 24px 0;
  border-top: 1px solid var(--line);
}

.resume-role:first-of-type {
  border-top: 0;
  padding-top: 0;
}

.resume-role-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 30px;
}

.resume-role-head > div {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.resume-role-head strong {
  font-size: 1.08rem;
}

.resume-role-head span,
.resume-role-head time,
.resume-role li {
  color: var(--muted);
}

.resume-role-head time {
  white-space: nowrap;
  font-size: 0.9rem;
}

.resume-role ul {
  margin: 15px 0 0;
  padding-left: 20px;
}

.resume-role li + li {
  margin-top: 6px;
}

.education-line {
  padding-top: 2px;
}

footer {
  padding: 34px 0;
  color: #747d89;
  font-size: 0.9rem;
  border-top: 1px solid var(--line);
}

.footer-wrap {
  display: flex;
  justify-content: space-between;
  gap: 20px;
}

@media (max-width: 820px) {
  .nav-wrap {
    align-items: flex-start;
    flex-direction: column;
    padding: 18px 0;
  }

  nav {
    gap: 14px 18px;
  }

  .hero,
  .page-hero {
    padding: 78px 0 72px;
  }

  section {
    padding: 66px 0;
  }

  .hero-facts,
  .two-column,
  .timeline-item,
  .capability-grid,
  .card-grid,
  .link-grid {
    grid-template-columns: 1fr;
  }

  .hero-facts {
    gap: 1px;
    margin-top: 48px;
  }

  .fact {
    min-height: 120px;
  }

  .two-column,
  .timeline-item {
    gap: 26px;
  }

  .timeline-item.current::before {
    display: none;
  }

  .card {
    min-height: auto;
  }

  .card-number {
    margin-bottom: 24px;
  }

  .path-strip {
    grid-template-columns: 1fr;
  }

  .path-arrow {
    transform: rotate(90deg);
    width: 20px;
  }

  .resume-document {
    padding: 30px;
  }

  .resume-heading,
  .resume-role-head {
    flex-direction: column;
    gap: 14px;
  }
}

@media (max-width: 520px) {
  .container {
    width: min(92%, 1080px);
  }

  nav a {
    font-size: 0.9rem;
  }

  .hero h1,
  .page-hero h1 {
    font-size: clamp(2.45rem, 13.5vw, 4rem);
  }

  .actions,
  .actions .button {
    width: 100%;
  }

  .resume-document {
    width: 94%;
    padding: 22px;
  }

  .footer-wrap {
    flex-direction: column;
    gap: 6px;
  }
}

@media print {
  :root {
    --bg: #ffffff;
    --surface: #ffffff;
    --surface-2: #ffffff;
    --text: #111111;
    --muted: #444444;
    --line: #d9d9d9;
  }

  body,
  .resume-document {
    background: #ffffff;
    color: #111111;
  }

  .no-print {
    display: none !important;
  }

  .resume-shell {
    padding: 0;
  }

  .resume-document {
    width: 100%;
    max-width: none;
    padding: 0;
    border: 0;
    border-radius: 0;
  }

  .resume-heading h1 {
    font-size: 32pt;
  }

  .resume-section {
    break-inside: avoid;
  }

  .resume-role {
    break-inside: avoid;
  }
}
