:root {
  color-scheme: light;
  --dark: #171b17;
  --paper: #f8f6ef;
  --ink: #1c211a;
  --muted: #4c5647;
  --accent: #d6ed9a;
  --line: #d9dcd0;
  font: 16px/1.55 system-ui, "Segoe UI", sans-serif;
  scroll-behavior: smooth;
}
*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; background: var(--paper); color: var(--ink); }
a { color: inherit; }
a:focus-visible { outline: 2px solid currentColor; outline-offset: 5px; }
.skip { position: absolute; top: 1rem; left: 1rem; padding: .5rem 1rem; background: var(--accent); color: var(--ink); z-index: 2; transform: translateY(-200%); }
.skip:focus { transform: translateY(0); }
.wrap { width: min(70rem, calc(100% - 3rem)); margin-inline: auto; }
.top, .hero { background: var(--dark); color: var(--paper); }
.top { border-bottom: 1px solid #383e35; }
.bar, .footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.bar { min-height: 4.5rem; }
.brand { display: inline-flex; align-items: center; gap: .65rem; font-weight: 670; text-decoration: none; }
.brand-mark { display: grid; place-items: center; width: 2.1rem; height: 2.1rem; border: 1px solid #717d5b; color: var(--accent); font: .78rem ui-monospace, monospace; }
nav { display: flex; gap: clamp(1rem, 4vw, 2rem); font-size: .92rem; }
nav a, .footer-inner a { text-decoration: none; }
nav a:hover, .footer-inner a:hover { text-decoration: underline; text-underline-offset: .3em; }
.hero { padding-block: clamp(3.5rem, 8vw, 7rem); }
.hero-grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(2rem, 7vw, 6rem); align-items: center; }
.eyebrow { margin: 0; font: 650 .73rem/1.5 ui-monospace, "Consolas", monospace; letter-spacing: .1em; text-transform: uppercase; }
.hero-label { color: var(--accent); }
.hero-label span { display: inline-block; width: .45rem; height: .45rem; margin-right: .55rem; border-radius: 50%; background: currentColor; vertical-align: .08em; }
h1, h2, h3 { margin: 0; line-height: 1.04; letter-spacing: -.045em; }
h1 { margin-top: .35em; font-size: clamp(3.25rem, 8.7vw, 7.4rem); font-weight: 720; }
h1 span { color: var(--accent); }
.lede { max-width: 28rem; margin: 1.35rem 0 1.75rem; color: #c6cfc0; font-size: clamp(1rem, 2vw, 1.2rem); }
.button { display: inline-flex; align-items: center; gap: 1.2rem; padding: .7rem 1rem; background: var(--accent); color: var(--dark); text-decoration: none; font-weight: 700; }
.button:hover { background: #e8f9b9; }
.button:focus-visible { outline-color: var(--accent); }
.poster { display: grid; grid-template-rows: auto 1fr auto; min-width: 0; padding: 1.15rem; background: var(--accent); color: #28351d; }
.poster-top, .poster-bottom { display: flex; align-items: center; justify-content: space-between; gap: .5rem; font: 700 .66rem/1.4 ui-monospace, monospace; letter-spacing: .07em; }
.poster svg { width: 100%; height: auto; display: block; }
.section { padding-block: clamp(3rem, 7vw, 5.7rem); scroll-margin-top: 1rem; }
.section-grid { display: grid; grid-template-columns: minmax(9rem, 1fr) 3fr; gap: 1rem 2rem; }
.section-index { padding-top: .65rem; color: var(--muted); }
h2 { font-size: clamp(2rem, 4vw, 3.45rem); }
.body-copy { max-width: 35rem; margin: 1.1rem 0 0; font-size: 1.12rem; color: var(--muted); }
.work { background: #eeefe5; border-block: 1px solid var(--line); }
.project { display: grid; grid-template-columns: 1fr 1.2fr; margin-top: 1.6rem; border: 1px solid #cbd0c1; background: var(--paper); }
.project-art { display: grid; place-items: center; min-height: 12rem; padding: 1.2rem; background: #273326; color: var(--paper); }
.window-frame { width: min(100%, 16rem); border: 1px solid #7c8d6e; transform: rotate(-4deg); }
.window-bar { display: flex; align-items: center; gap: .25rem; padding: .4rem .45rem; border-bottom: 1px solid #7c8d6e; }
.window-bar i { width: .3rem; height: .3rem; border-radius: 50%; background: var(--accent); }
.window-bar span { margin-left: .3rem; font: .63rem ui-monospace, monospace; }
.window-body { padding: 1rem; font-size: clamp(1.2rem, 3vw, 2rem); font-weight: 750; }
.window-body span { color: var(--accent); }
.window-body div { width: 75%; height: 2px; margin-top: .45rem; background: #7c8d6e; }
.window-body div:last-child { width: 55%; }
.project-info { min-width: 0; padding: clamp(1.15rem, 4vw, 2rem); }
.project-info .eyebrow, .project-info p { color: var(--muted); }
.project-info h3 { margin-top: .45rem; font-size: clamp(1.35rem, 3vw, 2rem); overflow-wrap: anywhere; }
.project-info p { margin-bottom: .8rem; }
.tags { display: flex; flex-wrap: wrap; gap: .35rem; list-style: none; margin: 0; padding: 0; }
.tags li { border: 1px solid var(--line); padding: .2rem .45rem; font-size: .75rem; }
footer { padding-block: 1.55rem; color: var(--muted); font-size: .88rem; }
@media (max-width: 700px) {
  .hero-grid, .section-grid { grid-template-columns: 1fr; }
  .poster { max-width: 26rem; }
  .section-index { padding-top: 0; }
}
@media (max-width: 460px) {
  .wrap { width: calc(100% - 2rem); }
  .project { grid-template-columns: 1fr; }
  .brand { font-size: .9rem; gap: .4rem; }
  nav { gap: .8rem; font-size: .83rem; }
}
@media (prefers-reduced-motion: reduce) { :root { scroll-behavior: auto; } }
