/* ==========================================================================
   CRIMELINK — "EVIDENCE ROOM" launch site
   acts.css — cover, the city, the loop, exhibits, arsenal, the fight, the wire
   ========================================================================== */

/* --- Shared: the device frame -------------------------------------------- */
/* Real captures are 720x1480. The frame is a thin instrument bezel, not a
   glossy marketing mockup. */

.device {
  position: relative;
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--rule-hi);
  border-radius: 3px;
  background: #000;
  box-shadow:
    0 1px 0 rgb(255 255 255 / 6%) inset,
    0 26px 70px rgb(0 0 0 / 62%);
}

.device > img,
.device > video {
  width: 100%;
  aspect-ratio: 720 / 1480;
  object-fit: cover;
}

.device::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(200deg, rgb(255 255 255 / 5%) 0%, transparent 34%);
}

/* Corner brackets — the surveillance-frame motif */
.brackets { position: relative; }

.brackets::before,
.brackets::after {
  content: "";
  position: absolute;
  z-index: 2;
  width: 22px;
  height: 22px;
  border: 1px solid var(--red);
  pointer-events: none;
}

.brackets::before { top: -8px; left: -8px; border-right: 0; border-bottom: 0; }
.brackets::after { right: -8px; bottom: -8px; border-top: 0; border-left: 0; }

/* ==========================================================================
   00 / COVER
   ========================================================================== */

.cover {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.06fr) minmax(0, 0.94fr);
  align-items: center;
  gap: clamp(30px, 5vw, 76px);
  min-height: min(820px, calc(100svh - var(--masthead)));
  padding: clamp(40px, 4vw, 62px) var(--side) clamp(52px, 5vw, 78px) calc(var(--side) + var(--rail));
  border-top: 0;
  overflow: hidden;
}

.cover__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    linear-gradient(96deg, rgb(8 9 10 / 97%) 0%, rgb(8 9 10 / 88%) 40%, rgb(8 9 10 / 34%) 100%),
    linear-gradient(0deg, var(--void) 0%, transparent 42%),
    url("../assets/hero-hideout.webp") center 46% / cover no-repeat;
  filter: saturate(0.72) contrast(1.06);
}

/* Measured-grid overlay: reads as a survey plate, not a "tech" grid */
.cover__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.5;
  background:
    repeating-linear-gradient(90deg, transparent 0 119px, rgb(236 231 218 / 3.4%) 119px 120px),
    repeating-linear-gradient(0deg, transparent 0 119px, rgb(236 231 218 / 2.2%) 119px 120px);
}

.cover__copy,
.cover__stack { position: relative; z-index: 1; }

.cover__file {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  align-items: center;
  margin-bottom: 26px;
  padding-bottom: 15px;
  border-bottom: 1px solid var(--rule);
}

.cover__file .record { color: var(--paper); }

.cover__status {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 5px 11px;
  border: 1px solid rgb(212 175 55 / 40%);
  background: rgb(212 175 55 / 8%);
  font: 400 12px/1 var(--data);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--amber);
}

.cover__status i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--amber);
  box-shadow: 0 0 10px var(--amber);
  animation: pulse-dot 2.6s var(--ease) infinite;
}

@keyframes pulse-dot {
  0%, 62%, 100% { opacity: 1; }
  78% { opacity: 0.28; }
}

.cover h1 { margin: 0 0 20px; }

.cover .lede { margin-bottom: 26px; font-size: clamp(16px, 0.4vw + 15px, 19px); }

.cover__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 30px;
}

.cover__record {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border: 1px solid var(--rule);
  border-right: 0;
  background: rgb(14 17 18 / 72%);
}

.cover__record li {
  padding: 14px 15px;
  border-right: 1px solid var(--rule);
}

.cover__record b {
  display: block;
  margin-bottom: 5px;
  font: 400 clamp(21px, 2vw, 27px)/1 var(--display);
  letter-spacing: 0.01em;
  color: var(--paper);
}

.cover__record li:last-child b { color: var(--amber); }

.cover__record span {
  display: block;
  font: 400 12px/1.35 var(--data);
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--slate);
}

.cover__stack { position: relative; }

.cover__stack .device {
  width: min(100%, 306px);
  margin-left: auto;
  transform: rotate(1.1deg);
}

.cover__stack .tag { max-width: 306px; margin-left: auto; justify-content: flex-end; }

.cover__seal {
  position: absolute;
  z-index: 3;
  top: 26px;
  left: 0;
  padding: 11px 15px;
  border: 1px solid var(--red);
  background: rgb(8 9 10 / 94%);
  font: 400 13px/1.45 var(--record);
  letter-spacing: 0.06em;
  color: var(--paper);
}

.cover__seal b { display: block; color: var(--red); font-weight: 400; }

.cover__scroll {
  position: absolute;
  z-index: 1;
  bottom: 24px;
  left: calc(var(--side) + var(--rail));
  display: flex;
  align-items: center;
  gap: 11px;
  font: 400 12px/1 var(--data);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--slate);
}

@media (max-width: 1080px) {
  .cover { grid-template-columns: 1fr; align-items: start; min-height: 0; }
  .cover__stack .device { width: min(100%, 300px); margin: 0 auto; transform: none; }
  .cover__stack .tag { margin: 14px auto 0; justify-content: center; text-align: center; }
  .cover__seal { position: static; display: inline-block; margin: 0 0 18px; }
  .cover__scroll { display: none; }
}

@media (max-width: 620px) {
  .cover__record { grid-template-columns: repeat(2, minmax(0, 1fr)); border-bottom: 0; }
  .cover__record li { border-bottom: 1px solid var(--rule); }
}

/* ==========================================================================
   01 / THE CITY
   ========================================================================== */

.city-shell {
  display: grid;
  /* Fixed tracks, not fractions: a screenshot column that grows with the
     viewport renders phone UI at 1.2x+ on a wide monitor. */
  grid-template-columns: var(--capture-max) minmax(280px, 1fr);
  justify-content: start;
  gap: clamp(28px, 4vw, 64px);
  align-items: start;
}

.city-plate {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--rule-hi);
  background: #000;
  box-shadow: 0 30px 80px rgb(0 0 0 / 55%);
}

/* Crop into the capture, but gently. Every screen asset is a 720x1480 portrait
   phone capture, so a wide band throws most of the frame away — 16/10 showed
   only 30% of the source height. 4/3 keeps the composition landscape while
   showing appreciably more of the map. */
.city-plate img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  /* Lands on the densest cluster of real venue names. (The build's old
     "NO GPS — SHOWING KALISPELL" dev banner is gone from the 07-28 capture,
     so the crop no longer has to dodge it.) */
  object-position: 50% 33%;
}

/* The hideout uses hero-hideout.webp — a true 1600x688 panoramic render of the
   room, not a phone capture. It needs no crop at all. */
.city-plate--pano img { aspect-ratio: 1600 / 688; object-position: 50% 50%; }

.city-plate figcaption {
  display: flex;
  flex-wrap: wrap;
  gap: 5px 16px;
  padding: 12px 16px;
  border-top: 1px solid var(--rule);
  background: var(--room);
  font: 400 12px/1.5 var(--record);
  letter-spacing: 0.04em;
  color: var(--slate);
}

.city-plate figcaption b { color: var(--amber); font-weight: 400; }

.city-index {
  border: 1px solid var(--rule);
  background: var(--room);
}

.city-index > p {
  margin: 0;
  padding: 15px 18px;
  border-bottom: 1px solid var(--rule);
  background: var(--room-hi);
}

.city-index ol { padding: 6px 0; }

.city-index li {
  display: flex;
  gap: 14px;
  align-items: baseline;
  padding: 8px 18px;
  font-size: 14.5px;
  color: var(--body);
}

.city-index li i {
  flex: 0 0 auto;
  font: 400 12px/1.6 var(--data);
  font-style: normal;
  letter-spacing: 0.06em;
  color: var(--slate);
}

.city-index li:nth-child(odd) { background: rgb(255 255 255 / 1.6%); }

/* Wide viewports: the plate is capped, so let the index take the freed width as
   two columns rather than leaving a void beside it. */
@media (min-width: 1180px) {
  .city-index ol { display: grid; grid-template-columns: 1fr 1fr; }
  .city-index li:nth-child(odd) { background: none; }
  .city-index li:nth-child(4n+1),
  .city-index li:nth-child(4n+2) { background: rgb(255 255 255 / 1.6%); }
}

.city-index > small {
  display: block;
  padding: 13px 18px 15px;
  border-top: 1px solid var(--rule);
  font: 400 12px/1.7 var(--data);
  color: var(--slate);
}

.safety {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(20px, 3vw, 48px);
  margin-top: clamp(34px, 4vw, 60px);
  padding: clamp(22px, 2.4vw, 30px);
  border: 1px solid var(--rule);
  border-left: 2px solid var(--amber);
  background: rgb(212 175 55 / 4%);
}

.safety h3 {
  margin: 0;
  font: 400 clamp(22px, 2vw, 30px)/0.95 var(--display);
  letter-spacing: 0.01em;
  text-transform: uppercase;
  color: var(--paper);
}

.safety p { color: var(--steel); font-size: 15px; }
.safety--noscript { display: block; }

@media (max-width: 980px) {
  .city-shell,
  .safety { grid-template-columns: 1fr; }
}

/* ==========================================================================
   02 / THE LOOP
   ========================================================================== */

.loop {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  background: var(--rule);
  border: 1px solid var(--rule);
}

.loop__beat {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 0;
  background: var(--room);
  transition: background 0.28s var(--ease);
}

.loop__beat:hover,
.loop__beat:focus-within { background: var(--room-hi); }

.loop__crop {
  position: relative;
  overflow: hidden;
  /* Square, not 4/3: these are portrait phone captures and a landscape crop
     was discarding two thirds of each frame. */
  aspect-ratio: 1 / 1;
  border-bottom: 1px solid var(--rule);
}

.loop__crop img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 42%;
  filter: saturate(0.78) brightness(0.82);
  transition: transform 0.6s var(--ease), filter 0.6s var(--ease);
}

.loop__beat:hover .loop__crop img,
.loop__beat:focus-within .loop__crop img { filter: saturate(0.95) brightness(1); transform: scale(1.05); }

/* One-off crop bias: the hideout capture has a dev ticker across its top. */
.loop__crop--low img { object-position: 50% 53%; }

.loop__crop::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 32%, rgb(14 17 18 / 88%) 100%);
}

.loop__n {
  position: absolute;
  z-index: 2;
  top: 12px;
  left: 14px;
  padding: 3px 6px;
  background: rgb(8 9 10 / 78%);
  font: 400 12px/1 var(--data);
  letter-spacing: 0.16em;
  color: var(--red-lite);
}

.loop__body { padding: 20px 20px 24px; }

.loop__body h3 {
  margin: 0 0 10px;
  font: 400 clamp(24px, 2.2vw, 32px)/0.92 var(--display);
  letter-spacing: 0.015em;
  text-transform: uppercase;
  color: var(--paper);
}

.loop__body p { margin: 0; font-size: 14.5px; line-height: 1.62; color: var(--steel); }

/* the link between beats */
.loop__beat:not(:last-child)::after {
  content: "";
  position: absolute;
  z-index: 3;
  top: calc(50% - 4px);
  right: -5px;
  width: 9px;
  height: 9px;
  border: 1px solid var(--rule-hi);
  background: var(--void);
  transform: rotate(45deg);
}

/* Hideout stations: five on-device camera positions under the panorama */
.loop--stations { margin-top: 22px; grid-template-columns: repeat(5, minmax(0, 1fr)); }

.loop--stations .loop__crop {
  aspect-ratio: 9 / 16;
  background: #090b0c;
}

.loop--stations .loop__crop img {
  object-position: 50% 0;
  filter: saturate(0.86) brightness(0.88);
}

.loop--stations .loop__crop::after {
  background: linear-gradient(180deg, transparent 68%, rgb(14 17 18 / 82%) 100%);
}

.loop--stations .loop__body {
  min-height: 154px;
}

@media (max-width: 1080px) {
  .loop { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .loop--stations { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 700px) {
  .loop--stations { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 560px) {
  .loop { grid-template-columns: 1fr; }
  .loop--stations {
    grid-template-columns: none;
    grid-auto-flow: column;
    grid-auto-columns: 82%;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    scroll-snap-type: inline mandatory;
    scrollbar-width: thin;
  }
  .loop--stations .loop__beat { scroll-snap-align: start; }
  .loop--stations .loop__body { min-height: 150px; }
  .loop__beat::after { display: none; }
  .loop__crop { aspect-ratio: 4 / 3; }
}

/* ==========================================================================
   03 / EXHIBITS
   ========================================================================== */

.exhibits {
  display: grid;
  grid-template-columns: minmax(238px, 292px) minmax(0, 1fr);
  gap: clamp(24px, 3.4vw, 56px);
  align-items: start;
}

/* Grid items default to min-width:auto; without this the mobile chip scroller
   forces the whole column to its content width and blows out the page. */
.exhibits > *,
.exhibit-stage > * { min-width: 0; }

.exhibit-index {
  position: sticky;
  top: calc(var(--masthead) + 26px);
  border: 1px solid var(--rule);
  background: var(--room);
}

.exhibit-index > p {
  margin: 0;
  padding: 14px 16px;
  border-bottom: 1px solid var(--rule);
  background: var(--room-hi);
}

.exhibit-index__list { padding: 5px; }

.exhibit-index__list button {
  position: relative;
  display: flex;
  gap: 13px;
  align-items: baseline;
  width: 100%;
  min-height: 40px;
  padding: 9px 12px;
  border: 0;
  background: transparent;
  cursor: pointer;
  text-align: left;
  transition: background 0.18s var(--ease), color 0.18s var(--ease);
}

.exhibit-index__list button i {
  flex: 0 0 auto;
  font: 400 12px/1.5 var(--data);
  font-style: normal;
  letter-spacing: 0.08em;
  color: var(--slate);
  transition: color 0.18s var(--ease);
}

.exhibit-index__list button b {
  font: 400 19px/1.15 var(--display);
  font-weight: 400;
  letter-spacing: 0.035em;
  text-transform: uppercase;
  color: var(--steel);
  transition: color 0.18s var(--ease);
}

.exhibit-index__list button:hover { background: var(--room-hi); }
.exhibit-index__list button:hover b { color: var(--paper); }

.exhibit-index__list button[aria-selected="true"] { background: var(--room-hi); }
.exhibit-index__list button[aria-selected="true"] b { color: var(--paper); }
.exhibit-index__list button[aria-selected="true"] i { color: var(--red-lite); }

.exhibit-index__list button[aria-selected="true"]::before {
  content: "";
  position: absolute;
  top: 6px;
  bottom: 6px;
  left: 0;
  width: 2px;
  background: var(--red);
}

.exhibit-stage {
  display: grid;
  grid-template-columns: minmax(0, 330px) minmax(0, 1fr);
  gap: clamp(24px, 3vw, 48px);
  align-items: start;
}

.exhibit-stage .device { width: 100%; }

.exhibit-stage__copy { padding-top: 4px; max-width: 62ch; }

.exhibit-stage__copy h3 {
  margin: 14px 0 16px;
  font: 400 clamp(34px, 3.8vw, 58px)/0.88 var(--display);
  letter-spacing: 0.01em;
  text-transform: uppercase;
  color: var(--paper);
}

.exhibit-stage__copy p { color: var(--body); }

.exhibit-stage__meta {
  display: grid;
  gap: 1px;
  margin-top: 24px;
  border: 1px solid var(--rule);
  background: var(--rule);
}

.exhibit-stage__meta div {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 18px;
  justify-content: space-between;
  padding: 11px 15px;
  background: var(--room);
  font: 400 12px/1.5 var(--data);
  letter-spacing: 0.06em;
}

.exhibit-stage__meta dt, .exhibit-stage__meta span:first-child { color: var(--slate); text-transform: uppercase; }
.exhibit-stage__meta span:last-child { color: var(--paper); text-align: right; }

.is-swapping { opacity: 0; }
.exhibit-stage .device,
.exhibit-stage__copy { transition: opacity 0.18s var(--ease); }

/* Mobile: the index becomes a chip scroller above one exhibit */
@media (max-width: 980px) {
  .exhibits { grid-template-columns: 1fr; }
  .exhibit-index { position: static; }
  .exhibit-index__list {
    display: flex;
    gap: 5px;
    overflow-x: auto;
    padding: 8px;
    scroll-snap-type: x proximity;
    scrollbar-width: thin;
  }
  .exhibit-index__list li { flex: 0 0 auto; scroll-snap-align: start; }
  .exhibit-index__list button { width: auto; white-space: nowrap; }
  .exhibit-index__list button[aria-selected="true"]::before { top: auto; bottom: 0; left: 6px; right: 6px; width: auto; height: 2px; }
  .exhibit-stage { grid-template-columns: 1fr; }
  .exhibit-stage .device { max-width: 300px; margin-inline: auto; }
}

/* ==========================================================================
   04 / THE ARSENAL — white evidence plates on the black board
   ========================================================================== */

.arsenal-board {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(172px, 1fr));
  gap: 1px;
  border: 1px solid var(--rule-hi);
  background: var(--rule-hi);
}

/* One dominant exhibit: a wide lab plate above the contact sheet */
.arsenal-hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr);
  gap: clamp(18px, 3vw, 46px);
  align-items: center;
  margin: 0 0 1px;
  padding: clamp(18px, 2.4vw, 34px);
  border: 1px solid var(--rule-hi);
  background: var(--paper);
  color: #1a1a1c;
}

.arsenal-hero img {
  width: 100%;
  aspect-ratio: 16 / 7;
  object-fit: contain;
  mix-blend-mode: multiply;
}

.arsenal-hero figcaption b {
  display: block;
  font: 400 clamp(32px, 4vw, 60px)/0.9 var(--display);
  font-weight: 400;
  letter-spacing: 0.025em;
  text-transform: uppercase;
  color: #0f0f11;
}

.arsenal-hero figcaption p {
  margin: 12px 0 0;
  max-width: 34ch;
  font-size: 14.5px;
  line-height: 1.65;
  color: #45483f;
}

.arsenal-hero figcaption i {
  display: block;
  margin-top: 12px;
  font: 400 12px/1.4 var(--data);
  font-style: normal;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #5c5f5c;
}

@media (max-width: 720px) {
  .arsenal-hero { grid-template-columns: 1fr; }
}

.plate {
  position: relative;
  display: flex;
  flex-direction: column;
  margin: 0;
  padding: 14px 14px 0;
  background: var(--paper);
  color: #1a1a1c;
}

.plate img {
  width: 100%;
  height: auto;
  margin: auto 0;
  aspect-ratio: 4 / 3;
  object-fit: contain;
  mix-blend-mode: multiply;
}

.plate figcaption {
  display: flex;
  gap: 10px;
  align-items: baseline;
  justify-content: space-between;
  margin-top: 10px;
  padding: 9px 0 12px;
  border-top: 1px solid rgb(26 26 28 / 22%);
}

.plate figcaption b {
  font: 400 clamp(15px, 1.3vw, 19px)/1.05 var(--display);
  font-weight: 400;
  letter-spacing: 0.035em;
  text-transform: uppercase;
  color: #101012;
}

.plate figcaption i {
  flex: 0 0 auto;
  font: 400 12px/1.4 var(--data);
  font-style: normal;
  letter-spacing: 0.07em;
  color: #5c5f5c;
}

.plate__mark {
  position: absolute;
  top: 12px;
  right: 12px;
  padding: 3px 7px;
  border: 1px solid rgb(26 26 28 / 30%);
  font: 400 12px/1.35 var(--record);
  letter-spacing: 0.06em;
  color: #45483f;
}

.plate--clink .plate__mark { border-color: rgb(154 122 20 / 55%); color: #7a5f0f; }

.arsenal-note {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: clamp(18px, 2.4vw, 40px);
  margin-top: 26px;
  padding-top: 22px;
  border-top: 1px solid var(--rule);
}

@media (max-width: 620px) {
  .arsenal-board { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* ==========================================================================
   05 / THE FIGHT
   ========================================================================== */

.fight {
  position: relative;
  padding-block: clamp(96px, 11vw, 176px);
  overflow: hidden;
}

.fight__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  background: var(--void);
}

/* Stretching a 720x1480 portrait capture across the full section upscaled it 2x
   and showed a third of the frame. Bleeding it in from the right instead keeps
   it near native resolution and shows about half the duel. */
.fight__bg img {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(56%, 800px);
  height: 100%;
  object-fit: cover;
  object-position: 58% 42%;
  filter: saturate(0.6) contrast(1.05);
  /* Feather the inner edge so the bleed dissolves into the void instead of
     ending on a hard vertical seam. */
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 36%);
  mask-image: linear-gradient(90deg, transparent 0, #000 36%);
}

.fight__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, var(--void) 26%, rgb(8 9 10 / 84%) 48%, rgb(8 9 10 / 44%) 100%),
    linear-gradient(0deg, var(--void) 0%, transparent 34%);
}

.fight__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.82fr);
  gap: clamp(28px, 4vw, 70px);
  align-items: center;
}

.fight__reads {
  display: grid;
  gap: 1px;
  margin-top: 30px;
  border: 1px solid var(--rule-hi);
  background: var(--rule-hi);
}

.fight__reads li {
  display: grid;
  grid-template-columns: 74px minmax(0, 1fr);
  gap: 18px;
  align-items: baseline;
  padding: 16px 18px;
  background: rgb(8 9 10 / 88%);
}

.fight__reads b {
  font: 400 clamp(20px, 1.8vw, 26px)/1 var(--display);
  font-weight: 400;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--red-lite);
}

.fight__reads span { font-size: 14.5px; line-height: 1.6; color: var(--steel); }

.fight__stack { position: relative; }
.fight__stack .device { width: min(100%, 320px); margin-left: auto; }
.fight__stack .tag { max-width: 320px; margin-left: auto; }

@media (max-width: 980px) {
  .fight__inner { grid-template-columns: 1fr; }
  .fight__stack .device { margin-inline: auto; }
  .fight__stack .tag { margin: 14px auto 0; }
  /* Stacked layout puts the headline directly over the art. The section is tall
     enough that `cover` fits the whole capture, HUD text included — so blur it
     into texture and raise the scrim rather than trying to crop the HUD out. */
  .fight__bg img {
    width: 100%;
    object-position: 58% 50%;
    filter: saturate(0.5) contrast(1.02) blur(2.5px);
  }
  .fight__bg::after {
    background: linear-gradient(0deg, var(--void) 3%, rgb(8 9 10 / 90%) 30%, rgb(8 9 10 / 86%) 100%);
  }
}

/* ==========================================================================
   08 / THE WIRE + THE RECORD
   ========================================================================== */

.wire {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: clamp(28px, 4vw, 70px);
  align-items: start;
}

.channels {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  border: 1px solid var(--rule);
  background: var(--rule);
}

.channel {
  display: flex;
  gap: 14px;
  align-items: center;
  padding: 15px 16px;
  background: var(--room);
  text-decoration: none;
  transition: background 0.2s var(--ease);
}

.channel:hover,
.channel:focus-visible { background: var(--room-hi); }

.channel > .label { flex: 0 0 24px; transition: color 0.2s var(--ease); }
.channel:hover > .label,
.channel:focus-visible > .label { color: var(--paper); }

.channel b { display: block; font: 600 15px/1.2 var(--read); color: var(--paper); }
.channel small { display: block; margin-top: 2px; font: 400 12px/1.35 var(--data); color: var(--slate); }

.channel--off { cursor: not-allowed; opacity: 0.6; }
.channel--discord > .label { color: #a8adf0; }

@media (max-width: 400px) { .channels { grid-template-columns: 1fr; } }

.record-block {
  display: grid;
  gap: 1px;
  border: 1px solid var(--rule);
  background: var(--rule);
}

.record-block section {
  padding: 20px 22px 22px;
  background: var(--room);
}

.record-block h3 {
  margin: 0 0 12px;
  font: 400 clamp(20px, 1.8vw, 26px)/1 var(--display);
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--paper);
}

.record-block p { font-size: 14.5px; line-height: 1.72; color: var(--steel); }
.record-block a { color: var(--paper); text-underline-offset: 3px; }

@media (max-width: 980px) { .wire { grid-template-columns: 1fr; } }

/* ==========================================================================
   BUILD LOG — dated proof-of-life directly under the cover
   ========================================================================== */

.buildlog {
  display: grid;
  grid-template-columns: minmax(200px, 300px) minmax(0, 1fr);
  gap: clamp(18px, 3vw, 52px);
  align-items: start;
  padding: clamp(26px, 3vw, 40px) var(--side) clamp(26px, 3vw, 40px) calc(var(--side) + var(--rail));
  border-top: 1px solid var(--rule);
  background: var(--room);
}

.buildlog__head { display: grid; gap: 8px; }
.buildlog__head h2 { margin: 0; }
.buildlog__head .mono-note { line-height: 1.6; }

.buildlog__list {
  display: grid;
  gap: 1px;
  border: 1px solid var(--rule);
  background: var(--rule);
}

.buildlog__list li {
  display: grid;
  grid-template-columns: 84px minmax(0, 1fr);
  gap: 18px;
  align-items: baseline;
  padding: 11px 16px;
  background: var(--room-hi);
}

.buildlog__list time {
  font: 400 12px/1.5 var(--data);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--amber);
}

.buildlog__list span { font-size: 14.5px; line-height: 1.55; color: var(--body); }

@media (max-width: 860px) {
  .buildlog { grid-template-columns: 1fr; }
  .buildlog__list li { grid-template-columns: 74px minmax(0, 1fr); gap: 12px; }
}

/* --- Confirmation moment ------------------------------------------------- */

.done-steps {
  display: grid;
  gap: 1px;
  max-width: 52ch;
  margin: 24px auto 0;
  border: 1px solid var(--rule);
  background: var(--rule);
  text-align: left;
}

.done-steps li {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 14px;
  align-items: baseline;
  padding: 13px 16px;
  background: var(--room-hi);
}

.done-steps b {
  font: 400 12px/1.5 var(--data);
  font-weight: 400;
  letter-spacing: 0.08em;
  color: var(--red-lite);
}

.done-steps span { font-size: 14.5px; line-height: 1.6; color: var(--steel); }

.done-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
  margin-top: 26px;
}
