:root {
  --bg: #F6F2EC;
  --bg-alt: #EFE9DF;
  --ink: #1E1D1B;
  --muted: #6E675F;
  --taupe: #9A846E;
  --line: rgba(30, 29, 27, 0.14);
  --serif: 'Cormorant Garamond', Georgia, serif;
  --sans: 'Manrope', -apple-system, BlinkMacSystemFont, sans-serif;
  --accent: #B8860B;
  --wip-green: #2E7D32;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-weight: 400;
  font-size: 15px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
a, button { color: inherit; text-decoration: none; font: inherit; cursor: pointer; }

/* Top Bar */
.top-bar {
  background: #191816;
  padding: 6px 48px;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}
.top-bar .back-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #D7C3AA;
  transition: opacity 0.2s, color 0.2s;
  font-weight: 500;
}
.top-bar .back-link:hover {
  color: #FFFFFF;
}

/* Top Bar Quote Switch */
.top-bar-Controls {
  display: flex;
  align-items: center;
  gap: 10px;
}
.top-switch-label {
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
}
.top-segmented-switch {
  display: inline-flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  padding: 2px;
  gap: 2px;
}
.motto-opt {
  background: transparent;
  border: none;
  border-radius: 999px;
  padding: 4px 12px;
  font-size: 11px;
  letter-spacing: 0.02em;
  text-transform: none;
  color: rgba(255, 255, 255, 0.65);
  transition: all 0.2s ease;
}
.motto-opt:hover {
  color: #FFFFFF;
}
.motto-opt.is-active {
  background: #D7C3AA;
  color: #191816;
  font-weight: 600;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
}

/* Navigation Header */
.nav-header {
  position: sticky;
  top: 0;
  z-index: 90;
  background: rgba(246, 242, 236, 0.94);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
  padding: 15px 48px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.brand {
  font-family: var(--serif);
  font-size: 26px;
  font-weight: 500;
  letter-spacing: 0.04em;
}
.brand span {
  font-style: italic;
  font-weight: 400;
  color: var(--taupe);
  font-size: 20px;
  margin-left: 8px;
}
.nav-links {
  display: flex;
  gap: 32px;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-weight: 500;
}
.nav-links a {
  position: relative;
  padding-bottom: 3px;
}
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 0; height: 1px;
  background: var(--ink);
  transition: width 0.3s ease;
}
.nav-links a:hover::after { width: 100%; }

/* Split Hero */
.hero {
  max-width: 1360px;
  margin: 0 auto;
  padding: 28px 48px 44px;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 108px;
  align-items: center;
  border-bottom: 1px solid var(--line);
}
.hero-visual {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.hero-frame {
  position: relative;
  overflow: hidden;
  height: clamp(380px, calc(100vh - 185px), 660px);
  aspect-ratio: 4 / 5;
  max-width: 100%;
  background: #e5dfd5;
  cursor: pointer;
}
.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: scale(1.04);
  transition: opacity 1.8s ease, transform 7s ease;
  pointer-events: none;
}
.hero-slide.is-active {
  opacity: 1;
  transform: scale(1);
}
.hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.hero-slide.is-contain-dark {
  background: #141312;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-slide.is-contain-dark img {
  object-fit: contain;
  object-position: center center;
}
.hero-controls {
  display: flex;
  justify-content: center;
  margin-top: 12px;
}
.hero-dots {
  display: flex;
  gap: 10px;
}
.hero-dot {
  width: 28px;
  height: 2px;
  background: rgba(30, 29, 27, 0.2);
  border: none;
  padding: 0;
  transition: background 0.3s ease, width 0.3s ease;
}
.hero-dot:hover {
  background-color: rgba(30, 29, 27, 0.45);
}
.hero-dot.is-active {
  background-color: var(--taupe);
  width: 36px;
}

.hero-copy {
  padding-bottom: 28px;
  max-width: 680px;
}
.issue-tag {
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--taupe);
  margin-bottom: 20px;
  display: block;
}
.hero-copy h1.hero-motto {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(2.4rem, 3.8vw, 3.8rem);
  line-height: 1.1;
  margin-bottom: 0;
}
.hero-motto-top {
  display: block;
}
.hero-copy h1.hero-motto em {
  display: block;
  font-style: italic;
  color: var(--taupe);
  margin-top: 2px;
}
.hero-motto-sub {
  display: block;
  margin-top: 10px;
  font-size: clamp(1.5rem, 2.3vw, 2.2rem);
  line-height: 1.25;
  color: var(--ink);
  font-style: italic;
}

/* Intro Text Area (below the full motto) */
.hero-text-wrap {
  position: relative;
  margin-top: 26px;
  padding-top: 22px;
}
.hero-text-wrap::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: min(100%, 40ch);
  height: 1px;
  background: var(--line);
}
.hero-lead {
  font-size: 15px;
  line-height: 1.6;
  color: var(--muted);
  max-width: 48ch;
  margin-bottom: 28px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
}

.editorial-btn {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 15px 32px;
  border: 1px solid var(--ink);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  transition: all 0.3s ease;
  background: transparent;
}
.editorial-btn:hover {
  background: var(--ink);
  color: var(--bg);
}
.editorial-btn-ghost {
  border-color: rgba(30, 29, 27, 0.28);
  color: var(--muted);
}
.editorial-btn-ghost:hover {
  border-color: var(--ink);
  background: transparent;
  color: var(--ink);
}

/* Chapter Bar */
.chapters-bar {
  max-width: 1440px;
  margin: 0 auto;
  padding: 36px 48px;
  border-bottom: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 20px;
}
.chapters-title {
  font-family: var(--serif);
  font-size: 32px;
  font-style: italic;
}
.chapter-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
}
.chapter-tab {
  background: none;
  border: none;
  font-family: var(--serif);
  font-size: 21px;
  color: var(--muted);
  padding-bottom: 4px;
  border-bottom: 1px solid transparent;
  transition: all 0.25s;
}
.chapter-tab:hover, .chapter-tab.is-active {
  color: var(--ink);
  border-bottom-color: var(--ink);
}

/* Editorial Spread Container */
.spread-section {
  max-width: 1440px;
  margin: 0 auto;
  padding: 64px 48px 96px;
  border-bottom: 1px solid var(--line);
}
.chapter-intro {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: 48px;
  margin-bottom: 56px;
  align-items: end;
}
.chapter-intro h2 {
  font-family: var(--serif);
  font-size: clamp(2.4rem, 4vw, 3.8rem);
  font-weight: 400;
  line-height: 1.05;
}
.chapter-intro p {
  color: var(--muted);
  max-width: 54ch;
  font-size: 16px;
}
.chapter-extra-controls {
  margin-top: 16px;
}
.inline-mode-switch {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}
.inline-mode-label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--muted);
  margin-right: 4px;
}
.inline-mode-btn {
  background: transparent;
  border: 1px solid rgba(30, 29, 27, 0.22);
  padding: 6px 14px;
  font-size: 11.5px;
  letter-spacing: 0.06em;
  color: var(--muted);
  transition: all 0.2s ease;
}
.inline-mode-btn:hover {
  border-color: var(--ink);
  color: var(--ink);
}
.inline-mode-btn.is-active {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--bg);
}

/* Asymmetric Editorial Grid — Pure Photos */
.editorial-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 48px 32px;
  align-items: start;
}
.ed-card {
  cursor: pointer;
  position: relative;
}

/* Explicit Editorial Column Spans */
.ed-card.ed-layout-full,
.ed-card.ed-span-12 {
  grid-column: 1 / -1;
}
.ed-card.ed-span-8 {
  grid-column: span 8;
}
.ed-card.ed-span-7 {
  grid-column: span 7;
}
.ed-card.ed-span-6 {
  grid-column: span 6;
}
.ed-card.ed-span-5 {
  grid-column: span 5;
}
.ed-card.ed-span-4 {
  grid-column: span 4;
}
.ed-card.ed-center-6 {
  grid-column: 4 / span 6;
  margin: 24px 0;
}
.ed-card.ed-center-8 {
  grid-column: 3 / span 8;
  margin: 24px 0;
}
.ed-card.ed-center-10 {
  grid-column: 2 / span 10;
  margin: 24px 0;
}

/* Offsets / Staggers */
.ed-card.ed-offset-lg {
  margin-top: 64px;
}
.ed-card.ed-offset-sm {
  margin-top: 36px;
}

/* Fallback default rhythm for any card without explicit layout class */
.ed-card:not([class*="ed-span-"]):not([class*="ed-center-"]):not([class*="ed-layout-full"]):nth-child(6n + 1) { grid-column: span 7; }
.ed-card:not([class*="ed-span-"]):not([class*="ed-center-"]):not([class*="ed-layout-full"]):nth-child(6n + 2) { grid-column: span 5; margin-top: 64px; }
.ed-card:not([class*="ed-span-"]):not([class*="ed-center-"]):not([class*="ed-layout-full"]):nth-child(6n + 3) { grid-column: span 4; }
.ed-card:not([class*="ed-span-"]):not([class*="ed-center-"]):not([class*="ed-layout-full"]):nth-child(6n + 4) { grid-column: span 4; margin-top: 36px; }
.ed-card:not([class*="ed-span-"]):not([class*="ed-center-"]):not([class*="ed-layout-full"]):nth-child(6n + 5) { grid-column: span 4; }
.ed-card:not([class*="ed-span-"]):not([class*="ed-center-"]):not([class*="ed-layout-full"]):nth-child(6n + 6) { grid-column: 3 / span 8; margin: 24px 0; }

/* Image Container Aspect Ratios based on Actual Orientation */
.ed-img-wrap {
  overflow: hidden;
  background: #e8e1d7;
}

/* Portrait */
.ed-card.is-portrait .ed-img-wrap {
  aspect-ratio: 3 / 4;
}
.ed-card.is-portrait.ed-span-4 .ed-img-wrap {
  aspect-ratio: 0.7;
}

/* Classic 4:3 Landscape */
.ed-card.is-classic .ed-img-wrap {
  aspect-ratio: 4 / 3;
}

/* Landscape 3:2 */
.ed-card.is-landscape .ed-img-wrap {
  aspect-ratio: 3 / 2;
}
.ed-card.is-landscape.ed-center-8 .ed-img-wrap,
.ed-card.is-landscape.ed-center-10 .ed-img-wrap {
  aspect-ratio: 3 / 2;
}

/* Panorama / Wide */
.ed-card.is-wide .ed-img-wrap,
.ed-card.is-panorama .ed-img-wrap {
  aspect-ratio: 2.45 / 1;
}

/* Square */
.ed-card.is-square .ed-img-wrap {
  aspect-ratio: 1 / 1;
}

/* Fallback aspect ratios if orientation class is missing */
.ed-card:not([class*="is-"]):nth-child(6n + 1) .ed-img-wrap,
.ed-card:not([class*="is-"]):nth-child(6n + 2) .ed-img-wrap { aspect-ratio: 4 / 5; }
.ed-card:not([class*="is-"]):nth-child(6n + 3) .ed-img-wrap,
.ed-card:not([class*="is-"]):nth-child(6n + 4) .ed-img-wrap,
.ed-card:not([class*="is-"]):nth-child(6n + 5) .ed-img-wrap { aspect-ratio: 3 / 4; }
.ed-card:not([class*="is-"]):nth-child(6n + 6) .ed-img-wrap { aspect-ratio: 16 / 10; }

.ed-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.7s ease;
}
.ed-card:hover .ed-img-wrap img {
  transform: scale(1.03);
}

/* Protective Focal Point Alignments */
.ed-card[data-focal="top"] img,
.hero-slide[data-focal="top"] img {
  object-position: center 8%;
}
.ed-card[data-focal="bottom"] img,
.hero-slide[data-focal="bottom"] img {
  object-position: center 90%;
}
.ed-card[data-focal="center-top"] img,
.hero-slide[data-focal="center-top"] img {
  object-position: center 25%;
}
.ed-card[data-focal="center"] img,
.hero-slide[data-focal="center"] img {
  object-position: center center;
}

/* Empty Category State (e.g. Volná tvorba — Lesataj) */
.editorial-empty {
  grid-column: span 12;
  padding: 72px 32px;
  border: 1px solid var(--line);
  background: var(--bg-alt);
  text-align: center;
}
.editorial-empty-tag {
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--taupe);
  display: block;
  margin-bottom: 10px;
}
.editorial-empty h3 {
  font-family: var(--serif);
  font-size: 32px;
  font-weight: 400;
  font-style: italic;
  margin-bottom: 8px;
}
.editorial-empty p {
  color: var(--muted);
  font-size: 14.5px;
}

/* Contact Footer */
.ed-footer {
  max-width: 1440px;
  margin: 0 auto;
  padding: 88px 48px 48px;
  text-align: center;
}
.ed-footer h2 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(2.5rem, 5vw, 4.4rem);
  margin-bottom: 12px;
  line-height: 1.08;
}
.ed-footer h2 em { font-style: italic; color: var(--taupe); }

.ed-form {
  max-width: 580px;
  margin: 0 auto 56px;
  text-align: left;
  display: grid;
  gap: 18px;
}
.ed-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.ed-field {
  display: grid;
  gap: 6px;
}
.ed-field label {
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 500;
}
.ed-field input,
.ed-field textarea {
  width: 100%;
  background: rgba(30, 29, 27, 0.03);
  border: 1px solid rgba(30, 29, 27, 0.2);
  color: var(--ink);
  padding: 13px 15px;
  font-family: var(--sans);
  font-size: 14px;
  outline: none;
  transition: border-color 0.2s, background 0.2s;
}
.ed-field input:focus,
.ed-field textarea:focus {
  border-color: var(--ink);
  background: #fff;
}
.ed-submit-wrap {
  text-align: center;
  margin-top: 6px;
}
.ed-submit {
  background: var(--ink);
  color: var(--bg);
  border: 1px solid var(--ink);
  padding: 15px 38px;
  font-family: var(--sans);
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.25s, color 0.25s;
}
.ed-submit:hover {
  background: transparent;
  color: var(--ink);
}
.ed-status {
  display: none;
  padding: 14px;
  border: 1px solid var(--taupe);
  background: rgba(154, 132, 110, 0.1);
  font-size: 13px;
  color: var(--ink);
  text-align: center;
}
.ed-status.is-visible { display: block; }
.ed-status.is-error {
  border-color: #a4473d;
  background: rgba(164, 71, 61, 0.08);
}
.ed-submit:disabled {
  opacity: 0.6;
  cursor: wait;
}

.ed-bottom-bar {
  border-top: 1px solid var(--line);
  padding-top: 28px;
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  flex-wrap: wrap;
  gap: 16px;
}

/* Lesataj Calendar Strip at Top of Volná tvorba Gallery */
.lesataj-calendar-strip {
  grid-column: 1 / -1;
  background: var(--bg-alt);
  border: 1px solid var(--line);
  padding: 32px 36px;
  margin-bottom: 16px;
}
.lesataj-calendar-strip-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 24px;
}
.lesataj-strip-eyebrow {
  font-size: 10.5px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--taupe);
  display: block;
  margin-bottom: 6px;
  font-weight: 600;
}
.lesataj-calendar-strip-head h3 {
  font-family: var(--serif);
  font-size: clamp(1.8rem, 2.8vw, 2.4rem);
  font-weight: 400;
  line-height: 1.1;
  margin-bottom: 6px;
}
.lesataj-calendar-strip-head h3 em {
  font-style: italic;
  color: var(--taupe);
}
.lesataj-calendar-strip-head p {
  color: var(--muted);
  font-size: 14.5px;
  max-width: 58ch;
}
.lesataj-strip-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.lesataj-strip-Row {
  display: grid;
  grid-template-columns: repeat(13, minmax(88px, 1fr));
  gap: 10px;
  overflow-x: auto;
  padding-bottom: 6px;
}
.lesataj-strip-item {
  background: #fff;
  border: 1px solid var(--line);
  padding: 0;
  display: block;
  overflow: hidden;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}
.lesataj-strip-item:hover {
  transform: translateY(-3px);
  border-color: var(--taupe);
  box-shadow: 0 8px 20px rgba(30, 29, 27, 0.08);
}
.lesataj-strip-item img {
  width: 100%;
  aspect-ratio: 768 / 1075;
  object-fit: cover;
  display: block;
}

/* INFO Section (Ceník, Kalendář Lesataj, Dárkové poukazy, Adjustace) */
.info-section {
  max-width: 1440px;
  margin: 0 auto;
  padding: 80px 48px 92px;
  border-bottom: 1px solid var(--line);
}
.info-header {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: 48px;
  align-items: end;
  margin-bottom: 52px;
}
.info-header h2 {
  font-family: var(--serif);
  font-size: clamp(2.4rem, 4vw, 3.8rem);
  font-weight: 400;
  line-height: 1.05;
}
.info-header h2 em {
  font-style: italic;
  color: var(--taupe);
}
.info-lead {
  color: var(--muted);
  font-size: 16px;
  max-width: 54ch;
}

.calendar-feature {
  background: var(--bg-alt);
  border: 1px solid var(--line);
  padding: 36px 40px;
  display: grid;
  grid-template-columns: 3.8fr 8.2fr;
  gap: 36px;
  align-items: center;
  margin-bottom: 44px;
}
.calendar-badge-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 16px;
}
.calendar-badge {
  font-size: 10.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  background: var(--ink);
  color: var(--bg);
  padding: 5px 12px;
  font-weight: 500;
}
.calendar-note-pill {
  font-size: 10.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border: 1px solid rgba(154, 132, 110, 0.5);
  color: var(--taupe);
  padding: 4px 11px;
}
.calendar-feature-copy h3 {
  font-family: var(--serif);
  font-size: clamp(2rem, 3.2vw, 3rem);
  font-weight: 400;
  line-height: 1.08;
  margin-bottom: 14px;
}
.calendar-feature-copy h3 em {
  font-style: italic;
  color: var(--taupe);
}
.calendar-feature-copy p {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.65;
  margin-bottom: 26px;
}
.calendar-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 0;
}
.calendar-goto-gallery {
  background: none;
  border: none;
  padding: 0;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--taupe);
  border-bottom: 1px solid rgba(154, 132, 110, 0.45);
  padding-bottom: 2px;
  transition: color 0.2s, border-color 0.2s;
}
.calendar-goto-gallery:hover {
  color: var(--ink);
  border-color: var(--ink);
}

.calendar-feature-visual {
  display: grid;
  grid-template-columns: 2.05fr 6fr;
  gap: 12px;
  align-items: center;
}
.calendar-cover-card {
  background: #fff;
  border: 1px solid var(--line);
  padding: 0;
  cursor: pointer;
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.calendar-cover-card:hover {
  transform: translateY(-3px);
  border-color: var(--ink);
  box-shadow: 0 14px 32px rgba(30, 29, 27, 0.1);
}
.calendar-cover-card img {
  width: 100%;
  aspect-ratio: 768 / 1075;
  object-fit: cover;
  display: block;
}
.calendar-thumbs {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 8px;
}
.calendar-thumb-btn {
  background: #fff;
  border: 1px solid var(--line);
  padding: 0;
  display: block;
  overflow: hidden;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}
.calendar-thumb-btn:hover {
  transform: translateY(-2px);
  border-color: var(--ink);
  box-shadow: 0 8px 20px rgba(30, 29, 27, 0.08);
}
.calendar-thumb-btn img {
  width: 100%;
  aspect-ratio: 768 / 1075;
  object-fit: cover;
  display: block;
}

.info-cards-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}
.info-card {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.38);
  padding: 34px 30px;
  display: flex;
  flex-direction: column;
}
.info-card-num {
  font-family: var(--serif);
  font-style: italic;
  font-size: 20px;
  color: var(--taupe);
  margin-bottom: 8px;
}
.info-card h3 {
  font-family: var(--serif);
  font-size: 28px;
  font-weight: 400;
  line-height: 1.15;
  margin-bottom: 12px;
}
.info-card p {
  color: var(--muted);
  font-size: 14.5px;
  line-height: 1.65;
  margin-bottom: 14px;
}
.info-card-placeholder {
  font-size: 13px !important;
  padding-top: 12px;
  border-top: 1px solid var(--line);
  color: var(--taupe) !important;
  margin-bottom: 22px !important;
}
.info-card-link {
  margin-top: auto;
  align-self: flex-start;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 500;
  border-bottom: 1px solid var(--ink);
  padding-bottom: 3px;
  transition: color 0.2s, border-color 0.2s;
}
.info-card-link:hover {
  color: var(--taupe);
  border-color: var(--taupe);
}

#uvod, #kapitoly, #info, #poukazy, #kontakt {
  scroll-margin-top: 68px;
}

@media (max-width: 980px) {
  .top-bar { padding: 8px 24px; }
  .nav-header { padding: 14px 24px; }
  .hero { grid-template-columns: 1fr; padding: 28px 24px 48px; gap: 32px; }
  .hero-frame { width: 100%; max-width: 440px; height: auto; }
  .hero-copy { width: 100%; max-width: 520px; margin: 0 auto; padding-bottom: 0; }
  .chapters-bar, .spread-section, .info-section, .ed-footer { padding-left: 24px; padding-right: 24px; }
  .chapters-bar { padding-top: 28px; padding-bottom: 28px; gap: 16px; }
  .chapter-tabs { gap: 14px 22px; }
  .spread-section, .info-section { padding-top: 44px; padding-bottom: 72px; }
  .chapter-intro, .info-header, .calendar-feature { grid-template-columns: 1fr; gap: 20px; margin-bottom: 36px; }
  .calendar-feature { padding: 28px 24px; }
  .info-cards-grid { grid-template-columns: 1fr; gap: 20px; }
  .editorial-grid { gap: 24px 18px; }
  .ed-card.ed-offset-lg { margin-top: 32px; }
  .ed-card.ed-offset-sm { margin-top: 20px; }
  .ed-card.ed-center-6 { grid-column: 3 / span 8; margin: 16px 0; }
  .ed-card.ed-center-8 { grid-column: 2 / span 10; margin: 16px 0; }
  .ed-card:nth-child(6n + 2) { margin-top: 32px; }
  .ed-card:nth-child(6n + 4) { margin-top: 20px; }
  .ed-card:nth-child(6n + 6) { grid-column: 2 / span 10; margin: 16px 0; }
}

@media (max-width: 640px) {
  /* Top Bar: clean, compact & zero horizontal overflow */
  .top-bar {
    padding: 8px 16px;
    gap: 7px;
    flex-direction: column;
    align-items: stretch;
  }
  .top-bar .back-link {
    font-size: 10px;
    letter-spacing: 0.12em;
    align-self: flex-start;
  }
  .top-bar-Controls {
    width: 100%;
    gap: 6px;
  }
  .top-switch-label {
    display: none;
  }
  .top-segmented-switch {
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    padding: 2px;
  }
  .motto-opt {
    padding: 5px 6px;
    font-size: 10.5px;
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  /* Sticky Navigation Header: visible nav links + stacked editorial brand */
  .nav-header {
    padding: 11px 16px;
    gap: 10px;
  }
  .brand {
    font-size: 18px;
    letter-spacing: 0.03em;
    line-height: 1.08;
    display: flex;
    flex-direction: column;
  }
  .brand span {
    font-size: 13px;
    margin-left: 0;
    margin-top: 2px;
  }
  .nav-links {
    display: flex;
    gap: 14px;
    font-size: 10px;
    letter-spacing: 0.12em;
    flex-shrink: 0;
  }

  /* Hero Section: balanced above-the-fold composition & unbroken 3-line motto */
  .hero {
    padding: 16px 16px 36px;
    gap: 22px;
  }
  .hero-frame {
    width: 100%;
    max-width: 100%;
    height: auto;
    aspect-ratio: 4 / 4.6;
  }
  .hero-controls {
    margin-top: 10px;
  }
  .hero-dot {
    height: 18px;
    padding: 8px 0;
    background-clip: content-box;
  }
  .hero-copy {
    max-width: 100%;
  }
  .issue-tag {
    font-size: 10px;
    letter-spacing: 0.2em;
    margin-bottom: 10px;
  }
  .hero-copy h1.hero-motto {
    font-size: clamp(1.85rem, 7.8vw, 2.3rem);
    line-height: 1.12;
  }
  .hero-motto-sub {
    margin-top: 8px;
    font-size: clamp(1.2rem, 5.1vw, 1.48rem);
    line-height: 1.24;
  }
  .hero-text-wrap {
    margin-top: 18px;
    padding-top: 16px;
  }
  .hero-text-wrap::before {
    width: 72%;
    max-width: 260px;
  }
  .hero-lead {
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 20px;
    max-width: 100%;
  }
  .editorial-btn {
    padding: 13px 26px;
    font-size: 10.5px;
    letter-spacing: 0.18em;
  }

  /* Portfolio Category Selector: compact & scannable */
  .chapters-bar {
    padding: 20px 16px 16px;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
  .chapters-title {
    font-size: 24px;
    line-height: 1.1;
  }
  .chapter-tabs {
    width: 100%;
    gap: 8px 16px;
  }
  .chapter-tab {
    font-size: 17.5px;
    padding-bottom: 2px;
  }

  /* Editorial Spread & Magazine Grid Rhythm for Mobile */
  .spread-section {
    padding: 26px 16px 52px;
  }
  .chapter-intro {
    gap: 8px;
    margin-bottom: 22px;
  }
  .chapter-intro h2 {
    font-size: clamp(1.9rem, 7.5vw, 2.3rem);
  }
  .chapter-intro p {
    font-size: 14px;
    line-height: 1.55;
  }
  .editorial-grid {
    gap: 14px 12px;
  }
  .ed-card {
    margin: 0 !important;
  }
  /* Mobile orientation-aware layout */
  .ed-card.is-portrait {
    grid-column: span 6 !important;
  }
  .ed-card.is-portrait .ed-img-wrap {
    aspect-ratio: 3 / 4 !important;
  }
  .ed-card.is-square {
    grid-column: span 6 !important;
  }
  .ed-card.is-square .ed-img-wrap {
    aspect-ratio: 1 / 1 !important;
  }
  .ed-card.is-portrait.is-mobile-full,
  .ed-card.is-portrait.is-lead {
    grid-column: span 12 !important;
  }
  .ed-card.is-portrait.is-mobile-full .ed-img-wrap,
  .ed-card.is-portrait.is-lead .ed-img-wrap {
    aspect-ratio: 4 / 5 !important;
  }
  .ed-card.is-square.is-mobile-full {
    grid-column: span 12 !important;
  }
  .ed-card.is-square.is-mobile-full .ed-img-wrap {
    aspect-ratio: 1 / 1 !important;
  }
  .ed-card.is-landscape,
  .ed-card.is-classic {
    grid-column: span 12 !important;
  }
  .ed-card.is-classic .ed-img-wrap {
    aspect-ratio: 4 / 3 !important;
  }
  .ed-card.is-landscape .ed-img-wrap {
    aspect-ratio: 3 / 2 !important;
  }
  .lesataj-calendar-strip {
    padding: 20px 16px;
  }
  .lesataj-strip-Row {
    grid-template-columns: repeat(13, 76px);
  }
  .info-section {
    padding: 36px 16px 52px;
  }
  .calendar-feature {
    padding: 22px 16px;
  }
  .calendar-feature-visual {
    grid-template-columns: 1fr;
  }
  .calendar-cover-card {
    max-width: 220px;
    margin: 0 auto;
  }
  .calendar-thumbs {
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
  }
  .info-card {
    padding: 24px 20px;
  }
  .ed-card.is-wide,
  .ed-card.is-panorama {
    grid-column: span 12 !important;
  }
  .ed-card.is-wide .ed-img-wrap,
  .ed-card.is-panorama .ed-img-wrap {
    aspect-ratio: 2.2 / 1 !important;
  }
  /* Fallback for legacy nth-child */
  .ed-card:not([class*="is-"]):nth-child(6n + 1) {
    grid-column: span 12 !important;
  }
  .ed-card:not([class*="is-"]):nth-child(6n + 1) .ed-img-wrap {
    aspect-ratio: 4 / 5 !important;
  }
  .ed-card:not([class*="is-"]):nth-child(6n + 2),
  .ed-card:not([class*="is-"]):nth-child(6n + 3),
  .ed-card:not([class*="is-"]):nth-child(6n + 4),
  .ed-card:not([class*="is-"]):nth-child(6n + 5) {
    grid-column: span 6 !important;
  }
  .ed-card:not([class*="is-"]):nth-child(6n + 2) .ed-img-wrap,
  .ed-card:not([class*="is-"]):nth-child(6n + 3) .ed-img-wrap,
  .ed-card:not([class*="is-"]):nth-child(6n + 4) .ed-img-wrap,
  .ed-card:not([class*="is-"]):nth-child(6n + 5) .ed-img-wrap {
    aspect-ratio: 3 / 4 !important;
  }
  .ed-card:not([class*="is-"]):nth-child(6n + 6) {
    grid-column: span 12 !important;
  }
  .ed-card:not([class*="is-"]):nth-child(6n + 6) .ed-img-wrap {
    aspect-ratio: 16 / 10 !important;
  }

  .editorial-empty {
    padding: 44px 20px;
  }
  .editorial-empty h3 {
    font-size: 26px;
  }

  /* Contact Footer */
  .ed-footer {
    padding: 52px 16px 32px;
  }
  .ed-footer h2 {
    font-size: clamp(2rem, 8.5vw, 2.6rem);
    margin-bottom: 10px;
  }
  .ed-footer > p {
    font-size: 14px !important;
    margin-bottom: 28px !important;
  }
  .ed-form {
    gap: 14px;
    margin-bottom: 40px;
  }
  .ed-form-row {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .ed-field input,
  .ed-field textarea {
    font-size: 16px;
    padding: 12px 14px;
  }
  .ed-submit {
    width: 100%;
    padding: 15px 24px;
  }
  .ed-bottom-bar {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 8px;
    padding-top: 22px;
    font-size: 10px;
  }
}

@media (max-width: 360px) {
  .brand { font-size: 16.5px; }
  .nav-links { gap: 10px; font-size: 9.5px; letter-spacing: 0.09em; }
  .motto-opt { font-size: 9.5px; padding: 5px 4px; }
}

/* ===== 2026-11-18: O mně panel, Info section & compact calendar ===== */
#o-mne { scroll-margin-top: 76px; }

/* O mně — full text, expands under the hero */
.about-panel {
  display: none;
  background: var(--bg-alt);
  border-bottom: 1px solid var(--line);
}
.about-panel.is-open {
  display: block;
  animation: aboutFade 0.45s ease both;
}
@keyframes aboutFade {
  from { opacity: 0; }
  to { opacity: 1; }
}
@media (prefers-reduced-motion: reduce) {
  .about-panel.is-open { animation: none; }
}
.about-panel-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 72px 48px 64px;
}
.about-head { margin-bottom: 34px; }
.about-head h2 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(2.2rem, 3.6vw, 3.4rem);
  line-height: 1.05;
}
.about-head h2 em { font-style: italic; color: var(--taupe); }
.about-columns {
  columns: 2;
  column-gap: 64px;
}
.about-columns p {
  font-size: 15.5px;
  line-height: 1.8;
  color: #3d3a36;
  margin-bottom: 1.15em;
  break-inside: avoid-column;
}
.about-closing {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1.35rem, 2vw, 1.75rem);
  line-height: 1.4;
  color: var(--taupe);
  max-width: 46ch;
  margin: 18px 0 30px;
  padding-top: 26px;
  border-top: 1px solid var(--line);
}
.about-close {
  background: none;
  border: none;
  padding: 0 0 3px;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 500;
  border-bottom: 1px solid var(--ink);
  transition: color 0.2s, border-color 0.2s;
}
.about-close:hover { color: var(--taupe); border-color: var(--taupe); }

/* Info cards grid + compact full-width calendar bar below */
.info-cards-grid {
  margin-bottom: 32px;
}
.info-card p {
  margin-bottom: 22px;
}
.calendar-feature {
  grid-template-columns: 126px 1fr auto;
  gap: 36px;
  padding: 28px 36px;
  margin-bottom: 0;
  align-items: center;
}
.calendar-feature-visual { display: block; }
.calendar-cover-card { display: block; width: 100%; font: inherit; }
.calendar-feature-copy h3 {
  font-size: clamp(1.75rem, 2.5vw, 2.3rem);
  margin-bottom: 8px;
}
.calendar-feature-copy p {
  margin-bottom: 0;
  max-width: 58ch;
  font-size: 14.5px;
}

/* Inline Gift Vouchers Showcase (#poukazy — 0 extra pages, shared lightbox) */
.voucher-feature {
  background: var(--bg-alt);
  border: 1px solid var(--line);
  padding: 20px 30px;
  margin-bottom: 24px;
  display: grid;
  grid-template-columns: 1fr auto;
  grid-template-areas:
    "copy visual"
    "actions visual";
  column-gap: 32px;
  row-gap: 14px;
  align-items: center;
}
.voucher-feature-copy {
  grid-area: copy;
  align-self: end;
}
.voucher-feature-copy h3 {
  font-family: var(--serif);
  font-size: clamp(1.65rem, 2.3vw, 2.15rem);
  font-weight: 400;
  line-height: 1.08;
  margin-bottom: 8px;
}
.voucher-feature-copy h3 em {
  font-style: italic;
  color: var(--taupe);
}
.voucher-feature-copy p {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
  max-width: 50ch;
}
.voucher-feature-actions {
  grid-area: actions;
  align-self: start;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 18px;
}
.voucher-hint {
  font-size: 10.5px;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: var(--taupe);
}
.voucher-visual {
  grid-area: visual;
  min-width: 0;
}
.voucher-rail {
  display: grid;
  grid-template-columns: repeat(3, 170px);
  gap: 14px;
  align-items: start;
}
.voucher-item {
  background: none;
  border: none;
  padding: 0;
  margin: 0;
  font: inherit;
  color: inherit;
  cursor: pointer;
  display: block;
  min-width: 0;
}
.voucher-frame {
  display: block;
  width: 100%;
  background: #FAF7F2;
  border: 1px solid rgba(30, 29, 27, 0.14);
  overflow: hidden;
  box-shadow: 0 10px 22px -10px rgba(30, 29, 27, 0.24);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.voucher-frame img {
  width: 100%;
  height: auto;
  aspect-ratio: 150 / 210;
  object-fit: cover;
  display: block;
}
.voucher-item:hover .voucher-frame {
  transform: translateY(-3px);
  border-color: var(--ink);
  box-shadow: 0 16px 28px -10px rgba(30, 29, 27, 0.32);
}
.voucher-dots {
  display: none;
}

/* Direct contact links in footer */
.ed-direct-contact {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 36px;
  font-size: 13.5px;
  letter-spacing: 0.06em;
  color: var(--ink);
}
.ed-direct-contact a {
  border-bottom: 1px solid rgba(30, 29, 27, 0.28);
  padding-bottom: 2px;
  transition: color 0.2s, border-color 0.2s;
}
.ed-direct-contact a:hover {
  color: var(--taupe);
  border-color: var(--taupe);
}
.ed-contact-dot {
  color: var(--taupe);
}

/* Compact calendar teaser (Lesataj tab) */
.lesataj-calendar-strip.is-compact {
  display: grid;
  grid-template-columns: 110px 1fr auto;
  gap: 32px;
  align-items: center;
  padding: 24px 32px;
}
.lesataj-strip-cover {
  background: #fff;
  border: 1px solid var(--line);
  padding: 0;
  display: block;
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}
.lesataj-strip-cover:hover {
  transform: translateY(-3px);
  border-color: var(--ink);
  box-shadow: 0 10px 24px rgba(30, 29, 27, 0.1);
}
.lesataj-strip-cover img {
  width: 100%;
  aspect-ratio: 768 / 1075;
  object-fit: cover;
  display: block;
}
.lesataj-strip-copy h3 {
  font-family: var(--serif);
  font-size: clamp(1.6rem, 2.4vw, 2.15rem);
  font-weight: 400;
  line-height: 1.1;
  margin-bottom: 6px;
}
.lesataj-strip-copy h3 em { font-style: italic; color: var(--taupe); }
.lesataj-strip-copy p {
  color: var(--muted);
  font-size: 14px;
  max-width: 54ch;
  margin: 0;
}

@media (max-width: 980px) {
  .about-panel-inner { padding: 48px 24px 44px; }
  .about-columns { columns: 1; }
  .info-cards-grid { margin-bottom: 20px; }
  .voucher-feature {
    grid-template-columns: 1fr;
    grid-template-areas:
      "copy"
      "visual"
      "actions";
    gap: 16px;
    padding: 22px 22px;
    margin-bottom: 20px;
  }
  .voucher-feature-copy p {
    max-width: 58ch;
  }
  .voucher-rail {
    grid-template-columns: repeat(3, minmax(0, 174px));
    gap: 14px;
  }
  .voucher-feature-actions {
    gap: 10px 16px;
  }
  .calendar-feature {
    grid-template-columns: 110px 1fr;
    gap: 22px;
    padding: 24px;
  }
  .calendar-actions {
    grid-column: 1 / -1;
  }
  .lesataj-calendar-strip.is-compact {
    grid-template-columns: 100px 1fr;
    gap: 20px;
    padding: 20px 22px;
  }
  .lesataj-strip-actions {
    grid-column: 1 / -1;
  }
}
@media (max-width: 640px) {
  .about-panel-inner { padding: 36px 16px 36px; }
  .about-head { margin-bottom: 22px; }
  .about-columns p { font-size: 15px; line-height: 1.75; }
  .calendar-feature {
    grid-template-columns: 92px 1fr;
    gap: 16px;
    padding: 20px 16px;
  }
  .calendar-cover-card {
    max-width: none;
    margin: 0;
  }
  .lesataj-calendar-strip.is-compact {
    grid-template-columns: 86px 1fr;
    gap: 16px;
    padding: 18px 16px;
  }
  .hero-actions .editorial-btn { width: auto; }
}

/* ===== Ported UI v2 Refinements (1–4) ===== */

/* 1. Shrinking sticky header + active section highlight */
.nav-header {
  transition: padding 0.3s ease, box-shadow 0.3s ease, background 0.3s ease, border-color 0.3s ease;
}
.brand, .brand span {
  transition: font-size 0.3s ease;
}
.nav-header.is-scrolled {
  padding: 10px 48px;
  background: rgba(246, 242, 236, 0.96);
  box-shadow: 0 10px 24px -18px rgba(60, 40, 20, 0.38);
}
.nav-header.is-scrolled .brand { font-size: 21px; }
.nav-header.is-scrolled .brand span { font-size: 16.5px; }
.nav-links a.is-current {
  color: var(--taupe);
}
.nav-links a.is-current::after {
  width: 100%;
  background: var(--taupe);
}

/* 2. Delicate hairline accent next to section tags */
.issue-tag {
  display: inline-flex;
  align-items: center;
  gap: 16px;
}
.issue-tag::after {
  content: "";
  width: 56px;
  height: 1px;
  background: rgba(154, 132, 110, 0.55);
}
.ed-footer .issue-tag {
  display: flex;
  justify-content: center;
}
.ed-footer .issue-tag::before {
  content: "";
  width: 36px;
  height: 1px;
  background: rgba(154, 132, 110, 0.45);
}
.ed-footer .issue-tag::after {
  width: 36px;
  background: rgba(154, 132, 110, 0.45);
}

/* 3. Cleaner surface & subtle hover lift on Info cards */
.info-card {
  background: rgba(255, 255, 255, 0.55);
  box-shadow: 0 10px 28px -18px rgba(60, 40, 20, 0.18);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.info-card:hover {
  transform: translateY(-2px);
  border-color: rgba(154, 132, 110, 0.45);
  box-shadow: 0 18px 34px -18px rgba(60, 40, 20, 0.28);
}

/* 4. Micro-polish: selection, focus ring & mobile dot tap targets */
::selection {
  background: var(--taupe);
  color: #fff;
}
a:focus-visible, button:focus-visible {
  outline: 2px solid var(--taupe);
  outline-offset: 4px;
}
@media (max-width: 980px) {
  .nav-header.is-scrolled { padding: 10px 24px; }
}
@media (max-width: 640px) {
  .nav-header.is-scrolled { padding: 9px 16px; }
  .nav-header.is-scrolled .brand { font-size: 17px; }
  .nav-header.is-scrolled .brand span { font-size: 12.5px; }
  .hero-dot {
    box-sizing: content-box;
    height: 3px;
    padding: 16px 0;
    background-clip: content-box;
  }
}

/* ===== Mobile Optimization Layer (<= 640px & touch devices; Desktop > 640px untouched) ===== */
.mobile-chapter-pager {
  display: none;
}

@media (max-width: 640px) {
  html, body {
    overflow-x: clip;
    -webkit-tap-highlight-color: rgba(154, 132, 110, 0.16);
  }
  a, button, .ed-card {
    touch-action: manipulation;
  }
  #uvod, #kapitoly, #info, #poukazy, #kontakt, #o-mne {
    scroll-margin-top: 66px;
  }

  /* Top Bar: comfortable tap height & safe-area aware */
  .top-bar {
    padding: 0 max(16px, env(safe-area-inset-right)) 0 max(16px, env(safe-area-inset-left));
    min-height: 36px;
    justify-content: center;
  }
  .top-bar .back-link {
    min-height: 36px;
    padding: 4px 0;
  }

  /* Sticky Navigation Header: sleek 1-row on wide phones (521–640px), editorial 2-row on phones (<= 520px) */
  .nav-header {
    padding: 8px max(16px, env(safe-area-inset-right)) 8px max(16px, env(safe-area-inset-left));
    gap: 12px;
  }
  .nav-header.is-scrolled {
    padding: 6px max(16px, env(safe-area-inset-right)) 6px max(16px, env(safe-area-inset-left));
  }
  .brand {
    font-size: 18px;
    line-height: 1.06;
    flex-shrink: 0;
  }
  .brand span {
    font-size: 13px;
    margin-top: 1px;
  }
  .nav-header.is-scrolled .brand {
    font-size: 16.5px;
  }
  .nav-header.is-scrolled .brand span {
    font-size: 12px;
  }
  .nav-links {
    gap: 16px;
    font-size: 10.5px;
    letter-spacing: 0.12em;
    align-items: center;
  }
  .nav-links a {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    padding: 0 3px;
    white-space: nowrap;
  }
  .nav-links a::after {
    bottom: 10px;
  }

  /* Hero Section: balanced above-the-fold framing & crisp fixed hero dots */
  .hero {
    padding: 12px 16px 32px;
    gap: 14px;
  }
  .hero-frame {
    width: 100%;
    max-width: 100%;
    height: auto;
    aspect-ratio: 4 / 4.4;
    max-height: 42svh;
  }
  .hero-controls {
    margin-top: 2px;
  }
  .hero-dots {
    gap: 8px;
  }
  .hero-dot {
    box-sizing: content-box;
    width: 24px;
    height: 2.5px;
    padding: 15px 0;
    background-color: rgba(30, 29, 27, 0.2);
    background-clip: content-box;
  }
  .hero-dot.is-active {
    width: 36px;
    background-color: var(--taupe);
    background-clip: content-box;
  }
  .issue-tag {
    font-size: 10px;
    letter-spacing: 0.19em;
    margin-bottom: 8px;
    gap: 12px;
  }
  .issue-tag::after {
    width: 36px;
  }
  .hero-copy h1.hero-motto {
    font-size: clamp(1.85rem, 7.6vw, 2.25rem);
    line-height: 1.1;
  }
  .hero-motto-sub {
    margin-top: 6px;
    font-size: clamp(1.18rem, 5vw, 1.44rem);
    line-height: 1.22;
  }
  .hero-text-wrap {
    margin-top: 14px;
    padding-top: 14px;
  }
  .hero-lead {
    font-size: 14px;
    line-height: 1.56;
    margin-bottom: 18px;
  }
  .hero-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    width: 100%;
  }
  .hero-actions .editorial-btn {
    width: 100%;
    min-height: 46px;
    padding: 12px 10px;
    justify-content: center;
    gap: 8px;
    font-size: 10.5px;
    letter-spacing: 0.14em;
    white-space: nowrap;
  }

  /* Expandable O mně panel */
  .about-panel-inner {
    padding: 34px 16px 32px;
  }
  .about-head {
    margin-bottom: 20px;
  }
  .about-columns p {
    font-size: 15px;
    line-height: 1.76;
  }
  .about-closing {
    font-size: clamp(1.22rem, 5.2vw, 1.48rem);
    margin: 16px 0 20px;
    padding-top: 22px;
  }
  .about-close {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 0;
    border-bottom: none;
    position: relative;
  }
  .about-close::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 9px;
    height: 1px;
    background: var(--ink);
  }

  /* Portfolio category tabs: full 44px tap zones without losing editorial lightness */
  .chapters-bar {
    padding: 22px 16px 14px;
    gap: 6px;
  }
  .chapter-tabs {
    width: 100%;
    gap: 0 18px;
  }
  .chapter-tab {
    font-size: 18px;
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    padding: 4px 2px;
    border-bottom: none;
    position: relative;
  }
  .chapter-tab::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 8px;
    height: 1px;
    background: transparent;
    transition: background 0.25s;
  }
  .chapter-tab.is-active::after {
    background: var(--ink);
  }

  /* Mobile-only bottom-of-gallery category pager */
  .mobile-chapter-pager {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 10px;
    margin-top: 34px;
    padding-top: 20px;
    border-top: 1px solid var(--line);
  }
  .mobile-pager-btn {
    background: none;
    border: none;
    min-height: 48px;
    padding: 6px 2px;
    display: flex;
    flex-direction: column;
    gap: 2px;
    transition: opacity 0.2s;
  }
  .mobile-pager-btn.is-prev {
    align-items: flex-start;
    text-align: left;
  }
  .mobile-pager-btn.is-next {
    align-items: flex-end;
    text-align: right;
  }
  .mobile-pager-label {
    font-size: 9.5px;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--taupe);
  }
  .mobile-pager-title {
    font-family: var(--serif);
    font-size: 18px;
    line-height: 1.15;
    color: var(--ink);
  }
  .mobile-pager-top {
    width: 44px;
    height: 44px;
    border: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.55);
    color: var(--ink);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    flex-shrink: 0;
    transition: opacity 0.2s, transform 0.15s;
  }

  /* Info Cards: full 44px vertical tap target on CTA links */
  .info-card-link {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    padding: 8px 0;
    border-bottom: none;
    position: relative;
  }
  .info-card-link::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 9px;
    height: 1px;
    background: var(--ink);
    transition: background 0.2s;
  }

  /* Inline Gift Vouchers (#poukazy): compact swipeable snap rail + synced dots */
  .voucher-feature {
    padding: 20px 16px 18px;
    gap: 12px;
    text-align: center;
  }
  .voucher-feature-copy .issue-tag {
    justify-content: center;
    margin-bottom: 6px !important;
  }
  .voucher-feature-copy .issue-tag::after {
    display: none;
  }
  .voucher-feature-copy h3 {
    font-size: clamp(1.65rem, 6.8vw, 2rem);
    margin-bottom: 6px;
  }
  .voucher-feature-copy p {
    max-width: 38ch;
    margin: 0 auto;
    font-size: 13.5px;
    line-height: 1.55;
  }
  .voucher-rail {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: 16px;
    -webkit-overflow-scrolling: touch;
    margin: 0 -16px;
    padding: 4px 16px 6px;
    scrollbar-width: none;
  }
  .voucher-rail::-webkit-scrollbar {
    display: none;
  }
  .voucher-item {
    flex: 0 0 60%;
    max-width: 204px;
    scroll-snap-align: center;
    touch-action: pan-x pan-y;
  }
  .voucher-frame {
    box-shadow: 0 10px 20px -8px rgba(30, 29, 27, 0.22);
  }
  .voucher-dots {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin-top: 0;
  }
  .voucher-dot {
    box-sizing: content-box;
    width: 22px;
    height: 2.5px;
    padding: 10px 0;
    border: none;
    background-color: rgba(30, 29, 27, 0.2);
    background-clip: content-box;
    cursor: pointer;
    transition: background-color 0.3s ease, width 0.3s ease;
  }
  .voucher-dot.is-active {
    width: 34px;
    background-color: var(--taupe);
  }
  .voucher-feature-actions {
    flex-direction: column;
    align-items: center;
    gap: 7px;
  }
  .voucher-feature-actions .editorial-btn {
    width: 100%;
    min-height: 46px;
    justify-content: center;
    padding: 12px 14px;
    gap: 10px;
    white-space: nowrap;
  }
  .voucher-hint {
    font-size: 10px;
    letter-spacing: 0.13em;
  }

  /* Stacked Editorial Calendar Cards (#info & Volná tvorba): zero cramped columns */
  .calendar-feature {
    grid-template-columns: 1fr;
    gap: 18px;
    padding: 26px 20px 24px;
    text-align: center;
  }
  .calendar-feature-visual {
    display: flex;
    justify-content: center;
  }
  .calendar-cover-card {
    width: 142px;
    max-width: 142px;
    margin: 0 auto;
    box-shadow: 0 14px 30px -10px rgba(30, 29, 27, 0.22);
  }
  .calendar-feature-copy .issue-tag {
    justify-content: center;
    margin-bottom: 10px !important;
  }
  .calendar-feature-copy .issue-tag::after {
    display: none;
  }
  .calendar-feature-copy h3 {
    font-size: clamp(1.8rem, 7.2vw, 2.2rem);
    margin-bottom: 10px;
  }
  .calendar-feature-copy p {
    max-width: 38ch;
    margin: 0 auto;
    font-size: 14px;
    line-height: 1.6;
  }
  .calendar-actions {
    justify-content: center;
  }
  .calendar-actions .editorial-btn {
    width: 100%;
    min-height: 48px;
    justify-content: center;
    padding: 13px 14px;
    gap: 10px;
    white-space: nowrap;
  }

  .lesataj-calendar-strip.is-compact {
    grid-template-columns: 1fr;
    gap: 16px;
    padding: 24px 18px 22px;
    text-align: center;
  }
  .lesataj-strip-cover {
    width: 128px;
    margin: 0 auto;
    box-shadow: 0 12px 26px -10px rgba(30, 29, 27, 0.2);
  }
  .lesataj-strip-copy p {
    margin: 0 auto;
    max-width: 38ch;
  }
  .lesataj-strip-actions {
    justify-content: center;
  }
  .lesataj-strip-actions .editorial-btn {
    width: 100%;
    min-height: 48px;
    justify-content: center;
    padding: 13px 14px;
    gap: 10px;
    white-space: nowrap;
  }

  /* Contact Footer: iOS form crispness + 44px direct contact links */
  .ed-direct-contact {
    gap: 4px 12px;
    margin-bottom: 28px;
  }
  .ed-direct-contact a {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    padding: 0 4px;
    border-bottom: none;
    position: relative;
  }
  .ed-direct-contact a::after {
    content: "";
    position: absolute;
    left: 4px;
    right: 4px;
    bottom: 9px;
    height: 1px;
    background: rgba(30, 29, 27, 0.28);
  }
  .ed-field input,
  .ed-field textarea,
  .ed-submit {
    -webkit-appearance: none;
    appearance: none;
    border-radius: 0;
  }
  .ed-submit {
    min-height: 50px;
  }
  .ed-bottom-bar {
    padding-bottom: max(4px, env(safe-area-inset-bottom));
  }
  .ed-bottom-bar a {
    display: inline-flex;
    align-items: center;
    min-height: 36px;
  }
}

/* Editorial 2-row sticky header on phones (<= 520px): unbroken brand + spacious 44px nav bar, zero clipping at any width */
@media (max-width: 520px) {
  #uvod, #kapitoly, #info, #poukazy, #kontakt, #o-mne {
    scroll-margin-top: 80px;
  }
  .nav-header {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 9px max(16px, env(safe-area-inset-right)) 0 max(16px, env(safe-area-inset-left));
  }
  .nav-header.is-scrolled {
    padding: 6px max(16px, env(safe-area-inset-right)) 0 max(16px, env(safe-area-inset-left));
  }
  .brand {
    flex-direction: row;
    align-items: baseline;
    justify-content: center;
    gap: 7px;
    font-size: 18px;
    line-height: 1.15;
    padding-bottom: 6px;
  }
  .brand span {
    font-size: 14px;
    margin-top: 0;
  }
  .nav-header.is-scrolled .brand {
    font-size: 16px;
    padding-bottom: 4px;
  }
  .nav-header.is-scrolled .brand span {
    font-size: 12.5px;
  }
  .nav-links {
    width: 100%;
    justify-content: space-between;
    gap: 8px;
    font-size: 10.5px;
    letter-spacing: 0.13em;
    border-top: 1px solid rgba(30, 29, 27, 0.08);
  }
  .nav-links a {
    min-height: 44px;
    padding: 0 4px;
  }
  .nav-links a::after {
    bottom: 9px;
  }
}

@media (max-width: 420px) {
  .ed-direct-contact {
    flex-direction: column;
    gap: 0;
  }
  .ed-contact-dot {
    display: none;
  }
}

@media (max-width: 350px) {
  .nav-header,
  .nav-header.is-scrolled {
    padding-left: 12px;
    padding-right: 12px;
  }
  .brand {
    font-size: 16.5px;
  }
  .brand span {
    font-size: 13px;
  }
  .nav-header.is-scrolled .brand {
    font-size: 15px;
  }
  .nav-header.is-scrolled .brand span {
    font-size: 12px;
  }
  .nav-links {
    font-size: 10px;
    letter-spacing: 0.09em;
    gap: 4px;
  }
  .voucher-feature-actions .editorial-btn,
  .calendar-actions .editorial-btn,
  .lesataj-strip-actions .editorial-btn {
    font-size: 10px;
    letter-spacing: 0.13em;
    padding: 13px 10px;
  }
}

@media (max-width: 330px) {
  .hero-actions {
    grid-template-columns: 1fr;
  }
}

/* Disable stuck hover states on touch devices & provide subtle tactile press feedback */
@media (hover: none) {
  .ed-card:hover .ed-img-wrap img { transform: none; }
  .ed-card:active .ed-img-wrap img { opacity: 0.9; }
  .info-card:hover {
    transform: none;
    border-color: var(--line);
    box-shadow: 0 10px 28px -18px rgba(60, 40, 20, 0.18);
  }
  .voucher-item:hover .voucher-frame {
    transform: none;
    border-color: rgba(30, 29, 27, 0.14);
    box-shadow: 0 12px 24px -10px rgba(30, 29, 27, 0.22);
  }
  .voucher-item:active .voucher-frame {
    opacity: 0.92;
    transform: scale(0.985);
  }
  .calendar-cover-card:hover,
  .lesataj-strip-cover:hover {
    transform: none;
    border-color: var(--line);
    box-shadow: 0 14px 30px -10px rgba(30, 29, 27, 0.22);
  }
  .editorial-btn:hover { background: transparent; color: inherit; }
  .editorial-btn:active { background: var(--ink); color: var(--bg); transform: scale(0.985); }
  .editorial-btn-ghost:hover { border-color: rgba(30, 29, 27, 0.28); color: var(--muted); }
  .editorial-btn-ghost:active { border-color: var(--ink); color: var(--ink); background: rgba(30, 29, 27, 0.04); }
  .ed-submit:hover { background: var(--ink); color: var(--bg); }
  .ed-submit:active { opacity: 0.86; transform: scale(0.99); }
  .nav-links a:hover::after { width: 0; }
  .nav-links a.is-current::after { width: 100%; }
  .mobile-pager-btn:active,
  .mobile-pager-top:active { opacity: 0.65; transform: scale(0.97); }
}