/* Tastevio · site.css
   One stylesheet for index.html, shelf.html, bar.html and visit.html.
   Vocabulary: tv- prefix, plain nouns, BEM-style elements.

   Markup contract, in brief:
   Header   .tv-header > .tv-wrap.tv-header__inner > a.tv-wordmark (span.tv-wordmark__pl + span.tv-wordmark__name)
            + button.tv-menu-toggle[aria-controls=tv-nav][aria-expanded] (span.tv-menu-toggle__label)
            + nav.tv-nav#tv-nav > ul.tv-nav__list > li > a.tv-nav__link[aria-current=page]
   Hero     section.tv-hero(.tv-hero--home|.tv-hero--inner) > .tv-hero__frame
            > span.tv-reg.tv-reg--tl|tr|bl|br (x4) + .tv-hero__grid
            > .tv-hero__intro (p.tv-platemark, h1.tv-hero__title, p.tv-hero__lede)
            + figure.tv-plate.tv-plate--keyed.tv-hero__figure + .tv-hero__actions
   Plate    figure.tv-plate > svg.tv-plate__art.tv-art[viewBox] + ol.tv-plate__key + figcaption.tv-plate__caption
            SVG strokes: .tv-ink .tv-ink--fine .tv-hatch .tv-wash .tv-accent .tv-fill-bg .tv-dot .tv-dash
            Callouts: g.tv-plate__callout[data-callout=n] > path.tv-leader + circle.tv-leader-end
                      + text.tv-plate__label + g.tv-plate__num (circle + text)
   Split    section.tv-split(.tv-split--flip|--roomy|--snug|--top) > .tv-wrap.tv-split__grid
            > span.tv-split__num + figure.tv-split__figure + .tv-split__body
   Strip    section.tv-strip(.tv-strip--centre)[data-strip] > .tv-wrap > .tv-strip__head
            (... .tv-strip__controls > button.tv-btn.tv-strip__btn[data-strip-prev|next] + span.tv-strip__count)
            + ul.tv-strip__track > li.tv-strip__card[data-kind]
   Filter   .tv-filter[data-filter][data-filter-target=stripId] > button.tv-btn.tv-filter__btn[data-filter-value][aria-pressed]
   Ledger   ul.tv-ledger(.tv-ledger--tags) > li.tv-ledger__row > span.tv-ledger__name + span.tv-ledger__price (+ span.tv-ledger__note)
   Labels   ul.tv-labels > li.tv-label > span.tv-label__mark + div > p.tv-label__title + p.tv-label__text
   Facts    ul.tv-facts > li > span.tv-facts__key + span.tv-facts__val
   Footer   footer.tv-footer > .tv-wrap.tv-footer__inner
*/

/* ---------- Tokens ---------- */
:root {
  --ground: #F2E1D6;
  --panel: #EBCFC1;
  --text: #3A2118;
  --muted: #7B5244;
  --line: #B8806E;
  --accent: #1D6662;

  --mono: "American Typewriter", "Courier New", Courier, "Nimbus Mono PS", monospace;
  --serif: Georgia, "Times New Roman", Times, serif;

  --fs-xs: 0.75rem;
  --fs-sm: 0.8125rem;
  --fs-s: 0.875rem;
  --fs-body: 1.0625rem;
  --fs-lede: 1.25rem;
  --fs-h2: 1.625rem;
  --fs-h1: 2.125rem;
  --fs-display: 3rem;

  --gutter: clamp(0.875rem, 4vw, 2rem);
  --inset: var(--gutter);
  --maxw: 86rem;
  --gap: clamp(1rem, 2.4vw, 2.5rem);
  --header-h: 4.75rem;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  --tv-bg: var(--ground);
}

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

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  background: var(--ground);
  overflow-x: clip;
}

body {
  margin: 0;
  background: var(--ground);
  color: var(--text);
  font-family: var(--serif);
  font-size: var(--fs-body);
  font-weight: 400;
  line-height: 1.6;
  overflow-x: clip;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

img,
svg { display: block; max-width: 100%; }
svg { height: auto; }

[hidden] { display: none !important; }

h1, h2, h3, h4 {
  margin: 0;
  font-family: var(--mono);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.005em;
  color: var(--text);
  text-wrap: balance;
}
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-lede); }

p { margin: 0; text-wrap: pretty; }
p, li, dd, dt, td, th, figcaption { overflow-wrap: break-word; }
ul, ol { margin: 0; padding: 0; }
strong { font-weight: 600; }
em { font-style: italic; }

a {
  color: var(--accent);
  text-decoration-line: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.22em;
  transition: color 0.25s var(--ease), text-decoration-thickness 0.25s var(--ease);
}
a:hover { text-decoration-thickness: 2px; }

:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
::selection { background: #DDB09E; color: var(--text); }

.tv-vh {
  position: absolute !important;
  width: 1px; height: 1px;
  margin: -1px; padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.tv-skip {
  position: absolute;
  left: var(--gutter);
  top: 0.5rem;
  z-index: 50;
  padding: 0.6rem 1rem;
  background: var(--ground);
  border: 1px solid var(--text);
  font-family: var(--mono);
  font-size: var(--fs-sm);
  color: var(--text);
  transform: translateY(-160%);
  transition: transform 0.2s var(--ease);
}
.tv-skip:focus { transform: none; }

.tv-wrap {
  width: min(100% - 2 * var(--gutter), var(--maxw));
  margin-inline: auto;
}

/* ---------- Type helpers ---------- */
.tv-kicker {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  margin-bottom: 1rem;
  font-family: var(--mono);
  font-size: var(--fs-xs);
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}
.tv-kicker::before {
  content: "";
  flex: 0 0 1.5rem;
  border-top: 1px solid var(--line);
}

.tv-lede {
  font-size: var(--fs-lede);
  line-height: 1.5;
  max-width: 34ch;
}

.tv-prose { max-width: 62ch; }
.tv-prose > * + * { margin-top: 1em; }
.tv-prose--long { max-width: 66ch; }

.tv-muted { color: var(--muted); }

.tv-help {
  margin-top: 0.6rem;
  font-size: var(--fs-s);
  line-height: 1.55;
  color: var(--muted);
}

.tv-mono {
  font-family: var(--mono);
  letter-spacing: 0.04em;
}

/* ---------- Links and buttons ---------- */
.tv-link {
  display: inline-flex;
  align-items: baseline;
  gap: 0.55em;
  font-family: var(--mono);
  font-size: 0.9375rem;
  letter-spacing: 0.02em;
  color: var(--accent);
  text-decoration-color: rgba(29, 102, 98, 0.45);
}
.tv-link::after {
  content: "";
  display: inline-block;
  align-self: center;
  width: 0.42em;
  height: 0.42em;
  border-top: 1.5px solid currentColor;
  border-right: 1.5px solid currentColor;
  transform: rotate(45deg);
  transition: translate 0.3s var(--ease);
}
.tv-link:hover { text-decoration-color: var(--accent); }
.tv-link:hover::after { translate: 0.3em 0; }

.tv-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem 2rem;
}

.tv-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  width: auto;
  padding: 0.55rem 0.95rem;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 0;
  font-family: var(--mono);
  font-size: var(--fs-sm);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  line-height: 1.2;
  color: var(--text);
  cursor: pointer;
  transition: border-color 0.25s var(--ease), color 0.25s var(--ease);
}
.tv-btn:hover { border-color: var(--text); }
.tv-btn[aria-pressed="true"] {
  color: var(--accent);
  border-color: var(--accent);
  box-shadow: inset 0 -2px 0 var(--accent);
}
.tv-btn[aria-disabled="true"],
.tv-btn:disabled {
  color: var(--muted);
  border-color: rgba(184, 128, 110, 0.5);
  cursor: default;
  opacity: 0.55;
}

/* ---------- Header ---------- */
.tv-header {
  position: relative;
  z-index: 20;
  background: var(--ground);
}
.tv-header__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem 2rem;
  min-height: var(--header-h);
}

.tv-wordmark {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  color: var(--text);
  text-decoration: none;
  font-family: var(--mono);
}
.tv-wordmark__pl {
  padding: 0.15rem 0.38rem 0.1rem;
  border: 1px solid var(--line);
  font-size: var(--fs-xs);
  letter-spacing: 0.04em;
  color: var(--muted);
  transition: border-color 0.25s var(--ease), color 0.25s var(--ease);
}
.tv-wordmark__name {
  font-size: var(--fs-lede);
  font-weight: 600;
  letter-spacing: 0.01em;
}
.tv-wordmark:hover .tv-wordmark__pl { border-color: var(--accent); color: var(--accent); }

.tv-nav__list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 2.25rem;
  list-style: none;
}
.tv-nav__link {
  position: relative;
  display: inline-block;
  padding: 0.5rem 0;
  font-family: var(--mono);
  font-size: var(--fs-s);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--text);
}
.tv-nav__link::after {
  content: "";
  position: absolute;
  left: 0; right: 0;
  bottom: 0.2rem;
  border-top: 1px solid var(--accent);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.35s var(--ease);
}
.tv-nav__link:hover { color: var(--accent); }
.tv-nav__link:hover::after,
.tv-nav__link[aria-current="page"]::after { transform: scaleX(1); }
.tv-nav__link[aria-current="page"] { color: var(--accent); }

.tv-menu-toggle {
  display: none;
  align-items: center;
  gap: 0.6rem;
  padding: 0.5rem 0.8rem;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 0;
  font-family: var(--mono);
  font-size: var(--fs-sm);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text);
  cursor: pointer;
}
.tv-menu-toggle__bars {
  position: relative;
  width: 1rem;
  height: 7px;
  border-top: 1px solid currentColor;
  border-bottom: 1px solid currentColor;
  transition: transform 0.3s var(--ease);
}
.tv-menu-toggle[aria-expanded="true"] { border-color: var(--text); }
.tv-menu-toggle[aria-expanded="true"] .tv-menu-toggle__bars { transform: scaleY(0.4); }

@media (max-width: 760px) {
  :root { --header-h: 4rem; }

  .tv-nav__list { gap: 0.25rem 1.5rem; }

  .tv-js .tv-header__inner { flex-wrap: nowrap; }
  .tv-js .tv-menu-toggle { display: inline-flex; }

  .tv-js .tv-nav {
    position: absolute;
    left: 0; right: 0;
    top: 100%;
    display: grid;
    grid-template-rows: 0fr;
    visibility: hidden;
    background: var(--ground);
    border-bottom: 1px solid transparent;
    transition: grid-template-rows 0.4s var(--ease), border-color 0.4s var(--ease), visibility 0s linear 0.4s;
  }
  .tv-js .tv-nav.is-open {
    grid-template-rows: 1fr;
    visibility: visible;
    border-bottom-color: var(--line);
    transition: grid-template-rows 0.4s var(--ease), border-color 0.4s var(--ease), visibility 0s linear 0s;
  }
  .tv-js .tv-nav__list {
    flex-direction: column;
    flex-wrap: nowrap;
    gap: 0;
    min-height: 0;
    overflow: hidden;
    padding-inline: var(--gutter);
  }
  .tv-js .tv-nav__list li { border-top: 1px dotted var(--line); }
  .tv-js .tv-nav__list li:last-child { margin-bottom: 1rem; }
  .tv-js .tv-nav__link {
    display: block;
    padding: 1rem 0;
    font-size: var(--fs-body);
    transition: transform 0.3s var(--ease), color 0.25s var(--ease);
  }
  .tv-js .tv-nav__link::after { display: none; }
  .tv-js .tv-nav__link:hover { transform: translateX(6px); }
}

/* ---------- Hero and plate headers ---------- */
.tv-hero {
  padding: 0 var(--inset) var(--inset);
}
.tv-hero__frame {
  --tv-bg: var(--panel);
  position: relative;
  display: grid;
  align-items: center;
  min-height: calc(100vh - var(--header-h) - var(--inset));
  min-height: calc(100svh - var(--header-h) - var(--inset));
  padding: clamp(1.75rem, 4.5vw, 4.5rem) clamp(1.25rem, 4.5vw, 5rem);
  background: var(--panel);
  border: 1px solid var(--line);
}
.tv-hero--inner .tv-hero__frame {
  min-height: 0;
  padding-block: clamp(2rem, 5vw, 4.5rem);
}

/* registration marks, centred on each frame corner */
.tv-reg {
  position: absolute;
  width: 12px;
  height: 12px;
  border: 1px solid var(--text);
  border-radius: 50%;
  background: var(--ground);
  pointer-events: none;
}
.tv-reg::before,
.tv-reg::after {
  content: "";
  position: absolute;
  background: var(--text);
}
.tv-reg::before { left: 50%; top: -6px; bottom: -6px; width: 1px; transform: translateX(-0.5px); }
.tv-reg::after { top: 50%; left: -6px; right: -6px; height: 1px; transform: translateY(-0.5px); }
.tv-reg--tl { top: -6.5px; left: -6.5px; }
.tv-reg--tr { top: -6.5px; right: -6.5px; }
.tv-reg--bl { bottom: -6.5px; left: -6.5px; }
.tv-reg--br { bottom: -6.5px; right: -6.5px; }

.tv-hero__grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  grid-template-rows: 1fr auto auto 1fr;
  column-gap: var(--gap);
  width: 100%;
}
.tv-hero__figure {
  grid-column: 1 / 8;
  grid-row: 1 / 5;
  align-self: center;
  min-width: 0;
}
.tv-hero__intro {
  grid-column: 8 / 13;
  grid-row: 2;
  min-width: 0;
  padding-left: clamp(0rem, 2vw, 2.25rem);
}
.tv-hero__actions {
  grid-column: 8 / 13;
  grid-row: 3;
  min-width: 0;
  margin-top: 2.25rem;
  padding-left: clamp(0rem, 2vw, 2.25rem);
}
.tv-hero__actions .tv-tag { margin-top: 2rem; }

.tv-platemark {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem 0.7rem;
  margin-bottom: 1.5rem;
  font-family: var(--mono);
  font-size: var(--fs-sm);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}
.tv-platemark::before {
  content: "";
  flex: 0 0 1.75rem;
  border-top: 1px solid var(--text);
}

.tv-hero__title {
  font-size: var(--fs-display);
  line-height: 1;
  letter-spacing: -0.02em;
}
.tv-hero--inner .tv-hero__title {
  font-size: var(--fs-h1);
  line-height: 1.1;
  letter-spacing: -0.01em;
}
.tv-hero__lede {
  margin-top: 1.35rem;
  max-width: 30ch;
  font-size: var(--fs-lede);
  line-height: 1.45;
}
.tv-hero__text {
  margin-top: 1.25rem;
  max-width: 44ch;
  color: var(--text);
}
.tv-hero__text + .tv-hero__text { margin-top: 0.9rem; }

/* margin note set beside a plate, e.g. on the glass anatomy */
.tv-margin-note {
  position: relative;
  display: block;
  margin-top: 1.75rem;
  padding-left: 2.75rem;
  max-width: 28ch;
  font-family: var(--mono);
  font-size: var(--fs-sm);
  letter-spacing: 0.04em;
  line-height: 1.5;
  color: var(--muted);
}
.tv-margin-note::before {
  content: "";
  position: absolute;
  left: 0.55rem;
  top: 0.75em;
  width: 1.75rem;
  border-top: 1px solid var(--line);
}
.tv-margin-note::after {
  content: "";
  position: absolute;
  left: 0;
  top: calc(0.75em - 3.5px);
  width: 8px;
  height: 8px;
  border: 1px solid var(--text);
  border-radius: 50%;
  background: var(--tv-bg);
}

@media (max-width: 900px) {
  .tv-hero__frame { align-items: stretch; }
  .tv-hero__grid {
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: none;
    align-content: center;
    row-gap: 1.75rem;
  }
  .tv-hero__intro,
  .tv-hero__figure,
  .tv-hero__actions {
    grid-column: 1 / -1;
    grid-row: auto;
    padding-left: 0;
  }
  .tv-hero__actions { margin-top: 0; }
  .tv-hero__actions .tv-tag { margin-top: 1.5rem; }
  .tv-hero__title { font-size: clamp(var(--fs-h1), 7vw, var(--fs-display)); }
  .tv-hero__lede { max-width: 34ch; }
}

@media (max-width: 620px) {
  .tv-hero__frame { padding: 1.75rem 1.1rem 1.5rem; }
  .tv-hero__title { font-size: var(--fs-h1); }
  .tv-hero--inner .tv-hero__title { font-size: 1.75rem; }
  .tv-hero__lede { margin-top: 1rem; font-size: 1.125rem; }
  .tv-platemark { margin-bottom: 1.1rem; font-size: var(--fs-xs); }
}

/* ---------- Plates: the drawings ---------- */
.tv-plate { margin: 0; min-width: 0; }

.tv-art,
.tv-plate__art {
  display: block;
  width: 100%;
  height: auto;
  max-width: 100%;
  overflow: visible;
}
.tv-hero__figure .tv-plate__art { max-height: min(38.75rem, 74vh); max-height: min(38.75rem, 74svh); }
.tv-split__figure .tv-plate__art { max-height: 34rem; }

/* stroke rules shared by every drawing on the site */
.tv-ink {
  fill: none;
  stroke: var(--text);
  stroke-width: 1.25;
  stroke-linecap: round;
  stroke-linejoin: round;
  vector-effect: non-scaling-stroke;
}
.tv-ink--fine { stroke-width: 0.85; }
.tv-ink--heavy { stroke-width: 1.75; }
.tv-hatch {
  fill: none;
  stroke: var(--text);
  stroke-width: 0.6;
  stroke-linecap: round;
  opacity: 0.72;
  vector-effect: non-scaling-stroke;
}
.tv-wash { fill: var(--line); fill-opacity: 0.15; stroke: none; }
.tv-wash--deep { fill-opacity: 0.28; }
.tv-fill-bg { fill: var(--tv-bg); }
.tv-dot { fill: var(--text); stroke: none; }
.tv-dash { stroke-dasharray: 2 5; }
.tv-dash--long { stroke-dasharray: 7 6; }
.tv-accent {
  fill: none;
  stroke: var(--accent);
  stroke-width: 1.4;
  stroke-linecap: round;
  stroke-linejoin: round;
  vector-effect: non-scaling-stroke;
}
.tv-clay { fill: none; stroke: var(--line); stroke-width: 1; vector-effect: non-scaling-stroke; }

.tv-leader {
  fill: none;
  stroke: var(--text);
  stroke-width: 0.75;
  stroke-linecap: round;
  vector-effect: non-scaling-stroke;
  transition: stroke 0.25s var(--ease);
}
.tv-leader-end {
  fill: var(--tv-bg);
  stroke: var(--text);
  stroke-width: 0.9;
  vector-effect: non-scaling-stroke;
  transition: stroke 0.25s var(--ease);
}

.tv-plate__label {
  font-family: var(--mono);
  font-size: var(--tv-label, 13px);
  letter-spacing: 0.04em;
  fill: var(--text);
  transition: fill 0.25s var(--ease);
}
.tv-plate__label--end { text-anchor: end; }
.tv-plate__label--mid { text-anchor: middle; }
.tv-plate__label--muted { fill: var(--muted); }
.tv-plate__label--small { font-size: calc(var(--tv-label, 13px) * 0.85); }

/* numbered markers replace label text on keyed plates at phone widths */
.tv-plate__num { display: none; }
.tv-plate__num circle {
  fill: var(--tv-bg);
  stroke: var(--text);
  stroke-width: 1;
  vector-effect: non-scaling-stroke;
}
.tv-plate__num text {
  font-family: var(--mono);
  font-size: var(--tv-num, 24px);
  font-weight: 600;
  fill: var(--text);
  text-anchor: middle;
  dominant-baseline: central;
}

.tv-plate__callout.is-lit .tv-leader,
.tv-plate__callout.is-lit .tv-leader-end,
.tv-plate__callout.is-lit .tv-plate__num circle { stroke: var(--accent); }
.tv-plate__callout.is-lit .tv-plate__label,
.tv-plate__callout.is-lit .tv-plate__num text { fill: var(--accent); }

.tv-plate__key {
  display: none;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.55rem 1rem;
  margin-top: 1rem;
  padding-top: 0.9rem;
  border-top: 1px dotted var(--line);
  list-style: none;
  counter-reset: tv-key;
  font-family: var(--mono);
  font-size: var(--fs-xs);
  letter-spacing: 0.04em;
  line-height: 1.4;
}
.tv-plate__key li {
  position: relative;
  min-width: 0;
  padding-left: 1.85rem;
  counter-increment: tv-key;
  transition: color 0.25s var(--ease);
}
.tv-plate__key li::before {
  content: counter(tv-key);
  position: absolute;
  left: 0;
  top: -0.1rem;
  display: grid;
  place-items: center;
  width: 1.35rem;
  height: 1.35rem;
  border: 1px solid var(--text);
  border-radius: 50%;
  font-weight: 600;
  font-size: 0.6875rem;
  transition: border-color 0.25s var(--ease), color 0.25s var(--ease);
}
.tv-plate__key li.is-lit { color: var(--accent); }
.tv-plate__key li.is-lit::before { border-color: var(--accent); }

@media (max-width: 620px) {
  .tv-plate--keyed .tv-plate__label { display: none; }
  .tv-plate--keyed .tv-plate__num { display: inline; }
  .tv-plate--keyed .tv-plate__key { display: grid; }
}

.tv-plate__caption {
  display: flex;
  align-items: baseline;
  gap: 0.75rem;
  margin-top: 1.1rem;
  font-family: var(--mono);
  font-size: var(--fs-xs);
  letter-spacing: 0.04em;
  line-height: 1.45;
  color: var(--muted);
}
.tv-plate__caption::before {
  content: "";
  flex: 0 0 1.5rem;
  border-top: 1px solid var(--line);
  transform: translateY(-0.25em);
}

/* ---------- Specimen tag ---------- */
.tv-tag {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.6rem 1rem 0.55rem 1.85rem;
  border: 1px solid var(--text);
  background: var(--ground);
  font-family: var(--mono);
  font-size: var(--fs-sm);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  line-height: 1.2;
  color: var(--text);
}
.tv-tag::before {
  content: "";
  position: absolute;
  left: 0.6rem;
  top: 50%;
  width: 7px;
  height: 7px;
  margin-top: -3.5px;
  border: 1px solid var(--text);
  border-radius: 50%;
  background: var(--tv-bg);
}
.tv-tag::after {
  content: "";
  position: absolute;
  right: calc(100% - 0.85rem);
  top: 50%;
  width: 1.6rem;
  border-top: 1px solid var(--line);
  transform: rotate(-24deg);
  transform-origin: right center;
}
.tv-tag__state {
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--text);
}

/* ---------- Split sections ---------- */
.tv-split__grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: var(--gap);
  align-items: center;
  padding-block: clamp(3.5rem, 8vw, 7.5rem);
  border-top: 1px solid var(--line);
}
.tv-split:first-of-type .tv-split__grid { border-top-color: transparent; }
.tv-split--roomy .tv-split__grid { padding-block: clamp(4.5rem, 11vw, 10rem); }
.tv-split--snug .tv-split__grid { padding-block: clamp(2.75rem, 5.5vw, 5rem); }
.tv-split--top .tv-split__grid { align-items: start; }
.tv-hero + .tv-split .tv-split__grid { border-top-color: transparent; padding-top: clamp(3rem, 6vw, 5.5rem); }

.tv-split__num {
  position: absolute;
  top: 0;
  left: 0;
  padding: 0 0.85rem 0 0;
  transform: translateY(-50%);
  background: var(--ground);
  font-family: var(--mono);
  font-size: var(--fs-xs);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  line-height: 1.6;
  color: var(--muted);
}
.tv-split--flip .tv-split__num { left: auto; right: 0; padding: 0 0 0 0.85rem; }

.tv-split__figure {
  grid-column: 1 / 8;
  grid-row: 1;
  margin: 0;
  min-width: 0;
}
.tv-split__body {
  grid-column: 8 / 13;
  grid-row: 1;
  min-width: 0;
  padding-left: clamp(0rem, 3vw, 3.5rem);
}
.tv-split--flip .tv-split__figure { grid-column: 6 / 13; }
.tv-split--flip .tv-split__body {
  grid-column: 1 / 6;
  padding-left: 0;
  padding-right: clamp(0rem, 3vw, 3.5rem);
}

.tv-split__title {
  position: relative;
  margin-bottom: 1.35rem;
  font-size: var(--fs-h2);
}
.tv-split__body > p { max-width: 62ch; }
.tv-split__body > p + p { margin-top: 1em; }
.tv-split__body > .tv-lede + p { margin-top: 1.25rem; }
.tv-split__body > .tv-ledger,
.tv-split__body > .tv-facts,
.tv-split__body > .tv-inline,
.tv-split__body > .tv-hours-wrap { margin-top: 1.75rem; }
.tv-split__body > .tv-links,
.tv-split__body > .tv-link { margin-top: 2rem; }
.tv-split__body > .tv-note { margin-top: 0.5rem; }

@media (min-width: 901px) {
  .tv-split__title::before {
    content: "";
    position: absolute;
    top: 0.6em;
    right: calc(100% + 0.9rem);
    width: clamp(2.5rem, 5vw, 5.5rem);
    border-top: 1px solid var(--line);
  }
  .tv-split__title::after {
    content: "";
    position: absolute;
    top: calc(0.6em - 4px);
    right: calc(100% + 0.9rem + clamp(2.5rem, 5vw, 5.5rem));
    width: 8px;
    height: 8px;
    border: 1px solid var(--text);
    border-radius: 50%;
    background: var(--ground);
  }
  .tv-split--flip .tv-split__title::before { right: auto; left: calc(100% + 0.9rem); }
  .tv-split--flip .tv-split__title::after { right: auto; left: calc(100% + 0.9rem + clamp(2.5rem, 5vw, 5.5rem)); }
}

@media (max-width: 900px) {
  .tv-split__grid {
    grid-template-columns: minmax(0, 1fr);
    row-gap: 2.25rem;
    padding-block: clamp(3.25rem, 10vw, 4.5rem);
  }
  .tv-split--roomy .tv-split__grid { padding-block: clamp(3.75rem, 12vw, 5.5rem); }
  .tv-split__figure,
  .tv-split--flip .tv-split__figure,
  .tv-split__body,
  .tv-split--flip .tv-split__body {
    grid-column: 1 / -1;
    grid-row: auto;
    padding: 0;
  }
  .tv-split__figure .tv-plate__art { max-height: none; }
  .tv-split--flip .tv-split__num { left: 0; right: auto; padding: 0 0.85rem 0 0; }
}

/* ---------- Ledger: prices on dotted leaders ---------- */
.tv-ledger {
  list-style: none;
  border-top: 1px solid var(--line);
}
.tv-ledger__row {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0 0.6rem;
  padding: 0.75rem 0;
  border-bottom: 1px solid rgba(184, 128, 110, 0.45);
}
.tv-ledger__name {
  order: 0;
  min-width: 0;
  flex: 0 1 auto;
  line-height: 1.4;
}
.tv-ledger__row::after {
  content: "";
  order: 1;
  flex: 1 1 1.5rem;
  min-width: 1.5rem;
  border-bottom: 1px dotted var(--text);
  opacity: 0.55;
  transform: translateY(-0.28em);
}
.tv-ledger__price {
  order: 2;
  flex: 0 0 auto;
  font-family: var(--mono);
  font-size: var(--fs-body);
  font-weight: 600;
  letter-spacing: 0.02em;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.tv-ledger__note {
  order: 3;
  flex: 0 0 100%;
  margin-top: 0.25rem;
  font-size: var(--fs-s);
  line-height: 1.5;
  color: var(--muted);
}

/* the bar's ledger, each line a hung specimen label */
.tv-ledger--tags { border-top: 0; display: grid; gap: 0.65rem; }
.tv-ledger--tags .tv-ledger__row {
  position: relative;
  padding: 0.85rem 1.1rem 0.8rem 2.1rem;
  border: 1px solid var(--line);
  background: var(--ground);
}
.tv-ledger--tags .tv-ledger__row::before {
  content: "";
  position: absolute;
  left: 0.75rem;
  top: 1.35rem;
  width: 7px;
  height: 7px;
  border: 1px solid var(--text);
  border-radius: 50%;
}
.tv-ledger--tags .tv-ledger__name {
  font-family: var(--mono);
  font-size: var(--fs-s);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* ---------- Strips: snap drawers of specimen cards ---------- */
.tv-strip {
  --tv-bg: var(--panel);
  --card-w: clamp(13.5rem, 68vw, 16.5rem);
  padding-block: clamp(3rem, 6.5vw, 5.5rem);
  background: var(--panel);
  border-block: 1px solid var(--line);
}
.tv-strip--centre { --card-w: clamp(15rem, 76vw, 20rem); }

.tv-strip__head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.25rem 2.5rem;
  margin-bottom: clamp(1.5rem, 3vw, 2.25rem);
}
.tv-strip__heading { font-size: var(--fs-h2); }
.tv-strip__sub {
  margin-top: 0.6rem;
  max-width: 52ch;
  font-size: var(--fs-s);
  color: var(--muted);
}
.tv-strip__controls {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}
.tv-strip__count {
  min-width: 5.5ch;
  margin: 0 0.4rem;
  font-family: var(--mono);
  font-size: var(--fs-sm);
  font-weight: 600;
  letter-spacing: 0.06em;
  font-variant-numeric: tabular-nums;
  color: var(--accent);
  text-align: center;
}
.tv-strip__btn { padding: 0.5rem 0.8rem; }
.tv-strip__btn .tv-chev { display: block; width: 0.8rem; height: auto; }

.tv-strip .tv-filter { margin-bottom: 1.5rem; }

.tv-strip__track {
  --edge: max(var(--gutter), (100% - var(--maxw)) / 2);
  position: relative;
  display: flex;
  align-items: stretch;
  gap: clamp(0.75rem, 1.4vw, 1.25rem);
  margin: 0;
  padding: 0.35rem var(--edge) 1.5rem;
  list-style: none;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: var(--edge);
  scrollbar-width: thin;
  scrollbar-color: var(--line) transparent;
  -webkit-overflow-scrolling: touch;
}
.tv-strip--centre .tv-strip__track {
  --edge: max(var(--gutter), 50% - var(--card-w) / 2);
}
.tv-strip__track:focus-visible { outline: 2px solid var(--accent); outline-offset: -2px; }
.tv-strip__track::-webkit-scrollbar { height: 6px; }
.tv-strip__track::-webkit-scrollbar-thumb { background: var(--line); }
.tv-strip__track::-webkit-scrollbar-track { background: transparent; }

.tv-strip__card {
  position: relative;
  display: flex;
  flex-direction: column;
  flex: 0 0 var(--card-w);
  min-width: 0;
  padding: 1.15rem 1.2rem 1rem;
  background: var(--ground);
  border: 1px solid var(--line);
  scroll-snap-align: start;
  transition: border-color 0.3s var(--ease);
}
.tv-strip--centre .tv-strip__card { scroll-snap-align: center; padding: 1.4rem 1.4rem 1.2rem; }
.tv-strip__card:hover { border-color: var(--text); }
.tv-strip--centre .tv-strip__card.is-current { border-color: var(--text); }

.tv-card__top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--mono);
  font-size: var(--fs-xs);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}
.tv-card__kind {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: var(--text);
}
.tv-card__swatch {
  display: inline-block;
  width: 9px;
  height: 9px;
  border: 1px solid var(--text);
  border-radius: 50%;
}
[data-kind~="red"] .tv-card__swatch { background: var(--text); }
[data-kind~="pink"] .tv-card__swatch { background: var(--line); }
[data-kind~="white"] .tv-card__swatch { background: transparent; }
[data-kind~="sparkling"] .tv-card__swatch { border-style: dotted; border-width: 2px; }

.tv-card__figure {
  display: grid;
  place-items: center;
  margin: 0.9rem 0 1rem;
  padding: 0.75rem 0 1rem;
  border-bottom: 1px dotted var(--line);
}
.tv-card__bottle {
  width: min(100%, 3.25rem);
  height: auto;
}
.tv-card__bottle .tv-ink { transition: stroke 0.3s var(--ease); }

.tv-card__pour {
  display: flex;
  align-items: baseline;
  gap: 0.6rem;
  margin: 1rem 0 1.1rem;
  padding-bottom: 1rem;
  border-bottom: 1px dotted var(--line);
  font-family: var(--mono);
  font-size: var(--fs-display);
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.02em;
}
.tv-card__pour small {
  font-size: var(--fs-xs);
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

.tv-card__variety {
  font-family: var(--mono);
  font-size: var(--fs-lede);
  font-weight: 600;
  line-height: 1.2;
  text-wrap: balance;
}
.tv-card__maker {
  margin-top: 0.3rem;
  font-size: var(--fs-s);
  line-height: 1.45;
}
.tv-card__area {
  margin-top: 0.35rem;
  font-size: var(--fs-s);
  font-style: italic;
  line-height: 1.45;
  color: var(--muted);
}
.tv-card__vintage {
  margin-top: 0.7rem;
  font-family: var(--mono);
  font-size: var(--fs-xs);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}
.tv-card__note {
  margin-top: 0.7rem;
  font-size: var(--fs-s);
  line-height: 1.5;
}
.tv-card__price {
  margin-top: auto;
  padding-top: 1.1rem;
  padding-bottom: 0;
  border-bottom: 0;
}
.tv-card__price .tv-ledger__name {
  font-family: var(--mono);
  font-size: var(--fs-xs);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}

.tv-strip__empty {
  margin: 0 var(--gutter);
  padding: 2rem 0;
  font-family: var(--mono);
  font-size: var(--fs-sm);
  color: var(--muted);
}

@keyframes tv-card-in {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: none; }
}
.tv-strip__card.is-entering {
  animation: tv-card-in 0.45s var(--ease) both;
  animation-delay: var(--tv-delay, 0ms);
}

/* controls only work with the script, so they wait for it */
html:not(.tv-js) .tv-strip__btn,
html:not(.tv-js) .tv-filter { display: none; }

/* ---------- Filter ---------- */
.tv-filter {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
}
.tv-filter__label {
  margin-right: 0.5rem;
  font-family: var(--mono);
  font-size: var(--fs-xs);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ---------- Specimen label blocks ---------- */
.tv-specimen { padding-block: clamp(3.5rem, 8vw, 6.5rem); }
.tv-specimen__frame {
  --tv-bg: var(--panel);
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: var(--gap);
  row-gap: 2rem;
  padding: clamp(1.5rem, 4vw, 3.5rem);
  background: var(--panel);
  border: 1px solid var(--line);
  outline: 1px solid var(--line);
  outline-offset: 5px;
}
.tv-specimen__head { grid-column: 1 / 5; min-width: 0; }
.tv-specimen__head h2 { font-size: var(--fs-h2); }
.tv-specimen__head p {
  margin-top: 1rem;
  max-width: 34ch;
  font-size: var(--fs-s);
  color: var(--muted);
}
.tv-specimen__body { grid-column: 5 / 13; min-width: 0; }

.tv-labels {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 var(--gap);
  list-style: none;
}
.tv-label {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 0.9rem;
  padding: 1.1rem 0 1.15rem;
  border-top: 1px solid var(--line);
  transition: transform 0.35s var(--ease);
}
.tv-label__mark {
  position: relative;
  width: 2rem;
  height: 1.3rem;
}
.tv-label__mark::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55rem;
  width: 1.4rem;
  border-top: 1px solid var(--line);
  transition: border-color 0.3s var(--ease), width 0.35s var(--ease);
}
.tv-label__mark::after {
  content: "";
  position: absolute;
  left: 1.4rem;
  top: calc(0.55rem - 4px);
  width: 8px;
  height: 8px;
  border: 1px solid var(--text);
  border-radius: 50%;
  background: var(--tv-bg);
  transition: border-color 0.3s var(--ease);
}
.tv-label__no {
  display: block;
  margin-bottom: 0.2rem;
  font-family: var(--mono);
  font-size: var(--fs-xs);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}
.tv-label__title {
  font-family: var(--mono);
  font-size: var(--fs-body);
  font-weight: 600;
  line-height: 1.35;
  color: var(--text);
  transition: color 0.3s var(--ease);
}
.tv-label__text {
  margin-top: 0.35rem;
  font-size: var(--fs-s);
  line-height: 1.55;
  color: var(--muted);
  transition: color 0.3s var(--ease);
}

@media (hover: hover) {
  .tv-label:hover { transform: translateX(6px); }
  .tv-label:hover .tv-label__text { color: var(--text); }
  .tv-label:hover .tv-label__mark::before { border-color: var(--accent); }
  .tv-label:hover .tv-label__mark::after { border-color: var(--accent); }
}

@media (max-width: 900px) {
  .tv-specimen__head,
  .tv-specimen__body { grid-column: 1 / -1; }
}
@media (max-width: 620px) {
  .tv-labels { grid-template-columns: minmax(0, 1fr); }
}

/* ---------- Practical facts list ---------- */
.tv-facts { list-style: none; border-top: 1px solid var(--line); }
.tv-facts > li {
  display: grid;
  grid-template-columns: minmax(7rem, 11rem) minmax(0, 1fr);
  gap: 0.35rem 1.5rem;
  padding: 1rem 0;
  border-bottom: 1px dotted var(--line);
  transition: transform 0.35s var(--ease);
}
.tv-facts__key {
  font-family: var(--mono);
  font-size: var(--fs-xs);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  line-height: 1.9;
  color: var(--muted);
  transition: color 0.3s var(--ease);
}
.tv-facts__val { min-width: 0; line-height: 1.55; }
@media (hover: hover) {
  .tv-facts > li:hover { transform: translateX(6px); }
  .tv-facts > li:hover .tv-facts__key { color: var(--accent); }
}
@media (max-width: 620px) {
  .tv-facts > li { grid-template-columns: minmax(0, 1fr); }
}

.tv-practical { padding-block: clamp(3rem, 7vw, 6rem); }
.tv-practical__grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: var(--gap);
  row-gap: 1.75rem;
  padding-top: clamp(2.5rem, 5vw, 4rem);
  border-top: 1px solid var(--line);
}
.tv-practical__head { grid-column: 1 / 5; min-width: 0; }
.tv-practical__body { grid-column: 6 / 13; min-width: 0; }
@media (max-width: 900px) {
  .tv-practical__head,
  .tv-practical__body { grid-column: 1 / -1; }
}

/* inline run of place names, separated by middle dots */
.tv-inline {
  display: flex;
  flex-wrap: wrap;
  gap: 0.3rem 0;
  list-style: none;
  font-family: var(--mono);
  font-size: var(--fs-s);
  letter-spacing: 0.04em;
}
.tv-inline li + li::before {
  content: "\00B7";
  padding: 0 0.6rem;
  color: var(--line);
}

/* ---------- Hours ledger table ---------- */
.tv-hours-wrap {
  max-width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
.tv-hours {
  width: 100%;
  min-width: 20rem;
  border-collapse: collapse;
  font-family: var(--mono);
  font-size: 0.9375rem;
  letter-spacing: 0.02em;
}
.tv-hours caption {
  caption-side: top;
  padding-bottom: 0.9rem;
  text-align: left;
  font-size: var(--fs-xs);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}
.tv-hours th,
.tv-hours td {
  padding: 0.85rem 1rem 0.85rem 0;
  text-align: left;
  vertical-align: baseline;
  border-bottom: 1px dotted var(--line);
}
.tv-hours thead th {
  padding-top: 0;
  font-size: var(--fs-xs);
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  border-bottom: 1px solid var(--line);
}
.tv-hours tbody th { font-weight: 600; white-space: nowrap; }
.tv-hours td:last-child { padding-right: 0; }
.tv-hours__time { white-space: nowrap; font-variant-numeric: tabular-nums; }
.tv-hours__note {
  display: block;
  margin-top: 0.2rem;
  font-size: var(--fs-xs);
  letter-spacing: 0.04em;
  color: var(--muted);
}
.tv-hours__closed th,
.tv-hours__closed td { color: var(--muted); font-weight: 400; }

/* ---------- Hana's note ---------- */
.tv-note {
  position: relative;
  padding: clamp(1.75rem, 3.5vw, 2.5rem) clamp(1.35rem, 3vw, 2.25rem) clamp(1.5rem, 3vw, 2rem);
  background: var(--panel);
  border: 1px solid var(--line);
  transform: rotate(-0.6deg);
}
.tv-note::before {
  content: "";
  position: absolute;
  left: 50%;
  top: -7px;
  width: 14px;
  height: 14px;
  margin-left: -7px;
  border: 1px solid var(--text);
  border-radius: 50%;
  background: var(--ground);
}
.tv-note::after {
  content: "";
  position: absolute;
  left: 50%;
  top: -1px;
  width: 3px;
  height: 3px;
  margin-left: -1.5px;
  border-radius: 50%;
  background: var(--text);
}
.tv-note p {
  font-size: 1.125rem;
  line-height: 1.6;
  max-width: 52ch;
}
.tv-note p + p { margin-top: 0.9em; }
.tv-note__sign {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-top: 1.25rem;
  font-family: var(--mono);
  font-size: var(--fs-body);
  font-weight: 600;
  letter-spacing: 0.04em;
}
.tv-note__sign::before {
  content: "";
  width: 1.75rem;
  border-top: 1px solid var(--text);
}
.tv-note__date {
  display: block;
  margin-bottom: 1rem;
  font-family: var(--mono);
  font-size: var(--fs-xs);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ---------- Contact ---------- */
.tv-contact { margin-top: 1.75rem; }
.tv-email {
  display: inline-block;
  max-width: 100%;
  font-family: var(--mono);
  font-size: clamp(1.375rem, 4.6vw, 2.125rem);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: 0.01em;
  color: var(--accent);
  overflow-wrap: anywhere;
  text-underline-offset: 0.18em;
}
.tv-contact__help {
  margin-top: 0.85rem;
  font-size: var(--fs-s);
  color: var(--muted);
}

/* ---------- Footer: a plate caption ---------- */
.tv-footer {
  margin-top: clamp(1rem, 4vw, 3rem);
  padding-block: clamp(2.5rem, 5vw, 4rem) clamp(2rem, 4vw, 3rem);
  border-top: 1px solid var(--line);
}
.tv-footer__inner {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: var(--gap);
  row-gap: 1.75rem;
  align-items: start;
}
.tv-footer__caption { grid-column: 1 / 6; min-width: 0; }
.tv-footer__plate {
  display: block;
  margin-bottom: 0.6rem;
  font-family: var(--mono);
  font-size: var(--fs-xs);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}
.tv-footer__text {
  max-width: 40ch;
  font-size: var(--fs-s);
  font-style: italic;
  line-height: 1.55;
}
.tv-footer__contact { grid-column: 6 / 9; min-width: 0; }
.tv-footer__email {
  font-family: var(--mono);
  font-size: var(--fs-body);
  letter-spacing: 0.02em;
  overflow-wrap: anywhere;
}
.tv-footer__place {
  margin-top: 0.4rem;
  font-family: var(--mono);
  font-size: var(--fs-xs);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}
.tv-footer__nav { grid-column: 9 / 11; min-width: 0; }
.tv-footer__nav ul { list-style: none; display: grid; gap: 0.35rem; }
.tv-footer__nav a {
  display: inline-block;
  font-family: var(--mono);
  font-size: var(--fs-sm);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--text);
  transition: transform 0.3s var(--ease), color 0.25s var(--ease);
}
.tv-footer__nav a:hover { color: var(--accent); transform: translateX(5px); }
.tv-footer__copy {
  grid-column: 11 / 13;
  min-width: 0;
  font-family: var(--mono);
  font-size: var(--fs-xs);
  letter-spacing: 0.06em;
  color: var(--muted);
  text-align: right;
}
@media (max-width: 900px) {
  .tv-footer__caption { grid-column: 1 / -1; }
  .tv-footer__contact { grid-column: 1 / 8; }
  .tv-footer__nav { grid-column: 8 / -1; }
  .tv-footer__copy { grid-column: 1 / -1; text-align: left; padding-top: 1rem; border-top: 1px dotted var(--line); }
}
@media (max-width: 520px) {
  .tv-footer__contact,
  .tv-footer__nav { grid-column: 1 / -1; }
  .tv-footer__nav ul { grid-auto-flow: column; justify-content: start; gap: 1.5rem; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    transition-delay: 0ms !important;
    scroll-behavior: auto !important;
  }
  .tv-label:hover,
  .tv-facts > li:hover,
  .tv-footer__nav a:hover { transform: none; }
}

@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}