/* Českomoravský med — site.css
   Single shared stylesheet. Mobile-first.
   Type: Lexend (display) + Inter (body), Google Fonts.
   Palette: warm cream paper, deep amber-brown ink, honey accent.
   -------------------------------------------------------------- */

:root {
  /* Color */
  --ink:        #2A1F12;   /* primary text */
  --ink-2:      #5C4A36;   /* secondary text */
  --ink-3:      #8B7556;   /* tertiary / metadata */
  --bg:         #FBF7F0;   /* cream paper */
  --paper:      #F4ECDF;   /* card / well */
  --paper-2:    #ECE0CB;   /* slightly deeper card */
  --rule:       #D7C4A6;   /* hairlines */
  --rule-soft:  #E8D9BD;   /* faint hairlines */
  --honey:      #C8881F;   /* readable accent on cream */
  --honey-deep: #9E6A14;   /* hover / link visited */
  --honey-bright:#F5A623;  /* the brand chip */

  /* Type */
  --display: "Lexend", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --body:    "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  /* Rhythm */
  --maxw: 1240px;
  --gutter: clamp(20px, 4vw, 56px);
  --space-1: 8px;
  --space-2: 16px;
  --space-3: 24px;
  --space-4: 40px;
  --space-5: 64px;
  --space-6: 96px;
  --space-7: 144px;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img { max-width: 100%; height: auto; display: block; }

a {
  color: var(--ink);
  text-decoration: none;
  border-bottom: 1px solid var(--rule);
  transition: border-color .2s, color .2s;
}
a:hover { color: var(--honey-deep); border-bottom-color: var(--honey); }

a.plain { border-bottom: none; }
a.plain:hover { color: var(--honey-deep); }

::selection { background: var(--honey-bright); color: var(--ink); }

/* ----- Typography ----- */
h1, h2, h3, h4 {
  font-family: var(--display);
  font-weight: 600;
  color: var(--ink);
  line-height: 1.05;
  margin: 0 0 var(--space-3);
  letter-spacing: -0.01em;
}

.eyebrow {
  font-family: var(--body);
  font-size: 12px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--ink-3);
}

.wordmark {
  font-family: var(--display);
  font-weight: 700;
  font-size: 18px;
  color: var(--ink);
  letter-spacing: 0.02em;
  line-height: 1;
  white-space: nowrap;
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
}
.wordmark .ck { font-weight: 400; font-size: 16px; letter-spacing: 0.04em; }
.wordmark .med { font-weight: 700; font-size: 18px; }

p { margin: 0 0 var(--space-3); text-wrap: pretty; }
p.lede {
  font-size: clamp(19px, 1.6vw, 22px);
  color: var(--ink-2);
  line-height: 1.55;
  max-width: 56ch;
}

hr {
  border: 0;
  height: 1px;
  background: var(--rule);
  margin: var(--space-5) 0;
}

.rule { height: 1px; background: var(--rule); border: 0; margin: 0; }
.rule-soft { height: 1px; background: var(--rule-soft); border: 0; margin: 0; }

/* ----- Site chrome ----- */
.container {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: color-mix(in oklab, var(--bg) 92%, transparent);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--rule-soft);
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  padding-top: 18px;
  padding-bottom: 18px;
}

.site-header a { border-bottom: none; }

.site-nav {
  display: flex;
  gap: clamp(16px, 2.6vw, 32px);
  font-size: 13px;
  letter-spacing: 0.08em;
}
.site-nav a {
  color: var(--ink-2);
  border-bottom: 1px solid transparent;
  padding-bottom: 2px;
}
.site-nav a[aria-current="page"] { color: var(--ink); border-bottom-color: var(--honey); }
.site-nav a:hover { color: var(--ink); }

/* ----- Footer ----- */
.site-footer {
  background: var(--paper);
  border-top: 1px solid var(--rule-soft);
  padding: var(--space-5) 0 var(--space-4);
  margin-top: 0;
}
.site-footer .colophon {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: var(--space-3);
  margin-top: var(--space-5);
  padding-top: var(--space-3);
  border-top: 1px solid var(--rule-soft);
  font-size: 12px;
  color: var(--ink-3);
  letter-spacing: 0.04em;
}

/* ----- Buttons ----- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--body);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 14px 24px;
  background: var(--ink);
  color: var(--bg);
  border: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
  transition: background .2s, color .2s, transform .2s;
  cursor: pointer;
}
.btn:hover { background: var(--honey-deep); color: var(--bg); border-color: var(--honey-deep); }
.btn .arr { transition: transform .2s; }
.btn:hover .arr { transform: translateX(4px); }

/* ====================================================
   HOMEPAGE
   ==================================================== */

.section-intro {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: var(--space-5);
  align-items: end;
  padding: var(--space-6) 0 var(--space-4);
}
.section-intro .eyebrow { display: block; }
.section-intro h2 {
  font-family: var(--display);
  font-size: clamp(28px, 3.4vw, 44px);
  font-weight: 600;
  letter-spacing: -0.015em;
  margin: 0;
  max-width: 22ch;
}
.section-intro p {
  margin: 0;
  color: var(--ink-2);
  max-width: 56ch;
}

#phoneReveal {
  font-family: var(--display);
  font-weight: 500;
  font-size: 17px;
  letter-spacing: 0.02em;
}

.map-wrap {
  margin-top: var(--space-3);
  border: 1px solid var(--rule-soft);
  background: var(--paper);
  aspect-ratio: 16 / 9;
  max-width: 260px;
  overflow: hidden;
}
.map-wrap iframe {
  width: 100%; height: 100%;
  border: 0;
  display: block;
}

/* ====================================================
   PRODUCT PAGE
   ==================================================== */

.product-body {
  display: grid;
  grid-template-columns: 1.55fr 1fr;
  gap: var(--space-6);
  align-items: start;
  padding: var(--space-5) 0 var(--space-6);
}
.product-body .copy h2 {
  font-size: 13px;
  font-family: var(--body);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--ink-3);
  margin-top: var(--space-5);
  margin-bottom: var(--space-2);
}
.product-body .copy h2:first-of-type { margin-top: var(--space-4); }
.product-body .copy h2 .h2-note {
  text-transform: none;
  font-weight: 400;
  font-style: italic;
  letter-spacing: 0.01em;
  color: color-mix(in oklab, var(--ink-3) 80%, transparent);
  margin-left: 8px;
}
.product-body .copy p { color: var(--ink-2); }
.product-body .copy .lede { color: var(--ink); }
/* Brand signature: honey-toned "MED" in the landing hero wordmark */
.typo-hero h1 .med { color: var(--honey); }
.product-body .copy ul {
  list-style: none;
  padding: 0;
  margin: 0 0 var(--space-3);
  border-top: 1px solid var(--rule-soft);
}
.product-body .copy ul li {
  padding: 10px 0;
  border-bottom: 1px solid var(--rule-soft);
  color: var(--ink-2);
  display: grid;
  grid-template-columns: minmax(140px, auto) 1fr;
  gap: var(--space-3);
  align-items: baseline;
}
.product-body .copy ul li.plain { display: block; }
.product-body .copy ul li .k {
  font-family: var(--display);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--ink);
}
.product-body .copy ul li .v {
  color: var(--ink-2);
  text-wrap: pretty;
}
.product-body .copy .footnote {
  font-size: 13px;
  color: var(--ink-3);
  font-style: italic;
  margin-top: var(--space-2);
  max-width: 60ch;
}
.product-body .copy .crystal-note {
  margin-top: var(--space-3);
  padding: var(--space-3);
  background: var(--paper);
  border: 1px solid var(--rule-soft);
}
.product-body .copy .crystal-note .tag {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: var(--display);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--honey-deep);
  margin-bottom: 10px;
}
.product-body .copy .crystal-note .tag .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--honey-bright);
  flex: none;
}
.product-body .copy .crystal-note p {
  margin: 0;
  color: var(--ink);
}
.product-body .copy .crystal-note p + p {
  margin-top: 12px;
  color: var(--ink-2);
}
.product-body .copy .crystal-note a.crystal-link {
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--honey-deep);
  white-space: nowrap;
  border-bottom: 1.5px solid var(--honey);
}
.product-body .copy .crystal-note a.crystal-link:hover {
  color: var(--ink);
  border-bottom-color: var(--honey-deep);
}
.product-body .copy .crystal-note a.crystal-link .arr {
  font-weight: 400;
  margin-left: 2px;
}
.product-body .copy .uses {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  margin: 0 0 var(--space-3);
  border-top: 1px solid var(--rule-soft);
}
.product-body .copy .uses li {
  display: flex;
  gap: 12px;
  align-items: baseline;
  padding: 12px 0;
  border-bottom: 1px solid var(--rule-soft);
  color: var(--ink-2);
}
.product-body .copy .uses li::before {
  content: "—";
  flex: none;
  color: var(--honey-deep);
  font-family: var(--display);
}

.product-side {
  position: sticky;
  top: 96px;
}
.label-card {
  background: var(--paper);
  padding: var(--space-3);
  border: 1px solid var(--rule-soft);
}
.label-card img {
  width: 100%;
  display: block;
}
.label-card figcaption {
  margin-top: var(--space-2);
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--ink-3);
  text-align: center;
}

.spec {
  margin-top: var(--space-3);
  border-top: 1px solid var(--ink);
}
.spec dl {
  margin: 0;
  display: grid;
  grid-template-columns: 1fr auto;
  row-gap: 0;
}
.spec dt, .spec dd {
  padding: 12px 0;
  border-bottom: 1px solid var(--rule-soft);
  margin: 0;
  font-size: 14px;
}
.spec dt { color: var(--ink-3); letter-spacing: 0.04em; }
.spec dd {
  font-family: var(--display);
  font-weight: 500;
  color: var(--ink);
  text-align: right;
}
.spec dd.price {
  font-size: 16px;
  color: var(--honey-deep);
}
.spec .placeholder {
  color: var(--ink-3);
  font-style: italic;
  font-weight: 400;
  font-family: var(--body);
  font-size: 13px;
}

.cta-block {
  margin-top: var(--space-4);
  padding-top: var(--space-3);
}

/* Product nav (prev/next) */
.product-nav {
  border-top: 1px solid var(--rule);
  padding: var(--space-5) 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-4);
}
.product-nav a {
  border-bottom: 0;
  display: block;
}
.product-nav .label {
  display: block;
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin-bottom: 8px;
}
.product-nav .next { text-align: right; }
.product-nav h3 {
  font-size: clamp(22px, 2.2vw, 28px);
  font-weight: 500;
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.015em;
  transition: color .2s;
}
.product-nav a:hover h3 { color: var(--honey-deep); }

/* ====================================================
   ABOUT / KONTAKT
   ==================================================== */

.two-col {
  display: grid;
  grid-template-columns: 1.55fr 1fr;
  gap: var(--space-6);
  align-items: start;
  padding: var(--space-5) 0 var(--space-6);
}
.two-col .side .eyebrow { display: block; margin-bottom: var(--space-2); }
.two-col .copy h2 {
  font-size: 28px;
  font-weight: 600;
  margin-top: var(--space-5);
  margin-bottom: var(--space-2);
}
.two-col .copy h2:first-child { margin-top: 0; }
.two-col .copy p { color: var(--ink-2); }

.about-band {
  background: var(--paper);
  border-top: 1px solid var(--rule-soft);
  border-bottom: 1px solid var(--rule-soft);
  padding: var(--space-6) 0;
}

.facts {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-4);
}
.facts .fact .n {
  font-family: var(--display);
  font-weight: 500;
  font-size: clamp(40px, 4.5vw, 56px);
  letter-spacing: -0.02em;
  color: var(--ink);
  line-height: 1;
}
.facts .fact .l {
  font-size: 13px;
  margin-top: 8px;
  color: var(--ink-2);
  text-wrap: balance;
}

/* Honey index — horizontal rows (thumb | name+desc | price | detail) */
.honey-index {
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--rule-soft);
}
.honey-row {
  display: grid;
  grid-template-columns: 280px 1fr auto auto;
  gap: var(--space-4);
  align-items: center;
  padding: var(--space-4) 0;
  border-bottom: 1px solid var(--rule-soft);
  position: relative;
}
.honey-row:last-child { border-bottom: 0; }
.honey-row a.cover {
  position: absolute;
  inset: 0;
  border: 0;
  z-index: 2;
}
.honey-row .thumb {
  width: 280px;
  height: 180px;
  overflow: hidden;
  background: var(--paper-2);
}
.honey-row .thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .6s ease, filter .3s ease;
}
.honey-row:hover .thumb img { transform: scale(1.04); }
.honey-row .name {
  font-family: var(--display);
  font-size: clamp(20px, 2.2vw, 30px);
  font-weight: 500;
  line-height: 1.15;
  color: var(--ink);
}
.honey-row .name .desc {
  display: block;
  font-family: var(--display);
  font-size: 15px;
  font-weight: 400;
  color: var(--ink-2);
  margin-top: 10px;
}
.honey-row .price-col {
  font-family: var(--display);
  font-weight: 500;
  font-size: clamp(20px, 2vw, 26px);
  color: var(--ink);
  text-align: right;
  padding-right: var(--space-4);
  border-right: 1px solid var(--rule-soft);
}
.honey-row .price-col .unit {
  display: block;
  font-size: 12px;
  font-weight: 400;
  color: var(--ink-3);
  letter-spacing: 0.04em;
  margin-top: 2px;
}
.honey-row .detail-link {
  font-family: var(--body);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink);
  padding-left: var(--space-4);
  transition: color .2s;
}
.honey-row .detail-link .arr { display: inline-block; margin-left: 6px; transition: transform .2s; }
.honey-row:hover .detail-link { color: var(--honey-deep); }
.honey-row:hover .detail-link .arr { transform: translateX(6px); }

/* ====================================================
   Responsive
   ==================================================== */
@media (max-width: 900px) {
  body { font-size: 16px; }
  .site-header .container { padding-top: 14px; padding-bottom: 14px; gap: 16px; }
  .site-nav { gap: 16px; font-size: 13px; }
  .wordmark .ck { font-size: 15px; }
  .wordmark .med { font-size: 16px !important; }

  .honey-row {
    grid-template-columns: 1fr auto;
    grid-template-areas:
      "thumb thumb"
      "name  price"
      "detail detail";
    align-items: start;
    gap: 4px 18px;
    padding: var(--space-3) 0;
  }
  .honey-row .thumb { grid-area: thumb; width: 100%; height: 200px; margin-bottom: 8px; }
  .honey-row .name { grid-area: name; font-size: 20px; }
  .honey-row .name .desc { font-size: 14px; margin-top: 6px; max-width: 28ch; }
  .honey-row .price-col {
    grid-area: price;
    text-align: right;
    border-right: 0;
    padding-right: 0;
    align-self: start;
    white-space: nowrap;
  }
  .honey-row .detail-link { grid-area: detail; justify-self: end; margin-top: 6px; }

  .section-intro { grid-template-columns: 1fr; gap: var(--space-2); }
  .product-body, .two-col { grid-template-columns: 1fr; gap: var(--space-5); }
  .product-side { position: static; }
  /* QR-first: visitors scan from the jar — show the label, price & order
     button before the long story on mobile. Desktop keeps two columns. */
  .product-side { order: -1; margin-bottom: var(--space-4); }
  .product-body .copy { order: 0; }

  /* The standalone watercolour repeats the artwork printed on the etiketa,
     which now sits right below it on mobile. Move the loose watercolour
     down to a closing image so the two don't collide. Product pages only. */
  main:has(.product-body) { display: flex; flex-direction: column; }
  main:has(.product-body) .typo-product-head { order: 0; }
  main:has(.product-body) .product-body { order: 1; padding-bottom: 0; }
  main:has(.product-body) .copy > *:last-child { margin-bottom: 0; }
  main:has(.product-body) .image-band { order: 2; padding-top: var(--space-4); }
  /* The repositioned akvarel keeps its fade-in but drops the 28px upward
     slide, which otherwise reads as an empty gap above it before reveal. */
  main:has(.product-body) .image-band.reveal { transform: none; }
  main:has(.product-body) .product-nav { order: 3; }

  .facts { grid-template-columns: repeat(2, 1fr); }
  /* Prev/next: keep them side by side (two columns), just smaller so each
     fits as a tidy two-row block (label over honey name) at the same level. */
  .product-nav { grid-template-columns: 1fr 1fr; gap: var(--space-3); align-items: start; padding: var(--space-3) 0; }
  .product-nav .next { text-align: right; }
  .product-nav .label { font-size: 10px; margin-bottom: 5px; }
  .product-nav h3 { font-size: 14px; line-height: 1.2; }
  /* Footer sign-off fits on one line on the phone (higher specificity so it
     wins over the base 29px rule defined later in the file) */
  .site-footer .container .footer-signoff { font-size: 18px; }

  .map-wrap { max-width: 100% !important; }
}

@media (max-width: 560px) {
  :root { --space-6: 64px; --space-7: 96px; --gutter: 18px; }
  .site-header .container { gap: 12px; }
  .site-nav { gap: 14px; font-size: 12px; }
  .wordmark .ck { font-size: 14px; }
  .wordmark .med { font-size: 15px !important; }

  .section-intro h2 { font-size: 26px; }
  .section-intro { padding: var(--space-4) 0 var(--space-3); }

  .honey-row .thumb { height: 180px; }
  .honey-row .name { font-size: 18px; }
}

/* Print: clean black-on-white */
@media print {
  .site-header, .site-footer, .product-nav, .cta-block { display: none; }
  body { background: #fff; color: #000; }
}

/* ======================================================
   LUXE LAYER — typographic & motion refinements
   Inspired by Awwwards-tier sites: subtle, intentional,
   respects prefers-reduced-motion.
   ====================================================== */

/* Cross-page view transitions disabled — in iframe/sandbox previews the
   browser flashes its default white background between snapshots. After
   deploy to ceskomoravskymed.cz on a real origin this can be re-enabled
   safely (modern Chrome/Safari). For now: standard instant navigation. */
/*
@view-transition { navigation: auto; }
*/

/* Typographic refinements */
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
/* Detail medu: vypni scroll-anchoring. Chrome (Android) jinak při rozbalení
   "Složení" drží akvarel pod foldem na místě a posune stránku — summary pak
   ucukne nahoru. Bez anchoringu se obsah rozbalí čistě dolů a summary zůstane. */
html:has(.product-body) { overflow-anchor: none; }

body {
  font-feature-settings: "kern" 1, "liga" 1, "calt" 1, "ss01" 1;
  text-rendering: optimizeLegibility;
}
.honey-row .price-col,
.spec .price,
.price,
.facts .n,
.colophon span {
  font-variant-numeric: tabular-nums lining-nums;
}
h1, h2, h3 { text-wrap: balance; }

/* Reveal-on-scroll */
.reveal {
  opacity: 0;
  transform: translateY(14px);
  transition:
    opacity 1.1s cubic-bezier(.16, .84, .27, .99),
    transform 1.1s cubic-bezier(.16, .84, .27, .99);
  transition-delay: var(--rd, 0ms);
  will-change: opacity, transform;
}
.reveal.is-visible {
  opacity: 1;
  transform: none;
}
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
}

/* Honey index — jemná kaskáda jako hero nahoře (max 360ms jako hero,
   ne původních 560ms — krátké tempo, bez rušivého lagu dolů) */
.honey-index .honey-row:nth-of-type(1) { --rd: 0ms; }
.honey-index .honey-row:nth-of-type(2) { --rd: 90ms; }
.honey-index .honey-row:nth-of-type(3) { --rd: 180ms; }
.honey-index .honey-row:nth-of-type(4) { --rd: 270ms; }
.honey-index .honey-row:nth-of-type(5) { --rd: 360ms; }
.facts .fact:nth-of-type(1) { --rd: 0ms; }
.facts .fact:nth-of-type(2) { --rd: 120ms; }
.facts .fact:nth-of-type(3) { --rd: 240ms; }
.facts .fact:nth-of-type(4) { --rd: 360ms; }

/* Hero first-paint choreography */
@keyframes lux-rise {
  from { opacity: 0; transform: translateY(18px); }
  to   { opacity: 1; transform: none; }
}
.typo-hero h1 {
  animation: lux-rise 1.1s cubic-bezier(.16, .84, .27, .99) both;
}
.typo-hero .slogan {
  animation: lux-rise 1.1s cubic-bezier(.16, .84, .27, .99) 180ms both;
}
.typo-hero .deck {
  animation: lux-rise 1.1s cubic-bezier(.16, .84, .27, .99) 360ms both;
}
@media (prefers-reduced-motion: reduce) {
  .typo-hero h1, .typo-hero .slogan, .typo-hero .deck { animation: none !important; }
}

/* Underline draw-in for nav */
.site-nav a {
  position: relative;
  border-bottom: 0 !important;
  padding-bottom: 4px;
}
.site-nav a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 1px;
  background: var(--honey);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform .45s cubic-bezier(.16, .84, .27, .99);
}
.site-nav a:hover::after,
.site-nav a[aria-current="page"]::after {
  transform: scaleX(1);
}

/* Hairline above-fold mark in masthead — a subtle living detail */
.site-header::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  height: 1px;
  width: 0;
  background: var(--honey);
  animation: lux-mark 1.6s cubic-bezier(.16, .84, .27, .99) 200ms both;
}
@keyframes lux-mark {
  to { width: 64px; }
}
@media (prefers-reduced-motion: reduce) {
  .site-header::before { width: 64px; animation: none; }
}

/* Subtle wash on honey thumb on hover (depth without darkening akvarel) */
.honey-row .thumb { position: relative; }
.honey-row .thumb::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(42, 31, 18, 0) 40%, rgba(200, 136, 31, 0.18) 100%);
  opacity: 0;
  transition: opacity .55s ease;
  pointer-events: none;
}
.honey-row:hover .thumb::after { opacity: 1; }

/* Refined focus rings — visible but elegant */
a:focus-visible,
button:focus-visible,
[role="button"]:focus-visible {
  outline: 1px solid var(--honey);
  outline-offset: 4px;
  border-radius: 1px;
}

/* Detail arrow gets a subtle in-position parallax on row hover */
.honey-row .detail-link .arr {
  transition: transform .35s cubic-bezier(.16, .84, .27, .99), color .35s;
}
.honey-row:hover .detail-link .arr {
  transform: translateX(10px);
}

/* Living date stamp in masthead — small marginalia */
.date-mark {
  font-family: var(--body);
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin-left: 14px;
  padding-left: 14px;
  border-left: 1px solid var(--rule-soft);
  display: inline-block;
  vertical-align: middle;
}
@media (max-width: 560px) {
  .date-mark { display: none; }
}

/* ====================================================
   VERZE 1B — Typographic heroes with akvarel as figure
   ==================================================== */

/* Typographic hero (homepage) */
.typo-hero {
  padding: var(--space-6) 0 var(--space-4);
  border-bottom: 1px solid var(--rule-soft);
}
.typo-hero .eyebrow { display: block; margin-bottom: var(--space-3); }
.typo-hero h1 {
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(48px, 7vw, 92px);
  letter-spacing: -0.02em;
  line-height: 1;
  margin: 0;
  max-width: 18ch;
}
.typo-hero .deck {
  margin-top: var(--space-4);
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: var(--space-5);
  align-items: end;
}
.typo-hero .deck .lede {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(19px, 1.8vw, 24px);
  line-height: 1.4;
  margin: 0;
  color: var(--ink-2);
  max-width: 40ch;
}
.typo-hero .deck .byline {
  text-align: right;
  font-family: var(--body);
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.typo-hero .deck .byline strong {
  display: block;
  font-family: var(--display);
  font-weight: 500;
  font-size: 17px;
  letter-spacing: 0;
  text-transform: none;
  color: var(--ink);
  margin-bottom: 4px;
}

/* Image band — akvarel as standalone */
.image-band {
  padding: var(--space-5) 0;
  border-bottom: 1px solid var(--rule-soft);
}
.image-band figure {
  margin: 0;
}
.image-band img {
  width: 100%;
  display: block;
}
.image-band figcaption {
  margin-top: var(--space-2);
  text-align: center;
  font-size: 13px;
  color: var(--ink-3);
  font-family: var(--body);
  letter-spacing: 0.04em;
}

/* Page head (inner pages — about, contact) */
.typo-page-head {
  padding: var(--space-6) 0 var(--space-4);
  border-bottom: 1px solid var(--rule-soft);
}
.typo-page-head .eyebrow { display: block; margin-bottom: var(--space-3); }
.typo-page-head h1 {
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(40px, 6vw, 76px);
  letter-spacing: -0.02em;
  line-height: 1.05;
  margin: 0;
  max-width: 18ch;
}

/* Product head (text-only top, akvarel as figure below) */
.typo-product-head {
  padding: var(--space-6) 0 var(--space-4);
  border-bottom: 1px solid var(--rule-soft);
}
.typo-product-head .eyebrow { display: block; margin-bottom: var(--space-3); }
.typo-product-head h1 {
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(56px, 9vw, 132px);
  text-transform: uppercase;
  letter-spacing: -0.035em;
  line-height: 0.93;
  margin: 0;
}
.typo-product-head h1 .qual {
  display: block;
  font-size: 0.5em;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--ink-2);
  margin-top: 12px;
}
.typo-product-head .deck {
  margin-top: var(--space-4);
  display: grid;
  grid-template-columns: 1.4fr auto;
  gap: var(--space-5);
  align-items: end;
}
.typo-product-head .deck .lede {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(18px, 1.6vw, 22px);
  line-height: 1.45;
  color: var(--ink);
  margin: 0;
  max-width: 44ch;
}
.typo-product-head .deck .price-tag {
  text-align: right;
}
.typo-product-head .deck .price-tag .price {
  font-family: var(--display);
  font-size: clamp(28px, 3vw, 40px);
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--ink);
  line-height: 1;
}
.typo-product-head .deck .price-tag .unit {
  display: block;
  margin-top: 6px;
  font-family: var(--body);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-3);
}

@media (max-width: 900px) {
  .typo-hero .deck { grid-template-columns: 1fr; gap: var(--space-3); }
  .typo-hero .deck .byline { text-align: left; }
  .typo-product-head .deck { grid-template-columns: 1fr; gap: var(--space-3); }
  .typo-product-head .deck .price-tag { text-align: left; }
}

/* ====================================================
   CONTACT DARK — kontrastní tmavá kontakt sekce
   Použití: <section class="contact-dark">…
   Strukturně inspirováno verzí 06 (Plakát).
   ==================================================== */
.contact-dark {
  background: var(--ink);
  color: var(--bg);
  padding: var(--space-6) 0;
  margin: var(--space-6) 0 0;
}
.contact-dark .container { max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gutter); }
.contact-dark .head {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: var(--space-3);
  align-items: baseline;
  padding-bottom: var(--space-3);
  border-bottom: 1px solid rgba(251,247,240,0.18);
  margin-bottom: var(--space-5);
}
.contact-dark .head h2 {
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(36px, 4.4vw, 60px);
  letter-spacing: -0.03em;
  line-height: 0.98;
  margin: 0;
  color: var(--bg);
}
.contact-dark .head h2 em {
  font-style: italic;
  font-weight: 500;
  color: var(--honey-bright);
}
.contact-dark .head .aside {
  font-family: var(--body);
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(251,247,240,0.55);
  text-align: right;
  max-width: 28ch;
  line-height: 1.7;
}
.contact-dark .grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: var(--space-5);
  align-items: start;
}
.contact-dark .lead {
  font-family: var(--display);
  font-weight: 500;
  font-size: clamp(20px, 2vw, 26px);
  letter-spacing: -0.018em;
  line-height: 1.25;
  max-width: 24ch;
  margin: 0 0 var(--space-4);
  color: var(--bg);
}
.contact-dark .lead em {
  font-style: italic;
  font-weight: 500;
  color: var(--honey-bright);
}
.contact-dark .label {
  font-family: var(--body);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(251,247,240,0.55);
  margin: 0 0 6px;
  font-weight: 500;
}
.contact-dark .value {
  font-family: var(--display);
  font-weight: 500;
  font-size: clamp(18px, 1.6vw, 22px);
  letter-spacing: -0.005em;
  color: var(--bg);
  line-height: 1.4;
  margin: 0;
}
.contact-dark .km {
  font-family: var(--body);
  font-size: 14px;
  letter-spacing: 0.04em;
  color: rgba(251,247,240,0.78);
  line-height: 1.8;
  margin: 0;
}
.contact-dark .km strong { color: var(--bg); font-weight: 500; }
.contact-dark .stack { margin-bottom: var(--space-3); }

.contact-dark .actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.contact-dark .btn-d {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 18px 22px;
  border: 1px solid rgba(251,247,240,0.22);
  background: transparent;
  color: var(--bg);
  font-family: var(--body);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background .2s, border-color .2s, color .2s;
  text-decoration: none;
}
.contact-dark .btn-d:hover {
  background: var(--honey);
  border-color: var(--honey);
  color: var(--bg);
}
.contact-dark .btn-d:hover .arr { transform: translateX(4px); }
.contact-dark .btn-d .arr { transition: transform .2s; }
.contact-dark .btn-d.primary {
  background: var(--honey);
  border-color: var(--honey);
}
.contact-dark .btn-d.primary:hover {
  background: var(--honey-bright);
  border-color: var(--honey-bright);
  color: var(--ink);
}

@media (max-width: 900px) {
  .contact-dark .head { grid-template-columns: 1fr; }
  .contact-dark .head .aside { text-align: left; }
  .contact-dark .grid { grid-template-columns: 1fr; gap: var(--space-4); }
}

/* ====================================================
   DARK VARIANTS — kontrastní tmavé sekce
   Použití: <section class="typo-product-head dark">, .about-band.dark, .product-nav.dark, .label-card.dark
   ==================================================== */
.typo-page-head.dark,
.typo-product-head.dark {
  background: var(--ink);
  color: var(--bg);
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
}
.typo-page-head.dark h1 { color: var(--ink) !important; }
.typo-page-head.dark .eyebrow { color: color-mix(in oklab, var(--ink) 70%, transparent) !important; }
.typo-product-head.dark h1 { color: var(--bg); }
.typo-product-head.dark .eyebrow { color: color-mix(in oklab, var(--bg) 50%, transparent); }
.typo-product-head.dark .deck .lede { color: color-mix(in oklab, var(--bg) 85%, transparent); }
.typo-product-head.dark .deck .price-tag .price { color: var(--honey-bright); }
.typo-product-head.dark .deck .price-tag .unit { color: color-mix(in oklab, var(--bg) 55%, transparent); }

/* Image band that follows a dark head — keep the cream paper, but no double border seam */
.typo-page-head.dark + .image-band,
.typo-product-head.dark + .image-band { border-top: 0; }

/* About band — V číslech */
.about-band.dark {
  background: var(--ink);
  color: var(--bg);
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
}
.about-band.dark .eyebrow { color: color-mix(in oklab, var(--bg) 55%, transparent); }
.about-band.dark .facts .fact .n { color: var(--honey-bright); }
.about-band.dark .facts .fact .l { color: color-mix(in oklab, var(--bg) 75%, transparent); }

/* Product nav — prev/next */
.product-nav.dark {
  background: var(--ink);
  color: var(--bg);
  border-top: 1px solid var(--ink);
  padding-left: var(--gutter, 32px);
  padding-right: var(--gutter, 32px);
}
.product-nav.dark a { color: var(--bg); border-bottom: 0; }
.product-nav.dark .label {
  color: color-mix(in oklab, var(--bg) 55%, transparent);
}
.product-nav.dark h3 { color: var(--bg); }
.product-nav.dark a:hover h3 { color: var(--honey-bright); }

/* Label card — dark with etiketa + jar slot */
.label-card.dark {
  background: var(--ink);
  color: var(--bg);
  border: 1px solid var(--ink);
  padding: 24px;
  margin: 0 0 var(--space-3);
}
.label-card.dark .etiketa { display: block; }
.label-card.dark .etiketa img {
  width: 100%;
  display: block;
  filter: brightness(1.04) contrast(1.02);
}
.label-card.dark .jar-slot {
  margin-top: 20px;
  aspect-ratio: 3 / 4;
  background: color-mix(in oklab, var(--bg) 5%, transparent);
  border: 1px dashed color-mix(in oklab, var(--bg) 22%, transparent);
  display: grid;
  place-items: center;
  text-align: center;
  padding: 24px;
}
.label-card.dark .jar-slot img {
  max-width: 80%;
  max-height: 100%;
  width: auto;
  filter: drop-shadow(0 16px 32px rgba(0,0,0,0.40));
}
.label-card.dark .jar-slot .placeholder {
  font-family: var(--body);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-weight: 500;
  color: color-mix(in oklab, var(--bg) 48%, transparent);
  line-height: 1.7;
}
.label-card.dark figcaption {
  margin-top: 16px;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: color-mix(in oklab, var(--bg) 55%, transparent);
  text-align: center;
}

/* ====================================================
   FOOTER (minimal) — brand wordmark + nav + copyright
   Replaces previous .site-footer .grid (address/contact dupes)
   ==================================================== */
.site-footer .footer-signoff {
  font-family: var(--display);
  font-weight: 500;
  font-size: 29px;
  line-height: 1.25;
  letter-spacing: 0.005em;
  color: var(--ink);
  margin: 18px 0;
  text-align: center;
  text-wrap: balance;
}
.site-footer .footer-signoff + .colophon {
  margin-top: 12px;
}
.site-footer .footer-inner {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: var(--space-4);
  padding-bottom: var(--space-3);
  border-bottom: 1px solid var(--rule-soft);
}
.site-footer .footer-inner .brand {
  font-family: var(--display);
  font-weight: 500;
  font-size: clamp(20px, 2vw, 28px);
  letter-spacing: -0.01em;
  color: var(--ink);
  border-bottom: 0;
  text-decoration: none;
}
.site-footer .footer-inner .brand .ck {
  font-family: var(--display);
}
/* Brand signature: honey-toned "MED" on cream footers, like the top nav.
   The landing footer sits on a honey background, so MED stays dark there. */
.site-footer .footer-inner .brand .med { color: var(--honey); }
.site-footer.footer-honeybg .footer-inner .brand .med { color: var(--ink); }
.site-footer .footer-nav {
  display: flex;
  gap: clamp(16px, 2vw, 32px);
  font-family: var(--body);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}
.site-footer .footer-nav a {
  color: var(--ink-2);
  border-bottom: 1px solid transparent;
  padding-bottom: 2px;
  transition: color .2s, border-color .2s;
}
.site-footer .footer-nav a:hover { color: var(--ink); border-bottom-color: var(--honey); }

@media (max-width: 720px) {
  .site-footer .footer-inner {
    flex-direction: column;
    align-items: stretch;
    gap: var(--space-3);
  }
  .site-footer .footer-nav { gap: 18px; }
}

/* ====================================================
   DARK SURFACES — lighter warm brown
   Posun všech .dark sekcí + .contact-dark do světlejší hnědé,
   bez dotčení primárního --ink (body text, ohraničení atd.)
   ==================================================== */
:root {
  --surface-dark: #3D2818;
  --surface-head: #F8D4A8;
}
.contact-dark,
.typo-product-head.dark,
.about-band.dark,
.product-nav.dark,
.label-card.dark {
  background: var(--surface-dark) !important;
  border-color: var(--surface-dark) !important;
}
.typo-page-head.dark {
  background: var(--surface-head) !important;
  border-color: var(--surface-head) !important;
}
.contact-dark { border-top-color: var(--surface-dark) !important; border-bottom-color: var(--surface-dark) !important; }
.about-band.dark { border-top-color: var(--surface-dark) !important; border-bottom-color: var(--surface-dark) !important; }
.product-nav.dark { border-top-color: var(--surface-dark) !important; }
.typo-page-head.dark { border-top-color: var(--surface-head) !important; border-bottom-color: var(--surface-head) !important; }
.typo-product-head.dark { border-top-color: var(--surface-dark) !important; border-bottom-color: var(--surface-dark) !important; }

/* ====================================================
   SIGNATURE — script font for "David Trčka" in hero byline
   ==================================================== */
.typo-hero .byline strong.signature,
.typo-hero .byline .signature {
  font-family: "Parisienne", "Great Vibes", cursive;
  font-weight: 400;
  font-size: 29px;
  letter-spacing: 0.005em;
  line-height: 1;
  white-space: nowrap;
  display: block;
  margin-bottom: 8px;
  color: var(--ink);
}

/* ====================================================
   MUTED AKVARELY — slight desaturation, no washing out
   ==================================================== */
.image-band img,
.honey-row .thumb img,
.inline-akvarel img {
  filter: saturate(0.78) brightness(0.97) contrast(1.02);
  transition: filter .3s ease;
}
.honey-row:hover .thumb img {
  filter: saturate(0.92) brightness(1.0) contrast(1.02);
}

/* ====================================================
   INLINE AKVAREL — embedded inside .copy column on o-mne
   ==================================================== */
.inline-akvarel {
  margin: var(--space-5) 0 var(--space-4);
  border: 1px solid var(--rule-soft);
  overflow: hidden;
}
.inline-akvarel img {
  display: block;
  width: 100%;
  height: auto;
}
.inline-akvarel figcaption {
  font-family: var(--body);
  font-size: 12px;
  color: var(--ink-3);
  letter-spacing: 0.04em;
  padding: 10px 14px;
  background: var(--paper);
  border-top: 1px solid var(--rule-soft);
}

/* ====================================================
   HEADER DARK — flip top bar to surface-dark
   Wordmark cream with honey "MED" accent
   ==================================================== */
.site-header {
  background: var(--surface-dark) !important;
  border-bottom: 1px solid var(--honey-bright) !important;
}
.site-header .wordmark,
.site-header .wordmark .ck { color: var(--bg) !important; }
.site-header .wordmark .med { color: var(--honey-bright) !important; }
.site-header .date-mark { color: color-mix(in oklab, var(--bg) 55%, transparent) !important; }
.site-header .site-nav a { color: color-mix(in oklab, var(--bg) 70%, transparent) !important; }
.site-header .site-nav a:hover { color: var(--bg) !important; }
.site-header .site-nav a[aria-current="page"] {
  color: var(--bg) !important;
  border-bottom-color: var(--honey-bright) !important;
}
.site-header .site-nav a::after { background: var(--honey-bright) !important; }

/* Theme-color meta (for browser UI) is set per-page; this is just visual */

/* ====================================================
   HERO — tighter vertical rhythm
   ==================================================== */
.typo-hero {
  padding: var(--space-4) 0 var(--space-3) !important;
}
.typo-hero h1 {
  line-height: 0.95 !important;
}
.typo-hero .slogan {
  margin-top: 6px !important;
}
.typo-hero .deck {
  margin-top: var(--space-2) !important;
}
@media (max-width: 720px) {
  .typo-hero { padding: var(--space-3) 0 var(--space-2) !important; }
}

/* ====================================================
   .btn-d label group with brand icon
   ==================================================== */
.contact-dark .btn-d .lbl {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}
.contact-dark .btn-d .ico {
  width: 22px;
  height: 22px;
  flex: 0 0 auto;
  display: block;
}

/* ====================================================
   DT RAZÍTKO — decent contextual mark
   Inline SVG uses currentColor — color follows context.
   Size via font-size or explicit width/height.
   ==================================================== */
.dt-mark {
  display: inline-block;
  width: 1em;
  height: 1em;
  vertical-align: middle;
  color: currentColor;
  flex: 0 0 auto;
}

/* Hero — small honey stamp above David Trčka signature */
.typo-hero .byline {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 6px;
}
.typo-hero .byline .hero-mark {
  font-size: 56px;
  color: var(--honey, #C8881F);
  margin-bottom: 6px;
}
@media (max-width: 720px) {
  .typo-hero .byline { align-items: flex-start; }
  .typo-hero .byline .hero-mark { font-size: 44px; }
}

/* Footer — small mark before wordmark */
.site-footer .brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.site-footer .brand .footer-mark {
  font-size: 22px;
  color: var(--ink-3);
  opacity: 0.85;
}
.site-footer .brand:hover .footer-mark { color: var(--honey); opacity: 1; }

/* Slightly smaller hero razítko */
.typo-hero .byline .hero-mark { font-size: 48px !important; }
@media (max-width: 720px) {
  .typo-hero .byline .hero-mark { font-size: 38px !important; }
}

/* Footer razítko slightly smaller */
.site-footer .brand .footer-mark { font-size: 20px !important; }

/* Header razítko — small inline mark next to wordmark */
.site-header .wordmark {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.site-header .wordmark .header-mark {
  font-size: 26px;
  color: var(--honey-bright);
  flex: 0 0 auto;
}
@media (max-width: 720px) {
  .site-header .wordmark .header-mark { font-size: 22px; }
  .site-header .wordmark { gap: 8px; }
}

/* Hero razítko — final size */
.typo-hero .byline .hero-mark { font-size: 40px !important; }
@media (max-width: 720px) {
  .typo-hero .byline .hero-mark { font-size: 34px !important; }
}

/* Colophon razítko — sign-off at the very end */
.site-footer .colophon {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.site-footer .colophon > span {
  display: inline-block;
}
.site-footer .colophon .colophon-mark {
  margin-left: auto;
  font-size: 26px;
  color: var(--ink-3);
  opacity: 0.75;
  transition: color .2s, opacity .2s;
}
.site-footer .colophon .colophon-mark:hover {
  color: var(--honey);
  opacity: 1;
}
@media (max-width: 540px) {
  .site-footer .colophon .colophon-mark { margin-left: 0; }
}

/* Page mark — top of every page hero (above h1 / eyebrow) */
.dt-mark.page-mark {
  display: block;
  font-size: 40px;
  width: 1em;
  height: 1em;
  margin-bottom: var(--space-3);
}
.typo-hero .dt-mark.page-mark { color: var(--honey); }
.typo-page-head.dark .dt-mark.page-mark { color: var(--ink); }
.typo-product-head.dark .dt-mark.page-mark { color: var(--honey-bright); }
@media (max-width: 720px) {
  .dt-mark.page-mark { font-size: 34px; }
}

/* Hide old hero-mark (now repurposed away) — defensive */
.typo-hero .byline .hero-mark { display: none !important; }

/* Colophon — URL + razítko grouped to the right */
.site-footer .colophon { justify-content: space-between; }
.site-footer .colophon .end {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}
@media (max-width: 540px) {
  .site-footer .colophon { flex-direction: row; flex-wrap: wrap; }
}

/* Place page-mark to the top-right of hero, mirroring the wordmark in the header */
.typo-hero .container,
.typo-page-head .container,
.typo-product-head .container {
  position: relative;
}
.dt-mark.page-mark {
  position: absolute;
  top: var(--space-3);
  right: var(--gutter, 32px);
  margin-bottom: 0;
}
/* Make sure subsequent hero content still starts at top — clear above heading */
.typo-hero .container > h1,
.typo-page-head .container > .eyebrow,
.typo-product-head .container > .eyebrow {
  /* leave enough room when very narrow */
}
@media (max-width: 720px) {
  .dt-mark.page-mark { top: var(--space-2); right: var(--gutter, 20px); }
}

/* ---- Page mark alignment override (final) ----
   Position relative to the section so distance from header is identical on every page. */
.typo-hero,
.typo-page-head,
.typo-product-head { position: relative; }

.typo-hero .container,
.typo-page-head .container,
.typo-product-head .container { position: static; }

.dt-mark.page-mark {
  position: absolute;
  top: var(--space-3);
  right: var(--gutter, 32px);
  margin: 0;
}
@media (max-width: 720px) {
  .dt-mark.page-mark { top: var(--space-2); right: var(--gutter, 20px); }
}

/* Normalize hero top padding so razítko sits the same height across pages */
.typo-hero,
.typo-page-head,
.typo-product-head {
  padding-top: calc(var(--space-4) + 48px) !important;
}
@media (max-width: 720px) {
  .typo-hero,
  .typo-page-head,
  .typo-product-head { padding-top: calc(var(--space-3) + 42px) !important; }
}

/* ====================================================
   SWATCH-CHIP CARD VARIANTS (dark base + honey accent)
   --chip = honey color of the med
   Variant A: top bar | Variant B: left border
   ==================================================== */
.label-card.chip {
  background: var(--surface-dark);
  color: var(--bg);
  border: 1px solid var(--surface-dark);
  padding: 24px;
  margin: 0 0 var(--space-3);
  position: relative;
}
.label-card.chip .etiketa img { display: block; width: 100%; filter: contrast(1.02); }
.label-card.chip .jar-slot {
  margin-top: 20px; display: grid; place-items: center; text-align: center;
}
.label-card.chip .jar-slot:has(img) {
  aspect-ratio: auto;
  padding: 0;
}
.label-card.chip .jar-slot:not(:has(img)) { display: none; }
.label-card.chip .jar-slot img { max-width: 40%; max-height: none; width: auto; filter: drop-shadow(0 16px 32px rgba(0,0,0,0.4)); }
.label-card.chip figcaption {
  margin-top: 16px; font-size: 11px; letter-spacing: 0.18em;
  text-transform: uppercase; text-align: center;
  color: color-mix(in oklab, var(--bg) 60%, transparent);
}
.label-card.chip .swatch-label {
  display: block; margin-top: 14px; text-align: center;
  font-family: var(--body); font-size: 10px; letter-spacing: 0.24em;
  text-transform: uppercase; font-weight: 500;
}
.label-card.chip .swatch-label .dot {
  display: inline-block; width: 9px; height: 9px; border-radius: 50%;
  background: var(--chip); margin-right: 7px; vertical-align: middle;
}
.label-card.chip .swatch-label .txt { color: color-mix(in oklab, var(--bg) 55%, transparent); vertical-align: middle; }

/* Variant B — left border */
.label-card.chip.chip-left { border-left: 15px solid var(--chip); }

/* Honey accent per type — laděno podle signature barvy akvarelu na etiketě */
.label-card.chip-kvetovy    { --chip: #F39A21; } /* luční květy — oranžová */
.label-card.chip-pastovany  { --chip: #5C7FC6; } /* chrpa — modřená */
.label-card.chip-svazenkovy { --chip: #9483C6; } /* svazenka — levandulová */
.label-card.chip-smiseny    { --chip: #C56529; } /* letní louka — rezavá */
.label-card.chip-medovicovy { --chip: #C0801C; } /* podzimní les — jantarová */

/* ====================================================
   CLOSING CTA — sign-off link at the end of a page
   ==================================================== */
.closing-cta {
  padding: var(--space-6) 0;
  text-align: center;
}
.closing-cta .closing-link {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  font-family: var(--display);
  font-weight: 500;
  font-size: clamp(26px, 3vw, 40px);
  letter-spacing: -0.02em;
  color: var(--ink);
  text-decoration: none;
  padding-bottom: 8px;
  border-bottom: 2px solid transparent;
  transition: border-color .25s, color .25s;
}
.closing-cta .closing-link .arr {
  font-size: 0.8em;
  color: var(--honey);
  transition: transform .25s;
}
.closing-cta .closing-link:hover { border-bottom-color: var(--honey); }
.closing-cta .closing-link:hover .arr { transform: translateX(6px); }

/* ====================================================
   HONEY-ROW color-coded edge (homepage)
   Same identity color as the detail-page card border
   and the label watercolor signature.
   ==================================================== */
.honey-row .thumb {
  border-left: 8px solid var(--row-chip, transparent);
  transition: transform .6s ease, border-left-width .25s ease;
  box-sizing: border-box;
}
.honey-row:hover .thumb { border-left-width: 14px; }

.honey-row.row-kvetovy    { --row-chip: #F39A21; }
.honey-row.row-pastovany  { --row-chip: #5C7FC6; }
.honey-row.row-svazenkovy { --row-chip: #9483C6; }
.honey-row.row-smiseny    { --row-chip: #C56529; }
.honey-row.row-medovicovy { --row-chip: #C0801C; }

/* ============================================================
   MOBILE POLISH — ~90 % of visitors arrive by QR on the label.
   Tuned across 360–430 px. Everything is inside max-width
   queries, so the desktop layout is left exactly as it is.
   ============================================================ */
@media (max-width: 600px) {
  /* — Header: keep the original single row, just a touch smaller so the
       logo and the nav don't crowd each other on a phone — */
  .wordmark .ck { font-size: 13px; }
  .wordmark .med { font-size: 14px !important; }
  .site-nav { gap: 14px; font-size: 12px; }
  .site-nav a {
    font-size: 12px;
    display: inline-flex;
    align-items: center;
    min-height: 40px;          /* keep a usable tap target */
  }

  /* — Side gutters: .product-body and .two-col zero their own L/R
       padding, which made text touch the screen edge on phones — */
  .product-body,
  .two-col {
    padding-left: var(--gutter);
    padding-right: var(--gutter);
  }

  /* — Landing hero signature: smaller and aligned right — */
  .typo-hero .deck .byline { text-align: right; font-size: 9px; letter-spacing: 0.2em; }
  .typo-hero .byline { align-items: flex-end; }
  .typo-hero .byline strong.signature { font-size: 18px; margin-bottom: 5px; }

  /* — Contact buttons: larger, more readable labels — */
  .contact-dark .btn-d { font-size: 13px; letter-spacing: 0.16em; }

  /* — Contact lead: let it run the full width of the phone — */
  .contact-dark .lead { max-width: none; }

  /* — Footer wordmark + nav: shrink so each stays on a single line — */
  .site-footer .footer-inner .brand { font-size: 17px; white-space: nowrap; }
  .site-footer .footer-nav {
    font-size: 11px;
    gap: 16px;
    white-space: nowrap;
    text-transform: none;             /* match the top menu — no caps */
    width: 100%;
    justify-content: space-between;   /* spread links across full width */
  }
  .site-footer .footer-nav a { white-space: nowrap; }

  /* — Product hero title: scale the 56px floor down on small
       phones so long names (MEDOVICOVÝ, KVĚTOVÝ PASTOVANÝ) never
       crowd the edges — */
  .typo-product-head h1 { font-size: clamp(40px, 12.5vw, 56px); }
}

/* ====================================================
   DATA FOLD — Složení & výživové hodnoty schované do rozbalení
   Drží editoriální tón: žádná tlačítka, jen tenká linka a šipka.
   ==================================================== */
.product-body .copy details.data-fold {
  margin-top: var(--space-5);
  border-top: 1px solid var(--rule-soft);
}
.product-body .copy details.data-fold > summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: var(--space-3);
  padding: 16px 0 0;
  font-family: var(--body);
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--ink-2);
  transition: color .2s;
}
.product-body .copy details.data-fold > summary::-webkit-details-marker { display: none; }
.product-body .copy details.data-fold > summary:hover { color: var(--ink); }
.product-body .copy details.data-fold > summary .fold-hint {
  font-weight: 400;
  text-transform: none;
  letter-spacing: 0.04em;
  font-style: italic;
  color: var(--ink-3);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.product-body .copy details.data-fold > summary .fold-hint::after {
  content: "+";
  font-style: normal;
  font-size: 16px;
  line-height: 1;
  color: var(--honey-deep);
  transition: transform .25s;
}
.product-body .copy details.data-fold[open] > summary .fold-hint::after {
  content: "–";
}
.product-body .copy details.data-fold .data-fold-body {
  overflow: hidden;
  height: 0;
}
.product-body .copy details.data-fold[open] .data-fold-body {
  height: auto;
}
@media (prefers-reduced-motion: no-preference) {
  .product-body .copy details.data-fold .data-fold-body {
    transition: height .42s cubic-bezier(.4, 0, .2, 1);
    will-change: height;
  }
}
/* První h2 uvnitř už nemusí mít horní mezeru — summary ji drží.
   Mezera je na dítěti (ne padding wrapperu), aby ji height:0 schoval. */
.product-body .copy details.data-fold .data-fold-body h2:first-of-type {
  margin-top: var(--space-3);
}
.product-body .copy details.data-fold .data-fold-body ul li {
  grid-template-columns: 1fr auto;
}
.product-body .copy details.data-fold .data-fold-body ul li .v {
  text-align: right;
}
/* DT mark v patičce skrytě vede do /admin/ — discrete link bez podtržení. */
.dt-admin-link {
  color: inherit;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
}
.dt-admin-link:hover .dt-mark { color: var(--honey); }
