/* =========================================================================
   Férová palačinkárna — ukázka webu
   -------------------------------------------------------------------------
   Teplá, světlá, bez ozdob — jako ten podnik: malý pult na náměstí, kde vám
   palačinku nalejou a složí před očima. Značka stojí na slově „férová":
   fair trade, bez přidaného cukru, jasné ceny. To je i teze stránky —
   složíš si palačinku, hned vidíš cenu.

   Písmo: Instrument Serif na nadpisy (teplý, trochu redakční charakter),
   Hanken Grotesk na text. Barva: papír, inkoust, jedna červená z loga, med.
   ========================================================================= */

:root {
  --papir:     #fbf6ef;
  --papir-2:   #f4ebdd;
  --med:       #f0e4ce;
  --med-linka: #e3d3b2;
  --linka:     #e9ded0;

  --ink:    #2b2019;
  --ink-2:  #6a5c4f;

  --red:      #d92318;   /* velké prvky, grafika */
  --red-ink:  #b71c12;   /* odkazy, tlačítka, malý text — AA na papíru */
  --red-dark: #98170f;
  --green:    #3f9d5a;

  --svetlo: #fdf8f0;     /* text přes video */

  --serif: 'Instrument Serif', Georgia, 'Times New Roman', serif;
  --sans:  'Hanken Grotesk', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;

  --sirka: 1120px;
  --uzka:  760px;
  --hlava: 66px;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--hlava) + 20px);
  scroll-padding-bottom: 120px;
  color-scheme: light;
}

body {
  margin: 0;
  background: var(--papir);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.62;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}

img, svg, iframe, canvas { max-width: 100%; display: block; }

h1, h2, h3 {
  font-family: var(--serif);
  font-weight: 400;
  line-height: 1.04;
  letter-spacing: 0;
  margin: 0;
  text-wrap: balance;
}

a { color: inherit; }
strong, b { font-weight: 600; }

.tabc, .opt__c, .row__c, .fave__cena, .total__price,
.doba td { font-variant-numeric: tabular-nums; }

:focus-visible {
  outline: 2.5px solid var(--red-ink);
  outline-offset: 3px;
  border-radius: 3px;
}

.preskoc {
  position: absolute;
  left: -9999px; top: 0;
  z-index: 300;
  background: var(--red-ink);
  color: #fff;
  padding: 12px 20px;
  font-weight: 600;
}
.preskoc:focus { left: 0; top: 0; }

/* ---- pruh ---- */

.rada {
  width: 100%;
  max-width: var(--sirka);
  margin: 0 auto;
  padding-inline: clamp(18px, 5vw, 44px);
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.17em;
  text-transform: uppercase;
  color: var(--red-ink);
  margin: 0 0 18px;
}
.eyebrow::before {
  content: "";
  width: 26px;
  height: 2px;
  background: var(--red);
  flex-shrink: 0;
}

/* =========================================================================
   Hlavička
   ========================================================================= */

.hlava {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: var(--hlava);
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 0 clamp(18px, 5vw, 44px);
  background: rgba(251, 246, 239, 0.86);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--linka);
}

.hlava__logo { flex-shrink: 0; line-height: 0; }
.hlava__logo img { width: clamp(146px, 22vw, 188px); height: auto; }

.nav {
  margin-left: auto;
  display: flex;
  gap: clamp(14px, 2.3vw, 30px);
  font-size: 15px;
  font-weight: 500;
}
.nav a {
  text-decoration: none;
  color: var(--ink-2);
  padding: 4px 0;
  border-bottom: 2px solid transparent;
  transition: color .16s, border-color .16s;
  white-space: nowrap;
}
.nav a:hover { color: var(--ink); border-bottom-color: var(--red); }

.stav {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin: 0;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--ink-2);
}
.hlava .stav { color: var(--ink-2); }
.stav__dot {
  width: 9px; height: 9px;
  border-radius: 50%;
  background: currentColor;
  flex-shrink: 0;
}
.stav[data-stav="otevreno"]   { color: var(--ink); }
.stav[data-stav="otevreno"] .stav__dot { background: var(--green); animation: tep 2.6s ease-out infinite; }
.stav[data-stav="brzy-zavre"] .stav__dot { background: #d68a2c; }
.stav[data-stav="zavreno"]    .stav__dot { background: #c0655c; }
@keyframes tep {
  0%   { box-shadow: 0 0 0 0 rgba(63,157,90,.5); }
  70%  { box-shadow: 0 0 0 8px rgba(63,157,90,0); }
  100% { box-shadow: 0 0 0 0 rgba(63,157,90,0); }
}

.hamburger {
  display: none;
  margin-left: auto;
  width: 42px; height: 42px;
  border: 1px solid var(--linka);
  border-radius: 10px;
  background: transparent;
  cursor: pointer;
  padding: 0;
  position: relative;
}
.hamburger span {
  position: absolute;
  left: 11px;
  width: 18px; height: 2px;
  border-radius: 2px;
  background: var(--ink);
  transition: transform .22s, opacity .22s;
}
.hamburger span:nth-child(1) { top: 14px; }
.hamburger span:nth-child(2) { top: 20px; }
.hamburger span:nth-child(3) { top: 26px; }
.hamburger[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.hamburger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.hamburger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* =========================================================================
   Tlačítka
   ========================================================================= */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 26px;
  border-radius: 999px;
  border: 1.5px solid var(--ink);
  background: transparent;
  color: var(--ink);
  font-family: var(--sans);
  font-weight: 600;
  font-size: 15.5px;
  text-decoration: none;
  cursor: pointer;
  transition: background .16s, color .16s, border-color .16s, transform .12s;
}
.btn:hover { background: var(--ink); color: var(--papir); }
.btn:active { transform: scale(.97); }
.btn--main {
  background: var(--red-ink);
  border-color: var(--red-ink);
  color: #fff;
}
.btn--main:hover { background: var(--red-dark); border-color: var(--red-dark); color: #fff; }
.btn--sm { padding: 8px 16px; font-size: 13.5px; border-width: 1.5px; }

/* =========================================================================
   Hero — video ve svislém oválu, text vedle
   ========================================================================= */

.hero-obal { position: relative; height: 300vh; background: var(--papir); }

.hero {
  position: sticky;
  top: 0;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--papir);
}
.bez-animace .hero-obal { height: auto; }
.bez-animace .hero { position: relative; }

/* Velká oválová výseč s videem — zabírá ~3/4 plochy, přesahuje přes pravý,
   horní i dolní okraj. Text sedí v úzkém sloupci vlevo na čisté krémové ploše. */
.hero__oval {
  position: absolute;
  top: -18vh;
  bottom: -18vh;
  right: -14vw;
  width: min(82vw, 1180px);
  border-radius: 50%;
  overflow: hidden;
  background: var(--med);
  box-shadow:
    inset 0 0 0 1px rgba(43,32,25,.09),
    0 50px 110px -55px rgba(43,32,25,.6);
  z-index: 0;
}
.hero__oval img,
.hero__oval canvas {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
}
.hero__oval canvas { opacity: 0; transition: opacity .3s ease; }
.hero__oval.je-canvas canvas { opacity: 1; }
.hero__oval.je-canvas img { visibility: hidden; }

.hero__telo {
  position: relative;
  z-index: 2;
  width: min(38vw, 380px);
  padding-left: clamp(18px, 5vw, 52px);
  padding-right: 12px;
}
.hero .eyebrow { color: var(--red-ink); margin-bottom: 20px; }
.hero .eyebrow::before { width: 22px; }

.hero__nazev {
  font-size: clamp(2.3rem, 3.6vw, 3.5rem);
  line-height: 1.02;
  color: var(--ink);
  margin: 0 0 18px;
}
.hero__lead {
  font-size: clamp(15.5px, 1.5vw, 17.5px);
  color: var(--ink-2);
  margin: 0 0 22px;
}
.hero .stav { color: var(--ink-2); margin-bottom: 26px; font-size: 14px; }
.hero__akce { display: flex; flex-wrap: wrap; gap: 10px; }
.hero .btn { padding: 12px 20px; font-size: 14.5px; }

@media (max-width: 900px) {
  .hero { align-items: flex-start; padding-top: calc(var(--hlava) + 30px); }
  .hero__oval {
    top: auto;
    bottom: -14vh;
    right: -20vw;
    left: -20vw;
    width: auto;
    height: min(64vh, 560px);
  }
  .hero__telo {
    width: 100%;
    max-width: 30rem;
    padding-right: clamp(18px, 5vw, 52px);
    padding-bottom: min(58vh, 500px);
  }
  .hero__nazev { font-size: clamp(2.5rem, 9vw, 3.4rem); }
  .hero__lead { font-size: 16px; }
}

/* ---- pruh faktů pod herem ---- */

.fakta {
  list-style: none;
  margin: 0 auto;
  padding: 18px clamp(18px, 5vw, 44px);
  max-width: var(--sirka);
  display: flex;
  flex-wrap: wrap;
  gap: 10px clamp(18px, 3.4vw, 38px);
  font-size: 14px;
  color: var(--ink-2);
  border-bottom: 1px solid var(--linka);
}
.fakta li { display: inline-flex; align-items: center; gap: 9px; }
.fakta li::before {
  content: "";
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--red);
  flex-shrink: 0;
}
.fakta b { font-weight: 600; color: var(--ink); }

/* =========================================================================
   Sekce
   ========================================================================= */

.sekce { padding: clamp(64px, 10vw, 132px) 0; }
.sekce--med { background: var(--med); }
.sekce--linka { border-top: 1px solid var(--linka); }

.sekce__hlava { max-width: 42rem; margin-bottom: clamp(34px, 5vw, 58px); }
.sekce__hlava h2 { font-size: clamp(2.3rem, 4.8vw, 3.5rem); }
.sekce__lead {
  margin: 14px 0 0;
  font-size: 16.5px;
  color: var(--ink-2);
  max-width: 48ch;
}

.proza { max-width: 60ch; font-size: 17.5px; }
.proza p { margin: 0 0 1.05em; }
.proza p:last-child { margin: 0; }

.pozn {
  font-size: 13.5px;
  line-height: 1.55;
  color: var(--ink-2);
  margin: 24px 0 0;
  padding-left: 15px;
  border-left: 2px solid var(--med-linka);
}
.odkaz {
  color: var(--red-ink);
  text-decoration: none;
  border-bottom: 1px solid currentColor;
}
.odkaz:hover { color: var(--red-dark); }

/* =========================================================================
   Konfigurátor — teze stránky
   ========================================================================= */

.build { max-width: var(--uzka); }
.build__krok { border: 0; margin: 0 0 30px; padding: 0; min-width: 0; }
.build__krok legend {
  display: flex;
  align-items: baseline;
  gap: 10px;
  font-family: var(--sans);
  font-weight: 600;
  font-size: 16px;
  padding: 0;
  margin-bottom: 13px;
}
.build__krok legend::before {
  content: counter(krok);
  counter-increment: krok;
  font-family: var(--serif);
  font-size: 20px;
  color: var(--red-ink);
  line-height: 1;
}
.build { counter-reset: krok; }
.build__krok legend small {
  font-weight: 400;
  font-size: 13px;
  color: var(--ink-2);
}
.build__pod {
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-2);
  margin: 18px 0 9px;
}

.opts { display: flex; flex-wrap: wrap; gap: 8px; }
.opt {
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
  padding: 10px 15px;
  border: 1.5px solid var(--med-linka);
  border-radius: 999px;
  background: var(--papir);
  cursor: pointer;
  font-size: 14.5px;
  transition: border-color .14s, background .14s, color .14s, transform .1s;
}
.sekce--med .opt { background: #fff; }
.opt:hover { border-color: var(--ink-2); }
.opt:active { transform: scale(.96); }
.opt input { position: absolute; opacity: 0; pointer-events: none; }
.opt small { font-size: 12px; color: var(--ink-2); }
.opt__c { font-size: 13px; color: var(--ink-2); }
.opt__c::after { content: "\00a0Kč"; }

.opt:has(input:checked) {
  border-color: var(--ink);
  background: var(--ink);
  color: var(--svetlo);
}
.opt:has(input:checked) small,
.opt:has(input:checked) .opt__c { color: rgba(253,248,240,.75); }

.opt--ingr:has(input:checked) {
  background: #fff;
  border-color: var(--red-ink);
  color: var(--ink);
}
.sekce--med .opt--ingr:has(input:checked) { background: #fff; }
.opt--ingr:has(input:checked) .opt__c { color: var(--red-ink); font-weight: 600; }

.build__pozn { margin: 26px 0 0; font-size: 13px; color: var(--ink-2); }

/* ---- lepivá cena ---- */

.total {
  position: sticky;
  bottom: 14px;
  z-index: 50;
  max-width: var(--uzka);
  margin-top: 20px;
}
.total__box {
  background: var(--ink);
  color: var(--svetlo);
  border-radius: 16px;
  padding: 14px clamp(16px, 3vw, 22px);
  display: grid;
  gap: 10px;
  box-shadow: 0 18px 44px -20px rgba(43,32,25,.55);
}
.total__label {
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(253,248,240,.55);
  margin: 0;
}
.total__chips {
  list-style: none;
  margin: 0; padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 6px 8px;
  max-height: 52px;
  overflow-y: auto;
}
.total__chips li {
  font-size: 12.5px;
  color: rgba(253,248,240,.72);
  border: 1px solid rgba(253,248,240,.18);
  padding: 3px 10px;
  border-radius: 999px;
}
.total__chips li b { color: var(--svetlo); font-weight: 600; }
.total__row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin: 0;
  padding-top: 10px;
  border-top: 1px solid rgba(253,248,240,.16);
}
.total__row span {
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(253,248,240,.55);
}
.total__price {
  font-family: var(--serif);
  font-size: 30px;
  display: inline-block;
}
.total__price.bump { animation: bump .34s ease; }
@keyframes bump {
  0% { transform: scale(1); }
  45% { transform: scale(1.14); color: #ffcf8c; }
  100% { transform: scale(1); }
}
.total__hint { margin: 0; font-size: 12px; color: rgba(253,248,240,.5); }

@media (min-width: 860px) {
  .total { bottom: 22px; }
  .total__box { grid-template-columns: 1fr auto; column-gap: 26px; align-items: center; }
  .total__label { grid-column: 1; grid-row: 1; }
  .total__chips { grid-column: 1; grid-row: 2; max-height: 40px; }
  .total__row {
    grid-column: 2; grid-row: 1 / span 2;
    flex-direction: column; align-items: flex-end;
    border-top: 0; padding-top: 0; gap: 1px;
  }
  .total__hint { grid-column: 1 / -1; grid-row: 3; }
}
@media (max-width: 859px) {
  .total__label, .total__chips, .total__hint { display: none; }
  .total__row { padding-top: 0; border-top: 0; }
}

/* =========================================================================
   Oblíbené
   ========================================================================= */

.filtr { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 34px; }
.filtr__t {
  display: inline-flex;
  align-items: baseline;
  gap: 7px;
  padding: 8px 16px;
  border: 1.5px solid var(--med-linka);
  border-radius: 999px;
  background: transparent;
  color: var(--ink-2);
  font-family: var(--sans);
  font-weight: 500;
  font-size: 14px;
  cursor: pointer;
  transition: background .16s, color .16s, border-color .16s;
}
.filtr__t span { font-size: 11.5px; opacity: .6; }
.filtr__t:hover { color: var(--ink); border-color: var(--ink-2); }
.filtr__t.je-akt { background: var(--red-ink); border-color: var(--red-ink); color: #fff; }
.filtr__t.je-akt span { opacity: .85; }

.faves {
  list-style: none;
  margin: 0; padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(228px, 1fr));
  gap: clamp(28px, 3.4vw, 46px) clamp(20px, 2.6vw, 32px);
}
.fave { text-align: center; }
.fave[hidden] { display: none; }

.fave__pic {
  width: 100%;
  max-width: 200px;
  aspect-ratio: 1;
  margin: 0 auto 16px;
  border-radius: 50%;
  overflow: hidden;
  background: radial-gradient(120% 120% at 32% 28%, #f6ecd5, #e6d4ac 78%);
  display: grid;
  place-items: center;
  box-shadow:
    inset 0 0 0 1px rgba(43,32,25,.06),
    0 2px 0 var(--med-linka),
    0 16px 30px -18px rgba(43,32,25,.4);
  transition: transform .45s cubic-bezier(.34,1.4,.64,1), box-shadow .2s ease;
}
.fave__pic img { width: 100%; height: 100%; object-fit: cover; }
.fave__stitek {
  font-family: var(--serif);
  font-size: 66px;
  line-height: 1;
  color: var(--red-ink);
  opacity: .5;
}
.reveal .fave__pic { transform: scale(.86); }
.reveal.je-videt .fave__pic { transform: scale(1); }
.fave:hover .fave__pic { transform: scale(1.03); box-shadow: 0 20px 38px -18px rgba(43,32,25,.45); }

.fave__name { font-size: 21px; margin: 0 0 5px; }
.fave__desc { font-size: 13px; color: var(--ink-2); margin: 0 auto 11px; max-width: 24ch; }
.fave__eh { margin: 0 0 12px; }
.fave__eh summary { font-size: 12px; color: var(--ink-2); cursor: pointer; list-style-position: inside; }
.fave__eh p { margin: 7px 0 0; font-size: 12px; color: var(--ink-2); }
.fave__foot {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}
.fave__cena { font-family: var(--serif); font-size: 21px; }

/* stagger */
.faves .reveal:nth-child(3n+2) { transition-delay: .05s; }
.faves .reveal:nth-child(3n+3) { transition-delay: .1s; }

/* =========================================================================
   Nápoje — ceník po kategoriích
   ========================================================================= */

.drinks { max-width: 880px; }
.drinks__kat + .drinks__kat { margin-top: clamp(30px, 4vw, 46px); }
.drinks__kat h3 {
  font-size: 24px;
  margin: 0 0 4px;
  padding-bottom: 10px;
  border-bottom: 1.5px solid var(--med-linka);
}
.rows { list-style: none; margin: 0; padding: 0; }
@media (min-width: 720px) {
  .drinks__kat .rows { columns: 2; column-gap: 60px; }
  .drinks__kat .row { break-inside: avoid; }
}
.row {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: baseline;
  gap: 0 10px;
  padding: 9px 0;
}
.row__n { font-size: 16px; }
.row__n small { display: block; font-size: 12.5px; color: var(--ink-2); }
.row__lead {
  align-self: end;
  height: 1px;
  margin-bottom: 6px;
  background-image: radial-gradient(circle, var(--med-linka) 1.1px, transparent 1.2px);
  background-size: 7px 2px;
  background-repeat: repeat-x;
}
.row__c { font-family: var(--serif); font-size: 18px; white-space: nowrap; }
.row__c::after { content: "\00a0Kč"; font-family: var(--sans); font-size: 12px; color: var(--ink-2); }

/* =========================================================================
   Něco navíc
   ========================================================================= */

.extras {
  list-style: none;
  margin: 0; padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 14px;
}
.extra {
  background: var(--papir);
  border: 1px solid var(--linka);
  border-radius: 14px;
  padding: 24px 22px 20px;
  display: flex;
  flex-direction: column;
}
.sekce--med .extra { background: #fff; border-color: var(--med-linka); }
.extra__name { font-size: 22px; margin: 0 0 8px; }
.extra__desc { font-size: 14px; color: var(--ink-2); margin: 0 0 16px; flex-grow: 1; }
.extra__foot {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--linka);
}
.sekce--med .extra__foot { border-top-color: var(--med-linka); }
.extra__foot span { font-size: 12.5px; color: var(--ink-2); }
.extra__foot b { font-family: var(--serif); font-weight: 400; font-size: 20px; }

/* =========================================================================
   Kontakt
   ========================================================================= */

.kontakt {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: clamp(26px, 4vw, 56px);
}
.kontakt__nad {
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--red-ink);
  margin: 0 0 12px;
}
.kontakt__col > .kontakt__nad:not(:first-child) { margin-top: 26px; }

.doba { width: 100%; border-collapse: collapse; }
.doba th, .doba td { padding: 11px 0; text-align: left; vertical-align: top; }
.doba th { font-weight: 400; color: var(--ink); }
.doba td { text-align: right; font-family: var(--serif); font-size: 18px; white-space: nowrap; }
.doba tr { border-bottom: 1px solid var(--linka); }
.doba tr.je-dnes th::after {
  content: "dnes";
  font-family: var(--sans);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: #fff;
  background: var(--red-ink);
  padding: 2px 7px;
  border-radius: 999px;
  margin-left: 10px;
  vertical-align: 2px;
}

.spoj { list-style: none; margin: 0; padding: 0; }
.spoj li { margin-bottom: 8px; }
.spoj a {
  font-family: var(--serif);
  font-size: 21px;
  text-decoration: none;
  border-bottom: 2px solid transparent;
}
.spoj a:hover { border-bottom-color: var(--red); }

address { font-style: normal; line-height: 1.7; color: var(--ink-2); }

.mapa {
  max-width: var(--sirka);
  margin: clamp(34px, 6vw, 64px) auto 0;
  border: 1px solid var(--linka);
  border-radius: 16px;
  overflow: hidden;
}
.mapa iframe { width: 100%; height: clamp(240px, 38vh, 360px); border: 0; filter: saturate(.88); }

/* =========================================================================
   Patička
   ========================================================================= */

.pata {
  background: var(--med);
  border-top: 1px solid var(--med-linka);
  padding: clamp(40px, 6vw, 60px) clamp(18px, 5vw, 44px);
  text-align: center;
  font-size: 14px;
  color: var(--ink-2);
}
.pata p { margin: 0 0 10px; }
.pata a { color: var(--ink); }
.pata__znacka { font-family: var(--serif); font-size: 24px; color: var(--ink); }
.pata__mala {
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid var(--med-linka);
  font-size: 12.5px;
  line-height: 1.6;
  max-width: 60ch;
  margin-inline: auto;
}

/* =========================================================================
   Motion
   ========================================================================= */

.reveal { opacity: 0; transform: translateY(16px); transition: opacity .55s ease, transform .55s ease; }
.reveal.je-videt { opacity: 1; transform: none; }

/* =========================================================================
   Responzivita
   ========================================================================= */

@media (max-width: 760px) {
  .hamburger { display: block; }
  .nav {
    position: fixed;
    inset: var(--hlava) 0 auto;
    margin: 0;
    flex-direction: column;
    gap: 0;
    background: var(--papir);
    border-bottom: 1px solid var(--linka);
    padding: 8px clamp(18px, 5vw, 44px) 18px;
    transform: translateY(-115%);
    transition: transform .26s ease;
    font-size: 17px;
  }
  .nav.je-open { transform: none; }
  .nav a { padding: 13px 0; border-bottom: 1px solid var(--linka); }
  .hlava .stav { display: none; }
}

@media (max-width: 540px) {
  body { font-size: 16px; }
  .hero__lead { max-width: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
  .reveal { opacity: 1; transform: none; }
}
