:root {
  --berm: #c4a06a;
  --pink: #e8a0a8;
  --green: #78b8a0;
  --salt: #f4f0e8;
  --rain: #6a7a82;
  --ink: #2a2218;
  --mute: #7a6a58;
  --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(--salt); font-family: var(--sans); line-height: 1.7; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
.app-link { color: #8a4a28; text-decoration: underline; text-underline-offset: 3px; }
button { font-family: inherit; cursor: pointer; }
code { font-family: var(--mono); }
.grain { pointer-events: none; position: fixed; inset: 0; z-index: 6; opacity: 0.18; background-image: url("images/texture.webp"); background-size: 380px auto; mix-blend-mode: multiply; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 10px; top: 10px; z-index: 80; background: var(--pink); padding: 8px; }
.calbar { position: sticky; top: 0; z-index: 50; display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 10px 20px; background: rgba(244,240,232,0.94); border-bottom: 8px solid var(--berm); }
.brand { font-weight: 700; }
.brand small { display: block; font-family: var(--mono); font-size: 10px; color: var(--mute); letter-spacing: 0.14em; }
.nav-toggle { display: none; background: var(--berm); color: #1a1208; border: 0; padding: 8px 12px; }
.cal-nav { display: flex; gap: 14px; align-items: center; font-size: 13px; }
.cal-nav a { color: var(--mute); }
.cal-nav a.is-active, .cal-nav a:hover { color: #8a4a28; }
.cal-nav a.live { background: var(--berm); color: #1a1208; padding: 7px 12px; }
.pans { display: grid; grid-template-columns: 1.15fr 0.85fr; }
.pans figure { margin: 0; }
.pans img { width: 100%; height: 100%; object-fit: cover; min-height: 420px; }
.copy { padding: 40px 32px; }
.kicker { font-family: var(--mono); letter-spacing: 0.16em; font-size: 11px; color: #8a4a28; margin: 0 0 10px; }
h1, h2, h3 { margin: 0 0 12px; line-height: 1.15; }
h1 { font-size: clamp(28px, 4.2vw, 44px); }
.baume { margin: 16px 0; padding: 14px; background: #fff; border: 1px solid var(--berm); }
.baume input { width: 100%; accent-color: var(--pink); }
.cta { display: flex; flex-wrap: wrap; gap: 10px; }
.btn { display: inline-flex; padding: 10px 14px; border: 1px solid currentColor; }
.btn.fill { background: var(--berm); color: #1a1208; border-color: var(--berm); }
.grid-pans { list-style: none; display: grid; grid-template-columns: repeat(8, 1fr); gap: 6px; margin: 0; padding: 8px; background: var(--berm); }
.grid-pans li { height: 28px; }
.p1 { background: var(--pink); }
.p2 { background: var(--green); }
.p3 { background: #fff; }
.w { width: min(1080px, calc(100% - 40px)); margin: 0 auto; padding: 72px 0; }
.berm { background: #ebe3d4; }
.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, .wide, #win figure { margin: 0; }
.pair img, .wide img, #win img { width: 100%; max-height: 240px; object-fit: cover; }
.wide { margin-top: 16px; }
.pair figcaption, .wide figcaption, #win 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) {
  .pans, .tri, .pair, .io, .grid-pans { grid-template-columns: 1fr 1fr; }
  .pans, .tri, .pair, .io { grid-template-columns: 1fr; }
  .nav-toggle { display: inline-block; }
  .cal-nav { display: none; position: absolute; right: 10px; top: 52px; flex-direction: column; background: var(--salt); padding: 10px; border: 1px solid var(--berm); }
  .cal-nav.open { display: flex; }
}
