:root {
  --scale: #181818;
  --bead: #d4652a;
  --paper: #ece6de;
  --mute: #9a9088;
  --display: "Big Shoulders Display", "Noto Sans SC", sans-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: 68px; }
body { margin: 0; background: var(--paper); color: var(--scale); font-family: var(--sans); line-height: 1.7; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
.app-link { color: var(--bead); text-decoration: underline; text-underline-offset: 3px; }
button { font-family: inherit; cursor: pointer; }
.scale-grain {
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: 1;
  opacity: 0.12;
  background-image: url("images/texture.webp");
  background-size: 300px auto;
  mix-blend-mode: multiply;
}
.skip { position: absolute; left: -999px; }
.skip:focus { left: 12px; top: 12px; z-index: 80; background: var(--bead); color: #fff; padding: 8px; }
.mill-bar {
  position: sticky;
  top: 0;
  z-index: 40;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 10px 22px;
  background: var(--scale);
  color: var(--paper);
  border-bottom: 4px solid var(--bead);
}
.brand { font-family: var(--display); font-size: 32px; font-weight: 700; letter-spacing: 0.04em; }
.brand small { display: block; font-family: var(--mono); font-size: 10px; color: var(--mute); letter-spacing: 0.14em; font-weight: 400; }
.nav-toggle { display: none; background: var(--bead); color: #fff; border: 0; padding: 7px 12px; }
.line-links { display: flex; gap: 14px; font-size: 14px; flex-wrap: wrap; align-items: center; }
.line-links a { color: var(--mute); }
.line-links a.is-active, .line-links a:hover { color: var(--bead); }
.line-links .live { background: var(--bead); color: #fff; padding: 6px 12px; font-weight: 700; }
.line { position: relative; min-height: 90vh; display: block; }
.line .bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.bead {
  position: relative;
  z-index: 2;
  display: inline-block;
  vertical-align: top;
  margin: 72px 0 72px 6vw;
  max-width: 520px;
  padding: 24px;
  background: rgba(24, 24, 24, 0.92);
  color: var(--paper);
}
.kicker { font-family: var(--mono); letter-spacing: 0.14em; font-size: 11px; color: var(--bead); margin: 0 0 10px; }
h1, h2 { font-family: var(--display); margin: 0 0 10px; line-height: 1.05; font-weight: 700; }
h1 { font-size: clamp(30px, 4.6vw, 48px); }
.lead { color: var(--mute); }
.nd { margin: 16px 0; padding: 14px; background: #101010; border-left: 6px solid var(--bead); }
.n { font-family: var(--display); font-size: 34px; margin: 0 0 6px; color: var(--bead); }
.nd button { margin-top: 8px; background: var(--bead); color: #fff; border: 0; padding: 8px 14px; font-weight: 700; }
.cta { display: block; margin-top: 12px; }
.cta .btn, .btn {
  display: inline-block;
  padding: 10px 16px;
  border: 1px solid var(--bead);
  line-height: 1.2;
  margin-right: 8px;
  margin-top: 8px;
}
.btn.fill { background: var(--bead); color: #fff; font-weight: 700; }
.btn.ghost { background: transparent; color: var(--paper); }
.w { width: min(980px, calc(100% - 40px)); margin: 0 auto; padding: 72px 0; }
.scale { background: var(--scale); color: var(--paper); }
.scale .kicker, .scale .app-link { color: var(--bead); }
.scale figure { margin: 24px 0 0; }
.scale figure img { width: 100%; height: 240px; object-fit: cover; }
.scale figcaption { font-size: 13px; color: var(--mute); margin-top: 8px; }
footer { padding: 20px 24px 48px; color: var(--mute); font-size: 13px; background: var(--scale); }
@media (max-width: 900px) {
  .nav-toggle { display: inline-block; }
  .mill-bar { flex-wrap: wrap; }
  .line-links { display: none; width: 100%; flex-direction: column; background: #101010; padding: 12px; }
  .line-links.open { display: flex; }
  .bead { margin: 24px 16px; }
}
