/* ═══════════════════════════════════════════════════════════════
   Nová verze webu („temná komora“) – náhled /novy-design
   Barvy stránky se při scrollu přepínají přes --bg / --fg (GSAP v art.js).
   Fotky kreslí WebGL (art-gl.js) do canvasu pod obsahem; <img> zůstávají
   v HTML pro SEO, čtečky a jako záloha, když WebGL nejede.
   ═══════════════════════════════════════════════════════════════ */

:root {
    --bg: #0e0d0b;
    --fg: #ece6dc;
    --muted: color-mix(in srgb, var(--fg) 58%, var(--bg));
    --line: color-mix(in srgb, var(--fg) 16%, transparent);
    --accent: #d3b68b;
    --serif: 'Instrument Serif', 'Times New Roman', serif;
    --sans: 'Geist', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', sans-serif;
    --mono: 'Geist Mono', ui-monospace, 'SFMono-Regular', Consolas, monospace;
    --ease: cubic-bezier(.16, 1, .3, 1);
    --gutter: clamp(16px, 4vw, 64px);
}

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

html { background: var(--bg); color-scheme: dark; }

body {
    margin: 0;
    background: var(--bg);
    color: var(--fg);
    font: 400 16px/1.6 var(--sans);
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
    overflow-x: clip;
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p, blockquote, figure, ol, ul { margin: 0; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
em { font-style: italic; }
::selection { background: var(--accent); color: #0e0d0b; }
:focus-visible { outline: 1px solid var(--accent); outline-offset: 4px; }

.mono {
    font-family: var(--mono);
    font-size: 11px;
    line-height: 1.5;
    letter-spacing: .08em;
    text-transform: uppercase;
}
.eyebrow { color: var(--muted); font-weight: 400; }
.eyebrow span { color: var(--accent); margin-right: .6em; }

/* Maska řádků ze SplitText: místo pro háčky nad velkými písmeny (Č, Ř), dotahy a přesah italiky */
.sl-mask { padding: .14em .1em .12em 0; margin: -.14em 0 -.12em; }

/* ── Vrstvy ──────────────────────────────────────────────────────
   Canvas i <main> mají z-index auto: kreslí se v pořadí DOM (canvas pod obsahem)
   a <main> netvoří vlastní stacking context, takže mix-blend-mode textu míchá i s fotkami. */
.gl {
    position: fixed;
    top: 0;
    left: 0;
    pointer-events: none;
    display: none;
}
.gl-ready .gl { display: block; }
main, .foot { position: relative; }

[data-gl] {
    position: relative;
    overflow: hidden;
    background: color-mix(in srgb, var(--fg) 7%, transparent);
}
[data-gl] img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.gl-ready [data-gl] { background: none; }
.gl-ready [data-gl] img { opacity: 0; }

/* Filmové zrno: fixní vrstva, nikdy ne na scrollujícím obsahu */
.grain {
    position: fixed;
    inset: -120px;
    z-index: 40;
    pointer-events: none;
    opacity: .075;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.motion .grain { animation: grain .9s steps(1) infinite; }
@keyframes grain {
    0%   { transform: translate(0, 0); }
    25%  { transform: translate(-46px, 32px); }
    50%  { transform: translate(38px, -54px); }
    75%  { transform: translate(-22px, -26px); }
}

/* ── Preloader ─────────────────────────────────────────────────── */
.preloader { display: none; }
.motion .preloader {
    position: fixed;
    inset: 0;
    z-index: 60;
    display: grid;
    grid-template-rows: auto 1fr auto;
    padding: 22px var(--gutter) 28px;
    background: #0e0d0b;
    color: #ece6dc;
    clip-path: inset(0% 0% 0% 0%);
    /* pojistka, kdyby se nenačetly skripty */
    animation: pre-fail 0s 9s forwards;
}
@keyframes pre-fail { to { visibility: hidden; } }
.pre-meta { justify-self: end; color: #8d867b; }
.pre-count {
    align-self: end;
    justify-self: end;
    font: 400 clamp(110px, 26vw, 420px)/.78 var(--serif);
    letter-spacing: -.03em;
    font-variant-numeric: tabular-nums;
}
.pre-name { margin-top: 18px; font: 400 clamp(26px, 3.2vw, 44px)/1 var(--serif); }
.pre-name em { color: #8d867b; }

/* ── Hlavička ──────────────────────────────────────────────────── */
.site-head {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 50;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: start;
    gap: 24px;
    padding: 22px var(--gutter);
    color: #ece6dc;
    mix-blend-mode: difference;
    pointer-events: none;
}
.site-head > * { pointer-events: auto; }
.brand { justify-self: start; font: 400 24px/1 var(--serif); letter-spacing: -.01em; }
.head-meta { text-align: center; opacity: .72; }
.head-nav { justify-self: end; display: flex; gap: 22px; font-size: 14px; line-height: 1.2; }
.head-nav a { position: relative; padding: 2px 0; white-space: nowrap; }
.head-nav a::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: -2px;
    height: 1px;
    background: currentColor;
    transform: scaleX(0);
    transform-origin: right;
    transition: transform .6s var(--ease);
}
.head-nav a:hover::after,
.head-nav a[aria-current="page"]::after,
.head-nav .head-book::after { transform: scaleX(1); transform-origin: left; }
.menu-btn { display: none; justify-self: end; padding: 4px 0; }
.menu-btn .mb-close,
.menu-open .menu-btn .mb-open { display: none; }
.menu-open .menu-btn .mb-close { display: inline; }

.menu {
    position: fixed;
    inset: 0;
    z-index: 45;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    gap: 40px;
    padding: 96px var(--gutter) 32px;
    background: #0e0d0b;
    color: #ece6dc;
}
.menu[hidden] { display: none; }
.menu-links a {
    display: block;
    overflow: hidden;
    font: 400 clamp(48px, 13vw, 104px)/1.04 var(--serif);
    letter-spacing: -.02em;
}
.menu-links a span { display: block; }
.menu-links em,
.menu-links a[aria-current="page"] { color: var(--accent); }
.menu-foot { display: flex; gap: 24px; color: #8d867b; }

/* ── Hero ──────────────────────────────────────────────────────── */
.hero {
    position: relative;
    height: 100svh;
    min-height: 560px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 0 var(--gutter) clamp(24px, 4vh, 40px);
    overflow: hidden;
    color: #ece6dc;
}
.hero-media { position: absolute; inset: 0; }
.hero-veil {
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: linear-gradient(180deg,
        rgba(14, 13, 11, .38) 0%,
        rgba(14, 13, 11, 0) 28%,
        rgba(14, 13, 11, 0) 48%,
        rgba(14, 13, 11, .66) 100%);
}
.hero-foot {
    position: relative;
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: end;
    gap: 32px;
}
.hero-title {
    font: 400 clamp(84px, 15.5vw, 280px)/.84 var(--serif);
    letter-spacing: -.035em;
}
/* Maska řádku pro odkrytí po písmenech: spodní odsazení nechává místo pro dotahy (p, y, j) */
.ht-line { display: block; overflow: hidden; padding: .14em .08em .2em 0; margin: -.14em 0 -.2em; }
.ht-indent { padding-left: .9em; }
.hero-side {
    display: grid;
    gap: 22px;
    justify-items: end;
    max-width: 300px;
    padding-bottom: 1.4vw;
    text-align: right;
}
.hero-sub { font-size: 15px; line-height: 1.5; color: rgba(236, 230, 220, .82); }
.hero-index { display: flex; align-items: baseline; gap: 10px; overflow: hidden; }
.hero-index span { display: inline-block; }
.hi-num { color: var(--accent); }
.hi-total { color: rgba(236, 230, 220, .5); }
.hi-cap { margin-left: 12px; }
.hero-scroll {
    position: absolute;
    right: var(--gutter);
    top: 50%;
    display: flex;
    align-items: center;
    gap: 14px;
    writing-mode: vertical-rl;
    color: rgba(236, 230, 220, .72);
}
.hero-scroll i { display: block; width: 1px; height: 64px; background: currentColor; }
.motion .hero-scroll i { animation: scroll-line 2.4s var(--ease) infinite; }
@keyframes scroll-line {
    0%     { transform: scaleY(0); transform-origin: top; }
    50%    { transform: scaleY(1); transform-origin: top; }
    50.01% { transform: scaleY(1); transform-origin: bottom; }
    100%   { transform: scaleY(0); transform-origin: bottom; }
}

/* ── Manifest ──────────────────────────────────────────────────── */
.manifest {
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    column-gap: 20px;
    padding: clamp(120px, 24vh, 260px) var(--gutter) clamp(120px, 22vh, 240px);
}
.manifest .eyebrow { grid-column: 1 / -1; grid-row: 1; }
.manifest-quote {
    grid-column: 1 / span 9;
    grid-row: 2;
    margin-top: 40px;
    font: 400 clamp(42px, 6.6vw, 118px)/1 var(--serif);
    letter-spacing: -.025em;
    text-wrap: balance;
}
.m-b { grid-column: 10 / span 3; grid-row: 2; align-self: start; aspect-ratio: 3 / 2; margin-top: 12px; }
.m-a { grid-column: 2 / span 3; grid-row: 3; aspect-ratio: 2 / 3; margin-top: 12vh; }
.manifest-body {
    grid-column: 7 / span 4;
    grid-row: 3;
    align-self: end;
    max-width: 32ch;
    font-size: 17px;
    color: var(--muted);
}

/* ── Vybrané práce ─────────────────────────────────────────────── */
.works-track {
    display: flex;
    flex-direction: column;
    gap: 72px;
    padding: clamp(80px, 14vh, 140px) var(--gutter);
}
.works-intro { max-width: 520px; }
.works-title {
    margin: 28px 0 24px;
    font: 400 clamp(64px, 9vw, 160px)/.88 var(--serif);
    letter-spacing: -.03em;
}
.works-lead { max-width: 30ch; color: var(--muted); }
.work { display: block; }
.work--p .work-media { aspect-ratio: 2 / 3; }
.work--l .work-media { aspect-ratio: 3 / 2; }
.work-cap { display: flex; align-items: baseline; gap: 14px; margin-top: 14px; }
.wc-num { color: var(--accent); }
.wc-label { margin-left: auto; color: var(--muted); }
.works-end {
    display: flex;
    align-items: center;
    gap: 28px;
    font: 400 clamp(48px, 7vw, 120px)/.9 var(--serif);
    letter-spacing: -.02em;
}
.we-arrow {
    flex: 0 0 auto;
    display: grid;
    place-items: center;
    width: clamp(64px, 7vw, 112px);
    aspect-ratio: 1;
    border: 1px solid var(--line);
    border-radius: 50%;
    transition: transform .7s var(--ease), background-color .4s, color .4s;
}
.we-arrow svg { width: 30%; height: 30%; }
.works-end:hover .we-arrow { transform: rotate(45deg); background: var(--fg); color: var(--bg); }
.works-progress { display: none; }

@media (min-width: 768px) {
    .works-pin {
        position: relative;
        height: 100svh;
        display: flex;
        align-items: center;
        overflow: hidden;
    }
    .works-track {
        flex-direction: row;
        align-items: center;
        gap: 7vw;
        width: max-content;
        padding: 0 var(--gutter);
        will-change: transform;
    }
    .works-intro { flex: 0 0 auto; width: min(36vw, 520px); }
    .work { flex: 0 0 auto; }
    .work--p .work-media { height: 62svh; }
    .work--l .work-media { height: 44svh; }
    /* Na šířku střídavě níž a výš, na výšku uprostřed */
    .work--l:nth-child(4n + 3) { margin-top: 30svh; }
    .work--l:nth-child(4n + 1) { margin-bottom: 30svh; }
    .works-end { flex: 0 0 auto; padding-right: 4vw; }
    .works-progress {
        display: block;
        position: absolute;
        left: var(--gutter);
        right: var(--gutter);
        bottom: 32px;
        height: 1px;
        background: var(--line);
    }
    .works-progress span {
        display: block;
        height: 100%;
        background: var(--fg);
        transform: scaleX(0);
        transform-origin: left;
    }
}

/* ── Svatby ────────────────────────────────────────────────────── */
.wed-stage { position: relative; height: 100svh; overflow: hidden; }
.wed-frame { position: absolute; left: 32vw; top: 20svh; width: 36vw; height: 60svh; }
.wed-word {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 30vw;
    font: 400 clamp(90px, 17vw, 320px)/1 var(--serif);
    letter-spacing: -.04em;
    color: #ece6dc;
    pointer-events: none;
}
.wed-word span { display: block; }
.wed-info {
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    column-gap: 20px;
    row-gap: 28px;
    padding: clamp(80px, 14vh, 140px) var(--gutter) clamp(100px, 18vh, 180px);
}
.wed-live { grid-column: 1 / span 5; display: flex; align-items: center; gap: 14px; }
.live-dot {
    position: relative;
    flex: 0 0 auto;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--accent);
}
.live-dot::after {
    content: '';
    position: absolute;
    inset: -5px;
    border: 1px solid var(--accent);
    border-radius: 50%;
    opacity: 0;
}
.motion .live-dot::after { animation: live-ring 2.4s var(--ease) infinite; }
@keyframes live-ring {
    0%   { transform: scale(.4); opacity: .9; }
    100% { transform: scale(1.6); opacity: 0; }
}
.wed-copy {
    grid-column: 6 / span 7;
    font: 400 clamp(36px, 4.6vw, 80px)/1.02 var(--serif);
    letter-spacing: -.02em;
}
.wed-links { grid-column: 6 / span 7; display: flex; flex-wrap: wrap; gap: 16px 40px; }

.link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding-bottom: 6px;
    border-bottom: 1px solid var(--line);
    font-size: 15px;
    transition: border-color .4s;
}
.link svg { transition: transform .5s var(--ease); }
.link:hover { border-color: var(--fg); }
.link:hover svg { transform: translate(3px, -3px); }

/* ── Co fotím ──────────────────────────────────────────────────── */
.svc { position: relative; padding: clamp(110px, 20vh, 220px) var(--gutter); }
.svc-head {
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    column-gap: 20px;
    align-items: end;
    margin-bottom: 48px;
}
.svc-head .eyebrow { grid-column: 1 / span 4; }
.svc-lead { grid-column: 7 / span 6; font: 400 clamp(26px, 2.6vw, 40px)/1.15 var(--serif); }
.svc-list { list-style: none; padding: 0; border-top: 1px solid var(--line); }
.svc-row {
    position: relative;
    display: grid;
    grid-template-columns: 56px minmax(0, 1fr) auto auto;
    align-items: center;
    gap: 20px;
    padding: clamp(14px, 2vw, 26px) 0;
    border-bottom: 1px solid var(--line);
}
.svc-num { color: var(--accent); }
.svc-name {
    font: 400 clamp(44px, 7.4vw, 132px)/1 var(--serif);
    letter-spacing: -.03em;
    mix-blend-mode: difference;
    transition: transform .8s var(--ease), opacity .5s;
}
.svc-note { color: var(--muted); }
.svc-arrow {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    border: 1px solid var(--line);
    border-radius: 50%;
    transition: transform .6s var(--ease), background-color .4s, color .4s;
}
.svc-thumb { display: none; }
.svc-float {
    position: fixed;
    left: 0;
    top: 0;
    width: clamp(240px, 21vw, 360px);
    aspect-ratio: 4 / 5;
    pointer-events: none;
    opacity: 0;
}
@media (hover: hover) and (pointer: fine) {
    .svc-list:hover .svc-name { opacity: .3; }
    .svc-row:hover .svc-name { opacity: 1; transform: translateX(2vw); }
    .svc-row:hover .svc-arrow { background: var(--fg); color: var(--bg); transform: rotate(45deg); }
}
@media (hover: none), (max-width: 899px) {
    .svc-row { grid-template-columns: 32px minmax(0, 1fr) 72px; }
    .svc-note, .svc-arrow, .svc-float { display: none; }
    .svc-thumb { display: block; width: 72px; aspect-ratio: 4 / 5; overflow: hidden; }
    .svc-thumb img { width: 100%; height: 100%; object-fit: cover; }
}

/* ── O mně ─────────────────────────────────────────────────────── */
.about {
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    column-gap: 20px;
    align-items: start;
    padding: clamp(120px, 22vh, 240px) var(--gutter);
}
.about-img { grid-column: 1 / span 5; aspect-ratio: 3 / 4; }
.about-text { grid-column: 7 / span 6; padding-top: 6vh; }
.about-title {
    margin: 28px 0 32px;
    font: 400 clamp(56px, 7.4vw, 130px)/.92 var(--serif);
    letter-spacing: -.03em;
}
.about-lead { max-width: 44ch; font-size: clamp(17px, 1.3vw, 20px); }
.principles { list-style: none; padding: 0; margin: 56px 0 48px; border-top: 1px solid var(--line); }
.principles li {
    display: grid;
    grid-template-columns: 56px 1fr;
    gap: 12px;
    padding: 24px 0;
    border-bottom: 1px solid var(--line);
}
.principles .mono { padding-top: 9px; color: var(--muted); }
.principles h3 { margin-bottom: 6px; font: 400 30px/1.1 var(--serif); }
.principles p { max-width: 46ch; color: var(--muted); }

/* ── Marquee ───────────────────────────────────────────────────── */
.marquee {
    overflow: hidden;
    padding: clamp(18px, 3vw, 36px) 0;
    border-block: 1px solid var(--line);
}
.marquee-track { display: flex; align-items: center; width: max-content; will-change: transform; }
.mq-word {
    padding: 0 .32em;
    font: italic 400 clamp(56px, 9vw, 160px)/1.05 var(--serif);
    letter-spacing: -.02em;
    white-space: nowrap;
}
.mq-dot {
    flex: 0 0 auto;
    width: clamp(10px, 1vw, 16px);
    aspect-ratio: 1;
    border-radius: 50%;
    background: var(--accent);
}

/* ── Výzva ─────────────────────────────────────────────────────── */
.cta { padding: clamp(130px, 24vh, 260px) var(--gutter) clamp(100px, 16vh, 180px); }
.cta-title {
    margin: 28px 0 clamp(48px, 8vh, 88px);
    font: 400 clamp(80px, 16vw, 300px)/.84 var(--serif);
    letter-spacing: -.045em;
}
.cta-title em { color: var(--accent); }
.cta-row { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 40px; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.magnetic { display: inline-block; }
.btn {
    display: inline-flex;
    align-items: center;
    gap: 16px;
    min-height: 60px;
    border-radius: 999px;
    font: 500 15px/1 var(--sans);
    transition: transform .5s var(--ease), background-color .4s, color .4s, border-color .4s;
}
.btn:active { transform: scale(.98); }
.btn--solid { padding: 8px 8px 8px 28px; background: var(--fg); color: var(--bg); }
.btn-ico {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--bg);
    color: var(--fg);
    transition: transform .6s var(--ease);
}
.btn--solid:hover .btn-ico { transform: translate(2px, -2px) scale(1.06); }
.btn--ghost { padding: 0 28px; border: 1px solid var(--line); }
.btn--ghost:hover { border-color: var(--fg); }
.cta-contact { display: grid; gap: 8px; text-align: right; font-size: 13px; text-transform: none; color: var(--muted); }
.cta-contact a { transition: color .3s; }
.cta-contact a:hover { color: var(--fg); }

/* ── Patička ───────────────────────────────────────────────────── */
.foot { padding: 40px var(--gutter) 28px; border-top: 1px solid var(--line); overflow: hidden; }
.foot-big {
    margin-left: -.04em;
    font: 400 clamp(64px, 14.6vw, 280px)/.8 var(--serif);
    letter-spacing: -.045em;
    white-space: nowrap;
}
.foot-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 16px 40px;
    margin-top: 40px;
    color: var(--muted);
}
.foot-links { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.foot-links a,
.foot-links button { font: inherit; letter-spacing: inherit; text-transform: inherit; transition: color .3s; }
.foot-links a:hover,
.foot-links button:hover { color: var(--fg); }

/* ═══════════════════════════════════════════════════════════════
   Společné prvky podstránek (Portfolio, Svatby, O mně, Ceník, Kontakt)
   ═══════════════════════════════════════════════════════════════ */

/* Nadpis stránky se odkryje po písmenech (art.js); pojistka, kdyby skript neproběhl */
.motion [data-intro-title] { visibility: hidden; animation: intro-fail 0s 9s forwards; }
@keyframes intro-fail { to { visibility: visible; } }

/* Opona mezi stránkami */
.curtain {
    position: fixed;
    inset: 0;
    z-index: 58;
    pointer-events: none;
    background: #0e0d0b;
    clip-path: inset(100% 0% 0% 0%);
}
.curtain-in .curtain { clip-path: inset(0% 0% 0% 0%); animation: curtain-fail 0s 5s forwards; }
@keyframes curtain-fail { to { visibility: hidden; } }

/* ── Hlavička podstránky ───────────────────────────────────────── */
.page-hero {
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    column-gap: 20px;
    align-items: end;
    min-height: 92svh;
    padding: 140px var(--gutter) clamp(56px, 9vh, 112px);
}
.page-hero--plain { min-height: 72svh; }
.ph-text { grid-column: 1 / span 7; }
.ph-media { grid-column: 9 / -1; aspect-ratio: 4 / 5; }
.ph-media--wide { grid-column: 8 / -1; aspect-ratio: 4 / 3; }
.page-title {
    margin: 24px 0 28px;
    font: 400 clamp(60px, 10.5vw, 190px)/.86 var(--serif);
    letter-spacing: -.035em;
}
.page-lead {
    max-width: 30ch;
    font: 400 clamp(22px, 2.1vw, 32px)/1.25 var(--serif);
    color: var(--muted);
}
.page-lead em { color: var(--fg); }
.back-link { display: inline-flex; align-items: center; gap: 10px; color: var(--muted); transition: color .3s; }
.back-link:hover { color: var(--fg); }

/* ── Sekce s nadpisem ──────────────────────────────────────────── */
.sec { padding: clamp(110px, 20vh, 220px) var(--gutter); }
.sec--tight { padding-top: clamp(40px, 8vh, 96px); }
.sec-head {
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    column-gap: 20px;
    align-items: end;
    margin-bottom: clamp(48px, 9vh, 104px);
}
.sec-head .eyebrow { grid-column: 1 / -1; margin-bottom: 24px; }
.sec-title {
    grid-column: 1 / span 8;
    font: 400 clamp(56px, 8vw, 140px)/.9 var(--serif);
    letter-spacing: -.03em;
}
.sec-note { grid-column: 9 / -1; max-width: 34ch; color: var(--muted); }
.fine-print { margin-top: 48px; max-width: 70ch; font-size: 14px; color: var(--muted); }
.fine-print strong { color: var(--fg); font-weight: 500; }

/* Velký citát */
.big-quote {
    max-width: 22ch;
    font: italic 400 clamp(40px, 6vw, 104px)/1.02 var(--serif);
    letter-spacing: -.02em;
}
.big-quote--body { max-width: 26ch; font-style: normal; }
.quote-cite { display: block; margin-top: 32px; color: var(--muted); font-style: normal; }
.quote-cite::before { content: ''; display: inline-block; width: 40px; height: 1px; margin-right: 14px; vertical-align: middle; background: var(--accent); }

/* ── Balíčky (svatby, ceník) ───────────────────────────────────── */
.pkgs { list-style: none; padding: 0; border-top: 1px solid var(--line); }
.pkg {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, .8fr) minmax(0, 1.35fr);
    gap: 24px clamp(24px, 4vw, 64px);
    padding: clamp(36px, 5vw, 64px) 0;
    border-bottom: 1px solid var(--line);
}
.pkg-head { display: grid; gap: 14px; align-content: start; }
.pkg-num { color: var(--accent); }
.pkg-name {
    font: 400 clamp(40px, 4.6vw, 76px)/.95 var(--serif);
    letter-spacing: -.025em;
    transition: transform .8s var(--ease);
}
.pkg-sub { color: var(--muted); max-width: 32ch; }
.pkg-badge {
    justify-self: start;
    padding: 6px 12px;
    border: 1px solid var(--accent);
    border-radius: 999px;
    color: var(--accent);
}
.pkg-price {
    font: 400 clamp(44px, 5vw, 84px)/.95 var(--serif);
    letter-spacing: -.03em;
    white-space: nowrap;
}
.pkg-body { display: grid; gap: 24px; align-content: start; }
.pkg-desc { font: 400 clamp(20px, 1.7vw, 26px)/1.3 var(--serif); }
.pkg-list { list-style: none; padding: 0; display: grid; gap: 10px; color: var(--muted); }
.pkg-list li { position: relative; padding-left: 22px; }
.pkg-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: .7em;
    width: 8px;
    height: 1px;
    background: var(--accent);
}
.pkg-list strong { color: var(--fg); font-weight: 500; }
.pkg-body .link { justify-self: start; }
.pkg--featured .pkg-name { font-style: italic; }
@media (hover: hover) and (pointer: fine) {
    .pkg:hover .pkg-name { transform: translateX(1.2vw); }
}

/* ── Kroky, principy (číslované řádky) ─────────────────────────── */
.steps { list-style: none; padding: 0; border-top: 1px solid var(--line); }
.steps li {
    display: grid;
    grid-template-columns: 80px minmax(0, 1fr) minmax(0, 1.4fr);
    gap: 16px clamp(24px, 4vw, 64px);
    padding: clamp(28px, 4vw, 48px) 0;
    border-bottom: 1px solid var(--line);
}
.steps .mono { padding-top: 12px; color: var(--accent); }
.steps h3 { font: 400 clamp(30px, 3vw, 48px)/1.05 var(--serif); letter-spacing: -.02em; }
.steps p { max-width: 58ch; color: var(--muted); }

/* ── Doplňky s cenou ───────────────────────────────────────────── */
.addons { list-style: none; padding: 0; border-top: 1px solid var(--line); }
.addons li {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 24px;
    padding: 22px 0;
    border-bottom: 1px solid var(--line);
}
.addon-name { max-width: 60ch; }
.addon-price { flex: 0 0 auto; font: 400 clamp(24px, 2.4vw, 36px)/1 var(--serif); }

/* ── Časté dotazy ──────────────────────────────────────────────── */
.faq { border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-q {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: clamp(22px, 3vw, 32px) 0;
    text-align: left;
    font: 400 clamp(24px, 2.6vw, 40px)/1.15 var(--serif);
    letter-spacing: -.01em;
}
.faq-icon {
    position: relative;
    flex: 0 0 auto;
    width: 44px;
    height: 44px;
    border: 1px solid var(--line);
    border-radius: 50%;
    transition: background-color .4s, color .4s;
}
.faq-icon::before,
.faq-icon::after {
    content: '';
    position: absolute;
    left: 50%;
    top: 50%;
    width: 14px;
    height: 1px;
    background: currentColor;
    transform: translate(-50%, -50%);
    transition: transform .5s var(--ease);
}
.faq-icon::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq-q[aria-expanded="true"] .faq-icon { background: var(--fg); color: var(--bg); }
.faq-q[aria-expanded="true"] .faq-icon::after { transform: translate(-50%, -50%) rotate(0deg); }
.faq-a { overflow: hidden; }
.faq-a p { max-width: 64ch; padding-bottom: 32px; font-size: 17px; color: var(--muted); }

/* ── Čísla ─────────────────────────────────────────────────────── */
.stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    border-block: 1px solid var(--line);
}
.stat { padding: clamp(28px, 4vw, 56px) clamp(16px, 2vw, 32px) clamp(28px, 4vw, 56px) 0; }
.stat + .stat { padding-left: clamp(16px, 2vw, 32px); border-left: 1px solid var(--line); }
.stat-value { font: 400 clamp(72px, 10vw, 180px)/.9 var(--serif); letter-spacing: -.04em; }
.stat-label { margin-top: 14px; color: var(--muted); }

/* ── Svatební alba ─────────────────────────────────────────────── */
.albums {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: clamp(48px, 8vw, 120px) clamp(20px, 4vw, 64px);
}
.album { display: block; }
.album:nth-child(even) { margin-top: 18vh; }
.album-media { aspect-ratio: 4 / 5; }
.album-cap { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-top: 18px; }
.album-name { font: 400 clamp(32px, 3.4vw, 56px)/1 var(--serif); letter-spacing: -.02em; transition: transform .8s var(--ease); }
.album-year { color: var(--accent); }
.album:hover .album-name { transform: translateX(12px); }

/* ── Dva sloupce: fotka a text (O mně) ─────────────────────────── */
.split {
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    column-gap: 20px;
    align-items: center;
}
.split-media { grid-column: 1 / span 5; aspect-ratio: 3 / 4; }
.split-text { grid-column: 7 / span 6; }
.split--flip .split-media { grid-column: 8 / -1; grid-row: 1; }
.split--flip .split-text { grid-column: 1 / span 6; grid-row: 1; }
.split-text .sec-title { margin: 24px 0 32px; }
.prose { display: grid; gap: 20px; max-width: 60ch; font-size: clamp(16px, 1.15vw, 18px); }
.prose p { color: var(--muted); }
.prose p:first-child { color: var(--fg); }
.traits { list-style: none; padding: 0; margin-top: 40px; border-top: 1px solid var(--line); }
.traits li {
    display: flex;
    align-items: baseline;
    gap: 18px;
    padding: 16px 0;
    border-bottom: 1px solid var(--line);
    font: 400 clamp(22px, 2vw, 30px)/1.2 var(--serif);
}
.traits .mono { color: var(--accent); }

/* Instagram pás */
.ig { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: clamp(8px, 1.4vw, 20px); }
.ig a { display: block; }
.ig .ig-media { aspect-ratio: 4 / 5; }
.ig a:nth-child(even) { margin-top: 8vh; }

/* ── Portfolio ─────────────────────────────────────────────────── */
.pf-show { padding: 0 var(--gutter); }
.pf-frame { aspect-ratio: 21 / 9; }
.pf-bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 16px; }
.pf-bar .hero-index { overflow: hidden; }
.slide-nav { display: flex; gap: 8px; }
.slide-nav button {
    width: 44px;
    height: 44px;
    border: 1px solid var(--line);
    border-radius: 50%;
    transition: background-color .4s, color .4s;
}
.slide-nav button:hover { background: var(--fg); color: var(--bg); }
.pf-filter {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding: clamp(80px, 14vh, 140px) var(--gutter) 0;
}
.pf-filter button {
    min-height: 44px;
    padding: 0 18px;
    border: 1px solid var(--line);
    border-radius: 999px;
    transition: background-color .4s, color .4s, border-color .4s;
}
.pf-filter button:hover { border-color: var(--fg); }
.pf-filter button[aria-pressed="true"] { background: var(--fg); color: var(--bg); border-color: var(--fg); }
.pf-filter .pf-count { margin-left: 8px; opacity: .55; }
.pf-cat { padding: clamp(56px, 10vh, 112px) var(--gutter) 0; }
.pf-cat[hidden] { display: none; }
.pf-cat-head { display: flex; align-items: baseline; justify-content: space-between; gap: 24px; margin-bottom: clamp(28px, 5vh, 56px); }
.pf-cat-title { font: 400 clamp(48px, 7vw, 120px)/.9 var(--serif); letter-spacing: -.03em; }
.pf-cat-count { color: var(--muted); }
.pf-grid { columns: 3; column-gap: clamp(12px, 2vw, 28px); will-change: transform; }
.pf-item {
    position: relative;
    display: block;
    margin-bottom: clamp(12px, 2vw, 28px);
    overflow: hidden;
    break-inside: avoid;
    background: color-mix(in srgb, var(--fg) 6%, transparent);
}
.pf-item img { width: 100%; height: auto; transition: transform 1.2s var(--ease); }
.pf-open { display: none; }
@media (hover: hover) and (pointer: fine) {
    .pf-item:hover img { transform: scale(1.04); }
}

/* Fotky v mřížce se odkryjí (art.js přidá is-in) */
.motion [data-item-reveal] {
    opacity: 0;
    clip-path: inset(16% 0% 0% 0%);
    transition: clip-path 1.4s var(--ease), opacity 1s var(--ease);
}
.motion [data-item-reveal] img { transform: scale(1.16); filter: blur(10px); transition: transform 1.6s var(--ease), filter 1.2s var(--ease); }
.motion [data-item-reveal].is-in { opacity: 1; clip-path: inset(0% 0% 0% 0%); }
.motion [data-item-reveal].is-in img { transform: none; filter: none; }
@media (hover: hover) and (pointer: fine) {
    .motion .pf-item.is-in:hover img { transform: scale(1.04); }
}

/* ── Lightbox ──────────────────────────────────────────────────── */
.lb {
    position: fixed;
    inset: 0;
    z-index: 70;
    display: grid;
    grid-template-rows: auto minmax(0, 1fr) auto;
    padding: 14px var(--gutter) 18px;
    background: rgba(10, 9, 8, .97);
    color: #ece6dc;
}
.lb[hidden] { display: none; }
.lb-close { justify-self: end; min-height: 44px; padding: 0 4px; }
.lb-figure { display: grid; place-items: center; min-height: 0; }
.lb-figure img { max-width: 100%; max-height: calc(100dvh - 150px); width: auto; height: auto; object-fit: contain; }
.lb-bar { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-top: 14px; }
.lb-cap { flex: 1; text-align: center; color: #8d867b; }
.lb-nav { display: flex; gap: 8px; }
.lb-nav button {
    width: 48px;
    height: 48px;
    border: 1px solid rgba(236, 230, 220, .22);
    border-radius: 50%;
    font-size: 18px;
    transition: background-color .4s, color .4s;
}
.lb-nav button:hover { background: #ece6dc; color: #0e0d0b; }

/* ── Kontakt ───────────────────────────────────────────────────── */
.contact-grid {
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    column-gap: 20px;
    row-gap: 64px;
    align-items: start;
}
.contact-rows { grid-column: 1 / span 5; border-top: 1px solid var(--line); }
.contact-form { grid-column: 7 / -1; }
.contact-row {
    display: grid;
    grid-template-columns: 110px minmax(0, 1fr) auto;
    align-items: baseline;
    gap: 16px;
    padding: 24px 0;
    border-bottom: 1px solid var(--line);
}
.contact-row .mono { color: var(--muted); }
.contact-value { font: 400 clamp(24px, 2.4vw, 38px)/1.1 var(--serif); overflow-wrap: anywhere; transition: transform .7s var(--ease); }
.contact-row svg { transition: transform .5s var(--ease); }
.contact-row:hover .contact-value { transform: translateX(8px); }
.contact-row:hover svg { transform: translate(3px, -3px); }
.contact-aside { margin-top: 40px; color: var(--muted); }

.form { display: grid; gap: 44px; }
.field { position: relative; }
.field input,
.field textarea {
    width: 100%;
    padding: 16px 0 12px;
    border: 0;
    border-bottom: 1px solid var(--line);
    border-radius: 0;
    background: none;
    color: var(--fg);
    font: 400 20px/1.4 var(--sans);
    transition: border-color .4s;
    -webkit-appearance: none;
    appearance: none;
}
.field textarea { min-height: 150px; resize: vertical; }
.field input:focus,
.field textarea:focus { outline: none; border-color: var(--fg); }
.field label {
    position: absolute;
    left: 0;
    top: 16px;
    color: var(--muted);
    font-size: 18px;
    transform-origin: left top;
    pointer-events: none;
    transition: transform .5s var(--ease), color .4s;
}
.field input:focus + label,
.field input:not(:placeholder-shown) + label,
.field textarea:focus + label,
.field textarea:not(:placeholder-shown) + label { transform: translateY(-26px) scale(.72); color: var(--fg); }
.field .input-validation-error { border-color: #e0806e; }
.field-error { display: block; margin-top: 8px; font-size: 13px; color: #e0806e; }
.field-error:empty { display: none; }
.check { display: flex; align-items: flex-start; gap: 14px; font-size: 15px; color: var(--muted); cursor: pointer; }
.check input { flex: 0 0 auto; width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--accent); }
.check a { color: var(--fg); text-decoration: underline; text-underline-offset: 3px; }
.form .btn { justify-self: start; border: 0; cursor: pointer; }
.form-status { padding: clamp(28px, 4vw, 48px); border: 1px solid var(--line); }
.form-status h2 { margin: 16px 0 12px; font: 400 clamp(36px, 4vw, 56px)/1 var(--serif); }
.form-status p { color: var(--muted); }
.form-status a { color: var(--fg); text-decoration: underline; text-underline-offset: 3px; }
.form-status--error .mono { color: #e0806e; }
.form-status--ok .mono { color: var(--accent); }

.map { padding: 0 var(--gutter) clamp(80px, 14vh, 140px); }
.map iframe {
    display: block;
    width: 100%;
    height: min(60svh, 520px);
    border: 0;
    filter: grayscale(1) invert(.9) contrast(.85) brightness(.95);
}

/* ── Výzva na podstránkách ─────────────────────────────────────── */
.cta-body { max-width: 52ch; margin: -24px 0 48px; font-size: 18px; color: var(--muted); }
.cta-live { display: flex; align-items: center; gap: 14px; margin-bottom: 40px; }

/* ── Cookie lišta ──────────────────────────────────────────────── */
.cookie-bar {
    position: fixed;
    left: var(--gutter);
    right: var(--gutter);
    bottom: 20px;
    z-index: 55;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 16px 32px;
    max-width: 920px;
    margin: 0 auto;
    padding: 18px 22px;
    border: 1px solid rgba(236, 230, 220, .14);
    background: rgba(23, 21, 18, .94);
    color: #ece6dc;
    opacity: 0;
    transform: translateY(24px);
    transition: transform .7s var(--ease), opacity .5s;
}
.cookie-bar[hidden] { display: none; }
.cookie-bar.is-visible { opacity: 1; transform: none; }
.cookie-text { max-width: 60ch; font-size: 14px; }
.cookie-text a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.cookie-actions { display: flex; gap: 10px; }
.cookie-btn {
    min-height: 44px;
    padding: 0 22px;
    border-radius: 999px;
    background: #ece6dc;
    color: #0e0d0b;
    font: 500 14px/1 var(--sans);
}
.cookie-btn--ghost { border: 1px solid rgba(236, 230, 220, .3); background: none; color: #ece6dc; }

/* ── Rezervace (formulář po krocích) ───────────────────────────── */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
}
.bk-step {
    display: grid;
    grid-template-columns: minmax(0, .8fr) minmax(0, 1.3fr);
    gap: 28px clamp(24px, 5vw, 80px);
    padding: clamp(36px, 5vw, 64px) 0;
    border-top: 1px solid var(--line);
}
.bk-step:last-child { border-bottom: 1px solid var(--line); }
.bk-step-head .mono { color: var(--accent); }
.bk-step-title { margin-top: 12px; font: 400 clamp(32px, 3.4vw, 54px)/1.05 var(--serif); letter-spacing: -.02em; }
.bk-fields { display: grid; gap: 44px; align-content: start; }
.bk-fields--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 32px; }
.choices {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    min-width: 0;
    margin: 0;
    padding: 0;
    border: 0;
}
.choice {
    position: relative;
    display: flex;
    align-items: center;
    gap: 14px;
    min-height: 64px;
    padding: 12px 20px;
    border: 1px solid var(--line);
    font: 400 clamp(20px, 1.8vw, 26px)/1.1 var(--serif);
    cursor: pointer;
    transition: border-color .4s, background-color .4s, color .4s;
}
.choice input { position: absolute; opacity: 0; pointer-events: none; }
.choice .mono { color: var(--muted); transition: color .4s; }
.choice:hover { border-color: var(--fg); }
.choice:has(input:checked) { border-color: var(--fg); background: var(--fg); color: var(--bg); }
.choice:has(input:checked) .mono { color: var(--bg); }
.choice:has(input:focus-visible) { outline: 1px solid var(--accent); outline-offset: 3px; }
.bk-submit { display: grid; gap: 24px; justify-items: start; align-content: start; }
.bk-submit .btn { border: 0; cursor: pointer; }
.bk-note { color: var(--muted); }
.bk-status { max-width: 760px; }

/* ── Drobečková navigace (svatební album) ──────────────────────── */
.crumbs { display: flex; flex-wrap: wrap; gap: 10px; color: var(--muted); }
.crumbs a { transition: color .3s; }
.crumbs a:hover, .crumbs [aria-current] { color: var(--fg); }

/* ── Právní texty, 404 a chybová stránka ───────────────────────── */
.legal-body { max-width: 1100px; border-top: 1px solid var(--line); }
.legal-section {
    display: grid;
    grid-template-columns: minmax(0, .85fr) minmax(0, 1.6fr);
    gap: 16px clamp(24px, 5vw, 72px);
    padding: clamp(28px, 4vw, 48px) 0;
    border-bottom: 1px solid var(--line);
}
.legal-section-title { font: 400 clamp(24px, 2.3vw, 34px)/1.15 var(--serif); letter-spacing: -.01em; }
.legal-num {
    display: block;
    margin-bottom: 10px;
    font: 400 11px/1.5 var(--mono);
    letter-spacing: .08em;
    color: var(--accent);
}
.legal-text { display: grid; gap: 14px; max-width: 66ch; color: var(--muted); }
.legal-text:only-child { grid-column: 1 / -1; }
.legal-text strong,
.legal-highlight { color: var(--fg); font-weight: 500; }
.legal-text a { color: var(--fg) !important; text-decoration: underline; text-underline-offset: 3px; }
.legal-list { display: grid; gap: 8px; margin: 0; padding-left: 18px; }
.legal-table { border-top: 1px solid var(--line); }
.lt-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr);
    gap: 16px;
    padding: 12px 0;
    border-bottom: 1px solid var(--line);
}
.lt-header { font: 400 11px/1.5 var(--mono); letter-spacing: .08em; text-transform: uppercase; }

/* ── Drobnosti podstránek ──────────────────────────────────────── */
.m-a--l { grid-column: 1 / span 4; aspect-ratio: 3 / 2; }
.manifest-body p + p { margin-top: 16px; }
.hello-title { margin-top: 32px; max-width: 24ch; }
.cols {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px clamp(24px, 4vw, 64px);
    width: min(100%, 980px);
    margin: clamp(48px, 8vh, 96px) 0 clamp(64px, 12vh, 140px) auto;
    font-size: clamp(16px, 1.15vw, 18px);
    color: var(--muted);
}
.funfact { margin-top: 32px; max-width: 24ch; }
.funfact-sub { max-width: 40ch; margin: 40px 0 0 auto; font-size: 18px; color: var(--muted); }
.cta-title--long { font-size: clamp(60px, 10vw, 180px); }
.page-lead .mono { display: block; margin-top: 14px; }
.sec-title a em { transition: color .4s; }
.sec-title a:hover em { color: var(--accent); }

/* ── Podstránky na tabletu a mobilu ────────────────────────────── */
@media (max-width: 899px) {
    .page-hero { min-height: 0; row-gap: 48px; padding-top: 120px; }
    .ph-text, .ph-media, .ph-media--wide { grid-column: 1 / -1; }
    .ph-media { aspect-ratio: 4 / 5; max-height: 80svh; }
    .ph-media--wide { aspect-ratio: 4 / 3; }
    .sec-title, .sec-note { grid-column: 1 / -1; }
    .sec-note { margin-top: 24px; }
    .pkg { grid-template-columns: minmax(0, 1fr); }
    .steps li { grid-template-columns: 48px minmax(0, 1fr); }
    .steps p { grid-column: 2; }
    .split-media, .split-text,
    .split--flip .split-media, .split--flip .split-text { grid-column: 1 / -1; grid-row: auto; }
    .split-text { margin-top: 48px; }
    .contact-rows, .contact-form { grid-column: 1 / -1; }
    .bk-step, .legal-section { grid-template-columns: minmax(0, 1fr); }
    .bk-fields--2 { grid-template-columns: minmax(0, 1fr); }
    .ig { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .ig a:nth-child(n + 4) { display: none; }
    .pf-grid { columns: 2; }
}

@media (max-width: 768px) {
    .pf-frame { aspect-ratio: 4 / 5; }
    .pf-filter { display: none; }
    .pf-grid { columns: 1; }
    /* Přehled na mobilu: z každé kategorie jen první fotka a odkaz na celou galerii */
    .pf-cat--overview .pf-item:not(:first-child) { display: none; }
    .pf-cat--overview .pf-item:first-child img { aspect-ratio: 3 / 4; object-fit: cover; }
    .pf-open { display: inline-flex; }
    .albums { grid-template-columns: minmax(0, 1fr); }
    .album:nth-child(even) { margin-top: 0; }
    .stats { grid-template-columns: minmax(0, 1fr); }
    .stat + .stat { padding-left: 0; border-left: 0; border-top: 1px solid var(--line); }
    .cols { grid-template-columns: minmax(0, 1fr); }
    .m-a--l { grid-column: 1 / span 3; }
    .contact-row { grid-template-columns: minmax(0, 1fr) auto; }
    .contact-row .mono { grid-column: 1 / -1; }
    .lb-figure img { max-height: calc(100dvh - 140px); }
}

/* ── Bez animací (prefers-reduced-motion): světlé sekce mají barvu přímo ── */
html:not(.motion) [data-theme="light"] {
    --bg: #efe9df;
    --fg: #171512;
    --muted: color-mix(in srgb, #171512 60%, #efe9df);
    --line: color-mix(in srgb, #171512 16%, transparent);
    background: var(--bg);
    color: var(--fg);
}

/* ── Tablet a mobil ────────────────────────────────────────────── */
@media (max-width: 1199px) {
    .site-head { grid-template-columns: 1fr auto; }
    .head-meta { display: none; }
}

@media (max-width: 899px) {
    .js .head-nav { display: none; }
    .js .menu-btn { display: block; }
    html:not(.js) .head-nav { flex-wrap: wrap; gap: 8px 16px; font-size: 13px; }
}

@media (max-width: 767px) {
    .hero-foot { grid-template-columns: 1fr; gap: 20px; }
    .hero-side { justify-items: start; padding-bottom: 0; text-align: left; }
    .hero-scroll { display: none; }

    .manifest { grid-template-columns: repeat(6, minmax(0, 1fr)); column-gap: 12px; }
    .manifest-quote { grid-column: 1 / -1; }
    .m-b { grid-column: 3 / -1; grid-row: 3; margin-top: 48px; }
    .m-a { grid-column: 1 / span 3; grid-row: 4; margin-top: -24px; }
    .manifest-body { grid-column: 4 / -1; grid-row: 4; align-self: end; font-size: 15px; }

    .wed-frame { left: 8vw; top: 24svh; width: 84vw; height: 52svh; }
    .wed-word { gap: 0; font-size: 26vw; }

    .wed-info, .svc-head, .about { grid-template-columns: minmax(0, 1fr); }
    .wed-live, .wed-copy, .wed-links,
    .svc-head .eyebrow, .svc-lead,
    .about-img, .about-text { grid-column: 1 / -1; }
    .svc-head { row-gap: 20px; }
    .about-text { padding-top: 48px; }
    .cta-contact { text-align: left; }
}

/* Zamknutý scroll pod preloaderem, oponou, menu a lightboxem (art.js: lenis.stop/start) */
html.scroll-lock, html.scroll-lock body { overflow: hidden; }
