/* ============================================================================
   home.css — the home page only. Built from the kit (components.css: cards
   and their modifiers, chips, buttons, covers, stats, .meter, voice line,
   subtitle line .caption, .frame-corners, .card--lift, .spotlight,
   .horizon, .carousel + .game-card, .news-card, .split + the editorial
   accordion, .callout, .cta-band); this file lays the page out and draws
   its scenes. Tokens only; media queries only the device ranges
   (tokens.css) — the wide-screen step of the hero is fluid (--hero-wide).
   The home page is the only one with the scroll reveal (.reveal, main.js).

   Motion: transforms and opacity (plus an 8px blur on the hero copy as it
   comes in). Loops run only while main.js marks their [data-loop]
   .is-visible and stop under prefers-reduced-motion; every animated piece
   rests in its final, meaningful state, so offscreen / reduced motion / no
   JS all show the finished picture.
   GPU budget (the hero runs for as long as the page sits at the top): no
   mask, filter or shadow on anything that moves or holds moving layers,
   no per-element loops on many nodes. What moves in the hero: the four
   wall rails and the voice line's four small layers (components.css section 15).

   Contents
     1. Hero          .hero, .hero__*  — copy, entrance choreography
     2. Cover wall    .hero__wall, .wall__* — 4 vertical marquees in 3D
     3. Numbers       .numbers
     4. Path          .how, .path, .step, .inst, .lib, .play (Jak to działa)
     5. Bento         .bento, .ocr, .os, .packs (Co oferuje LoreSpeak)
     6. VoicePacks    .vp-carousel (kit .carousel of Shared/GameCard)
     7. News          .news-tl (timeline: track, markers; Shared/NewsCard timeline)
     8. Vote          .vote, .poll
     9. FAQ           .faq (Shared/FaqSection), .faq__help
    10. Team          .team-grid, .player (player cards), .team-note
    11. Contact       .mail, .channels, .channel-tile (kit .card), .support-band (kit .callout)
    12. Outro         .outro (kit .cta-band)
    13. Reduced motion
   ========================================================================== */


/* ── 1. Hero ────────────────────────────────────────────────────────────────
   A full-viewport scene on the deep floor: the dot grid fades out downwards,
   a violet light glows behind the cover wall, a faint warm one above it.
   The hero shares the page measure (--container, fluid up to 1600px on
   wide screens): the copy sits in a --hero-max column, centred; --hero-edge is that column's left
   edge in the viewport. The copy scales with the viewport (--copy-w), the
   wall starts under the end of the copy and runs off the right edge of the
   viewport at every width (the section clips it). The lights are sized in
   % of the section, so they scale with it.
   Wide screens, without a breakpoint: --hero-wide is 0 up to a 1500px
   viewport and grows to 100px at 1600px (and stays there). The title, the
   gaps, the lead, the buttons, the voice line and the wall tiles add a
   share of it, so the larger 1600px+ hero arrives over those last 100px. */
.hero {
  --hero-max: var(--container);   /* same measure as .wrap, so the copy lines up with the topbar logo */
  --hero-edge: max(var(--gutter), (100% - var(--hero-max)) / 2);
  --hero-wide: clamp(0px, 100vw - 1500px, 100px);
  --copy-w: clamp(34rem, 36vw, 44rem);
  /* Desktop: where the cover wall starts (the wall box and the veil). */
  --wall-left: max(36%, calc(var(--hero-edge) + var(--copy-w) - 5rem));

  position: relative;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  /* One screen, but not a 2000px hero on a tall portrait monitor: the cap
     (75rem, or 75vw on a wide screen) is never reached by a landscape
     screen from 1600px, which always gets a full screen however tall. */
  min-height: clamp(40rem, 100vh, max(75rem, 75vw));
  min-height: clamp(40rem, 100svh, max(75rem, 75vw));
  padding-top: var(--nav-h);
  overflow: clip;
  background-color: var(--bg-deep);
}
.hero::before,
.hero__veil::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -2;
  background-image: var(--dot-grid);
  background-size: var(--dot-grid-size);
  -webkit-mask-image: linear-gradient(to bottom, #000 30%, transparent 85%);
          mask-image: linear-gradient(to bottom, #000 30%, transparent 85%);
  pointer-events: none;
}
.hero__light,
.hero__veil::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(42% 58% at 74% 48%, var(--ambient-violet), transparent 72%),
    radial-gradient(26% 30% at 70% 12%, var(--ambient-warm), transparent 70%),
    radial-gradient(34% 44% at 8% 40%, var(--ambient-violet-soft), transparent 70%);
  pointer-events: none;
  animation: ls-fade-in 1.8s var(--ease-out) 0.15s both;
}

.hero__inner {
  position: relative;
  z-index: 2;
  display: flex;
  flex: 1 0 auto;
  align-items: center;
  width: 100%;
  max-width: calc(var(--hero-max) + 2 * var(--gutter));
  margin-inline: auto;
  padding: var(--space-10) var(--gutter) var(--space-8);
  pointer-events: none;   /* the wall under the copy column stays hoverable */
}
.hero__copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: calc(var(--space-6) + var(--hero-wide) * 0.08);   /* 24 → 32px on wide screens */
  max-width: var(--copy-w);
  pointer-events: auto;
}

.hero__pill { --chip-px: 0.875rem; height: 1.875rem; font-size: 0.8125rem; }

/* 3rem → 5.5rem with the viewport (5.5rem from ~1420px), then on wide
   screens on to 6.5rem (from ~1930px). */
.hero__title {
  margin: 0;
  font-size: clamp(3rem, 6.2vw, min(6.5rem, max(5.5rem, 5.4vw)));
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.035em;
}
.hero__line { display: block; white-space: nowrap; }
.hero__line--accent { color: var(--accent-400); }
/* Each word rises inside its own clip box; the box is padded so the
   descenders (j, y, g) are not cut, and the padding is cancelled by an
   equal negative margin so the layout does not move. */
.hero__word {
  display: inline-block;
  overflow: clip;
  padding: 0.06em 0.04em 0.18em;
  margin: -0.06em -0.04em -0.18em;
  vertical-align: top;
}
.hero__word > span { display: inline-block; }

/* Wide screens (--hero-wide): 30rem → 36rem wide, 1.25rem → 1.5rem type. */
.hero__lead {
  max-width: calc(30rem + var(--hero-wide) * 0.96);
  color: var(--text-1);
  font-size: clamp(1.0625rem, 1.4vw, min(1.5rem, max(1.25rem, 0.9vw + 0.4rem)));
}
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  margin-top: var(--space-2);
}
/* The primary one glows (Shared/Button glow: .btn--glow). */
.hero__actions > .btn { justify-content: flex-start; min-width: calc(11.5rem + var(--hero-wide) * 0.24); }
/* The mono note under the actions (also the outro's, section 12). */
.hero__note,
.outro__note {
  margin: 0;
  color: var(--text-2);
  font-size: var(--fs-xs);
  letter-spacing: 0.06em;
}

/* The voice line closing the scene: 240 bars = 75rem at most, centred;
   a step taller and further from the edge on wide screens. */
.hero__voice {
  --voiceline-h: calc(2.75rem + var(--hero-wide) * 0.08);
  --drift-dur: 8s;
  position: relative;
  z-index: 2;
  width: calc(100% - 2 * var(--gutter));
  max-width: 75rem;
  margin: 0 auto calc(var(--space-8) + var(--hero-wide) * 0.08);
}

/* Entrance choreography: pill → heading word by word → sub-line → buttons
   → note; the wall rises in after the copy, the voice line last. Animated
   from opacity .001 (still painted, so the heading counts for LCP). */
.hero__pill    { animation: home-rise 0.7s var(--ease-out) 0.1s both; }
.hero__word > .hero__in { animation: home-word 0.9s var(--ease-out) both; }
/* "Innowacyjny" / "lektor do gier": one word, then three */
.hero__line:first-child .hero__word:nth-child(1) > span { animation-delay: 0.18s; }
.hero__line--accent .hero__word:nth-child(1) > span     { animation-delay: 0.27s; }
.hero__line--accent .hero__word:nth-child(2) > span     { animation-delay: 0.32s; }
.hero__line--accent .hero__word:nth-child(3) > span     { animation-delay: 0.37s; }
.hero__lead    { animation: home-rise 0.8s var(--ease-out) 0.52s both; }
.hero__actions { animation: home-rise 0.8s var(--ease-out) 0.62s both; }
.hero__note    { animation: home-rise 0.8s var(--ease-out) 0.72s both; }
.hero__wall    { animation: home-wall 1.3s var(--ease-out) 0.5s both; }
.hero__voice   { animation: ls-fade-in 1.2s var(--ease-out) 1s both; }
/* Firefox: the copy fades in place (a transform moving text re-snaps it
   to whole pixels when it ends — tokens.css). */
@supports (-moz-appearance: none) {
  .hero__pill,
  .hero__word > .hero__in,
  .hero__lead,
  .hero__actions,
  .hero__note { animation-name: ls-fade-in; }
}
/* Safety net (main.js [data-entrance], 2.5s): whatever happened to the
   timeline, settle. */
.hero.is-entered .hero__in,
.hero.is-entered .hero__wall,
.hero.is-entered .hero__voice,
.hero.is-entered .hero__light,
.hero.is-entered .hero__veil::after { animation: none; }

@keyframes home-rise {
  from { opacity: 0.001; transform: translateY(18px); filter: blur(8px); }
  to   { opacity: 1; transform: none; filter: blur(0); }
}
@keyframes home-word {
  from { transform: translateY(112%); }
  to   { transform: none; }
}
@keyframes home-wall {
  from { opacity: 0.001; transform: translateY(40px); }
  to   { opacity: 1; transform: none; }
}
@keyframes home-pop {
  from { opacity: 0.001; transform: scale(0.4); }
  to   { opacity: 1; transform: none; }
}

/* Phones and tablets in portrait: no cover wall (section 2) — the copy,
   centred, and at the foot of the first screen the voice line. The hero
   is one small-viewport screen tall (svh: the height with the address bar
   shown, vh fallback) or as tall as its content on a short / landscape
   screen; the copy is centred in the room above the voice line, so any
   spare height splits evenly above and below it instead of piling up in
   one gap. The three desktop lights are placed for a wide screen with the
   wall on the right — on a tall, narrow screen they stretch into stray
   beams. Instead: one soft, round light behind the copy and a faint one
   under the voice line. */
@media (max-width: 1023px) {
  .hero {
    min-height: 100vh;
    min-height: 100svh;
  }
  .hero__light {
    background:
      radial-gradient(min(34rem, 90vw) min(26rem, 60vw) at 50% 46%, var(--ambient-violet), transparent 70%),
      radial-gradient(min(30rem, 80vw) 7rem at 50% 100%, var(--ambient-violet-soft), transparent 72%);
  }
  .hero__inner { flex: 1 0 auto; padding-block: var(--space-8) var(--space-4); }
  .hero__copy { align-items: center; max-width: 40rem; margin-inline: auto; text-align: center; }
  .hero__actions { justify-content: center; }
  .hero__voice { margin-bottom: var(--space-6); }
}
@media (max-width: 767px) {
  .hero__copy { gap: var(--space-5); }
  .hero__pill { font-size: var(--fs-xs); }
  .hero__actions { width: 100%; }
  .hero__actions > .btn { flex: 1 1 0; min-width: 0; }
}


/* ── 2. Cover wall ──────────────────────────────────────────────────────────
   Four columns of covers (from 1024px: desktop and tablet landscape;
   hidden below), each a vertical marquee:
   the rail holds two identical tracks and moves by -50% (up) or from -50%
   to 0 (down), so the loop has no seam. Columns alternate direction and run
   at different speeds; negative delays start each one at a different point.
   The animation is always attached but paused, and runs only while main.js
   marks the wall .is-visible — so leaving the screen pauses it (and coming
   back resumes) instead of restarting it. A hovered column stops (mouse
   only).
   The plane is tilted in perspective and fades out at the top, the bottom
   and towards the copy. On desktop the wall box runs from just before the
   end of the copy to the right edge of the viewport; the plane always has
   FOUR columns, sized from the box width (container query units) so all
   four stay on screen at every width — nothing bleeds off the right edge.
   home.js moves .wall by a few dozen px on scroll (parallax).

   GPU: the four rails are the only moving layers. Nothing over them is
   masked or filtered while they move — a mask on the wall would make the
   compositor redraw the whole masked area into an offscreen surface every
   frame. The fades come from .hero__veil instead: a STATIC copy of the
   hero's own backdrop (floor, dot grid, lights) laid over the wall and
   masked by the inverse of the old wall fade, so it is painted once and
   the picture is the same. Tiles carry no shadow (the veil gives the
   depth). */
.hero__wall {
  /* Four columns fit in ~74% of the box (the tilt needs the rest). A tile
     is at most 11rem wide, 15rem on wide screens (--hero-wide); the gap
     grows 18 → 22px with it. */
  --tile-w: min(calc(11rem + var(--hero-wide) * 0.64), (74cqw - 3 * var(--wall-gap)) / 4);
  --wall-gap: calc(1.125rem + var(--hero-wide) * 0.04);
  container-type: inline-size;

  position: absolute;
  z-index: 1;
  top: 0;
  right: 0;
  bottom: 0;
  left: var(--wall-left);
  contain: layout paint;
}
/* Fully opaque left of the wall box edge and in the top 6% / bottom 7%,
   clear over the middle of the wall — the exact inverse of the fade the
   wall had (1 - top/bottom × left), sized to the wall box. Above the wall,
   below the copy and the voice line; the wall stays hoverable through it. */
.hero__veil {
  position: absolute;
  inset: 0;
  z-index: 1;
  isolation: isolate;
  background-color: var(--bg-deep);
  pointer-events: none;
  -webkit-mask:
    linear-gradient(to right, #000, transparent 32%) right / calc(100% - var(--wall-left)) 100% no-repeat,
    linear-gradient(to bottom, #000 6%, transparent 30%, transparent 70%, #000 93%) right / calc(100% - var(--wall-left)) 100% no-repeat;
          mask:
    linear-gradient(to right, #000, transparent 32%) right / calc(100% - var(--wall-left)) 100% no-repeat,
    linear-gradient(to bottom, #000 6%, transparent 30%, transparent 70%, #000 93%) right / calc(100% - var(--wall-left)) 100% no-repeat;
}
.wall {
  position: absolute;
  inset: 0;
  perspective: 1500px;
  perspective-origin: 30% 40%;
}
.wall__plane {
  position: absolute;
  top: -24%;
  bottom: -24%;
  left: 8%;
  display: flex;
  gap: var(--wall-gap);
  transform: rotateX(16deg) rotateY(-20deg) rotateZ(7deg);
  transform-origin: 50% 50%;
}
.wall__col {
  flex: 0 0 var(--tile-w);
  width: var(--tile-w);
  --wall-dur: 70s;
  --wall-delay: -10s;
  --wall-rest: -6%;
}
.wall__col:nth-child(2) { --wall-dur: 85s; --wall-delay: -48s; --wall-rest: -22%; }
.wall__col:nth-child(3) { --wall-dur: 60s; --wall-delay: -22s; --wall-rest: -14%; }
.wall__col:nth-child(4) { --wall-dur: 95s; --wall-delay: -70s; --wall-rest: -30%; }

.wall__rail {
  display: flex;
  flex-direction: column;
  transform: translateY(var(--wall-rest));
  animation: home-wall-up var(--wall-dur) linear var(--wall-delay) infinite paused;
  will-change: transform;
}
.wall__col:nth-child(even) .wall__rail { animation-name: home-wall-down; }
.hero__wall.is-visible .wall__rail { animation-play-state: running; }
@media (hover: hover) and (pointer: fine) {   /* a tap must not freeze a column (tokens.css) */
  .hero__wall.is-visible .wall__col:hover .wall__rail { animation-play-state: paused; }
}
@keyframes home-wall-up {
  from { transform: translateY(0); }
  to   { transform: translateY(-50%); }
}
@keyframes home-wall-down {
  from { transform: translateY(-50%); }
  to   { transform: translateY(0); }
}

.wall__track {
  display: flex;
  flex-direction: column;
  gap: var(--wall-gap);
  margin: 0;
  padding: 0 0 var(--wall-gap);
}
.wall__item { width: var(--tile-w); }
.wall__tile {
  display: block;
  border-radius: var(--radius-md);
  transition: scale var(--dur-base) var(--ease-out);
}
.wall__tile .cover::after { transition: border-color var(--dur-fast) var(--ease-standard); }
@media (hover: hover) and (pointer: fine) {   /* zoom + edge: mouse only (tokens.css) */
  .wall__tile:hover { scale: 1.03; }
  .wall__tile:hover .cover::after { border-color: var(--line-hover); }
}
.wall .cover__fallback { gap: var(--space-2); padding: var(--space-3); font-size: 1.375rem; }
.wall .cover__name { font-size: var(--fs-xs); }
.wall .cover--empty {
  background: radial-gradient(80% 60% at 50% 30%, var(--ambient-violet-soft), transparent), var(--surface-2);
}

/* Phones and tablets in portrait: no wall at all (owner) — the voice line
   closes the hero alone. display: none stops everything: no box, so
   main.js never marks it [data-loop].is-visible (the rails stay paused,
   nothing is painted) and its entrance does not run; home.js moves it
   only from 1024px. The veil only shades the wall, so it goes too. */
@media (max-width: 1023px) {
  .hero__wall,
  .hero__veil { display: none; }
}


/* ── 3. Numbers band ────────────────────────────────────────────────────── */
.numbers {
  position: relative;
  padding-block: var(--space-4) var(--space-16);
  background-color: var(--bg-deep);
}
.numbers__row {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
}
.numbers__item {
  position: relative;
  padding: var(--space-8) var(--space-6);
}
.numbers__item + .numbers__item { border-top: 1px solid var(--line); }
.numbers .stat__value {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.045em;
}
.numbers .stat__label { margin-top: var(--space-2); font-size: 0.9375rem; }
@media (min-width: 768px) {
  .numbers { padding-top: var(--space-8); }
  .numbers__row { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .numbers__item { padding: var(--space-10) var(--space-6); }
  .numbers__item + .numbers__item { border-top: 0; border-left: 1px solid var(--line); }
  /* The violet tick at the top of each hairline. */
  .numbers__item + .numbers__item::before {
    content: '';
    position: absolute;
    top: var(--space-6);
    left: -1px;
    width: 1px;
    height: 1.5rem;
    background-color: var(--accent-400);
  }
}


/* ── 4. Jak to działa: the path ─────────────────────────────────────────────
   Timeline once the row is revealed (each step gets .is-revealed from
   main.js; the times below run from that moment):
     line      draws 0.3s → 2.7s (2.4s, ease-in-out); the nodes light up as
               it passes them (0.3s / 1.5s / 2.7s)
     step 01   at 0.3s: the bar fills over 2.2s (ease-in-out) while home.js
               counts the percentage; the check pops at 2.5s
     step 02   at 0.8s: the covers slide in (900ms, 120ms apart), the middle
               one is outlined (1.8s) and checked (2.0s)
     step 03   at 1.3s: the voice line lights up over 1.2s, then speaks
   Below 1024px the steps stack and each plays as soon as it is revealed. */
.how__header .section-header__desc { max-width: 60ch; }

.path {
  --node: 2.75rem;
  position: relative;
}
.path__steps {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: var(--space-8);
  margin: 0;
  padding: 0;
  list-style: none;
}
.path__step {
  display: grid;
  grid-template-columns: var(--node) minmax(0, 1fr);
  align-items: start;
  gap: var(--space-4);
}
.path__node {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: var(--node);
  height: var(--node);
  color: var(--accent-300);
  background-color: var(--bg);
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  font-size: 0.8125rem;
  font-weight: 500;
}
/* Lit state: an accent disc fades and grows in over the dim node. */
.path__node::before {
  content: '';
  position: absolute;
  inset: -1px;
  z-index: -1;
  border: 1px solid var(--accent-line);
  border-radius: inherit;
  background-color: var(--accent-soft-hover);
}
.path__step { --step-at: 0.3s; --node-at: 0.3s; }
@media (min-width: 1024px) {
  .path__step:nth-child(2) { --step-at: 0.8s; --node-at: 1.5s; }
  .path__step:nth-child(3) { --step-at: 1.3s; --node-at: 2.7s; }
}
.path__step.is-revealed .path__node::before {
  animation: home-pop 0.6s var(--ease-pop) var(--node-at) both;
}
/* Smoothness: every piece that moves in this section gets its own layer up
   front (a dozen small elements), so the browser does not create and paint
   the layer on the first frame of the animation — that is where the hitch
   was. Transforms/opacity only. */
.path__step,
.path__node::before,
.path__fill,
.inst__check,
.lib__item,
.lib__item--2::after,
.lib__badge,
.play .chip,
.play__line .voiceline__beam,
.play__line .voiceline__lit { will-change: transform, opacity; }
.path__step { backface-visibility: hidden; }

/* The line runs through the node centres and draws itself once (scale).
   Desktop: one line across the top (.path__line). Phones and tablets: the
   steps stack, so each step draws its own piece down to the next node. */
.path__line { display: none; }
.path__step { position: relative; }
.path__step:not(:last-child)::after {
  content: '';
  position: absolute;
  top: var(--node);
  bottom: calc(var(--space-8) * -1);
  left: calc(var(--node) / 2);
  width: 1px;
  background: linear-gradient(var(--accent-500), var(--accent-line));
  transform-origin: 50% 0;
}
.path__step.is-revealed:not(:last-child)::after {
  animation: home-draw-y 1.2s var(--ease-in-out) calc(var(--reveal-delay, 0ms) + 0.3s) both;
}
@keyframes home-draw-y {
  from { transform: scaleY(0); }
  to   { transform: none; }
}
@keyframes home-draw-x {
  from { transform: scaleX(0); }
  to   { transform: none; }
}

/* Phones: the node sits on the vertical centre of its card (grid
   centring, no translate), like the desktop nodes sit on the card's
   centre line. The line is drawn in pieces that meet at the step edges:
     ::before  (steps 2, 3)  from the middle of the gap above down to the
                             node (lit at the node end)
     ::after   (steps 1, 2)  from the node down to the middle of the gap
                             below (lit at the node end)
   so it runs unbroken from node to node whatever the card heights. When a
   step is revealed the piece from above draws first (0 → 0.35s) and
   reaches the node as it lights up (0.3s), then the piece below draws on
   (0.3s → 1.5s), as before. */
@media (max-width: 767px) {
  .path__step { align-items: center; }
  .path__step:not(:last-child)::after {
    top: 50%;
    bottom: calc(var(--space-8) / -2);
  }
  .path__step:not(:first-child)::before {
    content: '';
    position: absolute;
    top: calc(var(--space-8) / -2);
    bottom: 50%;
    left: calc(var(--node) / 2);
    width: 1px;
    background: linear-gradient(var(--accent-line), var(--accent-500));
    transform-origin: 50% 0;
  }
  .path__step.is-revealed:not(:first-child)::before {
    animation: home-draw-y 0.35s var(--ease-in-out) var(--reveal-delay, 0ms) both;
  }
}

@media (min-width: 1024px) {
  .path__steps {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: var(--grid-gap);
  }
  .path__step {
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: auto 1fr;   /* extra height goes to the card, not the node row */
    justify-items: center;          /* the node sits on the card's centre line */
    gap: var(--space-6);
  }
  .path__step > .step { justify-self: stretch; }
  .path__step:not(:last-child)::after { display: none; }
  /* From the centre of the first card to the centre of the third: a column
     is (100% - 2 gaps) / 3 wide, so the line starts half a column in and
     spans two columns and two gaps. */
  .path__line {
    position: absolute;
    top: calc(var(--node) / 2);
    left: calc((100% - 2 * var(--grid-gap)) / 6);
    display: block;
    width: calc((100% - 2 * var(--grid-gap)) * 2 / 3 + 2 * var(--grid-gap));
    height: 1px;
    background-color: var(--line-strong);
  }
  .path__fill {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, var(--accent-500), var(--accent-400) 50%, var(--accent-500));
    transform-origin: 0 50%;
  }
  .path__line.is-revealed .path__fill { animation: home-draw-x 2.4s var(--ease-in-out) 0.3s both; }
}

.step { height: 100%; }
.step__stage {
  display: grid;
  place-items: center;
  height: 11.5rem;
  padding: var(--space-5);
  background: radial-gradient(70% 90% at 50% 0%, var(--ambient-violet-soft), transparent 70%), var(--sunken);
  border-bottom: 1px solid var(--line-subtle);
}
.step .card__body { padding: var(--space-6); }

/* 01 — install: the bar fills, the percentage appears, the check pops. */
.inst {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  width: 100%;
  max-width: 15.5rem;
  padding: var(--space-4);
  background-color: var(--surface-1);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md), var(--highlight-top-strong);
}
.inst__head { display: flex; align-items: center; gap: var(--space-3); }
.inst__file {
  flex: 1 1 auto;
  min-width: 0;
  overflow: hidden;
  color: var(--text-1);
  font-size: var(--fs-xs);
  white-space: nowrap;
  text-overflow: ellipsis;
}
.inst__check {
  display: grid;
  place-items: center;
  width: 1.5rem;
  height: 1.5rem;
  flex-shrink: 0;
  color: var(--success-text);
  background-color: var(--success-soft);
  border: 1px solid var(--success-line);
  border-radius: 50%;
  font-size: 0.625rem;
}
/* The bar is the kit .meter (--lg, full: --meter 1); only its fill moves. */
.inst__fill { will-change: transform; }
.inst__foot {
  display: flex;
  justify-content: space-between;
  color: var(--text-2);
  font-size: var(--fs-xs);
}
.inst__pct { min-width: 4ch; color: var(--accent-text); font-variant-numeric: tabular-nums; text-align: right; }
/* home.js reads this animation's delay and duration once the step is
   revealed and counts the percentage with the same timing and easing. */
.path__step.is-revealed .inst__fill  { animation: home-fill 2.2s var(--ease-in-out) var(--step-at) both; }
.path__step.is-revealed .inst__check { animation: home-pop 0.5s var(--ease-pop) calc(var(--step-at) + 2.2s) both; }
/* The fill slides in from the left inside the clipped track, so its rounded
   ends keep their shape (scaleX squashed them and the bar looked jittery). */
@keyframes home-fill {
  from { transform: translateX(-97%); }
  to   { transform: none; }
}

/* 02 — library: covers slide into a row; the middle one is picked. */
.lib {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-3);
  width: 100%;
}
.lib__item { position: relative; flex: 0 1 4.25rem; min-width: 0; }
.lib__item--2 { flex-basis: 5.5rem; }
.lib__item .cover { box-shadow: var(--shadow-md); }
.lib .cover__fallback { padding: var(--space-2); font-size: 1.125rem; }
.lib__item--2::after {
  content: '';
  position: absolute;
  inset: -4px;
  border: 2px solid var(--accent-500);
  border-radius: calc(var(--radius-md) + 4px);
  pointer-events: none;
}
.lib__badge {
  position: absolute;
  top: -0.625rem;
  right: -0.625rem;
  z-index: 3;
  display: grid;
  place-items: center;
  width: 1.5rem;
  height: 1.5rem;
  color: var(--on-accent);
  background-color: var(--accent-500);
  border-radius: 50%;
  box-shadow: 0 0 0 3px var(--surface-1);
  font-size: 0.625rem;
}
.path__step.is-revealed .lib__item--1 { animation: home-slide-l 0.9s var(--ease-out) var(--step-at) both; }
.path__step.is-revealed .lib__item--2 { animation: home-slide-u 0.9s var(--ease-out) calc(var(--step-at) + 0.12s) both; }
.path__step.is-revealed .lib__item--3 { animation: home-slide-r 0.9s var(--ease-out) calc(var(--step-at) + 0.24s) both; }
.path__step.is-revealed .lib__item--2::after { animation: ls-fade-in 0.4s var(--ease-standard) calc(var(--step-at) + 1s) both; }
.path__step.is-revealed .lib__badge { animation: home-pop 0.5s var(--ease-pop) calc(var(--step-at) + 1.2s) both; }
@keyframes home-slide-l { from { opacity: 0.001; transform: translateX(-28px); } to { opacity: 1; transform: none; } }
@keyframes home-slide-r { from { opacity: 0.001; transform: translateX(28px); }  to { opacity: 1; transform: none; } }
@keyframes home-slide-u { from { opacity: 0.001; transform: translateY(16px); }  to { opacity: 1; transform: none; } }

/* 03 — play: status chip over the voice line. */
.play {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--space-4);
  width: 100%;
  max-width: 15.5rem;
}
/* The line is fully lit once it has lit up (no sweep loop): it lights up
   left → right over 1.2s (the beam opens while the lit row inside holds
   still), then the dim row keeps breathing while on screen. */
.play__line { --voiceline-h: 3.5rem; --voiceline-fade: 0%; }
.play__line .voiceline__beam,
.play__line .voiceline__lit,
.play__line.is-visible .voiceline__beam,
.play__line.is-visible .voiceline__lit { transform: none; animation: none; }
.path__step.is-revealed .play__line .voiceline__beam {
  animation: home-light 1.2s var(--ease-in-out) calc(var(--step-at) + 0.15s) both;
}
.path__step.is-revealed .play__line .voiceline__lit {
  animation: home-light-back 1.2s var(--ease-in-out) calc(var(--step-at) + 0.15s) both;
}
.path__step.is-revealed .play .chip { animation: ls-fade-in 0.5s var(--ease-standard) var(--step-at) both; }
@keyframes home-light {
  from { transform: translateX(-100%); }
  to   { transform: none; }
}
@keyframes home-light-back {
  from { transform: translateX(100%); }
  to   { transform: none; }
}


/* ── 5. Bento ───────────────────────────────────────────────────────────────
   Each tile is a kit card (.card--pad --sheen --shadow + .spotlight); this
   section places them and draws their demos. */
.bento {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: var(--grid-gap);
  margin: 0;
  padding: 0;
  list-style: none;
}
.bento__tile { gap: var(--space-4); }
@media (hover: hover) and (pointer: fine) {   /* the edge: mouse only (tokens.css) */
  .bento__tile:hover { border-color: var(--line-strong); }
}
.bento__text { display: flex; flex-direction: column; align-items: flex-start; gap: var(--space-3); }
.bento__title { font-size: 1.1875rem; }
.bento__tile .icon-tile { margin-bottom: var(--space-1); }

@media (min-width: 768px) {
  .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bento__tile--engine,
  .bento__tile--os { grid-column: span 2; }
}
@media (min-width: 1024px) {
  .bento { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .bento__tile--engine { grid-column: span 2; grid-row: span 2; padding: var(--space-8); }
  .bento__tile--os,
  .bento__tile--packs,
  .bento__tile--light { grid-column: span 2; }
}

/* Figures: the games count (190+) and the speed tile ("poniżej 40 ms").
   The unit and the small word before the number are the kit stat affixes
   (.stat__affix, --pre), like in the numbers band. */
.bento__tile--figure { justify-content: space-between; min-height: 15rem; }
.bento__figure {
  display: block;
  color: var(--text-strong);
  font-size: clamp(3rem, 4.6vw, 4.25rem);
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.05em;
}
.bento__tile--figure .bento__title { margin-top: auto; }

/* Engine: the dialogue-matching demo above the text. */
.bento__tile--engine { justify-content: space-between; gap: var(--space-8); }
.ocr {
  position: relative;
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  justify-content: center;
  gap: var(--space-3);
  padding: var(--space-5);
  background: radial-gradient(80% 70% at 50% 100%, var(--ambient-violet-soft), transparent 70%), var(--sunken);
  border: 1px solid var(--line-subtle);
  border-radius: var(--radius-lg);
}
/* The capture frame: the OCR "box" the subtitle is read from. */
.ocr__frame { --frame-inset: 0.5rem; --frame-len: 1rem; }
.ocr__panel {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  padding: var(--space-4) var(--space-5);
  overflow: hidden;
  background-color: var(--surface-1);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md), var(--highlight-top);
}
.ocr__panel--match { background-color: var(--surface-2); border-color: var(--accent-line); }
.ocr__label {
  color: var(--text-3);
  font-size: 0.6875rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.ocr__line {
  margin: 0;
  color: var(--text-1);
  font-size: clamp(0.9375rem, 1.3vw, 1.0625rem);
  line-height: 1.5;
}
.ocr__panel--match .ocr__line { color: var(--text-strong); font-weight: 500; padding-right: 7rem; }
.ocr__bad {
  color: var(--danger-text);
  text-decoration: line-through;
  text-decoration-color: var(--danger);
  text-decoration-thickness: 2px;
}
.ocr__word { white-space: nowrap; }   /* keep "tw" with its missing letters */
.ocr__gap {
  display: inline-block;
  width: 3.6ch;
  height: 1.05em;
  margin-left: 1px;
  vertical-align: -0.2em;
  background-color: var(--warning-soft);
  border-bottom: 2px dashed var(--warning);
  border-radius: 2px;
}
.ocr__scan {
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
}
.ocr__scan::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 4rem;
  background: linear-gradient(90deg, transparent, var(--accent-soft-hover));
  border-right: 1px solid var(--accent-400);
}
.ocr__link {
  align-self: center;
  color: var(--accent-text);
  font-size: 0.875rem;
  transform: rotate(90deg);
}
.ocr__chip { position: absolute; top: 50%; right: var(--space-4); margin-top: -0.75rem; }
/* Phones: the chip goes under the matched line. */
@media (max-width: 767px) {
  .ocr { padding: var(--space-3); }
  .ocr__panel { padding: var(--space-3) var(--space-4); }
  .ocr__panel--match .ocr__line { padding-right: 0; }
  .ocr__chip { position: static; margin-top: var(--space-1); align-self: flex-start; }
}
/* The 5s loop: read → scan → match → hold → reset. Resting state = matched. */
.ocr.is-visible .ocr__scan { animation: home-ocr-scan 5s var(--ease-in-out) infinite; }
.ocr.is-visible .ocr__panel--raw .ocr__line { animation: home-ocr-raw 5s var(--ease-standard) infinite; }
.ocr.is-visible .ocr__panel--match .ocr__line { animation: home-ocr-line 5s var(--ease-out) infinite; }
.ocr.is-visible .ocr__chip { animation: home-ocr-chip 5s var(--ease-pop) infinite; }
@keyframes home-ocr-scan {
  0%, 6%  { opacity: 0; transform: translateX(-4rem); }
  10%     { opacity: 1; transform: translateX(-4rem); }
  38%     { opacity: 1; transform: translateX(100%); }
  44%, 100% { opacity: 0; transform: translateX(100%); }
}
@keyframes home-ocr-raw {
  0%, 40%  { opacity: 1; }
  52%, 90% { opacity: 0.45; }
  100%     { opacity: 1; }
}
@keyframes home-ocr-line {
  0%, 40% { opacity: 0.001; transform: translateY(8px); }
  52%     { opacity: 1; transform: none; }
  90%     { opacity: 1; transform: none; }
  100%    { opacity: 0.001; transform: none; }
}
@keyframes home-ocr-chip {
  0%, 52% { opacity: 0.001; transform: scale(0.6); }
  60%     { opacity: 1; transform: none; }
  90%     { opacity: 1; transform: none; }
  100%    { opacity: 0.001; transform: none; }
}
/* Firefox: the matched line and its chip only fade (tokens.css). */
@supports (-moz-appearance: none) {
  .ocr.is-visible .ocr__panel--match .ocr__line,
  .ocr.is-visible .ocr__chip { animation-name: home-ocr-fade; }
}
@keyframes home-ocr-fade {
  0%, 40%  { opacity: 0.001; }
  52%, 90% { opacity: 1; }
  100%     { opacity: 0.001; }
}

/* Windows i Linux: two big OS tiles beside the text. */
.bento__tile--os { justify-content: space-between; }
.os { display: flex; gap: var(--space-4); }
.os__item { display: flex; flex-direction: column; align-items: center; gap: var(--space-2); }
.os__icon {
  display: grid;
  place-items: center;
  width: 4.5rem;
  height: 4.5rem;
  color: var(--text-strong);
  background: var(--sheen), var(--surface-3);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md), var(--highlight-top-strong);
  font-size: 1.875rem;
  transition: translate var(--dur-base) var(--ease-out), border-color var(--dur-fast) var(--ease-standard);
}
@media (hover: hover) and (pointer: fine) {   /* the icons light up and rise: mouse only (tokens.css) */
  .bento__tile--os:hover .os__icon { border-color: var(--line-hover); }
  .bento__tile--os:hover .os__item:first-child .os__icon { translate: 0 -2px; }
  .bento__tile--os:hover .os__item:last-child .os__icon  { translate: 0 -2px; transition-delay: 60ms; }
}
.os__name { color: var(--text-2); font-size: 0.6875rem; text-align: center; white-space: nowrap; }

/* System VoicePacków: text + a small list of the most downloaded packs. */
.packs {
  display: flex;
  flex-direction: column;
  gap: 0.375rem;
  margin: 0;
  padding: var(--space-2);
  list-style: none;
  background-color: var(--sunken);
  border: 1px solid var(--line-subtle);
  border-radius: var(--radius-md);
}
.packs__row {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding: 0.5rem 0.75rem;
  background-color: var(--surface-1);
  border: 1px solid var(--line-subtle);
  border-radius: var(--radius-sm);
  font-size: var(--fs-sm);
}
.packs__dot {
  width: 0.4375rem;
  height: 0.4375rem;
  flex-shrink: 0;
  background-color: var(--success);
  border-radius: 50%;
}
.packs__name {
  flex: 1 1 auto;
  min-width: 0;
  overflow: hidden;
  color: var(--text-1);
  white-space: nowrap;
  text-overflow: ellipsis;
}
.packs__ver { color: var(--accent-text); font-size: var(--fs-xs); }

/* Działanie w tle: text left, a small static resource panel right — the
   game fills its bar, LoreSpeak is a sliver. The fills grow once when the
   tile is revealed (transform only); no loop. Same structure as the
   VoicePack tile next to it. */
.load {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  padding: var(--space-4);
  background-color: var(--sunken);
  border: 1px solid var(--line-subtle);
  border-radius: var(--radius-md);
}
.load__head {
  color: var(--text-3);
  font-size: 0.6875rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.load__row { display: flex; flex-direction: column; gap: 0.375rem; }
.load__name {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  color: var(--text-1);
  font-size: var(--fs-sm);
}
.load__name svg { color: var(--text-3); }
.load__track {
  display: block;
  height: 0.5rem;
  overflow: hidden;
  background-color: var(--surface-active);
  border-radius: var(--radius-full);
}
.load__fill {
  display: block;
  height: 100%;
  border-radius: inherit;
  transform-origin: 0 50%;
}
.load__fill--game { width: 100%; background-color: var(--text-3); }
.load__fill--app  { width: 4%; min-width: 0.5rem; background-color: var(--accent-400); }
.bento__tile--light.is-revealed .load__fill { animation: home-draw-x 1.4s var(--ease-out) 0.3s both; }
.bento__tile--light.is-revealed .load__fill--app { animation-delay: 0.6s; }

@media (min-width: 768px) {
  .bento__tile--os {
    flex-direction: row;
    align-items: center;
    gap: var(--space-8);
  }
  .bento__tile--os .bento__text { flex: 1 1 auto; min-width: 0; }
}
@media (min-width: 1024px) {
  .bento__tile--packs,
  .bento__tile--light {
    display: grid;
    grid-template-columns: minmax(0, 6fr) minmax(0, 5fr);
    align-items: center;
    gap: var(--space-6);
  }
}


/* ── 6. Popular VoicePacks carousel ─────────────────────────────────────────
   The kit .carousel (components.css, driven by LS.carousel) of kit game
   cards (Shared/GameCard with the "Zainstaluj" foot; their hover — lift,
   edge, cover zoom — is the kit's, mouse only): 2 per view on phones, 3
   from 768px, then one more whenever every card can stay ≥ 270px wide
   (--carousel-slide-min: 4 from a 1200px wide screen, 5 from ~2220px);
   the gap grows with the viewport (12px on
   phones, 16 / 20 / 24px around 768 / 1000 / 1200px). The arrows sit on
   the middle of the covers (a cover is 1.5 × the slide width tall).
   Phones: the "Przeglądaj bibliotekę" button of the section header moves
   under the carousel, centred (the header box dissolves — display:
   contents — so its pieces and the carousel share one column and the
   button can be ordered last; one button in the markup). */
.vp-carousel {
  --carousel-per-view: 2;
  --carousel-gap: clamp(12px, 2vw, 24px);
  --carousel-slide-min: 270px;
  --carousel-nav-y: calc(var(--carousel-slide-w, 270px) * 0.75);
}
@media (min-width: 768px)  { .vp-carousel { --carousel-per-view: 3; } }
@media (max-width: 767px) {
  .voicepacks > .wrap {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: var(--space-3);           /* the header's own gap */
  }
  .voicepacks .section-header { display: contents; }
  .voicepacks .vp-carousel {
    order: 1;
    align-self: stretch;
    margin-top: calc(var(--space-12) - var(--space-3));   /* the header's bottom margin */
  }
  .voicepacks .section-header__actions {
    order: 2;
    align-self: center;
    justify-content: center;
    margin-top: var(--space-5);
  }
}

/* The whole card links to the game page, but in a running carousel it
   reads as something to drag: grab cursor, pointer only on the button. */
.vp-carousel.is-ready:not(.is-locked) .game-card .card__link,
.vp-carousel.is-ready:not(.is-locked) .game-card .card__link::after { cursor: grab; }
.vp-carousel.is-dragging .game-card .card__link,
.vp-carousel.is-dragging .game-card .card__link::after { cursor: grabbing; }


/* ── 7. News: the timeline ──────────────────────────────────────────────────
   HomePage/News.html.twig. Desktop (≥1024px): a hairline track across the
   section (.news-tl__track) with one violet marker per post at equal
   spacing — the post's date and category above it, a short connector
   (.news-tl__stem) down to its card. Below 1024px the timeline stands up:
   a rail on the left (each item draws its own piece, marker centre to the
   next marker centre; the last one fades out), the label and the card to
   the right; on tablet portrait the card lays its cover beside the text.
   Fewer than three posts (.news-tl--count-N): the columns stay a third
   wide and sit in the middle, the track still spans the section.
   The card is the kit news card, timeline variant (Shared/NewsCard:
   .news-card--timeline, here also .news-tl__card); its hovers are the
   kit's. This section only places it and keeps its title and excerpt to
   two lines.

   Reveal (the wrapper and the items are .reveal but do not fade as a
   whole — their pieces carry the entrance; nothing is hidden without JS):
     desktop  the wrapper is revealed → the track draws 0.2s → 1.8s (1.6s,
              ease-in-out); each marker pops as the line passes it (--at:
              0.75 / 1.0 / 1.25s for three posts), its label rises with it,
              the connector drops (+0.15s), the card rises (+0.3s)
     stacked  each item is revealed on its own → marker 0.15s, rail piece
              draws 0.25s → 1.15s, label and card rise right after
   (Firefox: the label and the card fade in place.) The newest post's
   marker sends out a slow ring while the section is on screen
   ([data-loop].is-visible). Card hover (mouse) lights its marker. */
.news-tl {
  --tl-label: 1.5rem;              /* the label row = a chip's height */
  --tl-mark: 0.75rem;              /* the marker dot */
  --tl-rail: 1.75rem;              /* stacked: the rail column */
  --tl-item-gap: var(--space-10);  /* stacked: between two posts */
  --tl-cols: 3;
  position: relative;
}
.news-tl--count-2 { --tl-cols: 2; }
.news-tl--count-1 { --tl-cols: 1; }
/* The wrapper and the items only time their pieces; they never fade. */
.ls-js .news-tl.reveal,
.ls-js .news-tl__item.reveal { opacity: 1; animation: none; }

.news-tl__track { display: none; }
.news-tl__list {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: var(--tl-item-gap);
  margin: 0;
  padding: 0;
  list-style: none;
}
.news-tl__item {
  position: relative;
  display: grid;
  grid-template-columns: var(--tl-rail) minmax(0, 1fr);
  grid-template-areas:
    "mark label"
    ".    card";
  align-items: center;
  gap: var(--space-3);
  min-width: 0;
}
/* Stacked: the rail piece from this marker's centre to the next one's. */
.news-tl__item::before {
  content: '';
  position: absolute;
  top: calc(var(--tl-label) / 2);
  bottom: calc(var(--tl-item-gap) * -1 - var(--tl-label) / 2);
  left: calc(var(--tl-rail) / 2);
  width: 1px;
  margin-left: -0.5px;
  background: linear-gradient(var(--accent-500), var(--accent-line));
  transform-origin: 50% 0;
}
.news-tl__item:last-child::before {
  bottom: 0;
  background: linear-gradient(var(--accent-line), transparent);
}

.news-tl__label {
  grid-area: label;
  display: flex;
  align-items: center;
  gap: var(--space-3);
  min-width: 0;
  height: var(--tl-label);
  margin: 0;
  white-space: nowrap;
}
.news-tl__date {
  color: var(--text-1);
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.02em;
}

/* The marker: an accent-400 bead on the line — a ring of the band colour
   cuts the line around it, a thin violet ring, then a soft halo. */
.news-tl__marker {
  grid-area: mark;
  position: relative;
  z-index: 1;
  justify-self: center;
  width: var(--tl-mark);
  height: var(--tl-mark);
  border-radius: 50%;
  background-color: var(--accent-400);
  box-shadow:
    0 0 0 4px var(--bg-alt),
    0 0 0 5px var(--accent-line),
    0 0 0 9px var(--accent-soft),
    0 0 1.75rem 0.375rem var(--accent-line);
  transition: scale var(--dur-base) var(--ease-out),
              background-color var(--dur-fast) var(--ease-standard);
}
.news-tl__item:first-child .news-tl__marker::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background-color: var(--accent-400);
  opacity: 0;
  pointer-events: none;
}
.news-tl.is-visible .news-tl__item:first-child .news-tl__marker::after {
  animation: ls-live-ring 2.8s var(--ease-out) 2.2s infinite;
}
.news-tl__stem { display: none; }
@media (hover: hover) and (pointer: fine) {   /* the card lights its marker and connector: mouse only (tokens.css) */
  .news-tl__item:has(.news-tl__card:hover) .news-tl__marker { background-color: var(--accent-300); scale: 1.3; }
  .news-tl__item:has(.news-tl__card:hover) .news-tl__stem { background: linear-gradient(var(--accent-400), var(--accent-line)); }
}

/* The card (kit .news-card--timeline): two lines of title and excerpt. */
.news-tl__card { grid-area: card; }
.news-tl__card > .news-media { flex: none; }
.news-tl__card .news-card__body { gap: var(--space-2); }
.news-tl__card .news-card__title,
.news-tl__card .news-card__excerpt { -webkit-line-clamp: 2; }

/* Tablet portrait: the cover beside the text. */
@media (min-width: 768px) and (max-width: 1023px) {
  .news-tl__card {
    display: grid;
    grid-template-columns: minmax(0, 0.85fr) minmax(0, 1fr);
    grid-template-rows: minmax(0, 1fr) auto;
  }
  .news-tl__card > .news-media {
    grid-row: 1 / -1;
    aspect-ratio: auto;
    min-height: 10rem;
  }
  .news-tl__card .news-card__body { justify-content: center; }
}

/* Desktop: the horizontal timeline. The track runs through the marker
   centres: label row + gap + half a marker from the top. */
@media (min-width: 1024px) {
  .news-tl {
    --tl-gap: var(--space-4);
    --tl-y: calc(var(--tl-label) + var(--tl-gap) + var(--tl-mark) / 2);
  }
  /* A faint violet bloom along the line; it comes up as the line draws. */
  .news-tl::before {
    content: '';
    position: absolute;
    top: calc(var(--tl-y) - 4rem);
    left: 6%;
    right: 6%;
    height: 8rem;
    background: radial-gradient(50% 50% at 50% 50%, var(--ambient-violet-soft), transparent);
    pointer-events: none;
  }
  .news-tl__track {
    position: absolute;
    top: var(--tl-y);
    left: 0;
    right: 0;
    display: block;
    height: 1px;
    margin-top: -0.5px;
    background: linear-gradient(90deg, transparent, var(--line-strong) 8%, var(--line-strong) 92%, transparent);
  }
  /* A ruler under the line: fine ticks every 0.75rem, fading at the ends. */
  .news-tl__track::before {
    content: '';
    position: absolute;
    top: 0.375rem;
    left: 0;
    right: 0;
    height: 0.3125rem;
    background: repeating-linear-gradient(90deg, var(--line) 0 1px, transparent 1px 0.75rem);
    mask-image: linear-gradient(90deg, transparent, var(--text-strong) 14%, var(--text-strong) 86%, transparent);
  }
  .news-tl__fill {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, transparent, var(--accent-500) 8%, var(--accent-400) 50%, var(--accent-line) 92%, transparent);
    transform-origin: 0 50%;
  }
  /* The drawing head: a short bright streak with a glowing tip that runs
     with the fill's edge (the same curve and time; the runner is the
     track's width, so translateX(-100% → 0) keeps its right end on the
     edge), then fades out. */
  .news-tl__track::after {
    content: '';
    position: absolute;
    top: -0.75rem;
    left: 0;
    width: 100%;
    height: 1.5rem;
    background:
      radial-gradient(circle at 100% 50%, var(--accent-300) 0 2px, var(--accent-line) 3px, transparent 0.75rem),
      linear-gradient(90deg, transparent calc(100% - 6rem), var(--accent-300)) 0 50% / 100% 1px no-repeat;
    opacity: 0;
    transform: translateX(-100%);
    pointer-events: none;
  }
  .news-tl__list {
    grid-template-columns: repeat(var(--tl-cols), minmax(0, 1fr));
    gap: var(--grid-gap);
    width: calc((100% - 2 * var(--grid-gap)) / 3 * var(--tl-cols) + (var(--tl-cols) - 1) * var(--grid-gap));
    margin-inline: auto;
  }
  .news-tl__item {
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: auto auto auto 1fr;
    grid-template-areas: "label" "mark" "stem" "card";
    align-items: start;
    justify-items: center;
    gap: 0;
  }
  .news-tl__item::before { display: none; }
  .news-tl__marker { margin-top: var(--tl-gap); }
  .news-tl__stem {
    grid-area: stem;
    display: block;
    width: 1px;
    height: 1.75rem;
    margin-top: 0.625rem;
    background: linear-gradient(var(--accent-line), var(--line-strong));
    transform-origin: 50% 0;
  }
  .news-tl__card { justify-self: stretch; height: 100%; }
}

/* Reveal. --at = the moment the marker pops; the rest follows it. The
   lines draw with home-draw-x / -y (section 4), the head runs with
   home-light. */
@keyframes news-tl-spark {
  0%       { opacity: 0; }
  10%, 80% { opacity: 1; }
  100%     { opacity: 0; }
}
@keyframes news-tl-pop {
  from { opacity: 0; transform: scale(0); }
  to   { opacity: 1; transform: none; }
}
@keyframes news-tl-rise {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: none; }
}
@media (max-width: 1023px) {
  .news-tl__item { --at: 0.15s; }
  .ls-js .news-tl__item:not(.is-revealed)::before { transform: scaleY(0); }
  .ls-js .news-tl__item:not(.is-revealed) :is(.news-tl__label, .news-tl__marker, .news-tl__card) { opacity: 0; }
  .news-tl__item.is-revealed::before { animation: home-draw-y 0.9s var(--ease-in-out) calc(var(--at) + 0.1s) both; }
  .news-tl__item.is-revealed .news-tl__marker { animation: news-tl-pop 0.55s var(--ease-pop) var(--at) both; }
  .news-tl__item.is-revealed .news-tl__label { animation: news-tl-rise 0.5s var(--ease-out) var(--at) both; }
  .news-tl__item.is-revealed .news-tl__card { animation: news-tl-rise 0.7s var(--ease-out) calc(var(--at) + 0.15s) both; }
}
@media (min-width: 1024px) {
  .news-tl__item { --at: 0.75s; }
  .news-tl__item:nth-child(2) { --at: 1s; }
  .news-tl__item:nth-child(3) { --at: 1.25s; }
  .news-tl--count-2 .news-tl__item { --at: 0.9s; }
  .news-tl--count-2 .news-tl__item:nth-child(2) { --at: 1.1s; }
  .news-tl--count-1 .news-tl__item { --at: 1s; }
  .ls-js .news-tl:not(.is-revealed)::before { opacity: 0; }
  .ls-js .news-tl:not(.is-revealed) .news-tl__fill { transform: scaleX(0); }
  .news-tl.is-revealed::before { animation: ls-fade-in 1.6s var(--ease-in-out) 0.2s both; }
  .ls-js .news-tl:not(.is-revealed) .news-tl__stem { transform: scaleY(0); }
  .ls-js .news-tl:not(.is-revealed) :is(.news-tl__label, .news-tl__marker, .news-tl__card) { opacity: 0; }
  .news-tl.is-revealed .news-tl__fill { animation: home-draw-x 1.6s var(--ease-in-out) 0.2s both; }
  .news-tl.is-revealed .news-tl__track::after {
    animation: home-light 1.6s var(--ease-in-out) 0.2s both,
               news-tl-spark 1.6s linear 0.2s both;
  }
  .news-tl.is-revealed .news-tl__marker { animation: news-tl-pop 0.55s var(--ease-pop) var(--at) both; }
  .news-tl.is-revealed .news-tl__label { animation: news-tl-rise 0.5s var(--ease-out) calc(var(--at) - 0.1s) both; }
  .news-tl.is-revealed .news-tl__stem { animation: home-draw-y 0.4s var(--ease-out) calc(var(--at) + 0.15s) both; }
  .news-tl.is-revealed .news-tl__card { animation: news-tl-rise 0.7s var(--ease-out) calc(var(--at) + 0.3s) both; }
}
/* Firefox: the label and the card fade in place (tokens.css). */
@supports (-moz-appearance: none) {
  .news-tl__item.is-revealed .news-tl__label,
  .news-tl__item.is-revealed .news-tl__card,
  .news-tl.is-revealed .news-tl__label,
  .news-tl.is-revealed .news-tl__card { animation-name: ls-fade-in; }
}
@media (prefers-reduced-motion: reduce) {
  .news-tl__item:has(.news-tl__card:hover) .news-tl__marker { scale: none; }
}


/* ── 8. Vote ────────────────────────────────────────────────────────────── */
.vote {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: var(--space-10);
  padding: var(--space-6);
  background:
    radial-gradient(50% 80% at 85% 50%, var(--ambient-violet-soft), transparent 70%),
    var(--sheen),
    var(--surface-2);
  box-shadow: var(--highlight-top-strong), var(--shadow-xl);
}
.vote__body {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--space-4);
}
.vote__body > .icon-tile { margin-bottom: var(--space-2); }
.vote__title { max-width: 18ch; }
.vote__text {
  color: var(--text-1);
  font-size: 1.0625rem;
  line-height: 1.7;
  text-wrap: pretty;
}
.vote__text--sub { color: var(--text-2); font-size: 0.9375rem; }
.vote__actions { margin-top: var(--space-2); }
.vote__note {
  display: flex;
  align-items: baseline;
  gap: var(--space-2);
  color: var(--text-2);
  font-size: var(--fs-sm);
}
.vote__note svg { color: var(--accent-text); transform: translateY(0.125em); }
@media (min-width: 768px) {
  .vote { padding: var(--space-10); }
}
@media (min-width: 1024px) {
  .vote {
    grid-template-columns: minmax(0, 6fr) minmax(0, 5fr);
    align-items: center;
    gap: var(--space-16);
    padding: var(--space-12);
  }
}

/* The poll: a floating panel with three bars. */
.poll {
  padding: var(--space-6);
  background: var(--sheen), var(--surface-1);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-lg);
  box-shadow: var(--highlight-top-strong), var(--shadow-xl), var(--underlight);
}
.poll__head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-3);
  padding-bottom: var(--space-4);
  margin-bottom: var(--space-5);
  border-bottom: 1px solid var(--line-subtle);
}
.poll__icon {
  display: grid;
  place-items: center;
  width: 2rem;
  height: 2rem;
  color: var(--text-strong);
  background-color: var(--surface-3);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  font-size: 0.875rem;
}
.poll__title {
  flex: 1 1 auto;
  min-width: 0;
  color: var(--text-strong);
  font-size: 0.9375rem;
  font-weight: 600;
}
.poll__list {
  display: flex;
  flex-direction: column;
  gap: var(--space-5);
  margin: 0;
  padding: 0;
  list-style: none;
}
.poll__row { display: flex; flex-direction: column; gap: var(--space-2); }
.poll__label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-2);
  min-height: 1.5rem;
  color: var(--text-1);
  font-size: var(--fs-sm);
}
.poll__name { min-width: 0; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.poll__bar {
  display: block;
  height: 0.625rem;
  overflow: hidden;
  background-color: var(--surface-3);
  border-radius: var(--radius-full);
}
.poll__fill {
  display: block;
  width: 30%;
  height: 100%;
  background-color: var(--text-disabled);
  border-radius: inherit;
  transform-origin: 0 50%;
}
.poll__row--1 .poll__fill { width: 74%; background-color: var(--accent-500); }
.poll__row--2 .poll__fill { width: 48%; }
.poll__row--3 .poll__fill { width: 29%; }
.vote.is-revealed .poll__fill { animation: home-draw-x 1.3s var(--ease-out) 0.35s both; }
.vote.is-revealed .poll__row--2 .poll__fill { animation-delay: 0.5s; }
.vote.is-revealed .poll__row--3 .poll__fill { animation-delay: 0.65s; }
.vote.is-revealed .poll__lead { animation: home-pop 0.5s var(--ease-pop) 1.5s both; }
@supports (-moz-appearance: none) {   /* Firefox: the chip fades in place (tokens.css) */
  .vote.is-revealed .poll__lead { animation-name: ls-fade-in; }
}
.poll__foot { margin-top: var(--space-6); }


/* ── 9. FAQ ─────────────────────────────────────────────────────────────────
   The kit FAQ section (Shared/FaqSection: a .split — the header and the
   help card on the left, at the top of the section, not sticky; the
   editorial question list, kit .acc--editorial, on the right). Below
   1024px one column; on phones the help card comes after the list (the
   head dissolves — display: contents — so its two pieces join the grid and
   the list is ordered between them; no duplicated markup). */
.faq .section-header__desc { max-width: 30ch; }
/* The list is never a scroll anchor: when a question opens or closes
   (main.js animates the height), the browser must not shift the page to
   keep something else in place (main.js also turns anchoring off for the
   whole page while a panel moves, html.acc-sizing). */
.faq .acc { overflow-anchor: none; }
@media (max-width: 767px) {
  .faq .split { gap: var(--space-8); }
  .faq .split__head { display: contents; }
  .faq .faq-section__main { order: 1; }
  .faq__help { order: 2; }
}

/* The help card: a kit card (.card--pad --sheen --shadow) laid out as icon
   beside title and text, the actions under a hairline. */
.faq__help {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: var(--space-1) var(--space-4);
  width: 100%;
  max-width: 27rem;
}
.faq__help > .icon-tile { grid-row: span 2; align-self: start; }
.faq__help-title {
  color: var(--text-strong);
  font-size: 1.0625rem;
  font-weight: 600;
  line-height: 1.35;
}
.faq__help-text { color: var(--text-2); font-size: 0.9375rem; line-height: 1.55; }
.faq__help-actions {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-3) var(--space-5);
  margin-top: var(--space-5);
  padding-top: var(--space-5);
  border-top: 1px solid var(--line-subtle);
}
.faq__mail {
  color: var(--text-2);
  font-size: 0.8125rem;
  text-decoration: underline;
  text-decoration-color: var(--line-strong);
  text-underline-offset: 0.3em;
  overflow-wrap: anywhere;
  transition: color var(--dur-fast) var(--ease-standard),
              text-decoration-color var(--dur-fast) var(--ease-standard);
}
.faq__mail:hover { color: var(--accent-300); text-decoration-color: currentColor; }


/* ── 10. Team: player cards ─────────────────────────────────────────────────
   Centred rows (1 / 2 / 3 per row, a short last row in the middle). From
   1024px every second card sits 28px lower; the rows get that much more gap
   so a low card never touches the row below. The offset uses `translate`,
   the reveal entrance owns `transform` and the tilt lives on the inner
   .player, so the three never fight. */
.team-grid {
  --team-offset: 1.75rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--grid-gap);
  margin: 0;
  padding: 0;
  list-style: none;
}
.team-grid__item {
  display: flex;
  flex: 1 1 100%;
  min-width: 0;
}
@media (min-width: 768px) {
  .team-grid__item { flex: 0 1 calc((100% - var(--grid-gap)) / 2); }
}
@media (min-width: 1024px) {
  .team-grid {
    row-gap: calc(var(--grid-gap) + var(--team-offset));
    padding-bottom: var(--team-offset);
  }
  .team-grid__item { flex-basis: calc((100% - 2 * var(--grid-gap)) / 3); }
  .team-grid__item:nth-child(even) { translate: 0 var(--team-offset); }
}

.player {
  --spot-size: 20rem;
  --tilt-extra: border-color var(--dur-fast) var(--ease-standard),
                box-shadow var(--dur-base) var(--ease-out);
  position: relative;
  display: flex;
  flex-direction: column;
  width: 100%;
  min-width: 0;
  overflow: hidden;
  background: var(--sheen), var(--surface-1);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  box-shadow: var(--highlight-top-strong), var(--shadow-md);
}
/* Hover (mouse only, tokens.css): the edge lightens, the shadow blooms,
   the watermark, the frame corners and the portrait ring light up a step. */
@media (hover: hover) and (pointer: fine) {
  .player:hover { border-color: var(--line-hover); box-shadow: var(--highlight-top-strong), var(--shadow-lift); }
  .player:hover .player__mark { opacity: 0.85; }
  .player:hover .player__frame { --frame-color: var(--line-hover); }
  .player:hover .player__avatar { border-color: var(--accent-400); }
}

/* The portrait stage: a lit floor the portrait stands on. */
.player__stage {
  position: relative;
  display: flex;
  align-items: flex-end;
  height: 9.5rem;
  padding: 0 var(--space-6);
  background:
    radial-gradient(10rem 7rem at calc(var(--space-6) + 3.5rem) 100%, var(--ambient-violet), transparent 72%),
    linear-gradient(180deg, var(--sunken), transparent);
  border-bottom: 1px solid var(--line);
}
/* The watermark: the person's @nick (the initials without one), large and
   mono, engraved — a 1px --text-3 outline over a barely-there fill, the @
   in violet — in the stage's top-right, inside the capture frame. A long
   nick runs on to the left, under the portrait, and the card clips it. */
.player__mark {
  position: absolute;
  top: calc(var(--space-3) + 0.75rem);
  right: calc(var(--space-3) + 0.875rem);
  width: max-content;
  color: var(--line-subtle);
  -webkit-text-stroke: 1px var(--text-3);
  font-family: var(--font-mono);
  font-size: 2.25rem;
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.02em;
  white-space: nowrap;
  opacity: 0.55;
  user-select: none;
  transition: opacity var(--dur-base) var(--ease-standard);
}
.player__mark-at {
  color: var(--accent-soft);
  -webkit-text-stroke-color: var(--accent-400);
}
/* Capture-frame corners around the stage (kit .frame-corners); they light
   up a step on hover (above). The portrait stands in front of them. */
.player__frame {
  --frame-inset: var(--space-3);
}
.player__avatar {
  position: relative;
  z-index: 2;
  margin-bottom: -1.75rem;
  border-color: var(--accent-line);
  box-shadow: 0 0 0 4px var(--surface-1), var(--underlight-sm);
  transition: border-color var(--dur-base) var(--ease-standard);
}

.player__body {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  align-items: flex-start;
  padding: calc(1.75rem + var(--space-5)) var(--space-6) 0;
}
.player__name {
  color: var(--text-strong);
  font-size: 1.125rem;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: -0.01em;
}
.player__nick {
  min-height: 1.5em;
  margin-top: 0.125rem;
  color: var(--text-2);
  font-size: var(--fs-sm);
  line-height: 1.5;
}
.player__at { color: var(--accent-text); }
.player__role { margin-top: var(--space-3); max-width: 100%; }
.player__bio {
  margin-top: var(--space-4);
  color: var(--text-2);
  font-size: 0.9375rem;
  line-height: 1.6;
  text-wrap: pretty;
}
.player__foot {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
  margin: var(--space-5) var(--space-6) 0;
  padding: var(--space-4) 0 var(--space-5);
  border-top: 1px solid var(--line-subtle);
}
/* No socials: keep the bottom padding the foot would have given. */
.player__body:last-child { padding-bottom: var(--space-6); }

.team-note {
  max-width: 40rem;
  margin: var(--space-8) auto 0;
  color: var(--text-3);
  font-size: var(--fs-xs);
  line-height: 1.6;
  text-align: center;
  text-wrap: balance;
}


/* ── 11. Contact ────────────────────────────────────────────────────────────
   The e-mail as one giant mono line (kit eyebrow --muted over it, a kit
   icon button that copies it — main.js [data-copy-swap]), the channel
   tiles (kit link cards: .card --lift --pad --sheen --shadow + .spotlight;
   5 columns from 1024px with Discord spanning two; 6-track grid on
   tablets: Discord on its own row, the other three under it; one column on
   phones), the support band. Brand hues appear only on hover (mouse). */
.mail {
  margin-bottom: var(--space-10);
}
.mail__label {
  display: flex;
  margin-bottom: var(--space-3);
}
.mail__label svg { font-size: 0.875rem; }
.mail__row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-3) var(--space-5);
}
.mail__link {
  position: relative;
  min-width: 0;
  padding-bottom: 0.375rem;
  color: var(--text-strong);
  background: linear-gradient(var(--line-strong), var(--line-strong)) 0 100% / 100% 1px no-repeat;
  font-family: var(--font-mono);
  font-size: clamp(1.5rem, 4vw, 2.75rem);
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: -0.035em;
  text-decoration: none;
  overflow-wrap: anywhere;
}
.mail__link::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background-color: var(--accent-500);
  border-radius: var(--radius-full);
  transform: scaleX(0);
  transform-origin: 0 50%;
  transition: transform var(--dur-slow) var(--ease-out);
}
.mail__link:hover,
.mail__link:focus-visible { color: var(--text-strong); }
.mail__link:focus-visible::after { transform: none; }
@media (hover: hover) and (pointer: fine) {   /* the underline draws in: mouse only (tokens.css) */
  .mail__link:hover::after { transform: none; }
}
.mail__link:focus-visible { outline: none; box-shadow: 0 6px 0 -3px var(--focus-outline); }

.channels {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: var(--grid-gap);
  margin: 0;
  padding: 0;
  list-style: none;
}
.channels__item { display: flex; min-width: 0; }
@media (min-width: 768px) {
  .channels { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .channels__item { grid-column: span 2; }
  .channels__item--discord { grid-column: 1 / -1; }
}
@media (min-width: 1024px) {
  .channels { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .channels__item { grid-column: span 1; }
  .channels__item--discord { grid-column: span 2; }
}

/* The tile: a kit link card; its edge, 2px lift and shadow on hover are
   .card--lift's (mouse only). Here: the layout and the brand hue of the
   icon tile and the arrow on hover. */
.channel-tile {
  --brand: var(--accent-300);
  --brand-soft: var(--accent-soft);
  --brand-line: var(--accent-line);
  --spot-size: 18rem;
  gap: var(--space-6);
  width: 100%;
  text-decoration: none;
}
.channel-tile:focus-visible { outline: none; box-shadow: var(--highlight-top), var(--focus-ring); }
.channel-tile--discord   { --brand: var(--brand-discord);   --brand-soft: var(--brand-discord-soft);   --brand-line: var(--brand-discord-line); }
.channel-tile--instagram { --brand: var(--brand-instagram); --brand-soft: var(--brand-instagram-soft); --brand-line: var(--brand-instagram-line); }
.channel-tile--youtube   { --brand: var(--brand-youtube);   --brand-soft: var(--brand-youtube-soft);   --brand-line: var(--brand-youtube-line); }
.channel-tile--tiktok    { --brand: var(--brand-tiktok);    --brand-soft: var(--brand-tiktok-soft);    --brand-line: var(--brand-tiktok-line); }

.channel-tile__top {
  display: flex;
  align-items: center;
  gap: var(--space-3);
}
.channel-tile__icon {
  color: var(--text-2);
  transition: color var(--dur-fast) var(--ease-standard),
              background-color var(--dur-fast) var(--ease-standard),
              border-color var(--dur-fast) var(--ease-standard);
}
.channel-tile__go {
  display: grid;
  place-items: center;
  width: 2rem;
  height: 2rem;
  margin-left: auto;
  flex-shrink: 0;
  color: var(--text-3);
  border: 1px solid var(--line);
  border-radius: 50%;
  font-size: 0.75rem;
  transform: rotate(-45deg);
  transition: transform var(--dur-base) var(--ease-out),
              color var(--dur-fast) var(--ease-standard),
              border-color var(--dur-fast) var(--ease-standard);
}
@media (hover: hover) and (pointer: fine) {   /* brand hue + arrow nudge: mouse only (tokens.css) */
  .channel-tile:hover .channel-tile__icon {
    color: var(--brand);
    background-color: var(--brand-soft);
    border-color: var(--brand-line);
  }
  .channel-tile:hover .channel-tile__go {
    color: var(--text-strong);
    border-color: var(--line-hover);
    transform: rotate(-45deg) translateX(3px);
  }
}
.channel-tile__text {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  min-width: 0;
}
.channel-tile__name {
  color: var(--text-strong);
  font-size: 1.1875rem;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: -0.01em;
}
.channel-tile__handle {
  color: var(--text-1);
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  line-height: 1.5;
  overflow-wrap: anywhere;
}
.channel-tile__desc {
  margin-top: var(--space-2);
  color: var(--text-2);
  font-size: var(--fs-sm);
  line-height: 1.5;
}

/* Discord: the wide tile — a soft light in the corner and a subtitle line
   (kit .caption) at its foot. */
.channel-tile--discord {
  background-image:
    radial-gradient(60% 90% at 100% 100%, var(--ambient-violet-soft), transparent 70%),
    var(--sheen);
}
.channel-tile__caption { align-self: flex-start; margin-top: auto; }
/* Phones: the small tiles become compact rows — icon · text · arrow. The
   top row dissolves (display: contents) so its pieces join the row grid. */
@media (max-width: 767px) {
  .channel-tile:not(.channel-tile--discord) {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: var(--space-4);
    padding: var(--space-4) var(--space-5);
  }
  .channel-tile:not(.channel-tile--discord) .channel-tile__top { display: contents; }
  .channel-tile:not(.channel-tile--discord) .channel-tile__icon { grid-column: 1; grid-row: 1; }
  .channel-tile:not(.channel-tile--discord) .channel-tile__text { grid-column: 2; grid-row: 1; gap: 0.125rem; }
  .channel-tile:not(.channel-tile--discord) .channel-tile__go { grid-column: 3; grid-row: 1; margin-left: 0; }
  .channel-tile:not(.channel-tile--discord) .channel-tile__desc { margin-top: 0; }
  .channel-tile__name { font-size: 1.0625rem; }
}

/* The support offer under the channels: the kit .callout, a step wider on
   its action side. */
.support-band { margin-top: var(--grid-gap); }
@media (min-width: 1024px) {
  .support-band { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
}


/* ── 12. Outro ──────────────────────────────────────────────────────────────
   The kit CTA band (.cta-band: floor, dot grid, light, centred copy,
   glowing primary action — components.css section 34) in the home's
   larger composition: taller, a display-size slogan and a full-width
   voice line between the title and the actions (HomePage/Outro). */
.outro { padding-block: calc(var(--section-y) * 1.25); }
.outro__title {
  font-size: clamp(2.5rem, 6vw, 4.75rem);
  line-height: 1;
  letter-spacing: -0.035em;
}
/* 48px above and below (the actions row adds its own 8px on top). */
.outro__voice {
  --voiceline-h: 3.5rem;
  --drift-dur: 8s;
  width: calc(100% - 2 * var(--gutter));
  max-width: 75rem;
  margin: var(--space-12) auto calc(var(--space-12) - var(--space-2));
}


/* ── 13. Reduced motion ─────────────────────────────────────────────────────
   base.css shortens every animation to nothing; loops are taken off here so
   they do not jump to an end frame, and hover movement is dropped. Every
   piece then shows its resting (final) state. (The kit cards' own hovers
   are handled in components.css.) */
@media (prefers-reduced-motion: reduce) {
  .wall__rail,
  .ocr.is-visible .ocr__scan,
  .ocr.is-visible .ocr__panel--raw .ocr__line,
  .ocr.is-visible .ocr__panel--match .ocr__line,
  .ocr.is-visible .ocr__chip,
  .bento__tile--light.is-revealed .load__fill { animation: none; }
  .wall__tile:hover { scale: none; }
  .bento__tile--os:hover .os__icon { translate: none; }
  .channel-tile:hover .channel-tile__go { transform: rotate(-45deg); }
}
