:root {
  --ink: #14201d;
  --ink-soft: #3d4b47;
  --forest: #173b32;
  --forest-deep: #0f2b25;
  --sage: #b8c9ba;
  --paper: #f6f4ee;
  --white: #fffefa;
  --copper: #9d4f30;
  --copper-light: #e59468;
  --line: rgba(20, 32, 29, 0.16);
  --serif: Georgia, "Times New Roman", serif;
  --sans: Arial, Helvetica, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: var(--sans); line-height: 1.65; }
a { color: inherit; text-underline-offset: 0.22em; }
button, select { font: inherit; }
.shell { width: min(1180px, calc(100% - 40px)); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; z-index: 1000; top: 12px; left: 12px; padding: 10px 16px; color: white; background: var(--forest-deep); border-radius: 6px; transform: translateY(-180%); }
.skip-link:focus { transform: none; }
:focus-visible { outline: 3px solid var(--copper-light); outline-offset: 3px; box-shadow: 0 0 0 6px var(--forest-deep); }

.site-header { position: absolute; inset: 0 0 auto; z-index: 10; border-bottom: 1px solid rgba(255,255,255,.18); color: white; }
.nav-shell { min-height: 82px; display: flex; align-items: center; gap: 42px; }
.brand { display: inline-flex; align-items: center; gap: 12px; margin-right: auto; color: inherit; text-decoration: none; font-weight: 700; letter-spacing: -.02em; }
.brand-mark { display: grid; place-items: center; width: 39px; aspect-ratio: 1; border: 1px solid rgba(255,255,255,.5); border-radius: 50%; font-family: var(--serif); }
.desktop-nav { display: flex; gap: 28px; font-size: .83rem; font-weight: 700; }
.desktop-nav a { color: rgba(255,255,255,.82); text-decoration: none; }
.desktop-nav a:hover { color: white; text-decoration: underline; }
.language-control select { min-height: 42px; padding: 0 34px 0 12px; color: white; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.34); border-radius: 999px; cursor: pointer; }
.language-control option { color: var(--ink); background: white; }

.hero { min-height: 780px; padding: 158px 0 88px; color: white; background: radial-gradient(circle at 82% 18%, rgba(184,201,186,.18), transparent 27%), var(--forest-deep); overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.08fr .72fr; gap: 88px; align-items: center; }
.eyebrow { margin: 0 0 24px; color: var(--copper); text-transform: uppercase; letter-spacing: .15em; font-size: .71rem; font-weight: 800; }
.hero .eyebrow { color: var(--copper-light); }
h1, h2, h3 { margin-top: 0; line-height: 1.05; }
h1, h2 { font-family: var(--serif); font-weight: 400; letter-spacing: -.045em; }
h1 { max-width: 820px; margin-bottom: 28px; font-size: clamp(3.5rem, 6.5vw, 6.4rem); }
h2 { max-width: 820px; margin-bottom: 24px; font-size: clamp(2.6rem, 5vw, 4.6rem); }
.hero-lead { max-width: 710px; margin: 0; color: rgba(255,255,255,.77); font-size: 1.19rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 13px; margin-top: 36px; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 23px; border: 1px solid transparent; border-radius: 999px; text-decoration: none; font-size: .86rem; font-weight: 800; transition: transform .2s ease, background .2s ease; }
.button:hover { transform: translateY(-2px); }
.button-primary { color: var(--forest-deep); background: var(--white); }
.button-secondary { color: white; border-color: rgba(255,255,255,.32); background: transparent; }
.hero-stats { display: flex; gap: 42px; margin: 60px 0 0; padding: 27px 0 0; border-top: 1px solid rgba(255,255,255,.2); }
.hero-stats div { display: grid; }
.hero-stats dt { font-family: var(--serif); font-size: 1.28rem; }
.hero-stats dd { margin: 0; color: rgba(255,255,255,.58); font-size: .72rem; }

.profile-card { position: relative; min-height: 505px; padding: 28px; border: 1px solid rgba(255,255,255,.22); background: rgba(255,255,255,.055); box-shadow: 0 34px 90px rgba(0,0,0,.22); }
.profile-card::before { content: ""; position: absolute; inset: 12px; pointer-events: none; border: 1px solid rgba(255,255,255,.08); }
.profile-topline { position: relative; display: flex; justify-content: space-between; color: rgba(255,255,255,.58); font-size: .65rem; letter-spacing: .16em; }
.profile-role { position: relative; display: flex; gap: 13px; align-items: flex-start; margin: 66px 0 48px; padding-bottom: 26px; border-bottom: 1px solid rgba(255,255,255,.15); }
.profile-role strong, .profile-role small { display: block; }
.profile-role strong { max-width: 290px; font-family: var(--serif); font-size: 1.45rem; font-weight: 400; line-height: 1.2; }
.profile-role small { margin-top: 9px; color: rgba(255,255,255,.56); }
.status-dot { flex: 0 0 auto; width: 9px; aspect-ratio: 1; margin-top: 8px; border-radius: 50%; background: #88c49e; box-shadow: 0 0 0 7px rgba(136,196,158,.1); }
.profile-pillars { position: relative; display: grid; gap: 0; margin: 0; padding: 0; list-style: none; }
.profile-pillars li { display: grid; grid-template-columns: 42px 1fr; padding: 13px 0; border-bottom: 1px solid rgba(255,255,255,.1); font-size: .84rem; }
.profile-pillars span { color: var(--copper-light); font-size: .69rem; }
.profile-signature { position: absolute; right: 27px; bottom: 18px; color: rgba(255,255,255,.1); font-family: var(--serif); font-style: italic; font-size: 2.1rem; transform: rotate(-6deg); }

.section { padding: 112px 0; }
.expertise { background: var(--paper); }
.section-intro { display: grid; grid-template-columns: 1.25fr .75fr; column-gap: 70px; align-items: end; margin-bottom: 58px; }
.section-intro .eyebrow { grid-column: 1 / -1; }
.section-intro h2 { margin: 0; }
.section-intro > p:last-child { margin: 0 0 8px; color: var(--ink-soft); font-size: 1.04rem; }
.expertise-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.expertise-card { min-height: 320px; padding: 32px 30px 34px 0; }
.expertise-card + .expertise-card { padding-left: 30px; border-left: 1px solid var(--line); }
.card-index { display: block; margin-bottom: 82px; color: var(--copper); font-size: .72rem; font-weight: 800; }
.expertise-card h3 { margin-bottom: 17px; font-family: var(--serif); font-size: 1.72rem; font-weight: 400; }
.expertise-card p { margin: 0; color: var(--ink-soft); font-size: .9rem; }
.stack-band { display: grid; grid-template-columns: .42fr 1.58fr; gap: 58px; align-items: start; padding-top: 54px; }
.stack-heading h3 { margin: 0 0 13px; font-family: var(--sans); font-size: .73rem; text-transform: uppercase; letter-spacing: .13em; }
.stack-heading p { margin: 0; color: var(--ink-soft); font-size: .82rem; }
.stack-groups { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 38px; }
.stack-group { padding-top: 18px; border-top: 1px solid var(--line); }
.stack-group h4 { margin: 0 0 16px; font-family: var(--serif); font-size: 1.25rem; font-weight: 400; }
.stack-group ul { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.stack-group li { padding: 6px 10px; color: var(--ink-soft); border: 1px solid var(--line); border-radius: 999px; font-size: .69rem; }

.experience { color: white; background: var(--forest-deep); }
.experience .eyebrow { color: var(--copper-light); }
.experience .section-intro > p:last-child { color: rgba(255,255,255,.63); }
.timeline { border-top: 1px solid rgba(255,255,255,.18); }
.timeline-item { display: grid; grid-template-columns: .25fr .72fr 1.03fr; gap: 38px; padding: 34px 0 36px; border-bottom: 1px solid rgba(255,255,255,.15); }
.timeline-date { display: flex; flex-direction: column; gap: 26px; color: rgba(255,255,255,.58); font-size: .75rem; }
.timeline-date span { color: var(--copper-light); font-weight: 800; }
.timeline-heading h3 { margin: 0 0 14px; font-family: var(--serif); font-size: 1.7rem; font-weight: 400; }
.timeline-heading p { margin: 0; color: rgba(255,255,255,.72); font-size: .84rem; }
.timeline-heading small { color: rgba(255,255,255,.58); }
.timeline-body { margin: 0; color: rgba(255,255,255,.66); font-size: .88rem; }

.speaking { padding: 112px 0; color: white; background: var(--copper); }
.speaking .eyebrow { color: white; }
.speaking-grid { display: grid; grid-template-columns: 1fr .72fr; gap: 90px; align-items: end; }
.speaking-grid h2 { max-width: 720px; }
.speaking-body { max-width: 680px; color: rgba(255,255,255,.88); font-size: 1.03rem; }
.button-light { margin-top: 24px; color: var(--forest-deep); background: white; }
.topic-list { margin: 0; padding: 0; border-top: 1px solid rgba(255,255,255,.28); list-style: none; }
.topic-list li { display: grid; grid-template-columns: 52px 1fr; align-items: center; min-height: 88px; border-bottom: 1px solid rgba(255,255,255,.28); font-family: var(--serif); font-size: 1.25rem; }
.topic-list span { font-family: var(--sans); color: white; font-size: .68rem; font-weight: 800; }

.education { background: var(--white); }
.education-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; }
.list-heading { padding-bottom: 18px; border-bottom: 2px solid var(--ink); font-family: var(--sans); font-size: .73rem; text-transform: uppercase; letter-spacing: .13em; }
.credential-list { margin: 0; padding: 0; list-style: none; }
.credential-list li { display: flex; justify-content: space-between; gap: 20px; padding: 19px 0; border-bottom: 1px solid var(--line); }
.credential-list strong, .credential-list span { display: block; }
.credential-list strong { font-family: var(--serif); font-size: 1.08rem; font-weight: 400; }
.credential-list span, .credential-list small { color: var(--ink-soft); font-size: .74rem; }
.credential-list small { flex: 0 0 auto; padding-top: 3px; color: var(--copper); }
.recognition-list li { min-height: 76px; }

.profile { background: var(--sage); }
.profile-grid { display: grid; grid-template-columns: .23fr 1fr .48fr; gap: 64px; align-items: start; }
.profile-grid .eyebrow { color: var(--forest-deep); }
.profile-grid h2 { margin: 0; }
.profile-body { max-width: 760px; margin: 28px 0 0; color: var(--ink-soft); font-family: var(--serif); font-size: 1.28rem; }
.profile-detail { padding-top: 15px; }
.profile-detail p { margin: 0 0 29px; font-size: .88rem; }
.profile-detail a { font-size: .82rem; font-weight: 800; }
.profile-detail a:hover { text-decoration-thickness: 2px; }

.contact { padding: 32px 0 112px; background: var(--sage); }
.contact-card { display: grid; grid-template-columns: 1fr .75fr; gap: 60px; align-items: end; padding: 64px; color: white; background: var(--forest-deep); box-shadow: 0 30px 80px rgba(15,43,37,.18); }
.contact-card h2 { max-width: 720px; margin-bottom: 18px; }
.contact-card > div:first-child > p:last-child { max-width: 620px; color: rgba(255,255,255,.65); }
.contact-links { display: grid; gap: 28px; justify-items: end; }
.contact-email { font-family: var(--serif); font-size: clamp(1.25rem, 2.5vw, 1.9rem); }
.contact-links > div { display: flex; gap: 28px; font-size: .8rem; font-weight: 800; }

.site-footer { padding: 48px 0; color: white; background: var(--forest-deep); border-top: 1px solid rgba(255,255,255,.14); }
.footer-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.footer-grid > div:last-child { text-align: right; }
.footer-grid p { margin: 6px 0 0; color: rgba(255,255,255,.52); font-size: .72rem; }

@media (max-width: 900px) {
  .nav-shell { flex-wrap: wrap; gap: 12px 24px; padding: 14px 0 12px; }
  .desktop-nav { order: 3; width: 100%; display: flex; gap: 22px; overflow-x: auto; padding: 5px 0 2px; scrollbar-width: thin; }
  .hero-grid, .section-intro { grid-template-columns: 1fr; }
  .hero-grid { gap: 58px; }
  .hero { min-height: auto; padding-top: 176px; }
  .section-intro > p:last-child { max-width: 680px; margin-top: 24px; }
  .speaking-grid, .profile-grid, .contact-card { grid-template-columns: 1fr; }
  .education-grid { gap: 42px; }
  .timeline-item { grid-template-columns: .28fr .72fr; }
  .timeline-body { grid-column: 2; }
  .profile-grid { gap: 24px; }
  .contact-links { justify-items: start; }
}

@media (max-width: 680px) {
  .shell { width: min(100% - 28px, 1180px); }
  .brand > span:last-child { display: none; }
  .nav-shell { min-height: 72px; }
  .hero { padding-top: 168px; }
  h1 { font-size: clamp(3rem, 15vw, 4.8rem); }
  .hero-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 23px; }
  .profile-card { min-height: 470px; }
  .section { padding: 82px 0; }
  .expertise-grid { grid-template-columns: 1fr; }
  .expertise-card, .expertise-card + .expertise-card { min-height: auto; padding: 28px 0 32px; border-left: 0; }
  .expertise-card + .expertise-card { border-top: 1px solid var(--line); }
  .card-index { margin-bottom: 38px; }
  .stack-band, .education-grid, .timeline-item, .footer-grid { grid-template-columns: 1fr; }
  .stack-band { gap: 18px; }
  .stack-groups { grid-template-columns: 1fr; gap: 24px; }
  .timeline-item { gap: 18px; }
  .timeline-date { flex-direction: row; justify-content: space-between; gap: 16px; }
  .timeline-body { grid-column: auto; }
  .speaking { padding: 82px 0; }
  .speaking-grid { gap: 54px; }
  .credential-list li { flex-direction: column; gap: 6px; }
  .profile-grid { gap: 16px; }
  .contact { padding-bottom: 82px; }
  .contact-card { padding: 38px 25px; }
  .contact-links > div { flex-wrap: wrap; }
  .footer-grid > div:last-child { text-align: left; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}

@media (forced-colors: active) {
  .button, .profile-card, .language-control select { border: 1px solid ButtonText; }
}
