* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

:root {
    --font-body: 'Manrope', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
    --font-display: 'Sora', var(--font-body);
    --bg: #050505;
    --bg-elevated: #0a0a0a;
    --text: #ffffff;
    --text-soft: #d2d8e0;
    --text-muted: #aab4c3;
    --text-faint: #7a8594;
    --line: rgba(255, 255, 255, 0.08);
    --line-strong: rgba(59, 140, 235, 0.34);
    --panel: rgba(255, 255, 255, 0.03);
    --panel-strong: rgba(255, 255, 255, 0.05);
    --brand: #3b8ceb;
    --brand-soft: rgba(59, 140, 235, 0.2);
    --brand-glow: rgba(59, 140, 235, 0.45);
    --shadow-lg: 0 25px 80px rgba(0, 0, 0, 0.75);
    --radius-md: 12px;
    --radius-lg: 16px;
}

body {
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    font-family: var(--font-body);
    color: var(--text);
    background-color: var(--bg);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

body.modal-open { overflow: hidden; }

img,
svg {
    display: block;
    max-width: 100%;
}

a {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s ease;
}

button {
    appearance: none;
    border: 0;
    background: none;
    font: inherit;
    color: inherit;
    cursor: pointer;
}

a:focus-visible,
button:focus-visible {
    outline: 2px solid var(--brand);
    outline-offset: 4px;
}

.hero-title,
.section-label,
.node-content h3,
.ghost-title,
.modal-title,
.footer-email,
.credits-header,
.lang-switch,
.frame-caption {
    font-family: var(--font-display);
}

.visually-hidden {
    position: absolute !important;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
    border: 0;
}

.reveal-element {
    opacity: 1;
    transform: none;
}

.js .reveal-element {
    opacity: 0;
    transform: translateY(40px);
    transition:
        opacity 0.8s cubic-bezier(0.2, 0.8, 0.2, 1),
        transform 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.reveal-element.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.lang-switch {
    position: absolute;
    top: 40px;
    right: 40px;
    z-index: 100;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 8px 16px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(10px);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    transition: border-color 0.3s ease, background-color 0.3s ease;
}

.lang-switch:hover {
    border-color: rgba(59, 140, 235, 0.3);
    background: rgba(255, 255, 255, 0.05);
}

.lang-btn {
    color: #8d99aa;
    transition: color 0.3s ease, text-shadow 0.3s ease;
}

.lang-btn:hover { color: #ffffff; }

.lang-btn.active {
    color: var(--brand);
    text-shadow: 0 0 10px rgba(59, 140, 235, 0.4);
}

.lang-sep {
    color: rgba(255, 255, 255, 0.22);
    font-weight: 300;
}

.module-hero {
    position: relative;
    display: flex;
    width: 100%;
    padding: 140px 20px 100px;
    overflow: hidden;
    text-align: center;
    flex-direction: column;
    align-items: center;
}

.hero-bg-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    z-index: 0;
    width: 80vw;
    height: 80vw;
    max-width: 600px;
    max-height: 600px;
    transform: translate(-50%, -50%);
    background: radial-gradient(circle, rgba(2, 76, 160, 0.2) 0%, rgba(0, 0, 0, 0) 70%);
    filter: blur(72px);
    pointer-events: none;
    animation: heroPulse 8s infinite ease-in-out;
}

.hero-ui-frame {
    position: absolute;
    inset: 20px;
    z-index: 1;
    opacity: 0.6;
    pointer-events: none;
}

.corner {
    position: absolute;
    width: 20px;
    height: 20px;
    border-color: rgba(255, 255, 255, 0.2);
    border-style: solid;
}

.tl { top: 0; left: 0; border-width: 1px 0 0 1px; }
.tr { top: 0; right: 0; border-width: 1px 1px 0 0; }
.bl { bottom: 0; left: 0; border-width: 0 0 1px 1px; }
.br { bottom: 0; right: 0; border-width: 0 1px 1px 0; }

.hero-content {
    position: relative;
    z-index: 2;
    animation: fadeUp 1s ease-out forwards;
}

.hero-logo {
    width: 160px;
    height: auto;
    margin-bottom: 40px;
}

.hero-title {
    margin: 0 0 25px;
    color: #e5edf7;
    font-size: 2.5rem;
    line-height: 1.3;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.text-highlight {
    color: var(--brand);
    font-weight: 700;
    text-shadow: 0 0 30px rgba(2, 76, 160, 0.4);
}

.hero-desc {
    max-width: 600px;
    margin: 0 auto;
    color: var(--text-muted);
    font-size: 1.1rem;
    font-weight: 300;
}

.module-workflow {
    position: relative;
    z-index: 5;
    padding: 60px 20px 50px;
}

.section-label {
    margin: 0 0 80px;
    color: #7d8795;
    text-align: center;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.3em;
    font-weight: 700;
}

.timeline-container {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
}

.line-wrapper {
    position: absolute;
    top: 0;
    left: 50%;
    z-index: 1;
    width: 2px;
    height: 100%;
    transform: translateX(-50%);
}

.line-bg {
    position: absolute;
    width: 100%;
    height: 100%;
    background: var(--line);
}

.line-progress {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #024ca0;
    box-shadow: 0 0 15px #024ca0, 0 0 30px #024ca0;
    transform-origin: top;
    transform: scaleY(0);
    will-change: transform;
}

.timeline-node {
    position: relative;
    z-index: 10;
    display: flex;
    width: 50%;
    padding-bottom: 120px;
}

.timeline-node:nth-child(odd) {
    left: 0;
    justify-content: flex-end;
    padding-right: 60px;
    text-align: right;
}

.timeline-node:nth-child(even) {
    left: 50%;
    justify-content: flex-start;
    padding-left: 60px;
    text-align: left;
}

.node-icon {
    position: absolute;
    top: 0;
    z-index: 20;
    display: flex;
    width: 44px;
    height: 44px;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--brand);
    border-radius: 50%;
    background: var(--bg);
    transition:
        transform 0.4s ease,
        border-color 0.3s ease,
        background-color 0.3s ease,
        box-shadow 0.3s ease;
}

.timeline-node:nth-child(odd) .node-icon { right: -22px; }
.timeline-node:nth-child(even) .node-icon { left: -22px; }

.node-icon svg {
    width: 20px;
    height: 20px;
    color: var(--brand);
    transition: color 0.3s ease, filter 0.3s ease;
}

.node-content {
    position: relative;
    top: -5px;
    padding: 30px;
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.035);
    opacity: 0.62;
    transform: translateY(8px);
    transition:
        opacity 0.45s ease,
        transform 0.45s ease,
        border-color 0.3s ease,
        background-color 0.3s ease,
        box-shadow 0.3s ease;
}

.node-content h3 {
    margin: 0 0 15px;
    color: #ffffff;
    font-size: 1.25rem;
    font-weight: 700;
    line-height: 1.3;
}

.node-content p {
    margin: 0;
    color: var(--text-soft);
    font-size: 0.95rem;
    font-weight: 300;
    line-height: 1.7;
}

.node-frame {
    position: relative;
    display: flex;
    min-height: 118px;
    margin-bottom: 18px;
    padding: 18px;
    border: 1px solid rgba(255, 255, 255, 0.09);
    border-radius: var(--radius-md);
    overflow: hidden;
    justify-content: flex-end;
    flex-direction: column;
    background:
        linear-gradient(150deg, rgba(59, 140, 235, 0.16), rgba(255, 255, 255, 0.02) 55%, rgba(0, 0, 0, 0.15)),
        linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.01));
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
    isolation: isolate;
}

.node-frame::before {
    content: '';
    position: absolute;
    inset: 10px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 10px;
}

.node-frame::after {
    content: attr(data-frame-label);
    position: absolute;
    top: 14px;
    right: 16px;
    color: rgba(255, 255, 255, 0.35);
    font-size: 0.62rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.22em;
}

.node-frame > * {
    position: relative;
    z-index: 1;
}

.frame-chip {
    display: inline-flex;
    align-self: flex-start;
    margin-bottom: 14px;
    padding: 6px 10px;
    border: 1px solid rgba(255, 255, 255, 0.09);
    border-radius: 999px;
    background: rgba(5, 5, 5, 0.42);
    color: #dbe7fb;
    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.frame-caption {
    align-self: flex-start;
    max-width: 22ch;
    margin: 0;
    color: #ffffff;
    font-size: 1.04rem;
    line-height: 1.3;
    font-weight: 600;
    letter-spacing: -0.01em;
    text-wrap: balance;
    text-shadow: 0 10px 24px rgba(2, 76, 160, 0.18);
}

.frame-meta {
    max-width: 28ch;
    color: #c0cad7;
    font-size: 0.82rem;
    line-height: 1.5;
}

.frame-script {
    background:
        radial-gradient(circle at 15% 25%, rgba(59, 140, 235, 0.18), rgba(0, 0, 0, 0) 40%),
        linear-gradient(145deg, rgba(59, 140, 235, 0.15), rgba(255, 255, 255, 0.02) 55%, rgba(0, 0, 0, 0.2));
}

.frame-image {
    background:
        radial-gradient(circle at 80% 20%, rgba(59, 140, 235, 0.2), rgba(0, 0, 0, 0) 40%),
        linear-gradient(145deg, rgba(255, 255, 255, 0.05), rgba(59, 140, 235, 0.12) 55%, rgba(0, 0, 0, 0.15));
}

.frame-edit {
    background:
        radial-gradient(circle at 20% 80%, rgba(59, 140, 235, 0.2), rgba(0, 0, 0, 0) 35%),
        linear-gradient(145deg, rgba(255, 255, 255, 0.02), rgba(59, 140, 235, 0.14) 60%, rgba(0, 0, 0, 0.18));
}

.frame-promo {
    background:
        radial-gradient(circle at 75% 75%, rgba(59, 140, 235, 0.22), rgba(0, 0, 0, 0) 36%),
        linear-gradient(145deg, rgba(59, 140, 235, 0.16), rgba(255, 255, 255, 0.03) 58%, rgba(0, 0, 0, 0.18));
}

.timeline-node.active .node-icon {
    border-color: #ffffff;
    background: var(--brand);
    transform: scale(1.2);
    box-shadow: 0 0 25px rgba(59, 140, 235, 0.8);
}

.timeline-node.active .node-icon svg {
    color: #ffffff;
    filter: drop-shadow(0 0 2px rgba(0, 0, 0, 0.5));
}

.timeline-node.active .node-content {
    opacity: 1;
    transform: translateY(0);
    border-color: rgba(2, 76, 160, 0.42);
    background: rgba(255, 255, 255, 0.042);
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.18);
}

.timeline-node.active .node-frame {
    border-color: rgba(59, 140, 235, 0.35);
    box-shadow:
        0 18px 36px rgba(0, 0, 0, 0.22),
        0 0 24px rgba(59, 140, 235, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.module-realizacje {
    position: relative;
    display: flex;
    width: 100%;
    justify-content: center;
    padding: 0 20px 96px;
    overflow: hidden;
    background: linear-gradient(to bottom, #050505 0%, #080808 100%);
}

.realizacje-card {
    --focus: 1;
    --max-blur: 7px;
    position: relative;
    z-index: 5;
    width: 100%;
    max-width: 920px;
    padding: 52px 76px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.025);
    border-radius: var(--radius-lg);
    background-color: rgba(7, 7, 7, 0.34);
    opacity: calc(0.34 + (var(--focus) * 0.66));
    filter: blur(calc((1 - var(--focus)) * var(--max-blur)));
    transform: translate3d(0, calc((1 - var(--focus)) * 16px), 0);
    transition:
        opacity 180ms ease-out,
        filter 220ms ease-out,
        transform 220ms ease-out;
}

.realizacje-card::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    z-index: 0;
    width: 100%;
    height: 100%;
    transform: translate(-50%, -50%);
    background: radial-gradient(ellipse 45% 45% at 50% 50%, rgba(255, 255, 255, 0.12) 0%, rgba(59, 140, 235, 0.06) 40%, rgba(0, 0, 0, 0) 75%);
    filter: blur(50px);
    pointer-events: none;
}

.section-filmstrip-bg {
    position: absolute;
    top: -15px;
    left: -10%;
    z-index: 1;
    width: 120%;
    height: 350px;
    transform: rotate(-2deg);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='150' viewBox='0 0 200 150'%3E%3Crect width='200' height='25' fill='%23050505'/%3E%3Crect y='125' width='200' height='25' fill='%23050505'/%3E%3Cg fill='%23151515'%3E%3Crect x='10' y='5' width='15' height='15' rx='3'/%3E%3Crect x='40' y='5' width='15' height='15' rx='3'/%3E%3Crect x='70' y='5' width='15' height='15' rx='3'/%3E%3Crect x='100' y='5' width='15' height='15' rx='3'/%3E%3Crect x='130' y='5' width='15' height='15' rx='3'/%3E%3Crect x='160' y='5' width='15' height='15' rx='3'/%3E%3Crect x='190' y='5' width='15' height='15' rx='3'/%3E%3Crect x='10' y='130' width='15' height='15' rx='3'/%3E%3Crect x='40' y='130' width='15' height='15' rx='3'/%3E%3Crect x='70' y='130' width='15' height='15' rx='3'/%3E%3Crect x='100' y='130' width='15' height='15' rx='3'/%3E%3Crect x='130' y='130' width='15' height='15' rx='3'/%3E%3Crect x='160' y='130' width='15' height='15' rx='3'/%3E%3Crect x='190' y='130' width='15' height='15' rx='3'/%3E%3C/g%3E%3Cline x1='0' y1='25' x2='200' y2='25' stroke='%230a0a0a' stroke-width='2'/%3E%3Cline x1='0' y1='125' x2='200' y2='125' stroke='%230a0a0a' stroke-width='2'/%3E%3Crect x='10' y='35' width='180' height='80' fill='%23000' fill-opacity='0.15' stroke='%230a0a0a'/%3E%3C/svg%3E");
    background-repeat: repeat-x;
    background-size: auto 100%;
    opacity: 0.9;
    pointer-events: none;
    animation: scrollFilmstripBg 45s linear infinite;
}

.realizacje-top,
.realizacje-divider,
.hub-connector,
.hub-cards-menu {
    position: relative;
    z-index: 10;
}

.realizacje-top {
    position: relative;
    display: flex;
    margin-top: 6px;
    gap: 14px;
    align-items: center;
    flex-direction: column;
}

.realizacje-divider {
    position: relative;
    z-index: 10;
    width: 100%;
    max-width: 680px;
    height: 1px;
    margin: 34px auto 26px;
    background: linear-gradient(to right, transparent, rgba(255, 255, 255, 0.08), transparent);
}

.realizacje-divider::after {
    content: '';
    position: absolute;
    top: -1px;
    left: 50%;
    width: 140px;
    height: 3px;
    transform: translateX(-50%);
    opacity: 0.55;
    background: linear-gradient(to right, transparent, rgba(59, 140, 235, 0.35), transparent);
    filter: blur(0.5px);
}

.play-btn-wrapper {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.play-btn {
    position: relative;
    z-index: 10;
    display: inline-flex;
    width: 100px;
    height: 100px;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--brand);
    border-radius: 50%;
    background: rgba(59, 140, 235, 0.15);
    backdrop-filter: blur(5px);
    box-shadow: 0 0 30px rgba(59, 140, 235, 0.3);
    animation: bluePulse 4s infinite ease-in-out;
    transition:
        transform 0.3s ease,
        background-color 0.3s ease,
        border-color 0.3s ease,
        box-shadow 0.3s ease;
}

.play-btn::before {
    content: '';
    position: absolute;
    inset: -6px;
    border: 2px solid var(--brand);
    border-radius: 50%;
    opacity: 0;
    animation: ripple 2s infinite;
}

.play-btn svg {
    width: 32px;
    height: 32px;
    margin-left: 4px;
    fill: var(--brand);
    filter: drop-shadow(0 0 5px rgba(59, 140, 235, 0.8));
    transition: fill 0.3s ease, filter 0.3s ease;
}

.play-btn:hover {
    border-color: #ffffff;
    background: var(--brand);
    transform: scale(1.08);
    box-shadow: 0 0 40px rgba(59, 140, 235, 0.8);
}

.play-btn:hover svg {
    fill: #ffffff;
    filter: drop-shadow(0 0 2px rgba(0, 0, 0, 0.5));
}

.play-caption {
    display: block;
    margin-top: 10px;
    color: var(--text-muted);
    font-size: 0.9rem;
    font-weight: 300;
    line-height: 1.55;
    text-align: center;
}

.hub-connector {
    margin-bottom: 22px;
    color: #8a95a3;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.14em;
}

.hub-cards-menu {
    display: grid;
    width: 100%;
    max-width: 900px;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.video-card {
    position: relative;
    display: flex;
    min-height: 220px;
    width: 100%;
    padding: 0;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-lg);
    background: transparent;
    justify-content: flex-end;
    text-align: left;
    transition:
        transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1),
        box-shadow 0.4s ease,
        border-color 0.4s ease;
}

.video-card-media {
    position: absolute;
    inset: 0;
    z-index: 1;
}

.video-card-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.4;
    transition: opacity 0.4s ease, transform 0.8s ease, filter 0.4s ease;
}

.video-card.is-monochrome .video-card-media img {
    filter: grayscale(100%) brightness(0.72) contrast(1.06);
}

.video-card-overlay {
    position: absolute;
    inset: 0;
    z-index: 2;
    background: linear-gradient(to top, rgba(5, 5, 5, 0.95) 0%, rgba(5, 5, 5, 0.42) 50%, rgba(5, 5, 5, 0.1) 100%);
}

.video-card-content {
    position: relative;
    z-index: 3;
    display: block;
    width: 100%;
    padding: 30px;
}

.card-badge {
    display: inline-flex;
    margin-bottom: 12px;
    padding: 4px 10px;
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.1);
    color: #d8dde5;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.11em;
    backdrop-filter: blur(5px);
}

.free-badge {
    border: 1px solid rgba(59, 140, 235, 0.3);
    background: rgba(59, 140, 235, 0.2);
    color: var(--brand);
}

.ghost-title {
    display: block;
    margin-bottom: 10px;
    color: #ffffff;
    font-size: 1.35rem;
    font-weight: 700;
    line-height: 1.25;
}

.ghost-desc {
    display: block;
    margin: 0 0 14px;
    color: var(--text-muted);
    font-size: 0.92rem;
    font-weight: 300;
    line-height: 1.6;
}

.ghost-sub {
    display: inline-block;
    padding-bottom: 2px;
    border-bottom: 1px solid rgba(59, 140, 235, 0.3);
    color: var(--brand);
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: lowercase;
    letter-spacing: 0.08em;
    transition: color 0.3s ease, border-color 0.3s ease;
}

.card-action {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 15px;
}

.card-action--center {
    justify-content: center;
    margin-top: 0;
}

.card-action svg {
    width: 16px;
    height: 16px;
    color: var(--brand);
    transition: transform 0.3s ease;
}

.video-card:hover,
.video-card:focus-visible {
    border-color: rgba(59, 140, 235, 0.4);
    transform: translateY(-5px);
    box-shadow:
        0 15px 40px rgba(0, 0, 0, 0.5),
        0 0 20px rgba(59, 140, 235, 0.15);
}

.video-card:hover .video-card-media img,
.video-card:focus-visible .video-card-media img {
    opacity: 0.6;
    transform: scale(1.05);
}

.video-card:hover .card-action svg,
.video-card:focus-visible .card-action svg,
.credits-more-wrapper:hover .card-action svg,
.credits-more-wrapper:focus-visible .card-action svg {
    transform: translateX(5px);
}

.video-card:hover .ghost-sub,
.video-card:focus-visible .ghost-sub,
.credits-more-wrapper:hover .ghost-sub,
.credits-more-wrapper:focus-visible .ghost-sub {
    border-color: var(--brand);
    color: #ffffff;
}

.module-credits {
    position: relative;
    display: flex;
    width: 100%;
    align-items: center;
    padding: 40px 20px 20px;
    background: #080808;
    text-align: center;
    flex-direction: column;
}

.credits-header {
    margin: 0 0 50px;
    color: #8b95a3;
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.3em;
}

.credits-list {
    display: flex;
    margin-bottom: 40px;
    gap: 12px;
    flex-direction: column;
}

.credit-line {
    color: #8f98a5;
    font-size: 1.2rem;
    font-weight: 300;
    letter-spacing: 0.03em;
    transition: color 0.4s ease, transform 0.4s ease, text-shadow 0.4s ease;
}

.credit-line.highlight {
    color: #ffffff;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.2);
    transform: scale(1.02);
}

.credits-more-wrapper {
    margin-top: 10px;
}

footer {
    position: relative;
    padding: 40px 20px 60px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    background: #020202;
    text-align: center;
}

.footer-cta {
    margin-bottom: 15px;
    color: #8f98a5;
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.12em;
}

.footer-email {
    display: inline-block;
    margin-bottom: 40px;
    color: #ffffff;
    font-size: 1.8rem;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.footer-email:hover { color: var(--brand); }

.footer-copy {
    color: #6f7884;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
}

.footer-policy-link {
    display: inline-block;
    margin-top: 10px;
    color: #8f98a5;
    font-size: 0.68rem;
    text-transform: none;
    letter-spacing: 0.04em;
    transition: color 0.3s ease;
}

.footer-policy-link:hover { color: var(--brand); }

.scroll-fade-blur {
    display: flex;
    width: 100%;
    align-items: center;
    flex-direction: column;
}

.modal-overlay[hidden] { display: none; }

.modal-overlay {
    position: fixed;
    inset: 0;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 22px;
    background: rgba(0, 0, 0, 0.78);
    backdrop-filter: blur(10px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.28s ease;
}

.modal-overlay.open {
    opacity: 1;
    pointer-events: auto;
}

.modal-content {
    width: 100%;
    max-width: 860px;
    max-height: 85vh;
    overflow-y: auto;
    position: relative;
    padding: 46px 40px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.03);
    box-shadow: var(--shadow-lg);
    opacity: 0;
    transform: translateY(12px) scale(0.98);
    transition:
        transform 0.28s cubic-bezier(0.2, 0.8, 0.2, 1),
        opacity 0.28s ease;
}

.modal-overlay.open .modal-content.is-active {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.modal-close-x {
    position: absolute;
    top: 16px;
    right: 16px;
    display: inline-flex;
    width: 42px;
    height: 42px;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.03);
    color: #ffffff;
    transition:
        background-color 0.2s ease,
        border-color 0.2s ease,
        transform 0.2s ease;
}

.modal-close-x:hover,
.modal-close-x:focus-visible {
    border-color: rgba(59, 140, 235, 0.35);
    background: rgba(59, 140, 235, 0.14);
    transform: translateY(-1px);
}

.modal-close-x svg {
    width: 18px;
    height: 18px;
}

.modal-title {
    margin: 0 0 20px;
    color: #ffffff;
    font-size: 1.7rem;
    font-weight: 700;
    text-align: left;
    letter-spacing: -0.02em;
}

.modal-text {
    color: #d1d6de;
    font-size: 1.02rem;
    font-weight: 300;
    line-height: 1.75;
}

.modal-text p { margin: 0 0 18px; }

.modal-text strong {
    color: #ffffff;
    font-weight: 700;
}

.modal-text hr {
    margin: 26px 0;
    border: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.modal-text ul {
    margin: 0 0 18px;
    padding: 0;
    list-style: none;
}

.modal-text li {
    position: relative;
    margin-bottom: 10px;
    padding-left: 20px;
    color: #dfe3ea;
}

.modal-text li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--brand);
}

.close-btn {
    width: 100%;
    margin-top: 22px;
    padding: 13px 14px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.04);
    color: #ffffff;
    font-weight: 600;
    letter-spacing: 0.02em;
    transition:
        background-color 0.2s ease,
        border-color 0.2s ease,
        transform 0.2s ease;
}

.close-btn:hover,
.close-btn:focus-visible {
    border-color: rgba(59, 140, 235, 0.35);
    background: rgba(59, 140, 235, 0.14);
    transform: translateY(-1px);
}

.cookie-banner[hidden] { display: none; }

.cookie-banner {
    position: fixed;
    left: 0;
    bottom: 0;
    z-index: 999;
    display: flex;
    width: 100%;
    align-items: center;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    padding: 25px 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 -10px 40px rgba(0, 0, 0, 0.8);
}

.cookie-banner__copy {
    max-width: 640px;
    color: #cfd5dd;
    font-size: 0.88rem;
    line-height: 1.55;
    text-align: left;
}

.cookie-banner__copy strong {
    display: block;
    margin-bottom: 6px;
    color: #ffffff;
}

.cookie-banner__copy p { margin: 0; }

.cookie-banner__copy a {
    color: var(--brand);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.cookie-banner__actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.cookie-btn {
    min-width: 150px;
    padding: 10px 20px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 999px;
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    transition:
        transform 0.25s ease,
        border-color 0.25s ease,
        background-color 0.25s ease,
        color 0.25s ease;
}

.cookie-btn:hover,
.cookie-btn:focus-visible {
    transform: translateY(-1px);
}

.cookie-btn--secondary {
    background: transparent;
    color: #d1d8e2;
}

.cookie-btn--secondary:hover,
.cookie-btn--secondary:focus-visible {
    border-color: rgba(255, 255, 255, 0.34);
    background: rgba(255, 255, 255, 0.05);
}

.cookie-btn--primary {
    border-color: var(--brand);
    background: var(--brand);
    color: #07101a;
}

.cookie-btn--primary:hover,
.cookie-btn--primary:focus-visible {
    border-color: #74b6ff;
    background: #74b6ff;
}

@media (max-width: 992px) {
    .realizacje-card { padding: 42px 40px; }
}

@media (max-width: 768px) {
    .lang-switch {
        top: 20px;
        right: 20px;
        padding: 6px 12px;
        font-size: 0.75rem;
    }

    .module-hero { padding: 100px 20px 60px; }

    .hero-title { font-size: 1.8rem; }

    .timeline-container { padding-left: 0; }

    .line-wrapper {
        left: 30px;
        transform: none;
    }

    .timeline-node,
    .timeline-node:nth-child(odd),
    .timeline-node:nth-child(even) {
        left: 0;
        width: 100%;
        padding-right: 0;
        padding-bottom: 80px;
        padding-left: 80px;
        justify-content: flex-start;
        text-align: left;
    }

    .node-icon,
    .timeline-node:nth-child(odd) .node-icon,
    .timeline-node:nth-child(even) .node-icon {
        left: 8px;
        right: auto;
    }

    .node-content { padding: 24px; }

    .node-frame {
        min-height: 108px;
        padding: 16px;
    }

    .frame-meta { max-width: none; }

    .frame-caption {
        max-width: none;
        font-size: 0.96rem;
    }

    .module-realizacje { padding: 0 16px 78px; }

    .realizacje-card {
        --max-blur: 4px;
        padding: 34px 22px;
    }

    .play-btn {
        width: 92px;
        height: 92px;
    }

    .realizacje-divider { margin: 28px auto 18px; }

    .hub-cards-menu {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .video-card { min-height: 198px; }

    .video-card-content { padding: 20px; }

    .ghost-title { font-size: 1.2rem; }

    .ghost-desc {
        margin-bottom: 12px;
        font-size: 0.88rem;
    }

    .footer-email { font-size: 1.4rem; }

    .credit-line { font-size: 1rem; }

    .modal-content { padding: 28px 20px; }

    .section-filmstrip-bg {
        top: 5%;
        height: 260px;
    }

    .cookie-banner {
        align-items: stretch;
        padding-bottom: calc(18px + env(safe-area-inset-bottom));
    }

    .cookie-banner__actions {
        width: 100%;
        justify-content: stretch;
    }

    .cookie-btn {
        flex: 1 1 160px;
    }
}

@media (hover: none), (pointer: coarse) {
    .lang-switch,
    .play-btn,
    .card-badge,
    .cookie-banner,
    .modal-overlay {
        backdrop-filter: none;
    }

    .hero-bg-glow { filter: blur(56px); }

    .realizacje-card { --max-blur: 4px; }

    .video-card:hover,
    .video-card:focus-visible {
        transform: none;
    }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }

    .hero-bg-glow,
    .hero-content,
    .play-btn,
    .play-btn::before,
    .section-filmstrip-bg {
        animation: none !important;
    }

    .js .reveal-element,
    .reveal-element.is-visible,
    .node-icon,
    .node-content,
    .node-frame,
    .video-card,
    .video-card-media img,
    .card-action svg,
    .modal-overlay,
    .modal-content,
    .realizacje-card,
    .scroll-fade-blur {
        transition: none !important;
    }

    .realizacje-card,
    .scroll-fade-blur {
        opacity: 1 !important;
        filter: none !important;
        transform: none !important;
    }
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes heroPulse {
    0%, 100% {
        opacity: 0.5;
        transform: translate(-50%, -50%) scale(1);
    }
    50% {
        opacity: 0.8;
        transform: translate(-50%, -50%) scale(1.1);
    }
}

@keyframes ripple {
    0% {
        opacity: 0.6;
        transform: scale(1);
    }
    100% {
        opacity: 0;
        transform: scale(1.6);
    }
}

@keyframes bluePulse {
    0% { box-shadow: 0 0 20px rgba(59, 140, 235, 0.2); }
    50% {
        border-color: rgba(59, 140, 235, 0.8);
        box-shadow: 0 0 40px rgba(59, 140, 235, 0.5);
    }
    100% { box-shadow: 0 0 20px rgba(59, 140, 235, 0.2); }
}

@keyframes scrollFilmstripBg {
    from { background-position: 0 0; }
    to { background-position: -2000px 0; }
}


/* === 2026 refresh: tighter spacing, stronger showreel projection, SEO-supporting hierarchy === */
.cinematic-focus-panel {
    --focus: 1;
    --max-blur: 8px;
    opacity: calc(0.34 + (var(--focus) * 0.66));
    filter: blur(calc((1 - var(--focus)) * var(--max-blur)));
    transform: translate3d(0, calc((1 - var(--focus)) * 16px), 0);
    transition:
        opacity 180ms ease-out,
        filter 220ms ease-out,
        transform 220ms ease-out;
}

.showreel-intro--minimal {
    max-width: 920px;
}

.showreel-intro--minimal .showreel-heading {
    margin: 0;
}

:root {
    --section-space-lg: clamp(48px, 6vw, 82px);
    --section-space-md: clamp(34px, 4.5vw, 60px);
    --section-space-sm: clamp(26px, 3.2vw, 42px);
}

.module-hero {
    padding: 128px 20px 88px;
}

.hero-desc {
    max-width: 720px;
}

.module-workflow {
    padding: 52px 20px 42px;
}

.section-label {
    margin: 0 0 64px;
}

.timeline-node {
    padding-bottom: 102px;
}

.module-realizacje {
    padding: 0 20px 84px;
}

.realizacje-card {
    padding: 48px 68px;
}

.module-credits {
    padding: 32px 20px 14px;
}

.credits-header {
    margin: 0 0 40px;
}

.credits-list {
    margin-bottom: 32px;
}

.module-showreel {
    position: relative;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 22px;
    padding: 34px 20px 68px;
}

.showreel-intro {
    max-width: 760px;
    text-align: center;
}

.showreel-kicker {
    margin: 0 0 12px;
    color: #91a0b3;
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.showreel-heading {
    margin: 0 0 16px;
    font-family: var(--font-display);
    font-size: clamp(1.9rem, 3.5vw, 3rem);
    font-weight: 700;
    line-height: 1.08;
    letter-spacing: -0.03em;
    text-wrap: balance;
}

.showreel-copy {
    max-width: 720px;
    margin: 0 auto;
    color: var(--text-muted);
    font-size: 1rem;
    line-height: 1.7;
}

.showreel-card {
    position: relative;
    display: flex;
    width: 100%;
    max-width: 920px;
    align-items: flex-end;
    justify-content: flex-start;
    padding: 34px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: var(--radius-lg);
    background: #000;
    aspect-ratio: 21 / 9;
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.6);
    isolation: isolate;
    transition: transform 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease;
}

.showreel-card:hover,
.showreel-card:focus-visible {
    border-color: rgba(59, 140, 235, 0.4);
    transform: translateY(-4px);
    box-shadow: 0 28px 90px rgba(0, 0, 0, 0.68), 0 0 28px rgba(59, 140, 235, 0.16);
}

.projector-card__frame,
.projector-card__poster,
.projector-card__shade,
.projector-card__beam,
.projector-card__grain,
.projector-card__content {
    position: absolute;
}

.projector-card__frame {
    inset: 14px;
    z-index: 1;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 14px;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.02);
    pointer-events: none;
}

.projector-card__poster {
    inset: 0;
    z-index: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.18;
}

.js .projector-card__poster {
    transform: scale(1.08);
    filter: blur(28px) brightness(0.38) contrast(1.3) saturate(0.62);
}

.projector-card__shade {
    inset: 0;
    z-index: 2;
    background: linear-gradient(to top, rgba(2, 2, 2, 0.96) 0%, rgba(5, 5, 5, 0.52) 42%, rgba(5, 5, 5, 0.14) 100%);
}

.projector-card__beam {
    inset: -12% 25% -10% -24%;
    z-index: 3;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.03) 16%, rgba(255, 255, 255, 0.22) 34%, rgba(59, 140, 235, 0.1) 56%, transparent 82%);
    opacity: 0;
    filter: blur(22px);
    transform: skewX(-14deg) translateX(-18%);
    mix-blend-mode: screen;
    pointer-events: none;
}

.projector-card__grain {
    inset: -12%;
    z-index: 4;
    background:
        radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.08), transparent 55%),
        repeating-linear-gradient(180deg, rgba(255, 255, 255, 0.055) 0 1px, rgba(0, 0, 0, 0) 1px 3px);
    opacity: 0;
    mix-blend-mode: soft-light;
    pointer-events: none;
}

.showreel-card::before {
    content: '';
    position: absolute;
    inset: -12%;
    z-index: 3;
    background: radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.16) 0%, rgba(59, 140, 235, 0.08) 34%, transparent 64%);
    opacity: 0;
    filter: blur(30px);
    mix-blend-mode: screen;
    pointer-events: none;
}

.showreel-card::after {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 5;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.05), inset 0 -120px 140px rgba(0, 0, 0, 0.24);
    pointer-events: none;
}

.projector-card__content {
    left: 34px;
    right: 34px;
    bottom: 34px;
    z-index: 6;
    display: flex;
    max-width: 540px;
    align-items: flex-start;
    flex-direction: column;
    gap: 14px;
    text-align: left;
}

.js .projector-card__content {
    opacity: 0;
    transform: translateY(16px);
    filter: blur(18px);
}

.projector-card__title {
    display: block;
    font-family: var(--font-display);
    font-size: clamp(1.8rem, 3vw, 2.7rem);
    line-height: 1.08;
    font-weight: 700;
    letter-spacing: -0.03em;
    text-shadow: 0 18px 40px rgba(0, 0, 0, 0.82);
}

.projector-card__desc {
    display: block;
    max-width: 44ch;
    color: #dbe2ec;
    font-size: 0.98rem;
    line-height: 1.65;
    text-shadow: 0 12px 24px rgba(0, 0, 0, 0.72);
}

.projector-card__action {
    display: inline-flex;
    align-items: center;
    gap: 16px;
}

.projector-card__play {
    display: flex;
}

.projector-card__hint {
    display: inline-block;
    color: #dce8fb;
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.projector-card.is-projecting::before {
    animation: projectorFlash 1.25s cubic-bezier(0.16, 1, 0.3, 1) both, projectorGlow 8s ease-in-out 1.3s infinite;
    opacity: 1;
}

.projector-card.is-projecting .projector-card__beam {
    animation: beamIgnite 1.1s cubic-bezier(0.16, 1, 0.3, 1) both, beamFloat 8s ease-in-out 1.3s infinite;
    opacity: 1;
}

.projector-card.is-projecting .projector-card__grain {
    animation: grainPulse 2.4s steps(2) 0.15s infinite;
    opacity: 0.32;
}

.projector-card.is-projecting .projector-card__poster {
    animation: posterResolve 1.4s cubic-bezier(0.16, 1, 0.3, 1) both, posterBreath 10s ease-in-out 1.6s infinite;
    opacity: 0.52;
}

.projector-card.is-projecting .projector-card__content {
    animation: contentResolve 1.05s cubic-bezier(0.16, 1, 0.3, 1) 0.12s both;
}

.projector-loader {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 18px;
    overflow: hidden;
    background: radial-gradient(circle at 50% 50%, rgba(59, 140, 235, 0.12) 0%, rgba(0, 0, 0, 0) 38%), #000;
}

.projector-loader__beam {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 58%;
    height: 58%;
    transform: translate(-50%, -50%) skewX(-14deg);
    background: linear-gradient(90deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.12) 38%, rgba(59, 140, 235, 0.08) 62%, transparent 100%);
    filter: blur(20px);
    opacity: 0.7;
    mix-blend-mode: screen;
    animation: loaderBeam 1.6s ease-in-out infinite alternate;
}

.projector-loader__reel {
    position: relative;
    z-index: 2;
    width: 72px;
    height: 72px;
    border: 3px solid rgba(255, 255, 255, 0.16);
    border-radius: 50%;
    background:
        radial-gradient(circle at center, rgba(255, 255, 255, 0.22) 0 7px, transparent 7px),
        conic-gradient(from 0deg, rgba(59, 140, 235, 0.18), rgba(255, 255, 255, 0.08), rgba(59, 140, 235, 0.18));
    box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.06), 0 0 36px rgba(59, 140, 235, 0.2);
    animation: reelSpin 1.1s linear infinite;
}

.projector-loader__reel::before,
.projector-loader__reel::after {
    content: '';
    position: absolute;
    inset: 9px;
    border-radius: 50%;
    border: 2px dashed rgba(255, 255, 255, 0.16);
}

.projector-loader__reel::after {
    inset: 21px;
    border-style: solid;
    border-color: rgba(255, 255, 255, 0.12);
}

.projector-loader__text {
    position: relative;
    z-index: 2;
    font-family: var(--font-display);
    color: #dbe7fb;
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    text-align: center;
}

.projector-loader__error {
    display: flex;
    height: 100%;
    align-items: center;
    justify-content: center;
    padding: 40px;
    color: #aab4c3;
    text-align: center;
}

footer {
    padding: 34px 20px 50px;
}

.footer-copy {
    text-transform: none;
    letter-spacing: 0.06em;
}

@media (max-width: 992px) {
    .realizacje-card {
        padding: 40px 36px;
    }

    .showreel-card {
        padding: 28px;
    }
}

@media (max-width: 768px) {
    .module-hero {
        padding: 96px 20px 54px;
    }

    .module-workflow {
        padding: 46px 20px 34px;
    }

    .section-label {
        margin-bottom: 56px;
    }

    .module-realizacje {
        padding: 0 16px 68px;
    }

    .module-credits {
        padding: 22px 20px 8px;
    }

    .module-showreel {
        gap: 22px;
        padding: 34px 16px 54px;
    }

    .showreel-heading {
        margin-bottom: 14px;
        font-size: 1.65rem;
    }

    .showreel-copy {
        font-size: 0.95rem;
    }

    .showreel-card {
        min-height: 320px;
        padding: 24px 20px;
        aspect-ratio: 16 / 12;
    }

    .projector-card__frame {
        inset: 10px;
    }

    .projector-card__content {
        left: 20px;
        right: 20px;
        bottom: 20px;
        max-width: none;
        gap: 12px;
    }

    .projector-card__desc {
        max-width: none;
        font-size: 0.9rem;
    }

    .projector-card__action {
        gap: 12px;
    }

    .projector-card__hint {
        font-size: 0.72rem;
        letter-spacing: 0.13em;
    }

    .showreel-card .play-btn {
        width: 86px;
        height: 86px;
    }

    footer {
        padding: 30px 20px 44px;
    }

    .footer-copy {
        letter-spacing: 0.04em;
    }
}

@media (prefers-reduced-motion: reduce) {
    .showreel-card,
    .projector-card__poster,
    .projector-card__content,
    .projector-card__beam,
    .projector-card__grain,
    .projector-loader__beam,
    .projector-loader__reel {
        animation: none !important;
        transition: none !important;
    }

    .projector-card__poster {
        opacity: 0.52 !important;
        filter: none !important;
        transform: none !important;
    }

    .projector-card__content {
        opacity: 1 !important;
        filter: none !important;
        transform: none !important;
    }

    .projector-card__beam,
    .projector-card__grain,
    .showreel-card::before {
        opacity: 0 !important;
    }
}

@keyframes posterResolve {
    0% {
        opacity: 0.04;
        transform: scale(1.1);
        filter: blur(34px) brightness(0.3) contrast(1.42) saturate(0.45);
    }
    22% {
        opacity: 0.2;
    }
    48% {
        opacity: 0.42;
        filter: blur(12px) brightness(0.48) contrast(1.22) saturate(0.7);
    }
    74% {
        opacity: 0.56;
        transform: scale(1.04);
        filter: blur(2px) brightness(0.62) contrast(1.12) saturate(0.92);
    }
    100% {
        opacity: 0.52;
        transform: scale(1);
        filter: blur(0) brightness(0.7) contrast(1.06) saturate(1);
    }
}

@keyframes contentResolve {
    0% {
        opacity: 0;
        transform: translateY(18px);
        filter: blur(18px);
    }
    60% {
        opacity: 0.92;
    }
    100% {
        opacity: 1;
        transform: translateY(0);
        filter: blur(0);
    }
}

@keyframes projectorFlash {
    0% {
        opacity: 0;
        transform: scale(1.04);
    }
    16% {
        opacity: 0.68;
    }
    30% {
        opacity: 0.18;
    }
    48% {
        opacity: 0.54;
    }
    100% {
        opacity: 0.22;
        transform: scale(1);
    }
}

@keyframes beamIgnite {
    0% {
        opacity: 0;
        transform: skewX(-14deg) translateX(-36%);
    }
    18% {
        opacity: 0.82;
    }
    46% {
        opacity: 0.28;
    }
    100% {
        opacity: 0.36;
        transform: skewX(-14deg) translateX(0);
    }
}

@keyframes beamFloat {
    0%, 100% {
        transform: skewX(-14deg) translateX(0);
    }
    50% {
        transform: skewX(-14deg) translateX(3%);
    }
}

@keyframes grainPulse {
    0%, 100% {
        transform: translate3d(0, 0, 0);
        opacity: 0.24;
    }
    25% {
        transform: translate3d(-1%, 1%, 0);
        opacity: 0.34;
    }
    50% {
        transform: translate3d(1%, -1%, 0);
        opacity: 0.26;
    }
    75% {
        transform: translate3d(-0.6%, 0.8%, 0);
        opacity: 0.32;
    }
}

@keyframes posterBreath {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.015);
    }
}

@keyframes projectorGlow {
    0%, 100% {
        opacity: 0.2;
    }
    50% {
        opacity: 0.3;
    }
}

@keyframes loaderBeam {
    0% {
        opacity: 0.46;
        transform: translate(-50%, -50%) skewX(-14deg) scaleX(0.96);
    }
    100% {
        opacity: 0.82;
        transform: translate(-50%, -50%) skewX(-14deg) scaleX(1.04);
    }
}

@keyframes reelSpin {
    to {
        transform: rotate(360deg);
    }
}


.showreel-card--autoplay {
    cursor: default;
}

.showreel-card--autoplay:hover,
.showreel-card--autoplay:focus-visible {
    border-color: rgba(255, 255, 255, 0.06);
    transform: none;
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.6);
}

.showreel-card--autoplay .projector-card__poster {
    display: block;
    pointer-events: none;
    object-fit: cover;
    opacity: 0.22;
}

.showreel-card--autoplay .projector-card__shade {
    background: linear-gradient(to top, rgba(2, 2, 2, 0.54) 0%, rgba(5, 5, 5, 0.16) 46%, rgba(5, 5, 5, 0.08) 100%);
}

.showreel-card--autoplay.is-projecting .projector-card__poster {
    opacity: 0.84;
}

.showreel-video {
    background: #020202;
}

.showreel-video::-webkit-media-controls {
    display: none !important;
}

.showreel-video::-webkit-media-controls-enclosure {
    display: none !important;
}

.projector-loader--minimal {
    z-index: 6;
    gap: 0;
    transition: opacity 0.35s ease, visibility 0.35s ease;
}

.projector-loader--minimal .projector-loader__reel {
    width: 68px;
    height: 68px;
}

.showreel-video-loader,
.showreel-video-error {
    pointer-events: none;
}

.showreel-card.is-ready .showreel-video-loader,
.showreel-card.has-error .showreel-video-loader {
    opacity: 0;
    visibility: hidden;
}

.showreel-video-error {
    position: absolute;
    inset: 0;
    z-index: 6;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 40px;
    background: rgba(0, 0, 0, 0.72);
    color: #c3ccd8;
    text-align: center;
}

.showreel-card.has-error .showreel-video-error {
    display: flex;
}

/* === 2026 refresh: autoplay showreel tone correction === */
.module-showreel {
    background: #080808;
}

.showreel-card--autoplay,
.showreel-card--autoplay:hover,
.showreel-card--autoplay:focus-visible {
    background: var(--bg);
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.52);
}

.showreel-card--autoplay .projector-loader,
.showreel-video {
    background: var(--bg);
}

.showreel-card--autoplay .projector-card__poster,
.js .showreel-card--autoplay .projector-card__poster,
.showreel-card--autoplay.is-projecting .projector-card__poster {
    opacity: 1;
    transform: none;
    filter: contrast(1.12) brightness(1.08);
    animation: none;
}

.showreel-card--autoplay .projector-card__shade {
    background: none;
}

.showreel-card--autoplay::after {
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.05);
}

.showreel-card--autoplay .projector-card__beam {
    background: linear-gradient(90deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.02) 16%, rgba(255, 255, 255, 0.14) 34%, rgba(59, 140, 235, 0.06) 56%, transparent 82%);
    filter: blur(18px);
}

.showreel-card--autoplay .projector-card__grain {
    background:
        radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.05), transparent 58%),
        repeating-linear-gradient(180deg, rgba(255, 255, 255, 0.03) 0 1px, rgba(0, 0, 0, 0) 1px 4px);
}

.footer-socials {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin: -14px 0 34px;
}

.footer-social-link {
    width: 68px;
    height: 68px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.14);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.24);
    transition: transform 0.24s ease, border-color 0.24s ease, background-color 0.24s ease, box-shadow 0.24s ease;
}

.footer-social-link:hover,
.footer-social-link:focus-visible {
    transform: translateY(-2px);
    background: rgba(59, 140, 235, 0.12);
    border-color: rgba(59, 140, 235, 0.52);
    box-shadow:
        0 16px 36px rgba(0, 0, 0, 0.3),
        0 0 0 1px rgba(59, 140, 235, 0.28),
        0 0 24px rgba(59, 140, 235, 0.22);
    color: #ffffff;
    outline: none;
}

.footer-social-link svg {
    width: 34px;
    height: 34px;
    display: block;
    fill: currentColor;
}

@media (max-width: 768px) {
    .footer-socials {
        gap: 14px;
        margin: -10px 0 30px;
    }

    .footer-social-link {
        width: 62px;
        height: 62px;
    }

    .footer-social-link svg {
        width: 32px;
        height: 32px;
    }
}
