:root {
  --ink: #11151d;
  --ink-soft: #202734;
  --muted: #5f6877;
  --cobalt: #2f57f5;
  --cobalt-dark: #1d3fc5;
  --line: #d8dee8;
  --surface: #f3f6fa;
  --white: #ffffff;
  --serif: "Iowan Old Style", "Palatino Linotype", "Book Antiqua", Georgia, serif;
  --sans: Aptos, "Segoe UI", Helvetica, Arial, sans-serif;
  --max-width: 1120px;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 76px;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

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

:focus-visible {
  outline: 3px solid rgba(47, 87, 245, 0.35);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 100;
  padding: 10px 14px;
  color: var(--white);
  background: var(--cobalt-dark);
  transform: translateY(-160%);
}

.skip-link:focus {
  transform: translateY(0);
}

.section-shell {
  width: min(calc(100% - 48px), var(--max-width));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  min-height: 72px;
  padding-inline: max(24px, calc((100vw - var(--max-width)) / 2));
  border-bottom: 1px solid rgba(216, 222, 232, 0.92);
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(14px);
}

.brand {
  display: flex;
  align-items: baseline;
  gap: 10px;
  width: fit-content;
}

.brand strong {
  font-family: var(--serif);
  font-size: 24px;
  font-weight: 500;
  letter-spacing: -0.03em;
}

.brand span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.site-header nav {
  display: flex;
  gap: 32px;
}

.site-header nav a,
.header-link {
  position: relative;
  padding-block: 7px;
  font-size: 14px;
}

.site-header nav a::after,
.header-link::after,
.text-link::after,
.contact-links a::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 1px;
  background: currentColor;
  content: "";
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 180ms ease;
}

.site-header nav a:hover::after,
.site-header nav a:focus-visible::after,
.header-link:hover::after,
.header-link:focus-visible::after,
.text-link:hover::after,
.text-link:focus-visible::after,
.contact-links a:hover::after,
.contact-links a:focus-visible::after {
  transform: scaleX(1);
  transform-origin: left;
}

.header-link {
  justify-self: end;
  color: var(--cobalt-dark);
  font-weight: 600;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 700px) 1fr;
  gap: clamp(48px, 8vw, 112px);
  align-items: center;
  width: min(calc(100% - 48px), var(--max-width));
  min-height: 680px;
  padding-block: 92px 88px;
  margin-inline: auto;
}

.hero-copy {
  position: relative;
  z-index: 1;
}

.hero h1 {
  max-width: 690px;
  margin-bottom: 28px;
  font-family: var(--serif);
  font-size: clamp(42px, 4.2vw, 56px);
  font-weight: 500;
  letter-spacing: -0.045em;
  line-height: 1.02;
}

.hero-summary {
  max-width: 630px;
  margin-bottom: 32px;
  color: var(--ink-soft);
  font-size: 18px;
  line-height: 1.62;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  margin-bottom: 34px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding-inline: 20px;
  border: 1px solid var(--ink);
  font-size: 14px;
  font-weight: 600;
  transition: color 180ms ease, background 180ms ease, border-color 180ms ease,
    transform 180ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
}

.button-primary {
  border-color: var(--cobalt);
  color: var(--white);
  background: var(--cobalt);
}

.button-primary:hover,
.button-primary:focus-visible {
  border-color: var(--cobalt-dark);
  background: var(--cobalt-dark);
}

.button-secondary:hover,
.button-secondary:focus-visible {
  color: var(--white);
  background: var(--ink);
}

.text-link {
  position: relative;
  margin-left: 8px;
  padding-block: 8px;
  color: var(--cobalt-dark);
  font-size: 14px;
  font-weight: 600;
}

.availability {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  margin-bottom: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}

.availability span + span::before {
  padding-inline: 10px;
  color: var(--cobalt);
  content: "·";
}

.hero-system {
  position: relative;
  align-self: stretch;
  min-width: 260px;
}

.system-line,
.system-spine {
  position: absolute;
  display: block;
  background: var(--cobalt);
}

.system-line {
  right: 0;
  width: 86%;
  height: 2px;
}

.line-one {
  top: 24%;
}

.line-two {
  top: 50%;
  width: 68%;
}

.line-three {
  top: 76%;
  width: 94%;
}

.system-spine {
  top: 24%;
  right: 32%;
  width: 2px;
  height: 52%;
}

.system-node {
  position: absolute;
  right: calc(32% - 5px);
  display: block;
  width: 12px;
  height: 12px;
  border: 2px solid var(--cobalt);
  border-radius: 50%;
  background: var(--white);
}

.node-one {
  top: calc(24% - 5px);
}

.node-two {
  top: calc(50% - 5px);
}

.node-three {
  top: calc(76% - 5px);
}

.leadership {
  color: var(--white);
  background: var(--ink);
}

.leadership-inner {
  display: grid;
  grid-template-columns: 0.72fr 90px 1.55fr;
  gap: 44px;
  align-items: start;
  padding-block: 86px 92px;
}

.leadership h2,
.section-intro h2,
.work-intro h2,
.background h2 {
  margin-bottom: 0;
  font-family: var(--serif);
  font-size: clamp(36px, 3.8vw, 48px);
  font-weight: 500;
  letter-spacing: -0.04em;
  line-height: 1.05;
}

.leadership-rule {
  width: 100%;
  height: 2px;
  margin-top: 24px;
  background: var(--cobalt);
}

.leadership p {
  max-width: 650px;
  margin-bottom: 0;
  font-size: clamp(19px, 2.1vw, 24px);
  line-height: 1.55;
}

.career-path {
  padding-block: 92px 104px;
}

.section-intro {
  margin-bottom: 60px;
}

.split-intro {
  display: grid;
  grid-template-columns: 1fr 0.8fr;
  gap: 80px;
  align-items: end;
}

.split-intro h2 {
  max-width: 620px;
}

.split-intro > p {
  max-width: 390px;
  margin-bottom: 4px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.6;
}

.path-list {
  position: relative;
  display: grid;
  grid-template-columns: 0.85fr 1.25fr 0.85fr 1fr 1.2fr;
  gap: 26px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.path-list::before {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 2px;
  background: var(--cobalt);
  content: "";
}

.path-list li {
  position: relative;
  padding-top: 32px;
}

.path-list li::before {
  position: absolute;
  top: -5px;
  left: 0;
  width: 12px;
  height: 12px;
  border: 2px solid var(--cobalt);
  border-radius: 50%;
  background: var(--white);
  content: "";
}

.path-list strong,
.path-list span {
  display: block;
}

.path-list strong {
  margin-bottom: 9px;
  font-family: var(--serif);
  font-size: 20px;
  font-weight: 500;
  line-height: 1.15;
}

.path-list span {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}

.selected-work {
  padding-block: 96px 104px;
  background: var(--surface);
}

.work-intro {
  margin-bottom: 46px;
}

.accent-rule {
  display: block;
  width: 68px;
  height: 3px;
  margin-bottom: 34px;
  background: var(--cobalt);
}

.work-list {
  border-top: 1px solid var(--ink);
}

.work-list article {
  display: grid;
  grid-template-columns: minmax(250px, 0.85fr) minmax(0, 1.2fr);
  gap: clamp(56px, 9vw, 130px);
  padding: 38px 16px 40px;
  border-bottom: 1px solid var(--ink);
}

.work-list h3 {
  max-width: 360px;
  margin-bottom: 0;
  font-family: var(--serif);
  font-size: clamp(26px, 3vw, 36px);
  font-weight: 600;
  letter-spacing: -0.035em;
  line-height: 1.08;
}

.work-list p {
  max-width: 570px;
  margin-bottom: 0;
  color: var(--ink-soft);
  font-size: 17px;
  line-height: 1.65;
}

.background {
  padding-block: 100px 110px;
}

.experience-list {
  position: relative;
  padding-left: 64px;
}

.experience-list::before {
  position: absolute;
  top: 10px;
  bottom: 16px;
  left: 6px;
  width: 2px;
  background: var(--cobalt);
  content: "";
}

.experience-list article {
  position: relative;
  max-width: 960px;
  padding-bottom: 48px;
}

.experience-list article:last-child {
  padding-bottom: 0;
}

.experience-list article::before {
  position: absolute;
  top: 8px;
  left: -64px;
  width: 14px;
  height: 14px;
  border: 3px solid var(--white);
  border-radius: 50%;
  background: var(--cobalt);
  box-shadow: 0 0 0 1px var(--cobalt);
  content: "";
}

.experience-heading {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  align-items: baseline;
  margin-bottom: 8px;
}

.experience-heading h3 {
  margin-bottom: 0;
  font-family: var(--serif);
  font-size: 28px;
  font-weight: 500;
  letter-spacing: -0.025em;
}

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

.experience-list p {
  max-width: 790px;
  margin-bottom: 0;
  color: var(--ink-soft);
  font-size: 16px;
  line-height: 1.65;
}

.personal {
  border-top: 1px solid var(--line);
  background: linear-gradient(90deg, var(--surface) 0 34%, var(--white) 34%);
}

.personal-layout {
  display: grid;
  grid-template-columns: 0.62fr 1.38fr;
  gap: clamp(60px, 9vw, 132px);
  align-items: start;
  padding-block: 86px 92px;
}

.personal-heading .accent-rule {
  width: 52px;
  margin-bottom: 26px;
}

.personal h2 {
  max-width: 230px;
  margin-bottom: 0;
  font-family: var(--serif);
  font-size: clamp(36px, 3.8vw, 48px);
  font-weight: 500;
  letter-spacing: -0.04em;
  line-height: 1.05;
}

.personal p {
  max-width: 680px;
  margin-bottom: 0;
  color: var(--ink-soft);
  font-size: 19px;
  line-height: 1.68;
}

.contact {
  color: var(--white);
  background: var(--ink);
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 96px;
  align-items: end;
  padding-block: 82px 68px;
}

.contact h2 {
  max-width: 780px;
  margin-bottom: 36px;
  font-family: var(--serif);
  font-size: clamp(30px, 3.5vw, 44px);
  font-weight: 500;
  letter-spacing: -0.035em;
  line-height: 1.15;
}

.contact-links {
  display: flex;
  flex-wrap: wrap;
  gap: 24px 34px;
}

.contact-links a {
  position: relative;
  padding-block: 8px;
  color: #7892ff;
  font-size: 15px;
}

.credential {
  display: grid;
  justify-items: center;
  gap: 10px;
  width: 150px;
  padding: 16px 14px;
  border: 1px solid #59616d;
  color: #b7c3ff;
  text-align: center;
  transition: border-color 180ms ease, transform 180ms ease;
}

.credential:hover,
.credential:focus-visible {
  border-color: #7892ff;
  transform: translateY(-2px);
}

.credential img {
  display: block;
  width: 88px;
  height: 88px;
  object-fit: contain;
}

.credential > span {
  font-size: 11px;
  line-height: 1.4;
}

footer {
  display: flex;
  justify-content: space-between;
  padding-block: 22px 28px;
  border-top: 1px solid #39414c;
  color: #9da6b3;
  font-size: 12px;
}

footer a:hover,
footer a:focus-visible {
  color: var(--white);
}

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

  .site-header nav {
    display: none;
  }

  .hero {
    grid-template-columns: minmax(0, 1fr) 180px;
    gap: 34px;
    min-height: 620px;
  }

  .leadership-inner {
    grid-template-columns: 0.8fr 60px 1.5fr;
    gap: 28px;
  }

  .path-list {
    grid-template-columns: repeat(5, 1fr);
    gap: 18px;
  }

  .path-list strong {
    font-size: 17px;
  }

  .contact-layout {
    gap: 48px;
  }
}

@media (max-width: 700px) {
  html {
    scroll-padding-top: 64px;
  }

  .section-shell,
  .hero {
    width: min(calc(100% - 36px), var(--max-width));
  }

  .site-header {
    min-height: 64px;
    padding-inline: 18px;
  }

  .brand strong {
    font-size: 20px;
  }

  .header-link {
    font-size: 13px;
  }

  .hero {
    display: block;
    min-height: 0;
    padding-block: 72px 70px;
  }

  .hero h1 {
    margin-bottom: 24px;
    font-size: clamp(37px, 10.5vw, 44px);
    line-height: 1.02;
  }

  .hero-summary {
    margin-bottom: 28px;
    font-size: 17px;
  }

  .hero-actions {
    gap: 10px;
    margin-bottom: 28px;
  }

  .button {
    min-height: 45px;
    padding-inline: 15px;
  }

  .text-link {
    margin-left: 2px;
  }

  .availability {
    display: block;
  }

  .availability span {
    display: block;
  }

  .availability span + span {
    margin-top: 4px;
  }

  .availability span + span::before {
    display: none;
  }

  .hero-system {
    display: none;
  }

  .leadership-inner {
    display: block;
    padding-block: 68px 72px;
  }

  .leadership-rule {
    width: 72px;
    margin-block: 26px;
  }

  .leadership p {
    font-size: 19px;
  }

  .leadership h2,
  .section-intro h2,
  .work-intro h2,
  .background h2 {
    font-size: 36px;
  }

  .career-path,
  .selected-work,
  .background,
  .personal {
    padding-block: 72px 78px;
  }

  .personal {
    background: var(--surface);
  }

  .personal-layout {
    display: block;
    padding-block: 0;
  }

  .personal-heading {
    margin-bottom: 28px;
  }

  .personal h2 {
    font-size: 36px;
  }

  .personal p {
    font-size: 17px;
    line-height: 1.65;
  }

  .section-intro {
    margin-bottom: 44px;
  }

  .split-intro {
    display: block;
  }

  .split-intro > p {
    margin-top: 20px;
  }

  .path-list {
    display: block;
    padding-left: 32px;
  }

  .path-list::before {
    top: 8px;
    bottom: 8px;
    left: 6px;
    width: 2px;
    height: auto;
  }

  .path-list li {
    padding: 0 0 30px;
  }

  .path-list li:last-child {
    padding-bottom: 0;
  }

  .path-list li::before {
    top: 5px;
    left: -32px;
  }

  .path-list strong {
    font-size: 20px;
  }

  .work-intro {
    margin-bottom: 34px;
  }

  .accent-rule {
    width: 56px;
    margin-bottom: 26px;
  }

  .work-list article {
    display: block;
    padding: 30px 0 32px;
  }

  .work-list h3 {
    margin-bottom: 18px;
    font-size: 30px;
  }

  .work-list p {
    font-size: 16px;
  }

  .experience-list {
    padding-left: 34px;
  }

  .experience-list article::before {
    left: -34px;
  }

  .experience-heading {
    display: block;
  }

  .experience-heading h3 {
    margin-bottom: 4px;
    font-size: 25px;
  }

  .contact-layout {
    display: block;
    padding-block: 68px 54px;
  }

  .contact h2 {
    margin-bottom: 30px;
    font-size: 32px;
  }

  .contact-links {
    display: grid;
    justify-items: start;
    gap: 14px;
  }

  .credential {
    justify-items: start;
    width: fit-content;
    padding: 0;
    margin-top: 42px;
    border: 0;
    text-align: left;
  }

  .credential img {
    width: 76px;
    height: 76px;
  }

  footer {
    gap: 22px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
