/* ==========================================================================
   AFC Zły Praga — site styles
   Monochrome, high-contrast. Bauhaus rhombus + Yorkshire/Lancashire roses.
   ========================================================================== */

:root {
  --ink:        #141414;
  --ink-2:      #2b2b2b;
  --paper:      #f4f2ee;
  --paper-2:    #ffffff;
  --line:       rgba(20, 20, 20, .16);
  --line-hard:  #141414;
  --muted:      #6a675f;
  --accent:     #141414;
  --amber:      #f18a01;   /* AFC Warszawa amber, from the old crest */
  --claret:     #6c1d45;   /* AFC Warszawa claret */

  --display: "Oswald", "Haettenschweiler", "Arial Narrow", sans-serif;
  --body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  --wrap: 1180px;
  --read: 68ch;
  --mast-h: 62px;      /* masthead height — the jump bar sticks below it */
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.62;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }

.wrap { width: min(100% - 2.5rem, var(--wrap)); margin-inline: auto; }
.read { max-width: var(--read); }

/* --------------------------------------------------------------- masthead */

.masthead {
  position: sticky; top: 0; z-index: 50;
  background: var(--ink);
  color: var(--paper);
  border-bottom: 3px solid var(--ink);
}

.masthead__inner {
  display: flex; align-items: center; gap: 1.25rem;
  padding: .7rem 0;
}

.brand { display: flex; align-items: center; gap: .8rem; text-decoration: none; color: inherit; }
.brand img { height: 40px; width: auto; flex: none; }
.brand__name {
  font-family: var(--display);
  font-weight: 600;
  font-size: 1.02rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  line-height: 1.1;
}
.brand__name span { display: block; font-size: .62rem; letter-spacing: .3em; opacity: .62; font-weight: 400; }

.nav { margin-left: auto; display: flex; gap: 1.6rem; align-items: center; }
.masthead .lang { margin-left: 1.4rem; }
.nav a {
  font-family: var(--display);
  font-size: .78rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--paper);
  opacity: .72;
  padding: .35rem 0;
  border-bottom: 2px solid transparent;
  transition: opacity .15s, border-color .15s;
  white-space: nowrap;
}
.nav a:hover, .nav a[aria-current="page"] { opacity: 1; border-bottom-color: var(--paper); }

/* --------------------------------------------------------------- hero */

.hero {
  background: var(--ink);
  color: var(--paper);
  padding: clamp(3rem, 9vw, 6.5rem) 0 clamp(2.5rem, 7vw, 5rem);
  position: relative;
  overflow: hidden;
}
.hero::after {
  content: "";
  position: absolute; right: -8%; top: 50%; transform: translateY(-50%);
  width: min(46vw, 520px); aspect-ratio: 1;
  background: url("crest-white.svg") center/contain no-repeat;
  opacity: .06;
  pointer-events: none;
}
.hero__inner { position: relative; z-index: 1; }

.eyebrow {
  font-family: var(--display);
  font-size: .74rem;
  letter-spacing: .34em;
  text-transform: uppercase;
  opacity: .6;
  margin: 0 0 1rem;
}

.hero h1 {
  font-family: var(--display);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: -.005em;
  line-height: .94;
  font-size: clamp(2.6rem, 9vw, 5.6rem);
  margin: 0 0 1.2rem;
  max-width: 16ch;
}
.hero p { max-width: 56ch; opacity: .78; font-size: 1.06rem; margin: 0; }

.hero__sub {
  display: block;
  font-size: clamp(1rem, 2.6vw, 1.6rem);
  letter-spacing: .22em;
  font-weight: 400;
  opacity: .58;
  margin-top: .55rem;
}

.hero__badge {
  width: clamp(96px, 16vw, 150px);
  margin-bottom: 1.8rem;
}

/* --------------------------------------------------------------- buttons */

.btn {
  display: inline-flex; align-items: center; gap: .6rem;
  font-family: var(--display);
  font-size: .8rem; letter-spacing: .18em; text-transform: uppercase;
  text-decoration: none;
  padding: .85rem 1.5rem;
  border: 2px solid currentColor;
  background: transparent;
  transition: background .16s, color .16s;
}
.btn:hover { background: var(--paper); color: var(--ink); }
.hero .btn { margin-top: 2rem; }

.btn--ink { border-color: var(--ink); color: var(--ink); }
.btn--ink:hover { background: var(--ink); color: var(--paper); }

/* --------------------------------------------------------------- sections */

.band { padding: clamp(3rem, 7vw, 5.5rem) 0; }
.band--paper { background: var(--paper-2); border-block: 1px solid var(--line); }

.band__head {
  display: flex; align-items: baseline; gap: 1.2rem;
  border-bottom: 3px solid var(--line-hard);
  padding-bottom: .7rem;
  margin-bottom: 2.4rem;
}
.band__head h2 {
  font-family: var(--display);
  font-weight: 600; text-transform: uppercase; letter-spacing: .06em;
  font-size: clamp(1.35rem, 3.4vw, 2rem);
  margin: 0;
}
.band__head .count {
  margin-left: auto;
  font-family: var(--display);
  font-size: .78rem; letter-spacing: .2em; text-transform: uppercase;
  color: var(--muted);
}

/* --------------------------------------------------------- featured issue */

.feature {
  display: grid; grid-template-columns: minmax(160px, 260px) 1fr;
  gap: clamp(1.5rem, 4vw, 3.5rem);
  align-items: center;
  border: 2px solid var(--ink);
  background: var(--paper-2);
  padding: clamp(1.6rem, 4vw, 2.8rem);
  text-decoration: none; color: inherit;
  transition: box-shadow .18s, transform .18s;
}
.feature:hover { transform: translateY(-3px); box-shadow: 10px 10px 0 var(--amber); }
.feature__mark { color: var(--ink); }
.feature__mark img { width: 100%; }
.feature__club {
  font-family: var(--display); font-size: .72rem; letter-spacing: .24em;
  text-transform: uppercase; color: var(--muted); margin: 0 0 .4rem;
}
.feature__title {
  font-family: var(--display); font-weight: 700; text-transform: uppercase;
  font-size: clamp(2rem, 6vw, 3.4rem); line-height: .95; margin: 0 0 1.2rem;
}
.feature__list {
  list-style: none; margin: 0 0 1.6rem; padding: 0;
  display: flex; flex-wrap: wrap; gap: .4rem;
}
.feature__list li {
  font-family: var(--display); font-size: .72rem; letter-spacing: .12em;
  text-transform: uppercase; color: var(--muted);
  border: 1px solid var(--line); padding: .25rem .6rem; margin: 0;
}
.feature__go {
  font-family: var(--display); font-size: .8rem; letter-spacing: .2em;
  text-transform: uppercase;
  border-bottom: 2px solid var(--ink); padding-bottom: .2rem;
}

@media (max-width: 720px) {
  .feature { grid-template-columns: 1fr; }
  .feature__mark { width: 110px; }
  .feature:hover { transform: none; box-shadow: 5px 5px 0 var(--ink); }
}

/* --------------------------------------------------------------- archive grid */

.season { margin-bottom: 3.5rem; }
.season:last-child { margin-bottom: 0; }
.season__label {
  font-family: var(--display);
  font-size: .8rem; letter-spacing: .28em; text-transform: uppercase;
  color: var(--muted);
  border-bottom: 1px solid var(--line);
  padding-bottom: .5rem; margin-bottom: 1.6rem;
  display: flex; gap: 1rem; align-items: baseline;
}
.season__label b { color: var(--ink); font-weight: 600; letter-spacing: .18em; }

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(255px, 1fr));
  gap: 1.5rem;
}

.card {
  display: flex; flex-direction: column;
  background: var(--paper-2);
  border: 1px solid var(--line);
  text-decoration: none;
  color: inherit;
  min-height: 210px;
  padding: 1.4rem;
  position: relative;
  transition: transform .16s, box-shadow .16s, border-color .16s;
}
.card:hover {
  transform: translateY(-3px);
  border-color: var(--claret);
  box-shadow: 6px 6px 0 var(--claret);
}
.card__month {
  font-family: var(--display);
  font-weight: 600; text-transform: uppercase;
  font-size: 1.55rem; line-height: 1.05; letter-spacing: .02em;
  margin: 0 0 .1rem;
}
.card__year { font-family: var(--display); font-size: .78rem; letter-spacing: .22em; color: var(--muted); text-transform: uppercase; }
.card__pl {
  font-family: var(--display); font-size: .58rem; font-weight: 600;
  letter-spacing: .12em; vertical-align: middle;
  background: var(--amber); color: var(--ink);
  padding: .12rem .34rem; margin-left: .5rem;
  position: relative; top: -.35em;
}
.card__club {
  margin-top: .9rem;
  font-size: .72rem; letter-spacing: .14em; text-transform: uppercase;
  font-family: var(--display);
  display: inline-block; align-self: flex-start;
  border: 1px solid var(--line); padding: .18rem .5rem;
  color: var(--muted);
}
.card__sections {
  margin: 1rem 0 0; padding: 0; list-style: none;
  font-size: .82rem; color: var(--muted); line-height: 1.5;
}
.card__sections li { padding-left: .9rem; position: relative; }
.card__sections li::before { content: "\25C7"; position: absolute; left: 0; font-size: .6em; top: .35em; }
.card__go {
  margin-top: auto; padding-top: 1rem;
  font-family: var(--display); font-size: .74rem; letter-spacing: .2em; text-transform: uppercase;
}

/* --------------------------------------------------------------- article */

.issue-head {
  background: var(--ink); color: var(--paper);
  padding: clamp(2.5rem, 7vw, 5rem) 0 clamp(2rem, 5vw, 3.5rem);
  position: relative; overflow: hidden;
}
.issue-head::after {
  content: ""; position: absolute; right: -6%; bottom: -30%;
  width: min(40vw, 400px); aspect-ratio: 1;
  background: url("crest-white.svg") center/contain no-repeat;
  opacity: .055;
}
.issue-head__inner { position: relative; z-index: 1; }
.issue-head__top {
  display: flex; align-items: center; gap: 1rem;
  margin-bottom: .2rem;
}
.issue-head__top .eyebrow { margin-bottom: 0; }

/* Language toggle. Amber is AFC Warszawa's own club colour, sampled from the
   old crest — the one accent allowed into an otherwise monochrome palette. */
.lang {
  display: flex; align-items: stretch; flex: none;
  border: 2px solid var(--amber);
  background: rgba(241, 138, 1, .12);
}
.lang a {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: .05rem;
  font-family: var(--display);
  text-decoration: none; color: var(--amber);
  padding: .3rem .75rem; line-height: 1.05;
  transition: background .15s, color .15s;
}
.lang a b {
  font-weight: 600; font-size: .84rem; letter-spacing: .14em;
}
.lang a span {
  font-size: .56rem; letter-spacing: .1em; text-transform: uppercase; opacity: .8;
}
.lang a + a { border-left: 2px solid var(--amber); }
.lang a:hover { background: rgba(241, 138, 1, .28); }
.lang a.lang__on { background: var(--amber); color: var(--ink); }
.lang a.lang__on span { opacity: .75; }
.lang a:focus-visible { outline: 2px solid var(--paper); outline-offset: 2px; }

.draft-note--issue { border-color: var(--amber); color: var(--amber); opacity: 1; }
.draft-note {
  margin: 1.2rem 0 0;
  font-family: var(--display); font-size: .7rem;
  letter-spacing: .16em; text-transform: uppercase;
  border: 1px solid rgba(244,242,238,.4);
  padding: .5rem .8rem; display: inline-block; opacity: .8;
}
.issue-head h1 {
  font-family: var(--display); font-weight: 700; text-transform: uppercase;
  font-size: clamp(2.2rem, 7.5vw, 4.4rem); line-height: .96; margin: .3rem 0 0;
}
.issue-meta {
  margin-top: 1.4rem; display: flex; flex-wrap: wrap; gap: .6rem;
}
.chip {
  font-family: var(--display); font-size: .72rem; letter-spacing: .18em; text-transform: uppercase;
  border: 1px solid rgba(244,242,238,.35); padding: .3rem .7rem; opacity: .85;
}
.chip:first-child { border-color: var(--amber); color: var(--amber); opacity: 1; }

article { padding: clamp(2.5rem, 6vw, 4.5rem) 0 5rem; }

article h2 {
  font-family: var(--display);
  font-weight: 600; text-transform: uppercase; letter-spacing: .05em;
  font-size: clamp(1.3rem, 3.6vw, 1.95rem);
  margin: 3.6rem 0 1.4rem;
  padding-bottom: .6rem;
  border-bottom: 3px solid var(--line-hard);
}

article h3 {
  font-family: var(--display);
  font-weight: 600; text-transform: uppercase; letter-spacing: .09em;
  font-size: 1.06rem; margin: 2.4rem 0 .7rem;
}

article p { margin: 0 0 1.15rem; max-width: var(--read); }
article ul, article ol { max-width: var(--read); }
article li { margin-bottom: .35rem; }

article a { color: var(--ink); text-decoration-thickness: 1px; text-underline-offset: 3px; }
article a:hover { background: var(--amber); color: var(--ink); text-decoration: none; }

article strong { font-weight: 650; }

article img {
  margin: 1.8rem 0;
  border: 1px solid var(--line);
  background: var(--paper-2);
}

article hr { border: 0; border-top: 1px solid var(--line); margin: 2.6rem 0; }

blockquote {
  margin: 1.8rem 0; padding: .2rem 0 .2rem 1.4rem;
  border-left: 4px solid var(--claret);
  font-size: 1.05rem;
}

/* ------------------------------------------------- reading progress + jump */

.progress {
  position: fixed; top: 0; left: 0; right: 0; height: 3px;
  background: transparent; z-index: 60; pointer-events: none;
}
.progress span { display: block; height: 100%; width: 0; background: var(--amber); }

.jump {
  position: sticky; top: var(--mast-h); z-index: 40;
  background: var(--paper-2);
  border-bottom: 1px solid var(--line);
}
.jump__inner {
  display: flex; gap: .35rem; overflow-x: auto;
  scrollbar-width: none; -ms-overflow-style: none;
}
.jump__inner::-webkit-scrollbar { display: none; }
.jump a {
  flex: none;
  font-family: var(--display);
  font-size: .72rem; letter-spacing: .16em; text-transform: uppercase;
  text-decoration: none; color: var(--muted);
  padding: .95rem .8rem; white-space: nowrap;
  border-bottom: 3px solid transparent;
  transition: color .15s, border-color .15s;
}
.jump a:hover { color: var(--ink); }
.jump a[aria-current] { color: var(--ink); border-bottom-color: var(--amber); }

article section { scroll-margin-top: calc(var(--mast-h) + 3.4rem); }

/* ---------------------------------------------------------------- chapters */

.chapter { padding-bottom: clamp(2.5rem, 6vw, 4.5rem); }
.chapter--alt { background: var(--paper-2); }
.chapter + .chapter { border-top: 1px solid var(--line); }
.chapter--alt + .chapter, .chapter + .chapter--alt { border-top: 0; }

.chapter__head {
  background: var(--ink); color: var(--paper);
  padding: clamp(1.6rem, 4vw, 2.6rem) 0;
  margin-bottom: clamp(2rem, 5vw, 3.2rem);
  border-bottom: 4px solid var(--amber);
  position: relative; overflow: hidden;
}
.chapter__head::after {
  content: ""; position: absolute; right: -3%; top: 50%;
  transform: translateY(-50%);
  width: 190px; aspect-ratio: 1;
  background: url("crest-white.svg") center/contain no-repeat;
  opacity: .07; pointer-events: none;
}
.chapter__head-inner {
  display: flex; align-items: baseline; gap: clamp(1rem, 3vw, 2rem);
  position: relative; z-index: 2;
}

/* A chapter can carry a photo behind its title band. The picture is duotoned
   at build time and sits under a scrim that is opaque on the left, where the
   heading is, and clears towards the right so the subject stays visible. */
.chapter__head--photo {
  background-size: cover;
  background-repeat: no-repeat;
  min-height: clamp(190px, 26vw, 300px);
  display: flex; align-items: flex-end;
  padding-bottom: clamp(1.2rem, 3vw, 2rem);
}
.chapter__head--photo::before {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background:
    linear-gradient(90deg, rgba(20,20,20,.94) 0%, rgba(20,20,20,.82) 34%,
                           rgba(20,20,20,.34) 72%, rgba(20,20,20,.22) 100%),
    linear-gradient(0deg, rgba(20,20,20,.7) 0%, rgba(20,20,20,0) 55%);
}
.chapter__head--photo::after { display: none; }   /* no crest watermark over a photo */

.chapter__credit {
  margin-left: auto; align-self: flex-end;
  font-family: var(--display); font-size: .6rem;
  letter-spacing: .18em; text-transform: uppercase; opacity: .5;
}

@media (max-width: 720px) {
  .chapter__head--photo::before {
    background:
      linear-gradient(90deg, rgba(20,20,20,.92) 0%, rgba(20,20,20,.62) 100%),
      linear-gradient(0deg, rgba(20,20,20,.85) 0%, rgba(20,20,20,0) 62%);
  }
  .chapter__credit { display: none; }
}
.chapter__num {
  font-family: var(--display); font-weight: 700;
  font-size: clamp(2.2rem, 7vw, 3.6rem); line-height: .85;
  color: var(--amber); flex: none;
  font-variant-numeric: tabular-nums;
}
.chapter__head h2 {
  font-family: var(--display); font-weight: 600;
  text-transform: uppercase; letter-spacing: .04em;
  font-size: clamp(1.3rem, 4.2vw, 2.3rem); line-height: 1.05;
  margin: 0; border: 0; padding: 0;
}

/* The reading column sits inside each chapter; pictures break out wider. */
.chapter__body { width: min(100% - 2.5rem, 720px); }
article > .wrap { width: min(100% - 2.5rem, 720px); }

article p, article ul, article ol, article blockquote,
.report, .video, .poll, .report-meta { max-width: none; }

article figure {
  width: min(92vw, 960px);
  margin: 2.2rem 50%; transform: translateX(-50%);
}
article figure img { width: 100%; }
article > .wrap > p > img,
article section > p > img { margin-inline: auto; }

/* ------------------------------------------------------------ match report */

.report {
  border: 2px solid var(--ink);
  background: var(--paper-2);
  margin: 0 0 1.8rem;
  max-width: var(--read);
}
.report__meta {
  margin: 0; padding: .65rem 1.1rem;
  background: var(--ink); color: var(--paper);
  font-family: var(--display);
  font-size: .7rem; letter-spacing: .18em; text-transform: uppercase;
}
.report__ht {
  margin: -.6rem 0 0; padding: 0 1.1rem 1.1rem;
  text-align: center;
  font-family: var(--display); font-size: .7rem;
  letter-spacing: .18em; text-transform: uppercase; color: var(--muted, #6a675f);
}
.report__ht span { color: var(--ink); font-weight: 600; }
.report__score {
  display: grid; grid-template-columns: 1fr auto 1fr;
  align-items: center; gap: 1rem;
  padding: 1.4rem 1.1rem;
}
.report__team {
  font-family: var(--display); font-weight: 600;
  text-transform: uppercase; letter-spacing: .04em;
  font-size: clamp(.95rem, 2.4vw, 1.2rem); line-height: 1.15;
}
.report__team--right { text-align: right; }
.report__score--neutral {
  grid-template-columns: 1fr auto;
}
.score { display: flex; align-items: baseline; gap: .45rem; }
.score__n {
  font-family: var(--display); font-weight: 700;
  font-size: clamp(1.9rem, 6vw, 2.7rem); line-height: 1;
}
.score__d { color: var(--muted); font-size: 1.2rem; }

.report--win  { border-left: 8px solid var(--amber); }
.report--draw { border-left: 8px solid var(--muted); }
.report--loss { border-left: 8px solid var(--claret); }
/* the left border carries the result; the header bar stays neutral so the
   colour reads as meaning rather than decoration */
.report--win .score__n:first-child { color: var(--amber); }

.report__more { border-top: 1px solid var(--line); }
.report__more summary {
  cursor: pointer; list-style: none;
  padding: .8rem 1.1rem;
  font-family: var(--display); font-size: .72rem;
  letter-spacing: .18em; text-transform: uppercase; color: var(--muted);
}
.report__more summary::-webkit-details-marker { display: none; }
.report__more summary::after { content: " +"; }
.report__more[open] summary::after { content: " \2013"; }
.report__more summary:hover { color: var(--ink); }
.report__dl { margin: 0; padding: 0 1.1rem 1.1rem; }
.report__row { display: grid; grid-template-columns: 5.5rem 1fr; gap: .8rem; margin-bottom: .6rem; }
.report__row dt {
  font-family: var(--display); font-size: .7rem; letter-spacing: .14em;
  text-transform: uppercase; color: var(--muted); padding-top: .18rem;
}
.report__row dd { margin: 0; font-size: .92rem; }

/* ------------------------------------------------------------------ video */

.video { margin: 1.8rem 0; max-width: var(--read); }
.video__btn {
  display: block; width: 100%; padding: 0; border: 1px solid var(--line);
  background: var(--ink); cursor: pointer; position: relative; overflow: hidden;
  aspect-ratio: 16 / 9;
}
.video__btn img { width: 100%; height: 100%; object-fit: cover; transition: opacity .18s, transform .3s; }
.video__btn:hover img { opacity: .72; transform: scale(1.02); }
.video__play {
  position: absolute; inset: 0; margin: auto;
  width: 74px; height: 74px;
  background: var(--paper);
  clip-path: polygon(0 0, 100% 50%, 0 100%);
  transform: scale(.55); transform-origin: center;
  transition: transform .18s;
}
.video__btn:hover .video__play { transform: scale(.62); background: var(--amber); }
.video__btn:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; }
.video iframe { width: 100%; aspect-ratio: 16 / 9; border: 1px solid var(--line); display: block; }
.video figcaption {
  font-size: .82rem; color: var(--muted); margin-top: .6rem;
  font-family: var(--display); letter-spacing: .08em; text-transform: uppercase;
}

/* portrait photo in an article: narrow, centred in the reading column */
article figure.figure--portrait {
  width: min(100%, 420px); margin: 2.2rem auto; transform: none;
}
article figure.figure--portrait img { margin: 0; border: 2px solid var(--ink); box-shadow: 8px 8px 0 var(--amber); }
article figure:not([class]) > figcaption, article figure.figure--portrait > figcaption {
  margin-top: .9rem; font-family: var(--display); font-size: .72rem;
  letter-spacing: .12em; text-transform: uppercase; color: var(--muted); text-align: center;
}

/* video frame: sits in the reading column (not the wide picture breakout),
   in an ink frame with a title strip and an amber offset block behind it */
article figure.video {
  width: 100%; margin: 2.4rem 0 2.8rem; transform: none;
}
.video {
  position: relative;
  border: 2px solid var(--ink); background: var(--ink);
  box-shadow: 9px 9px 0 var(--amber);
}
.video::before {
  content: "\25B6\00A0\00A0Watch";
  display: block; padding: .5rem .85rem .45rem;
  border-left: 7px solid var(--amber);
  color: var(--paper); font-family: var(--display);
  font-size: .72rem; letter-spacing: .2em; text-transform: uppercase;
}
:lang(pl) .video::before { content: "\25B6\00A0\00A0Zobacz"; }
.video .video__btn, .video iframe { border: 0; }
.video .video__btn img { position: absolute; inset: 0; margin: 0; border: 0; max-width: none; }
.video figcaption { color: var(--paper); margin: 0; padding: .55rem .85rem; opacity: .8; }
@media (max-width: 720px) {
  .video { box-shadow: 6px 6px 0 var(--amber); }
}

/* ------------------------------------------------------- crest merge */

.merge {
  border: 2px solid var(--ink);
  background: var(--paper-2);
  margin: 2.2rem 0;
  padding: clamp(1.4rem, 4vw, 2.4rem);
}
.merge__stage {
  position: relative;
  display: grid; place-items: center;
  min-height: clamp(190px, 34vw, 290px);
}
.merge__stage figure {
  grid-area: 1 / 1;
  margin: 0; width: 100%;
  display: flex; flex-direction: column; align-items: center; gap: .7rem;
}
.merge__stage img {
  width: clamp(96px, 19vw, 155px); height: auto;
}
.merge__stage figcaption {
  font-family: var(--display); font-size: .68rem;
  letter-spacing: .2em; text-transform: uppercase; color: var(--muted);
  text-align: center;
}
.merge__placeholder {
  width: clamp(96px, 19vw, 155px); aspect-ratio: 1;
  border: 2px dashed var(--line); display: grid; place-items: center;
  font-family: var(--display); font-size: .66rem; letter-spacing: .12em;
  text-transform: uppercase; color: var(--muted); text-align: center;
  padding: .5rem;
}

/* resting state: the two old crests apart, the new one waiting */
.merge__old--a { transform: translateX(-34%); }
.merge__old--b { transform: translateX(34%); }
.merge__new { opacity: 0; transform: scale(.7); }

.merge[data-play] .merge__old--a { animation: mergeInLeft 2.6s cubic-bezier(.6,0,.2,1) forwards; }
.merge[data-play] .merge__old--b { animation: mergeInRight 2.6s cubic-bezier(.6,0,.2,1) forwards; }
.merge[data-play] .merge__new   { animation: mergeReveal 2.6s cubic-bezier(.6,0,.2,1) forwards; }

@keyframes mergeInLeft {
  0%   { transform: translateX(-34%) scale(1); opacity: 1; }
  55%  { transform: translateX(0) scale(.92); opacity: 1; }
  72%  { transform: translateX(0) scale(.82); opacity: 0; }
  100% { transform: translateX(0) scale(.82); opacity: 0; }
}
@keyframes mergeInRight {
  0%   { transform: translateX(34%) scale(1); opacity: 1; }
  55%  { transform: translateX(0) scale(.92); opacity: 1; }
  72%  { transform: translateX(0) scale(.82); opacity: 0; }
  100% { transform: translateX(0) scale(.82); opacity: 0; }
}
@keyframes mergeReveal {
  0%, 58% { opacity: 0; transform: scale(.7); }
  78%     { opacity: 1; transform: scale(1.06); }
  100%    { opacity: 1; transform: scale(1); }
}

.merge__foot {
  display: flex; align-items: center; gap: 1rem;
  margin-top: 1.4rem; padding-top: 1rem;
  border-top: 1px solid var(--line);
}
.merge__caption {
  margin: 0; font-family: var(--display); font-size: .72rem;
  letter-spacing: .14em; text-transform: uppercase; color: var(--muted);
}
.merge__replay {
  margin-left: auto; cursor: pointer;
  font-family: var(--display); font-size: .7rem;
  letter-spacing: .18em; text-transform: uppercase;
  background: none; border: 1px solid var(--line); color: var(--ink);
  padding: .45rem .9rem;
  transition: background .15s, color .15s, border-color .15s;
}
.merge__replay:hover { background: var(--ink); color: var(--paper); border-color: var(--ink); }

/* No motion: show all three side by side with arrows between them. */
@media (prefers-reduced-motion: reduce) {
  .merge__stage {
    grid-template-columns: 1fr auto 1fr auto 1fr;
    place-items: center; gap: .8rem;
  }
  .merge__stage figure { grid-area: auto; }
  .merge__old--a { grid-column: 1; transform: none; }
  .merge__old--b { grid-column: 3; transform: none; }
  .merge__new { grid-column: 5; opacity: 1; transform: none; }
  .merge__stage::before { content: "+"; grid-column: 2; }
  .merge__stage::after { content: "="; grid-column: 4; }
  .merge__stage::before, .merge__stage::after {
    font-family: var(--display); font-size: 1.4rem; color: var(--muted);
  }
  .merge[data-play] .merge__old--a,
  .merge[data-play] .merge__old--b,
  .merge[data-play] .merge__new { animation: none; }
  .merge__replay { display: none; }
}

/* ---------------------------------------------------------------- gallery */

.gallery { margin: 2rem 0; }

.gallery__open {
  display: flex; align-items: center; gap: .9rem; width: 100%;
  cursor: pointer; text-align: left;
  background: var(--paper-2);
  border: 2px solid var(--ink);
  padding: .95rem 1.2rem;
  font-family: var(--display); color: var(--ink);
  transition: background .15s, color .15s, box-shadow .15s;
}
.gallery__open:hover { background: var(--ink); color: var(--paper); box-shadow: 5px 5px 0 var(--amber); }
.gallery__icon {
  width: 26px; height: 20px; flex: none; position: relative;
  border: 2px solid currentColor;
}
.gallery__icon::after {
  content: ""; position: absolute; right: -6px; bottom: -5px;
  width: 26px; height: 20px; border: 2px solid currentColor;
  background: var(--paper-2);
}
.gallery__open:hover .gallery__icon::after { background: var(--ink); }
.gallery__label {
  font-size: .86rem; letter-spacing: .16em; text-transform: uppercase;
}
.gallery__count {
  margin-left: auto; font-size: .7rem; letter-spacing: .14em;
  text-transform: uppercase; opacity: .6;
}
.gallery__open[aria-expanded="true"] { background: var(--ink); color: var(--paper); }

.gallery__panel { padding-top: 1.2rem; }
.gallery__title {
  font-family: var(--display); font-size: .74rem;
  letter-spacing: .18em; text-transform: uppercase; color: var(--muted);
  margin: 0 0 .9rem;
}
.gallery__title span { color: var(--muted); opacity: .7; }

.gallery__grid {
  display: grid; gap: .5rem;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
}
.gallery__item {
  padding: 0; border: 1px solid var(--line); background: var(--paper-2);
  cursor: pointer; overflow: hidden; aspect-ratio: 4 / 3;
}
.gallery__item img { width: 100%; height: 100%; object-fit: cover; transition: transform .25s, opacity .2s; }
.gallery__item:hover img { transform: scale(1.05); opacity: .85; }
.gallery__item:focus-visible { outline: 3px solid var(--amber); outline-offset: 2px; }

.gallery--empty {
  border: 2px dashed var(--line); padding: 1rem 1.2rem; color: var(--muted);
}

/* lightbox */
.lightbox {
  position: fixed; inset: 0; z-index: 90;
  background: rgba(10, 10, 10, .94);
  display: flex; flex-direction: column;
}
.lightbox[hidden] { display: none !important; }
/* The stage is a positioned box and the photo is absolutely centred inside it.
   A percentage max-height on a grid/flex child resolves against an indefinite
   track, so the image was free to overflow — this gives it a definite box. */
.lightbox__stage {
  flex: 1 1 auto; position: relative; min-height: 0;
  margin: 1rem;
}
.lightbox__stage img {
  position: absolute; inset: 0; margin: auto;
  display: block;
  max-width: 100%; max-height: 100%;
  width: auto; height: auto;
  object-fit: contain;
}
.lightbox__bar {
  flex: none; display: flex; align-items: center; gap: 1rem;
  padding: .9rem 1.2rem; color: var(--paper);
  border-top: 1px solid rgba(244,242,238,.2);
}
.lightbox__cap {
  font-family: var(--display); font-size: .74rem;
  letter-spacing: .14em; text-transform: uppercase; opacity: .8;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.lightbox__n { font-family: var(--display); font-size: .72rem; letter-spacing: .16em; opacity: .55; }
.lightbox button {
  background: none; border: 1px solid rgba(244,242,238,.4); color: var(--paper);
  font-family: var(--display); font-size: .74rem; letter-spacing: .16em;
  text-transform: uppercase; padding: .45rem .8rem; cursor: pointer;
  transition: background .15s, color .15s;
}
.lightbox button:hover { background: var(--amber); color: var(--ink); border-color: var(--amber); }
.lightbox__close { margin-left: auto; }
.lightbox__x {
  position: absolute; top: .6rem; right: .6rem; z-index: 2;
  width: 46px; height: 46px; padding: 0 !important;
  font-size: 1.9rem !important; line-height: 1; letter-spacing: 0 !important;
  background: rgba(10,10,10,.6) !important; border-color: rgba(244,242,238,.6) !important;
}
.lightbox__x:hover { background: var(--amber) !important; color: var(--ink); }
.lightbox__stage { cursor: zoom-out; }
.lightbox__stage img { cursor: default; }
.gallery__shut {
  display: block; margin: .9rem 0 0 auto; cursor: pointer;
  background: none; border: 1px solid var(--ink); color: var(--ink);
  font-family: var(--display); font-size: .74rem; letter-spacing: .16em;
  text-transform: uppercase; padding: .5rem .9rem;
}
.gallery__shut:hover { background: var(--ink); color: var(--paper); }

@media (max-width: 720px) {
  .gallery__grid { grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); }
  .lightbox__cap { display: none; }
}

/* ------------------------------------------------------------------- tabs */

/* CSS-only tabs: the radios sit before the labels and panels so :checked can
   reach them with a sibling selector. No JavaScript, so they work inside the
   overlay and with scripting off. */
.tabs { margin: 2rem 0; }
.tabs__radio { position: absolute; opacity: 0; pointer-events: none; }
.tabs__tab {
  display: inline-block; cursor: pointer;
  font-family: var(--display); font-size: .76rem;
  letter-spacing: .18em; text-transform: uppercase;
  padding: .7rem 1.1rem;
  border: 2px solid var(--ink); border-bottom: 0;
  background: var(--paper);
  color: var(--muted);
  margin-right: .3rem;
  transition: background .15s, color .15s;
}
.tabs__tab:hover { color: var(--ink); }
.tabs__panels { margin-top: -2px; }
.tabs__panel { display: none; }
.tabs__panel .table-wrap { margin: 0; }

.tabs__radio:nth-of-type(1):checked ~ .tabs__panels > .tabs__panel:nth-child(1),
.tabs__radio:nth-of-type(2):checked ~ .tabs__panels > .tabs__panel:nth-child(2),
.tabs__radio:nth-of-type(3):checked ~ .tabs__panels > .tabs__panel:nth-child(3),
.tabs__radio:nth-of-type(4):checked ~ .tabs__panels > .tabs__panel:nth-child(4) {
  display: block;
}
.tabs__radio:nth-of-type(1):checked ~ .tabs__tab:nth-of-type(1),
.tabs__radio:nth-of-type(2):checked ~ .tabs__tab:nth-of-type(2),
.tabs__radio:nth-of-type(3):checked ~ .tabs__tab:nth-of-type(3),
.tabs__radio:nth-of-type(4):checked ~ .tabs__tab:nth-of-type(4) {
  background: var(--ink); color: var(--paper);
}
.tabs__radio:focus-visible ~ .tabs__tab { outline: 3px solid var(--amber); outline-offset: 2px; }

@media (max-width: 720px) {
  .tabs__tab { font-size: .68rem; padding: .6rem .8rem; letter-spacing: .12em; }
}

/* ------------------------------------------------------------ league table */

.table-wrap {
  margin: 2rem 0;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border: 2px solid var(--ink);
  background: var(--paper-2);
}
.table {
  width: 100%;
  border-collapse: collapse;
  font-variant-numeric: tabular-nums;
  min-width: 560px;
}
.table caption {
  caption-side: top; text-align: left;
  font-family: var(--display); font-size: .72rem;
  letter-spacing: .18em; text-transform: uppercase;
  color: var(--paper); background: var(--ink);
  padding: .7rem 1rem;
}
.table th, .table td {
  padding: .58rem .6rem;
  border-bottom: 1px solid var(--line);
  text-align: left;
}
.table thead th {
  font-family: var(--display); font-weight: 600;
  font-size: .68rem; letter-spacing: .14em; text-transform: uppercase;
  color: var(--muted);
  border-bottom: 2px solid var(--ink);
  white-space: nowrap;
}
.table tbody td:nth-child(2) {
  font-weight: 600;
  white-space: nowrap;
}
.table .t--num { text-align: right; width: 3.2rem; }
.table .t--pos {
  text-align: right; width: 2.4rem;
  color: var(--muted);
  font-family: var(--display); font-size: .82rem;
}
.table tbody tr:last-child td { border-bottom: 0; }
.table tbody tr:nth-child(even) { background: rgba(20, 20, 20, .028); }

/* our row */
.table tbody tr.t--mine td {
  background: var(--ink); color: var(--paper);
  font-weight: 600;
}
.table tbody tr.t--mine td:first-child { color: var(--amber); }
.table tbody tr.t--mine td:last-child { color: var(--amber); }

/* promotion line — set by `promotion:` in the table block */
.table tbody tr.t--promo td { border-bottom: 3px solid var(--amber); }

.table__note {
  margin: 0; padding: .7rem 1rem;
  border-top: 1px solid var(--line);
  font-size: .8rem; color: var(--muted);
  background: var(--paper);
}

@media (max-width: 720px) {
  .table th, .table td { padding: .5rem .45rem; font-size: .88rem; }
  .table .t--num { width: 2.6rem; }
}

/* ---------------------------------------------------------------- records */

.records__intro { max-width: var(--read); margin-bottom: 2rem; }
.records__controls {
  display: flex; flex-wrap: wrap; gap: .6rem; align-items: center;
  margin-bottom: 1rem;
}
.records__controls input[type="search"],
.records__controls select {
  font-family: var(--body); font-size: .95rem;
  padding: .6rem .8rem;
  border: 2px solid var(--ink); background: var(--paper-2); color: var(--ink);
  min-width: 220px;
}
.records__controls input:focus-visible,
.records__controls select:focus-visible { outline: 3px solid var(--amber); outline-offset: 1px; }
.records__count {
  font-family: var(--display); font-size: .72rem;
  letter-spacing: .18em; text-transform: uppercase; color: var(--muted);
  margin-left: auto;
}
.records__back { margin-top: 2.5rem; font-family: var(--display);
  font-size: .78rem; letter-spacing: .18em; text-transform: uppercase; }

/* sortable headers */
.table th[data-key] { cursor: pointer; user-select: none; white-space: nowrap; }
.table th[data-key]:hover { color: var(--ink); }
.table th[data-key]::after { content: " \2195"; opacity: .35; }
.table th[data-dir="asc"]::after { content: " \2191"; opacity: 1; color: var(--amber); }
.table th[data-dir="desc"]::after { content: " \2193"; opacity: 1; color: var(--amber); }
.table tbody tr[hidden] { display: none; }
.table td a { text-decoration: none; border-bottom: 1px solid var(--line); }
.table td a:hover { border-bottom-color: var(--amber); }

/* player biography panel */
.bio {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  border: 2px solid var(--ink); background: var(--paper-2);
  margin-bottom: 2.5rem;
}
.bio__item {
  padding: 1rem 1.1rem;
  border-right: 1px solid var(--line);
}
.bio__item:last-child { border-right: 0; }
.bio__k {
  display: block;
  font-family: var(--display); font-size: .66rem;
  letter-spacing: .2em; text-transform: uppercase; color: var(--muted);
  margin-bottom: .35rem;
}
.bio__v { font-size: 1.02rem; font-weight: 600; }
.bio__v--none {
  font-weight: 400; color: var(--muted); font-style: italic; font-size: .9rem;
}
.bio__sub {
  display: block; font-size: .74rem; color: var(--muted); font-weight: 400;
  font-family: var(--display); letter-spacing: .14em; text-transform: uppercase;
  margin-top: .2rem;
}

@media (max-width: 720px) {
  .bio { grid-template-columns: repeat(2, 1fr); }
  .bio__item { border-bottom: 1px solid var(--line); }
  .bio__item:nth-child(2n) { border-right: 0; }
}

/* squad members yet to make a debut */
.await {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: .5rem;
}
.await li {
  border: 1px solid var(--line); background: var(--paper-2);
  padding: .8rem 1rem;
}
.await a { text-decoration: none; font-weight: 600; border-bottom: 1px solid var(--line); }
.await a:hover { border-bottom-color: var(--amber); }
.await__note { display: block; font-size: .8rem; color: var(--muted); margin-top: .25rem; }

/* ------------------------------------------------------------- fixtures */

.fixtures { border: 2px solid var(--ink); background: var(--paper-2); }
.fx { border-bottom: 1px solid var(--line); }
.fx:last-child { border-bottom: 0; }
.fx > summary {
  display: grid; align-items: center; gap: .8rem;
  grid-template-columns: 6.5rem 1.6rem 1fr auto;
  padding: .7rem 1rem; cursor: pointer; list-style: none;
  border-left: 6px solid transparent;
}
.fx > summary::-webkit-details-marker { display: none; }
.fx > summary:hover { background: var(--paper); }
.fx--win > summary { border-left-color: var(--amber); }
.fx--draw > summary { border-left-color: var(--muted); }
.fx--loss > summary { border-left-color: var(--claret); }
.fx__date { font-family: var(--display); font-size: .76rem; letter-spacing: .06em; color: var(--muted); }
.fx__ha {
  font-family: var(--display); font-size: .7rem; text-align: center;
  border: 1px solid var(--line); padding: .1rem 0; color: var(--muted);
}
.fx__opp { font-weight: 600; }
.fx__score {
  font-family: var(--display); font-weight: 600; font-size: 1.05rem;
  font-variant-numeric: tabular-nums;
}
.fx__tag {
  font-family: var(--display); font-size: .62rem; letter-spacing: .14em;
  text-transform: uppercase; color: var(--muted);
  border: 1px solid var(--line); padding: .1rem .4rem; margin-left: .5rem;
}
.fx__body { padding: .2rem 1rem 1.2rem 1.6rem; background: var(--paper); }
.fx__label {
  font-family: var(--display); font-size: .68rem; letter-spacing: .2em;
  text-transform: uppercase; color: var(--muted); margin: 1rem 0 .4rem;
}
.fx__team {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  gap: .1rem .9rem;
}
.fx__team li { font-size: .92rem; }
.fx__note { color: var(--muted); font-size: .82rem; }
.fx__src {
  margin: 1rem 0 0; font-size: .76rem; color: var(--muted);
  font-family: var(--display); letter-spacing: .1em; text-transform: uppercase;
}

/* --------------------------------------------------------- hall of fame */

.hof {
  background: var(--ink); color: var(--paper);
  padding: clamp(2.5rem, 6vw, 4rem) 0;
  position: relative; overflow: hidden;
  border-top: 4px solid var(--amber);
}
.hof::after {
  content: ""; position: absolute; right: -4%; top: 50%;
  transform: translateY(-50%);
  width: min(38vw, 380px); aspect-ratio: 1;
  background: url("crest-white.svg") center/contain no-repeat;
  opacity: .07; pointer-events: none;
}
.hof__inner { position: relative; z-index: 1; max-width: 860px; }
.hof__cols {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: clamp(1.5rem, 4vw, 3rem);
}
.hof__label {
  font-family: var(--display); font-size: .72rem; letter-spacing: .24em;
  text-transform: uppercase; color: var(--amber);
  margin: 0 0 .6rem;
}
.hof__label sup { font-size: .8em; }
.hof__note {
  margin: 1.6rem 0 0; font-size: .78rem; color: var(--muted);
  line-height: 1.5;
}
.hof__note sup { color: var(--amber); }
.hof__eyebrow {
  font-family: var(--display); font-size: .7rem; letter-spacing: .3em;
  text-transform: uppercase; color: var(--amber); margin: 0 0 .5rem;
}
.hof__title {
  font-family: var(--display); font-weight: 700; text-transform: uppercase;
  font-size: clamp(1.8rem, 5.5vw, 3rem); line-height: .98; margin: 0 0 1.6rem;
}
.hof__list { list-style: none; margin: 0; padding: 0; }
.hof__row {
  display: grid; grid-template-columns: 2.2rem 1fr auto;
  align-items: baseline; gap: .8rem;
  padding: .5rem 0;
  border-bottom: 1px solid rgba(244,242,238,.14);
}
.hof__row:first-child { border-top: 1px solid rgba(244,242,238,.14); }
.hof__pos {
  font-family: var(--display); font-size: .82rem; color: var(--muted);
  font-variant-numeric: tabular-nums;
}
.hof__name { font-size: 1.02rem; }
.hof__n {
  font-family: var(--display); font-weight: 600; font-size: 1.15rem;
  font-variant-numeric: tabular-nums;
}
.hof__row:nth-child(1) .hof__pos,
.hof__row:nth-child(1) .hof__n { color: var(--amber); }
.hof__more {
  display: inline-block; margin-top: 1.6rem;
  font-family: var(--display); font-size: .78rem;
  letter-spacing: .2em; text-transform: uppercase;
  color: var(--paper); text-decoration: none;
  border-bottom: 2px solid var(--amber); padding-bottom: .25rem;
}
.hof__more:hover { color: var(--amber); }

/* Location card — a link to the map, not an embedded one. */
.map {
  display: flex; gap: 1rem; align-items: flex-start;
  border: 2px solid var(--ink); background: var(--paper-2);
  padding: 1.2rem 1.3rem; margin: 1.6rem 0;
}
.map__pin { flex: none; width: 34px; height: 34px; color: var(--claret); }
.map__body { min-width: 0; }
.map__name {
  margin: 0; font-family: var(--display); font-weight: 600;
  font-size: 1.05rem; letter-spacing: .04em;
}
.map__addr { margin: .25rem 0 0; }
.map__note { margin: .45rem 0 0; font-size: .9rem; opacity: .75; }
.map__go {
  display: inline-block; margin-top: .9rem;
  font-family: var(--display); font-size: .74rem;
  letter-spacing: .2em; text-transform: uppercase;
  color: var(--ink); text-decoration: none;
  border-bottom: 2px solid var(--amber); padding-bottom: .2rem;
}
.map__go:hover { color: var(--claret); }

/* match video links under a report's score card */
.watch { display: flex; flex-wrap: wrap; gap: .6rem; margin: -.4rem 0 1.6rem; }
.watch__btn {
  display: inline-flex; align-items: center; gap: .55rem;
  border: 2px solid var(--ink); background: var(--paper-2); color: var(--ink);
  padding: .5rem .85rem; text-decoration: none;
  font-family: var(--display); font-size: .72rem; letter-spacing: .16em; text-transform: uppercase;
  transition: background .15s, color .15s, box-shadow .15s;
}
.watch__btn span { color: var(--amber); font-size: .7rem; }
.watch__btn:hover { background: var(--ink); color: var(--paper); box-shadow: 4px 4px 0 var(--amber); }

/* Matchday playlists — one cover a month, newest first, growing for ever. */
.pl { margin: 2rem 0 1rem; }
.pl__title {
  font-family: var(--display); font-size: .74rem;
  letter-spacing: .26em; text-transform: uppercase;
  margin: 0 0 1rem; padding-bottom: .6rem;
  border-bottom: 2px solid var(--ink);
}
.pl__grid {
  display: grid; gap: 1.1rem;
  grid-template-columns: repeat(auto-fill, minmax(120px, 150px));
}
.pl__art.gallery__item { aspect-ratio: auto; }
/* figures inside an article break out wide by default; playlist covers must not */
article figure.pl__item, .pl__item { margin: 0; width: auto; transform: none; }
.pl__intro { margin: 0 0 1rem; font-size: .9rem; color: var(--muted); }
.pl__art img { margin: 0; border: 0; }
.pl__art {
  display: block; position: relative; width: 100%;
  padding: 0; border: 2px solid var(--ink); background: var(--ink);
  cursor: pointer; overflow: hidden;
}
.pl__art img {
  display: block; width: 100%; aspect-ratio: 4 / 5; object-fit: cover;
  transition: transform .25s ease, opacity .25s ease;
}
.pl__art:hover img, .pl__art:focus-visible img { transform: scale(1.04); opacity: .85; }
.pl__play {
  position: absolute; left: 0; right: 0; bottom: 0;
  background: var(--amber); color: var(--ink);
  font-family: var(--display); font-size: .68rem;
  letter-spacing: .2em; text-transform: uppercase;
  padding: .4rem; text-align: center;
}
.pl__cap {
  margin: .5rem 0 0; font-family: var(--display);
  font-size: .72rem; letter-spacing: .14em; text-transform: uppercase;
}
.pl__when {
  display: block; margin-top: .15rem;
  letter-spacing: .1em; opacity: .6; font-size: .68rem;
}

/* Standing-in panel for a chapter with nothing to show yet — a designed
   holding slot rather than a bare line of text. */
.callout {
  display: flex; align-items: center; gap: clamp(.9rem, 3vw, 1.6rem);
  background: var(--claret); color: var(--paper);
  border-left: 6px solid var(--amber);
  border-top: 1px solid rgba(241,138,1,.35);
  border-bottom: 1px solid rgba(241,138,1,.35);
  padding: clamp(1.2rem, 3vw, 1.8rem) clamp(1.2rem, 3vw, 2rem);
  margin: .5rem 0 1rem;
  position: relative; overflow: hidden;
}
/* amber hatch bleeding off the right, so the band reads as club colours
   rather than a lone shape on a dark panel */
.callout::after {
  content: ""; position: absolute; right: 0; top: 0; bottom: 0;
  width: clamp(60px, 18%, 160px); pointer-events: none;
  background: repeating-linear-gradient(115deg,
    rgba(241,138,1,.55) 0 6px, transparent 6px 18px);
  -webkit-mask-image: linear-gradient(to right, transparent, #000);
          mask-image: linear-gradient(to right, transparent, #000);
}
.callout__motif {
  /* a mark beside the line, not a picture in its own right */
  flex: none; width: clamp(34px, 6vw, 52px); aspect-ratio: 1;
  color: var(--amber); opacity: .95;
}
.callout__body { min-width: 0; position: relative; z-index: 1; }
.callout__kicker {
  font-family: var(--display); font-size: .72rem;
  letter-spacing: .28em; text-transform: uppercase;
  color: var(--amber); margin: 0 0 .5rem;
}
.callout__title {
  font-family: var(--display); font-weight: 600;
  font-size: clamp(1.15rem, 3.2vw, 1.6rem); line-height: 1.25;
  margin: 0;
}
.callout__text { margin: .7rem 0 0; opacity: .88; }
.callout__meta {
  margin: 1rem 0 0; padding-top: .8rem;
  border-top: 1px solid rgba(244,242,238,.22);
  font-size: .85rem; opacity: .72;
}
@media (max-width: 560px) {
  .callout { flex-direction: column; align-items: flex-start; text-align: left; }
}

@media (max-width: 720px) {
  .fx > summary { grid-template-columns: 5rem 1.4rem 1fr auto; gap: .5rem; padding: .6rem .7rem; }
  .fx__date { font-size: .68rem; }
  .records__count { margin-left: 0; width: 100%; }
}

/* ------------------------------------------------------------------- poll */

.poll {
  border: 2px solid var(--ink); background: var(--paper-2);
  padding: 1.4rem; margin: 1.8rem 0; max-width: var(--read);
}
.poll__intro {
  margin: 0 0 1rem; font-family: var(--display);
  font-size: .78rem; letter-spacing: .18em; text-transform: uppercase;
}
.poll__opts { display: grid; gap: .5rem; }
.poll__opt {
  display: flex; align-items: center; gap: .75rem;
  border: 1px solid var(--line); padding: .7rem .9rem;
  font-size: .93rem;
  transition: border-color .15s, background .15s;
}
.poll__opt:hover { border-color: var(--amber); background: rgba(241,138,1,.08); }
.poll__opt input { accent-color: var(--ink); flex: none; }
.poll__note {
  margin: 1rem 0 0; font-size: .78rem; color: var(--muted);
  font-family: var(--display); letter-spacing: .12em; text-transform: uppercase;
}

.poll__opt { cursor: pointer; }
.poll__opt:has(input:checked) { border-color: var(--ink); background: rgba(241,138,1,.14); }
.poll__field { display: grid; gap: .35rem; margin: 1.1rem 0 0; font-size: .85rem; }
.poll__field input {
  font: inherit; font-size: 1rem; padding: .65rem .8rem;
  border: 1px solid var(--line); background: var(--paper, #fff); color: inherit;
}
.poll__field input:focus { outline: 2px solid var(--amber); outline-offset: 1px; }
.poll__submit {
  margin-top: 1rem; padding: .75rem 1.3rem; cursor: pointer;
  border: 2px solid var(--ink); background: var(--ink); color: var(--paper, #fff);
  font-family: var(--display); font-size: .8rem; letter-spacing: .16em; text-transform: uppercase;
}
.poll__submit:hover { background: var(--amber); border-color: var(--amber); color: var(--ink); }
.poll--done .poll__opt, .poll--done .poll__field, .poll--done .poll__submit { opacity: .55; cursor: default; }
.poll--done .poll__note { color: var(--ink); }

/* legacy fallback for metadata blocks that don't parse as a fixture */
.report-meta {
  font-family: var(--display);
  text-transform: uppercase; letter-spacing: .08em;
  font-size: .84rem; line-height: 1.75;
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-left: 4px solid var(--ink);
  padding: 1rem 1.2rem;
  margin: 0 0 1.4rem;
  max-width: var(--read);
}
.report-meta b { font-weight: 600; }

/* --------------------------------------------------------------- prev/next */

.pager {
  display: flex; gap: 1rem; flex-wrap: wrap;
  border-top: 3px solid var(--line-hard);
  padding-top: 1.6rem; margin-top: 4rem;
}
.pager a {
  flex: 1 1 240px;
  text-decoration: none; color: inherit;
  border: 1px solid var(--line); padding: 1rem 1.2rem;
  background: var(--paper-2);
  transition: border-color .15s, box-shadow .15s;
}
.pager a:hover { border-color: var(--claret); box-shadow: 4px 4px 0 var(--claret); }
.pager small {
  display: block; font-family: var(--display);
  font-size: .68rem; letter-spacing: .22em; text-transform: uppercase; color: var(--muted);
  margin-bottom: .3rem;
}
.pager b { font-family: var(--display); font-weight: 600; text-transform: uppercase; letter-spacing: .06em; font-size: 1.05rem; }
.pager .next { text-align: right; }

/* --------------------------------------------------------------- notice */

.notice {
  border: 2px solid var(--ink);
  background: var(--paper-2);
  padding: 1.4rem 1.6rem;
  margin: 2rem 0;
  max-width: var(--read);
}
.notice p:last-child { margin-bottom: 0; }
.notice__label {
  font-family: var(--display); font-size: .7rem; letter-spacing: .24em;
  text-transform: uppercase; color: var(--muted); margin-bottom: .5rem;
}

/* -------------------------------------------------------------- overlay */

.reader {
  position: fixed; inset: 0; z-index: 70;
  background: var(--paper);
  display: flex; flex-direction: column;
  animation: readerIn .22s ease-out;
}
/* `display: flex` above would otherwise defeat the hidden attribute, leaving an
   empty overlay covering the page on load. */
.reader[hidden] { display: none !important; }
@keyframes readerIn {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: none; }
}
.reader__bar {
  flex: none;
  background: var(--ink); color: var(--paper);
  border-bottom: 3px solid var(--ink);
}
.reader__bar-inner {
  display: flex; align-items: center; gap: 1rem;
  padding: .75rem 0;
}
.reader__close, .reader__open {
  font-family: var(--display);
  font-size: .76rem; letter-spacing: .18em; text-transform: uppercase;
  background: none; border: 0; color: var(--paper);
  cursor: pointer; padding: .4rem 0; text-decoration: none;
  opacity: .8; transition: opacity .15s;
}
.reader__close:hover, .reader__open:hover { opacity: 1; }
.reader__open { margin-left: auto; border-bottom: 1px solid currentColor; }
.reader__lang { display: flex; margin-left: 1.2rem; }
.reader__lang:empty { display: none; }
.reader__body {
  flex: 1 1 auto; overflow-y: auto; overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
}
.reader__body:focus { outline: none; }
/* inside the overlay the section rail sticks to the overlay, not the page */
.reader .jump { top: 0; }
.reader article section { scroll-margin-top: 3.4rem; }

@media (prefers-reduced-motion: reduce) { .reader { animation: none; } }

/* --------------------------------------------------------------- footer */

.foot {
  background: var(--ink); color: var(--paper);
  padding: 3.5rem 0 2.5rem;
  margin-top: 0;
}
.foot__grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2.5rem; padding-bottom: 2.5rem;
  border-bottom: 1px solid rgba(244,242,238,.18);
}
.foot h4 {
  font-family: var(--display); font-size: .74rem; letter-spacing: .26em;
  text-transform: uppercase; opacity: .55; margin: 0 0 .9rem; font-weight: 500;
}
.foot ul { list-style: none; margin: 0; padding: 0; }
.foot li { margin-bottom: .5rem; }
.foot a { color: var(--paper); text-decoration: none; opacity: .82; font-size: .92rem; }
.foot a:hover { opacity: 1; text-decoration: underline; text-underline-offset: 3px; }
.foot__base {
  padding-top: 1.6rem;
  display: flex; flex-wrap: wrap; gap: 1rem; align-items: center;
  font-size: .78rem; opacity: .55;
}
.foot__base .tag {
  margin-left: auto; font-family: var(--display);
  letter-spacing: .24em; text-transform: uppercase; font-size: .7rem;
}

/* --------------------------------------------------------------- utility */

.stack > * + * { margin-top: 1.15rem; }
.muted { color: var(--muted); }

@media (max-width: 720px) {
  body { font-size: 16px; }
  :root { --mast-h: 108px; }   /* the nav wraps below the brand on narrow screens */
  article figure { width: 100%; margin: 1.8rem 0; transform: none; }
  .masthead__inner { flex-wrap: wrap; gap: .75rem; }
  .nav { margin-left: 0; flex: 1 1 auto; gap: 1.1rem; overflow-x: auto; padding-bottom: .2rem; }
  .masthead .lang { margin-left: auto; order: 2; }
  .brand__name { font-size: .92rem; }
  .card:hover { transform: none; box-shadow: 3px 3px 0 var(--ink); }
}

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; scroll-behavior: auto !important; }
  .card:hover { transform: none; }
}

@media print {
  .masthead, .foot, .pager, .nav { display: none; }
  body { background: #fff; }
  .issue-head { background: #fff; color: #000; }
}

.watch__note {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .55rem .9rem; border: 2px dashed var(--ink);
  font-size: .85rem; font-style: italic; color: var(--ink);
}
.watch__note::before { content: "\25A0"; color: var(--amber); font-style: normal; font-size: .7rem; }

/* Press cutting: a piece summarised from another publication */
article .cutting {
  position: relative; margin: 2.4rem auto 2.8rem; max-width: 60ch;
  padding: 1.6rem 1.8rem 1.3rem;
  background: #fbf7ec;
  background-image: repeating-linear-gradient(0deg, transparent 0 27px, rgba(20,20,20,.035) 27px 28px);
  border: 1px solid rgba(20,20,20,.18);
  box-shadow: 0 1px 0 rgba(0,0,0,.04), 6px 8px 0 rgba(20,20,20,.08);
  transform: rotate(-.6deg);
  font-family: Georgia, "Times New Roman", serif; color: #2a2620;
}
article .cutting::before {           /* a strip of tape */
  content: ""; position: absolute; top: -12px; left: 50%; width: 110px; height: 24px;
  transform: translateX(-50%) rotate(2deg);
  background: rgba(241,138,1,.55); box-shadow: 0 1px 2px rgba(0,0,0,.12);
}
.cutting__mast {
  margin: 0; font-family: var(--display); text-transform: uppercase; letter-spacing: .18em;
  font-size: .8rem; border-bottom: 3px double #2a2620; padding-bottom: .45rem;
}
.cutting__date { margin: .35rem 0 0; font-size: .78rem; font-style: italic; color: var(--muted); }
.cutting__body { font-style: italic; font-size: 1.02rem; line-height: 1.65; }
.cutting__body strong { font-style: normal; }
.cutting__body ul { padding-left: 1.1rem; }
.cutting__body li { margin: .55rem 0; }
.cutting__src {
  margin: 1rem 0 0; padding-top: .6rem; border-top: 1px solid rgba(20,20,20,.2);
  font-size: .82rem; color: var(--muted);
}
.cutting__src a { color: #2a2620; }
@media (max-width: 600px) { article .cutting { transform: none; padding: 1.3rem 1.1rem 1rem; } }
