/* Festival Nádvoří — zvuk odražený od kamenných zdí, letní noc
   Plakátová typografie (Anybody, proměnná šířka i řez), tlumený kámen + jedna barva ročníku */

@property --accent { syntax: '<color>'; inherits: true; initial-value: #ff4a1c; }

:root {
  --accent: #ff4a1c;
  --stone: #d7d1c7;
  --stone-2: #cac3b7;
  --ink: #1b1916;
  --mute: #6a6359;
  --night: #151311;
  --night-2: #211e1a;
  --paper-n: #ece6dc;
  --mute-n: #a59c8f;
  --line: rgba(27, 25, 22, .22);
  --line-n: rgba(236, 230, 220, .16);
  --pad: clamp(16px, 3.2vw, 48px);
  --display: 'Anybody', 'Arial Narrow', Impact, sans-serif;
  --text: 'Instrument Sans', 'Helvetica Neue', Arial, sans-serif;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --hd-h: 60px;
  transition: --accent .9s var(--ease);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--hd-h); -webkit-text-size-adjust: 100%; }
body {
  margin: 0; color: var(--ink); font: 400 17px/1.5 var(--text);
  background-color: var(--stone);
  /* jemná kamenná textura */
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 .09 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
h1, h2, h3, p, ol, ul, dl, dd, figure { margin: 0; padding: 0; }
ol, ul { list-style: none; }
::selection { background: var(--accent); color: var(--ink); }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.skip { position: fixed; top: -60px; left: 12px; z-index: 100; background: var(--ink); color: var(--stone); padding: 8px 12px; }
.skip:focus { top: 12px; }
.eyebrow { font: 600 12px/1.2 var(--text); letter-spacing: .14em; text-transform: uppercase; }
.night { background: var(--night); color: var(--paper-n); }
.accent { background: var(--accent); color: var(--ink); }
@media (max-width: 700px) { .hide-sm { display: none; } }

.btn {
  display: inline-flex; align-items: center; gap: 12px; background: var(--ink); color: var(--stone);
  padding: 16px 24px; font: 700 15px var(--text); letter-spacing: .04em; text-transform: uppercase;
  transition: background-color .25s, color .25s, transform .15s;
}
.btn span { transition: transform .35s var(--ease); }
.btn:hover { background: var(--accent); color: var(--ink); }
.btn:hover span { transform: translateX(5px); }
.btn:active { transform: scale(.97); }

/* ---------- Hlavička ---------- */
.hd {
  position: fixed; inset: 0 0 auto; z-index: 50; height: var(--hd-h); display: flex; align-items: center; gap: 28px;
  padding: 0 var(--pad); background: rgba(215, 209, 199, .92); border-bottom: 1.5px solid var(--ink);
}
.logo { font: 850 22px/1 var(--display); font-variation-settings: 'wdth' 80; text-transform: uppercase; letter-spacing: -.01em; margin-right: auto; }
.logo span { color: var(--accent); }
.nav { display: flex; gap: 24px; font: 600 13px var(--text); letter-spacing: .1em; text-transform: uppercase; }
.nav a { position: relative; padding: 4px 0; }
.nav a::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: var(--accent); transform: scaleX(0); transform-origin: right; transition: transform .4s var(--ease); }
.nav a:hover::after, .nav a.is-active::after { transform: scaleX(1); transform-origin: left; }
.hd-cta { background: var(--accent); padding: 10px 16px; font: 700 13px var(--text); letter-spacing: .1em; text-transform: uppercase; border: 1.5px solid var(--ink); transition: background-color .2s, color .2s; }
.hd-cta:hover { background: var(--ink); color: var(--stone); }
.menu-btn { display: none; font: 700 13px var(--text); letter-spacing: .1em; text-transform: uppercase; }
.menu { position: fixed; inset: var(--hd-h) 0 0; z-index: 45; background: var(--accent); padding: 24px var(--pad); }
.menu[hidden] { display: none; }
.menu nav { display: grid; }
.menu a { font: 850 clamp(48px, 14vw, 80px)/1.05 var(--display); font-variation-settings: 'wdth' 70; text-transform: uppercase; border-bottom: 1.5px solid var(--ink); padding: 6px 0; }
@media (max-width: 860px) { .nav { display: none; } .menu-btn { display: block; } .hd { gap: 14px; } }

/* ---------- Hero ---------- */
.hero { min-height: 100svh; padding: calc(var(--hd-h) + 18px) var(--pad) 28px; display: grid; grid-template-rows: auto 1fr auto auto auto; grid-template-columns: minmax(0, 1fr); position: relative; overflow: hidden; }
.hero-meta { display: flex; justify-content: space-between; gap: 16px; padding-bottom: 12px; border-bottom: 1.5px solid var(--ink); font: 600 13px var(--text); letter-spacing: .1em; text-transform: uppercase; }
.hero-title {
  align-self: end; font: 850 var(--fit, 20vw)/.8 var(--display); font-variation-settings: 'wdth' 100; color: var(--accent);
  white-space: nowrap; letter-spacing: -.02em; margin: 0 -.02em; padding-top: .08em; user-select: none;
  display: flex; justify-content: space-between;
}
.hero-title .ch { display: inline-block; will-change: transform; font-variation-settings: 'wdth' var(--w, 100), 'wght' var(--g, 850); }
.wave-line { width: 100%; height: clamp(40px, 8vh, 90px); margin: 6px 0 10px; overflow: visible; }
.wave-line polyline { fill: none; stroke: var(--ink); stroke-width: 1.5; vector-effect: non-scaling-stroke; }
.hero-bottom { display: grid; grid-template-columns: minmax(0, 1.2fr) auto auto; gap: clamp(16px, 3vw, 48px); align-items: end; padding-top: 14px; border-top: 1.5px solid var(--ink); }
.hero-lead { font: 700 clamp(22px, 2.4vw, 36px)/1.05 var(--display); font-variation-settings: 'wdth' 85; text-transform: uppercase; max-width: 18em; }
.hero-date { font: 900 clamp(56px, 8vw, 132px)/.8 var(--display); font-variation-settings: 'wdth' 60; letter-spacing: -.02em; }
.hero-date span { color: var(--accent); }
.hero-hint { margin-top: 14px; font: 600 11px var(--text); letter-spacing: .14em; text-transform: uppercase; color: var(--mute); }
@media (max-width: 860px) {
  .hero-bottom { grid-template-columns: 1fr auto; }
  .hero-bottom .btn { grid-column: 1 / -1; justify-content: space-between; }
}
@media (max-width: 560px) {
  .hero { min-height: 0; grid-template-rows: auto auto auto auto auto; }
  .hero-title { margin-top: clamp(48px, 16vh, 140px); }
  .hero-meta { flex-wrap: wrap; }
  .hero-bottom { grid-template-columns: 1fr; }
}

/* ---------- Pás ---------- */
.ribbon { background: var(--accent); border-block: 1.5px solid var(--ink); overflow: hidden; padding: 14px 0; }
.ribbon-track { display: flex; width: max-content; animation: ribbon 32s linear infinite; }
.ribbon-track span { font: 850 clamp(26px, 3.4vw, 48px)/1 var(--display); font-variation-settings: 'wdth' 75; text-transform: uppercase; padding-right: .6em; white-space: nowrap; }
.ribbon-track span:nth-child(even) { -webkit-text-stroke: 1.5px var(--ink); color: transparent; }
@keyframes ribbon { to { transform: translateX(-50%); } }

/* ---------- Společné hlavičky sekcí ---------- */
section { position: relative; }
.sec-head { display: grid; gap: 16px; padding: clamp(80px, 11vw, 160px) var(--pad) clamp(28px, 4vw, 56px); }
.sec-title { font: 850 clamp(60px, 12vw, 220px)/.82 var(--display); font-variation-settings: 'wdth' 70; text-transform: uppercase; letter-spacing: -.02em; }
.night .sec-title { color: var(--paper-n); }
.sec-note { max-width: 46ch; font-size: 18px; }
.night .sec-note { color: var(--mute-n); }

/* Rozdělený text – písmena „vyskočí“ jako zvuková vlna */
/* horní odsazení nechává místo pro háčky a čárky nad verzálkami (Á, Ř, Ž) */
.split-w { display: inline-block; overflow: hidden; vertical-align: bottom; padding: .24em 0 .06em; margin: -.24em 0 -.06em; }
.js .split .ch { display: inline-block; transform: translateY(110%) scaleY(1.6); transform-origin: 50% 100%; transition: transform .9s var(--ease); transition-delay: calc(var(--i) * 28ms); }
.js .split.is-in .ch { transform: none; }

/* ---------- Line-up ---------- */
.artists { border-top: 1px solid var(--line-n); }
.artist { position: relative; display: grid; grid-template-columns: 54px minmax(0, 1fr) auto 64px; gap: 8px 20px; align-items: center; padding: 10px var(--pad); border-bottom: 1px solid var(--line-n); }
.artist-num { font: 600 12px var(--text); letter-spacing: .1em; color: var(--mute-n); }
.artist-name {
  font: 850 clamp(40px, 8.4vw, 150px)/.9 var(--display); font-variation-settings: 'wdth' 70; text-transform: uppercase; letter-spacing: -.015em;
  transition: font-variation-settings .6s var(--ease), color .3s; text-align: left; overflow-wrap: anywhere;
}
.artist-meta { text-align: right; font: 600 12px/1.6 var(--text); letter-spacing: .1em; text-transform: uppercase; color: var(--mute-n); }
.artist-meta b { display: block; color: var(--paper-n); font-weight: 600; }
.artist.is-head .artist-name { font-size: clamp(48px, 10.5vw, 190px); }
.play {
  width: 56px; height: 56px; border-radius: 50%; border: 1.5px solid var(--paper-n); display: grid; place-items: center;
  transition: background-color .2s, color .2s, transform .15s, border-color .2s;
}
.play:hover { background: var(--accent); border-color: var(--accent); color: var(--ink); }
.play:active { transform: scale(.92); }
.play svg { width: 18px; height: 18px; fill: currentColor; }
.play .eq { display: none; gap: 3px; align-items: flex-end; height: 20px; }
.play .eq i { width: 3px; height: calc(var(--v, .2) * 100%); background: currentColor; border-radius: 1px; transition: height .08s linear; }
.artist.is-playing .play { background: var(--accent); border-color: var(--accent); color: var(--ink); }
.artist.is-playing .play svg { display: none; }
.artist.is-playing .play .eq { display: flex; }
.artist.is-playing .artist-name { color: var(--accent); }
.artist-thumb { display: none; }
.artist-name .ch { display: inline-block; }
@keyframes echo { 0% { transform: none; } 28% { transform: translateY(-14%) scaleY(1.08); } 55% { transform: translateY(5%); } 78% { transform: translateY(-3%); } 100% { transform: none; } }
@media (hover: hover) {
  .artist:hover .artist-name { color: var(--accent); }
  .artist:hover .artist-name .ch { animation: echo .9s var(--ease) both; animation-delay: calc(var(--i) * 32ms); }
  .artists:hover .artist:not(:hover):not(.is-playing) .artist-name { color: rgba(236, 230, 220, .3); }
}
.artist-photo { position: fixed; left: 0; top: 0; z-index: 30; width: clamp(200px, 22vw, 340px); aspect-ratio: 3 / 4; pointer-events: none; background: var(--accent); opacity: 0; scale: .9; transition: opacity .25s, scale .4s var(--ease); overflow: hidden; }
.artist-photo.on { opacity: 1; scale: 1; }
.artist-photo img, .duo img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.25) brightness(1.05); mix-blend-mode: multiply; }
@media (hover: none), (max-width: 860px) {
  .artist-photo { display: none; }
  .artist { grid-template-columns: 64px minmax(0, 1fr) 52px; }
  .artist-num { display: none; }
  .artist-thumb { display: block; width: 64px; height: 80px; background: var(--accent); overflow: hidden; }
  .artist-thumb img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.25); mix-blend-mode: multiply; }
  .artist-meta { grid-column: 2 / -1; text-align: left; grid-row: 2; }
  .artist-name { font-size: clamp(34px, 11vw, 64px) !important; }
  .play { width: 48px; height: 48px; }
}

/* ---------- Program ---------- */
.filters { display: flex; flex-wrap: wrap; gap: 12px 24px; align-items: center; padding: 0 var(--pad) 20px; }
.seg { display: flex; flex-wrap: wrap; border: 1.5px solid var(--ink); }
.seg button { padding: 10px 16px; font: 700 13px var(--text); letter-spacing: .08em; text-transform: uppercase; transition: background-color .2s, color .2s; }
.seg button + button { border-left: 1.5px solid var(--ink); }
.seg button:hover { background: var(--stone-2); }
.seg button[aria-pressed="true"] { background: var(--ink); color: var(--stone); }
.seg button small { font-size: 10px; opacity: .6; margin-left: 4px; }
.filter-count { margin-left: auto; font: 800 22px var(--display); font-variation-settings: 'wdth' 70; text-transform: uppercase; }
.slots { padding: 0 var(--pad) clamp(60px, 8vw, 120px); border-top: 0; }
.slot { display: grid; grid-template-columns: 110px minmax(0, 1fr) 140px 160px 90px; gap: 16px; align-items: baseline; padding: 16px 0; border-top: 1.5px solid var(--ink); position: relative; }
.slot:last-child { border-bottom: 1.5px solid var(--ink); }
.slot.is-hidden { display: none; }
.slot-time { font: 900 clamp(32px, 3.4vw, 48px)/1 var(--display); font-variation-settings: 'wdth' 55; }
.slot-name { font: 850 clamp(24px, 2.6vw, 40px)/1 var(--display); font-variation-settings: 'wdth' 80; text-transform: uppercase; transition: color .2s, font-variation-settings .5s var(--ease); }
.slot:hover .slot-name { color: var(--accent); font-variation-settings: 'wdth' 92; }
.slot-stage, .slot-day, .slot-genre { font: 600 12px var(--text); letter-spacing: .1em; text-transform: uppercase; }
.slot-stage span { display: inline-block; padding: 4px 8px; border: 1.5px solid var(--ink); }
.slot-stage[data-stage="Nádvoří"] span { background: var(--accent); }
.slot-genre { color: var(--mute); }
.slot-day { text-align: right; }
.slots-empty { padding: 40px 0; font: 800 28px var(--display); text-transform: uppercase; border-top: 1.5px solid var(--ink); }
@media (max-width: 860px) {
  .slot { grid-template-columns: 76px minmax(0, 1fr) auto; row-gap: 6px; }
  .slot-genre { grid-column: 2; grid-row: 2; }
  .slot-day { grid-column: 3; grid-row: 2; }
  .slot-stage { grid-column: 3; grid-row: 1; }
  .filter-count { margin-left: 0; width: 100%; }
}

/* ---------- Areál ---------- */
.map-wrap { display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(280px, 1fr); gap: clamp(20px, 3vw, 40px); padding: 0 var(--pad) clamp(60px, 8vw, 120px); }
.map svg { width: 100%; height: auto; display: block; }
.m-ground { fill: #1b1916; }
.m-wall { fill: var(--night-2); stroke: var(--paper-n); stroke-width: 2; }
.m-court { fill: #2a2622; stroke: var(--line-n); stroke-width: 1; }
.m-build { fill: #322d28; stroke: var(--paper-n); stroke-width: 1.2; }
.m-stage { fill: var(--accent); }
.m-path { fill: none; stroke: var(--mute-n); stroke-width: 1.2; stroke-dasharray: 4 6; }
.m-label { font: 600 12px var(--text); letter-spacing: .12em; text-transform: uppercase; fill: var(--mute-n); }
.m-pt { cursor: pointer; }
.m-pt circle.dot { fill: var(--paper-n); stroke: var(--night); stroke-width: 2; transition: fill .2s, r .25s var(--ease); }
.m-pt text { font: 800 13px var(--display); fill: var(--night); pointer-events: none; }
.m-pt .ring { fill: none; stroke: var(--accent); stroke-width: 2; opacity: 0; transform-box: fill-box; transform-origin: center; }
.m-pt:hover circle.dot, .m-pt:focus circle.dot { fill: var(--accent); }
.m-pt[aria-pressed="true"] circle.dot { fill: var(--accent); r: 20; }
.m-pt[aria-pressed="true"] .ring { animation: ring 1.8s var(--ease) infinite; }
.m-pt:focus { outline: none; }
@keyframes ring { 0% { transform: scale(1); opacity: .9; } 100% { transform: scale(2.4); opacity: 0; } }
.map-info { border-top: 1.5px solid var(--paper-n); padding-top: 18px; display: grid; gap: 16px; align-content: start; }
.mi-num { font: 900 72px/.8 var(--display); font-variation-settings: 'wdth' 55; color: var(--accent); }
.mi-name { font: 850 clamp(32px, 3vw, 48px)/.95 var(--display); font-variation-settings: 'wdth' 75; text-transform: uppercase; }
.mi-text { color: var(--mute-n); }
.mi-hours { font: 600 12px var(--text); letter-spacing: .1em; text-transform: uppercase; }
.mi-links { display: flex; flex-wrap: wrap; gap: 8px; }
.mi-links button { padding: 8px 12px; border: 1.5px solid var(--paper-n); font: 700 12px var(--text); letter-spacing: .08em; text-transform: uppercase; transition: background-color .2s, color .2s; }
.mi-links button:hover { background: var(--accent); border-color: var(--accent); color: var(--ink); }
.mi-legend { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; border-top: 1px solid var(--line-n); padding-top: 12px; margin-top: 8px; }
.mi-legend button { display: flex; gap: 8px; align-items: baseline; text-align: left; padding: 5px 0; font-size: 14px; color: var(--mute-n); transition: color .2s; }
.mi-legend button b { font: 800 13px var(--display); color: var(--paper-n); width: 18px; }
.mi-legend button:hover, .mi-legend button[aria-current="true"] { color: var(--paper-n); }
.mi-legend button[aria-current="true"] b { color: var(--accent); }
.map-info > * { animation: rise .5s var(--ease) both; }
.map-info > *:nth-child(2) { animation-delay: .04s; } .map-info > *:nth-child(3) { animation-delay: .08s; } .map-info > *:nth-child(4) { animation-delay: .12s; }
@keyframes rise { from { opacity: 0; transform: translateY(10px); } }
@media (max-width: 900px) { .map-wrap { grid-template-columns: 1fr; } }

/* ---------- Vstupenky ---------- */
.tickets .sec-title { color: var(--ink); }
.step-dot { display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; border: 1.5px solid var(--ink); font: 800 13px var(--display); margin: 0 4px 0 8px; }
.step-dot:first-child { margin-left: 0; }
.ticket-list { padding: 0 var(--pad) clamp(60px, 8vw, 120px); }
.ticket { border-top: 1.5px solid var(--ink); }
.ticket:last-child { border-bottom: 1.5px solid var(--ink); }
.ticket-head { width: 100%; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) auto 40px; gap: 16px; align-items: center; padding: 18px 0; text-align: left; }
.ticket-name { font: 850 clamp(34px, 5vw, 80px)/.9 var(--display); font-variation-settings: 'wdth' 70; text-transform: uppercase; transition: font-variation-settings .5s var(--ease); }
.ticket-desc { font-size: 15px; max-width: 34ch; }
.ticket-price { font: 900 clamp(28px, 3.4vw, 52px)/1 var(--display); font-variation-settings: 'wdth' 60; white-space: nowrap; }
.ticket-tag { display: inline-block; margin-left: 10px; vertical-align: middle; background: var(--ink); color: var(--accent); font: 700 11px var(--text); letter-spacing: .1em; padding: 4px 8px; text-transform: uppercase; }
.ticket-plus { width: 40px; height: 40px; border: 1.5px solid var(--ink); border-radius: 50%; position: relative; transition: transform .4s var(--ease), background-color .2s; }
.ticket-plus::before, .ticket-plus::after { content: ''; position: absolute; left: 11px; right: 11px; top: 50%; height: 1.5px; margin-top: -.75px; background: currentColor; }
.ticket-plus::after { transform: rotate(90deg); }
.ticket-head:hover .ticket-name { font-variation-settings: 'wdth' 82; }
.ticket-head:hover .ticket-plus { background: var(--ink); color: var(--accent); }
.ticket[aria-expanded="true"] .ticket-plus { transform: rotate(45deg); background: var(--ink); color: var(--accent); }
.ticket-body { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .5s var(--ease); }
.ticket[aria-expanded="true"] .ticket-body { grid-template-rows: 1fr; }
.ticket-body > div { overflow: hidden; }
.ticket-buy { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; padding: 0 0 24px; }
.qty { display: inline-grid; grid-template-columns: 44px 52px 44px; height: 48px; border: 1.5px solid var(--ink); }
.qty button { font: 800 22px var(--display); transition: background-color .2s; }
.qty button:hover { background: rgba(27, 25, 22, .12); }
.qty output { display: grid; place-items: center; font: 900 24px var(--display); border-inline: 1.5px solid var(--ink); }
.total { font: 600 13px var(--text); letter-spacing: .1em; text-transform: uppercase; }
.total strong { display: block; font: 900 36px/1 var(--display); font-variation-settings: 'wdth' 60; letter-spacing: 0; }
.ticket .btn { margin-left: auto; }
.ticket .btn:hover { background: var(--stone); color: var(--ink); }
.ticket-done { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 20px 28px; align-items: center; padding: 6px 0 28px; animation: rise .6s var(--ease) both; }
.ticket-done svg { width: 132px; height: 132px; background: var(--stone); padding: 10px; }
.ticket-done h3 { font: 900 clamp(32px, 4vw, 56px)/.9 var(--display); font-variation-settings: 'wdth' 65; text-transform: uppercase; }
.ticket-done p { max-width: 46ch; }
.ticket-done code { font: 700 15px var(--text); letter-spacing: .08em; }
@media (max-width: 760px) {
  .ticket-head { grid-template-columns: minmax(0, 1fr) auto 40px; }
  .ticket-desc { grid-column: 1 / -1; grid-row: 2; }
  .ticket .btn { margin-left: 0; width: 100%; justify-content: space-between; }
  .ticket-done { grid-template-columns: 1fr; }
}

/* ---------- Archiv ---------- */
.years { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); border-block: 1.5px solid var(--ink); margin: 0 var(--pad); }
.year { position: relative; padding: 16px 0 22px; text-align: left; transition: color .2s; }
.year + .year { border-left: 1.5px solid var(--ink); padding-left: 14px; }
.year b { display: block; font: 900 clamp(36px, 6vw, 96px)/.85 var(--display); font-variation-settings: 'wdth' 60; transition: font-variation-settings .5s var(--ease); }
.year span { font: 600 11px var(--text); letter-spacing: .12em; text-transform: uppercase; color: var(--mute); }
.year i { position: absolute; left: 0; right: 0; bottom: 0; height: 6px; background: var(--c); transform: scaleY(.5); transform-origin: bottom; transition: transform .3s var(--ease); }
.year + .year i { left: 14px; }
.year:hover b { font-variation-settings: 'wdth' 90; }
.year:hover i { transform: scaleY(1); }
.year[aria-checked="true"] i { transform: scaleY(2.2); }
.year[aria-checked="true"] b { color: var(--accent); }
.archive-body { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 64px); padding: clamp(28px, 4vw, 56px) var(--pad) clamp(80px, 10vw, 140px); }
.archive-body > * { animation: rise .6s var(--ease) both; }
.ar-year { font: 900 clamp(110px, 20vw, 340px)/.78 var(--display); font-variation-settings: 'wdth' 55; color: var(--accent); letter-spacing: -.03em; }
.ar-theme { font: 850 clamp(28px, 3.4vw, 52px)/.95 var(--display); font-variation-settings: 'wdth' 75; text-transform: uppercase; margin-top: 18px; }
.ar-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 28px; border-top: 1.5px solid var(--ink); }
.ar-stats div { padding: 12px 12px 0 0; display: grid; gap: 4px; }
.ar-stats dt { font: 600 11px var(--text); letter-spacing: .12em; text-transform: uppercase; color: var(--mute); }
.ar-stats dd { font: 900 32px/1 var(--display); font-variation-settings: 'wdth' 60; }
.ar-right { display: grid; gap: 18px; align-content: start; }
.duo { background: var(--accent); aspect-ratio: 4 / 3; overflow: hidden; }
.ar-heads { display: grid; }
.ar-heads li { font: 850 clamp(26px, 2.6vw, 40px)/1.15 var(--display); font-variation-settings: 'wdth' 75; text-transform: uppercase; border-bottom: 1.5px solid var(--ink); padding: 6px 0; }
.ar-heads li:first-child { border-top: 1.5px solid var(--ink); }
.year span { white-space: nowrap; }
@media (max-width: 860px) {
  .years { grid-template-columns: repeat(5, minmax(128px, 1fr)); overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
  .year { scroll-snap-align: start; }
  .archive-body { grid-template-columns: 1fr; }
}
@media (max-width: 700px) {
  .m-pt circle.dot, .m-pt .ring { r: 30; }
  .m-pt[aria-pressed="true"] circle.dot { r: 34; }
  .m-pt text { font-size: 26px; transform: translateY(4px); }
  .m-label { font-size: 22px; }
}

.year-chip {
  position: fixed; left: 50%; bottom: 18px; z-index: 40; transform: translate(-50%, 150%); transition: transform .45s var(--ease);
  background: var(--ink); color: var(--stone); padding: 12px 16px; font: 600 13px var(--text); letter-spacing: .06em; display: flex; gap: 10px; align-items: center;
}
.year-chip.on { transform: translate(-50%, 0); }
.year-chip[hidden] { display: none; }
.year-chip b { color: var(--accent); }

/* ---------- Patička ---------- */
.ft { padding: clamp(60px, 8vw, 110px) var(--pad) 28px; overflow: hidden; }
.ft-title { font: 900 var(--fit, 20vw)/.8 var(--display); font-variation-settings: 'wdth' 100; color: transparent; -webkit-text-stroke: 1.5px var(--paper-n); white-space: nowrap; margin: 0 -.02em; transition: color .5s; }
.ft-title:hover { color: var(--accent); -webkit-text-stroke-color: var(--accent); }
.ft-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; margin-top: 36px; padding-top: 18px; border-top: 1px solid var(--line-n); }
.ft-grid .eyebrow { color: var(--mute-n); margin-bottom: 6px; }
.ft-grid a:hover { color: var(--accent); }
.to-top { display: block; text-align: right; font: 700 13px var(--text); letter-spacing: .1em; text-transform: uppercase; }
@media (max-width: 760px) { .ft-grid { grid-template-columns: 1fr 1fr; } .to-top { text-align: left; } }

.toast { position: fixed; left: 50%; bottom: 18px; z-index: 60; transform: translate(-50%, calc(100% + 60px)); transition: transform .45s var(--ease); background: var(--accent); color: var(--ink); border: 1.5px solid var(--ink); padding: 12px 16px; font: 600 14px var(--text); }
.toast.on { transform: translate(-50%, 0); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; }
  .js .split .ch { transform: none; }
}
