/* Block 08b · Sprachen (V8-GAPS §2 D, 2026-11-09). Concept: a station sign with three destinations. Each language's own
   name as a display line, stepping right down the grid (cols 1 · 4 · 7), its one line under it in that language at
   24 px ink 75 %. Type only on paper; no image, box or rule. The name size is the wordmark token scaled to fit the
   step (no size token holds a stepped poster line); phones set the names at the H1 token, flush left. */
.sp { background: var(--paper); padding-top: var(--sec-pad-dark); }   /* 08a above is paper too: one gap between them, not two paddings */
.sp-list { row-gap: 40px; }
.sp-e { position: relative; min-width: 0; display: grid; justify-items: start; }
.sp-e--1 { grid-column: 1 / -1; }
.sp-e--2 { grid-column: 4 / -1; }
.sp-e--3 { grid-column: 7 / -1; }
.sp-w {
  font-size: calc(var(--fs-wordmark) * .64); line-height: 1; letter-spacing: var(--ls-h1); font-weight: var(--fw-display);
  color: var(--ink); text-decoration: none; padding-bottom: .08em;   /* room for the descenders of у and g above the line */
}
.sp-w::after { content: ""; position: absolute; inset: 0; }               /* the whole row (name and line) is the link */
.sp-w:focus-visible { outline: none; }
.sp-e:has(.sp-w:focus-visible) { outline: 2px solid var(--blue-deep); outline-offset: 8px; border-radius: var(--r-sm); }
.sp-l { max-width: 26em; margin-top: 12px; font-size: var(--fs-h5); line-height: var(--lh-h5); letter-spacing: var(--ls-h5); color: var(--ink-75); }
@media (hover: hover) {
  .sp-w { text-decoration: underline; text-decoration-thickness: .02em; text-underline-offset: .1em; text-decoration-color: transparent;
    transition: text-decoration-color var(--dur-ui) var(--ease-ui); }
  .sp-e:hover .sp-w { text-decoration-color: currentColor; }               /* the row answers the pointer */
}

/* P: all flush left (the step would leave the lines a 170 px measure); the names at 1.75 × the H1 token (84 px at 390:
   „Русский", the widest, 3.65 em = 307 of 342 px; 22vw below 382) so they stay a poster line, not a heading */
@media (max-width: 809.98px) {
  .sp { padding-top: var(--sec-pad); }
  .sp-list { row-gap: 32px; }
  .sp-e--2, .sp-e--3 { grid-column: 1 / -1; }
  .sp-w { font-size: min(calc(var(--fs-h1) * 1.75), 22vw); }   /* 22vw: „Русский" stays inside 320 − 2 × 24 (gate width 320) */
  .sp-l { margin-top: 6px; }
}
