/* ============================================================
   v3-app.css — the PRODUCT section: the application on the page.

   Everything inside a .glass-scene is built from the application's own
   design system, TRANSCRIBED from PAGA UI 2026 NEW (tokens.css,
   glass-button.css, lens.css, liquidGlass.tsx) — not approximated:

   · The thick material (peek card, flow nodes) is the app's .glass-panel:
     THE FROST IS A TONE, NOT WHITE — ground-deep carrying 4% brand at 52%
     opacity (app comment: "any white frost renders as a white card and
     reads as solid"), blur(14px) saturate(1.2), and the deeper shadow of a
     larger piece of glass.
   · The rim in the app is LIGHT, not a painted gradient: an SVG specular
     pass with a key light above and a rim light below, plus a faint ink
     containment ring where the light does not reach. Statically baked here
     as two tight inset arcs (top bright, bottom softer) over a 1px ink
     ring — the closest a stylesheet gets to their lit bevel.
   · Small controls (the pill, the suggestion chips) wear the app's
     lens-button material: the -75deg translucent island gradient with its
     four-part inset stack, straight from lens.css.
   · Reading and input surfaces are OPAQUE ISLANDS ("reading surfaces,
     tables and documents stay opaque" — the app rule): the composer and
     the record tiles are white, not glass.

   The scene frames themselves take the SITE's panel treatment — the same
   --r-panel radius and --glass-edge hairline as every navy instrument
   panel on the page — so the flowing-form ground reads as a second
   sanctioned ground inside one system, not a second system.
   ============================================================ */

.product {
  /* The application's tokens, scoped. Transcribed values. */
  --app-ground: #f7f7f8;
  --app-island: #ffffff;
  --app-hairline: #eaebef;
  --app-hairline-strong: #dcdee4;
  --app-ink: #17181c;
  --app-ink-2: #5b5f6a;
  --app-ink-3: #9497a1;
  --app-ink-4: #b9bcc5;
  --app-accent: #3b4fd8;
  --app-adverse: #c0392f;
  --app-unresolved: #b57310;
  --app-favorable: #1f8a4c;
  --app-shadow-soft: 0 1px 2px rgba(18, 20, 28, 0.05), 0 3px 10px rgba(18, 20, 28, 0.05);
  /* The site's own sans, not the app's Inter: Inter is not served here, so
     naming it first made these scenes render differently on machines that
     happen to have it installed. One face across the page. */
  --app-sans: var(--sans);

  /* The thick Liquid Glass, baked static:
     fill  = color-mix(ground-deep 96% + brand 4%) at 52%  ->  rgba(237,240,244,.52)
     frost = blur(14px) saturate(1.2)
     depth = 0 2px 4px ink/5% + 0 24px 56px -16px ink/28%
     rim   = top specular arc, bottom rim arc, faint containment ring */
  --glass-fill: rgba(237, 240, 244, 0.52);
  --glass-frost: blur(14px) saturate(1.2);
  --glass-depth: 0 2px 4px rgba(23, 24, 28, 0.05), 0 24px 56px -16px rgba(23, 24, 28, 0.28);
  --glass-rim:
    inset 0 1px 0.5px rgba(255, 255, 255, 0.85),
    inset 0 -1px 0.5px rgba(255, 255, 255, 0.55),
    inset 0 0 0 1px rgba(23, 24, 28, 0.05);
}

/* ---- the live capture ----
   The real UI, framed exactly like the page's other instrument panels:
   the shared radius, the shared hairline. */
.prod-video {
  display: block;
  width: 100%;
  height: auto;
  border-radius: var(--r-panel);
  border: 1px solid var(--glass-edge);
  box-shadow: 0 1px 2px rgba(18,20,28,.05), 0 24px 64px rgba(18,20,28,.12);
  background: var(--app-ground);
}

/* ---- the glass moments ----
   Isolated components on the flowing-form ground. The ground exists so the
   frost has something to refract; each scene crops the same artwork at a
   different position so the family reads as one system, not one tile. The
   frame is the SITE's panel frame. */
/* ---- the three-up ----
   This was a sideways scroller carrying four cards with the fourth cut by
   the right edge. One of those four said the same thing as the loop card
   beside it and is gone, and three cards do not overflow a 1416px
   container - a rail that cannot scroll is a rail advertising nothing. So
   the cards divide the container instead, which also buys back the height
   the scenes were short of: at 1904 a card is 452px and its scene 452x339,
   where the scroller gave 412x309.

   The markup and the subgrid are unchanged, so restoring the scroller when
   a fourth card earns its place is a few lines here, not a rewrite.

   Subgrid keeps the four rows - scene, eyebrow, label, blurb - on one
   baseline across cards, so a two-line label in one card cannot shove its
   blurb out of line with its neighbours. */
.prod-rail {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-template-rows: auto auto auto auto;
  column-gap: clamp(18px, 1.8vw, 30px);
}
.prod-card {
  min-width: 0;
  display: grid;
  grid-template-rows: subgrid;
  grid-row: span 4;
  align-content: start;
}
/* Slightly wider than square, and the same box for all three - WITH A
   FLOOR, which is the part that matters. The scenes' contents are fixed
   px (12px filenames, a 26px icon) while a ratio-only box shrinks with
   the column, so at 4/3 the peek card fit by a single pixel at 1904 and
   was cut by 44px on a phone. The floor stops the box shrinking past the
   tallest scene plus its padding, so the composition holds at every
   width instead of holding at one. 6/5 wins whenever the card is wider
   than 432px; below that the floor does. */
.prod-card .glass-scene {
  margin-top: 0;
  margin-bottom: clamp(18px, 1.7vw, 28px);
  /* width: 100% is load-bearing. aspect-ratio resolves in BOTH directions,
     so once min-height won the height, the ratio drove the width back up
     from it - a 341px card carrying a 432px scene, and 31px of horizontal
     overflow on the page. Fixing the width leaves the ratio only the
     height to decide. */
  width: 100%;
  aspect-ratio: 6 / 5;
  min-height: 360px;
}
.prod-card .show-blurb { margin-bottom: 0; max-width: none; }
/* A label that runs to two lines splits evenly, not one word on the second. */
.prod-card .show-label { text-wrap: balance; }

.glass-scene {
  position: relative;
  margin-top: 4px;
  border-radius: var(--r-panel);
  border: 1px solid var(--glass-edge);
  overflow: hidden;
  min-height: clamp(360px, 34vw, 440px);
  display: grid;
  place-items: center;
  padding: clamp(20px, 2vw, 30px);
  background-image: url("media/flow-bg.webp");
  background-size: cover;
  background-position: 50% 30%;
  font-family: var(--app-sans);
  color: var(--app-ink);
  letter-spacing: 0;
  text-align: left;
}
/* NAMED, NOT POSITIONAL. These were :nth-child rules, so removing a card
   silently re-cropped the ones after it - and the loop card, which needs
   the 65% band its glass is tuned for, would have inherited 82%. The crop
   belongs to the scene, not to its place in the row. Only the Y matters:
   the artwork is 1400x1694 and `cover` into a landscape box matches the
   width exactly, so the X component is inert. */
.glass-scene--peek { background-position: 50% 30%; }
.glass-scene--ask  { background-position: 12% 12%; }

/* ---- material classes ---- */
/* Thick glass: popover-weight surfaces. */
.gs-thick {
  background: var(--glass-fill);
  -webkit-backdrop-filter: var(--glass-frost);
  backdrop-filter: var(--glass-frost);
  box-shadow: var(--glass-rim), var(--glass-depth);
}
/* The lens control (lens.css, retuned values verbatim): a clear pill whose
   life is the island gradient and its inset stack. */
.gs-lens {
  background: linear-gradient(-75deg,
    rgba(255,255,255,.12),
    rgba(255,255,255,.42),
    rgba(255,255,255,.12));
  -webkit-backdrop-filter: blur(3px) saturate(1.6);
  backdrop-filter: blur(3px) saturate(1.6);
  box-shadow:
    inset 0 2px 2px rgba(23,24,28,.06),
    inset 0 -2px 2px rgba(255,255,255,.62),
    inset 0 0 1.5px 4px rgba(255,255,255,.26),
    0 4px 2px -2px rgba(23,24,28,.18);
}
/* Opaque island: reading and input surfaces (the app rule). */
.gs-island {
  background: var(--app-island);
  box-shadow: var(--app-shadow-soft);
}

/* ---- scene 1: the peek card ---- */
.gs-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  border-radius: var(--r-ctl);
  padding: 7px 13px;
  font-size: 12.5px;
  font-weight: 550;
  color: var(--app-ink);
  justify-self: start;
  margin: 0 0 12px 6px;
  background: linear-gradient(-75deg,
    rgba(255,255,255,.12),
    rgba(255,255,255,.42),
    rgba(255,255,255,.12));
  -webkit-backdrop-filter: blur(3px) saturate(1.6);
  backdrop-filter: blur(3px) saturate(1.6);
  box-shadow:
    inset 0 2px 2px rgba(23,24,28,.06),
    inset 0 -2px 2px rgba(255,255,255,.62),
    inset 0 0 1.5px 4px rgba(255,255,255,.26),
    0 4px 2px -2px rgba(23,24,28,.18);
}
.gs-scale { width: 13px; height: 13px; color: var(--app-ink-2); flex: 0 0 auto; }
.gs-dot { width: 5px; height: 5px; border-radius: 50%; background: var(--app-adverse); display: inline-block; }
.gs-dot--lg { width: 6px; height: 6px; margin-right: 6px; }

.gs-peek {
  width: min(320px, 100%);
  border-radius: var(--r-ctl);
  /* 13px, not 15: the card ran 12px past its scene and every row in it
     earns its place, so the seams give the space back. */
  padding: 13px 16px 0;
  background: var(--glass-fill);
  -webkit-backdrop-filter: var(--glass-frost);
  backdrop-filter: var(--glass-frost);
  box-shadow: var(--glass-rim), var(--glass-depth);
}
.gs-kicker {
  display: flex; align-items: center; gap: 6px;
  font-size: 10.5px; font-weight: 550; letter-spacing: .06em;
  color: var(--app-ink-3);
}
.gs-titlerow {
  display: flex; align-items: baseline; justify-content: space-between;
  gap: 12px; margin-top: 6px;
}
.gs-title { font-size: 15.5px; font-weight: 600; letter-spacing: -.01em; }
.gs-state { font-size: 12px; font-weight: 550; color: var(--app-adverse); white-space: nowrap; display: inline-flex; align-items: center; }
.gs-cite { margin-top: 6px; font-size: 11px; color: var(--app-ink-3); }
.gs-body { margin: 8px 0 0; font-size: 12.5px; line-height: 1.55; color: var(--app-ink-2); }
.gs-stats {
  display: flex; gap: 14px; margin-top: 9px;
  font-size: 12px; font-weight: 550; color: var(--app-ink-2);
  font-variant-numeric: tabular-nums;
}
.gs-foot {
  display: flex; align-items: center; justify-content: space-between;
  margin: 11px -16px 0; padding: 9px 16px;
  border-top: 1px solid rgba(23, 24, 28, .08);
  font-size: 11px; color: var(--app-ink-3);
}
.gs-open { display: inline-flex; align-items: center; gap: 5px; font-weight: 550; color: var(--app-ink-2); }
.gs-open svg { width: 11px; height: 11px; }
.gs-kbd {
  display: inline-grid; place-items: center;
  min-width: 17px; height: 17px; padding: 0 3px;
  border: 1px solid rgba(23,24,28,.14); border-radius: 4px;
  font-size: 10px; color: var(--app-ink-3); background: rgba(255,255,255,.5);
}
.gs-hint { white-space: nowrap; }

/* The peek card as a SOURCE (work comp). The state is the application's
   "From the record" label, so it wears the accent, not the adverse red an
   allegation's state wore; and the cited sentence is highlighted the way the
   application highlights it when a citation opens the original page. */
.gs-state--src { color: var(--app-accent); }
/* The file name is the thing being cited, so it is read, not skimmed: one
   step darker than the allegation card's statute line was. */
.gs-cite--src { color: var(--app-ink-2); }
.gs-dot.gs-dot--src { background: var(--app-accent); }
.gs-quote mark {
  background: rgba(59, 79, 216, .15);
  color: var(--app-ink);
  padding: 1px 0;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}

/* ---- scene 2: ask the record ----
   WIDTH IS FIXED. The column is the block; nothing inside it may size the
   block — the composer clips its own placeholder like a real input. */
.gs-ask { width: min(330px, 100%); display: grid; }
.gs-sugg {
  display: grid; gap: 9px; justify-items: start;
  margin: 0 0 16px 6px;
  font-size: 12.5px; color: var(--app-ink-2);
}
.gs-sugg span {
  display: inline-block;
  padding: 6px 12px;
  border-radius: var(--r-ctl);
  background: linear-gradient(-75deg,
    rgba(255,255,255,.30),
    rgba(255,255,255,.58),
    rgba(255,255,255,.30));
  -webkit-backdrop-filter: blur(8px) saturate(1.3);
  backdrop-filter: blur(8px) saturate(1.3);
  box-shadow:
    inset 0 1.5px 1.5px rgba(23,24,28,.05),
    inset 0 -1.5px 1.5px rgba(255,255,255,.6),
    0 2px 2px -1px rgba(23,24,28,.12);
}
.gs-composer {
  width: 100%;
  min-width: 0;
  box-sizing: border-box;
  display: flex; align-items: center; gap: 12px;
  border-radius: var(--r-ctl);
  padding: 9px 9px 9px 18px;
  min-height: 52px;
  background: var(--app-island);
  box-shadow: var(--app-shadow-soft), 0 12px 32px -12px rgba(18,20,28,.18);
}
.gs-type { flex: 1 1 0; min-width: 0; display: inline-flex; align-items: center; font-size: 13.5px; color: var(--app-ink-2); white-space: nowrap; overflow: hidden; }
.gs-caret {
  width: 1.5px; height: 16px; margin-left: 1px;
  background: var(--app-ink-2); flex: 0 0 auto;
  animation: gs-blink 1.1s steps(1) infinite;
}
@keyframes gs-blink { 50% { opacity: 0; } }
.gs-send {
  width: 34px; height: 34px; flex: 0 0 auto;
  display: grid; place-items: center;
  border-radius: var(--r-ctl);
  background: var(--app-accent); color: #fff;
  box-shadow: 0 2px 8px rgba(59, 79, 216, .35);
}
.gs-send svg { width: 15px; height: 15px; }

/* ---- scene 3: records in ----
   The tiles are OPAQUE ISLANDS — in the app, anything you read is opaque;
   only chrome and popovers are glass. State is a word with a dot, never a
   badge. The one unreadable file is the point: honest absence, designed. */
.gs-files {
  width: min(320px, 100%);
  display: grid;
  gap: 9px;
}
.gs-file {
  display: flex; align-items: center; gap: 10px;
  background: var(--app-island);
  border-radius: var(--r-ctl);
  padding: 10px 12px;
  box-shadow: var(--app-shadow-soft);
}
/* Tiny offsets so the stack reads as landed files, not a table. */
.gs-file:nth-child(2) { margin-left: 14px; }
.gs-file:nth-child(3) { margin-left: 4px; }
.gs-file:nth-child(4) { margin-left: 18px; }
.gs-file:nth-child(5) { margin-left: 8px; }
.gs-file:nth-child(6) { margin-left: 22px; }
.gs-file-ic {
  width: 22px; height: 26px; flex: 0 0 auto;
  border-radius: 4px;
  position: relative;
  background: #eef1f5;
  border: 1px solid var(--app-hairline-strong);
}
.gs-file-ic::after {
  content: "";
  position: absolute; left: 4px; right: 4px; top: 6px;
  height: 2px; border-radius: 1px;
  background: var(--app-ink-4);
  box-shadow: 0 5px 0 var(--app-ink-4), 0 10px 0 var(--app-ink-4);
}
.gs-ic-sheet { background: #e9f2ec; border-color: #cfe3d6; }
.gs-ic-sheet::after { background: #86ab93; box-shadow: 0 5px 0 #86ab93, 0 10px 0 #86ab93; }
.gs-file-n {
  flex: 1; min-width: 0;
  font-size: 12px; font-weight: 500; color: var(--app-ink);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.gs-file-s {
  flex: 0 0 auto;
  display: inline-flex; align-items: center; gap: 5px;
  font-size: 10.5px; font-weight: 550; color: var(--app-ink-3);
}
.gs-sdot { width: 5px; height: 5px; border-radius: 50%; background: var(--app-ink-4); }
.gs-s-bad { color: var(--app-adverse); }
.gs-s-bad .gs-sdot { background: var(--app-adverse); }
.gs-s-run { color: var(--app-unresolved); }
.gs-s-run .gs-sdot { background: var(--app-unresolved); animation: gs-blink 1.4s steps(1) infinite; }

/* ---- the loop: three thick-glass nodes, stacked ----
   It ran left to right in a wide scene of its own. In a card the size of
   its siblings the sequence reads top to bottom, which is also the more
   honest shape for it: these are three consequences in order, not three
   things side by side. Each carries an icon, so the sequence - records
   arrive, findings recompute, exposure moves - is legible before the
   words are. */
.glass-scene--loop { background-position: 65% 40%; }
.gs-flow {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0;
  width: 100%;
  max-width: 250px;
}
.gs-node {
  min-width: 0;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  column-gap: 11px;
  row-gap: 2px;
  border-radius: var(--r-ctl);
  /* 9px, not 11: three nodes and two links stood 275px tall in a 247px
     box, which left 31px of air above the stack and 2px below it. */
  padding: 9px 14px;
  /* One step more fill than the peek: these sit on the artwork's darkest
     region, where the app's 52% (tuned for white paper behind) goes muddy. */
  background: rgba(241, 243, 246, 0.68);
  -webkit-backdrop-filter: var(--glass-frost);
  backdrop-filter: var(--glass-frost);
  box-shadow: var(--glass-rim), var(--glass-depth);
}
.gs-node-i {
  grid-row: 1 / 3;
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border-radius: var(--r-ctl);
  background: rgba(255, 255, 255, 0.6);
  box-shadow: inset 0 0 0 1px rgba(23, 24, 28, 0.06);
  color: var(--app-ink-2);
}
.gs-i { width: 15px; height: 15px; display: block; }
.gs-node-k { font-size: 13px; font-weight: 600; letter-spacing: -.005em; white-space: nowrap; }
.gs-node-v { font-size: 11.5px; color: var(--app-ink-2); font-variant-numeric: tabular-nums; white-space: nowrap; }
.gs-link {
  flex: 0 0 auto;
  display: flex; flex-direction: column; align-items: center;
  color: rgba(23,24,28,.45);
}
.gs-link i {
  display: block; width: 1px; height: 9px;
  background: rgba(23,24,28,.28);
}
.gs-link span {
  display: grid; place-items: center;
  width: 16px; height: 16px; margin: 2px 0;
  border-radius: var(--r-ctl);
  font-size: 11px; line-height: 1;
  background: rgba(255,255,255,.55);
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
  box-shadow: inset 0 1px 0.5px rgba(255,255,255,.8), 0 1px 2px rgba(23,24,28,.12);
}


/* ============================================================
   THE INTAKE BAND (.intake)
   The section's thesis, stated once and wide: raw productions on the
   left, the assembled matter on the right, one line between them. It
   replaces the "Records in" card, which said what the loop card beside
   it already said.

   Same ground and same glass vocabulary as the scenes below, at a
   vertical crop none of them use, so the band and the three-up read as
   one system rather than two treatments. The caption sits UNDER the
   picture, as it does on every card, so the section keeps one rule:
   picture first, words after.
   ============================================================ */
.intake { margin: 0 0 clamp(46px, 5vw, 82px); }
.intake-scene {
  position: relative;
  display: grid;
  grid-template-columns: auto minmax(80px, 1fr) auto;
  align-items: center;
  gap: clamp(18px, 3vw, 56px);
  padding: clamp(30px, 3.6vw, 58px) clamp(26px, 3.2vw, 56px);
  border-radius: var(--r-panel);
  border: 1px solid var(--glass-edge);
  overflow: hidden;
  background-image: url("media/flow-bg.webp");
  background-size: cover;
  /* 94%, the pale lower reach of the artwork. The dense blue falls on the
     LEFT, under the pile of raw records, and clears to near-white on the
     RIGHT, under the assembled matter - so the ground carries the same
     move the band does. The middle of this artwork (the 40-65% band the
     card scenes use) is far too saturated behind five white tiles. */
  background-position: 50% 94%;
  font-family: var(--app-sans);
  color: var(--app-ink);
  letter-spacing: 0;
  text-align: left;
}

/* ---- the productions ----
   Opaque islands, because a filename is a reading surface. Each tile sits
   a degree or so off true and nudged sideways, so five records read as a
   pile someone handed over rather than as a table. */
.intake-in {
  display: flex;
  flex-direction: column;
  gap: 9px;
  width: clamp(214px, 21vw, 300px);
}
.fd {
  display: flex;
  align-items: center;
  gap: 11px;
  min-width: 0;
  background: var(--app-island);
  border-radius: var(--r-ctl);
  padding: 9px 13px;
  box-shadow: var(--app-shadow-soft);
}
.fd:nth-child(1) { transform: rotate(-1.6deg); }
.fd:nth-child(2) { transform: rotate(1deg)    translateX(15px); }
.fd:nth-child(3) { transform: rotate(-0.7deg) translateX(5px); }
.fd:nth-child(4) { transform: rotate(1.5deg)  translateX(19px); }
.fd:nth-child(5) { transform: rotate(-1.2deg) translateX(8px); }
.fd-ic { width: 22px; height: 27px; flex: 0 0 auto; display: block; }
/* The type band is the only colour on the tile - the extension does the
   rest of the telling. --app-favorable was defined and unused until now. */
.fd-band { fill: var(--app-ink-4); }
.fd--doc .fd-band { fill: var(--app-adverse); }
.fd--xls .fd-band { fill: var(--app-favorable); }
.fd-n {
  min-width: 0;
  font-size: 12px;
  font-weight: 500;
  color: var(--app-ink);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* ---- the line between ---- */
.intake-wire { display: flex; align-items: center; gap: 14px; min-width: 0; }
.iw-dash {
  position: relative;
  flex: 1 1 0;
  min-width: 20px;
  height: 1px;
  background: repeating-linear-gradient(90deg, rgba(23,24,28,.30) 0 3px, transparent 3px 9px);
}
.iw-dash::after {
  content: "";
  position: absolute;
  top: -2px;
  left: 0;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--app-accent);
  box-shadow: 0 0 0 3px rgba(59, 79, 216, .13);
  animation: iw-run 3.4s cubic-bezier(.65, 0, .35, 1) infinite;
}
.iw-node + .iw-dash::after { animation-delay: 1.7s; }
@keyframes iw-run {
  0%   { left: 0;    opacity: 0; }
  14%  { opacity: 1; }
  86%  { opacity: 1; }
  100% { left: 100%; opacity: 0; }
}
.iw-node {
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border-radius: var(--r-ctl);
  background: var(--glass-fill);
  -webkit-backdrop-filter: var(--glass-frost);
  backdrop-filter: var(--glass-frost);
  box-shadow: var(--glass-rim), var(--glass-depth);
}
.iw-mark { width: 25px; height: auto; display: block; fill: var(--app-ink); opacity: .78; }

/* ---- what comes back ---- */
.intake-out { width: clamp(230px, 23vw, 330px); }
.im-card {
  display: grid;
  background: var(--app-island);
  border-radius: var(--r-ctl);
  padding: 18px 20px 16px;
  box-shadow: var(--app-shadow-soft), 0 18px 44px -18px rgba(18, 20, 28, .30);
}
.im-ic {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  margin-bottom: 14px;
  border-radius: var(--r-ctl);
  background: #f2f4f8;
  box-shadow: inset 0 0 0 1px var(--app-hairline);
  color: var(--app-ink-2);
}
.im-ic svg { width: 19px; height: 19px; display: block; }
.im-sub {
  font-size: 10.5px; font-weight: 550; letter-spacing: .06em;
  text-transform: uppercase; color: var(--app-ink-3);
}
.im-t { margin: 5px 0 0; font-size: 15.5px; font-weight: 600; letter-spacing: -.01em; line-height: 1.25; }
.im-state {
  justify-self: start;
  margin-top: 13px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 10px;
  border-radius: var(--r-ctl);
  background: color-mix(in srgb, var(--app-favorable) 11%, transparent);
  color: var(--app-favorable);
  font-size: 11.5px;
  font-weight: 550;
}
.im-state svg { width: 13px; height: 13px; flex: 0 0 auto; }
.im-stats {
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid var(--app-hairline);
  display: flex;
  flex-wrap: wrap;
  gap: 4px 12px;
  font-size: 11.5px;
  font-weight: 550;
  color: var(--app-ink-2);
  font-variant-numeric: tabular-nums;
}

.intake-cap { margin: clamp(18px, 1.7vw, 28px) 0 0; max-width: 62ch; }
.intake-cap .show-blurb { margin-bottom: 0; }

/* ============================ RESPONSIVE ============================
   Same single composition switch as the rest of the page. */
@media (max-width: 1100px) {
  .prod-rail { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: clamp(34px, 5vw, 52px); }
}
/* One column: the subgrid comes OFF. Its whole job is holding four rows
   on one baseline ACROSS cards, and stacked there is nothing to hold them
   against - all it does is push each card's blurb down to clear the
   tallest label in the set, which reads as dead space under a one-line
   heading. */
@media (max-width: 760px) {
  .prod-rail {
    grid-template-columns: 1fr;
    grid-template-rows: none;
    row-gap: clamp(34px, 6vw, 52px);
    max-width: 460px;
    margin-inline: auto;
  }
  .prod-card { display: block; }
}

/* The band stands up: records above, the matter below, the line between
   them turned on its end. */
@media (max-width: 900px) {
  .intake-scene { grid-template-columns: 1fr; justify-items: center; gap: 16px; }
  .intake-in, .intake-out { width: min(320px, 100%); }
  .intake-wire { flex-direction: column; height: 58px; gap: 12px; }
  .iw-dash {
    width: 1px; height: auto; min-width: 0; min-height: 14px;
    background: repeating-linear-gradient(180deg, rgba(23,24,28,.30) 0 3px, transparent 3px 9px);
  }
  .iw-dash::after { display: none; }
  .iw-node { width: 46px; height: 46px; }
  .intake-cap { margin-inline: auto; }
}

/* The travelling dot is the only autonomous motion in the section. */
@media (prefers-reduced-motion: reduce) {
  .iw-dash::after { animation: none; opacity: 0; }
}

@media (max-width: 400px) {
  .gs-hint { display: none; }
}
