/* ==========================================================
   SLOVÁCKÝ FOLKLOR – „Celý rok v kroji“ (needituje se z CMS)
   Typo: Anton (display) · Fraunces (serif, WONK/SOFT) · JetBrains Mono
   Každá kapitola má barvu svého ročního období.
   Pozor: prvky, se kterými hýbe GSAP, nesmí mít CSS transform.
   ========================================================== */

:root {
    --paper: #f4ede1;
    --paper-2: #e9e0d0;
    --ink: #191210;
    --red: #c4122f;
    --red-2: #8f0c22;
    --gold: #e9b44c;
    --winter: #1b2142;
    --winter-2: #262e5c;
    --spring: #2c5e36;
    --spring-2: #3c7a48;
    --may: #f0c35a;
    --autumn: #8f1a1f;

    --f-display: "Anton", "Impact", "Arial Narrow", sans-serif;
    --f-serif: "Fraunces", "Georgia", serif;
    --f-mono: "JetBrains Mono", ui-monospace, "Consolas", monospace;
    --gut: clamp(16px, 4vw, 64px);
    --ease: cubic-bezier(.16, 1, .3, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }

body.sf {
    margin: 0; background: var(--paper); color: var(--ink);
    font-family: var(--f-serif); font-optical-sizing: auto; font-variation-settings: "SOFT" 50, "WONK" 0;
    font-size: clamp(17px, 1.15vw, 20px); line-height: 1.55; overflow-x: hidden; -webkit-font-smoothing: antialiased;
}
:where(.sf) img { display: block; max-width: 100%; height: auto; }
.sf figure { margin: 0; }
.sf a { color: inherit; }
.sf ::selection { background: var(--red); color: var(--paper); }
.sf a:focus-visible, .sf button:focus-visible { outline: 2px solid var(--gold); outline-offset: 4px; }

.sf-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.sf-serif-i { font-family: var(--f-serif); font-style: italic; font-weight: 300; font-variation-settings: "SOFT" 100, "WONK" 1, "opsz" 144; text-transform: none; letter-spacing: -.02em; }
.sf-mono, .sf-label { font-family: var(--f-mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; font-weight: 500; }
.sf-label { display: inline-flex; align-items: center; gap: .9em; color: var(--ink); }
.sf-label span { display: inline-grid; place-items: center; min-width: 2.6em; height: 2.6em; padding: 0 .4em; border: 1px solid currentColor; border-radius: 99px; }
.sf-label--light { color: var(--paper); }

.sf-facts { margin: 22px 0 0; border-top: 1px solid currentColor; }
.sf-facts div { display: grid; grid-template-columns: minmax(90px, 26%) 1fr; gap: 16px; padding: 10px 0; border-bottom: 1px solid rgba(25, 18, 16, .25); }
.sf-facts dt { font-family: var(--f-mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; padding-top: .3em; }
.sf-facts dd { margin: 0; }

/* ---------- Grain, cursor, progress ---------- */
.sf-grain {
    position: fixed; inset: -50%; z-index: 90; pointer-events: none; opacity: .06; mix-blend-mode: multiply;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
    animation: sfGrain 1.2s steps(6) infinite;
}
@keyframes sfGrain { 0% { transform: translate(0, 0); } 25% { transform: translate(-4%, 3%); } 50% { transform: translate(3%, -5%); } 75% { transform: translate(-2%, 6%); } 100% { transform: translate(0, 0); } }
.sf-progress { position: fixed; left: 0; top: 0; right: 0; height: 3px; z-index: 80; pointer-events: none; }
.sf-progress span { display: block; height: 100%; background: var(--gold); transform-origin: 0 50%; transform: scaleX(0); }
.sf-cursor {
    position: fixed; left: 0; top: 0; z-index: 100; pointer-events: none; width: 14px; height: 14px; margin: -7px 0 0 -7px;
    border-radius: 50%; background: var(--paper); mix-blend-mode: difference; display: grid; place-items: center; opacity: 0;
    transition: width .45s var(--ease), height .45s var(--ease), margin .45s var(--ease);
}
.sf-cursor.is-on { opacity: 1; }
.sf-cursor.is-big { width: 96px; height: 96px; margin: -48px 0 0 -48px; }
.sf-cursor__label { font-family: var(--f-mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--ink); opacity: 0; transition: opacity .3s; }
.sf-cursor.is-big .sf-cursor__label { opacity: 1; }
@media (pointer: coarse) { .sf-cursor { display: none; } }

/* ---------- Loader ---------- */
.sf-loader { display: none; }
.js .sf-loader { position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; background: var(--red); color: var(--paper); animation: sfLoaderFailsafe 0s 7s forwards; }
@keyframes sfLoaderFailsafe { to { visibility: hidden; } }
.sf-loader__word { display: flex; overflow: hidden; font-family: var(--f-display); font-size: clamp(90px, 22vw, 340px); line-height: .9; }
.sf-loader__word span { display: block; }
.sf-loader__month { position: absolute; right: var(--gut); bottom: var(--gut); font-family: var(--f-serif); font-style: italic; font-weight: 300; font-variation-settings: "SOFT" 100, "WONK" 1, "opsz" 144; font-size: clamp(40px, 6vw, 96px); line-height: .8; color: var(--gold); }
.sf-loader__note { position: absolute; left: var(--gut); bottom: var(--gut); font-family: var(--f-mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; }

/* ---------- Kalendář (dial) ---------- */
.sf-dial {
    /* vpravo uprostřed – vlevo dole kolidoval s popisky sekcí */
    position: fixed; right: 14px; top: 50%; margin-top: -60px; z-index: 60; width: 72px; pointer-events: none;
    color: #fff; mix-blend-mode: difference; opacity: 0; transition: opacity .6s;
    display: flex; flex-direction: column; align-items: center; gap: 6px;
}
.sf-dial.is-on { opacity: 1; }
.sf-dial svg { width: 64px; height: 64px; overflow: visible; }
.sf-dial__ring { fill: none; stroke: currentColor; stroke-width: 1; opacity: .5; }
.sf-dial__tick { stroke: currentColor; stroke-width: 1.5; opacity: .6; }
.sf-dial__tick.is-on { stroke-width: 3; opacity: 1; }
.sf-dial__hand { transform-origin: 60px 60px; transition: transform 1.1s var(--ease); }
.sf-dial__hand line { stroke: currentColor; stroke-width: 1.5; }
.sf-dial__hand circle, .sf-dial__hub { fill: currentColor; }
.sf-dial__label { font-family: var(--f-mono); font-size: 10px; letter-spacing: .14em; text-transform: uppercase; }
@media (max-width: 900px) { .sf-dial { display: none; } }

/* ---------- Nav ---------- */
.sf-nav {
    position: fixed; left: 0; right: 0; top: 0; z-index: 70; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 24px;
    padding: 18px var(--gut); color: #fff; mix-blend-mode: difference;
    font-family: var(--f-mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase;
}
.sf-nav a { text-decoration: none; }
.sf-nav__links { grid-column: 2; display: flex; gap: 28px; }
.sf-nav__cta { grid-column: 3; justify-self: end; }
.sf-nav__links a, .sf-nav__cta { position: relative; padding: 4px 0; }
.sf-nav__links a::after, .sf-nav__cta::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: 100% 50%; transition: transform .5s var(--ease); }
.sf-nav__links a:hover::after, .sf-nav__cta:hover::after { transform: scaleX(1); transform-origin: 0 50%; }
@media (max-width: 860px) { .sf-nav__links { display: none; } }

/* ==========================================================
   HERO
   ========================================================== */
.sf-hero { position: relative; height: 100vh; height: 100svh; min-height: 560px; overflow: hidden; isolation: isolate; background: var(--red); color: var(--paper); }
.sf-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(120% 80% at 50% 110%, rgba(143, 12, 34, .75), transparent 60%); }
.sf-hero::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 28%; z-index: 3; pointer-events: none; background: linear-gradient(to top, rgba(110, 8, 26, .8), transparent); }
.sf-hero__title { margin: 0; font-weight: 400; }
.sf-hero__word {
    position: absolute; inset: 0 0 -4% 0; margin: auto; width: max-content; height: max-content; display: flex; white-space: nowrap; z-index: 1;
    font-family: var(--f-display); font-weight: 400; font-size: 40vw; line-height: .78; letter-spacing: -.01em; color: var(--paper);
}
.sf-hero__word .ch { display: block; will-change: transform; }
.sf-hero__word--outline { z-index: 3; color: transparent; -webkit-text-stroke: 2px var(--paper); pointer-events: none; }
.sf-hero__figure { position: absolute; z-index: 2; left: 14vw; right: 0; bottom: 0; margin: 0 auto; width: auto; height: 92%; max-width: none; filter: drop-shadow(0 30px 60px rgba(60, 0, 10, .5)); }
.sf-hero__kicker {
    position: absolute; z-index: 4; left: var(--gut); top: clamp(70px, 13vh, 140px); margin: 0;
    font-family: var(--f-serif); font-style: italic; font-weight: 300; font-variation-settings: "SOFT" 100, "WONK" 1, "opsz" 144;
    font-size: clamp(54px, 9vw, 170px); line-height: .9; letter-spacing: -.04em; color: var(--gold);
}
.sf-hero__badge { position: absolute; z-index: 4; right: var(--gut); top: clamp(80px, 14vh, 150px); width: clamp(110px, 12vw, 180px); color: var(--paper); }
.sf-hero__meta {
    position: absolute; z-index: 4; left: var(--gut); right: var(--gut); bottom: 22px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px;
    margin: 0; padding: 16px 0 0; list-style: none; border-top: 1px solid rgba(244, 237, 225, .35);
    font-family: var(--f-mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase;
}
.sf-hero__meta li { display: flex; flex-direction: column; gap: 2px; }
.sf-hero__scroll { align-items: flex-end; text-align: right; }
.sf-hero__arrow { display: inline-block; animation: sfBob 1.8s var(--ease) infinite; }
@keyframes sfBob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(6px); } }
@media (max-width: 700px) {
    .sf-hero__word { inset: 0 0 20% 0; }
    .sf-hero__figure { height: 72%; left: 30vw; }
    .sf-hero__meta { grid-template-columns: repeat(2, 1fr); row-gap: 10px; }
    .sf-hero__scroll { display: none !important; }
    .sf-hero__badge { top: auto; bottom: 120px; right: 12px; width: 92px; }
}
.sf-badge { overflow: visible; }
.sf-badge text { font-family: var(--f-mono); font-size: 15px; letter-spacing: .1em; text-transform: uppercase; fill: currentColor; }
.sf-badge > text { transform-origin: 100px 100px; animation: sfSpin 20s linear infinite; }
.sf-badge__bg { fill: var(--red-2); }
.sf-badge__rose { color: var(--gold); }
@keyframes sfSpin { to { transform: rotate(360deg); } }

/* ==========================================================
   01 ÚVOD
   ========================================================== */
.sf-intro { padding: clamp(80px, 14vw, 200px) var(--gut) clamp(60px, 8vw, 120px); }
.sf-intro__lead { margin: 36px 0 0; max-width: 17ch; font-family: var(--f-serif); font-weight: 400; font-variation-settings: "SOFT" 30, "WONK" 0, "opsz" 144; font-size: clamp(36px, 5.8vw, 108px); line-height: 1; letter-spacing: -.035em; }
.sf-intro__lead .w { display: inline-block; }
.sf-intro__big { display: grid; grid-template-columns: auto 1fr; align-items: end; gap: clamp(20px, 4vw, 70px); margin-top: clamp(70px, 10vw, 160px); }
.sf-photo-text {
    font-family: var(--f-display); font-size: clamp(170px, 34vw, 620px); line-height: 1.2; margin: -.1em 0; letter-spacing: -.02em;
    background-image: var(--img); background-size: cover; background-position: 50% 50%; -webkit-background-clip: text; background-clip: text; color: transparent;
}
.sf-intro__bigcap { margin: 0 0 1.6vw; }
.sf-intro__bigcap .sf-serif-i { display: block; color: var(--red); font-size: clamp(32px, 3.4vw, 60px); line-height: 1; margin-bottom: 18px; }
.sf-unesco { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--ink); max-width: 520px; }
.sf-unesco li { display: flex; justify-content: space-between; align-items: baseline; gap: 20px; padding: 14px 0; border-bottom: 1px solid rgba(25, 18, 16, .25); }
.sf-unesco strong { font-family: var(--f-display); font-weight: 400; text-transform: uppercase; font-size: clamp(26px, 2.6vw, 46px); line-height: 1; }
.sf-unesco span { font-family: var(--f-mono); font-size: 13px; color: var(--red); }
@media (max-width: 800px) { .sf-intro__big { grid-template-columns: 1fr; } }
.sf-wide { position: relative; margin-top: clamp(70px, 10vw, 150px); overflow: hidden; aspect-ratio: 21 / 10; border-radius: 4px; }
.sf-wide img { position: absolute; top: -10%; left: 0; width: 100%; height: 120%; object-fit: cover; }
.sf-wide figcaption { position: absolute; left: 20px; right: 20px; bottom: 16px; display: flex; justify-content: space-between; font-family: var(--f-mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: #fff; text-shadow: 0 1px 12px rgba(0, 0, 0, .6); }
@media (max-width: 700px) { .sf-wide { aspect-ratio: 4 / 5; } }

/* ==========================================================
   KAPITOLY (společné)
   ========================================================== */
.sf-ch { position: relative; overflow: hidden; padding: clamp(90px, 12vw, 180px) var(--gut); }
.sf-ch__title {
    margin: 30px 0 0; white-space: nowrap; font-family: var(--f-display); font-weight: 400; text-transform: uppercase;
    font-size: clamp(90px, 21vw, 420px); line-height: .8; letter-spacing: -.01em;
}
.sf-ch__title .ch { display: inline-block; }
/* dvouslovný nadpis se může zalomit – řádkování musí pojmout diakritiku (Í, Ů) */
.sf-ch__title--two { white-space: normal; display: flex; flex-wrap: wrap; gap: .24em .2em; font-size: clamp(80px, 16vw, 320px); line-height: 1.02; }
.sf-ch__title--two > span { white-space: nowrap; }
.sf-ch__sub { margin: 24px 0 0; font-size: clamp(22px, 2.4vw, 40px); line-height: 1.1; }
.sf-ch__sub .sf-serif-i { font-size: 1.3em; }
.sf-ch__txt { margin: 0; max-width: 46ch; }
.sf-ch__txt--wide { margin: clamp(40px, 6vw, 90px) 0 0 auto; max-width: 52ch; }
.sf-ch figure { overflow: hidden; border-radius: 4px; }
.sf-ch figure img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- 02 Zima – Fašank ---------- */
.sf-ch--winter { background: var(--winter); color: var(--paper); }
.sf-ch--winter .sf-ch__sub .sf-serif-i { color: var(--gold); }
.sf-ch--winter .sf-ch__txt { color: rgba(244, 237, 225, .85); }
.sf-fasank__cut { position: relative; z-index: 2; width: min(100%, 1300px); margin: clamp(30px, 4vw, 70px) auto 0; filter: drop-shadow(0 30px 50px rgba(0, 0, 0, .5)); }
.sf-ch__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 2vw; margin-top: clamp(40px, 6vw, 90px); }
.sf-ch--winter .sf-ch__txt { grid-column: 1 / 5; align-self: start; }
.sf-g--a { grid-column: 6 / 13; aspect-ratio: 3 / 2; }
.sf-g--b { grid-column: 1 / 5; aspect-ratio: 2 / 3; grid-row: 2 / 4; margin-top: 3vw; }
.sf-g--c { grid-column: 5 / 10; aspect-ratio: 3 / 2; margin-top: 3vw; }
.sf-g--d { grid-column: 8 / 13; aspect-ratio: 3 / 2; margin-top: -4vw; }
@media (max-width: 800px) {
    .sf-ch--winter .sf-ch__txt { grid-column: 1 / 13; }
    .sf-g--a { grid-column: 1 / 13; }
    .sf-g--b { grid-column: 1 / 8; grid-row: auto; }
    .sf-g--c { grid-column: 3 / 13; }
    .sf-g--d { grid-column: 1 / 11; margin-top: 3vw; }
}

/* ---------- 03 Březen – Morena ---------- */
.sf-ch--march { background: var(--paper-2); }
.sf-ch--march .sf-ch__sub .sf-serif-i { color: var(--red); }
.sf-verse { margin-top: clamp(50px, 8vw, 130px); display: flex; flex-direction: column; }
.sf-verse__l { display: block; overflow: hidden; padding: .3em 0 .04em; margin-top: -.3em; font-size: clamp(56px, 10vw, 190px); }
.sf-verse__l > span { display: block; font-family: var(--f-display); text-transform: uppercase; line-height: .9; }
.sf-verse__l--i > span { font-family: var(--f-serif); font-style: italic; font-weight: 300; text-transform: none; font-variation-settings: "SOFT" 100, "WONK" 1, "opsz" 144; letter-spacing: -.045em; padding-left: .6em; }
.sf-verse__l--o > span { color: transparent; -webkit-text-stroke: 1.5px var(--ink); }
.sf-verse__l--red > span { color: var(--red); }
.sf-film-strip { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.4vw; margin-top: clamp(50px, 7vw, 110px); }
.sf-film-strip figure { position: relative; aspect-ratio: 4 / 5; }
.sf-film-strip figcaption { position: absolute; left: 14px; bottom: 12px; font-family: var(--f-mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: #fff; text-shadow: 0 1px 10px rgba(0, 0, 0, .7); }
@media (max-width: 800px) { .sf-film-strip { grid-template-columns: 1fr; } .sf-film-strip figure { aspect-ratio: 3 / 2; } }

/* ---------- 04 Jaro – Létečko ---------- */
.sf-ch--spring { background: var(--spring); color: var(--paper); }
.sf-ch--spring .sf-ch__sub .sf-serif-i { color: var(--gold); }
.sf-ch--spring .sf-ch__txt { color: rgba(244, 237, 225, .88); }
.sf-spring { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(30px, 5vw, 90px); align-items: end; margin-top: clamp(30px, 5vw, 70px); }
.sf-spring__cut { width: 100%; max-width: 640px; filter: drop-shadow(0 30px 50px rgba(0, 0, 0, .4)); }
.sf-spring__txt { display: grid; gap: 30px; padding-bottom: 2vw; }
.sf-video { position: relative; overflow: hidden; border-radius: 4px; aspect-ratio: 16 / 9; background: #000; cursor: pointer; }
.sf-video img { width: 100%; height: 100%; object-fit: cover; opacity: .9; transition: opacity .5s, transform 1.2s var(--ease); }
.sf-video:hover img { opacity: 1; transform: scale(1.03); }
.sf-video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.sf-video__play { position: absolute; inset: 0; margin: auto; width: 96px; height: 96px; border-radius: 50%; display: grid; place-items: center; background: var(--gold); color: var(--ink); text-decoration: none; }
.sf-video__play svg { width: 28px; height: 28px; }
.sf-video__cap { position: absolute; left: 16px; bottom: 12px; margin: 0; font-family: var(--f-mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: #fff; text-shadow: 0 1px 10px rgba(0, 0, 0, .7); }
.sf-video.is-playing .sf-video__play, .sf-video.is-playing .sf-video__cap { display: none; }
.sf-ribbons { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 2vw; margin-top: clamp(60px, 8vw, 130px); }
.sf-ribbons__a { grid-column: 1 / 8; aspect-ratio: 3 / 2; }
.sf-ribbons__b { grid-column: 9 / 13; aspect-ratio: 2 / 3; grid-row: 1 / 3; border-radius: 999px 999px 4px 4px !important; }
.sf-ribbons__c { grid-column: 2 / 6; aspect-ratio: 3 / 2; }
.sf-ribbons__d { grid-column: 6 / 9; aspect-ratio: 1; margin-top: -4vw; }
@media (max-width: 800px) {
    .sf-spring { grid-template-columns: 1fr; }
    .sf-spring__cut { max-width: 80%; }
    .sf-ribbons__a { grid-column: 1 / 13; }
    .sf-ribbons__b { grid-column: 1 / 8; grid-row: auto; }
    .sf-ribbons__c { grid-column: 3 / 13; }
    .sf-ribbons__d { grid-column: 1 / 8; margin-top: 0; }
}

/* ---------- 05 Květen – Jízda králů ---------- */
.sf-ch--may { background: var(--may); }
.sf-ch--may .sf-ch__sub .sf-serif-i { color: var(--red-2); }
.sf-ch--may .sf-facts div { border-color: rgba(25, 18, 16, .3); }
.sf-ride { position: relative; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(30px, 5vw, 90px); align-items: end; margin-top: clamp(30px, 5vw, 70px); }
.sf-ride__call {
    position: absolute; left: 0; top: 4%; z-index: 0; margin: 0; white-space: nowrap; pointer-events: none;
    font-family: var(--f-display); text-transform: uppercase; font-size: clamp(70px, 13vw, 250px); line-height: .9; color: rgba(143, 12, 34, .16);
}
.sf-ride__call .sf-serif-i { color: rgba(143, 12, 34, .22); }
.sf-ride__cut { position: relative; z-index: 1; width: 100%; max-width: 860px; filter: drop-shadow(0 30px 50px rgba(80, 40, 0, .35)); }
.sf-ride__txt { position: relative; z-index: 1; padding-bottom: 3vw; }
.sf-strip4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.2vw; margin-top: clamp(50px, 7vw, 110px); }
.sf-strip4 figure { aspect-ratio: 4 / 5; }
.sf-strip4__cap { margin: 16px 0 0; font-family: var(--f-mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; }
.sf-strip4__cap a { color: var(--red-2); }
@media (max-width: 800px) { .sf-ride { grid-template-columns: 1fr; } .sf-strip4 { grid-template-columns: 1fr 1fr; } }

/* ---------- 06 Podzim – Hody ---------- */
.sf-ch--autumn { background: var(--autumn); color: var(--paper); }
.sf-ch--autumn .sf-ch__sub .sf-serif-i { color: var(--gold); }
.sf-ch--autumn .sf-ch__txt { color: rgba(244, 237, 225, .88); }
.sf-hody { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(30px, 5vw, 90px); align-items: end; margin-top: clamp(30px, 5vw, 70px); }
.sf-hody__cut { width: 100%; max-width: 620px; filter: drop-shadow(0 30px 50px rgba(0, 0, 0, .4)); }
.sf-hody__txt { display: grid; gap: 20px; padding-bottom: 3vw; }
.sf-link { justify-self: start; margin-top: 10px; padding: 16px 26px; border: 1px solid var(--paper); border-radius: 99px; text-decoration: none; font-family: var(--f-mono); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; transition: background .3s, color .3s; }
.sf-link:hover { background: var(--gold); border-color: var(--gold); color: var(--ink); }
.sf-hody__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 2vw; margin-top: clamp(60px, 8vw, 130px); }
.sf-hody__a { grid-column: 1 / 5; aspect-ratio: 2 / 3; grid-row: 1 / 3; }
.sf-hody__b { grid-column: 5 / 13; aspect-ratio: 3 / 2; }
.sf-hody__c { grid-column: 5 / 8; aspect-ratio: 1; }
.sf-hody__d { grid-column: 8 / 13; aspect-ratio: 3 / 2; }
@media (max-width: 800px) {
    .sf-hody { grid-template-columns: 1fr; }
    .sf-hody__cut { max-width: 80%; }
    .sf-hody__a { grid-column: 1 / 9; grid-row: auto; }
    .sf-hody__b { grid-column: 1 / 13; }
    .sf-hody__c { grid-column: 1 / 7; }
    .sf-hody__d { grid-column: 4 / 13; }
}

/* ==========================================================
   07 FILM
   ========================================================== */
.sf-film { background: var(--ink); color: var(--paper); }
.sf-film__pin { position: relative; height: 100vh; height: 100svh; min-height: 560px; overflow: hidden; }
.sf-film__titles { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: space-between; padding: 9vh 0 7vh; pointer-events: none; z-index: 4; }
.sf-film__titles span { font-family: var(--f-display); text-transform: uppercase; font-size: clamp(64px, 11vw, 210px); line-height: .82; text-shadow: 0 12px 50px rgba(0, 0, 0, .35); }
.sf-film__t1 { align-self: flex-start; padding-left: var(--gut); }
.sf-film__t2 { align-self: flex-end; padding-right: var(--gut); color: var(--red); }
.sf-film.is-playing .sf-film__titles { display: none; }
.sf-film__frame { position: absolute; inset: 0; z-index: 2; overflow: hidden; background: #000; }
.sf-film__frame.is-playing { clip-path: none !important; }
.sf-film__poster { width: 100%; height: 100%; object-fit: cover; }
.sf-film__frame::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(to top, rgba(25, 18, 16, .85), transparent 45%); }
.sf-film__frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; z-index: 3; }
.sf-film__frame.is-playing::after, .sf-film__frame.is-playing .sf-film__play { display: none; }
.sf-film__play {
    position: absolute; z-index: 4; inset: 0; margin: auto; width: clamp(120px, 12vw, 180px); height: clamp(120px, 12vw, 180px);
    border-radius: 50%; text-decoration: none; background: var(--red); color: var(--paper);
    display: grid; place-items: center; align-content: center; gap: 6px; text-align: center;
    font-family: var(--f-mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; line-height: 1.3; transition: background .3s, color .3s;
}
.sf-film__play:hover { background: var(--gold); color: var(--ink); }
.sf-film__play svg { width: 22px; height: 22px; }
.sf-film__cap { position: absolute; z-index: 3; left: var(--gut); right: var(--gut); bottom: 36px; display: grid; grid-template-columns: 1fr auto; gap: 8px 30px; align-items: end; pointer-events: none; }
.sf-film__cap .sf-label { grid-column: 1 / -1; }
.sf-film__cap h2 { margin: 0; font-family: var(--f-display); font-weight: 400; text-transform: uppercase; font-size: clamp(30px, 3.4vw, 60px); line-height: .9; }
.sf-film__cap a { pointer-events: auto; font-family: var(--f-mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; }
.sf-film.is-playing .sf-film__cap { display: none; }
@media (max-width: 800px) { .sf-film__cap { grid-template-columns: 1fr; } }

/* ==========================================================
   08 TVÁŘE
   ========================================================== */
.sf-faces { padding: clamp(90px, 12vw, 180px) var(--gut); background: var(--paper); }
.sf-faces__title { margin: 30px 0 0; font-family: var(--f-display); font-weight: 400; text-transform: uppercase; font-size: clamp(70px, 12vw, 230px); line-height: .85; }
.sf-faces__title .sf-serif-i { color: var(--red); }
.sf-faces__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.2vw; margin-top: clamp(50px, 7vw, 110px); }
.sf-faces__grid figure { overflow: hidden; border-radius: 3px; aspect-ratio: 4 / 5; }
.sf-faces__grid figure:nth-child(even) { margin-top: 5vw; }
.sf-faces__grid img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.sf-faces__grid figure:hover img { transform: scale(1.05); }
@media (max-width: 800px) { .sf-faces__grid { grid-template-columns: 1fr 1fr; } }

/* ==========================================================
   09 DETAIL
   ========================================================== */
.sf-detail { padding: 0 var(--gut) clamp(90px, 12vw, 180px); background: var(--paper); }
.sf-detail__head { display: grid; grid-template-columns: auto 1fr; gap: 30px; align-items: baseline; border-top: 1px solid var(--ink); padding-top: 30px; }
.sf-detail__lead { margin: 0; font-size: clamp(26px, 3vw, 52px); line-height: 1.1; letter-spacing: -.02em; }
.sf-detail__lead .sf-serif-i { color: var(--red); }
.sf-detail__row { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.2vw; margin-top: clamp(40px, 6vw, 90px); }
.sf-detail__row figure { overflow: hidden; border-radius: 999px 999px 4px 4px; aspect-ratio: 2 / 3; }
.sf-detail__row img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 800px) { .sf-detail__head { grid-template-columns: 1fr; } .sf-detail__row { grid-template-columns: 1fr 1fr; } }

/* ==========================================================
   10 FINÁLE
   ========================================================== */
.sf-end { position: relative; min-height: 100vh; background: var(--ink); color: var(--paper); overflow: hidden; display: flex; flex-direction: column; }
.sf-end__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .5; }
.sf-end::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(to bottom, var(--ink), transparent 40%, rgba(25, 18, 16, .9)); }
.sf-end__inner { position: relative; z-index: 2; flex: 1; display: flex; flex-direction: column; justify-content: center; padding: 120px var(--gut) 40px; }
.sf-end__inner > .sf-mono { color: var(--gold); }
.sf-end__title { margin: 20px 0 0; display: flex; flex-direction: column; font-weight: 400; }
.sf-end__title span:first-child { font-family: var(--f-display); text-transform: uppercase; font-size: clamp(90px, 17vw, 340px); line-height: .82; }
.sf-end__title .sf-serif-i { font-size: clamp(80px, 15vw, 300px); line-height: .95; color: var(--red); padding-left: 10vw; }
.sf-end__cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 50px; }
.sf-btn { display: inline-flex; align-items: center; padding: 22px 34px; border-radius: 99px; text-decoration: none; background: var(--paper); color: var(--ink) !important; border: 1px solid var(--paper); font-family: var(--f-mono); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; transition: background .3s, color .3s; }
.sf-btn:hover { background: var(--gold); border-color: var(--gold); }
.sf-btn--ghost { background: transparent; color: var(--paper) !important; }
.sf-btn--ghost:hover { color: var(--ink) !important; }
.sf-btn span { display: inline-block; pointer-events: none; }
.sf-foot { position: relative; z-index: 2; display: flex; flex-wrap: wrap; gap: 10px 30px; justify-content: space-between; padding: 22px var(--gut); border-top: 1px solid rgba(244, 237, 225, .2); font-family: var(--f-mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: rgba(244, 237, 225, .7); }
.sf-foot a { color: var(--paper); }

/* ==========================================================
   Omezený pohyb / bez JS
   ========================================================== */
@media (prefers-reduced-motion: reduce) {
    .sf-grain, .sf-badge > text, .sf-hero__arrow { animation: none; }
    .js .sf-loader { display: none; }
    .sf-film__titles { display: none; }
    .sf-dial__hand { transition: none; }
}
:is(.sf-nojs, html:not(.js)) .sf-film__titles,
:is(.sf-nojs, html:not(.js)) .sf-dial { display: none; }
