/* Juicy Story – spoločný štýl webu (prefix tried jc-). */
:root {
  --paper: #fbf6ec; --cream: #f3e8d3; --ink: #17130e; --mute: #6d6456; --line: #e2d6bf;
  --juice: #f59c00; --juice-deep: #d97800; --lime: #a9cf3f; --lime-deep: #5f8a12; --night: #1a1611;
  --serif: 'Fraunces', Georgia, 'Times New Roman', serif;
  --sans: 'Instrument Sans', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --wrap: 1200px; --gut: clamp(20px, 5vw, 56px);
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 90px; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 clamp(1rem, .96rem + .2vw, 1.125rem)/1.65 var(--sans); overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3, p, ol, ul, dl, dd, figure, blockquote { margin: 0; padding: 0; }
ol, ul { list-style: none; }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; line-height: 1.02; letter-spacing: -.025em; font-variation-settings: 'opsz' 144; text-wrap: balance; }
h1 { font-size: clamp(2.7rem, 1.4rem + 6.4vw, 7rem); }
h2 { font-size: clamp(2rem, 1.3rem + 3.2vw, 4rem); }
h3 { font-size: clamp(1.35rem, 1.15rem + .8vw, 1.8rem); line-height: 1.15; }
p { text-wrap: pretty; }
:focus-visible { outline: 3px solid var(--juice-deep); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--juice); color: var(--ink); }

.jc-wrap { width: 100%; max-width: calc(var(--wrap) + 2 * var(--gut)); margin: 0 auto; padding: 0 var(--gut); }
.jc-skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: var(--paper); padding: 10px 16px; border-radius: 8px; z-index: 100; }
.jc-skip:focus { left: 8px; }
.jc-kicker { font: 600 .78rem/1.3 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--juice-deep); margin-bottom: 1.1rem; }
.jc-kicker a { text-decoration: none; }
.jc-kicker a:hover { text-decoration: underline; }
.jc-lead { font-size: clamp(1.1rem, 1rem + .55vw, 1.4rem); line-height: 1.5; max-width: 38em; }

/* tlačidlá a odkazy */
.jc-btn { display: inline-flex; align-items: center; gap: .7em; padding: .95em 1.5em; border-radius: 999px; font: 600 1rem/1 var(--sans); text-decoration: none; border: 2px solid var(--ink); transition: transform .25s, background .25s, color .25s; }
.jc-btn span { transition: transform .25s; }
.jc-btn:hover span { transform: translateX(5px); }
.jc-btn--ink { background: var(--ink); color: var(--paper); }
.jc-btn--ink:hover { background: var(--juice); color: var(--ink); border-color: var(--juice); }
.jc-btn--juice { background: var(--juice); border-color: var(--juice); color: var(--ink); }
.jc-btn--juice:hover { background: var(--paper); border-color: var(--paper); }
.jc-btn--line { background: transparent; border-color: currentColor; }
.jc-btn--line:hover { background: var(--paper); color: var(--ink); border-color: var(--paper); }
.jc-link { font-weight: 600; text-decoration: none; background: linear-gradient(var(--juice), var(--juice)) 0 100% / 100% 3px no-repeat; padding-bottom: 5px; transition: background-size .3s; }
.jc-link::after { content: ' →'; }
.jc-link:hover { background-size: 100% 100%; }

/* hlavička */
.jc-head { position: sticky; top: 0; z-index: 50; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 10px var(--gut); background: color-mix(in srgb, var(--paper) 88%, transparent); backdrop-filter: blur(10px); }
.jc-logo { display: block; width: 158px; height: 62px; overflow: hidden; flex: none; }
.jc-logo img { width: 158px; height: 158px; max-width: none; margin-top: -48px; }
.jc-nav { display: flex; align-items: center; gap: clamp(14px, 2.2vw, 34px); font-weight: 500; font-size: .98rem; }
.jc-nav a { text-decoration: none; padding: 6px 0; border-bottom: 2px solid transparent; }
.jc-nav a:hover, .jc-nav a[aria-current] { border-color: var(--juice); }
.jc-nav .jc-nav-cta { background: var(--ink); color: var(--paper); padding: .6em 1.2em; border-radius: 999px; border: 0; transition: background .25s, color .25s; }
.jc-nav .jc-nav-cta:hover, .jc-nav .jc-nav-cta[aria-current] { background: var(--juice); color: var(--ink); }
.jc-burger { display: none; align-items: center; gap: 10px; background: none; border: 0; font: 600 .9rem var(--sans); color: inherit; padding: 10px 0; cursor: pointer; }
.jc-burger em { font-style: normal; order: -1; }
.jc-burger span { display: block; width: 26px; height: 2px; background: currentColor; transition: transform .25s; position: absolute; right: var(--gut); }
.jc-burger span:first-of-type { transform: translateY(-4px); }
.jc-burger span:last-of-type { transform: translateY(4px); }
.jc-burger[aria-expanded="true"] span:first-of-type { transform: rotate(45deg); }
.jc-burger[aria-expanded="true"] span:last-of-type { transform: rotate(-45deg); }
@media (max-width: 860px) {
  .js .jc-burger { display: flex; padding-right: 38px; position: relative; }
  .js .jc-burger span { right: 0; }
  .jc-head { flex-wrap: wrap; }
  .jc-nav { flex-wrap: wrap; width: 100%; gap: 6px 18px; padding-bottom: 8px; }
  .js .jc-nav { display: none; flex-direction: column; align-items: flex-start; gap: 4px; padding: 10px 0 22px; font: 400 1.9rem/1.25 var(--serif); }
  .js .jc-nav.is-open { display: flex; }
  .js .jc-nav .jc-nav-cta { font: 600 1rem var(--sans); margin-top: 14px; padding: .9em 1.5em; }
}

/* hero */
.jc-hero { position: relative; overflow: hidden; padding-top: clamp(24px, 5vw, 70px); }
.jc-hero-in { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); align-items: center; gap: 20px; padding-bottom: clamp(40px, 7vw, 100px); }
.jc-hero h1 { font-size: clamp(3.2rem, 1.2rem + 9vw, 9rem); line-height: .92; margin-bottom: .35em; }
.jc-hero h1 em { font-style: italic; font-weight: 300; color: var(--juice-deep); display: block; font-variation-settings: 'opsz' 144, 'SOFT' 100; }
.jc-hero h1 span { display: block; font-size: .42em; line-height: 1.1; letter-spacing: -.01em; margin-top: .25em; }
.jc-hero-btns { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 28px; margin-top: 2rem; }
.jc-hero-fruit { position: relative; }
.jc-hero-fruit img { position: relative; width: 118%; max-width: none; margin-left: -6%; filter: drop-shadow(0 30px 40px rgba(120, 70, 0, .22)); will-change: transform; }
.jc-blob { position: absolute; inset: 4% -4% 2% 8%; background: var(--juice); border-radius: 58% 42% 55% 45% / 48% 56% 44% 52%; opacity: .2; animation: jc-blob 14s ease-in-out infinite alternate; }
@keyframes jc-blob { to { border-radius: 42% 58% 44% 56% / 58% 42% 58% 42%; transform: rotate(8deg) scale(1.04); } }
.jc-marquee { background: var(--ink); color: var(--paper); overflow: hidden; padding: 16px 0; transform: rotate(-1.2deg) scale(1.02); margin: 0 -10px; }
.jc-marquee div { display: flex; width: max-content; animation: jc-marq 38s linear infinite; }
.jc-marquee span { font: 300 italic clamp(1.2rem, 1rem + 1vw, 1.9rem)/1 var(--serif); white-space: nowrap; padding: 0 .9em; }
.jc-marquee span::after { content: '●'; color: var(--juice); font-style: normal; font-size: .5em; margin-left: 1.8em; vertical-align: middle; }
@keyframes jc-marq { to { transform: translateX(-50%); } }
@media (max-width: 760px) {
  .jc-hero-in { grid-template-columns: 1fr; }
  .jc-hero-fruit { order: -1; max-width: 210px; margin: 0 0 0 auto; }
  .jc-hero-fruit img { width: 100%; margin: 0; }
}

/* sekcie titulky */
section { position: relative; }
.jc-manifest, .jc-services, .jc-works, .jc-me, .jc-blogteaser, .jc-voices { padding: clamp(70px, 10vw, 150px) 0 0; }
.jc-blogteaser { padding-bottom: clamp(70px, 10vw, 140px); }
.jc-manifest-big { font: 300 clamp(2.2rem, 1rem + 6vw, 6.4rem)/1.02 var(--serif); letter-spacing: -.03em; font-variation-settings: 'opsz' 144; }
.jc-manifest-big s { color: var(--mute); text-decoration-color: var(--juice); text-decoration-thickness: .06em; }
.jc-manifest-big em { font-style: italic; background: linear-gradient(var(--lime), var(--lime)) 0 88% / 100% .28em no-repeat; }
.jc-manifest-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 30px; align-items: end; margin-top: clamp(30px, 4vw, 60px); padding-top: 30px; border-top: 1px solid var(--line); }
.jc-manifest-row p { max-width: 36em; }
.jc-services h2, .jc-works h2, .jc-blogteaser h2 { max-width: 14em; margin-bottom: clamp(30px, 5vw, 64px); }
.jc-svc { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; border-top: 2px solid var(--ink); margin-bottom: 40px; counter-reset: s; }
.jc-svc li { padding: 28px 24px 34px 0; border-bottom: 1px solid var(--line); }
.jc-svc li + li { padding-left: 24px; border-left: 1px solid var(--line); }
.jc-svc-n { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; background: var(--lime); font: 500 1.5rem/1 var(--serif); margin-bottom: 22px; }
.jc-svc li:nth-child(even) .jc-svc-n { background: var(--juice); }
.jc-svc h3 { margin-bottom: .6em; }
.jc-svc p { font-size: .97rem; color: #3d362c; }
@media (max-width: 980px) { .jc-svc { grid-template-columns: repeat(2, minmax(0, 1fr)); } .jc-svc li:nth-child(odd) { padding-left: 0; border-left: 0; } }
@media (max-width: 560px) { .jc-svc { grid-template-columns: 1fr; } .jc-svc li + li { padding-left: 0; border-left: 0; } .jc-manifest-row { grid-template-columns: 1fr; } }

.jc-worklist { border-top: 2px solid var(--ink); margin-bottom: 40px; }
.jc-work { position: relative; display: grid; grid-template-columns: 3.2rem minmax(0, 1.4fr) minmax(0, 1fr) auto; align-items: baseline; gap: 18px; padding: clamp(16px, 2.2vw, 28px) 0; border-bottom: 1px solid var(--line); text-decoration: none; transition: padding .3s, background .3s; }
.jc-work-n { font: 500 .85rem var(--sans); color: var(--mute); }
.jc-work-name { font: 400 clamp(1.6rem, 1rem + 2.6vw, 3.2rem)/1.05 var(--serif); letter-spacing: -.02em; }
.jc-work-meta, .jc-work-when { font-size: .92rem; color: var(--mute); }
.jc-work img { position: absolute; right: 12%; top: 50%; width: 260px; height: 180px; object-fit: cover; border-radius: 14px; transform: translateY(-50%) rotate(4deg) scale(.6); opacity: 0; pointer-events: none; transition: transform .35s, opacity .25s; z-index: 2; box-shadow: 0 20px 40px rgba(23, 19, 14, .25); }
@media (hover: hover) and (min-width: 900px) {
  .jc-work:hover { padding-left: 18px; background: var(--cream); }
  .jc-work:hover .jc-work-name { font-style: italic; }
  .jc-work:hover img { transform: translateY(-50%) rotate(-3deg) scale(1); opacity: 1; }
}
@media (max-width: 760px) { .jc-work { grid-template-columns: 2.2rem minmax(0, 1fr); } .jc-work-meta, .jc-work-when { grid-column: 2; margin-top: -12px; } .jc-work img { display: none; } }

.jc-me-in { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(30px, 6vw, 90px); align-items: center; }
.jc-me figure img, .jc-about figure img { border-radius: 50% 50% 46% 54% / 54% 46% 54% 46%; aspect-ratio: 1; object-fit: cover; width: 100%; }
.jc-me figure { max-width: 440px; outline: 2px solid var(--juice); outline-offset: 12px; border-radius: 50%; margin: 14px; }
.jc-me h2 { margin-bottom: .6em; font-style: italic; font-weight: 300; }
.jc-me p + p { margin-top: 1.4em; }
@media (max-width: 760px) { .jc-me-in { grid-template-columns: 1fr; } .jc-me figure { max-width: 240px; } }

.jc-voices-rail { display: flex; gap: 22px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 10px var(--gut) 30px; scrollbar-width: thin; scrollbar-color: var(--juice) transparent; }
.jc-voices-rail blockquote { flex: 0 0 min(82vw, 460px); scroll-snap-align: center; }
blockquote { background: #fff; border-radius: 22px; padding: clamp(24px, 3vw, 38px); display: flex; flex-direction: column; justify-content: space-between; gap: 24px; box-shadow: 0 1px 0 var(--line); }
blockquote p { font: 400 clamp(1.1rem, 1rem + .4vw, 1.3rem)/1.4 var(--serif); }
blockquote p::before { content: '“'; display: block; font: 400 4rem/.6 var(--serif); color: var(--juice); margin-bottom: .1em; height: .45em; }
blockquote footer { font-size: .88rem; color: var(--mute); }
blockquote footer strong { display: block; color: var(--ink); font-size: 1rem; }

/* karty článkov */
.jc-posts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(26px, 3vw, 44px) clamp(20px, 2.6vw, 36px); margin-bottom: 44px; }
.jc-post { display: flex; flex-direction: column; gap: 10px; text-decoration: none; }
.jc-post[hidden] { display: none; }
.jc-post-img { display: block; aspect-ratio: 4 / 3; border-radius: 18px; overflow: hidden; background: var(--cream); margin-bottom: 8px; }
.jc-post-img--none { background: radial-gradient(circle at 70% 30%, var(--juice) 0 22%, transparent 23%), radial-gradient(circle at 30% 75%, var(--lime) 0 16%, transparent 17%), var(--cream); }
.jc-post-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.jc-post:hover .jc-post-img img { transform: scale(1.05); }
.jc-post-meta { font: 600 .74rem var(--sans); letter-spacing: .1em; text-transform: uppercase; color: var(--juice-deep); }
.jc-post strong { font: 400 clamp(1.3rem, 1.1rem + .7vw, 1.65rem)/1.15 var(--serif); letter-spacing: -.015em; }
.jc-post:hover strong { text-decoration: underline; text-decoration-color: var(--juice); text-decoration-thickness: 3px; text-underline-offset: 5px; }
.jc-post-ex { font-size: .95rem; color: #3d362c; }
@media (max-width: 900px) { .jc-posts { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .jc-posts { grid-template-columns: 1fr; } }

/* záverečná výzva + pätička */
.jc-cta { background: var(--night); color: var(--paper); padding: clamp(80px, 11vw, 160px) 0; overflow: hidden; }
.jc-cta .jc-kicker { color: var(--juice); }
.jc-cta h2 { max-width: 11em; margin-bottom: .5em; font-weight: 300; }
.jc-cta p { max-width: 30em; margin-bottom: 2rem; position: relative; z-index: 1; }
.jc-cta h2, .jc-cta .jc-btn { position: relative; z-index: 1; }
.jc-cta-fruit { position: absolute; right: -6%; bottom: -22%; width: min(48vw, 560px); opacity: .95; }
@media (max-width: 760px) { .jc-cta-fruit { width: 240px; right: -70px; bottom: -70px; opacity: .55; } }
.jc-foot { background: var(--night); color: #cfc5b3; border-top: 1px solid #3a332a; padding: 54px 0 26px; font-size: .93rem; }
.jc-dark .jc-foot { border-top-color: #3a332a; }
.jc-foot-in { display: grid; grid-template-columns: 1.2fr 1fr 1.2fr; gap: 36px; }
.jc-foot-logo { width: 170px; height: 66px; object-fit: cover; object-position: 50% 56%; filter: invert(1) hue-rotate(180deg); margin-left: -18px; }
.jc-foot nav { display: grid; gap: 6px; align-content: start; }
.jc-foot a { color: var(--paper); text-decoration: none; }
.jc-foot a:hover { color: var(--juice); }
.jc-foot-id p + p { margin-top: 12px; }
.jc-foot-copy { text-align: center; margin-top: 46px; font-size: .8rem; color: #8e8473; }
@media (max-width: 760px) { .jc-foot-in { grid-template-columns: 1fr; } }

/* podstránky */
.jc-pagehead { padding: clamp(40px, 7vw, 100px) 0 clamp(36px, 5vw, 70px); }
.jc-pagehead h1 { margin-bottom: .35em; }
.jc-svcpage, .jc-cases, .jc-bloglist, .jc-voicegrid, .jc-faq { padding-bottom: clamp(70px, 10vw, 140px); }
.jc-svcbig { border-top: 2px solid var(--ink); }
.jc-svcbig li { display: grid; grid-template-columns: 110px minmax(0, 1fr); gap: 20px; padding: clamp(28px, 4vw, 54px) 0; border-bottom: 1px solid var(--line); align-items: start; }
.jc-svcbig .jc-svc-n { width: 78px; height: 78px; font-size: 2.2rem; margin: 0; }
.jc-svcbig li:nth-child(even) .jc-svc-n { background: var(--juice); }
.jc-svcbig div { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px 40px; align-items: start; }
.jc-svcbig h2 { font-size: clamp(1.9rem, 1.2rem + 2.6vw, 3.4rem); }
@media (max-width: 760px) { .jc-svcbig li { grid-template-columns: 1fr; } .jc-svcbig div { grid-template-columns: 1fr; } .jc-svcbig .jc-svc-n { width: 56px; height: 56px; font-size: 1.6rem; } }
.jc-h2s { font-size: clamp(1.6rem, 1.2rem + 1.6vw, 2.5rem); margin: clamp(60px, 8vw, 110px) 0 30px; max-width: 16em; }
.jc-extra { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.jc-extra li { background: var(--cream); border-radius: 20px; padding: 26px; }
.jc-extra h3 { font-size: 1.3rem; margin-bottom: .6em; }
.jc-extra p { font-size: .95rem; }
@media (max-width: 980px) { .jc-extra { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .jc-extra { grid-template-columns: 1fr; } }

.jc-case { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(26px, 5vw, 80px); padding: clamp(40px, 6vw, 90px) 0; border-top: 1px solid var(--line); align-items: start; }
.jc-case:first-child { border-top: 2px solid var(--ink); }
.jc-case:nth-child(even) figure { order: 2; }
.jc-case figure { position: sticky; top: 100px; border-radius: 24px; overflow: hidden; background: var(--cream); aspect-ratio: 4 / 3; }
.jc-case figure img { width: 100%; height: 100%; object-fit: cover; }
.jc-case-n { font: 500 .85rem var(--sans); color: var(--mute); margin-bottom: 8px; }
.jc-case h2 { font-size: clamp(2rem, 1.3rem + 3vw, 3.8rem); margin-bottom: .5em; }
.jc-case dl { display: flex; flex-wrap: wrap; gap: 10px 30px; padding: 16px 0; margin-bottom: 20px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); font-size: .92rem; }
.jc-case dt { font: 600 .7rem var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--juice-deep); }
.jc-case ul { margin-top: 16px; display: grid; gap: 6px; }
.jc-case li, .jc-prose ul li, .jc-faq li { padding-left: 1.4em; position: relative; }
.jc-case li::before, .jc-prose ul li::before, .jc-faq li::before { content: ''; position: absolute; left: 0; top: .62em; width: .5em; height: .5em; border-radius: 50%; background: var(--juice); }
.jc-case-more { font: 600 .7rem var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--mute); margin-top: 24px; }
@media (max-width: 760px) { .jc-case { grid-template-columns: 1fr; } .jc-case figure { position: static; order: 0 !important; } }

.jc-about { padding: clamp(40px, 7vw, 100px) 0; }
.jc-about-in { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); gap: clamp(30px, 6vw, 90px); align-items: center; }
.jc-about h1 { margin-bottom: .4em; }
.jc-about h1::first-line { font-style: italic; }
.jc-about p + p { margin-top: 1.3em; max-width: 40em; }
.jc-about figure { position: relative; }
.jc-about figure img { position: relative; }
.jc-about .jc-blob { inset: -6% -8% -4% -6%; opacity: .35; }
@media (max-width: 760px) { .jc-about-in { grid-template-columns: 1fr; } .jc-about figure { max-width: 260px; order: -1; } }
.jc-voicegrid h2 { margin-bottom: 36px; }
.jc-vgrid { columns: 3 300px; column-gap: 22px; }
.jc-vgrid blockquote { break-inside: avoid; margin-bottom: 22px; }
.jc-vgrid blockquote:nth-child(3n + 1) { background: var(--cream); }
.jc-vgrid blockquote:nth-child(4n + 2) { background: var(--ink); color: var(--paper); }
.jc-vgrid blockquote:nth-child(4n + 2) footer, .jc-vgrid blockquote:nth-child(4n + 2) footer strong { color: #d8cdb9; }

.jc-essay-in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 60px); align-items: center; padding-bottom: clamp(50px, 7vw, 100px); }
.jc-essay-in > div:first-child { font-size: clamp(1.1rem, 1rem + .55vw, 1.4rem); line-height: 1.5; }
.jc-essay-in p + p { margin-top: 1.1em; }
.jc-essay-in figure { border-radius: 26px; overflow: hidden; }
.jc-essay-in > div:last-child { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 60px); padding-top: clamp(36px, 5vw, 70px); border-top: 2px solid var(--ink); margin-top: 20px; }
@media (max-width: 760px) { .jc-essay-in, .jc-essay-in > div:last-child { grid-template-columns: 1fr; } }
.jc-quotes { background: var(--cream); padding: clamp(50px, 7vw, 100px) 0; }
.jc-quotes-in { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
@media (max-width: 860px) { .jc-quotes-in { grid-template-columns: 1fr; } }
.jc-faq { padding-top: clamp(60px, 9vw, 130px); }
.jc-faq-in { display: grid; grid-template-columns: minmax(0, .7fr) minmax(0, 1.3fr); gap: clamp(26px, 5vw, 80px); align-items: start; }
.jc-faq-in > div:first-child { position: sticky; top: 110px; }
@media (max-width: 860px) { .jc-faq-in { grid-template-columns: 1fr; } .jc-faq-in > div:first-child { position: static; } }
details { border-top: 1px solid var(--line); }
details:first-child { border-top: 2px solid var(--ink); }
details:last-child { border-bottom: 1px solid var(--line); }
summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 20px; align-items: center; padding: 22px 0; font: 400 clamp(1.2rem, 1.05rem + .7vw, 1.6rem)/1.2 var(--serif); letter-spacing: -.01em; }
summary::-webkit-details-marker { display: none; }
summary::after { content: '+'; flex: none; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--lime); font: 400 1.6rem/1 var(--sans); transition: transform .3s, background .3s; }
details[open] summary::after { transform: rotate(45deg); background: var(--juice); }
details > div { padding: 0 60px 28px 0; }
details > div p + p, details > div ul + p, details > div p + ul { margin-top: 1em; }
details > div ul { display: grid; gap: 6px; }
@media (max-width: 560px) { details > div { padding-right: 0; } }

.jc-filter { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 40px; }
.jc-filter[hidden] { display: none; }
.jc-filter button { font: 600 .9rem var(--sans); padding: .6em 1.15em; border-radius: 999px; border: 2px solid var(--ink); background: transparent; color: var(--ink); cursor: pointer; }
.jc-filter button[aria-pressed="true"] { background: var(--ink); color: var(--paper); }

/* článok */
.jc-article-head { max-width: calc(900px + 2 * var(--gut)); padding-top: clamp(36px, 6vw, 80px); padding-bottom: clamp(26px, 4vw, 44px); }
.jc-article-head h1 { font-size: clamp(2.2rem, 1.4rem + 3.6vw, 4.4rem); line-height: 1.04; margin-bottom: .5em; }
.jc-article-meta { color: var(--mute); font-size: .93rem; }
.jc-article-cover { max-width: calc(1100px + 2 * var(--gut)); margin: 0 auto; padding: 0 var(--gut); }
.jc-article-cover img { width: 100%; max-height: 560px; object-fit: cover; border-radius: 26px; }
.jc-prose { max-width: calc(720px + 2 * var(--gut)); margin: 0 auto; padding: clamp(30px, 5vw, 60px) var(--gut) clamp(60px, 9vw, 120px); font-size: clamp(1.06rem, 1rem + .3vw, 1.2rem); line-height: 1.72; }
.jc-prose > * + * { margin-top: 1.15em; }
.jc-prose h2 { font-size: clamp(1.7rem, 1.3rem + 1.6vw, 2.5rem); line-height: 1.1; margin-top: 1.8em; }
.jc-prose h3 { margin-top: 1.6em; }
.jc-prose a { text-decoration-color: var(--juice); text-decoration-thickness: 2px; text-underline-offset: 4px; overflow-wrap: anywhere; }
.jc-prose a:hover { background: var(--juice); }
.jc-prose ul, .jc-prose ol { display: grid; gap: .5em; }
.jc-prose ol { list-style: decimal; padding-left: 1.4em; }
.jc-prose ol li::marker { font-family: var(--serif); color: var(--juice-deep); font-weight: 600; }
.jc-prose figure img { border-radius: 18px; width: 100%; }
.jc-prose blockquote { border-left: 4px solid var(--juice); border-radius: 0 18px 18px 0; }
.jc-prose table { width: 100%; border-collapse: collapse; font-size: .95em; display: block; overflow-x: auto; }
.jc-prose td, .jc-prose th { border: 1px solid var(--line); padding: 12px 14px; vertical-align: top; text-align: left; min-width: 180px; }
.jc-note { font-size: .9rem; background: var(--cream); border-radius: 14px; padding: 14px 18px; color: #4a4236; }
.jc-nextread { background: var(--cream); padding: clamp(50px, 7vw, 90px) 0 20px; }
.jc-nextread .jc-posts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 560px) { .jc-nextread .jc-posts { grid-template-columns: 1fr; } }

/* kontakt */
.jc-dark { background: var(--night); color: var(--paper); }
.jc-dark .jc-head { background: color-mix(in srgb, var(--night) 88%, transparent); }
.jc-dark .jc-logo img { filter: invert(1) hue-rotate(180deg); }
.jc-dark .jc-nav .jc-nav-cta { background: var(--juice); color: var(--ink); }
.jc-dark .jc-kicker { color: var(--juice); }
.jc-contact { padding: clamp(40px, 7vw, 100px) 0 clamp(70px, 10vw, 140px); }
.jc-contact-in { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, .7fr); gap: clamp(30px, 6vw, 90px); align-items: center; }
.jc-contact h1 { margin-bottom: .3em; font-weight: 300; }
.jc-contact-meta { font: 600 .85rem var(--sans); letter-spacing: .08em; text-transform: uppercase; color: var(--lime); margin-bottom: 1.6rem; }
.jc-contact .jc-lead { margin-bottom: 1.2em; }
.jc-contact-btns { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 2.2rem; }
.jc-contact aside { font-size: .95rem; color: #cfc5b3; }
.jc-contact aside img { margin-bottom: 26px; }
.jc-contact aside p + p { margin-top: 10px; }
@media (max-width: 760px) { .jc-contact-in { grid-template-columns: 1fr; } .jc-contact aside img { max-width: 240px; } }

/* objavovanie pri skrolovaní – len s JS a bez obmedzenia pohybu */
@media (prefers-reduced-motion: no-preference) {
  .js [data-rise] { opacity: 0; transform: translateY(26px); transition: opacity .7s cubic-bezier(.2, .7, .2, 1), transform .7s cubic-bezier(.2, .7, .2, 1); }
  .js [data-rise].is-in { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .jc-marquee div, .jc-blob { animation: none; }
  * { transition-duration: .01ms !important; }
}

/* prepínač jazykov */
.jc-lang { display: inline-flex; gap: 2px; font: 600 .78rem/1 var(--sans); letter-spacing: .06em; }
.jc-nav .jc-lang a, .jc-lang b { padding: 7px 7px; border-radius: 999px; border: 0; text-decoration: none; color: var(--mute); }
.jc-nav .jc-lang a:hover { color: var(--ink); background: var(--cream); border: 0; }
.jc-lang b { color: var(--ink); background: var(--cream); }
.jc-dark .jc-nav .jc-lang a { color: #a99f8d; }
.jc-dark .jc-lang b, .jc-dark .jc-nav .jc-lang a:hover { color: var(--paper); background: #33291c; }
.jc-langnote { margin-left: 14px; font-size: .88rem; color: var(--mute); }
@media (max-width: 860px) { .js .jc-nav .jc-lang { font: 600 .9rem/1 var(--sans); margin-top: 18px; } }

/* súkromie a 404 */
.jc-legal .jc-prose { padding-top: 0; }
.jc-legal .jc-prose h2 { font-size: clamp(1.4rem, 1.2rem + 1vw, 1.9rem); }
.jc-foot-copy a { color: inherit; text-decoration: underline; }
.jc-404 { padding: clamp(50px, 9vw, 130px) 0; }
.jc-404 .jc-wrap > div { padding: 30px 0; border-top: 1px solid var(--line); display: grid; gap: 14px; justify-items: start; }
.jc-404 h1 { font-size: clamp(2rem, 1.3rem + 3.4vw, 4.4rem); }
