/* CONCEPT: Â«film zÃ¡pasuÂ» â the coach's game tape. Duotone match stills (the tape),
   mono timecode/scoreboard chrome (the overlay), bone scouting-report paper (the
   printouts), hard-cut motion (frame advance â fast in, hard landing, no bounce).
   Prague Lions Â· demo rebuild of lions.cz Â· meraki factory run #12 Â· 2026-08-18 */

/* ââ 0 Â· tokens âââââââââââââââââââââââââââââââââââââââââââââââââââââââââââ */
:root {
  /* palette â sampled from the club: logo navy + jersey orange + report paper */
  --paper: #F2EEE3;          /* Î§ÎÎ¡Î¤Î â scouting-report bone */
  --paper-dim: #E9E3D2;      /* darker paper band */
  --ink: #171F2E;            /* ÎÎÎÎÎÎ â logo navy as ink */
  --film: #121826;           /* dark surface â the film room */
  --film-deep: #0C111C;      /* footer / deepest tape black */
  --sig: #F0481E;            /* Î£Î¦Î¡ÎÎÎÎÎ â Lions orange (logo/jerseys) */
  --sig-deep: #A93408;       /* orange for TEXT on paper (AA) */
  --bone: #EDE7DA;           /* text on dark = paper, dimmed */
  --bone-dim: #B9B4A6;       /* secondary text on dark */
  --ink-dim: #4B5265;        /* secondary text on paper */
  --line: rgba(23, 31, 46, .18);        /* borders on paper = ink at alpha */
  --line-dark: rgba(237, 231, 218, .16);/* borders on film = bone at alpha */

  /* motion â STANDARDS tokens */
  --ease-luxe: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-out-quart: cubic-bezier(0.25, 1, 0.5, 1);
  --ease-soft: cubic-bezier(0.65, 0, 0.35, 1);
  --ease-cut: steps(2, jump-end);   /* frame-advance â the tape's own easing */

  /* type */
  --disp: "Big Shoulders", "Arial Narrow", "Impact", sans-serif;
  --sans: "IBM Plex Sans", "Segoe UI", sans-serif;
  --mono: "IBM Plex Mono", "Consolas", monospace;

  /* space */
  --pad: clamp(20px, 4.5vw, 64px);
  --sect: clamp(72px, 12vh, 150px);
  --measure: 62ch;
  --chrome-top: 72px;
}

/* ââ 1 Â· reset + base âââââââââââââââââââââââââââââââââââââââââââââââââââââ */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  overflow-x: clip;
  background: var(--paper);
  color: var(--ink);
  font: 400 17px/1.62 var(--sans);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3, h4, p, ul, ol, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; }
button { font: inherit; cursor: pointer; }
input, textarea, select { font: inherit; }
::selection { background: var(--sig); color: var(--paper); }
:focus-visible { outline: 2px solid var(--sig); outline-offset: 3px; border-radius: 1px; }
[data-surface="dark"] :focus-visible { outline-color: var(--bone); }

/* ââ 2 Â· type system ââââââââââââââââââââââââââââââââââââââââââââââââââââââ */
.d1, .d2, .d3 {
  font-family: var(--disp);
  font-weight: 800;
  text-transform: uppercase;
  line-height: .92;
  letter-spacing: -0.015em;
  overflow-wrap: break-word;
}
.d1 { font-size: clamp(3.2rem, 10.5vw, 9.5rem); font-weight: 900; }
.d2 { font-size: clamp(2.55rem, 5.4vw, 4.6rem); }
.d3 { font-size: clamp(1.6rem, 2.6vw, 2.2rem); line-height: 1.02; }
.lead { font-size: clamp(1.06rem, 1.5vw, 1.25rem); line-height: 1.55; max-width: 52ch; }
.prose { max-width: var(--measure); }
.prose p + p { margin-top: 1em; }
.muted { color: var(--ink-dim); }
[data-surface="dark"] .muted { color: var(--bone-dim); }

/* mono chrome â the scoreboard overlay voice */
.tag {
  font: 500 .72rem/1.4 var(--mono);
  text-transform: uppercase;
  letter-spacing: .18em;
  color: var(--ink-dim);
}
[data-surface="dark"] .tag { color: var(--bone-dim); }
.tag--sig { color: var(--sig-deep); }
[data-surface="dark"] .tag--sig { color: var(--sig); }
.tag b { color: var(--ink); font-weight: 500; }
[data-surface="dark"] .tag b { color: var(--bone); }

/* section kicker: quarter + title, one format everywhere (chrome binder â1) */
.kicker {
  display: flex; align-items: center; gap: 14px;
  margin-bottom: clamp(22px, 4vh, 42px);
}
.kicker::after { content: ""; flex: 1; height: 1px; background: var(--line); }
[data-surface="dark"] .kicker::after { background: var(--line-dark); }

/* REC pill */
.rec { display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; }
.rec::before {
  content: ""; width: 8px; height: 8px; border-radius: 50%;
  background: var(--sig);
  animation: rec-blink 1.6s steps(2, jump-none) infinite;
}

/* ââ 3 Â· chrome binders âââââââââââââââââââââââââââââââââââââââââââââââââââ */
/* hash-mark divider â the yard line (chrome binder â2) */
.hashrule {
  height: 10px; border: 0; margin: 0;
  background: repeating-linear-gradient(90deg, var(--line) 0 2px, transparent 2px 26px);
}
[data-surface="dark"] .hashrule,
.hashrule--dark {
  background: repeating-linear-gradient(90deg, var(--line-dark) 0 2px, transparent 2px 26px);
}

/* arrow link â chalk route draws under (chrome binder â3) */
.alink {
  display: inline-flex; align-items: baseline; gap: 8px;
  font: 500 .8rem/1.4 var(--mono); text-transform: uppercase; letter-spacing: .14em;
  text-decoration: none; position: relative; padding-bottom: 4px;
  min-height: 44px; align-items: center;
}
.alink::before { content: "→"; color: var(--sig-deep); transition: transform 200ms var(--ease-out-quart); }
[data-surface="dark"] .alink::before { color: var(--sig); }
.alink::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 6px; height: 2px;
  background: currentColor; transform: scaleX(0); transform-origin: left;
  transition: transform 240ms var(--ease-out-quart);
}
.alink:hover::after { transform: scaleX(1); }
.alink:hover::before { transform: translateX(4px); }

/* buttons â stamp press, hard landing */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 10px 30px 12px;
  background: var(--sig); color: #FFF6EC; border: 0;
  font-family: var(--disp); font-weight: 800; text-transform: uppercase;
  font-size: 1.25rem; letter-spacing: .035em; line-height: 1;
  text-decoration: none; white-space: nowrap;
  box-shadow: 0 4px 0 rgba(12, 17, 28, .55);
  transition: transform 160ms var(--ease-out-quart), box-shadow 160ms var(--ease-out-quart), background 160ms var(--ease-out-quart);
}
.btn:hover { background: #FF5626; }
.btn:active { transform: translateY(4px); box-shadow: 0 0 0 rgba(12, 17, 28, .55); }
.btn--ghost {
  background: transparent; color: inherit;
  box-shadow: inset 0 0 0 2px currentColor;
}
.btn--ghost:hover { background: rgba(23, 31, 46, .06); }
[data-surface="dark"] .btn--ghost:hover { background: rgba(237, 231, 218, .08); }

/* ââ 4 Â· film grain (the material, always on, CSS-only) âââââââââââââââââââ */
.grain {
  position: fixed; inset: 0; z-index: 90; pointer-events: none;
  opacity: .05; mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='g'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23g)'/%3E%3C/svg%3E");
}

/* ââ 5 Â· duotone figure â EVERY photo goes through the tape âââââââââââââââ */
.duo { position: relative; overflow: hidden; background: var(--sig); }
.duo > img {
  width: 100%; height: 100%; object-fit: cover;
  filter: grayscale(1) contrast(1.12) brightness(.96);
  mix-blend-mode: multiply;
}
.duo::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: var(--film); mix-blend-mode: lighten;
}
/* paper variant â navy-on-bone print */
.duo--paper { background: var(--paper); }
.duo--paper::after { background: var(--ink); }
/* raw variant: the photo keeps its own colours (switched on per photo in the
   press box). The frame stays, only the tape comes off. */
.duo--raw { background: var(--film-deep); }
.duo--raw > img { filter: none; mix-blend-mode: normal; }
.duo--raw::after { content: none; }
/* the same without JS, for browsers that have :has() */
.duo:has(> img[data-filter="off"]) { background: var(--film-deep); }
.duo:has(> img[data-filter="off"]) > img { filter: none; mix-blend-mode: normal; }
.duo:has(> img[data-filter="off"])::after { content: none; }
/* frame-advance hover: the still jumps a frame (steps, no tween) */
@media (pointer: fine) {
  .duo > img { transition: transform 90ms var(--ease-cut); }
  a:hover .duo > img, .duo:hover > img { transform: translateX(-1.2%) scale(1.025); }
}
/* timecode caption under figures */
.tc {
  display: flex; gap: 14px; align-items: center; flex-wrap: wrap;
  padding: 10px 2px 0;
  font: 500 .68rem/1.5 var(--mono); letter-spacing: .14em; text-transform: uppercase;
  color: var(--ink-dim);
}
[data-surface="dark"] .tc { color: var(--bone-dim); }

/* ââ 6 Â· reveal contract (kit STANDARDS Â§8: keyframe + .shown commit) âââââ */
html.js .reveal { opacity: 0; }
html.js .reveal.in {
  animation: cut-in 640ms var(--ease-out-expo) both;
  animation-delay: var(--delay, 0ms);
}
html.js .reveal.shown { opacity: 1; animation: none; transform: none; }
@keyframes cut-in {
  from { opacity: 0; transform: translate3d(0, 26px, 0); }
  60% { opacity: 1; }
  to { opacity: 1; transform: translate3d(0, 0, 0); }
}
@keyframes rec-blink { 50% { opacity: .25; } }

/* ââ 7 Â· nav strip ââââââââââââââââââââââââââââââââââââââââââââââââââââââââ */
.nav {
  position: fixed; inset: 0 0 auto; z-index: 50;
  min-height: var(--chrome-top);
  display: flex; align-items: center; gap: 22px;
  padding: 10px var(--pad);
  color: var(--bone);
  transition: background 300ms var(--ease-soft), box-shadow 300ms var(--ease-soft);
}
.nav.is-solid {
  background: rgba(12, 17, 28, .92);
  box-shadow: 0 1px 0 var(--line-dark);
  backdrop-filter: blur(8px);
}
/* menu open: zruš backdrop-filter na nav, jinak by "uvěznil" fixed panel a menu se neotevře celé po odscrollování */
.nav:has(.nav-menu[open]) { backdrop-filter: none; -webkit-backdrop-filter: none; }
.nav__brand {
  display: inline-flex; align-items: center; gap: 12px;
  text-decoration: none; margin-right: auto; min-height: 44px;
}
.nav__brand img { width: 44px; height: 44px; }
.nav__brand b {
  font-family: var(--disp); font-weight: 800; text-transform: uppercase;
  font-size: 1.3rem; letter-spacing: .02em; line-height: 1;
}
.nav__links { display: flex; align-items: center; gap: 4px; }
.nav__links a {
  font: 500 .72rem/1 var(--mono); text-transform: uppercase; letter-spacing: .16em;
  text-decoration: none; padding: 15px 12px; position: relative;
}
.nav__links a::after {
  content: ""; position: absolute; left: 12px; right: 12px; bottom: 9px; height: 2px;
  background: var(--sig); transform: scaleX(0); transform-origin: left;
  transition: transform 220ms var(--ease-out-quart);
}
.nav__links a:hover::after, .nav__links a[aria-current="page"]::after { transform: scaleX(1); }
.nav .btn { min-height: 44px; font-size: 1.05rem; padding: 8px 20px 10px; }

/* burger → full-screen film-room menu */
.nav-menu { position: relative; }
.nav-menu > summary {
  list-style: none; display: inline-flex; flex-direction: column; gap: 5px;
  justify-content: center; align-items: center;
  width: 44px; height: 44px; cursor: pointer;
}
.nav-menu > summary::-webkit-details-marker { display: none; }
.nav-menu > summary i {
  display: block; width: 24px; height: 2px; background: currentColor;
  transition: transform 220ms var(--ease-out-quart), opacity 160ms var(--ease-out-quart);
}
.nav-menu[open] > summary { position: fixed; top: 14px; right: var(--pad); z-index: 10; color: var(--bone); }
.nav-menu[open] > summary i:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-menu[open] > summary i:nth-child(2) { opacity: 0; }
.nav-menu[open] > summary i:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.nav-menu__panel {
  position: fixed; inset: 0; z-index: 1;
  background: var(--film-deep); color: var(--bone);
  padding: calc(var(--chrome-top) + 4vh) var(--pad) 6vh;
  display: flex; flex-direction: column;
  overflow-y: auto;
}
html.js .nav-menu[open] .nav-menu__panel { animation: cut-in 380ms var(--ease-out-expo) both; }
.nav-menu__panel a {
  font-family: var(--disp); font-weight: 900; text-transform: uppercase;
  font-size: clamp(2.2rem, 7.5vh, 4.6rem); line-height: 1.06;
  text-decoration: none; display: flex; align-items: baseline; gap: 18px;
  padding: .35rem 0;
}
.nav-menu__panel a small {
  font: 500 .68rem/1 var(--mono); letter-spacing: .18em; color: var(--bone-dim);
}
.nav-menu__panel a:hover { color: var(--sig); }
.nav-menu__foot { margin-top: auto; padding-top: 5vh; display: flex; flex-wrap: wrap; gap: 10px 28px; }

/* ââ 8 Â· hero (home) ââââââââââââââââââââââââââââââââââââââââââââââââââââââ */
.hero {
  position: relative; min-height: 100svh;
  display: flex; flex-direction: column; justify-content: flex-end;
  color: var(--bone); background: var(--film);
}
.hero__media { position: absolute; inset: 0; }
.hero__media::before {
  /* darkroom scrim ABOVE the duotone so display type wins (.duo::after stays the lighten layer) */
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(180deg, rgba(12,17,28,.5) 0%, rgba(12,17,28,.12) 42%, rgba(12,17,28,.86) 90%);
}
.hero__content { position: relative; z-index: 1; padding: 0 var(--pad) clamp(20px, 4vh, 44px); }
.hero__meta {
  display: flex; flex-wrap: wrap; gap: 10px 26px; align-items: center;
  padding-bottom: 2vh;
}
/* legibility over the photo: ink-tinted glow, not a gray default shadow */
.hero__meta .tag, .hero__foot .tag { text-shadow: 0 1px 10px rgba(12, 17, 28, .85); }
.hero__meta .tag { color: var(--bone); }
.hero__title {
  font-family: var(--disp); font-weight: 900; text-transform: uppercase;
  line-height: .84; letter-spacing: -0.01em; margin: 0 0 3vh;
  width: fit-content; max-width: 100%;
}
.hero__title .t1 {
  display: block; font-size: clamp(1.7rem, 6.4vw, 5.8rem);
  font-weight: 700; letter-spacing: .56em; padding-left: .35ch;
  color: var(--sig);
  /* legibility: the orange wordmark sits on the orange duotone - a dark halo lifts it off */
  text-shadow: 0 2px 18px rgba(12, 17, 28, .95), 0 0 42px rgba(12, 17, 28, .8);
}
.hero__title .t2 {
  display: block; font-size: clamp(5.2rem, 31.5vw, 24rem);
  margin-left: -0.035em; letter-spacing: .012em;
}
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px 18px; align-items: center; padding-bottom: 3vh; }
.hero__foot {
  display: flex; justify-content: space-between; gap: 18px; flex-wrap: wrap;
  border-top: 1px solid var(--line-dark); padding: 14px 0 0;
}
/* hero one-time entrance (the page's single hero moment) */
html.js .hero__title .t1, html.js .hero__title .t2 { opacity: 0; }
html.js .hero.in .t1 { animation: cut-in 700ms var(--ease-out-expo) 150ms both; }
html.js .hero.in .t2 { animation: hero-slam 900ms var(--ease-out-expo) 280ms both; }
html.js .hero.shown .t1, html.js .hero.shown .t2 { opacity: 1; animation: none; transform: none; }
@keyframes hero-slam {
  from { opacity: 0; transform: translate3d(0, 9vh, 0) scaleY(1.12); }
  55% { opacity: 1; }
  to { opacity: 1; transform: translate3d(0, 0, 0) scaleY(1); }
}

/* inner-page hero */
.phero {
  position: relative; padding: calc(var(--chrome-top) + clamp(48px, 9vh, 110px)) var(--pad) clamp(28px, 5vh, 56px);
  background: var(--film); color: var(--bone);
}
.phero__title {
  font-family: var(--disp); font-weight: 900; text-transform: uppercase;
  font-size: clamp(3rem, 9vw, 8rem); line-height: .9; margin: 12px 0 0;
  overflow-wrap: break-word;
}
.phero__lead { margin-top: 22px; }

/* ââ 9 Â· ticker marquee âââââââââââââââââââââââââââââââââââââââââââââââââââ */
.ticker {
  overflow: hidden; background: var(--sig); color: #FFF6EC;
  border-top: 2px solid var(--film-deep); border-bottom: 2px solid var(--film-deep);
}
.ticker__track { display: flex; width: max-content; }
html.js .ticker__track { animation: ticker-run 26s linear infinite; }
.ticker__unit {
  display: flex; align-items: center; gap: 26px;
  padding: 12px 13px 14px; white-space: nowrap;
  font-family: var(--disp); font-weight: 800; text-transform: uppercase;
  font-size: clamp(1.15rem, 2vw, 1.7rem); line-height: 1;
}
.ticker__unit i { font-style: normal; font-size: .7em; opacity: .8; transform: translateY(-.1em); }
@keyframes ticker-run { to { transform: translate3d(-50%, 0, 0); } }

/* ââ 10 Â· sections ââââââââââââââââââââââââââââââââââââââââââââââââââââââââ */
.sect { padding: var(--sect) var(--pad); position: relative; }
[data-surface="dark"] { background: var(--film); color: var(--bone); }

/* story â the BIG quiet moment */
.story__claim { max-width: 21ch; margin-bottom: clamp(34px, 7vh, 70px); }
.story__claim em { font-style: normal; color: var(--sig-deep); }
.story__grid {
  display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  gap: clamp(28px, 5vw, 84px); align-items: start;
}
.story__fig .duo { aspect-ratio: 4 / 3; }

/* stats â final values live in markup (no JS dependency) */
.stats {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 2px solid var(--ink); margin-top: clamp(34px, 6vh, 64px);
}
.stat { padding: 22px 18px 26px 0; border-bottom: 1px solid var(--line); }
.stat b {
  display: block; font-family: var(--disp); font-weight: 900;
  font-size: clamp(3rem, 6.5vw, 5.8rem); line-height: .95;
  font-variant-numeric: tabular-nums;
}
.stat b sup { font-size: .38em; color: var(--sig-deep); top: -1.05em; }

/* ledger â tÃ½my index with ghost jersey numerals */
.ledger { border-top: 1px solid var(--line-dark); }
.ledger__row {
  position: relative; display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) auto;
  gap: 14px 26px; align-items: center;
  padding: clamp(18px, 3.4vh, 34px) 0;
  border-bottom: 1px solid var(--line-dark);
  text-decoration: none;
  isolation: isolate;
}
.ledger__num {
  font-family: var(--disp); font-weight: 900; font-size: clamp(2.4rem, 5vw, 4.4rem);
  line-height: .9; color: transparent;
  -webkit-text-stroke: 2px var(--bone-dim);
  transition: color 190ms var(--ease-out-quart), -webkit-text-stroke-color 190ms var(--ease-out-quart);
}
.ledger__row:hover .ledger__num { color: var(--sig); -webkit-text-stroke-color: var(--sig); }
.ledger__name {
  font-family: var(--disp); font-weight: 800; text-transform: uppercase;
  font-size: clamp(1.7rem, 3.6vw, 3rem); line-height: .95;
  transition: color 190ms var(--ease-out-quart);
}
/* only the row under the cursor lights up; the others stay as they were */
.ledger__row:hover .ledger__name,
.ledger__row:focus-visible .ledger__name { color: var(--sig); }
.ledger__row .alink { justify-self: end; }

/* film strip â horizontal record, native scroll, sprocket edges */
.strip { padding: var(--sect) 0; }
.strip__head { padding: 0 var(--pad); }
.strip__rail {
  display: flex; gap: 18px;
  overflow-x: auto; overscroll-behavior-x: contain;
  scroll-snap-type: x proximity;
  padding: 26px var(--pad) 18px;
  scrollbar-color: var(--sig) var(--film-deep);
}
.strip__rail::-webkit-scrollbar { height: 8px; }
.strip__rail::-webkit-scrollbar-track { background: var(--film-deep); }
.strip__rail::-webkit-scrollbar-thumb { background: var(--sig); }
.strip__cell { flex: 0 0 clamp(240px, 62vw, 470px); scroll-snap-align: center; }
.strip__cell .duo {
  aspect-ratio: 3 / 2;
  border-top: 12px solid var(--film-deep);
  border-bottom: 12px solid var(--film-deep);
  background-clip: padding-box;
}
/* sprocket holes â one pseudo, anchored inside the .duo (top + bottom rows;
   overflow:hidden clips the border area, so the rows sit on the photo edges) */
.strip__cell .duo::before {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background-image:
    repeating-linear-gradient(90deg, transparent 0 10px, rgba(237, 231, 218, .34) 10px 18px, transparent 18px 30px),
    repeating-linear-gradient(90deg, transparent 0 10px, rgba(237, 231, 218, .34) 10px 18px, transparent 18px 30px);
  background-size: 100% 12px, 100% 12px;
  background-position: 0 0, 0 100%;
  background-repeat: no-repeat;
}

/* cta band */
.band {
  padding: var(--sect) var(--pad) clamp(28px, 4vh, 44px);
  background: var(--sig); color: #FFF6EC;
  position: relative; overflow: hidden;
}
.band .kicker::after { background: rgba(12, 17, 28, .35); }
/* AA on orange: small text must be DARK (white passes only at display size here) */
.band .tag { color: rgba(12, 17, 28, .82); }
.band .lead, .band p:not(.band__claim) { color: var(--film-deep); }
.band__claim { max-width: 15ch; margin-bottom: 30px; }
.band .btn { background: var(--film-deep); box-shadow: 0 4px 0 rgba(12, 17, 28, .55); }
.band .btn:hover { background: #182238; }
.band__rows { margin-top: 34px; border-top: 1px solid rgba(12,17,28,.4); max-width: 720px; }
.band__row {
  display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 4px 24px;
  padding: 14px 0; border-bottom: 1px solid rgba(12,17,28,.4);
  font-size: .95rem; color: var(--film-deep);
}
.band__row b { font-weight: 600; }
.band__row span { font: 500 .72rem/1.6 var(--mono); letter-spacing: .1em; text-transform: uppercase; }

/* partners */
.partners__grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 1px; background: var(--line); border: 1px solid var(--line);
}
.partners__cell {
  background: var(--paper); padding: clamp(20px, 3vw, 40px);
  display: flex; flex-direction: column; gap: 14px; align-items: center; justify-content: center;
  min-height: 150px; text-align: center;
}
.partners__cell img {
  max-height: 64px; width: auto; object-fit: contain;
  filter: grayscale(1) opacity(.72);
  transition: filter 220ms var(--ease-soft);
}
.partners__cell:hover img { filter: grayscale(0) opacity(1); }

/* forms â dark card on duotone (kontakt / newsletter) */
.form-card {
  background: rgba(12, 17, 28, .88); color: var(--bone);
  padding: clamp(22px, 4vw, 44px); max-width: 560px;
  backdrop-filter: blur(4px);
}
.field { display: block; margin-bottom: 18px; }
.field span {
  display: block; margin-bottom: 7px;
  font: 500 .68rem/1.4 var(--mono); letter-spacing: .18em; text-transform: uppercase;
  color: var(--bone-dim);
}
.field input, .field textarea {
  width: 100%; background: transparent; color: var(--bone);
  border: 0; border-bottom: 2px solid var(--line-dark);
  padding: 8px 2px 10px; border-radius: 0;
  transition: border-color 180ms var(--ease-out-quart);
}
.field input::placeholder, .field textarea::placeholder { color: rgba(185, 180, 166, .55); }
.field input:focus, .field textarea:focus { outline: none; border-bottom-color: var(--sig); }
.field textarea { min-height: 110px; resize: vertical; }
.form-note { font: 400 .78rem/1.6 var(--mono); color: var(--bone-dim); margin-top: 14px; }

/* ââ 11 Â· footer â the tape runs out ââââââââââââââââââââââââââââââââââââââ */
.footer {
  background: var(--film-deep); color: var(--bone);
  padding: var(--sect) var(--pad) 0; position: relative;
  overflow: hidden;
}
.footer__grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 34px var(--pad); padding-bottom: clamp(40px, 8vh, 90px);
}
.footer__grid h3 { margin-bottom: 14px; }
.footer__grid ul li { padding: 0; }
.footer__grid a { text-decoration: none; display: inline-flex; align-items: center; min-height: 44px; }
.footer__grid a:hover { color: var(--sig); }
.footer__tel {
  font-family: var(--disp); font-weight: 800; font-size: clamp(1.5rem, 2.6vw, 2.2rem);
  text-decoration: none; letter-spacing: .01em; white-space: nowrap;
}
.footer__tel:hover { color: var(--sig); }
.footer__legal {
  display: flex; flex-wrap: wrap; gap: 8px 28px;
  padding: 18px 0 26px; border-top: 1px solid var(--line-dark);
  font: 400 .72rem/1.7 var(--mono); letter-spacing: .08em; color: var(--bone-dim);
}
/* giant wordmark â fills with orange as you reach the end of the tape */
.footer__wordmark {
  display: block; text-align: center;
  font-family: var(--disp); font-weight: 900; text-transform: uppercase;
  font-size: clamp(4.6rem, 21vw, 21rem); line-height: .78;
  letter-spacing: -0.01em;
  margin: 0 calc(var(--pad) * -1); padding-top: 2vh;
  background: linear-gradient(90deg, var(--sig) 0 var(--fill, 100%), rgba(237, 231, 218, .14) var(--fill, 100%) 100%);
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
  user-select: none;
}

/* ââ 12 Â· helpers âââââââââââââââââââââââââââââââââââââââââââââââââââââââââ */
.skip {
  position: fixed; top: 8px; left: 8px; z-index: 90;
  background: var(--film-deep); color: var(--bone);
  padding: 12px 18px; text-decoration: none;
  transform: translateY(-260%); transition: transform 200ms var(--ease-out-quart);
}
.skip:focus-visible { transform: none; }
.ghost-num {
  position: absolute; z-index: -1; pointer-events: none; user-select: none;
  font-family: var(--disp); font-weight: 900; line-height: .8;
  font-size: clamp(11rem, 30vw, 26rem);
  color: transparent; -webkit-text-stroke: 2px rgba(237, 231, 218, .07);
}
[data-surface="light"] .ghost-num, .sect--paper .ghost-num { -webkit-text-stroke-color: rgba(23, 31, 46, .07); }
.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(24px, 4vw, 64px); }

/* ââ 13 Â· responsive ââââââââââââââââââââââââââââââââââââââââââââââââââââââ */
@media (max-width: 1023px) {
  .nav__links { display: none; }
}
@media (min-width: 1024px) {
  .nav-menu__foot { gap: 14px 40px; }
}
@media (max-width: 767px) {
  :root { --chrome-top: 62px; }
  .nav { gap: 12px; }
  .nav__brand img { width: 36px; height: 36px; }
  .nav__brand b { font-size: 1.1rem; }
  .nav .btn { display: none; }
  .story__grid, .grid-2 { grid-template-columns: minmax(0, 1fr); }
  .stats { grid-template-columns: minmax(0, 1fr); }
  .stat { padding-right: 0; }
  .ledger__row { grid-template-columns: minmax(0, 1fr); }
  .ledger__meta { grid-column: 1; }
  .ledger__row .alink { grid-column: 1; justify-self: start; }
  .hero__foot { flex-direction: column; gap: 8px; }
  .footer__wordmark { font-size: clamp(4rem, 19vw, 8rem); }
}

/* ââ 13b Â· MOTION PASS v2 â the tape runs (scroll engine hooks) ââââââââââââ */

/* hero: ken burns on the still (ambient loop) + scroll parallax via --hero-p */
html.js .hero__media > img {
  transform: scale(1.045); transform-origin: 54% 38%;   /* static — no ken-burns (perf) */
}
@keyframes kenburns {
  from { scale: 1.02; translate: 0 0; }
  to   { scale: 1.09; translate: -1.4% 1.2%; }
}
/* hero bg parallax removed for performance (was recompositing the duotone on scroll) */
html.js .hero__content { transform: translate3d(0, calc(var(--hero-p, 0) * -5vh), 0); }

/* live timecode chip in hero meta */
.tcode { font-variant-numeric: tabular-nums; letter-spacing: .12em; }

/* marquee velocity skew (JS writes --skew) */
html.js .ticker { transform: skewX(calc(var(--skew, 0) * 1deg)); will-change: transform; }

/* story claim â per-word hard cuts (delays via --i) */
html.js .claim-w { display: inline-block; }
html.js .story__claim.reveal.in .claim-w {
  animation: cut-in 520ms var(--ease-out-expo) both;
  animation-delay: calc(var(--delay, 0ms) + var(--i, 0) * 70ms);
}
html.js .story__claim.reveal.shown .claim-w { animation: none; opacity: 1; transform: none; }

/* ghost numerals drift (JS writes --gy per row) */
html.js .ledger__num { transform: translate3d(0, calc(var(--gy, 0) * 1px), 0); }

/* ââ the pin: film-strip scrub (desktop fine-pointer only) ââ */
@media (min-width: 1024px) and (pointer: fine) {
  html.js:not(.rm) .strip--pin { padding: 0; }
  html.js:not(.rm) .strip--pin .strip__pin { height: 320vh; }
  html.js:not(.rm) .strip--pin .strip__stage {
    position: sticky; top: 0; height: 100svh;
    display: flex; flex-direction: column; justify-content: center;
    overflow: hidden;
  }
  html.js:not(.rm) .strip--pin .strip__rail {
    overflow: visible; scroll-snap-type: none;
    transform: translate3d(var(--rail-x, 0px), 0, 0);
    will-change: transform;
    width: max-content;
  }
  html.js:not(.rm) .strip--pin .strip__cell { flex-basis: clamp(380px, 34vw, 560px); }
  /* progress bar â the tape counter */
  html.js:not(.rm) .strip__bar { display: block; }
}
.strip__bar {
  display: none; height: 2px; margin: 26px var(--pad) 0;
  background: var(--line-dark); position: relative;
}
.strip__bar i {
  position: absolute; inset: 0 auto 0 0; width: 100%;
  background: var(--sig);
  transform: scaleX(var(--strip-p, 0)); transform-origin: left;
}

/* page sweep â hard cut between pages (JS-progressive) */
.sweep {
  position: fixed; inset: 0; z-index: 90; pointer-events: none;
  background: var(--film-deep);
  transform: scaleY(0); transform-origin: top;
}
html.js .sweep.out { animation: sweep-out 420ms var(--ease-out-expo) both; }
html.js .sweep.in-page { animation: sweep-in 460ms var(--ease-out-expo) both; }
@keyframes sweep-out { from { transform: scaleY(0); } to { transform: scaleY(1); } }
@keyframes sweep-in { from { transform: scaleY(1); transform-origin: bottom; } to { transform: scaleY(0); transform-origin: bottom; } }

/* magnetic CTAs (JS writes --mx/--my, fine pointers only) */
@media (pointer: fine) {
  html.js .btn[data-mag] {
    transform: translate3d(calc(var(--mx, 0) * 1px), calc(var(--my, 0) * 1px), 0);
    transition: transform 120ms var(--ease-out-quart), box-shadow 160ms var(--ease-out-quart), background 160ms var(--ease-out-quart);
  }
  html.js .btn[data-mag]:active { transform: translate3d(calc(var(--mx, 0) * 1px), calc(var(--my, 0) * 1px + 4px), 0); }
}

/* ââ 15 Â· page sections (merged from css/pages/* â one hand-written file, kit precedent) ââ */

/* â page: chcihrat â */
/* CHCI HRÃT â page skin: scouting board Â· playbook steps Â· coach list.
   Tokens only. Motion lives in styles.css â this file is static layout. */

/* Q1 Â· scouting board â training schedule rows (report sheet, not cards) */
.board { border-top: 2px solid var(--ink); }
.board__row {
  display: grid;
  grid-template-columns: minmax(0, .85fr) minmax(0, 1.45fr);
  gap: 14px 44px;
  padding: clamp(22px, 3.8vh, 38px) 0;
  border-bottom: 1px solid var(--line);
}
.board__team {
  font-family: var(--disp); font-weight: 800; text-transform: uppercase;
  font-size: clamp(1.65rem, 3.2vw, 2.7rem); line-height: .95;
}
.board__head .tag { display: block; margin-top: 10px; }
.board__slots li {
  display: flex; flex-wrap: wrap; justify-content: space-between;
  align-items: baseline; gap: 4px 24px;
  padding: 10px 0 12px;
  font: 500 .82rem/1.6 var(--mono); letter-spacing: .1em; text-transform: uppercase;
}
.board__slots li + li { border-top: 1px dashed var(--line); }
.board__where { color: var(--ink-dim); letter-spacing: .16em; font-size: .72rem; }
.board__foot { margin-top: 20px; }

/* Q2 Â· steps â mono-numbered playbook rows */
.steps { border-top: 1px solid var(--line-dark); max-width: 980px; }
.steps__row {
  display: grid; grid-template-columns: max-content minmax(0, 1fr);
  gap: 6px 34px; align-items: start;
  padding: clamp(22px, 3.6vh, 36px) 0;
  border-bottom: 1px solid var(--line-dark);
}
.steps__num {
  grid-row: 1 / span 2;
  font: 500 clamp(1.2rem, 2.3vw, 1.75rem)/1.1 var(--mono);
  letter-spacing: .14em; color: var(--sig);
}
.steps__name {
  font-family: var(--disp); font-weight: 800; text-transform: uppercase;
  font-size: clamp(1.5rem, 2.9vw, 2.4rem); line-height: .95;
}
.steps__note { grid-column: 2; color: var(--bone-dim); max-width: 52ch; }

/* Q3 Â· coach list â ledger of names, mono roles, mail links */
.coachlist { border-top: 2px solid var(--ink); }
.coachlist > li {
  display: grid; grid-template-columns: minmax(0, 1fr) auto;
  gap: 2px 26px; align-items: center;
  padding: 14px 0 16px; border-bottom: 1px solid var(--line);
}
.coach__name {
  font-family: var(--disp); font-weight: 800; text-transform: uppercase;
  font-size: clamp(1.3rem, 2.2vw, 1.8rem); line-height: 1;
}
.coachlist .tag { grid-column: 1; }
.coachlist .alink { grid-column: 2; grid-row: 1 / span 2; justify-self: end; }

/* Q4 Â· band â arrow of the tel link must stay legible on the sig field */
.band .alink::before { color: var(--film-deep); }

@media (max-width: 767px) {
  .board__row { grid-template-columns: minmax(0, 1fr); }
  .steps__row { grid-template-columns: max-content minmax(0, 1fr); gap: 4px 20px; }
  .coachlist > li { grid-template-columns: minmax(0, 1fr); }
  .coachlist .alink { grid-column: 1; grid-row: auto; justify-self: start; }
}

/* â page: fotogalerie â */
/* FOTOGALERIE â editorial tape sheet. Layout only; all motion, duotone and
   caption chrome stay in styles.css. Tokens only, no new keyframes. */

/* ââ gallery grid: one master frame, then staggered pairs ââ */
.gal {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: clamp(38px, 7vh, 84px) clamp(16px, 2.6vw, 40px);
  margin-top: clamp(30px, 5vh, 56px);
}
.gal figure { grid-column: 1 / -1; min-width: 0; }
.gal .duo { aspect-ratio: 3 / 2; }
.gal__c .duo { aspect-ratio: 1 / 1.04; } /* near-square source stays near-square */

@media (min-width: 768px) {
  .gal .gal__master .duo { aspect-ratio: 21 / 9; } /* frame 01 â cinematic master shot */
  .gal figure.gal__a { grid-column: 1 / span 7; }
  .gal figure.gal__b { grid-column: 9 / span 4; margin-top: clamp(44px, 10vh, 130px); }
  .gal .gal__b .duo { aspect-ratio: 4 / 3; } /* small punctuation frame, gentle crop */
  .gal figure.gal__c { grid-column: 1 / span 5; margin-top: clamp(44px, 10vh, 130px); }
  .gal figure.gal__d { grid-column: 7 / span 6; }
}

/* ââ credit line â the mono overlay voice, printed big on paper ââ */
.credit {
  font: 500 clamp(1.1rem, 3.8vw, 2.7rem)/1.45 var(--mono);
  text-transform: uppercase;
  letter-spacing: .22em;
  overflow-wrap: break-word;
  color: var(--ink);
}
.credit b { font-weight: 500; color: var(--sig-deep); }

/* â page: kalendar â */
/* KALENDÃÅ â archive log rows Â«ze zÃ¡znamuÂ» (page css Â· tokens only) */
.log { border-top: 1px solid var(--line-dark); }
.log__row {
  display: grid;
  grid-template-columns: max-content minmax(0, 1fr);
  gap: 6px 40px;
  align-items: baseline;
  padding: clamp(16px, 3vh, 28px) 0;
  border-bottom: 1px solid var(--line-dark);
}
.log__date {
  font: 500 .75rem/1.6 var(--mono);
  letter-spacing: .14em;
  color: var(--bone-dim);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.log__match {
  font-family: var(--disp);
  font-weight: 800;
  text-transform: uppercase;
  font-size: clamp(1.35rem, 2.7vw, 2.1rem);
  line-height: .95;
  overflow-wrap: break-word;
}
.sect--slim { padding-block: clamp(44px, 8vh, 84px); }
@media (max-width: 767px) {
  .log__row { grid-template-columns: minmax(0, 1fr); gap: 2px; }
}

/* â page: kontakt â */
/* KONTAKT â page skeletons only. Tokens from styles.css, no new reveal systems. */

/* contact ledger (paper) â the scouting-report contact sheet */
.cled { border-top: 2px solid var(--ink); }
.cled__row {
  display: grid;
  grid-template-columns: minmax(110px, 200px) minmax(0, 1fr) auto;
  gap: 8px 30px; align-items: start;
  padding: clamp(20px, 3.6vh, 38px) 0;
  border-bottom: 1px solid var(--line);
}
.cled__label { padding-top: .45em; }
.cval {
  display: inline-block;
  font-family: var(--disp); font-weight: 800; text-transform: uppercase;
  font-size: clamp(1.5rem, 4vw, 3.1rem); line-height: .96;
  letter-spacing: .01em; text-decoration: none; overflow-wrap: anywhere;
  transition: color 160ms var(--ease-out-quart);
}
a.cval { padding: 12px 0; margin: -12px 0; } /* â¥44px tap target, no layout shift */
a.cval:hover { color: var(--sig-deep); }
.cled__row address {
  font-style: normal; margin-top: 8px;
  color: var(--ink-dim); font-size: .95rem; line-height: 1.6;
}
.cled__row .alink { justify-self: end; align-self: center; }

/* form section â card must separate from the film background */
.zprava-fig .duo { aspect-ratio: 3 / 2; }
#zprava .form-card { background: var(--film-deep); border: 1px solid var(--line-dark); }

@media (max-width: 767px) {
  .cled__row { grid-template-columns: minmax(0, 1fr); gap: 2px; }
  .cled__label { padding-top: 0; }
  .cled__row .alink { justify-self: start; }
}

/* â page: partneri â */
/* PARTNEÅI â larger board cells (page css Â· tokens only, extends .partners__*) */
.partners__grid--lg { grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }
.partners__grid--lg .partners__cell {
  min-height: 250px;
  padding: clamp(30px, 4.5vw, 60px);
  gap: 20px;
}
.partners__grid--lg .partners__cell img { max-height: 116px; }
a.partners__cell { text-decoration: none; }

/* â page: tym â */
/* Â«TÃ½myÂ» â dossier ledger. Scoreboard index chips + dossier band skeleton.
   Tokens only Â· hover micro â¤250ms Â· transform/opacity only. */

/* in-page scoreboard index (under phero) */
.tindex {
  display: flex; flex-wrap: wrap; gap: 10px;
  margin-top: clamp(26px, 4.5vh, 46px);
}
.tindex a {
  display: inline-flex; align-items: center; gap: 12px;
  min-height: 46px; padding: 8px 18px 9px;
  border: 1px solid var(--line-dark);
  font: 500 .72rem/1 var(--mono); letter-spacing: .16em; text-transform: uppercase;
  color: var(--bone-dim); text-decoration: none;
  transition: border-color 180ms var(--ease-out-quart), color 180ms var(--ease-out-quart), transform 180ms var(--ease-out-quart);
}
.tindex a b { font: 900 1.05rem/1 var(--disp); letter-spacing: .02em; color: var(--bone); }
.tindex a:hover { border-color: var(--sig); color: var(--bone); transform: translateY(-2px); }
.tindex a:hover b { color: var(--sig); }

/* dossier band â one team, one ghost numeral behind */
.dossier {
  isolation: isolate; overflow: hidden;
  scroll-margin-top: calc(var(--chrome-top) + 8px);
}
.dossier .ghost-num { top: 50%; right: -.05em; transform: translateY(-50%); }
.dossier--flip .ghost-num { right: auto; left: -.05em; }

.dossier__grid, .dossier__cols {
  display: grid; align-items: start;
  gap: clamp(26px, 4.5vw, 80px);
}
.dossier__grid { grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr); }
.dossier__cols { grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); }
.dossier__fig .duo { aspect-ratio: 3 / 2; }

/* scouting facts â mono label + value rows */
.dfacts { margin: clamp(22px, 4vh, 34px) 0 0; max-width: 620px; border-top: 2px solid var(--ink); }
[data-surface="dark"] .dfacts { border-top-color: var(--bone); }
.dfacts > div {
  display: grid; grid-template-columns: minmax(96px, 132px) minmax(0, 1fr);
  gap: 2px 20px; align-items: center;
  padding: 8px 0; border-bottom: 1px solid var(--line);
}
[data-surface="dark"] .dfacts > div { border-bottom-color: var(--line-dark); }
.dfacts dd { margin: 0; font-size: .95rem; overflow-wrap: break-word; }
.dfacts dd a {
  display: inline-flex; align-items: center; min-height: 44px;
  text-decoration-line: underline; text-decoration-thickness: 2px;
  text-decoration-color: var(--sig-deep); text-underline-offset: 4px;
}
[data-surface="dark"] .dfacts dd a { text-decoration-color: var(--sig); }
.dfacts dd a:hover { color: var(--sig-deep); }
[data-surface="dark"] .dfacts dd a:hover { color: var(--sig); }
.dossier__cta { margin-top: clamp(18px, 3vh, 28px); }

@media (max-width: 767px) {
  .dossier__grid, .dossier__cols { grid-template-columns: minmax(0, 1fr); }
  .dossier .ghost-num, .dossier--flip .ghost-num {
    font-size: clamp(8rem, 42vw, 12rem);
    top: 4px; right: -.05em; left: auto; transform: none;
  }
  .dfacts > div { grid-template-columns: minmax(0, 1fr); padding: 6px 0 10px; }
}

/* ââ 13c Â· ART PASS v3 â collisions, leader, cursor, gate reveals, material â */


/* viewfinder cursor â JS-created, fine pointers only; native cursor stays */
.cur {
  display: none !important;
  position: fixed; left: 0; top: 0; z-index: 90; pointer-events: none;
  width: 44px; height: 44px; margin: -22px 0 0 -22px;
  opacity: 0; transition: opacity 200ms var(--ease-soft);
}
.cur.live { opacity: 1; }
.cur::before {
  content: ""; position: absolute; inset: 0; border-radius: 50%;
  border: 1px solid rgba(240, 72, 30, .65);
  transition: transform 180ms var(--ease-out-quart), border-color 180ms var(--ease-out-quart);
}
.cur__tag {
  position: absolute; left: 50%; top: calc(100% + 4px); transform: translateX(-50%);
  font: 500 .56rem/1 var(--mono); letter-spacing: .16em; text-transform: uppercase;
  color: var(--sig); white-space: nowrap; opacity: 0;
  transition: opacity 160ms var(--ease-soft);
}
.cur--rec::before { transform: scale(1.5); border-color: var(--sig); }
.cur--rec .cur__tag { opacity: 1; }
.cur--act::before { transform: scale(.5); border-color: var(--sig); background: rgba(240, 72, 30, .5); }

/* gate-open â every revealed photo opens like a projector gate (one-shot) */
html.js .reveal.in .duo {
  animation: gate-open 860ms var(--ease-out-expo) both;
  animation-delay: var(--delay, 0ms);
}
html.js .reveal.shown .duo { animation: none; clip-path: none; filter: none; }
html.js .hero.in .hero__media { animation: gate-open 900ms var(--ease-out-expo) both; }
html.js .hero.shown .hero__media { animation: none; clip-path: none; filter: none; }
@keyframes gate-open {
  from { clip-path: inset(0 100% 0 0); filter: brightness(1.7) contrast(1.1); }
  55% { filter: brightness(1.12); }
  to { clip-path: inset(0 0 0 0); filter: none; }
}

/* dust + scratches â the tape is worn (film surfaces only) */
.dust {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='900' height='700'%3E%3Cg stroke='%23EDE7DA' stroke-width='1' opacity='.5'%3E%3Cpath d='M112 0v210M113 300v90'/%3E%3Cpath d='M478 80v170'/%3E%3Cpath d='M729 0v120M731 200v330'/%3E%3Cpath d='M281 420v200'/%3E%3C/g%3E%3Ccircle cx='640' cy='120' r='1.6' fill='%23EDE7DA' opacity='.7'/%3E%3Ccircle cx='210' cy='520' r='1.2' fill='%23EDE7DA' opacity='.6'/%3E%3Ccircle cx='820' cy='430' r='1' fill='%23EDE7DA' opacity='.5'/%3E%3C/svg%3E");
  opacity: .05;
}
html.js .dust { animation: none; }   /* was a continuous repaint over the hero (perf) */
@keyframes dust-jump {
  0% { transform: translate3d(0, 0, 0) scaleX(1); }
  25% { transform: translate3d(-6%, 3%, 0) scaleX(-1); }
  50% { transform: translate3d(4%, -5%, 0) scaleX(1); }
  75% { transform: translate3d(-2%, -2%, 0) scaleX(-1); }
}

/* ââ v4 Â· THE DRIVE â the page is a game ââââââââââââââââââââââââââââââââââ */
/* hero poster stack: type owns the frame, edge to edge */
.hero__title .t1 {
  font-size: min(8vw, 7.2svh);
  letter-spacing: normal;
  display: flex; justify-content: space-between;
  padding: 0 calc(min(39.2vw, 58svh) * .0292) 0 calc(min(39.2vw, 58svh) * .035);
  width: 100%;
}
.hero__title .t1 b { font-weight: 700; }
.hero__title .t2 {
  font-size: min(39.2vw, 58svh);
  letter-spacing: .008em;
  white-space: nowrap;
  margin-left: 0;
}
.hero__foot .btn { min-height: 46px; font-size: 1.05rem; padding: 8px 22px 10px; }

/* scoreboard HUD â game clock runs down as you scroll (â¥1280 fine pointers) */
.hud {
  display: none;
  position: fixed; right: 10px; top: 50%; z-index: 40;
  transform: translateY(-50%);
  pointer-events: none;
  writing-mode: vertical-rl;
  align-items: center; gap: 12px;
  color: var(--bone-dim);
  font: 500 .68rem/1 var(--mono); letter-spacing: .18em; text-transform: uppercase;
  text-shadow: 0 1px 8px rgba(12, 17, 28, .6);
}
@media (min-width: 1280px) and (pointer: fine) {
  html.js:not(.rm) .hud { display: flex; }
}
.hud__q { color: var(--sig); font-weight: 500; }
.hud__clock {
  font-family: var(--disp); font-weight: 800; font-size: 1.5rem;
  letter-spacing: .06em; color: var(--bone);
  font-variant-numeric: tabular-nums;
}
.hud__bar {
  display: block; inline-size: 1px; block-size: 120px;
  background: var(--line-dark); position: relative;
}
.hud__bar i {
  position: absolute; inset: 0;
  background: var(--sig);
  transform: scaleY(var(--drive, 0)); transform-origin: top;
}
.hud.is-final .hud__q, .hud.is-final .hud__clock { color: var(--sig); }
[data-surface="light"] ~ * .hud { color: var(--ink-dim); } /* stays bone â fixed over mixed surfaces, shadow carries it */

/* the scouting card â stats printed on paper, lying over the section seam */
.stats--card {
  background: var(--paper);
  padding: 0 clamp(18px, 2.4vw, 34px) 8px;
  box-shadow: 0 22px 60px rgba(12, 17, 28, .16);
}

/* collisions â sections stop being polite (desktop only, normal flow â¤1023px) */
@media (min-width: 1024px) {
  .pull-up { margin-top: clamp(-150px, -11vw, -70px); position: relative; z-index: 10; }
  .pull-down { margin-bottom: clamp(-130px, -9vw, -60px); position: relative; z-index: 10; }
  .room-top { padding-top: clamp(140px, 16vh, 220px); }
  .bleed-r { margin-right: calc(var(--pad) * -1); }
  .bleed-l { margin-left: calc(var(--pad) * -1); }
  /* title collides with the image next to it */
  .collide-title { margin-bottom: -.42em; position: relative; z-index: 10; }
}

/* phero ghost index â the page number crops at the viewport edge */
.phero { overflow: hidden; }
.phero__ghost {
  position: absolute; right: -0.12em; bottom: -0.22em; z-index: 0;
  font-family: var(--disp); font-weight: 900; line-height: .8;
  font-size: clamp(9rem, 26vw, 24rem);
  color: transparent; -webkit-text-stroke: 2px rgba(237, 231, 218, .1);
  pointer-events: none; user-select: none;
}
.phero > *:not(.phero__ghost) { position: relative; z-index: 1; }
html.js .phero__ghost { transform: translate3d(0, calc(var(--gy, 0) * 1px), 0); }

/* teams â the jersey numeral takes the section (was a whisper, now a wall) */
.dossier { overflow: hidden; }
.dossier .ghost-num {
  z-index: 0; right: -0.06em; top: 50%; left: auto;
  transform: translateY(-50%);
  font-size: clamp(14rem, 42vw, 40rem);
  -webkit-text-stroke: 2.5px rgba(237, 231, 218, .13);
}
.dossier--flip .ghost-num { right: auto; left: -0.06em; }
.dossier[data-surface="light"] .ghost-num,
.sect--paper .ghost-num { -webkit-text-stroke-color: rgba(23, 31, 46, .1); }
.dossier > *:not(.ghost-num) { position: relative; z-index: 1; }
html.js .dossier .ghost-num { transform: translate3d(0, calc(-50% + var(--gy, 0) * 1.6px), 0); }

/* gallery â frame counters stamped by CSS, master goes full-bleed */
.gal { counter-reset: fr; }
.gal figure { counter-increment: fr; }
.gal figure .tc::before {
  content: "FR " counter(fr, decimal-leading-zero);
  color: var(--sig); letter-spacing: .14em;
}
@media (min-width: 1024px) {
  .gal__master { margin-inline: calc(var(--pad) * -1); }
  .gal__master .duo { border-top: 12px solid var(--film-deep); border-bottom: 12px solid var(--film-deep); }
  .gal__master .duo::before {
    content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
    background-image:
      repeating-linear-gradient(90deg, transparent 0 10px, rgba(237, 231, 218, .34) 10px 18px, transparent 18px 30px),
      repeating-linear-gradient(90deg, transparent 0 10px, rgba(237, 231, 218, .34) 10px 18px, transparent 18px 30px);
    background-size: 100% 12px, 100% 12px;
    background-position: 0 0, 0 100%;
    background-repeat: no-repeat;
  }
  .gal__master .tc { padding-inline: var(--pad); }
}

/* join â playbook numbers become the composition (overrides merged .steps__num) */
.steps .steps__num {
  font-family: var(--disp); font-weight: 900; line-height: .8;
  font-size: clamp(4.4rem, 11vw, 10rem);
  color: transparent; -webkit-text-stroke: 2px var(--sig);
  letter-spacing: 0;
  width: 1.15em;   /* stejná šířka boxu pro 01/02 → nadpisy i texty zarovnané */
}

/* contact â the form card sits ON the photo */
@media (min-width: 1024px) {
  .overlap-form { margin-left: clamp(-170px, -12vw, -80px); margin-top: clamp(48px, 7vh, 96px); position: relative; z-index: 10; }
}

/* schedule â archive dates at display scale */
.logdate {
  font-family: var(--disp); font-weight: 900; font-size: clamp(1.9rem, 4.2vw, 3.6rem);
  line-height: .95; font-variant-numeric: tabular-nums; letter-spacing: 0;
}

/* ââ 13d Â· CRAZY PASS v5 â the tape is ALIVE (owner-directed, declared) ââââ */

/* per-letter wordmark slam + frame-jump hover */
.hero__title .t2 b { display: inline-block; font-weight: 900; }
html.js .hero__title .t2 { opacity: 1; }
html.js .hero__title .t2 b { opacity: 0; }
html.js .hero.in .t2 { animation: none; }
html.js .hero.in .t2 b {
  animation: hero-slam 820ms var(--ease-out-expo) both;
  animation-delay: calc(300ms + var(--i, 0) * 50ms);
}
html.js .hero.shown .t2, html.js .hero.shown .t2 b { opacity: 1; animation: none; transform: none; }
@media (pointer: fine) {
  .hero__title .t2 b { transition: transform 90ms var(--ease-cut); }
  .hero__title .t2 b:hover { transform: translateY(-1.5%) scaleY(.965); }
}

/* VHS tracking line â rolls through the hero every 9s */
.track { position: absolute; inset: 0; z-index: 2; pointer-events: none; overflow: hidden; }
.track::before {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 44px;
  background: linear-gradient(180deg, transparent, rgba(237, 231, 218, .07) 38%, rgba(12, 17, 28, .38) 56%, transparent);
  opacity: 0;
}
html.js .track::before { animation: none; }
@keyframes track-roll {
  0%, 84% { transform: translate3d(0, -6vh, 0); opacity: 0; }
  86% { opacity: 1; }
  100% { transform: translate3d(0, 106vh, 0); opacity: 0; }
}

/* chromatic flicker â the signal degrades for two frames, twice a minute */
html.js .hero.shown .t2 { animation: rgb-flick 13s steps(1, jump-none) infinite; }
@keyframes rgb-flick {
  0%, 96%, 100% { text-shadow: none; transform: none; }
  97% { text-shadow: 4px 0 rgba(240, 72, 30, .55), -4px 0 rgba(237, 231, 218, .35); transform: translate3d(-2px, 0, 0); }
  98.2% { text-shadow: -3px 0 rgba(240, 72, 30, .4), 3px 0 rgba(237, 231, 218, .3); transform: translate3d(1px, 0, 0); }
}

/* scroll-scrub noise â fast scrolling degrades the tape (html.scrubbing via JS) */
html.scrubbing .grain { opacity: .085; }
.scrubline {
  display: none !important;
  position: fixed; left: 0; right: 0; top: var(--sy, 30%); height: 34px; z-index: 90;
  pointer-events: none; opacity: 0;
  background: linear-gradient(180deg, transparent, rgba(237, 231, 218, .06) 35%, rgba(12, 17, 28, .32) 58%, transparent);
  transition: opacity 130ms var(--ease-soft);
}
html.scrubbing .scrubline { opacity: 1; }

/* roster peek â a duotone still follows the cursor over ledger rows */
.peek {
  position: fixed; left: 0; top: 0; z-index: 40; pointer-events: none;
  width: clamp(220px, 24vw, 340px); aspect-ratio: 3 / 2;
  opacity: 0; rotate: -2.5deg;
  transition: opacity 200ms var(--ease-soft);
  will-change: transform;
}
.peek.on { opacity: 1; }
.peek img { width: 100%; height: 100%; object-fit: cover; }

/* counter-scrolling outlined ticker row */
.ticker__track--rev { margin-top: -6px; }
html.js .ticker__track--rev { animation: ticker-rev 34s linear infinite; }
.ticker__track--rev .ticker__unit {
  color: transparent;
  -webkit-text-stroke: 1px rgba(255, 246, 236, .55);
}
@keyframes ticker-rev { from { transform: translate3d(-50%, 0, 0); } to { transform: translate3d(0, 0, 0); } }

/* sprocket conveyor â the yard lines feed slowly */
.hashrule, [data-surface="dark"] .hashrule, .hashrule--dark { overflow: hidden; position: relative; background-image: none; }
.hashrule::before {
  content: ""; position: absolute; inset: 0 -52px 0 0;
  background: repeating-linear-gradient(90deg, var(--line) 0 2px, transparent 2px 26px);
}
[data-surface="dark"] .hashrule::before, .hashrule--dark::before {
  background: repeating-linear-gradient(90deg, var(--line-dark) 0 2px, transparent 2px 26px);
}
html.js .hashrule::before { animation: hash-feed 2.6s linear infinite; }
@keyframes hash-feed { to { transform: translate3d(26px, 0, 0); } }

/* burger menu â items cut in as a stack */
html.js .nav-menu[open] .nav-menu__panel nav a { animation: cut-in 380ms var(--ease-out-expo) both; }
.nav-menu__panel nav a:nth-child(1) { animation-delay: 40ms; }
.nav-menu__panel nav a:nth-child(2) { animation-delay: 80ms; }
.nav-menu__panel nav a:nth-child(3) { animation-delay: 120ms; }
.nav-menu__panel nav a:nth-child(4) { animation-delay: 160ms; }
.nav-menu__panel nav a:nth-child(5) { animation-delay: 200ms; }
.nav-menu__panel nav a:nth-child(6) { animation-delay: 240ms; }
.nav-menu__panel nav a:nth-child(7) { animation-delay: 280ms; }
.nav-menu__panel nav a:nth-child(8) { animation-delay: 320ms; }
.nav-menu__panel nav a:nth-child(9) { animation-delay: 360ms; }

/* photo tilt â the still leans toward the hand (fine pointers, JS-driven vars) */
@media (pointer: fine) {
  html.js .duo:not(.hero__media) {
    transform: perspective(700px) rotateX(calc(var(--ty, 0) * 1deg)) rotateY(calc(var(--tx, 0) * 1deg));
    transition: transform 240ms var(--ease-out-quart);
  }
}


/* strip â giant reel counter behind the frames */
.strip__count {
  position: absolute; right: var(--pad); bottom: 4vh; z-index: 0;
  font-family: var(--disp); font-weight: 900; line-height: .8;
  font-size: clamp(8rem, 20vw, 19rem);
  color: transparent; -webkit-text-stroke: 2px rgba(237, 231, 218, .1);
  pointer-events: none; user-select: none; display: none;
}
@media (min-width: 1024px) and (pointer: fine) {
  html.js:not(.rm) .strip--pin .strip__count { display: block; }
}
.strip__stage > *:not(.strip__count) { position: relative; z-index: 1; }

/* ââ 14 Â· reduced motion â full static equivalence ââââââââââââââââââââââââ */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal, html.js .reveal,
  html.js .hero__title .t1, html.js .hero__title .t2 { opacity: 1; animation: none; transform: none; }
  html.js .ticker__track { animation: none; flex-wrap: wrap; width: auto; }
  .ticker__unit:nth-child(2) { display: none; } /* marquee duplicate â hide when static */
  .rec::before { animation: none; }
  .duo > img, .nav-menu__panel, html.js .nav-menu[open] .nav-menu__panel { animation: none; transition: none; }
  .footer__wordmark { background: var(--sig); -webkit-background-clip: text; background-clip: text; }
  * { scroll-snap-type: none !important; }
  /* motion pass v2 â all systems off, static equivalents */
  html.js .hero__media > img { animation: none; }
  html.js .hero__media, html.js .hero__content { transform: none; }
  html.js .ticker { transform: none; }
  html.js .story__claim.reveal.in .claim-w, html.js .story__claim.reveal .claim-w { animation: none; opacity: 1; transform: none; }
  html.js .ledger__num { transform: none; }
  html.js .sweep, html.js .sweep.out, html.js .sweep.in-page { animation: none; transform: scaleY(0); }
  html.js .btn[data-mag] { transform: none; transition: none; }
  /* art pass v3 â leader/cursor never created by JS under RM; pin the rest static */
  html.js .reveal.in .duo, html.js .reveal .duo,
  html.js .hero.in .hero__media, html.js .hero .hero__media { animation: none; clip-path: none; filter: none; }
  html.js .dust { animation: none; }
  html.js .phero__ghost { transform: none; }
  html.js .dossier .ghost-num { transform: translateY(-50%); }
  /* crazy pass v5 â the tape settles down completely */
  html.js .hero__title .t2 b, html.js .hero.in .t2 b { opacity: 1; animation: none; transform: none; transition: none; }
  html.js .hero.shown .t2 { animation: none; text-shadow: none; }
  html.js .track::before { animation: none; opacity: 0; }
  html.scrubbing .grain { opacity: .05; }
  .scrubline { display: none; }
  .peek { display: none; }
  html.js .ticker__track--rev { animation: none; }
  .ticker__track--rev { display: none; }
  html.js .hashrule::before { animation: none; }
  html.js .nav-menu[open] .nav-menu__panel nav a { animation: none; }
  html.js .duo:not(.hero__media) { transform: none; transition: none; }
  .strip__count { display: none !important; }
}
/* ── Q3 social — Instagram photo rail (editable via press box) ── */
.social { padding-block: var(--sect); }
.social__head { max-width: 980px; }
.social__url { display: none; }
.social__rail {
  display: flex; gap: clamp(12px, 1.6vw, 22px);
  margin-top: clamp(28px, 5vh, 52px);
  overflow-x: auto; overflow-y: hidden;
  scroll-snap-type: x proximity;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 14px;
  scrollbar-color: var(--sig) transparent;
}
.social__rail::-webkit-scrollbar { height: 8px; }
.social__rail::-webkit-scrollbar-thumb { background: rgba(240,72,30,.55); border-radius: 8px; }
.social__cell {
  flex: 0 0 auto; scroll-snap-align: start;
  width: clamp(230px, 30vw, 320px);
}
.social__cell.is-empty, .social__cell.is-broken { display: none; }
.social__link {
  display: block; position: relative; border-radius: 6px; overflow: hidden;
  background: var(--film-deep);
}
.social__link::after {
  content: ""; position: absolute; inset: 0; border-radius: 6px; pointer-events: none;
  box-shadow: inset 0 0 0 1px rgba(237, 231, 218, .12);
}
.social__img {
  display: block; width: 100%; aspect-ratio: 4 / 5; object-fit: cover;
  transition: transform 450ms var(--ease-out-quart), filter 450ms var(--ease-out-quart);
}
.social__link:hover .social__img { transform: scale(1.05); }

/* fallback: official Instagram embed if the photo proxy fails */
.social__cell.is-embed { width: clamp(300px, 88vw, 340px); }
.social__frame { width: 100%; height: 540px; border: 0; display: block; background: #fff; border-radius: 6px; }

/* partner logos become clickable links to their websites */
.partner__url { display: none; }
.partner__link { display: block; cursor: pointer; }
.partner__link img { transition: transform 320ms var(--ease-out-quart), opacity 320ms var(--ease-out-quart); }
.partner__link:hover img { transform: scale(1.04); opacity: .82; }

/* coachlist on dark surfaces (Contact page) */
[data-surface="dark"] .coachlist { border-top-color: var(--line-dark); }
[data-surface="dark"] .coachlist > li { border-bottom-color: var(--line-dark); }

/* ── team schedules (auto from ČAAF) ── */
.tsched-wrap { margin-top: clamp(28px, 5vh, 52px); display: grid; gap: clamp(36px, 6vh, 68px); }
.tsched__head { display: flex; align-items: baseline; gap: 12px 18px; flex-wrap: wrap; border-bottom: 2px solid var(--bone-dim); padding-bottom: 12px; }
.tsched__team { font-family: var(--disp); font-weight: 900; text-transform: uppercase; font-size: clamp(1.9rem, 4.4vw, 3.2rem); line-height: 1; }
.tsched__head .alink { margin-left: auto; }
.tsched__group { font: 500 .72rem/1.5 var(--mono); text-transform: uppercase; letter-spacing: .18em; color: var(--sig); margin: 24px 0 4px; }
.tsched__empty { color: var(--bone-dim); padding: 20px 0; }
.match {
  display: grid; grid-template-columns: max-content minmax(0, 1fr) max-content;
  gap: 2px 24px; align-items: baseline;
  padding: 15px 0; border-bottom: 1px solid var(--line-dark);
}
.match__date { grid-column: 1; font: 500 .8rem/1.5 var(--mono); letter-spacing: .05em; color: var(--bone-dim); white-space: nowrap; font-variant-numeric: tabular-nums; }
.match__teams { grid-column: 2; font-family: var(--disp); font-weight: 700; text-transform: uppercase; font-size: clamp(1rem, 1.9vw, 1.35rem); line-height: 1.1; }
.match__teams b { font-weight: 900; }
.match__teams i { font-style: normal; color: var(--bone-dim); font-weight: 500; margin: 0 .35em; }
.match__venue { grid-column: 2; font: 500 .7rem/1.5 var(--mono); letter-spacing: .04em; color: var(--bone-dim); }
.match__score { grid-column: 3; grid-row: 1 / span 2; align-self: center; justify-self: end; white-space: nowrap; font-family: var(--disp); font-weight: 900; font-size: clamp(1.15rem, 2.2vw, 1.6rem); font-variant-numeric: tabular-nums; }
.match__score--tbd { color: var(--bone-dim); font-weight: 500; }
.match__res { display: inline-block; margin-left: 10px; font: 800 .62rem/1 var(--mono); letter-spacing: .08em; padding: 4px 6px; border-radius: 3px; vertical-align: middle; }
.match--win  .match__res { background: rgba(124, 201, 143, .18); color: #7CC98F; }
.match--loss .match__res { background: rgba(240, 72, 30, .18); color: var(--sig); }
.match--tie  .match__res { background: rgba(237, 231, 218, .14); color: var(--bone-dim); }
@media (max-width: 640px) {
  .match { grid-template-columns: minmax(0, 1fr) max-content; }
  .match__date { grid-column: 1 / -1; }
  .match__teams { grid-column: 1; }
  .match__venue { grid-column: 1; }
  .match__score { grid-column: 2; grid-row: 2 / span 2; }
}

/* footer social icons */
.footer__social { display: flex; gap: 12px; align-items: center; padding: 6px 0 24px; }
.social-ico {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; color: var(--bone);
  border: 1px solid var(--line-dark); border-radius: 50%;
  transition: color 200ms var(--ease-out-quart), border-color 200ms var(--ease-out-quart), background 200ms var(--ease-out-quart);
}
.social-ico:hover { color: var(--sig); border-color: var(--sig); background: rgba(240, 72, 30, .08); }
.social-ico svg { width: 20px; height: 20px; display: block; }

/* footer language switch (CZ / US flags) */
.nav__lang { display: inline-flex; gap: 6px; align-items: center; }
.nav__lang .lang-flag { width: 26px; height: 18px; border-radius: 2px; }
@media (max-width: 767px) { .nav__lang { margin-left: auto; } }
.lang-flag {
  padding: 0; margin: 0; background: none; cursor: pointer; line-height: 0;
  width: 40px; height: 27px; border: 1px solid var(--line-dark); border-radius: 3px;
  overflow: hidden; opacity: .5;
  transition: opacity 180ms var(--ease-out-quart), border-color 180ms var(--ease-out-quart), transform 180ms var(--ease-out-quart);
}
.lang-flag:hover { opacity: 1; border-color: var(--bone-dim); transform: translateY(-1px); }
.lang-flag[aria-current="true"] { opacity: 1; border-color: var(--sig); }
.lang-flag svg { width: 100%; height: 100%; display: block; }

/* hero meta: "S" (Season) aligns under the "P" of PRAGUE at any width; the rec dot hangs to the left */
.hero__meta { padding-left: calc(min(39.2vw, 58svh) * .035); }
.hero__meta .rec { position: relative; }
.hero__meta .rec::before { position: absolute; right: 100%; margin-right: 8px; top: 50%; margin-top: -4px; }

/* game day - two fixtures at one venue on one date (U15 flag doubleheaders) */
.mday { border-bottom: 1px solid var(--line-dark); }
.mday__head { display: flex; align-items: baseline; gap: 6px 14px; flex-wrap: wrap; margin: 0; padding: 15px 0 0; }
.mday__date { font: 500 .8rem/1.5 var(--mono); letter-spacing: .05em; color: var(--bone); font-variant-numeric: tabular-nums; }
.mday__venue { font: 500 .7rem/1.5 var(--mono); letter-spacing: .04em; color: var(--bone-dim); }
.mday__tag { margin-left: auto; font: 800 .58rem/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--sig); border: 1px solid rgba(240, 72, 30, .38); border-radius: 3px; padding: 4px 7px; }
/* the two games hang off a single rule so they read as one block */
.mday .match { border-bottom: 0; padding: 9px 0 9px 18px; margin-left: 3px; border-left: 2px solid rgba(237, 231, 218, .16); }
.mday .match:last-child { padding-bottom: 15px; }
.mday .match__date { color: var(--bone-dim); }
@media (max-width: 640px) {
  .mday__tag { margin-left: 0; }
  .mday .match { padding-left: 12px; }
}

/* gallery frame links through to the full album (hover reuses the .duo frame-advance) */
.gal__link { display: block; cursor: pointer; }
.gal__link:focus-visible { outline: 2px solid var(--sig); outline-offset: 4px; }

/* captions are admin-editable: an empty part vanishes (no stray gap or rec dot),
   and a caption with nothing in it hides completely, frame counter included */
.tc span:empty { display: none; }
.tc--empty { display: none !important; }

/* a video sits in the same frame as the photos, but plays in full colour -
   the duotone is a treatment for stills, not for footage.
   The still lives on the container, not only in the poster attribute: with
   preload="none" the browser paints an empty video element black, so this
   background is what actually keeps a picture in the frame before playback. */
.duo--video { background: var(--film-deep) center / cover no-repeat; }
.duo--video > video { width: 100%; height: 100%; display: block; object-fit: cover; background: transparent; }
.duo--video::after { content: none; }

/* ── news: club posts ─────────────────────────────────────────────────────
   One post = a dated block on the ledger. Photos are optional: an unused slot
   still carries a placeholder src, so it is hidden rather than left broken. */
.news { margin-top: clamp(28px, 5vh, 52px); display: grid; gap: clamp(40px, 7vh, 84px); }
.post { border-top: 1px solid var(--line-dark); padding-top: clamp(18px, 3vh, 30px); }
.post:first-child { border-top: 2px solid var(--bone-dim); }
.post__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 20px; margin: 0 0 14px; }
.post__meta .rec { font: 500 .78rem/1.5 var(--mono); letter-spacing: .1em; color: var(--bone); font-variant-numeric: tabular-nums; }
.post__title {
  font-family: var(--disp); font-weight: 900; text-transform: uppercase;
  font-size: clamp(1.7rem, 3.6vw, 2.9rem); line-height: .96; letter-spacing: -.005em;
  text-wrap: balance; margin: 0 0 clamp(14px, 2vh, 22px);
}
.post .prose { color: var(--bone-dim); }
.post__shots { display: grid; gap: 14px; margin-top: clamp(20px, 3vh, 30px); grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.post__shot { margin: 0; }
.post__shot .duo { aspect-ratio: 3 / 2; }
/* a slot with no photo in it disappears, and so does the empty strip */
.post__shot.is-empty { display: none; }
.post__shots.is-empty { display: none; }
/* a section with nothing in it hides rather than showing a bare heading */
section.is-empty, hr.hashrule.is-empty { display: none; }

/* ── press clippings ──────────────────────────────────────────────────────
   Paste a link in the press box; the admin fills the card from the article's
   own metadata, so the page itself stays static. */
.press { margin-top: clamp(28px, 5vh, 52px); display: grid; gap: clamp(20px, 3vw, 30px); grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
.clip {
  position: relative; display: flex; flex-direction: column;
  background: var(--surface, #FBF9F4); border: 1px solid var(--line);
  padding: 0 0 18px; overflow: hidden;
  transition: transform 320ms var(--ease-out-quart), box-shadow 320ms var(--ease-out-quart);
}
.clip.is-empty { display: none; }
/* the mark of the outlet, not a photo from the article - favicons are
   square, so the logo sits in its own tile and is never stretched */
.clip__head { display: flex; align-items: center; gap: 12px; margin: 18px 18px 12px; }
.clip__logo { width: 40px; height: 40px; flex: none; object-fit: contain; background: #fff; border: 1px solid var(--line); border-radius: 3px; padding: 5px; }
.clip__logo.is-empty { display: none; }
.clip__source { font: 600 .68rem/1.5 var(--mono); letter-spacing: .16em; text-transform: uppercase; color: var(--sig-deep); margin: 0; }
.clip__title {
  font-family: var(--disp); font-weight: 800; text-transform: uppercase;
  font-size: clamp(1.1rem, 1.9vw, 1.4rem); line-height: 1.04;
  margin: 0 18px 10px; text-wrap: balance;
}
.clip__date { margin: 0 18px; color: var(--ink-dim); }
.clip__go {
  margin: 14px 18px 0; font: 500 .72rem/1.5 var(--mono);
  letter-spacing: .12em; text-transform: uppercase; color: var(--sig-deep);
}
.clip__go::after { content: " →"; }
/* the whole card is the link; the overlay keeps one anchor per card for readers */
.clip__hit { position: absolute; inset: 0; z-index: 1; }
.clip__hit:focus-visible { outline: 2px solid var(--sig); outline-offset: -3px; }
@media (pointer: fine) {
  .clip:hover { transform: translateY(-3px); box-shadow: 0 14px 34px rgba(23, 31, 46, .12); }
}
@media (prefers-reduced-motion: reduce) {
  .clip { transition: none; }
  .clip:hover { transform: none; }
}

/* ── news list: each post is a card that opens the article ──────────────── */
.news--list { grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: clamp(20px, 3vw, 30px); }
.news--list .post {
  position: relative; display: flex; flex-direction: column;
  border: 1px solid var(--line-dark); padding: 0 0 18px; overflow: hidden;
  transition: transform 320ms var(--ease-out-quart), border-color 320ms var(--ease-out-quart);
}
.news--list .post:first-child { border-top: 1px solid var(--line-dark); }
/* the photo strip belongs on top of a card, the markup keeps it last */
.news--list .post__shots { order: -1; margin: 0; gap: 0; grid-template-columns: 1fr; }
.news--list .post__shot:not(.is-lead) { display: none; }
.news--list .post__shot .duo { aspect-ratio: 16 / 9; }
.news--list .post__meta { margin: 16px 18px 8px; }
.news--list .post__title { font-size: clamp(1.2rem, 2vw, 1.5rem); margin: 0 18px 10px; }
.news--list .post .prose {
  margin: 0 18px; max-width: none;
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
.post__go {
  margin: 14px 18px 0; font: 500 .72rem/1.5 var(--mono);
  letter-spacing: .12em; text-transform: uppercase; color: var(--sig);
}
.post__go::after { content: " →"; }
.post__hit { position: absolute; inset: 0; z-index: 1; }
.post__hit:focus-visible { outline: 2px solid var(--sig); outline-offset: -3px; }
@media (pointer: fine) {
  .news--list .post:hover { transform: translateY(-3px); border-color: var(--sig); }
}
@media (prefers-reduced-motion: reduce) {
  .news--list .post { transition: none; }
  .news--list .post:hover { transform: none; }
}

/* ── one article open (news.html?post=…) ────────────────────────────────── */
.news--one { display: block; }
.post__back {
  margin: 0 0 clamp(18px, 3vh, 28px);
  font: 500 .72rem/1.5 var(--mono); letter-spacing: .12em; text-transform: uppercase;
}
.post__back .alink::before { content: "← "; }
.post--full { border-top: 2px solid var(--bone-dim); }
.post--full .post__title { font-size: clamp(2rem, 5vw, 3.6rem); }

/* the recording dot pulses across the site, but a news post is not a live feed -
   there the dot is just a bullet, so it stays still */
.post__meta .rec::before { animation: none; }

/* In an open article the photos line up with the text column instead of spanning
   the whole section - a single photo stretched to full width read as a poster,
   not as an illustration next to the words. */
.post--full .post__shots {
  max-width: var(--measure);
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr));
}
.post--full .post__shot .duo { aspect-ratio: 16 / 10; }
