@font-face { font-family: Barlow; font-style: normal; font-weight: 400; font-display: swap; src: url('fonts/barlow-regular.ttf') format('truetype'); }
@font-face { font-family: Barlow; font-style: normal; font-weight: 600; font-display: swap; src: url('fonts/barlow-semibold.ttf') format('truetype'); }
:root { color-scheme: light; --paper: #eeede7; --ink: #242a29; --muted: #555d59; --line: #b8bcb3; --accent: #9f3526; }
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 2rem; scrollbar-color: var(--muted) var(--paper); }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: Barlow, sans-serif; font-size: 18px; line-height: 1.5; }
::selection { background: var(--accent); color: var(--paper); }
a { color: inherit; text-underline-offset: .25em; text-decoration-thickness: 1px; }
a:hover { color: var(--accent); }
a:focus-visible { outline: 2px solid var(--accent); outline-offset: 6px; }
.sheet { max-width: 1440px; padding: 0 64px; margin: auto; }
.masthead { display: flex; justify-content: space-between; align-items: center; min-height: 108px; border-bottom: 1px solid var(--ink); gap: 2rem; }
.identity { text-decoration: none; font-weight: 600; font-size: 32px; letter-spacing: -.03em; }
.identity span, h1 span { color: var(--accent); }
nav { display: flex; gap: 32px; font-size: 16px; }
nav a { text-decoration: none; padding: 12px 0; }
nav a:hover { text-decoration: underline; }
.skip { position: absolute; top: -100px; left: 24px; padding: 12px; background: var(--ink); color: var(--paper); z-index: 2; }
.skip:focus { top: 12px; }
.intro { display: grid; grid-template-columns: 1.1fr 1fr; gap: 6%; padding: 88px 0 96px; align-items: end; }
h1 { font-size: clamp(64px, 7.5vw, 96px); font-weight: 600; letter-spacing: -.035em; line-height: .98; margin: 0; }
h2, h3, p, dl, dd { margin: 0; }
h2 { font-size: 28px; font-weight: 600; line-height: 1.2; letter-spacing: -.02em; text-wrap: balance; }
h3 { font-size: 28px; font-weight: 600; line-height: 1.2; letter-spacing: -.02em; }
.qualification { font-size: 22px; line-height: 1.35; font-weight: 600; margin-bottom: 24px; }
.qualification span { font-size: 16px; font-weight: 400; color: var(--muted); }
.summary { max-width: 45ch; font-size: 20px; }
.text-link { display: inline-flex; align-items: center; gap: 12px; margin-top: 28px; font-size: 16px; }
svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.5; flex-shrink: 0; }
.section { display: grid; grid-template-columns: 1fr 2fr; gap: 7%; border-top: 1px solid var(--ink); padding: 42px 0 64px; }
.section-heading p { color: var(--muted); margin-top: 16px; font-size: 17px; }
.experience-list > div { display: grid; grid-template-columns: 1fr 1.6fr; gap: 32px; padding: 24px 0; border-top: 1px solid var(--line); }
.experience-list > div:first-child { padding-top: 0; border: 0; }
dt { font-weight: 600; font-size: 18px; line-height: 1.4; }
dd { color: var(--muted); font-size: 18px; }
.project-list article { padding: 28px 0; border-top: 1px solid var(--line); }
.project-list article:first-child { padding-top: 0; border: 0; }
.project-title { display: flex; justify-content: space-between; align-items: baseline; gap: 20px; }
.project-title span { color: var(--muted); font-size: 14px; }
.project-list p { color: var(--muted); max-width: 58ch; margin-top: 14px; }
.contact { border-top: 1px solid var(--ink); padding: 48px 0 64px; display: flex; align-items: baseline; justify-content: space-between; gap: 32px; }
.contact-link { display: inline-flex; align-items: center; gap: 28px; font-size: 40px; font-weight: 600; letter-spacing: -.025em; }
.contact-link svg { width: 28px; height: 28px; }
footer { border-top: 1px solid var(--ink); display: flex; justify-content: space-between; gap: 24px; padding: 24px 0 36px; color: var(--muted); font-size: 14px; }
@media (min-width: 1100px) { .intro-copy { padding-right: 36px; } }
@media (max-width: 900px) {
  .sheet { padding: 0 32px; }
  .intro { gap: 32px; padding: 64px 0; }
  .section { grid-template-columns: 1fr 2fr; gap: 32px; }
  .experience-list > div { grid-template-columns: 1fr; gap: 10px; }
  .project-title { display: block; }
  .project-title span { display: block; margin-top: 8px; }
}
@media (max-width: 600px) {
  .sheet { padding: 0 24px; }
  .masthead { min-height: 84px; gap: 20px; }
  nav { gap: 16px; font-size: 14px; }
  .identity { font-size: 28px; }
  .intro { grid-template-columns: 1fr; padding: 48px 0 52px; gap: 32px; }
  h1 { font-size: clamp(60px, 15vw, 88px); }
  .summary { font-size: 19px; }
  .qualification { font-size: 21px; margin-bottom: 18px; }
  .section { grid-template-columns: 1fr; padding: 32px 0 40px; gap: 28px; }
  .section-heading p { margin-top: 10px; }
  .section-heading br { display: none; }
  h2 { font-size: 27px; }
  .experience-list > div { padding: 20px 0; }
  .experience-list > div:last-child { padding-bottom: 0; }
  .project-list article:last-child { padding-bottom: 0; }
  .contact { display: block; padding: 32px 0 40px; }
  .contact-link { font-size: 36px; margin-top: 22px; }
  footer { flex-wrap: wrap; gap: 10px 24px; }
  footer span:nth-child(2) { flex-basis: 100%; order: 3; }
  footer a { margin-left: auto; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
@media print { .sheet { padding: 0; } nav, .skip, footer a { display: none; } body { background: white; } }
