:root {
  --aqua: #2f7a86;
  --kraft: #b86a32;
  --paper: #f3ead6;
  --ink: #2a2218;
  --mute: #6a5e4e;
  --display: "Crimson Text", "Noto Serif SC", serif;
  --sans: "Noto Sans SC", "PingFang SC", sans-serif;
  --mono: "Azeret Mono", ui-monospace, monospace;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
section[id] { scroll-margin-top: 70px; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--sans); line-height: 1.7; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
.app-link { color: var(--aqua); text-decoration: underline; text-underline-offset: 3px; }
button { font-family: inherit; cursor: pointer; }
.kraft {
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: 6;
  opacity: 0.12;
  background-image: url("images/texture.webp");
  background-size: 420px auto;
  mix-blend-mode: multiply;
}
.beam {
  pointer-events: none;
  position: fixed;
  top: 0;
  left: 50%;
  width: 2px;
  height: 100%;
  background: var(--aqua);
  opacity: 0.25;
  z-index: 5;
}
.skip { position: absolute; left: -999px; }
.skip:focus { left: 12px; top: 12px; z-index: 80; background: var(--aqua); color: #fff; padding: 8px; }
.fulcrum {
  position: sticky;
  top: 0;
  z-index: 40;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 10px 22px;
  background: rgba(243, 234, 214, 0.94);
  border-bottom: 2px solid var(--aqua);
}
.brand { font-family: var(--display); font-size: 28px; font-weight: 700; }
.brand small { display: block; font-family: var(--mono); font-size: 10px; color: var(--mute); letter-spacing: 0.12em; font-weight: 400; }
.nav-toggle { display: none; background: var(--aqua); color: #fff; border: 0; padding: 7px 12px; }
.mb-links { display: flex; gap: 14px; font-size: 14px; flex-wrap: wrap; align-items: center; }
.mb-links a { color: var(--mute); }
.mb-links a.is-active, .mb-links a:hover { color: var(--aqua); }
.mb-links .live { background: var(--aqua); color: #fff; padding: 6px 12px; font-weight: 700; }
.hero { position: relative; }
.hero > img { width: 100%; height: calc(100vh - 58px); object-fit: cover; }
.pans {
  position: absolute;
  right: 5vw;
  bottom: 6vh;
  width: min(540px, 46vw);
  z-index: 2;
  padding: 28px;
  background: rgba(243, 234, 214, 0.94);
  border-top: 6px solid var(--kraft);
}
.kicker, .vlabel { font-family: var(--mono); letter-spacing: 0.14em; font-size: 11px; color: var(--aqua); margin: 0 0 10px; }
h1, h2, h3 { font-family: var(--display); margin: 0 0 10px; line-height: 1.15; }
h1 { font-size: clamp(36px, 5vw, 56px); }
.lead, .lede { color: var(--mute); }
.meta { font-family: var(--mono); font-size: 12px; color: var(--kraft); }
.actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 12px; }
.aqua { display: inline-flex; padding: 10px 16px; border: 1px solid var(--aqua); }
.aqua.fill { background: var(--aqua); color: #fff; font-weight: 700; }
.yard { width: min(1040px, calc(100% - 40px)); margin: 0 auto; padding: 72px 0; }
.trio { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 12px; }
.lot { background: #fff; padding: 16px; border-top: 4px solid var(--kraft); }
.alt { background: #e7dcc4; }
.steps { list-style: none; padding: 0; }
.steps li { display: grid; grid-template-columns: 48px 1fr; gap: 10px; margin: 10px 0; }
.steps span { font-family: var(--mono); color: var(--aqua); }
.lot-board { margin-top: 20px; padding: 16px; background: #fff; border-left: 8px solid var(--kraft); }
.mono { font-family: var(--mono); }
.pan-row { display: flex; flex-wrap: wrap; gap: 8px; margin: 16px 0; }
.pan-btn { background: #fff; border: 1px solid var(--aqua); padding: 8px 14px; }
.pan-btn.is-on { background: var(--aqua); color: #fff; }
.lock { font-family: var(--display); font-size: 22px; }
.pair { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 24px; }
.pair figure, #flow figure { margin: 0; }
.pair img, #flow figure img { width: 100%; height: 220px; object-fit: cover; }
.pair figcaption, #flow figcaption { font-size: 13px; color: var(--mute); margin-top: 8px; }
.posts { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; padding: 0; list-style: none; }
.posts li { background: #fff; padding: 16px; }
.edge { padding-left: 1.1em; }
.foot { padding: 20px 24px 48px; color: var(--mute); font-size: 13px; }
@media (max-width: 900px) {
  .nav-toggle { display: inline-block; }
  .fulcrum { flex-wrap: wrap; }
  .mb-links { display: none; width: 100%; flex-direction: column; background: #e7dcc4; padding: 12px; }
  .mb-links.open { display: flex; }
  .hero > img { height: 42vh; }
  .pans { position: static; width: auto; }
  .trio, .pair, .posts { grid-template-columns: 1fr; }
  .beam { display: none; }
}
