:root {
  color-scheme: light;
  --paper: #f5f2e9;
  --ink: #272e29;
  --muted: #697067;
  --green: #356650;
  --line: #d5d8cb;
  --mono: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  --serif: Georgia, "Times New Roman", serif;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--ink);
  background: var(--paper);
  font-synthesis: none;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 28px; }
body { margin: 0; }
a { color: inherit; -webkit-tap-highlight-color: transparent; }
a:focus-visible { outline: 3px solid #b5633f; outline-offset: 6px; }
img { max-width: 100%; }
::selection { background: #d7e4c3; color: var(--ink); }
.shell { width: min(1200px, calc(100% - 96px)); margin-inline: auto; }
.skip-link { position: fixed; left: 16px; top: 16px; transform: translateY(-150%); z-index: 5; background: var(--ink); color: var(--paper); padding: 12px 18px; }
.skip-link:focus { transform: translateY(0); }

/* Header */
.site-header { display: flex; align-items: center; justify-content: space-between; gap: 32px; min-height: 112px; border-bottom: 1px solid var(--line); }
.brand { display: flex; align-items: center; gap: 11px; text-decoration: none; font-size: 29px; font-weight: 700; letter-spacing: -1.4px; }
.brand img { flex-shrink: 0; }
.brand-dot { color: var(--green); }
nav { display: flex; align-items: center; gap: 32px; }
nav a { text-decoration: none; font-size: 14px; }
nav a:hover, .text-link:hover { text-decoration: underline; text-underline-offset: 5px; }
.nav-archive { display: flex; align-items: center; gap: 21px; padding: 11px 15px; border: 1px solid var(--ink); border-radius: 3px; }
.nav-archive:hover { background: #e9eadd; text-decoration: none; }
.eyebrow { margin: 0; font: 11px/1.6 var(--mono); letter-spacing: 1.3px; text-transform: uppercase; }

/* Introduction and featured Navigator */
.hero { display: grid; grid-template-columns: 1.13fr 1fr; align-items: center; gap: 76px; padding-block: 85px 88px; }
.hero-copy > .eyebrow { display: flex; align-items: center; gap: 9px; }
.status-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--green); flex-shrink: 0; }
h1 { font: normal clamp(48px, 4.8vw, 69px)/1.08 var(--serif); letter-spacing: -2.5px; margin: 28px 0 24px; }
em { font-weight: normal; color: var(--green); }
.intro { font-size: 16px; line-height: 1.8; max-width: 455px; margin: 0; color: #535b53; }
.hero-actions { display: flex; align-items: center; gap: 25px; flex-wrap: wrap; margin-top: 30px; }
.button { display: inline-flex; align-items: center; justify-content: space-between; gap: 23px; background: var(--green); color: #fff; padding: 16px 19px; border-radius: 3px; text-decoration: none; font-size: 13px; font-weight: 600; transition: background .15s; }
.button:hover { background: #254c3b; }
.text-link { display: inline-flex; align-items: center; gap: 12px; font-size: 13px; font-weight: 600; text-decoration: none; }
.hero-footnote { font: 10px/1.8 var(--mono); color: var(--muted); margin: 25px 0 0; }
.project-label { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-bottom: 16px; }
.project-label .eyebrow { font-size: 10px; }
.project-number { font: 10px/1.6 var(--mono); color: var(--muted); }
.navigator-preview { display: block; text-decoration: none; border: 1px solid var(--ink); border-radius: 7px; overflow: hidden; box-shadow: 7px 7px 0 #dedfd2; transition: transform .18s, box-shadow .18s; }
.navigator-preview:hover { transform: translate(-2px, -2px); box-shadow: 9px 9px 0 #d6d9c9; }
.window-bar { height: 37px; display: flex; align-items: center; justify-content: space-between; gap: 15px; padding: 0 14px; background: #e8e9df; font: 10px var(--mono); color: #5a6258; border-bottom: 1px solid var(--ink); }
.window-dots { display: flex; gap: 5px; }
.window-dots i { display: block; width: 6px; height: 6px; border: 1px solid #808877; border-radius: 50%; }
.terminal { padding: 13px 0 0; background: #04274f; color: #f8e71c; font: 12px/1.75 var(--mono); }
.terminal-search { display: flex; justify-content: space-between; color: #7e9ab2; border: 1px solid #1b4b75; border-radius: 3px; margin: 0 12px 10px; padding: 2px 8px; font-size: 10px; }
.terminal-heading, .terminal-row { display: flex; justify-content: space-between; gap: 8px; padding: 4px 17px; }
.terminal-heading { font-size: 10px; font-weight: 700; border-block: 1px solid #1b4b75; background: #06356d; }
.terminal-row:nth-child(even) { background: #103559; }
.terminal-row.selected { background: #ffdf00; color: #04274f; font-weight: 700; }
.terminal-row > span:last-child { font-size: 10px; opacity: .8; }
.terminal-footer { margin-top: 21px; padding: 8px 16px; border-top: 1px solid #1b4b75; font-size: 9px; }
.project-caption { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin: 29px 0 16px; }
.project-caption h2 { font: normal 27px/1.2 var(--serif); letter-spacing: -.5px; margin: 0 0 7px; }
.project-caption p { font-size: 12px; color: var(--muted); margin: 0; }
.project-stamp { font: 9px/1.6 var(--mono); text-align: center; text-transform: uppercase; letter-spacing: .7px; color: var(--green); border: 1px solid #9aa98d; padding: 7px 10px; transform: rotate(-5deg); }
.project-description { font-size: 13px; line-height: 1.8; color: #62695f; max-width: 410px; margin-bottom: 14px; }

/* Interests and introduction */
.workbench { display: grid; grid-template-columns: 1fr 1.45fr; gap: 100px; padding-block: 64px 82px; border-top: 1px solid var(--line); align-items: start; }
.section-intro h2 { font: normal 38px/1.17 var(--serif); letter-spacing: -1px; margin: 22px 0; }
.section-intro > p:last-child { font-size: 14px; line-height: 1.85; color: var(--muted); max-width: 280px; }
.interest { display: grid; grid-template-columns: 25px 1fr 40px; gap: 20px; padding: 23px 0; border-bottom: 1px solid var(--line); }
.interest:first-child { padding-top: 0; }
.interest-number { font: 10px/1.9 var(--mono); color: var(--muted); padding-top: 3px; }
.interest h3 { font-size: 17px; font-weight: 500; letter-spacing: -.25px; margin: 0 0 10px; }
.interest p { font-size: 13px; line-height: 1.85; color: var(--muted); margin: 0; max-width: 425px; }
.interest-symbol { font-size: 32px; color: var(--green); line-height: 1; }
.code-symbol { font: 19px/1.6 var(--mono); }
.interest .text-link { margin-top: 14px; color: var(--green); font-size: 12px; }
.about { background: #263c31; color: #f5f2e9; }
.about-inner { padding-block: 64px; display: grid; grid-template-columns: 1fr 1.45fr; gap: 100px; }
.about .eyebrow { color: #b3c4ac; }
.about h2 { font: normal 53px/1.08 var(--serif); letter-spacing: -1.5px; margin: 24px 0; }
.about em { color: #cbdbac; }
.about-heading img { margin-top: 4px; transform: rotate(-9deg); }
.about-copy { max-width: 530px; }
.about-copy p { font-size: 14px; line-height: 1.9; color: #cfdbcc; margin: 0 0 18px; }
.about-copy .about-lead { font: normal 25px/1.4 var(--serif); color: #f5f2e9; margin-bottom: 23px; }
.about-link { display: inline-flex; align-items: center; gap: 23px; font-size: 13px; line-height: 1.6; text-decoration: none; border-bottom: 1px solid #819775; padding-bottom: 8px; margin-top: 10px; }
.about-link:hover { color: #cbdbac; }
.support-note { margin-top: 26px; padding-top: 20px; border-top: 1px solid #556b5b; }
.support-note p { margin-bottom: 0; }
.support-note .about-link { margin-top: 7px; }
.footer-links { display: flex; align-items: center; flex-wrap: wrap; gap: 20px; }
.site-footer { padding-block: 25px; display: flex; justify-content: space-between; align-items: center; gap: 20px; font: 10px/1.8 var(--mono); color: var(--muted); }
.site-footer p { margin: 0; }
.site-footer p span { padding-inline: 8px; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.error-page { padding-block: 90px 120px; max-width: 800px; }
.error-page h1 { font-size: clamp(42px, 6vw, 72px); }
.error-page p:not(.eyebrow) { font-size: 17px; line-height: 1.8; color: var(--muted); max-width: 550px; }
.error-page .hero-actions { margin-top: 30px; }

@media (min-width: 1500px) {
  .hero { gap: 105px; }
  .hero-copy h1 { font-size: 73px; }
}
@media (max-width: 1100px) {
  .shell { width: calc(100% - 64px); }
  .hero { gap: 40px; padding-block: 64px; }
  h1 { font-size: 53px; }
  .hero-actions { gap: 20px; }
  .workbench, .about-inner { gap: 55px; }
  .project-label { align-items: start; flex-direction: column; gap: 4px; }
}
@media (max-width: 800px) {
  .shell { width: calc(100% - 48px); }
  .site-header { min-height: 92px; gap: 18px; }
  .home-header { flex-wrap: wrap; padding-block: 20px; }
  .home-header nav { width: 100%; flex-wrap: wrap; gap: 14px 19px; justify-content: space-between; }
  .brand { font-size: 25px; }
  .brand img { width: 35px; height: 35px; }
  nav { gap: 19px; }
  nav a { font-size: 12px; }
  .nav-archive { gap: 9px; padding: 9px 11px; }
  .hero { grid-template-columns: 1fr; gap: 56px; padding-block: 48px 64px; }
  h1 { font-size: clamp(48px, 8vw, 69px); }
  .intro { max-width: 540px; }
  .featured-project { max-width: 550px; width: 100%; margin-inline: auto; }
  .project-label { flex-direction: row; align-items: center; }
  .workbench { grid-template-columns: 1fr; gap: 28px; padding-block: 46px 56px; }
  .section-intro h2 { font-size: 36px; }
  .section-intro > p:last-child { max-width: 480px; }
  .interest:first-child { padding-top: 20px; border-top: 1px solid var(--line); }
  .interest p { max-width: 100%; }
  .about-inner { gap: 40px; grid-template-columns: .8fr 1.2fr; padding-block: 48px; }
  .about h2 { font-size: 46px; }
  .about-copy .about-lead { font-size: 23px; }
  .site-footer { flex-wrap: wrap; gap: 6px 20px; }
  .site-footer p:nth-child(2) { order: 3; width: 100%; }
}
@media (max-width: 480px) {
  .shell { width: calc(100% - 36px); }
  .site-header { min-height: 85px; flex-wrap: wrap; gap: 16px; padding-block: 20px; }
  .brand { font-size: 26px; }
  nav { width: 100%; justify-content: space-between; gap: 12px; }
  .home-header nav { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px 12px; align-items: center; }
  .home-header .nav-archive { grid-column: 3; grid-row: 1; justify-content: center; }
  .nav-archive { padding: 7px 10px; }
  h1 { font-size: 48px; letter-spacing: -1.9px; }
  .eyebrow { font-size: 10px; letter-spacing: 1px; }
  .hero { padding-top: 37px; gap: 45px; }
  .intro { font-size: 15px; }
  .hero-actions { align-items: start; flex-direction: column; gap: 22px; }
  .hero-footnote { font-size: 9px; }
  .project-number { font-size: 9px; }
  .project-label .eyebrow { font-size: 9px; }
  .terminal { font-size: 11px; }
  .terminal-footer { font-size: 8px; }
  .project-caption h2 { font-size: 25px; }
  .project-stamp { font-size: 8px; padding: 6px; }
  .interest { grid-template-columns: 20px 1fr 25px; gap: 12px; }
  .interest-symbol { font-size: 26px; }
  .code-symbol { font-size: 15px; }
  .about-inner { grid-template-columns: 1fr; gap: 28px; }
  .about-heading { position: relative; }
  .about-heading img { position: absolute; right: 15px; bottom: 8px; width: 75px; height: 75px; }
  .about h2 { margin-bottom: 0; }
  .about-copy .about-lead { font-size: 25px; }
  .about-link { gap: 13px; }
  .site-footer { font-size: 9px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
