/* ───────────────────────────────────────────────────────────────
   MATCHA NA SLOVENSKU
   Direction: "Loud and flat" (loud-flat-poster, seed 337104015).
   A street poster: flat saturated fields, the heaviest weight of one
   face, blunt statements, photographs cut hard and tilted over the type.
   Each chapter is one flat colour; the craft is the strict grid under it.
   Palette: dealt "Poster chapters", with the dealt traffic-light green
   replaced by the real colour of whisked matcha.
   ─────────────────────────────────────────────────────────────── */

:root {
  --bg: #e6e0d2;
  --surface: #dcd5c5;
  --ink: #1a1a1a;
  --muted: #5f5b52;          /* 5.14:1 on bone — secondary notes only */
  --accent: #8cc63f;         /* whisked matcha; black ink at 8.51:1 */
  --accent-ink: #1a1a1a;
  --coral: #ed4b44;
  --coral-ink: #1a1a1a;
  --yellow: #f2c21a;
  --yellow-ink: #1a1a1a;
  --dark: #1a1a1a;
  --dark-ink: #e6e0d2;

  --font: "Epilogue", system-ui, -apple-system, "Segoe UI", sans-serif;

  --step-small: clamp(0.875rem, 0.85rem + 0.12vw, 0.9375rem);
  --step-body: clamp(1.0625rem, 1rem + 0.25vw, 1.1875rem);
  --step-lead: clamp(1.25rem, 1.1rem + 0.7vw, 1.625rem);
  --step-head: clamp(2.25rem, 1.2rem + 4.4vw, 5rem);
  --step-display: clamp(3.5rem, 0.6rem + 11.4vw, 11rem);

  --margin: clamp(1.25rem, 2.4vw, 1.75rem);
  --gutter: clamp(0.75rem, 1.4vw, 1.25rem);
  --section: clamp(6rem, 11vw, 11rem);
  --radius: 0px;

  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --t-press: 140ms;
  --t-hover: 180ms;
  --t-ui: 450ms;
  --t-reveal: 800ms;
}

/* ───────────────────────── reset ───────────────────────── */

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: var(--step-body);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, h4, p, ul, ol, dl, dd, figure { margin: 0; padding: 0; }
ul, ol { list-style: none; }
img { display: block; max-width: 100%; height: auto; background: var(--surface); }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
a { color: inherit; }
summary::-webkit-details-marker { display: none; }

h1, h2, h3, h4 {
  font-weight: 900;
  letter-spacing: -0.04em;
  line-height: 0.9;
  text-wrap: balance;
  hyphens: none;
}

p { text-wrap: pretty; max-width: 68ch; }

::selection { background: var(--ink); color: var(--bg); }
:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; }
:target { scroll-margin-top: 4.5rem; }

/* the standard visually-hidden idiom, not a divider — taste-skill-ignore */
.vh {
  position: absolute; width: 1px; height: 1px;
  margin: -1px; padding: 0; overflow: hidden;
  clip-path: inset(50%); white-space: nowrap;
}

.skip {
  position: absolute; left: var(--margin); top: -4rem; z-index: 60;
  background: var(--ink); color: var(--bg);
  padding: 0.75rem 1.25rem; text-decoration: none; font-weight: 500;
  transition: top var(--t-hover) var(--ease-out);
}
.skip:focus { top: 0.75rem; }

/* ───────────────────────── buttons ─────────────────────────
   One shape for the whole page: flat fill, square corners. */

.btn {
  display: inline-block;
  background: var(--ink);
  color: var(--bg);
  text-decoration: none;
  font-weight: 900;
  font-size: var(--step-lead);
  letter-spacing: -0.02em;
  padding: 0.85rem 1.6rem;
  min-height: 56px;
  border-radius: var(--radius);
  transition: transform var(--t-press) var(--ease-out), background-color var(--t-hover) var(--ease-out);
}
.btn:hover { background: #000; }
.btn:active { transform: translateY(2px); }
.btn--dark { background: var(--accent); color: var(--accent-ink); }
.btn--dark:hover { background: #9ed24a; }

/* ───────────────────────── masthead ───────────────────────── */

.masthead {
  position: relative;
  z-index: 5;
  display: flex;
  align-items: baseline;
  gap: 1.5rem;
  flex-wrap: wrap;
  padding: 1.25rem var(--margin);
  background: var(--accent);
  color: var(--accent-ink);
}
.masthead__mark { font-weight: 900; font-size: var(--step-lead); letter-spacing: -0.04em; text-decoration: none; }
.masthead__nav { display: flex; gap: 1.25rem; margin-left: auto; font-size: var(--step-small); font-weight: 500; }
.masthead__nav a, .masthead__act { text-decoration: none; position: relative; padding-bottom: 3px; }
.masthead__nav a::after, .masthead__act::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px;
  background: currentColor; transform: scaleX(0); transform-origin: left;
  transition: transform var(--t-hover) var(--ease-out);
}
.masthead__nav a:hover::after, .masthead__nav a:focus-visible::after,
.masthead__act:hover::after, .masthead__act:focus-visible::after { transform: scaleX(1); }
.masthead__act { font-size: var(--step-small); font-weight: 900; }

/* ───────────────────────── hero ─────────────────────────
   Flush-left shout on a saturated field; the object overlaps the type
   from the right, tilted, and is the only photograph on the screen. */

.hero {
  position: relative;
  background: var(--accent);
  color: var(--accent-ink);
  padding: clamp(2rem, 5vw, 4rem) var(--margin) clamp(2rem, 4vw, 3rem);
  min-height: 86svh;
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  column-gap: var(--gutter);
  align-content: start;
  overflow: hidden;
}

.hero__title {
  grid-column: 1 / 13;
  font-size: var(--step-display);
  line-height: 0.85;
  position: relative;
  z-index: 3;
  pointer-events: none;
}
.hero__title .line { display: block; overflow: hidden; }
.hero__title .line > span { display: block; }

.hero__object {
  position: absolute;
  right: -4vw;
  top: clamp(14rem, 26vw, 24rem);
  width: clamp(16rem, 38vw, 34rem);
  z-index: 1;
  transform: rotate(-5deg);
  object-fit: cover;
  aspect-ratio: 4 / 3;
}

.hero__lead {
  grid-column: 1 / 6;
  grid-row: 2;
  margin-top: clamp(2rem, 5vw, 4rem);
  font-size: var(--step-lead);
  line-height: 1.3;
  font-weight: 500;
  max-width: 24ch;
  position: relative;
  z-index: 4;
}

.hero > .btn {
  grid-column: 1 / 6;
  grid-row: 3;
  justify-self: start;
  margin-top: 1.5rem;
  position: relative;
  z-index: 4;
}

.hero__fact {
  grid-column: 1 / 7;
  grid-row: 4;
  margin-top: clamp(2rem, 5vw, 3.5rem);
  font-size: var(--step-body);
  max-width: 34ch;
  position: relative;
  z-index: 4;
}
.hero__fact b { font-weight: 900; }

/* ───────────────── showcase: object in front of type ───────────────── */

.kolko {
  position: relative;
  padding: var(--section) var(--margin);
  overflow: hidden;
}

.kolko__stack { position: relative; z-index: 3; }
.kolko__line {
  font-size: clamp(2.25rem, 9vw, 9rem);
  font-weight: 900;
  line-height: 0.88;
  letter-spacing: -0.045em;
  white-space: nowrap;
  max-width: none;
}
.kolko__line--faint { color: rgba(26, 26, 26, 0.18); }
.kolko__line--mid { color: rgba(26, 26, 26, 0.45); }
.kolko__line--full { color: var(--ink); }

.kolko__row {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: var(--gutter);
  align-items: start;
  margin-top: clamp(2.5rem, 5vw, 4.5rem);
}

.kolko__object { transform: rotate(-3deg); transform-origin: left top; }
.kolko__object img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.kolko__object figcaption { font-size: var(--step-small); color: var(--muted); margin-top: 0.75rem; }

.kolko__facts {
  display: grid;
  gap: 1rem;
  font-size: var(--step-lead);
  line-height: 1.35;
  align-self: end;
}

/* ───────────────── how-it-works: accordion of tinted panels ───────────────── */

.cena {
  background: var(--dark);
  color: var(--dark-ink);
  padding: var(--section) var(--margin);
}

.cena__intro {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  column-gap: var(--gutter);
  row-gap: 1.5rem;
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
}
.cena__head { grid-column: 1 / 6; font-size: var(--step-head); }
.cena__intro p { grid-column: 7 / 12; font-size: var(--step-lead); line-height: 1.4; }

.stages { display: flex; min-height: 520px; }

.stage {
  flex: 0 1 auto;
  width: 11%;
  min-width: 68px;
  overflow: hidden;
  position: relative;
  text-align: left;
  padding: 1.5rem 1.25rem;
  color: var(--ink);
  transition: width var(--t-ui) var(--ease-expo);
}
.stage--1 { background: #4e6a1f; color: #e8f0d6; }   /* dark to light, one hue */
.stage--2 { background: #6d9329; }
.stage--3 { background: var(--accent); }
.stage--4 { background: #c6dd93; }

.stage.is-open { width: 58%; }

.stage__name {
  display: block;
  font-weight: 900;
  font-size: var(--step-lead);
  letter-spacing: -0.03em;
  white-space: nowrap;
}
.stage:not(.is-open) .stage__name {
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  margin-top: auto;
}
.stage:not(.is-open) { display: flex; flex-direction: column; }
.stage__body { display: none; }
.stage.is-open .stage__body { display: block; margin-top: 1.5rem; }
.stage__fig {
  display: block;
  font-size: var(--step-head);
  font-weight: 900;
  line-height: 0.9;
  letter-spacing: -0.04em;
}
.stage__text {
  display: block;
  margin-top: 1rem;
  max-width: 36ch;
  font-size: var(--step-body);
  line-height: 1.45;
}

/* ───────────────── stats: stepped figure tiles ───────────────── */

.cisla {
  background: var(--yellow);
  color: var(--yellow-ink);
  padding: var(--section) var(--margin);
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 8px;
  align-items: start;
}

.cisla__head {
  grid-column: 7 / 13;
  grid-row: 1;
  font-size: var(--step-lead);
  margin-bottom: 1rem;
}

.tile { padding: 1.25rem; display: flex; flex-direction: column; justify-content: space-between; }
.tile__fig {
  font-size: var(--step-head);
  font-weight: 900;
  line-height: 0.85;
  letter-spacing: -0.045em;
}
.tile__cap { font-size: var(--step-body); max-width: 26ch; margin-top: 2rem; }

.tile--a { grid-column: 1 / 7; grid-row: 1 / 4; min-height: 66vh; background: var(--accent); color: var(--accent-ink); }
.tile--b { grid-column: 7 / 10; grid-row: 2 / 3; min-height: 42vh; background: var(--dark); color: var(--dark-ink); }
.tile--c { grid-column: 10 / 13; grid-row: 3 / 4; min-height: 34vh; background: var(--bg); color: var(--ink); margin-top: 8px; }

/* ───────────────── list: giant word, filled bar rows ───────────────── */

.kde { padding: var(--section) var(--margin); }

.kde__top {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: var(--gutter);
  align-items: end;
  margin-bottom: 1.5rem;
}
.kde__word {
  font-size: min(34vw, 26rem);
  line-height: 0.76;
  letter-spacing: -0.06em;
}
.kde__pic img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.kde__pic figcaption { font-size: var(--step-small); color: var(--muted); margin-top: 0.5rem; }

.kde__intro {
  font-size: var(--step-lead);
  line-height: 1.35;
  max-width: 42ch;
  margin-bottom: clamp(2rem, 4vw, 3rem);
}

.kde__foot { font-size: var(--step-lead); line-height: 1.35; max-width: 48ch; margin-top: 2.5rem; }
.bars { display: grid; gap: 6px; }

.bar { background: var(--surface); }
.bar__h { margin: 0; font-weight: 400; }
.bar__head {
  width: 100%;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  min-height: 64px;
  padding: 1rem 1.25rem;
  cursor: pointer;
  list-style: none;
  transition: background-color var(--t-hover) var(--ease-out);
}
.bar__head:hover { background: #d2cab7; }
.bar__town { font-weight: 900; font-size: var(--step-lead); letter-spacing: -0.03em; }
.bar__n { font-weight: 900; font-size: var(--step-lead); font-variant-numeric: tabular-nums; }
.bar.is-open .bar__head { background: var(--accent); color: var(--accent-ink); }

.bar__panel { padding: 0.5rem 1.25rem 1.75rem; }
.bar__sum { font-weight: 500; font-size: var(--step-body); margin-bottom: 1.25rem; }

.places { display: grid; gap: 1.5rem; }
@media (min-width: 52em) { .places { grid-template-columns: 1fr 1fr; gap: 1.5rem 2.5rem; } }

.place { padding-top: 0.25rem; min-width: 0; overflow-wrap: anywhere; }
.place__head { display: flex; align-items: baseline; gap: 0.6rem; flex-wrap: wrap; min-width: 0; }
.place__name { font-size: var(--step-body); letter-spacing: -0.02em; }
.place__name a { text-decoration: none; }
.place__name a:hover { text-decoration: underline; text-underline-offset: 3px; }
.place__tag {
  font-size: var(--step-small);
  font-weight: 900;
  background: var(--accent);
  color: var(--accent-ink);
  padding: 0.15rem 0.45rem;
}
.place__where { font-size: var(--step-body); color: var(--muted); margin-top: 0.2rem; }
.place__order { font-size: var(--step-body); margin-top: 0.5rem; }
.place__order--none, .place__price--none { color: var(--muted); }
.place__price { font-size: var(--step-body); margin-top: 0.5rem; }
.place__price b { font-weight: 900; font-variant-numeric: tabular-nums; }
.place__price span { color: var(--muted); }
.place__note { font-size: var(--step-body); color: var(--muted); margin-top: 0.5rem; max-width: 46ch; }
.place__src { font-size: var(--step-small); margin-top: 0.5rem; }
.place__src a { text-underline-offset: 3px; }

/* ───────────────── gallery: prints dropped on the headline ─────────────────
   The blueprint puts the prints on top of the headline and asks them to hide
   half the letters. The house rule forbids anything lying on a heading, so the
   prints keep their tilt and their corners but are placed on the grid instead. */

.co {
  background: var(--coral);
  color: var(--coral-ink);
  min-height: 100svh;
  padding: clamp(3rem, 6vw, 5rem) var(--margin);
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-template-rows: auto auto auto;
  column-gap: var(--gutter);
  row-gap: clamp(1.5rem, 3vw, 3rem);
  align-content: center;
  overflow: hidden;
}

.co__title {
  grid-column: 3 / 11;
  grid-row: 2;
  text-align: center;
  align-self: center;
  font-size: clamp(3rem, 9vw, 9rem);
  line-height: 0.88;
  letter-spacing: -0.05em;
}
.co__title span { display: block; }

.print img, .print video {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  display: block;
  background: var(--surface);
}
.print figcaption { font-size: var(--step-small); margin-top: 0.5rem; }
.print { transition: transform 200ms var(--ease-out); }
.print:hover, .print:focus-within { transform: rotate(0deg); }

.print--1 { grid-column: 1 / 4;  grid-row: 1; transform: rotate(-7deg); }
.print--1, .print--2, .print--3, .print--4 { width: 76%; }
.print--2 { grid-column: 10 / 13; grid-row: 1; transform: rotate(5deg); justify-self: end; }
.print--4 { grid-column: 1 / 4;  grid-row: 3; transform: rotate(4deg); }
.print--3 { grid-column: 10 / 13; grid-row: 3; transform: rotate(-4deg); justify-self: end; }

.co__note {
  grid-column: 5 / 10;
  grid-row: 3;
  align-self: center;
  font-size: var(--step-body);
  font-weight: 500;
  max-width: 44ch;
}

/* ───────────────── about: side facts, wide paragraph ───────────────── */

.vieme { padding: var(--section) var(--margin); }

.vieme__row {
  display: grid;
  grid-template-columns: 34% 1fr;
  column-gap: var(--gutter);
  row-gap: 1.5rem;
}
.vieme__row--two { margin-top: clamp(4rem, 8vw, 7.5rem); }

.vieme__facts { display: grid; gap: 1.25rem; align-content: start; }
.vieme__facts dt { font-size: var(--step-small); color: var(--muted); }
.vieme__facts dd { font-size: var(--step-lead); font-weight: 900; letter-spacing: -0.03em; }

.vieme__lead { font-size: var(--step-lead); line-height: 1.35; max-width: 54ch; }

.vieme__word { font-size: var(--step-lead); font-weight: 900; letter-spacing: -0.03em; }
.vieme__lists { display: grid; gap: 2.5rem; }
@media (min-width: 46em) { .vieme__lists { grid-template-columns: 330px 300px; gap: 3.5rem; } }
.vieme__list li {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  font-size: var(--step-body);
  padding: 0.35rem 0;
}
.vieme__list i { font-style: normal; color: var(--muted); text-align: right; white-space: nowrap; }

/* ───────────────── footer: invitation over a cropped name ───────────────── */

.close {
  position: relative;
  background: var(--dark);
  color: var(--dark-ink);
  min-height: 100svh;
  padding: var(--section) var(--margin) 0;
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  column-gap: var(--gutter);
  align-content: start;
  overflow: hidden;
}

.close__inv { grid-column: 1 / 8; font-size: var(--step-head); }
.close > .btn { grid-column: 1 / 5; justify-self: start; margin-top: 2rem; }

  .close__links { }
.close__links {
  grid-column: 10 / 13;
  text-align: right;
  grid-row: 1;
  display: grid;
  gap: 0.6rem;
  align-content: start;
  font-size: var(--step-body);
}
.close__links a { text-underline-offset: 3px; }

.close__credits {
  grid-column: 1 / 9;
  margin-top: clamp(3rem, 7vw, 6rem);
  font-size: var(--step-small);
  line-height: 1.5;
  max-width: 64ch;
}
.close__meta { grid-column: 10 / 13; text-align: right; margin-top: clamp(3rem, 7vw, 6rem); font-size: var(--step-small); }

.close__word {
  grid-column: 1 / 13;
  margin-top: clamp(4rem, 10vw, 9rem);
  font-size: 29vw;
  font-weight: 900;
  line-height: 0.8;
  letter-spacing: -0.06em;
  white-space: nowrap;
  transform: translateY(26%);
  max-width: none;
}

/* ───────────────────────── motion ─────────────────────────
   The page is complete with the script off; `.anim` is added by the
   script itself and never under prefers-reduced-motion. */

.anim .reveal { opacity: 0; transform: translateY(26px); }
.anim .reveal.is-in {
  opacity: 1; transform: none;
  transition: opacity var(--t-reveal) var(--ease-expo), transform var(--t-reveal) var(--ease-expo);
  transition-delay: var(--d, 0ms);
}

/* the signature move: each hero line rises from behind its own baseline */
.anim .hero__title .line > span { transform: translateY(104%); }
.anim .hero__title.is-in .line > span { transform: none; transition: transform 900ms var(--ease-expo); }
.anim .hero__title.is-in .line:nth-child(2) > span { transition-delay: 110ms; }

.anim .hero__object { opacity: 0; transform: rotate(-5deg) translateY(40px) scale(0.96); }
.anim .hero__object.is-in {
  opacity: 1; transform: rotate(-5deg);
  transition: opacity 1000ms var(--ease-expo), transform 1000ms var(--ease-expo);
  transition-delay: 240ms;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .anim .reveal, .anim .hero__title .line > span { opacity: 1; transform: none; }
  .anim .hero__object { opacity: 1; transform: rotate(-5deg); }
}

/* ───────────────────────── tablet ───────────────────────── */

@media (max-width: 64em) {
  .cena__head { grid-column: 1 / 13; }
  .cena__intro p { grid-column: 1 / 13; }
  .cisla__head { grid-column: 1 / 13; grid-row: 1; }
  .tile--a { grid-column: 1 / 13; grid-row: 2; min-height: 54vh; }
  .tile--b { grid-column: 1 / 7; grid-row: 3; min-height: 36vh; }
  .tile--c { grid-column: 7 / 13; grid-row: 3; min-height: 36vh; margin-top: 2rem; }
  .close__inv { grid-column: 1 / 13; }
  .close__links { grid-column: 1 / 13; grid-row: auto; margin-top: 2.5rem; }
  .close__credits { grid-column: 1 / 13; }
  .close__meta { grid-column: 1 / 13; margin-top: 2rem; }
  .print--1 { width: 34vw; left: 6%; }
  .print--2 { width: 34vw; left: 44%; }
  .print--3 { display: none; }
  .co__note { grid-column: 4 / 11; }
}

/* ───────────────────────── phone ───────────────────────── */

@media (max-width: 48em) {
  :root { --section: clamp(4.5rem, 14vw, 6rem); }

  .masthead { gap: 0.75rem 1rem; }
  .masthead__nav { margin-left: 0; width: 100%; order: 3; flex-wrap: wrap; }
  .masthead__act { margin-left: auto; }

  .hero { min-height: auto; padding-bottom: 3rem; }
  .hero__title { font-size: 14vw; line-height: 0.9; }
  .hero__object { position: static; grid-column: 1 / 13; grid-row: 2; width: 70%; margin: 1.75rem 0 0 auto; transform: rotate(-4deg); }
  .hero__lead { grid-column: 1 / 13; grid-row: 3; }
  .hero > .btn { grid-column: 1 / 13; grid-row: 4; }
  .hero__fact { grid-column: 1 / 13; grid-row: 5; }
  .hero__lead { margin-top: 2rem; max-width: none; }

  .kolko__line { font-size: 11vw; white-space: normal; }
  .kolko__row { grid-template-columns: 1fr; }
  .kolko__object { width: 82%; transform: rotate(-3deg); }
  .kolko__facts { font-size: var(--step-body); }

  .stages { display: grid; min-height: 0; }
  .stage, .stage.is-open { width: 100%; }
  .stage { min-height: 64px; }
  .stage:not(.is-open) .stage__name { writing-mode: horizontal-tb; transform: none; margin-top: 0; }

  .cisla { gap: 6px; }
  .tile--a { min-height: 56vw; }
  .tile--b, .tile--c { min-height: 42vw; }
  .tile--b { grid-column: 1 / 7; }
  .tile--c { grid-column: 7 / 13; margin-top: 2rem; }
  .tile__fig { font-size: 13vw; }

  .kde__top { grid-template-columns: 1fr; }
  .kde__word { font-size: 40vw; }
  .kde__foot { font-size: var(--step-body); }

  .co {
    min-height: 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto;
    padding-top: clamp(8rem, 26vw, 12rem);
  }
  .co__title { grid-column: 1 / 3; grid-row: auto; font-size: 14vw; }
  .print--1 { grid-column: 1 / 2; grid-row: auto; }
  .print--2 { grid-column: 2 / 3; grid-row: auto; }
  .print--4 { grid-column: 1 / 2; grid-row: auto; }
  .print--3 { grid-column: 2 / 3; grid-row: auto; }
  .co__note { grid-column: 1 / 3; grid-row: auto; }


  .vieme__row { grid-template-columns: 1fr; }
  .vieme__facts { grid-template-columns: 1fr 1fr; }
  .vieme__lead { order: -1; font-size: 1.1875rem; }

  .close__word { font-size: 34vw; }
}

/* ───────────────── the live switch above the town bars ───────────────── */

.filter {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
  margin-bottom: 1.25rem;
}
.filter__btn {
  font-weight: 900;
  font-size: var(--step-body);
  letter-spacing: -0.02em;
  padding: 0.6rem 1.1rem;
  min-height: 48px;
  background: var(--surface);
  border-radius: var(--radius);
  transition: background-color var(--t-hover) var(--ease-out),
              color var(--t-hover) var(--ease-out),
              transform var(--t-press) var(--ease-out);
}
.filter__btn:hover { background: #d2cab7; }
.filter__btn:active { transform: translateY(1px); }
.filter__btn.is-on { background: var(--ink); color: var(--bg); }
.filter__out { margin-left: auto; font-size: var(--step-body); color: var(--muted); }

@media (max-width: 48em) {
  .filter__out { margin-left: 0; width: 100%; }
}
