/* ══════════════════════════════════════════════════════════════════
   cust 007 — „Tereza & Adam" · Palubní lístek (svatba 26. 8. 2026)
   Desktop styles + tokens. ZERO media queries (all in responsive.css).
   ══════════════════════════════════════════════════════════════════ */

:root {
  --base: #F7F3EC;        /* ivory paper */
  --surface: #EBE4D7;     /* laid paper */
  --card: #FFFDF8;        /* raised paper */
  --ink: #26241F;
  --ink-soft: rgba(38, 36, 31, 0.72);
  --green: #4B5637;       /* olive — invitation green */
  --green-dark: #3A4429;
  --gold: #B08D4F;        /* brass */
  --gold-soft: rgba(176, 141, 79, 0.45);
  --terracotta: #B65F3F;  /* stamp ink — invitation swatch */
  --stamp-red: #A6352B;   /* passport ink — jazykový přepínač */
  --err: #9C3B2A;
  --footer-ink: #1E1C18;
  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-script: 'Great Vibes', 'Cormorant Garamond', cursive;
  --font-ui: 'Jost', system-ui, sans-serif;
  --ease-spring: cubic-bezier(0.22, 1, 0.36, 1);
  --shadow-card: 0 1px 3px rgba(38, 36, 31, 0.05), 0 14px 34px rgba(38, 36, 31, 0.08);
  --shadow-card-hover: 0 2px 6px rgba(38, 36, 31, 0.07), 0 22px 48px rgba(38, 36, 31, 0.13);
  --nav-h: 76px;
}

/* ── Base ───────────────────────────────────────────────────────── */
html { scroll-behavior: auto; } /* the JS tween owns scrolling */
* { box-sizing: border-box; }
body {
  margin: 0;
  background: var(--base);
  color: var(--ink);
  font-family: var(--font-ui);
  font-weight: 300;
  font-size: 16.5px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
main { overflow-x: clip; }
img { max-width: 100%; display: block; }
iframe { border: 0; display: block; }
[hidden] { display: none !important; }

/* Phase mechanic — the one sanctioned !important pair. Works before JS runs. */
body[data-phase="pred"] [data-when="po"],
body[data-phase="po"] [data-when="pred"] { display: none !important; }

::selection { background: rgba(75, 86, 55, 0.22); }

a { color: var(--green); text-decoration-color: var(--gold-soft); text-underline-offset: 3px; }
a:hover { text-decoration-color: var(--gold); }
/* Britské číslo v mezinárodním tvaru dle Ofcomu: +44 7776 438449.
   Skupiny drží pohromadě (&nbsp; v markupu), tabulkové číslice srovnají
   rozestupy — v proporcionálním řezu jsou jednička a čtyřka různě široké
   a číslo pak vypadá rozházeně. */
.tel { white-space: nowrap; font-variant-numeric: tabular-nums; font-feature-settings: 'tnum' 1; }

:focus-visible {
  outline: 3px solid rgba(75, 86, 55, 0.55);
  outline-offset: 3px;
  border-radius: 2px;
}

.skip-link {
  position: absolute; left: -9999px; top: 12px; z-index: 400;
  background: var(--green); color: var(--base); padding: 10px 18px; border-radius: 8px;
}
.skip-link:focus-visible { left: 12px; }

.wrap {
  max-width: 1200px;
  margin: 0 auto;
  padding-left: 40px;
  padding-right: 40px;
}

section[id], footer[id] { scroll-margin-top: calc(var(--nav-h) + 16px); }

/* ── Typography ─────────────────────────────────────────────────── */
.h2 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(2rem, 3.4vw, 3rem);
  line-height: 1.12;
  letter-spacing: -0.015em;
  margin: 14px 0 0;
}
.eyebrow {
  font-family: var(--font-ui);
  font-weight: 500;
  font-size: 0.78rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 16px 0 0;
}
.sec-head { text-align: center; max-width: 720px; margin: 0 auto 56px; }
.sec-sub { color: var(--ink-soft); font-size: 1.02rem; margin: 18px auto 0; max-width: 560px; }

/* Double hairline rule — signature motif (letterpress card) */
.rule-double {
  width: 76px; height: 7px;
  border-top: 2px solid var(--gold);
  border-bottom: 1px solid var(--gold);
}
.rule-double--center { margin: 0 auto; }
.rule-double--flip { border-top-width: 1px; border-bottom-width: 2px; }

/* Monogram lockup — signature motif */
.monogram {
  display: inline-flex; align-items: center; gap: 7px;
  font-family: var(--font-display); font-style: italic; font-weight: 600;
  font-size: 1.5rem; color: var(--ink); line-height: 1;
}
.monogram__dia {
  width: 8px; height: 8px; background: var(--gold);
  transform: rotate(45deg); flex-shrink: 0;
}
.monogram--sign { font-size: 2rem; color: var(--green); margin-top: 30px; }

/* ── Buttons ────────────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  font-family: var(--font-ui); font-weight: 500; font-size: 0.98rem;
  letter-spacing: 0.01em; text-decoration: none; cursor: pointer;
  border-radius: 8px; padding: 14px 28px; border: 1px solid transparent;
  transition: transform 0.22s var(--ease-spring), box-shadow 0.22s ease, background-color 0.22s ease, color 0.22s ease, border-color 0.22s ease;
}
.btn__ico { width: 18px; height: 18px; }
.btn--primary {
  background: var(--green); color: var(--base);
  box-shadow: 0 2px 5px rgba(75, 86, 55, 0.28), 0 12px 26px rgba(75, 86, 55, 0.22);
}
.btn--primary:hover { background: var(--green-dark); transform: translateY(-1px); box-shadow: 0 3px 7px rgba(75, 86, 55, 0.3), 0 18px 34px rgba(75, 86, 55, 0.28); }
.btn--primary:active { transform: translateY(0); box-shadow: 0 1px 3px rgba(75, 86, 55, 0.3), 0 8px 18px rgba(75, 86, 55, 0.2); }
.btn--outline {
  background: transparent; color: var(--ink); border-color: rgba(38, 36, 31, 0.35);
}
.btn--outline:hover { border-color: var(--green); color: var(--green); transform: translateY(-1px); box-shadow: 0 2px 6px rgba(38, 36, 31, 0.06), 0 10px 24px rgba(38, 36, 31, 0.08); }
.btn--outline:active { transform: translateY(0); box-shadow: none; }
.btn--light {
  background: var(--base); color: var(--ink);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.22), 0 14px 30px rgba(0, 0, 0, 0.28);
}
.btn--light:hover { background: #fff; transform: translateY(-1px); }
.btn--light:active { transform: translateY(0); }
.btn[aria-disabled="true"] { cursor: default; }

/* ── Nav ────────────────────────────────────────────────────────── */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  height: var(--nav-h);
}
.nav::before {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background: rgba(247, 243, 236, 0.88);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  opacity: 0; transition: opacity 0.3s ease;
}
.nav::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 1px;
  background: var(--gold-soft); opacity: 0; transition: opacity 0.3s ease;
}
.nav.scrolled::before, .nav.scrolled::after { opacity: 1; }
.nav__inner { display: flex; align-items: center; gap: 32px; height: 100%; }
.nav__logo {
  display: inline-flex; align-items: center; gap: 12px;
  text-decoration: none; color: var(--ink); flex-shrink: 0;
}
.nav__logo-text { display: flex; flex-direction: column; line-height: 1.16; }
.nav__logo-names { font-family: var(--font-display); font-weight: 600; font-size: 1.06rem; }
.nav__logo-date {
  font-size: 0.6rem; font-weight: 500; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--gold);
}
.nav__links { display: flex; align-items: center; gap: 26px; margin: 0 auto; }
.nav__links a {
  font-size: 0.92rem; font-weight: 400; color: var(--ink);
  text-decoration: none; position: relative; padding: 6px 0;
}
.nav__links a::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 1px;
  background: var(--gold); transform: scaleX(0); transform-origin: left;
  transition: transform 0.28s var(--ease-spring);
}
.nav__links a:hover::after, .nav__links a.is-active::after { transform: scaleX(1); }
.nav__cta { padding: 11px 22px; font-size: 0.9rem; flex-shrink: 0; }
.nav__burger {
  display: none; flex-direction: column; justify-content: center; gap: 5px;
  width: 46px; height: 46px; padding: 11px; margin-left: auto;
  background: none; border: 0; cursor: pointer;
}
.nav__burger span {
  display: block; height: 2px; width: 100%; background: var(--ink);
  transition: transform 0.3s var(--ease-spring), opacity 0.2s ease;
}

/* ── Jazykový přepínač — cestovní razítko ───────────────────────────
   Dva segmenty (CZ / EN) a jedno červené razítko, které se po kliknutí
   zvedne, přehoupne na druhý segment a otiskne se tam. Poloha i šířka
   otisku se MĚŘÍ z aktivního segmentu (--ink-x / --ink-w v app.js) —
   česká a anglická popiska mají různou šířku a v zásuvce se navíc
   display:none prvek měří na nulu. */
.stamp-switch {
  position: relative; display: inline-flex; align-items: center;
  flex-shrink: 0; isolation: isolate;
}
.stamp-switch__seg {
  position: relative; z-index: 1; background: none; border: 0; cursor: pointer;
  font-family: var(--font-ui); font-size: 0.7rem; font-weight: 500;
  letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-soft);
  padding: 11px 13px; transition: color 0.3s ease;
}
/* Dotyková plocha se zvětšuje jen svisle — segmenty se dotýkají a
   vodorovný přesah by udělal z hranice mezi CZ a EN loterii. */
.stamp-switch__seg::before { content: ''; position: absolute; inset: -8px 0; }
.stamp-switch__seg:hover { color: var(--ink); }
.stamp-switch__seg[aria-pressed="true"] { color: var(--stamp-red); }
.stamp-switch__seg:focus-visible {
  outline: 3px solid var(--stamp-red); outline-offset: 3px; border-radius: 3px;
}
/* Samotný otisk: perforovaný prstenec + vnitřní linka — stejná rodina
   jako .hero__stamp a .band__postmark. multiply, ať to je inkoust
   v papíru, ne barevná pilulka. */
.stamp-switch__ink, .stamp-switch__splat {
  position: absolute; top: 50%; left: 0; z-index: 0;
  width: var(--ink-w, 44px); height: 38px; border-radius: 999px;
  color: var(--stamp-red); pointer-events: none;
  transform: translate(var(--ink-x, 0px), -50%) rotate(-8deg);
}
.stamp-switch__ink {
  border: 2px dashed currentColor; opacity: 0.92; mix-blend-mode: multiply;
  transition: transform 0.46s var(--ease-spring);
}
.stamp-switch__ink::before {
  content: ''; position: absolute; inset: 3px;
  border-radius: 999px; border: 1px solid currentColor; opacity: 0.7;
}
/* zrnitost — otisk vypadá obouchaně, ne vektorově */
.stamp-switch__ink::after {
  content: ''; position: absolute; inset: 0; border-radius: 999px; opacity: 0.3;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='60' height='60'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='60' height='60' filter='url(%23n)' opacity='0.6'/%3E%3C/svg%3E");
  mix-blend-mode: screen;
}
.stamp-switch__splat { border: 2px solid currentColor; opacity: 0; }

.stamp-switch.is-stamping .stamp-switch__ink { animation: stampSwing 0.5s var(--ease-spring); }
.stamp-switch.is-stamping .stamp-switch__splat { animation: stampSplat 0.52s ease-out; }
@keyframes stampSwing {
  0%   { transform: translate(var(--from-x, 0px), -50%) rotate(-8deg) scale(1); }
  40%  { transform: translate(calc((var(--from-x, 0px) + var(--ink-x, 0px)) / 2), -74%) rotate(11deg) scale(1.1); }
  74%  { transform: translate(var(--ink-x, 0px), -50%) rotate(-15deg) scale(0.9); }
  100% { transform: translate(var(--ink-x, 0px), -50%) rotate(-8deg) scale(1); }
}
@keyframes stampSplat {
  0%, 62% { opacity: 0; transform: translate(var(--ink-x, 0px), -50%) rotate(-8deg) scale(0.92); }
  74%     { opacity: 0.5; }
  100%    { opacity: 0; transform: translate(var(--ink-x, 0px), -50%) rotate(-8deg) scale(1.75); }
}

/* v zásuvce celá slova místo zkratek */
.stamp-switch--wide { display: flex; margin-top: 26px; }
.stamp-switch--wide .stamp-switch__seg { padding: 12px 16px; font-size: 0.74rem; }
.stamp-switch--wide .stamp-switch__ink,
.stamp-switch--wide .stamp-switch__splat { height: 42px; }

/* ── Drawer (direct child of body — no filtered ancestor) ───────── */
.drawer { position: fixed; inset: 0; z-index: 200; visibility: hidden; pointer-events: none; }
.drawer.is-open { visibility: visible; pointer-events: auto; }
.drawer__overlay {
  position: absolute; inset: 0; background: rgba(38, 36, 31, 0.4);
  opacity: 0; transition: opacity 0.3s ease;
}
.drawer.is-open .drawer__overlay { opacity: 1; }
.drawer__panel {
  position: absolute; top: 0; right: 0; bottom: 0; width: min(380px, 88vw);
  background: var(--base); border-left: 1px solid var(--gold-soft);
  padding: 84px 36px 36px; display: flex; flex-direction: column; gap: 26px;
  transform: translateX(100%); transition: transform 0.38s var(--ease-spring);
  overflow-y: auto;
}
.drawer.is-open .drawer__panel { transform: translateX(0); }
.drawer__close {
  position: absolute; top: 16px; right: 16px; width: 48px; height: 48px;
  display: flex; align-items: center; justify-content: center;
  background: none; border: 1px solid rgba(38, 36, 31, 0.2); border-radius: 50%;
  color: var(--ink); cursor: pointer;
}
.drawer__close:hover { border-color: var(--green); color: var(--green); }
.drawer__links { display: flex; flex-direction: column; gap: 4px; }
.drawer__links a {
  font-family: var(--font-display); font-weight: 500; font-size: 1.5rem;
  color: var(--ink); text-decoration: none; padding: 7px 0;
  border-bottom: 1px solid rgba(176, 141, 79, 0.18);
}
.drawer__links a:hover { color: var(--green); }
.drawer__cta { margin-top: 4px; }
.drawer__note {
  margin: auto 0 0; font-size: 0.72rem; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--gold); font-weight: 500;
}

/* ── Hero ───────────────────────────────────────────────────────── */
.hero {
  display: grid; grid-template-columns: 52% 48%;
  min-height: 100vh; position: relative;
}
@supports (height: 100svh) { .hero { min-height: 100svh; } }
.hero__panel {
  position: relative; display: flex; align-items: center; justify-content: center;
  background:
    radial-gradient(120% 90% at 15% 10%, rgba(176, 141, 79, 0.09), transparent 55%),
    radial-gradient(110% 80% at 85% 95%, rgba(75, 86, 55, 0.07), transparent 60%),
    var(--base);
}
.hero__panel::after {
  content: ''; position: absolute; inset: 0; pointer-events: none; opacity: 0.05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)' opacity='0.55'/%3E%3C/svg%3E");
}
/* Poštovní razítko — otisk v rohu palubního lístku */
.hero__stamp {
  position: absolute; top: calc(var(--nav-h) + 20px); right: 30px; z-index: 1;
  width: 148px; height: 148px; color: var(--terracotta); opacity: 0.42;
  transform: rotate(-12deg); pointer-events: none;
}
.hero__card {
  position: relative; z-index: 1; max-width: 560px;
  padding: calc(var(--nav-h) + 46px) 48px 72px;
  text-align: center; display: flex; flex-direction: column; align-items: center;
}
/* .hero__overline — markup odstraněn (klient 2026-08-01); styl necháváme,
   ať je případný návrat jedno vložení. */
.hero__overline {
  font-weight: 500; font-size: 0.78rem; letter-spacing: 0.3em;
  text-transform: uppercase; color: var(--gold); margin: 18px 0 0;
}
.hero__names {
  /* script wordmark — no negative tracking on a connected script face */
  font-family: var(--font-script); font-weight: 400;
  font-size: clamp(3.6rem, 6vw, 5.6rem); line-height: 1.2;
  letter-spacing: 0; margin: 10px 0 0; color: var(--ink);
}
.hero__amp { color: var(--gold); }
.hero__subline {
  font-size: 1.04rem; font-weight: 400; letter-spacing: 0.06em;
  color: var(--ink); margin: 14px 0 0;
}
.hero__lead {
  font-family: var(--font-display); font-style: italic; font-weight: 500;
  font-size: 1.18rem; color: var(--ink-soft); margin: 14px 0 0; max-width: 420px;
  line-height: 1.5;
}
.hero__after {
  font-family: var(--font-display); font-style: italic; font-weight: 500;
  font-size: 1.35rem; color: var(--green); margin: 26px 0 0;
}
.hero__ctas { display: flex; gap: 14px; flex-wrap: wrap; justify-content: center; margin: 32px 0 38px; }

.countdown { display: flex; gap: 10px; margin-top: 30px; }
.countdown__cell {
  display: flex; flex-direction: column; align-items: center; gap: 2px;
  min-width: 74px; padding: 12px 10px 9px;
  border: 1px solid var(--gold-soft); background: rgba(255, 253, 248, 0.65);
}
.countdown__num {
  font-family: var(--font-display); font-weight: 600; font-size: 1.9rem;
  line-height: 1; color: var(--ink); font-variant-numeric: tabular-nums;
}
.countdown__lab {
  font-size: 0.62rem; font-weight: 500; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--gold);
}

.hero__media { position: relative; overflow: hidden; }
.hero__media img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: 50% 45%;
}
.hero__media-shade {
  position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(to top, rgba(38, 36, 31, 0.34), transparent 40%);
}
.hero__chip {
  position: absolute; left: 20px; bottom: 20px; margin: 0;
  display: inline-flex; align-items: center; gap: 9px;
  padding: 10px 18px; border-radius: 999px;
  background: rgba(38, 36, 31, 0.55); border: 1px solid rgba(247, 243, 236, 0.28);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  color: var(--base); font-size: 0.74rem; font-weight: 500;
  letter-spacing: 0.14em; text-transform: uppercase; line-height: 1.5;
}
.hero__chip svg { width: 15px; height: 15px; flex-shrink: 0; color: var(--gold); transform: rotate(45deg); }

/* ── Naše cesta (story timeline + plane) ─────────────────────────
   Sekce #cesta byla z webu odstraněna (klient 2026-08-01). Styly
   necháváme kompletní — návrat sekce je pak jedno vložení markupu. */
.story { position: relative; padding: 112px 0; overflow: hidden; }
.story__ghost {
  /* compass-rose watermark */
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: clamp(420px, 46vw, 660px); height: clamp(420px, 46vw, 660px);
  color: rgba(38, 36, 31, 0.05); pointer-events: none; user-select: none;
}
.story .wrap { position: relative; z-index: 1; }
.story__line {
  position: relative; list-style: none; margin: 0 auto; padding: 24px 0 8px;
  max-width: 860px;
}
/* tečkovaná letová trasa — po segmentech v <li>, aby začínala na prvním
   a končila na posledním razítku (dřív přebíhala pod poslední uzel) */
.story__item::before {
  content: ''; position: absolute; top: 0; bottom: 0; left: 50%;
  width: 2px; transform: translateX(-1px);
  background-image: repeating-linear-gradient(180deg, var(--gold-soft) 0 5px, transparent 5px 13px);
}
.story__item:first-child::before { top: 45px; }              /* střed prvního uzlu */
.story__item:last-child::before { bottom: auto; height: 46px; } /* střed uzlu --last */
/* .story__plane — vypnuto spolu s #journeyPlane (markup je zakomentovaný v _draft.html)
.story__plane {
  position: absolute; top: 0; left: 50%; z-index: 2;
  width: 28px; height: 28px; margin-left: -14px;
  color: var(--green);
  transform: translate3d(0, 0, 0) rotate(180deg);
}
*/
.story__item { position: relative; padding: 26px 0; }
.story__item:nth-child(odd) { padding-right: calc(50% + 44px); text-align: right; }
.story__item:nth-child(even) { padding-left: calc(50% + 44px); text-align: left; }
.story__node {
  position: absolute; top: 40px; left: 50%; transform: translate(-50%, 0) rotate(45deg);
  width: 10px; height: 10px; background: var(--gold); border: 0;
}
.story__node--last { background: var(--green); width: 12px; height: 12px; }
.story__year {
  font-weight: 500; font-size: 0.8rem; letter-spacing: 0.2em;
  text-transform: uppercase; color: var(--gold); margin: 0;
}
.story__text {
  font-size: 1.04rem; color: var(--ink-soft); margin: 8px 0 0; line-height: 1.65;
}

/* ── Passport data strip ────────────────────────────────────────── */
.pass { background: var(--surface); padding: 84px 0 72px; }
.pass__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; }
.pass__item {
  text-align: center; display: flex; flex-direction: column; gap: 7px;
  border-left: 1px dashed var(--gold-soft); padding: 6px 12px;
}
.pass__item:first-child { border-left: 0; }
.pass__label {
  font-size: 0.72rem; font-weight: 500; letter-spacing: 0.24em;
  text-transform: uppercase; color: var(--gold);
}
.pass__val {
  font-family: var(--font-display); font-weight: 600;
  font-size: clamp(1.7rem, 2.6vw, 2.3rem); line-height: 1.1; color: var(--green);
  font-variant-numeric: tabular-nums;
}
.pass__mrz {
  /* strojově čitelná zóna pasu — dekorace */
  font-family: 'Courier New', ui-monospace, monospace; font-weight: 600;
  font-size: 0.94rem; letter-spacing: 0.12em; text-align: center;
  color: rgba(38, 36, 31, 0.4); margin: 44px auto 0;
  white-space: nowrap; overflow: hidden; max-width: 100%;
}

/* ── Where ──────────────────────────────────────────────────────── */
.where { padding: 112px 0; }
.where__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; align-items: stretch; }
.where__card {
  background: var(--card); border: 1px solid rgba(176, 141, 79, 0.3);
  box-shadow: var(--shadow-card); padding: 40px 40px 32px;
  display: flex; flex-direction: column;
}
.where__label {
  font-weight: 500; font-size: 0.78rem; letter-spacing: 0.24em;
  text-transform: uppercase; color: var(--gold); margin: 0;
}
.where__time { margin: 10px 0 0; }
.where__time time {
  font-family: var(--font-display); font-weight: 600; font-size: 3rem;
  line-height: 1; color: var(--green);
}
.where__venue { font-family: var(--font-display); font-weight: 600; font-size: 1.5rem; margin: 12px 0 0; line-height: 1.2; }
.where__addr { color: var(--ink-soft); margin: 6px 0 0; font-size: 0.98rem; }
.where__note { color: var(--ink-soft); margin: 12px 0 0; font-style: italic; font-family: var(--font-display); font-size: 1.05rem; }
.where__map { flex: 1; min-height: 250px; margin-top: 24px; border: 1px solid rgba(176, 141, 79, 0.3); }
.where__map iframe { width: 100%; height: 100%; min-height: 250px; }

/* ── Schedule ───────────────────────────────────────────────────── */
.schedule { background: var(--surface); padding: 112px 0; }
.schedule__list { list-style: none; margin: 0 auto; padding: 0; max-width: 760px; }
.schedule__row {
  display: flex; align-items: baseline; gap: 14px; padding: 17px 4px;
  border-bottom: 1px dashed rgba(38, 36, 31, 0.14);
}
.schedule__row time {
  font-weight: 400; font-size: 1.06rem; min-width: 64px;
  font-variant-numeric: tabular-nums; color: var(--ink);
}
/* Klíčové body dne nesou JEN kosočtverec vlevo — žádné zvýraznění textu,
   všechny řádky čtou stejně (klient 2026-08-01). */
.schedule__row--key { position: relative; }
.schedule__row--key::before {
  content: ''; position: absolute; left: -18px; top: 50%;
  width: 8px; height: 8px; background: var(--gold);
  transform: translateY(-50%) rotate(45deg);
}
.schedule__dots { flex: 1; border-bottom: 1px dotted rgba(38, 36, 31, 0.3); transform: translateY(-4px); }
.schedule__event { font-size: 1.02rem; color: var(--ink-soft); text-align: right; }

/* ── Dobré vědět ────────────────────────────────────────────────── */
.goodto { padding: 112px 0; }
.goodto__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; align-items: stretch; }
.goodto__card {
  background: var(--card); border: 1px solid rgba(176, 141, 79, 0.3);
  box-shadow: var(--shadow-card); padding: 30px 30px 26px;
  display: flex; flex-direction: column;
  transition: transform 0.28s var(--ease-spring), box-shadow 0.28s ease;
}
.goodto__card:hover { transform: translateY(-4px); box-shadow: var(--shadow-card-hover); }
/* 32 px na 24jednotkovém viewBoxu = měřítko 4/3, takže stroke-width 1.5
   dopadne přesně na 2 device px. Při 26 px vycházel 1.73 px a ikony se
   rozmazávaly přes půl pixelu. */
.goodto__icon { width: 32px; height: 32px; color: var(--green); }
.goodto__card h3 {
  font-family: var(--font-display); font-weight: 600; font-size: 1.32rem;
  margin: 14px 0 0;
}
.goodto__card p { color: var(--ink-soft); font-size: 0.94rem; margin: 8px 0 0; line-height: 1.65; }

/* Vzorník zemitých barev z oznámení */
.swatches { display: flex; gap: 9px; margin-top: 16px; }
.swatch {
  width: 21px; height: 21px; border-radius: 50%; background: var(--c);
  box-shadow: inset 0 0 0 1px rgba(38, 36, 31, 0.1), 0 1px 3px rgba(38, 36, 31, 0.18);
}

/* ── Svatební dar ───────────────────────────────────────────────── */
.gift { padding: 0 0 112px; }
.gift__card {
  position: relative; background: var(--base);
  border: 1px solid rgba(176, 141, 79, 0.35); padding: 34px 32px 28px;
  display: flex; flex-direction: column;
}
.gift__card--featured {
  background: var(--card); border-color: var(--gold);
  box-shadow: 0 2px 6px rgba(176, 141, 79, 0.14), 0 22px 46px rgba(176, 141, 79, 0.16);
}
.gift__card--solo {
  max-width: 660px; margin: 0 auto; text-align: center;
  padding: 48px 52px 42px;
}
.gift__ribbon {
  position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
  background: var(--gold); color: var(--card); font-size: 0.68rem; font-weight: 500;
  letter-spacing: 0.18em; text-transform: uppercase; padding: 5px 16px; white-space: nowrap;
}
.gift__text {
  font-family: var(--font-display); font-weight: 500; font-style: italic;
  font-size: 1.4rem; line-height: 1.55; margin: 6px 0 0; color: var(--ink);
}
/* Celá věta zůstává v kurzivě — zdůraznění nese barva a tučnost, ne
   přepnutí do stojatého řezu (klient 2026-08-03: „ať je to celé psací"). */
.gift__text strong { font-style: inherit; font-weight: 600; color: var(--green); }

/* ── Fixed band — zámek Fyvie ───────────────────────────────────── */
.band {
  position: relative; isolation: isolate; min-height: 72vh;
  display: flex; align-items: center;
  background: url('../img/web/DSCF7272-1400.jpg') center 45% / cover no-repeat fixed;
}
.band__veil {
  position: absolute; inset: 0; z-index: -1;
  /* the radial scrim sits under the quote — the pale sky in the photo
     needs it to clear 4.5:1 for the ivory text */
  background:
    radial-gradient(58% 52% at 50% 30%, rgba(38, 36, 31, 0.55), rgba(38, 36, 31, 0) 74%),
    linear-gradient(180deg, rgba(38, 36, 31, 0.56), rgba(38, 36, 31, 0.4) 45%, rgba(38, 36, 31, 0.58)),
    rgba(75, 86, 55, 0.18);
}
.band__inner {
  position: relative; text-align: center; width: 100%;
  padding-top: 110px; padding-bottom: 110px;
}
.band__quote {
  font-family: var(--font-display); font-style: italic; font-weight: 500;
  font-size: clamp(1.9rem, 3.2vw, 2.7rem); line-height: 1.3;
  color: var(--base); max-width: 760px; margin: 0 auto 18px;
  text-shadow: 0 2px 18px rgba(38, 36, 31, 0.45);
}
.band__sub {
  font-size: 0.78rem; font-weight: 500; letter-spacing: 0.3em;
  text-transform: uppercase; color: rgba(247, 243, 236, 0.78);
  margin: 0 auto; text-shadow: 0 1px 10px rgba(38, 36, 31, 0.5);
}
.band .btn--light { margin-top: 34px; }
.band__wave {
  position: absolute; left: 0; right: 0; width: 100%; height: 48px; z-index: 2;
  pointer-events: none;
}
.band__wave--top { top: -1px; }
.band__wave--bottom { bottom: -1px; }

/* ── Quote bandy — deníkový zápis & Terezčina odpověď.
   Rozšiřují .band, takže dědí pin/unpin i reduced-motion chování.
   Deník má vlnité hrany jako .band, jen s hustší vlnou (perioda 180 vs 360). ── */
.band--diary {
  background-image: url('../img/web/image00001-2000.jpg');
  background-position: center 50%; min-height: 64vh;
}
.band--answer {
  background-image: url('../img/web/image00006-1400.jpg');
  background-position: center 56%; min-height: 64vh;
}
.band--diary .band__veil {
  background:
    linear-gradient(100deg, rgba(38, 36, 31, 0.72), rgba(38, 36, 31, 0.5) 52%, rgba(38, 36, 31, 0.24)),
    rgba(75, 86, 55, 0.14);
}
.band--answer .band__veil {
  background:
    radial-gradient(60% 58% at 50% 42%, rgba(38, 36, 31, 0.58), rgba(38, 36, 31, 0) 76%),
    linear-gradient(180deg, rgba(38, 36, 31, 0.5), rgba(38, 36, 31, 0.38) 50%, rgba(38, 36, 31, 0.52)),
    rgba(75, 86, 55, 0.14);
}
.band__inner--left { text-align: left; }
.band__label {
  font-weight: 500; font-size: 0.72rem; letter-spacing: 0.24em;
  text-transform: uppercase; color: var(--gold); margin: 0 0 18px;
  text-shadow: 0 1px 8px rgba(38, 36, 31, 0.6);
}
.band__quote--diary {
  font-size: clamp(1.3rem, 2.1vw, 1.7rem); line-height: 1.6;
  max-width: 680px; margin: 0; text-align: left;
}
.band__sign {
  font-family: var(--font-script); font-size: 2.1rem; line-height: 1.2;
  color: var(--base); margin: 18px 0 0;
  text-shadow: 0 2px 12px rgba(38, 36, 31, 0.5);
}
.band__postmark {
  position: absolute; top: 46px; right: 40px; width: 128px; height: 128px;
  color: rgba(247, 243, 236, 0.65); transform: rotate(12deg); pointer-events: none;
}
/* razítko musí uhnout vlně na horní hraně deníkového bandu */
.band--diary .band__postmark { top: 76px; }
.band__seal {
  display: block; width: 14px; height: 14px; margin: 0 auto 20px;
  background: var(--gold); transform: rotate(45deg);
  box-shadow: 0 0 0 5px rgba(176, 141, 79, 0.25);
}

/* ── Poděkování ─────────────────────────────────────────────────── */
.thanks { background: var(--surface); }
.thanks__inner { text-align: center; padding-top: 96px; padding-bottom: 96px; }
.thanks__text {
  font-family: var(--font-display); font-style: italic; font-weight: 500;
  font-size: clamp(1.55rem, 2.5vw, 2.05rem); line-height: 1.45;
  max-width: 700px; margin: 22px auto 0;
}

/* ── Palubní lístek ─────────────────────────────────────────────── */
.palubni { background: var(--surface); padding: 112px 0; }
/* Stín nese rámeček, ne karta samotná: `filter: drop-shadow` se řídí
   siluetou průhlednosti, takže projmutí perforace vrhá stín taky —
   a díra je opravdu díra. `box-shadow` na kartě by ji obkreslil dokola
   a vyplněný kroužek uvnitř by v tom stínu svítil (klient 2026-08-03). */
.bpass__frame {
  max-width: 920px; margin: 0 auto;
  filter: drop-shadow(0 1px 2px rgba(38, 36, 31, 0.06)) drop-shadow(0 14px 28px rgba(38, 36, 31, 0.10));
}
.bpass {
  --notch: 12px;
  --nx: calc(100% - 300px);  /* dělicí linka = šířka útržku */
  display: grid; grid-template-columns: 1fr 300px;
  position: relative;
  background: var(--card); border: 1px solid rgba(176, 141, 79, 0.4);
  -webkit-mask-image:
    radial-gradient(circle var(--notch) at var(--nx) 0, transparent 99%, #000 100%),
    radial-gradient(circle var(--notch) at var(--nx) 100%, transparent 99%, #000 100%);
  mask-image:
    radial-gradient(circle var(--notch) at var(--nx) 0, transparent 99%, #000 100%),
    radial-gradient(circle var(--notch) at var(--nx) 100%, transparent 99%, #000 100%);
  -webkit-mask-composite: source-in;
  mask-composite: intersect;
}
.bpass__main { padding: 46px 50px 42px; }
.bpass__head {
  font-weight: 500; font-size: 0.76rem; letter-spacing: 0.26em;
  text-transform: uppercase; color: var(--gold); margin: 0;
}
.bpass__text { margin: 16px 0 0; color: var(--ink-soft); font-size: 1rem; }
.bpass__list { list-style: none; margin: 8px 0 0; padding: 0; }
.bpass__list li {
  position: relative; padding: 9px 0 9px 24px; color: var(--ink-soft);
  font-size: 0.97rem; line-height: 1.6;
  border-bottom: 1px dashed rgba(38, 36, 31, 0.1);
}
.bpass__list li:last-child { border-bottom: 0; }
.bpass__list li::before {
  content: ''; position: absolute; left: 4px; top: 18px;
  width: 7px; height: 7px; background: var(--gold); transform: rotate(45deg);
}
/* Tailwind preflight (CDN, vkládá se do <head> až za náš CSS) resetuje
   a { color: inherit; text-decoration: inherit } — odkazy uvnitř textu si
   proto musí barvu i podtržení říct samy. */
.bpass__list a {
  color: var(--green); text-decoration: underline;
  text-decoration-color: var(--gold-soft); text-underline-offset: 3px;
  transition: text-decoration-color 0.2s ease;
}
.bpass__list a:hover { text-decoration-color: var(--gold); }
.bpass__route {
  margin: 26px 0 0; font-size: 0.76rem; font-weight: 500;
  letter-spacing: 0.28em; text-transform: uppercase; color: var(--gold);
}
.bpass__contact {
  margin: 18px 0 0; font-family: var(--font-display); font-style: italic;
  font-size: 1.02rem; color: var(--ink-soft);
}
.bpass__stub {
  position: relative; display: flex; flex-direction: column; gap: 20px;
  padding: 42px 34px 34px;
  border-left: 2px dashed rgba(176, 141, 79, 0.55);
  background: linear-gradient(180deg, rgba(176, 141, 79, 0.07), rgba(75, 86, 55, 0.06));
}
/* Perforace na koncích dělicí linky vzniká maskou na .bpass výš.
   Záloha pro prohlížeč bez mask-composite: vyplněné kroužky v barvě
   sekce (bez vnitřního stínu — ten dělal ten viditelný okraj). */
@supports not ((mask-composite: intersect) or (-webkit-mask-composite: source-in)) {
  .bpass { box-shadow: var(--shadow-card); }
  .bpass__frame { filter: none; }
  .bpass__stub::before, .bpass__stub::after {
    content: ''; position: absolute; left: -13px; width: 24px; height: 24px;
    border-radius: 50%; background: var(--surface);
  }
  .bpass__stub::before { top: -13px; }
  .bpass__stub::after { bottom: -13px; }
}
.bpass__stub-route {
  display: flex; align-items: center; gap: 8px; margin: 0;
  font-family: var(--font-display); font-weight: 600; font-size: 1.65rem;
  letter-spacing: 0.1em; color: var(--green);
}
.bpass__stub-plane { width: 19px; height: 19px; color: var(--gold); transform: rotate(90deg); flex-shrink: 0; }
.bpass__stub-rows { margin: 0; display: grid; gap: 9px; }
.bpass__stub-rows > div {
  display: flex; justify-content: space-between; align-items: baseline; gap: 12px;
  border-bottom: 1px dashed rgba(38, 36, 31, 0.12); padding-bottom: 7px;
}
.bpass__stub-rows dt {
  font-size: 0.66rem; font-weight: 500; letter-spacing: 0.2em;
  text-transform: uppercase; color: var(--gold);
}
.bpass__stub-rows dd { margin: 0; font-size: 0.92rem; font-weight: 400; color: var(--ink); }
.bpass__barcode { width: 100%; height: 34px; fill: var(--ink); opacity: 0.75; margin-top: auto; }

/* ── Footer ─────────────────────────────────────────────────────── */
.footer {
  background: var(--footer-ink); color: rgba(247, 243, 236, 0.82);
  border-top: 1px solid rgba(176, 141, 79, 0.5);
}
.footer .footer__inner {
  display: grid; grid-template-columns: 1.3fr 1fr 1.2fr; gap: 48px;
  padding-top: 84px; padding-bottom: 56px;
}
.footer__names { font-family: var(--font-display); font-weight: 600; font-size: 1.5rem; color: var(--base); margin: 0; }
.footer__tag {
  font-size: 0.74rem; font-weight: 500; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--gold); margin: 8px 0 0;
}
.footer__head {
  font-size: 0.74rem; font-weight: 500; letter-spacing: 0.2em;
  text-transform: uppercase; color: var(--gold); margin: 6px 0 18px;
}
.footer__nav { display: flex; flex-direction: column; gap: 9px; }
.footer__nav a, .footer__contact a {
  color: rgba(247, 243, 236, 0.82); text-decoration: none; font-size: 0.95rem;
  transition: color 0.2s ease;
}
.footer__nav a:hover, .footer__contact a:hover { color: var(--gold); }
.footer__contact { margin: 0 0 6px; }
.footer__contact-note { font-size: 0.86rem; color: rgba(247, 243, 236, 0.55); margin: 12px 0 0; line-height: 1.6; }
.footer__contact-note a { color: rgba(247, 243, 236, 0.75); text-decoration: underline; text-decoration-color: rgba(176, 141, 79, 0.5); }
.footer .footer__bottom {
  display: flex; align-items: center; gap: 24px;
  border-top: 1px solid rgba(247, 243, 236, 0.12);
  padding-top: 26px; padding-bottom: 30px;
  font-size: 0.84rem; color: rgba(247, 243, 236, 0.55); letter-spacing: 0.01em;
}
.footer__gdpr {
  background: none; border: 0; padding: 0; font: inherit; letter-spacing: inherit;
  color: rgba(247, 243, 236, 0.55); text-decoration: underline;
  text-decoration-color: rgba(176, 141, 79, 0.4); text-underline-offset: 3px;
  cursor: pointer; margin-right: auto;
}
.footer__gdpr:hover { color: var(--gold); }

/* inovujme credit badge — přidán při go-live na adamandtereza.cz (3. 8. 2026). */
.footer__bottom .footer-credit {
  display: inline-flex; align-items: center; gap: 5px;
  color: inherit; font: inherit; letter-spacing: inherit;
  text-decoration: none;
}
.footer-credit-logo { display: inline-flex; align-items: center; font-weight: 700; letter-spacing: 0.01em; }
.footer-credit-text {
  background: linear-gradient(90deg, #8566ff 0%, #00c9a7 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.footer-credit-tld { opacity: 0.75; }
.footer-credit-dot {
  width: 6px; height: 6px; border-radius: 50%; background: #00c9a7;
  box-shadow: 0 0 6px rgba(0, 201, 167, 0.7);
  animation: logo-pulse 2.4s ease-in-out infinite;
  flex-shrink: 0; margin: 0 3px;
}
@keyframes logo-pulse {
  0%, 100% { opacity: 0.6; transform: scale(0.7); box-shadow: 0 0 4px rgba(0, 201, 167, 0.3); }
  50%      { opacity: 1;   transform: scale(1.5); box-shadow: 0 0 14px rgba(0, 201, 167, 0.9); }
}

/* ── Gallery ────────────────────────────────────────────────────── */
/* Statická tečkovaná trasa nad galerií odstraněna (klient 2026-08-03) —
   letovou stopu kreslí letadélko v .sky, druhá dekorace byla navíc. */
.gallery { background: var(--surface); padding: 112px 0; position: relative; overflow: hidden; }
.gallery .wrap { position: relative; }
.gallery__grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 250px; gap: 22px; grid-auto-flow: dense;
}
.gallery__tile { margin: 0; display: flex; flex-direction: column; }
.gallery__tile--tall { grid-row: span 2; }
.gallery__tile--wide { grid-column: span 2; }
.gallery__btn {
  position: relative; flex: 1; min-height: 0; padding: 0; border: 0;
  background: none; cursor: zoom-in; overflow: hidden; display: block; width: 100%;
}
.gallery__btn img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.5s var(--ease-spring);
}
/* portrét na šířku dlaždice ořízne obličeje — crop se posouvá k horní třetině */
.gallery__tile--faces .gallery__btn img { object-position: center 18%; }
.gallery__btn:hover img { transform: scale(1.035); }
.gallery__btn::after {
  content: ''; position: absolute; inset: 10px; border: 1px solid var(--gold);
  pointer-events: none; opacity: 0.85;
}
.gallery__cap {
  font-size: 0.7rem; font-weight: 500; letter-spacing: 0.2em;
  text-transform: uppercase; color: var(--gold); text-align: center;
  padding-top: 9px; height: 30px; flex-shrink: 0;
}
.gallery__ctas {
  display: flex; gap: 40px; justify-content: center; align-items: flex-start;
  margin-top: 52px; flex-wrap: wrap;
}
.gallery__cta-block { display: flex; flex-direction: column; align-items: center; gap: 10px; max-width: 320px; text-align: center; }
.gallery__cta-note { font-size: 0.84rem; color: var(--ink-soft); }

/* ── Lightbox ───────────────────────────────────────────────────── */
.lightbox { position: fixed; inset: 0; z-index: 300; visibility: hidden; pointer-events: none; }
.lightbox.is-open { visibility: visible; pointer-events: auto; }
.lightbox__overlay {
  position: absolute; inset: 0; background: rgba(24, 22, 18, 0.93);
  opacity: 0; transition: opacity 0.3s ease;
}
.lightbox.is-open .lightbox__overlay { opacity: 1; }
.lightbox__figure {
  position: absolute; inset: 0; margin: 0; display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 12px; padding: 56px 90px;
  pointer-events: none;
}
.lightbox__figure img {
  max-width: 100%; max-height: calc(100% - 60px); object-fit: contain;
  border: 1px solid rgba(176, 141, 79, 0.5); pointer-events: auto;
  opacity: 0; transform: scale(0.985);
  transition: opacity 0.3s ease, transform 0.3s var(--ease-spring);
}
.lightbox.is-open .lightbox__figure img { opacity: 1; transform: scale(1); }
.lightbox__cap {
  color: rgba(247, 243, 236, 0.85); font-size: 0.86rem; letter-spacing: 0.06em; text-align: center;
}
.lightbox__count { color: rgba(247, 243, 236, 0.5); font-size: 0.78rem; letter-spacing: 0.14em; }
.lightbox__btn {
  position: absolute; z-index: 2; width: 52px; height: 52px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center; cursor: pointer;
  background: rgba(247, 243, 236, 0.08); border: 1px solid rgba(247, 243, 236, 0.35);
  color: var(--base); transition: background-color 0.2s ease, border-color 0.2s ease;
}
.lightbox__btn svg { width: 22px; height: 22px; }
.lightbox__btn:hover { background: rgba(247, 243, 236, 0.18); border-color: var(--base); }
.lightbox__btn--prev { left: 22px; top: 50%; transform: translateY(-50%); }
.lightbox__btn--next { right: 22px; top: 50%; transform: translateY(-50%); }
.lightbox__btn--close { top: 20px; right: 22px; }

/* ── GDPR modal ─────────────────────────────────────────────────── */
.modal { position: fixed; inset: 0; z-index: 320; visibility: hidden; pointer-events: none; }
.modal.is-open { visibility: visible; pointer-events: auto; }
.modal__overlay {
  position: absolute; inset: 0; background: rgba(38, 36, 31, 0.55);
  opacity: 0; transition: opacity 0.28s ease;
}
.modal.is-open .modal__overlay { opacity: 1; }
.modal__panel {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -47%);
  width: min(580px, calc(100vw - 40px)); max-height: min(80vh, 640px); overflow-y: auto;
  background: var(--base); border: 1px solid var(--gold-soft);
  box-shadow: 0 6px 18px rgba(38, 36, 31, 0.18), 0 40px 90px rgba(38, 36, 31, 0.3);
  padding: 44px 46px 40px; opacity: 0;
  transition: opacity 0.28s ease, transform 0.32s var(--ease-spring);
}
.modal.is-open .modal__panel { opacity: 1; transform: translate(-50%, -50%); }
.modal__panel h3 { font-family: var(--font-display); font-weight: 600; font-size: 1.7rem; margin: 0 0 16px; padding-right: 40px; }
.modal__panel p { color: var(--ink-soft); font-size: 0.96rem; margin: 0 0 14px; }
.modal__close {
  position: absolute; top: 14px; right: 14px; width: 46px; height: 46px;
  display: flex; align-items: center; justify-content: center; border-radius: 50%;
  background: none; border: 1px solid rgba(38, 36, 31, 0.2); color: var(--ink); cursor: pointer;
}
.modal__close svg { width: 18px; height: 18px; }
.modal__close:hover { border-color: var(--green); color: var(--green); }

/* ── Demo phase chip (bottom-left — DEMO ONLY, removed at WIRE) ─── */
.demo-chip {
  position: fixed; left: 16px; bottom: 16px; z-index: 250;
  display: flex; align-items: center; gap: 6px;
  background: var(--card); border: 1px solid var(--gold-soft);
  box-shadow: 0 2px 8px rgba(38, 36, 31, 0.12), 0 10px 26px rgba(38, 36, 31, 0.14);
  padding: 7px 9px; border-radius: 999px;
}
.demo-chip__label {
  font-size: 0.62rem; font-weight: 500; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--gold); padding: 0 4px 0 6px;
}
.demo-chip__pill {
  font-family: var(--font-ui); font-size: 0.78rem; font-weight: 500;
  padding: 6px 14px; border-radius: 999px; border: 1px solid transparent;
  background: transparent; color: var(--ink-soft); cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease;
}
.demo-chip__pill:hover { color: var(--green); }
.demo-chip__pill[aria-pressed="true"] { background: var(--green); color: var(--base); }

/* ── Floating action button + scroll-top ────────────────────────── */
.fab {
  position: fixed; right: 16px; bottom: 16px; z-index: 240;
  display: none; /* mobile only — enabled in responsive.css */
  align-items: center; justify-content: center;
  background: var(--green); color: var(--base); text-decoration: none;
  font-weight: 500; font-size: 0.95rem; letter-spacing: 0.02em;
  padding: 15px 24px; border-radius: 999px;
  box-shadow: 0 3px 8px rgba(38, 36, 31, 0.22), 0 14px 32px rgba(75, 86, 55, 0.38);
  opacity: 0; transform: translateY(14px); pointer-events: none;
  transition: opacity 0.3s ease, transform 0.3s var(--ease-spring);
}
.fab.is-visible { opacity: 1; transform: translateY(0); pointer-events: auto; }

.scroll-top {
  position: fixed; right: 16px; bottom: 16px; z-index: 240;
  width: 48px; height: 48px; border-radius: 50%; cursor: pointer;
  background: var(--card); border: 1px solid var(--gold);
  color: var(--green); display: flex; align-items: center; justify-content: center;
  box-shadow: 0 2px 6px rgba(38, 36, 31, 0.14), 0 10px 24px rgba(38, 36, 31, 0.16);
  opacity: 0; transform: translateY(14px); pointer-events: none;
  transition: opacity 0.3s ease, transform 0.3s var(--ease-spring), background-color 0.2s ease;
}
.scroll-top svg { width: 20px; height: 20px; }
.scroll-top.is-visible { opacity: 1; transform: translateY(0); pointer-events: auto; }
.scroll-top:hover { background: var(--base); }

/* ── Scroll reveals ─────────────────────────────────────────────── */
.reveal {
  opacity: 0; transform: translateY(32px);
  transition: opacity 0.4s ease, transform 0.4s var(--ease-spring);
}
.reveal.visible { opacity: 1; transform: translateY(0); }
body.is-screenshot .reveal { opacity: 1; transform: none; transition: none; }

/* ── Nebeská trasa — letadélko nad celou stránkou (desktop) ─────── */
.sky {
  position: absolute; top: 0; left: 0;
  width: 100%; height: 0; /* skutečnou výšku (celé stránky) nastavuje JS */
  overflow: clip;
  pointer-events: none;
  z-index: 60; /* nad obsahem sekcí, pod navigací (100) a plovoucími prvky */
}
.sky svg { display: block; width: 100%; height: 100%; }
.sky #skyTrail {
  stroke: var(--gold);
  stroke-opacity: 0.5;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-dasharray: 8 10;
}
.sky #skyPlane {
  color: var(--green);
  opacity: 0;
  filter: drop-shadow(0 2px 3px rgba(38, 36, 31, 0.3));
  transition: opacity 0.6s ease;
}
.sky.is-on #skyPlane { opacity: 0.92; }
