:root {
  --night: #12151a;
  --ash: #9ba3ad;
  --kiln: #c45a28;
  --fog: #e8eaee;
  --mute: #7b828c;
  --display: "Quantico", "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: 64px; }
body { margin: 0; background: var(--fog); color: var(--night); font-family: var(--sans); line-height: 1.7; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
.app-link { color: var(--kiln); text-decoration: underline; text-underline-offset: 3px; }
button { font-family: inherit; cursor: pointer; }
.ash-grain {
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: 6;
  opacity: 0.16;
  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(--kiln); color: #fff; padding: 8px; }
.catwalk {
  position: sticky;
  top: 0;
  z-index: 40;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 10px 22px;
  background: var(--night);
  color: var(--fog);
  border-bottom: 3px solid var(--kiln);
}
.brand { font-family: var(--display); font-size: 28px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; }
.brand small { display: block; font-family: var(--mono); font-size: 10px; color: var(--ash); letter-spacing: 0.16em; font-weight: 400; }
.nav-toggle { display: none; background: var(--kiln); color: #fff; border: 0; padding: 7px 12px; }
.silo-links { display: flex; gap: 14px; font-size: 14px; flex-wrap: wrap; align-items: center; }
.silo-links a { color: var(--ash); }
.silo-links a.is-active, .silo-links a:hover { color: var(--fog); }
.silo-links .live { background: var(--kiln); color: #fff; padding: 6px 12px; font-weight: 700; }
.bay {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  min-height: 88vh;
  background: var(--night);
  color: var(--fog);
}
.bay .panel { padding: 40px 32px 48px 6vw; align-self: center; }
.bay figure { margin: 0; }
.bay figure img { width: 100%; height: 100%; object-fit: cover; min-height: 88vh; }
.kicker { font-family: var(--mono); letter-spacing: 0.14em; font-size: 11px; color: var(--kiln); margin: 0 0 10px; }
h1, h2 { font-family: var(--display); margin: 0 0 10px; line-height: 0.95; font-weight: 700; letter-spacing: 0.02em; text-transform: uppercase; }
h1 { font-size: clamp(34px, 4.6vw, 58px); }
.lead { color: var(--ash); max-width: 46ch; }
.readout {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 16px;
  margin: 22px 0;
  padding: 14px;
  background: #1b2026;
  border: 1px solid #3a424c;
  max-width: 460px;
}
.readout.is-ok { border-color: var(--kiln); }
.tower {
  position: relative;
  height: 140px;
  border-radius: 36px 36px 8px 8px;
  background: #2a3138;
  overflow: hidden;
  border: 2px solid var(--ash);
}
.tower i {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 78%;
  background: linear-gradient(var(--ash), #6d737a);
}
.readout.is-ok .tower i { height: 42%; background: linear-gradient(#d47848, var(--kiln)); }
.n { font-family: var(--display); font-size: 56px; line-height: 0.9; margin: 0; }
.n small { font-size: 16px; margin-left: 4px; color: var(--kiln); }
.state { margin: 6px 0 4px; color: var(--kiln); font-weight: 700; }
.hint { font-size: 13px; color: var(--mute); margin: 0 0 10px; }
.readout button { background: var(--kiln); color: #fff; 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 var(--kiln); position: static; }
.btn.fill { background: var(--kiln); color: #fff; font-weight: 700; position: static; }
.btn.line { color: var(--fog); }
.w { width: min(1000px, calc(100% - 40px)); margin: 0 auto; padding: 72px 0; }
.need-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; list-style: none; padding: 0; margin: 24px 0 0; }
.need-grid li { background: #fff; padding: 16px; border-top: 6px solid var(--kiln); }
.kiln { background: var(--night); color: var(--fog); }
.kiln .kicker, .kiln .app-link { color: var(--kiln); }
.steps { list-style: none; padding: 0; margin: 0; counter-reset: st; }
.steps li {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid #2c333b;
  counter-increment: st;
}
.steps li::before {
  content: counter(st);
  font-family: var(--display);
  font-size: 28px;
  color: var(--kiln);
}
.steps li p { margin: 4px 0 0; color: var(--ash); }
.pair { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; align-items: center; }
.pair figure { margin: 0; }
.pair img { width: 100%; height: 280px; object-fit: cover; }
.pair figcaption { font-size: 13px; color: var(--ash); margin-top: 8px; }
footer { padding: 20px 24px 48px; background: var(--night); color: var(--mute); font-size: 13px; }
@media (max-width: 900px) {
  .nav-toggle { display: inline-block; }
  .catwalk { flex-wrap: wrap; }
  .silo-links { display: none; width: 100%; flex-direction: column; background: #1b2026; padding: 12px; }
  .silo-links.open { display: flex; }
  .bay { grid-template-columns: 1fr; }
  .bay figure img { min-height: 42vh; }
  .bay .panel { padding: 28px 18px 36px; }
  .need-grid, .pair { grid-template-columns: 1fr; }
  .n { font-size: 44px; }
}
