:root {
  color-scheme: light;
  --paper: #fafafa;
  --ink: #202124;
  --muted: #62666d;
  --line: #dedfe2;
  --sans: "DM Sans", Arial, sans-serif;
  --mono: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
}

* { box-sizing: border-box; }
html { scroll-padding-top: 32px; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 16px/1.7 var(--sans); -webkit-font-smoothing: antialiased; }
::selection { background: #dce4ec; }
a { color: inherit; text-decoration-color: #9b9da2; text-underline-offset: 4px; text-decoration-thickness: 1px; }
a:hover { text-decoration-color: currentColor; }
button { font: inherit; }
a:focus-visible, button:focus-visible { outline: 2px solid var(--ink); outline-offset: 5px; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { font-weight: 500; }
.wrap { width: min(100% - 96px, 960px); margin-inline: auto; }
.eyebrow, .date { color: var(--muted); font: 400 12px/1.7 var(--mono); }
.date { white-space: nowrap; }
.text-link { display: inline-block; margin-top: 18px; font-size: 14px; }
.skip-link { position: fixed; top: -100px; left: 20px; z-index: 5; padding: 10px 20px; background: var(--ink); color: white; }
.skip-link:focus { top: 16px; }

.site-header { min-height: 96px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.wordmark { font: 400 14px/1.5 var(--mono); text-decoration: none; }
.site-header nav { display: flex; flex-wrap: wrap; gap: 24px; font-size: 13px; }
.site-header nav a { color: var(--muted); text-decoration: none; }
.site-header nav a:hover, .wordmark:hover { color: var(--ink); text-decoration: underline; }

.hero { display: grid; grid-template-columns: minmax(0, 1fr) 144px; column-gap: 64px; padding-block: 64px 72px; }
h1 { font-size: clamp(36px, 5vw, 48px); line-height: 1.15; letter-spacing: -.04em; margin-top: 12px; }
.portrait { grid-column: 2; grid-row: 1 / 3; width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; filter: grayscale(1); }
.introduction { grid-column: 1; margin-top: 24px; max-width: 620px; }
.introduction .location { color: var(--muted); font-size: 13px; margin-top: 18px; }

.content-section { border-top: 1px solid var(--line); padding-block: 36px 42px; display: grid; grid-template-columns: 196px minmax(0, 1fr); gap: 44px; }
.section-heading h2 { font-size: 16px; line-height: 1.7; }
.section-heading .date { margin-top: 8px; }
.section-body h3, .history-list h3 { font-size: 16px; line-height: 1.7; }
.section-body > h3 + p { margin-top: 12px; }
.section-body > p + p { margin-top: 14px; }
.section-body > p, .role-description { color: var(--muted); font-size: 15px; }
.current-work { margin-top: 28px; }
.current-role + .current-role { margin-top: 24px; padding-top: 24px; border-top: 1px solid var(--line); }
.role-heading { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 12px 24px; }
.role-title { font-size: 14px; color: var(--muted); }
.role-description { margin-top: 10px; }

.history-list { list-style: none; padding: 0; margin: 0; }
.history-list li + li { margin-top: 22px; padding-top: 22px; border-top: 1px solid var(--line); }
.history-list .history-detail { margin-top: 8px; font-size: 14px; color: var(--muted); }

.email-contact { display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px 24px; }
.copy-email { background: none; border: none; padding: 4px 0; font-size: 12px; color: var(--muted); cursor: pointer; text-decoration: underline; text-decoration-color: #9b9da2; text-underline-offset: 4px; }
.copy-email:hover { color: var(--ink); text-decoration-color: currentColor; }
.copy-status { font-size: 12px; color: var(--muted); margin-top: 8px; }
.copy-status:empty { display: none; }
.social-links { margin-top: 14px; display: flex; gap: 24px; font-size: 14px; }
.site-footer { border-top: 1px solid var(--line); padding-block: 24px 32px; display: flex; align-items: center; justify-content: space-between; gap: 16px; font: 11px/1.7 var(--mono); color: var(--muted); }

@media (max-width: 760px) {
  .wrap { width: calc(100% - 48px); }
  .site-header { min-height: 80px; }
  .site-header nav { gap: 18px; font-size: 12px; }
  .hero { grid-template-columns: minmax(0, 1fr) 112px; column-gap: 32px; padding-block: 44px 48px; }
  .content-section { grid-template-columns: 156px minmax(0, 1fr); gap: 28px; padding-block: 28px 32px; }
  .date { font-size: 11px; }
  .role-heading { flex-direction: column; gap: 2px; margin-bottom: 6px; }
}

@media (max-width: 560px) {
  .site-header { flex-wrap: wrap; justify-content: flex-start; gap: 12px 24px; padding-block: 24px; }
  .site-header nav { column-gap: 20px; }
  .hero { grid-template-columns: minmax(0, 1fr) 80px; column-gap: 20px; padding-top: 24px; }
  .hero-heading .eyebrow { font-size: 11px; }
  h1 { font-size: 32px; letter-spacing: -.035em; }
  .portrait { grid-row: 1; }
  .introduction { grid-column: 1 / -1; }
  .content-section { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .section-heading h2 { font-size: 18px; }
  .section-heading .date { margin-top: 4px; }
  .role-heading { flex-direction: row; gap: 2px 18px; }
  .site-footer { flex-wrap: wrap; }
}
