:root {
  --ledger: #cfe3d4;
  --cream: #f3eee4;
  --ink: #1c2420;
  --fine: #a32a28;
  --sub: #2a5a8a;
  --lamp: #2f6b3c;
  --mute: #5a6a62;
  --serif: "Noto Serif SC", "Songti SC", serif;
  --sans: "Noto Sans SC", "PingFang SC", sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, monospace;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
section[id] { scroll-margin-top: 72px; }
body { margin: 0; color: var(--ink); background: var(--cream); font-family: var(--sans); line-height: 1.7; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
.app-link { color: var(--lamp); text-decoration: underline; text-underline-offset: 3px; }
button { font-family: inherit; cursor: pointer; }
code { font-family: var(--mono); }
.fiber { pointer-events: none; position: fixed; inset: 0; z-index: 6; opacity: 0.14; background-image: url("images/texture.webp"); background-size: 360px auto; mix-blend-mode: multiply; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 10px; top: 10px; z-index: 80; background: #fff; padding: 8px; }
.lampbar { position: sticky; top: 0; z-index: 50; display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 10px 20px; background: rgba(47,107,60,0.94); color: var(--cream); }
.brand { font-family: var(--serif); }
.brand small { display: block; font-family: var(--mono); font-size: 10px; letter-spacing: 0.14em; opacity: 0.8; }
.nav-toggle { display: none; background: var(--cream); color: var(--lamp); border: 0; padding: 8px 12px; }
.perfor-nav { display: flex; gap: 14px; align-items: center; font-size: 13px; }
.perfor-nav a { color: #d5e8d8; }
.perfor-nav a.is-active, .perfor-nav a:hover { color: #fff; }
.perfor-nav a.live { background: var(--cream); color: var(--lamp); padding: 7px 12px; }
.spread { display: grid; grid-template-columns: 1fr 18px 1fr; min-height: 70vh; }
.left { background: var(--ledger); padding: 48px 6vw; background-image: repeating-linear-gradient(var(--ledger), var(--ledger) 27px, rgba(28,36,32,0.08) 28px); }
.right { padding: 48px 6vw; }
.perf { background: radial-gradient(circle at center, transparent 5px, var(--ink) 6px, var(--ink) 7px, transparent 8px) 0 0 / 18px 18px; background-color: var(--cream); }
.kicker { font-family: var(--mono); letter-spacing: 0.16em; font-size: 11px; color: var(--lamp); margin: 0 0 10px; }
h1, h2, h3 { font-family: var(--serif); margin: 0 0 12px; line-height: 1.15; }
h1 { font-size: clamp(30px, 4.4vw, 48px); }
.tear { margin: 12px 0 20px; padding: 16px; background: #fff; border: 1px dashed var(--fine); }
.split-btns { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 10px; }
.split-btns button { border: 1px solid var(--ink); background: #fff; padding: 8px 12px; }
.split-btns button.on { background: var(--fine); color: #fff; border-color: var(--fine); }
#split-id { font-family: var(--mono); margin: 0 0 6px; }
.cta { display: flex; flex-wrap: wrap; gap: 10px; }
.btn { display: inline-flex; padding: 10px 14px; border: 1px solid currentColor; }
.btn.fill { background: var(--lamp); color: #fff; border-color: var(--lamp); }
.hero-fig { margin: 0; }
.hero-fig img { width: 100%; max-height: 320px; object-fit: cover; }
.hero-fig figcaption { padding: 8px 6vw 0; font-size: 13px; color: var(--mute); }
.w { width: min(1080px, calc(100% - 40px)); margin: 0 auto; padding: 72px 0; }
.green { background: var(--ledger); }
.tri { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 20px; }
.tri article, .io > div { background: #fff; padding: 16px; }
.tri ul, .io ul { margin: 0; padding-left: 1.1em; }
.quiet { color: var(--mute); max-width: 46em; }
.pair { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 20px; }
.pair figure, #tear figure { margin: 0; }
.pair img, #tear img { width: 100%; }
.pair figcaption, #tear figcaption { font-size: 13px; color: var(--mute); margin-top: 8px; }
.io { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
footer { padding: 18px 22px 36px; font-family: var(--mono); font-size: 12px; color: var(--mute); }
@media (max-width: 900px) {
  .spread, .tri, .pair, .io { grid-template-columns: 1fr; }
  .perf { height: 18px; background-size: 18px 18px; }
  .nav-toggle { display: inline-block; }
  .perfor-nav { display: none; position: absolute; right: 10px; top: 52px; flex-direction: column; background: var(--lamp); padding: 10px; }
  .perfor-nav.open { display: flex; }
}
