/* Native editorial layout. DESIGN_VARIANCE: 6; MOTION_INTENSITY: 3; VISUAL_DENSITY: 3.
   Whole-page theme, achromatic palette, and a single sharp corner system. */
@font-face {
  font-family: Geist;
  src: url('/assets/fonts/geist-variable.woff2') format('woff2');
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}
:root { color-scheme: light; --bg: #fff; --ink: #111; --muted: #606060; --rule: #d6d6d6; --wash: #f3f3f3; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme='light']) { color-scheme: dark; --bg: #111; --ink: #fff; --muted: #b0b0b0; --rule: #3d3d3d; --wash: #1b1b1b; }
}
:root[data-theme='dark'] { color-scheme: dark; --bg: #111; --ink: #fff; --muted: #b0b0b0; --rule: #3d3d3d; --wash: #1b1b1b; }
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 32px; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: Geist, Helvetica, Arial, sans-serif; -webkit-font-smoothing: antialiased; }
::selection { background: var(--ink); color: var(--bg); }
a { color: inherit; text-decoration: none; }
a, button { -webkit-tap-highlight-color: transparent; }
button { font: inherit; }
button[hidden] { display: none; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 6px; }
main:focus { outline: none; }
img { display: block; max-width: 100%; height: auto; }
figure, h1, h2, h3, p { margin: 0; }
.container { width: min(100% - 96px, 1376px); margin-inline: auto; }
.skip-link { position: absolute; z-index: 5; left: 24px; top: 12px; padding: 14px 20px; background: var(--ink); color: var(--bg); transform: translateY(-200%); }
.skip-link:focus { transform: translateY(0); }
.site-header { height: 72px; display: flex; justify-content: space-between; align-items: center; border-bottom: 1px solid var(--rule); }
.wordmark { font-size: 25px; letter-spacing: -.07em; font-weight: 650; display: inline-flex; align-items: center; min-height: 44px; }
nav { display: flex; align-items: center; gap: 30px; }
nav a, .site-footer a { min-height: 44px; display: inline-flex; align-items: center; font-size: 14px; }
nav a:hover, .site-footer a:hover { text-decoration: underline; text-underline-offset: 5px; }
.theme-toggle { width: 44px; height: 44px; display: inline-grid; place-items: center; padding: 0; border: 1px solid var(--rule); background: transparent; color: var(--ink); cursor: pointer; }
.theme-toggle:hover { background: var(--wash); }
.theme-symbol { font-family: Arial, sans-serif; font-size: 23px; line-height: 1; }
.hero { display: grid; grid-template-columns: 5fr 7fr; align-items: center; gap: 5%; padding-block: 64px 100px; }
.hero-copy { min-width: 0; }
h1 { font-size: clamp(80px, 9.1vw, 136px); font-weight: 500; letter-spacing: -.085em; line-height: .94; padding-bottom: .08em; }
.name-period { color: var(--muted); }
.intro { color: var(--muted); max-width: 330px; font-size: clamp(17px, 1.45vw, 21px); line-height: 1.5; margin-top: 28px; letter-spacing: -.025em; }
.text-link { display: inline-flex; align-items: center; gap: 24px; min-height: 44px; font-size: 15px; font-weight: 500; line-height: 1.4; }
.text-link span { display: inline-block; transition: transform 180ms ease; }
.text-link:hover span { transform: translate(3px, -3px); }
.text-link:hover { text-decoration: underline; text-underline-offset: 5px; }
.hero-link { margin-top: 24px; }
.hero-link:hover span { transform: translate(3px, 3px); }
.hero-art { min-width: 0; background: var(--wash); }
.hero-art img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; filter: grayscale(1); }
.projects { border-top: 1px solid var(--rule); padding-top: 38px; }
.section-heading { margin-bottom: 54px; }
h2 { font-size: clamp(30px, 3.2vw, 46px); font-weight: 450; letter-spacing: -.055em; line-height: 1.15; }
.section-heading p { margin-top: 14px; color: var(--muted); font-size: 17px; line-height: 1.5; }
.featured-project { margin-bottom: 60px; }
.featured-copy { display: grid; grid-template-columns: 1fr 1fr; column-gap: 10%; align-items: start; margin-bottom: 28px; }
.project-title { min-width: 0; }
h3 { font-size: clamp(26px, 2.8vw, 38px); font-weight: 450; letter-spacing: -.045em; line-height: 1.2; }
h3 a { display: inline-flex; align-items: center; gap: 18px; min-height: 44px; }
h3 a span { font-size: .6em; transition: transform 180ms ease; }
h3 a:hover span { transform: translate(3px, -3px); }
h3 a:hover { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 7px; }
.project-tech { display: block; color: var(--muted); font-size: 13px; margin-top: 9px; }
.featured-copy > p, .project-row p { font-size: 18px; line-height: 1.65; letter-spacing: -.02em; color: var(--muted); max-width: 510px; }
.featured-copy > .text-link { grid-column: 2; justify-self: start; margin-top: 12px; }
.project-image { padding: clamp(16px, 3.5vw, 48px); background: var(--wash); }
.project-image img { width: 100%; filter: grayscale(1); }
figcaption { font-size: 12px; line-height: 1.5; color: var(--muted); margin-top: 16px; }
.project-row { display: grid; grid-template-columns: 1fr 1fr; column-gap: 10%; padding-block: 38px 44px; border-top: 1px solid var(--rule); }
.project-description .text-link { margin-top: 12px; }
.research-note { margin: 26px 0 0 auto; padding: 28px 30px; width: 55%; background: var(--wash); }
.research-note > p:first-child { color: var(--muted); font-size: 14px; line-height: 1.5; }
.research-note .text-link { font-size: 20px; letter-spacing: -.025em; margin-top: 5px; }
.research-detail { color: var(--muted); line-height: 1.6; font-size: 14px; margin-top: 8px; max-width: 390px; }
.about { margin-top: 88px; padding-top: 38px; border-top: 1px solid var(--rule); }
.background-row { display: grid; grid-template-columns: 1fr 1fr; column-gap: 10%; padding-block: 32px 38px; border-top: 1px solid var(--rule); }
.background-copy, .skill-list, .award-list { color: var(--muted); font-size: 17px; line-height: 1.65; letter-spacing: -.015em; }
.background-copy > .text-link { margin-bottom: 12px; color: var(--ink); }
.entry-meta { color: var(--muted); font-size: 13px; line-height: 1.6; margin-top: 9px; }
.background-copy h4 { color: var(--ink); margin: 0 0 6px; font-size: 19px; font-weight: 500; line-height: 1.4; }
.background-copy .education-detail { margin-top: 18px; }
.background-copy .education-prior { margin-top: 28px; }
.skill-list { margin: 0; }
.skill-list div + div { margin-top: 18px; }
.skill-list dt { color: var(--ink); font-size: 13px; font-weight: 500; margin-bottom: 4px; }
.skill-list dd { margin: 0; }
.award-list { margin: 0; padding-left: 20px; }
.award-list li + li { margin-top: 10px; }
.social-links { display: flex; flex-wrap: wrap; gap: 12px 30px; }
.elsewhere { padding-block: 110px 72px; }
.elsewhere h2 { font-size: 18px; letter-spacing: -.025em; margin-bottom: 24px; }
.github-link { font-size: clamp(36px, 6.3vw, 88px); letter-spacing: -.065em; font-weight: 450; display: flex; gap: 24px; align-items: center; justify-content: space-between; padding-block: 6px 20px; border-bottom: 1px solid var(--ink); line-height: 1.15; }
.github-link span { font-size: .8em; transition: transform 180ms ease; }
.github-link:hover span { transform: translate(4px, -4px); }
.elsewhere-detail { display: flex; justify-content: space-between; align-items: center; gap: 24px; padding-top: 20px; color: var(--muted); font-size: 14px; }
.elsewhere-detail .text-link { color: var(--ink); }
.site-footer { border-top: 1px solid var(--rule); min-height: 88px; display: flex; align-items: center; justify-content: space-between; color: var(--muted); font-size: 13px; }
.site-footer a { gap: 16px; }
@media (min-width: 1600px) { .hero { padding-block: 72px 112px; } }
@media (max-width: 1023px) and (min-width: 768px) {
  .container { width: calc(100% - 64px); }
  .hero { gap: 28px; padding-block: 54px 72px; }
  h1 { font-size: 88px; }
  .hero-art img { aspect-ratio: 4 / 5; }
}
@media (max-width: 767px) {
  .container { width: calc(100% - 40px); }
  .site-header { height: 68px; }
  nav { gap: 18px; }
  nav a { font-size: 13px; }
  .wordmark { font-size: 23px; }
  .hero { grid-template-columns: 1fr; gap: 36px; padding-block: 44px 60px; }
  h1 { font-size: clamp(82px, 20vw, 126px); }
  .intro { max-width: 340px; margin-top: 24px; font-size: 18px; }
  .hero-link { margin-top: 16px; }
  .hero-art img { aspect-ratio: 3 / 2; }
  .projects { padding-top: 28px; }
  .section-heading { margin-bottom: 38px; }
  .section-heading p { font-size: 15px; }
  .featured-copy, .project-row { grid-template-columns: 1fr; gap: 20px; }
  .featured-copy > .text-link { grid-column: 1; margin-top: 0; }
  .featured-copy { margin-bottom: 20px; }
  .featured-copy > p, .project-row p { font-size: 17px; }
  .featured-project { margin-bottom: 36px; }
  .project-row { padding-block: 28px 34px; }
  .research-note { width: 100%; margin-top: 12px; padding: 24px; }
  .about { margin-top: 60px; padding-top: 28px; }
  .background-row { grid-template-columns: 1fr; gap: 20px; padding-block: 28px 34px; }
  .background-copy, .skill-list, .award-list { font-size: 16px; }
  .elsewhere { padding-block: 72px 48px; }
  .github-link { font-size: clamp(29px, 6.8vw, 50px); gap: 12px; }
  .elsewhere-detail { flex-direction: column; align-items: flex-start; gap: 8px; }
  .site-footer { min-height: 80px; }
}
@media (max-width: 359px) { nav { gap: 12px; } .theme-toggle { width: 44px; } .research-note { padding: 20px; } }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
