:root {
  color-scheme: light;
  --ink: #192e26;
  --green: #20533d;
  --muted: #51655b;
  --rule: #ccd4c9;
  --paper: #fafbf5;
  --serif: "PT Serif", Georgia, "Times New Roman", serif;
  --sans: "Inter", "Roboto", system-ui, sans-serif;
  --mono: "IBM Plex Mono", Consolas, monospace;
}
* { box-sizing: border-box; }
body { margin: 0; color: var(--ink); background: var(--paper); font: 1rem/1.55 var(--sans); }
a { color: var(--green); text-underline-offset: .2em; }
a:hover { text-decoration-thickness: 2px; }
a:focus-visible { outline: 3px solid #bd5a19; outline-offset: 4px; }
img { display: block; max-width: 100%; height: auto; }
.wrap { width: min(74rem, calc(100% - 6rem)); margin: 0 auto; }
.skip { position: absolute; left: .8rem; top: -8rem; z-index: 1; padding: .6rem 1rem; background: white; }
.skip:focus { top: .5rem; }
header { border-top: 5px solid var(--green); }
.bar { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; min-height: 5.75rem; border-bottom: 1px solid var(--rule); }
.brand { display: inline-flex; gap: .65rem; align-items: center; color: var(--ink); text-decoration: none; font: bold 1.65rem/1 var(--serif); letter-spacing: -.055em; white-space: nowrap; }
.brand img { width: 2.15rem; height: 2.15rem; border-radius: .35rem; }
nav { display: flex; gap: clamp(.8rem, 3vw, 2.1rem); }
nav a { padding: .5rem 0; text-decoration: none; font-weight: 550; font-size: .94rem; }
nav a:hover, nav a[aria-current="page"] { text-decoration: underline; }
.hero { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(2rem, 5vw, 5rem); align-items: center; padding: clamp(2.2rem, 6vw, 5rem) 0; }
.meta { color: var(--muted); font: 600 .8rem/1.5 var(--mono); letter-spacing: .045em; }
.hero h1, .page h1 { margin: .75rem 0 1rem; font: 500 clamp(2.75rem, 5.6vw, 5.5rem)/1.01 var(--serif); letter-spacing: -.055em; }
.hero h1 a, .story h3 a { color: inherit; text-decoration: none; }
.hero h1 a:hover, .story h3 a:hover { text-decoration: underline; text-decoration-thickness: .055em; }
.dek { font: 1.13rem/1.55 var(--sans); margin: 0 0 1.4rem; color: var(--muted); max-width: 39rem; }
.read { display: inline-block; font-size: .95rem; color: var(--paper); background: var(--green); border-radius: .3rem; padding: .65rem 1.15rem; font-weight: 600; text-decoration: none; }
.read:hover { background: #143c2b; }
figure { margin: 0; }
.scope { padding: clamp(.9rem, 2.5vw, 1.8rem); color: #dce7d0; background: #102b26; border-radius: .45rem; }
.scope-head, .scope figcaption { display: flex; justify-content: space-between; gap: 1rem; align-items: baseline; }
.scope-head { border-bottom: 1px solid #446458; padding-bottom: .7rem; font: .84rem var(--mono); }
.scope-head span:last-child { color: #c4d2b9; }
.scope img { width: 100%; }
.scope figcaption { color: #cbd7bf; border-top: 1px solid #446458; padding-top: .8rem; font-size: .84rem; }
.archive { border-top: 2px solid var(--green); padding: 1.3rem 0 4rem; }
.archive h2 { margin: 0 0 1.5rem; font: 500 clamp(1.9rem, 3.5vw, 2.7rem)/1.15 var(--serif); letter-spacing: -.045em; }
.cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(1.5rem, 4vw, 3.4rem); }
.story { display: grid; grid-template-columns: 35% 1fr; gap: 1.2rem; align-items: start; }
.thumb { padding: .6rem; background: #dfdfd0; border-radius: .35rem; aspect-ratio: 1.36; display: grid; align-items: center; }
.thumb.bits { background: #c5cfac; }
.story h3 { margin: .3rem 0 .45rem; font: 500 clamp(1.3rem, 2.1vw, 1.9rem)/1.15 var(--serif); letter-spacing: -.035em; }
.story p { margin: 0; color: var(--muted); font-size: .94rem; line-height: 1.5; }
.foot { min-height: 5rem; display: flex; align-items: center; flex-wrap: wrap; justify-content: space-between; gap: .7rem 1.5rem; border-top: 1px solid var(--rule); color: var(--muted); font-size: .9rem; }
.foot a { text-decoration: none; }
.foot a:hover { text-decoration: underline; }
.page { width: min(43rem, 100%); margin: 0 auto; padding: clamp(2.3rem, 6vw, 5rem) 0; }
.page h1 { font-size: clamp(2.65rem, 5.7vw, 4.5rem); }
.page h2 { margin: 2.1rem 0 .5rem; font: 500 clamp(1.55rem, 3vw, 2rem)/1.17 var(--serif); letter-spacing: -.03em; }
.page p, .page li { font-size: 1.08rem; line-height: 1.7; }
.page .lead { color: var(--muted); font-size: 1.21rem; line-height: 1.55; }
.page pre { padding: 1rem; overflow: auto; background: #e9eee3; border-left: 3px solid var(--green); border-radius: .18rem; font: .88rem/1.6 var(--mono); }
.page figure { margin: 2rem 0; }
.plate img { width: 100%; border-radius: .35rem; }
.plate figcaption { padding-top: .7rem; color: var(--muted); font-size: .88rem; }
.after { border-top: 1px solid var(--rule); padding-top: 1.3rem; margin-top: 2.5rem; }
@media (max-width: 64rem) {
  .wrap { width: calc(100% - 3.5rem); }
  .story { grid-template-columns: 1fr; gap: .75rem; }
  .thumb { aspect-ratio: 2.55; }
  .thumb img { max-height: 9rem; width: 100%; object-fit: contain; }
}
@media (max-width: 47rem) {
  .wrap { width: calc(100% - 2.25rem); }
  .bar { min-height: 4.6rem; gap: .6rem; }
  .brand { font-size: 1.45rem; gap: .4rem; }
  .brand img { width: 1.7rem; height: 1.7rem; }
  nav a { font-size: .86rem; }
  .hero { grid-template-columns: 1fr; gap: 1.6rem; }
  .hero h1 { font-size: clamp(2.8rem, 10vw, 4.4rem); }
  .cards { grid-template-columns: 1fr; gap: 1.5rem; }
  .story { grid-template-columns: 30% 1fr; gap: .95rem; }
  .thumb { aspect-ratio: 1.25; padding: .25rem; }
  .archive { padding-bottom: 2rem; }
  .foot { align-content: center; }
}
@media (max-width: 24rem) {
  .bar { flex-wrap: wrap; gap: .15rem 1rem; padding: .7rem 0; }
  .scope-head { font-size: .76rem; }
  .story { grid-template-columns: 1fr; }
  .thumb { aspect-ratio: auto; }
}
