/* Muôn Màu: bílá galerie s malířskými tahy
   Značka z muonmau.cz: vínová #84044D, růžová #FF2E83, logo, malířské tahy, Josefin Sans.
   Jedno brandové písmo TAMly: Josefin Sans. Poznámky „rukou“ sázíme kurzívou Josefin Sans. */

/* ---------- Písma (uložená lokálně, licence SIL OFL) ---------- */
@font-face { font-family: "Josefin Sans"; font-style: normal; font-weight: 300 700; font-display: swap; src: url(../fonts/josefin-vi.woff2) format("woff2"); unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB; }
@font-face { font-family: "Josefin Sans"; font-style: normal; font-weight: 300 700; font-display: swap; src: url(../fonts/josefin-latin-ext.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: "Josefin Sans"; font-style: normal; font-weight: 300 700; font-display: swap; src: url(../fonts/josefin-latin.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: "Josefin Sans"; font-style: italic; font-weight: 300 700; font-display: swap; src: url(../fonts/josefin-italic-vi.woff2) format("woff2"); unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB; }
@font-face { font-family: "Josefin Sans"; font-style: italic; font-weight: 300 700; font-display: swap; src: url(../fonts/josefin-italic-latin-ext.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: "Josefin Sans"; font-style: italic; font-weight: 300 700; font-display: swap; src: url(../fonts/josefin-italic-latin.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; }



/* ---------- Tokeny ---------- */
:root {
  --paper: #fffdf9;
  --paper-2: #fbf4ec;
  --blush: #fdeef3;
  --white: #fff;
  --ink: #2a0b1d;
  --ink-soft: #6c4a5d;
  --plum: #84044d;
  --plum-deep: #5e0337;
  --pink: #ff2e83;
  --pink-hover: #d6136b;
  --rose-on-plum: #ffc2dc;
  --line: rgba(42, 11, 29, .14);
  --tape: rgba(226, 205, 168, .78);

  --serif: var(--sans);
  --sans: "Josefin Sans", "Avenir Next", "Segoe UI", system-ui, sans-serif;
  --hand: "Josefin Sans", "Avenir Next", sans-serif; /* poznámky: kurzíva Josefin Sans */

  --gutter: 16px;
  --wrap: 1240px;
  --measure: 62ch;
  --focus: var(--plum);
}
@media (min-width: 700px) { :root { --gutter: 32px; } }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 96px; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }

body {
  margin: 0;
  font-family: var(--sans);
  font-size: 1.1875rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; font-size: .9rem; line-height: 1.4; color: inherit; }
a { color: inherit; text-underline-offset: .2em; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 4px; }
p { margin: 0 0 1em; text-wrap: pretty; }
li { text-wrap: pretty; }

h1, h2, h3, h4 { margin: 0 0 .45em; color: var(--plum); text-wrap: balance; }
h1, h2 { font-family: var(--sans); font-weight: 600; letter-spacing: -.012em; line-height: 1.08; }
h2 { font-size: clamp(2rem, 1.5rem + 3vw, 4.1rem); }
h3 { font-family: var(--sans); font-weight: 600; font-size: clamp(1.4rem, 1.25rem + .6vw, 1.75rem); line-height: 1.2; letter-spacing: -.005em; }
h1 em, h2 em, h3 em { font-style: italic; color: inherit; }

.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: var(--gutter); top: -100px; z-index: 100; background: var(--plum); color: var(--white); padding: 12px 18px; font-weight: 700; border-radius: 8px; }
.skip-link:focus { top: 12px; }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); position: relative; z-index: 1; }
.measure { max-width: var(--measure); }
.lead { font-size: clamp(1.2rem, 1.1rem + .4vw, 1.4rem); line-height: 1.6; }
.center { text-align: center; margin-inline: auto; }
.muted { color: var(--ink-soft); }

/* ---------- Ručně psané prvky ---------- */
.hand {
  font-family: var(--hand); font-style: italic;
  font-weight: 400;
  font-size: clamp(1.5rem, 1.35rem + .5vw, 1.85rem);
  line-height: 1.1;
  color: var(--plum);
  display: inline-block;
}
.hand--tilt { transform: rotate(-3deg); }
.doodle { position: absolute; pointer-events: none; z-index: 2; }

/* Štětcové podtržení slov */
.brush {
  color: inherit;
  background: url(../img/stetec-ruzovy.svg) no-repeat left 0 bottom .02em / 100% .5em;
  padding: 0 .06em;
  margin: 0 -.06em;
}
.brush--okr { background-image: url(../img/stetec-okr.svg); }
.brush--modry { background-image: url(../img/stetec-modry.svg); }

/* Malířské tahy: jen dekorace, nikdy pod textem */
.stroke { position: absolute; pointer-events: none; user-select: none; z-index: 0; max-width: none; }

/* ---------- Sekce ---------- */
.sec { position: relative; padding-block: clamp(80px, 11vw, 168px); }
.sec--tight { padding-block: clamp(56px, 7vw, 104px); }
.sec--paper { background: var(--paper-2); }
.sec--paper::before, .sec--paper::after {
  content: ""; position: absolute; left: 0; right: 0; height: 28px; pointer-events: none;
  background: url(../img/okraj-papir.svg) no-repeat center / 100% 100%;
}
.sec--paper::before { top: -27px; }
.sec--paper::after { bottom: -27px; transform: scaleY(-1); background-image: url(../img/okraj-papir-2.svg); }
.clip { overflow: hidden; }
.clip-x { overflow-x: clip; }

.sec-head { max-width: 760px; margin-bottom: clamp(48px, 6vw, 88px); position: relative; }
.sec-head .hand { margin-bottom: .5rem; }
.sec-head.center { text-align: center; }
.sec-head .lead { color: var(--ink-soft); }

/* ---------- Tlačítka ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  min-height: 52px; padding: .75em 1.6em .6em;
  border-radius: 999px; border: 2px solid transparent;
  font: inherit; font-size: 1.0625rem; font-weight: 700; line-height: 1.2; letter-spacing: .03em;
  text-decoration: none; cursor: pointer;
  transition: background-color .2s, color .2s;
}
.btn--plum { background: var(--plum); color: var(--white); }
.btn--plum:hover { background: var(--plum-deep); }
.btn--line { border-color: var(--plum); color: var(--plum); background: transparent; }
.btn--line:hover { background: var(--blush); }
.btn--white { background: var(--white); color: var(--plum); }
.btn--white:hover { background: var(--blush); }
.btn--ghost-white { border-color: rgba(255,255,255,.85); color: var(--white); }
.btn--ghost-white:hover { background: rgba(255,255,255,.12); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px 18px; margin-top: 2rem; align-items: center; }

.link-arrow {
  display: inline-flex; align-items: center; gap: .45em; min-height: 44px;
  font-weight: 700; color: var(--plum); text-decoration: none;
  background: url(../img/stetec-ruzovy.svg) no-repeat left bottom 6px / 100% .45em;
}
.link-arrow:hover { background-image: url(../img/stetec-okr.svg); }

/* ---------- Hlavička ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 253, 249, .95);
  border-bottom: 1px solid var(--line);
}
.site-header__bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 76px; }
.site-logo { display: inline-flex; align-items: center; min-height: 44px; padding: 6px 0; }
.site-logo img { height: 48px; width: auto; font-size: 1.25rem; font-weight: 700; color: var(--plum); }
.nav-toggle {
  display: inline-flex; align-items: center; gap: 10px; min-height: 48px; min-width: 48px; padding: 0 16px;
  border: 2px solid var(--plum); border-radius: 999px; background: transparent; color: var(--plum);
  font: inherit; font-size: 1rem; font-weight: 700; cursor: pointer;
}
.nav-toggle__icon { width: 20px; height: 14px; position: relative; }
.nav-toggle__icon::before, .nav-toggle__icon::after, .nav-toggle__icon span { content: ""; position: absolute; left: 0; right: 0; height: 2px; background: currentColor; border-radius: 2px; }
.nav-toggle__icon::before { top: 0; }
.nav-toggle__icon span { top: 6px; }
.nav-toggle__icon::after { bottom: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle__icon span { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle__icon::before { top: 6px; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__icon::after { bottom: 6px; transform: rotate(-45deg); }
.site-nav ul { list-style: none; margin: 0; padding: 0; }
.site-nav a { display: flex; align-items: center; min-height: 48px; text-decoration: none; font-weight: 600; color: var(--ink); }
.site-nav a:not(.btn):hover { color: var(--plum); }
.site-nav a[aria-current="page"]:not(.btn) { color: var(--plum); background: url(../img/stetec-ruzovy.svg) no-repeat left bottom 8px / 100% .5em; }
@media (max-width: 959px) {
  .site-nav { position: absolute; left: 0; right: 0; top: 100%; background: var(--paper); border-bottom: 1px solid var(--line); padding: 8px var(--gutter) 28px; box-shadow: 0 24px 40px -24px rgba(60, 10, 35, .35); max-height: calc(100dvh - 76px); overflow-y: auto; }
  .site-nav[hidden] { display: none; }
  .site-nav li + li { border-top: 1px solid var(--line); }
  .site-nav a { font-weight: 600; font-size: 1.5rem; padding-block: 8px; }
  .site-nav .nav-cta { border-top: 0; padding-top: 18px; }
  .site-nav .nav-cta .btn { width: 100%; font-family: var(--sans); font-size: 1.1rem; font-weight: 700; }
}
@media (min-width: 960px) {
  .nav-toggle { display: none; }
  .site-nav, .site-nav[hidden] { display: block; }
  .site-nav ul { display: flex; align-items: center; gap: 30px; }
  .site-nav a { font-size: 1.02rem; }
  .site-nav .btn { min-height: 46px; padding-inline: 1.3em; }
}

/* ---------- Polaroid / tisk s páskou ---------- */
.print {
  --tilt: 0deg;
  position: relative; margin: 0;
  background: var(--white);
  padding: 12px 12px 14px;
  box-shadow: 0 1px 2px rgba(42, 11, 29, .08), 0 18px 34px -18px rgba(60, 10, 35, .35);
  transform: rotate(var(--tilt));
}
.print img { width: 100%; object-fit: cover; background: var(--paper-2); }
.print figcaption, .print .print__cap {
  font-family: var(--hand); font-style: italic; font-weight: 400; font-size: 1.35rem; line-height: 1.15; color: var(--ink-soft);
  padding: 10px 4px 0;
}
.tape::before {
  content: ""; position: absolute; top: -14px; left: 50%; width: 104px; height: 30px; margin-left: -52px;
  background: var(--tape); transform: rotate(-3deg);
  clip-path: polygon(3% 8%, 97% 0, 100% 30%, 96% 55%, 100% 92%, 2% 100%, 0 70%, 4% 45%, 0 18%);
  z-index: 2;
}
.tape--left::before { left: 22%; transform: rotate(-8deg); }
.tape--right::before { left: auto; right: 4%; margin: 0; transform: rotate(6deg); }
@media (prefers-reduced-motion: no-preference) {
  .print--hover { transition: transform .35s ease; }
  .print--hover:hover, .print--hover:focus-within { transform: rotate(0deg) translateY(-4px); }
}

/* ---------- Úvod ---------- */
.hero { position: relative; overflow-x: clip; padding-block: clamp(40px, 6vw, 88px) clamp(80px, 10vw, 150px); }
.hero__grid { display: grid; gap: 48px; align-items: center; }
.hero__note { margin-bottom: 1.25rem; }
.hero__logo { width: min(420px, 82%); margin: 0 0 1.75rem -6px; font-family: var(--sans); font-size: clamp(3rem, 2rem + 4vw, 5rem); color: var(--plum); line-height: 1; }
.hero__claim {
  font-family: var(--sans); font-weight: 600; font-size: clamp(1.75rem, 1.2rem + 2.2vw, 2.9rem);
  line-height: 1.12; letter-spacing: -.015em; margin: 0 0 1.4rem; max-width: 16ch; color: var(--plum);
}
.hero__claim span { display: block; }
.hero__claim em { font-style: italic; color: var(--plum); }
.hero__intro { max-width: 40ch; color: var(--ink-soft); }
.hero__art { position: relative; min-height: 420px; }
.hero__art .stroke--main { width: 126%; left: -18%; top: 4%; transform: rotate(-5deg); }
.hero__art .stroke--accent { width: 52%; right: -14%; bottom: -8%; transform: rotate(10deg); }
.hero__art .print { --tilt: 2.5deg; width: min(66%, 410px); margin-left: auto; margin-right: 4%; z-index: 1; }
.hero__art .print img { aspect-ratio: 4 / 4.7; }
.hero__art .hand-note { position: absolute; left: 0; bottom: -2%; z-index: 3; max-width: 12ch; transform: rotate(-6deg); font-size: clamp(1.6rem, 1.3rem + .9vw, 2.1rem); }
.hero__art .hand-note img { width: 80px; margin: 4px 0 0 96px; transform: rotate(-24deg); }
@media (min-width: 900px) {
  .hero__grid { grid-template-columns: 1fr 1.08fr; gap: 40px; }
  .hero__art { min-height: 660px; display: flex; align-items: center; }
}
@media (max-width: 899px) {
  .hero__art .hand-note { position: relative; display: block; margin: 28px 0 0 8px; transform: rotate(-3deg); }
  .hero__art .hand-note img { display: none; }
}

/* ---------- Příběhy ---------- */
.feature { display: grid; gap: 48px 96px; align-items: center; }
.feature__art { position: relative; margin: 0; }
.feature__art .stroke--a { width: 96%; left: -30%; bottom: -16%; transform: rotate(-12deg); }
.feature__art .stroke--b { width: 74%; right: -26%; top: -14%; transform: rotate(14deg); }
.feature__art .print { --tilt: -1.8deg; z-index: 1; }
.feature__art .print img { aspect-ratio: 1240 / 1754; }
.feature__name { font-family: var(--sans); font-weight: 600; font-size: clamp(4.2rem, 2.6rem + 7vw, 8.5rem); line-height: .9; letter-spacing: -.03em; color: var(--plum); margin: .15em 0 .25em; }
.topic { display: inline-block; font-size: .85rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-soft); margin-bottom: 1.4rem; }
.quote { margin: 0 0 2rem; font-family: var(--sans); font-style: italic; font-weight: 400; font-size: clamp(1.45rem, 1.2rem + .9vw, 2rem); line-height: 1.35; color: var(--ink); max-width: 30ch; }
.quote p { margin: 0; }
@media (min-width: 900px) { .feature { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); } }
@media (max-width: 899px) { .feature__art { order: 2; max-width: 460px; } }

.coming { display: grid; gap: 56px 40px; margin-top: clamp(96px, 11vw, 160px); align-items: start; }
.coming__intro p { color: var(--ink-soft); }
.coming .print img { aspect-ratio: 3 / 3.8; object-position: center 62%; }
.coming li { list-style: none; }
.coming .tilt-a { --tilt: -2.4deg; }
.coming .tilt-b { --tilt: 2deg; }
.coming .print h3 { font-weight: 500; font-size: 1.6rem; margin: 12px 4px 0; color: var(--plum); }
.coming .print p { margin: 0 4px; font-size: 1rem; color: var(--ink-soft); }
.coming .print .print__cap { padding-top: 4px; color: var(--pink-hover); }
.you {
  display: flex; flex-direction: column; justify-content: center; gap: 10px;
  padding: 32px 28px; border: 2px dashed rgba(132, 4, 77, .45); border-radius: 6px;
  text-decoration: none; transform: rotate(1.4deg); background: var(--white); color: var(--ink);
}
.you .hand { font-size: 2.1rem; }
.you p { margin: 0; color: var(--ink-soft); }
.you:hover { border-color: var(--plum); }
@media (min-width: 640px) { .coming { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) { .coming { grid-template-columns: 1.1fr 1fr 1fr 1fr; } }

/* ---------- O projektu (editoriál) ---------- */
.editorial { display: grid; gap: 64px 104px; align-items: center; }
.editorial__quote { position: relative; margin: 0; padding-top: 56px; }
.editorial__quote .stroke { width: 420px; left: -90px; top: -110px; transform: rotate(-8deg); }
.editorial__quote p { position: relative; z-index: 1; font-family: var(--sans); font-style: italic; font-size: clamp(1.7rem, 1.3rem + 1.4vw, 2.6rem); line-height: 1.25; letter-spacing: -.01em; margin: 0 0 1.25rem; }
.editorial__quote footer { position: relative; z-index: 1; color: var(--ink-soft); font-size: 1.05rem; }
.editorial__quote cite { font-style: normal; font-weight: 700; color: var(--ink); }
@media (min-width: 900px) { .editorial { grid-template-columns: 1fr 1.05fr; } }

/* ---------- Umění sdílet (koláž) ---------- */
.collage { position: relative; display: grid; gap: 36px 28px; list-style: none; margin: 0; padding: 0; }
.collage li { position: relative; }
.collage .print img { aspect-ratio: 3 / 2; }
.collage .c2 .print img { aspect-ratio: 3 / 4; object-position: 40% center; }
.collage .c1 .print { --tilt: -1.6deg; }
.collage .c2 .print { --tilt: 2.2deg; }
.collage .c3 .print { --tilt: 1.4deg; }
.collage .c4 .print { --tilt: -2.6deg; }
.collage .stroke--x { width: 72%; left: 10%; top: 16%; transform: rotate(-6deg); }
.collage .stroke--y { width: 44%; right: -8%; bottom: 0; transform: rotate(10deg); }
@media (min-width: 640px) { .collage { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) {
  .collage { grid-template-columns: repeat(12, 1fr); gap: 0; }
  .collage .c1 { grid-column: 1 / span 6; grid-row: 1; margin-top: 40px; z-index: 2; }
  .collage .c2 { grid-column: 8 / span 4; grid-row: 1 / span 2; z-index: 1; }
  .collage .c3 { grid-column: 2 / span 4; grid-row: 2; margin-top: 36px; z-index: 3; }
  .collage .c4 { grid-column: 6 / span 3; grid-row: 2; margin-top: 120px; margin-left: 24px; z-index: 4; }
  .collage .c4 .print img { aspect-ratio: 4 / 5; }
}
.art-foot { display: grid; gap: 24px 64px; margin-top: clamp(64px, 8vw, 112px); align-items: start; }
@media (min-width: 900px) { .art-foot { grid-template-columns: 1fr 1.2fr; } }

/* ---------- Workshopy ---------- */
.workshops { display: grid; gap: 56px 88px; align-items: start; }
@media (min-width: 960px) { .workshops { grid-template-columns: 1fr 1.1fr; } }
.workshops__art { margin: 24px 0 0 -12px; max-width: 520px; }
.note {
  position: relative; background: var(--white);
  padding: clamp(32px, 4vw, 52px) clamp(22px, 4vw, 44px) clamp(26px, 3vw, 40px);
  box-shadow: 0 1px 2px rgba(42, 11, 29, .06), 0 28px 50px -30px rgba(60, 10, 35, .4);
}
.note > .hand { margin-bottom: .5rem; font-size: 2.1rem; }
.events { list-style: none; margin: 0 0 1.5rem; padding: 0; }
.event { display: grid; grid-template-columns: 6rem 1fr; gap: 2px 18px; padding: 20px 0; border-top: 1px dashed rgba(132, 4, 77, .35); }
.event:last-child { border-bottom: 1px dashed rgba(132, 4, 77, .35); }
.event__date { grid-row: span 3; color: var(--plum); line-height: 1; font-family: var(--sans); }
.event__day { display: block; font-size: 3rem; font-weight: 600; letter-spacing: -.02em; }
.event__month { display: block; font-family: var(--sans); font-size: .8rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; margin-top: 6px; }
.event__year { display: block; font-family: var(--sans); font-size: .9rem; margin-top: 3px; color: var(--ink-soft); }
.event__title { font-family: var(--sans); font-size: 1.35rem; font-weight: 500; margin: 0; line-height: 1.25; }
.event__meta { margin: 0; color: var(--ink-soft); font-size: 1.02rem; line-height: 1.5; }
.event__meta strong { color: var(--ink); font-weight: 600; }
.event[hidden] { display: none; }
.events-empty { padding: 20px 0; }
.terms { padding-left: 1.1em; color: var(--ink-soft); font-size: 1.02rem; }
.terms li { margin-bottom: .3rem; }

.ai-label { display: block; margin-top: 8px; font-family: var(--sans); font-size: .88rem; color: var(--ink-soft); }
.ai-label::before { content: "◇ "; color: var(--pink-hover); }

/* ---------- Jak se zapojit ---------- */
.steps { position: relative; list-style: none; padding: 0; margin: 0 0 clamp(72px, 9vw, 128px); display: grid; gap: 40px; }
.steps::before { display: none; content: ""; position: absolute; left: 6%; right: 18%; top: 18px; height: 30px; background: url(../img/cmar-vlnka.svg) no-repeat center / 100% 100%; }
.step { position: relative; z-index: 1; }
.step__no { display: inline-grid; place-items: center; width: 66px; height: 66px; margin-bottom: 16px; font-family: var(--hand); font-style: italic; font-size: 2.2rem; font-weight: 400; color: var(--plum); background: var(--paper); border: 2px solid var(--plum); border-radius: 48% 52% 50% 50% / 55% 45% 55% 45%; }
.step:nth-child(2) .step__no { border-radius: 55% 45% 48% 52% / 45% 55% 45% 55%; transform: rotate(6deg); }
.step:nth-child(3) .step__no { transform: rotate(-5deg); }
.step h3 { font-size: 1.45rem; margin-bottom: .35rem; }
.step p { margin: 0; color: var(--ink-soft); }
@media (min-width: 900px) { .steps { grid-template-columns: repeat(4, 1fr); gap: 44px; } .steps::before { display: block; } }

.principle { font-family: var(--sans); font-size: clamp(1.6rem, 1.25rem + 1.3vw, 2.5rem); line-height: 1.22; letter-spacing: -.01em; max-width: 27ch; margin: 0 auto; text-align: center; }
.principle em { font-style: italic; color: var(--plum); }
.join { display: grid; gap: 64px 80px; margin-top: clamp(80px, 10vw, 140px); align-items: center; }
@media (min-width: 900px) { .join { grid-template-columns: 1fr 1fr; } }
.join-ways { margin: 0; padding: 0; list-style: none; }
.join-ways li { position: relative; padding: 13px 0 13px 42px; border-bottom: 1px solid var(--line); }
.join-ways li::before { content: ""; position: absolute; left: 0; top: 14px; width: 26px; height: 26px; background: url(../img/cmar-srdce.svg) no-repeat center / contain; }
.join-box { position: relative; background: var(--blush); padding: clamp(28px, 4vw, 48px); border-radius: 28px 10px 36px 14px / 14px 32px 12px 30px; }
.join-box h3 { font-size: clamp(1.9rem, 1.5rem + 1vw, 2.5rem); font-weight: 600; color: var(--plum); }
.join-box .note-small { font-size: 1rem; color: var(--ink-soft); margin: 1.25rem 0 0; }
.join__art { margin: -100px 0 4px; max-width: 420px; }
@media (max-width: 899px) { .join__art { margin-top: -60px; } }

/* ---------- FAQ ---------- */
.faq-grid { display: grid; gap: 40px 96px; }
@media (min-width: 900px) { .faq-grid { grid-template-columns: .8fr 1.2fr; } }
.faq details { border-bottom: 1px solid var(--line); }
.faq details:first-of-type { border-top: 1px solid var(--line); }
.faq summary { display: flex; justify-content: space-between; align-items: center; gap: 20px; min-height: 68px; padding: 16px 0; cursor: pointer; list-style: none; font-family: var(--sans); font-size: clamp(1.2rem, 1.1rem + .4vw, 1.45rem); font-weight: 600; color: var(--plum); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; width: 38px; height: 38px; display: grid; place-items: center; border: 2px solid var(--plum); color: var(--plum); border-radius: 48% 52% 50% 50% / 55% 45% 55% 45%; font-family: var(--sans); font-size: 1.4rem; line-height: 1; }
.faq details[open] summary::after { content: "–"; }
.faq summary:hover { color: var(--plum); }
.faq .answer { padding: 0 0 26px; max-width: var(--measure); color: var(--ink-soft); }
.faq .answer p:last-child { margin-bottom: 0; }
.faq .answer a { color: var(--plum); font-weight: 600; }

/* ---------- Závěrečná výzva (vínová malba) ---------- */
.closing { padding-block: clamp(72px, 9vw, 140px); overflow-x: clip; }
.paint-block {
  position: relative; background: var(--plum); color: var(--white); --focus: var(--white);
  padding: clamp(56px, 7vw, 112px) clamp(28px, 6vw, 96px);
  border-radius: 44px 26px 58px 30px / 34px 50px 28px 46px;
}
.paint-block h2 { color: var(--white); max-width: 14ch; font-size: clamp(2.4rem, 1.6rem + 3.4vw, 4.6rem); }
.paint-block h2 em { color: var(--rose-on-plum); }
.paint-block .lead { max-width: 36ch; }
.paint-block .stroke--tl { width: 380px; left: -120px; top: -120px; transform: rotate(-14deg); }
.paint-block .stroke--br { width: 480px; right: -150px; bottom: -170px; transform: rotate(8deg); }
.paint-block > :not(.stroke) { position: relative; z-index: 1; }
@media (max-width: 699px) { .paint-block .stroke--tl { width: 240px; left: -80px; top: -90px; } .paint-block .stroke--br { width: 300px; right: -110px; bottom: -120px; } }

/* ---------- Patička ---------- */
.site-footer { position: relative; background: var(--paper-2); padding-block: 72px 40px; font-size: 1.02rem; margin-top: 28px; }
.site-footer::before { content: ""; position: absolute; left: 0; right: 0; top: -27px; height: 28px; background: url(../img/okraj-papir.svg) no-repeat center / 100% 100%; }
.footer-grid { display: grid; gap: 40px; }
@media (min-width: 900px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; } }
.footer-brand img { width: 170px; margin-bottom: 16px; }
.footer-brand p { margin: 0 0 .6rem; color: var(--ink-soft); }
.footer-brand .hand { font-size: 1.7rem; margin-bottom: .4rem; }
.site-footer h2 { font-family: var(--sans); font-size: .85rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-soft); margin-bottom: .75rem; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li a { display: inline-flex; min-height: 44px; align-items: center; font-weight: 600; color: var(--plum); }
.partners { display: flex; flex-wrap: wrap; gap: 18px 30px; align-items: center; margin-top: 6px; }
.partners img { height: 44px; width: auto; max-width: none; }
.partners .tall { height: 56px; }
.partners .wide { height: 24px; }
.partners .mono { filter: brightness(0); opacity: .82; }
.grant { margin-top: 48px; padding-top: 28px; border-top: 1px solid var(--line); display: grid; gap: 20px 48px; }
.grant p { font-size: .95rem; line-height: 1.55; max-width: 70ch; margin: 0; color: var(--ink-soft); }
.grant__logos { display: flex; flex-wrap: wrap; gap: 16px 28px; align-items: center; }
.grant__logos img { height: 48px; width: auto; max-width: none; }
@media (min-width: 900px) { .grant { grid-template-columns: 1.1fr 1fr; align-items: center; } }
.footer-bottom { margin-top: 32px; font-size: .95rem; color: var(--ink-soft); display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; }

/* ---------- Podstránky ---------- */
.page-head { position: relative; overflow-x: clip; padding-block: clamp(56px, 8vw, 120px) clamp(48px, 6vw, 88px); }
.page-head h1 { font-size: clamp(2.8rem, 1.7rem + 4.6vw, 5.6rem); max-width: 14ch; }
.page-head .lead { max-width: 44ch; color: var(--ink-soft); margin: 0; }
.page-head .stroke { width: min(720px, 64vw); right: -8%; top: 50%; transform: translateY(-50%) rotate(-6deg); }
@media (max-width: 699px) { .page-head .stroke { width: 110%; right: -45%; top: auto; bottom: -38%; transform: rotate(-6deg); opacity: .5; } }
.breadcrumb { margin-bottom: 1.25rem; }
.breadcrumb a { display: inline-flex; align-items: center; gap: .4em; min-height: 44px; font-weight: 700; color: var(--plum); text-decoration: none; }
.breadcrumb a:hover { text-decoration: underline; }

/* Galerie */
.gallery { display: grid; gap: 72px 44px; list-style: none; margin: 0; padding: 0; align-items: start; }
@media (min-width: 640px) { .gallery { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .gallery { grid-template-columns: 1.35fr 1fr 1fr; } .gallery .is-lead { grid-row: span 2; } }
.gallery > li { position: relative; }
.gallery .print img { aspect-ratio: 3 / 4; object-position: center 62%; }
.gallery .is-lead .print img { aspect-ratio: 1240 / 1754; }
.gallery > li:nth-child(1) .print { --tilt: -1.5deg; }
.gallery > li:nth-child(2) .print { --tilt: 2deg; }
.gallery > li:nth-child(3) .print { --tilt: -2.4deg; }
.gallery h2 { font-size: clamp(2.2rem, 1.8rem + 1.6vw, 3.2rem); color: var(--plum); margin: 26px 0 .1em; }
.gallery .is-lead h2 { font-size: clamp(3rem, 2.2rem + 3vw, 5rem); }
.gallery .quote { font-size: 1.4rem; margin-bottom: 1.25rem; }
.gallery .soon { font-family: var(--hand); font-style: italic; font-size: 1.6rem; font-weight: 400; color: var(--pink-hover); }
.gallery .is-lead .stroke { width: 84%; left: -26%; top: 30%; transform: rotate(-10deg); }
.gallery .join-card { position: relative; padding: 40px 32px; background: var(--blush); border-radius: 30px 12px 40px 16px / 16px 34px 12px 30px; }
.gallery .join-card h2 { color: var(--plum); font-size: 2.1rem; margin-top: 0; }

/* Detail příběhu */
.story-hero { position: relative; overflow: hidden; padding-block: 24px clamp(72px, 9vw, 136px); }
.story-hero__grid { display: grid; gap: 48px 96px; align-items: center; }
.story-hero h1 { font-size: clamp(4.6rem, 2.8rem + 8vw, 10rem); line-height: .88; letter-spacing: -.035em; color: var(--plum); margin: .1em 0 .2em; }
.story-hero figure { position: relative; margin: 0; }
.story-hero .print { --tilt: 1.8deg; z-index: 1; }
.story-hero .print img { aspect-ratio: 1240 / 1754; }
.story-hero .stroke--a { width: 96%; left: -34%; top: -10%; transform: rotate(-16deg); }
.story-hero .stroke--b { width: 72%; right: -28%; bottom: -12%; transform: rotate(10deg); }
@media (min-width: 900px) { .story-hero__grid { grid-template-columns: 1.1fr minmax(0, .9fr); } }
@media (max-width: 899px) { .story-hero figure { max-width: 440px; } }

.story-layout { display: grid; gap: 48px 88px; }
@media (min-width: 1000px) { .story-layout { grid-template-columns: 200px minmax(0, 1fr); } }
.toc h2 { font-family: var(--sans); font-size: .82rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-soft); margin-bottom: .5rem; }
.toc ol { list-style: none; margin: 0; padding: 0; }
.toc a { display: inline-flex; align-items: center; min-height: 44px; text-decoration: none; font-family: var(--sans); font-size: 1.15rem; color: var(--ink); }
.toc a:hover { color: var(--plum); background: url(../img/stetec-ruzovy.svg) no-repeat left bottom 8px / 100% .5em; }
@media (min-width: 1000px) { .toc nav { position: sticky; top: 112px; } }
@media (max-width: 999px) { .toc ol { display: flex; flex-wrap: wrap; gap: 0 22px; } }
.story-body { max-width: var(--measure); font-size: 1.25rem; line-height: 1.75; }
.story-body h2 { font-family: var(--hand); font-style: italic; font-weight: 400; font-size: 2.1rem; letter-spacing: 0; color: var(--plum); margin: 3.5rem 0 .5rem; transform: rotate(-1.5deg); transform-origin: left; }
.story-body h2:first-child { margin-top: 0; }
.story-body > p:first-of-type::first-letter { font-family: var(--sans); float: left; font-size: 4.4em; line-height: .8; padding: .06em .1em 0 0; color: var(--plum); }
.inline-quote { position: relative; margin: 3.25rem 0; padding: 0; font-family: var(--sans); font-style: italic; font-size: clamp(1.55rem, 1.25rem + 1vw, 2.15rem); line-height: 1.3; color: var(--plum); }
.inline-quote p { margin: 0; }
.inline-quote::before { content: ""; display: block; width: 80px; height: 44px; margin-bottom: 10px; background: url(../img/cmar-spirala.svg) no-repeat left center / contain; }
.story-drawing { margin: 3.5rem 0 0 auto; max-width: 380px; }
.story-drawing figcaption { font-family: var(--hand); font-style: italic; font-size: 1.35rem; color: var(--ink-soft); }
.credits { margin-top: 4rem; padding-top: 28px; border-top: 1px solid var(--line); font-size: 1.02rem; }
.credits dl { margin: 0; display: grid; grid-template-columns: auto 1fr; gap: 6px 22px; }
.credits dt { color: var(--ink-soft); }
.credits dd { margin: 0; font-weight: 600; }
.credits .caption { margin-top: 1rem; }
.expert { position: relative; background: var(--white); padding: clamp(32px, 4vw, 56px); max-width: 900px; font-size: 1.1rem; box-shadow: 0 1px 2px rgba(42, 11, 29, .06), 0 28px 50px -30px rgba(60, 10, 35, .35); }
.expert h2 { font-size: clamp(1.7rem, 1.4rem + 1vw, 2.4rem); }
.expert .label { display: block; margin-bottom: .75rem; font-size: .82rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-soft); }
.expert ul { padding-left: 1.2em; }
.expert .sources { font-size: .95rem; color: var(--ink-soft); }
.draft-note { display: block; margin: 0 0 1.25rem; padding: 10px 14px; border: 2px dashed var(--plum); border-radius: 8px; font-size: .95rem; font-weight: 600; color: var(--plum); background: var(--blush); }
.related { display: grid; gap: 48px 40px; list-style: none; padding: 0; margin: 0; }
@media (min-width: 700px) { .related { grid-template-columns: repeat(3, 1fr); } }
.related .print img { aspect-ratio: 3 / 3.8; object-position: center 62%; }
.related li:nth-child(1) .print { --tilt: -2deg; }
.related li:nth-child(2) .print { --tilt: 1.6deg; }
.related h3 { margin: 10px 4px 0; color: var(--plum); }
.related p { margin: 0 4px; font-size: 1rem; color: var(--ink-soft); }

/* O projektu */
.columns { display: grid; gap: 8px 56px; }
@media (min-width: 900px) { .columns { grid-template-columns: repeat(3, 1fr); } }
.split { display: grid; gap: 56px 96px; align-items: center; }
@media (min-width: 900px) { .split { grid-template-columns: 1fr 1fr; } }
.split figure { margin: 0; position: relative; }
.pillars { display: grid; gap: 44px 40px; list-style: none; padding: 0; margin: 0; }
@media (min-width: 700px) { .pillars { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .pillars { grid-template-columns: repeat(4, 1fr); } }
.pillars .hand { font-size: 2.3rem; margin-bottom: .25rem; }
.pillars h3 { margin-bottom: .4rem; }
.pillars p { color: var(--ink-soft); }
.team { display: grid; gap: 0 56px; margin: 0; }
@media (min-width: 800px) { .team { grid-template-columns: 1fr 1fr; } }
.team div { padding: 18px 0; border-bottom: 1px solid var(--line); }
.team dt { font-family: var(--sans); font-size: 1.45rem; color: var(--ink); }
.team dd { margin: 0; color: var(--ink-soft); }

.caption { font-size: .95rem; color: var(--ink-soft); }

@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; animation: none !important; } }
@media print { .site-header, .stroke, .doodle, .nav-toggle, .btn-row, .closing { display: none !important; } body { background: #fff; } .print { transform: none; box-shadow: none; } }
.collage .c0 { display: contents; }

.site-nav a.btn--plum, .site-nav a.btn--plum:hover { color: var(--white); }
@media (max-width: 639px) {
  .coming .print, .related .print, .gallery > li:not(.is-lead) .print { max-width: 320px; }
  .coming .tilt-b, .related li:nth-child(2) .print { margin-left: auto; }
  .hero__art .print { width: 84%; }
}
/* Ručně psaná poznámka na útržku papíru: čitelná i nad malbou */
.hero__art .hand-note { background: var(--paper); padding: 12px 16px 10px; box-shadow: 0 10px 22px -14px rgba(60, 10, 35, .45); }
.hero__art .hand-note img { display: none; }
@media (max-width: 899px) { .hero__art .hand-note { display: inline-block; max-width: 22ch; } }

/* ---------- Harmonogram ---------- */
.timeline { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; position: relative; }
.timeline li { position: relative; padding: 0 0 36px 44px; }
.timeline li::before { content: ""; position: absolute; left: 7px; top: 10px; width: 18px; height: 18px; border: 2px solid var(--plum); background: var(--paper); border-radius: 48% 52% 50% 50% / 55% 45% 55% 45%; z-index: 1; }
.timeline li::after { content: ""; position: absolute; left: 15px; top: 30px; bottom: 0; width: 2px; background: repeating-linear-gradient(to bottom, rgba(132, 4, 77, .45) 0 6px, transparent 6px 12px); }
.timeline li:last-child::after { display: none; }
.timeline__when { display: block; font-size: .85rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-soft); margin-bottom: 4px; }
.timeline h3 { font-size: 1.35rem; margin-bottom: .3rem; }
.timeline p { margin: 0; color: var(--ink-soft); font-size: 1.05rem; }
.timeline .is-key::before { background: var(--plum); width: 22px; height: 22px; left: 5px; top: 8px; }
.timeline .is-key h3 { color: var(--plum); }
.timeline .is-now::before { background: var(--pink); border-color: var(--pink); }
.timeline .now-badge { display: inline-block; margin-left: .4rem; font-family: var(--hand); font-style: italic; font-size: 1.35rem; font-weight: 400; color: var(--pink-hover); text-transform: none; letter-spacing: 0; transform: rotate(-4deg); }
@media (min-width: 1000px) {
  .timeline { grid-template-columns: repeat(6, 1fr); gap: 0 24px; }
  .timeline li { padding: 44px 0 0; }
  .timeline li::before { left: 0; top: 0; }
  .timeline .is-key::before { left: -2px; top: -2px; }
  .timeline li::after { left: 30px; right: -16px; top: 9px; bottom: auto; width: auto; height: 2px; background: repeating-linear-gradient(to right, rgba(132, 4, 77, .45) 0 6px, transparent 6px 12px); }
}

/* ---------- Co vznikne ---------- */
.outputs { list-style: none; margin: 0; padding: 0; display: grid; gap: 48px 32px; }
@media (min-width: 700px) { .outputs { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1100px) { .outputs { grid-template-columns: repeat(4, 1fr); } }
.output { position: relative; background: var(--white); padding: 34px 26px 28px; box-shadow: 0 1px 2px rgba(42, 11, 29, .06), 0 22px 40px -26px rgba(60, 10, 35, .4); }
.output:nth-child(odd) { transform: rotate(-.8deg); }
.output:nth-child(even) { transform: rotate(.9deg); }
.output .stroke { width: 78%; right: -18%; top: -40px; opacity: .85; z-index: 0; }
.output > :not(.stroke) { position: relative; z-index: 1; }
.output .hand { font-size: 1.9rem; margin-bottom: .3rem; }
.output h3 { font-size: 1.3rem; }
.output p:last-child { margin: 0; color: var(--ink-soft); font-size: 1.05rem; }
.minority { margin: clamp(56px, 7vw, 88px) 0 0; max-width: 46ch; font-size: clamp(1.25rem, 1.1rem + .5vw, 1.55rem); line-height: 1.45; font-weight: 600; }

/* ---------- Detail příběhu: listovací brožura ---------- */
.story-head { position: relative; padding-block: 24px 40px; }
.story-head .stroke { width: min(640px, 80vw); right: -8%; top: -40px; transform: rotate(-8deg); }
.story-head h1 { font-size: clamp(4rem, 2.6rem + 6vw, 8rem); line-height: .9; letter-spacing: -.03em; color: var(--plum); margin: .05em 0 .2em; }
.book-sec { position: relative; padding-bottom: clamp(56px, 7vw, 96px); }
.book { position: relative; }
.book__stage { display: grid; grid-template-columns: minmax(0, 1fr); gap: 28px; justify-items: center; }
.page {
  position: relative; width: 100%; max-width: 560px; aspect-ratio: 596 / 842;
  background: var(--white); color: var(--ink);
  padding: clamp(28px, 4.5vw, 52px) clamp(22px, 4vw, 46px) 64px;
  box-shadow: 0 1px 2px rgba(42, 11, 29, .08), 0 26px 48px -28px rgba(60, 10, 35, .45);
  font-size: 1.04rem; line-height: 1.66;
}
.page h2 { font-family: var(--hand); font-style: italic; font-weight: 400; font-size: 2.1rem; letter-spacing: 0; color: var(--plum); margin: 0 0 .5rem; transform: rotate(-1.5deg); transform-origin: left; }
.page p { margin-bottom: .9em; }
.page .drop::first-letter { float: left; font-size: 4em; line-height: .82; padding: .06em .1em 0 0; color: var(--plum); font-weight: 600; }
.page__quote { margin: 0 0 1.6rem; font-style: italic; font-weight: 600; font-size: clamp(1.15rem, 1.05rem + .45vw, 1.4rem); line-height: 1.4; color: var(--pink-hover); }
.page__quote p { margin: 0; }
.page__quote--end { margin: 1.2rem 0 0; color: var(--plum); }
.page__drawing { margin: .5rem 0 0 auto; width: 52%; }
.page__no { position: absolute; bottom: 20px; left: 0; right: 0; text-align: center; font-family: var(--hand); font-style: italic; font-size: 1.25rem; color: var(--ink-soft); }
.page__label { display: block; margin-bottom: .75rem; font-size: .78rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-soft); }
.page--expert { font-size: .96rem; line-height: 1.6; }
.page--expert h2 { font-family: var(--sans); font-weight: 600; font-size: 1.35rem; transform: none; color: var(--ink); }
.page--expert ul { margin: 0 0 .9em; padding-left: 1.2em; }
.page__sources { font-size: .84rem; color: var(--ink-soft); }
.page--about h2 { font-family: var(--sans); font-weight: 600; font-size: 1.5rem; transform: none; color: var(--plum); }
.page__credits { display: grid; grid-template-columns: auto 1fr; gap: 4px 16px; margin: 1.2rem 0; font-size: .96rem; }
.page__credits dt { color: var(--ink-soft); }
.page__credits dd { margin: 0; font-weight: 600; }
.page__small { font-size: .9rem; color: var(--ink-soft); }
.page__logos { display: flex; flex-wrap: wrap; gap: 14px 22px; align-items: center; margin-top: 1.5rem; }
.page__logos img { height: 34px; width: auto; max-width: none; }
.page--cover { padding: 0; overflow: hidden; background: var(--plum); }
.page__art { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.page__logo { position: absolute; top: 22px; right: 22px; width: 110px; z-index: 1; }
.page__band { position: absolute; left: 0; right: 0; bottom: 0; z-index: 1; padding: 22px 26px 26px; background: rgba(132, 4, 77, .92); color: var(--white); }
.page__band .page__name { font-family: var(--hand); font-style: italic; font-weight: 400; font-size: 3.4rem; line-height: 1; margin: 0 0 .35rem; }
.page__band blockquote { margin: 0; }
.page__band p { margin: 0; font-weight: 600; font-size: 1.02rem; line-height: 1.45; }
.page--cta { background: var(--plum); color: var(--white); --focus: var(--white); display: flex; flex-direction: column; justify-content: center; overflow: hidden; }
.page--cta .stroke { width: 90%; right: -30%; top: -8%; transform: rotate(12deg); opacity: .9; }
.page--cta > :not(.stroke) { position: relative; z-index: 1; }
.page--cta .hand { color: var(--rose-on-plum); font-size: 2rem; }
.page--cta h2 { font-family: var(--sans); font-weight: 600; font-size: clamp(1.8rem, 1.4rem + 1.4vw, 2.5rem); line-height: 1.1; color: var(--white); transform: none; }

/* Režim listování (zapíná JavaScript) */
.book.is-js .book__stage { gap: 0; }
.book.is-js .page[hidden] { display: none; }
.book.is-js .page.is-left { background-image: linear-gradient(to left, rgba(60, 10, 35, .07), transparent 46px); }
.book.is-js .page.is-right { background-image: linear-gradient(to right, rgba(60, 10, 35, .07), transparent 46px); }
.book.is-js .page--cover.is-right, .book.is-js .page--cta.is-left { background-image: none; }
@media (min-width: 960px) {
  .book.is-js .book__stage { grid-template-columns: repeat(2, minmax(0, 520px)); justify-content: center; align-items: stretch; }
  .book.is-js .book__stage.is-single { grid-template-columns: minmax(0, 520px); }
  .book.is-js .page { max-width: none; }
}
.book.is-all .book__stage { grid-template-columns: minmax(0, 1fr) !important; gap: 28px; justify-items: center; }
.book.is-all .page { max-width: 560px; background-image: none; }
.book__nav { display: flex; align-items: center; justify-content: center; gap: 20px; margin-top: 28px; }
.book__nav[hidden], .book__tools[hidden] { display: none; }
.book__btn { display: inline-grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; border: 2px solid var(--plum); background: var(--white); color: var(--plum); font: inherit; font-size: 1.4rem; font-weight: 700; cursor: pointer; }
.book__btn:hover:not(:disabled) { background: var(--plum); color: var(--white); }
.book__btn:disabled { opacity: .35; cursor: default; }
.book__status { margin: 0; min-width: 11ch; text-align: center; font-weight: 600; color: var(--ink-soft); }
.book__tools { display: flex; flex-wrap: wrap; gap: 8px 28px; justify-content: center; margin-top: 10px; }
.book__all { border: 0; padding: 0; cursor: pointer; font: inherit; font-weight: 700; }
.book-after { max-width: 44ch; margin: clamp(48px, 6vw, 72px) auto 0; text-align: center; font-size: clamp(1.15rem, 1.05rem + .4vw, 1.35rem); line-height: 1.55; color: var(--ink-soft); }
.book-after .hand { display: block; font-size: 2rem; margin-bottom: .3rem; }
@media (prefers-reduced-motion: no-preference) {
  .book__stage.turn-next .page:not([hidden]) { animation: turn-next .45s ease both; }
  .book__stage.turn-prev .page:not([hidden]) { animation: turn-prev .45s ease both; }
  @keyframes turn-next { from { opacity: 0; transform: translateX(28px) rotateY(-8deg); } to { opacity: 1; transform: none; } }
  @keyframes turn-prev { from { opacity: 0; transform: translateX(-28px) rotateY(8deg); } to { opacity: 1; transform: none; } }
}
@media print { .book__nav, .book__tools { display: none !important; } .book .page[hidden] { display: block !important; } }

/* Organizátor a partneři */
.org-logo { display: inline-block; margin-top: 4px; }
.org-logo img { height: 52px; width: auto; max-width: none; }
.footer-partners { margin-top: 44px; padding-top: 28px; border-top: 1px solid var(--line); display: grid; gap: 14px 48px; align-items: center; }
.footer-partners h2 { margin: 0; }
.footer-partners .partners { margin: 0; }
.partners .mid { height: 34px; }
.partners-join { margin: 0; color: var(--ink-soft); }
.partners-join a { color: var(--plum); font-weight: 700; }
@media (min-width: 900px) { .footer-partners { grid-template-columns: auto 1fr auto; } }
.org-row { display: grid; gap: 28px 56px; margin: 2rem 0 2.75rem; align-items: start; }
@media (min-width: 800px) { .org-row { grid-template-columns: auto 1fr; } }
.org-label { margin: 0 0 .75rem; font-size: .82rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--rose-on-plum); }
.green-note { margin-top: 2.5rem; max-width: 640px; padding: 24px 28px; background: var(--white); border-radius: 26px 10px 30px 12px / 12px 28px 10px 26px; }
.green-note p:last-child { margin: 0; color: var(--ink-soft); }

main { overflow-x: clip; }
h1, h2, h3 { overflow-wrap: break-word; hyphens: manual; }
.partner-name { display: inline-flex; align-items: center; min-height: 44px; font-size: 1.35rem; font-weight: 700; letter-spacing: .02em; color: var(--ink); text-decoration: none; }
a.partner-name:hover { color: var(--plum); text-decoration: underline; }
.paint-block .partner-name { color: var(--white); }
.media-note { margin: 2rem 0 0; font-size: 1.15rem; }
.media-note .hand { margin-right: .5rem; }
.partner-logo { display: inline-flex; align-items: center; min-height: 44px; }

/* ---------- Verze 4: jednobarevné nadpisy, poznámka v Josefin, tahy bez ořezů ---------- */
.hero__claim em, .feature__name, .story-head h1, .gallery h2 { color: var(--plum); }
.hero__art .hand-note { font-family: var(--sans); font-weight: 600; font-size: clamp(1.15rem, 1.05rem + .4vw, 1.35rem); line-height: 1.4; max-width: 17ch; color: var(--plum); }
@media (max-width: 899px) { .hero__art .hand-note { max-width: 26ch; } }

/* Hlavička podstránek: tah jen vedle textu, nikdy pod ním */
.page-head .wrap > * { position: relative; z-index: 1; }
.page-head .lead { max-width: 38ch; }
@media (min-width: 700px) { .page-head .stroke { width: min(600px, 42vw); right: -6%; top: 50%; transform: translateY(-50%) rotate(-6deg); opacity: 1; } }
@media (max-width: 699px) {
  .page-head { padding-bottom: 190px; }
  .page-head .stroke { width: 92%; right: -22%; left: auto; top: auto; bottom: -10px; transform: rotate(-6deg); opacity: .9; }
}

/* Animace: tah se „domaluje“ zleva doprava (jen dekorace, při omezení pohybu se nepřehrává) */
@media (prefers-reduced-motion: no-preference) {
  .js-paint .stroke {
    -webkit-mask-image: linear-gradient(100deg, #000 42%, transparent 58%);
            mask-image: linear-gradient(100deg, #000 42%, transparent 58%);
    -webkit-mask-size: 280% 100%; mask-size: 280% 100%;
    -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat;
    -webkit-mask-position: 100% 0; mask-position: 100% 0;
    transition: -webkit-mask-position 2.2s cubic-bezier(.25, .7, .2, 1), mask-position 2.2s cubic-bezier(.25, .7, .2, 1);
  }
  .js-paint .stroke.is-painted { -webkit-mask-position: 0 0; mask-position: 0 0; }
}

/* Sociální sítě v patičce */
.footer-social { margin-top: 36px; padding-top: 28px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 12px 32px; align-items: center; }
.footer-social h2 { margin: 0; }
.social { display: flex; flex-wrap: wrap; gap: 10px 14px; list-style: none; margin: 0; padding: 0; }
.social a { display: inline-flex; align-items: center; gap: 10px; min-height: 48px; padding: 0 18px 0 14px; border: 2px solid var(--plum); border-radius: 999px; color: var(--plum); font-weight: 700; text-decoration: none; }
.social a:hover { background: var(--plum); color: var(--white); }
.social svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.footer-bottom span:last-child { max-width: 70ch; }
.partners img.mid { height: 34px; }

/* ---------- Přepínač jazyků ---------- */
.header-tools { display: flex; align-items: center; gap: 10px; }
.langs { display: flex; list-style: none; margin: 0; padding: 0; gap: 2px; }
.langs a { display: inline-grid; place-items: center; min-width: 40px; min-height: 44px; padding: 0 6px; font-size: .9rem; font-weight: 700; letter-spacing: .06em; color: var(--ink-soft); text-decoration: none; border-radius: 8px; }
.langs a:hover { color: var(--plum); background: var(--blush); }
.langs a[aria-current="true"] { color: var(--plum); background: url(../img/stetec-ruzovy.svg) no-repeat center bottom 8px / 80% .45em; }
@media (min-width: 960px) {
  .site-header__bar { gap: 28px; }
  .site-nav { order: 2; margin-left: auto; }
  .header-tools { order: 3; }
}
@media (max-width: 380px) { .langs a { min-width: 34px; padding: 0 3px; } .nav-toggle { padding: 0 12px; } }

.hero__art .hand-note { font-family: var(--sans); font-weight: 600; }

/* Brožura jako kniha: obě strany dvojstrany mají vždy stejnou výšku (poměr A5) */
.book.is-js .book__stage { align-items: stretch; }
.page__disclaimer { margin-top: 1.5rem; padding: 12px 14px; border: 2px dashed rgba(132, 4, 77, .5); border-radius: 8px; font-size: .92rem; color: var(--plum); font-weight: 600; }
.book-note { max-width: 46ch; margin: 0 auto 24px; text-align: center; font-size: 1.02rem; color: var(--ink-soft); }
/* Hustší strany, aby se celá brožura vešla do jednoho formátu */
.page__drawing { float: right; width: 40%; margin: 0 0 8px 16px; }
.page__quote--end { clear: both; }
.page--expert { font-size: .88rem; line-height: 1.52; }
.page--expert p { margin-bottom: .7em; }
.page--expert h2 { font-size: 1.2rem; }
.page__sources { font-size: .78rem; }
.footer-media + .footer-social { margin-top: 18px; padding-top: 18px; }

/* Ochrana soukromí: klidná textová stránka */
.legal { max-width: 68ch; }
.legal h2 { font-size: clamp(1.35rem, 1.2rem + .5vw, 1.7rem); color: var(--plum); margin: 2.4rem 0 .6rem; }
.legal h2:first-child { margin-top: 0; }
.legal ul { padding-left: 1.2em; }
.legal li { margin-bottom: .5em; }
.legal a { color: var(--plum); }

/* Feedback v8: poznámka v hero je odkaz na kalendář akcí a nepřekrývá popisek fotky */
.hero__art .hand-note { text-decoration: none; transition: transform .25s ease, box-shadow .25s ease; }
.hero__art .hand-note::after { content: "→"; display: block; margin-top: 4px; font-style: normal; color: var(--pink-hover); }
.hero__art .hand-note:hover, .hero__art .hand-note:focus-visible { transform: rotate(-6deg) translateY(-3px); box-shadow: 0 16px 28px -14px rgba(60, 10, 35, .55); }
@media (min-width: 900px) { .hero__art .hand-note { bottom: 27%; left: -4%; } }
@media (max-width: 899px) { .hero__art .hand-note:hover, .hero__art .hand-note:focus-visible { transform: rotate(-3deg) translateY(-2px); } }

/* Jak se zapojit: dvě cesty (akce / příběh) */
.join-paths { display: grid; gap: 20px; margin: 0 0 clamp(56px, 7vw, 96px); }
@media (min-width: 760px) { .join-paths { grid-template-columns: 1fr 1fr; gap: 28px; } }
.join-path { position: relative; display: block; padding: clamp(24px, 3vw, 36px); padding-left: clamp(84px, 9vw, 104px); background: var(--paper-2); border-radius: 26px 10px 30px 12px / 12px 28px 10px 26px; color: var(--ink); text-decoration: none; transition: transform .25s ease, box-shadow .25s ease; }
.join-path:hover, .join-path:focus-visible { transform: translateY(-3px); box-shadow: 0 16px 30px -18px rgba(60, 10, 35, .5); }
.join-path__no { position: absolute; left: clamp(20px, 3vw, 32px); top: clamp(22px, 3vw, 34px); display: grid; place-items: center; width: 48px; height: 48px; border: 2px solid var(--plum); border-radius: 50%; font-weight: 700; font-size: 1.2rem; color: var(--plum); }
.join-path h3 { margin: 0 0 .4rem; font-size: clamp(1.35rem, 1.2rem + .6vw, 1.75rem); color: var(--plum); }
.join-path p { margin: 0 0 1rem; color: var(--ink-soft); }
.steps-title { margin: 0 0 32px; font-size: clamp(1.35rem, 1.2rem + .6vw, 1.75rem); color: var(--plum); text-align: center; scroll-margin-top: 110px; }
.join-box .btn-row { margin-top: 1rem; }

/* Brožura v8: strany A4 (210 × 297), celá dvojstrana se vejde na obrazovku, text se případně zmenší (--fit z JS) */
.book.is-js { --page-w: min(calc(100vw - 32px), calc((100svh - 170px) / 1.4142), 520px); }
@media (min-width: 960px) { .book.is-js { --page-w: min(calc((100vw - 64px) / 2), calc((100svh - 170px) / 1.4142), 560px); } }
.book.is-js .page { width: var(--page-w); max-width: none; aspect-ratio: 210 / 297; min-height: 0; overflow: hidden;
  padding: calc(var(--page-w) * .085) calc(var(--page-w) * .08) calc(var(--page-w) * .11); }
.book.is-js .page > :not(.page__no):not(.page__art):not(.page__logo):not(.page__band):not(.stroke) { zoom: var(--fit, 1); }
.book.is-js .page--cover { padding: 0; }
.book.is-js .page__no { bottom: calc(var(--page-w) * .035); }
.book.is-js .book__stage { grid-template-columns: var(--page-w); }
@media (min-width: 960px) {
  .book.is-js .book__stage { grid-template-columns: repeat(2, var(--page-w)); }
  .book.is-js .book__stage.is-single { grid-template-columns: var(--page-w); }
}
.book.is-js .page.is-scroll { overflow-y: auto; overscroll-behavior: contain; }
