:root {
  --ink: #17212b;
  --paper: #f3f3ef;
  --white: #ffffff;
  --muted: #666b70;
  --rule: rgba(23, 33, 43, 0.2);
  --accent: #4a63c7;
  --accent-soft: #dfe4f3;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: "Instrument Sans", sans-serif; -webkit-font-smoothing: antialiased; }
a { color: inherit; }
::selection { background: var(--accent); color: var(--white); }
.skip-link { background: var(--white); border: 1px solid var(--ink); left: 1rem; padding: .75rem 1rem; position: fixed; top: -5rem; z-index: 100; }
.skip-link:focus { top: 1rem; }
.site-header { align-items: center; background: var(--ink); border-bottom: 1px solid rgba(255,255,255,.16); color: var(--white); display: flex; justify-content: space-between; min-height: 72px; padding: 0 clamp(1.5rem, 4vw, 4.5rem); position: sticky; top: 0; z-index: 20; }
.wordmark { font-size: 1.05rem; font-weight: 650; letter-spacing: -.025em; text-decoration: none; }
.site-header nav { display: flex; gap: 2rem; }
.site-header nav a, .kicker, .section-label, .work-list span, .record dt { font-family: "IBM Plex Mono", monospace; font-size: .68rem; letter-spacing: .08em; text-transform: uppercase; }
.site-header nav a { color: rgba(255,255,255,.68); text-decoration: none; transition: color 160ms ease; }
.site-header nav a:hover, .site-header nav a:focus-visible { color: var(--white); }
.hero, .section, .contact, footer { margin: 0 auto; max-width: 1600px; padding-left: clamp(1.5rem, 6vw, 6.5rem); padding-right: clamp(1.5rem, 6vw, 6.5rem); }
.hero { background-color: var(--ink); background-image: linear-gradient(rgba(255,255,255,.055) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.055) 1px, transparent 1px); background-size: 5.5rem 5.5rem; color: var(--white); display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(260px, .55fr); min-height: min(820px, calc(100svh - 72px)); padding-bottom: clamp(4rem, 8vw, 7rem); padding-top: clamp(5rem, 10vw, 9rem); }
.hero::after { align-self: stretch; background: var(--accent); content: ""; grid-column: 2; grid-row: 1 / span 4; justify-self: end; width: clamp(8px, 1vw, 14px); }
.kicker, .section-label { color: var(--accent); margin: 0; }
h1, h2, h3 { font-family: "Instrument Sans", sans-serif; }
h1 { font-size: clamp(4.2rem, 9.6vw, 10rem); font-weight: 560; letter-spacing: -.075em; line-height: .83; margin: clamp(2rem, 5vw, 5rem) 0 0; max-width: 8.5ch; }
.hero-copy { align-self: end; color: rgba(255,255,255,.7); font-size: clamp(1.05rem, 1.4vw, 1.28rem); grid-column: 2; line-height: 1.55; margin: 0 3rem 0 0; max-width: 32ch; }
.email { color: var(--white); display: inline-block; font-family: "IBM Plex Mono", monospace; font-size: .78rem; grid-column: 2; margin: 2rem 3rem 0 0; text-decoration-color: var(--accent); text-underline-offset: .4rem; }
.section { border-top: 1px solid var(--rule); padding-bottom: clamp(5rem, 9vw, 9rem); padding-top: clamp(5rem, 9vw, 9rem); }
.section-heading { display: grid; gap: 2rem; grid-template-columns: minmax(160px, .3fr) 1fr; }
.section-heading h2 { font-size: clamp(3rem, 6.5vw, 6.8rem); font-weight: 520; letter-spacing: -.065em; line-height: .9; margin: 0; max-width: 11ch; }
.work-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: clamp(4rem, 7vw, 7rem); }
.work-list article { border-top: 1px solid var(--ink); min-height: 260px; padding: 1.5rem 2.5rem 2.5rem 0; position: relative; }
.work-list article:nth-child(odd) { border-right: 1px solid var(--rule); }
.work-list article:nth-child(even) { padding-left: 2.5rem; }
.work-list article::before { background: var(--accent); content: ""; height: 3px; left: 0; position: absolute; top: -1px; transform: scaleX(0); transform-origin: left; transition: transform 180ms ease; width: 100%; }
.work-list article:hover::before { transform: scaleX(1); }
.work-list span { color: var(--accent); }
.work-list h3 { font-size: clamp(1.55rem, 2.5vw, 2.55rem); font-weight: 520; letter-spacing: -.045em; line-height: 1; margin: 3.2rem 0 0; max-width: 15ch; }
.work-list p, .bio p { color: var(--muted); line-height: 1.65; margin: 1.4rem 0 0; max-width: 56ch; }
.work-note { border-top: 1px solid var(--rule); color: var(--muted); font-family: "IBM Plex Mono", monospace; font-size: .68rem; line-height: 1.55; margin: 0; padding-top: 1.25rem; text-transform: uppercase; }
.experience { background: var(--white); box-shadow: 0 0 0 100vmax var(--white); clip-path: inset(0 -100vmax); }
.experience-body { display: grid; gap: clamp(3rem, 7vw, 7rem); grid-template-columns: minmax(300px, .9fr) 1fr; margin-left: calc(30% + 1.4rem); margin-top: clamp(4rem, 7vw, 7rem); }
.bio { display: grid; gap: .2rem; }
.record { margin: 0; }
.record > div { border-top: 1px solid var(--ink); padding: 1.25rem 0 1.6rem; }
.record dt { color: var(--accent); }
.record dd { font-size: clamp(1.15rem, 1.8vw, 1.65rem); font-weight: 520; letter-spacing: -.025em; line-height: 1.32; margin: .75rem 0 0; }
.contact { align-items: center; background: var(--accent-soft); box-shadow: 0 0 0 100vmax var(--accent-soft); clip-path: inset(0 -100vmax); display: flex; justify-content: space-between; padding-bottom: clamp(4rem, 7vw, 6rem); padding-top: clamp(4rem, 7vw, 6rem); }
.contact h2 { font-size: clamp(2.5rem, 5vw, 5.5rem); font-weight: 560; letter-spacing: -.065em; margin: .9rem 0 0; }
.contact a { font-family: "IBM Plex Mono", monospace; font-size: .8rem; text-underline-offset: .4rem; }
footer { background: var(--ink); box-shadow: 0 0 0 100vmax var(--ink); clip-path: inset(0 -100vmax); color: rgba(255,255,255,.55); padding-bottom: 2rem; padding-top: 2rem; }
footer p { font-family: "IBM Plex Mono", monospace; font-size: .67rem; letter-spacing: .04em; margin: 0; text-transform: uppercase; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
@media (max-width: 900px) { .hero { grid-template-columns: 1fr; } .hero::after { display: none; } .hero-copy, .email { grid-column: 1; margin-right: 0; } .hero-copy { margin-top: 4rem; } .experience-body { margin-left: 0; } .section-heading { grid-template-columns: 1fr; } }
@media (max-width: 640px) { .site-header { min-height: 64px; } .site-header nav { gap: 1rem; } .site-header nav a:not(:last-child) { display: none; } .hero { min-height: auto; padding-bottom: 5rem; padding-top: 5rem; } h1 { font-size: clamp(4rem, 19vw, 6rem); } .work-list { grid-template-columns: 1fr; } .work-list article, .work-list article:nth-child(even) { border-right: 0; min-height: 0; padding: 1.4rem 0 2.8rem; } .work-list h3 { margin-top: 2.5rem; } .experience-body { grid-template-columns: 1fr; } .contact { align-items: flex-start; flex-direction: column; gap: 1.5rem; } }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition-duration: .01ms !important; } }
