/* Jeet Jail: the duty terminal. One desk, the A wing behind it, every part of the mechanic a window.
   Palette and hardware read off his pixel desktop picture (art/ref/desktop-ref.jpg).
   Responsive overrides live at the END of this file, where they can actually win. */

@font-face {
  font-family: "Pixelify Sans";
  src: url("/font/pixelify-sans-400-700.woff2") format("woff2");
  font-weight: 400 700;
  font-display: swap;
}
@font-face {
  font-family: "Archivo";
  src: url("/font/archivo-400.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "Archivo";
  src: url("/font/archivo-700.woff2") format("woff2");
  font-weight: 700;
  font-display: swap;
}
@font-face {
  font-family: "Chivo Mono";
  src: url("/font/chivo-mono-400.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "Chivo Mono";
  src: url("/font/chivo-mono-500.woff2") format("woff2");
  font-weight: 500;
  font-display: swap;
}
@font-face {
  font-family: "Chivo Mono";
  src: url("/font/chivo-mono-700.woff2") format("woff2");
  font-weight: 700;
  font-display: swap;
}

:root {
  --navy0: #0d2b45;
  --navy1: #203c56;
  --purple: #544e68;
  --mauve: #8d697a;
  --terra: #d08159;
  --orange: #ffaa5e;
  --peach: #ffd4a3;
  --cream: #ffecd6;

  /* measured against the window fills: 4.5:1 or better for text at any size */
  --ink-soft: #6f4a5d;    /* labels and small print on peach (5.4) and cream (6.5) */
  --ink-accent: #8d4a26;  /* the accent in text, where terra is only 2.2:1 */
  --mauve-deep: #755564;  /* the note plate, so cream on it is 5.6 instead of 4.1 */

  --pixel: "Pixelify Sans", "Segoe UI", sans-serif;
  --text: "Archivo", "Segoe UI", sans-serif;
  --mono: "Chivo Mono", ui-monospace, monospace;

  --gap: 28px;
  --pad: 40px;   /* 12 px of nine-slice frame is drawn INWARD over this, leaving 28 px of air */
  --strip: 44px;
  --shadow: 8px 8px 0 rgba(13, 43, 69, 0.55);
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }

html { background: var(--navy0); }

body {
  margin: 0;
  min-height: 100vh;
  font: 400 18px/1.55 var(--text);
  color: var(--navy0);
  -webkit-font-smoothing: antialiased;
  font-synthesis: none;
  scrollbar-gutter: stable;
}

img { display: block; }
.pix { image-rendering: pixelated; }

/* ------------------------------------------------------------------ the wall */
.wall,
.wall::after {
  position: fixed;
  inset: 0;
  background: url("/img/wing-wall.png") center top / cover no-repeat, var(--navy0);
  z-index: -2;
}
.wall::after {
  content: "";
  mix-blend-mode: screen;
  opacity: 0;
  animation: lamp 11s ease-in-out infinite;
  z-index: -1;
}
.wall-dim {
  position: fixed;
  inset: 0;
  background: rgba(13, 43, 69, 0.45);
  z-index: -1;
  pointer-events: none;
}
@keyframes lamp {
  0%, 44% { opacity: 0; }
  50% { opacity: 0.16; }
  54% { opacity: 0.04; }
  58% { opacity: 0.2; }
  66%, 100% { opacity: 0; }
}

/* ------------------------------------------------------------------ the deck */
.deck {
  display: grid;
  grid-template-columns: 272px minmax(0, 1fr);
  gap: var(--gap);
  max-width: 1920px;
  margin: 0 auto;
  /* ONE gutter value, left and right, never under 32 px, and real room over the first window */
  padding: clamp(32px, 2.6vw, 48px) clamp(32px, 4vw, 72px) 88px;
}

/* ------------------------------------------------- the wing: six cells as the nav.
   Two short columns, the right one dropped half a cell, so it reads as a wall of cells
   and never as a rail of equal icons. */
.wing {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 14px;
  align-content: start;
  position: sticky;
  top: clamp(32px, 2.6vw, 48px);
}
/* one cell: the lit window of the block on the left, its label beside it. Every cell the same
   width, the same height and the same step, all on one left line. */
.cell {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  align-items: center;
  gap: 12px;
  padding: 6px 16px 6px 6px;
  text-decoration: none;
  color: var(--cream);
  border-image: url("/img/plate-card.png") 8 fill / 8px / 0 stretch;
  transition: transform 0.12s ease-out;
}
.cell-shot {
  position: relative;
  border: 3px solid var(--navy0);
  background: var(--navy0);
  line-height: 0;
}
/* 360 px of art shown at exactly 1/5 of it: a whole ratio, so pixelated keeps the blocks square */
.cell-shot img { width: 72px; height: 72px; image-rendering: pixelated; }
.cell-shot::after {
  content: "";
  position: absolute;
  inset: 0;
  background: inherit;
  background-image: none;
  background-color: var(--orange);
  mix-blend-mode: screen;
  opacity: 0;
  animation: cellglow 9s ease-in-out infinite;
  pointer-events: none;
}
.cell:nth-child(2) .cell-shot::after { animation-duration: 13s; animation-delay: -3s; }
.cell:nth-child(3) .cell-shot::after { animation-duration: 17s; animation-delay: -7s; }
.cell:nth-child(4) .cell-shot::after { animation-duration: 11s; animation-delay: -5s; }
.cell:nth-child(5) .cell-shot::after { animation-duration: 15s; animation-delay: -9s; }
.cell:nth-child(6) .cell-shot::after { animation-duration: 19s; animation-delay: -2s; }
@keyframes cellglow {
  0%, 70%, 100% { opacity: 0; }
  80% { opacity: 0.1; }
  86% { opacity: 0.02; }
  92% { opacity: 0.08; }
}
.cell-label {
  display: block;
  padding-right: 4px;
  color: var(--navy0);
  font: 400 18px/1.2 var(--pixel);
  overflow-wrap: anywhere;
}
.cell:hover { transform: translateX(4px); filter: brightness(1.04); }
.cell:active { transform: translateX(2px) translateY(1px); }
.cell:focus-visible { outline: 4px solid var(--orange); outline-offset: 3px; }
.cell[aria-current="page"] {
  border-image-source: url("/img/plate-card-on.png");
}
.cell[aria-current="page"] .cell-shot { border-color: var(--navy0); }
.cell[aria-current="page"] .cell-label { font-weight: 700; }

/* ------------------------------------------------------------------ the stage */
.stage {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: var(--gap);
  align-content: start;
}

/* ------------------------------------------------------------------ a window */
.win {
  container-type: inline-size;
  display: flex;
  flex-direction: column;
  min-width: 0;
  border-image: url("/img/plate-window.png") 12 fill / 12px / 0 stretch;
  filter: drop-shadow(8px 8px 0 rgba(13, 43, 69, 0.55));
  position: relative;
}
.win--alt { border-image-source: url("/img/plate-window2.png"); color: var(--cream); }

.win-strip {
  display: flex;
  align-items: center;
  gap: 16px;
  min-height: var(--strip);
  padding: 7px 16px 7px 28px;
  margin: 0;
  border-image: url("/img/plate-strip.png") 12 fill / 12px / 0 stretch;
  color: var(--cream);
  font: 400 22px/1 var(--pixel);
  cursor: grab;
  user-select: none;
  touch-action: none;
}
.win--alt .win-strip { border-image-source: url("/img/plate-strip2.png"); color: var(--navy0); }
.win-strip:active { cursor: grabbing; }
.win-title { flex: 1 1 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.win-keys { display: flex; gap: 8px; flex: 0 0 auto; }
.win-key {
  position: relative;
  width: 38px;
  height: 34px;
  padding: 0 0 4px;
  border: 0;
  background: none;
  border-image: url("/img/plate-key.png") 12 fill / 10px / 0 stretch;
  color: var(--navy0);
  font: 400 18px/1 var(--pixel);
  cursor: pointer;
  display: grid;
  place-items: center;
}
.win-key img { width: 16px; height: 16px; image-rendering: pixelated; }
/* the hit area is 48 px even though the key is drawn small, the way a title bar wants it */
.win-key::before { content: ""; position: absolute; inset: -7px; }
.win-key:hover { filter: brightness(1.08); }
.win-key:active { border-image-source: url("/img/plate-key-down.png"); }
.win-key:focus-visible { outline: 3px solid var(--cream); outline-offset: 3px; }
/* on the orange strip a copper key is invisible: the second skin gets a navy one */
.win--alt .win-key { border-image-source: url("/img/plate-key-dark.png"); }
.win--alt .win-key:active { border-image-source: url("/img/plate-key-dark-down.png"); }
.win--alt .win-key:focus-visible { outline-color: var(--navy0); }

.win-body--row {
  grid-template-columns: minmax(260px, 2fr) minmax(0, 3fr);
  align-items: start;
  gap: 32px;
}
.win-body--row > * { min-width: 0; }
.win-body {
  padding: var(--pad);
  display: grid;
  gap: 24px;
  align-content: start;
  min-width: 0;
}
.win[data-rolled="true"] .win-body { display: none; }
.win[hidden] { display: none; }

/* ----------------------------------------------------------- the name block */
.ident { display: grid; grid-template-columns: 192px minmax(0, 1fr); gap: 28px; align-items: center; }
.ident--case { grid-template-columns: 360px minmax(0, 1fr); }
.ident-plate--card img { aspect-ratio: 1200 / 630; object-fit: cover; }
.ident-plate {
  border: 4px solid var(--navy0);
  box-shadow: 6px 6px 0 rgba(13, 43, 69, 0.45);
  background: var(--cream);
  line-height: 0;
}
.ident-plate img { width: 100%; height: auto; image-rendering: pixelated; }
.ident-plate--card img { image-rendering: auto; }
.ident-text { min-width: 0; }
.wordmark {
  margin: 0;
  /* the name is one line at every width: between 1400 and 1700 the window is too narrow for 72 px */
  font: 700 clamp(40px, 3.9vw, 72px)/0.95 var(--pixel);
  letter-spacing: -0.01em;
  color: var(--navy0);
}
.wordmark--case { font: 700 46px/1 var(--mono); letter-spacing: -0.03em; }
.ident-line {
  margin: 10px 0 0;
  font: 500 18px/1.5 var(--mono);
  color: var(--navy1);
}
.ident-line b { font-weight: 700; color: var(--ink-accent); }

/* ------------------------------------------------------------ sunken panels */
.sunk {
  border-image: url("/img/plate-sunken.png") 8 fill / 8px / 0 stretch;
  padding: 28px 32px;
  min-width: 0;
}
.sunk--dark { border-image-source: url("/img/plate-sunken2.png"); color: var(--peach); }

.readout {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-auto-rows: minmax(0, auto);
  gap: 20px 28px;
  align-items: start;
}
/* label and value on the same two lines in every cell, so no cell sits lower than its neighbour */
.read { min-width: 0; display: grid; grid-template-rows: 22px auto; align-content: start; }
.read-k {
  margin: 0 0 2px;
  font: 400 16px/1.3 var(--text);
  letter-spacing: 0.04em;
  text-transform: lowercase;
  color: var(--ink-soft);
}
.read-v {
  margin: 0;
  display: flex;
  align-items: baseline;
  gap: 10px;
  font: 700 32px/1.15 var(--mono);
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
  color: var(--navy0);
  white-space: nowrap;
}
.read-v small { font: 500 18px/1 var(--mono); color: var(--ink-soft); }
.read--big .read-v { font-size: 48px; }
.read--count .read-v { color: var(--ink-accent); }

/* ------------------------------------------------------------------- the clock */
.clock {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 24px;
}
.clock-v {
  margin: 0;
  font: 700 48px/1 var(--mono);
  font-variant-numeric: tabular-nums;
  color: var(--navy0);
}

/* ------------------------------------------------------------------- the keys */
.key {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 56px;
  padding: 14px 34px;
  border: 0;
  border-image: url("/img/plate-key.png") 12 fill / 12px / 0 stretch;
  background: none;
  color: var(--navy0);
  font: 400 20px/1 var(--pixel);
  text-decoration: none;
  cursor: pointer;
  text-align: center;
}
.key:hover { filter: brightness(1.06); }
.key:active { border-image-source: url("/img/plate-key-down.png"); }
.key:focus-visible { outline: 3px solid var(--navy0); outline-offset: 3px; }
.key[aria-disabled="true"], .key:disabled {
  border-image-source: url("/img/plate-key-off.png");
  color: var(--peach);
  cursor: not-allowed;
}
.key-mark { width: 22px; height: 22px; flex: 0 0 auto; }
.keys { display: flex; flex-wrap: wrap; gap: 14px; }
/* where a row of keys is a set, every key is the same cell */
.keys--even {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(168px, 1fr));
  gap: 14px;
  align-items: stretch;
}
.keys--even .key { width: 100%; padding-inline: 18px; }
/* a key never shrinks below its own label: squeezed, the text would spill over its padding */
.key { flex: 0 0 auto; }

/* --------------------------------------------------------------- the note plate */
.note {
  padding: 22px 28px;
  background: var(--mauve-deep);
  border: 3px solid var(--navy0);
  color: var(--cream);
  font: 400 18px/1.5 var(--text);
}
.note b { font-weight: 700; color: var(--cream); }
.note p { margin: 0; }
.note p + p { margin-top: 10px; }

/* ------------------------------------------------------------------ the address */
.addr {
  display: block;
  width: 100%;
  max-width: 54ch;
  padding: 18px 28px;
  border-image: url("/img/plate-sunken.png") 8 fill / 8px / 0 stretch;
  font: 500 17px/1.45 var(--mono);
  color: var(--navy0);
  overflow-wrap: anywhere;
  user-select: all;
}
.addr[data-empty="true"] { color: var(--mauve); user-select: none; }

/* --------------------------------------------------------------------- tables */
.sheet { width: 100%; border-collapse: collapse; font: 400 17px/1.4 var(--text); }
.sheet caption {
  text-align: left;
  font: 400 22px/1.2 var(--pixel);
  padding-bottom: 14px;
  color: var(--navy0);
}
/* a bordered cell becomes its own box, so every cell carries its own air and the table is pulled
   back out by the same amount: the first column still lines up with the window(2026-10-12 lesson). */
.sheet { margin-inline: -22px; width: calc(100% + 44px); }
.sheet caption { padding-inline: 22px; }
.sheet th {
  text-align: left;
  font: 400 16px/1.2 var(--text);
  letter-spacing: 0.04em;
  color: var(--ink-soft);
  padding: 10px 22px;
  border-bottom: 3px solid var(--navy0);
}
.sheet td {
  padding: 14px 22px;
  overflow-wrap: anywhere;
  border-bottom: 2px solid rgba(13, 43, 69, 0.22);
  vertical-align: middle;
}
.sheet tr:last-child td { border-bottom: 0; }
.sheet .empty { text-align: center; color: var(--ink-soft); padding: 26px 22px; }
.sheet .num { font: 500 17px/1.4 var(--mono); font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.sheet .right { text-align: right; }
.sheet a { color: var(--navy0); text-decoration: underline 2px var(--terra); text-underline-offset: 3px; }
.sheet a:hover { color: var(--terra); }
.sheet--dark th { color: var(--peach); border-bottom-color: var(--peach); }
.sheet--dark td { border-bottom-color: rgba(255, 212, 163, 0.25); }

.tag {
  display: inline-block;
  padding: 5px 12px;
  font: 400 16px/1.2 var(--pixel);
  border: 2px solid var(--navy0);
  background: var(--orange);
  color: var(--navy0);
  white-space: nowrap;
}
.tag--free { background: var(--cream); }
.tag--out { background: var(--terra); color: var(--cream); }

/* ---------------------------------------------------------------------- forms */
.field { display: grid; gap: 10px; }
.field label { font: 400 17px/1.3 var(--text); color: var(--navy1); }
.field input {
  width: 100%;
  min-height: 56px;
  padding: 14px 28px;
  border-image: url("/img/plate-sunken.png") 8 fill / 8px / 0 stretch;
  border-width: 8px;
  background: none;
  font: 400 17px/1.4 var(--mono);
  color: var(--navy0);
}
.field input::placeholder { color: var(--mauve); }
.field input:focus-visible { outline: 3px solid var(--terra); outline-offset: 2px; }

/* --------------------------------------------------------------------- steps */
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; }
.step { display: grid; gap: 12px; align-content: start; min-width: 0; }
.step-n {
  font: 700 36px/1 var(--mono);
  color: var(--ink-accent);
}
.step h3 { margin: 0; font: 400 22px/1.2 var(--pixel); color: var(--navy0); }
.step p { margin: 0; font: 400 17px/1.5 var(--text); color: var(--navy1); }

.bars { height: 14px; background: url("/img/rule-bars.png") repeat-x left center; image-rendering: pixelated; }

/* ------------------------------------------------------- the home desk layout */
/* a window is as tall as what is in it: an empty wing must not leave a half empty peach box */
.stage > .win, .stage > .deskcol { align-self: start; }
/* the desk is two real columns of windows, each stacking by its own content: a window is never
   stretched to a neighbour row and no column is left with a hole under it */
.stage--home { grid-template-columns: 7fr 5fr; }
.deskcol { display: grid; gap: var(--gap); align-content: start; min-width: 0; }
.win--coin { grid-column: 1 / -1; }
.win--coin .win-body { gap: 14px; padding-block: 26px; }
.win--coin .keys--even { margin-top: 4px; }

/* the four keys of the second window, read off his Socials window */
.tiles {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px 28px;
  align-items: stretch;
}
.tile {
  display: grid;
  grid-template-rows: auto auto 1fr;
  gap: 10px;
  justify-items: center;
  text-align: center;
  min-width: 0;
}
/* the picture is a fixed 150 px, exactly half of the 300 px copy, so every card is the same
   height and the art never stretches to the width of the window */
.tile-shot {
  display: block;
  width: 150px;
  max-width: 100%;
  border: 3px solid var(--navy0);
  box-shadow: 4px 4px 0 rgba(13, 43, 69, 0.4);
  line-height: 0;
}
.tile-shot img { width: 100%; height: auto; image-rendering: pixelated; }
.tile b { font: 400 20px/1.2 var(--pixel); color: var(--navy0); }
.tile-say { font: 400 16px/1.45 var(--text); color: var(--navy1); }

/* a sentence in a value slot is still a sentence: nowrap belongs to the numbers only */
.read-v--line { display: block; white-space: normal; font-size: 22px; line-height: 1.3; }
.read-k.read-k--alt { color: var(--cream); }
.hint.hint--alt { color: var(--cream); font-size: 17px; }
/* the copy confirmation has to be seen from across the window */
.hint.said { color: var(--orange); font-weight: 700; }
.hint--pad { margin-top: 18px; }
.keys--pad { margin-top: 18px; }

.rule-h { margin: 8px 0 0; font: 400 24px/1.2 var(--pixel); color: var(--navy0); }
/* reading copy, and ONLY reading copy: a bare "p inside the window" rule outranks .wordmark,
   .read-k and .hint by specificity and quietly flattens the whole page. */
.prose { display: grid; gap: 18px; align-content: start; }
.prose > p { margin: 0; font: 400 18px/1.6 var(--text); color: var(--navy1); }
.steps--two { grid-template-columns: repeat(2, minmax(0, 1fr)); }

.dim { color: var(--ink-soft); }
.hint { margin: 0; font: 400 16px/1.5 var(--text); color: var(--ink-soft); overflow-wrap: anywhere; }
.skip {
  position: absolute;
  left: -9999px;
  top: 0;
}
.skip:focus {
  left: 12px;
  top: 12px;
  z-index: 40;
  padding: 12px 18px;
  background: var(--cream);
  border: 3px solid var(--navy0);
  font: 400 18px/1 var(--pixel);
  color: var(--navy0);
}

/* the stage's standard spans, overridden per page in the page's own block */
.span-4 { grid-column: span 4; }
.span-5 { grid-column: span 5; }
.span-6 { grid-column: span 6; }
.span-7 { grid-column: span 7; }
.span-8 { grid-column: span 8; }
.span-12 { grid-column: span 12; }

.drawer-key { display: none; }

/* =========================================================== responsive, last */
@media (max-width: 1500px) {
  .wordmark { font-size: clamp(40px, 3.4vw, 56px); }
  .ident { grid-template-columns: 128px minmax(0, 1fr); gap: 22px; }
  /* the wing lies across the top: two narrow columns clip a word like "transfer", and the
     stage wants the whole width on a laptop anyway */
  .deck { grid-template-columns: minmax(0, 1fr); }
  .wing {
    position: static;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 14px;
  }
  .wing .cell:nth-child(even) { margin-top: 0; }
  /* laid across the top, a cell is a window in a corridor: wide, not a tall square */
  .wing .cell-shot img { aspect-ratio: 5 / 3; object-fit: cover; object-position: 50% 46%; }
  /* a laptop has no room for two columns of windows: one stream, in reading order */
  .stage--home { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 1100px) {
  .ident--case { grid-template-columns: 280px minmax(0, 1fr); }
  .span-4, .span-5, .span-6, .span-7, .span-8 { grid-column: span 12; }
}

@media (max-width: 900px) {
  :root { --gap: 24px; --pad: 36px; }
  .sheet .hide-sm { display: none; }
  .deck { grid-template-columns: minmax(0, 1fr); padding: 24px 24px 56px; }
  .wing {
    position: static;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
  }
  .cell { grid-template-columns: 56px minmax(0, 1fr); }
  .wing[data-drawer="shut"] { display: none; }
  .wing .cell:nth-child(even) { margin-top: 0; }
  .drawer-key { display: inline-flex; width: 100%; }
  .read--big .read-v { font-size: 42px; }
  .clock-v { font-size: 42px; }
  /* a whole 1x of the wall on a small screen, so the pixels stay square */
  .wall, .wall::after { background-size: 960px 540px; }
}

@media (max-width: 560px) {
  :root { --gap: 20px; --pad: 32px; }
  .deck { padding: 20px 18px 48px; }
  .wing { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cell-label { font-size: 16px; }
  .ident-plate { width: 128px; }
  .read-v { font-size: 28px; }
  .read--big .read-v { font-size: 36px; }
  .clock { grid-template-columns: minmax(0, 1fr); }
  .clock-v { font-size: 36px; }
  .win-strip { padding-left: 20px; font-size: 20px; }
  /* on a phone the columns divide what there is, so a sheet never pushes its window wider */
  .sheet { margin-inline: 0; width: 100%; font-size: 16px; }
  .sheet th, .sheet td { overflow-wrap: anywhere; padding: 12px 18px; }
  .sheet caption { padding-inline: 18px; }
  .sheet .num { font-size: 16px; }
  .sheet .hide-xs { display: none; }
  /* a long key wraps its label instead of pushing the page sideways */
  .key { flex: 0 1 auto; min-width: 0; padding: 14px 24px; }
  .keys--even { grid-template-columns: minmax(0, 1fr); }
}

/* ----------------------------------------- the rows answer to their own window.
   A window measures itself (container-type: inline-size), so a row folds when ITS window is
   narrow, not when the viewport is: the countdown can never break in half and a four up row
   of tiles never becomes one giant tile in a wide window. */
@container (max-width: 720px) {
  .win-body--row { grid-template-columns: minmax(0, 1fr); gap: 24px; }
}
@container (max-width: 900px) {
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@container (max-width: 560px) {
  .readout { grid-template-columns: minmax(0, 1fr); gap: 18px; }
}
@container (max-width: 520px) {
  .ident { grid-template-columns: minmax(0, 1fr); gap: 18px; }
  .ident-plate { width: 128px; }
  .ident--case { grid-template-columns: minmax(0, 1fr); }
  .ident-plate--card { width: 100%; }
}
@container (max-width: 470px) {
  .tiles { grid-template-columns: minmax(0, 1fr); }
  .steps, .steps--two { grid-template-columns: minmax(0, 1fr); }
}

@media (prefers-reduced-motion: reduce) {
  .wall::after, .cell-shot::after { animation: none; opacity: 0; }
  .cell { transition: none; }
}
