:root {
  --oxide: #c45a28;
  --ndt: #28a0b0;
  --spot: #3a2018;
  --paper: #1a1210;
  --ink: #f0e4d8;
  --mute: #a89080;
  --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: 64px; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: var(--sans); line-height: 1.7; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
.app-link { color: var(--ndt); text-decoration: underline; text-underline-offset: 3px; }
button { font-family: inherit; cursor: pointer; }
code { font-family: var(--mono); color: var(--oxide); }
.oxfilm {
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: 6;
  opacity: 0.14;
  background-image: url("images/texture.webp");
  background-size: 340px auto;
  mix-blend-mode: multiply;
}
.skip { position: absolute; left: -999px; }
.skip:focus { left: 10px; top: 10px; z-index: 80; background: var(--ndt); color: #041014; padding: 8px; }
.pierbar {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 10px 20px;
  background: #120c0a;
  border-bottom: 4px solid var(--oxide);
}
.brand { font-weight: 700; }
.brand small { display: block; font-family: var(--mono); font-size: 10px; color: var(--ndt); letter-spacing: 0.14em; }
.nav-toggle { display: none; background: var(--oxide); color: #fff; border: 0; padding: 8px 12px; }
.pier-nav { display: flex; gap: 14px; align-items: center; font-size: 13px; }
.pier-nav a { color: var(--mute); }
.pier-nav a.is-active, .pier-nav a:hover { color: var(--oxide); }
.pier-nav a.live { background: var(--ndt); color: #041014; padding: 7px 12px; }
.mill { position: relative; }
.mill img { width: 100%; height: 54vh; object-fit: cover; min-height: 280px; }
.overlay { padding: 28px 32px 36px; max-width: 52rem; }
.kicker { font-family: var(--mono); letter-spacing: 0.16em; font-size: 11px; color: var(--ndt); margin: 0 0 10px; }
h1, h2, h3 { margin: 0 0 12px; line-height: 1.15; }
h1 { font-size: clamp(26px, 3.8vw, 42px); }
.pierce-demo { margin: 16px 0; }
.wall { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; border-left: 10px solid var(--ndt); border-right: 10px solid var(--ndt); }
.wall button { border: 0; background: #2a1c16; color: var(--ink); padding: 16px 8px; }
.wall button.on { background: var(--oxide); }
.cta { display: flex; flex-wrap: wrap; gap: 10px; }
.btn { display: inline-flex; padding: 10px 14px; border: 1px solid currentColor; }
.btn.fill { background: var(--oxide); color: #fff; border-color: var(--oxide); }
.w { width: min(1080px, calc(100% - 40px)); margin: 0 auto; padding: 64px 0; }
section#need, section#core, section#rules { background: #241814; }
.hot { background: #3a2418; }
.tri { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 20px; }
.tri article, .io > div { background: #2a1c16; padding: 16px; }
.tri ul, .io ul { margin: 0; padding-left: 1.1em; }
.quiet { color: var(--mute); max-width: 46em; }
figure { margin: 24px 0 0; }
figure img { width: 100%; max-height: 280px; object-fit: cover; }
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) {
  .tri, .io, .wall { grid-template-columns: 1fr; }
  .nav-toggle { display: inline-block; }
  .pierbar { position: relative; }
  .pier-nav { display: none; position: absolute; right: 10px; top: 56px; flex-direction: column; background: #120c0a; padding: 10px; border: 1px solid var(--oxide); }
  .pier-nav.open { display: flex; }
}
