@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Instrument+Serif:ital@0;1&display=swap');

:root {
  color-scheme: dark;
  --page: #171714;
  --ink: #f4f0e7;
  --muted: #c4c0b4;
  --accent: #ff9a7c;
  --line: #44413a;
  --display: 'Instrument Serif', Georgia, serif;
  --sans: 'DM Sans', system-ui, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--page); color: var(--ink); font: 400 1rem/1.6 var(--sans); }
a { color: inherit; text-decoration: none; }
a:focus-visible { outline: 2px solid var(--accent); outline-offset: 5px; }
p, h1, h2, figure { margin: 0; }
::selection { background: var(--accent); color: var(--page); }
.wrap { width: min(1120px, calc(100% - 112px)); margin-inline: auto; }
.skip { position: fixed; z-index: 2; top: .5rem; left: .5rem; padding: .6rem 1rem; background: var(--page); transform: translateY(-150%); }
.skip:focus { transform: translateY(0); }
.header { min-height: 84px; display: flex; justify-content: space-between; align-items: center; border-bottom: 1px solid var(--line); gap: 1.5rem; }
.wordmark { font-family: var(--display); font-size: 2rem; line-height: 1; }
.wordmark span, h1 span { color: var(--accent); }
nav { display: flex; align-items: center; gap: clamp(.9rem, 3vw, 2.25rem); font-size: .9rem; font-weight: 500; }
nav > a:hover, .text-link:hover, .footer a:hover { color: var(--accent); }
.nav-cta { border: 1px solid var(--line); padding: .48rem .8rem; border-radius: 2px; white-space: nowrap; }
.nav-cta span { margin-left: .18rem; color: var(--accent); }
.hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .84fr); gap: clamp(2rem, 7vw, 7rem); align-items: center; padding-block: clamp(3.3rem, 6vw, 5.5rem) clamp(3.5rem, 6vw, 5.75rem); }
.label { font-size: .72rem; font-weight: 700; letter-spacing: .14em; line-height: 1.4; text-transform: uppercase; color: var(--accent); }
.location { display: flex; align-items: center; gap: .65rem; }
.location span { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); }
h1, h2 { font-family: var(--display); font-weight: 400; }
h1 { font-size: clamp(6.5rem, 12vw, 10.8rem); line-height: .78; letter-spacing: -.042em; margin: 1.55rem 0 1.65rem; }
.role { font-size: clamp(1.12rem, 2.2vw, 1.45rem); font-weight: 600; margin-bottom: .5rem; }
.intro { font-size: 1.05rem; color: var(--muted); max-width: 39ch; }
.actions { display: flex; align-items: center; flex-wrap: wrap; gap: .85rem 1.45rem; margin-top: 1.55rem; }
.button { display: inline-flex; align-items: center; justify-content: space-between; gap: 1.25rem; padding: .75rem .95rem; border: 1px solid var(--accent); border-radius: 2px; background: var(--accent); color: var(--page); font-weight: 700; font-size: .9rem; line-height: 1.4; transition: background-color .18s, color .18s; }
.button:hover { background: transparent; color: var(--accent); }
.text-link { display: inline-flex; align-items: center; gap: .38rem; font-size: .9rem; font-weight: 600; }
.text-link span { color: var(--accent); }
.portrait { min-width: 0; border: 1px solid var(--line); padding: .5rem; }
.portrait img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 4.8; object-fit: cover; object-position: center 36%; background: #a8a7a4; }
.section { border-top: 1px solid var(--line); padding-block: clamp(3.25rem, 7vw, 6.5rem); scroll-margin-top: 1rem; }
.about { display: grid; grid-template-columns: 1fr 1fr; align-items: start; gap: 2rem; }
h2 { font-size: clamp(3.4rem, 6.9vw, 6.25rem); line-height: .95; letter-spacing: -.025em; }
.section h2 { margin-top: .85rem; }
h2 em { color: var(--accent); font-weight: inherit; }
.about-copy { color: var(--muted); font-size: clamp(1rem, 2vw, 1.2rem); max-width: 44ch; }
.about-copy p + p { margin-top: 1rem; }
.milestones { margin: 1.6rem 0 0; padding-top: 1.15rem; border-top: 1px solid var(--line); font-size: .94rem; }
.milestones div + div { margin-top: .75rem; }
.milestones dt { color: var(--ink); font-weight: 600; }
.milestones dd { margin: 0; }
.work-list { margin-top: 1.8rem; border-top: 1px solid var(--line); }
.work-row { display: grid; grid-template-columns: minmax(7rem, .65fr) minmax(0, 1.45fr) minmax(0, 1.7fr) auto; gap: 1rem; align-items: center; padding: 1.25rem .2rem; border-bottom: 1px solid var(--line); }
.work-row:hover .work-name, .work-row:hover .row-arrow { color: var(--accent); }
.work-name { font: 400 clamp(1.65rem, 3vw, 2.35rem)/1 var(--display); }
.work-detail { color: var(--muted); }
.row-arrow { font-size: 1.25rem; }
.contact { background: #24211d; border-block: 1px solid var(--line); }
.contact-inner { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1.4rem; padding-block: clamp(2.6rem, 6vw, 5rem); }
.footer { display: flex; justify-content: space-between; gap: 1rem; padding-block: 1.55rem; color: var(--muted); font-size: .83rem; }
@media (max-width: 900px) {
  .wrap { width: calc(100% - 64px); }
  .hero { gap: 2rem; }
}
@media (max-width: 670px) {
  .wrap { width: calc(100% - 40px); }
  .header { min-height: 68px; gap: .65rem; }
  .wordmark { font-size: 1.58rem; }
  nav { gap: .68rem; font-size: .79rem; }
  .nav-cta { padding: .38rem .48rem; }
  .hero, .about { grid-template-columns: 1fr; }
  .hero { gap: 2.2rem; }
  h1 { font-size: clamp(5.6rem, 19vw, 8rem); }
  h1 br { display: none; }
  h1 br::after { content: ' '; }
  .portrait { max-width: 440px; }
  .portrait img { aspect-ratio: 4 / 4.1; object-position: center 33%; }
  .work-row { grid-template-columns: minmax(0, 1fr) auto; gap: .25rem .7rem; }
  .period { grid-column: 1 / -1; }
  .work-detail { grid-column: 1; grid-row: 3; font-size: .92rem; }
  .row-arrow { grid-column: 2; grid-row: 2 / 4; }
}
@media (max-width: 380px) {
  .wrap { width: calc(100% - 32px); }
  h1 { font-size: 5.25rem; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
}
.external-arrow { display: inline-block; width: .8em; height: .8em; position: relative; flex-shrink: 0; vertical-align: -.04em; }
.external-arrow::before { content: ''; position: absolute; top: 0; right: 0; width: 70%; height: 70%; border-top: 1.4px solid; border-right: 1.4px solid; }
.external-arrow::after { content: ''; position: absolute; height: 1.4px; width: 108%; top: 50%; left: -4%; background: currentColor; transform: rotate(-45deg); }
