:root {
  --char: #111318;
  --runway: #f4f1ea;
  --amber: #e8a325;
  --block: #c0392b;
  --mute: #9aa0a8;
  --display: "Barlow Condensed", "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: 72px; }
body { margin: 0; background: var(--runway); color: var(--char); font-family: var(--sans); line-height: 1.7; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
.app-link { color: var(--amber); text-decoration: underline; text-underline-offset: 3px; }
button { font-family: inherit; cursor: pointer; }
.apron-grain {
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: 6;
  opacity: 0.12;
  background-image: url("images/texture.webp");
  background-size: 280px auto;
  mix-blend-mode: multiply;
}
.skip { position: absolute; left: -999px; }
.skip:focus { left: 12px; top: 12px; z-index: 80; background: var(--amber); color: #111; padding: 8px; }
.occ-bar {
  position: sticky;
  top: 0;
  z-index: 40;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 10px 22px;
  background: var(--char);
  color: var(--runway);
  border-bottom: 3px solid var(--amber);
}
.occ-bar::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -7px;
  height: 4px;
  background: repeating-linear-gradient(90deg, var(--runway) 0 18px, var(--char) 18px 28px);
}
.brand { font-family: var(--display); font-size: 30px; font-weight: 700; letter-spacing: 0.08em; }
.brand small { display: block; font-family: var(--mono); font-size: 10px; color: var(--mute); letter-spacing: 0.16em; font-weight: 400; }
.nav-toggle { display: none; background: var(--amber); color: #111; border: 0; padding: 7px 12px; font-weight: 700; }
.relay-links { display: flex; gap: 14px; font-size: 14px; flex-wrap: wrap; align-items: center; }
.relay-links a { color: var(--mute); }
.relay-links a.is-active, .relay-links a:hover { color: var(--amber); }
.relay-links .live { background: var(--amber); color: #111; padding: 6px 12px; font-weight: 700; }
.apron { position: relative; min-height: 90vh; display: flex; align-items: flex-end; }
.apron .bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.beacon {
  position: relative;
  z-index: 2;
  margin: 0 0 48px 7vw;
  max-width: 540px;
  padding: 26px;
  background: rgba(17, 19, 24, 0.92);
  color: var(--runway);
  border-left: 8px solid var(--amber);
}
.kicker { font-family: var(--mono); letter-spacing: 0.16em; font-size: 11px; color: var(--amber); margin: 0 0 10px; }
h1, h2 { font-family: var(--display); margin: 0 0 10px; line-height: 1.05; font-weight: 700; text-transform: uppercase; }
h1 { font-size: clamp(34px, 5vw, 56px); }
.lead { color: var(--mute); }
.baton { margin: 16px 0; padding: 14px; background: #0b0c10; border: 1px dashed var(--amber); }
.n { font-family: var(--display); font-size: 36px; margin: 0 0 6px; color: var(--amber); }
.baton button { margin-top: 8px; background: var(--amber); color: #111; border: 0; padding: 8px 14px; font-weight: 700; }
.cta { display: flex; flex-wrap: wrap; gap: 10px; }
.btn { display: inline-flex; padding: 10px 16px; border: 1px solid currentColor; }
.btn.fill { background: var(--amber); color: #111; border-color: var(--amber); font-weight: 700; }
.w { width: min(1000px, calc(100% - 40px)); margin: 0 auto; padding: 76px 0; }
.night { background: var(--char); color: var(--runway); }
.night .kicker, .night .app-link { color: var(--amber); }
.night figure { margin: 24px 0 0; }
.night figure img { width: 100%; height: 260px; object-fit: cover; }
.night figcaption { font-size: 13px; color: var(--mute); margin-top: 8px; }
.stamp { display: grid; grid-template-columns: 160px 1fr; gap: 18px; align-items: center; margin-top: 20px; }
.stamp img { width: 160px; height: 160px; object-fit: cover; min-height: 0; }
footer { padding: 20px 24px 56px; color: var(--mute); font-size: 13px; background: var(--char); }
@media (max-width: 900px) {
  .nav-toggle { display: inline-block; }
  .occ-bar { flex-wrap: wrap; }
  .relay-links { display: none; width: 100%; flex-direction: column; background: #0b0c10; padding: 12px; }
  .relay-links.open { display: flex; }
  .beacon { margin: 24px 16px 32px; }
  .stamp { grid-template-columns: 1fr; }
}
