@font-face {
  font-family: 'Archivo Black';
  src: url('assets/archivo-black.woff2') format('woff2');
  font-display: swap;
}
@font-face {
  font-family: 'DM Sans';
  src: url('assets/dm-sans.woff2') format('woff2');
  font-weight: 100 900;
  font-display: swap;
}
@font-face {
  font-family: 'IBM Plex Mono';
  src: url('assets/ibm-plex-mono.woff2') format('woff2');
  font-weight: 500;
  font-display: swap;
}
:root {
  --paper: #f8f6ec;
  --ink: #202e2b;
  --muted: #4f5c55;
  --accent: #f58342;
  --line: #c2c6ba;
  --mono: 'IBM Plex Mono', monospace;
  --display: 'Archivo Black', 'Arial Black', sans-serif;
  color: var(--ink);
  background: var(--paper);
  font-family: 'DM Sans', sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 22px; }
body { margin: 0; }
a { color: inherit; text-decoration: none; }
button { color: inherit; font: inherit; }
a:focus-visible, button:focus-visible { outline: 3px solid #2a7978; outline-offset: 4px; }
::selection { color: #112923; background: #ffbb7d; }
.shell { width: min(1256px, 89.5%); margin-inline: auto; }
.symbols { position: absolute; width: 0; height: 0; overflow: hidden; }
.icon { width: 21px; height: 21px; fill: none; stroke: currentColor; stroke-width: 2; flex: none; }
.icon.small { width: 15px; height: 15px; }
.skip { position: fixed; top: -80px; left: 16px; z-index: 9; padding: 12px; background: white; }
.skip:focus { top: 12px; }
.topbar { border-bottom: 1px solid var(--line); }
.bar-inner, nav, .brand, .network, .location, .button, .window-bar, .file-label, figcaption, .footer-inner, .footer-name, footer a, .dialog-bar {
  display: flex; align-items: center;
}
.bar-inner { justify-content: space-between; min-height: 78px; }
.brand { gap: 11px; font: 500 20px var(--mono); letter-spacing: -.075em; }
.brand img, .footer-name img { image-rendering: pixelated; }
.brand-dot, .name-dot { color: var(--accent); }
nav { gap: clamp(18px, 2.8vw, 45px); }
.nav-link, .network { font-size: 14px; font-weight: 650; }
.nav-link { padding-block: 12px; }
.nav-link:hover, footer a:hover { text-decoration: underline; text-underline-offset: 5px; }
.network { gap: 12px; border: 1px solid var(--ink); padding: 10px 16px; }
.network:hover { background: #e9ebdf; }
.hero { display: grid; grid-template-columns: .84fr 1.16fr; gap: clamp(40px, 5vw, 82px); align-items: center; padding-block: clamp(54px, 5.5vw, 84px) clamp(66px, 6.3vw, 96px); }
.location, .file-label, figcaption, .year, .dialog-bar { font: 500 12px/1.5 var(--mono); }
.location { gap: 7px; text-transform: uppercase; letter-spacing: .09em; }
.location svg { height: 15px; width: 15px; stroke-width: 1.5; }
h1,h2,h3,p,figure { margin: 0; }
h1,h2 { font-family: var(--display); font-weight: 400; }
h1 { margin: 26px 0 23px -0.052em; font-size: clamp(80px, 8.55vw, 134px); line-height: .89; letter-spacing: -.083em; }
.name-dot { display: inline-block; margin-left: .035em; }
.role { font-weight: 650; font-size: clamp(22px, 2.1vw, 31px); letter-spacing: -.045em; line-height: 1.25; }
.summary { max-width: 42ch; margin-top: 10px; font-size: clamp(16px, 1.2vw, 18px); color: var(--muted); line-height: 1.55; }
.button { width: fit-content; min-height: 46px; gap: 24px; padding: 12px 17px; font-size: 14px; font-weight: 650; }
.primary { margin-top: 26px; background: var(--ink); color: var(--paper); border: 1px solid var(--ink); box-shadow: 3px 3px var(--accent); }
.primary:hover { background: #344d45; transform: translate(-1px,-1px); box-shadow: 4px 4px var(--accent); }
.primary .icon { height: 16px; width: 16px; }
.art-stage { position: relative; min-width: 0; isolation: isolate; padding: 0 8px 8px 0; }
.art-stage::before { content: ''; position: absolute; inset: -17px -12px -9px 25%; background-image: radial-gradient(#b5bbac 1px, transparent 1px); background-size: 7px 7px; z-index: -1; }
.art-window { border: 2px solid var(--ink); background: var(--paper); box-shadow: 6px 6px var(--ink); }
.window-bar { height: 35px; padding-left: 12px; background: #e6eadf; border-bottom: 2px solid var(--ink); justify-content: space-between; }
.file-label { gap: 9px; }
.window-icon { display: block; width: 13px; height: 11px; border: 1.5px solid; box-shadow: inset 0 2px currentColor; }
.window-actions { align-self: stretch; display: flex; align-items: stretch; }
.motion-toggle {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 0 11px;
  border: 0;
  border-right: 1px solid var(--line);
  background: transparent;
  font: 500 11px var(--mono);
  cursor: pointer;
}
.motion-toggle[hidden] { display: none; }
.motion-toggle:hover { background: #cad2c3; }
.transport-icon { width: 9px; height: 10px; background: currentColor; clip-path: polygon(5% 0, 100% 50%, 5% 100%); }
.motion-toggle[data-playing="true"] .transport-icon {
  clip-path: none;
  background: linear-gradient(to right, currentColor 0 33%, transparent 33% 67%, currentColor 67%);
}
.icon-control { width: 40px; height: 100%; display: grid; place-items: center; background: transparent; border: 0; cursor: pointer; }
.icon-control:hover { background: #cad2c3; }
.icon-control .icon { width: 17px; height: 17px; stroke-width: 2; }
.workshop { width: 100%; height: auto; display: block; }
.scene-slot { position: relative; }
.scene-slot video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; opacity: 0; pointer-events: none; }
.scene-slot video.has-frame { opacity: 1; }
figcaption { min-height: 39px; padding: 7px 13px; border-top: 2px solid var(--ink); justify-content: space-between; }
.palette { display: flex; border: 1px solid var(--ink); }
.palette i { width: 12px; height: 12px; background: #172e35; }
.palette i:nth-child(2) { background: #417570; }
.palette i:nth-child(3) { background: #b5cfa6; }
.palette i:nth-child(4) { background: #f4d6a3; }
.palette i:nth-child(5) { background: var(--accent); }
.history-section { background: #e9eee3; border-block: 1px solid var(--line); }
.section-grid { display: grid; grid-template-columns: .7fr 1.3fr; gap: 6%; padding-block: 72px; }
.section-icon { display: block; width: 28px; height: 25px; position: relative; margin-bottom: 20px; }
.trace-icon { background: linear-gradient(var(--ink),var(--ink)) 4px 4px/2px 15px no-repeat, linear-gradient(var(--ink),var(--ink)) 5px 18px/15px 2px no-repeat, linear-gradient(var(--ink),var(--ink)) 4px 10px/9px 2px no-repeat, linear-gradient(var(--ink),var(--ink)) 12px 3px/2px 9px no-repeat; }
.trace-icon::before, .trace-icon::after { content: ''; position: absolute; height: 5px; width: 5px; background: var(--ink); top: 1px; left: 2px; }
.trace-icon::after { left: 11px; top: 1px; box-shadow: 9px 16px #cb632f; }
.book-icon { border: 2px solid var(--ink); width: 25px; height: 19px; margin-top: 4px; box-shadow: 3px 3px #d17b47; }
.book-icon::before { content:''; position:absolute; left: 10px; top:0; height:100%; border-left:2px solid; }
h2 { font-size: clamp(34px, 3.5vw, 52px); line-height: 1; letter-spacing: -.072em; }
.section-intro p, .jobs li > p:last-child, .education p { color: var(--muted); line-height: 1.55; font-size: 16px; }
.section-intro p { margin-top: 15px; max-width: 260px; }
.jobs { list-style: none; padding: 0; margin: 0; }
.jobs li { border-top: 1px solid #a7b5a9; padding: 21px 0 26px; }
.jobs li:last-child { padding-bottom: 0; }
.entry-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; }
h3 { font-size: clamp(22px, 1.85vw, 28px); line-height: 1.2; letter-spacing: -.043em; }
.year { font-size: 11px; color: #475951; }
.current::before { content: ''; display: inline-block; width: 6px; height: 6px; background: #37755a; vertical-align: 1px; margin-right: 7px; }
.job-role { margin-top: 9px; font-weight: 650; font-size: 16px; line-height: 1.5; }
.jobs li > p:last-child { margin-top: 3px; }
.education article { border-top: 1px solid var(--line); padding: 18px 0 24px; }
.education article:last-child { padding-bottom: 0; }
.education h3 { margin: 8px 0 5px; }
footer { background: var(--ink); color: var(--paper); }
.footer-inner { min-height: 84px; justify-content: space-between; gap: 20px; }
.footer-name, footer a { font: 500 13px var(--mono); gap: 10px; }
footer a { font-family: 'DM Sans', sans-serif; font-size: 14px; }
dialog { width: min(94vw, calc(141dvh - 78px), 1536px); max-width: 94vw; max-height: 94dvh; padding: 0; border: 2px solid var(--ink); background: var(--paper); color: var(--ink); }
dialog::backdrop { background: rgb(15 24 23 / .85); }
dialog img { display: block; width: 100%; height: auto; }
.dialog-bar { justify-content: space-between; padding-left: 12px; height: 44px; border-bottom: 2px solid var(--ink); }
body:has(dialog[open]) { overflow: hidden; }
@media (max-width: 800px) {
  .shell { width: 90%; }
  .hero { grid-template-columns: .88fr 1.12fr; gap: 24px; }
  h1 { font-size: clamp(66px, 10vw, 82px); }
  .section-grid { grid-template-columns: .65fr 1.35fr; gap: 5%; padding-block: 55px; }
  .entry-heading { display: grid; gap: 6px; }
}
@media (max-width: 650px) {
  .bar-inner { min-height: 64px; }
  .brand { font-size: 17px; gap: 5px; }
  .brand img { width: 28px; height: 28px; }
  .nav-link { display: none; }
  .network { font-size: 13px; padding: 8px 11px; gap: 9px; }
  .hero { grid-template-columns: 1fr; gap: 38px; padding: 36px 0 42px; }
  h1 { font-size: clamp(74px, 14vw, 95px); margin-top: 19px; margin-bottom: 18px; }
  .role { font-size: 24px; }
  .summary { max-width: 44ch; }
  .primary { margin-top: 20px; }
  .section-grid { grid-template-columns: 1fr; gap: 26px; padding-block: 42px; }
  .section-icon { margin-bottom: 13px; }
  .section-intro p { margin-top: 10px; max-width: none; }
  .jobs li { padding-block: 17px 21px; }
  .footer-inner { min-height: 76px; gap: 10px; }
  .footer-name { gap: 5px; font-size: 12px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
