/* Písma hostovaná lokálně: Geist + Geist Mono (stejná jako na původním webu) */
@font-face { font-family: "Geist"; font-style: normal; font-weight: 100 900; font-display: swap; src: url("fonts/geist-latin-ext-wght-normal.woff2") format("woff2-variations"), url("fonts/geist-latin-ext-wght-normal.woff2") format("woff2"); unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: "Geist"; font-style: normal; font-weight: 100 900; font-display: swap; src: url("fonts/geist-latin-wght-normal.woff2") format("woff2-variations"), url("fonts/geist-latin-wght-normal.woff2") format("woff2"); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD,U+2190-21FF; }
@font-face { font-family: "Geist Mono"; font-style: normal; font-weight: 100 900; font-display: swap; src: url("fonts/geist-mono-latin-ext-wght-normal.woff2") format("woff2-variations"), url("fonts/geist-mono-latin-ext-wght-normal.woff2") format("woff2"); unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: "Geist Mono"; font-style: normal; font-weight: 100 900; font-display: swap; src: url("fonts/geist-mono-latin-wght-normal.woff2") format("woff2-variations"), url("fonts/geist-mono-latin-wght-normal.woff2") format("woff2"); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD,U+2190-21FF; }

/* Fotřík v režimu — styl webu
   Barvy a písmo vychází z obálky knihy: oranžová #FA580B, Inter (max. Bold). */


:root {
  color-scheme: dark;
  --bg: #111110;
  --bg-2: #171615;
  --line: #2a2826;
  --line-2: #3a3734;
  --fg: #f2f0ec;
  --fg-2: #c9c5bf;
  --mute: #8e8a84;
  --paper: #c7c6c4;
  --paper-ink: #151413;
  --paper-mute: #5e5a55;
  --accent: #fa580b;
  --accent-ink: #1a0a02;

  --font: "Geist", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --mono: "Geist Mono", ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;

  /* Písmo: Geist (nadpisy i text), Geist Mono (štítky, čísla). Max. Bold. */
  --display: "Geist", ui-sans-serif, system-ui, sans-serif;
  --d-weight: 700;
  --d-track: -0.028em;
  --d-stretch: normal;
  --d-lead: 0.95;
  --d-case: none;
  --h3-weight: 700;

  --wrap: 1880px;
  --gutter: clamp(16px, 3.4vw, 64px);
  --band: clamp(72px, 10vw, 136px);
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  font-feature-settings: "ss01", "cv11";
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
::selection { background: var(--accent); color: var(--accent-ink); }

:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 2px; }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }

h1, h2, h3, h4 { margin: 0; font-weight: 600; letter-spacing: -0.035em; line-height: 1.02; text-wrap: balance; }
p { margin: 0; }

/* ---------- Drobné prvky ---------- */

.label {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.02em;
  color: var(--accent);
  display: inline-flex;
  gap: 0.6em;
}
.label::before { content: "//"; }

.mono { font-family: var(--mono); font-variant-numeric: tabular-nums; }
.accent { color: var(--accent); }
.muted { color: var(--mute); }

.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 13px 22px;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  font-size: 15px; font-weight: 500; letter-spacing: -0.01em;
  text-decoration: none;
  color: var(--fg);
  background: transparent;
  cursor: pointer;
  transition: border-color .2s, background .2s, color .2s;
  font-family: inherit;
}
.btn:hover { border-color: var(--fg); }
.btn .arr { transition: transform .2s; }
.btn:hover .arr { transform: translate(2px, -2px); }
.btn-primary { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); font-weight: 600; }
.btn-primary:hover { background: var(--fg); border-color: var(--fg); color: var(--bg); }

.band { padding-block: var(--band); border-top: 1px solid var(--line); position: relative; }
.band > .wrap > .label { position: absolute; top: 20px; }
.band-alt { background: var(--bg-2); }

.lede { font-size: clamp(17px, 1.3vw, 19px); color: var(--fg-2); max-width: 60ch; }
.small { font-size: 14px; color: var(--mute); }

.outline {
  color: transparent;
  -webkit-text-stroke: 1px var(--fg-2);
  font-family: var(--mono);
  font-weight: 300;
  letter-spacing: -0.06em;
  line-height: 0.85;
}

/* ---------- Hlavička: připnutá nahoře, po scrollu tmavý „skleněný“ pruh ---------- */

html { scroll-padding-top: 88px; }

.site-head {
  position: fixed; inset: 0 0 auto 0; z-index: 60;
  padding-top: env(safe-area-inset-top, 0px);
  color: var(--fg);
  transition: background-color .3s ease, border-color .3s ease, box-shadow .3s ease;
  border-bottom: 1px solid transparent;
}
.head-bar {
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center;
  gap: 24px; padding-block: 18px; font-size: 14px;
  transition: padding .3s ease;
}
.site-head.is-scrolled {
  background: rgba(17, 17, 16, .78);
  -webkit-backdrop-filter: saturate(160%) blur(16px);
          backdrop-filter: saturate(160%) blur(16px);
  border-bottom-color: rgba(255, 255, 255, .08);
  box-shadow: 0 10px 30px rgba(0, 0, 0, .18);
}
.site-head.is-scrolled .head-bar { padding-block: 10px; }
@supports not ((-webkit-backdrop-filter: blur(1px)) or (backdrop-filter: blur(1px))) {
  .site-head.is-scrolled { background: rgba(17, 17, 16, .96); }
}

.brand { text-decoration: none; display: inline-flex; align-items: center; }
.brand img { height: 34px; width: auto; }
/* animace hlavičky až po prvním skutečném posunu stránky (jinak logo při načtení stránky „poskočí“) */
.site-head.anim .brand img { transition: height .3s ease; }
.site-head.is-scrolled .brand img { height: 28px; }
.brand .logo-dark { display: none; }

.nav { display: flex; gap: clamp(18px, 3vw, 44px); }
.nav a { text-decoration: none; opacity: .72; transition: opacity .2s; position: relative; padding-block: 6px; }
.nav a:hover, .nav a[aria-current="page"] { opacity: 1; }
.nav a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px;
  background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform .25s ease;
}
.nav a:hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); }

.head-cta { justify-self: end; display: flex; gap: 12px; align-items: center; }
.head-cta .btn { padding: 9px 16px; font-size: 14px; }
.site-head.is-scrolled .head-cta .btn { padding: 8px 15px; }

/* Světlé pozadí nahoře (hlavní stránka) – dokud se nescrolluje, tmavé logo a text */
.on-paper .site-head:not(.is-scrolled):not(.open) { color: var(--paper-ink); }
.on-paper .site-head:not(.is-scrolled):not(.open) .brand .logo-light { display: none; }
.on-paper .site-head:not(.is-scrolled):not(.open) .brand .logo-dark { display: block; }
.on-paper .site-head:not(.is-scrolled):not(.open) .menu-toggle { border-color: rgba(21,20,19,.3); }

/* Tlačítko menu (mobil) */
.menu-toggle {
  display: none; align-items: center; gap: 10px;
  background: transparent; color: inherit; font: inherit; font-size: 14px; font-weight: 500;
  border: 1px solid rgba(255,255,255,.25); border-radius: 999px; padding: 8px 14px; cursor: pointer;
}
.mt-icon { display: grid; gap: 5px; width: 16px; }
.mt-icon i { display: block; height: 1.5px; background: currentColor; border-radius: 2px; transition: transform .3s ease; }
.site-head.open .mt-icon i:first-child { transform: translateY(3.25px) rotate(45deg); }
.site-head.open .mt-icon i:last-child { transform: translateY(-3.25px) rotate(-45deg); }

/* Mobilní panel s odkazy */
.mnav { display: none; }

@media (max-width: 860px) {
  html { scroll-padding-top: 72px; }
  .head-bar { grid-template-columns: 1fr auto; padding-block: 14px; }
  .site-head.is-scrolled .head-bar { padding-block: 10px; }
  .nav, .head-cta .btn-primary { display: none; }
  .menu-toggle { display: inline-flex; }
  .brand img { height: 24px; }
  .site-head.is-scrolled .brand img { height: 22px; }

  .site-head.open { background: var(--bg); color: var(--fg); bottom: 0; border-bottom-color: transparent; box-shadow: none;
    -webkit-backdrop-filter: none; backdrop-filter: none; }
  .site-head.open .mnav {
    display: flex; flex-direction: column; justify-content: space-between;
    height: calc(100% - 64px); padding: 24px var(--gutter) calc(28px + env(safe-area-inset-bottom, 0px));
    overflow-y: auto;
  }
  .mnav-links { display: grid; border-top: 1px solid var(--line); }
  .mnav-links a {
    display: flex; align-items: baseline; gap: 16px; text-decoration: none;
    padding: 14px 0; border-bottom: 1px solid var(--line);
    font-size: clamp(30px, 9vw, 44px); font-weight: 700; letter-spacing: -0.045em; line-height: 1;
  }
  .mnav-links a .n { font-family: var(--mono); font-size: 12px; font-weight: 400; letter-spacing: 0; color: var(--mute); }
  .mnav-links a[aria-current="page"] { color: var(--accent); }
  .mnav-foot { display: grid; gap: 18px; padding-top: 28px; }
  .mnav-foot .btn { justify-content: center; }
  .mnav-contact { font-family: var(--mono); font-size: 13px; color: var(--mute); line-height: 1.7; }
  .mnav-contact a { color: var(--fg-2); }
  /* Mobil: bez animací a bez rozmazání – menu se otevře okamžitě */
  .site-head, .site-head *, .head-bar, .brand img { transition: none !important; animation: none !important; }
  .site-head.is-scrolled { background: rgba(17, 17, 16, .97); -webkit-backdrop-filter: none; backdrop-filter: none; box-shadow: none; }
  .site-head.open, .site-head.open.is-scrolled { background: var(--bg); }
}
body.menu-open { overflow: hidden; }

/* ---------- Hero: „Fotřík, co chce být fit.“ + portrét, na celou výšku okna ---------- */

.hero {
  position: relative;
  color: var(--paper-ink);
  overflow: hidden;
  background-color: var(--paper);
  background-image:
    radial-gradient(ellipse 30% 55% at 72% 50%, rgba(255,255,255,.55), rgba(255,255,255,0) 72%),
    radial-gradient(circle, rgba(21,20,19,.22) 1px, transparent 1.5px),
    linear-gradient(180deg, #d3d2d0 0%, var(--paper) 100%);
  background-size: auto, 48px 48px, auto;
  background-position: center, 24px 24px, center;
}
.hero-stage {
  position: relative;
  height: 100vh;
  height: 100svh;
  min-height: 600px;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  align-items: center;
}
.hero-copy { position: relative; z-index: 3; display: grid; gap: clamp(20px, 2.4vw, 32px); justify-items: start; padding-top: 40px; }
.hero-eyebrow {
  font-family: var(--mono); font-size: clamp(12px, 1vw, 15px);
  text-transform: uppercase; letter-spacing: .28em; color: var(--accent);
}
.hero-title {
  font-family: var(--display); font-weight: 700;
  font-size: min(7.8vw, 15svh, 190px);
  line-height: .95; letter-spacing: -0.055em;
  max-width: 7.5em;
}
.hero-title em {
  font-style: normal;
  color: var(--accent);
  letter-spacing: -0.04em;
}
.hero-lead { max-width: 44ch; font-size: clamp(16px, 1.2vw, 19px); line-height: 1.55; color: #3d3a37; }
.hero .btn { color: var(--paper-ink); border-color: rgba(21,20,19,.28); }
.hero .btn:hover { border-color: var(--paper-ink); }
.hero .btn-primary { color: var(--accent-ink); border-color: var(--accent); }
.hero .btn-primary:hover { background: var(--paper-ink); border-color: var(--paper-ink); color: #fff; }

.hero-photo {
  position: absolute; z-index: 2; margin: 0;
  right: max(0px, calc(var(--gutter) - 2vw)); bottom: 0;
  height: min(86%, 50vw);
}
.hero-photo img { height: 100%; width: auto; max-width: none; }

.hero-foot {
  position: absolute; z-index: 4; left: var(--gutter); right: var(--gutter); bottom: 26px;
  display: flex; justify-content: space-between; align-items: end; gap: 24px;
  pointer-events: none;
}
.hero-foot > * { pointer-events: auto; }
.hero-stat { display: grid; gap: 2px; text-align: right; color: #fff; }
.hero-stat b { font-size: 20px; font-weight: 700; letter-spacing: -0.02em; }
.hero-stat span { font-family: var(--mono); font-size: 12px; color: rgba(255,255,255,.7); }
.socials { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 22px; font-size: 14px; font-weight: 500; }
.socials a { text-decoration: none; display: inline-flex; gap: 8px; align-items: center; }
.hero-foot .socials { gap: 10px 28px; }
.hero-foot .socials a { flex-direction: column; align-items: flex-start; gap: 4px; }
.soc-n { font-size: 14px; font-weight: 600; letter-spacing: -0.01em; line-height: 1; }
.soc-l { display: inline-flex; gap: 6px; align-items: center; font-size: 12px; opacity: .7; }
.socials a:hover { color: var(--accent); }
.socials svg { width: 15px; height: 15px; }

@media (max-width: 960px) {
  .hero-stage { grid-template-columns: 1fr; align-items: start; min-height: 640px; }
  .hero-copy { padding-top: 96px; gap: 16px; }
  .hero-title { font-size: min(15vw, 9svh); }
  .hero-lead { font-size: 15px; max-width: 38ch; }
  /* Mobil: fotka už není přes text – řadí se pod tlačítka a vyplní zbytek výšky */
  .hero-stage { display: flex; flex-direction: column; height: auto; min-height: 100vh; min-height: 100svh; }
  .hero-photo {
    position: relative; left: auto; right: auto; bottom: auto; transform: none;
    flex: 1 1 auto; min-height: 300px; height: auto; align-self: stretch;
    margin: 20px calc(var(--gutter) * -1) 0;
    display: flex; justify-content: center; align-items: flex-end;
  }
  .hero-photo img { position: absolute; bottom: 0; left: 50%; transform: translateX(-46%); height: 100%; max-height: 118vw; width: auto; }
  .hero-foot .socials { display: none; }
}

/* ---------- Intro ---------- */

.statement {
  font-size: clamp(30px, 4.4vw, 84px);
  font-weight: 600; letter-spacing: -0.045em; line-height: 1.04;
  text-indent: 18%;
  max-width: 1500px;
}
.statement .accent { color: var(--accent); }
.intro-grid { display: grid; grid-template-columns: 1fr minmax(0, 420px); gap: 48px; margin-top: 56px; }
.intro-grid .col { grid-column: 2; display: grid; gap: 28px; justify-items: start; }
@media (max-width: 860px) {
  .statement { text-indent: 0; }
  .intro-grid { grid-template-columns: 1fr; }
  .intro-grid .col { grid-column: 1; }
}

/* ---------- Seznam řádků (jako „services list“) ---------- */

.rows { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.rows li {
  display: grid; grid-template-columns: 1fr auto; gap: 16px; align-items: baseline;
  padding: 15px 4px; border-bottom: 1px solid var(--line);
  font-size: 15px; font-weight: 500;
}
.rows li .mono { color: var(--mute); font-size: 13px; }
.rows li small { display: block; color: var(--mute); font-weight: 400; font-size: 14px; margin-top: 2px; }

/* ---------- Kniha (homepage) ---------- */

.book-grid { display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); gap: clamp(32px, 6vw, 96px); align-items: center; }
.cover { position: relative; max-width: 480px; justify-self: center; width: 100%; }
.cover::after {
  content: ""; position: absolute; inset: -10% -20%; z-index: -1; pointer-events: none;
  background: radial-gradient(closest-side, rgba(250,88,11,.2), rgba(250,88,11,0));
}
.book-copy { display: grid; gap: 26px; }
.book-copy h2 { font-size: clamp(44px, 6vw, 88px); }
.book-sub { font-size: clamp(18px, 1.6vw, 22px); color: var(--fg-2); letter-spacing: -0.02em; line-height: 1.35; max-width: 34ch; }

.price { display: flex; align-items: baseline; gap: 16px; flex-wrap: wrap; }
.price .old { font-family: var(--mono); color: var(--mute); text-decoration: line-through; font-size: 18px; }
.price .now { font-size: clamp(40px, 4.4vw, 60px); font-weight: 600; letter-spacing: -0.04em; color: var(--accent); line-height: 1; }
.price .later { font-family: var(--mono); font-size: 13px; color: var(--mute); }
.price .tag { font-family: var(--mono); font-size: 12px; border: 1px solid var(--line-2); border-radius: 999px; padding: 4px 10px; color: var(--fg-2); }
.cta-row { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }

@media (max-width: 860px) { .book-grid, .book-grid.flip { grid-template-columns: 1fr; } .cover { max-width: 280px; } }

/* ---------- Cesta: před / teď ---------- */

.journey-head { display: grid; grid-template-columns: auto 1fr; gap: clamp(24px, 5vw, 80px); align-items: end; margin-bottom: 64px; }
.big-kg { font-size: clamp(88px, 15vw, 230px); white-space: nowrap; }
.big-kg .to { -webkit-text-stroke-color: var(--accent); }
.journey-head p { max-width: 42ch; color: var(--fg-2); }
.journey-head .big-kg { color: transparent; max-width: none; }

.journey { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 5vw, 80px); align-items: start; }
.compare { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; position: sticky; top: 24px; max-width: 600px; }
.compare figure { margin: 0; position: relative; background: #000; overflow: hidden; aspect-ratio: 2 / 4.2; }
.compare img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 35%; }
.compare figcaption {
  position: absolute; left: 10px; bottom: 10px;
  font-family: var(--mono); font-size: 12px;
  background: var(--bg); color: var(--fg); padding: 5px 9px;
}
/* Před: fotka z profilu – držet obličej i místo před ním; Teď: běžec uprostřed */
.compare figure:first-child img { object-position: 40% 0; }
.compare figure:last-child img { object-position: 51% 40%; }
.compare figure:last-child figcaption { background: var(--accent); color: var(--accent-ink); }

.steps { list-style: none; margin: 0; padding: 0; counter-reset: s; border-top: 1px solid var(--line); }
.steps li { display: grid; grid-template-columns: 56px 1fr; gap: 16px; padding: 22px 0; border-bottom: 1px solid var(--line); }
.steps li::before { counter-increment: s; content: counter(s, decimal-leading-zero); font-family: var(--mono); font-size: 13px; color: var(--accent); padding-top: 5px; }
.steps h3 { font-size: 21px; letter-spacing: -0.025em; line-height: 1.2; }
.steps .when { font-family: var(--mono); font-size: 12px; color: var(--mute); margin-left: 8px; letter-spacing: 0; font-weight: 400; }
.steps p { color: var(--fg-2); margin-top: 6px; font-size: 16px; max-width: 58ch; }

@media (max-width: 860px) {
  .journey-head { grid-template-columns: 1fr; }
  .journey { grid-template-columns: 1fr; }
  .compare { position: static; }
  .compare figure { aspect-ratio: 3 / 5; }
}

/* ---------- Mřížka bodů (manifest, pravidla) ---------- */

.points { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.points > div { padding: clamp(24px, 3vw, 44px); border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); display: grid; gap: 12px; align-content: start; }
.points h3 { font-size: clamp(22px, 2.2vw, 30px); letter-spacing: -0.035em; }
.points p { color: var(--fg-2); max-width: 46ch; }
.points.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 960px) { .points.three { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 680px) { .points, .points.three { grid-template-columns: 1fr; } }

.sec-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 32px 64px; align-items: end; margin-bottom: 56px; }
.sec-head h2 { font-size: clamp(38px, 5vw, 72px); }
.sec-head p { color: var(--fg-2); max-width: 52ch; }
@media (max-width: 860px) { .sec-head { grid-template-columns: 1fr; } }

/* ---------- Poznámky ---------- */

.notes { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.notes li { display: grid; grid-template-columns: 180px 1fr; gap: 12px 40px; padding: 28px 0; border-bottom: 1px solid var(--line); }
.notes .meta { font-family: var(--mono); font-size: 12px; color: var(--mute); display: grid; gap: 4px; align-content: start; }
.notes .meta b { color: var(--accent); font-weight: 400; }
.notes p { font-size: clamp(19px, 1.7vw, 24px); letter-spacing: -0.02em; line-height: 1.4; max-width: 44ch; }
.notes li[hidden] { display: none; }
@media (max-width: 700px) { .notes li { grid-template-columns: 1fr; } }

.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  font-family: var(--mono); font-size: 12px;
  padding: 7px 13px; border-radius: 999px;
  border: 1px solid var(--line-2); background: transparent; color: var(--fg-2); cursor: pointer;
}
.chip[aria-pressed="true"] { background: var(--fg); color: var(--bg); border-color: var(--fg); }

.demo-note { font-family: var(--mono); font-size: 12px; color: var(--mute); border: 1px dashed var(--line-2); padding: 10px 14px; display: inline-block; }

/* ---------- Velké odkazy ---------- */

.biglinks { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.biglinks a {
  display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 24px;
  padding: clamp(18px, 2.4vw, 30px) 0; border-bottom: 1px solid var(--line);
  text-decoration: none;
}
.biglinks .t { font-size: clamp(34px, 6vw, 92px); font-weight: 600; letter-spacing: -0.05em; line-height: 1; transition: color .25s, transform .25s; }
.biglinks .d { color: var(--mute); font-size: 15px; max-width: 32ch; text-align: right; }
.biglinks a:hover .t { color: var(--accent); transform: translateX(10px); }
@media (prefers-reduced-motion: reduce) { .biglinks a:hover .t { transform: none; } }
@media (max-width: 700px) { .biglinks a { grid-template-columns: 1fr; } .biglinks .d { text-align: left; } }

/* ---------- Podstránky: hlavička stránky ---------- */

.page-hero { padding-top: clamp(120px, 14vw, 180px); padding-bottom: clamp(56px, 7vw, 96px); }
.page-hero h1 { font-size: clamp(52px, 9vw, 140px); letter-spacing: -0.06em; line-height: 0.9; }
.page-hero h1 .accent { color: var(--accent); }
.page-hero .lede { margin-top: 32px; }
.page-hero .label { margin-bottom: 28px; }

/* O mně */
.about-hero { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr); gap: clamp(32px, 5vw, 80px); align-items: end; }
.about-hero h1 { font-size: clamp(40px, 5.6vw, 84px); letter-spacing: -0.05em; line-height: 0.98; }
.about-hero figure { margin: 0; position: relative; max-width: 620px; justify-self: end; width: 100%; }
.about-hero figure img { width: 100%; aspect-ratio: 4/5; object-fit: cover; object-position: 50% 30%; }
.about-hero figcaption { font-family: var(--mono); font-size: 12px; color: var(--mute); margin-top: 10px; }
@media (max-width: 860px) { .about-hero { grid-template-columns: 1fr; } }

.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.stats > div { padding: 28px clamp(12px, 2vw, 28px); border-right: 1px solid var(--line); }
.stats > div:last-child { border-right: 0; }
.stats b { display: block; font-size: clamp(30px, 3.6vw, 52px); font-weight: 600; letter-spacing: -0.045em; line-height: 1; font-variant-numeric: tabular-nums; }
.stats span { display: block; margin-top: 10px; font-family: var(--mono); font-size: 12px; color: var(--mute); }
@media (max-width: 760px) { .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); } .stats > div:nth-child(2) { border-right: 0; } .stats > div:nth-child(-n+2) { border-bottom: 1px solid var(--line); } }

.prose { display: grid; gap: 1.1em; font-size: 18px; color: var(--fg-2); max-width: 62ch; }
.prose strong, .prose em { color: var(--fg); font-style: normal; font-weight: 500; }
.two-col { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(28px, 5vw, 72px); }
@media (max-width: 860px) { .two-col { grid-template-columns: 1fr; } }

.story { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: clamp(32px, 5vw, 80px); align-items: start; }
.story figure { margin: 0; position: sticky; top: 24px; max-width: 520px; }
.story figure img { width: 100%; aspect-ratio: 3/4; object-fit: cover; }
.story.rev { grid-template-columns: minmax(0, 8fr) minmax(0, 4fr); }
.book-grid.flip { grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); }
.story figcaption { font-family: var(--mono); font-size: 12px; color: var(--mute); margin-top: 10px; }
@media (max-width: 860px) { .story, .story.rev { grid-template-columns: 1fr; } .story figure { position: static; max-width: 360px; } }

.quote {
  font-size: clamp(28px, 3.8vw, 54px); font-weight: 600; letter-spacing: -0.045em; line-height: 1.08;
  max-width: 24ch;
}
.quote-src { font-family: var(--mono); font-size: 12px; color: var(--mute); margin-top: 24px; }

.lists { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(28px, 5vw, 72px); }
.lists h3 { font-size: 15px; font-family: var(--mono); font-weight: 400; letter-spacing: 0; margin-bottom: 18px; }
.lists .bad h3 { color: var(--mute); }
.lists .good h3 { color: var(--accent); }
.lists ul { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.lists li { padding: 16px 0 16px 28px; border-bottom: 1px solid var(--line); position: relative; color: var(--fg-2); }
.lists li::before { position: absolute; left: 0; top: 16px; font-family: var(--mono); font-size: 14px; }
.lists .bad li::before { content: "×"; color: var(--mute); }
.lists .good li::before { content: "→"; color: var(--accent); }
@media (max-width: 760px) { .lists { grid-template-columns: 1fr; } }

.wide-photo { margin: 0; }
.wide-photo img { width: 100%; aspect-ratio: 21/9; object-fit: cover; object-position: 50% 55%; }
.wide-photo figcaption { font-family: var(--mono); font-size: 12px; color: var(--mute); margin-top: 10px; }
@media (max-width: 700px) { .wide-photo img { aspect-ratio: 4/3; } }

/* Kniha — obsah po částech */
.parts { display: grid; gap: clamp(48px, 6vw, 88px); }
.part { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: clamp(24px, 4vw, 64px); }
.part-num { font-size: clamp(90px, 12vw, 180px); }
.part h3 { font-size: clamp(28px, 3vw, 40px); margin-top: 18px; }
.part .part-intro { color: var(--fg-2); margin-top: 10px; max-width: 32ch; }
.chapters { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.chapters li { display: grid; grid-template-columns: 48px 1fr; gap: 12px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.chapters .n { font-family: var(--mono); font-size: 13px; color: var(--accent); padding-top: 3px; }
.chapters b { font-weight: 600; font-size: 18px; letter-spacing: -0.02em; display: block; }
.chapters span.t { color: var(--mute); font-size: 15px; display: block; margin-top: 3px; }
@media (max-width: 860px) { .part { grid-template-columns: 1fr; } }

.excerpt { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: clamp(24px, 4vw, 64px); }
.excerpt .prose { font-size: clamp(18px, 1.45vw, 21px); line-height: 1.65; }
@media (max-width: 860px) { .excerpt { grid-template-columns: 1fr; } }

.buy { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 80px); align-items: start; }
.buy-card { border: 1px solid var(--line-2); padding: clamp(24px, 3vw, 40px); display: grid; gap: 18px; background: var(--bg); }
.field { display: grid; gap: 8px; }
.field label { font-family: var(--mono); font-size: 12px; color: var(--mute); }
.field input, .field textarea {
  font: inherit; font-size: 16px; color: var(--fg);
  background: transparent; border: 0; border-bottom: 1px solid var(--line-2);
  padding: 10px 0; border-radius: 0;
}
.field input:focus, .field textarea:focus { outline: none; border-bottom-color: var(--accent); }
.total { display: flex; justify-content: space-between; align-items: baseline; border-top: 1px solid var(--line); padding-top: 18px; }
.total b { font-size: 28px; letter-spacing: -0.03em; color: var(--accent); }
.form-msg { font-size: 14px; color: var(--fg-2); min-height: 1.4em; }
@media (max-width: 860px) { .buy { grid-template-columns: 1fr; } }

/* Inspiruj se */
.week { width: 100%; border-collapse: collapse; font-size: 15px; }
.week th, .week td { text-align: left; padding: 16px 12px 16px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.week th { font-family: var(--mono); font-weight: 400; font-size: 12px; color: var(--mute); }
.week td:first-child { font-family: var(--mono); color: var(--accent); width: 70px; }
.week td b { font-weight: 600; }
.week tr.rest td { color: var(--mute); }
.table-scroll { overflow-x: auto; }

.meals { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.meals > div { padding: 24px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); display: grid; gap: 10px; align-content: start; }
.meals .when { font-family: var(--mono); font-size: 12px; color: var(--accent); }
.meals h3 { font-size: 24px; }
.meals p { color: var(--fg-2); font-size: 15px; }
@media (max-width: 1000px) { .meals { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .meals > div { padding: 16px; } .meals > div > .ph { margin: -16px -16px 6px; width: calc(100% + 32px); } .meals h3 { font-size: 19px; } .meals p { font-size: 14px; } }

.gear { width: 100%; border-collapse: collapse; font-size: 15px; }
.gear td { padding: 14px 12px 14px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.gear td:last-child { text-align: right; font-family: var(--mono); white-space: nowrap; padding-right: 0; }
.gear .brand-cell { font-family: var(--mono); font-size: 12px; color: var(--mute); white-space: nowrap; }
.gear small { display: block; color: var(--mute); font-size: 14px; margin-top: 2px; }
.gear tfoot td { font-weight: 600; border-bottom: 0; padding-top: 20px; }
.gear tfoot td:last-child { color: var(--accent); font-size: 18px; }

.timeline { list-style: none; margin: 0; padding: 0; }
.timeline li { display: grid; grid-template-columns: 140px 1fr; gap: 20px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.timeline li:first-child { border-top: 1px solid var(--line); }
.timeline .t { font-family: var(--mono); font-size: 13px; color: var(--accent); padding-top: 3px; }
.timeline b { font-weight: 600; font-size: 18px; letter-spacing: -0.02em; }
.timeline p { color: var(--fg-2); font-size: 15px; margin-top: 3px; }
@media (max-width: 600px) { .timeline li { grid-template-columns: 1fr; gap: 4px; } }

.callout { border-left: 2px solid var(--accent); padding: 4px 0 4px 20px; color: var(--fg-2); max-width: 70ch; font-size: 15px; }

/* ---------- Patička ---------- */

.site-foot { border-top: 1px solid var(--line); overflow: hidden; }
.foot-news { display: flex; align-items: center; justify-content: space-between; gap: 16px 32px; flex-wrap: wrap; padding-block: 32px; border-bottom: 1px solid var(--line); }
.foot-news > p { font-size: 17px; color: var(--fg-2); margin: 0; }
.foot-news > p b { color: var(--fg); font-weight: 600; }
.foot-news form { display: flex; gap: 10px; width: min(440px, 100%); }
.foot-news input { flex: 1; min-width: 0; height: 48px; padding: 0 18px; border-radius: 999px; border: 1px solid var(--line); background: transparent; color: var(--fg); font: inherit; font-size: 15px; }
.foot-news input:focus { outline: none; border-color: var(--accent); }
.foot-news .form-msg { margin-top: 8px; font-size: 14px; color: var(--fg-2); }
.foot-news > div { width: min(440px, 100%); }
.foot-row { display: flex; align-items: center; justify-content: space-between; gap: 20px 32px; flex-wrap: wrap; padding-block: 36px; }
.foot-row .brand img { height: 30px; width: auto; }
.foot-links { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 24px; font-size: 15px; }
.foot-links a { text-decoration: none; color: var(--fg-2); }
.foot-links a:hover { color: var(--accent); }
@media (max-width: 760px) { .foot-row { flex-direction: column; align-items: flex-start; padding-block: 28px; } }
.foot-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr)); gap: 40px; }
.foot-grid h4 { font-family: var(--mono); font-size: 12px; font-weight: 400; color: var(--mute); letter-spacing: 0; margin-bottom: 16px; }
.foot-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; font-size: 15px; }
.foot-grid ul a { text-decoration: none; }
.foot-grid ul a:hover { color: var(--accent); }
.news h3 { font-size: clamp(26px, 2.6vw, 36px); letter-spacing: -0.04em; }
.news p { color: var(--fg-2); margin-top: 12px; max-width: 42ch; font-size: 15px; }
.news form { display: flex; gap: 10px; margin-top: 22px; max-width: 460px; }
.news input {
  flex: 1; min-width: 0; font: inherit; font-size: 15px; color: var(--fg);
  background: transparent; border: 1px solid var(--line-2); border-radius: 999px; padding: 12px 18px;
}
.news input:focus { outline: none; border-color: var(--accent); }
.news .form-msg { margin-top: 10px; }
.wordmark {
  margin-top: clamp(56px, 8vw, 110px);
  font-size: clamp(48px, 11.6vw, 232px);
  font-weight: 600; letter-spacing: -0.07em; line-height: 0.78;
  white-space: nowrap;
  color: transparent; -webkit-text-stroke: 1px var(--line-2);
  user-select: none;
  margin-bottom: -0.1em;
}
.foot-base .wrap { display: flex; justify-content: space-between; gap: 8px 16px; flex-wrap: wrap; }
.foot-base { padding-block: 18px; border-top: 1px solid var(--line); font-family: var(--mono); font-size: 12px; color: var(--mute); position: relative; background: var(--bg); }
@media (max-width: 960px) { .foot-grid { grid-template-columns: 1fr 1fr; } .foot-grid .news { grid-column: 1 / -1; } }
@media (max-width: 520px) { .news form { flex-direction: column; } }

/* ---------- Jemný nástup ---------- */
@media (prefers-reduced-motion: no-preference) {
  .rise { animation: rise .9s cubic-bezier(.2,.7,.2,1) both; }
  .rise.d1 { animation-delay: .08s; }
  .rise.d2 { animation-delay: .18s; }
  .rise.d3 { animation-delay: .3s; }
  @keyframes rise { from { transform: translateY(28px); } to { transform: none; } }
}

@media (max-width: 860px) {
  .book-grid.flip, .story.rev { grid-template-columns: 1fr; }
  .book-grid.flip .cover, .book-grid.flip .book3d { order: -1; }
}


/* ---------- Typografie: nadpisy (řízeno proměnnými) ---------- */

h1, h2, .hero-title, .statement, .biglinks .t, .wordmark, .price .now, .stats b, .quote,
.book-copy h2, .sec-head h2, .page-hero h1, .about-hero h1, .journey-head h2 {
  font-family: var(--display);
  font-weight: var(--d-weight);
  letter-spacing: var(--d-track);
  font-stretch: var(--d-stretch);
}
h1, h2, .hero-title, .book-copy h2, .sec-head h2, .page-hero h1, .about-hero h1 { line-height: var(--d-lead); }
.hero-title, .page-hero h1, .biglinks .t, .wordmark, .book-copy h2 { text-transform: var(--d-case); }
h3, .points h3, .steps h3, .meals h3 { font-family: var(--font); font-weight: var(--h3-weight); letter-spacing: -0.02em; }
.statement { line-height: 1.02; }
.hero-title { line-height: 0.92; }
/* Hlavní nadpis v hero: ExtraBold 800 – výjimka z „max. Bold“ (Honza 17. 10.) */
.hero-title { font-weight: 800; letter-spacing: -0.06em; }


/* ---------- 3D mockup knihy (čisté CSS, jen jedna malá plochá obálka) ---------- */
.book3d {
  --tilt: 26deg;
  position: relative;
  --bw: 360px;
  --bt: calc(var(--bw) * 0.085);
  width: var(--bw); height: calc(var(--bw) * 1.4765); max-width: 100%;
  justify-self: center;
  perspective: 1600px;
}
.book3d-inner {
  position: absolute; inset: 0;
  transform-style: preserve-3d;
  transform: rotateY(var(--tilt)) rotateX(3deg);
  transition: transform .8s cubic-bezier(.2,.7,.2,1);
}
.book3d:hover .book3d-inner { transform: rotateY(12deg) rotateX(2deg); }
.book3d-front, .book3d-back, .book3d-spine, .book3d-pages { position: absolute; display: block; }
.book3d-front {
  inset: 0; width: 100%; height: 100%; max-width: none;
  transform: translateZ(calc(var(--bt) / 2));
  border-radius: 2px 5px 5px 2px;
  box-shadow: inset 0 0 0 1px rgba(0,0,0,.08);
}
/* hřbetní ohyb a lesk přes obálku */
.book3d-inner::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  transform: translateZ(calc(var(--bt) / 2 + 1px));
  border-radius: 2px 5px 5px 2px;
  background:
    linear-gradient(90deg, rgba(0,0,0,.28) 0%, rgba(0,0,0,.05) 2.2%, rgba(255,255,255,.18) 3.2%, rgba(255,255,255,0) 5.5%),
    linear-gradient(115deg, rgba(255,255,255,.16) 0%, rgba(255,255,255,0) 38%, rgba(0,0,0,0) 70%, rgba(0,0,0,.14) 100%);
}
.book3d-back {
  inset: 0; background: #b73f06;
  transform: translateZ(calc(var(--bt) / -2));
  border-radius: 5px 2px 2px 5px;
}
.book3d-spine {
  top: 0; bottom: 0; left: 0; width: var(--bt);
  transform: translateX(-50%) rotateY(-90deg);
  background: linear-gradient(90deg, #a63905, #e0520a 45%, #c24506);
  display: flex; align-items: center; justify-content: space-between;
  writing-mode: vertical-rl; padding: calc(var(--bw) * .09) 0;
  font-family: var(--display); color: #151413; line-height: 1;
}
.book3d-spine b { font-size: calc(var(--bw) * .047); font-weight: 700; letter-spacing: -0.02em; text-transform: uppercase; }
.book3d-spine i { font-style: normal; font-size: calc(var(--bw) * .03); font-weight: 600; color: #fff6ec; }
.book3d-pages {
  top: 1%; bottom: 1%; right: 0; width: calc(var(--bt) - 2px);
  transform: translateX(50%) rotateY(90deg);
  background: repeating-linear-gradient(90deg, #f3efe7 0 1px, #d9d3c8 1px 2px);
}
/* stín pod knihou */
.book3d::after {
  content: ""; position: absolute; left: 6%; right: -4%; bottom: -5%; height: 8%;
  background: radial-gradient(closest-side, rgba(0,0,0,.5), rgba(0,0,0,0));
  z-index: -1; pointer-events: none;
}
/* jemná oranžová záře za knihou */
.book3d::before {
  content: ""; position: absolute; inset: -12% -30%; z-index: -1; pointer-events: none;
  background: radial-gradient(closest-side, rgba(250,88,11,.2), rgba(250,88,11,0));
}
@media (prefers-reduced-motion: reduce) { .book3d-inner { transition: none; } }
@media (min-width: 1500px) { .book3d { --bw: 420px; } }
@media (max-width: 860px) { .book3d { --bw: min(62vw, 260px); } }

/* ---------- Místa na fotky (šedé rámečky s číslem, dokud nejsou fotky) ---------- */
.ph {
  position: relative; margin: 0; width: 100%;
  aspect-ratio: var(--r, 4 / 5);
  background:
    repeating-linear-gradient(135deg, rgba(255,255,255,.025) 0 12px, transparent 12px 24px),
    #2b2927;
  border: 1px solid #3a3734;
  overflow: hidden;
}
.band-alt .ph { background-color: #252321; }
.ph-id {
  position: absolute; left: 14px; top: 12px;
  font-family: var(--mono); font-size: clamp(22px, 2.2vw, 34px); color: #d8d3cc; letter-spacing: -0.02em;
}
.ph-hint {
  position: absolute; left: 14px; right: 14px; bottom: 12px;
  font-family: var(--mono); font-size: 12px; line-height: 1.45; color: #8e8a84;
}
.ph.has-img { background: #1a1918; border: 0; }
.ph.has-img picture { display: contents; }
.ph.has-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ph-cap { position: absolute; left: 12px; bottom: 12px; z-index: 1; padding: 6px 10px; border-radius: 999px; background: rgba(17,17,16,.82); color: #fff; font-family: var(--mono, "Geist Mono", monospace); font-size: 12px; letter-spacing: .02em; line-height: 1; max-width: calc(100% - 24px); }
@media (max-width: 600px) { .ph-cap { left: 8px; bottom: 8px; padding: 5px 8px; font-size: 10px; max-width: calc(100% - 16px); } }

/* Mozaika (hlavní stránka) */
.ph-mosaic { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(10px, 1.4vw, 20px); align-items: start; }
.ph-mosaic > .ph:nth-child(2) { margin-top: 18%; }
.ph-mosaic > .ph:nth-child(4) { margin-top: 9%; }
.ph-mosaic .stack { display: grid; gap: clamp(10px, 1.4vw, 20px); }
/* Pás přes celou šířku */
.band-flush { padding-block: 0; }
.band-flush > .ph { border-inline: 0; }
/* Tři vedle sebe, prostřední posunutý */
.ph-row3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(10px, 1.4vw, 20px); align-items: start; }
.ph-row3 > .ph:nth-child(2) { margin-top: 10%; }
.ph-grid3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(10px, 1.4vw, 20px); }
.ph-grid4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(8px, 1vw, 14px); }
/* Dvojice: velká a menší, posunutá */
.ph-pair { display: grid; grid-template-columns: 5fr 4fr; max-width: 1180px; margin-inline: auto; gap: clamp(10px, 1.4vw, 20px); align-items: end; margin-top: 64px; }
.ph-pair > .ph:nth-child(2) { width: 78%; justify-self: end; }
.ph-pair.flip { grid-template-columns: 4fr 5fr; align-items: start; margin-top: 0; }
.ph-pair.flip > .ph:nth-child(1) { width: 78%; justify-self: start; margin-top: 18%; }
.ph-pair.flip > .ph:nth-child(2) { width: 100%; }
.ph-pair.wide { grid-template-columns: 8fr 4fr; align-items: start; margin-top: 0; }
.ph-pair.wide > .ph:nth-child(2) { width: 100%; margin-top: 18%; }
/* Instagram hlavička */
.ig-head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 16px; font-size: 14px; }
.ig-head a { text-decoration: none; }
/* Vybavení */
.ph-gear { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: clamp(10px, 1.2vw, 18px); margin-bottom: 56px; }
.ph-gear figure { margin: 0; display: grid; gap: 10px; }
.ph-gear figcaption { font-size: 14px; color: var(--fg-2); line-height: 1.35; }
/* Fotky v kartách jídel */
.meals > div > .ph { margin: -24px -24px 8px; width: calc(100% + 48px); border: 0; border-bottom: 1px solid var(--line); }

@media (max-width: 1100px) { .ph-gear { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 760px) {
  .ph-mosaic { grid-template-columns: 1fr 1fr; }
  .ph-mosaic > .ph:nth-child(2) { margin-top: 0; }
  .ph-mosaic > .ph:nth-child(3) { margin-top: -15%; }
  .ph-mosaic > .ph:nth-child(4) { margin-top: 0; }
  .band-flush > .ph { aspect-ratio: 4 / 3; }
  .ph-row3, .ph-grid3 { gap: 8px; }
  .ph-row3 > .ph:nth-child(2) { margin-top: 14%; }
  .ph-grid4 { grid-template-columns: 1fr 1fr; }
  .ph-pair, .ph-pair.wide { grid-template-columns: 1fr 1fr; }
  .ph-pair > .ph:nth-child(2) { width: 100%; }
  .ph-pair.wide > .ph:first-child { grid-column: 1 / -1; }
  .ph-pair.wide > .ph:nth-child(2) { margin-top: 0; width: 70%; justify-self: end; grid-column: 1 / -1; }
  .ph-gear { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ph-id { font-size: 20px; }
  .ph-hint { font-size: 11px; }
}
.excerpt > .ph-pair { grid-column: 1 / -1; }
.foot-news .form-msg:empty { display: none; }
.foot-base a { color: inherit; text-decoration: none; }
.foot-base a:hover { color: var(--accent); }
.book-meta { font-size: 14px; color: var(--mute); margin-top: 14px; }
/* Kniha: Pro koho */
.fit-title { font-size: clamp(36px, 5vw, 76px); margin: 16px 0 clamp(28px, 4vw, 56px); }
.fit { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(24px, 4vw, 72px); }
.fit-head { font-size: 12px; color: var(--mute); margin: 0 0 12px; text-transform: uppercase; letter-spacing: .12em; }
.fit-list { list-style: none; margin: 0; padding: 0; border-bottom: 1px solid var(--line); }
.fit-list li { position: relative; display: flex; align-items: center; min-height: 76px; padding: 14px 0 14px 50px; border-top: 1px solid var(--line); font-size: clamp(18px, 1.5vw, 22px); font-weight: 600; letter-spacing: -0.02em; line-height: 1.3; }
.fit-list li::before { content: ""; position: absolute; left: 0; top: 50%; width: 30px; height: 30px; margin-top: -15px; border-radius: 50%; background-position: center; background-repeat: no-repeat; background-size: 15px; }
.fit-list.yes li::before { background-color: var(--accent); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23111110' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E"); }
.fit-list.no li { color: var(--fg-2); font-weight: 500; }
.fit-list.no li::before { border: 1px solid var(--line); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23888' stroke-width='2.5' stroke-linecap='round'%3E%3Cpath d='M7 7l10 10M17 7L7 17'/%3E%3C/svg%3E"); background-size: 13px; }
.fit-note { margin-top: 28px; color: var(--mute); font-size: 14px; }
@media (max-width: 860px) { .fit { grid-template-columns: 1fr; gap: 36px; } .fit-list li { min-height: 64px; padding-left: 46px; } }
/* Stránka O mně (ab-) */
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.ab-stage { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); gap: clamp(32px, 5vw, 96px); align-items: center; min-height: 100svh; padding-block: 120px 64px; }
.ab-copy { padding-top: 0; }
.ab-title { font-size: min(5.6vw, 12svh, 132px); max-width: 9em; }
.hero-lead a { color: var(--accent); }
.ab-photo { margin: 0; justify-self: end; width: 100%; max-width: 560px; }
.ab-photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 20%; }
.ab-hero .hero-lead { color: var(--fg-2); }
.ab-stats { list-style: none; margin: 12px 0 0; padding: 22px 0 0; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 14px clamp(24px, 3vw, 48px); }
.ab-stats li { display: grid; gap: 2px; }
.ab-stats b { font-size: clamp(17px, 1.4vw, 21px); font-weight: 700; letter-spacing: -0.03em; }
.ab-stats span { font-family: var(--mono); font-size: 12px; color: var(--mute); }
.ab-duo { display: grid; grid-template-columns: repeat(2, minmax(0, 380px)); gap: clamp(12px, 2vw, 32px); }
.ab-duo figure { margin: 0; }
.ab-duo figcaption { display: grid; gap: 6px; margin-top: 14px; }
.ab-duo figcaption b { font-size: 17px; font-weight: 600; letter-spacing: -0.02em; }
.ab-duo figure:last-child figcaption b { color: var(--accent); }
.ab-duo figcaption span { color: var(--fg-2); font-size: 15px; line-height: 1.45; max-width: 34ch; }
.ab-quote { font-size: clamp(22px, 2vw, 30px); line-height: 1.2; max-width: 30ch; color: var(--fg); }
.ab-quote .quote-src { display: block; }
@media (max-width: 860px) {
  .ab-stage { grid-template-columns: 1fr; min-height: 0; padding-block: 104px 48px; }
  .ab-title { font-size: clamp(44px, 12vw, 64px); }
  .ab-photo { justify-self: stretch; max-width: none; }
}
@media (max-width: 760px) { .ab-duo { grid-template-columns: 1fr 1fr; } .ab-duo figcaption b { font-size: 15px; } .ab-duo figcaption span { font-size: 13px; } }
.ab-promena { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 96px); align-items: center; }
.ab-promena .big-kg { color: transparent; font-size: clamp(72px, 9vw, 150px); }
.ab-promena .lede { color: var(--fg-2); max-width: 40ch; }
.ab-promena .ab-duo { grid-template-columns: repeat(2, minmax(0, 1fr)); justify-self: end; width: 100%; max-width: 760px; }
@media (max-width: 960px) { .ab-promena { grid-template-columns: 1fr; } .ab-promena .ab-duo { justify-self: stretch; max-width: none; } }
/* O mně – responzivita */
.ab-gym { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(10px, 1.4vw, 20px); }
.ab-copy, .ab-promena-copy { min-width: 0; }
@media (max-width: 960px) {
  .ab-gym { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ab-stage { gap: 40px; }
}
@media (max-width: 600px) {
  .ab-title { font-size: clamp(38px, 11vw, 56px); }
  .ab-gym, .ab-duo { gap: 10px; }
  .ab-stats { gap: 14px 28px; }
  .ab-promena .big-kg { font-size: clamp(56px, 18vw, 90px); }
}
@media (max-width: 860px) { .ab-photo { max-width: 460px; justify-self: start; } }
.ab-cite { margin: clamp(48px, 6vw, 88px) 0 0; padding-left: clamp(20px, 2.4vw, 36px); border-left: 3px solid var(--accent); max-width: 980px; }
.ab-cite blockquote { margin: 0; font-size: clamp(24px, 2.8vw, 42px); font-weight: 700; letter-spacing: -0.035em; line-height: 1.15; }
.ab-cite figcaption { margin-top: 14px; font-family: var(--mono); font-size: 12px; color: var(--mute); }
.ab-now { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; margin-top: clamp(40px, 5vw, 72px); border-top: 1px solid var(--line); }
.ab-now > div { padding: 28px clamp(16px, 2vw, 32px) 0 0; display: grid; gap: 8px; align-content: start; }
.ab-now > div + div { padding-left: clamp(16px, 2vw, 32px); border-left: 1px solid var(--line); }
.ab-now span { font-size: 12px; color: var(--accent); text-transform: uppercase; letter-spacing: .12em; }
.ab-now b { font-size: clamp(26px, 2.6vw, 40px); font-weight: 700; letter-spacing: -0.04em; line-height: 1.05; }
.ab-now p { color: var(--fg-2); font-size: 15px; max-width: 32ch; }
.ab-ig-head { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 32px 64px; align-items: end; margin-bottom: 40px; }
.ab-ig-head .lede { color: var(--fg-2); max-width: 46ch; }
.ab-social { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0 16px; border-top: 1px solid var(--line); }
.ab-social a { display: grid; gap: 4px; padding: 18px 0 0; text-decoration: none; }
.ab-social b { font-size: clamp(24px, 2.4vw, 36px); font-weight: 700; letter-spacing: -0.04em; }
.ab-social span { font-size: 13px; color: var(--fg-2); }
.ab-social a:hover span { color: var(--accent); }
.ab-contact { border-top: 1px solid var(--line); }
.ab-contact-row { display: flex; justify-content: space-between; align-items: end; gap: 24px 48px; flex-wrap: wrap; }
.ab-contact .lede { color: var(--fg-2); }
@media (max-width: 860px) { .ab-ig-head { grid-template-columns: 1fr; } }
@media (max-width: 600px) { .ab-now { grid-template-columns: 1fr; } .ab-now > div + div { padding-left: 0; border-left: 0; border-top: 1px solid var(--line); margin-top: 24px; } }
.sec-title { font-size: clamp(34px, 4.6vw, 64px); margin: 16px 0 clamp(24px, 3vw, 44px); }

/* ---------- Jednotné velikosti nadpisů (celý web) ---------- */
/* H1 na podstránkách = velikost z O mně. Úvodní stránka má vlastní velký hero. */
.page-hero h1, .ab-title { font-size: min(5.6vw, 12svh, 132px); }
/* H2 nadpisy sekcí */
.sec-head h2, .sec-title, .fit-title, .book-copy h2, .journey-head h2, main h2:not(.statement):not(.mono) { font-size: clamp(34px, 4.2vw, 60px); }
@media (max-width: 600px) {
  .page-hero h1, .ab-title { font-size: clamp(38px, 11vw, 56px); }
}
/* Inspiruj se: Moje pravidla */
.rules { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: clamp(32px, 5vw, 96px); counter-reset: none; }
.rules li { display: grid; grid-template-columns: clamp(52px, 5.4vw, 88px) minmax(0, 1fr); gap: clamp(16px, 2vw, 32px); align-items: start; padding: clamp(24px, 2.6vw, 36px) 0; border-top: 1px solid var(--line); }
.rules li:nth-last-child(-n+2) { border-bottom: 1px solid var(--line); }
.rule-n { font-family: var(--display); font-weight: 700; font-size: clamp(40px, 4vw, 64px); line-height: .85; letter-spacing: -0.05em; color: transparent; -webkit-text-stroke: 1px var(--accent); }
.rules h3 { font-size: clamp(20px, 1.8vw, 28px); letter-spacing: -0.03em; margin-bottom: 8px; }
.rules p { color: var(--fg-2); font-size: 15px; line-height: 1.5; max-width: 44ch; }
.rules li:hover .rule-n { color: var(--accent); }
@media (max-width: 760px) { .rules { grid-template-columns: 1fr; } .rules li:nth-last-child(2) { border-bottom: 0; } }
/* Inspiruj se: Jak trénuju */
.week-strip { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: clamp(6px, .8vw, 12px); }
.week-strip li { border: 1px solid var(--line); border-radius: 14px; padding: 16px 14px 18px; display: grid; gap: 22px; align-content: space-between; min-height: 112px; }
.week-strip li .mono { font-size: 12px; color: var(--mute); }
.week-strip li b { font-size: clamp(15px, 1.3vw, 19px); letter-spacing: -0.02em; line-height: 1.2; }
.week-strip li.run { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.week-strip li.run .mono { color: var(--accent-ink); opacity: .7; }
.week-strip li.rest { border-style: dashed; }
.week-strip li.rest b { color: var(--fg-2); font-weight: 600; }
.miles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(24px, 4vw, 72px); margin-top: clamp(48px, 5vw, 80px); }
.miles > div { border-top: 1px solid var(--line); padding-top: 24px; display: grid; gap: 10px; align-content: start; }
.miles .mono { font-size: 12px; color: var(--accent); text-transform: uppercase; letter-spacing: .12em; }
.mile-num { font-size: clamp(36px, 4.4vw, 68px); font-weight: 700; letter-spacing: -0.05em; line-height: 1; }
.miles p:not(.mile-num) { color: var(--fg-2); max-width: 46ch; }
.link-more { display: inline-flex; gap: 8px; margin-top: 36px; text-decoration: none; font-weight: 600; color: var(--accent); }
.link-more:hover { text-decoration: underline; }
@media (max-width: 860px) {
  .week-strip { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .miles { grid-template-columns: 1fr; }
}
@media (max-width: 480px) { .week-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); } .week-strip li { min-height: 84px; gap: 12px; } }
@media (max-width: 860px) { .week-strip li.rest { grid-column: span 2; } }
/* Jak trénuju: den = fotka */
.week-days { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: clamp(8px, 1vw, 14px); }
.week-days li { display: grid; gap: 12px; align-content: start; }
.week-days .wd { display: grid; gap: 4px; padding-top: 12px; border-top: 2px solid var(--line); }
.week-days .wd .mono { font-size: 12px; color: var(--mute); }
.week-days .wd b { font-size: clamp(15px, 1.2vw, 18px); letter-spacing: -0.02em; line-height: 1.2; }
.week-days li.today .wd { border-top-color: var(--accent); }
.week-days li.today .wd .mono, .week-days li.today .wd b { color: var(--accent); }
.week-days li.today .ph { outline: 2px solid var(--accent); outline-offset: -2px; }
.week-days li.today .wd .mono::after { content: " · dnes"; }
.week-days li.today .wd .mono:lang(en)::after { content: " · today"; }
.week-days li.today .wd .mono:lang(de)::after { content: " · heute"; }
.week-days li.rest .wd b { color: var(--fg-2); font-weight: 600; }
.week-days .ph-hint { font-size: 10px; }
.week-days .ph-id { font-size: 16px; }
@media (max-width: 1280px) {
  .week-days { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 23%; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 12px; scrollbar-width: none; }
  .week-days::-webkit-scrollbar { display: none; }
  .week-days li { scroll-snap-align: start; }
}
.week-nav { display: none; }
@media (max-width: 1280px) {
  .week-wrap { position: relative; }
  .week-wrap::after { content: ""; position: absolute; top: 52px; right: 0; bottom: 60px; width: 48px; pointer-events: none; background: linear-gradient(90deg, rgba(17,17,16,0), var(--bg)); transition: opacity .2s; }
  .week-wrap.at-end::after { opacity: 0; }
  .week-nav { display: flex; align-items: center; gap: 8px; margin-bottom: 14px; }
  .week-nav .mono { font-size: 12px; color: var(--mute); margin-right: auto; }
  .wk-btn { width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--line-2); background: transparent; color: var(--fg); font-size: 16px; cursor: pointer; display: grid; place-items: center; }
  .wk-btn[disabled] { opacity: .3; cursor: default; }
  .wk-btn[data-dir="1"]:not([disabled]) { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
}
@media (max-width: 1024px) { .week-days { grid-auto-columns: 31%; } }
@media (max-width: 760px) { .week-days { grid-auto-columns: 46%; } }
@media (max-width: 480px) { .week-days { grid-auto-columns: 62%; } }
/* Inspiruj se: Ranní režim */
.morning { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 0; position: relative; }
.morning::before { content: ""; position: absolute; left: 0; right: 0; top: 7px; height: 1px; background: var(--line-2); }
.morning li { position: relative; padding: 32px clamp(12px, 1.6vw, 28px) 0 0; display: grid; gap: 8px; align-content: start; }
.morning li::before { content: ""; position: absolute; top: 2px; left: 0; width: 11px; height: 11px; border-radius: 50%; background: var(--bg); border: 2px solid var(--fg-2); box-sizing: border-box; }
.morning li.start::before { background: var(--accent); border-color: var(--accent); width: 15px; height: 15px; top: 0; }
.mr-t { font-size: 12px; color: var(--mute); text-transform: uppercase; letter-spacing: .1em; }
.morning li.start .mr-t { color: var(--accent); font-size: clamp(28px, 2.6vw, 40px); font-family: var(--display); font-weight: 700; letter-spacing: -0.04em; text-transform: none; line-height: 1; }
.morning b { font-size: clamp(17px, 1.4vw, 21px); letter-spacing: -0.02em; line-height: 1.2; }
.morning p { color: var(--fg-2); font-size: 14px; line-height: 1.5; }
.mr-note { margin-top: clamp(36px, 4vw, 56px); padding-top: 20px; border-top: 1px solid var(--line); color: var(--mute); font-size: 14px; max-width: 70ch; }
@media (max-width: 900px) {
  .morning { grid-template-columns: 1fr; padding-left: 30px; }
  .morning::before { left: 7px; right: auto; top: 6px; bottom: 30px; width: 1px; height: auto; }
  .morning li { padding: 0 0 26px; }
  .morning li::before { left: -28px; }
  .morning li.start::before { left: -30px; }
}
/* Inspiruj se: Suplementy */
.supl { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 72px); align-items: start; }
.supl-list { list-style: none; margin: 0; padding: 0; border-bottom: 1px solid var(--line); }
.supl-list li { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 8px 32px; padding: 20px 0; border-top: 1px solid var(--line); align-items: baseline; }
.supl-list b { font-size: clamp(18px, 1.5vw, 22px); letter-spacing: -0.02em; }
.supl-list p { color: var(--fg-2); font-size: 15px; line-height: 1.5; }
.supl-out { border: 1px dashed var(--line-2); border-radius: 18px; padding: clamp(20px, 2.4vw, 32px); display: grid; gap: 10px; }
.supl-out .mono { font-size: 12px; color: var(--mute); text-transform: uppercase; letter-spacing: .12em; }
.supl-out b { font-size: clamp(26px, 2.4vw, 36px); letter-spacing: -0.04em; text-decoration: line-through; text-decoration-color: var(--accent); text-decoration-thickness: 3px; color: var(--fg-2); }
.supl-out p { color: var(--fg-2); font-size: 15px; }
@media (max-width: 860px) { .supl { grid-template-columns: 1fr; } .supl-list li { grid-template-columns: 1fr; } }

/* Apps (Jak měřím progres) */
.apps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: clamp(24px, 4vw, 64px); }
.apps li { display: grid; gap: 10px; align-content: start; padding: clamp(24px, 2.6vw, 36px) 0; border-top: 1px solid var(--line); }
.apps li:nth-last-child(-n+3) { border-bottom: 1px solid var(--line); }
.apps .mono { font-size: 12px; color: var(--mute); text-transform: uppercase; letter-spacing: .12em; }
.apps a { font-size: clamp(22px, 2vw, 30px); font-weight: 600; letter-spacing: -0.035em; line-height: 1.1; color: var(--fg); text-decoration: none; width: fit-content; }
.apps a .arr { color: var(--accent); font-size: .7em; vertical-align: .15em; }
.apps a:hover { color: var(--accent); }
.apps p { color: var(--fg-2); font-size: 15px; line-height: 1.5; max-width: 36ch; }
.apps-note { margin-top: 32px; color: var(--fg-2); font-size: 15px; max-width: 60ch; }
@media (max-width: 860px) { .apps { grid-template-columns: repeat(2, minmax(0, 1fr)); } .apps li:nth-last-child(3) { border-bottom: 0; } }
@media (max-width: 520px) { .apps { grid-template-columns: 1fr; } .apps li:nth-last-child(2) { border-bottom: 0; } }

/* Provozovatel (právní stránky) */
.op-box { border: 1px solid var(--line); border-radius: 18px; padding: clamp(20px, 2.4vw, 32px); max-width: 520px; }
.op-box p { color: var(--fg-2); line-height: 1.6; }
.op-box b { color: var(--fg); }

[hidden] { display: none !important; }

@media (hover: none) { .btn-primary:hover { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); } }

/* Připnutá lišta „Koupit“ (stránka Kniha) – stejná na počítači i mobilu, formulář řeší Stripe */
body.has-buybar { padding-bottom: 76px; }
.buybar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 50; background: var(--accent); color: var(--accent-ink); box-shadow: 0 -8px 30px rgba(0,0,0,.35); padding-bottom: env(safe-area-inset-bottom, 0px); }
.buybar-in { display: flex; align-items: center; gap: 16px; min-height: 68px; padding-top: 10px; padding-bottom: 10px; }
.bb-info { display: flex; align-items: center; gap: 14px; min-width: 0; flex: 1; }
.bb-info img { width: 32px; height: auto; border-radius: 2px; box-shadow: 0 4px 12px rgba(0,0,0,.25); flex: none; }
.bb-info div { display: grid; gap: 1px; min-width: 0; }
.bb-info b { font-size: 16px; letter-spacing: -0.02em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bb-info .mono { font-size: 11px; color: rgba(26,10,2,.72); white-space: nowrap; }
.bb-price { font-size: 24px; font-weight: 700; letter-spacing: -0.04em; white-space: nowrap; margin-left: auto; padding-left: 8px; }
.bb-price small { display: block; font-family: var(--mono); font-size: 10.5px; font-weight: 400; letter-spacing: 0; color: rgba(26,10,2,.7); text-align: right; }
.buybar .bb-go, .buybar .bb-go:hover { background: #111110; border-color: #111110; color: #fff; white-space: nowrap; }
.buybar .bb-go:hover { background: #000; }
.buybar .bb-go[disabled] { opacity: .7; cursor: progress; }
.bb-msg { position: absolute; left: 0; right: 0; bottom: 100%; margin: 0; text-align: center; font-size: 14px; color: var(--fg); }
.bb-msg:not(:empty) { padding: 10px var(--gutter); background: var(--bg-2); border-top: 1px solid var(--line-2); }
@media (max-width: 560px) {
  body.has-buybar { padding-bottom: 68px; }
  .buybar-in { gap: 12px; min-height: 60px; }
  .bb-info .mono, .bb-price small { display: none; }
  .bb-info b { font-size: 15px; }
  .bb-price { font-size: 20px; }
  .buybar .bb-go { padding-left: 18px; padding-right: 18px; }
}
.buy-cta { margin-top: 8px; }

/* Poznámky – karty */
.ncards { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 2vw, 28px); }
.nc { border: 1px solid var(--line); border-radius: 20px; overflow: hidden; background: var(--bg-2); transition: border-color .2s, transform .2s; }
.nc[hidden] { display: none; }
.nc > a { display: flex; flex-direction: column; height: 100%; color: inherit; text-decoration: none; }
.nc:hover { border-color: var(--line-2); }
.nc:hover .nc-img img { transform: scale(1.03); }
.nc-img { aspect-ratio: 4 / 3; overflow: hidden; background: var(--bg); }
.nc-img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .5s; }
.nc-body { display: grid; gap: 10px; padding: clamp(18px, 2vw, 26px); align-content: start; flex: 1; }
.nc-tag { font-family: var(--mono); font-size: 12px; color: var(--accent); }
.nc h3 { font-size: clamp(20px, 1.7vw, 26px); letter-spacing: -0.03em; line-height: 1.15; }
.nc p { color: var(--fg-2); font-size: 15px; line-height: 1.55; }
.nc-more { margin-top: auto; padding-top: 6px; font-weight: 600; font-size: 14px; color: var(--fg); }
.nc:hover .nc-more { color: var(--accent); }
.nc-noimg .nc-body { padding-top: clamp(24px, 2.6vw, 34px); }
.nc-quote { background: transparent; border-style: dashed; }
.nc-quote .nc-q { font-size: clamp(19px, 1.6vw, 23px); line-height: 1.4; letter-spacing: -0.02em; color: var(--fg); }
@media (max-width: 1000px) { .ncards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 620px) { .ncards { grid-template-columns: 1fr; } }

/* Poznámka – detail */
.np-narrow { max-width: 820px; }
.np-head { padding-bottom: clamp(24px, 3vw, 40px); }
.np-back { text-decoration: none; }
.np-title { font-size: clamp(38px, 5.4vw, 72px); line-height: 1.02; letter-spacing: -0.045em; margin: 20px 0 0; }
.np-lede { margin-top: 22px; font-size: clamp(19px, 1.6vw, 23px); color: var(--fg-2); max-width: 60ch; }
.np-cover { margin: 0 0 clamp(28px, 4vw, 48px); border-radius: 22px; overflow: hidden; background: var(--bg-2); }
.np-cover img { width: 100%; height: auto; display: block; }
.np-body { font-size: clamp(18px, 1.35vw, 20px); line-height: 1.7; max-width: 66ch; gap: 1.15em; }
.np-body h2 { font-size: clamp(24px, 2.2vw, 32px); letter-spacing: -0.03em; color: var(--fg); margin-top: .6em; line-height: 1.15; }
.np-body ul { margin: 0; padding-left: 1.2em; display: grid; gap: .4em; }
.np-body li::marker { color: var(--accent); }
.np-body a { color: var(--accent); text-underline-offset: 3px; }
.np-body strong { font-weight: 600; }
.np-body em { font-style: normal; color: var(--fg); font-weight: 500; }
.np-body blockquote { margin: 0; padding-left: 20px; border-left: 3px solid var(--accent); color: var(--fg); font-size: 1.1em; }
.np-gallery { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin-top: clamp(28px, 4vw, 48px); }
.np-gallery figure { margin: 0; border-radius: 16px; overflow: hidden; }
.np-gallery img { width: 100%; height: 100%; object-fit: cover; display: block; }
.np-book { display: grid; grid-template-columns: 96px 1fr; gap: 22px; align-items: center; margin: clamp(48px, 6vw, 80px) 0 var(--band); padding: clamp(20px, 2.4vw, 30px); border: 1px solid var(--line-2); border-radius: 22px; background: var(--bg-2); }
.np-book img { width: 96px; height: auto; border-radius: 3px; box-shadow: 0 10px 30px rgba(0,0,0,.4); }
.np-book div { display: grid; gap: 8px; justify-items: start; }
.np-book .mono { font-size: 12px; color: var(--accent); }
.np-book b { font-size: clamp(20px, 1.7vw, 26px); letter-spacing: -0.03em; line-height: 1.15; }
.np-book p { color: var(--fg-2); font-size: 15px; }
.np-book .btn { margin-top: 6px; }
@media (max-width: 560px) { .np-gallery { grid-template-columns: 1fr; } .np-book { grid-template-columns: 64px 1fr; gap: 16px; } .np-book img { width: 64px; } }
main .np-body h2:not(.statement):not(.mono) { font-size: clamp(24px, 2.2vw, 32px); }
main .np-title { font-size: clamp(38px, 5vw, 68px); }
.np-cover img { max-height: 72vh; object-fit: cover; }
.ncards { align-items: start; }
/* Fotky na webu bez zaoblení */
.nc, .np-cover, .np-gallery figure { border-radius: 0; }

/* Krátké poznámky – mřížka karet s ikonou tématu */
.qn { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(14px, 1.6vw, 22px); }
.qn-card { display: grid; gap: 18px; align-content: start; padding: clamp(22px, 2.2vw, 32px); border: 1px solid var(--line); background: var(--bg-2); transition: border-color .2s; }
.qn-card:hover { border-color: var(--line-2); }
.qn-card[hidden] { display: none; }
.qn-head { display: flex; align-items: center; gap: 12px; }
.qn-ic { width: 46px; height: 46px; display: grid; place-items: center; border: 1px solid var(--line-2); color: var(--accent); flex: none; }
.qn-ic svg { width: 24px; height: 24px; }
.qn-head b { font-family: var(--mono); font-size: 12px; font-weight: 400; color: var(--accent); text-transform: uppercase; letter-spacing: .12em; }
.qn-text { display: grid; gap: .75em; }
.qn-card p { font-size: clamp(18px, 1.45vw, 21px); line-height: 1.45; letter-spacing: -0.015em; color: var(--fg); }
@media (max-width: 1000px) { .qn { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 620px) { .qn { grid-template-columns: 1fr; } }
.qn-head time { margin-left: auto; font-family: var(--mono); font-size: 11.5px; color: var(--mute); white-space: nowrap; }

/* Poznámky: Načíst další */
.qn-more { display: flex; justify-content: center; margin-top: clamp(32px, 4vw, 48px); }
.qn-card .qn-hash { justify-self: start; font-family: var(--mono); font-size: 12.5px; color: var(--mute); text-decoration: none; transition: color .2s; }
.qn-card .qn-hash:hover { color: var(--accent); }

/* Inspiruj se – mobil: jídla pod sebou, čísla na jeden řádek */
@media (max-width: 600px) {
  .meals { grid-template-columns: 1fr; }
  .meals > div { padding: 20px 20px 24px; gap: 8px; }
  .meals > div > .ph { margin: -20px -20px 10px; width: calc(100% + 40px); }
  .meals h3 { font-size: 22px; }
  .meals p { font-size: 15px; line-height: 1.55; }
  .stats > div { padding: 22px 14px; }
  .stats b { font-size: clamp(22px, 6.6vw, 30px); white-space: nowrap; }
  .stats span { font-size: 11.5px; line-height: 1.45; }
}

/* Právní texty: obchodní podmínky, osobní údaje, cookies */
.legal-sum { list-style: none; margin: clamp(40px, 5vw, 64px) 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.legal-sum li { display: grid; gap: 8px; align-content: start; padding: 24px clamp(14px, 2vw, 28px); border-right: 1px solid var(--line); }
.legal-sum li:first-child { padding-left: 0; }
.legal-sum li:last-child { border-right: 0; }
.legal-sum b { font-size: 17px; letter-spacing: -0.02em; color: var(--fg); }
.legal-sum span { font-size: 14px; line-height: 1.5; color: var(--fg-2); }
.legal-band { padding-top: clamp(40px, 5vw, 72px); border-top: 0; }
.legal-grid { display: grid; grid-template-columns: minmax(240px, 300px) minmax(0, 1fr); gap: clamp(40px, 6vw, 112px); align-items: start; }
.legal-side { position: sticky; top: 100px; display: grid; gap: 28px; max-height: calc(100vh - 120px); overflow: auto; scrollbar-width: none; }
.legal-side::-webkit-scrollbar { display: none; }
.legal-toc ol { list-style: none; margin: 0 0 22px; padding: 0; display: grid; gap: 2px; }
.legal-toc li a { display: flex; gap: 10px; padding: 4px 0; font-size: 14px; color: var(--fg-2); text-decoration: none; transition: color .2s; }
.legal-toc li a:hover { color: var(--accent); }
.legal-toc .ln { font-family: var(--mono); font-size: 11.5px; color: var(--mute); min-width: 20px; padding-top: 2px; }
.legal-part { margin: 0 0 8px; }
.legal-part a { font-family: var(--mono); font-size: 12px; text-transform: uppercase; letter-spacing: .12em; color: var(--accent); text-decoration: none; }
.legal-side .op-box { max-width: none; padding: 20px; border-radius: 14px; }
.legal-side .op-box p { font-size: 13.5px; line-height: 1.6; }
.legal-side .op-box a { color: var(--accent); }
.legal { max-width: 70ch; min-width: 0; }
.legal-head { display: grid; gap: 10px; padding-top: 8px; margin: clamp(72px, 8vw, 112px) 0 8px; border-top: 1px solid var(--line-2); scroll-margin-top: 100px; }
.legal-head:first-child { margin-top: 0; border-top: 0; padding-top: 0; }
.legal-head .mono { font-size: 12px; color: var(--accent); text-transform: uppercase; letter-spacing: .12em; padding-top: 20px; }
.legal-head:first-child .mono { padding-top: 0; }
main .legal h2.legal-title { font-size: clamp(30px, 3.2vw, 44px); letter-spacing: -0.035em; margin: 0; }
main .legal h2:not(.legal-title):not(.statement):not(.mono) { display: flex; gap: 14px; align-items: baseline; font-size: clamp(19px, 1.6vw, 22px); letter-spacing: -0.02em; margin: 44px 0 14px; color: var(--fg); scroll-margin-top: 100px; }
.legal h2 .ln { font-family: var(--mono); font-size: 13px; font-weight: 400; color: var(--accent); min-width: 22px; }
.legal p, .legal li { color: var(--fg-2); font-size: 16px; line-height: 1.65; }
.legal p { margin: 0 0 12px; }
.legal ul { margin: 0 0 14px; padding-left: 20px; display: grid; gap: 6px; }
.legal li::marker { color: var(--accent); }
.legal li b { color: var(--fg); font-weight: 600; }
.ou-table { border-top: 1px solid var(--line); margin: 4px 0 18px; }
.ou-row { display: grid; grid-template-columns: minmax(0, 0.7fr) minmax(0, 1.3fr); gap: 8px 28px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.ou-row b { color: var(--fg); font-size: 16px; letter-spacing: -0.01em; }
.ou-row > p { margin: 0; }
.ou-meta { grid-column: 2; display: grid; grid-template-columns: 116px minmax(0, 1fr); gap: 6px 14px; margin: 4px 0 0; }
.ou-meta dt { font-family: var(--mono); font-size: 11.5px; color: var(--mute); text-transform: uppercase; letter-spacing: .08em; padding-top: 3px; }
.ou-meta dd { margin: 0; font-size: 14.5px; line-height: 1.55; color: var(--fg-2); }
.legal-date { margin-top: 56px !important; padding-top: 20px; border-top: 1px solid var(--line); font-family: var(--mono); font-size: 13px !important; color: var(--mute) !important; }
.news-note { margin: 8px 0 0; font-size: 12.5px; color: var(--mute); }
.news-note a { color: var(--fg-2); }
.news-note a:hover { color: var(--accent); }
@media (max-width: 1000px) {
  .legal-sum { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .legal-sum li:nth-child(2) { border-right: 0; }
  .legal-sum li:nth-child(3) { padding-left: 0; }
  .legal-sum li:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .legal-grid { grid-template-columns: 1fr; }
  .legal-side { position: static; max-height: none; overflow: visible; grid-row: 2; }
  .legal-toc { display: none; }
}
@media (max-width: 600px) {
  .legal-sum { grid-template-columns: 1fr; }
  .legal-sum li { padding: 18px 0; border-right: 0; border-bottom: 1px solid var(--line); }
  .legal-sum li:last-child { border-bottom: 0; }
  .ou-row { grid-template-columns: 1fr; }
  .ou-meta { grid-column: 1; grid-template-columns: 1fr; gap: 2px; }
  .ou-meta dd { margin-bottom: 8px; }
}

/* O mně: poslední Reels (když nejsou náhledy, zůstanou fotky) */
.reels:empty { display: none; }
.reels:not(:empty) + [data-reels-fallback] { display: none; }
.reels { --n: 6; list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(var(--n), minmax(0, 1fr)); gap: clamp(8px, 1vw, 14px); }
.reels a { position: relative; display: block; aspect-ratio: 9 / 16; overflow: hidden; background: var(--bg-2); border: 1px solid var(--line); color: #fff; text-decoration: none; }
.reels img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.reels a::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,0) 55%, rgba(0,0,0,.72)); }
.reels a:hover img { transform: scale(1.04); }
.reel-play { position: absolute; top: 12px; right: 12px; z-index: 1; width: 34px; height: 34px; display: grid; place-items: center; border-radius: 50%; background: rgba(17,17,16,.55); backdrop-filter: blur(6px); transition: background .2s; }
.reel-play svg { width: 15px; height: 15px; fill: #fff; margin-left: 2px; }
.reels a:hover .reel-play { background: var(--accent); }
.reel-cap { position: absolute; left: 12px; right: 12px; bottom: 12px; z-index: 1; font-size: 13px; line-height: 1.35; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
@media (max-width: 1000px) { .reels { grid-template-columns: repeat(3, minmax(0, 1fr)); max-width: none; } }
@media (max-width: 600px) {
  .reels { max-width: none; grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 44%; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; margin-inline: -16px; padding-inline: 16px; scroll-padding-inline: 16px; }
  .reels::-webkit-scrollbar { display: none; }
  .reels li { scroll-snap-align: start; }
}

/* Děkujeme: stažení po jazycích */
.dl-rows { display: grid; gap: 22px; }
.dl-row { display: grid; gap: 10px; }
.dl-row .mono { font-size: 12px; color: var(--mute); text-transform: uppercase; letter-spacing: .12em; }

/* Přepínač jazyka */
.langs { display: flex; align-items: center; gap: 2px; margin-right: 4px; }
.langs a { font-family: var(--mono); font-size: 12px; letter-spacing: .06em; color: var(--mute); text-decoration: none; padding: 6px 7px; border-radius: 6px; transition: color .2s; }
.langs a:hover { color: var(--fg); }
.langs a[aria-current] { color: var(--fg); }
.on-paper .site-head:not(.is-scrolled):not(.open) .langs a { color: rgba(21,20,19,.55); }
.on-paper .site-head:not(.is-scrolled):not(.open) .langs a[aria-current], .on-paper .site-head:not(.is-scrolled):not(.open) .langs a:hover { color: #151413; }
.langs-m { margin: 0 0 20px; gap: 6px; }
.langs-m a { font-size: 14px; padding: 8px 12px; border: 1px solid var(--line); }
.langs-m a[aria-current] { border-color: var(--accent); color: var(--accent); }
@media (max-width: 860px) { .head-cta > .langs { display: none; } }

/* Podtitul značky v EN/DE (Dad on Track / Papa in Form) */
.brand-sub { margin-left: 12px; padding-left: 12px; border-left: 1px solid var(--line-2); font-family: var(--mono); font-size: 11.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--mute); white-space: nowrap; }
.on-paper .site-head:not(.is-scrolled):not(.open) .brand-sub { color: rgba(21,20,19,.55); border-color: rgba(21,20,19,.2); }
.book-alt { margin: -8px 0 4px; font-family: var(--mono); font-size: clamp(13px, 1.1vw, 15px); letter-spacing: .14em; text-transform: uppercase; color: var(--mute); }
@media (max-width: 1100px) { .brand-sub { display: none; } }

/* Bez animací hlavičky při načtení stránky */
.site-head:not(.anim), .site-head:not(.anim) .head-bar, .site-head:not(.anim) .head-cta .btn { transition: none !important; }
.ab-social b { white-space: nowrap; }
@media (max-width: 600px) { .ab-social { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 16px; } .ab-social li:nth-child(n+3) a { padding-top: 22px; } }
@media (min-width: 601px) { .ab-social { grid-template-columns: repeat(4, auto); justify-content: space-between; gap: 0 20px; } }

/* Žádná kurzíva ani nakloněné písmo nikde na webu */
em, i, cite, dfn, var, address, q { font-style: normal; }

/* Patička: Powered by wefree ✦ */
.built-by { display: inline-flex; align-items: center; gap: .45em; white-space: nowrap; }
.foot-base a.built-by:hover { color: var(--fg); }
.built-by b { font-weight: 500; color: var(--fg-2); transition: color .25s ease; }
.built-by:hover b, .built-by:focus-visible b { color: var(--accent); }
.bb-star { width: 11px; height: 11px; fill: var(--accent); flex: none; transform-origin: 50% 50%;
  transition: transform .7s cubic-bezier(.34, 1.56, .64, 1), filter .4s ease; }
.built-by:hover .bb-star, .built-by:focus-visible .bb-star {
  transform: rotate(180deg) scale(1.45);
  filter: drop-shadow(0 0 6px rgba(250, 88, 11, .75));
  animation: bb-twinkle 1.6s ease-in-out .7s infinite;
}
@keyframes bb-twinkle {
  0%, 100% { transform: rotate(180deg) scale(1.45); filter: drop-shadow(0 0 6px rgba(250, 88, 11, .75)); }
  50% { transform: rotate(225deg) scale(1.15); filter: drop-shadow(0 0 2px rgba(250, 88, 11, .4)); }
}
@media (prefers-reduced-motion: reduce) {
  .bb-star { transition: filter .3s ease; }
  .built-by:hover .bb-star, .built-by:focus-visible .bb-star { transform: none; animation: none; }
}

/* Newsletter – výrazný pruh nad patičkou (id="newsletter", odkaz v menu) */
.news-band { background: var(--accent); color: #1a0a02; scroll-margin-top: 72px; }
.news-band .wrap { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 28px clamp(32px, 6vw, 96px); align-items: end; padding-block: clamp(56px, 8vw, 104px); }
.news-band .label { color: #1a0a02; opacity: .75; }
.news-band h2 { margin: 14px 0 0; font-size: clamp(34px, 4.6vw, 68px); line-height: .98; letter-spacing: -0.045em; font-weight: 700; color: #140800; max-width: 13ch; }
.news-band .nb-copy p { margin: 18px 0 0; font-size: clamp(16px, 1.25vw, 19px); line-height: 1.5; color: rgba(26, 10, 2, .8); max-width: 48ch; }
.news-band form { display: flex; flex-wrap: wrap; gap: 10px; }
.news-band input[type=email] { flex: 1; min-width: 0; height: 58px; padding: 0 24px; border-radius: 999px; border: 1.5px solid rgba(21, 20, 19, .45); background: rgba(21, 20, 19, .06); color: #140800; font: inherit; font-size: 16px; font-weight: 500; transition: border-color .2s, background-color .2s, box-shadow .2s; }
.news-band input[type=email]::placeholder { color: rgba(26, 10, 2, .55); font-weight: 400; }
.news-band input[type=email]:hover { border-color: rgba(21, 20, 19, .7); }
.news-band input[type=email]:focus { outline: none; border-color: #151413; background: rgba(21, 20, 19, .1); }
.news-band .btn { height: 58px; padding-inline: 28px; background: #151413; color: #fff; border-color: #151413; }
.news-band .btn:hover { background: #000; border-color: #000; }
.news-band .form-msg { margin: 10px 0 0; font-size: 15px; font-weight: 500; color: #140800; }
.news-band .form-msg:empty { display: none; }
.news-band .news-note { margin: 12px 0 0; font-size: 13px; color: rgba(26, 10, 2, .72); }
.news-band .news-note a { color: inherit; text-underline-offset: 3px; }
.news-band.flash input[type=email] { box-shadow: 0 0 0 5px rgba(21, 20, 19, .14); border-color: #151413; }
@media (max-width: 860px) {
  .news-band .wrap { grid-template-columns: 1fr; align-items: start; }
}
@media (max-width: 480px) {
  .news-band form { flex-direction: column; }
  .news-band input[type=email] { flex: none; }
  .news-band .btn { width: 100%; justify-content: center; }
}

/* Poznámky: odkaz na newsletter pod úvodem */
.news-pill { display: inline-flex; align-items: center; gap: 10px; margin-top: 22px; padding: 10px 18px; border: 1px solid var(--line-2); border-radius: 999px; text-decoration: none; font-size: 15px; color: var(--fg-2); transition: border-color .2s, color .2s; }
.news-pill b { font-weight: 600; color: var(--accent); }
.news-pill:hover { border-color: var(--accent); color: var(--fg); }
.np-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); flex: none; }

/* Newsletter: povinný souhlas */
.nb-consent { display: flex; align-items: flex-start; gap: 10px; margin-top: 6px; font-size: 13.5px; line-height: 1.45; color: rgba(26, 10, 2, .82); cursor: pointer; }
.nb-consent input { appearance: none; -webkit-appearance: none; flex: none; width: 20px; height: 20px; margin: 0; border: 1.5px solid rgba(21, 20, 19, .6); border-radius: 4px; background: rgba(21, 20, 19, .06); cursor: pointer; display: grid; place-content: center; }
.nb-consent input::after { content: ""; width: 10px; height: 6px; border-left: 2px solid var(--accent); border-bottom: 2px solid var(--accent); transform: translateY(-1px) rotate(-45deg); opacity: 0; }
.nb-consent input:checked { background: #151413; border-color: #151413; }
.nb-consent input:checked::after { opacity: 1; }
.nb-consent input:focus-visible { outline: 2px solid #151413; outline-offset: 2px; }
.nb-consent a { color: inherit; text-underline-offset: 3px; }
.news-band .nb-row { flex-basis: 100%; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px 20px; margin-top: 6px; }
.news-band .nb-row .nb-consent { margin-top: 0; }
.news-band .nb-row .news-note { margin: 0; }

/* Kniha: motto u každé části a doplňky knihy pod obsahem */
.part .part-motto { margin-top: 14px; font-size: 15px; line-height: 1.45; color: var(--fg); max-width: 34ch; padding-left: 12px; border-left: 2px solid var(--accent); }
.book-extra { margin-top: clamp(28px, 4vw, 44px); padding-top: 20px; border-top: 1px solid var(--line); color: var(--fg-2); font-size: 15px; max-width: 80ch; }
.book-extra b { color: var(--fg); font-weight: 600; }
.news-pill .np-go { display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; }
@media (max-width: 560px) {
  .news-pill { display: grid; grid-template-columns: 8px 1fr; column-gap: 12px; row-gap: 6px; align-items: center; width: 100%; padding: 14px 18px; border-radius: 14px; }
  .news-pill .np-go { grid-column: 2; }
}

/* ---------- Obchod: tapety ---------- */
.vh { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.shop-facts { list-style: none; margin: 36px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; font-size: 12px; color: var(--fg-2); }
.shop-facts li { padding: 8px 14px; border: 1px solid var(--line-2); border-radius: 999px; }

/* Telefon s tapetou: tmavá i světlá verze, přepínač na stránce přepíná celou stránku */
.dev { position: relative; display: block; overflow: hidden; background: #2a2826; aspect-ratio: 1320 / 2868; border-radius: clamp(12px, 1.6vw, 22px); border: 3px solid #0c0b0b; box-shadow: 0 0 0 1px #3a3734, 0 18px 40px rgba(0, 0, 0, .45); }
.dev img { width: 100%; height: 100%; object-fit: cover; }
.dev .v-svetla { display: none; }
main.wp-svetla .dev .v-tmava { display: none; }
main.wp-svetla .dev .v-svetla { display: block; }
.dev-ph { position: absolute; inset: 0; display: grid; place-items: center; font-size: 11px; color: var(--mute); background: repeating-linear-gradient(135deg, #2a2826 0 10px, #252321 10px 20px); }
.variant-switch { display: inline-flex; margin-top: 22px; padding: 4px; border: 1px solid var(--line-2); border-radius: 999px; }
.variant-switch button { font: inherit; font-size: 14px; color: var(--fg-2); background: none; border: 0; padding: 8px 18px; border-radius: 999px; cursor: pointer; transition: background .2s, color .2s; }
.variant-switch button[aria-pressed="true"] { background: var(--fg); color: var(--bg); }

/* Mac, iPad a iPhone v jedné kompozici (balíčky, Režim zdarma) */
.trio { position: relative; width: 100%; max-width: 640px; margin-inline: auto; aspect-ratio: 16 / 10; }
.trio .mac { position: absolute; left: 0; top: 3%; width: 78%; }
.trio .dev-ipad { position: absolute; right: 9%; bottom: 2%; width: 30%; z-index: 1; }
.trio .dev-phone { position: absolute; right: 0; bottom: 0; width: 14%; z-index: 2; border-radius: clamp(8px, 1vw, 14px); border-width: 2px; }
.trio-card { padding: clamp(24px, 3vw, 36px) clamp(18px, 2.6vw, 32px) clamp(20px, 2.6vw, 30px); background: radial-gradient(120% 90% at 30% 10%, #232120 0%, #141312 70%); border-bottom: 1px solid var(--line); }
.mac { display: block; }
.mac::after { content: ""; display: block; width: 112%; margin-left: -6%; aspect-ratio: 100 / 3; background: linear-gradient(#4a4642, #2a2725); border-radius: 0 0 10px 10px / 0 0 60% 60%; box-shadow: 0 10px 24px rgba(0, 0, 0, .4); }
.dev-mac { aspect-ratio: 16 / 10; border-radius: clamp(6px, .8vw, 10px) clamp(6px, .8vw, 10px) 2px 2px; border-width: clamp(3px, .5vw, 6px); border-bottom-width: clamp(6px, .9vw, 10px); }
.dev-ipad { aspect-ratio: 3 / 4; border-radius: clamp(8px, 1.2vw, 16px); border-width: clamp(3px, .5vw, 6px); }
.dev-switch { display: inline-flex; margin: 10px 0 2px; padding: 3px; border: 1px solid var(--line-2); border-radius: 999px; }
.dev-switch button { font: inherit; font-size: 13px; color: var(--fg-2); background: none; border: 0; padding: 6px 14px; border-radius: 999px; cursor: pointer; transition: background .2s, color .2s; }
.dev-switch button[aria-pressed="true"] { background: var(--fg); color: var(--bg); }
.motif > .dev, .motif > .mac { display: none; }
.motif-grid[data-dev="iphone"] .motif > .dev-phone, .motif-grid[data-dev="ipad"] .motif > .dev-ipad, .motif-grid[data-dev="mac"] .motif > .mac { display: block; }
.motifs .motif-grid[data-dev="ipad"] { grid-template-columns: repeat(auto-fill, minmax(124px, 1fr)); }
.motifs .motif-grid[data-dev="mac"] { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 24px 18px; }
.motif .mac::after { box-shadow: none; }
.phones { display: flex; justify-content: center; align-items: flex-start; gap: clamp(8px, 1.4vw, 20px); }
.phones .dev { flex: 0 1 30%; max-width: 190px; }
.phones .dev:nth-child(2) { transform: translateY(-18px); }
.phones-4 { gap: clamp(8px, 1.2vw, 14px); padding: clamp(22px, 3vw, 36px) clamp(16px, 2.5vw, 32px) clamp(30px, 3.6vw, 44px); background: radial-gradient(120% 90% at 30% 10%, #232120 0%, #141312 70%); border-bottom: 1px solid var(--line); }
.phones-4 .dev { flex: 1 1 0; max-width: 120px; border-radius: 14px; border-width: 2px; }
.phones-4 .dev:nth-child(even) { transform: translateY(12px); }
.phones-all { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; width: 100%; max-width: 620px; justify-self: center; align-items: start; }
.phones-all .dev { max-width: none; border-radius: 12px; border-width: 2px; }
.phones-all .dev:nth-child(2) { transform: none; }
.phones-all .dev:nth-child(n+6) { transform: translateY(10px); }

/* Balíček zdarma a komplet */
.pack { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(28px, 5vw, 80px); align-items: center; padding: clamp(24px, 4vw, 56px); border: 1px solid var(--line); border-radius: 28px; background: var(--bg-2); scroll-margin-top: 90px; }
.pack-all { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); background: var(--bg); }
.pack > .motifs { grid-column: 1 / -1; }
.pack-copy { display: grid; gap: 14px; justify-items: start; }
.pack-copy h3, .bundle h3 { letter-spacing: -0.045em; line-height: .98; }
.pack-copy h3 { font-size: clamp(38px, 4.4vw, 64px); }
.pack-copy h3 small, .bundle h3 small { display: block; margin-top: 8px; font-size: .42em; letter-spacing: -0.02em; color: var(--fg-2); font-weight: 500; }
.pack-note { color: var(--fg-2); font-size: clamp(16px, 1.2vw, 19px); max-width: 46ch; }
.pack .shop-free { width: 100%; max-width: 520px; margin-top: 8px; }
.pack .shop-act { width: 100%; max-width: 420px; padding-top: 6px; }
.pack-price { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.pack-price b { font-size: clamp(36px, 3.6vw, 52px); font-weight: 600; letter-spacing: -0.04em; }
.pack-price s { color: var(--mute); font-size: 18px; }
.pack-price .mono { font-size: 12px; color: var(--mute); }
@media (max-width: 860px) { .pack, .pack-all { grid-template-columns: 1fr; } .pack-all .phones-all { order: 2; } }

.shop-free { display: grid; gap: 10px; }
.shop-free-row { display: flex; gap: 8px; }
.shop-free-row input[type=email] { flex: 1; min-width: 0; height: 50px; padding: 0 20px; border-radius: 999px; border: 1px solid var(--line-2); background: var(--bg); color: var(--fg); font: inherit; font-size: 16px; }
.shop-free-row input[type=email]:focus { outline: none; border-color: var(--accent); }
.shop-free-row .btn { flex: none; justify-content: center; }
@media (max-width: 480px) { .shop-free-row { flex-direction: column; } .shop-free-row input[type=email] { flex: none; } }
.shop-consent { display: flex; gap: 10px; align-items: flex-start; font-size: 13px; line-height: 1.45; color: var(--mute); }
.shop-consent input { margin-top: 2px; accent-color: var(--accent); flex: none; }
.shop-consent a { color: var(--fg-2); text-underline-offset: 3px; }

/* Placené balíčky */
.bundle-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 400px), 1fr)); gap: clamp(16px, 2vw, 28px); grid-auto-rows: 1fr; align-items: stretch; }
/* zavřené karty mají stejnou výšku a tlačítko dole; po rozbalení tapet se ostatní nenatahují */
.bundle-grid:has(.motifs[open]) { grid-auto-rows: auto; align-items: start; }
.bundle { display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: 22px; background: var(--bg); overflow: hidden; transition: border-color .25s; }
.bundle > .shop-body { flex: 1; }
.bundle .motifs { margin-top: auto; }
.bundle:hover { border-color: var(--line-2); }
.shop-body { display: flex; flex-direction: column; gap: 10px; padding: clamp(20px, 2vw, 28px); }
.shop-top { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; }
.shop-top h3 { font-size: clamp(28px, 2.4vw, 36px); }
.shop-price { font-family: var(--mono); font-size: 14px; color: var(--fg); white-space: nowrap; }
.shop-price.is-free { color: var(--accent-ink); background: var(--accent); padding: 4px 10px; border-radius: 999px; font-size: 12px; }
.bundle-sub { font-size: 12px; color: var(--accent); }
.shop-note { color: var(--fg-2); font-size: 16px; }
.shop-devs { font-size: 12px; color: var(--mute); }
.shop-act { padding-top: 8px; display: grid; gap: 10px; }
.shop-act > .btn { justify-content: center; width: 100%; }
.shop-act .form-msg:empty { display: none; }

/* Galerie všech tapet balíčku */
.motifs { border-top: 1px solid var(--line); margin-top: 6px; }
.motifs summary { cursor: pointer; list-style: none; padding: 14px 0 4px; font-size: 14px; color: var(--fg-2); display: flex; align-items: center; gap: 8px; }
.motifs summary::-webkit-details-marker { display: none; }
.motifs summary::after { content: "+"; font-family: var(--mono); color: var(--accent); }
.motifs[open] summary::after { content: "–"; }
.motifs summary:hover { color: var(--fg); }
.motif-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(118px, 1fr)); gap: 18px 14px; padding: 16px 0 6px; }
.pack .motif-grid { grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); }
.motif { margin: 0; display: grid; gap: 8px; align-content: start; }
.motif .dev { border-width: 2px; }
.motif .dev-phone { border-radius: 14px; }
.motif figcaption { display: grid; gap: 2px; font-size: 12px; line-height: 1.35; color: var(--mute); }
.motif figcaption b { color: var(--fg); font-size: 14px; font-weight: 600; }

/* Jak to funguje + technické údaje */
.shop-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--line); }
.shop-steps li { padding: 28px clamp(12px, 2vw, 32px) 8px 0; display: grid; gap: 10px; align-content: start; }
.shop-steps b { font-size: 12px; color: var(--accent); font-weight: 400; }
.shop-steps h3 { font-size: clamp(22px, 1.8vw, 28px); letter-spacing: -0.03em; }
.shop-steps p { color: var(--fg-2); max-width: 36ch; }
@media (max-width: 760px) { .shop-steps { grid-template-columns: 1fr; } .shop-steps li { padding-right: 0; border-bottom: 1px solid var(--line); padding-bottom: 24px; } }
.shop-specs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin: clamp(40px, 5vw, 64px) 0 0; border-top: 1px solid var(--line); }
.shop-specs div { padding: 22px clamp(12px, 2vw, 32px) 0 0; }
.shop-specs dt { font-size: 12px; color: var(--accent); }
.shop-specs dd { margin: 8px 0 0; color: var(--fg-2); font-size: 15px; max-width: 34ch; }
@media (max-width: 760px) { .shop-specs { grid-template-columns: 1fr; } }

/* Hlavička: s položkou Tapety je v menu o odkaz víc – na menších noteboocích se nic nezalamuje */
.nav a, .head-cta .btn { white-space: nowrap; }
@media (min-width: 861px) and (max-width: 1180px) {
  .nav { gap: 16px; font-size: 14px; }
  .head-cta { gap: 6px; }
}

/* Odkaz „Přeskočit na obsah“ – viditelný jen při ovládání klávesnicí */
.skip-link { position: absolute; left: -9999px; top: 0; z-index: 1000; background: var(--accent, #fa580b); color: #111110; padding: .6rem 1rem; border-radius: 8px; font-weight: 600; text-decoration: none; }
.skip-link:focus { left: 1rem; top: 1rem; }

/* Cookie lišta (Google Analytics jen se souhlasem) */
.ck { position: fixed; z-index: 90; left: 16px; right: 16px; bottom: 16px; max-width: 440px; margin-left: auto; background: var(--bg-2); color: var(--fg-2); border: 1px solid var(--line-2); border-radius: 18px; padding: 18px 18px 16px; box-shadow: 0 18px 50px rgba(0,0,0,.45); font-size: 14px; line-height: 1.5; }
.ck[hidden] { display: none; }
.ck p { margin: 0 0 14px; }
.ck p a { color: var(--fg); text-underline-offset: 2px; }
.ck .ck-b { display: flex; gap: 8px; flex-wrap: wrap; }
.ck .btn { padding: 10px 18px; font-size: 14px; }
.ck-open { background: none; border: 0; padding: 0; font: inherit; color: inherit; cursor: pointer; }
.ck-open:hover { color: var(--accent); }

/* 135 → 95: obrysy jako SVG (src/partials/kg-135-95.svg), výška v em = stejná velikost jako dřív text */
.kg-svg { display: block; height: .762em; width: auto; max-width: 100%; overflow: visible; }
.kg-n, .kg-a { fill: none; stroke-width: 1px; vector-effect: non-scaling-stroke; }
.kg-n { stroke: var(--fg-2); }
.kg-a { stroke: var(--accent); }

/* Jídla: samostatné karty s mezerami místo jedné mřížky */
.meals { gap: 16px; border: 0; }
.meals > div { border: 1px solid var(--line); border-radius: 18px; overflow: hidden; background: var(--bg-2, transparent); }
@media (max-width: 600px) { .meals { gap: 12px; } }

/* Deník (/denik) */
.dn-crumbs { font-size: 12px; color: var(--fg-3, var(--fg-2)); }
.dn-crumbs a { color: inherit; text-decoration: none; }
.dn-crumbs a:hover { color: var(--accent); }
.dn-meta { margin-top: 18px; font-size: 12px; color: var(--fg-2); }
.dn-photo, .dn-thumb { margin: 0; border-radius: 18px; overflow: hidden; background: var(--bg-2); }
.dn-photo img, .dn-thumb img { width: 100%; aspect-ratio: 3 / 2; height: auto; object-fit: cover; display: block; }
.np-body h3 { font-size: clamp(19px, 1.6vw, 22px); color: var(--fg); letter-spacing: -0.02em; margin-top: .4em; }
.dn-book-ref { border: 1px solid var(--line-2); border-radius: 16px; padding: 16px 20px; background: var(--bg-2); color: var(--fg-2); }
.dn-book-ref b { color: var(--fg); }
.dn-note { margin-top: clamp(32px, 4vw, 48px); }
.dn-rel { margin-bottom: var(--band); }
.dn-rel h2 { font-size: 12px; color: var(--accent); margin: 0 0 14px; }
.dn-rel ul, .dn-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.dn-rel a, .dn-list a { display: grid; gap: 6px; padding: 18px 20px; border: 1px solid var(--line); border-radius: 18px; text-decoration: none; color: var(--fg-2); transition: border-color .2s; }
.dn-rel a:hover, .dn-list a:hover { border-color: var(--accent); }
.dn-rel b, .dn-list b { color: var(--fg); font-size: clamp(19px, 1.6vw, 23px); letter-spacing: -0.03em; line-height: 1.2; }
.dn-list { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.dn-list { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 1000px) { .dn-list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.dn-list a { padding: 0; gap: 0; height: 100%; align-content: start; overflow: hidden; }
.dn-list a > div { display: grid; gap: 8px; padding: 18px 20px 22px; }
.dn-thumb { border-radius: 0; }

@media (max-width: 600px) { .dn-list { grid-template-columns: 1fr; } }
.dn-list .mono { font-size: 12px; color: var(--accent); }
.dn-more { color: var(--accent); font-size: 15px; margin-top: 6px; }

.dn-photo { margin: clamp(28px, 4vw, 44px) 0 clamp(32px, 4vw, 48px); }

/* Stránka Děkujeme: kde mě najdeš */
.thanks-more { margin-top: clamp(40px, 5vw, 64px); display: grid; gap: 14px; }
.thanks-more h2 { font-size: clamp(24px, 2.4vw, 32px); letter-spacing: -0.03em; line-height: 1.1; margin: 0 0 6px; }
.thanks-more .socials { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; max-width: 900px; }
.thanks-more .socials a { display: grid; gap: 6px; padding: 20px 22px; border: 1px solid var(--line-2); border-radius: 18px; background: var(--bg-2); text-decoration: none; color: var(--fg-2); transition: border-color .2s; height: 100%; }
.thanks-more .socials a:hover { border-color: var(--accent); }
.thanks-more .soc-n { font-size: clamp(22px, 2vw, 28px); color: var(--fg); letter-spacing: -0.03em; }
.thanks-more .soc-l { font-size: 15px; }
@media (max-width: 700px) { .thanks-more .socials { grid-template-columns: 1fr; } }
