/* ==========================================================================
   Agentura Pohov — stylesheet
   1. Tokens (colours, type, spacing) — change the look here
   2. Base   3. Layout   4. Components   5. Pages   6. Motion
   ========================================================================== */

/* ---------- Fonts (self-hosted, OFL licence; no third-party requests) ---------- */
@font-face { font-family: "Instrument Serif"; font-style: normal; font-weight: 400; font-display: swap;
  src: url("../fonts/instrument-serif-latin-400-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Instrument Serif"; font-style: normal; font-weight: 400; font-display: swap;
  src: url("../fonts/instrument-serif-latin-ext-400-normal.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Instrument Serif"; font-style: italic; font-weight: 400; font-display: swap;
  src: url("../fonts/instrument-serif-latin-400-italic.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Instrument Serif"; font-style: italic; font-weight: 400; font-display: swap;
  src: url("../fonts/instrument-serif-latin-ext-400-italic.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Manrope"; font-style: normal; font-weight: 200 800; font-display: swap;
  src: url("../fonts/manrope-latin-wght-normal.woff2") format("woff2-variations");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Manrope"; font-style: normal; font-weight: 200 800; font-display: swap;
  src: url("../fonts/manrope-latin-ext-wght-normal.woff2") format("woff2-variations");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }

/* ---------- 1. Tokens ---------- */
:root {
  --paper: #f6f3ee;
  --paper-2: #ede7de;
  --card: #fbfaf8;
  --ink: #15191c;
  --ink-2: #41484e;
  --muted: #5f656a;
  --line: #e2dcd2;
  --line-strong: #cfc7bb;

  /* Line colours: "Pobyty" = forest green, "Pro účetní" = petrol, "Pro sebe" = terracotta */
  --stay: #2f4a3a;
  --stay-2: #4d7259;
  --stay-soft: #e2ebe1;
  --stay-ink: #355a43;   /* green for small text on light backgrounds */
  --pro: #1f3b4d;
  --pro-2: #2e5870;
  --pro-soft: #e0e9ed;
  --self: #a95a3b;
  --self-2: #c47a5b;
  --self-soft: #f3e3d9;
  --self-ink: #94492c;   /* terracotta for small text: passes WCAG AA on all light backgrounds */
  --alert: #8f3a2a;      /* statuses such as "Poslední místa", "Zrušeno" */

  /* Accent follows the line: terracotta by default, petrol on accountant pages */
  --accent: var(--self);
  --accent-2: var(--self-2);
  --focus: var(--pro-2);

  --dark: #14181b;
  --dark-2: #1d2327;

  --serif: "Instrument Serif", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  --sans: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;

  --wrap: 1240px;
  --gutter: clamp(20px, 4vw, 48px);
  --section: clamp(72px, 10vw, 140px);
  --radius: 24px;
  --radius-s: 14px;
  --header-h: 76px;

  --ease: cubic-bezier(.2, .7, .2, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --shadow: 0 1px 2px rgba(21, 25, 28, .04), 0 18px 40px -18px rgba(21, 25, 28, .18);
  --shadow-lg: 0 2px 4px rgba(21, 25, 28, .04), 0 40px 80px -30px rgba(21, 25, 28, .35);
}

/* ---------- 2. Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: clamp(16px, 0.95rem + 0.15vw, 17.5px);
  font-weight: 450;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
h1, h2, h3, h4 { margin: 0; font-weight: 400; line-height: 1.05; letter-spacing: -0.015em; text-wrap: balance; }
h1, h2 { font-family: var(--serif); }
p { margin: 0; text-wrap: pretty; }
ul, ol { margin: 0; padding: 0; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
em { font-style: italic; }
button { font: inherit; color: inherit; }
::selection { background: var(--pro); color: var(--paper); }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; border-radius: 6px; }
.footer, .cta-band__inner, .line-card--odborne, .line-card--pobyty, .page-head.stay, .lightbox, .soon, .page-head.pro, .next-event { --focus: var(--paper); }
.line-odborne { --accent: var(--pro-2); --accent-2: #9cc0d4; }
.line-pobyty { --accent: var(--stay-2); --accent-2: #a9c7a0; }
[hidden] { display: none !important; }

.icon { width: 1.15em; height: 1.15em; flex: none; vertical-align: -0.2em; }

.skip {
  position: absolute; left: 16px; top: -60px; z-index: 100;
  background: var(--ink); color: var(--paper); padding: 10px 16px; border-radius: 10px; text-decoration: none;
  transition: top .2s var(--ease);
}
.skip:focus { top: 12px; }

/* ---------- 3. Layout ---------- */
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.wrap--narrow { max-width: 820px; }
.section { padding: var(--section) 0; }
.section--tight { padding: calc(var(--section) * .55) 0; }
.section--sand { background: var(--paper-2); }
.section--dark { background: var(--dark); color: var(--paper); }

.section-head { max-width: 760px; margin-bottom: clamp(36px, 5vw, 64px); }
.section-head--row { max-width: none; display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.section-title { font-size: clamp(2.3rem, 1.6rem + 3vw, 4rem); }
.section-lead { margin-top: 18px; font-size: 1.12rem; color: var(--ink-2); max-width: 60ch; }

.kicker {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: .78rem; font-weight: 650; letter-spacing: .16em; text-transform: uppercase; color: var(--muted);
  margin-bottom: 18px;
}
.kicker::before { content: ""; width: 28px; height: 1px; background: currentColor; opacity: .6; }
.kicker:empty { display: none; }
.kicker--light { color: rgba(246, 243, 238, .7); }

.split { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(40px, 7vw, 120px); align-items: start; }

/* ---------- 4. Components ---------- */

/* Test banner */
.test-banner {
  background: var(--self-soft); color: var(--self-ink); text-align: center;
  font-size: .8rem; font-weight: 600; letter-spacing: .02em; padding: 7px 16px;
}

/* Header */
.header {
  position: sticky; top: 0; z-index: 50;
  view-transition-name: site-header;
  background: rgba(246, 243, 238, .82);
  backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s var(--ease), background .3s var(--ease);
}
.header.is-scrolled { border-bottom-color: var(--line); background: rgba(246, 243, 238, .92); }
.header__inner {
  max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter);
  height: var(--header-h); display: flex; align-items: center; justify-content: space-between; gap: 24px;
}
/* Logo: one SVG (tools/build_logo.py). Word in ink, pictogram in petrol; everything paper on dark backgrounds. */
.logo { display: inline-flex; align-items: center; text-decoration: none; color: var(--ink); }
.logo__svg { display: block; height: 34px; width: auto; overflow: visible; }
.logo__mark { color: var(--pro); transition: transform .6s var(--ease-out); }
.logo--light, .logo--light .logo__mark { color: var(--paper); }

.nav { display: flex; align-items: center; gap: clamp(16px, 2.4vw, 36px); }
.nav__list { list-style: none; display: flex; gap: clamp(14px, 2vw, 30px); }
.nav__list a {
  position: relative; text-decoration: none; font-size: .95rem; font-weight: 550; color: var(--ink-2);
  padding: 6px 0; transition: color .2s var(--ease);
}
.nav__list a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1.5px; background: currentColor;
  transform: scaleX(0); transform-origin: right; transition: transform .35s var(--ease-out);
}
.nav__list a[aria-current="page"] { color: var(--ink); }
.nav__list a[aria-current="page"]::after { transform: scaleX(1); transform-origin: left; }

.burger { display: none; width: 46px; height: 46px; border: 1px solid var(--line-strong); border-radius: 50%; background: transparent; cursor: pointer; position: relative; }
.burger span { position: absolute; left: 13px; right: 13px; height: 1.5px; background: var(--ink); transition: transform .35s var(--ease-out), top .35s var(--ease-out); }
.burger span:first-child { top: 18px; }
.burger span:last-child { top: 26px; }
.burger[aria-expanded="true"] span:first-child { top: 22px; transform: rotate(45deg); }
.burger[aria-expanded="true"] span:last-child { top: 22px; transform: rotate(-45deg); }

.menu {
  position: fixed; top: var(--header-h); left: 0; right: 0; bottom: 0; z-index: 40; background: var(--paper);
  padding: 32px var(--gutter) 48px; overflow-y: auto;
}
.menu__list { list-style: none; }
.menu__list li { border-bottom: 1px solid var(--line); opacity: 0; transform: translateY(12px); transition: opacity .5s var(--ease-out), transform .5s var(--ease-out); }
.menu.is-open .menu__list li { opacity: 1; transform: none; }
.menu.is-open .menu__list li:nth-child(2) { transition-delay: .04s; }
.menu.is-open .menu__list li:nth-child(3) { transition-delay: .08s; }
.menu.is-open .menu__list li:nth-child(4) { transition-delay: .12s; }
.menu.is-open .menu__list li:nth-child(5) { transition-delay: .16s; }
.menu.is-open .menu__list li:nth-child(6) { transition-delay: .2s; }
.menu__list a { display: block; padding: 16px 0; font-family: var(--serif); font-size: 2.3rem; line-height: 1.1; text-decoration: none; }
.menu__list a[aria-current="page"] { color: var(--self-ink); }
.menu__contact { margin-top: 32px; color: var(--ink-2); line-height: 2; }
.menu__contact a { text-decoration: none; }
body.menu-open { overflow: hidden; }

/* Buttons */
.button {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 15px 26px; border-radius: 999px; border: 1px solid var(--ink);
  background: var(--ink); color: var(--paper); text-decoration: none;
  font-size: .95rem; font-weight: 600; letter-spacing: .005em; line-height: 1.2; cursor: pointer;
  transition: background .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease), transform .25s var(--ease), box-shadow .25s var(--ease);
}
.button:active { transform: translateY(0); }
.button--ghost { background: transparent; color: var(--ink); border-color: var(--line-strong); }
.button--light { background: var(--paper); color: var(--ink); border-color: var(--paper); }
.button--small { padding: 10px 18px; font-size: .88rem; }
.button--block { width: 100%; }

.text-link {
  display: inline-flex; align-items: center; gap: 8px; text-decoration: none; font-weight: 600; font-size: .95rem;
  color: var(--ink); border-bottom: 1px solid var(--line-strong); padding-bottom: 3px;
  transition: gap .3s var(--ease-out), border-color .3s var(--ease);
}

/* Tags & chips */
.tag {
  display: inline-flex; align-items: center; padding: 4px 11px; border-radius: 999px;
  font-size: .74rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; line-height: 1.4;
}
.tag--odborne { background: var(--pro-soft); color: var(--pro); }
.tag--pro-sebe { background: var(--self-soft); color: var(--self-ink); }
.tag--pobyty { background: var(--stay-soft); color: var(--stay-ink); }

/* "Ukázka": invented sample content that gets deleted before launch */
.sample-badge {
  display: inline-block; margin-left: 8px; padding: 2px 8px; border-radius: 6px; vertical-align: middle;
  font-family: var(--sans); font-size: .68rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; line-height: 1.5;
  background: #fff3c4; color: #5c4600; box-shadow: inset 0 0 0 1px #e5cf7a;
}
[data-sample] { opacity: .78; }

.filters { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 36px; }
.chip {
  padding: 10px 18px; border-radius: 999px; border: 1px solid var(--line-strong); background: transparent;
  font-size: .9rem; font-weight: 600; cursor: pointer; transition: all .25s var(--ease);
}
.chip.is-active { background: var(--ink); color: var(--paper); border-color: var(--ink); }

.empty-note { padding: 28px 0; color: var(--muted); border-top: 1px solid var(--line); }
.dot { display: inline-block; width: 3px; height: 3px; border-radius: 50%; background: currentColor; vertical-align: middle; margin: 0 6px; opacity: .6; }

/* Event rows (programme-style list) */
.events--list { border-top: 1px solid var(--line-strong); }
.event-row { border-bottom: 1px solid var(--line-strong); }
.event-row__link {
  position: relative; display: grid; grid-template-columns: 150px 1fr 190px 44px; gap: clamp(16px, 3vw, 40px); align-items: center;
  padding: 30px clamp(0px, 1.5vw, 20px); text-decoration: none; border-radius: var(--radius-s);
  transition: background .35s var(--ease), padding .35s var(--ease-out);
}
.event-row__date { display: flex; flex-direction: column; line-height: 1; }
.event-row__day { font-family: var(--serif); font-size: clamp(2.6rem, 2rem + 2vw, 3.6rem); letter-spacing: -0.02em; }
.event-row__month { margin-top: 8px; font-size: .88rem; font-weight: 600; color: var(--muted); }
.event-row__meta { display: flex; gap: 12px; align-items: center; font-size: .85rem; font-weight: 600; color: var(--muted); margin-bottom: 10px; }
.event-row__title a { color: inherit; text-decoration: none; }
.event-row__title a::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.event-row__title a:focus-visible { outline: none; }
.event-row__link:has(a:focus-visible) { outline: 2px solid var(--focus); outline-offset: 4px; }
.event-row__title { font-family: var(--serif); font-size: clamp(1.6rem, 1.2rem + 1.2vw, 2.2rem); line-height: 1.1; transition: color .3s var(--ease); }
.event-row__summary { margin-top: 8px; color: var(--ink-2); font-size: .97rem; max-width: 58ch; }
.event-row__side { font-size: .92rem; color: var(--ink-2); display: grid; gap: 4px; }
.event-row__place { display: flex; gap: 6px; align-items: center; }
.event-row__price { font-weight: 700; color: var(--ink); }
.event-row__status:empty { display: none; }
.event-row__status { font-size: .78rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--alert); }
.event-row__arrow {
  width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line-strong);
  display: grid; place-items: center; transition: all .35s var(--ease-out);
}
[data-status="past"] .event-row__day, [data-status="past"] .event-row__title { color: var(--muted); }

/* Event cards (compact) */
.events--card { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; }
.event-card__link {
  display: flex; flex-direction: column; height: 100%; padding: 26px; border-radius: var(--radius);
  background: var(--card); border: 1px solid var(--line); text-decoration: none;
  transition: transform .4s var(--ease-out), box-shadow .4s var(--ease-out), border-color .3s;
}
.event-card__top { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 28px; }
.event-card__date { display: flex; flex-direction: column; line-height: 1; }
.event-card__day { font-family: var(--serif); font-size: 3rem; }
.event-card__month { font-size: .88rem; font-weight: 600; color: var(--muted); margin-top: 6px; }
.event-card__type { font-size: .85rem; font-weight: 600; color: var(--muted); }
.event-card__title { font-family: var(--serif); font-size: 1.7rem; line-height: 1.1; margin: 6px 0 18px; }
.event-card__meta { margin-top: auto; display: flex; align-items: center; gap: 6px; font-size: .9rem; color: var(--ink-2); }

/* Next event (hero card) */
.next-event {
  position: relative; display: grid; gap: 14px; padding: clamp(26px, 3vw, 38px); border-radius: 28px;
  background: var(--dark); color: var(--paper); text-decoration: none; box-shadow: var(--shadow-lg);
  overflow: hidden; isolation: isolate;
  transition: transform .5s var(--ease-out);
}
  content: ""; position: absolute; z-index: -1; width: 340px; height: 340px; right: -140px; top: -140px; border-radius: 50%;
  border: 1px solid rgba(246, 243, 238, .14); box-shadow: 0 0 0 40px rgba(246, 243, 238, .03), 0 0 0 80px rgba(246, 243, 238, .025);
}
.next-event__label { font-size: .75rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--self-2); }
.next-event[data-line="odborne"] { background: var(--pro); }
.next-event[data-line="odborne"] .next-event__label { color: #9cc0d4; }
.next-event[data-line="pobyty"] { background: var(--stay); }
.next-event[data-line="pobyty"] .next-event__label { color: #b9d6b0; }
.next-event__date { display: flex; align-items: flex-end; gap: 14px; margin-top: 8px; }
.next-event__day { font-family: var(--serif); font-size: clamp(4.5rem, 3rem + 4vw, 6.5rem); line-height: .8; }
.next-event__month { font-size: .85rem; font-weight: 600; line-height: 1.35; color: rgba(246, 243, 238, .72); padding-bottom: 4px; }
.next-event__title { font-family: var(--serif); font-size: clamp(1.7rem, 1.3rem + 1vw, 2.2rem); line-height: 1.1; margin-top: 6px; }
.next-event__meta { color: rgba(246, 243, 238, .7); font-size: .92rem; }
.next-event__go { display: inline-flex; gap: 8px; align-items: center; font-weight: 650; font-size: .92rem; margin-top: 10px; padding-top: 18px; border-top: 1px solid rgba(246, 243, 238, .16); }
.next-event__go .icon { transition: transform .35s var(--ease-out); }

/* Line cards (two event lines) */
.lines { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.line-card {
  position: relative; display: flex; flex-direction: column; gap: 18px; min-height: 520px;
  padding: clamp(28px, 4vw, 52px); border-radius: 32px; overflow: hidden; isolation: isolate;
}
.line-card--odborne { background: var(--pro); color: var(--paper); }
.line-card--pro-sebe { background: var(--self-soft); color: var(--ink); }
.line-card--pobyty { background: var(--stay); color: var(--paper); }
.line-card--pobyty .line-card__text { max-width: 60ch; }
.line-card__head { display: flex; align-items: center; gap: 14px; }
.line-card__icon { width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; border: 1px solid currentColor; opacity: .9; }
.line-card__icon .icon { width: 24px; height: 24px; }
.line-card__kicker { font-size: .78rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; opacity: .75; }
.line-card__title { font-family: var(--serif); font-size: clamp(2.6rem, 2rem + 2.4vw, 4rem); margin-top: 18px; }
.line-card__text { font-size: 1.05rem; max-width: 44ch; opacity: .88; }
.line-card__formats { list-style: none; display: grid; gap: 8px; margin-top: 4px; }
.line-card__formats li { display: flex; gap: 10px; align-items: baseline; font-weight: 550; }
.line-card__formats li::before { content: ""; width: 14px; height: 1px; background: currentColor; flex: none; transform: translateY(-4px); }
.line-card__next {
  margin-top: auto; display: grid; gap: 2px; padding: 18px 20px; border-radius: 18px; text-decoration: none;
  background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .14); transition: background .3s;
}
.line-card--pro-sebe .line-card__next { background: rgba(255, 255, 255, .55); border-color: rgba(169, 90, 59, .18); }
.line-card__next-label { font-size: .72rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; opacity: .7; }
.line-card__next-title { font-family: var(--serif); font-size: 1.45rem; line-height: 1.15; }
.line-card__next-date { font-size: .9rem; opacity: .8; }
.line-card__cta { display: inline-flex; align-items: center; gap: 10px; font-weight: 650; text-decoration: none; padding-top: 6px; }
.line-card__cta .icon { transition: transform .35s var(--ease-out); }

/* "Co už máme za sebou": real numbers + featured past events */
.stats { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-bottom: clamp(36px, 5vw, 56px); }
.stats li { padding-top: 18px; border-top: 1px solid var(--line-strong); display: grid; gap: 4px; }
.stats strong { font-family: var(--serif); font-weight: 400; font-size: clamp(3rem, 2.2rem + 2.6vw, 4.6rem); line-height: .9; color: var(--stay); }
.stats span { color: var(--ink-2); font-size: .97rem; }
.featured { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; }
.featured-card {
  display: flex; flex-direction: column; gap: 10px; padding: 26px; border-radius: 24px; text-decoration: none;
  background: var(--card); box-shadow: inset 0 0 0 1px var(--line); transition: transform .4s var(--ease-out), box-shadow .4s;
}
.featured-card__when { font-size: .78rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--stay-ink); }
.featured-card__title { font-family: var(--serif); font-size: 1.8rem; line-height: 1.08; }
.featured-card__summary { color: var(--ink-2); font-size: .95rem; }
.featured-card__place { margin-top: auto; padding-top: 8px; display: inline-flex; gap: 8px; align-items: center; font-size: .9rem; font-weight: 600; color: var(--muted); }
.featured-card__place .icon { width: 16px; height: 16px; }

/* Features (icon cards) */
.features { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 16px; }
.feature { padding: 30px; border-radius: var(--radius); background: var(--card); border: 1px solid var(--line); }
.feature__icon { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: var(--pro-soft); color: var(--pro); margin-bottom: 22px; }
.feature__icon .icon { width: 22px; height: 22px; }
.feature--self .feature__icon, .accent-self .feature__icon { background: var(--self-soft); color: var(--self); }
.accent-stay .feature__icon { background: var(--stay-soft); color: var(--stay); }
.feature h3 { font-family: var(--sans); font-size: 1.12rem; font-weight: 700; letter-spacing: -0.01em; line-height: 1.3; margin-bottom: 8px; }
.feature p { color: var(--ink-2); font-size: .97rem; }

/* Trust list */
.trust { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 28px 32px; }
.trust li { display: grid; gap: 6px; align-content: start; padding-top: 20px; border-top: 1px solid var(--line-strong); }
.trust .icon { width: 26px; height: 26px; color: var(--accent); margin-bottom: 6px; }
.trust strong { font-size: 1.05rem; font-weight: 700; }
.trust span { color: var(--ink-2); font-size: .95rem; }

/* Statement */
.statement { font-family: var(--serif); font-size: clamp(2rem, 1.4rem + 2.4vw, 3.4rem); line-height: 1.12; letter-spacing: -0.015em; }

/* Steps */
.steps { list-style: none; counter-reset: step; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 32px; }
.steps li { counter-increment: step; padding-top: 22px; border-top: 1px solid var(--line-strong); }
.steps li::before { content: counter(step, decimal-leading-zero); display: block; font-family: var(--serif); font-size: 2.6rem; line-height: 1; color: var(--accent); margin-bottom: 14px; }
.steps h3 { font-size: 1.1rem; font-weight: 700; margin-bottom: 6px; line-height: 1.3; }
.steps p { color: var(--ink-2); font-size: .97rem; }

/* FAQ */
.faq { border-top: 1px solid var(--line-strong); }
.faq details { border-bottom: 1px solid var(--line-strong); }
.faq summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 24px; align-items: center;
  padding: 24px 0; font-size: 1.12rem; font-weight: 650;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; flex: none; width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--line-strong);
  background: linear-gradient(currentColor, currentColor) center / 12px 1.5px no-repeat, linear-gradient(currentColor, currentColor) center / 1.5px 12px no-repeat;
  transition: transform .35s var(--ease-out), background-color .3s;
}
.faq details[open] summary::after { transform: rotate(45deg); background-color: var(--paper-2); }
.faq__answer { padding: 0 0 26px; color: var(--ink-2); max-width: 70ch; }
.faq__answer p + p { margin-top: 10px; }

/* Prose */
.prose { max-width: 68ch; }
.prose > * + * { margin-top: 1.05em; }
.prose h2 { font-size: clamp(1.8rem, 1.4rem + 1.2vw, 2.4rem); margin-top: 1.6em; }
.prose h3 { font-family: var(--sans); font-size: 1.15rem; font-weight: 700; margin-top: 1.6em; }
.prose ul, .prose ol { padding-left: 1.2em; }
.prose li + li { margin-top: .4em; }
.prose a { text-decoration-color: var(--line-strong); text-underline-offset: .2em; }
.prose a:hover { text-decoration-color: currentColor; }
.prose blockquote { margin: 1.6em 0; padding-left: 24px; border-left: 2px solid var(--self); font-family: var(--serif); font-size: 1.6rem; line-height: 1.25; }
.prose .note { padding: 18px 20px; border-radius: var(--radius-s); background: var(--paper-2); font-size: .95rem; }

/* People */
.founder { display: grid; grid-template-columns: minmax(240px, 420px) 1fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
.founder__photo, .person__photo, .person-inline__photo { position: relative; overflow: hidden; background: var(--pro); color: var(--paper); }
.founder__photo { aspect-ratio: 4 / 5; border-radius: 32px; }
.founder__photo img, .person__photo img, .person-inline__photo img { width: 100%; height: 100%; object-fit: cover; }
.avatar__initials { position: absolute; inset: 0; display: grid; place-items: center; font-family: var(--serif); font-size: clamp(4rem, 3rem + 5vw, 8rem); letter-spacing: -0.03em; }
.founder__name { font-size: clamp(2.6rem, 2rem + 2.6vw, 4.2rem); }
.founder__role { margin-top: 10px; font-size: 1.05rem; color: var(--ink-2); }
.founder__bio { margin-top: 26px; }
.badges { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.badges li { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; background: var(--card); border: 1px solid var(--line); font-size: .86rem; font-weight: 600; }
.badges .icon { color: var(--accent); }

.people--card { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 24px; }
.person__photo { aspect-ratio: 1; border-radius: var(--radius); margin-bottom: 20px; }
.person__photo .avatar__initials { font-size: 4rem; }
.person__name { font-family: var(--serif); font-size: 1.8rem; }
.person__role { color: var(--muted); font-size: .92rem; margin-top: 4px; }
.person__bio { margin-top: 12px; color: var(--ink-2); font-size: .97rem; }

.person-inline { display: flex; gap: 16px; align-items: center; padding: 18px; border-radius: 18px; background: var(--card); border: 1px solid var(--line); }
.person-inline__photo { width: 64px; height: 64px; border-radius: 50%; flex: none; }
.person-inline__photo .avatar__initials { font-size: 1.6rem; }
.person-inline__label { font-size: .72rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.person-inline__name { font-family: var(--serif); font-size: 1.45rem; line-height: 1.2; }
.person-inline__role { font-size: .9rem; color: var(--ink-2); }
.event-people { display: grid; gap: 12px; margin-top: 32px; }
.event-people:empty { display: none; }

/* Albums & gallery */
.albums { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 28px 20px; }
@media (min-width: 760px) {
  .album:only-child { grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); grid-template-rows: 1fr auto; column-gap: clamp(24px, 4vw, 56px); }
  .album:only-child .album__img { grid-row: 1 / 3; }
  .album:only-child .album__meta { align-self: end; }
  .album:only-child .album__title { font-size: clamp(2rem, 1.4rem + 2vw, 3rem); }
}
.album { display: grid; gap: 10px; text-decoration: none; }
.album__img { display: block; overflow: hidden; border-radius: var(--radius); aspect-ratio: 4 / 3; background: var(--paper-2); }
.album__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease-out); }
.album__meta { font-size: .85rem; color: var(--muted); font-weight: 600; margin-top: 6px; }
.album__title { font-family: var(--serif); font-size: 1.8rem; line-height: 1.1; }

.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); grid-auto-flow: dense; gap: 12px; }
.gallery__item { position: relative; display: block; overflow: hidden; border-radius: 18px; aspect-ratio: 4 / 3; background: var(--paper-2); }
.gallery__item:first-child { grid-column: span 2; grid-row: span 2; }
.gallery__item img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease-out); }
.gallery__cap { position: absolute; left: 12px; bottom: 12px; right: 12px; padding: 8px 12px; border-radius: 10px; background: rgba(20, 24, 27, .62); color: var(--paper); font-size: .82rem; opacity: 0; transform: translateY(6px); transition: all .35s var(--ease-out); backdrop-filter: blur(6px); }
.after-gallery { margin-top: 40px; }

.strip { overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scrollbar-width: none; padding-inline: max(var(--gutter), calc((100vw - var(--wrap)) / 2 + var(--gutter))); scroll-padding-inline: max(var(--gutter), calc((100vw - var(--wrap)) / 2 + var(--gutter))); }
.strip::-webkit-scrollbar { display: none; }
.strip__track { display: flex; gap: 14px; width: max-content; }
.strip__item { margin: 0; display: block; width: clamp(240px, 26vw, 340px); aspect-ratio: 4 / 3; border-radius: 20px; overflow: hidden; flex: none; scroll-snap-align: start; }
.strip__item img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease-out); }

.lightbox { width: 100vw; height: 100dvh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: transparent; color: var(--paper); }
.lightbox::backdrop { background: rgba(14, 17, 19, .94); }
.lightbox[open] { display: grid; place-items: center; animation: fade .3s var(--ease); }
.lightbox__figure { margin: 0; display: grid; gap: 12px; justify-items: center; }
.lightbox__figure img { max-width: min(92vw, 1500px); max-height: 84dvh; width: auto; height: auto; border-radius: 12px; }
.lightbox__figure figcaption { font-size: .9rem; opacity: .8; }
.lightbox__close, .lightbox__nav { position: fixed; width: 52px; height: 52px; border-radius: 50%; border: 1px solid rgba(246, 243, 238, .25); background: rgba(246, 243, 238, .06); color: var(--paper); display: grid; place-items: center; cursor: pointer; transition: background .25s; }
.lightbox__close { top: 20px; right: 20px; }
.lightbox__nav { top: 50%; transform: translateY(-50%); }
.lightbox__nav--prev { left: 20px; }
.lightbox__nav--next { right: 20px; }

/* News */
.news { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; }
.news-card__inner { position: relative; display: flex; flex-direction: column; height: 100%; padding: 28px 0 0; border-top: 1px solid var(--ink); }
.news-card__title a { color: inherit; text-decoration: none; }
.news-card__title a::after { content: ""; position: absolute; inset: 0; }
.news-card__summary { max-width: 62ch; }
.news-card__meta { font-size: .85rem; color: var(--muted); font-weight: 600; }
.news-card__title { font-family: var(--serif); font-size: 1.9rem; line-height: 1.1; margin: 14px 0 12px; transition: color .3s; }
.news-card__summary { color: var(--ink-2); font-size: .97rem; }
.news-card__more { margin-top: 20px; display: inline-flex; gap: 8px; align-items: center; font-weight: 650; font-size: .92rem; }
.news-card__more .icon { transition: transform .35s var(--ease-out); }

/* CTA band */
.cta-band { padding: 0 var(--gutter) var(--section); }
.section--sand + .cta-band { padding-top: var(--section); }
.cta-band__inner {
  max-width: calc(var(--wrap) - 2 * var(--gutter)); margin: 0 auto; padding: clamp(36px, 6vw, 80px);
  border-radius: 36px; background: var(--dark); color: var(--paper); position: relative; overflow: hidden; isolation: isolate;
  display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap;
}
.cta-band__copy { flex: 1 1 520px; }
.cta-band__title { font-size: clamp(2rem, 1.4rem + 2.4vw, 3.4rem); max-width: 22ch; }
.cta-band__text { margin-top: 14px; color: rgba(246, 243, 238, .7); }

/* Contact */
.contact-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }
.contact-card { padding: 30px; border-radius: var(--radius); background: var(--card); border: 1px solid var(--line); display: grid; gap: 8px; align-content: start; }
.contact-card .icon { width: 26px; height: 26px; color: var(--accent); margin-bottom: 10px; }
.contact-card h2 { font-family: var(--sans); font-size: .78rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.contact-card p, .contact-card a { font-size: 1.1rem; font-weight: 600; text-decoration: none; line-height: 1.5; }
.contact-card small { font-size: .9rem; color: var(--ink-2); font-weight: 450; }

/* Footer */
.footer { background: var(--dark); color: rgba(246, 243, 238, .72); padding-top: clamp(64px, 8vw, 110px); font-size: .95rem; }
.footer__top { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; padding-bottom: 64px; }
.footer__claim { margin-top: 20px; font-family: var(--serif); font-size: 1.7rem; line-height: 1.2; color: var(--paper); max-width: 18ch; }
.footer__title { font-family: var(--sans); font-size: .76rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: rgba(246, 243, 238, .5); margin-bottom: 18px; }
.footer__links { list-style: none; display: grid; gap: 0; }
.footer__links a, .footer__bottom a { display: inline-block; padding: 6px 0; }
.footer__links a { text-decoration: none; transition: color .2s; }
.footer__links a:hover { color: var(--paper); }
.footer__text { margin-bottom: 18px; }
.footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 32px; padding-top: 24px; padding-bottom: 32px; position: relative; font-size: .82rem; color: rgba(246, 243, 238, .5); }
.footer__bottom a { text-decoration: none; }
.footer__bottom::before { content: ""; position: absolute; top: 0; left: var(--gutter); right: var(--gutter); border-top: 1px solid rgba(246, 243, 238, .12); }
.footer__bottom a:hover { color: var(--paper); }

/* ---------- 5. Pages ---------- */

/* Home hero */
.hero { position: relative; padding: clamp(56px, 8vw, 120px) 0 0; overflow: hidden; }
.hero__rings { position: absolute; right: -12vw; top: -18vw; width: 70vw; max-width: 980px; aspect-ratio: 1; pointer-events: none; z-index: -1; }
.hero__rings span { position: absolute; inset: 0; border-radius: 50%; border: 1px solid var(--line-strong); animation: breathe 9s var(--ease) infinite; }
.hero__rings span:nth-child(2) { inset: 12%; animation-delay: -3s; }
.hero__rings span:nth-child(3) { inset: 24%; animation-delay: -6s; border-color: rgba(169, 90, 59, .28); }
.hero { isolation: isolate; }
.hero__grid { display: grid; grid-template-columns: 1.35fr .9fr; gap: clamp(32px, 6vw, 96px); align-items: end; }
.hero__title { font-size: clamp(3.4rem, 1.6rem + 7vw, 8.2rem); line-height: .92; letter-spacing: -0.03em; }
.hero__title em { color: var(--self); display: inline-block; }
.hero__lead { margin-top: 30px; font-size: clamp(1.08rem, 1rem + .4vw, 1.3rem); color: var(--ink-2); max-width: 46ch; }
.hero__actions { margin-top: 38px; display: flex; gap: 12px; flex-wrap: wrap; }


/* Page head */
.page-head { padding: clamp(56px, 9vw, 130px) 0 clamp(40px, 6vw, 80px); position: relative; overflow: hidden; isolation: isolate; }
.page-head__title { font-size: clamp(3rem, 1.8rem + 5.4vw, 6.6rem); line-height: .95; letter-spacing: -0.03em; max-width: 16ch; }
.page-head__title em { color: var(--accent); }
.page-head__lead { margin-top: 26px; font-size: clamp(1.08rem, 1rem + .4vw, 1.3rem); color: var(--ink-2); max-width: 58ch; }
.page-head__lead:empty, .page-head__text:empty { display: none; }
.page-head__text { margin-top: 14px; color: var(--ink-2); max-width: 60ch; }
.page-head .text-link { display: flex; width: fit-content; margin-bottom: 28px; }
.wrap.prose { max-width: var(--wrap); }
.page-head.pro { background: var(--pro); color: var(--paper); }
.page-head.pro .page-head__lead, .page-head.pro .kicker { color: rgba(246, 243, 238, .75); }
.page-head.self { background: var(--self-soft); }
.page-head.stay { background: var(--stay); color: var(--paper); }
.page-head.stay .page-head__lead, .page-head.stay .kicker { color: rgba(246, 243, 238, .78); }

/* Event detail */
.event-hero { padding: clamp(48px, 7vw, 100px) 0 clamp(40px, 5vw, 64px); background: var(--pro-soft); }
.line-pro-sebe .event-hero { background: var(--self-soft); }
.line-pobyty .event-hero { background: var(--stay-soft); }
.event-hero .text-link { display: flex; width: fit-content; margin-bottom: 32px; }
.event-hero .tag { background: var(--card); box-shadow: inset 0 0 0 1px var(--line); }
.event-hero__cta { display: none; }
.event-hero__meta { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; font-weight: 600; color: var(--ink-2); font-size: .92rem; }
.status:empty { display: none; }
.status { font-size: .74rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--alert); }
.event-hero__title { font-size: clamp(2.8rem, 1.6rem + 5vw, 6rem); line-height: .95; letter-spacing: -0.03em; margin-top: 22px; max-width: 18ch; }
.event-hero__lead { margin-top: 22px; font-size: clamp(1.08rem, 1rem + .4vw, 1.3rem); color: var(--ink-2); max-width: 58ch; }
.event-hero__when { margin-top: 20px; font-weight: 650; }
.event-body { display: grid; grid-template-columns: 1fr minmax(300px, 380px); gap: clamp(32px, 6vw, 96px); padding-top: clamp(48px, 6vw, 80px); padding-bottom: var(--section); align-items: start; }
.event-body__side { position: sticky; top: calc(var(--header-h) + 20px); }
.booking { padding: 28px; border-radius: var(--radius); background: var(--card); border: 1px solid var(--line); box-shadow: var(--shadow); display: grid; gap: 12px; }
.facts { margin: 0 0 8px; display: grid; }
.fact { position: relative; padding: 12px 0 12px 36px; border-bottom: 1px solid var(--line); }
.fact dt .icon { position: absolute; left: 0; top: 15px; width: 18px; height: 18px; color: var(--accent); }
.fact dt { font-size: .74rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.fact dd { margin: 0; font-weight: 600; }
.booking__note:empty, .booking__address:empty { display: none; }
.booking__note--small { font-size: .8rem; color: var(--muted); }
.booking__note, .booking__address { font-size: .88rem; color: var(--ink-2); }
.program-wrap:empty { display: none; }
.program-wrap { margin-top: 40px; }
.program { list-style: none; padding: 0 !important; border-top: 1px solid var(--line-strong); }
.program li { display: grid; grid-template-columns: 120px 1fr; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); margin: 0 !important; }
.program__time { font-weight: 700; font-variant-numeric: tabular-nums; }
.program li.program__day { display: block; padding: 28px 0 10px; border-bottom: 1px solid var(--line-strong); font-family: var(--serif); font-size: 1.5rem; line-height: 1.2; }
.program li.program__day:first-child { padding-top: 18px; }
.program__place { display: block; margin-top: 4px; font-size: .95rem; }
.map-link { display: inline-flex; align-items: center; gap: 6px; color: inherit; text-decoration: underline; text-decoration-color: var(--line-strong); text-underline-offset: 3px; }
.map-link .icon { width: 1em; height: 1em; flex: none; }
@media (hover: hover) { .map-link:hover { text-decoration-color: currentColor; } }

/* Article */
.article__body { padding-bottom: var(--section); }

/* 404 */
.notfound { min-height: 60vh; display: grid; align-content: center; }

/* Coming soon */
.soon { background: var(--dark); color: var(--paper); min-height: 100dvh; }
.soon__main { min-height: 100dvh; display: grid; place-items: center; position: relative; overflow: hidden; padding: 48px var(--gutter); isolation: isolate; }
.soon__rings { position: absolute; width: min(130vmin, 1100px); aspect-ratio: 1; z-index: -1; }
.soon__rings span { position: absolute; inset: 0; border-radius: 50%; border: 1px solid rgba(246, 243, 238, .12); animation: breathe 10s var(--ease) infinite; }
.soon__rings span:nth-child(2) { inset: 16%; animation-delay: -3.3s; }
.soon__rings span:nth-child(3) { inset: 32%; animation-delay: -6.6s; border-color: rgba(196, 122, 91, .35); }
.soon__inner { text-align: center; max-width: 760px; display: grid; justify-items: center; }
.soon__logo { margin-bottom: 48px; }
.soon__logo .logo__svg { height: 44px; }
.soon__title { font-size: clamp(3.4rem, 1.8rem + 8vw, 8.5rem); line-height: .92; letter-spacing: -0.03em; }
.soon__lead { margin-top: 26px; font-size: clamp(1.05rem, 1rem + .5vw, 1.3rem); color: rgba(246, 243, 238, .72); max-width: 44ch; }
.soon__contact { margin-top: 40px; }
.soon__small { margin-top: 22px; font-size: .9rem; color: rgba(246, 243, 238, .55); }
.soon__small a { text-decoration: none; }
.soon__foot { position: absolute; bottom: 24px; left: 0; right: 0; text-align: center; font-size: .78rem; color: rgba(246, 243, 238, .35); }
.soon .soon__inner > * { animation: rise 1.1s var(--ease-out) both; }
.soon .soon__inner > :nth-child(2) { animation-delay: .1s; }
.soon .soon__inner > :nth-child(3) { animation-delay: .2s; }
.soon .soon__inner > :nth-child(4) { animation-delay: .3s; }
.soon .soon__inner > :nth-child(5) { animation-delay: .4s; }


/* Decorative hover effects only where a real pointer can hover (no sticky hover on touch) */
@media (hover: hover) and (pointer: fine) {
  .logo:hover .logo__mark { transform: translateY(-1px); }
  .nav__list a:hover { color: var(--ink); }
  .nav__list a:hover::after { transform: scaleX(1); transform-origin: left; }
  .button:hover { background: var(--pro); border-color: var(--pro); transform: translateY(-2px); box-shadow: var(--shadow); }
  .button--ghost:hover { background: var(--ink); color: var(--paper); border-color: var(--ink); }
  .button--light:hover { background: var(--self-soft); border-color: var(--self-soft); color: var(--ink); }
  .text-link:hover { gap: 12px; border-color: var(--ink); }
  .chip:hover { border-color: var(--ink); }
  .event-row__link:hover, .event-row__link:focus-within { background: var(--card); }
  .event-row__link:hover .event-row__title, .event-row__link:focus-within .event-row__title { color: var(--pro-2); }
  [data-line="pobyty"] .event-row__link:hover .event-row__title, [data-line="pobyty"] .event-row__link:focus-within .event-row__title { color: var(--stay-ink); }
  .featured-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
  [data-line="pro-sebe"] .event-row__link:hover .event-row__title, [data-line="pro-sebe"] .event-row__link:focus-within .event-row__title { color: var(--self-ink); }
  .event-row__link:hover .event-row__arrow, .event-row__link:focus-within .event-row__arrow { background: var(--ink); color: var(--paper); border-color: var(--ink); transform: rotate(45deg); }
  .event-card__link:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; }
  .next-event:hover { transform: translateY(-6px) rotate(-.4deg); }
  .next-event:hover .next-event__go .icon { transform: translateX(6px); }
  .line-card__next:hover { background: rgba(255, 255, 255, .16); }
  .line-card--pro-sebe .line-card__next:hover { background: rgba(255, 255, 255, .85); }
  .line-card__cta:hover .icon { transform: translateX(6px); }
  .album:hover .album__img img { transform: scale(1.05); }
  .gallery__item:hover img { transform: scale(1.04); }
  .gallery__item:hover .gallery__cap { opacity: 1; transform: none; }
  .lightbox__close:hover, .lightbox__nav:hover { background: rgba(246, 243, 238, .18); }
  .news-card__inner:hover .news-card__title { color: var(--pro-2); }
  .news-card__inner:hover .news-card__more .icon { transform: translateX(6px); }
}

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .footer__top { grid-template-columns: 1fr 1fr; }
  .event-row__link { grid-template-columns: 128px 1fr 44px; }
  .event-row__side { grid-column: 2; grid-row: 2; display: flex; gap: 18px; flex-wrap: wrap; }
  .event-row__arrow { grid-column: 3; grid-row: 1; }
}
@media (max-width: 960px) {
  .nav { display: none; }
  .burger { display: inline-block; }
  .hero__grid, .split, .founder, .event-body { grid-template-columns: 1fr; }
  .lines { grid-template-columns: 1fr; }
  .line-card { min-height: 0; }
  .event-body__side { position: static; }
  .event-hero__cta { display: flex; align-items: center; gap: 16px; margin-top: 24px; font-weight: 700; }
  .no-js .header__inner { flex-wrap: wrap; height: auto; padding-block: 12px; }
  .no-js .nav { display: block; width: 100%; overflow-x: auto; }
  .no-js .nav__list { flex-wrap: wrap; gap: 8px 18px; }
  .no-js .nav__cta { display: none; }
  .hero__rings { width: 120vw; right: -50vw; top: -40vw; }
}
@media (max-width: 640px) {
  :root { --header-h: 66px; }
  .event-row__link { grid-template-columns: 1fr 44px; padding: 20px 0; row-gap: 12px; }
  .event-row__date { flex-direction: row; align-items: baseline; gap: 10px; grid-column: 1; }
  .event-row__day { font-size: 2.4rem; }
  .event-row__month { margin: 0; }
  .event-row__main { grid-column: 1 / -1; }
  .event-row__side { grid-column: 1 / -1; grid-row: auto; }
  .event-row__arrow { grid-row: 1; width: 38px; height: 38px; }
  .trust { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr; gap: 16px; }
  .stats li { grid-template-columns: 4.6rem 1fr; align-items: baseline; column-gap: 12px; }
  .footer__top { grid-template-columns: auto 1fr; gap: 32px 40px; }
  .footer__brand { grid-column: 1 / -1; }
  .footer__claim { font-size: 1.35rem; }
  .footer__links a[href^="mailto"] { white-space: nowrap; }
  .event-row__summary { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; line-clamp: 2; overflow: hidden; }
  .feature, .contact-card { display: grid; grid-template-columns: 44px 1fr; column-gap: 16px; align-content: start; padding: 22px; }
  .feature > :not(.feature__icon), .contact-card > :not(.icon) { grid-column: 2; }
  .feature__icon { grid-row: span 2; margin: 0; width: 44px; height: 44px; border-radius: 12px; }
  .contact-card .icon { grid-row: span 3; margin: 2px 0 0; }
  .strip__item { width: 72vw; }
  .gallery__item:first-child { grid-column: span 2; grid-row: auto; }
  .gallery { grid-template-columns: 1fr 1fr; gap: 8px; }
  .gallery__item { border-radius: 12px; }
  .program li { grid-template-columns: 5.5rem 1fr; gap: 12px; padding: 11px 0; }
  .lightbox__nav { top: auto; bottom: 20px; transform: none; }
  .logo__svg { height: 30px; }
}

/* Word strip under the hero: two identical halves in the markup, so -50% loops seamlessly */
.ticker { margin-top: clamp(64px, 9vw, 120px); border-top: 1px solid var(--line-strong); border-bottom: 1px solid var(--line-strong); overflow: hidden; padding: 22px 0; }
.ticker__track { display: flex; width: max-content; animation: marquee 48s linear infinite; will-change: transform; }
.ticker__track span { font-family: var(--serif); font-size: clamp(1.8rem, 1.4rem + 1.6vw, 2.8rem); padding: 0 28px; white-space: nowrap; display: inline-flex; align-items: center; gap: 56px; }
.ticker__track span::after { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--self); opacity: .7; }
.ticker__track span:nth-child(even) { font-style: italic; color: var(--ink-2); }

/* ---------- 6. Motion ---------- */
@keyframes marquee { to { transform: translateX(-50%); } }
@keyframes breathe { 0%, 100% { transform: scale(1); opacity: 1; } 50% { transform: scale(1.035); opacity: .55; } }
@keyframes rise { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }

@media screen {
  .js .reveal { opacity: 0; transform: translateY(22px); transition: opacity .9s var(--ease-out), transform .9s var(--ease-out); transition-delay: var(--d, 0s); }
  .js .reveal.is-visible { opacity: 1; transform: none; }
  .hero__copy > *, .hero__aside, .page-head > .wrap > *, .event-hero__inner > * { animation: rise .9s var(--ease-out) both; }
  .hero__copy > :nth-child(2), .page-head > .wrap > :nth-child(2), .event-hero__inner > :nth-child(2) { animation-delay: .06s; }
  .hero__copy > :nth-child(3), .page-head > .wrap > :nth-child(3), .event-hero__inner > :nth-child(3) { animation-delay: .12s; }
  .hero__copy > :nth-child(4), .hero__aside, .page-head > .wrap > :nth-child(4), .event-hero__inner > :nth-child(4) { animation-delay: .18s; }
}

/* Page-to-page transitions (Chrome, Edge, Safari 18+; others simply load the page) */
@view-transition { navigation: auto; }
::view-transition-old(root) { animation: .28s var(--ease) both vt-out; }
::view-transition-new(root) { animation: .5s var(--ease-out) both vt-in; }
@keyframes vt-out { to { opacity: 0; transform: translateY(-8px); } }
@keyframes vt-in { from { opacity: 0; transform: translateY(14px); } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .js .reveal { opacity: 1; transform: none; }
  .ticker__track { animation-duration: 48s !important; animation-iteration-count: infinite !important; } /* owner's choice: the strip always moves */
  @view-transition { navigation: none; }
}

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

/* ---------- Print ---------- */
@media print {
  .test-banner, .header, .ticker, .menu, .skip, .strip, .hero__rings, .cta-band, .lightbox, .filters, .event-row__arrow, .booking .button, .event-hero__cta, .footer__top { display: none !important; }
  body { background: #fff; color: #000; font-size: 11pt; }
  .page-head.pro, .page-head.self, .event-hero, .section--sand, .line-card { background: none !important; color: #000 !important; }
  .page-head.pro .page-head__lead, .page-head.pro .kicker { color: #333 !important; }
  .section { padding: 24px 0; }
  .event-body { grid-template-columns: 1fr; }
  .event-body__side { position: static; }
  a { color: inherit; }
}
/* No JavaScript: show the burger-less navigation inline */
.no-js .burger { display: none; }

/* ---------------------------------------------------------------------------
   Locked albums and member accounts (PHP pages fill <!--APP--> in _layout.html)
   --------------------------------------------------------------------------- */
.album__locked {
  width: 100%; height: 100%; display: grid; place-content: center; justify-items: center; gap: 10px;
  background: var(--stay-soft); color: var(--stay-ink); font-weight: 650; font-size: .95rem;
}
.album__locked .icon { width: 34px; height: 34px; }
.lock-badge {
  display: inline-flex; align-items: center; gap: 5px; margin-left: 8px; padding: 2px 8px; border-radius: 6px; vertical-align: middle;
  font-size: .68rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; line-height: 1.5;
  background: var(--stay-soft); color: var(--stay-ink);
}
.lock-badge .icon { width: 12px; height: 12px; }

.app-wrap { max-width: 640px; }
.app-wrap:has(.app-wide) { max-width: var(--wrap); }
.app-card { background: var(--card); border-radius: 24px; box-shadow: inset 0 0 0 1px var(--line); padding: clamp(24px, 4vw, 40px); display: grid; gap: 16px; }
.app-title { font-family: var(--serif); font-weight: 400; font-size: clamp(1.9rem, 1.5rem + 1.2vw, 2.4rem); line-height: 1.1; }
.app-card h3 { font-size: 1.05rem; font-weight: 700; margin-top: 8px; }
.app-lock { display: inline-flex; align-items: center; gap: 8px; font-size: .78rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--stay-ink); }
.app-lock .icon { width: 16px; height: 16px; }
.app-form { display: grid; gap: 16px; margin-top: 4px; }
.field { display: grid; gap: 6px; }
.field > span { font-size: .88rem; font-weight: 650; color: var(--ink-2); }
.field input, .field select {
  font: inherit; color: var(--ink); background: var(--paper); border: 1px solid var(--line-strong); border-radius: 12px;
  padding: 12px 14px; width: 100%; min-height: 48px;
}
.field input:focus-visible, .field select:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; border-color: var(--focus); }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: .95rem; }
.check input { width: 18px; height: 18px; margin-top: 3px; flex: none; accent-color: var(--stay); }
.app-form .button { justify-self: start; }
.app-error, .app-ok { padding: 12px 16px; border-radius: 12px; font-size: .95rem; }
.app-error { background: #f8e4de; color: var(--alert); }
.app-ok { background: var(--stay-soft); color: var(--stay-ink); }
.app-small { font-size: .88rem; color: var(--muted); }
.app-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.app-list { display: grid; gap: 8px; padding-left: 1.1em; }
.app-details { border-top: 1px solid var(--line); padding-top: 14px; }
.app-details > summary { cursor: pointer; font-weight: 650; }
.app-details[open] > summary { margin-bottom: 14px; }
.app-card.app-details { border-top: 0; padding-top: clamp(24px, 4vw, 40px); }
.app-fieldset { border: 0; padding: 0; margin: 0; min-width: 0; display: grid; gap: 8px; }
.app-fieldset legend { font-size: .88rem; font-weight: 650; color: var(--ink-2); margin-bottom: 6px; padding: 0; }
.app-logout button { background: none; border: 0; padding: 0; font: inherit; cursor: pointer; }
.app-wide { display: grid; gap: 20px; }
.user-list { display: grid; gap: 12px; }
.user-row { background: var(--card); border-radius: 18px; box-shadow: inset 0 0 0 1px var(--line); padding: 20px 22px; display: grid; gap: 12px; }
.user-row--waiting { box-shadow: inset 0 0 0 2px var(--stay-2); }
.user-row--blocked { opacity: .7; }
.user-row__head { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 24px; }
.user-row__meta { display: grid; gap: 4px; justify-items: end; text-align: right; }
.user-row__actions { display: flex; flex-wrap: wrap; gap: 8px; }
.user-status { display: inline-block; padding: 2px 10px; border-radius: 999px; background: var(--paper-2); font-size: .8rem; font-weight: 650; }
.user-status--admin { background: var(--pro-soft); color: var(--pro); }
.user-row--waiting .user-status:first-child { background: var(--stay-soft); color: var(--stay-ink); }
@media (max-width: 640px) {
  .user-row__meta { justify-items: start; text-align: left; }
}

/* Registration form on event pages */
.reg { margin-top: clamp(40px, 6vw, 72px); padding: clamp(24px, 4vw, 40px); border-radius: 24px; background: var(--card); box-shadow: inset 0 0 0 1px var(--line); scroll-margin-top: calc(var(--header-h, 80px) + 16px); }
.reg h2 { margin-top: 0; }
.reg__lead { color: var(--ink-2); }
.reg__hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.field textarea { font: inherit; color: var(--ink); background: var(--paper); border: 1px solid var(--line-strong); border-radius: 12px; padding: 12px 14px; width: 100%; resize: vertical; }
.field textarea:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; border-color: var(--focus); }
.booking__spots { font-weight: 650; color: var(--alert); }
.adm-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; }
/* Two-option choices as pills (Jen já / Dva, S ubytováním / Bez ubytování) */
.choice { display: flex; flex-wrap: wrap; gap: 8px; }
.choice label { position: relative; display: inline-flex; }
.choice input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.choice span { display: inline-flex; align-items: center; min-height: 48px; padding: 10px 20px; border-radius: 999px; border: 1px solid var(--line-strong); background: var(--paper); font-weight: 600; color: var(--ink-2); transition: background .2s, color .2s, border-color .2s; }
.choice input:checked + span { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.choice input:focus-visible + span { outline: 2px solid var(--focus); outline-offset: 2px; }
/* Fields that only matter for two people or a company invoice appear when needed */
.reg__if-two, .reg__if-company { display: none; }
.reg__form:has(input[name="osob"][value="2"]:checked) .reg__if-two { display: grid; }
.reg__form:has(input[name="na_firmu"]:checked) .reg__if-company { display: grid; }
@supports not selector(:has(*)) { .reg__if-two, .reg__if-company { display: grid; } }
.reg__if-two, .reg__heard { max-width: calc(50% - 8px); }
.reg__more { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 14px 0; }
.reg__more > summary { cursor: pointer; font-weight: 650; list-style: none; display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; }
.reg__more > summary::-webkit-details-marker { display: none; }
.reg__more > summary::before { content: "+"; display: inline-block; width: 1em; font-weight: 700; color: var(--stay-ink); }
.reg__more[open] > summary::before { content: "\2212"; }
.reg__more-body { display: grid; gap: 16px; padding-top: 16px; }
@media (max-width: 560px) { .reg__if-two, .reg__heard { max-width: none; } }

/* Admin (/sprava/) */
.adm-tabs { display: flex; flex-wrap: wrap; gap: 6px; padding-bottom: 6px; border-bottom: 1px solid var(--line); }
.adm-tabs a { padding: 8px 14px; border-radius: 999px; text-decoration: none; font-weight: 600; font-size: .92rem; color: var(--ink-2); }
.adm-tabs a[aria-current="page"] { background: var(--ink); color: var(--paper); }
.adm-tabs--small { border: 0; }
.adm-tabs--small a { padding: 5px 12px; font-size: .85rem; }
.adm-box { background: var(--card); border-radius: 18px; box-shadow: inset 0 0 0 1px var(--line); padding: 20px 22px; display: grid; gap: 12px; align-content: start; }
.adm-box h3 { font-size: 1rem; font-weight: 700; }
.adm-cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 16px; }
.adm-kpis { margin-bottom: 0; }
.adm-table { width: 100%; border-collapse: collapse; font-size: .92rem; }
.adm-table th { text-align: left; font-size: .8rem; color: var(--muted); font-weight: 650; padding: 6px 8px; border-bottom: 1px solid var(--line); }
.adm-table td { padding: 7px 8px; border-bottom: 1px solid var(--line); vertical-align: top; word-break: break-word; }
.adm-num { text-align: right; white-space: nowrap; position: relative; width: 1%; }
.adm-table td.adm-num { min-width: 90px; }
.adm-bar { position: absolute; right: 0; bottom: 2px; height: 3px; border-radius: 2px; background: var(--stay-2); opacity: .5; }
.adm-funnel td.adm-num, .adm-funnel th:not(:first-child) { text-align: right; }
.adm-chart { width: 100%; height: 160px; display: block; }
.adm-chart rect { fill: var(--stay-2); }
.adm-chart rect:hover { fill: var(--stay); }
.adm-filter { max-width: 520px; }
.adm-inline { display: grid; grid-template-columns: minmax(160px, 220px) 1fr auto; gap: 12px; align-items: end; }
.adm-danger { color: var(--alert); border-color: currentColor; background: none; border-left: 0; border-right: 0; border-top: 0; padding: 0 0 3px; cursor: pointer; font: inherit; font-weight: 600; font-size: .9rem; }
.adm-editor textarea { font-family: ui-monospace, "Cascadia Mono", Consolas, monospace; font-size: .9rem; }
.app-wide code { font-size: .88em; background: var(--paper-2); padding: 1px 6px; border-radius: 6px; }
@media (max-width: 640px) {
  .adm-inline { grid-template-columns: 1fr; }
  .adm-cols { grid-template-columns: 1fr; }
}
.adm-yes { color: var(--stay-ink); }
.adm-no { color: var(--alert); }
