:root {
  --paper: #f3f3f1;
  --surface: #ffffff;
  --surface-soft: #e9e9e6;
  --graphite: #1c1d1f;
  --graphite-2: #2d2f32;
  --text: #202124;
  --muted: #686b70;
  --muted-light: #9a9da2;
  --line: #d6d6d2;
  --line-dark: rgba(255,255,255,.16);
  --white: #ffffff;
  --max: 1240px;
  --gutter: 48px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--text);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

body.menu-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
button, a { -webkit-tap-highlight-color: transparent; }
img { display: block; max-width: 100%; }
ul { margin: 0; padding: 0; list-style: none; }

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 999;
  padding: 10px 14px;
  background: var(--graphite);
  color: var(--white);
  transform: translateY(-160%);
}
.skip-link:focus { transform: translateY(0); }

.container {
  width: min(var(--max), calc(100% - (var(--gutter) * 2)));
  margin-inline: auto;
}

.section { padding: 120px 0; }
.section-bordered { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  border-bottom: 1px solid transparent;
  transition: background-color .2s ease, border-color .2s ease;
}

.site-header.scrolled {
  background: rgba(243,243,241,.96);
  border-color: var(--line);
}

.header-content {
  min-height: 84px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 13px;
  min-width: 220px;
}

.brand-monogram {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  background: var(--graphite);
  color: var(--white);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .06em;
}

.brand-copy { display: grid; gap: 1px; }
.brand-copy strong { font-size: 13px; letter-spacing: .01em; }
.brand-copy small { color: var(--muted); font-size: 10px; text-transform: uppercase; letter-spacing: .13em; }

.main-nav {
  display: flex;
  align-items: center;
  gap: 34px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
}

.main-nav a {
  position: relative;
  padding: 8px 0;
  color: #4d5054;
}

.main-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 4px;
  width: 0;
  height: 1px;
  background: var(--graphite);
  transition: width .2s ease;
}
.main-nav a:hover::after, .main-nav a:focus-visible::after { width: 100%; }

.menu-toggle { display: none; }

.hero {
  min-height: 100vh;
  padding: 140px 0 72px;
  display: flex;
  align-items: center;
}

.hero-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.07fr) minmax(360px, .93fr);
  gap: 92px;
  align-items: center;
}

.section-kicker {
  margin: 0 0 24px;
  color: #777a7f;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
}

.hero h1 {
  margin: 0;
  color: var(--graphite);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(72px, 8.5vw, 132px);
  font-weight: 400;
  line-height: .82;
  letter-spacing: -.07em;
}
.hero h1 span { color: #8a8d91; }

.hero-title-row {
  margin: 34px 0 26px;
  display: flex;
  align-items: center;
  gap: 14px;
  color: #3c3f43;
  font-size: 15px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
}
.hero-title-row p { margin: 0; }
.hero-title-row span { color: #a8aaad; font-weight: 400; }

.hero-summary {
  max-width: 700px;
  margin: 0;
  color: #5e6166;
  font-size: 17px;
  line-height: 1.75;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 28px;
  margin-top: 38px;
}

.button {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .07em;
}
.button-dark {
  padding: 0 22px;
  background: var(--graphite);
  color: var(--white);
  border: 1px solid var(--graphite);
  transition: background-color .2s ease, color .2s ease;
}
.button-dark:hover { background: transparent; color: var(--graphite); }
.button-link { border-bottom: 1px solid #a4a6a9; min-height: 38px; }
.button-link span { font-size: 16px; font-weight: 400; }

.hero-photo-wrap { width: 100%; max-width: 510px; justify-self: end; }
.hero-photo {
  position: relative;
  margin: 0;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: #d4d4d1;
  border: 1px solid #cbcbc7;
}
.hero-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.photo-fallback {
  display: none;
  position: absolute;
  inset: 0;
  place-items: center;
  align-content: center;
  gap: 18px;
  text-align: center;
  background: #dededb;
  color: #6a6d71;
}
.photo-fallback strong {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 92px;
  font-weight: 400;
  letter-spacing: -.07em;
}
.photo-fallback span { font-size: 11px; text-transform: uppercase; letter-spacing: .1em; line-height: 1.6; }

.photo-caption {
  display: grid;
  grid-template-columns: 54px 1fr;
  gap: 18px;
  align-items: start;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  margin-top: 16px;
}
.photo-caption span { color: #9b9da1; font-size: 10px; letter-spacing: .12em; }
.photo-caption p { margin: 0; font-size: 12px; color: #5d6064; line-height: 1.45; }

.profile-grid {
  display: grid;
  grid-template-columns: 160px minmax(0, 1fr) 260px;
  gap: 64px;
  align-items: start;
}

.section-index {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding-top: 9px;
  color: #76797d;
}
.section-index span { font-size: 10px; letter-spacing: .12em; }
.section-index p { margin: 0; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; }

.profile-main h2,
.section-header h2,
.skills-intro h2,
.contact-main h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
  letter-spacing: -.045em;
  line-height: 1.08;
}

.profile-main h2 { max-width: 850px; font-size: clamp(38px, 4.5vw, 64px); }
.profile-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 38px;
  margin-top: 52px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}
.profile-columns p { margin: 0; color: var(--muted); font-size: 15px; line-height: 1.8; }

.profile-aside { padding-top: 10px; }
.aside-label {
  display: block;
  margin-bottom: 20px;
  color: #8a8d91;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .16em;
}
.profile-aside ul { border-top: 1px solid var(--line); }
.profile-aside li { padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 12px; font-weight: 700; color: #4c4f53; }

.section-header {
  display: grid;
  grid-template-columns: 160px minmax(0, 1fr);
  gap: 64px;
  align-items: start;
  margin-bottom: 72px;
}
.section-header > div:last-child { max-width: 930px; }
.section-header h2 { font-size: clamp(42px, 5vw, 70px); }

.experience-list { border-top: 1px solid var(--line); }
.experience-row {
  display: grid;
  grid-template-columns: 78px 310px minmax(0, 1fr);
  gap: 40px;
  padding: 48px 0 54px;
  border-bottom: 1px solid var(--line);
}
.experience-number { color: #9a9ca0; font-size: 10px; letter-spacing: .12em; padding-top: 8px; }
.experience-role span {
  color: #898c91;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .14em;
}
.experience-role h3 {
  margin: 12px 0 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 34px;
  font-weight: 400;
  letter-spacing: -.035em;
}
.experience-description p { margin: 0; color: var(--muted); font-size: 15px; line-height: 1.8; }
.compact-list { margin-top: 26px; display: grid; grid-template-columns: 1fr 1fr; gap: 0 30px; border-top: 1px solid var(--line); }
.compact-list li { position: relative; padding: 12px 0 12px 16px; border-bottom: 1px solid var(--line); color: #4b4e52; font-size: 12px; }
.compact-list li::before { content: ""; position: absolute; left: 0; top: 19px; width: 5px; height: 5px; background: #8b8e92; }

.credential-table { border-top: 2px solid var(--graphite); }
.credential-head,
.credential-row {
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr) 250px;
  gap: 32px;
}
.credential-head {
  padding: 14px 0;
  border-bottom: 1px solid var(--graphite);
  color: #76797d;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.credential-row { padding: 34px 0; border-bottom: 1px solid var(--line); align-items: start; }
.credential-area { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: #55585d; }
.credential-row h3 { margin: 0 0 8px; font-size: 21px; letter-spacing: -.025em; }
.credential-row p { margin: 0; max-width: 700px; color: var(--muted); font-size: 13px; line-height: 1.7; }
.credential-meta { color: #8a8d91; font-size: 11px; line-height: 1.6; }
.education-note { margin: 20px 0 0 auto; max-width: 650px; color: #85888c; font-size: 11px; text-align: right; }

.section-dark { background: var(--graphite); color: var(--white); }
.skills-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 100px; align-items: start; }
.section-index-light { color: #9b9ea3; margin-bottom: 74px; }
.section-kicker-light { color: #9a9da2; }
.skills-intro h2 { max-width: 620px; font-size: clamp(42px, 5vw, 70px); }
.skills-intro > p:last-child { max-width: 560px; margin: 30px 0 0; color: #aaadb1; font-size: 14px; line-height: 1.8; }
.skills-columns { border-top: 1px solid var(--line-dark); }
.skill-group {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 30px;
  padding: 34px 0;
  border-bottom: 1px solid var(--line-dark);
}
.skill-group > span { color: #888c91; font-size: 9px; font-weight: 700; letter-spacing: .15em; }
.skill-group ul { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 28px; }
.skill-group li { color: #e3e3e1; font-size: 14px; }

.contact-layout {
  display: grid;
  grid-template-columns: 160px minmax(0, 1fr);
  gap: 64px;
}
.contact-main { max-width: 930px; }
.contact-main h2 { font-size: clamp(44px, 5vw, 72px); }
.contact-copy { margin: 24px 0 0; color: var(--muted); font-size: 13px; }
.contact-list { margin-top: 56px; border-top: 2px solid var(--graphite); }
.contact-list a {
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr) 30px;
  gap: 30px;
  align-items: center;
  min-height: 76px;
  border-bottom: 1px solid var(--line);
  transition: padding .2s ease;
}
.contact-list a:hover { padding-left: 10px; }
.contact-list span { color: #8a8d91; font-size: 10px; text-transform: uppercase; letter-spacing: .12em; }
.contact-list strong { font-size: 14px; font-weight: 700; }
.contact-list b { font-size: 18px; font-weight: 400; text-align: right; }

.site-footer { padding: 0 0 32px; }
.footer-grid {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 40px;
  align-items: end;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  color: #7b7e82;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: .09em;
}
.footer-grid > div { display: grid; gap: 3px; }
.footer-grid strong { color: var(--graphite); font-size: 12px; letter-spacing: .02em; text-transform: none; }
.footer-grid span { text-transform: none; letter-spacing: 0; }
.footer-grid p { margin: 0; }

.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity .5s ease, transform .5s ease;
}
.reveal.is-visible { opacity: 1; transform: none; }
.reveal-delay { transition-delay: .08s; }

@media (max-width: 1080px) {
  :root { --gutter: 34px; }
  .hero-layout { gap: 54px; grid-template-columns: 1.05fr .95fr; }
  .profile-grid { grid-template-columns: 120px 1fr; gap: 44px; }
  .profile-aside { grid-column: 2; display: grid; grid-template-columns: 180px 1fr; gap: 30px; padding-top: 30px; border-top: 1px solid var(--line); }
  .profile-aside ul { display: grid; grid-template-columns: 1fr 1fr; border-top: 0; }
  .profile-aside li { margin-right: 20px; }
  .section-header, .contact-layout { grid-template-columns: 120px 1fr; gap: 44px; }
  .experience-row { grid-template-columns: 52px 250px 1fr; gap: 28px; }
  .skills-grid { gap: 60px; }
}

@media (max-width: 820px) {
  :root { --gutter: 24px; }
  .section { padding: 88px 0; }
  .header-content { min-height: 72px; }
  .brand { min-width: 0; }
  .brand-copy small { display: none; }
  .menu-toggle {
    width: 44px;
    height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 7px;
    border: 1px solid var(--line);
    background: transparent;
  }
  .menu-toggle span { width: 18px; height: 1px; background: var(--graphite); transition: transform .2s ease; }
  .menu-toggle[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }
  .main-nav {
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    height: calc(100vh - 72px);
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 0;
    padding: 26px var(--gutter);
    background: var(--paper);
    border-top: 1px solid var(--line);
    opacity: 0;
    transform: translateY(-10px);
    pointer-events: none;
    transition: opacity .2s ease, transform .2s ease;
  }
  .main-nav.open { opacity: 1; transform: none; pointer-events: auto; }
  .main-nav a { padding: 19px 0; border-bottom: 1px solid var(--line); font-family: Georgia, "Times New Roman", serif; font-size: 30px; font-weight: 400; letter-spacing: -.02em; text-transform: none; }
  .main-nav a::after { display: none; }
  .hero { min-height: auto; padding: 126px 0 72px; }
  .hero-layout { grid-template-columns: 1fr; gap: 58px; }
  .hero-content { max-width: 720px; }
  .hero h1 { font-size: clamp(70px, 17vw, 116px); }
  .hero-photo-wrap { max-width: 580px; justify-self: start; }
  .profile-grid, .section-header, .contact-layout { grid-template-columns: 1fr; gap: 36px; }
  .profile-main h2, .section-header h2 { max-width: 760px; }
  .profile-aside { grid-column: auto; }
  .section-header { margin-bottom: 54px; }
  .section-header .section-index { padding-bottom: 20px; border-bottom: 1px solid var(--line); }
  .experience-row { grid-template-columns: 44px 1fr; }
  .experience-description { grid-column: 2; }
  .credential-head, .credential-row { grid-template-columns: 140px 1fr; }
  .credential-head span:last-child { display: none; }
  .credential-meta { grid-column: 2; }
  .skills-grid { grid-template-columns: 1fr; gap: 64px; }
  .section-index-light { margin-bottom: 48px; }
}

@media (max-width: 560px) {
  :root { --gutter: 16px; }
  .section { padding: 72px 0; }
  .brand-copy strong { font-size: 12px; }
  .brand-monogram { width: 38px; height: 38px; }
  .hero { padding-top: 112px; }
  .hero h1 { font-size: clamp(64px, 20vw, 92px); }
  .hero-title-row { flex-wrap: wrap; gap: 8px 10px; font-size: 12px; }
  .hero-summary { font-size: 15px; }
  .hero-actions { align-items: flex-start; flex-direction: column; gap: 18px; }
  .button-dark { width: 100%; }
  .profile-columns { grid-template-columns: 1fr; gap: 24px; margin-top: 38px; }
  .profile-aside { display: block; }
  .profile-aside ul { grid-template-columns: 1fr; }
  .section-header h2, .profile-main h2, .skills-intro h2, .contact-main h2 { font-size: 40px; }
  .experience-row { grid-template-columns: 32px 1fr; gap: 16px; padding: 38px 0; }
  .experience-role h3 { font-size: 29px; }
  .compact-list { grid-template-columns: 1fr; }
  .credential-head { display: none; }
  .credential-table { border-top: 2px solid var(--graphite); }
  .credential-row { grid-template-columns: 1fr; gap: 12px; padding: 28px 0; }
  .credential-meta { grid-column: auto; }
  .education-note { text-align: left; }
  .skill-group { grid-template-columns: 1fr; gap: 18px; }
  .skill-group ul { grid-template-columns: 1fr; }
  .contact-list a { grid-template-columns: 84px minmax(0, 1fr) 22px; gap: 12px; }
  .contact-list strong { font-size: 12px; overflow-wrap: anywhere; }
  .footer-grid { grid-template-columns: 1fr; gap: 14px; align-items: start; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    scroll-behavior: auto !important;
    transition-duration: .001ms !important;
    animation-duration: .001ms !important;
  }
  .reveal { opacity: 1; transform: none; }
}
