@font-face { font-family: Inter; src: url('/assets/fonts/InterVariable.woff2') format('woff2'); font-weight: 100 900; font-display: swap; }
@font-face { font-family: D-DIN; src: url('/assets/fonts/d-din/D-DIN-Bold.woff') format('woff'); font-weight: 700; font-display: swap; }
@font-face { font-family: D-DIN; src: url('/assets/fonts/d-din/D-DIN.woff') format('woff'); font-weight: 400; font-display: swap; }
:root { --paper: #f2f8f5; --ink: #263d37; --muted: #576f66; --line: #cfdfd7; --accent: #176f60; --seafoam: #a3dacd; }
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 140px; }
body { margin: 0; color: var(--ink); background: var(--paper); font: 16px/1.65 Inter, sans-serif; -webkit-font-smoothing: antialiased; }
::selection { background: var(--seafoam); color: var(--ink); }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--accent); }
a:focus-visible, button:focus-visible, summary:focus-visible { outline: 2px solid var(--accent); outline-offset: 5px; }
h1,h2,h3,p { margin: 0; }
h1,h2,h3 { font-weight: 500; letter-spacing: -.035em; }
.wrap { width: min(1160px, calc(100% - 80px)); margin-inline: auto; }
.site-header { position: sticky; top: 0; z-index: 5; display: grid; grid-template-columns: 1fr minmax(380px, .9fr); align-items: center; gap: 48px; min-height: 112px; padding: 24px 40px; background: var(--paper); border-bottom: 1px solid #b6d2c6; font-family: D-DIN, sans-serif; }
.wordmark { font-size: 25px; line-height: 1.2; font-weight: 700; letter-spacing: .065em; text-transform: uppercase; }
.site-header nav { display: grid; grid-template-columns: repeat(3, 1fr); font-size: 15px; color: var(--muted); }
.site-header nav a { display: grid; place-items: center; position: relative; padding: 8px; min-height: 44px; text-transform: uppercase; letter-spacing: .13em; }
.site-header nav a + a::before { content: ''; position: absolute; left: 0; top: 14px; bottom: 14px; width: 1px; background: #b6d2c6; }
.site-header nav a[aria-current] { color: var(--accent); font-weight: 700; }
.profile-layout { display: grid; grid-template-columns: minmax(260px,.85fr) minmax(0,1.15fr); gap: clamp(50px,7vw,100px); padding-top: 40px; }
.portrait { position: sticky; top: 152px; align-self: start; }
.portrait picture { display: block; position: relative; aspect-ratio: 1; overflow: hidden; border-bottom: 6px solid var(--seafoam); }
.portrait img { display: block; position: absolute; width: 159%; height: auto; max-width: none; left: -59%; top: -62%; }
.portrait-caption { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 16px; color: var(--muted); font-size: 13px; }
.portrait-caption a { color: var(--accent); }
.portrait-note { border-top: 1px solid var(--line); padding-top: 24px; margin-top: 26px; color: var(--muted); font-size: 15px; line-height: 1.8; }
.intro { padding: 7px 0 48px; }
.eyebrow { text-transform: uppercase; letter-spacing: .13em; font-size: 11px; color: var(--muted); margin-bottom: 17px; }
h1 { font-size: clamp(32px,3.4vw,46px); line-height: 1.14; }
h1 span { color: var(--accent); background: linear-gradient(transparent 69%, #c2e8dc 69%); }
.intro-detail { margin-top: 24px; font-size: 19px; line-height: 1.55; }
.intro-bio { margin-top: 18px; color: var(--muted); font-size: 15px; line-height: 1.8; }
.text-link { display: inline-block; color: var(--accent); min-height: 44px; padding-block: 9px; font-size: 14px; }
.text-link:hover { text-decoration: underline; text-underline-offset: 4px; }
.intro .text-link { margin-top: 16px; }
.experience { border-top: 1px solid var(--line); padding-top: 26px; }
.section-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 20px; margin-bottom: 20px; }
h2 { font-size: 24px; line-height: 1.3; }
.section-heading > span { color: var(--muted); font-size: 12px; }
.career-list { margin: 0; padding: 0; list-style: none; }
.career-item { position: relative; display: grid; grid-template-columns: 88px minmax(0,1fr); padding-block: 24px; }
.career-item::before { content: ''; position: absolute; left: 4px; top: 0; bottom: 0; width: 1px; background: var(--line); }
.career-item:first-child::before { top: 36px; }
.career-item:last-child::before { bottom: calc(100% - 36px); }
.career-year { position: relative; padding-left: 24px; font-size: 14px; color: var(--muted); font-variant-numeric: tabular-nums; }
.career-year small { display: block; font-size: 10px; }
.timeline-dot { position: absolute; top: 8px; left: 0; width: 9px; height: 9px; border-radius: 50%; background: var(--paper); border: 1px solid #84b6a4; }
.career-item:first-child .timeline-dot { background: var(--accent); border-color: var(--accent); box-shadow: 0 0 0 4px #d9eee5; }
.career-item:first-child h3, .career-item:first-child .career-year { color: var(--accent); }
.career-content { min-width: 0; }
.career-item + .career-item .career-content::before { content: ''; position: absolute; top: 0; left: 88px; right: 0; height: 1px; background: var(--line); }
h3 { font-size: 20px; line-height: 1.4; }
.career-role { font-size: 14px; margin-top: 3px; }
.career-description { color: var(--muted); font-size: 14px; line-height: 1.75; margin-top: 8px; }
details { margin-top: 8px; }
summary { width: fit-content; list-style: none; cursor: pointer; padding-block: 8px; font-size: 12px; color: var(--accent); }
summary::-webkit-details-marker { display: none; }
summary span { display: inline-block; margin-left: 8px; transition: transform .2s; }
details[open] summary span { transform: rotate(45deg); }
.role-list { list-style: none; padding: 0; margin: 6px 0 0; }
.role-list li { margin-bottom: 12px; font-size: 13px; }
.role-list small { display: block; color: var(--muted); margin-top: 2px; }
.education { padding-block: 34px 42px; border-top: 1px solid var(--line); margin-top: 16px; }
.education-item { margin-top: 24px; }
.education-item h3 { font-size: 17px; }
.education-item p { color: var(--muted); font-size: 13px; margin-top: 5px; }
.education-item span { color: var(--accent); font-size: 12px; }
.contact { padding: 35px 28px 24px; margin: 0 -28px; background: #deefe7; border-top: 3px solid var(--seafoam); }
.contact h2 { font-size: 36px; margin-bottom: 26px; }
.email-actions { display: flex; flex-wrap: wrap; gap: 12px 20px; align-items: center; }
.email-link { font-size: clamp(17px,1.8vw,23px); letter-spacing: -.025em; color: var(--accent); border-bottom: 1px solid #84b6a4; overflow-wrap: anywhere; }
.copy-email { min-height: 44px; border: 1px solid #7fae9d; border-radius: 5px; padding: 8px 14px; background: transparent; font: inherit; font-size: 12px; color: var(--accent); cursor: pointer; }
.copy-email:hover { background: #c8e4d7; }
.copy-email:disabled { opacity: .6; cursor: wait; }
.copy-status { min-height: 1.5em; color: var(--muted); margin-top: 8px; font-size: 12px; }
footer { display: flex; justify-content: space-between; gap: 20px; color: var(--muted); font-size: 11px; padding-block: 30px 35px; }
footer a { padding-block: 4px; }
.skip-link { position: fixed; z-index: 10; left: 20px; top: -100px; background: var(--ink); color: white; padding: 12px; }
.skip-link:focus { top: 12px; color: white; }
.not-found { padding-block: 80px; }
.not-found h1 { margin-bottom: 24px; }
@media (max-width: 900px) {
  .site-header { grid-template-columns: 1fr; gap: 12px; padding: 22px 30px 12px; }
  .site-header nav { width: 100%; }
  html { scroll-padding-top: 155px; }
  .wrap { width: calc(100% - 60px); }
  .profile-layout { grid-template-columns: minmax(220px,.8fr) minmax(0,1.2fr); gap: 40px; padding-top: 30px; }
  .portrait { top: 150px; }
  .portrait-caption { flex-wrap: wrap; }
  .contact { margin-inline: 0; padding-inline: 22px; }
}
@media (max-width: 680px) {
  html { scroll-padding-top: 148px; }
  .wrap { width: calc(100% - 40px); }
  .site-header { padding-inline: 20px; }
  .wordmark { font-size: 22px; }
  .site-header nav { font-size: 13px; }
  .site-header nav a { padding-inline: 4px; letter-spacing: .1em; }
  .profile-layout { grid-template-columns: 1fr; gap: 28px; padding-top: 24px; }
  .portrait { position: static; display: grid; grid-template-columns: 120px minmax(0,1fr); gap: 0 22px; }
  .portrait picture { grid-row: 1 / 3; }
  .portrait picture { height: 120px; }
  .portrait-caption { margin: 0; align-self: end; font-size: 12px; gap: 4px 14px; }
  .portrait-note { border: 0; margin: 10px 0 0; padding: 0; font-size: 11px; line-height: 1.65; }
  .intro { padding-top: 0; padding-bottom: 32px; }
  .intro .eyebrow { display: none; }
  h1 { font-size: 36px; }
  .intro-detail { font-size: 17px; margin-top: 20px; }
  .intro-bio { font-size: 14px; }
  .career-item { grid-template-columns: 73px minmax(0,1fr); }
  .career-item + .career-item .career-content::before { left: 73px; }
  .career-year { padding-left: 19px; font-size: 12px; }
  .career-year small { font-size: 9px; }
  .career-content h3 { font-size: 19px; }
  .contact { padding: 28px 20px 20px; }
  .contact h2 { font-size: 30px; }
  footer { flex-wrap: wrap; gap: 8px; }
}
@media (max-height: 600px) { .portrait { position: static; } }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } summary span { transition: none; } }
