:root {
    --ink: #0a0a0d;
    --paper: #ddd6c5;
    --yellow: #f4bb0b;
    /* Czerwień pobrana z róży na plakacie — jedyny akcent obok żółtego. */
    --red: #d80000;
    --accent: #d80000;
    /* Ta sama czerwień rozjaśniona; tylko do drobnych napisów na czerni,
       gdzie #d80000 nie ma wystarczającego kontrastu. */
    --accent-soft: #ff1a1a;
    --violet: #4843d2;
    --magenta: #e0559b;
    --mint: #4ccca2;
    --line: rgba(10, 10, 13, .22);
    --gutter: clamp(1.25rem, 4vw, 4.5rem);
    --serif: "Iowan Old Style", "Baskerville", "Times New Roman", serif;
    --sans: "Arial Narrow", "Helvetica Neue", "Arial", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    color: var(--ink);
    background: var(--paper);
    font-family: var(--sans);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}
body::before {
    content: "";
    position: fixed;
    z-index: 999;
    inset: 0;
    pointer-events: none;
    opacity: .045;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
body::selection { color: var(--ink); background: var(--yellow); }
a { color: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
.skip-link {
    position: fixed;
    z-index: 1000;
    left: 1rem;
    top: 1rem;
    padding: .8rem 1rem;
    background: white;
    color: black;
    transform: translateY(-180%);
}
.skip-link:focus { transform: none; }

/* Róża towarzysząca użytkownikowi: punkt zaczepienia (19%/15%) to środek kwiatu w pliku. */
.rose-guide {
    position: fixed;
    z-index: 60;
    left: 0;
    top: 0;
    width: 20rem;
    transform-origin: 19% 15%;
    pointer-events: none;
    opacity: 0;
    transition: opacity .9s ease;
    will-change: transform;
}
.rose-guide img {
    display: block;
    width: 100%;
    height: auto;
    animation: roseDrift 6s ease-in-out infinite;
}
.rose-guide.is-ready { opacity: 1; }
body:not(.rose-guide-active) .rose-guide { display: none; }
.sr-only {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

.site-header {
    position: fixed;
    z-index: 100;
    top: 0;
    left: 0;
    width: 100%;
    height: 5.5rem;
    padding: 0 var(--gutter);
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: white;
    transition: height .3s, color .3s;
}
.site-header::before {
    content: "";
    position: absolute;
    z-index: -1;
    inset: 0;
    opacity: 0;
    background: rgba(240, 237, 227, .9);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--line);
    transition: opacity .3s;
}
.site-header.scrolled {
    height: 4.4rem;
    color: var(--ink);
}
.site-header.scrolled::before { opacity: 1; }
.brand {
    display: flex;
    align-items: center;
    gap: .65rem;
    color: inherit;
    text-decoration: none;
    font-weight: 800;
    letter-spacing: -.03em;
    font-size: 1.02rem;
}
.brand-star { color: var(--yellow); font-size: 1.4rem; }
.site-header.scrolled .brand-star { color: var(--violet); }
.site-nav { display: flex; align-items: center; gap: clamp(1.3rem, 2.4vw, 2.8rem); }
.site-nav a {
    color: inherit;
    text-decoration: none;
    font-size: .78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .09em;
}
.site-nav > a:not(.nav-ticket) { position: relative; }
.site-nav > a:not(.nav-ticket)::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -.35rem;
    width: 100%;
    height: 1px;
    background: currentColor;
    transform: scaleX(0);
    transform-origin: right;
    transition: transform .25s;
}
.site-nav > a:hover::after { transform: scaleX(1); transform-origin: left; }
.nav-ticket {
    display: flex;
    gap: 1.1rem;
    padding: .85rem 1.1rem;
    border: 1px solid currentColor;
}
.nav-ticket span { color: var(--yellow); }
.site-header.scrolled .nav-ticket span { color: var(--red); }
.menu-toggle { display: none; }

.hero {
    position: relative;
    min-height: min(920px, 100svh);
    overflow: hidden;
    padding: 9.5rem var(--gutter) 5rem;
    display: grid;
    grid-template-columns: minmax(0, .93fr) minmax(420px, .8fr);
    align-items: center;
    gap: 2rem;
    color: white;
    background:
        radial-gradient(circle at 73% 42%, rgba(64, 56, 190, .23), transparent 28%),
        radial-gradient(circle at 8% 84%, rgba(230, 29, 47, .12), transparent 20%),
        #08080b;
}
.grain {
    position: absolute;
    inset: 0;
    opacity: .15;
    pointer-events: none;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.88' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.6'/%3E%3C/svg%3E");
}
.hero-copy { position: relative; z-index: 3; max-width: 760px; }
/* Tytuły sekcji trzymamy w jednym foncie — nadkreślenie, nagłówek i numer
   sekcji korzystają z tego samego szeryfowego kroju. */
.eyebrow {
    margin: 0 0 1.25rem;
    display: flex;
    align-items: center;
    gap: .75rem;
    font-family: var(--serif);
    font-size: .78rem;
    font-weight: 400;
    letter-spacing: .22em;
    line-height: 1.2;
    text-transform: uppercase;
}
.eyebrow::before {
    content: "";
    width: 2rem;
    height: 2px;
    background: currentColor;
}
.hero .eyebrow { color: var(--yellow); }
.hero h1 {
    position: relative;
    z-index: 3;
    margin: 0;
}
.title-lockup {
    position: relative;
    display: block;
    width: min(64vw, 880px);
    max-width: 100%;
    aspect-ratio: 983.954759 / 188.651385;
    transform: rotate(-.6deg);
    filter: drop-shadow(0 .9rem 2rem rgba(0,0,0,.22));
}
.title-lockup::before,
.title-lockup::after {
    content: "";
    position: absolute;
    inset: 0;
    -webkit-mask: url("../images/brand/maly-ksiaze-title.acc5667bd605.svg") center / contain no-repeat;
    mask: url("../images/brand/maly-ksiaze-title.acc5667bd605.svg") center / contain no-repeat;
    mask-mode: alpha;
}
.title-lockup::before {
    display: none;
}
.title-lockup::after {
    background-image:
        url("data:image/svg+xml,%3Csvg viewBox='0 0 120 120' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.72' numOctaves='4' seed='7' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.72'/%3E%3C/svg%3E"),
        linear-gradient(100deg, #f4cf79 0%, #dca94e 34%, #f2d894 62%, #bd8435 100%);
    background-size: 105px 105px, 180% 100%;
    background-blend-mode: soft-light, normal;
    animation: titleInk 12s ease-in-out infinite alternate;
}
.hero-lead {
    max-width: 36rem;
    margin: 2.8rem 0 0;
    font-size: clamp(1rem, 1.4vw, 1.25rem);
    line-height: 1.55;
    color: rgba(255,255,255,.72);
}
.hero-actions {
    margin-top: 2.1rem;
    display: flex;
    align-items: center;
    gap: 2rem;
}
.button {
    min-height: 3.8rem;
    padding: 0 1.4rem;
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    text-decoration: none;
    font-size: .73rem;
    font-weight: 800;
    letter-spacing: .1em;
    text-transform: uppercase;
    transition: transform .25s, background .25s, color .25s;
}
.button:hover { transform: translateY(-3px); }
.button-primary { background: var(--yellow); color: var(--ink); }
.button-primary:hover { background: white; }
.text-link {
    padding: .7rem 0;
    color: white;
    text-decoration: none;
    border-bottom: 1px solid rgba(255,255,255,.45);
    font-size: .78rem;
    font-weight: 700;
}
.text-link span { margin-left: 1rem; color: var(--accent-soft); }
.director-note {
    margin: 2.3rem 0 0;
    font-size: .74rem;
    text-transform: uppercase;
    letter-spacing: .12em;
    color: rgba(255,255,255,.46);
}
.director-note strong { color: white; }
.hero-art {
    position: relative;
    z-index: 2;
    justify-self: end;
    width: min(50vw, 710px);
    align-self: end;
    margin-bottom: -6rem;
}
.prince-cutout {
    width: 100%;
    height: auto;
    display: block;
    filter: drop-shadow(0 1.5rem 3rem rgba(0, 0, 0, .4));
    transform: rotate(.4deg);
}
.art-caption {
    position: absolute;
    right: -1%;
    top: 37%;
    padding: .65rem .8rem;
    color: var(--ink);
    background: var(--yellow);
    font-size: .61rem;
    font-weight: 800;
    letter-spacing: .12em;
    text-transform: uppercase;
    transform: rotate(5deg);
}
.art-caption b { font-size: 1rem; }
.hero-side-note {
    position: absolute;
    z-index: 3;
    top: 50%;
    right: -11.5rem;
    margin: 0;
    color: rgba(255,255,255,.34);
    font-size: .58rem;
    font-weight: 700;
    letter-spacing: .16em;
    text-transform: uppercase;
    transform: rotate(90deg);
}
.orbit {
    position: absolute;
    border: 1px solid rgba(255,255,255,.13);
    border-radius: 50%;
    transform: rotate(-17deg);
}
.orbit-one { width: 48vw; height: 18vw; right: -6vw; top: 31%; }
.orbit-two { width: 27vw; height: 10vw; left: -12vw; bottom: 12%; }
.spark { position: absolute; line-height: 1; }
.spark-a { top: 15%; left: 48%; color: var(--violet); font-size: 4rem; transform: rotate(15deg); }
.spark-b { top: 20%; right: 4%; color: var(--yellow); font-size: 2.5rem; }
.spark-c { bottom: 10%; left: 43%; color: var(--accent); font-size: 3.4rem; }
.red-dot { position: absolute; width: .85rem; height: .85rem; border-radius: 50%; background: var(--red); }
.dot-a { top: 26%; left: 5%; }
.dot-b { right: 7%; bottom: 22%; width: 1.4rem; height: 1.4rem; }
.hero-scroll {
    position: absolute;
    z-index: 3;
    left: var(--gutter);
    bottom: 1.7rem;
    display: flex;
    align-items: center;
    gap: .7rem;
    color: rgba(255,255,255,.45);
    font-size: .63rem;
    font-weight: 700;
    letter-spacing: .14em;
    text-transform: uppercase;
}
.hero-scroll span { width: 2.7rem; height: 1px; background: currentColor; }

.manifesto {
    position: relative;
    padding: clamp(6rem, 11vw, 10rem) var(--gutter);
    display: grid;
    grid-template-columns: .15fr 1.05fr .75fr .65fr;
    gap: clamp(2rem, 4vw, 5rem);
    border-bottom: 1px solid var(--line);
}
.section-mark {
    align-self: start;
    font-family: var(--serif);
    font-style: italic;
    color: var(--red);
    font-size: 1.25rem;
}
.manifesto-heading h2, .section-heading h2, .journey h2, .finale h2 {
    margin: 0;
    font-family: var(--serif);
    font-weight: 400;
    font-size: clamp(3.5rem, 6vw, 7.1rem);
    line-height: .91;
    letter-spacing: -.055em;
}
em { color: var(--violet); font-weight: 400; }
.manifesto-copy { padding-top: 4rem; font-size: .97rem; line-height: 1.72; }
.manifesto-copy p { margin: 0 0 1.3rem; }
.manifesto-copy .lead-copy {
    font-family: var(--serif);
    font-size: 1.45rem;
    line-height: 1.35;
    letter-spacing: -.02em;
}
.planet-card {
    align-self: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.6rem;
}
.planet {
    position: relative;
    width: min(18vw, 230px);
    aspect-ratio: 1;
    border-radius: 50%;
    background: var(--ink);
    box-shadow: inset -1.5rem -1.2rem 0 var(--violet);
}
.planet::after {
    content: "";
    position: absolute;
    width: 145%;
    height: 28%;
    left: -23%;
    top: 35%;
    border: 2px solid var(--red);
    border-radius: 50%;
    transform: rotate(-18deg);
}
.planet-rose {
    position: absolute;
    z-index: 2;
    right: 9%;
    top: -8%;
    color: var(--ink);
    font-size: 2.3rem;
}
.planet-card p {
    margin: 0;
    font-family: var(--serif);
    font-size: 1.05rem;
    line-height: 1.35;
    text-align: center;
}
.planet-card p span { color: var(--red); font-style: italic; }

.journey {
    position: relative;
    padding: clamp(6rem, 10vw, 9rem) var(--gutter);
    color: white;
    background: var(--ink);
    overflow: hidden;
}
.journey::before {
    content: "";
    position: absolute;
    inset: 0;
    opacity: .11;
    background: linear-gradient(110deg, transparent 0 48%, var(--violet) 48% 62%, transparent 62%);
}
.journey-intro { position: relative; z-index: 2; }
.journey h2 { max-width: 870px; color: var(--paper); }
.journey .eyebrow { color: var(--yellow); }
.constellation { position: absolute; right: 6%; top: 10%; width: 25rem; height: 15rem; opacity: .5; }
.constellation::before, .constellation::after {
    content: "";
    position: absolute;
    width: 80%;
    height: 1px;
    left: 5%;
    top: 45%;
    background: rgba(255,255,255,.5);
    transform: rotate(17deg);
}
.constellation::after { width: 55%; left: 35%; top: 58%; transform: rotate(-30deg); }
.constellation span {
    position: absolute;
    z-index: 2;
    width: .55rem;
    height: .55rem;
    border-radius: 50%;
    background: var(--yellow);
    box-shadow: 0 0 0 .4rem rgba(244,187,11,.16);
}
.constellation span:nth-child(1) { left: 4%; top: 42%; }
.constellation span:nth-child(2) { left: 45%; top: 53%; }
.constellation span:nth-child(3) { right: 6%; top: 15%; }
.constellation span:nth-child(4) { right: 0; bottom: 7%; }

/* Osiem planet trzyma siatka, a nie pozycje absolutne — dzięki temu dodanie
   kolejnej nie wymaga przeliczania współrzędnych. Trasa lotu i gwiazdy leżą
   nad siatką jako dekoracja. */
.universe-map {
    position: relative;
    z-index: 2;
    width: min(100%, 1200px);
    margin: clamp(5rem, 9vw, 9rem) auto 0;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: clamp(3rem, 5vw, 5rem) clamp(1.2rem, 2.4vw, 2.2rem);
}
.flight-path {
    position: absolute;
    z-index: 0;
    inset: 0;
    width: 100%;
    height: 100%;
    overflow: visible;
    pointer-events: none;
}
.flight-path path { fill: none; vector-effect: non-scaling-stroke; }
.flight-path-shadow { stroke: rgba(255,255,255,.1); stroke-width: 1; }
.flight-path-dash {
    stroke: rgba(244,187,11,.66);
    stroke-width: 1.5;
    stroke-dasharray: 5 11;
    animation: routeFlow 18s linear infinite;
}
.world {
    position: relative;
    z-index: 2;
    color: var(--paper);
}
/* Kolejność planet musi zgadzać się z trasą lotu: górny rząd biegnie w prawo,
   a przerywana linia wraca dołem w lewo, więc drugi rząd układamy odwrotnie. */
.world:nth-of-type(1) { grid-area: 1 / 1; }
.world:nth-of-type(2) { grid-area: 1 / 2; }
.world:nth-of-type(3) { grid-area: 1 / 3; }
.world:nth-of-type(4) { grid-area: 1 / 4; }
.world:nth-of-type(5) { grid-area: 2 / 4; }
.world:nth-of-type(6) { grid-area: 2 / 3; }
.world:nth-of-type(7) { grid-area: 2 / 2; }
.world:nth-of-type(8) { grid-area: 2 / 1; }
/* Lekkie przesunięcia w pionie, żeby rząd planet nie czytał się jak tabela. */
.world:nth-of-type(4n+2) { margin-top: 3.6rem; }
.world:nth-of-type(4n+3) { margin-top: -1.2rem; }
.world:nth-of-type(4n+4) { margin-top: 2.4rem; }
.world-visual {
    position: relative;
    width: 100%;
    height: 12rem;
    display: grid;
    place-items: center;
    transition: transform .5s cubic-bezier(.2,.8,.2,1);
}
.world:hover .world-visual { transform: translateY(-.8rem) scale(1.04); }
.world-planet {
    --planet-size: 8.5rem;
    position: relative;
    width: var(--planet-size);
    aspect-ratio: 1;
    display: grid;
    place-items: center;
    overflow: visible;
    border-radius: 50%;
    box-shadow: inset -1.2rem -1rem 0 rgba(0,0,0,.17), 0 1.5rem 3rem rgba(0,0,0,.3);
    animation: planetFloat 6s ease-in-out infinite;
}
.world:nth-of-type(2) .world-planet { animation-delay: -1.7s; }
.world:nth-of-type(3) .world-planet { animation-delay: -3.4s; }
.world:nth-of-type(4) .world-planet { animation-delay: -2.3s; }
.world:nth-of-type(5) .world-planet { animation-delay: -4.8s; }
.world:nth-of-type(6) .world-planet { animation-delay: -.8s; }
.world:nth-of-type(7) .world-planet { animation-delay: -2.9s; }
.world:nth-of-type(8) .world-planet { animation-delay: -4.1s; }
.world-planet::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    opacity: .26;
    background-image: radial-gradient(rgba(255,255,255,.7) .8px, transparent .9px);
    background-size: 7px 7px;
    mask-image: linear-gradient(135deg, black, transparent 75%);
}
.world-planet::after {
    content: "";
    position: absolute;
    width: 145%;
    height: 28%;
    border: 1px solid rgba(255,255,255,.55);
    border-radius: 50%;
    transform: rotate(-18deg);
}
.world-planet i {
    position: relative;
    z-index: 2;
    color: var(--ink);
    font-family: var(--serif);
    font-size: 2.6rem;
    font-style: normal;
}
.planet-b612 {
    --planet-size: 10.5rem;
    background: linear-gradient(145deg, var(--violet), #292373);
}
.planet-b612 img {
    position: absolute;
    z-index: 3;
    top: -3.2rem;
    right: -1.7rem;
    width: 8rem;
    height: auto;
    transform: rotate(-18deg);
    animation: roseSway 5s ease-in-out infinite;
}
.planet-king { --planet-size: 7.6rem; background: linear-gradient(145deg, var(--yellow), #d86f16); }
.planet-king::after { border-color: var(--red); transform: rotate(19deg); }
.planet-vain { --planet-size: 9rem; background: linear-gradient(145deg, var(--magenta), #6f2fa8); }
.planet-vain i { color: var(--yellow); font-size: 4.8rem; }
.planet-banker { --planet-size: 7.8rem; background: linear-gradient(145deg, #4ccca2, #20776b); }
.planet-banker i { width: 3rem; color: var(--ink); font-family: var(--sans); font-size: 1rem; font-weight: 900; line-height: 1.1; letter-spacing: .15em; }
.planet-lamp {
    --planet-size: 9.7rem;
    overflow: hidden;
    background: linear-gradient(145deg, #ea392f, #651e47);
}
.planet-lamp i {
    width: 1.2rem;
    height: 3.8rem;
    border-radius: .2rem .2rem 1rem 1rem;
    background: var(--ink);
}
.planet-lamp i::before {
    content: "";
    position: absolute;
    left: 50%;
    top: -1.6rem;
    width: 1.7rem;
    height: 1.7rem;
    border-radius: 50% 50% 45% 45%;
    background: var(--yellow);
    box-shadow: 0 0 2.2rem .7rem rgba(244,187,11,.8);
    transform: translateX(-50%);
    animation: lampGlow 2.5s ease-in-out infinite;
}
.planet-drunk { --planet-size: 8.2rem; background: linear-gradient(145deg, #8f5bd8, #2b1a52); }
.planet-drunk i {
    width: 2.5rem;
    height: 2rem;
    border: .3rem solid var(--ink);
    border-top: 0;
    border-radius: 0 0 1.3rem 1.3rem;
    transform: rotate(-14deg);
}
.planet-drunk i::before,
.planet-drunk i::after {
    content: "";
    position: absolute;
    left: 50%;
    background: var(--ink);
    transform: translateX(-50%);
}
.planet-drunk i::before { bottom: -1.1rem; width: .3rem; height: 1.1rem; }
.planet-drunk i::after { bottom: -1.4rem; width: 1.5rem; height: .3rem; border-radius: .2rem; }
.planet-geo { --planet-size: 8rem; background: linear-gradient(145deg, #e8dfc8, #9c8f68); }
.planet-geo i {
    width: 3.5rem;
    height: 3.5rem;
    border: .16rem solid var(--ink);
    border-radius: 50%;
}
.planet-geo i::before,
.planet-geo i::after {
    content: "";
    position: absolute;
    inset: -.16rem;
    border: .16rem solid var(--ink);
    border-radius: 50%;
}
.planet-geo i::before { transform: scaleX(.45); }
.planet-geo i::after { transform: scaleY(.45); }
.planet-earth { --planet-size: 8.8rem; background: linear-gradient(145deg, #5362df, #24237b); }
.planet-earth i { color: var(--mint); font-size: 5rem; transform: rotate(-22deg); }
.world-copy { margin-top: .35rem; }
.world-copy span {
    color: var(--yellow);
    font-size: .57rem;
    font-weight: 800;
    letter-spacing: .15em;
    text-transform: uppercase;
}
.world-copy h3 {
    margin: .45rem 0 .55rem;
    font-family: var(--serif);
    font-size: clamp(2rem, 3.5vw, 3.5rem);
    font-weight: 400;
    letter-spacing: -.05em;
    line-height: .85;
}
.world-copy p {
    max-width: 15rem;
    margin: 0;
    color: rgba(255,255,255,.5);
    font-size: .75rem;
    line-height: 1.55;
}
.little-traveller {
    position: absolute;
    z-index: 4;
    left: 0;
    top: 0;
    color: var(--yellow);
    font-size: 1.5rem;
    filter: drop-shadow(0 0 .65rem var(--yellow));
    offset-path: path("M115 160 C250 25 410 250 570 150 S880 5 1055 175 C1210 330 1020 435 920 505 S680 735 535 600 S240 455 120 650");
    offset-rotate: auto 90deg;
    animation: travellerFlight 24s linear infinite;
}
.space-star {
    position: absolute;
    z-index: 1;
    color: var(--accent);
    line-height: 1;
    pointer-events: none;
}
.space-star-a { left: 23%; top: 4%; font-size: 2rem; animation: starWanderA 9s ease-in-out infinite; }
.space-star-b { right: 27%; top: 42%; color: var(--violet); font-size: 3.5rem; animation: starWanderB 12s ease-in-out infinite; }
.space-star-c { left: 21%; bottom: 13%; color: var(--yellow); font-size: 1.4rem; animation: starWanderA 7s ease-in-out -3s infinite; }
.space-star-d { right: 8%; top: 39%; color: var(--red); font-size: 3rem; animation: starWanderB 10s ease-in-out -5s infinite; }

.quote-section {
    position: relative;
    min-height: 32rem;
    padding: 6rem var(--gutter);
    display: grid;
    place-items: center;
    overflow: hidden;
    background: var(--yellow);
}
.quote-section blockquote { max-width: 920px; margin: 0; text-align: center; }
.quote-section blockquote p {
    margin: 0;
    font-family: var(--serif);
    font-size: clamp(2.5rem, 5vw, 5.7rem);
    line-height: .98;
    letter-spacing: -.045em;
}
.quote-mark {
    display: block;
    height: 3.8rem;
    color: var(--red);
    font-family: var(--serif);
    font-size: 7rem;
    line-height: .8;
}
.quote-star {
    position: absolute;
    width: clamp(8rem, 17vw, 15rem);
    height: auto;
    pointer-events: none;
    user-select: none;
}
.star-left { left: -3%; bottom: -5%; transform: rotate(-14deg); }
.star-right { right: 1%; top: 5%; width: clamp(6rem, 12vw, 10rem); transform: rotate(17deg); }

/* ——— Galeria kadrów ———
   Kadr otwierający na pełną szerokość, pod nim mozaika w kolumnach (masonry
   na `columns`, więc nigdy nie zostawia dziur). Każde zdjęcie otwiera się
   w powiększeniu — obsługa w site.js. */
.gallery {
    position: relative;
    padding: clamp(6rem, 11vw, 10rem) var(--gutter);
    color: white;
    background: var(--ink);
    overflow: hidden;
}
.gallery::before {
    content: "KADRY";
    position: absolute;
    left: -.04em;
    bottom: -.19em;
    color: rgba(255,255,255,.03);
    font-size: clamp(8rem, 23vw, 24rem);
    font-weight: 900;
    letter-spacing: -.1em;
    line-height: 1;
    pointer-events: none;
}
.gallery-heading { position: relative; z-index: 3; border-color: rgba(255,255,255,.18); }
.gallery-heading .eyebrow { color: var(--yellow); }
.gallery-heading h2 em { color: var(--accent-soft); }
.gallery-intro {
    position: relative;
    z-index: 3;
    max-width: 34rem;
    margin: 2.5rem 0 0;
    color: rgba(255,255,255,.56);
    font-size: .94rem;
    line-height: 1.7;
}
.gallery-hero {
    position: relative;
    z-index: 2;
    margin: clamp(3rem, 6vw, 4.5rem) 0 clamp(.8rem, 1.6vw, 1.4rem);
    overflow: hidden;
    border: 1px solid rgba(255,255,255,.14);
    background: #14141a;
}
.gallery-hero .shot-open img {
    height: clamp(18rem, 44vw, 36rem);
    object-fit: cover;
    object-position: center 40%;
    transform: translate3d(0, var(--depth, 0%), 0) scale(1.06);
}
.gallery-hero .shot-open:hover img,
.gallery-hero .shot-open:focus-visible img { transform: translate3d(0, var(--depth, 0%), 0) scale(1.1); }
.gallery-mosaic {
    position: relative;
    z-index: 2;
    columns: 3;
    column-gap: clamp(.8rem, 1.6vw, 1.4rem);
}
.shot {
    position: relative;
    margin: 0 0 clamp(.8rem, 1.6vw, 1.4rem);
    overflow: hidden;
    break-inside: avoid;
    border: 1px solid rgba(255,255,255,.1);
    background: #14141a;
}
.shot-open {
    position: relative;
    display: block;
    width: 100%;
    padding: 0;
    border: 0;
    overflow: hidden;
    background: none;
    cursor: zoom-in;
}
.shot-open img {
    display: block;
    width: 100%;
    height: auto;
    filter: saturate(.86) contrast(1.05);
    transition: transform 1.1s cubic-bezier(.2,.8,.2,1), filter .6s;
}
.shot-open::after {
    content: "⤢";
    position: absolute;
    z-index: 3;
    right: .7rem;
    top: .7rem;
    width: 2rem;
    height: 2rem;
    display: grid;
    place-items: center;
    border-radius: 50%;
    color: var(--ink);
    background: var(--yellow);
    font-size: .85rem;
    opacity: 0;
    transform: scale(.7);
    transition: opacity .35s, transform .35s;
}
.shot-open:hover img,
.shot-open:focus-visible img { transform: scale(1.05); filter: saturate(1.04) contrast(1); }
.shot-open:hover::after,
.shot-open:focus-visible::after { opacity: 1; transform: none; }
.shot-open:focus-visible { outline: 2px solid var(--yellow); outline-offset: 3px; }
.gallery figcaption {
    position: absolute;
    z-index: 2;
    inset: auto 0 0;
    padding: 3.5rem 1.1rem 1rem;
    display: flex;
    flex-direction: column;
    gap: .4rem;
    background: linear-gradient(to top, rgba(5,5,8,.9), transparent);
    pointer-events: none;
}
.gallery figcaption span {
    color: var(--yellow);
    font-size: .58rem;
    font-weight: 800;
    letter-spacing: .16em;
    text-transform: uppercase;
}
.gallery figcaption strong {
    font-family: var(--serif);
    font-size: clamp(1.2rem, 1.8vw, 1.7rem);
    font-weight: 400;
    line-height: 1.05;
    letter-spacing: -.02em;
}
.gallery-hero figcaption { padding: 5rem clamp(1.2rem, 3vw, 2.5rem) clamp(1.2rem, 3vw, 2rem); }
.gallery-hero figcaption strong { font-size: clamp(1.8rem, 4.5vw, 4rem); line-height: .95; }
.gallery-credit {
    position: relative;
    z-index: 2;
    margin: 1.6rem 0 0;
    color: var(--yellow);
    font-family: var(--serif);
    font-size: 1.15rem;
    font-style: italic;
}

.lightbox {
    position: fixed;
    z-index: 200;
    inset: 0;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: clamp(.4rem, 1.5vw, 1.5rem);
    padding: clamp(1rem, 4vw, 3rem);
    background: rgba(4,4,6,.95);
    opacity: 0;
    transition: opacity .3s ease;
}
.lightbox[hidden] { display: none; }
.lightbox.is-open { opacity: 1; }
.lightbox-frame {
    margin: 0;
    justify-self: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}
.lightbox-frame img {
    max-width: 100%;
    max-height: 76vh;
    border: 1px solid rgba(255,255,255,.16);
    transform: scale(.97);
    transition: transform .35s cubic-bezier(.2,.8,.2,1);
}
.lightbox.is-open .lightbox-frame img { transform: none; }
.lightbox-frame figcaption {
    display: flex;
    align-items: baseline;
    gap: 1rem;
    color: white;
}
.lightbox-frame figcaption strong {
    font-family: var(--serif);
    font-size: clamp(1.1rem, 2.4vw, 1.7rem);
    font-weight: 400;
}
.lightbox-frame figcaption span {
    color: var(--yellow);
    font-size: .7rem;
    font-weight: 800;
    letter-spacing: .14em;
}
.lightbox-nav,
.lightbox-close {
    width: 3rem;
    height: 3rem;
    display: grid;
    place-items: center;
    border: 1px solid rgba(255,255,255,.3);
    border-radius: 50%;
    color: white;
    background: rgba(255,255,255,.06);
    font-size: 1.5rem;
    line-height: 1;
    cursor: pointer;
    transition: color .25s, background .25s, border-color .25s;
}
.lightbox-nav:hover,
.lightbox-close:hover { color: var(--ink); background: var(--yellow); border-color: var(--yellow); }
.lightbox-close {
    position: absolute;
    z-index: 3;
    right: clamp(1rem, 4vw, 3rem);
    top: clamp(1rem, 4vw, 3rem);
    font-size: 1.1rem;
}

.section-shell { padding: clamp(6rem, 10vw, 10rem) var(--gutter); }
.section-heading {
    display: flex;
    justify-content: space-between;
    align-items: end;
    padding-bottom: 3.5rem;
    border-bottom: 1px solid var(--line);
}
.section-heading .eyebrow { color: var(--red); }
.section-index {
    margin: 0 0 .7rem;
    font-family: var(--serif);
    font-size: 1rem;
    font-style: italic;
}
.cast {
    position: relative;
    background: var(--paper);
    overflow: hidden;
}
/* Gwiazda z plakatu — ten sam element, który zdobi karty obsady od teatru. */
.cast-star {
    position: absolute;
    z-index: 0;
    right: -7rem;
    top: -5rem;
    width: clamp(14rem, 26vw, 24rem);
    height: auto;
    opacity: .55;
    pointer-events: none;
}
.cast .section-heading,
.cast-grid { position: relative; z-index: 2; }
.cast-grid {
    padding-top: clamp(2.5rem, 5vw, 4.5rem);
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: clamp(1.8rem, 3vw, 3rem) clamp(1rem, 2vw, 2rem);
}
.cast-card { min-width: 0; }
.cast-portrait {
    position: relative;
    aspect-ratio: 1;
    display: grid;
    place-items: center;
    overflow: hidden;
    background: var(--ink);
}
.cast-portrait img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    filter: saturate(.9) contrast(1.04);
    transition: transform 1s cubic-bezier(.2,.8,.2,1), filter .5s;
}
.cast-card:hover .cast-portrait img { transform: scale(1.055); filter: none; }
.cast-portrait::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(5,5,8,.55), transparent 45%);
    pointer-events: none;
}
.cast-index {
    position: absolute;
    z-index: 2;
    left: .75rem;
    top: .5rem;
    color: var(--yellow);
    font-family: var(--serif);
    font-size: .95rem;
    font-style: italic;
}
.cast-initials {
    color: rgba(255,255,255,.8);
    font-family: var(--serif);
    font-size: clamp(3rem, 7vw, 5rem);
    font-style: italic;
}
.cast-body { padding: 1.1rem .1rem 0; }
.cast-role {
    margin: 0 0 .5rem;
    color: var(--accent);
    font-size: .64rem;
    font-weight: 800;
    letter-spacing: .15em;
    line-height: 1.3;
    text-transform: uppercase;
}
.cast-body h3 {
    margin: 0;
    font-family: var(--serif);
    font-size: clamp(1.35rem, 1.9vw, 1.85rem);
    font-weight: 400;
    letter-spacing: -.025em;
    line-height: 1.02;
}
.cast-note {
    margin: .55rem 0 0;
    color: rgba(10,10,13,.55);
    font-size: .74rem;
    line-height: 1.45;
}
.cast-empty { padding: 4rem 0; font-family: var(--serif); font-size: 2rem; }

/* Twórcy — domyka blok „ludzi tej opowieści", ten sam papierowy klimat co obsada. */
.crew { position: relative; background: var(--paper); overflow: hidden; }
.crew .section-heading .eyebrow { color: var(--red); }
.crew-grid {
    padding-top: clamp(2.5rem, 5vw, 4.5rem);
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: clamp(1.6rem, 3vw, 2.6rem) clamp(1.6rem, 3vw, 3rem);
}
.crew-item {
    min-width: 0;
    padding-top: 1.3rem;
    border-top: 1px solid var(--line);
}
.crew-item dt {
    margin: 0 0 .55rem;
    color: var(--accent);
    font-size: .64rem;
    font-weight: 800;
    letter-spacing: .15em;
    line-height: 1.3;
    text-transform: uppercase;
}
.crew-item dd {
    margin: 0;
    font-family: var(--serif);
    font-size: clamp(1.2rem, 1.7vw, 1.7rem);
    font-weight: 400;
    letter-spacing: -.02em;
    line-height: 1.12;
}

.events { color: white; background: #0b0b0e; }
.events .section-heading { border-color: rgba(255,255,255,.22); }
.events .section-heading .eyebrow { color: var(--yellow); }
.events .section-heading em { color: var(--accent); }
.event-list { padding-top: 2.5rem; }
.event-row {
    min-height: 9rem;
    display: grid;
    grid-template-columns: 1.05fr 2fr .7fr auto;
    align-items: center;
    gap: clamp(1rem, 3vw, 3rem);
    border-bottom: 1px solid rgba(255,255,255,.22);
    transition: padding .25s, background .25s;
}
.event-row:hover { padding-left: 1rem; padding-right: 1rem; background: rgba(255,255,255,.04); }
.event-date { display: flex; align-items: center; gap: 1rem; }
.event-day { display: flex; flex-direction: column; align-items: center; }
.event-day > span { min-width: 1.25em; font-family: var(--serif); font-size: clamp(3.5rem, 6vw, 6rem); line-height: 1; text-align: center; color: var(--yellow); }
.event-day em {
    margin-top: .3rem;
    color: var(--accent-soft);
    font-size: .6rem;
    font-style: normal;
    font-weight: 800;
    letter-spacing: .1em;
    text-transform: uppercase;
}
.event-month { font-size: .68rem; font-weight: 800; line-height: 1.5; letter-spacing: .12em; text-transform: uppercase; }
.event-place p, .event-time span {
    margin: 0 0 .35rem;
    color: rgba(255,255,255,.45);
    font-size: .65rem;
    font-weight: 800;
    letter-spacing: .14em;
    text-transform: uppercase;
}
.event-place h3 { margin: 0; font-family: var(--serif); font-size: clamp(1.5rem, 2.6vw, 2.4rem); font-weight: 400; }
.event-place > span { display: block; margin-top: .35rem; color: var(--accent-soft); font-size: .75rem; }
.event-time strong { display: block; font-family: var(--serif); font-size: 1.65rem; font-weight: 400; }
.ticket-button {
    min-width: 10.5rem;
    padding: 1rem 1.15rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--ink);
    background: var(--yellow);
    text-decoration: none;
    font-size: .7rem;
    font-weight: 800;
    letter-spacing: .1em;
    text-transform: uppercase;
    transition: background .25s, transform .25s;
}
.ticket-button:hover { background: white; transform: rotate(-1deg); }
.ticket-button i { font-size: 1.1rem; font-style: normal; }
.event-empty {
    min-height: 24rem;
    display: grid;
    grid-template-columns: .65fr 1fr;
    align-items: center;
    gap: 4rem;
    border-bottom: 1px solid rgba(255,255,255,.2);
}
.event-empty .eyebrow { color: var(--yellow); }
.event-empty h3 { margin: 0 0 1rem; font-family: var(--serif); font-size: clamp(2.7rem, 5vw, 5rem); font-weight: 400; line-height: .95; }
.event-empty > div > p:last-child { max-width: 34rem; color: rgba(255,255,255,.55); line-height: 1.6; }
.empty-orbit {
    position: relative;
    justify-self: center;
    width: min(22vw, 220px);
    aspect-ratio: 1;
    display: grid;
    place-items: center;
    border: 1px solid rgba(255,255,255,.3);
    border-radius: 50%;
}
.empty-orbit::before {
    content: "";
    position: absolute;
    width: 150%;
    height: 35%;
    border: 1px solid var(--accent);
    border-radius: 50%;
    transform: rotate(-25deg);
}
.empty-orbit span { color: var(--yellow); font-size: 5rem; }

.finale {
    position: relative;
    min-height: 46rem;
    padding: 7rem var(--gutter);
    display: grid;
    place-items: center;
    overflow: hidden;
    color: white;
    background: linear-gradient(160deg, #322cae, #17143f 70%);
}
.finale-content { position: relative; z-index: 3; text-align: center; }
.finale .eyebrow { justify-content: center; }
.finale h2 { margin-bottom: 2.5rem; font-size: clamp(5rem, 11vw, 11rem); line-height: .7; }
.finale h2 em { color: var(--yellow); text-shadow: 3px 3px 0 var(--ink); }
.button-dark { color: white; background: var(--ink); }
.button-dark:hover { color: var(--ink); background: var(--yellow); }
.finale-sun {
    position: absolute;
    width: clamp(24rem, 55vw, 48rem);
    aspect-ratio: 1;
    border-radius: 50%;
    background: var(--red);
    box-shadow: inset -5rem -4rem 0 rgba(72,67,210,.3);
}
.finale-sun::after {
    content: "";
    position: absolute;
    width: 142%;
    height: 30%;
    left: -21%;
    top: 35%;
    border: 2px solid var(--yellow);
    border-radius: 50%;
    transform: rotate(-14deg);
}
.finale-star { position: absolute; z-index: 2; font-size: 8rem; }
.star-one { left: 7%; top: 16%; color: var(--violet); transform: rotate(14deg); }
.star-two { right: 5%; bottom: 11%; color: var(--yellow); transform: rotate(-17deg); }

.site-footer {
    padding: clamp(2.5rem, 5vw, 3.5rem) var(--gutter);
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 2rem clamp(2rem, 5vw, 4rem);
    color: white;
    background: var(--ink);
    font-size: .72rem;
}
.footer-main { display: flex; flex-wrap: wrap; align-items: center; gap: .9rem 2rem; }
.footer-brand { font-size: 1rem; font-weight: 800; }
.footer-brand span { color: var(--yellow); margin-right: .55rem; }
.footer-lead { margin: 0; color: rgba(255,255,255,.5); }
.footer-links { display: flex; flex-wrap: wrap; gap: 1.6rem; }
.footer-links a { text-decoration: none; font-weight: 700; }
.footer-links a:hover { color: var(--yellow); }
/* Informacja i logotyp wymagane umową o prawa autorskie. */
.footer-source {
    justify-self: end;
    display: flex;
    align-items: center;
    gap: 1.1rem;
}
.footer-logo {
    flex: none;
    display: block;
    width: 9.5rem;
    padding: .55rem .75rem;
    border-radius: .35rem;
    background: white;
    transition: transform .3s;
}
.footer-logo:hover { transform: translateY(-2px); }
.footer-logo img { width: 100%; height: auto; display: block; }
.footer-source p {
    max-width: 13rem;
    margin: 0;
    color: rgba(255,255,255,.55);
    line-height: 1.55;
}
.copyright {
    grid-column: 1 / -1;
    margin: 0;
    padding-top: 1.6rem;
    border-top: 1px solid rgba(255,255,255,.12);
    color: rgba(255,255,255,.4);
}

.prince-cutout { transform-origin: 54% 82%; animation: princeBreathe 7s ease-in-out infinite; }
.art-caption { animation: labelHover 5s ease-in-out infinite; }
.orbit-one { animation: orbitSpin 38s linear infinite; }
.orbit-two { animation: orbitSpin 27s linear reverse infinite; }
.spark-a { animation: starWanderA 8s ease-in-out infinite; }
.spark-b { animation: starWanderB 10s ease-in-out -3s infinite; }
.spark-c { animation: starWanderA 12s ease-in-out -6s infinite; }
.red-dot { animation: dotDrift 9s ease-in-out infinite; }
.dot-b { animation-delay: -4s; }
.planet { animation: planetFloat 7s ease-in-out infinite; }
.constellation span { animation: twinkle 3s ease-in-out infinite; }
.constellation span:nth-child(2) { animation-delay: -.8s; }
.constellation span:nth-child(3) { animation-delay: -1.7s; }
.constellation span:nth-child(4) { animation-delay: -2.2s; }
.star-left { animation: quoteStarLeft 9s ease-in-out infinite; }
.star-right { animation: quoteStarRight 7s ease-in-out -2s infinite; }
.star-one { animation: finaleStarOne 8s ease-in-out infinite; }
.star-two { animation: finaleStarTwo 10s ease-in-out -4s infinite; }

@keyframes roseDrift {
    0%, 100% { transform: translate3d(0, 0, 0) rotate(-3deg); }
    50% { transform: translate3d(.25rem, -.6rem, 0) rotate(3deg); }
}
@keyframes titleInk {
    from { background-position: 0 0, 0% 50%; }
    to { background-position: 0 0, 100% 50%; }
}
@keyframes routeFlow {
    to { stroke-dashoffset: -160; }
}
@keyframes travellerFlight {
    from { offset-distance: 0%; }
    to { offset-distance: 100%; }
}
@keyframes planetFloat {
    0%, 100% { transform: translate3d(0, 0, 0) rotate(-1deg); }
    50% { transform: translate3d(0, -.65rem, 0) rotate(1.5deg); }
}
@keyframes princeBreathe {
    0%, 100% { transform: translate3d(0, 0, 0) rotate(.4deg) scale(1); }
    50% { transform: translate3d(0, -.45rem, 0) rotate(-.25deg) scale(1.012); }
}
@keyframes roseSway {
    0%, 100% { transform: rotate(-18deg) translate3d(0, 0, 0); }
    50% { transform: rotate(-12deg) translate3d(.15rem, -.35rem, 0); }
}
@keyframes labelHover {
    0%, 100% { transform: translate3d(0, 0, 0) rotate(5deg); }
    50% { transform: translate3d(.25rem, -.5rem, 0) rotate(2deg); }
}
@keyframes orbitSpin {
    from { transform: rotate(-17deg); }
    to { transform: rotate(343deg); }
}
@keyframes starWanderA {
    0%, 100% { transform: translate3d(0, 0, 0) rotate(0deg); }
    35% { transform: translate3d(1.1rem, -.8rem, 0) rotate(18deg); }
    70% { transform: translate3d(-.5rem, .6rem, 0) rotate(-12deg); }
}
@keyframes starWanderB {
    0%, 100% { transform: translate3d(0, 0, 0) rotate(0deg) scale(1); }
    45% { transform: translate3d(-1.4rem, .7rem, 0) rotate(-20deg) scale(1.08); }
    75% { transform: translate3d(.45rem, -.7rem, 0) rotate(12deg) scale(.96); }
}
@keyframes dotDrift {
    0%, 100% { transform: translate3d(0, 0, 0); }
    50% { transform: translate3d(1.2rem, -1rem, 0); }
}
@keyframes twinkle {
    0%, 100% { opacity: .35; transform: scale(.75); }
    50% { opacity: 1; transform: scale(1.15); }
}
@keyframes lampGlow {
    0%, 100% { opacity: .72; transform: translateX(-50%) scale(.9); }
    50% { opacity: 1; transform: translateX(-50%) scale(1.08); }
}
@keyframes quoteStarLeft {
    0%, 100% { transform: translate3d(0, 0, 0) rotate(-14deg); }
    50% { transform: translate3d(1rem, -1rem, 0) rotate(-8deg); }
}
@keyframes quoteStarRight {
    0%, 100% { transform: translate3d(0, 0, 0) rotate(17deg); }
    50% { transform: translate3d(-.7rem, .8rem, 0) rotate(25deg); }
}
@keyframes finaleStarOne {
    0%, 100% { transform: translate3d(0, 0, 0) rotate(14deg); }
    50% { transform: translate3d(1rem, -.7rem, 0) rotate(24deg); }
}
@keyframes finaleStarTwo {
    0%, 100% { transform: translate3d(0, 0, 0) rotate(-17deg); }
    50% { transform: translate3d(-1.2rem, .8rem, 0) rotate(-27deg); }
}

[data-motion]:not(.motion-active) .world-planet,
[data-motion]:not(.motion-active) .flight-path-dash,
[data-motion]:not(.motion-active) .little-traveller,
[data-motion]:not(.motion-active) .space-star,
[data-motion]:not(.motion-active) .quote-star,
[data-motion]:not(.motion-active) .finale-star {
    animation-play-state: paused;
}

.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity .75s ease, transform .75s ease; }
.js .reveal.is-visible { opacity: 1; transform: none; }
@media (max-width: 980px) {
    .site-header { height: 4.7rem; }
    .menu-toggle {
        position: relative;
        z-index: 2;
        display: flex;
        align-items: center;
        gap: .7rem;
        color: inherit;
        background: none;
        border: 0;
        font: inherit;
        font-size: .68rem;
        font-weight: 800;
        letter-spacing: .1em;
        text-transform: uppercase;
        cursor: pointer;
    }
    .menu-icon { width: 1.7rem; display: grid; gap: .35rem; }
    .menu-icon i { display: block; height: 2px; background: currentColor; transition: transform .25s; }
    .menu-toggle[aria-expanded="true"] .menu-icon i:first-child { transform: translateY(4px) rotate(45deg); }
    .menu-toggle[aria-expanded="true"] .menu-icon i:last-child { transform: translateY(-3px) rotate(-45deg); }
    .site-nav {
        position: fixed;
        left: 0;
        top: 0;
        width: 100%;
        height: 100svh;
        padding: 7rem var(--gutter) 3rem;
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        justify-content: center;
        gap: 1rem;
        overflow-y: auto;
        overscroll-behavior: contain;
        background: var(--violet);
        visibility: hidden;
        transform: translateY(-100%);
        transition: transform .45s cubic-bezier(.75,0,.25,1), visibility .45s;
    }
    .site-nav.open { visibility: visible; transform: none; }
    .site-header.menu-open { color: white; }
    .site-header.menu-open::before { opacity: 0; }
    .site-header.menu-open .brand-star { color: var(--yellow); }
    .site-nav a { font-family: var(--serif); font-size: clamp(2.4rem, 8vw, 4.5rem); font-weight: 400; letter-spacing: -.04em; text-transform: none; }
    .site-nav .nav-ticket { margin-top: 1rem; padding: .8rem 1rem; font-family: var(--sans); font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; }
    .hero { grid-template-columns: 1fr .82fr; min-height: 920px; }
    .hero h1 { font-size: clamp(5.3rem, 14vw, 8rem); }
    .hero-art { width: 62vw; margin-right: -17vw; }
    .manifesto { grid-template-columns: .12fr 1fr 1fr; }
    .manifesto-copy { padding-top: 2rem; }
    .planet-card { grid-column: 2 / -1; flex-direction: row; margin-top: 2rem; }
    .planet { width: 170px; }
    .event-row {
        min-height: 0;
        padding: 1.6rem 0;
        grid-template-columns: auto minmax(0, 1fr);
        gap: .45rem 1.4rem;
    }
    .event-date { grid-column: 1; grid-row: 1 / span 2; }
    .event-place { grid-column: 2; grid-row: 1; }
    .event-time {
        grid-column: 2;
        grid-row: 2;
        display: flex;
        align-items: baseline;
        gap: .6rem;
    }
    .event-time span { margin: 0; }
    .event-time strong { font-size: 1.2rem; }
    .ticket-button {
        grid-column: 1 / -1;
        justify-self: start;
        min-width: 0;
        margin-top: .9rem;
        padding: .85rem 1.1rem;
        gap: 1.6rem;
    }
    .site-footer { grid-template-columns: minmax(0, 1fr); }
    .footer-source { justify-self: start; }
}

@media (max-width: 700px) {
    :root { --gutter: 1.25rem; }
    .hero {
        min-height: 820px;
        padding-top: 7.5rem;
        padding-bottom: 3.5rem;
        grid-template-columns: 1fr;
        align-content: start;
    }
    .hero-copy { z-index: 4; }
    .hero h1 { font-size: clamp(4.5rem, 24vw, 7.3rem); line-height: .76; }
    .hero h1 .title-accent { margin-left: 1rem; }
    .hero-lead { max-width: 19rem; margin-top: 1.8rem; font-size: .95rem; }
    .hero-actions { align-items: flex-start; flex-direction: column; gap: .65rem; }
    .director-note { margin-top: 1rem; font-size: .62rem; }
    .hero-art {
        position: absolute;
        right: -10rem;
        bottom: -2rem;
        width: 32rem;
        opacity: .63;
        margin: 0;
    }
    .art-caption { display: none; }
    .spark-a { left: auto; right: 6%; }
    .spark-c { display: none; }
    .hero-scroll { display: none; }
    .manifesto { padding-top: 5.5rem; grid-template-columns: 1fr; gap: 1.5rem; }
    .section-mark { display: none; }
    .manifesto-heading h2 { font-size: clamp(3.8rem, 17vw, 5.8rem); }
    .manifesto-copy { padding: 1.5rem 0 0; }
    .planet-card { grid-column: auto; flex-direction: column; margin-top: 2rem; }
    .planet { width: 180px; }
    .journey { padding-top: 5.5rem; padding-bottom: 6rem; }
    .journey h2 { font-size: clamp(3.4rem, 14vw, 5rem); }
    .constellation { right: -40%; }
    .quote-section { min-height: 28rem; padding: 5rem 1.5rem; }
    .quote-section blockquote p { font-size: clamp(2.5rem, 12vw, 4rem); }
    .quote-star { opacity: .65; }
    .section-shell { padding-top: 5.5rem; padding-bottom: 5.5rem; }
    .section-heading { display: block; padding-bottom: 2rem; }
    .section-heading h2 { font-size: clamp(3.8rem, 16vw, 5.5rem); }
    .section-index { display: none; }
    .event-row {
        padding: 1.4rem 0;
        gap: .4rem 1rem;
    }
    .event-date { gap: .7rem; }
    .event-day > span { font-size: 3.4rem; }
    .event-day em { font-size: .55rem; letter-spacing: .08em; }
    .event-place h3 { font-size: 1.35rem; }
    .event-time strong { font-size: 1.05rem; }
    .ticket-button {
        min-height: 2.9rem;
        margin-top: .7rem;
        padding: .7rem 1rem;
        gap: 1.2rem;
        font-size: .64rem;
    }
    .event-empty { min-height: 31rem; grid-template-columns: 1fr; gap: 1rem; padding: 3rem 0; text-align: center; }
    .event-empty .eyebrow { justify-content: center; }
    .empty-orbit { width: 150px; }
    .finale { min-height: 39rem; padding: 5rem 1.25rem; }
    .finale h2 { font-size: clamp(5rem, 23vw, 8rem); }
    .finale-sun { width: 27rem; }
    .finale-star { font-size: 5rem; }
    .site-footer { padding-top: 3rem; padding-bottom: 3rem; grid-template-columns: 1fr; gap: 1.6rem; text-align: left; }
    .footer-main { flex-direction: column; align-items: flex-start; gap: 1rem; }
    .footer-source { flex-direction: column; align-items: flex-start; gap: .8rem; }
    .footer-source p { max-width: 22rem; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
    .js .reveal { opacity: 1; transform: none; }
}

@media (max-width: 1240px) {
    .little-traveller { display: none; }
}

@media (max-width: 980px) {
    .hero-side-note { display: none; }
    .title-lockup { width: 100%; }
    .universe-map { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    /* Węższa siatka wraca do kolejności z kodu — bez sztywnych pozycji. */
    .world:nth-of-type(n) { grid-area: auto; }
    .world:nth-of-type(4n+2),
    .world:nth-of-type(4n+3),
    .world:nth-of-type(4n+4) { margin-top: 0; }
    .world:nth-of-type(2n) { margin-top: 3rem; }
    .little-traveller { display: none; }
    .gallery-mosaic { columns: 2; }
    .cast-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .crew-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 700px) {
    .hero h1 { font-size: clamp(4.2rem, 22vw, 6.8rem); }
    .title-lockup {
        width: 100%;
        margin-left: 0;
    }
    .journey { padding-bottom: 7rem; }
    .universe-map {
        width: 100%;
        margin-top: 4rem;
        padding-left: 1.4rem;
        grid-template-columns: minmax(0, 1fr);
        gap: 2.5rem;
    }
    .universe-map::before {
        content: "";
        position: absolute;
        left: .2rem;
        top: 5rem;
        bottom: 5rem;
        border-left: 1px dashed rgba(244,187,11,.5);
    }
    .flight-path { display: none; }
    .world {
        width: 100%;
        min-height: 11rem;
        display: grid;
        grid-template-columns: 9.5rem minmax(0, 1fr);
        align-items: center;
        gap: .7rem;
    }
    .world:nth-of-type(n) { grid-area: auto; margin-top: 0; }
    .world::before {
        content: "";
        position: absolute;
        left: -1.55rem;
        top: 50%;
        width: .4rem;
        height: .4rem;
        border-radius: 50%;
        background: var(--yellow);
        box-shadow: 0 0 0 .35rem rgba(244,187,11,.12);
    }
    .world-visual { width: 9.5rem; height: 10.5rem; }
    .world-copy { margin: 0; }
    .world-copy h3 { font-size: clamp(2.3rem, 12vw, 3.4rem); }
    .world-copy p { font-size: .72rem; }
    .world-planet { --planet-size: 7.2rem; }
    .planet-b612 { --planet-size: 8.4rem; }
    .planet-king { --planet-size: 6.3rem; }
    .planet-vain { --planet-size: 7.2rem; }
    .planet-banker { --planet-size: 6.5rem; }
    .planet-lamp { --planet-size: 7.7rem; }
    .planet-drunk { --planet-size: 6.8rem; }
    .planet-geo { --planet-size: 6.8rem; }
    .planet-earth { --planet-size: 7.2rem; }
    .planet-b612 img { top: -2.5rem; right: -1.2rem; width: 6.2rem; }
    .space-star-a { left: 70%; top: 8%; }
    .space-star-b { right: -3%; top: 47%; }
    .space-star-c { left: 5%; bottom: 22%; }
    .space-star-d { right: 18%; top: 72%; }

    .gallery-heading h2 { font-size: clamp(4rem, 20vw, 6rem); }
    .gallery-intro { margin-top: 1.8rem; font-size: .88rem; }
    .gallery-hero { margin-top: 2.5rem; }
    .gallery-hero .shot-open img { height: 15rem; }
    /* Na telefonie jedna kolumna — kadry są większe i nic się nie przycina. */
    .gallery-mosaic { columns: 1; }
    .shot { margin-bottom: 1rem; }
    .gallery figcaption { padding: 2.6rem .9rem .85rem; }
    .gallery figcaption strong { font-size: 1.15rem; }
    .shot-open::after { opacity: 1; transform: none; width: 1.8rem; height: 1.8rem; }
    .gallery-credit { font-size: 1rem; }

    .lightbox {
        grid-template-columns: minmax(0, 1fr);
        padding: 3.5rem 1rem 5.5rem;
    }
    .lightbox-frame img { max-height: 62vh; }
    .lightbox-frame figcaption { flex-direction: column; gap: .3rem; text-align: center; }
    .lightbox-nav {
        position: absolute;
        bottom: 1.2rem;
        width: 3.4rem;
        height: 3.4rem;
    }
    .lightbox-prev { left: 22%; }
    .lightbox-next { right: 22%; }

    .cast-star { right: -5rem; top: -3rem; width: 12rem; }
    .cast-grid {
        padding-top: 2.2rem;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 1.6rem 1rem;
    }
    .cast-body { padding-top: .8rem; }
    .cast-body h3 { font-size: 1.15rem; }
    .cast-role { font-size: .58rem; letter-spacing: .12em; }
    .cast-note { font-size: .68rem; }

    .crew-grid { grid-template-columns: 1fr; gap: 0; }
    .crew-item { padding: 1.1rem 0; }
    .crew-item dd { font-size: 1.25rem; }
}
