/* ==========================================================================
   Andy Miles Designs — style.css
   Jeden súbor, členený do sekcií (nižšie v poradí podľa DOM-u). Farby, fonty
   a rozmery sú v :root tokenoch — meň ich tam, nie roztrúsene po pravidlách.

   OBSAH
     1. Tokeny (:root) — paleta, fonty, rádiusy, spacing
     2. Reset + základ (body, ::selection, #progress)
     3. Navigácia
     4. HERO — pinovaná sekvencia, textové bloky, CTA, cue, exit
     5. Sekcie — spoločný rám (section.s), reveal, word-reveal
     6. PROJEKTY — listing + 3D laptop viewer
     7. SLUŽBY — nočné duny, sklenené karty
     8. PROCES — pieskový závoj, scroll-scrub kroky
     9. O MNE — portrét, prechod do čiernej
    10. FINALE — kontakt + footer v jednej banner scéne
    11. Responzív + reduced-motion fallbacky
   ========================================================================== */

:root {
    --ink: #0b0e13;
    --ink-2: #12161d;
    --warm: #171009;
    --warm-2: #1f150c;
    --warm-line: rgba(224, 150, 90, 0.14);
    --line: rgba(255, 255, 255, 0.08);
    --paper: #f5f3ef;
    --sand: #e8d9c3;
    --muted: #9aa3ae;
    --muted-warm: #b39f87;
    --sky: #4ea8de;
    --sky-bright: #7fc5f0;
    --terra: #e0763c;
    --terra-deep: #c24b2c;
    --lava: #ff8a3d;
    --font-display: "Bricolage Grotesque", sans-serif;
    --font-body: "Inter", system-ui, sans-serif;
    --r-pill: 100px;
    --r-card: 14px;
    --pad-section: clamp(90px, 14vh, 150px);
    --pad-x: clamp(20px, 5vw, 64px);
    --max: 1100px;
}
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
html {
    scroll-behavior: smooth;
}
body {
    background: var(--ink);
    color: var(--paper);
    font-family: var(--font-body);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}
::selection {
    background: rgba(78, 168, 222, 0.35);
}
#progress {
    position: fixed;
    top: 0;
    left: 0;
    height: 2px;
    width: 0;
    z-index: 60;
    background: linear-gradient(90deg, var(--terra), var(--sky-bright));
}

/* ---------- LOADER (úvodný preloader) ---------- */
/* prekryje stránku, kým sa načíta hero sekvencia; JS ho po dokončení odstráni */
#loader {
    position: fixed;
    inset: 0;
    z-index: 200;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 22px;
    background:
        radial-gradient(
            120% 90% at 50% 108%,
            rgba(255, 138, 61, 0.1),
            transparent 60%
        ),
        linear-gradient(180deg, #141922, var(--ink));
    transition: opacity 0.7s ease;
}
html:not(.js) #loader {
    display: none;
} /* bez JS by loader ostal navždy */
#loader.done {
    opacity: 0;
    pointer-events: none;
}
.ld-mark {
    font-family: var(--font-display);
    font-weight: 800;
    font-size: clamp(22px, 3vw, 30px);
    letter-spacing: 0.03em;
    color: var(--paper);
    text-align: center;
    line-height: 1.1;
}
.ld-mark span {
    display: block;
    font-weight: 400;
    opacity: 0.7;
    letter-spacing: 0.22em;
    font-size: 0.42em;
    margin-top: 8px;
    text-transform: uppercase;
}
.ld-bar {
    position: relative;
    width: min(240px, 60vw);
    height: 2px;
    background: rgba(245, 243, 239, 0.12);
    border-radius: 2px;
    overflow: hidden;
}
.ld-bar i {
    position: absolute;
    inset: 0;
    transform-origin: left;
    transform: scaleX(0);
    background: linear-gradient(90deg, var(--terra), var(--sky-bright));
    transition: transform 0.25s ease;
}
.ld-pct {
    font-family: var(--font-body);
    font-size: 12px;
    letter-spacing: 0.15em;
    color: var(--muted);
    font-variant-numeric: tabular-nums;
}

.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 50;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px var(--pad-x);
    mix-blend-mode: difference;
}
.nav .mark {
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 17px;
    letter-spacing: 0.03em;
    color: var(--paper);
    text-decoration: none;
}
.nav .mark span {
    font-weight: 400;
    opacity: 0.75;
    letter-spacing: 0.18em;
    font-size: 12px;
    margin-left: 8px;
    text-transform: uppercase;
}
.nav ul {
    display: flex;
    gap: 26px;
    list-style: none;
}
.nav a {
    color: var(--paper);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    opacity: 0.85;
}
.nav a:hover {
    opacity: 1;
}

/* ---------- HERO ---------- */
.pin-wrap {
    height: 520vh;
    position: relative;
}
.pin {
    position: sticky;
    top: 0;
    height: 100vh;
    overflow: hidden;
    background: var(--ink);
}
#seq {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    display: block;
}
.vignette {
    position: absolute;
    inset: 0;
    z-index: 2;
    pointer-events: none;
    background: linear-gradient(
        180deg,
        rgba(11, 14, 19, 0.35) 0%,
        rgba(11, 14, 19, 0) 26%,
        rgba(11, 14, 19, 0) 74%,
        rgba(11, 14, 19, 0.35) 100%
    );
}
.stage {
    position: absolute;
    inset: 0;
    z-index: 3;
    pointer-events: none;
}
.block {
    position: absolute;
    opacity: 0;
    will-change: transform, opacity;
}
.b-hero {
    top: 0;
    left: 0;
    right: 0;
    padding: clamp(96px, 15vh, 190px) var(--pad-x) 0;
    max-width: 820px;
}
.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    color: var(--sky-bright);
    font-weight: 600;
    margin-bottom: 22px;
}
.eyebrow::before {
    content: "";
    width: 34px;
    height: 1px;
    background: var(--sky);
}
h1 {
    font-family: var(--font-display);
    font-weight: 800;
    font-size: clamp(50px, 8.5vw, 116px);
    line-height: 0.92;
    letter-spacing: -0.02em;
    text-shadow: 0 2px 40px rgba(0, 0, 0, 0.5);
}
h1 .thin {
    font-weight: 400;
    color: #cfd4da;
    display: block;
    font-size: 0.42em;
    letter-spacing: 0;
    margin-top: 18px;
    line-height: 1.25;
    max-width: 18ch;
}
.tags {
    display: flex;
    gap: 10px;
    margin-top: 28px;
    flex-wrap: wrap;
}
.tag {
    border: 1px solid rgba(245, 243, 239, 0.3);
    border-radius: var(--r-pill);
    padding: 8px 16px;
    font-size: 13px;
    font-weight: 500;
    background: rgba(11, 14, 19, 0.25);
    backdrop-filter: blur(6px);
}
.b-mid {
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0 24px;
}
.b-mid h2 {
    font-family: var(--font-display);
    font-weight: 800;
    font-size: clamp(34px, 5.6vw, 76px);
    line-height: 1.02;
    letter-spacing: -0.02em;
    text-shadow: 0 2px 50px rgba(60, 20, 5, 0.55);
}
.b-mid p {
    margin-top: 16px;
    font-size: clamp(15px, 1.6vw, 19px);
    color: #f8ead9;
    opacity: 0.92;
    max-width: 52ch;
    line-height: 1.6;
    text-shadow: 0 1px 24px rgba(60, 20, 5, 0.5);
}
.b-canyon {
    top: 0;
    bottom: 0;
    left: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 0 clamp(20px, 6vw, 80px);
    max-width: 780px;
}
.kicker {
    font-size: 13px;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    color: var(--terra);
    font-weight: 600;
}
.b-canyon .kicker {
    margin-bottom: 20px;
    color: #ffc08a;
}
.h2 {
    font-family: var(--font-display);
    font-weight: 800;
    font-size: clamp(40px, 6.2vw, 84px);
    line-height: 0.96;
    letter-spacing: -0.02em;
}
.b-canyon .h2 {
    text-shadow: 0 2px 40px rgba(0, 0, 0, 0.55);
}
.h2 em {
    font-style: normal;
    color: var(--sky-bright);
}
.h2 .warm-em {
    color: #ffc98f;
    text-shadow: 0 0 34px rgba(255, 170, 90, 0.35);
}
.b-canyon p {
    margin-top: 22px;
    max-width: 42ch;
    color: #e9e4db;
    font-size: 17px;
    line-height: 1.7;
    text-shadow: 0 1px 20px rgba(0, 0, 0, 0.5);
}
.cta {
    pointer-events: auto;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-top: 30px;
    padding: 14px 26px;
    border-radius: var(--r-pill);
    background: var(--paper);
    color: var(--ink);
    font-weight: 600;
    font-size: 15px;
    text-decoration: none;
    transition: transform 0.25s ease;
    border: 0;
    cursor: pointer;
    will-change: transform;
}
.cta-ghost {
    background: transparent;
    color: var(--paper);
    border: 1px solid rgba(245, 243, 239, 0.3);
}
.cta-canyon {
    background: rgba(24, 12, 6, 0.38);
    backdrop-filter: blur(10px);
    color: #ffe7cb;
    border: 1px solid rgba(255, 192, 138, 0.5);
    box-shadow: 0 0 0 rgba(255, 170, 90, 0);
    transition:
        transform 0.25s ease,
        box-shadow 0.3s ease,
        border-color 0.3s ease;
}
.cta-canyon:hover {
    border-color: #ffc98f;
    box-shadow: 0 6px 30px rgba(255, 150, 70, 0.25);
}
.cta-ghost:hover {
    border-color: var(--sky-bright);
    color: var(--sky-bright);
}
.exit-fade {
    position: absolute;
    inset: 0;
    z-index: 5;
    pointer-events: none;
    background: linear-gradient(180deg, rgba(11, 14, 19, 0.6), var(--ink) 78%);
    opacity: 0;
}
.cue {
    position: absolute;
    bottom: 26px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 4;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    font-size: 11px;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: #cfd4da;
}
.cue span {
    width: 1px;
    height: 36px;
    background: linear-gradient(var(--sky), transparent);
    animation: drop 1.8s ease-in-out infinite;
}
@keyframes drop {
    0% {
        transform: scaleY(0.2);
        transform-origin: top;
    }
    50% {
        transform: scaleY(1);
        transform-origin: top;
    }
    50.1% {
        transform-origin: bottom;
    }
    100% {
        transform: scaleY(0.2);
        transform-origin: bottom;
    }
}

/* ---------- SEKCIE ---------- */
#dust {
    position: fixed;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    opacity: 0;
}
section.s {
    position: relative;
    z-index: 2;
    background: var(--ink);
    padding: var(--pad-section) var(--pad-x);
    overflow: hidden;
}
section.s.warm {
    background: linear-gradient(
        180deg,
        var(--warm) 0%,
        var(--warm-2) 55%,
        var(--warm) 100%
    );
}
section.s.warm .kicker {
    color: var(--lava);
}
section.s.warm .h3,
section.s.warm .h2 {
    color: var(--sand);
}
.inner {
    max-width: var(--max);
    margin: 0 auto;
    position: relative;
}
.h3 {
    font-family: var(--font-display);
    font-weight: 600;
    font-size: clamp(28px, 3.6vw, 46px);
    letter-spacing: -0.01em;
    margin: 14px 0 44px;
}

.wr .w {
    display: inline-block;
    overflow: hidden;
    vertical-align: bottom;
}
.wr .w > span {
    display: inline-block;
    transform: translateY(110%);
    transition: transform 0.7s cubic-bezier(0.2, 0.6, 0.2, 1);
}
.wr.in .w > span {
    transform: none;
}

/* ---------- PROJEKTY: listing + laptop viewer ---------- */
.pj {
    position: relative;
    z-index: 2;
    background: var(--ink);
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: var(--pad-section) var(--pad-x);
    overflow: hidden;
}
/* wordmark zapustený do pozadia — obsah ho prekrýva zospodu */
.pj-word {
    position: absolute;
    left: 50%;
    top: clamp(8px, 3.5vh, 48px);
    transform: translateX(-50%);
    z-index: 0;
    font-family: var(--font-display);
    font-weight: 800;
    letter-spacing: -0.02em;
    line-height: 1;
    white-space: nowrap;
    font-size: min(23vw, 360px);
    color: rgba(245, 243, 239, 0.05);
    -webkit-text-stroke: 1px rgba(245, 243, 239, 0.09);
    user-select: none;
    pointer-events: none;
    will-change: transform;
}
.pj-inner {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr 1.15fr;
    gap: clamp(30px, 5vw, 70px);
    align-items: center;
    max-width: 1240px;
    width: 100%;
    padding-top: clamp(40px, 8vh, 100px);
}
.pj-list .kicker {
    display: block;
    margin-bottom: 8px;
}
.pj-item {
    display: block;
    padding: 24px 4px;
    border-bottom: 1px solid var(--line);
    text-decoration: none;
    color: var(--paper);
    transition:
        transform 0.35s ease,
        border-color 0.35s ease;
}
.pj-item:first-of-type {
    border-top: 1px solid var(--line);
}
.pj-num {
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 11px;
    letter-spacing: 0.18em;
    color: var(--muted);
    transition: color 0.3s ease;
}
.pj-name {
    display: block;
    font-family: var(--font-display);
    font-weight: 800;
    letter-spacing: -0.01em;
    line-height: 1.08;
    font-size: clamp(26px, 2.9vw, 40px);
    margin-top: 6px;
    transition: color 0.3s ease;
}
.pj-meta {
    display: block;
    color: var(--muted);
    font-size: 13px;
    margin-top: 6px;
}
.pj-item.on {
    transform: translateX(10px);
    border-color: rgba(255, 196, 138, 0.35);
}
.pj-item.on .pj-num {
    color: var(--lava);
}
.pj-item.on .pj-name {
    color: #ffc98f;
}
.pj-item:hover .pj-name {
    color: #ffc98f;
}
/* viewer — kamenná scéna splýva s pozadím sekcie, laptop sedí na kameni */
.pj-stage {
    position: relative;
    aspect-ratio: 3/2;
}
.pj-stage::before {
    content: "";
    position: absolute;
    inset: -10% -16% -16% -16%;
    pointer-events: none;
    background: url(../img/pj-scene.jpg) center/cover no-repeat;
    -webkit-mask-image: radial-gradient(
        ellipse 62% 58% at 50% 54%,
        #000 42%,
        rgba(0, 0, 0, 0.55) 64%,
        transparent 82%
    );
    mask-image: radial-gradient(
        ellipse 62% 58% at 50% 54%,
        #000 42%,
        rgba(0, 0, 0, 0.55) 64%,
        transparent 82%
    );
}
#pj3d {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    display: block;
}
.pj-flat {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
    display: none;
}
.pj-stage.flat .pj-flat {
    display: block;
    border-radius: var(--r-card);
    border: 1px solid rgba(255, 255, 255, 0.08);
}
.pj-stage.flat #pj3d {
    display: none;
}
.pj-stage.flat::before {
    display: none;
}
.pj-caption {
    margin-top: 20px;
    min-height: 96px;
}
.pj-caption b {
    display: block;
    font-family: var(--font-display);
    font-weight: 800;
    font-size: clamp(19px, 2vw, 25px);
    letter-spacing: -0.01em;
    color: var(--sand);
}
.pj-caption p {
    color: var(--muted);
    font-size: 15px;
    line-height: 1.6;
    margin-top: 6px;
    max-width: 52ch;
}

/* ---------- SLUŽBY: nočné duny ako pozadie, sklenené karty ---------- */
#services {
    background: var(--ink);
    isolation: isolate;
    display: flex;
    align-items: center;
    min-height: 100vh;
}
/* fotka dún je maskovaná do priehľadna — dole sa krížovo rozpustí priamo do ink,
     bez farebného overlayu, takže seam má identickú farbu s ďalšou sekciou */
#services::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -2;
    pointer-events: none;
    background: url(../img/svc-bg.jpg) center bottom/cover no-repeat;
    -webkit-mask-image: linear-gradient(
        180deg,
        #000 0%,
        #000 68%,
        rgba(0, 0, 0, 0.55) 84%,
        rgba(0, 0, 0, 0) 100%
    );
    mask-image: linear-gradient(
        180deg,
        #000 0%,
        #000 68%,
        rgba(0, 0, 0, 0.55) 84%,
        rgba(0, 0, 0, 0) 100%
    );
}
#services::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    background: linear-gradient(
        180deg,
        var(--ink) 0%,
        rgba(11, 14, 19, 0.15) 22%,
        rgba(11, 14, 19, 0) 46%
    );
}
#services .inner {
    width: 100%;
}
.svc-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}
.svc-card {
    position: relative;
    overflow: hidden;
    padding: 34px 28px 40px;
    border-radius: var(--r-card);
    border: 1px solid rgba(255, 196, 138, 0.22);
    background: linear-gradient(
        170deg,
        rgba(28, 18, 9, 0.62),
        rgba(12, 8, 4, 0.55) 78%
    );
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 26px 70px rgba(0, 0, 0, 0.45);
    transition:
        transform 0.35s ease,
        border-color 0.35s ease,
        box-shadow 0.35s ease;
}
.svc-card:hover {
    transform: translateY(-6px);
    border-color: rgba(255, 196, 138, 0.45);
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6);
}
.svc-card::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.45s ease;
    background: radial-gradient(
        340px circle at var(--mx, 50%) var(--my, 50%),
        rgba(255, 150, 70, 0.14),
        transparent 65%
    );
}
.svc-card:hover::after {
    opacity: 1;
}
.svc-ghost {
    position: absolute;
    top: -26px;
    right: 2px;
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 128px;
    line-height: 1;
    color: transparent;
    -webkit-text-stroke: 1.2px rgba(255, 196, 138, 0.17);
    letter-spacing: -0.02em;
    user-select: none;
    pointer-events: none;
    font-variant-numeric: lining-nums;
}
.svc-n {
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 13px;
    letter-spacing: 0.16em;
    color: var(--lava);
}
.svc-card b {
    display: block;
    font-family: var(--font-display);
    font-weight: 800;
    font-size: clamp(22px, 2vw, 28px);
    line-height: 1.12;
    letter-spacing: -0.01em;
    color: var(--sand);
    margin-top: 60px;
}
.svc-card p {
    color: #d8ccba;
    font-size: 15.5px;
    line-height: 1.7;
    margin-top: 12px;
}
@media (max-width: 960px) {
    .svc-grid {
        grid-template-columns: 1fr;
    }
}

/* ---------- PROCES: pieskový závoj, scroll-scrub ---------- */
.pv-wrap {
    height: 460vh;
    position: relative;
    background: var(--ink);
}
.pv-pin {
    position: sticky;
    top: 0;
    height: 100vh;
    overflow: hidden;
    background: var(--ink);
}
#pveil {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    display: block;
    z-index: 1;
    mix-blend-mode: screen;
    opacity: 0.92;
    filter: contrast(1.16) saturate(1.08) brightness(1.03);
}
.pv-pin::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 2;
    pointer-events: none;
    background: linear-gradient(
        180deg,
        rgba(11, 14, 19, 0.6) 0%,
        rgba(11, 14, 19, 0) 22%,
        rgba(11, 14, 19, 0) 70%,
        rgba(11, 14, 19, 0.55) 86%,
        var(--ink) 100%
    );
}
.pv-head {
    position: absolute;
    inset: 0;
    z-index: 3;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    opacity: 0;
    will-change: transform, opacity;
    pointer-events: none;
}
.pv-head::before {
    content: "";
    position: absolute;
    z-index: -1;
    left: 50%;
    top: 50%;
    width: min(720px, 94vw);
    height: min(420px, 70vh);
    transform: translate(-50%, -50%);
    border-radius: 50%;
    background: radial-gradient(
        closest-side,
        rgba(8, 10, 15, 0.88) 0%,
        rgba(8, 10, 15, 0.55) 55%,
        rgba(8, 10, 15, 0) 100%
    );
}
.pv-head .kicker {
    text-shadow: 0 1px 14px rgba(0, 0, 0, 0.9);
}
.pv-head .h3 {
    margin-bottom: 0;
    text-shadow: 0 2px 30px rgba(0, 0, 0, 0.9);
}
.pv-sub {
    margin-top: 18px;
    color: #c9cfd8;
    font-size: 16px;
    line-height: 1.7;
    text-shadow: 0 1px 14px rgba(0, 0, 0, 0.9);
}
.pv-cue {
    margin-top: 24px;
    display: flex;
    justify-content: center;
}
.pv-cue span {
    width: 1px;
    height: 38px;
    background: linear-gradient(#ffc08a, transparent);
    animation: drop 1.8s ease-in-out infinite;
}
.pv-step {
    position: absolute;
    top: 0;
    bottom: 0;
    z-index: 3;
    left: clamp(20px, 9vw, 140px);
    width: min(560px, 84vw);
    display: flex;
    flex-direction: column;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    will-change: transform, opacity;
}
.pv-step.right {
    left: auto;
    right: clamp(20px, 9vw, 140px);
}
.pv-step::before {
    content: "";
    position: absolute;
    z-index: -2;
    left: -10vw;
    right: -10vw;
    top: 50%;
    height: 74%;
    transform: translateY(-50%);
    border-radius: 50%;
    background: radial-gradient(
        closest-side,
        rgba(8, 10, 15, 0.85) 0%,
        rgba(8, 10, 15, 0.5) 55%,
        rgba(8, 10, 15, 0) 100%
    );
}
.pv-ghost {
    position: absolute;
    z-index: -1;
    top: 50%;
    transform: translateY(-56%);
    left: -5vw;
    font-family: var(--font-display);
    font-weight: 800;
    font-size: clamp(180px, 30vw, 380px);
    line-height: 1;
    color: rgba(255, 196, 138, 0.055);
    -webkit-text-stroke: 1.5px rgba(255, 196, 138, 0.28);
    letter-spacing: -0.02em;
    user-select: none;
    font-variant-numeric: lining-nums;
}
.pv-step.right .pv-ghost {
    left: auto;
    right: -5vw;
}
.pv-tag {
    font-size: 13px;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    color: #ffc98f;
    font-weight: 600;
    text-shadow: 0 1px 12px rgba(0, 0, 0, 0.95);
}
.pv-step h4 {
    font-family: var(--font-display);
    font-weight: 800;
    font-size: clamp(40px, 6vw, 80px);
    line-height: 0.96;
    letter-spacing: -0.02em;
    margin-top: 16px;
    text-shadow:
        0 3px 18px rgba(0, 0, 0, 0.85),
        0 2px 60px rgba(0, 0, 0, 0.6);
}
.pv-step p {
    margin-top: 20px;
    max-width: 44ch;
    color: #f5f0e8;
    font-size: 17px;
    line-height: 1.7;
    text-shadow:
        0 2px 10px rgba(0, 0, 0, 0.9),
        0 1px 30px rgba(0, 0, 0, 0.7);
}

/* o mne — hore ink (nadväzuje na Proces), dole čistá čierna (nadväzuje na banner finále) */
#about {
    background: linear-gradient(180deg, var(--ink) 0%, #000 55%);
}
.about {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(30px, 6vw, 80px);
    align-items: center;
}
.portrait {
    position: relative;
    overflow: hidden;
    aspect-ratio: 4/5;
    border-radius: var(--r-card);
    border: 1px solid rgba(255, 196, 138, 0.14);
    will-change: transform;
    background: radial-gradient(130% 100% at 28% 16%, #151b26 0%, #0a0d13 62%);
    display: flex;
    align-items: center;
    justify-content: center;
}
.portrait img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* zdroj je 2:3, rám 4:5 — ťažisko drží tvár v hornej tretine */
    object-position: 50% 22%;
    /* štúdiová sivá je oproti stránke presvetlená: stiahnuť jas,
       pridať kontrast nech tvár nezmĺkne, a odsať chlad z pozadia */
    filter: brightness(0.86) contrast(1.1) saturate(0.86) sepia(0.1);
}
/* grading vrstva: vinetácia → spodok do stránky → ember dych zdola */
.portrait::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        radial-gradient(
            90% 55% at 50% 108%,
            rgba(255, 138, 61, 0.18),
            transparent 70%
        ),
        linear-gradient(
            to bottom,
            transparent 50%,
            rgba(11, 14, 19, 0.5) 100%
        ),
        radial-gradient(
            115% 85% at 50% 34%,
            transparent 42%,
            rgba(11, 14, 19, 0.46) 100%
        );
}
.about .h2 {
    margin-top: 12px;
    font-size: clamp(32px, 4.4vw, 56px);
}
.about p {
    margin-top: 20px;
    color: var(--muted);
    font-size: 17px;
    line-height: 1.75;
    max-width: 48ch;
}

/* ---------- FOOTER — banner na vygenerovanie ---------- */
footer .socials {
    display: flex;
    gap: 20px;
}
footer a {
    color: var(--muted);
    text-decoration: none;
}
footer a:hover {
    color: var(--sky-bright);
}

/* ---------- FINALE: kontakt + footer v jednej scéne ---------- */

/* jedna scéna: banner je pozadím celej sekcie, CTA sedí priamo v jeho oblohe */
.finale {
    position: relative;
    z-index: 2;
    min-height: max(106vh, 820px);
    display: flex;
    flex-direction: column;
    background: #000 url(../img/finale-banner.jpg) center bottom/cover no-repeat;
}
/* mäkké nadviazanie na predošlú sekciu */
.finale::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    height: 16%;
    pointer-events: none;
    background: linear-gradient(180deg, #000, transparent);
}
.fin-content {
    position: relative;
    z-index: 1;
    text-align: center;
    padding: clamp(64px, 10vh, 130px) var(--pad-x) 0;
    max-width: 820px;
    margin: 0 auto;
}
.fin-content .h2 {
    margin-top: 12px;
    font-size: clamp(38px, 6vw, 84px);
}
.fin-content p {
    margin: 18px auto 0;
    color: var(--muted);
    max-width: 46ch;
    font-size: 17px;
    line-height: 1.7;
}
.foot-bar {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 2;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    color: #c4b29b;
    font-size: 14px;
    padding: 22px var(--pad-x);
    background: linear-gradient(0deg, rgba(5, 4, 6, 0.7), rgba(5, 4, 6, 0));
}
.ctas {
    display: flex;
    gap: 14px;
    justify-content: center;
    margin-top: 26px;
    flex-wrap: wrap;
}
.finale .socials a {
    color: #b7a794;
}
.finale .socials a:hover {
    color: #ffc08a;
}
.js .reveal {
    opacity: 0;
    transform: translateY(28px);
    transition:
        opacity 0.8s ease,
        transform 0.8s ease;
}
.js .reveal.in {
    opacity: 1;
    transform: none;
}
.d1 {
    transition-delay: 0.08s;
}
.d2 {
    transition-delay: 0.16s;
}
.d3 {
    transition-delay: 0.24s;
}

@media (max-width: 960px) {
    .pj-inner {
        grid-template-columns: 1fr;
        padding-top: clamp(90px, 16vh, 160px);
    }
    .pj-view {
        order: -1;
    }
}
@media (max-width: 720px) {
    .finale {
        min-height: max(96vh, 700px);
        background-size: contain;
        background-position: center calc(100% - 64px);
    }
    .foot-bar {
        background: none;
    }
}
@media (max-width: 720px) {
    .nav ul {
        display: none;
    }
    .grid {
        grid-template-columns: 1fr;
    }
    .about {
        grid-template-columns: 1fr;
    }
    .pv-step,
    .pv-step.right {
        left: 24px;
        right: 24px;
        width: auto;
    }
    .pv-ghost,
    .pv-step.right .pv-ghost {
        left: -10px;
        right: auto;
        font-size: 200px;
    }
}
@media (prefers-reduced-motion: reduce) {
    .cue span,
    .pv-cue span {
        animation: none;
    }
    #loader,
    .ld-bar i {
        transition: none;
    }
    .js .reveal {
        opacity: 1;
        transform: none;
        transition: none;
    }
    .wr .w > span {
        transform: none;
        transition: none;
    }
    .card,
    .cta,
    .row,
    .svc-card {
        transition: none;
    }
    #dust {
        display: none;
    }
    /* proces: statický fallback bez scrubu */
    .pv-wrap {
        height: auto;
    }
    .pv-pin {
        position: static;
        height: auto;
        overflow: visible;
        padding: var(--pad-section) var(--pad-x);
    }
    #pveil,
    .pv-pin::after {
        display: none;
    }
    .pv-head {
        position: static;
        opacity: 1;
        margin-bottom: 60px;
    }
    .pv-step {
        position: static;
        opacity: 1;
        width: auto;
        max-width: var(--max);
        margin: 0 auto 64px;
    }
    .pv-ghost {
        display: none;
    }
    /* projekty: plochý náhľad namiesto 3D laptopu */
    .pj-stage.flat .pj-flat {
        display: block;
    }
    .pj-item,
    .pj-item.on {
        transform: none;
        transition: none;
    }
}
