:root {
  --ink: #050607;
  --panel: #0b0d0f;
  --panel-2: #101316;
  --silver: #e7ebee;
  --muted: #8c949b;
  --line: rgba(219, 225, 230, 0.16);
  --shine: #cfd5d9;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background:
    radial-gradient(circle at 78% 8%, rgba(186, 197, 204, 0.08), transparent 24rem),
    var(--ink);
  color: var(--silver);
  font-family: Arial, Helvetica, sans-serif;
}

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

::selection { background: #d9dfe2; color: #090a0b; }

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: 82px;
  padding: 0 max(24px, calc((100vw - 1180px) / 2));
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
  background: rgba(5, 6, 7, 0.83);
  backdrop-filter: blur(18px);
}

.brand { display: flex; align-items: center; gap: 12px; font-size: 14px; font-weight: 700; letter-spacing: .04em; }
.brand-mark {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 1px solid rgba(255,255,255,.35);
  border-radius: 50%;
  font-size: 11px;
  background: linear-gradient(135deg, #f1f4f5 0%, #717a81 48%, #171a1d 51%, #d3d8db 100%);
  color: #0a0b0c;
  box-shadow: inset 0 0 0 4px #0b0d0f;
}

.nav { display: flex; gap: 34px; align-items: center; }
.nav a {
  position: relative;
  padding: 31px 0 29px;
  color: var(--muted);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .14em;
  transition: color .25s ease;
}
.nav a:hover, .nav a.active { color: #fff; }
.nav a.active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 2px;
  background: linear-gradient(90deg, transparent, #e3e7e9, transparent);
}
.menu-button { display: none; }

.hero {
  min-height: calc(100vh - 82px);
  display: grid;
   grid-template-columns: 1fr;
}

.hero-copy {
  max-width: 760px;
  align-items: center;
  gap: 70px;
  padding-block: 80px;
}

.eyebrow, .section-number, .mini-label {
  color: #aeb5ba;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .2em;
}
.eyebrow { display: flex; align-items: center; gap: 12px; margin-bottom: 24px; }
.eyebrow > span { width: 28px; height: 1px; background: #bfc6ca; }
.hero h1 {
  max-width: 680px;
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(65px, 8vw, 112px);
  font-weight: 400;
  letter-spacing: -.065em;
  line-height: .85;
}
.hero h1 span, .section-heading h2 span, .contact-section h2 span {
  color: transparent;
  background: linear-gradient(115deg, #fff, #858d93 55%, #e7ebee);
  background-clip: text;
  -webkit-background-clip: text;
}
.hero-role {
  margin: 28px 0 0;
  color: #bcc2c6;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.hero-role i { padding: 0 8px; color: #565d62; }
.hero-summary { max-width: 570px; margin: 28px 0 34px; color: var(--muted); font-size: 18px; line-height: 1.7; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.button {
  min-height: 52px;
  padding: 0 23px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
  border: 1px solid var(--line);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .11em;
  transition: transform .2s ease, background .2s ease;
}
.button:hover { transform: translateY(-2px); }
.button.primary { color: #070809; background: linear-gradient(120deg, #f3f5f6, #aab1b5); border-color: transparent; }
.button.secondary:hover { background: #121518; }
.availability { display: flex; align-items: center; gap: 10px; margin-top: 38px; color: #767f85; font-size: 12px; }
.status-dot { width: 7px; height: 7px; border-radius: 50%; background: #8fae98; box-shadow: 0 0 12px #7fa28b; }

.portrait-wrap { position: relative; min-height: 540px; display: grid; place-items: center; }
.portrait {
  position: relative;
  z-index: 2;
  width: min(390px, 78vw);
  aspect-ratio: .78;
  display: grid;
  place-items: center;
  overflow: hidden;
  border-radius: 48% 48% 12px 12px;
  border: 1px solid rgba(255,255,255,.21);
  background:
    linear-gradient(145deg, transparent 0 46%, rgba(255,255,255,.06)),
    radial-gradient(circle at 50% 38%, #363c41, #131619 52%, #070809 72%);
  box-shadow: 0 35px 80px rgba(0,0,0,.65), inset 0 0 70px rgba(255,255,255,.04);
}
.portrait::before {
  content: "";
  position: absolute;
  inset: 22px;
  border: 1px dashed rgba(255,255,255,.16);
  border-radius: inherit;
}
.portrait strong {
  font-family: Georgia, serif;
  font-size: 120px;
  font-weight: 400;
  color: transparent;
  background: linear-gradient(145deg, #f1f3f4, #535b60);
  background-clip: text;
  -webkit-background-clip: text;
}
.portrait-label { position: absolute; bottom: 42px; color: #7c858b; font-size: 10px; text-align: center; text-transform: uppercase; letter-spacing: .16em; line-height: 1.6; }
.orbit { position: absolute; border: 1px solid rgba(255,255,255,.08); border-radius: 50%; }
.orbit-one { width: 480px; height: 480px; }
.orbit-two { width: 580px; height: 580px; border-style: dashed; opacity: .5; }
.experience-badge {
  position: absolute;
  z-index: 3;
  right: -2px;
  bottom: 52px;
  width: 138px;
  height: 82px;
  padding: 15px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  border: 1px solid rgba(255,255,255,.2);
  background: rgba(11,13,15,.88);
  backdrop-filter: blur(12px);
}
.experience-badge strong { font-family: Georgia, serif; font-size: 34px; font-weight: 400; }
.experience-badge span { color: var(--muted); font-size: 10px; text-transform: uppercase; letter-spacing: .12em; line-height: 1.5; }

.trust-strip {
  overflow: hidden;
  padding: 25px;
  display: flex;
  justify-content: center;
  gap: clamp(20px, 4vw, 65px);
  border-block: 1px solid var(--line);
  color: #899197;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .15em;
  white-space: nowrap;
}
.trust-strip i { color: #41484d; font-size: 7px; }

.content-section { padding-block: 125px; border-bottom: 1px solid var(--line); scroll-margin-top: 80px; }
.section-heading { margin-bottom: 60px; }
.section-number { margin: 0 0 22px; }
.section-heading h2, .contact-section h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(42px, 5vw, 72px);
  font-weight: 400;
  letter-spacing: -.045em;
  line-height: 1.03;
}
.about-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: 100px; align-items: start; }
.about-copy p { margin: 0 0 24px; color: #a4abb0; font-size: 19px; line-height: 1.75; }
.about-copy p:first-child::first-letter { float: left; margin: 5px 10px 0 0; font-family: Georgia, serif; font-size: 54px; color: #ecf0f2; line-height: .8; }
.principles-card { padding: 32px; border: 1px solid var(--line); background: linear-gradient(145deg, rgba(255,255,255,.035), transparent); }
.principles-card > p { margin: 0 0 24px; color: #747d83; font-size: 10px; text-transform: uppercase; letter-spacing: .17em; }
.principles-card ul { margin: 0; padding: 0; list-style: none; }
.principles-card li { padding: 16px 0; border-top: 1px solid var(--line); font-size: 14px; }
.principles-card li span { display: inline-block; width: 42px; color: #666e74; font-size: 10px; }

.split-heading { display: flex; justify-content: space-between; align-items: end; gap: 40px; }
.heading-note { max-width: 390px; margin: 0 0 5px; color: var(--muted); font-size: 14px; line-height: 1.7; }
.timeline { border-top: 1px solid var(--line); }
.job { display: grid; grid-template-columns: 72px 1fr; border-bottom: 1px solid var(--line); }
.job-index { padding-top: 33px; color: #535b61; font-size: 11px; letter-spacing: .1em; }
.job-main { padding: 30px 0; display: grid; grid-template-columns: 1.1fr .75fr 1.65fr; gap: 36px; align-items: start; }
.job-title { display: flex; gap: 12px; align-items: start; }
.job h3 { margin: 0 0 7px; font-family: Georgia, serif; font-size: 25px; font-weight: 400; }
.project-link {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  transition: color .2s ease;
}
.project-link span {
  color: #6d767c;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 13px;
  transition: transform .2s ease, color .2s ease;
}
.project-link:hover { color: #fff; }
.project-link:hover span { color: #d9dfe2; transform: translate(2px, -2px); }
.project-link:focus-visible { outline: 1px solid #cbd1d5; outline-offset: 5px; }
.job-title p, .job-meta span { margin: 0; color: #697177; font-size: 11px; }
.current-pill { padding: 5px 8px; border: 1px solid #40564a; border-radius: 30px; color: #9cb9a4; font-size: 8px; text-transform: uppercase; letter-spacing: .1em; }
.job-meta { display: flex; flex-direction: column; gap: 9px; }
.job-meta strong { color: #c5cace; font-size: 12px; text-transform: uppercase; letter-spacing: .1em; }
.job-text { margin: 0; color: #8e969c; font-size: 13px; line-height: 1.7; }

.education-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 90px; }
.education-card { padding: 38px; border: 1px solid var(--line); background: var(--panel); }
.education-top { display: flex; justify-content: space-between; color: #9da5aa; font-size: 11px; text-transform: uppercase; letter-spacing: .14em; }
.education-card h3 { margin: 65px 0 12px; font-family: Georgia, serif; font-size: 36px; font-weight: 400; }
.education-period { color: #788187 !important; font-size: 11px !important; text-transform: uppercase; letter-spacing: .1em; }
.education-card > p:last-child { margin: 30px 0 0; color: #979fa4; font-size: 14px; line-height: 1.7; }
.skills-block .mini-label { margin: 0 0 18px; }
.skill-list { border-top: 1px solid var(--line); }
.skill-list div { padding: 17px 0; border-bottom: 1px solid var(--line); color: #bdc3c6; font-size: 14px; }
.skill-list span { display: inline-block; width: 55px; color: #50585e; font-size: 10px; }

.achievement-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.achievement-grid article { position: relative; min-height: 330px; padding: 38px; border: 1px solid var(--line); background: linear-gradient(145deg, #101316, #090b0c); }
.achievement-icon { position: absolute; right: 34px; top: 30px; font-family: Georgia, serif; font-size: 32px; color: #6f787e; }
.achievement-grid h3 { max-width: 460px; margin: 94px 0 18px; font-family: Georgia, serif; font-size: 27px; font-weight: 400; line-height: 1.2; }
.achievement-grid article > p:last-child { max-width: 470px; margin: 0; color: var(--muted); font-size: 13px; line-height: 1.7; }

.contact-section { padding-block: 125px; scroll-margin-top: 80px; }
.contact-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 100px; align-items: start; }
.contact-grid > div:first-child > p { max-width: 520px; margin: 28px 0 0; color: var(--muted); font-size: 15px; line-height: 1.7; }
.contact-links { border-top: 1px solid var(--line); }
.contact-links a, .contact-links > div {
  position: relative;
  padding: 23px 35px 23px 0;
  display: flex;
  flex-direction: column;
  gap: 7px;
  border-bottom: 1px solid var(--line);
}
.contact-links span { color: #626b71; font-size: 9px; text-transform: uppercase; letter-spacing: .17em; }
.contact-links strong { font-size: 14px; font-weight: 500; }
.contact-links i { position: absolute; right: 3px; top: 29px; font-style: normal; color: #778087; }
.contact-links a:hover strong { color: #fff; }

footer {
  min-height: 110px;
  padding: 0 max(24px, calc((100vw - 1180px) / 2));
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--line);
  color: #697177;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .11em;
}
footer .brand { color: #cdd2d5; text-transform: none; letter-spacing: .04em; }
footer > a:last-child:hover { color: #fff; }

@media (max-width: 900px) {
  .site-header { height: 72px; }
  .menu-button { display: flex; width: 38px; height: 38px; padding: 10px 8px; flex-direction: column; justify-content: center; gap: 7px; border: 0; background: transparent; }
  .menu-button span { width: 22px; height: 1px; background: #d8dde0; }
  .nav { position: absolute; inset: 72px 0 auto; padding: 10px 24px 25px; display: none; flex-direction: column; align-items: stretch; gap: 0; background: rgba(5,6,7,.97); border-bottom: 1px solid var(--line); }
  .nav.open { display: flex; }
  .nav a { padding: 16px 0; border-bottom: 1px solid var(--line); }
  .nav a.active::after { display: none; }
  .hero { min-height: auto; grid-template-columns: 1fr; padding-top: 80px; }
  .hero-copy { text-align: center; }
  .eyebrow, .hero-actions, .availability { justify-content: center; }
  .hero h1, .hero-summary { margin-inline: auto; }
  .portrait-wrap { min-height: 520px; }
  .about-grid, .education-grid, .contact-grid { grid-template-columns: 1fr; gap: 50px; }
  .job-main { grid-template-columns: 1fr 1fr; }
  .job-text { grid-column: 1 / -1; }
  .split-heading { align-items: start; flex-direction: column; }
}

@media (max-width: 620px) {
  .section-shell { width: min(100% - 32px, 1180px); }
  .hero { gap: 25px; padding-block: 70px 50px; }
  .hero h1 { font-size: 60px; }
  .hero-summary { font-size: 16px; }
  .hero-actions .button { width: 100%; }
  .portrait-wrap { min-height: 430px; }
  .portrait { width: 270px; }
  .portrait strong { font-size: 82px; }
  .orbit-one { width: 330px; height: 330px; }
  .orbit-two { width: 390px; height: 390px; }
  .experience-badge { right: 2px; bottom: 40px; }
  .trust-strip { justify-content: flex-start; overflow-x: hidden; }
  .content-section, .contact-section { padding-block: 85px; }
  .section-heading { margin-bottom: 42px; }
  .section-heading h2, .contact-section h2 { font-size: 43px; }
  .job { grid-template-columns: 38px 1fr; }
  .job-main { grid-template-columns: 1fr; gap: 18px; }
  .job-text { grid-column: auto; }
  .achievement-grid { grid-template-columns: 1fr; }
  .achievement-grid article { min-height: 300px; padding: 28px; }
  .education-card { padding: 28px; }
  .education-card h3 { margin-top: 48px; font-size: 31px; }
  footer { min-height: 150px; padding-block: 30px; flex-direction: column; justify-content: center; gap: 20px; text-align: center; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
  .portrait img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}
}
