/* ponytail: náhradní volný font za Founders Grotesk, dokud se nevyřeší licence */
@font-face { font-family: "AFK Grotesk"; font-weight: 400; font-display: swap; src: url(../fonts/schibsted-grotesk-latin-400-normal.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "AFK Grotesk"; font-weight: 400; font-display: swap; src: url(../fonts/schibsted-grotesk-latin-ext-400-normal.woff2) format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "AFK Grotesk"; font-weight: 500; font-display: swap; src: url(../fonts/schibsted-grotesk-latin-500-normal.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "AFK Grotesk"; font-weight: 500; font-display: swap; src: url(../fonts/schibsted-grotesk-latin-ext-500-normal.woff2) format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "AFK Grotesk"; font-weight: 700; font-display: swap; src: url(../fonts/schibsted-grotesk-latin-700-normal.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "AFK Grotesk"; font-weight: 700; font-display: swap; src: url(../fonts/schibsted-grotesk-latin-ext-700-normal.woff2) format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }

:root {
  --cerna: #0b0b0c;
  --papir: #efede6;
  --sirka: 52rem;
  --okraj: clamp(1rem, 4vw, 2rem);
  --text: clamp(1.05rem, 0.9rem + 0.6vw, 1.45rem);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 5.5rem; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  color: var(--cerna);
  background: var(--papir) url(../images/papir.jpg) center / cover fixed;
  font: 500 var(--text) / 1.4 "AFK Grotesk", "Helvetica Neue", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--cerna); outline-offset: 3px; }

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

/* Pilulka: odkaz v rámečku, aktivní a hover vyplněný černě */
.pill {
  display: inline-block;
  padding: 0.12em 0.95em 0.18em;
  border: 1.5px solid var(--cerna);
  border-radius: 999px;
  text-decoration: none;
  line-height: 1.3;
  white-space: nowrap;
  transition: background-color .15s, color .15s;
}
.pill:hover, .pill.is-active { background: var(--cerna); color: var(--papir); }
.pill--kruh { padding-inline: 0; width: 2.1em; text-align: center; }

/* Úvod */
.uvod {
  min-height: 100svh;
  display: flex; flex-direction: column; justify-content: center;
  padding: var(--okraj);
  max-width: 90rem; margin-inline: auto;
}
.uvod__pilulky {
  display: flex; flex-wrap: wrap; gap: 0.12em;
  margin: 0 0 0.05em;
  font: 400 clamp(2.6rem, 11.5vw, 11rem) / 1 "Helvetica Neue", Helvetica, Arial, sans-serif;
  letter-spacing: -0.02em;
  color: var(--barva);
}
.uvod__pilulka {
  border: 0.055em solid var(--barva);
  border-radius: 999px;
  padding: 0.04em 0.28em 0.08em;
  white-space: nowrap;
}
.uvod__pilulka--plna { background: var(--barva); color: #fff; }
.uvod__logo { width: 100%; }

/* Menu */
.nav {
  position: sticky; top: 0; z-index: 10;
  display: flex; flex-wrap: wrap; justify-content: center; gap: 0.5rem 1.2rem;
  padding: 0.9rem var(--okraj);
  background: var(--papir) url(../images/papir.jpg) center / cover fixed;
}
.nav ul { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.5rem 1.2rem; list-style: none; margin: 0; padding: 0; }
.nav__jazyky { gap: 0.5rem !important; }

/* Plakát */
.plakat { padding: 0 var(--okraj) 2rem; }
.plakat img { margin-inline: auto; max-height: calc(100svh - 6rem); width: auto; }

/* Textové sekce */
.sekce { max-width: var(--sirka); margin: 0 auto; padding: 2.5rem var(--okraj); }
.sekce__nadpis { font-size: inherit; font-weight: 500; text-decoration: underline; text-underline-offset: 0.15em; text-decoration-thickness: 1.5px; margin: 0 0 1.4em; }
.distro .sekce__nadpis { margin-bottom: 0; }
.info { font-size: inherit; font-weight: 500; margin: 0 0 1.4em; }
.text p { margin: 0 0 1.4em; }
.bod { margin-bottom: 1.4em; }
.bod .info { margin-bottom: 0; }
.distro { margin-bottom: 2.4em; }
.distro .text p:last-child { margin-bottom: 1em; }
.kontakt p { margin: 0 0 1.1em; display: flex; flex-wrap: wrap; align-items: baseline; gap: 0.3em 0.5em; overflow-wrap: anywhere; }
.kontakt { padding-bottom: 6rem; }

/* Archiv: mřížka plakátů */
.archiv {
  list-style: none; margin: 0 auto; padding: 2rem var(--okraj) 6rem;
  max-width: 80rem;
  display: grid; gap: 2.5rem 1.5rem;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 15rem), 1fr));
}
.archiv a { text-decoration: none; display: block; }
.archiv img { width: 100%; transition: transform .2s; }
.archiv a:hover img { transform: translateY(-4px); }
.archiv__popis { display: block; margin-top: 0.7em; font-size: 0.85em; }
