/* Jůzlová.cz — redesign 2026. Warm, rustic, editorial. */
:root {
  --ink: #241f1a;
  --ink-soft: #4a4238;
  --paper: #faf6ef;
  --cream: #f3ecdf;
  --card: #fffdf8;
  --gold: #b08d3c;
  --gold-deep: #8a6d2c;
  --rust: #9c4a21;
  --line: #e6dcc8;
  --shadow: 0 2px 24px rgba(60, 42, 12, .10);
  --serif: "Georgia", "Times New Roman", serif;
  --sans: -apple-system, "Segoe UI", "Helvetica Neue", Arial, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font: 17px/1.7 var(--serif);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; }
a { color: var(--gold-deep); text-underline-offset: 3px; }
a:hover { color: var(--rust); }
.wrap { max-width: 1080px; margin: 0 auto; padding: 0 1.4rem; }

/* ── header ── */
header.site {
  position: sticky; top: 0; z-index: 50;
  background: rgba(250, 246, 239, .92); backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
header.site .wrap { max-width: 1240px; }
.bar { display: flex; align-items: center; gap: 1rem; padding: .7rem 0; }
.brand { display: flex; align-items: center; gap: .7rem; text-decoration: none; color: var(--ink); margin-right: auto; }
.brand .wordmark { height: 34px; width: auto; display: block; }
.brand .wordmark.on-dark { display: none; }
.brand .tag { font-family: var(--sans); font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-soft); padding-left: .7rem; border-left: 1px solid var(--line); }
nav.main { display: flex; flex-wrap: nowrap; gap: .05rem; align-items: center; }
nav.main > a, .navgroup > button {
  font-family: var(--sans); font-size: .8rem; letter-spacing: .08em; text-transform: uppercase;
  color: var(--ink); text-decoration: none; padding: .5rem .55rem; background: none; border: 0; cursor: pointer; white-space: nowrap;
}
nav.main > a.active { color: var(--gold-deep); box-shadow: inset 0 -2px 0 var(--gold); }
nav.main > a:hover, .navgroup > button:hover { color: var(--rust); }
.navgroup { position: relative; }
.navgroup .drop {
  display: none; position: absolute; right: 0; top: 100%; min-width: 250px;
  background: var(--card); border: 1px solid var(--line); box-shadow: var(--shadow);
  border-radius: 8px; padding: .4rem 0; z-index: 60;
}
.navgroup:hover .drop, .navgroup:focus-within .drop { display: block; }
.navgroup .drop a { display: block; font-family: var(--sans); font-size: .88rem; padding: .45rem 1rem; text-decoration: none; color: var(--ink); }
.navgroup .drop a:hover { background: var(--cream); }
.langs { display: flex; gap: .15rem; margin-left: .6rem; border-left: 1px solid var(--line); padding-left: .8rem; }
.langs a {
  font-family: var(--sans); font-size: .74rem; font-weight: 600; letter-spacing: .05em;
  text-decoration: none; color: var(--ink-soft); padding: .3rem .4rem; border-radius: 4px;
}
.langs a.on { background: var(--gold); color: #fff; }
.langs a:hover:not(.on) { color: var(--rust); }

/* ── hero ── */
.hero { position: relative; overflow: hidden; background: #1d1712; color: #f5efe4; }
.hero .media { position: absolute; inset: 0; }
.hero .media img, .hero .media canvas { width: 100%; height: 100%; object-fit: cover; display: block; opacity: .62; }
.hero .inner { position: relative; padding: 17vh 1.4rem 15vh; max-width: 880px; margin: 0 auto; text-align: center; }
.hero h1 { font-size: clamp(2rem, 5.4vw, 3.6rem); line-height: 1.12; margin: 0 0 1rem; text-wrap: balance; }
.hero p.lead { font-size: clamp(1.02rem, 2vw, 1.25rem); color: #e7dcc6; max-width: 620px; margin: 0 auto 1.8rem; }
.hero .est { font-family: var(--sans); font-size: .74rem; letter-spacing: .3em; text-transform: uppercase; color: var(--gold); margin-bottom: 1.2rem; }
.btn {
  display: inline-block; font-family: var(--sans); font-size: .82rem; font-weight: 600;
  letter-spacing: .1em; text-transform: uppercase; text-decoration: none;
  padding: .85rem 1.9rem; border-radius: 3px; transition: transform .15s ease, background .15s ease;
}
.btn.gold { background: var(--gold); color: #fff; }
.btn.gold:hover { background: var(--gold-deep); color: #fff; transform: translateY(-1px); }
.btn.ghost { border: 1px solid rgba(245,239,228,.5); color: #f5efe4; margin-left: .6rem; }
.btn.ghost:hover { border-color: var(--gold); color: var(--gold); }

/* scrub stage (progressive enhancement) */
.scrub { height: 320vh; position: relative; }
.scrub .stage { position: sticky; top: 0; height: 100vh; overflow: hidden; }

/* ── sections ── */
section.band { padding: 4.2rem 0; }
section.band.cream { background: var(--cream); border-block: 1px solid var(--line); }
.kicker { font-family: var(--sans); font-size: .72rem; letter-spacing: .28em; text-transform: uppercase; color: var(--gold-deep); margin: 0 0 .5rem; }
h2.sec { font-size: clamp(1.5rem, 3.2vw, 2.2rem); line-height: 1.2; margin: 0 0 1.1rem; }
h2.sec:after { content: ""; display: block; width: 56px; height: 3px; background: var(--gold); margin-top: .7rem; }
.center { text-align: center; }
.center h2.sec:after { margin-inline: auto; }
.lead { font-size: 1.08rem; color: var(--ink-soft); }

.grid { display: grid; gap: 1.4rem; }
.grid.c3 { grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); }
.grid.c2 { grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); }
.card {
  background: var(--card); border: 1px solid var(--line); border-radius: 10px;
  overflow: hidden; box-shadow: var(--shadow); display: flex; flex-direction: column;
  transition: transform .18s ease;
}
.card:hover { transform: translateY(-3px); }
.card img.thumb { width: 100%; height: 200px; object-fit: cover; background: var(--cream); }
.card .pad { padding: 1.1rem 1.25rem 1.3rem; display: flex; flex-direction: column; gap: .35rem; flex: 1; }
.card h3 { margin: 0; font-size: 1.15rem; line-height: 1.3; }
.card h3 a { text-decoration: none; color: var(--ink); }
.card h3 a:hover { color: var(--rust); }
.card p { margin: 0; font-size: .93rem; color: var(--ink-soft); }
.card .price { font-family: var(--sans); font-size: .82rem; font-weight: 700; color: var(--gold-deep); margin-top: auto; padding-top: .5rem; }
.card .more { font-family: var(--sans); font-size: .8rem; letter-spacing: .04em; }

/* article pages */
article.page { padding: 3rem 0 4rem; max-width: 760px; margin: 0 auto; }
article.page h1 { font-size: clamp(1.8rem, 4vw, 2.6rem); line-height: 1.15; margin: 0 0 .4rem; }
article.page h1:after { content: ""; display: block; width: 56px; height: 3px; background: var(--gold); margin-top: .8rem; }
article.page .sub { color: var(--ink-soft); font-size: 1.05rem; margin-bottom: 1.6rem; }
article.page h2 { font-size: 1.4rem; margin-top: 2.2rem; }
article.page h3 { font-size: 1.15rem; margin-top: 1.8rem; }
article.page figure { margin: 1.8rem 0; }
article.page figure img { border-radius: 10px; box-shadow: var(--shadow); }
article.page figcaption { font-family: var(--sans); font-size: .8rem; color: var(--ink-soft); margin-top: .5rem; }
.factbox {
  background: var(--cream); border: 1px solid var(--line); border-left: 4px solid var(--gold);
  border-radius: 8px; padding: 1rem 1.3rem; margin: 1.6rem 0; font-size: .96rem;
}
.factbox dt { font-family: var(--sans); font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--gold-deep); margin-top: .6rem; }
.factbox dt:first-child { margin-top: 0; }
.factbox dd { margin: .1rem 0 0; }
table.tbl { width: 100%; border-collapse: collapse; margin: 1.4rem 0; font-size: .96rem; }
table.tbl th, table.tbl td { text-align: left; padding: .65rem .8rem; border-bottom: 1px solid var(--line); vertical-align: top; }
table.tbl th { font-family: var(--sans); font-size: .74rem; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-soft); }
table.tbl tr:hover td { background: var(--cream); }

.faq details { border-bottom: 1px solid var(--line); padding: .7rem 0; }
.faq summary { cursor: pointer; font-weight: 700; font-size: 1.02rem; }
.faq p { margin: .6rem 0 .2rem; color: var(--ink-soft); }

.breadcrumb { font-family: var(--sans); font-size: .78rem; color: var(--ink-soft); padding-top: 1.4rem; }
.breadcrumb a { color: var(--ink-soft); text-decoration: none; }
.breadcrumb a:hover { color: var(--rust); }

/* reveal on scroll */
.rv { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s ease; }
.rv.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .rv { opacity: 1; transform: none; transition: none; } html { scroll-behavior: auto; } }

/* footer */
footer.site { background: #241f1a; color: #cfc4b0; margin-top: 3rem; }
footer.site .cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 2rem; padding: 3rem 0 2rem; }
footer.site h4 { font-family: var(--sans); font-size: .72rem; letter-spacing: .22em; text-transform: uppercase; color: var(--gold); margin: 0 0 .8rem; }
footer.site a { color: #cfc4b0; text-decoration: none; display: block; padding: .16rem 0; font-size: .93rem; }
footer.site a:hover { color: #fff; }
footer.site .fine { border-top: 1px solid #3a332b; padding: 1.1rem 0 1.6rem; font-family: var(--sans); font-size: .78rem; color: #8f8471; display: flex; flex-wrap: wrap; gap: .8rem; justify-content: space-between; }
.ticker { background: var(--gold); color: #fff; font-family: var(--sans); font-size: .78rem; letter-spacing: .02em; text-align: center; padding: .5rem 1rem; }

@media (max-width: 760px) {
  .bar { flex-wrap: wrap; }
  nav.main { order: 3; width: 100%; justify-content: flex-start; overflow-x: auto; }
  .hero .inner { padding: 12vh 1.2rem 10vh; }
  .scrub { height: auto; } .scrub .stage { position: relative; height: 60vh; }
}

/* ═══ motion redesign (scroll-film + parallax) ═══ */
header.site { transition: background .35s ease, box-shadow .35s ease; }
body.filmed header.site { position: fixed; inset-inline: 0; top: 0; background: transparent; border-bottom-color: transparent; }
body.filmed header.site .brand, body.filmed header.site nav.main > a,
body.filmed header.site .navgroup > button { color: #f5efe4; text-shadow: 0 1px 8px rgba(0,0,0,.4); }
body.filmed header.site .langs a { color: #e7dcc6; }
body.filmed header.site.scrolled { background: rgba(29,23,18,.88); backdrop-filter: blur(10px); box-shadow: 0 2px 18px rgba(0,0,0,.25); }

.film { position: relative; height: 380vh; background: #14100c; }
.film .stage { position: sticky; top: 0; height: 100vh; overflow: hidden; }
.film .frame {
  position: absolute; inset: 0; opacity: 0; will-change: opacity, transform;
  background-size: cover; background-position: center;
}
.film .frame:first-child { opacity: 1; }
.film .frame:after { content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(20,16,12,.42), rgba(20,16,12,.12) 40%, rgba(20,16,12,.55)); }
.film .grain { position: absolute; inset: -50%; opacity: .05; pointer-events: none; z-index: 3;
  background-image: repeating-conic-gradient(#000 0 .0001%, #fff 0 .0002%);
  animation: grain 8s steps(10) infinite; }
@keyframes grain { 0%{transform:translate(0,0)} 50%{transform:translate(3%,-2%)} 100%{transform:translate(-2%,3%)} }
.film .copy { position: absolute; inset: 0; z-index: 4; display: grid; place-items: center; text-align: center; padding: 0 1.4rem; }
.filmline { position: absolute; max-width: 780px; opacity: 0; pointer-events: none; will-change: opacity, transform; color: #f5efe4; }
.filmline:first-child { opacity: 1; pointer-events: auto; }
.filmline .est { font-family: var(--sans); font-size: .74rem; letter-spacing: .3em; text-transform: uppercase; color: var(--gold); margin-bottom: 1.1rem; }
.filmline h1 { font-size: clamp(2.2rem, 6vw, 4.2rem); line-height: 1.08; margin: 0 0 1rem; text-wrap: balance; text-shadow: 0 2px 24px rgba(0,0,0,.45); }
.filmline p { font-size: clamp(1.05rem, 2.1vw, 1.3rem); color: #ead9be; max-width: 640px; margin: 0 auto 1.6rem; text-shadow: 0 1px 12px rgba(0,0,0,.5); }
.filmline h2 { font-size: clamp(1.7rem, 4.6vw, 3rem); line-height: 1.12; margin: 0 0 .8rem; text-shadow: 0 2px 24px rgba(0,0,0,.45); }
.film .hint { position: absolute; bottom: 2rem; left: 50%; transform: translateX(-50%); z-index: 4;
  font-family: var(--sans); font-size: .7rem; letter-spacing: .26em; text-transform: uppercase; color: rgba(245,239,228,.75); }
.film .hint:after { content: ""; display: block; width: 1px; height: 34px; margin: .6rem auto 0;
  background: linear-gradient(180deg, var(--gold), transparent); animation: drip 1.8s ease infinite; }
@keyframes drip { 0%{transform:scaleY(0);transform-origin:top} 55%{transform:scaleY(1);transform-origin:top} 100%{transform:scaleY(0);transform-origin:bottom} }

.plx { position: relative; overflow: hidden; color: #f5efe4; }
.plx .plx-img { position: absolute; inset: -18% 0; background-size: cover; background-position: center; transform: scale(1.18); will-change: transform; }
.plx .plx-img:after { content: ""; position: absolute; inset: 0; background: rgba(24,18,12,.62); }
.plx .inner { position: relative; padding: 5rem 1.4rem; }
.plx h2.sec { color: #f5efe4; }
.plx .grid h3 { color: var(--gold); }
.plx .grid p { color: #e2d5bc; }

.marquee { overflow: hidden; background: var(--ink); color: #e7dcc6; padding: .7rem 0; }
.marquee .track { display: inline-flex; gap: 3rem; white-space: nowrap; will-change: transform;
  animation: marquee 36s linear infinite; font-family: var(--sans); font-size: .82rem; letter-spacing: .06em; }
.marquee .track span b { color: var(--gold); font-weight: 700; }
@keyframes marquee { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) {
  .marquee .track, .film .grain, .film .hint:after { animation: none; }
  .film { height: auto; } .film .stage { position: relative; height: 72vh; }
  body.filmed header.site { position: sticky; background: rgba(29,23,18,.92); }
}
.card img.thumb { transition: transform .5s ease; }
.card:hover img.thumb { transform: scale(1.05); }
.btn { position: relative; overflow: hidden; }
.btn.gold:active { transform: translateY(0) scale(.98); }

/* ═══ brand marks (contrast-driven) ═══ */
body.filmed .brand .wordmark.on-light { display: none; }
body.filmed .brand .wordmark.on-dark  { display: block; }
body.filmed .brand .tag { border-left-color: rgba(245,239,228,.35); }
footer.site { position: relative; overflow: hidden; }
footer.site .footmark {
  position: absolute; right: -70px; bottom: -110px; width: 340px; height: auto;
  opacity: .05; pointer-events: none; user-select: none;
}
footer.site .cols, footer.site .fine { position: relative; }
footer.site .footlogo { height: 40px; width: auto; display: block; margin-bottom: .9rem; }
@media (max-width: 760px) {
  .brand .wordmark { height: 28px; }
  .brand .tag { display: none; }
  footer.site .footmark { width: 220px; right: -50px; bottom: -80px; }
}

@media (max-width: 1180px) { .brand .tag { display: none; } }

/* contrast fixes on the film pages: the tagline and kicker sit on dark or
   bright frames, so they need their own light colour and a shadow */
body.filmed header.site .brand .tag { color: #e2d5bc; }
.film .hint { transition: opacity .3s ease; }

/* The frame gradient is at its thinnest exactly where the copy sits, so the
   landscape frame's hazy sky washes the kicker out. A soft ellipse under the
   copy layer holds the text without flattening the picture behind it. */
.film .copy::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(ellipse 70% 42% at 50% 47%, rgba(16,12,9,.5), rgba(16,12,9,0) 72%);
}
.filmline .est { color: #dcb865; text-shadow: 0 1px 14px rgba(0,0,0,.65); }
