/* ==========================================================================
   Paraklub Krnov — sdílené styly (design tokens, základ, layout, komponenty)
   Struktura:
     1. Fonty
     2. Design tokens
     3. Reset & základ
     4. Layout utility
     5. Typografie
     6. Komponenty (tlačítka, header, navigace, karty, lightbox, footer…)
     7. Animace & reduced motion
   ========================================================================== */

/* 1. Fonty (self-hosted, latin + latin-ext pro češtinu) ------------------- */
@font-face {
  font-family: "Anton";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/anton-latin-ext.woff2?v=0d17b7880f") 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-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Anton";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/anton-latin.woff2?v=d0fa07ff63") 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: "Inter";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("../fonts/inter-latin-ext.woff2?v=34b9c504ca") 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-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("../fonts/inter-latin.woff2?v=3100e775e8") 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;
}

/* 2. Design tokens -------------------------------------------------------- */
:root {
  /* barvy — noční obloha + signální oranžová (vrchlík, pruh na L-60) */
  --c-bg: #070b14;
  --c-surface: #0e1524;
  --c-surface-2: #151f35;
  --c-line: rgba(255, 255, 255, 0.1);
  --c-text: #eef2f8;
  --c-muted: #9aa7bd;
  --c-accent: #ff4d1a;
  --c-accent-hover: #ff6a3d;
  --c-accent-ink: #0b0f19;
  --c-sky: #4fc3ff;
  --c-warn: #ffb800;
  --c-light-bg: #ffffff;
  --c-light-text: #0b1220;
  --c-light-muted: #4a5568;

  /* typografie */
  --f-display: "Anton", "Impact", "Arial Narrow", sans-serif;
  --f-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --fs-sm: 0.875rem;
  --fs-base: clamp(1rem, 0.95rem + 0.25vw, 1.125rem);
  --fs-lg: clamp(1.125rem, 1rem + 0.5vw, 1.375rem);
  --fs-h3: clamp(1.5rem, 1.2rem + 1.2vw, 2.25rem);
  --fs-h2: clamp(2.25rem, 1.5rem + 3.5vw, 4.5rem);
  --fs-h1: clamp(3rem, 1.5rem + 7.5vw, 8.5rem);

  /* rozestupy & tvary */
  --space-section: clamp(4.5rem, 3rem + 7vw, 9rem);
  --gutter: clamp(1.25rem, 0.75rem + 2.5vw, 3rem);
  --container: 1240px;
  --radius: 14px;
  --radius-lg: 24px;
  --header-h: 72px;

  --shadow: 0 20px 50px -20px rgba(0, 0, 0, 0.6);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

/* 3. Reset & základ ------------------------------------------------------- */
*,
*::before,
*::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 1rem);
}

body {
  margin: 0;
  background: var(--c-bg);
  color: var(--c-text);
  font-family: var(--f-body);
  font-size: var(--fs-base);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
@supports (overflow: clip) {
  html, body { overflow-x: clip; }
}

img, video, svg, iframe { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
button { font: inherit; color: inherit; cursor: pointer; }
ul[class], ol[class] { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4, p, figure, blockquote { margin: 0; }

:focus-visible {
  outline: 3px solid var(--c-sky);
  outline-offset: 3px;
  border-radius: 4px;
}

::selection { background: var(--c-accent); color: var(--c-accent-ink); }

.skip-link {
  position: absolute;
  left: 1rem;
  top: -100px;
  z-index: 1000;
  padding: 0.75rem 1.25rem;
  background: var(--c-accent);
  color: var(--c-accent-ink);
  font-weight: 700;
  border-radius: 8px;
  text-decoration: none;
}
.skip-link:focus { top: 1rem; }

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

/* 4. Layout utility ------------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.container--narrow { max-width: 860px; }

.section { padding-block: var(--space-section); position: relative; }
.section--surface { background: var(--c-surface); }
.section--light { background: var(--c-light-bg); color: var(--c-light-text); }

.grid-2 {
  display: grid;
  gap: clamp(2rem, 1rem + 4vw, 5rem);
  align-items: center;
}
@media (min-width: 960px) {
  .grid-2 { grid-template-columns: 1fr 1fr; }
}

/* 5. Typografie ----------------------------------------------------------- */
.display,
h1, h2 {
  font-family: var(--f-display);
  font-weight: 400;
  line-height: 0.95;
  letter-spacing: 0.01em;
  text-transform: uppercase;
}
h1 { font-size: var(--fs-h1); }
h2 { font-size: var(--fs-h2); }
h3 {
  font-size: var(--fs-h3);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--c-accent);
}
.eyebrow::before {
  content: "";
  width: 2.5rem;
  height: 2px;
  background: currentColor;
}

.lead { font-size: var(--fs-lg); color: var(--c-muted); max-width: 62ch; }
.section--light .lead { color: var(--c-light-muted); }
.text-accent { color: var(--c-accent); }
.section-head { margin-bottom: clamp(2.5rem, 2rem + 2vw, 4rem); }
.section-head .lead { margin-top: 1.25rem; }
.section-head--center { text-align: center; }
.section-head--center .lead { margin-inline: auto; }
.section-head--center .eyebrow::after {
  content: "";
  width: 2.5rem;
  height: 2px;
  background: currentColor;
}

.prose > * + * { margin-top: 1.1em; }
.prose p, .prose li { color: #c9d2e1; }
.prose strong { color: var(--c-text); }

/* 6. Komponenty ----------------------------------------------------------- */

/* Tlačítka */
.btn {
  --btn-bg: var(--c-accent);
  --btn-fg: var(--c-accent-ink);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  min-height: 52px;
  padding: 0.9rem 1.75rem;
  border: 2px solid var(--btn-bg);
  border-radius: 999px;
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  user-select: none;
  transition: transform 0.25s var(--ease-out), background-color 0.2s, border-color 0.2s, box-shadow 0.25s;
}
.btn:hover {
  --btn-bg: var(--c-accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 12px 30px -10px rgba(255, 77, 26, 0.6);
}
.btn svg { width: 1.1em; height: 1.1em; flex: none; transition: transform 0.25s var(--ease-out); }
.btn:hover svg { transform: translateX(3px); }

.btn--ghost {
  --btn-bg: transparent;
  --btn-fg: var(--c-text);
  border-color: rgba(255, 255, 255, 0.45);
  backdrop-filter: blur(6px);
}
.btn--ghost:hover { --btn-bg: rgba(255, 255, 255, 0.12); border-color: #fff; box-shadow: none; }
.btn--dark { --btn-bg: var(--c-light-text); --btn-fg: #fff; }
.btn--dark:hover { --btn-bg: #1d2a44; box-shadow: var(--shadow); }

.btn-row { display: flex; flex-wrap: wrap; gap: 1rem; }

/* Header */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  height: var(--header-h);
  transition: background-color 0.3s, backdrop-filter 0.3s, border-color 0.3s;
  border-bottom: 1px solid transparent;
}
.site-header.is-scrolled,
.site-header.is-solid {
  background: rgba(7, 11, 20, 0.82);
  backdrop-filter: blur(14px) saturate(1.4);
  -webkit-backdrop-filter: blur(14px) saturate(1.4);
  border-color: var(--c-line);
}
.site-header__inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  font-family: var(--f-display);
  font-size: 1.35rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  line-height: 1;
  white-space: nowrap;
}
.logo__mark {
  width: 48px;
  height: 48px;
  flex: none;
  margin: -6px 0 -6px -4px;
  filter: drop-shadow(0 4px 10px rgba(255, 77, 26, 0.25));
  transition: transform 0.4s var(--ease-out);
}
.logo:hover .logo__mark { transform: translateY(-2px) rotate(-6deg); }
@media (max-width: 480px) { .logo__mark { width: 42px; height: 42px; } }
.logo span { color: var(--c-accent); }

/* Navigace */
.nav__list { display: flex; align-items: center; gap: 0.25rem; }
.nav__link {
  position: relative;
  display: block;
  padding: 0.5rem 0.8rem;
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  color: rgba(238, 242, 248, 0.85);
  transition: color 0.2s;
}
.nav__link::after {
  content: "";
  position: absolute;
  left: 0.8rem; right: 0.8rem; bottom: 0.25rem;
  height: 2px;
  background: var(--c-accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s var(--ease-out);
}
.nav__link:hover,
.nav__link[aria-current="page"] { color: #fff; }
.nav__link:hover::after,
.nav__link[aria-current="page"]::after { transform: scaleX(1); }
.nav__cta { margin-left: 0.75rem; min-height: 42px; padding: 0.55rem 1.2rem; font-size: 0.8rem; }

.nav-toggle {
  display: none;
  position: relative;
  z-index: 2;
  width: 48px; height: 48px;
  border: 0;
  background: transparent;
  padding: 0;
}
.nav-toggle__bar {
  position: absolute;
  left: 12px; right: 12px;
  height: 2px;
  background: #fff;
  transition: transform 0.35s var(--ease-out), opacity 0.2s;
}
.nav-toggle__bar:nth-child(1) { top: 17px; }
.nav-toggle__bar:nth-child(2) { top: 23px; }
.nav-toggle__bar:nth-child(3) { top: 29px; }
.nav-open .nav-toggle__bar:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-open .nav-toggle__bar:nth-child(2) { opacity: 0; }
.nav-open .nav-toggle__bar:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 1079px) {
  .nav-toggle { display: block; }
  .nav {
    position: fixed;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: calc(var(--header-h) + 1rem) var(--gutter) 2rem;
    background: rgba(7, 11, 20, 0.97);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s, visibility 0.3s;
  }
  .nav-open .nav { opacity: 1; visibility: visible; }
  .nav-open { overflow: hidden; }
  .nav__list { flex-direction: column; gap: 0.25rem; text-align: center; }
  .nav__link {
    font-family: var(--f-display);
    font-size: clamp(2rem, 8vw, 3rem);
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    line-height: 1.2;
  }
  .nav__link::after { bottom: 0.4rem; height: 3px; }
  .nav__cta { margin: 1.5rem 0 0; }
  .nav-open .site-header { background: transparent; border-color: transparent; backdrop-filter: none; }
}

/* Karty */
.card {
  position: relative;
  padding: clamp(1.5rem, 1rem + 2vw, 2.5rem);
  background: var(--c-surface-2);
  border: 1px solid var(--c-line);
  border-radius: var(--radius-lg);
}

/* Checklist */
.checklist { display: grid; gap: 0.9rem; }
.checklist li {
  position: relative;
  padding-left: 2.25rem;
  line-height: 1.5;
}
.checklist li::before {
  content: "";
  position: absolute;
  left: 0; top: 0.1em;
  width: 1.35rem; height: 1.35rem;
  border-radius: 50%;
  background: var(--c-accent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230b0f19' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 70% no-repeat;
}

/* Obrázek s rámečkem */
.media-frame {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.media-frame img { width: 100%; height: 100%; object-fit: cover; }
.media-frame figcaption,
.figure-caption {
  padding: 0.85rem 0.25rem 0;
  font-size: var(--fs-sm);
  color: var(--c-muted);
}

/* Zoomovatelné obrázky (lightbox trigger) */
.zoomable {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: var(--radius);
  cursor: zoom-in;
}
.zoomable img { width: 100%; transition: transform 0.6s var(--ease-out); }
.zoomable:hover img { transform: scale(1.04); }
.zoomable::after {
  content: "";
  position: absolute;
  right: 0.75rem; bottom: 0.75rem;
  width: 40px; height: 40px;
  border-radius: 50%;
  background: rgba(7, 11, 20, 0.7) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='M20 20l-3.5-3.5M11 8v6M8 11h6'/%3E%3C/svg%3E") center / 55% no-repeat;
  opacity: 0;
  transform: scale(0.8);
  transition: opacity 0.25s, transform 0.25s var(--ease-out);
}
.zoomable:hover::after,
.zoomable:focus-visible::after { opacity: 1; transform: none; }
@media (hover: none) { .zoomable::after { opacity: 1; transform: none; } }

/* Footer */
.site-footer {
  position: relative;
  padding-block: 4rem 2rem;
  background: #04070d;
  border-top: 1px solid var(--c-line);
  font-size: var(--fs-sm);
  color: var(--c-muted);
}
.site-footer__grid {
  display: grid;
  gap: 2.5rem;
}
@media (min-width: 800px) {
  .site-footer__grid { grid-template-columns: 1.4fr 1fr 1fr; }
}
.site-footer h2 {
  margin-bottom: 1rem;
  font-family: var(--f-body);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: var(--c-text);
}
.site-footer p { max-width: 38ch; margin-top: 1rem; }
.site-footer__links { display: grid; gap: 0.5rem; }
.site-footer a { text-decoration: none; transition: color 0.2s; }
.site-footer a:hover { color: var(--c-accent); }
.site-footer__bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 3rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--c-line);
}
.blue-skies { font-family: var(--f-display); letter-spacing: 0.1em; color: var(--c-text); text-transform: uppercase; }

/* Odkaz zpět nahoru */
.to-top {
  position: fixed;
  right: 1.25rem; bottom: 1.25rem;
  z-index: 90;
  display: grid;
  place-items: center;
  width: 50px; height: 50px;
  border-radius: 50%;
  background: var(--c-accent);
  color: var(--c-accent-ink);
  box-shadow: var(--shadow);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity 0.3s, visibility 0.3s, transform 0.3s var(--ease-out);
}
.to-top.is-visible { opacity: 1; visibility: visible; transform: none; }
.to-top svg { width: 22px; height: 22px; }

/* Běžící pás (ticker) */
.ticker {
  position: relative;
  z-index: 2;
  overflow: hidden;
  padding-block: 1rem;
  background: var(--c-accent);
  color: var(--c-accent-ink);
  transform: rotate(-2deg) scale(1.04);
  margin-block: -1.5rem;
}
.ticker__track {
  display: flex;
  width: max-content;
  animation: ticker 32s linear infinite;
}
.ticker__item {
  display: flex;
  align-items: center;
  gap: 2rem;
  padding-right: 2rem;
  font-family: var(--f-display);
  font-size: clamp(1.5rem, 1rem + 2vw, 2.5rem);
  text-transform: uppercase;
  white-space: nowrap;
  line-height: 1;
}
.ticker__item svg { width: 0.8em; height: 0.8em; }

/* Hero podstránek (výuka, galerie, právní info) ---------------------------------------------------------------- */
.page-hero {
  position: relative;
  min-height: min(88svh, 820px);
  display: grid;
  align-items: end;
  isolation: isolate;
  overflow: hidden;
  padding-block: calc(var(--header-h) + 3rem) clamp(2.5rem, 2rem + 3vw, 4.5rem);
}
.page-hero__bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 35%;
  transform: scale(1.08);
  animation: hero-drift 18s ease-out forwards;
}
.page-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(0deg, var(--c-bg) 0%, rgba(7, 11, 20, 0.75) 40%, rgba(7, 11, 20, 0.25) 75%, rgba(7, 11, 20, 0.55) 100%),
    radial-gradient(ellipse at 15% 90%, rgba(255, 77, 26, 0.3), transparent 55%);
}
@keyframes hero-drift { to { transform: scale(1); } }

.page-hero h1 { font-size: clamp(2.75rem, 1.5rem + 6vw, 7rem); max-width: 14ch; }
.page-hero h1 .outline { color: transparent; -webkit-text-stroke: 2px #fff; }
.page-hero .lead { margin-top: 1.5rem; color: rgba(238, 242, 248, 0.88); }

.chips { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-top: 2rem; }
.chip {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  background: rgba(7, 11, 20, 0.45);
  backdrop-filter: blur(6px);
  font-size: 0.85rem;
  font-weight: 600;
}
.chip svg { width: 16px; height: 16px; color: var(--c-accent); }

.page-hero--compact { min-height: min(62svh, 560px); }
.page-hero--compact h1 { max-width: none; }

/* Formuláře -------------------------------------------------------------- */
.field { display: grid; gap: 0.45rem; margin: 0 0 1.15rem; padding: 0; border: 0; min-width: 0; }
.field-row { display: grid; gap: 0 1rem; }
@media (min-width: 600px) { .field-row { grid-template-columns: 1fr 1fr; } }
.field__label { padding: 0; font-size: 0.85rem; font-weight: 700; color: var(--c-text); }
.field__label span { font-weight: 500; color: var(--c-muted); }
.field__input {
  width: 100%;
  min-height: 50px;
  padding: 0.8rem 1rem;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 12px;
  background: rgba(7, 11, 20, 0.6);
  color: var(--c-text);
  font: inherit;
  font-size: 1rem; /* ≥16 px — iOS nezoomuje */
  transition: border-color 0.2s, box-shadow 0.2s;
}
textarea.field__input { resize: vertical; min-height: 130px; }
select.field__input {
  appearance: none;
  padding-right: 2.75rem;
  background: rgba(7, 11, 20, 0.6) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%239aa7bd' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") right 1rem center / 18px no-repeat;
}
select.field__input option { background: var(--c-surface); color: var(--c-text); }
.field__input::placeholder { color: rgba(154, 167, 189, 0.6); }
.field__input:hover { border-color: rgba(255, 255, 255, 0.3); }
.field__input:focus { outline: none; border-color: var(--c-accent); box-shadow: 0 0 0 4px rgba(255, 77, 26, 0.2); }
.field__error { display: none; font-size: 0.8rem; font-weight: 600; color: #ff8a66; }
.field.is-invalid .field__input { border-color: #ff8a66; }
.field.is-invalid .field__error { display: block; }

.choice { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.choice label { position: relative; cursor: pointer; }
.choice input { position: absolute; opacity: 0; pointer-events: none; }
.choice span {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 0.5rem 1.1rem;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 700;
  transition: background-color 0.2s, border-color 0.2s, color 0.2s;
}
.choice label:hover span { border-color: rgba(255, 255, 255, 0.4); }
.choice input:checked + span { background: var(--c-accent); border-color: var(--c-accent); color: var(--c-accent-ink); }
.choice input:focus-visible + span { outline: 3px solid var(--c-sky); outline-offset: 2px; }

/* 7. Animace -------------------------------------------------------------- */
@keyframes fade-in { from { opacity: 0; } }
@keyframes ticker { to { transform: translateX(-50%); } }

/* Reveal při scrollu — aktivní jen s JS (třída .js na <html>) */
.js [data-reveal] {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.9s var(--ease-out), transform 0.9s var(--ease-out);
  transition-delay: var(--reveal-delay, 0s);
}
.js [data-reveal="left"] { transform: translateX(-50px); }
.js [data-reveal="right"] { transform: translateX(50px); }
.js [data-reveal="zoom"] { transform: scale(0.92); }
.js [data-reveal].is-revealed { opacity: 1; transform: none; }

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