/* ==========================================================================
   Photofiction — product skin on top of the qiosq design system.
   Same type, spacing and motion as the main site; the palette shifts from
   qiosq green to the Photofiction violet → cyan of the product branding.
   Scoped to body.pf so nothing here leaks into the rest of the site.
   ========================================================================== */

body.pf {
    --pf-violet: #6a09ff;
    --pf-blue: #2b7fff;
    --pf-cyan: #22d3ee;
    --pf-teal: #00c897;
    --pf-night: #070b1f;
    --pf-night-2: #0d1330;
    --pf-card: #121834;

    background: var(--pf-night);
}

/* Deep-space backdrop -------------------------------------------------- */

body.pf::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: -3;
    pointer-events: none;
    background:
        radial-gradient(
            120% 70% at 78% 4%,
            rgba(106, 9, 255, 0.38) 0%,
            rgba(106, 9, 255, 0) 60%
        ),
        radial-gradient(
            90% 55% at 8% 92%,
            rgba(43, 127, 255, 0.24) 0%,
            rgba(43, 127, 255, 0) 62%
        ),
        linear-gradient(180deg, #0a1030 0%, var(--pf-night) 55%, #05070f 100%);
}

/* Star layer — two offset dot grids drifting at different speeds */
body.pf .pf-stars {
    position: fixed;
    inset: -20vh -20vw;
    z-index: -2;
    pointer-events: none;
    opacity: 0.55;
    background-image:
        radial-gradient(1.6px 1.6px at 12% 18%, #fff 50%, transparent 51%),
        radial-gradient(1.2px 1.2px at 62% 8%, #cfe3ff 50%, transparent 51%),
        radial-gradient(1.8px 1.8px at 84% 42%, #fff 50%, transparent 51%),
        radial-gradient(1.1px 1.1px at 28% 62%, #bcd6ff 50%, transparent 51%),
        radial-gradient(1.5px 1.5px at 48% 88%, #fff 50%, transparent 51%),
        radial-gradient(1.2px 1.2px at 92% 76%, #d7c9ff 50%, transparent 51%),
        radial-gradient(1px 1px at 6% 46%, #fff 50%, transparent 51%),
        radial-gradient(1.3px 1.3px at 72% 26%, #fff 50%, transparent 51%);
    background-size: 420px 420px;
    animation: pf-drift 240s linear infinite;
}

@keyframes pf-drift {
    to {
        transform: translate3d(-420px, -420px, 0);
    }
}

@media (prefers-reduced-motion: reduce) {
    body.pf .pf-stars {
        animation: none;
    }
}

/* Palette overrides ---------------------------------------------------- */

body.pf h1,
body.pf h2 {
    -webkit-text-stroke: 2px var(--pf-violet);
    text-stroke: 2px var(--pf-violet);
}

body.pf .heading .fill {
    color: var(--pf-cyan);
    -webkit-text-stroke: 2px var(--pf-cyan);
    text-stroke: 2px var(--pf-cyan);
}

body.pf .cursor,
body.pf ::selection {
    background: var(--pf-cyan);
}

body.pf ::selection {
    color: var(--pf-night);
}

body.pf .c-scrollbar_thumb {
    background: var(--pf-violet);
}

body.pf .boot,
body.pf .intro {
    background: var(--pf-night);
}

body.pf .menu {
    background-color: var(--pf-night);
}

body.pf .menu_overlay {
    background: var(--pf-night-2);
}

body.pf .menu #container .left a:before {
    color: var(--pf-cyan);
}

body.pf .btn {
    color: var(--pf-cyan);
}

body.pf .btn:before {
    border: 2px solid var(--pf-cyan);
}

body.pf .btn:hover:before {
    background: var(--pf-violet);
}

body.pf .btn.pf-btn-solid:before {
    background: linear-gradient(100deg, var(--pf-violet), var(--pf-blue));
    border-color: transparent;
}

body.pf .btn.pf-btn-solid span {
    mix-blend-mode: normal;
    color: #fff;
    position: relative;
    z-index: 2;
}

body.pf .btn.pf-btn-solid:hover:before {
    filter: blur(10px);
    background: var(--pf-violet);
}

body.pf .contact #container .wrapper form input:focus,
body.pf .contact #container .wrapper form textarea:focus {
    border-bottom: 1px solid var(--pf-cyan);
}

body.pf .contact #container .wrapper form .inputSub .inputBlur {
    border: 1px solid var(--pf-cyan);
}

body.pf .contact #container .wrapper form .inputSub input[type="submit"] {
    color: var(--pf-cyan);
}

body.pf .contact #container .wrapper form .inputSub:hover .inputBlur {
    background: var(--pf-violet);
}

body.pf footer #container .wrapper .socialLink:hover {
    border-bottom: 1px solid var(--pf-cyan);
}

body.pf .marquee-text,
body.pf .marquee-text-reverse {
    -webkit-text-stroke: 2px rgba(106, 9, 255, 0.65);
    text-stroke: 2px rgba(106, 9, 255, 0.65);
}

/* Shared small pieces -------------------------------------------------- */

body.pf .pf-kicker {
    font-family: "Space Mono", monospace;
    font-size: 0.85rem;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    color: var(--pf-cyan);
}

body.pf .pf-lockup {
    width: 100%;
    max-width: 240px;
    height: auto;
}

body.pf .pf-txt {
    width: 100%;
    max-width: 620px;
}

body.pf .pf-txt strong {
    color: var(--pf-cyan);
    font-weight: 400;
}

/* Hero ----------------------------------------------------------------- */

body.pf .pf-hero #container {
    height: 100vh;
    min-height: 640px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    gap: 1.6rem;
}

body.pf .pf-hero h2 {
    width: 100%;
    max-width: 1100px;
    font-size: clamp(2rem, 5.8vw, 4.8rem);
}

body.pf .pf-hero p.smallT {
    max-width: 460px;
    text-transform: uppercase;
}

body.pf .pf-hero .pf-cta {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1rem;
}

/* Story / key visual --------------------------------------------------- */

body.pf .pf-story {
    padding-bottom: 10rem;
}

body.pf .pf-story .pf-split {
    display: flex;
    align-items: center;
    gap: 8rem;
}

body.pf .pf-story .pf-keyvisual {
    width: 100%;
    max-width: 640px;
    flex-shrink: 0;
    border-radius: 30px;
    overflow: hidden;
    border: 1px solid rgba(106, 9, 255, 0.5);
    line-height: 0;
}

body.pf .pf-story .pf-keyvisual img,
body.pf .pf-story .pf-keyvisual video {
    width: 100%;
    height: auto;
}


body.pf .pf-steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.2rem;
}

body.pf .pf-steps .card {
    background: var(--pf-card);
    border: 1px solid rgba(106, 9, 255, 0.45);
    border-radius: 30px;
    padding: 3rem 2.4rem;
    display: flex;
    flex-direction: column;
    gap: 4rem;
    transition:
        background 0.3s ease-in-out,
        border-color 0.3s ease-in-out,
        transform 0.3s ease-in-out;
}

body.pf .pf-steps .card:hover {
    background: rgba(106, 9, 255, 0.22);
    border-color: var(--pf-cyan);
    transform: translateY(-6px);
}

body.pf .pf-steps .card h3 {
    font-family: "Space Mono", monospace;
    font-size: 1.6rem;
    text-transform: none;
    color: var(--pf-cyan);
    -webkit-text-stroke: 0;
    text-stroke: 0;
}

body.pf .pf-steps .card .pf-step-no {
    font-family: "Space Mono", monospace;
    font-size: 0.9rem;
    letter-spacing: 0.2em;
    color: rgba(255, 255, 255, 0.45);
}

body.pf .pf-steps .card p {
    margin-top: 0.8rem;
    opacity: 0.7;
}

/* Worlds --------------------------------------------------------------- */

body.pf .pf-worlds-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.2rem;
}

body.pf .pf-world {
    position: relative;
    overflow: hidden;
    border-radius: 25px;
    aspect-ratio: 1 / 1;
    background: var(--pf-card);
}

body.pf .pf-world img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition:
        transform 0.6s ease,
        filter 0.4s ease;
    filter: saturate(105%) brightness(88%);
}

body.pf .pf-world:hover img {
    transform: scale(1.06);
    filter: saturate(120%) brightness(100%);
}

body.pf .pf-world figcaption {
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    padding: 2rem 1.6rem 1.4rem;
    font-family: "Space Mono", monospace;
    font-size: 0.8rem;
    letter-spacing: 0.1em;
    line-height: 150%;
    text-transform: uppercase;
    background: linear-gradient(
        180deg,
        rgba(7, 11, 31, 0) 0%,
        rgba(7, 11, 31, 0.85) 70%
    );
}

body.pf .pf-world figcaption span {
    color: var(--pf-cyan);
}
/* Location ------------------------------------------------------------- */

body.pf .pf-where .pf-place {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 3rem;
    flex-wrap: wrap;
    border-top: 1px solid rgba(255, 255, 255, 0.18);
    padding-top: 3rem;
}

body.pf .pf-where .pf-place h3 {
    -webkit-text-stroke: 0;
    text-stroke: 0;
    color: #fff;
}

body.pf .pf-where .pf-place p {
    opacity: 0.7;
    margin-top: 0.8rem;
}

/* Venues CTA ----------------------------------------------------------- */

body.pf .pf-venues {
    padding: 10rem 0;
}

body.pf .pf-venues .pf-panel {
    border: 1px solid rgba(106, 9, 255, 0.55);
    border-radius: 40px;
    padding: 6rem 4rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.4rem;
    background:
        radial-gradient(
            90% 140% at 50% 0%,
            rgba(106, 9, 255, 0.3) 0%,
            rgba(106, 9, 255, 0) 70%
        ),
        var(--pf-night-2);
}

body.pf .pf-venues .pf-panel h5 {
    max-width: 640px;
}

/* Responsive ----------------------------------------------------------- */

@media (max-width: 1040px) {
    body.pf .pf-steps {
        grid-template-columns: repeat(2, 1fr);
    }

    body.pf .pf-worlds-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    body.pf .pf-story .pf-split {
        flex-direction: column-reverse;
        gap: 3rem;
    }

    body.pf .pf-story .pf-keyvisual {
        max-width: 100%;
    }
}

@media (max-width: 780px) {
    body.pf .pf-venues .pf-panel {
        padding: 4rem 2rem;
        border-radius: 30px;
    }
}

@media (max-width: 520px) {
    body.pf .pf-steps,
    body.pf .pf-worlds-grid {
        grid-template-columns: 1fr;
    }

    body.pf .pf-hero #container {
        gap: 1.2rem;
        min-height: 560px;
    }

    body.pf .pf-story,
    body.pf .pf-venues {
        padding-bottom: 6rem;
    }

    body.pf .pf-venues {
        padding-top: 6rem;
    }
}

/* Wordmark-length fixes for the shared display type ------------------- */

body.pf footer .full {
    height: 7.6vw;
}

body.pf footer .full h1 {
    font-size: 9.4vw;
}

body.pf .marquee-text,
body.pf .marquee-text-reverse {
    font-size: 6rem;
}

@media (max-width: 520px) {
    body.pf .marquee-text,
    body.pf .marquee-text-reverse {
        font-size: 14vw;
    }
}

/* Long headings on small screens ------------------------------------- */

@media (max-width: 780px) {
    body.pf .heading h1 {
        white-space: normal !important;
        text-align: left !important;
    }

    body.pf .heading {
        width: 100%;
    }
}

@media (max-width: 520px) {
    body.pf .heading h1 {
        font-size: 11vw !important;
        line-height: 92% !important;
    }

    body.pf footer .full h1 {
        font-size: 9.4vw !important;
    }
}

/* ---------------------------------------------------------------
   Brand mark — the real Photofiction lockup (violet → teal)
   --------------------------------------------------------------- */

body.pf .pf-lockup-hero {
    max-width: 360px;
    filter: drop-shadow(0 0 34px rgba(106, 9, 255, 0.55))
        drop-shadow(0 0 90px rgba(0, 200, 151, 0.18));
    animation: pf-mark-float 9s ease-in-out infinite;
}

@keyframes pf-mark-float {
    0%,
    100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-8px);
    }
}

@media (max-width: 780px) {
    body.pf .pf-lockup-hero {
        max-width: 260px;
    }
}

@media (prefers-reduced-motion: reduce) {
    body.pf .pf-lockup-hero {
        animation: none;
        opacity: 1;
    }
}

/* Symbol used as a typographic bullet, the way the campaign does it */

body.pf .pf-kicker::before {
    content: "";
    display: inline-block;
    width: 1.7em;
    height: 1.7em;
    margin-right: 0.6em;
    vertical-align: -0.55em;
    background: url("/assets/pf-symbol-white.svg") no-repeat center / contain;
}

/* section{overflow-x:hidden} in the bundle clips anything above the
   section box, so the mark needs real room to sit in */

body.pf .pf-story,
body.pf .pf-how,
body.pf .pf-worlds,
body.pf .pf-where {
    padding-top: 4rem;
}

body.pf .pf-story .heading::before,
body.pf .pf-how .heading::before,
body.pf .pf-worlds .heading::before,
body.pf .pf-where .heading::before {
    content: "";
    position: absolute;
    top: -3.4rem;
    left: 0.2rem;
    width: 42px;
    height: 42px;
    background: url("/assets/pf-symbol-white.svg") no-repeat center / contain;
    opacity: 0.85;
}

@media (max-width: 780px) {
    body.pf .pf-story .heading::before,
    body.pf .pf-how .heading::before,
    body.pf .pf-worlds .heading::before,
    body.pf .pf-where .heading::before {
        top: -2.4rem;
        width: 28px;
        height: 28px;
    }
}

/* Long Photofiction headings need to fit the container the site's
   short ones never had to — the bundle sets h1 to 8rem, nowrap. */

body.pf .pf-story .heading h1,
body.pf .pf-how .heading h1,
body.pf .pf-worlds .heading h1,
body.pf .pf-where .heading h1 {
    font-size: min(6.4vw, 6.4rem);
}

/* Hero headline picks up the campaign's cyan, like the poster */

body.pf .pf-hero h2 {
    -webkit-text-stroke-color: var(--pf-cyan);
}

/* Mobile rhythm ------------------------------------------------------- */

@media (max-width: 520px) {
    body.pf .pf-steps .card {
        gap: 1.6rem;
        padding: 2.2rem 2rem;
    }

    body.pf .pf-worlds-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 0.8rem;
    }

    body.pf .pf-world figcaption {
        font-size: 0.62rem;
    }

    body.pf .pf-story .heading h1,
    body.pf .pf-how .heading h1,
    body.pf .pf-worlds .heading h1,
    body.pf .pf-where .heading h1 {
        font-size: 9.4vw !important;
    }
}

/* Footer sign-off — the master lockup, gradient as drawn */

body.pf .pf-signoff {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 2rem;
    padding-top: 2.4rem;
    border-top: 1px solid rgba(106, 9, 255, 0.35);
}

body.pf .pf-lockup-signoff {
    max-width: 190px;
    flex-shrink: 0;
}

body.pf .pf-signoff p {
    font-family: "Space Mono", monospace;
    font-size: 0.85rem;
    letter-spacing: 0.06em;
    color: rgba(255, 255, 255, 0.6);
}

body.pf .pf-signoff a {
    color: var(--pf-cyan);
}

@media (max-width: 520px) {
    body.pf .pf-signoff {
        flex-direction: column;
        align-items: flex-start;
        gap: 1.2rem;
    }
}
