/* ============================================================
   Slnečná stráň Hrabušice — variant 19c „AZUR / VÝCHOD"
   Odnož variantu 19b s prepracovanou réžiou slnka. Namiesto
   klesania (pôsobilo ako západ) slnko pri scrollovaní VYCHÁDZA:
   dvíha sa spoza horizontu, chladne z oranžovej do bielej,
   jeho bloom sa rozlieva do scény a lúče sa predlžujú.
   ============================================================ */

:root {
  --bg: #f4f8f6;
  --bg-2: #e7f0f2;
  --ink: #14302c;
  --muted: #55726e;
  --line: rgba(20, 48, 44, 0.15);
  /* --gold nesie v tejto verzii prírodnú zeleň (názov ostáva kvôli
     zvyšku súboru); --sun je teplý akcent slnečných efektov */
  --gold: #40702f;
  --gold-soft: #6d9a48;
  --ember: #2f6f86;
  --sky: #a9d2ea;
  --sky-deep: #3f89b8;
  --leaf-soft: #cfe3c2;
  --sun: #f0b13f;

  --available: #4a8232;
  --reserved: #d59029;
  --sold: #8aa1a5;
  --map-ground: #e7f0ea;

  --serif: "Playfair Display", Georgia, serif;
  --sans: "Outfit", "Segoe UI", system-ui, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
  /* miesto pre posuvník držíme stále, aby zámok scrollu pri pauze
     medzi kapitolami neposunul rozloženie */
  scrollbar-gutter: stable;
  background: var(--bg);
  /* clip (nie hidden) — orezáva presahy slnečných vrstiev a preletu,
     ale nevytvára scroll kontajner, takže sticky scény fungujú */
  overflow-x: clip;
}

body {
  background: var(--bg);
  color: var(--ink);
  font: 300 16.5px/1.7 var(--sans);
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}
body.is-locked { overflow: hidden; }

img { max-width: 100%; display: block; }
a { color: inherit; }

a:focus-visible, button:focus-visible, input:focus-visible,
select:focus-visible, textarea:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

.skip-link {
  position: fixed; top: -70px; left: 18px; z-index: 10001;
  padding: 12px 18px; border-radius: 999px;
  background: var(--gold); color: #f6fbf4;
  font-weight: 700; text-decoration: none;
  transition: top 0.25s ease;
}
.skip-link:focus-visible { top: 14px; }

/* ---------- Typografia ---------- */
.h-serif {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(32px, 4.6vw, 62px);
  line-height: 1.08;
  letter-spacing: -0.012em;
  margin-bottom: 22px;
  text-wrap: balance;
}
.h-serif em { font-style: italic; color: var(--gold); }
.eyebrow {
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: #2f5a20;
  margin-bottom: 20px;
}
p { margin-bottom: 16px; }

/* ---------- Atmosféra ---------- */
.preloader {
  position: fixed; inset: 0; z-index: 10000;
  display: grid; place-content: center; justify-items: center; gap: 22px;
  background: var(--bg);
  transition: transform 1.1s cubic-bezier(0.76, 0, 0.24, 1),
              opacity 0.6s ease 0.5s;
}
.preloader.is-done { transform: translateY(-101%); opacity: 0; pointer-events: none; }
.preloader__word {
  font-family: var(--serif);
  font-size: clamp(20px, 3vw, 30px);
  letter-spacing: 0.34em;
  color: var(--gold);
  margin: 0;
}
.preloader__bar { width: min(240px, 60vw); height: 1px; background: rgba(20,48,44,.14); overflow: hidden; }
.preloader__bar span {
  display: block; height: 100%; width: 100%;
  background: var(--gold);
  transform: scaleX(0); transform-origin: left;
  animation: preload 1.1s cubic-bezier(0.3, 0.9, 0.3, 1) forwards;
}
@keyframes preload { to { transform: scaleX(1); } }
.preloader__meta { margin: 0; font-size: 10px; letter-spacing: 0.3em; color: var(--muted); }

.cursor { display: none; }
@media (pointer: fine) {
  body.has-cursor { cursor: none; }
  body.has-cursor a, body.has-cursor button, body.has-cursor .parcel,
  body.has-cursor input, body.has-cursor select, body.has-cursor textarea,
  body.has-cursor label { cursor: none; }
  body.has-cursor .cursor { display: block; position: fixed; inset: 0; z-index: 9999; pointer-events: none; overflow: clip; }
  .cursor__dot, .cursor__ring { position: absolute; top: 0; left: 0; border-radius: 50%; translate: -50% -50%; }
  .cursor__dot { width: 5px; height: 5px; background: var(--gold); }
  .cursor__ring {
    width: 36px; height: 36px;
    border: 1px solid rgba(64, 112, 47, 0.55);
    transition: scale 0.3s ease, background 0.3s ease, border-color 0.3s ease;
  }
  .cursor.is-link .cursor__ring {
    scale: 1.65;
    background: rgba(233, 196, 96, 0.24);
    border-color: var(--gold);
  }
}

.grain {
  position: fixed; inset: 0; z-index: 9990; pointer-events: none; opacity: 0.035;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3'/%3E%3C/filter%3E%3Crect width='180' height='180' filter='url(%23n)'/%3E%3C/svg%3E");
}
.vignette {
  position: fixed; inset: 0; z-index: 9989; pointer-events: none;
  background: radial-gradient(120% 92% at 50% 46%, transparent 58%, rgba(40, 92, 88, 0.15));
}
.scroll-rail {
  position: fixed; top: 0; left: 0; right: 0; z-index: 9991; height: 2px;
  background: rgba(20,48,44,.08);
}
.scroll-rail span {
  display: block; height: 100%; width: 100%;
  transform-origin: left; scale: var(--progress, 0) 1;
  background: linear-gradient(90deg, var(--gold-soft), var(--gold));
}

/* ═══════════ Ukazovateľ sekcie ═══════════
   Pri pravom okraji drží číslo aktuálnej kapitoly, jej názov
   a zvislý prúžok s priebehom stránky. */
.hud { position: fixed; inset: 0; z-index: 180; pointer-events: none; }
.hud__chapter {
  position: absolute; right: 46px; top: 50%; translate: 0 -50%;
  display: grid; justify-items: end; gap: 4px; text-align: right;
  margin: 0;
}
.hud__chapter em {
  font-family: var(--serif); font-style: normal; font-size: 34px;
  line-height: 1; color: rgba(64, 112, 47, 0.6);
}
.hud__chapter span {
  font-size: 9px; letter-spacing: 0.32em; text-transform: uppercase; color: var(--muted);
}
.hud__bar {
  position: absolute; right: 22px; top: 50%; translate: 0 -50%;
  width: 1px; height: 130px; background: rgba(20, 48, 44, 0.16);
}
.hud__bar span {
  display: block; width: 100%; height: 100%;
  transform-origin: top; scale: 1 var(--progress, 0);
  background: linear-gradient(180deg, var(--gold), var(--gold-soft));
}
@media (max-width: 1040px) {
  .hud { display: none; }
}

/* ---------- Navigácia ---------- */
.nav {
  position: fixed; inset: 0 0 auto; z-index: 200;
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px; padding: 22px clamp(20px, 4vw, 58px) 26px;
  /* podklad drží kontrast pod logom aj odkazmi a až potom sa stráca */
  background: linear-gradient(180deg,
    rgba(244, 248, 246, 0.96) 0%,
    rgba(244, 248, 246, 0.86) 52%,
    rgba(244, 248, 246, 0.42) 82%,
    transparent 100%);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(20, 48, 44, 0.07);
}
.nav__logo {
  font-family: var(--serif);
  font-size: 17px; letter-spacing: 0.3em;
  text-decoration: none;
  color: var(--ink);
}
.nav__links { display: flex; align-items: center; gap: 30px; }
.nav__links > a:not(.btn) {
  font-size: 12px; font-weight: 600;
  letter-spacing: 0.18em; text-transform: uppercase;
  text-decoration: none; color: var(--ink);
  transition: color 0.25s ease;
}
.nav__links > a:not(.btn):hover { color: var(--gold); }
.underline-fx { position: relative; text-decoration: none; }
.underline-fx::after {
  content: ""; position: absolute; left: 0; bottom: -4px;
  width: 100%; height: 1px; background: currentColor;
  transform: scaleX(0); transform-origin: right;
  transition: transform 0.45s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.underline-fx:hover::after { transform: scaleX(1); transform-origin: left; }

/* ---------- Tlačidlá ---------- */
.btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center;
  padding: 18px 38px; border: 1px solid rgba(20,48,44,.28); border-radius: 999px;
  background: transparent; overflow: hidden; text-decoration: none; cursor: pointer;
  /* <button> nededí farbu od rodiča — nastavujeme ju explicitne */
  color: var(--ink);
}
.btn--sm { padding: 11px 22px; }
.btn--full { width: 100%; }
.btn__t {
  position: relative; z-index: 2; pointer-events: none;
  font: 600 13px/1 var(--sans);
  letter-spacing: 0.16em; text-transform: uppercase;
  transition: color 0.35s ease;
}
.btn__fill {
  position: absolute; inset: 0; z-index: 1; border-radius: 999px;
  background: var(--gold); transform: translateY(101%);
  transition: transform 0.45s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.btn:hover .btn__fill { transform: translateY(0); }
.btn:hover .btn__t { color: #f6fbf4; }
.btn--ghost { border-color: rgba(20,48,44,.45); }

/* Nad fotkou obrysové tlačidlo nestačí, preto je hlavné CTA v úvode plné.
   Výplň pri nabehnutí myšou stmavne, takže reakcia ostáva zachovaná. */
.hero__cta .btn {
  padding: 19px 42px;
  border-color: transparent;
  background: var(--gold);
  box-shadow: 0 14px 34px rgba(20, 56, 24, 0.28);
}
.hero__cta .btn .btn__t { color: #f7fbf4; }
.hero__cta .btn .btn__fill { background: #24491a; }
.hero__cta .btn:hover .btn__t { color: #ffffff; }

/* ---------- Pripnuté scény ---------- */
.scene { position: relative; }
.scene--hero { height: 250vh; }
.scene--gal { height: 330vh; }
.scene__pin {
  position: sticky; top: 0;
  height: 100vh; height: 100svh;
  overflow: clip;
}

/* I. Hero */
.hero__bg { position: absolute; inset: 0; }
.hero__bg img {
  width: 100%; height: 100%; object-fit: cover;
  /* len jemné zotepľenie — jas rieši závoj nad fotkou, aby sa
     nepresvecovali aj boky, kde má krajina ostať sýta */
  filter: saturate(1.1) brightness(1.02) contrast(1.0);
  will-change: transform;
}
.hero__shade {
  position: absolute; inset: 0;
  background:
    /* teplý nádych okolo slnka */
    radial-gradient(72% 48% at 50% 14%, rgba(255, 250, 236, 0.6), transparent 64%),
    /* svetlý podklad iba pod textom — po stranách sa stráca,
       takže ľavý a pravý okraj fotky ostávajú sýte */
    radial-gradient(ellipse 30% 46% at 50% 47%, rgba(247, 250, 248, 0.62), transparent 70%),
    radial-gradient(ellipse 42% 72% at 50% 48%, rgba(244, 248, 246, 0.56), transparent 74%),
    linear-gradient(180deg, rgba(120, 180, 214, 0.12) 0%, rgba(196, 226, 232, 0.05) 34%,
                    rgba(244, 248, 246, 0.34) 70%, var(--bg) 100%);
}
.hero__sunwrap {
  position: absolute; left: 50%; top: 0; bottom: 0; width: 0;
  translate: calc(17vw - var(--rise) * 4vw) 0;
  pointer-events: none;
  /* --rise: 0 = slnko pri horizonte, 1 = vysoko nad krajinou */
  --rise: 0;
}
/* kotúč sa dvíha a chladne — z oranžovej pri horizonte do bielej */
.hero__disc {
  position: absolute; left: 0;
  top: calc(16% - var(--rise) * 14%);
  width: clamp(150px, 19vw, 260px); aspect-ratio: 1;
  translate: -50% -50%; border-radius: 50%;
  scale: calc(0.66 - var(--rise) * 0.14);
  background: radial-gradient(circle at 48% 46%,
    #ffffff calc(10% + var(--rise) * 18%),
    #fffaf0 calc(42% + var(--rise) * 10%),
    rgba(250, 222, 178, calc(0.48 - var(--rise) * 0.22)) 76%,
    transparent 92%);
  filter: blur(calc(9px - var(--rise) * 4px));
  opacity: calc(0.78 + var(--rise) * 0.22);
  will-change: top, scale;
}
/* bloom — žiara sa rozlieva do scény, ako keď svetlo prežiari objektív */
.hero__bloom {
  position: absolute; left: 0;
  top: calc(16% - var(--rise) * 14%);
  width: clamp(420px, 76vw, 1250px); aspect-ratio: 1;
  translate: -50% -50%; border-radius: 50%;
  background: radial-gradient(circle,
    rgba(255, 250, 236, calc(0.32 + var(--rise) * 0.28)) 0%,
    rgba(255, 234, 198, calc(0.14 + var(--rise) * 0.13)) 28%,
    transparent 66%);
  mix-blend-mode: screen;
  scale: calc(0.5 + var(--rise) * 0.52);
  will-change: top, scale;
}
/* lúče sa s výškou slnka predlžujú a zjasňujú */
.hero__rays {
  position: absolute; left: 0;
  top: calc(16% - var(--rise) * 14%);
  width: min(150vw, 1400px); aspect-ratio: 1;
  translate: -50% -50%;
  background: repeating-conic-gradient(from 0deg at 50% 50%,
    rgba(255, 250, 232, 0.5) 0deg 2deg, transparent 2deg 13deg);
  -webkit-mask-image: radial-gradient(circle at 50% 50%,
    #000 calc(2% + var(--rise) * 2%),
    rgba(0,0,0,.45) calc(10% + var(--rise) * 8%), transparent calc(27% + var(--rise) * 15%));
  mask-image: radial-gradient(circle at 50% 50%,
    #000 calc(2% + var(--rise) * 2%),
    rgba(0,0,0,.45) calc(10% + var(--rise) * 8%), transparent calc(27% + var(--rise) * 15%));
  mix-blend-mode: screen;
  opacity: calc(0.3 + var(--rise) * 0.42);
  filter: blur(1px);
  animation: rays 150s linear infinite;
  will-change: top, opacity;
}
@keyframes rays { to { rotate: 360deg; } }
/* odlesk v objektíve putuje po diagonále proti pohybu slnka */
.hero__flare {
  position: absolute; inset: 0; pointer-events: none; mix-blend-mode: screen;
  --fx: 0;
}
.hero__flare i {
  position: absolute; border-radius: 50%;
  left: calc(50% + var(--fx) * var(--fd, 1) * 26%);
  top: calc(var(--ft, 50%) + var(--fx) * var(--fd, 1) * 14%);
  translate: -50% -50%;
  background: radial-gradient(circle, var(--fc, rgba(255,242,214,.46)), transparent 68%);
  filter: blur(1px);
  animation: flare 7s ease-in-out infinite;
}
.hero__flare i:nth-child(1) { width: 110px; height: 110px; --ft: 36%; --fd: 1;    --fc: rgba(255,240,206,.38); }
.hero__flare i:nth-child(2) { width: 48px;  height: 48px;  --ft: 50%; --fd: 1.7;  --fc: rgba(255,222,178,.4); animation-delay: -2.2s; }
.hero__flare i:nth-child(3) { width: 156px; height: 156px; --ft: 63%; --fd: 2.5;  --fc: rgba(190,224,240,.26); animation-delay: -4.4s; }
.hero__flare i:nth-child(4) { width: 34px;  height: 34px;  --ft: 74%; --fd: 3.2;  --fc: rgba(255,248,232,.46);  animation-delay: -1.1s; }
@keyframes flare {
  0%, 100% { opacity: 0.45; scale: 1; }
  50% { opacity: 0.8; scale: 1.1; }
}
/* teplý závoj pri horizonte, ktorý s východom slnka vychladne do modrej */
.hero__warm {
  position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(48% 36% at 67% 12%, rgba(255, 226, 186, 0.32), transparent 68%),
    linear-gradient(180deg, rgba(255, 222, 176, 0.1) 0%, transparent 38%);
  opacity: calc(1 - var(--rise));
  mix-blend-mode: screen;
}
.hero__stack {
  position: absolute; inset: 0;
  display: grid; place-content: center; justify-items: center;
  text-align: center; padding: 20px;
  will-change: transform, opacity;
}
.mega {
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(46px, 8.6vw, 118px); line-height: 0.98;
  display: grid; margin-bottom: 26px;
  text-shadow:
    0 1px 3px rgba(255, 253, 246, 0.95),
    0 2px 22px rgba(255, 252, 242, 0.95),
    0 0 60px rgba(255, 252, 242, 0.75);
}
.mega__a { transform: translateX(-4%); }
.mega__b { transform: translateX(4%); font-style: italic; color: #315a22; }
.hero__sub {
  max-width: 54ch; margin: 0 auto 34px;
  font-size: clamp(17px, 1.9vw, 21px);
  font-weight: 450;
  line-height: 1.62;
  color: #10322c;
  /* jemný svetelný lem drží text čitateľný aj nad tmavšou časťou fotky */
  text-shadow: 0 1px 12px rgba(255, 253, 246, 0.95), 0 0 34px rgba(255, 253, 246, 0.7);
}
.hero__cta { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 26px; }
.hero__link {
  font-size: 13.5px; font-weight: 600;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: #10322c;
  text-shadow: 0 1px 10px rgba(255, 253, 246, 0.95);
}
/* podčiarknutie je vidieť hneď, nielen po nabehnutí myšou */
.hero__link.underline-fx::after { transform: scaleX(1); transform-origin: left; opacity: 0.35; }
.hero__link.underline-fx:hover::after { opacity: 1; }
.hero__cue {
  position: absolute; left: 50%; bottom: 96px; translate: -50% 0;
  display: grid; justify-items: center; gap: 11px;
  font-size: 10.5px; font-weight: 600; letter-spacing: 0.38em; color: #2b4b46;
  text-shadow: 0 1px 10px rgba(255, 253, 246, 0.9);
}
.hero__mouse {
  width: 23px; height: 35px; border: 1px solid rgba(20,48,44,.3);
  border-radius: 12px; display: grid; justify-items: center; padding-top: 6px;
}
.hero__mouse i {
  width: 2px; height: 6px; border-radius: 2px; background: var(--gold);
  animation: wheel 1.6s ease-in-out infinite;
}
@keyframes wheel {
  0% { transform: translateY(0); opacity: 1; }
  100% { transform: translateY(11px); opacity: 0; }
}
.hero__meta {
  position: absolute; inset: auto 0 0;
  display: flex; justify-content: space-between; gap: 18px;
  padding: 18px clamp(20px, 4vw, 58px) 24px;
  border-top: 1px solid var(--line);
  background: linear-gradient(180deg, transparent, rgba(251,247,238,.8));
  font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase;
  text-shadow: 0 1px 10px rgba(255, 253, 246, 0.85);
}
.hero__meta dt { color: #3f5d58; font-size: 10.5px; font-weight: 600; letter-spacing: 0.26em; }
.hero__meta dd { font-family: var(--serif); font-size: 19px; letter-spacing: 0.04em; color: var(--gold); }


/* kŕdeľ ponad načítavaciu obrazovku — preletí ešte kým sa stránka odhalí */
.boot-birds {
  position: absolute; inset: 0 0 auto 0;
  height: 46%;
  overflow: clip; pointer-events: none;
}
.boot-birds__bird {
  position: absolute; top: 0; left: 0;
  width: var(--size, 34px);
  transform-origin: 50% 50%;
  will-change: transform;
}
.boot-birds__bird svg { width: 100%; height: auto; display: block; overflow: visible; }
.boot-birds__bird .body,
.boot-birds__bird .wing { fill: rgba(51, 83, 77, .75); }
.boot-birds__bird .wing { transform-origin: 50px 26px; will-change: transform; }

/* ═══════════ Prelet vtáctva ═══════════
   Kŕdeľ priletí ako vstupný efekt sekcie príbehu a prejde ponad jej
   horný okraj — nad obrazom aj textom. Dráhu, mávanie aj náklon
   počíta app.js v rAF slučke, preto má každý vták vlastný letový
   cyklus: sériu úderov krídel, plachtenie, mierne klesanie. */
.birds-layer {
  position: absolute;
  inset: 0 0 auto 0;
  height: clamp(140px, 20vh, 230px);
  overflow: clip;
  pointer-events: none;
  z-index: 3;
}
.birds-layer__bird {
  position: absolute;
  top: 0; left: 0;
  width: var(--size, 34px);
  transform-origin: 50% 50%;
  will-change: transform;
}
.birds-layer__bird svg { width: 100%; height: auto; display: block; overflow: visible; }
.birds-layer__bird .body { fill: var(--bird-ink, #33534d); }
.birds-layer__bird .wing {
  fill: var(--bird-ink, #33534d);
  transform-origin: 50px 26px;
  will-change: transform;
}
@media (max-width: 760px) {
  .birds-layer { height: clamp(110px, 16vh, 170px); }
}

/* ---------- II. Príbeh ---------- */
/* ── Vstup sekcie príbehu ─────────────────────────────────────────
   Obraz priletí zľava, text sprava — sekcia sa poskladá k sebe.
   Animuje sa `translate`, aby parallax vnútri obrázka ostal voľný. */
.story__media.reveal {
  opacity: 0;
  transform: none;
  translate: -64px 0;
  transition: opacity 0.85s ease, translate 1s cubic-bezier(0.18, 0.84, 0.28, 1);
}
.story__copy.reveal {
  opacity: 0;
  transform: none;
  translate: 64px 0;
  transition: opacity 0.85s ease 0.1s, translate 1s cubic-bezier(0.18, 0.84, 0.28, 1) 0.1s;
}
.story__media.reveal.is-in,
.story__copy.reveal.is-in { opacity: 1; translate: 0 0; }
/* plávajúca karta dobehne až po obraze */
.story__float {
  opacity: 0;
  translate: 0 26px;
  transition: opacity 0.7s ease 0.5s, translate 0.8s cubic-bezier(0.2, 0.8, 0.2, 1) 0.5s;
}
.story__media.is-in .story__float { opacity: 1; translate: 0 0; }

.story {
  position: relative;
  padding: clamp(90px, 15vh, 170px) clamp(20px, 5vw, 60px);
}
.story__grid {
  max-width: 1340px; margin-inline: auto;
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(40px, 6vw, 100px); align-items: center;
}
.story__media { position: relative; aspect-ratio: 4 / 5; }
.story__mask { width: 100%; height: 100%; overflow: clip; border-radius: 3px; box-shadow: 0 26px 60px rgba(30,70,66,.14); }
.story__mask img {
  width: 100%; height: 118%; object-fit: cover;
  transform: translate3d(0, var(--py, 0px), 0);
  will-change: transform;
}
.story__float {
  position: absolute; right: -34px; bottom: -34px; max-width: 290px;
  padding: 26px 30px; background: rgba(255, 255, 253, 0.92);
  backdrop-filter: blur(18px); border: 1px solid var(--line);
  box-shadow: 0 22px 50px rgba(30, 70, 66, 0.12);
}
.story__float p {
  margin: 0;
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(17px, 1.5vw, 21px); line-height: 1.3;
  letter-spacing: -0.005em;
}
.story__copy p { color: var(--muted); font-size: 17.5px; }
.pills { list-style: none; display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.pills li {
  padding: 10px 18px; border: 1px solid var(--line); border-radius: 999px;
  font-size: 12.5px; letter-spacing: 0.08em; color: var(--ink);
  transition: border-color 0.3s ease, background 0.3s ease, transform 0.3s ease;
}
.pills li:hover { border-color: rgba(64,112,47,.6); background: rgba(139, 184, 106, 0.24); transform: translateY(-2px); }

/* ═══════════ Oblaky za galériou ═══════════
   Tri vrstvy s rôznou hĺbkou: vzdialené sa hýbu pomaly a sú bledšie,
   blízke rýchlejšie a kontrastnejšie. Posun riadi app.js — ide proti
   smeru pásu fotiek a nie je vodorovný: každá vrstva sa pritom mierne
   dvíha alebo klesá, takže obloha nepôsobí ako posúvajúca sa tapeta. */
.clouds {
  position: absolute; inset: 0;
  overflow: clip; pointer-events: none; z-index: 0;
}
.clouds__layer {
  position: absolute; inset: 0;
  will-change: transform;
  /* vlastné pomalé plávanie beží na vrstve, nie na jednotlivých mrakoch
     — inak by sa turbulentný filter prepočítaval každý snímok */
  animation: cloud-drift var(--lfloat, 30s) ease-in-out infinite alternate;
  animation-delay: var(--ldelay, 0s);
}
.clouds__layer--haze { --lfloat: 44s; --ldelay: -6s; }
.clouds__layer--far  { --lfloat: 36s; --ldelay: -14s; }
.clouds__layer--mid  { --lfloat: 29s; --ldelay: -3s; }
.clouds__layer--near { --lfloat: 23s; --ldelay: -18s; }
.clouds__layer--haze {
  transform: translate(calc(var(--drift, 0px) * 0.14), calc(var(--drift, 0px) * -0.05));
}
.clouds__layer--far {
  transform: translate(calc(var(--drift, 0px) * 0.32), calc(var(--drift, 0px) * -0.12));
}
.clouds__layer--mid {
  transform: translate(calc(var(--drift, 0px) * 0.68), calc(var(--drift, 0px) * 0.08));
}
.clouds__layer--near {
  transform: translate(calc(var(--drift, 0px) * 1.25), calc(var(--drift, 0px) * -0.06));
}

.cloud-defs { position: absolute; width: 0; height: 0; overflow: hidden; }
.cloud {
  position: absolute;
  top: var(--y, 20%);
  left: var(--x, 10%);
  width: var(--w, 260px);
  aspect-ratio: 2.6 / 1;
  opacity: var(--o, 0.9);
  /* mäkké klbko pary; obrys mu dá až SVG filter nižšie */
  background:
    radial-gradient(ellipse 34% 52% at 28% 60%, #fff 0 72%, transparent 76%),
    radial-gradient(ellipse 40% 66% at 48% 46%, #fff 0 74%, transparent 78%),
    radial-gradient(ellipse 32% 50% at 68% 56%, #fff 0 72%, transparent 76%),
    radial-gradient(ellipse 24% 38% at 84% 66%, #fff 0 70%, transparent 74%),
    radial-gradient(ellipse 46% 22% at 52% 76%, #fff 0 76%, transparent 80%);
  filter: url(#cloudify-a) blur(var(--blur, 2px));
}
.cloud:nth-child(3n)     { filter: url(#cloudify-b) blur(var(--blur, 2px)); }
.cloud:nth-child(3n + 2) { filter: url(#cloudify-c) blur(var(--blur, 2px)); }
@keyframes cloud-drift {
  from { translate: 0 0; }
  to   { translate: 16px -9px; }
}
/* spodná hrana je chladnejšia — mrak tak dostane objem */
.cloud::after {
  content: "";
  position: absolute; inset: 26% 6% 0 6%;
  background: radial-gradient(ellipse 46% 44% at 50% 88%, rgba(150, 184, 208, 0.5), transparent 72%);
  filter: blur(6px);
}

/* ---------- III. Horizontálny prechod ---------- */
.scene--gal .scene__pin {
  display: grid; align-content: center;
  background: linear-gradient(180deg, var(--sky) 0%, #ddeee0 46%, var(--bg) 100%);
}
.gal__title {
  position: absolute; top: clamp(70px, 12vh, 120px); left: clamp(20px, 5vw, 60px);
  font-family: var(--serif); font-size: 12px; letter-spacing: 0.4em;
  color: var(--gold);
}
.gal__track {
  position: relative; z-index: 1;
  display: flex; gap: clamp(18px, 3vw, 40px);
  padding-inline: clamp(20px, 5vw, 60px);
  width: max-content; will-change: transform;
}
.gal__panel {
  position: relative; flex: none;
  width: clamp(300px, 60vw, 860px); aspect-ratio: 16 / 10;
  border: 1px solid var(--line); border-radius: 4px; overflow: clip;
  will-change: transform, opacity;
}
.gal__panel img { width: 100%; height: 100%; object-fit: cover; filter: saturate(1.05) brightness(1.05); }
.gal__label {
  position: absolute; inset: auto 0 0; padding: 28px 30px;
  background: linear-gradient(180deg, transparent, rgba(244,248,246,.95) 54%);
}
.gal__label span { font-size: 10.5px; letter-spacing: 0.3em; text-transform: uppercase; color: var(--gold); }
.gal__label h3 {
  margin-top: 8px; font-family: var(--serif); font-weight: 400;
  font-size: clamp(20px, 2.6vw, 36px);
}
/* ---------- Vzdialenosti: karty v dizajne stránky ----------
   Rovnaká skladba ako ostatné panely variantu: sklenená plocha,
   1px rám, rádius 4px, zlatý 10,5px label a serifový nadpis. */
.reach {
  padding: clamp(44px, 6.5vh, 78px) clamp(20px, 5vw, 60px) clamp(80px, 13vh, 150px);
  max-width: 1340px; margin-inline: auto;
}
.reach__head { max-width: 780px; margin-bottom: clamp(40px, 6vh, 66px); }
.reach__lede { color: var(--muted); font-size: 17px; margin: 0; }

.reach__grid {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(14px, 1.6vw, 20px);
}
.reach__card {
  position: relative;
  display: grid;
  align-content: start;
  padding: clamp(24px, 2.6vw, 34px) clamp(22px, 2.4vw, 32px) clamp(30px, 3vw, 40px);
  border: 1px solid var(--line);
  border-radius: 4px;
  background: rgba(255, 255, 253, 0.86);
  backdrop-filter: blur(14px);
  box-shadow: 0 14px 34px rgba(30, 70, 66, 0.1);
  overflow: clip;
  transition:
    border-color 0.4s ease,
    background 0.4s ease,
    transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.reach__card:hover {
  border-color: rgba(64, 112, 47, 0.5);
  background: rgba(233, 244, 228, 0.96);
  transform: translateY(-4px);
  box-shadow: 0 26px 54px rgba(40, 90, 60, 0.18);
}
.reach__tag {
  font-size: 10.5px; font-weight: 500;
  letter-spacing: 0.3em; text-transform: uppercase; color: var(--gold);
}
.reach__time {
  display: flex; align-items: baseline; gap: 9px;
  margin: clamp(14px, 1.6vw, 20px) 0 0;
  font-family: var(--serif); font-weight: 400;
  line-height: 0.82; color: var(--gold);
}
.reach__time b {
  font-weight: 400;
  font-size: clamp(56px, 5.4vw, 82px);
  letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums;
}
.reach__time i {
  font-style: normal; font-family: var(--sans);
  font-size: 10.5px; font-weight: 600;
  letter-spacing: 0.22em; text-transform: uppercase; color: var(--muted);
  white-space: nowrap;
}
.reach__card h3 {
  margin: clamp(16px, 1.8vw, 22px) 0 0;
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(21px, 1.9vw, 27px); line-height: 1.14; letter-spacing: -0.012em;
}

/* ── Vstup sekcie dosahu ──────────────────────────────────────────
   Karty prilietajú striedavo zboku, hlavička zdola. Animuje sa
   `translate` (nie `transform`), aby hover aj scroll efekt kariet
   ostali nezávislé. */
.reach__head .reveal,
.reach__head.reveal {
  opacity: 0;
  translate: 0 26px;
  transition: opacity 0.8s ease, translate 0.9s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.reach__head .reveal.is-in,
.reach__head.reveal.is-in { opacity: 1; translate: 0 0; }
.reach__head .reveal:nth-child(2) { transition-delay: 0.12s; }

.reach__card.reveal {
  opacity: 0;
  transform: none;
  translate: var(--enter-x, 60px) 0;
  transition:
    opacity 0.75s ease,
    translate 0.95s cubic-bezier(0.18, 0.84, 0.28, 1),
    border-color 0.4s ease,
    background 0.4s ease,
    box-shadow 0.4s ease;
  transition-delay: calc(var(--enter-i, 0) * 95ms);
}
.reach__card.reveal.is-in { opacity: 1; translate: 0 0; }

.reach__desc {
  margin: 9px 0 0;
  font-size: 14.5px; line-height: 1.6; color: var(--muted);
}
/* pruh na spodnej hrane karty; zafarbená časť je úmerná času */
.reach__bar {
  position: absolute; left: 0; right: 0; bottom: 0;
  height: 2px; overflow: hidden; pointer-events: none;
}
.reach__bar i {
  display: block; height: 100%; width: var(--fill, 50%);
  background: linear-gradient(90deg, var(--gold-soft), var(--gold));
  transform-origin: left; scale: 0 1;
  transition: scale 1.1s cubic-bezier(0.2, 0.8, 0.2, 1) 0.15s;
}
.reach__card.is-in .reach__bar i { scale: 1 1; }
.reach__card--walk .reach__tag,
.reach__card--walk .reach__time { color: var(--ember); }
.reach__card--walk .reach__bar i { background: linear-gradient(90deg, rgba(201,112,47,.55), var(--ember)); }
.reach__card--walk:hover { border-color: rgba(47, 111, 134, 0.5); background: rgba(224, 240, 246, 0.96); }

/* ---------- IV. Mapa ---------- */
.mapsec {
  padding: clamp(44px, 6.5vh, 78px) clamp(20px, 5vw, 60px) clamp(80px, 13vh, 150px);
  background: linear-gradient(180deg, var(--bg) 0%, var(--bg-2) 42%, var(--bg) 100%);
}
.mapsec__head { max-width: 780px; margin-bottom: clamp(40px, 6vh, 66px); }
.mapsec__note { color: var(--muted); font-size: 15.5px; margin: 0; }
.mapsec__note kbd {
  padding: 1px 7px; border: 1px solid var(--line); border-bottom-width: 2px;
  border-radius: 5px; background: var(--bg); font-size: 12px; color: var(--ink);
}
.mapsec__stage {
  max-width: 1500px; margin-inline: auto;
  display: grid; grid-template-columns: minmax(0, 1.8fr) minmax(300px, 1fr);
  gap: clamp(20px, 3vw, 36px); align-items: start;
}
.mapsec__frame {
  position: relative;
  padding: 12px; border: 1px solid rgba(64,112,47,.3);
  background: #ffffff; border-radius: 4px;
  box-shadow: 0 30px 70px rgba(30, 70, 66, 0.16);
}
.mapsec__frame [data-parcel-map],
.mapsec__frame .parcel-explorer__canvas { border-radius: 2px; }

/* mapa v tmavej prémiovej téme */
.parcel-explorer .map-background { filter: saturate(1.1) brightness(1.06) contrast(1.0) hue-rotate(-4deg); }
.parcel-explorer .parcel { stroke: rgba(255,255,255,.94); opacity: 0.74; }
.parcel-explorer .parcel:hover, .parcel-explorer .parcel.is-active { opacity: 0.9; }
.parcel-explorer .parcel.is-active { stroke: var(--gold); stroke-width: 3.5; }
.parcel-explorer .parcel--sold { opacity: 0.4; }
.parcel-explorer .parcel:focus-visible { outline: none; stroke: var(--gold); stroke-width: 5; opacity: 1; }
.parcel-explorer .parcel-label {
  fill: #12302b; font-family: var(--sans); font-weight: 600;
  stroke: rgba(255,255,255,.88); stroke-width: 3.5;
}
.parcel-explorer__north, .parcel-explorer__controls button {
  background: rgba(255,255,253,.92); color: var(--ink);
  border-color: rgba(20,48,44,.2);
}
.parcel-explorer__controls button:hover { background: var(--gold); color: #f6fbf4; border-color: var(--gold); }
.parcel-explorer__legend { color: var(--muted); font-weight: 400; letter-spacing: 0.08em; }

.mapsec__panel {
  position: sticky; top: 96px;
  padding: 18px; border: 1px solid var(--line);
  background: rgba(255,255,253,.9); backdrop-filter: blur(14px);
  box-shadow: 0 18px 44px rgba(30,70,66,.12);
}
.mapsec__panel-title {
  margin: 0 0 14px; font-size: 10px; letter-spacing: 0.34em;
  text-transform: uppercase; color: var(--gold);
}
/* detail parcely — tmavý glass namiesto svetlej karty */
.plot-card {
  --panel: transparent;
  background: transparent; box-shadow: none; padding: 6px 6px 2px;
  min-height: 0; color: var(--ink);
}
.plot-card__eyebrow { color: var(--muted) !important; letter-spacing: 0.24em; font-weight: 500; }
.plot-card h3 {
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(34px, 4vw, 46px); letter-spacing: 0.01em; color: var(--gold);
}
/* farby prichadzaju inline z map-app.js podla stavu parcely */
.plot-card__state {
  border: 1px solid currentColor; letter-spacing: 0.16em; font-weight: 600;
}
.plot-card__facts span { color: var(--muted); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; }
.plot-card__facts strong { font-family: var(--serif); font-weight: 400; font-size: 22px; color: var(--ink); }
.plot-card .button {
  width: 100%; display: inline-flex; align-items: center; justify-content: center;
  padding: 16px 26px; border: 1px solid var(--gold); border-radius: 999px;
  background: transparent; color: var(--gold);
  font: 500 11.5px/1 var(--sans); letter-spacing: 0.18em; text-transform: uppercase;
  cursor: pointer; transition: background 0.35s ease, color 0.35s ease;
}
.plot-card .button:hover { background: var(--gold); color: #f6fbf4; }

/* ── Zväčšenie mapy ───────────────────────────────────────────────
   Tlačidlo prepne situáciu na celú obrazovku; detail parcely ostáva
   po jej boku, takže výber pozemku funguje aj v zväčšenom stave. */
.map-expand {
  position: absolute; left: 14px; top: 14px; z-index: 5;
  display: inline-flex; align-items: center; gap: 8px;
  padding: 9px 14px 9px 11px;
  border: 1px solid rgba(20, 48, 44, 0.18);
  border-radius: 999px;
  background: rgba(255, 255, 253, 0.92);
  backdrop-filter: blur(8px);
  color: var(--ink);
  font: 600 10.5px/1 var(--sans);
  letter-spacing: 0.16em; text-transform: uppercase;
  cursor: pointer;
  transition: border-color 0.25s ease, background 0.25s ease, transform 0.25s ease;
}
.map-expand:hover { border-color: var(--gold); transform: translateY(-1px); }
.map-expand__ico {
  width: 12px; height: 12px; position: relative; flex: none;
}
.map-expand__ico::before,
.map-expand__ico::after {
  content: ""; position: absolute; width: 7px; height: 7px;
  border: 1.6px solid currentColor;
}
.map-expand__ico::before { top: 0; left: 0; border-right: 0; border-bottom: 0; }
.map-expand__ico::after { right: 0; bottom: 0; border-left: 0; border-top: 0; }
/* v zväčšenom stave sa šípky obrátia dovnútra */
.is-zoomed .map-expand__ico::before { top: 0; left: 0; border: 1.6px solid currentColor; border-left: 0; border-top: 0; }
.is-zoomed .map-expand__ico::after { right: 0; bottom: 0; border: 1.6px solid currentColor; border-right: 0; border-bottom: 0; }

.map-zoom-backdrop {
  position: fixed; inset: 0; z-index: 400;
  background: rgba(12, 30, 28, 0.55);
  backdrop-filter: blur(3px);
  opacity: 0; pointer-events: none;
  transition: opacity 0.35s ease;
}
.map-zoom-backdrop.is-on { opacity: 1; pointer-events: auto; }

/* rozloženie mapy v zväčšenom stave — situácia dostáva celú plochu
   okna, detail parcely sa presúva do plávajúceho panela v rohu */
.mapsec__stage.is-zoomed {
  position: fixed; inset: 0; z-index: 450;
  display: flex; justify-content: center; align-items: stretch;
  /* plocha zaberá celé okno — obmedzenie šírky zo základného
     rozloženia by mapu pritlačilo k ľavému okraju */
  max-width: none; width: 100vw;
  margin: 0; padding: clamp(12px, 2vw, 28px);
  /* voľná plocha okolo mapy zatvára zväčšenie */
  cursor: zoom-out;
  background: var(--bg);
  overflow: hidden;
}
.mapsec__stage.is-zoomed .mapsec__frame,
.mapsec__stage.is-zoomed .mapsec__panel { cursor: auto; }
.mapsec__stage.is-zoomed .mapsec__frame {
  /* --zoom-w dopočíta skript z dostupnej výšky okna */
  width: var(--zoom-w, 100%);
  max-width: 100%;
  margin: auto;
}
.mapsec__stage.is-zoomed .mapsec__panel {
  /* pravý dolný roh — nad poľom, nie nad parcelami */
  position: absolute; top: auto;
  right: var(--zoom-panel-x, clamp(20px, 3vw, 44px));
  bottom: var(--zoom-panel-y, clamp(20px, 3vw, 44px));
  width: min(340px, 30vw);
  max-height: calc(100vh - 2 * clamp(20px, 3vw, 44px));
  overflow-y: auto;
  background: rgba(255, 255, 253, 0.95);
  box-shadow: 0 26px 60px rgba(30, 70, 66, 0.22);
}
@media (max-width: 1040px) {
  .mapsec__stage.is-zoomed { overflow: auto; }
  .mapsec__stage.is-zoomed .mapsec__panel {
    position: static; width: auto; margin-top: 16px;
  }
}

/* ---------- V. Kontakt ---------- */
.contact { padding: clamp(90px, 15vh, 170px) clamp(20px, 5vw, 60px); }
.contact__grid {
  max-width: 1200px; margin-inline: auto;
  display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(40px, 6vw, 90px); align-items: start;
}
.contact__side p { color: var(--muted); font-size: 17.5px; max-width: 44ch; }
.contact__details { margin-top: 40px; padding-top: 34px; border-top: 1px solid var(--line); display: grid; gap: 16px; }
.contact__details p { margin: 0; display: grid; gap: 3px; color: var(--ink); font-size: 15.5px; }
.contact__details span { font-size: 10px; letter-spacing: 0.26em; text-transform: uppercase; color: var(--muted); }
.contact__details a { color: var(--gold); }

.form { display: grid; gap: 26px; }
.form__plot {
  display: flex; flex-wrap: wrap; align-items: baseline; gap: 12px; margin: 0;
  padding: 15px 20px; border: 1px dashed rgba(64,112,47,.5);
  background: rgba(226, 240, 226, 0.8);
}
.form__plot span { font-size: 10px; letter-spacing: 0.26em; text-transform: uppercase; color: var(--muted); }
.form__plot strong { font-family: var(--serif); font-weight: 400; font-size: 21px; color: var(--gold); }
.form__plot a { font-size: 12.5px; color: var(--muted); }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; }
.fld { position: relative; display: block; }
.fld input, .fld select, .fld textarea {
  width: 100%; padding: 16px 0 13px; border: 0; background: transparent;
  color: var(--ink); font: 300 16px/1.5 var(--sans); outline: none;
}
.fld textarea { resize: vertical; }
.fld select { color: var(--ink); }
.fld select option { background: #ffffff; }
.fld__label {
  position: absolute; left: 0; top: 16px;
  color: var(--muted); font-size: 15px; pointer-events: none;
  transition: top 0.3s ease, font-size 0.3s ease, color 0.3s ease, letter-spacing 0.3s ease;
}
.fld input:focus ~ .fld__label,
.fld input:not(:placeholder-shown) ~ .fld__label,
.fld textarea:focus ~ .fld__label,
.fld textarea:not(:placeholder-shown) ~ .fld__label,
.fld__label--static {
  top: -8px; font-size: 10px; letter-spacing: 0.22em;
  text-transform: uppercase; color: var(--gold);
}
.fld__line { position: absolute; left: 0; bottom: 0; width: 100%; height: 1px; background: rgba(20,48,44,.2); }
.fld__line::after {
  content: ""; position: absolute; inset: 0; background: var(--gold);
  transform: scaleX(0); transform-origin: left; transition: transform 0.45s cubic-bezier(0.2,0.8,0.2,1);
}
.fld input:focus ~ .fld__line::after,
.fld select:focus ~ .fld__line::after,
.fld textarea:focus ~ .fld__line::after { transform: scaleX(1); }
.consent { display: flex; gap: 12px; align-items: flex-start; font-size: 13.5px; color: var(--muted); }
.consent input { margin-top: 4px; accent-color: var(--gold); }
.form-note {
  margin: 0; padding: 16px 20px;
  border: 1px solid rgba(64,112,47,.45); background: rgba(226, 240, 226, 0.85);
  color: #2c5620; font-family: var(--serif); font-style: italic; font-size: 16px;
}

/* ---------- Footer ---------- */
.footer {
  display: flex; flex-wrap: wrap; gap: 10px 34px; justify-content: space-between;
  padding: 34px clamp(20px, 5vw, 60px) 40px;
  border-top: 1px solid var(--line);
  font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted);
}

/* Počas krátkeho zastavenia na hranici sekcie sa scroll zamkne.
   Kompenzujeme šírku posuvníka, aby obsah nepodskočil. */
/* Zámok scrollu počas zastavenia na hranici kapitoly. Programové
   posunutie funguje ďalej, používateľov vstup a zotrvačnosť nie. */
html.is-paused { overflow-y: hidden; }

/* Počas zastavenia sa ukazovateľ vpravo jemne zvýrazní — pauza tak
   čitateľne patrí k prechodu, nie k záseku. */
html.is-paused .hud__chapter em { scale: 1.16; }
html.is-paused .hud__chapter span { opacity: 1; }
.hud__chapter em, .hud__chapter span {
  transition: scale 0.34s cubic-bezier(0.2, 0.8, 0.2, 1), opacity 0.34s ease;
}

/* ---------- Reveal ---------- */
.reveal {
  opacity: 0; transform: translateY(46px);
  transition: opacity 1s ease, transform 1s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.reveal.is-in { opacity: 1; transform: none; }
.stagger > * {
  opacity: 0; transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s cubic-bezier(0.2,0.8,0.2,1);
  transition-delay: calc(var(--i, 0) * 80ms);
}
.stagger.is-in > * { opacity: 1; transform: none; }

/* ---------- Responzivita ---------- */
@media (max-width: 1040px) {
  .story__grid, .contact__grid, .mapsec__stage { grid-template-columns: 1fr; }
  .mapsec__panel { position: static; }
  .story__float { position: relative; right: 0; bottom: 0; margin: -30px 0 0 auto; }
  .reach__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero__meta { justify-content: center; flex-wrap: wrap; row-gap: 6px; column-gap: 26px; }
}
@media (max-width: 760px) {
  .nav__links > a:not(.btn) { display: none; }
  /* hero obsah sa musí zmestiť aj do úzkeho viewportu — grid track
     inak narastie podľa max-content a text vytečie z obrazovky */
  .hero__stack { padding-inline: 22px; grid-template-columns: minmax(0, 1fr); }
  .hero__sub { max-width: 100%; font-size: 15.5px; }
  .hero__cta { flex-direction: column; gap: 16px; }
  .mega__a, .mega__b { transform: none; }

  .scene--hero { height: 200vh; }
  .scene--gal { height: 280vh; }
  .gal__panel { width: 84vw; }
  .form__row { grid-template-columns: 1fr; }
  .story__media { aspect-ratio: 3 / 4; }
  .footer { font-size: 10px; }
  .reach__grid { grid-template-columns: 1fr; }
}

/* ---------- Redukovaný pohyb ----------
   DOČASNÝ DEBUG: scopované na html[data-motion-mode] (shared/motion-debug.js) —
   FULL redukciu obchádza, REDUCE ju simuluje aj bez preferencie v OS. */
@media (prefers-reduced-motion: reduce) {
  html:not([data-motion-mode="full"]) { scroll-behavior: auto; }
  html:not([data-motion-mode="full"]) *,
  html:not([data-motion-mode="full"]) *::before,
  html:not([data-motion-mode="full"]) *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  html:not([data-motion-mode="full"]) .preloader { display: none; }
  html:not([data-motion-mode="full"]) .grain { display: none; }
  html:not([data-motion-mode="full"]) .hero__cue { display: none; }
  html:not([data-motion-mode="full"]) .scene--hero,
  html:not([data-motion-mode="full"]) .scene--gal { height: auto; }
  html:not([data-motion-mode="full"]) .scene__pin { position: static; height: auto; }
  html:not([data-motion-mode="full"]) .scene--hero .scene__pin { height: 100svh; }
  html:not([data-motion-mode="full"]) .gal__track { width: auto; flex-direction: column; padding-block: 70px 40px; }
  html:not([data-motion-mode="full"]) .gal__panel { width: 100%; }
  html:not([data-motion-mode="full"]) .gal__title { position: static; padding: 0 0 18px; }
  html:not([data-motion-mode="full"]) .birds-layer { display: none; }
  html:not([data-motion-mode="full"]) .reach__card.reveal,
  html:not([data-motion-mode="full"]) .story__media.reveal,
  html:not([data-motion-mode="full"]) .story__copy.reveal,
  html:not([data-motion-mode="full"]) .story__float { translate: 0 0; opacity: 1; }
  html:not([data-motion-mode="full"]) .clouds__layer { transform: none; }
  html:not([data-motion-mode="full"]) .reveal,
  html:not([data-motion-mode="full"]) .stagger > * { opacity: 1; transform: none; }
  html:not([data-motion-mode="full"]) .reach__bar i { scale: 1 1; }
}
html[data-motion-mode="reduce"] { scroll-behavior: auto; }
html[data-motion-mode="reduce"] *,
html[data-motion-mode="reduce"] *::before,
html[data-motion-mode="reduce"] *::after {
  animation-duration: 0.01ms !important;
  animation-iteration-count: 1 !important;
  transition-duration: 0.01ms !important;
}
html[data-motion-mode="reduce"] .preloader { display: none; }
html[data-motion-mode="reduce"] .grain { display: none; }
html[data-motion-mode="reduce"] .hero__cue { display: none; }
html[data-motion-mode="reduce"] .scene--hero,
html[data-motion-mode="reduce"] .scene--gal { height: auto; }
html[data-motion-mode="reduce"] .scene__pin { position: static; height: auto; }
html[data-motion-mode="reduce"] .scene--hero .scene__pin { height: 100svh; }
html[data-motion-mode="reduce"] .gal__track { width: auto; flex-direction: column; padding-block: 70px 40px; }
html[data-motion-mode="reduce"] .gal__panel { width: 100%; }
html[data-motion-mode="reduce"] .gal__title { position: static; padding: 0 0 18px; }
html[data-motion-mode="reduce"] .birds-layer { display: none; }
html[data-motion-mode="reduce"] .reach__card.reveal,
html[data-motion-mode="reduce"] .story__media.reveal,
html[data-motion-mode="reduce"] .story__copy.reveal,
html[data-motion-mode="reduce"] .story__float { translate: 0 0; opacity: 1; }
html[data-motion-mode="reduce"] .clouds__layer { transform: none; }
html[data-motion-mode="reduce"] .reveal,
html[data-motion-mode="reduce"] .stagger > * { opacity: 1; transform: none; }
html[data-motion-mode="reduce"] .reach__bar i { scale: 1 1; }

/* Pasca na roboty — pole nesmie byť vidieť ani zaberať miesto, ale
   nesmie byť ani display:none, to niektoré automaty preskakujú. */
.hp {
  position: absolute;
  width: 1px; height: 1px;
  margin: -1px; padding: 0; border: 0;
  overflow: hidden; clip-path: inset(50%);
  white-space: nowrap;
}

/* Overenie Turnstile sa väčšine návštevníkov nezobrazí; keď áno,
   nech nevytŕča z rytmu formulára. */
.cf-turnstile:not(:empty) { margin-bottom: 4px; }

/* Stavy odosielania */
[data-form-submit][disabled] { opacity: 0.6; cursor: progress; }
.form-note--chyba {
  border-color: rgba(178, 74, 44, 0.5);
  background: rgba(248, 232, 226, 0.9);
  color: #8a3418;
}
