/*
 * Geist and Geist Mono, variable normal fonts, weights 100–900.
 * Source: Google Fonts, https://fonts.google.com/specimen/Geist
 * License: SIL Open Font License 1.1; see LICENSE-geist.txt.
 * Paths are relative to this file; build.py may replace each URL with a data URI.
 */
@font-face {
  font-family: "Geist";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("./geist-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Geist";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("./geist-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Geist Mono";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("./geist-mono-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Geist Mono";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("./geist-mono-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  color-scheme: light;
  --paper: oklch(1 0 0);
  --ink: oklch(0.16 0 0);
  --muted: oklch(0.44 0 0);
  --line: oklch(0.89 0 0);
  --selection: oklch(0.91 0 0);
  --control-surface: oklch(0.96 0 0);
  --z-skip-link: 10;
  --safe-area-left: env(safe-area-inset-left);
  --safe-area-right: env(safe-area-inset-right);
  --font-sans: "Geist", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-mono: "Geist Mono", ui-monospace, "SFMono-Regular", Consolas, monospace;
  --font-weight-normal: 400;
  --font-weight-medium: 500;
}
* { box-sizing: border-box; }
html { scrollbar-gutter: stable; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 16px/1.75 var(--font-sans); -webkit-font-smoothing: antialiased; padding-inline: var(--safe-area-left) var(--safe-area-right); }
h1,h2,h3,p { margin: 0; }
h1,h2,h3 { font-weight: var(--font-weight-medium); text-wrap: balance; }
a { color: inherit; text-underline-offset: 5px; text-decoration-thickness: 1px; touch-action: manipulation; }
a:focus-visible { outline: 2px solid var(--ink); outline-offset: 5px; }
::selection { color: var(--ink); background: var(--selection); }
.wrap { width: min(700px, calc(100% - 48px)); margin-inline: auto; }
.home { min-height: 100svh; position: relative; }
.home main { padding-top: clamp(112px, 21vh, 190px); padding-bottom: calc(64px + env(safe-area-inset-bottom)); }
h1 { font-size: clamp(40px, 5vw, 56px); line-height: 1.08; letter-spacing: -0.055em; }
/* One shared navigation shell; Hugeicons license in LICENSE-hugeicons.txt. */
.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: max(24px, env(safe-area-inset-top)) 24px 24px;
}
.home .site-header { position: absolute; top: 0; left: var(--safe-area-left); right: var(--safe-area-right); }
.site-nav { display: flex; flex-shrink: 0; align-items: center; gap: 4px; margin-left: auto; }
.site-nav-link {
  display: grid;
  place-items: center;
  flex: 0 0 44px;
  width: 44px;
  height: 44px;
  border-radius: 8px;
  background: transparent;
  color: var(--muted);
  text-decoration: none;
  -webkit-tap-highlight-color: transparent;
  transition: color 150ms ease-out, background-color 150ms ease-out, transform 100ms ease-out;
}
.site-nav-link svg { display: block; width: 24px; height: 24px; pointer-events: none; user-select: none; }
.site-nav-link[aria-current] { color: var(--ink); background: var(--control-surface); }
.site-nav-link:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
.site-nav-link:active { transform: scale(0.96); background: var(--selection); }
.navlink,.cv-link { display: inline-flex; gap: 10px; align-items: center; min-height: 44px; min-width: 44px; font-size: 14px; text-decoration: none; }
.navlink,.cv-link { transition: color 150ms ease-out; }
.cv-link { color: var(--muted); }
.cv-link .label { text-decoration: underline; text-underline-offset: 6px; }
.wordmark { display: inline-flex; align-items: center; min-height: 44px; font-size: 15px; font-weight: var(--font-weight-medium); letter-spacing: -0.02em; text-decoration: none; }
.navlink { color: var(--muted); }
.hero,.error-content { padding-top: 54px; padding-bottom: 64px; }
.error-content .cv-link { margin-top: 24px; }
.eyebrow,.date { font-family: var(--font-mono); color: var(--muted); }
.eyebrow { font-size: 11px; line-height: 1.5; letter-spacing: 0.09em; text-transform: uppercase; }
.hero h1 { margin-block: 18px 12px; }
.cv-meta-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 44px; }
.location { color: var(--muted); font-size: 14px; }
.location a { display: inline-flex; min-height: 44px; align-items: center; font-size: 14px; }
.prose { max-width: 570px; color: var(--muted); }
.hero .prose { margin-top: 22px; }
.section-heading { border-bottom: 1px solid var(--line); padding-bottom: 18px; }
.section-heading h2 { font-size: 14px; letter-spacing: -0.02em; }
.role { padding-block: 30px; border-bottom: 1px solid var(--line); }
.role-heading { display: grid; grid-template-columns: 108px 1fr; gap: 20px; align-items: baseline; }
.date { font-size: 12px; font-variant-numeric: tabular-nums; }
.role h3 { font-size: 16px; letter-spacing: -0.02em; }
.role-title { font-size: 13px; color: var(--muted); }
.role-bullets { margin: 18px 0 0 128px; padding-left: 18px; color: var(--muted); font-size: 15px; line-height: 1.75; }
.role-bullets li + li { margin-top: 10px; }
.role-bullets li::marker { color: var(--muted); font-size: 0.8em; }
.site-footer { margin-top: 30px; padding-bottom: calc(60px + env(safe-area-inset-bottom)); }
.skip-link { position: absolute; z-index: var(--z-skip-link); left: 24px; top: 12px; min-height: 44px; padding: 10px 14px; border-radius: 6px; background: var(--paper); transform: translateY(-150%); }
.skip-link:focus { transform: none; }
.copy-markdown {
  display: inline-grid;
  place-items: center;
  flex: 0 0 44px;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  touch-action: manipulation;
  transition: background-color 150ms ease-out, color 150ms ease-out, transform 100ms ease-out;
}
.copy-markdown[hidden] { display: none; }
.copy-markdown svg {
  display: block;
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  pointer-events: none;
  user-select: none;
}
.copy-markdown .copied-icon { display: none; }
.copy-markdown[data-copy-state="copied"] .copy-icon { display: none; }
.copy-markdown[data-copy-state="copied"] .copied-icon { display: block; }
.copy-markdown:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
.copy-markdown:active { transform: scale(0.96); }
.copy-status {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}
.copy-source {
  position: fixed;
  top: 0;
  left: -10000px;
  width: 1px;
  height: 1px;
  padding: 0;
  border: 0;
  opacity: 0;
}
@media (hover: hover) and (pointer: fine) {
  .navlink:hover,.cv-link:hover { color: var(--ink); }
  .site-nav-link:hover { color: var(--ink); background: var(--control-surface); }
  .copy-markdown:hover { background: var(--control-surface); color: var(--ink); }
  .navlink:hover,.wordmark:hover { text-decoration: underline; }
}
@media (max-width: 440px) {
  .site-header { padding: max(20px, env(safe-area-inset-top)) 20px 20px; gap: 12px; }
  .skip-link { left: 20px; }
  .wrap { width: calc(100% - 40px); }
  .wordmark { font-size: 14px; }
  .hero,.error-content { padding-top: 36px; padding-bottom: 44px; }
  .role-heading { grid-template-columns: 1fr; gap: 5px; }
  .date { font-size: 11px; }
  .role-bullets { margin-left: 0; }
}
@media (prefers-reduced-motion: reduce) {
  *,*::before,*::after { transition: none !important; }
  .site-nav-link:active,.copy-markdown:active { transform: none; }
}
@media print {
  .site-header,.site-footer,.skip-link,.copy-markdown,.copy-status,.copy-source { display: none; }
  .wrap { width: 100%; }
  .hero { padding-top: 0; padding-bottom: 24px; }
  h1 { font-size: 32px; }
  .role { padding-block: 18px; }
  .role-heading { break-after: avoid; }
  .role-bullets { font-size: 11px; }
  .role-bullets li { break-inside: avoid; }
}
