/* ============================================================
   HARCOVNÍK — base styles (layout + components, theme-agnostic)
   Colours, fonts and decoration come from theme classes on <html>.
   ============================================================ */

:root {
  /* Setniny — fixed brand colours, shared by every theme */
  --cervena: #c8362b;
  --zluta:   #e7a614;
  --zelena:  #3f7d3a;

  /* Theme-driven tokens (defaults; overridden per theme) */
  --bg:      #f5f1e8;
  --surface: #ffffff;
  --surface-2: #faf7f0;
  --ink:     #211d17;
  --muted:   #6b6256;
  --line:    rgba(33,29,23,.14);
  --line-strong: rgba(33,29,23,.28);
  --accent:  var(--zelena);
  --accent-ink: #ffffff;

  --display: "Bricolage Grotesque", system-ui, sans-serif;
  --body:    "Hanken Grotesk", system-ui, sans-serif;
  --mono:    "Spline Sans Mono", ui-monospace, monospace;
  --script:  "Caveat", cursive;

  --radius: 14px;
  --radius-lg: 26px;
  --maxw: 1180px;
  --shadow: 0 1px 2px rgba(20,16,10,.06), 0 12px 30px -18px rgba(20,16,10,.35);
  --shadow-lg: 0 2px 6px rgba(20,16,10,.08), 0 40px 80px -40px rgba(20,16,10,.5);

  --ease: cubic-bezier(.22,.61,.36,1);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  font-family: var(--body);
  background: var(--bg);
  color: var(--ink);
  font-size: 18px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

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

h1, h2, h3, h4 {
  font-family: var(--display);
  line-height: 1.02;
  margin: 0;
  font-weight: 800;
  letter-spacing: -.01em;
  text-wrap: balance;
}

p { margin: 0; text-wrap: pretty; }

/* ---- layout helpers ---- */
.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.section { padding: clamp(28px, 4.5vw, 60px) 0; position: relative; }
.section--tight { padding: clamp(20px, 3vw, 36px) 0; }

.eyebrow {
  font-family: var(--mono);
  font-size: 13px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--muted);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 18px;
}
.eyebrow::before {
  content: "";
  width: 26px; height: 2px;
  background: var(--accent);
  display: inline-block;
}

.section-head { max-width: 720px; margin-bottom: clamp(16px, 2.5vw, 28px); }
.section-head h2 { font-size: clamp(34px, 5.2vw, 60px); }
.section-head p { margin-top: 18px; color: var(--muted); font-size: clamp(17px, 1.6vw, 21px); }

.lede { font-size: clamp(19px, 2vw, 24px); line-height: 1.5; }

/* ---- buttons ---- */
.btn {
  --b-bg: var(--accent);
  --b-ink: var(--accent-ink);
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--display);
  font-weight: 800;
  font-size: 17px;
  letter-spacing: -.01em;
  padding: 15px 26px;
  border-radius: 999px;
  border: 2px solid transparent;
  background: var(--b-bg);
  color: var(--b-ink);
  text-decoration: none;
  cursor: pointer;
  transition: transform .18s var(--ease), box-shadow .18s var(--ease), background .18s, color .18s;
  box-shadow: 0 10px 22px -12px color-mix(in oklab, var(--b-bg) 80%, black);
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 16px 30px -12px color-mix(in oklab, var(--b-bg) 80%, black); }
.btn:active { transform: translateY(0); }
.btn--ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line-strong);
  box-shadow: none;
}
.btn--ghost:hover { background: color-mix(in oklab, var(--ink) 6%, transparent); box-shadow: none; }
.btn .arrow { transition: transform .2s var(--ease); }
.btn:hover .arrow { transform: translateX(3px); }

/* ---- pills / tags ---- */
.pill {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--mono); font-size: 12.5px; letter-spacing: .06em;
  text-transform: uppercase;
  padding: 6px 13px; border-radius: 999px;
  border: 1px solid var(--line-strong);
  color: var(--muted);
  background: var(--surface);
}
.dot { width: 9px; height: 9px; border-radius: 50%; flex: none; }
.dot--c { background: var(--cervena); }
.dot--z { background: var(--zluta); }
.dot--g { background: var(--zelena); }

/* ============================================================
   NAV
   ============================================================ */
.nav {
  position: sticky; top: 0; z-index: 60;
  background: color-mix(in oklab, var(--bg) 82%, transparent);
  backdrop-filter: blur(14px) saturate(1.2);
  border-bottom: 1px solid var(--line);
  transition: background .3s, border-color .3s;
}
.nav__inner { display: flex; align-items: center; gap: 16px; height: 72px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); margin-right: auto; flex: none; }
.brand > span { display: flex; flex-direction: column; gap: 3px; }  /* „Staré Hraběcí" pod „Jogrsovi Harcovníci" */
.brand__mark {
  width: 42px; height: 42px; flex: none;
  display: grid; place-items: center; overflow: hidden;  /* JH logo (PNG): barevné v hlavičce, bílá varianta v patičce/adminu */
}
.brand__mark img { width: 100%; height: 100%; object-fit: contain; display: block; }
.brand__name { font-family: var(--display); font-weight: 800; font-size: 20px; letter-spacing: -.02em; line-height: 1; }
.brand__sub { font-family: var(--mono); font-size: 10.5px; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }
.nav__links { display: flex; align-items: center; gap: 4px; }
.nav__links a {
  text-decoration: none; color: var(--ink); font-weight: 600; font-size: 15px;
  padding: 8px 11px; border-radius: 9px; opacity: .82; white-space: nowrap;
  transition: opacity .15s, background .15s;
}
.nav__links a:hover { opacity: 1; background: color-mix(in oklab, var(--ink) 6%, transparent); }
.nav__cta { margin-left: 4px; }
.nav__cta .btn { padding: 11px 18px; font-size: 15px; white-space: nowrap; }
.nav__toggle {
  display: none; background: none; border: 1px solid var(--line-strong);
  border-radius: 10px; width: 44px; height: 44px; cursor: pointer; color: var(--ink);
}
.nav__toggle svg { width: 22px; height: 22px; margin: auto; }

/* Plná vodorovná nav jen když se vejde (wrap má max 1180px); jinak hamburger + drawer. */
@media (max-width: 1180px) {
  .nav__links, .nav__cta { display: none; }
  .nav__toggle { display: grid; }
}

/* mobile drawer */
.drawer { position: fixed; inset: 0; z-index: 70; display: none; }
.drawer[data-open="true"] { display: block; }
.drawer__scrim { position: absolute; inset: 0; background: rgba(15,12,8,.5); backdrop-filter: blur(2px); }
.drawer__panel {
  position: absolute; top: 0; right: 0; bottom: 0; width: min(86vw, 360px);
  background: var(--surface); padding: 22px; display: flex; flex-direction: column; gap: 6px;
  box-shadow: var(--shadow-lg); transform: translateX(8%); opacity: 0;
  transition: transform .28s var(--ease), opacity .28s;
}
.drawer[data-open="true"] .drawer__panel { transform: none; opacity: 1; }
.drawer__panel a { text-decoration: none; color: var(--ink); font-family: var(--display); font-weight: 700; font-size: 22px; padding: 12px 8px; border-bottom: 1px solid var(--line); }
.drawer__close { align-self: flex-end; background: none; border: none; font-size: 30px; line-height: 1; cursor: pointer; color: var(--ink); margin-bottom: 8px; }

/* ============================================================
   HERO
   ============================================================ */
.hero { position: relative; padding-top: clamp(40px, 6vw, 76px); padding-bottom: clamp(48px, 7vw, 96px); overflow: hidden; }

/* full-bleed photographic intro */
.hero--photo { isolation: isolate; padding-top: clamp(56px, 8vw, 110px); padding-bottom: clamp(64px, 9vw, 128px); }
.hero__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 35%; z-index: -2; background: var(--surface-2); }
.hero__overlay {
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(100deg, var(--bg) 0%, var(--bg) 33%, color-mix(in oklab, var(--bg) 72%, transparent) 50%, color-mix(in oklab, var(--bg) 22%, transparent) 78%, color-mix(in oklab, var(--bg) 8%, transparent) 100%),
    linear-gradient(to bottom, color-mix(in oklab, var(--bg) 35%, transparent) 0%, transparent 26%, transparent 64%, var(--bg) 100%);
}
.hero--photo .hero__grid { grid-template-columns: minmax(0, 660px); }
.hero--photo .hero__badge { position: static; margin-top: 30px; display: inline-flex; }
.hero__grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(28px, 4vw, 60px); align-items: center; }
.hero__kicker { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 22px; }
.hero h1 { font-size: clamp(30px, 4.6vw, 54px); line-height: 1.04; }
.hero h1 .script { font-family: var(--script); font-weight: 700; color: var(--accent); display: inline-block; transform: rotate(-3deg); font-size: 1.05em; letter-spacing: 0; }
.hero__lede { margin-top: 24px; max-width: 30ch; }
.hero__actions { margin-top: 32px; display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.hero__meta { margin-top: 30px; display: flex; flex-wrap: wrap; gap: 26px; }
.hero__meta .k { font-family: var(--display); font-weight: 800; font-size: 26px; line-height: 1; }
.hero__meta .l { font-family: var(--mono); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-top: 6px; }

.hero__media { position: relative; }
.hero__photo { width: 100%; aspect-ratio: 4/5; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); }
.hero__badge {
  position: absolute; left: -22px; bottom: 26px;
  background: var(--surface); border: 1px solid var(--line); border-radius: 16px;
  padding: 14px 18px; box-shadow: var(--shadow); display: flex; align-items: center; gap: 13px;
}
.hero__badge .stripes { display: flex; gap: 4px; }
.hero__badge .stripes i { width: 8px; height: 30px; border-radius: 3px; display: block; }
.hero__badge b { font-family: var(--display); font-size: 16px; display: block; }
.hero__badge span { font-size: 13px; color: var(--muted); }

/* ============================================================
   AKTUALITY (news strip)
   ============================================================ */
.news { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.news__card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  display: flex; flex-direction: column; min-height: 210px; overflow: hidden;
  transition: transform .2s var(--ease), box-shadow .2s var(--ease), border-color .2s;
}
.news__card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--line-strong); }
.news__thumb { width: 100%; height: 168px; object-fit: cover; background: var(--surface-2); }
.news__body { padding: 22px 24px; display: flex; flex-direction: column; gap: 11px; flex: 1; }
.news__date { font-family: var(--mono); font-size: 12px; letter-spacing: .08em; color: var(--muted); text-transform: uppercase; }
.news__card h3 { font-size: 22px; }
.news__card p { color: var(--muted); font-size: 16px; }
.news__more { margin-top: auto; font-family: var(--display); font-weight: 700; font-size: 15px; color: var(--accent); text-decoration: none; display: inline-flex; gap: 6px; }

/* ============================================================
   O HARCOVNICTVÍ
   ============================================================ */
.about { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 4vw, 60px); align-items: center; }
.about__media { position: relative; }
.about__photo { width: 100%; aspect-ratio: 5/4; border-radius: var(--radius-lg); box-shadow: var(--shadow); object-fit: cover; background: var(--surface-2); }
.about__cap { position: absolute; right: -10px; bottom: -22px; width: clamp(96px, 14vw, 140px); height: auto; filter: drop-shadow(0 10px 18px rgba(20,16,10,.35)); transform: rotate(6deg); }
.about__stamp { position: absolute; left: -14px; top: -16px; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 10px 14px; box-shadow: var(--shadow); font-family: var(--mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.about__text h2 { font-size: clamp(30px, 4.4vw, 52px); }
.about__text p { color: var(--muted); margin-top: 18px; }
.about__text p .hi { color: var(--ink); font-weight: 700; }

.setniny { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 30px; }
.setnina {
  border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 16px;
  background: var(--surface); position: relative; overflow: hidden;
}
.setnina::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 6px; }
.setnina--c::before { background: var(--cervena); }
.setnina--z::before { background: var(--zluta); }
.setnina--g::before { background: var(--zelena); }
.setnina h4 { font-size: 19px; }
.setnina .col { font-family: var(--mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); display: block; margin-bottom: 4px; }
.setnina span { font-size: 14px; color: var(--muted); display: block; margin-top: 4px; }

.values { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: clamp(40px, 6vw, 72px); }
.value { padding: 24px 22px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface-2); }
.value .num { font-family: var(--mono); font-size: 13px; color: var(--accent); letter-spacing: .1em; }
.value h4 { font-size: 21px; margin-top: 12px; }
.value p { font-size: 15.5px; color: var(--muted); margin-top: 8px; }

/* ============================================================
   LETNÍ TÁBOR
   ============================================================ */
.tabor { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(28px, 4vw, 56px); box-shadow: var(--shadow); }
.tabor__top { display: flex; flex-wrap: wrap; gap: 22px; align-items: flex-end; justify-content: space-between; }
.tabor__top h2 { font-size: clamp(32px, 5vw, 58px); }
.tabor__facts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; margin-top: 36px; }
.fact { background: var(--surface); padding: 22px 20px; }
.fact .l { font-family: var(--mono); font-size: 11.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.fact .v { font-family: var(--display); font-weight: 800; font-size: clamp(22px, 2.6vw, 30px); margin-top: 8px; line-height: 1; }
.fact .s { font-size: 14px; color: var(--muted); margin-top: 6px; }
.tabor__body { display: grid; grid-template-columns: 1.3fr 1fr; gap: clamp(24px, 3vw, 48px); margin-top: 40px; }
.tabor__list { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.tabor__list li { display: flex; gap: 13px; align-items: flex-start; font-size: 16.5px; }
.tabor__list .tick { width: 24px; height: 24px; border-radius: 50%; flex: none; display: grid; place-items: center; background: color-mix(in oklab, var(--accent) 16%, transparent); color: var(--accent); margin-top: 1px; }
.tabor__list .tick svg { width: 14px; height: 14px; }
.tabor__cta { background: var(--surface-2); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; }
.tabor__cta h3 { font-size: 24px; }
.tabor__cta p { color: var(--muted); font-size: 15.5px; margin-top: 10px; }
.tabor__price { font-family: var(--display); font-weight: 800; font-size: 40px; margin: 18px 0 4px; }
.tabor__price small { font-size: 16px; color: var(--muted); font-weight: 600; }
.cap-bar { height: 9px; border-radius: 99px; background: color-mix(in oklab, var(--ink) 10%, transparent); overflow: hidden; margin: 16px 0 8px; }
.cap-bar i { display: block; height: 100%; background: var(--accent); border-radius: 99px; }
.cap-note { font-size: 13px; color: var(--muted); font-family: var(--mono); }

/* ============================================================
   HARCY (timeline through the year)
   ============================================================ */
.harcy { display: grid; gap: 16px; }
.harc {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  transition: transform .2s var(--ease), box-shadow .2s var(--ease); overflow: hidden;
}
.harc:not([open]):hover { transform: translateX(4px); box-shadow: var(--shadow); }
.harc[open] { box-shadow: var(--shadow); }
.harc__head {
  display: grid; grid-template-columns: 150px 1fr auto; gap: 24px; align-items: center;
  padding: 24px 28px; cursor: pointer; list-style: none;
}
.harc__head::-webkit-details-marker { display: none; }
.harc__head:focus-visible { outline: 2px solid var(--accent); outline-offset: -3px; border-radius: var(--radius); }
.harc--flat .harc__head { cursor: default; }
.harc__when { font-family: var(--mono); font-size: 13px; letter-spacing: .06em; color: var(--muted); text-transform: uppercase; }
.harc__when b { display: block; font-family: var(--display); font-size: 30px; color: var(--ink); letter-spacing: -.02em; margin-top: 2px; }
.harc__main h3 { font-size: 24px; }
.harc__main p { color: var(--muted); font-size: 15.5px; margin-top: 6px; }
.harc__tag { justify-self: end; display: flex; align-items: center; gap: 14px; }
.harc__chev { color: var(--muted); display: grid; place-items: center; flex: none; transition: transform .25s var(--ease); }
.harc__chev svg { width: 22px; height: 22px; }
.harc[open] .harc__chev { transform: rotate(180deg); }
.harc--flat .harc__chev { display: none; }
.season { width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; flex: none; }
.harc__detail { padding: 0 28px 26px; }
.harc__block { margin-top: 18px; }
.harc__block:first-child { margin-top: 2px; }
.harc__block h4 { font-family: var(--mono); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--accent); margin-bottom: 8px; }
.harc__detail .rich { color: var(--ink); font-size: 15.5px; line-height: 1.65; word-wrap: break-word; }
.harc__detail .rich p { margin: 0 0 10px; }
.harc__detail .rich a { color: var(--accent); }
.harc__detail .rich img { max-width: 100%; height: auto; border-radius: 10px; margin: 8px 0; }
.harc__gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(110px, 1fr)); gap: 10px; }
.harc__gallery img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; border-radius: 10px; box-shadow: var(--shadow); background: var(--surface-2); display: block; }
.harc__empty { color: var(--muted); font-size: 15px; }

/* ============================================================
   PARTA (leaders)
   ============================================================ */
.team { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.member { text-align: left; }
.member__photo { width: 100%; aspect-ratio: 3/4; border-radius: var(--radius); box-shadow: var(--shadow); object-fit: cover; background: var(--surface-2); }
.member__emblem { width: 100%; aspect-ratio: 3/4; border-radius: var(--radius); box-shadow: var(--shadow); display: grid; place-items: center; gap: 6px; color: #fff; text-align: center; }
.member__emblem b { font-family: var(--display); font-weight: 800; font-size: clamp(30px, 4vw, 44px); line-height: 1; letter-spacing: -.02em; }
.member__emblem em { font-family: var(--mono); font-style: normal; font-size: 11px; letter-spacing: .16em; text-transform: uppercase; opacity: .82; }
.member__name { font-family: var(--display); font-weight: 800; font-size: 21px; margin-top: 16px; }
.member__role { font-family: var(--mono); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--accent); margin-top: 4px; }
.member__bio { font-size: 14.5px; color: var(--muted); margin-top: 8px; }

/* ============================================================
   GALERIE
   ============================================================ */
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 200px; gap: 14px; }
.gallery image-slot { width: 100%; height: 100%; cursor: zoom-in; }
.gallery > img { width: 100%; height: 100%; object-fit: cover; border-radius: 14px; cursor: zoom-in; box-shadow: var(--shadow); background: var(--surface-2); transition: transform .2s var(--ease); }
.gallery > img:hover { transform: scale(1.015); }
.g-wide { grid-column: span 2; }
.g-tall { grid-row: span 2; }

/* ============================================================
   PRO RODIČE (accordion)
   ============================================================ */
.parents { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 4vw, 56px); align-items: start; }
.acc { display: grid; gap: 12px; }
.acc__item { border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); overflow: hidden; }
.acc__head { width: 100%; text-align: left; background: none; border: none; cursor: pointer; padding: 20px 22px; display: flex; align-items: center; justify-content: space-between; gap: 16px; font-family: var(--display); font-weight: 700; font-size: 19px; color: var(--ink); }
.acc__head .plus { width: 26px; height: 26px; flex: none; position: relative; }
.acc__head .plus::before, .acc__head .plus::after { content: ""; position: absolute; background: var(--accent); border-radius: 2px; transition: transform .25s var(--ease); }
.acc__head .plus::before { left: 0; right: 0; top: 12px; height: 3px; }
.acc__head .plus::after { top: 0; bottom: 0; left: 12px; width: 3px; }
.acc__item[data-open="true"] .plus::after { transform: scaleY(0); }
.acc__panel { max-height: 0; overflow: hidden; transition: max-height .35s var(--ease); }
.acc__inner { padding: 0 22px 22px; color: var(--muted); font-size: 16px; }
.acc__inner ul { margin: 0; padding-left: 18px; display: grid; gap: 7px; }
.acc__inner a.doc { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 10px; text-decoration: none; color: var(--ink); font-weight: 600; font-size: 15px; margin-top: 8px; background: var(--surface-2); transition: border-color .15s, background .15s; }
.acc__inner a.doc:hover { border-color: var(--accent); background: color-mix(in oklab, var(--accent) 7%, var(--surface-2)); }
.acc__inner a.doc svg { width: 20px; height: 20px; color: var(--accent); flex: none; }
.parents__aside { background: var(--ink); color: var(--bg); border-radius: var(--radius-lg); padding: 32px; position: sticky; top: 96px; }
.parents__aside h3 { color: var(--bg); font-size: 26px; }
.parents__aside p { color: color-mix(in oklab, var(--bg) 70%, transparent); margin-top: 12px; font-size: 15.5px; }
.parents__aside .checklist { list-style: none; padding: 0; margin: 20px 0 0; display: grid; gap: 11px; }
.parents__aside .checklist li { display: flex; gap: 11px; font-size: 15.5px; align-items: center; }
.parents__aside .checklist .b { width: 8px; height: 8px; border-radius: 50%; background: var(--zluta); flex: none; }

/* ============================================================
   KONTAKT
   ============================================================ */
.contact { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(28px, 4vw, 56px); }
.contact__cards { display: grid; gap: 14px; align-content: start; }
.cc { display: flex; gap: 16px; align-items: flex-start; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.cc__ic { width: 44px; height: 44px; border-radius: 11px; flex: none; display: grid; place-items: center; background: color-mix(in oklab, var(--accent) 14%, transparent); color: var(--accent); }
.cc__ic svg { width: 22px; height: 22px; }
.cc .l { font-family: var(--mono); font-size: 11.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.cc .v { font-family: var(--display); font-weight: 700; font-size: 20px; margin-top: 3px; }
.cc a { text-decoration: none; }
.form { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(24px, 3vw, 38px); box-shadow: var(--shadow); }
.field { margin-bottom: 18px; }
.field label { display: block; font-family: var(--mono); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; }
.field input, .field textarea, .field select {
  width: 100%; font-family: var(--body); font-size: 16px; color: var(--ink);
  background: var(--surface-2); border: 1.5px solid var(--line); border-radius: 11px; padding: 13px 15px;
  transition: border-color .15s, box-shadow .15s;
}
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px color-mix(in oklab, var(--accent) 18%, transparent); }
.field textarea { resize: vertical; min-height: 110px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form__ok { display: none; text-align: center; padding: 30px 10px; }
.form__ok.show { display: block; }
.form__ok .big { font-family: var(--script); font-size: 46px; color: var(--accent); }

/* ============================================================
   FOOTER
   ============================================================ */
.footer { background: var(--ink); color: color-mix(in oklab, var(--bg) 76%, transparent); padding: 64px 0 36px; margin-top: 20px; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 36px; }
.footer .brand__name, .footer .brand__sub { color: var(--bg); }
.footer .brand { color: var(--bg); }  /* JH mark (currentColor) světlý na tmavé patičce */
.footer__col h5 { font-family: var(--display); color: var(--bg); font-size: 16px; margin-bottom: 14px; }
.footer__col a { display: block; text-decoration: none; color: color-mix(in oklab, var(--bg) 70%, transparent); padding: 5px 0; font-size: 15px; }
.footer__col a:hover { color: var(--bg); }
.footer__col a.foot-soc { display: inline-flex; align-items: center; gap: 11px; }
.foot-soc svg { width: 18px; height: 18px; flex: none; opacity: .9; transition: opacity .15s; }
.foot-soc:hover svg { opacity: 1; }
.footer__bottom { margin-top: 48px; padding-top: 22px; border-top: 1px solid color-mix(in oklab, var(--bg) 18%, transparent); display: flex; flex-wrap: wrap; gap: 14px; justify-content: space-between; font-size: 13px; font-family: var(--mono); letter-spacing: .04em; }
.foot-setniny b { font-weight: 700; }
.foot-setniny .s-c { color: #e8665b; }
.foot-setniny .s-z { color: #f0bd49; }
.foot-setniny .s-g { color: #6fb564; }

/* ============================================================
   LIGHTBOX
   ============================================================ */
.lightbox { position: fixed; inset: 0; z-index: 90; background: rgba(12,9,5,.86); backdrop-filter: blur(4px); display: none; place-items: center; padding: 30px; }
.lightbox[data-open="true"] { display: grid; }
.lightbox img { max-width: 90vw; max-height: 86vh; border-radius: 12px; box-shadow: var(--shadow-lg); }
.lightbox__close { position: absolute; top: 20px; right: 24px; background: none; border: none; color: #fff; font-size: 40px; cursor: pointer; line-height: 1; }

/* ============================================================
   REVEAL ON SCROLL
   ============================================================ */
/* #91: scroll-reveal vypnut – obsah (vč. kartiček pro rodiče) je viditelný rovnou, ne až po scrollu */
.reveal { opacity: 1; transform: none; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; } }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 980px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero--photo .hero__grid { grid-template-columns: 1fr; }
  .hero--photo .hero__overlay {
    background:
      linear-gradient(to bottom, color-mix(in oklab, var(--bg) 30%, transparent) 0%, color-mix(in oklab, var(--bg) 78%, transparent) 42%, var(--bg) 78%);
  }
  .hero__media { order: -1; max-width: 460px; }
  .about { grid-template-columns: 1fr; }
  .news, .values, .team { grid-template-columns: repeat(2, 1fr); }
  .setniny { grid-template-columns: 1fr; }
  .tabor__facts { grid-template-columns: repeat(2, 1fr); }
  .tabor__body, .parents, .contact { grid-template-columns: 1fr; }
  .parents__aside { position: static; }
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .harc__head { grid-template-columns: 92px 1fr auto; gap: 14px; padding: 18px 18px; }
  .harc__head .harc__thumb, .harc__head .season { display: none; }
  .harc__detail { padding: 0 18px 20px; }
}
@media (max-width: 560px) {
  body { font-size: 17px; }
  .news, .values, .team, .footer__grid { grid-template-columns: 1fr; }
  .form__row { grid-template-columns: 1fr; }
  .tabor__facts { grid-template-columns: 1fr 1fr; }
  .hero__badge { left: 0; }
  .hero__meta { gap: 18px; }
}

/* ============================================================
   PODSTRÁNKY: page header + rozcestník vedení + plné profily
   (z _design/styles.css; doplněno pro multipage vedoucí)
   ============================================================ */
.pagehead { padding: clamp(20px, 3vw, 38px) 0 0; position: relative; }
.pagehead__inner { max-width: 760px; }
.pagehead h1 { font-size: clamp(38px, 6vw, 68px); line-height: 1; }
.pagehead h1 .script { font-family: var(--script); font-weight: 700; color: var(--accent); display: inline-block; transform: rotate(-3deg); }
.pagehead p { margin-top: 18px; color: var(--muted); font-size: clamp(17px, 1.7vw, 21px); max-width: 60ch; }
.crumbs { display: flex; align-items: center; gap: 8px; font-family: var(--mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-bottom: 18px; }
.crumbs a { text-decoration: none; color: var(--muted); }
.crumbs a:hover { color: var(--accent); }
.crumbs span { opacity: .5; }
.nav__links a.active { color: var(--accent); }

/* rozcestník skupin */
.grouphub { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.ghcard { display: flex; flex-direction: column; text-decoration: none; color: inherit; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(24px, 3vw, 34px); box-shadow: var(--shadow-sm, 0 1px 2px rgba(20,16,10,.05)); transition: transform .2s var(--ease), box-shadow .2s var(--ease), border-color .2s; }
.ghcard:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--line-strong); }
.ghcard__emblem { width: 66px; height: 66px; border-radius: 16px; display: grid; place-items: center; color: #fff; font-family: var(--display); font-weight: 800; font-size: 22px; letter-spacing: -.02em; margin-bottom: 22px; }
.ghcard__title { font-family: var(--display); font-weight: 800; font-size: clamp(21px, 2.5vw, 27px); letter-spacing: -.01em; line-height: 1.05; }
.ghcard__years { font-family: var(--mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--accent); margin-top: 10px; }
.ghcard__desc { color: var(--muted); margin-top: 14px; font-size: 15.5px; flex: 1; }
.ghcard__foot { margin-top: 22px; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.ghcard__count { font-family: var(--mono); font-size: 12px; letter-spacing: .04em; color: var(--muted); }
.ghcard__go { display: inline-flex; align-items: center; gap: 6px; font-family: var(--display); font-weight: 700; font-size: 15px; color: var(--accent); }
.ghcard__go .arrow { transition: transform .18s var(--ease); }
.ghcard:hover .ghcard__go .arrow { transform: translateX(3px); }
.ghback { display: inline-flex; align-items: center; gap: 7px; text-decoration: none; font-family: var(--display); font-weight: 700; font-size: 15px; color: var(--accent); margin-bottom: 8px; }
.ghback .arrow { transition: transform .18s var(--ease); }
.ghback:hover .arrow { transform: translateX(-3px); }
.vempty { text-align: center; background: var(--surface-2); border: 1px dashed var(--line-strong); border-radius: var(--radius-lg); padding: clamp(36px, 6vw, 64px) clamp(20px, 4vw, 40px); }
.vempty__emblem { width: 72px; height: 72px; border-radius: 18px; display: grid; place-items: center; color: #fff; font-family: var(--display); font-weight: 800; font-size: 24px; margin: 0 auto 20px; }
.vempty h2 { font-size: clamp(24px, 3.4vw, 34px); }
.vempty p { color: var(--muted); max-width: 52ch; margin: 14px auto 0; }
@media (max-width: 860px) { .grouphub { grid-template-columns: 1fr; } }

/* plné profily */
.vjump { display: flex; flex-wrap: wrap; gap: 7px; margin-bottom: clamp(28px, 4vw, 44px); }
.vjump a { text-decoration: none; font-family: var(--mono); font-size: 12px; letter-spacing: .02em; padding: 5px 11px; border-radius: 999px; border: 1px solid var(--line-strong); color: var(--muted); background: var(--surface); transition: color .15s, border-color .15s, background .15s; }
.vjump a:hover { color: var(--accent); border-color: var(--accent); background: color-mix(in oklab, var(--accent) 7%, var(--surface)); }
.vprofiles { display: grid; gap: clamp(18px, 2.5vw, 26px); }
.vprofile { display: grid; grid-template-columns: 232px 1fr; gap: clamp(24px, 3.4vw, 44px); align-items: start; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(20px, 3vw, 34px); box-shadow: var(--shadow-sm, 0 1px 2px rgba(20,16,10,.05)); scroll-margin-top: 90px; }
/* #24: fotka drží pevně u svého vedoucího (bez position:sticky — fotka „jezdila" po kartě při scrollu) */
.vprofile__media { width: 232px; }
.vprofile__main { display: block; width: 100%; height: 290px; border-radius: 14px; box-shadow: 0 0 0 3px var(--ring, var(--line-strong)), var(--shadow-sm, 0 1px 2px rgba(20,16,10,.06)); object-fit: cover; background: var(--surface-2); }
.vprofile__main.vavatar { display: grid; place-items: center; font-family: var(--display); font-weight: 800; font-size: 92px; color: color-mix(in oklab, var(--ring, var(--line-strong)) 55%, var(--muted)); }
.vprofile__head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px 14px; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.vprofile__name { font-family: var(--display); font-weight: 800; font-size: clamp(24px, 3vw, 32px); letter-spacing: -.02em; line-height: 1; }
.vprofile__role { font-family: var(--mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--accent); }
.vprofile__age { font-size: 14px; color: var(--muted); }
.vprofile__barva { display: inline-flex; align-items: center; gap: 7px; font-family: var(--mono); font-size: 11px; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); margin-left: auto; }
.vprofile__barva .d { width: 10px; height: 10px; border-radius: 50%; }
.vprofile__qa { margin: 4px 0 0; }
.vprofile__quote { margin-top: 16px; padding: 16px 20px; background: color-mix(in oklab, var(--accent) 7%, var(--surface-2)); border-left: 3px solid var(--accent); border-radius: 0 var(--radius) var(--radius) 0; font-family: var(--script); font-size: clamp(20px, 2.2vw, 26px); color: var(--accent); line-height: 1.3; }
.qa { padding: 13px 0; border-bottom: 1px solid var(--line); }
.qa:last-child { border-bottom: none; }
.qa dt { font-family: var(--mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-bottom: 5px; }
.qa dd { margin: 0; font-size: 15.5px; line-height: 1.55; }
@media (max-width: 760px) {
  .vprofile { grid-template-columns: 1fr; gap: 22px; }
  .vprofile__media { width: 232px; max-width: 100%; }
}
.vprofile__thumbs img { display: block; width: 100%; height: 111px; object-fit: cover; border-radius: 12px; background: var(--surface-2); }

/* ============================================================
   HOMEPAGE WIDGETY (z _design/styles.css)
   ============================================================ */
.widgets { display: grid; grid-template-columns: repeat(6, 1fr); gap: 18px; }
.widget { grid-column: span 2; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 24px; display: flex; flex-direction: column; box-shadow: var(--shadow-sm, 0 1px 2px rgba(20,16,10,.05)); transition: transform .2s var(--ease), box-shadow .2s var(--ease), border-color .2s; }
.widget--2 { grid-column: span 2; } .widget--3 { grid-column: span 3; } .widget--4 { grid-column: span 4; } .widget--6 { grid-column: span 6; }
.widget--link { cursor: pointer; text-decoration: none; color: inherit; }
.widget--link:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--line-strong); }
.widget__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 16px; }
.widget__eyebrow { font-family: var(--mono); font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); display: inline-flex; align-items: center; gap: 9px; }
.widget__eyebrow::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--accent); }
.widget__title { font-family: var(--display); font-weight: 800; font-size: clamp(20px, 2.4vw, 26px); line-height: 1.05; letter-spacing: -.01em; }
.widget__more { font-family: var(--display); font-weight: 700; font-size: 14px; color: var(--accent); text-decoration: none; white-space: nowrap; display: inline-flex; gap: 5px; align-items: center; }
.widget__more .arrow { transition: transform .18s var(--ease); }
.widget--link:hover .widget__more .arrow { transform: translateX(3px); }
.widget p { color: var(--muted); }
.widget__foot { margin-top: auto; padding-top: 16px; }
.minilist { display: flex; flex-direction: column; }
.minirow { display: flex; gap: 14px; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--line); }
.minirow:last-child { border-bottom: none; } .minirow:first-child { padding-top: 0; }
.minidate { text-align: center; min-width: 46px; flex: none; }
.minidate b { font-family: var(--display); font-weight: 800; font-size: 21px; line-height: 1; display: block; }
.minidate span { font-family: var(--mono); font-size: 10px; text-transform: uppercase; color: var(--muted); }
.minirow__main { flex: 1; min-width: 0; }
.minirow__main b { font-size: 15px; font-weight: 600; display: block; }
.minirow__main span { font-size: 13px; color: var(--muted); }
.miniseason { width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center; flex: none; font-size: 18px; }
.minisetniny { display: grid; gap: 10px; }
.minisetnina { display: flex; align-items: baseline; gap: 12px; padding: 11px 14px; border-radius: var(--radius); border: 1px solid var(--line); }
.minisetnina i { width: 12px; height: 12px; border-radius: 50%; flex: none; align-self: center; }
.minisetnina b { font-family: var(--display); font-size: 17px; }
.minisetnina span { font-size: 13px; color: var(--muted); margin-left: auto; }
.tabor-mini { display: flex; flex-direction: column; gap: 10px; }
.tabor-mini__big { font-family: var(--display); font-weight: 800; font-size: clamp(28px, 4vw, 40px); line-height: 1; letter-spacing: -.02em; }
.gstrip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.gstrip img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 12px; background: var(--surface-2); }
@media (max-width: 980px) { .widgets { grid-template-columns: repeat(2, 1fr); } .widget, .widget--2, .widget--3, .widget--4, .widget--6 { grid-column: span 2; } }
@media (max-width: 560px) { .widgets { grid-template-columns: 1fr; } .widget, .widget--2, .widget--3, .widget--4, .widget--6 { grid-column: span 1; } }

/* #107 sloučený blok „tábor + deník" (span-6): skupina pillů a dvojice CTA */
.widget__pills { display: inline-flex; align-items: center; gap: 8px; flex-wrap: wrap; justify-content: flex-end; }
.tabor-merge__ctas { display: flex; gap: 18px; flex-wrap: wrap; align-items: center; }
.ghcard__logo { height: 92px; width: auto; max-width: 150px; object-fit: contain; margin: 0 auto 22px; }
.vempty__logo { height: 120px; width: auto; max-width: 100%; object-fit: contain; display: block; margin: 0 auto 20px; }

/* ============ O NÁS — kapitoly Byli / Jsou (prefix .onas-) ============ */
.onas-eyebrow {
  display: inline-block;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 10px;
}
/* dlouhé kapitoly: médium zarovnat nahoru (ne na střed vysokého textu) */
.onas-chapter.about { align-items: start; }
.onas-chapter .about__media { align-self: start; position: sticky; top: clamp(24px, 6vw, 96px); }
.onas-chapter .about__text h2 {
  font-family: var(--display);
  font-size: clamp(40px, 7vw, 72px);
  line-height: .98;
  letter-spacing: -.02em;
}
/* long-read body na plný kontrast --ink kvůli čitelnosti historie */
.onas-chapter .about__text p { font-size: clamp(16px, 1.45vw, 18px); line-height: 1.62; color: var(--ink); }

/* atribuce / popisek kapitoly — tlumeně, kurzívou, ručně psaný akcent
   (zvýšená specificita beze !important, aby přebila .onas-chapter .about__text p) */
.onas-chapter .about__text p.onas-cite {
  font-family: var(--script);
  font-size: clamp(20px, 2.2vw, 26px);
  font-style: italic;
  color: var(--muted);
  margin-top: 22px;
  line-height: 1.2;
}

/* prohození stran média (Jsou: média vpravo na desktopu) */
.onas-chapter--flip .about__media { order: 2; }
.onas-chapter--flip .about__text { order: 1; }

/* klikací mapa na zvětšení */
.onas-maplink {
  display: block;
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  text-decoration: none;
  transition: transform .25s var(--ease);
}
.onas-maplink:hover { transform: translateY(-2px); }
.onas-maplink .about__photo { display: block; margin: 0; }
.onas-zoom {
  position: absolute;
  right: 12px;
  bottom: 12px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--ink);
  background: color-mix(in oklab, var(--surface) 88%, transparent);
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  padding: 6px 12px;
  box-shadow: var(--shadow);
  opacity: 0;
  transform: translateY(6px);
  transition: opacity .2s var(--ease), transform .2s var(--ease);
}
.onas-maplink:hover .onas-zoom,
.onas-maplink:focus-visible .onas-zoom { opacity: 1; transform: none; }

/* ilustrace harcovníka — plovoucí, navazuje na .about__cap idiom */
.onas-illu {
  right: auto;
  left: -18px;
  bottom: -26px;
  width: clamp(86px, 12vw, 124px);
  transform: rotate(-7deg);
}

/* čepice jako hlavní médium kapitoly Jsou */
.onas-cepice {
  display: grid;
  place-items: center;
  aspect-ratio: 5/4;
  border-radius: var(--radius-lg);
  background:
    radial-gradient(120% 120% at 30% 18%, color-mix(in oklab, var(--zelena) 14%, var(--surface-2)) 0%, var(--surface-2) 62%);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  padding: clamp(24px, 5vw, 56px);
}
.onas-cepice__img {
  width: clamp(150px, 60%, 280px);
  height: auto;
  filter: drop-shadow(0 16px 26px rgba(20,16,10,.32));
  transform: rotate(-4deg);
}

/* jemný předěl mezi kapitolami */
.onas-divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--line-strong), transparent);
  margin: clamp(8px, 2vw, 28px) 0;
}

/* krédo blok */
.onas-credo { margin-bottom: clamp(40px, 6vw, 72px); }
.onas-credo .setniny { margin-top: 16px; }

@media (max-width: 980px) {
  /* na mobilu: médium vždy nad textem v obou kapitolách */
  .onas-chapter--flip .about__media { order: -1; }
  .onas-chapter--flip .about__text { order: 0; }
  .onas-illu { left: auto; right: -10px; }
  /* jednosloupcový layout — sticky médium nedává smysl, vypnout */
  .onas-chapter .about__media { position: relative; top: auto; }
}

/* ============ HARCY — archiv po letech (rozklikávací, prefix .hyear) ============ */
.hyear { border-bottom: 1px solid var(--line); }
.hyear:first-of-type { border-top: 1px solid var(--line); }
.hyear__head {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 22px 4px;
  cursor: pointer;
  list-style: none;
  user-select: none;
}
.hyear__head::-webkit-details-marker { display: none; }
.hyear__head:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; border-radius: 8px; }
.hyear__year {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(26px, 4vw, 40px);
  letter-spacing: -.02em;
  line-height: 1;
  transition: color .2s var(--ease);
}
.hyear__count {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--muted);
}
.hyear__chev {
  margin-left: auto;
  width: 26px;
  height: 26px;
  flex: none;
  color: var(--muted);
  transition: transform .25s var(--ease);
}
.hyear[open] .hyear__chev { transform: rotate(180deg); }
.hyear[open] .hyear__year { color: var(--accent); }
.hyear__head:hover .hyear__year { color: var(--accent); }
.hyear .harcy { padding: 4px 0 30px; }
.harc__by { font-size: 13px; color: var(--muted); margin-top: 8px; font-family: var(--mono); letter-spacing: .02em; }
.harc__by span { color: var(--ink); }
.harc__thumb { width: 72px; height: 72px; border-radius: 12px; object-fit: cover; flex: none; box-shadow: var(--shadow); background: var(--surface-2); }
