/* ═══════════════════════════════════════════════════════════
   FESTIVAL BABÍ LÉTO · 90s retro + pampeliška
   ═══════════════════════════════════════════════════════════ */

:root {
  /* warm babí-léto base */
  --cream:      #FBF4E4;
  --cream-2:    #F5E8CC;
  --ink:        #2A1810;
  --ink-soft:   #4A3226;
  --ink-mute:   #7A5F4F;

  /* 90s pop accents */
  --amber:      #E6752E;  /* sunset orange */
  --amber-d:    #C85B1A;
  --dandy:      #F2C14E;  /* dandelion yellow */
  --magenta:    #D94668;  /* disco pink */
  --magenta-d:  #B02E4E;
  --sage:       #7C9070;  /* meadow */
  --cerulean:   #4A90C7;  /* sky/disco light */

  /* type */
  --ff-display: "Fraunces", Georgia, serif;
  --ff-body:    "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --ff-hand:    "Caveat", cursive;

  /* layout */
  --container: 1180px;
  --radius:    18px;
  --radius-sm: 10px;

  /* motion */
  --ease: cubic-bezier(.22,.9,.25,1);
}

* { box-sizing: border-box; }
html {
  scroll-behavior: smooth;
  overflow-x: clip;
  overscroll-behavior-x: none;
  background: var(--cream);
}
body {
  margin: 0;
  font-family: var(--ff-body);
  font-weight: 400;
  color: var(--ink);
  background: var(--cream);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
  overscroll-behavior-x: none;
  position: relative;
  width: 100%;
  max-width: 100vw;
}

/* subtle paper grain on whole page */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  opacity: 0.35;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='220' height='220'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' seed='7'/><feColorMatrix values='0 0 0 0 0.16, 0 0 0 0 0.09, 0 0 0 0 0.06, 0 0 0 0.18 0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
}

/* page content stays above grain */
body > * { position: relative; z-index: 2; }
#navbar { z-index: 100; }

img, svg { display: block; max-width: 100%; }
.circle-scribble, .underline-scribble { max-width: none; }
a { color: inherit; text-decoration: none; transition: color .2s var(--ease); }
a:hover { color: var(--magenta); }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

/* ═══════════════ TYPOGRAPHY ═══════════════ */
h1, h2, h3 {
  font-family: var(--ff-display);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.05;
  color: var(--ink);
  margin: 0;
  font-variation-settings: "opsz" 72, "SOFT" 50;
}
h2 em, h3 em {
  font-style: italic;
  font-weight: 400;
  color: var(--magenta);
  font-variation-settings: "opsz" 72, "SOFT" 100;
}

/* ═══════════════ NAV ═══════════════ */
#navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 14px 0;
  transition: all .3s var(--ease);
}
#navbar::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(251,244,228,0);
  backdrop-filter: blur(0);
  transition: all .3s var(--ease);
  z-index: -1;
}
#navbar.scrolled {
  padding: 10px 0;
}
#navbar.scrolled::before {
  background: rgba(251,244,228,.88);
  backdrop-filter: blur(14px) saturate(1.1);
  border-bottom: 1px solid rgba(42,24,16,.08);
}

.nav-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--ff-display);
  font-size: 1.35rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--ink);
}
.nav-brand-mark {
  color: var(--amber);
  font-size: 1.4rem;
  transition: transform .5s var(--ease);
}
.nav-brand:hover .nav-brand-mark { transform: rotate(90deg); color: var(--magenta); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-links a {
  font-size: 0.93rem;
  font-weight: 500;
  color: var(--ink-soft);
  position: relative;
  padding: 6px 0;
}
.nav-links a:not(.nav-cta)::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 2px;
  background: var(--magenta);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform .3s var(--ease);
}
.nav-links a:not(.nav-cta):hover::after {
  transform: scaleX(1);
  transform-origin: left;
}
.nav-cta {
  background: var(--ink);
  color: var(--cream) !important;
  padding: 10px 18px !important;
  border-radius: 999px;
  font-weight: 600;
  transition: all .25s var(--ease);
}
.nav-cta:hover {
  background: var(--magenta);
  transform: translateY(-1px);
}

.nav-fb {
  display: inline-flex !important;
  align-items: center;
  gap: 6px;
  padding: 6px 12px !important;
  border-radius: 999px;
  background: rgba(217, 70, 104, 0.10);
  color: var(--magenta-d) !important;
  border: 1px solid rgba(217, 70, 104, 0.35);
  font-weight: 600;
  transition: all .25s var(--ease);
}
.nav-fb:hover {
  background: var(--magenta);
  color: var(--cream) !important;
  border-color: var(--magenta);
  transform: translateY(-1px);
}
.nav-fb::after { display: none !important; }
.nav-fb svg { display: block; }

/* utility: block-justify body text where requested */
.justify,
.kdo-card p,
.anetka-text p,
.spolek-quote p,
.kuk-card p,
.section-program .program-info li {
  text-align: justify;
  hyphens: auto;
  text-justify: inter-word;
}

.nav-hamburger {
  display: none;
  background: none;
  border: 0;
  width: 40px; height: 40px;
  padding: 8px;
  cursor: pointer;
  flex-direction: column;
  justify-content: space-around;
}
.nav-hamburger span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--ink);
  transition: all .3s var(--ease);
}

/* ═══════════════ HERO ═══════════════ */
.hero {
  position: relative;
  min-height: 100vh;
  padding: 140px clamp(20px, 5vw, 64px) 100px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background:
    radial-gradient(1200px 700px at 72% 30%, #FDEFC9 0%, transparent 60%),
    radial-gradient(700px 500px at 8% 78%, #F8E1B8 0%, transparent 55%),
    linear-gradient(180deg, var(--cream) 0%, #F3DDB4 100%);
}
/* warm horizon glow at the bottom — sunset feel */
.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 42%;
  background:
    radial-gradient(80% 70% at 55% 100%, rgba(230,117,46,0.16) 0%, transparent 60%),
    linear-gradient(180deg, transparent 0%, rgba(242,193,78,0.10) 60%, rgba(230,117,46,0.08) 100%);
  pointer-events: none;
  z-index: 1;
}

/* the type+dandelion sit side by side as a single composition */
.hero-stage {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1320px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 560px);
  align-items: center;
  gap: clamp(16px, 3vw, 40px);
}

/* ambient seeds drifting across the entire hero */
.hero-ambient {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  overflow: hidden;
}
.hero-ambient svg {
  position: absolute;
  opacity: 0;
  filter: drop-shadow(0 2px 4px rgba(42,24,16,0.08));
  will-change: transform, opacity;
}
@keyframes heroAmbDrift {
  0%   { opacity: 0; transform: translate(0, 0) rotate(0deg) scale(0.85); }
  8%   { opacity: 0.9; }
  85%  { opacity: 0.5; }
  100% { opacity: 0; transform: translate(var(--ax, 120vw), var(--ay, -40vh)) rotate(var(--ar, 540deg)) scale(1); }
}
.hero-ambient .amb-1 { top: 78%; left: -4%;  width: 30px; height: 40px; --ax:  108vw; --ay: -85vh; --ar:  720deg; animation: heroAmbDrift 26s linear infinite       0s; }
.hero-ambient .amb-2 { top: 92%; left: -6%;  width: 22px; height: 30px; --ax:  112vw; --ay: -70vh; --ar: -540deg; animation: heroAmbDrift 32s linear infinite      -7s; }
.hero-ambient .amb-3 { top: 60%; left: -8%;  width: 18px; height: 24px; --ax:  120vw; --ay: -45vh; --ar:  640deg; animation: heroAmbDrift 30s linear infinite     -14s; }
.hero-ambient .amb-4 { top: 84%; left: -3%;  width: 26px; height: 36px; --ax:  104vw; --ay: -90vh; --ar:  480deg; animation: heroAmbDrift 36s linear infinite     -22s; }
.hero-ambient .amb-5 { top: 70%; left: -10%; width: 16px; height: 22px; --ax:  118vw; --ay: -55vh; --ar: -720deg; animation: heroAmbDrift 28s linear infinite     -18s; }
.hero-ambient .amb-6 { top: 96%; left: -2%;  width: 24px; height: 32px; --ax:  114vw; --ay: -100vh; --ar:  560deg; animation: heroAmbDrift 34s linear infinite     -3s; }
@media (prefers-reduced-motion: reduce) {
  .hero-ambient svg { display: none; }
}

.hero-dandelion-wrap {
  position: relative;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 480px;
  perspective: 1400px;
  animation: heroDandyEnter 1.4s var(--ease) 0.25s both;
}
@keyframes heroDandyEnter {
  from { opacity: 0; transform: scale(0.94) translateY(20px); }
  to   { opacity: 1; transform: scale(1) translateY(0); }
}

/* warm radial glow / halo behind the dandelion — soft and subtle */
.hero-dandelion-wrap::before {
  content: "";
  position: absolute;
  inset: -10% -8%;
  background:
    radial-gradient(ellipse 50% 48% at 40% 50%, rgba(242,193,78,0.30) 0%, rgba(242,193,78,0.10) 42%, transparent 72%),
    radial-gradient(ellipse 70% 55% at 48% 60%, rgba(230,117,46,0.14) 0%, transparent 65%);
  filter: blur(30px);
  z-index: 1;
  pointer-events: none;
  animation: dandyHalo 11s ease-in-out infinite;
  will-change: transform, opacity;
}
@keyframes dandyHalo {
  0%, 100% { opacity: 0.7;  transform: scale(1)    translate(0, 0); }
  50%      { opacity: 0.9;  transform: scale(1.05) translate(6px, -4px); }
}

/* dandelion image — interactive button + organic sway, no box frame */
.hero-dandelion-btn {
  background: none;
  border: 0;
  padding: 0;
  margin: 0;
  cursor: pointer;
  display: block;
  width: 88%;
  max-width: 400px;
  position: relative;
  z-index: 3;
  outline-offset: 8px;
  transform-style: preserve-3d;
  will-change: transform;
}
.hero-dandelion-btn:focus-visible {
  outline: 2px dashed var(--magenta);
  outline-offset: 12px;
  border-radius: 24px;
}

/* tilt layer driven by JS pointer parallax */
.hero-dandelion-tilt {
  display: block;
  transform-style: preserve-3d;
  transition: transform .6s cubic-bezier(.22,.9,.25,1);
  will-change: transform;
}

.hero-dandelion-photo {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 0;
  /* transparent cutout — contrast boost so the puff reads against cream,
     warm sunset drop-shadow gives the impression of golden hour light */
  filter:
    contrast(1.18) saturate(1.20) brightness(0.92)
    drop-shadow(0 14px 22px rgba(230,117,46,0.30))
    drop-shadow(0 26px 44px rgba(42,24,16,0.22));
  transform-origin: 32% 88%;
  animation: dandyFloat 12s cubic-bezier(.45,.05,.55,.95) infinite;
  transition: filter .4s var(--ease);
}
.hero-dandelion-btn:hover .hero-dandelion-photo {
  filter:
    contrast(1.22) saturate(1.28) brightness(0.95)
    drop-shadow(0 18px 28px rgba(230,117,46,0.36))
    drop-shadow(0 32px 54px rgba(42,24,16,0.26));
}

@keyframes dandyFloat {
  0%   { transform: rotate(-1.6deg) translate3d(0, 0, 0)         skewX(0deg); }
  20%  { transform: rotate(-0.4deg) translate3d(4px, -6px, 0)    skewX(-0.4deg); }
  38%  { transform: rotate(1.2deg)  translate3d(8px, -12px, 0)   skewX(-0.6deg); }
  55%  { transform: rotate(1.8deg)  translate3d(6px, -14px, 0)   skewX(-0.3deg); }
  72%  { transform: rotate(0.8deg)  translate3d(2px, -8px, 0)    skewX(0.2deg); }
  88%  { transform: rotate(-0.6deg) translate3d(-2px, -3px, 0)   skewX(0.3deg); }
  100% { transform: rotate(-1.6deg) translate3d(0, 0, 0)         skewX(0deg); }
}

/* "blow" animation — triggered by JS via .is-blown class */
.hero-dandelion-btn.is-blown .hero-dandelion-photo {
  animation: dandyShake 0.8s cubic-bezier(.36,.07,.19,.97);
}
@keyframes dandyShake {
  0%   { transform: rotate(-1.6deg) translate3d(0,0,0); }
  18%  { transform: rotate(7.5deg)  translate3d(6px,-4px,0) scale(1.04); }
  36%  { transform: rotate(-5.5deg) translate3d(-4px,-2px,0) scale(1.02); }
  54%  { transform: rotate(4.5deg)  translate3d(4px,-3px,0) scale(1.03); }
  72%  { transform: rotate(-2.4deg) translate3d(-2px,-1px,0) scale(1.01); }
  100% { transform: rotate(-1.6deg) translate3d(0,0,0); }
}

/* burst seeds — spawned on click */
.seed-burst {
  position: absolute;
  pointer-events: none;
  width: 18px;
  height: 24px;
  z-index: 4;
  --tx: 0px;
  --ty: 0px;
  --rot: 0deg;
  --dur: 1.6s;
  animation: seedFly var(--dur) cubic-bezier(.2,.6,.3,1) forwards;
}
@keyframes seedFly {
  0%   { opacity: 0; transform: translate(0, 0) rotate(0deg) scale(0.6); }
  15%  { opacity: 1; }
  100% { opacity: 0; transform: translate(var(--tx), var(--ty)) rotate(var(--rot)) scale(0.9); }
}

/* drift seeds — orbit gently around the dandelion (ambient) */
.drift {
  position: absolute;
  width: 32px; height: 44px;
  z-index: 2;
  pointer-events: none;
}
.drift-1 { top: 10%;  left: -8%;  animation: drift 14s ease-in-out infinite; }
.drift-2 { bottom: 14%; left: 4%; animation: drift 18s ease-in-out infinite -4s; width: 26px; height: 36px; }
.drift-3 { top: 32%; right: -10%; animation: drift 20s ease-in-out infinite -8s; width: 22px; height: 30px; }
@keyframes drift {
  0%   { transform: translate(0, 0) rotate(-6deg); opacity: 0.55; }
  33%  { transform: translate(40px, -30px) rotate(18deg); opacity: 0.85; }
  66%  { transform: translate(-30px, -60px) rotate(-12deg); opacity: 0.4; }
  100% { transform: translate(0, 0) rotate(-6deg); opacity: 0.55; }
}

/* wind seeds — fly out from the dandelion's puff in a directional gust, loop */
.wind {
  position: absolute;
  z-index: 2;
  pointer-events: none;
  /* origin: top-left area of the new photo where the puff sits */
  top: 22%;
  left: 22%;
  width: 26px;
  height: 36px;
  opacity: 0;
  will-change: transform, opacity;
}
@keyframes seedWind {
  0%   { opacity: 0;    transform: translate(0,0)            rotate(0deg)   scale(0.7); }
  10%  { opacity: 0.95; }
  60%  { opacity: 0.7; }
  100% { opacity: 0;    transform: translate(var(--tx), var(--ty)) rotate(var(--rot)) scale(1.05); }
}

/* spread of trajectories — different angles, durations, sizes, delays */
.wind-1 { --tx:  320px; --ty:  -80px; --rot:  340deg; width: 30px; height: 40px; animation: seedWind  9s linear infinite       0s; }
.wind-2 { --tx:  380px; --ty:   20px; --rot: -260deg; width: 22px; height: 30px; animation: seedWind 11s linear infinite      -3s; }
.wind-3 { --tx:  280px; --ty: -140px; --rot:  420deg; width: 24px; height: 32px; animation: seedWind 12s linear infinite      -6s; top: 18%; left: 20%; }
.wind-4 { --tx:  420px; --ty:  -40px; --rot: -340deg; width: 20px; height: 28px; animation: seedWind 14s linear infinite      -1s; top: 28%; left: 24%; }
.wind-5 { --tx:  240px; --ty: -200px; --rot:  280deg; width: 26px; height: 36px; animation: seedWind 13s linear infinite      -8s; top: 20%; left: 22%; }
.wind-6 { --tx:  360px; --ty:   60px; --rot: -400deg; width: 18px; height: 24px; animation: seedWind 15s linear infinite     -10s; top: 32%; left: 26%; }
.wind-7 { --tx:  300px; --ty: -260px; --rot:  500deg; width: 16px; height: 22px; animation: seedWind 16s linear infinite     -12s; top: 24%; left: 18%; }
.wind-8 { --tx:  460px; --ty:  100px; --rot: -440deg; width: 14px; height: 20px; animation: seedWind 17s linear infinite      -2s; top: 38%; left: 24%; }
.wind-9 { --tx:  180px; --ty:  -90px; --rot:  220deg; width: 28px; height: 38px; animation: seedWind 10s linear infinite     -14s; top: 16%; left: 24%; }
.wind-10{ --tx:  500px; --ty:  -20px; --rot: -500deg; width: 15px; height: 21px; animation: seedWind 19s linear infinite      -5s; top: 30%; left: 22%; }

/* hide all decorative seeds for users who prefer reduced motion */
@media (prefers-reduced-motion: reduce) {
  .drift, .wind { animation: none; opacity: 0.4; }
}

/* paper grain inside hero only — deeper */
.hero .paper-grain {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.4;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='260' height='260'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='3' seed='2'/><feColorMatrix values='0 0 0 0 0.22, 0 0 0 0 0.12, 0 0 0 0 0.07, 0 0 0 0.22 0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
}

/* corner sticker "90s only!" */
.hero-sticker {
  position: absolute;
  bottom: 48px;
  right: 52px;
  width: 112px; height: 112px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--magenta);
  color: var(--cream);
  border-radius: 50%;
  transform: rotate(-14deg);
  font-family: var(--ff-display);
  font-style: italic;
  font-weight: 600;
  box-shadow: 0 8px 22px rgba(176,46,78,0.3), inset 0 0 0 3px rgba(251,244,228,0.2);
  z-index: 4;
  animation: stickerWobble 6s ease-in-out infinite;
}
.hero-sticker::before {
  content: "";
  position: absolute;
  inset: 6px;
  border-radius: 50%;
  border: 1.5px dashed rgba(251,244,228,0.5);
}
.hero-sticker-in {
  display: flex;
  flex-direction: column;
  align-items: center;
  line-height: 1;
  text-align: center;
}
.hero-sticker-in > span:first-child {
  font-size: 2rem;
  letter-spacing: -0.03em;
}
.hero-sticker-in > span:last-child {
  font-size: 1rem;
  margin-top: 4px;
  font-style: italic;
  color: var(--dandy);
}
@keyframes stickerWobble {
  0%, 100% { transform: rotate(-14deg); }
  50%      { transform: rotate(-10deg); }
}

/* tickets pill top-right */
.hero-tickets-pill {
  position: absolute;
  top: 88px;
  right: 32px;
  z-index: 5;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 18px;
  background: var(--ink);
  color: var(--cream);
  border-radius: 999px;
  font-size: 0.88rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  transition: all .25s var(--ease);
  box-shadow: 0 4px 20px rgba(42,24,16,.18);
}
.hero-tickets-pill:hover {
  background: var(--magenta);
  color: var(--cream);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(217,70,104,.3);
}
.hero-tickets-pill strong { color: var(--dandy); font-weight: 700; }

/* Hitrádio Faktor — mediální partner, oficiální branding: bílé logo na red */
.hero-radio-badge {
  position: absolute;
  bottom: 48px;
  right: 52px;
  z-index: 5;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  transition: transform .25s var(--ease);
}
.hero-radio-badge:hover { transform: translateY(-2px); }
.hero-radio-label {
  font-family: var(--ff-hand);
  font-size: 1rem;
  line-height: 1;
  color: var(--magenta-d);
  letter-spacing: 0.01em;
}
.hero-radio-logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  /* HF brand red, clear-space padding per brand manual */
  background: #e61015;
  padding: 14px 18px;
  border-radius: 12px;
  box-shadow: 0 12px 28px -12px rgba(230, 16, 21, 0.50);
  transition: box-shadow .25s var(--ease);
}
.hero-radio-badge:hover .hero-radio-logo {
  box-shadow: 0 16px 36px -12px rgba(230, 16, 21, 0.60);
}
.hero-radio-badge img {
  width: 118px;
  height: auto;
  display: block;
}
@media (max-width: 900px) {
  .hero-radio-badge {
    bottom: 20px;
    right: 18px;
    gap: 5px;
  }
  .hero-radio-label { font-size: 0.82rem; }
  .hero-radio-logo { padding: 10px 13px; border-radius: 10px; }
  .hero-radio-badge img { width: 86px; }
}
.pulse {
  width: 8px; height: 8px;
  background: #4ADE80;
  border-radius: 50%;
  box-shadow: 0 0 0 0 rgba(74,222,128,.8);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%   { box-shadow: 0 0 0 0 rgba(74,222,128,.8); }
  70%  { box-shadow: 0 0 0 10px rgba(74,222,128,0); }
  100% { box-shadow: 0 0 0 0 rgba(74,222,128,0); }
}

/* KUK pill bottom-left */
.hero-kuk-pill {
  position: absolute;
  bottom: 32px;
  left: 32px;
  z-index: 5;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  background: rgba(251,244,228,.8);
  color: var(--ink);
  border: 1.5px solid var(--ink);
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 500;
  backdrop-filter: blur(10px);
  transition: all .25s var(--ease);
}
.hero-kuk-pill:hover {
  background: var(--ink);
  color: var(--cream);
}
.hero-kuk-pill .arrow {
  transition: transform .25s var(--ease);
}
.hero-kuk-pill:hover .arrow { transform: translateX(4px); }

.hero-inner {
  position: relative;
  z-index: 3;
  width: 100%;
  max-width: 640px;
  justify-self: end;
  text-align: left;
}

/* staggered fade-up entrance for hero copy */
.hero-eyebrow,
.hero-title,
.hero-meta,
.hero-ctas {
  animation: heroFadeUp 0.9s cubic-bezier(.22,.9,.25,1) both;
}
.hero-eyebrow { animation-delay: 0.10s; }
.hero-title   { animation-delay: 0.22s; }
.hero-meta    { animation-delay: 0.40s; }
.hero-ctas    { animation-delay: 0.58s; }
@keyframes heroFadeUp {
  from { opacity: 0; transform: translateY(20px); filter: blur(4px); }
  to   { opacity: 1; transform: translateY(0);    filter: blur(0); }
}
@media (prefers-reduced-motion: reduce) {
  .hero-eyebrow, .hero-title, .hero-meta, .hero-ctas, .hero-dandelion-wrap {
    animation: none !important;
  }
}

/* hand-stamped corner note */
.hero-hand-stamp {
  display: inline-block;
  font-family: var(--ff-hand);
  font-size: 1.3rem;
  line-height: 1.1;
  color: var(--magenta-d);
  padding: 6px 14px;
  border: 1.5px solid var(--magenta-d);
  border-radius: 999px;
  transform: rotate(-5deg);
  margin-bottom: 22px;
  background: rgba(251,244,228,0.6);
}

.hero-eyebrow {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--amber-d);
  margin: 0 0 18px;
  position: relative;
  padding-left: 40px;
}
.hero-eyebrow::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 30px;
  height: 2px;
  background: var(--amber-d);
  transform: translateY(-50%);
}

.hero-title {
  margin: 0 0 36px;
  line-height: 0.92;
}
.hero-title-top {
  display: block;
  font-family: var(--ff-display);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(1.8rem, 4vw, 3rem);
  color: var(--ink-soft);
  margin-bottom: 4px;
  padding-left: 0.5em;
  font-variation-settings: "opsz" 72, "SOFT" 100;
}
.hero-title-big {
  display: block;
  font-family: var(--ff-display);
  font-weight: 600;
  font-size: clamp(3.6rem, 11.5vw, 9.5rem);
  letter-spacing: -0.045em;
  color: var(--ink);
  font-variation-settings: "opsz" 144, "SOFT" 30;
}
.t-leto {
  position: relative;
  display: inline-block;
}
.t-leto .underline-scribble {
  position: absolute;
  left: -4%;
  right: -4%;
  bottom: -0.12em;
  width: 108%;
  height: 0.22em;
  color: var(--magenta);
}

.hero-meta {
  margin: 0 0 40px;
}

/* countdown — under the date */
.hero-countdown {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 18px 0 14px;
  flex-wrap: wrap;
}
.hero-countdown .cd-label {
  font-family: var(--ff-hand);
  font-size: 1.5rem;
  color: var(--magenta);
  transform: rotate(-3deg);
  line-height: 1;
}
.hero-countdown .cd-grid {
  display: flex;
  gap: 6px;
}
.hero-countdown .cd-cell {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: var(--ink);
  padding: 8px 14px 6px;
  border-radius: 12px;
  min-width: 58px;
  box-shadow: 2px 2px 0 var(--magenta);
}
.hero-countdown .cd-num {
  font-family: var(--ff-display);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--dandy);
  letter-spacing: -0.01em;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}
.hero-countdown .cd-unit {
  font-size: 0.62rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: rgba(251,244,228,0.7);
  margin-top: 4px;
  font-weight: 500;
}
.hero-countdown.is-done {
  font-family: var(--ff-display);
  font-size: 1.2rem;
  color: var(--magenta-d);
  font-style: italic;
}
.hero-countdown.is-done .cd-grid,
.hero-countdown.is-done .cd-label { display: none; }
.hero-date-wrap {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 14px;
  padding-left: 54px;
}
.hero-arrow {
  position: absolute;
  left: -6px;
  top: -34px;
  width: 60px;
  height: 48px;
  color: var(--amber-d);
}
.hero-date-note {
  font-family: var(--ff-hand);
  font-size: 1.35rem;
  color: var(--amber-d);
  transform: rotate(-4deg);
  line-height: 1;
}
.hero-date {
  display: inline-flex;
  align-items: baseline;
  gap: 10px;
  font-family: var(--ff-display);
  font-size: clamp(1.2rem, 2.2vw, 1.55rem);
  font-weight: 500;
  color: var(--ink);
  background: var(--dandy);
  padding: 8px 22px;
  border-radius: 999px;
  box-shadow: 3px 3px 0 var(--ink);
  transform: rotate(-1.5deg);
}
.hero-date .sep { color: var(--amber-d); }
.hero-sub {
  font-size: 1rem;
  color: var(--ink-soft);
  margin: 0;
  letter-spacing: 0.01em;
}
.hero-sub strong { color: var(--magenta-d); font-weight: 700; }

.hero-ctas {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 16px 28px;
  font-family: var(--ff-body);
  font-size: 0.98rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  border-radius: 999px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all .25s var(--ease);
  text-align: center;
}
.btn-primary {
  background: var(--ink);
  color: var(--cream);
  box-shadow: 4px 4px 0 var(--magenta);
}
.btn-primary:hover {
  background: var(--magenta);
  color: var(--cream);
  transform: translate(-2px, -2px);
  box-shadow: 6px 6px 0 var(--ink);
}
.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--ink);
}
.btn-ghost:hover {
  background: var(--ink);
  color: var(--cream);
}
.btn-outline {
  background: transparent;
  color: var(--ink);
  border-color: var(--ink);
}
.btn-outline:hover {
  background: var(--ink);
  color: var(--cream);
}
.btn-large {
  padding: 18px 36px;
  font-size: 1.05rem;
}

.hero-note {
  font-family: var(--ff-hand);
  font-size: 1.5rem;
  color: var(--ink-soft);
  margin: 0;
  max-width: 440px;
  position: relative;
  padding-left: 32px;
}
.hero-note::before {
  content: "";
  position: absolute;
  left: 0;
  top: 12px;
  bottom: 12px;
  width: 3px;
  background: var(--magenta);
  border-radius: 2px;
}

/* ═══════════════ SECTIONS GENERIC ═══════════════ */
.section {
  padding: 120px 0;
  position: relative;
}
.section-head {
  max-width: 720px;
  margin: 0 0 60px;
}
.section-tag {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--magenta);
  margin-bottom: 16px;
}
/* handwritten variant — replaces corporate "01 · SPOLEK" */
.hand-tag {
  font-family: var(--ff-hand);
  font-size: 1.6rem;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: none;
  color: var(--magenta);
  margin-bottom: 6px;
  transform: rotate(-2.5deg);
  display: inline-block;
  line-height: 1;
}
.hand-tag-light { color: var(--dandy); }

/* hand-drawn underline under a word */
.mark-under {
  position: relative;
  display: inline-block;
}
.mark-under .underline-scribble,
.mark-under .underline-scribble.w2 {
  position: absolute;
  left: -2%;
  right: -2%;
  bottom: -0.18em;
  width: 104%;
  height: 0.26em;
  color: var(--magenta);
  pointer-events: none;
}

/* hand-drawn oval around a word */
.mark-circle {
  position: relative;
  display: inline-block;
  padding: 0 0.18em;
}
.mark-circle .circle-scribble {
  position: absolute;
  left: -12%;
  top: -28%;
  width: 124%;
  height: 150%;
  color: var(--magenta);
  pointer-events: none;
  overflow: visible;
}
.mark-circle-sm .circle-scribble {
  left: -14%;
  top: -28%;
  width: 128%;
  height: 150%;
}
.section-title {
  font-size: clamp(2.2rem, 5vw, 4rem);
  font-weight: 500;
  margin-bottom: 12px;
}
.section-sub {
  font-size: 1.1rem;
  color: var(--ink-soft);
  margin: 8px 0 0;
}
.hl { color: var(--magenta); font-style: italic; }

/* ═══════════════ SPOLEK ═══════════════ */
.section-spolek { background: var(--cream); }
.spolek-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 60px;
  align-items: center;
}
.lead {
  font-size: 1.25rem;
  line-height: 1.55;
  color: var(--ink);
  margin: 0;
}
.lead strong { color: var(--magenta); }

.spolek-quote {
  margin: 0;
  padding: 32px 36px;
  background: var(--dandy);
  border-radius: var(--radius);
  position: relative;
  box-shadow: 6px 6px 0 var(--ink);
  transform: rotate(-1.2deg);
}
.spolek-quote::before {
  content: "";
  position: absolute;
  top: 16px; left: 20px;
  font-family: var(--ff-display);
  font-size: 5rem;
  line-height: 1;
  color: var(--amber-d);
  opacity: 0.3;
}
.spolek-quote p {
  margin: 0;
  font-family: var(--ff-display);
  font-size: 1.15rem;
  font-style: italic;
  line-height: 1.5;
  color: var(--ink);
}
.spolek-quote strong { font-style: normal; color: var(--magenta-d); }

/* ═══════════════ KDO JSME ═══════════════ */
.section-kdo {
  background: linear-gradient(180deg, var(--cream) 0%, #FAEBCF 100%);
}
.kdo-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: 40px;
  align-items: start;
  margin-bottom: 48px;
}
.kdo-right {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.kdo-card-photo {
  position: relative;
  padding: 0;
  background: transparent;
  border: 0;
  overflow: visible;
}
.kdo-card-photo .kdo-photo {
  margin: 0;
  border-radius: var(--radius);
  border: 2px solid var(--ink);
  aspect-ratio: 4 / 5;
  background: #2A1810;
  overflow: hidden;
  box-shadow: 8px 8px 0 var(--magenta);
}
.kdo-arrow {
  position: absolute;
  right: -36px;
  bottom: -28px;
  width: 150px;
  height: 110px;
  color: var(--amber-d);
  pointer-events: none;
  z-index: 3;
  filter: drop-shadow(2px 2px 0 rgba(251,244,228,0.6));
  animation: arrowBob 4s ease-in-out infinite;
}
@keyframes arrowBob {
  0%, 100% { transform: translate(0, 0) rotate(0deg); }
  50%      { transform: translate(4px, 2px) rotate(2deg); }
}
.kdo-card {
  background: var(--cream);
  padding: 48px 36px 40px;
  border-radius: var(--radius);
  border: 2px solid var(--ink);
  position: relative;
  transition: transform .3s var(--ease);
}
.sticker-tape {
  position: absolute;
  width: 120px;
  height: 22px;
  background:
    repeating-linear-gradient(90deg, rgba(255,255,255,0.18) 0 3px, transparent 3px 6px),
    var(--dandy);
  opacity: 0.95;
  box-shadow: 0 2px 6px rgba(42,24,16,0.12);
  pointer-events: none;
}
.sticker-tape-tl {
  top: -12px;
  left: -18px;
  transform: rotate(-18deg);
}
.sticker-tape-tr {
  top: -12px;
  right: -18px;
  transform: rotate(18deg);
}
.kdo-kicker {
  display: inline-block;
  font-family: var(--ff-hand);
  font-size: 1.3rem;
  color: var(--magenta);
  margin-bottom: 4px;
  transform: rotate(-2deg);
  line-height: 1;
}
.kdo-kicker-on-dark { color: var(--dandy); }
.cassette {
  width: 140px;
  height: auto;
  margin-bottom: 12px;
  transform: rotate(-4deg);
  filter: drop-shadow(4px 4px 0 rgba(251,244,228,0.15));
}
.kdo-card:hover { transform: translateY(-4px); }
.kdo-photo {
  margin: -48px -36px 28px -36px;
  border-radius: var(--radius) var(--radius) 0 0;
  overflow: hidden;
  aspect-ratio: 4 / 5;
  position: relative;
  background: #2A1810;
}
.kdo-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 22%;
  display: block;
  transition: transform .6s var(--ease);
}
.kdo-card:hover .kdo-photo img { transform: scale(1.03); }
.kdo-photo-caption {
  position: absolute;
  left: 14px;
  bottom: 12px;
  font-family: var(--ff-hand);
  font-size: 1.1rem;
  color: var(--cream);
  background: rgba(42,24,16,0.55);
  padding: 4px 12px;
  border-radius: 999px;
  backdrop-filter: blur(6px);
  letter-spacing: 0.02em;
}
.kdo-card-accent {
  background: var(--magenta);
  color: var(--cream);
  border-color: var(--magenta);
  transform: translateY(0);
}
.kdo-card-accent:hover { transform: translateY(-4px); }
.kdo-card-accent h3, .kdo-card-accent strong { color: var(--dandy); }
.kdo-card-nostalgie {
  padding: 26px 28px 26px;
  border-radius: 14px;
}
.kdo-card-nostalgie h3 {
  font-size: 1.35rem !important;
  margin-bottom: 10px !important;
}
.kdo-card-nostalgie p {
  font-size: 0.95rem !important;
  line-height: 1.55 !important;
}
.kdo-card-nostalgie .cassette {
  width: 72px;
  margin-bottom: 6px;
}
.kdo-card-pavla {
  background: var(--sage);
  color: var(--cream);
  border-color: var(--sage);
  transform: rotate(0.6deg);
  box-shadow: -6px 6px 0 var(--ink);
}
.kdo-card-pavla h3 { color: var(--cream); }
.kdo-card-pavla h3 span { color: var(--dandy); }
.kdo-card-pavla strong { color: var(--dandy); }
.kdo-card-pavla .kdo-kicker { color: var(--dandy); }
.kdo-emoji {
  display: inline-block;
  font-size: 2.2rem;
  margin-bottom: 16px;
}
.kdo-card-accent .sticker-tape-tl { background: var(--dandy); }
.kdo-card h3 {
  font-size: 1.8rem;
  margin-bottom: 16px;
}
.kdo-card h3 span { color: var(--amber); font-style: italic; }
.kdo-card p {
  margin: 0;
  font-size: 1.03rem;
  line-height: 1.65;
}
.kdo-outro {
  text-align: center;
  font-size: 1.2rem;
  color: var(--ink-soft);
  margin: 0;
}
.kdo-outro .hand {
  font-family: var(--ff-hand);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--magenta);
  margin-right: 8px;
}

/* ═══════════════ ANETKA ═══════════════ */
.section-anetka { background: var(--cream); }
.anetka-card {
  display: grid;
  grid-template-columns: 460px 1fr;
  gap: 72px;
  align-items: center;
  max-width: 1060px;
  margin: 0 auto;
}
.anetka-photos {
  position: relative;
  aspect-ratio: 1/1;
  width: 100%;
}
.polaroid {
  position: absolute;
  width: 62%;
  aspect-ratio: 4/5;
  background: #FDFAF0;
  padding: 14px 14px 52px;
  box-shadow: 0 14px 34px rgba(42,24,16,0.18);
  border-radius: 2px;
  display: flex;
  flex-direction: column;
}
.polaroid::after {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.18;
  mix-blend-mode: multiply;
  pointer-events: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/><feColorMatrix values='0 0 0 0 0.2, 0 0 0 0 0.1, 0 0 0 0 0.05, 0 0 0 0.25 0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
}
.polaroid-back  { top: 2%;  left: 38%; transform: rotate(6deg);  z-index: 1; }
.polaroid-mid   { top: 15%; left: 5%;  transform: rotate(-8deg); z-index: 2; }
.polaroid-front { top: 32%; left: 28%; transform: rotate(3deg);  z-index: 3; }

/* Two-photo layout — vedle sebe, žádné překrytí Anetky */
.anetka-photos-two .polaroid {
  /* žádný caption => menší bottom padding, čistá fotka */
  padding: 14px 14px 16px;
}
.anetka-photos-two .polaroid-mid   { top: 5%;  left: 0%;  transform: rotate(-5deg); width: 56%; }
.anetka-photos-two .polaroid-front { top: 18%; left: 44%; transform: rotate(4deg);  width: 56%; }

.polaroid-img {
  flex: 1;
  border-radius: 1px;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #2A1810;
}
.polaroid-photo {
  flex: 1;
  width: 100%;
  min-height: 0;
  object-fit: cover;
  object-position: center 35%;
  display: block;
  border-radius: 1px;
  background: #2A1810;
}
.polaroid-caption {
  position: absolute;
  bottom: 16px;
  left: 0; right: 0;
  text-align: center;
  font-family: var(--ff-hand);
  font-size: 1.2rem;
  color: var(--ink-soft);
  line-height: 1;
}
.tape {
  position: absolute;
  width: 84px;
  height: 22px;
  background:
    repeating-linear-gradient(90deg, rgba(255,255,255,0.2) 0 3px, transparent 3px 6px),
    rgba(242,193,78,0.78);
  box-shadow: 0 2px 6px rgba(42,24,16,0.12);
  z-index: 4;
}
.tape-tl { top: -10px; left: -16px; transform: rotate(-24deg); }
.tape-br { bottom: -10px; right: -16px; transform: rotate(-24deg); }

.anetka-text p { font-size: 1.1rem; line-height: 1.65; margin: 0 0 16px; }
.anetka-lead {
  font-family: var(--ff-display);
  font-size: 1.4rem !important;
  color: var(--ink-soft);
}
.anetka-text a { color: var(--magenta); border-bottom: 1px solid currentColor; }

/* ═══════════════ PROGRAM ═══════════════ */
.section-program {
  background: var(--ink);
  color: var(--cream);
}
.section-program .section-title { color: var(--cream); }
.section-program .section-title em { color: var(--dandy); }
.section-program .section-tag { color: var(--dandy); }
.section-program .section-sub { color: rgba(251,244,228,0.7); }

.program-list {
  list-style: none;
  padding: 0;
  margin: 0 0 56px;
  counter-reset: prog;
}
.program-list li {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 28px;
  padding: 16px 0;
  border-top: 1px solid rgba(251,244,228,0.15);
  transition: padding-left .3s var(--ease);
}
.program-list li:last-child { border-bottom: 1px solid rgba(251,244,228,0.15); }
.program-list li:hover { padding-left: 10px; }
.program-list .time {
  font-family: var(--ff-display);
  font-size: 1rem;
  font-weight: 500;
  color: var(--dandy);
  letter-spacing: 0.02em;
  align-self: center;
}
.program-list .entry h3 {
  color: var(--cream);
  font-size: 1.25rem;
  margin: 0 0 4px;
}
.program-list .entry p {
  color: rgba(251,244,228,0.75);
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.5;
}

/* tight variant — slimmer rows, smaller type, less visual weight */
.program-list-tight li {
  grid-template-columns: 160px 1fr;
  gap: 20px;
  padding: 10px 0;
}
.program-list-tight .time {
  font-size: 0.88rem;
  letter-spacing: 0.03em;
}
.program-list-tight .entry h3 {
  font-size: 1.05rem;
  margin: 0 0 2px;
}
.program-list-tight .entry p {
  font-size: 0.86rem;
  line-height: 1.45;
}
.program-list-tight .highlight {
  padding-top: 14px;
  padding-bottom: 14px;
}
.program-list .highlight {
  background: linear-gradient(90deg, rgba(217,70,104,0.12) 0%, transparent 100%);
  padding-left: 20px;
  margin-left: -20px;
  border-radius: var(--radius-sm);
  border-top-color: var(--magenta);
}
.program-list .highlight .entry h3 { color: var(--magenta); }

.program-info {
  max-width: 720px;
  padding: 36px 40px;
  background: rgba(251,244,228,0.06);
  border-radius: var(--radius);
  border: 1px dashed rgba(251,244,228,0.2);
}
.program-info h3 {
  color: var(--dandy);
  font-size: 1.4rem;
  margin-bottom: 20px;
}
.program-info ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 12px;
}
.program-info li {
  position: relative;
  padding-left: 28px;
  font-size: 1rem;
  line-height: 1.5;
  color: rgba(251,244,228,0.88);
}
.program-info li::before {
  content: "✦";
  position: absolute;
  left: 0;
  top: 2px;
  color: var(--magenta);
  font-size: 0.9rem;
}
.program-info strong { color: var(--cream); }

/* ═══════════════ VSTUPENKY ═══════════════ */
.section-vstupenky {
  background: linear-gradient(180deg, #F7E9CA 0%, var(--cream) 100%);
}
.ticket-card {
  max-width: 880px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 220px;
  background: var(--cream);
  border-radius: var(--radius);
  border: 2px solid var(--ink);
  box-shadow: 10px 10px 0 var(--magenta);
  overflow: hidden;
  position: relative;
}
.ticket-left { padding: 48px 48px 44px; }
.ticket-label {
  font-size: 0.8rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--amber-d);
  font-weight: 600;
  margin: 0 0 10px;
}
.ticket-title {
  font-size: 2.8rem;
  margin: 0 0 6px;
}
.ticket-date {
  font-family: var(--ff-display);
  font-style: italic;
  font-size: 1.2rem;
  color: var(--ink-soft);
  margin: 0 0 28px;
}
.ticket-price {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin-bottom: 4px;
}
.ticket-price .amount {
  font-family: var(--ff-display);
  font-size: 5rem;
  font-weight: 600;
  color: var(--magenta);
  line-height: 1;
  letter-spacing: -0.03em;
}
.ticket-price .ccy {
  font-size: 1.4rem;
  color: var(--ink-soft);
  font-weight: 500;
}
.ticket-fee {
  font-size: 0.9rem;
  color: var(--ink-mute);
  margin: 0 0 32px;
}

.ticket-counter { margin-bottom: 28px; }
.counter-bar {
  height: 10px;
  background: rgba(42,24,16,0.08);
  border-radius: 999px;
  overflow: hidden;
  margin-bottom: 10px;
}
.counter-fill {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, var(--amber) 0%, var(--magenta) 100%);
  border-radius: 999px;
  transition: width .8s var(--ease);
}
.counter-text {
  font-size: 0.92rem;
  color: var(--ink-soft);
  margin: 0;
}

.ticket-note {
  font-size: 0.85rem;
  color: var(--ink-mute);
  margin: 12px 0 0;
  font-style: italic;
}

.ticket-right {
  background: var(--ink);
  color: var(--cream);
  padding: 40px 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 20px;
  position: relative;
}
.ticket-perforation {
  position: absolute;
  left: 0;
  top: 0; bottom: 0;
  width: 2px;
  background-image: radial-gradient(circle, var(--cream) 2px, transparent 2px);
  background-size: 2px 12px;
  background-repeat: repeat-y;
}
.ticket-stub {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  text-align: center;
}
.stub-num {
  font-family: var(--ff-display);
  font-size: 1.3rem;
  color: var(--dandy);
}
.stub-logo {
  font-size: 3rem;
  color: var(--amber);
  transform: rotate(15deg);
}
.stub-text {
  font-family: var(--ff-display);
  font-size: 1.1rem;
  letter-spacing: 0.15em;
  font-weight: 600;
  color: var(--cream);
}

/* ═══════════════ KUK ═══════════════ */
.section-kuk {
  padding: 80px 0;
  background: var(--cream);
}
.kuk-card {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 32px;
  align-items: center;
  padding: 48px 56px;
  background: var(--sage);
  color: var(--cream);
  border-radius: var(--radius);
  box-shadow: 6px 6px 0 var(--ink);
}
.kuk-card .section-tag { color: var(--dandy); }
.kuk-card h2 {
  color: var(--cream);
  font-size: 2.4rem;
  margin: 8px 0 12px;
}
.kuk-card h2 em { color: var(--dandy); }
.kuk-card p {
  margin: 0;
  font-size: 1.05rem;
  line-height: 1.55;
  max-width: 560px;
  color: rgba(251,244,228,0.92);
}
.kuk-card .btn-outline {
  border-color: var(--cream);
  color: var(--cream);
}
.kuk-card .btn-outline:hover {
  background: var(--cream);
  color: var(--sage);
}

/* account info list */
.kuk-account {
  margin: 18px 0 22px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px 24px;
  max-width: 480px;
  padding: 14px 18px;
  background: rgba(42, 24, 16, 0.18);
  border-radius: 12px;
  border: 1px solid rgba(251, 244, 228, 0.18);
}
.kuk-account dt {
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(251, 244, 228, 0.7);
  margin: 0 0 2px;
}
.kuk-account dd {
  margin: 0;
  font-family: var(--ff-display);
  font-size: 1.05rem;
  color: var(--cream);
  font-variant-numeric: tabular-nums;
}
.kuk-account strong { color: var(--dandy); }

/* QR code panel — polaroid-style frame for the original Fio QR */
.kuk-qr {
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  padding: 16px 18px 18px;
  background: #FDFAF0;
  border-radius: 16px;
  box-shadow:
    0 12px 30px -12px rgba(42, 24, 16, 0.35),
    0 2px 6px rgba(42, 24, 16, 0.10),
    inset 0 0 0 1px rgba(42, 24, 16, 0.04);
  transform: rotate(-1.2deg);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.kuk-qr:hover {
  transform: rotate(0deg) translateY(-2px);
  box-shadow:
    0 18px 40px -14px rgba(42, 24, 16, 0.40),
    0 4px 10px rgba(42, 24, 16, 0.12),
    inset 0 0 0 1px rgba(42, 24, 16, 0.04);
}
.kuk-qr-frame {
  background: #FFFFFF;
  padding: 10px;
  border-radius: 8px;
  border: 1px solid rgba(42, 24, 16, 0.08);
}
.kuk-qr img {
  display: block;
  width: 190px;
  height: 190px;
  image-rendering: pixelated;
  image-rendering: -moz-crisp-edges;
}
.kuk-qr figcaption {
  text-align: center;
  line-height: 1.3;
  max-width: 220px;
}
.kuk-qr-cta {
  display: block;
  font-family: var(--ff-display);
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--ink);
  margin-bottom: 2px;
}
.kuk-qr figcaption small {
  display: block;
  font-size: 0.76rem;
  color: var(--ink-mute);
  letter-spacing: 0.01em;
}
@media (max-width: 720px) {
  .kuk-card { grid-template-columns: 1fr; gap: 24px; padding: 32px 24px; }
  .kuk-account { grid-template-columns: 1fr; gap: 8px; }
  .kuk-qr { align-self: center; }
}

/* ═══════════════ FAQ ═══════════════ */
.section-faq {
  background: linear-gradient(180deg, #F5E8CC 0%, var(--cream) 100%);
}
.faq-list {
  max-width: 880px;
  margin: 0 auto;
  display: grid;
  gap: 14px;
}
.faq-item {
  background: var(--cream);
  border: 1px solid rgba(42, 24, 16, 0.10);
  border-radius: 14px;
  padding: 18px 22px;
  transition: border-color .25s var(--ease), box-shadow .25s var(--ease);
}
.faq-item[open] {
  border-color: rgba(217, 70, 104, 0.30);
  box-shadow: 0 10px 26px -16px rgba(42, 24, 16, 0.25);
}
.faq-item summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  outline: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--cream-2);
  border-radius: 50%;
  font-family: var(--ff-display);
  font-size: 1.2rem;
  color: var(--magenta-d);
  transition: transform .25s var(--ease), background .25s var(--ease);
}
.faq-item[open] summary::after {
  content: "−";
  background: var(--magenta);
  color: var(--cream);
  transform: rotate(180deg);
}
.faq-item summary h3 {
  margin: 0;
  font-family: var(--ff-display);
  font-size: 1.15rem;
  font-weight: 500;
  color: var(--ink);
  line-height: 1.3;
  letter-spacing: -0.005em;
}
.faq-item > p {
  margin: 14px 4px 4px;
  color: var(--ink-soft);
  font-size: 0.98rem;
  line-height: 1.6;
}
.faq-item strong { color: var(--ink); font-weight: 600; }
.faq-item a {
  color: var(--magenta-d);
  border-bottom: 1px solid currentColor;
}
.faq-item a:hover { color: var(--ink); }

/* ═══════════════ PARTNEŘI ═══════════════ */
.section-partneri {
  background: linear-gradient(180deg, var(--cream) 0%, #F5E8CC 100%);
}
.partner-grid {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2px;
  background: rgba(42,24,16,0.12);
  border: 1px solid rgba(42,24,16,0.12);
  border-radius: var(--radius);
  overflow: hidden;
}
.partner-grid li {
  background: var(--cream);
  padding: 40px 20px;
  text-align: center;
  font-family: var(--ff-display);
  font-weight: 500;
  font-size: 1.15rem;
  color: var(--ink);
  transition: all .3s var(--ease);
  cursor: default;
}
.partner-grid li:hover {
  background: var(--dandy);
  color: var(--ink);
  transform: scale(1.02);
}
.partner-grid li small {
  display: block;
  margin-top: 4px;
  font-family: var(--ff-body);
  font-size: 0.78rem;
  font-weight: 400;
  color: var(--ink-mute);
  letter-spacing: 0.02em;
}

/* utility — keep a phrase on one line, but allow wrap on very small screens */
.nowrap { white-space: nowrap; }
@media (max-width: 720px) {
  .nowrap { white-space: normal; }
}

/* ═══════════════ GALERIE ═══════════════ */
.section-galerie { background: var(--cream); }
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
}
.gallery-item {
  aspect-ratio: 4/5;
  border-radius: var(--radius-sm);
  background: repeating-linear-gradient(
    45deg,
    rgba(230,117,46,0.08),
    rgba(230,117,46,0.08) 10px,
    rgba(242,193,78,0.15) 10px,
    rgba(242,193,78,0.15) 20px
  );
  border: 2px dashed rgba(42,24,16,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--ff-hand);
  font-size: 1.4rem;
  color: var(--ink-soft);
  transition: all .3s var(--ease);
}
.gallery-item:hover {
  transform: scale(1.02);
  border-color: var(--magenta);
  color: var(--magenta);
}
.gallery-item.gallery-item-photo {
  background: #2A1810;
  border: 2px solid transparent;
  padding: 0;
  margin: 0;
  overflow: hidden;
  cursor: zoom-in;
}
.gallery-item.gallery-item-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .55s var(--ease);
}
.gallery-item.gallery-item-photo:hover {
  border-color: var(--magenta);
}
.gallery-item.gallery-item-photo:hover img {
  transform: scale(1.04);
}

/* ═══════════════ KONTAKT ═══════════════ */
.section-kontakt {
  background: linear-gradient(180deg, #F5E8CC 0%, var(--cream) 100%);
}
.kontakt-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
}
.kontakt-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 32px 28px;
  background: var(--cream);
  border: 2px solid var(--ink);
  border-radius: var(--radius);
  transition: all .25s var(--ease);
}
a.kontakt-card:hover {
  background: var(--ink);
  color: var(--cream);
  transform: translateY(-3px);
  box-shadow: 6px 6px 0 var(--magenta);
}
.kontakt-label {
  font-size: 0.78rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--magenta);
  font-weight: 600;
}
a.kontakt-card:hover .kontakt-label { color: var(--dandy); }
.kontakt-value {
  font-family: var(--ff-display);
  font-size: 1.4rem;
  font-weight: 500;
}

/* ═══════════════ FOOTER ═══════════════ */
.site-footer {
  padding: 60px 0 40px;
  background: var(--ink);
  color: var(--cream);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 2fr 1fr;
  gap: 48px;
  align-items: start;
  margin-bottom: 40px;
}
.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.footer-mark {
  font-size: 2rem;
  color: var(--amber);
}
.footer-name {
  font-family: var(--ff-display);
  font-size: 1.6rem;
  font-weight: 500;
}
.footer-brand p {
  margin: 6px 0 0;
  font-family: var(--ff-hand);
  font-size: 1.25rem;
  color: var(--dandy);
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px 28px;
  align-content: center;
  padding-top: 12px;
}
.footer-nav a {
  font-size: 0.95rem;
  color: rgba(251,244,228,0.7);
  transition: color .2s var(--ease);
}
.footer-nav a:hover { color: var(--dandy); }
.footer-meta {
  text-align: right;
  font-size: 0.9rem;
  color: rgba(251,244,228,0.65);
}
.footer-meta p { margin: 0 0 6px; }
.footer-meta a { color: var(--dandy); border-bottom: 1px solid currentColor; }

/* ═══════════════ LEGAL PAGES (podminky, gdpr) ═══════════════ */
.legal-page { background: var(--cream); }
.legal { padding: 140px 0 100px; }
.legal-container { max-width: 820px; }
.legal-back { margin: 0 0 24px; }
.legal-back a {
  font-family: var(--ff-body);
  font-size: 0.95rem;
  color: var(--magenta);
  border-bottom: 1px solid currentColor;
}
.legal-back a:hover { color: var(--magenta-d); }

.legal-head { margin-bottom: 48px; }
.legal-head h1 {
  font-family: var(--ff-display);
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  font-weight: 500;
  letter-spacing: -0.02em;
  margin: 4px 0 8px;
}
.legal-meta {
  font-family: var(--ff-display);
  font-style: italic;
  font-size: 1rem;
  color: var(--ink-soft);
  margin: 0;
}

.legal-content {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--ink-soft);
}
.legal-content .legal-lead {
  font-family: var(--ff-display);
  font-size: 1.15rem;
  line-height: 1.55;
  color: var(--ink);
  margin: 0 0 36px;
}
.legal-content h2 {
  font-family: var(--ff-display);
  font-size: 1.35rem;
  font-weight: 500;
  color: var(--ink);
  margin: 36px 0 12px;
  letter-spacing: -0.01em;
}
.legal-content p { margin: 0 0 16px; }
.legal-content ul {
  margin: 0 0 18px;
  padding-left: 22px;
}
.legal-content li { margin-bottom: 8px; }
.legal-content strong { color: var(--ink); }
.legal-content em {
  font-style: normal;
  color: var(--magenta-d);
  background: rgba(217,70,104,0.08);
  padding: 1px 6px;
  border-radius: 4px;
  font-size: 0.92em;
}
.legal-content a:not(.btn) {
  color: var(--magenta);
  border-bottom: 1px solid currentColor;
}
.legal-content a:not(.btn):hover { color: var(--magenta-d); }
.legal-foot {
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid rgba(42,24,16,0.1);
  font-family: var(--ff-display);
  font-style: italic;
  color: var(--ink-mute);
}

/* ═══════════════ COOKIE NOTICE ═══════════════ */
/* ═══════════════ COOKIE BANNER — GDPR/ePrivacy ready ═══════════════ */
.cookie-notice {
  position: fixed;
  bottom: 16px;
  left: 16px;
  right: 16px;
  max-width: 560px;
  margin: 0 auto;
  z-index: 200;
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 18px 20px 16px;
  background: var(--ink);
  color: var(--cream);
  border-radius: 18px;
  box-shadow: 0 18px 50px -12px rgba(42,24,16,0.45);
  font-size: 0.92rem;
  line-height: 1.5;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .3s var(--ease), transform .35s var(--ease);
}
.cookie-notice.is-visible {
  opacity: 1;
  transform: none;
}
.cookie-head {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}
.cookie-icon {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(242, 193, 78, 0.18);
  border-radius: 10px;
  font-size: 1.15rem;
  line-height: 1;
}
.cookie-text { flex: 1; min-width: 0; }
.cookie-text h3 {
  font-family: var(--ff-display);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--cream);
  margin: 0 0 4px;
  line-height: 1.2;
  letter-spacing: -0.005em;
}
.cookie-text p {
  margin: 0;
  font-size: 0.88rem;
  line-height: 1.5;
  color: rgba(251, 244, 228, 0.86);
}
.cookie-text strong {
  color: var(--cream);
  font-weight: 600;
}
.cookie-text a {
  color: var(--dandy);
  border-bottom: 1px solid rgba(242, 193, 78, 0.4);
  transition: border-color .2s var(--ease), color .2s var(--ease);
}
.cookie-text a:hover {
  color: #FFD56B;
  border-color: currentColor;
}
.cookie-actions {
  display: flex;
  gap: 10px;
  justify-content: flex-end;
  flex-wrap: wrap;
}
.cookie-btn {
  border: 0;
  padding: 9px 18px;
  border-radius: 999px;
  font-family: var(--ff-body);
  font-size: 0.86rem;
  font-weight: 600;
  cursor: pointer;
  transition: background .2s var(--ease), color .2s var(--ease), transform .2s var(--ease);
  white-space: nowrap;
}
.cookie-btn-primary {
  background: var(--dandy);
  color: var(--ink);
}
.cookie-btn-primary:hover {
  background: #FFD56B;
  transform: translateY(-1px);
}
.cookie-btn-ghost {
  background: transparent;
  color: rgba(251, 244, 228, 0.78);
  border: 1px solid rgba(251, 244, 228, 0.22);
}
.cookie-btn-ghost:hover {
  color: var(--cream);
  border-color: rgba(251, 244, 228, 0.5);
  background: rgba(251, 244, 228, 0.06);
}
@media (max-width: 560px) {
  .cookie-notice {
    padding: 16px 16px 14px;
    border-radius: 16px;
  }
  .cookie-text h3 { font-size: 0.98rem; }
  .cookie-text p  { font-size: 0.84rem; }
  .cookie-actions { justify-content: stretch; }
  .cookie-btn { flex: 1; }
}

/* ═══════════════ RESPONSIVE ═══════════════ */
@media (max-width: 900px) {
  .nav-links {
    position: fixed;
    top: 0; right: -100%;
    width: 78%;
    max-width: 320px;
    height: 100vh;
    background: var(--cream);
    flex-direction: column;
    align-items: flex-start;
    padding: 100px 28px 28px;
    gap: 18px;
    box-shadow: -10px 0 40px rgba(42,24,16,.12);
    transition: right .35s var(--ease);
  }
  .nav-links.open { right: 0; }
  .nav-hamburger { display: flex; z-index: 110; }
  .nav-hamburger.open span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
  .nav-hamburger.open span:nth-child(2) { opacity: 0; }
  .nav-hamburger.open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

  .hero { padding: 110px 20px 80px; min-height: auto; align-items: flex-start; }
  .hero-stage {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .hero-inner { justify-self: stretch; max-width: 100%; }
  .hero-dandelion-wrap {
    aspect-ratio: auto;
    max-width: 360px;
    margin: 0 auto;
    order: 2;
  }
  .hero-tickets-pill { top: 74px; right: 16px; font-size: 0.78rem; padding: 8px 14px; }
  .hero-kuk-pill { bottom: 16px; left: 16px; font-size: 0.78rem; padding: 8px 14px; }
  .hero-sticker { display: none; }
  .dandelion {
    width: 70%;
    max-width: 320px;
    margin: 0 auto;
    transform: rotate(-4deg);
  }
  .drift-1, .drift-2, .drift-3 { width: 22px; height: 22px; }
  .anetka-photos { aspect-ratio: 1/1; max-width: 360px; margin: 0 auto; }
  .polaroid { width: 60%; }
  .polaroid-back { top: 0; left: 40%; }
  .polaroid-mid  { top: 14%; left: 2%; }
  .polaroid-front { top: 30%; left: 24%; }

  .section { padding: 80px 0; }
  .spolek-grid { grid-template-columns: 1fr; gap: 40px; }
  .spolek-quote { transform: none; }
  .kdo-grid { grid-template-columns: 1fr; }
  .kdo-card-accent { transform: none; }
  .anetka-card { grid-template-columns: 1fr; gap: 40px; }
  .anetka-photo { max-width: 320px; margin: 0 auto; }
  .program-list li { grid-template-columns: 1fr; gap: 8px; }
  .ticket-card { grid-template-columns: 1fr; }
  .ticket-right { padding: 28px; flex-direction: row; }
  .ticket-perforation {
    top: 0; left: 0; right: 0; bottom: auto;
    width: 100%; height: 2px;
    background-image: radial-gradient(circle, var(--cream) 2px, transparent 2px);
    background-size: 12px 2px;
    background-repeat: repeat-x;
  }
  .kuk-card {
    grid-template-columns: 1fr;
    padding: 36px 28px;
    text-align: center;
  }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; text-align: center; }
  .footer-brand, .footer-meta { text-align: center; align-items: center; }
  .footer-nav { justify-content: center; }
}

@media (max-width: 560px) {
  .ticket-left { padding: 32px 28px; }
  .ticket-price .amount { font-size: 3.8rem; }
  .hero-title-big { font-size: clamp(3rem, 14vw, 5rem); }
}

/* ═══════════════ REVEAL ═══════════════ */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
}
.reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* ═══════════════ NAV ACTIVE ═══════════════ */
.nav-links a.active:not(.nav-cta)::after {
  transform: scaleX(1);
  transform-origin: left;
}
.nav-links a.active:not(.nav-cta) { color: var(--ink); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001s !important;
    transition-duration: 0.001s !important;
  }
}
