/* ========================================
   GLOBAL PAGE BEHAVIOR
   ======================================== */

html {
    scroll-behavior: smooth;
}

body {
    background-color: black;
    background-image: url("../images/backgrounds/bg-prismara-2.png");
    background-repeat: repeat;
    background-attachment: fixed;
}

/* ========================================
   HOMEPAGE — 3D POSTER CAROUSEL
   ======================================== */

.carousel-stage {
    position: relative;
    width: 100%;
    height: 840px;
    display: flex;
    justify-content: center;
    align-items: center;
    perspective: 1200px;
    padding-top: 120px;
    isolation: isolate;

    background-image: url("../images/logo/carousel-theatre.png");
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
}

/* ========================================
   PRISMARA THEATER — PERMANENT FOUNDATION
   YEAR-ROUND — NOT SEASONAL
   ======================================== */

.carousel-theatre-foundation {
    position: absolute;
    left: 50%;
    top: 100%;

    transform: translateX(-50%);

    width: 100%;
    height: auto;

    display: block;
    z-index: 1;
    pointer-events: none;
}

/* ========================================
   PRISMARA CAROUSEL CROWN
   ======================================== */

.carousel-crown {
    position: absolute;
    top: 15px;
    left: 50%;
    transform: translateX(-50%);
    width: 900px;
    max-width: 90%;
    height: auto;
    z-index: 5;
    pointer-events: none;

    filter: brightness(0.58) saturate(0.75);
    transition: filter 3s ease;
}

/* ========================================
   PRISMARA CAROUSEL BASE
   ======================================== */

.carousel-base {
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    width: 900px;
    max-width: 90%;
    height: auto;
    z-index: 5;
    pointer-events: none;

    filter: brightness(0.58) saturate(0.75);
    transition: filter 3s ease;
}

/* ========================================
   PRISMARA BASE — FRONT OCCLUSION
   ======================================== */

.carousel-base-front {
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%) translateZ(0);

    width: 900px;
    max-width: 90%;
    height: auto;

    z-index: 50;
    pointer-events: none;

    filter: brightness(0.58) saturate(0.75);
    transition: filter 3s ease;

    /* Force this artwork into its own foreground layer */
    backface-visibility: hidden;
    will-change: transform;
}

.carousel-stage::after {
    content:"";
    position:absolute;
    left:0;
    right:0;
    bottom:0;
    height:28px;
    background:#000;
    z-index:49;
    pointer-events:none;
}

/* ========================================
   PRISMARA CAROUSEL OPAL ACTIVATOR
   ======================================== */

.carousel-opal-trigger {
    position: absolute;
    left: 50%;
    bottom: 120px;
    transform: translateX(-50%);

    width: 78px;
    height: 112px;

    padding: 0;
    border: none;
    border-radius: 50%;
    background: transparent;

    cursor:url("../images/cursors/prismara-pointer.png") 8 2, pointer;
    z-index: 60;
}

/* ========================================
   PRISMARA OPAL — HEARTBEAT
   ======================================== */

.opal-heartbeat {
    position: absolute;
    left: 50%;
    top: 68%;

    width: 46px;
    height: 46px;

    transform: translate(-50%, -50%) scale(0.55);
    border-radius: 50%;

    background: radial-gradient(
        circle,
        rgba(255, 210, 150, 0.80) 0%,
        rgba(255, 70, 35, 0.58) 16%,
        rgba(205, 10, 30, 0.34) 38%,
        rgba(110, 0, 20, 0.12) 62%,
        rgba(70, 0, 10, 0) 78%
    );

    opacity: 0.20;
    pointer-events: none;

    animation: opalHeartbeat 5.5s ease-in-out infinite;
}

@keyframes opalHeartbeat {
    0%,
    100% {
        opacity: 0.16;
        transform: translate(-50%, -50%) scale(0.52);
    }

    35% {
        opacity: 0.22;
        transform: translate(-50%, -50%) scale(0.58);
    }

    52% {
        opacity: 0.78;
        transform: translate(-50%, -50%) scale(0.90);
    }

    64% {
        opacity: 0.38;
        transform: translate(-50%, -50%) scale(0.70);
    }
}

/* ========================================
   ROTATING POSTER CAROUSEL
   ======================================== */

.carousel {
    position: relative;
    width: 240px;
    height: 360px;

    transform-style: preserve-3d;
    z-index: 10;

    animation: spin 25s linear infinite;
    animation-play-state: paused;

}

.carousel-stage.is-awake .carousel {
    animation-play-state: running;
}

.carousel-stage:not(.is-awake) .poster {
    pointer-events: none;
    cursor: default;
}

.poster {
    position:absolute;
    width:240px;
    height:360px;
    left:0;
    top:0;
    transform-style:preserve-3d;
    transition:transform .35s ease;
    cursor:url("../images/cursors/prismara-pointer.png") 8 2, pointer;
}

.carousel .poster a {
    display:block;
    width:100%;
    height:100%;
}

/* ========================================
   PRISMARA CAROUSEL POSTER ART
   ======================================== */

.carousel .poster-bob img:not(.poster-stand) {
    display: block;

    width: 150px !important;
    height: 255px !important;
    max-width: 150px !important;
    max-height: 255px !important;

    object-fit: contain;
    
    border-radius: 6px;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.8);

    filter: contrast(1.08) saturate(0.72) brightness(0.80);
    transition: filter 1.8s ease;

    position: absolute;
    left: 50%;
    top: 48%;

    transform: translate(-50%, -50%);

    z-index: 1;

    opacity:0.94;
}

/* ========================================
   PRISMARA POSTER STAND
   ======================================== */

.carousel .poster img.poster-stand {
    transition: filter 2s ease;
    position: absolute;

    left: 50%;
    top: 55%;

    width: 260px !important;
    height: auto !important;
    max-width: none !important;
    max-height: none !important;

    transform: translate(-50%, -50%) translateZ(0px);

    object-fit: initial;
    border-radius: 0;
    box-shadow: none;

    filter: brightness(0.58) saturate(0.75);

    z-index: 2;
    pointer-events: none;
}

/* ========================================
   PRISMARA CAROUSEL GENTLE BOB — TEST
   ======================================== */

.poster-bob {
    position: relative;
    width: 240px;
    height: 360px;

    transform-style: preserve-3d;

    animation:gentle-bob 4s ease-in-out infinite;
    animation-play-state: paused;
}

.poster-1 .poster-bob {
    animation-delay: 0s;
}

.poster-2 .poster-bob {
    animation-delay: -0.8s;
}

.poster-3 .poster-bob {
    animation-delay: -1.6s;
}

.poster-4 .poster-bob {
    animation-delay: -2.4s;
}

.poster-5 .poster-bob {
    animation-delay: -3.2s;
}

.carousel-stage.is-awake .poster-bob {
    animation-play-state: running;
}

@keyframes gentle-bob {
    0%, 100% {
        transform: translateY(-5px);
    }

    50% {
        transform: translateY(5px);
    }
}

.poster-1 {
    transform: rotateY(0deg) translateZ(220px);
}

.poster-2 {
    transform: rotateY(72deg) translateZ(220px);
}

.poster-3 {
    transform: rotateY(144deg) translateZ(220px);
}

.poster-4 {
    transform: rotateY(216deg) translateZ(220px);
}

.poster-5 {
    transform: rotateY(288deg) translateZ(220px);
}

.poster-1:hover {
    transform: rotateY(0deg) translateZ(250px);
}

.poster-2:hover {
    transform: rotateY(72deg) translateZ(250px);
}

.poster-3:hover {
    transform: rotateY(144deg) translateZ(250px);
}

.poster-4:hover {
    transform: rotateY(216deg) translateZ(250px);
}

.poster-5:hover {
    transform: rotateY(288deg) translateZ(250px);
}

/* ========================================
   CAROUSEL ROTATION
   ======================================== */

@keyframes spin {
    from {
        transform: translateZ(300px) rotateY(0deg);
    }

    to {
        transform: translateZ(300px) rotateY(360deg);
    }
}

/* ========================================
   PRISMARA CAROUSEL — AWAKENED LIGHTING
   ======================================== */

.carousel-stage.is-awake .carousel-crown,
.carousel-stage.is-awake .carousel-base,
.carousel-stage.is-awake .carousel-base-front {
    filter: brightness(1) saturate(.75);
}

.carousel-stage.is-awake .carousel .poster img.poster-stand {
    filter: brightness(.90) saturate(.75);
}

.carousel-stage.is-awake .carousel .poster-bob img:not(.poster-stand) {
    filter: contrast(1.08) saturate(0.78) brightness(0.90);
}

/* ========================================
   HOMEPAGE — PRISMARA INTRO OVERLAY
   ======================================== */

.prismara-intro {
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: black;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    animation: prismara-intro-fade 4s ease forwards;
}

.prismara-intro img {
    width: 55%;
    max-width: 900px;
    height: auto;
    animation: prismara-logo-forward 3s ease-out forwards;
}

@keyframes prismara-logo-forward {
    0% {
        transform: scale(0.18);
        opacity: 0;
        filter: blur(3px);
    }

    15% {
        opacity: 1;
    }

    75% {
        transform: scale(1);
        opacity: 1;
        filter: blur(0);
    }

    100% {
        transform: scale(1);
        opacity: 1;
        filter: blur(0);
    }
}

@keyframes prismara-intro-fade {
    0% {
        opacity: 1;
        visibility: visible;
    }

    75% {
        opacity: 1;
        visibility: visible;
    }

     100% {
        opacity: 0;
        visibility: hidden;
    }
}

/* ========================================
   GLOBAL — SITE HEADER + NAVIGATION
   ======================================== */

.main-nav {
    display: flex;
    align-items: center;
    gap: 38px;
    flex-shrink: 0;
}

.main-nav a {
    color: #ffffff;
    text-decoration: none;
    font-family: "Playfair Display", Georgia, serif;
    font-size: 21px;
    font-weight: normal;
    white-space: nowrap;
}
.main-nav a {
    position: relative;
    padding: 13px 19px;
    border: 1px solid transparent;
    border-radius: 12px;
    transition:
        background 0.3s ease,
        border-color 0.3s ease,
        box-shadow 0.3s ease,
        transform 0.3s ease;
}

.main-nav a:hover {
    background:
        linear-gradient(
            135deg,
            rgba(255, 255, 255, 0.10),
            rgba(90, 125, 150, 0.08) 45%,
            rgba(255, 175, 85, 0.08) 100%
        );

    border-color: rgba(225, 185, 125, 0.55);

    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.20),
        inset 0 -1px 0 rgba(80, 120, 155, 0.12),
        0 0 10px rgba(220, 165, 95, 0.12);

    transform: translateY(-1px);
    color: #ffffff;
}
.main-nav a.active {
    background:
        linear-gradient(
            135deg,
            rgba(255, 255, 255, 0.13),
            rgba(90, 125, 150, 0.10) 45%,
            rgba(255, 175, 85, 0.10) 100%
        );

    border-color: rgba(235, 195, 135, 0.70);

    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.28),
        inset 0 -1px 0 rgba(80, 120, 155, 0.15),
        0 0 12px rgba(220, 165, 95, 0.16);

    color: #ffffff;
}
.nav-dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: calc(100% + 10px);
    left: 50%;
    transform: translateX(-50%);
    min-width: 250px;
    padding: 12px;
    background: rgba(10, 12, 14, 0.96);
    border: 1px solid rgba(225, 185, 125, 0.50);
    border-radius: 12px;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.12),
        0 10px 25px rgba(0, 0, 0, 0.65);
    opacity: 0;
    visibility: hidden;
    transition:
        opacity 0.25s ease,
        visibility 0.25s ease;
    z-index: 1000;
}

.nav-dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
}

.dropdown-menu a {
    display: block;

    padding: 13px 16px;

    border: 1px solid transparent;
    border-radius: 8px;

    color: #d8c39a;

    font-family: "Cormorant Garamond", Georgia, serif;
    font-size: 19px;
    font-weight: 500;
    letter-spacing: 0.4px;

    text-decoration: none;
    white-space: nowrap;

    transition:
        background 0.25s ease,
        border-color 0.25s ease,
        box-shadow 0.25s ease;
}

.dropdown-menu a:hover {
    background:
        linear-gradient(
            135deg,
            rgba(255, 255, 255, 0.09),
            rgba(90, 125, 150, 0.07) 45%,
            rgba(255, 175, 85, 0.07) 100%
        );
    border-color: rgba(225, 185, 125, 0.45);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.16);
}

.dropdown-menu a.current-film {
    color: #f0d28b;

    border-color: rgba(235, 195, 135, 0.55);
    background: rgba(255, 255, 255, 0.05);
}

.header-film-loop {
    width: 220px;
    height: 145px;
    margin-left: auto;
    overflow: hidden;
    border-radius: 8px;

    border: 1px solid rgba(225, 185, 125, 0.45);

    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.16),
        0 0 8px rgba(220, 165, 95, 0.10);
}

.header-film-loop video {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.film-tagline {
    width: 100%;
    text-align: center;
    padding-top: 55px;
}

.film-tagline p {
    margin: 0;
    color: #e7dcc7;
    font-family: "Playfair Display", Georgia, serif;
    font-size: 30px;
    font-weight: normal;
    letter-spacing: 8px;
    text-transform: uppercase;
}

.film-opening {
    width: 88%;
    max-width: 1400px;
    margin: 55px auto 0;
    display: grid;
    grid-template-columns: 340px minmax(0, 1fr);
    column-gap: 80px;
    align-items: start;
}

.film-poster-main {
    width: 340px;
}

.film-poster-main img {
    display: block;
    width: 100%;
    height: auto;
}

.film-trailer-area {
    width: 100%;
    padding-top: 35px;
}

.film-trailer-area video {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 8px;
}

/* ========================================
   GLOBAL — PRISMARA 2026 FILM HEADER
   ======================================== */

.site-header {
    width: 100%;
    height: 125px;
    box-sizing: border-box;

    display: flex;
    align-items: center;

    padding: 0 3%;

    background: rgba(0, 0, 0, 0.94);

    border-bottom: 1px solid rgba(190, 137, 48, 0.30);
}


/* PRISMARA HOME LOGO */

.header-logo {
    display: block;
    width: 260px;
    flex-shrink: 0;
    margin-right: 55px;
}

.header-logo img {
    display: block;
    width: 100%;
    height: auto;
}


/* MAIN NAVIGATION */

.main-nav {
    display: flex;
    align-items: center;
    gap: 30px;
}

.main-nav > a,
.nav-dropdown > a {
    position: relative;

    color: #d8b56a;
    text-decoration: none;

    font-family: "Cormorant Garamond", Georgia, serif;
    font-size: 24px;
    font-weight: 500;
    letter-spacing: 0.7px;

    white-space: nowrap;

    transition:
        color 0.25s ease,
        text-shadow 0.25s ease;
}

/* NAVIGATION HOVER */

.main-nav > a:hover,
.nav-dropdown > a:hover {
    color: #f0d28b;

    text-shadow:
        0 0 7px rgba(221, 174, 84, 0.30);
}


/* ACTIVE FILMS */

.nav-dropdown > a.active {
    color: #f0d28b;
}


/* LITTLE GOLD LINE UNDER FILMS */

.nav-dropdown > a.active::after {
    content: "";
    position: absolute;

    left: 0;
    right: 0;
    bottom: -10px;

    height: 1px;

    background: #c99b42;

    box-shadow:
        0 0 5px rgba(201, 155, 66, 0.35);
}

/* LITTLE DOWN ARROW */

.nav-arrow {
    display: inline-block;
    margin-left: 5px;

    color: #c99b42;

    font-size: 11px;
    vertical-align: middle;
}

/* UPPER-RIGHT PRISMARA GEM */

.header-gem {
    width: 100px;
    height: 100px;

    margin-left: auto;
    margin-right: 35px;

    flex: 0 0 100px;

    display: flex;
    align-items: center;
    justify-content: center;
}

.header-gem img {
    display: block;
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
}

/* ========================================
   ECHOES FILM MASTHEAD
   ======================================== */

.echoes-hero {
    position: relative;

    width: 100%;
    height: 390px;

    background: transparent;

    overflow: hidden;

    margin-bottom: 45px;
}

/* PRISMARA TITLE */

.echoes-prismara-title {
    position: absolute;

    top: 32px;
    left: 50%;

    transform: translateX(-50%);

    width: min(620px, 55%);
    height: auto;

    z-index: 2;
}


/* ECHOES TITLE + TAGLINE */

.echoes-title-tagline {
    position: absolute;

    top: 168px;
    left: 50%;

    transform: translateX(-50%);

    width: min(760px, 68%);
    height: auto;

    z-index: 2;
}


/* ========================================
   ECHOES FILM MASTHEAD - PNG ARTWORK
   ======================================== */

.film-masthead {
    width: 100%;
    box-sizing: border-box;

    padding: 30px 20px 32px;

    text-align: center;
}

/* ========================================
   ECHOES POSTER + TRAILER
   ======================================== */

.film-opening {
    width: min(1180px, 92%);
    margin: 10px auto 0;

    display: grid;
    grid-template-columns: 360px 1fr;
    gap: 24px;

    align-items: start;
}


/* POSTER */

.film-poster-main {
    padding: 5px;

    border: 1px solid rgba(201, 155, 66, 0.55);

    box-shadow:
        0 0 10px rgba(201, 155, 66, 0.12);

    background: rgba(0, 0, 0, 0.18);
}

.film-poster-main img {
    display: block;
    width: 100%;
    height: auto;
}


/* TRAILER */

.film-trailer-area {
    padding: 5px;

    border: 1px solid rgba(201, 155, 66, 0.45);

    box-shadow:
        0 0 10px rgba(201, 155, 66, 0.10);

    background: rgba(0, 0, 0, 0.20);

    display: flex;
    flex-direction: column;
    box-sizing: border-box;
}

.trailer-label {
    margin: auto 0 0;
    padding: 25px 0 0;

    text-align: center;

    font-family: "Cormorant Garamond", Georgia, serif;
    font-size: 14px;
    font-weight: 500;

    letter-spacing: 5px;

    color: rgba(216, 181, 106, 0.78);
}

.film-trailer-area video {
    display: block;
    width: 100%;
    height: auto;

    aspect-ratio: 16 / 9;

    background: #000;
}
/* ========================================
   ECHOES POSTER + SYNOPSIS FIX
   ======================================== */

.film-poster-main {
    padding: 0;
    border: none;
    box-shadow: none;
    background: transparent;
}


/* GOLD FRAME BELONGS TO POSTER ONLY */

.film-poster-main > img {
    display: block;
    width: 100%;
    height: auto;

    box-sizing: border-box;
    padding: 5px;

    border: 1px solid rgba(201, 155, 66, 0.55);

    box-shadow:
        0 0 10px rgba(201, 155, 66, 0.12);

    background: rgba(0, 0, 0, 0.18);
}


/* SYNOPSIS */

.film-synopsis {
    padding: 18px 5px 0;

    font-family: "Cormorant Garamond", Georgia, serif;
    font-size: 19px;
    font-weight: 500;
    line-height: 1.55;

    color: #d8c18a;

    text-align: left;
}


/* MAKE SURE OLD PARAGRAPH RULES DON'T TURN IT BLACK */

.film-synopsis p {
    margin: 0;
    padding: 0;

    color: #d8c18a;
}

/* ========================================
   PRISMARA GOLD HAIRLINE DIVIDER
   ======================================== */

.section-hairline {
    width: min(1180px, 92%);
    margin: 30px auto 24px;

    display: flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
}

.echoes-first-recognition + .section-hairline {
    margin-top: -35px;
}


/* THIN GOLD LINES */

.hairline-line {
    height: 1px;
    flex: 1;

    background: linear-gradient(
        to right,
        rgba(156, 105, 30, 0.15),
        rgba(211, 160, 67, 0.75),
        rgba(156, 105, 30, 0.15)
    );
}


/* ITTY BITTY CENTER JEWEL */

.hairline-jewel {
    color: #d7a84b;

    font-size: 10px;
    line-height: 1;

    text-shadow:
        0 0 3px rgba(255, 207, 108, 0.75),
        0 0 7px rgba(201, 145, 47, 0.35);

}
.trailer-label {
    margin: 10px 0 0;

    text-align: center;

    font-family: "Cormorant Garamond", Georgia, serif;
    font-size: 14px;
    font-weight: 500;

    letter-spacing: 5px;

    color: rgba(216, 181, 106, 0.78);
}
/* ========================================
   ECHOES FILM STILLS
   ======================================== */

.film-stills {
    width: min(1180px, 92%);
    margin: 0 auto;
}


/* SECTION HEADING */

.section-title {
    margin: 0 0 18px;

    font-family: "Cormorant Garamond", Georgia, serif;
    font-size: 18px;
    font-weight: 500;

    letter-spacing: 5px;

    color: #d8b56a;
}


/* 4 x 2 GALLERY */

.stills-grid {
    display: grid;

    grid-template-columns: repeat(4, 1fr);

    gap: 14px;
}


/* HORIZONTAL CINEMATIC STILLS */

.stills-grid img {
    display: block;

    width: 100%;
    aspect-ratio: 16 / 9;

    object-fit: cover;

    box-sizing: border-box;

    border: 1px solid rgba(201, 155, 66, 0.42);

    padding: 3px;

    background: rgba(0, 0, 0, 0.16);

    box-shadow:
        0 0 8px rgba(201, 155, 66, 0.08);

    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease,
        border-color 0.25s ease;
}


/* SUBTLE HOVER */

.stills-grid img:hover {
    transform: scale(1.018);

    border-color: rgba(221, 174, 84, 0.70);

    box-shadow:
        0 0 12px rgba(201, 155, 66, 0.16);
}
.stills-grid img {
    user-select: none;
    -webkit-user-select: none;
    -webkit-user-drag: none;
}
/* PINK HEADROOM ADJUSTMENT - STILLS 02 + 04 */

.stills-grid img:nth-child(2),
.stills-grid img:nth-child(4) {
    object-position: center 42%;
}
/* ========================================
   ECHOES EASTER EGG - STILL 03
   ======================================== */

.stills-easter-egg {
    position: relative;

    width: 100%;
    aspect-ratio: 16 / 9;

    box-sizing: border-box;
    overflow: hidden;

    border: 1px solid rgba(201, 155, 66, 0.42);
    padding: 3px;

    background: rgba(0, 0, 0, 0.16);

    box-shadow:
        0 0 8px rgba(201, 155, 66, 0.08);

    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease,
        border-color 0.25s ease;
}


/* STILL + SECRET VIDEO */

.stills-easter-egg img,
.stills-easter-egg video {
    display: block;

    width: 100%;
    height: 100%;

    object-fit: cover;
}


/* VIDEO SITS DIRECTLY OVER STILL */

.easter-video {
    position: absolute;

    top: 3px;
    left: 3px;

    width: calc(100% - 6px) !important;
    height: calc(100% - 6px) !important;

    object-fit: cover;

    opacity: 0;
    pointer-events: none;

    transition: opacity 0.25s ease;
}

/* SAME DELICATE HOVER AS OTHER STILLS */

.stills-easter-egg:hover {
    transform: scale(1.018);

    border-color: rgba(221, 174, 84, 0.70);

    box-shadow:
        0 0 12px rgba(201, 155, 66, 0.16);
}

.stills-easter-egg:hover .easter-video {
    opacity: 1;
}
/* REMOVE INNER FRAME FROM EASTER EGG STILL */

.stills-easter-egg .easter-still {
    border: none;
    padding: 0;
    background: none;
    box-shadow: none;
}

/* ========================================
   PRISMARA CUSTOM CURSORS
   ======================================== */

/* Gold jeweled arrow — normal browsing */
html,
body {
    cursor: url("../images/cursors/prismara-cursor.png") 0 0, auto;
}


/* Gold jeweled glove — clickable items */
a,
button,
select,
summary,
[role="button"],
input[type="button"],
input[type="submit"],
input[type="reset"],
video {
    cursor: url("../images/cursors/prismara-pointer.png") 8 2, pointer;
}

/* ========================================
   ECHOES CAST
   ======================================== */

.film-cast {
    width: min(1080px, 88%);
    margin: 0 auto 45px;
}

/* ALIGN CAST HEADING WITH STILLS */

.film-cast .section-title {
    transform: translateX(-45px);
}

/* THREE ACROSS */

.cast-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    column-gap: 30px;
    row-gap: 36px;

    transform: translateX(95px);
}

/* INDIVIDUAL CAST MEMBER */

.cast-member {
    display: flex;
    align-items: center;

    gap: 18px;
}


/* CAST PORTRAIT */

.cast-member img {
    display: block;

    width: 150px;
    height: 150px;

    object-fit: cover;

    border: 1px solid rgba(201, 155, 66, 0.42);

    padding: 3px;

    box-sizing: border-box;

    background: rgba(0, 0, 0, 0.16);

    box-shadow:
        0 0 8px rgba(201, 155, 66, 0.08);

    user-select: none;
    -webkit-user-select: none;
    -webkit-user-drag: none;
}

/* CHARACTER NAME */

.cast-member span {
    font-family: "Cormorant Garamond", Georgia, serif;

    font-size: 20px;
    font-weight: 500;

    letter-spacing: 3px;

    color: #d8b56a;

    text-transform: uppercase;
}
/* ========================================
   ORANGE CAST EASTER EGG
   Human → Horse on hover
   ======================================== */

.orange-transform {
    position: relative;

    width: 150px;
    height: 150px;

    flex: 0 0 150px;
}


/* Both portraits occupy exactly the same space */

.orange-transform img {
    position: absolute;
    inset: 0;

    width: 150px;
    height: 150px;

    object-fit: cover;

    transition: opacity 0.65s ease;

    user-select: none;
    -webkit-user-select: none;
    -webkit-user-drag: none;
}


/* Human visible normally */

.orange-human {
    opacity: 1;
}


/* Horse hidden normally */

.orange-horse {
    opacity: 0;
}


/* Hover transformation */

.orange-transform:hover .orange-human {
    opacity: 0;
}

.orange-transform:hover .orange-horse {
    opacity: 1;
}

/* ========================================
   MAERA'S TIDE CAST LAYOUT
   Maera centered with open space above/below
   ======================================== */

.maera-cast .cast-member:nth-child(1) {
    grid-column: 1;
    grid-row: 1;
}

.maera-cast .cast-member:nth-child(2) {
    grid-column: 3;
    grid-row: 1;
}

.maera-cast .cast-member:nth-child(3) {
    grid-column: 1;
    grid-row: 2;
}

.maera-cast .cast-member:nth-child(4) {
    grid-column: 2;
    grid-row: 2;
}

.maera-cast .cast-member:nth-child(5) {
    grid-column: 3;
    grid-row: 2;
}

.maera-cast .cast-member:nth-child(6) {
    grid-column: 1;
    grid-row: 3;
}

.maera-cast .cast-member:nth-child(7) {
    grid-column: 3;
    grid-row: 3;
}

/* ========================================
   BEHIND THE GLASS
   ======================================== */

.behind-the-glass {
    width: min(1180px, 92%);
    margin: 0 auto 55px;
}

.behind-video {
    width: 100%;
    margin-top: 24px;

    border: 1px solid rgba(201, 155, 66, 0.42);

    background: rgba(0, 0, 0, 0.20);

    box-sizing: border-box;
}

.behind-video-screen {
    position: relative;
}

.behind-video video {
    display: block;

    width: 100%;
    height: auto;

    background: #000;
}

.behind-caption {
    padding: 14px 10px 12px;

    text-align: center;

    font-family: "Cormorant Garamond", Georgia, serif;

    font-size: 14px;
    font-weight: 500;

    letter-spacing: 6px;

    color: #d8b56a;
}

.film-footer {
    text-align: center;
    margin-top: 55px;
    padding-bottom: 30px;
}

.back-to-top {
    display: inline-block;

    margin-bottom: 18px;

    font-family: Georgia, serif;
    font-size: 34px;

    color: rgba(216, 181, 106, 0.88);

    text-decoration: none;

    text-shadow:
        0 0 6px rgba(216, 181, 106, 0.28);

    transition:
        color 0.3s ease,
        transform 0.3s ease,
        opacity 0.3s ease;
}

.back-to-top:hover {
    color: #f0d28b;

    transform: translateY(-4px);

    text-shadow:
        0 0 8px rgba(240, 210, 139, 0.48);
}

.copyright {
    margin: 0;
    text-align: center;

    font-family: "Cormorant Garamond", Georgia, serif;
    font-size: 16px;
    letter-spacing: 2px;

    color: rgba(216, 181, 106, 0.62);
}

.video-acorn-hotspot {
    position: absolute;

    left: 14%;
    top: 18%;
    width: 52%;
    height: 68%;

    border: 0;
    background: transparent;

    z-index: 20;
    cursor: pointer;

    display: none;
}

.video-acorn-hotspot.is-active {
    display: block;
}

.acorn-discovery {
    position: fixed;
    left: 50%;
    top: 50%;

    transform: translate(-50%, -45%);

    display: flex;
    flex-direction: column;
    align-items: center;

    opacity: 0;
    visibility: hidden;
    pointer-events: none;

    z-index: 9999;
}

.acorn-discovery.is-visible {
    visibility: visible;
    animation: acorn-discovery-fade 8s ease forwards;
}

.acorn-discovery-title {
    margin-top: 8px;

    font-family: "Cormorant Garamond", Georgia, serif;
    font-size: 22px;
    font-weight: 500;

    letter-spacing: 4px;

    color: #d9b56d;

    text-shadow:
        0 1px 2px rgba(0, 0, 0, .95),
        0 0 10px rgba(180, 120, 35, .35);
}

.acorn-discovery-count {
    margin-top: 3px;

    font-family: "Cormorant Garamond", Georgia, serif;
    font-size: 18px;

    letter-spacing: 3px;

    color: rgba(217, 181, 109, .85);
}

@keyframes acorn-discovery-fade {
    0% {
        opacity: 0;
        transform: translate(-50%, -42%);
    }

    15% {
        opacity: 1;
        transform: translate(-50%, -50%);
    }

    75% {
        opacity: 1;
    }

    100% {
        opacity: 0;
        transform: translate(-50%, -56%);
    }
}

/* ========================================
   ECHOES — RANDOM INTERESTING FACT
   ======================================== */

.echoes-fact {
    width: min(760px, 58%);
    margin: -100px 10% 32px auto;
    padding: 0 18px;

    display: flex;
    align-items: center;
    gap: 20px;
}

.echoes-film-info + .echoes-fact {
    margin-top: 28px;
}

/* ACORN */

.echoes-fact-acorn {
    display: block;
    width: 68px;
    height: auto;

    flex: 0 0 auto;

    filter:
        drop-shadow(0 3px 6px rgba(0, 0, 0, 0.55));
}


/* FACT TEXT */

.echoes-fact-text {
    flex: 1;
}


/* INTERESTING FACT HEADING */

.echoes-fact-heading {
    margin-bottom: 7px;

    font-family: "Cormorant Garamond", Georgia, serif;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 4px;

    color: #d8b56a;
}


/* RANDOM FACT */

#echoes-random-fact,
#maera-random-fact {
    margin: 0;

    font-family: "Cormorant Garamond", Georgia, serif;
    font-size: 18px;
    font-weight: 500;
    line-height: 1.5;

    color: #d8c18a;
}

/* ========================================
   ECHOES — FILM INFORMATION
   ======================================== */

.echoes-film-info {
    width: min(1100px, 90%);
    margin: 70px auto 46px;
    padding: 22px 0;

    display: grid;
    grid-template-columns: repeat(4, 1fr);

    border-top: 1px solid rgba(205, 160, 75, 0.38);
    border-bottom: 1px solid rgba(205, 160, 75, 0.38);
}

.echoes-film-detail {
    position: relative;
    text-align: center;
    padding: 5px 18px;
}

.echoes-film-detail::before,
.echoes-film-detail::after {
    content: "◇";
    position: absolute;
    top: 50%;
    transform: translateY(-50%);

    color: rgba(205, 160, 75, 0.72);
    font-size: 15px;
}

.echoes-film-detail::before {
    left: -8px;
}

.echoes-film-detail::after {
    right: -8px;
}

.echoes-film-label {
    display: block;
    margin-bottom: 7px;

    font-family: "Cormorant Garamond", Georgia, serif;
    font-size: 13px;
    letter-spacing: 0.18em;
    color: #d0a34f;
}

.echoes-film-value {
    display: block;

    font-family: "Cormorant Garamond", Georgia, serif;
    font-size: 18px;
    letter-spacing: 0.03em;
    color: rgba(255, 255, 255, 0.88);
}

/* ========================================
   ECHOES — GHOSTLY REFLECTION
   ======================================== */

.echoes-hero {
    position: relative;
}

.echoes-ghost-reflection {
    position: absolute;

    left: 6%;
    top: 50%;

    width: 210px;
    height: auto;

    transform: translateY(-50%);

 opacity: 0;
animation: echoes-reflection-appear 32s ease-in-out infinite;

    z-index: 2;
    pointer-events: none;
}

@keyframes echoes-reflection-appear {
    0%,
    62% {
        opacity: 0;
    }

    70% {
        opacity: 0.06;
    }

    76% {
        opacity: 0.14;
    }

    82% {
        opacity: 0.14;
    }

    88% {
        opacity: 0.06;
    }

    94%,
    100% {
        opacity: 0;
    }
}

/* ========================================
   ECHOES — FIRST RECOGNITION
   ======================================== */

.echoes-first-recognition {
    text-align: center;
    padding: 34px 20px;
}

.echoes-recognition-heading {
    margin-bottom: 20px;

    font-family: "Cormorant Garamond", Georgia, serif;
    font-size: 20px;
    letter-spacing: 0.22em;
    color: #d0a34f;
}

.echoes-recognition-laurel {
    display: block;
    width: 420px;
    max-width: 80%;
    height: auto;
    margin: 0 auto;
}

/* ========================================
   HOMEPAGE COPYRIGHT SPACING
   ======================================== */

.carousel-stage + .copyright {
    margin-top: 60px;
}

/* ========================================
   ECHOES — BLACK BAT SWOOP
   ======================================== */

.black-bat-swoop {
    position: fixed;

    width: 140px;
    height: auto;

    left: -180px;
    top: 28%;

    z-index: 9998;

    pointer-events: none;
    user-select: none;
    -webkit-user-select: none;
    -webkit-user-drag: none;
}

/* BLACK FLIES ONLY WHEN JAVASCRIPT CALLS HIM */

.black-bat-swoop.is-flying {
    animation: black-bat-flight 4.5s ease-in-out forwards;
}

/* BLACK FLIES ACROSS THE PAGE */

@keyframes black-bat-flight {

    0% {
        left: -180px;
        top: 28%;
        transform: rotate(8deg) scale(0.82);
    }

    25% {
        left: 20%;
        top: 20%;
        transform: rotate(-7deg) scale(0.95);
    }

    55% {
        left: 52%;
        top: 34%;
        transform: rotate(5deg) scale(1);
    }

    78% {
        left: 76%;
        top: 24%;
        transform: rotate(-5deg) scale(0.92);
    }

    100% {
        left: 110%;
        top: 15%;
        transform: rotate(4deg) scale(0.78);
    }
 }

/* ========================================
   PRISMARA COPYRIGHT FOOTER
   ======================================== */

.prismara-footer {
    position: relative;
    width: 100%;
    min-height: 190px;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;

    box-sizing: border-box;
    padding: 35px 30px 22px;

    background: transparent;
}

.copyright-squirrel {
    display: block;
    width: 230px !important;
    max-width: 230px !important;
    height: auto !important;
    flex-shrink: 0;
}

.copyright-acorn-hotspot {
    position: absolute;

    left: 51%;
    top: 116px;

    width: 42px;
    height: 42px;

    transform: translateX(-50%);

    border: 0;
    background: transparent;

    z-index: 20;
}

.copyright-text {
    font-family: "Cormorant Garamond", Georgia, serif;
    font-size: 20px;
    font-weight: 500;
    letter-spacing: 0.5px;
    color: #d9b56d;

    text-shadow:
        0 1px 2px rgba(0,0,0,0.95),
        0 0 8px rgba(180,120,35,0.28);
}

.copyright-divider {
    display: block;
    width: 620px;
    max-width: 75%;
    height: auto;

    margin-top: -25px;
}

/* ========================================
   PRISMARA ROLLING ACORN
   ======================================== */

.rolling-acorn {
    position: absolute;
    left: -70px;
    bottom: 34px;

    width: 46px;
    height: 46px;

    z-index: 55;
    pointer-events: none;

    animation: acorn-crossing 18s linear forwards;
}

.rolling-acorn img {
    display: block;
    width: 46px;
    height: auto;

    animation: acorn-roll 18s linear forwards;
}

@keyframes acorn-crossing {
    from {
        left: -70px;
    }

    to {
        left: calc(100% - 140px);
    }
}

@keyframes acorn-roll {
    from {
        transform: rotate(0deg) scale(1);
    }

    to {
        transform: rotate(5760deg) scale(1.75);
    }
}

.maera-page .echoes-fact-heading,
.maera-page #maera-random-fact {
    color: #79cfff;
}

/* ========================================
   MAERA'S TIDE — BLUE ACCENTS
   ======================================== */

.maera-page .main-nav > a,
.maera-page .nav-dropdown > a {
    color: #79cfff;
}

.maera-page .main-nav > a:hover,
.maera-page .nav-dropdown > a:hover,
.maera-page .nav-dropdown > a.active {
    color: #b8e9ff;
    text-shadow: 0 0 7px rgba(121, 207, 255, 0.35);
}

.maera-page .nav-dropdown > a.active::after {
    background: #79cfff;
    box-shadow: 0 0 5px rgba(121, 207, 255, 0.40);
}

.maera-page .hairline-line {
    background: linear-gradient(
        to right,
        rgba(45, 115, 165, 0.15),
        rgba(121, 207, 255, 0.75),
        rgba(45, 115, 165, 0.15)
    );
}

.maera-page .hairline-jewel {
    color: #79cfff;
    text-shadow:
        0 0 3px rgba(184, 233, 255, 0.75),
        0 0 7px rgba(70, 165, 220, 0.40);
}

.maera-page .trailer-label {
    color: rgba(121, 207, 255, 0.78);
}

/* ========================================
   MAERA'S TIDE — BLUE CONTENT LETTERING
   ======================================== */

/* SYNOPSIS */
.maera-page .film-synopsis,
.maera-page .film-synopsis p {
    color: #79cfff;
}

/* SECTION HEADINGS — STILLS, CAST, ETC. */
.maera-page .section-title {
    color: #79cfff;
}

/* CAST NAMES */
.maera-page .cast-member span {
    color: #79cfff;
}

/* COPYRIGHT */
.maera-page .copyright-text {
    color: rgba(255, 255, 255, 0.82);

    text-shadow:
        0 1px 2px rgba(0, 0, 0, 0.95),
        0 0 6px rgba(255, 255, 255, 0.12);
}

/* ========================================
   MAERA'S TIDE — BLUE IMAGE + VIDEO FRAMES
   ======================================== */

/* MAIN POSTER */
.maera-page .film-poster-main > img {
    border-color: rgba(121, 207, 255, 0.55);

    box-shadow:
        0 0 10px rgba(121, 207, 255, 0.14);
}

/* TRAILER */
.maera-page .film-trailer-area {
    border-color: rgba(121, 207, 255, 0.45);

    box-shadow:
        0 0 10px rgba(121, 207, 255, 0.12);
}

/* FILM STILLS */
.maera-page .stills-grid img {
    border-color: rgba(121, 207, 255, 0.42);

    box-shadow:
        0 0 8px rgba(121, 207, 255, 0.10);
}

/* FILM STILLS — HOVER */
.maera-page .stills-grid img:hover {
    border-color: rgba(184, 233, 255, 0.72);

    box-shadow:
        0 0 12px rgba(121, 207, 255, 0.18);
}

/* SPECIAL / EASTER-EGG STILL FRAME */
.maera-page .stills-easter-egg {
    border-color: rgba(121, 207, 255, 0.42);

    box-shadow:
        0 0 8px rgba(121, 207, 255, 0.10);
}

.maera-page .stills-easter-egg:hover {
    border-color: rgba(184, 233, 255, 0.72);

    box-shadow:
        0 0 12px rgba(121, 207, 255, 0.18);
}

/* CAST PORTRAITS */
.maera-page .cast-member img {
    border-color: rgba(121, 207, 255, 0.42);

    box-shadow:
        0 0 8px rgba(121, 207, 255, 0.10);
}

/* ========================================
   MAERA'S TIDE — BEYOND THE TIDE + FOOTER
   ======================================== */

/* BEYOND THE TIDE VIDEO FRAME */
.maera-page .behind-video {
    border-color: rgba(121, 207, 255, 0.42);
}

/* DIRECTOR'S CUTS */
.maera-page .behind-caption {
    color: #79cfff;
}

/* BACK-TO-TOP ARROW */
.maera-page .back-to-top {
    color: rgba(121, 207, 255, 0.88);

    text-shadow:
        0 0 6px rgba(121, 207, 255, 0.30);
}

.maera-page .back-to-top:hover {
    color: #b8e9ff;

    text-shadow:
        0 0 8px rgba(184, 233, 255, 0.48);
}

/* ========================================
   MAERA'S TIDE — HEADER BLUE DETAILS
   ======================================== */

/* ACTIVE FILMS BOX */
.maera-page .main-nav a.active {
    border-color: rgba(121, 207, 255, 0.70);

    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.28),
        inset 0 -1px 0 rgba(121, 207, 255, 0.15),
        0 0 12px rgba(121, 207, 255, 0.18);
}

/* FILM DROPDOWN — NORMAL NAMES */
.maera-page .dropdown-menu a {
    color: #79cfff;
}

/* FILM DROPDOWN — HOVER */
.maera-page .dropdown-menu a:hover {
    color: #ffffff;
    border-color: rgba(121, 207, 255, 0.45);
}

/* CURRENT FILM — MAERA'S TIDE */
.maera-page .dropdown-menu a.current-film {
    color: #b8e9ff;
    border-color: rgba(121, 207, 255, 0.60);
}

/* DROPDOWN OUTER BOX */
.maera-page .dropdown-menu {
    border-color: rgba(121, 207, 255, 0.50);
}

/* BOTTOM EDGE OF HEADER */
.maera-page .site-header {
    border-bottom-color: rgba(121, 207, 255, 0.35);
}

/* MAERA — MAIN NAV HOVER BOXES */
.maera-page .main-nav a:hover {
    border-color: rgba(121, 207, 255, 0.55);

    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.20),
        inset 0 -1px 0 rgba(121, 207, 255, 0.14),
        0 0 10px rgba(121, 207, 255, 0.16);
}

.maera-page .header-gem video {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
}


/* ========================================
   MAERA MASTHEAD DECOR
   ======================================== */

.maera-page .maera-masthead {
    position: relative;
    overflow: visible;
    margin-bottom: 90px;
}

/* Wide bubbles + water decoration */
.maera-page .maera-masthead-decor {
    position: absolute;

    left: 50%;
    top: 50%;

    width: 1250px;
    max-width: none;
    height: auto;

    transform: translate(-50%, -55%);

    z-index: 4;
    pointer-events: none;
}

/* Maera masthead stays above decoration */
.maera-page .maera-masthead .echoes-prismara-title {
    position: relative;
    z-index: 2;
}

/* MAERA — GOLD FILMS ARROW */

.maera-page .nav-arrow {
    color: #d7a84b;
    text-shadow:
        0 0 4px rgba(215, 168, 75, 0.35);
}

/* ========================================
   MAERA — RIPPLE ENTRANCE
   ======================================== */

.maera-ripple-intro {
    position: fixed;
    inset: 0;
    width: 100vw;
    height: 100vh;
    z-index: 99999;
    overflow: hidden;
    background: #000;
    transition: opacity 1.2s ease;
}

.maera-ripple-intro video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* ========================================
   MAERA — CRYSTAL SHARD ROTATION
   ======================================== */

.maera-page .echoes-fact-acorn {
    animation: maera-shard-turn 10s ease-in-out infinite;
    transform-origin: center center;
}

@keyframes maera-shard-turn {
    0%,
    70% {
        transform: rotate(0deg);
        filter: drop-shadow(0 0 4px rgba(80, 190, 255, 0.35));
    }

    90% {
        transform: rotate(360deg);
        filter:
            drop-shadow(0 0 8px rgba(80, 190, 255, 0.75))
            drop-shadow(0 0 14px rgba(70, 140, 255, 0.35));
    }

    100% {
        transform: rotate(360deg);
        filter: drop-shadow(0 0 4px rgba(80, 190, 255, 0.35));
    }
}

/* ========================================
   MAERA — LAV HIDDEN ACORN
   ======================================== */

.maera-page .maera-cast-acorn-wrap {
    position: relative;
}

.maera-page .maera-cast-lav {
    position: relative;
    z-index: 2;
    transition: opacity 0.7s ease;
}

.maera-page .maera-cast-acorn {
    position: absolute;
    inset: 0;
    z-index: 1;

    width: 100%;
    height: 100%;
    padding: 0;
    border: 0;
    background: transparent;

    display: flex;
    align-items: center;
    justify-content: center;

    cursor: pointer;
}

.maera-page .maera-cast-acorn-wrap:hover .maera-cast-lav {
    opacity: 0;
    pointer-events: none;
}

.maera-page .maera-cast-acorn img {
    width: 58%;
    height: auto;
    object-fit: contain;

    border: none;
    box-shadow: none;
    outline: none;
    background: transparent;
}

/* ========================================
   MAERA — ACORN DISCOVERY CAST POSITION
   ======================================== */

.maera-page .maera-cast {
    position: relative;
}

.maera-page .maera-cast .acorn-discovery {
    position: absolute;
    left: 50%;
    top: 84%;

    transform: translate(-50%, -50%);

    z-index: 20;
}

/* ========================================
   MAERA — GUARDIAN HIDDEN VIDEO
   ======================================== */

.maera-page .maera-guardian-video-wrap {
    position: relative;
    width: 150px;
    height: 150px;
    flex: 0 0 150px;
}

.maera-page .maera-cast-guardian,
.maera-page .maera-guardian-video {
    position: absolute;
    inset: 0;

    width: 150px;
    height: 150px;

    object-fit: cover;
    box-sizing: border-box;
}

/* Guardian sits above the hidden video */
.maera-page .maera-cast-guardian {
    z-index: 2;
    opacity: 1;
    transition: opacity 0.7s ease;
}

/* Secret video sits underneath */
.maera-page .maera-guardian-video {
    z-index: 1;

    top: 4px;
    left: 4px;
    width: 144px;
    height: 144px;
}

/* Hover Guardian → she fades away */
.maera-page .maera-guardian-video-wrap:hover .maera-cast-guardian {
    opacity: 0;
    pointer-events: none;
}

/* MAERA — COPYRIGHT SQUIRREL SIZE */
.maera-page .copyright-squirrel {
    width: 135px !important;
    max-width: 135px !important;
    height: auto !important;
}

/* ========================================
   MAERA — CAST CURSOR BEHAVIOR
   ======================================== */

/* Lav's hidden acorn uses the Prismara glove */
.maera-page .maera-cast-acorn {
    cursor: url("../images/cursors/prismara-pointer.png") 8 2, pointer;
}

/* Guardian's hidden video remains normal browsing arrow */
.maera-page .maera-guardian-video-wrap,
.maera-page .maera-guardian-video,
.maera-page .maera-cast-guardian {
    cursor: url("../images/cursors/prismara-cursor.png") 0 0, auto;
}

/* MAERA — BEYOND THE TIDE POSTER COLOR BALANCE */
.maera-page #beyond-the-tide-video {
    filter: saturate(0.78) hue-rotate(8deg);
}

/* MAERA — SYNOPSIS WHALE TAIL */
.maera-page .maera-synopsis-tail {
    display: block;
    width: 42px;
    height: auto;
    margin: 12px auto 0;
    opacity: 0.85;
}

.maera-page .back-to-top {
    position: relative;
}

.maera-page .back-to-top::after {
    content: "";
    position: absolute;
    left: 50%;
    top: 72%;
    width: 28px;
    height: 10px;
    transform: translateX(-50%);
    border-radius: 50%;
    background: rgba(73, 190, 255, 0.18);
    filter: blur(6px);
    pointer-events: none;
}

/* =========================================
   ECHOES — FULL-SCREEN SPLASH ENTRANCE
   ========================================= */

.echoes-splash-intro {
    position: fixed;
    inset: 0;
    width: 100vw;
    height: 100vh;
    background: #000;
    z-index: 99999;
    overflow: hidden;
    opacity: 1;
    transition: opacity 1.2s ease;
}

.echoes-splash-intro video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* ========================================
   ECHOES — PINK NARRATION QUOTE
   ======================================== */

.echoes-quote {
    width: min(900px, 82%);
    margin: 34px auto 42px;
    text-align: center;
}

.echoes-quote-text {
    margin: 0 auto 14px;

    font-family: "Cormorant Garamond", Georgia, serif;
    font-size: 22px;
    font-style: italic;
    line-height: 1.55;
    letter-spacing: 0.02em;

    color: rgba(255, 255, 255, 0.82);
}

.echoes-quote-speaker {
    margin-top: 8px;

    font-family: "Cormorant Garamond", Georgia, serif;
    font-size: 13px;
    letter-spacing: 0.22em;

    color: #d0a34f;
}

.echoes-quote-voice {
    width: 30px;
    height: 30px;
    padding: 0;

    border: 1px solid rgba(208, 163, 79, 0.55);
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.18);

    color: #d0a34f;
    font-size: 11px;
    line-height: 28px;
    text-align: center;

    cursor: pointer;
    transition: all 0.35s ease;
}

.echoes-quote-voice:hover {
    border-color: rgba(208, 163, 79, 0.95);
    background: rgba(208, 163, 79, 0.08);
    transform: scale(1.08);
}

.maera-page .maera-film-info .echoes-film-label {
    color: #66bfe8;
}

.maera-page .maera-film-info {
    border-top-color: rgba(102, 191, 232, 0.38);
    border-bottom-color: rgba(102, 191, 232, 0.38);
}

.maera-page .maera-film-info .echoes-film-detail::before,
.maera-page .maera-film-info .echoes-film-detail::after {
    color: rgba(102, 191, 232, 0.72);
}

.maera-page .maera-first-recognition .echoes-recognition-heading {
    color: #66bfe8;
}

/* Maera Interesting Fact position */
.maera-page .echoes-fact {
    transform: translateY(-100px);
}

/* Maera secret shard button */
.maera-shard-trigger {
    display: block;
    flex: 0 0 auto;
    padding: 0;
    border: 0;
    background: transparent;
    cursor: url("../images/cursors/prismara-pointer.png") 8 2, pointer;
}

.maera-shard-trigger .echoes-fact-acorn {
    display: block;
}

/* Maera secret shard cinematic */
.maera-shard-cinematic {
    position: fixed;
    inset: 0;
    width: 100vw;
    height: 100vh;
    background: #000;
    z-index: 100000;

    display: none;
    align-items: center;
    justify-content: center;

    opacity: 0;
    transition: opacity 1.5s ease;
}

.maera-shard-cinematic video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.maera-shooting-shard {
    position: fixed;
    left: -500px;
    top: 50%;
    width: 115px;
    height: auto;
    z-index: 9000;
    pointer-events: none;
    opacity: 0;
}

.maera-escape {
    display: block;
    position: absolute;

    width: 1600px;
    height: auto;

    left: -220px;
    top: -12%;

    transform: rotate(-10deg);
    transform-origin: center center;

    opacity: 0;
    pointer-events: none;
    z-index: 8000;

    transition:
        opacity 0.6s ease,
        left 3s ease-out;
}

.maera-page .behind-video {
    position: relative;
}

@keyframes titanPodIdle {
    0%, 100% {
        filter:
            brightness(1)
            drop-shadow(0 4px 5px rgba(255, 170, 45, 0.18));
    }

    50% {
        filter:
            brightness(1.10)
            drop-shadow(0 6px 9px rgba(255, 170, 45, 0.38))
            drop-shadow(0 10px 14px rgba(255, 120, 20, 0.14));
    }
}

.titan-synopsis-pod {
    display: block;
    width: 90px;
    height: auto;
    margin: 18px auto 0;
    animation: titanPodIdle 3.2s ease-in-out infinite;
}

@keyframes titanMirrorPulse {
    0%, 100% {
        filter:
            brightness(1)
            drop-shadow(0 0 4px rgba(255, 190, 70, 0.25));
    }

    50% {
        filter:
            brightness(1.18)
            drop-shadow(0 0 10px rgba(255, 190, 70, 0.55))
            drop-shadow(0 0 18px rgba(255, 145, 35, 0.20));
    }
}

.titan-fact-mirror {
    display: block;
    width: 110px;
    height: auto;
    animation: titanMirrorPulse 4.5s ease-in-out infinite;
}

.titan-fact-trigger {
    background: transparent;
    border: none;
    padding: 0;
    margin: 0;
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
}

#titan-fact-text {
    color: #a9c7d6;
    min-height: 4.8em;
}

.titan-fact .echoes-fact-heading {
    color: #a9c7d6;
}

.titan-still-door {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    perspective: 1200px;
}

.titan-still-inner {
    position: relative;
    width: 100%;
    height: 100%;
    transform-style: preserve-3d;
    transition: transform 0.8s ease;
}

.titan-still-door:hover .titan-still-inner {
    transform: rotateY(180deg);
}

.titan-still-front,
.titan-still-back {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    overflow: hidden;
}

.titan-still-back {
    transform: rotateY(180deg);
}

.titan-still-front img,
.titan-still-back video {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.titan-sound-hint {
    position: absolute;
    left: 50%;
    bottom: 8px;
    transform: translateX(-50%);
    z-index: 5;

    padding: 4px 10px;

    font-family: "Cormorant Garamond", Georgia, serif;
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 2px;
    white-space: nowrap;

    color: #a9c7d6;
    background: rgba(0, 0, 0, 0.58);

    pointer-events: none;
    opacity: 1;
    transition: opacity 0.25s ease;
}

.titan-sound-hint.is-hidden {
    opacity: 0;
}

/* ========================================
   TITAN — POD HIDDEN ACORN
   ======================================== */

.maera-page .titan-pod-acorn-wrap {
    position: relative;
}

.maera-page .titan-pod-acorn-wrap video {
    position: relative;
    z-index: 2;
    transition: transform 0.8s ease;
}

.maera-page .titan-pod-acorn {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);

    width: 58px;
    height: 58px;

    padding: 0;
    border: 0;
    background: transparent;

    display: flex;
    align-items: center;
    justify-content: center;

    z-index: 1;

    cursor: url("../images/cursors/prismara-pointer.png") 8 2, pointer;

    opacity: 0;
    transition: opacity 0.35s ease;
}

.maera-page .titan-pod-acorn img {
    display: block;
    width: 100%;
    height: auto;

    border: 0;
    box-shadow: none;
    background: transparent;
}

.maera-page .titan-pod-acorn-wrap:hover video {
    transform: translateX(-72px);
}

.maera-page .titan-pod-acorn-wrap:hover .titan-pod-acorn {
    opacity: 1;
}

/* ========================================
   TITAN — ACORN DISCOVERY POSITION
   Down one knuckle 😂
   ======================================== */

.titan-page .acorn-discovery {
    top: 58%;
}

/* ========================================
   EVERPASTURE — ACORN DISCOVERY POSITION
   Up one knuckle 😂
   ======================================== */

.everpasture-page .acorn-discovery {
    top: 42%;
}

/* ========================================
   TITAN DRIFT — SILVER-BLUE ACCENTS
   ======================================== */

.titan-page .main-nav > a,
.titan-page .nav-dropdown > a {
    color: #a9c7d6;
}

.titan-page .main-nav > a:hover,
.titan-page .nav-dropdown > a:hover,
.titan-page .nav-dropdown > a.active {
    color: #d8e8ef;
    text-shadow: 0 0 7px rgba(169, 199, 214, 0.35);
}

.titan-page .nav-dropdown > a.active::after {
    background: #a9c7d6;
    box-shadow: 0 0 5px rgba(169, 199, 214, 0.40);
}

.titan-page .hairline-line {
    background: linear-gradient(
        to right,
        rgba(82, 111, 125, 0.15),
        rgba(169, 199, 214, 0.75),
        rgba(82, 111, 125, 0.15)
    );
}

.titan-page .hairline-jewel {
    color: #a9c7d6;
    text-shadow:
        0 0 3px rgba(216, 232, 239, 0.75),
        0 0 7px rgba(169, 199, 214, 0.40);
}

.titan-page .trailer-label {
    color: rgba(169, 199, 214, 0.78);
}


/* ========================================
   TITAN DRIFT — SILVER-BLUE CONTENT LETTERING
   ======================================== */

/* SYNOPSIS */
.titan-page .film-synopsis,
.titan-page .film-synopsis p {
    color: #a9c7d6;
}

/* SECTION HEADINGS — STILLS, CAST, ETC. */
.titan-page .section-title {
    color: #a9c7d6;
}

/* CAST NAMES */
.titan-page .cast-member span {
    color: #a9c7d6;
}

/* COPYRIGHT */
.titan-page .copyright-text {
    color: rgba(255, 255, 255, 0.82);

    text-shadow:
        0 1px 2px rgba(0, 0, 0, 0.95),
        0 0 6px rgba(255, 255, 255, 0.12);
}


/* ========================================
   TITAN DRIFT — SILVER-BLUE IMAGE + VIDEO FRAMES
   ======================================== */

/* MAIN POSTER */
.titan-page .film-poster-main > img {
    border-color: rgba(169, 199, 214, 0.55);

    box-shadow:
        0 0 10px rgba(169, 199, 214, 0.14);
}

/* TRAILER */
.titan-page .film-trailer-area {
    border-color: rgba(169, 199, 214, 0.45);

    box-shadow:
        0 0 10px rgba(169, 199, 214, 0.12);
}

/* FILM STILLS */
.titan-page .stills-grid img {
    border-color: rgba(169, 199, 214, 0.42);

    box-shadow:
        0 0 8px rgba(169, 199, 214, 0.10);
}

/* FILM STILLS — HOVER */
.titan-page .stills-grid img:hover {
    border-color: rgba(216, 232, 239, 0.72);

    box-shadow:
        0 0 12px rgba(169, 199, 214, 0.18);
}

/* SPECIAL / EASTER-EGG STILL FRAME */
.titan-page .stills-easter-egg {
    border-color: rgba(169, 199, 214, 0.42);

    box-shadow:
        0 0 8px rgba(169, 199, 214, 0.10);
}

.titan-page .stills-easter-egg:hover {
    border-color: rgba(216, 232, 239, 0.72);

    box-shadow:
        0 0 12px rgba(169, 199, 214, 0.18);
}

/* CAST PORTRAITS */
.titan-page .cast-member img {
    border-color: rgba(169, 199, 214, 0.42);

    box-shadow:
        0 0 8px rgba(169, 199, 214, 0.10);
}


/* ========================================
   TITAN DRIFT — DIRECTOR'S CUTS + FOOTER
   ======================================== */

/* DIRECTOR'S CUTS VIDEO FRAME */
.titan-page .behind-video {
    border-color: rgba(169, 199, 214, 0.42);
}

/* DIRECTOR'S CUTS */
.titan-page .behind-caption {
    color: #a9c7d6;
}

/* BACK-TO-TOP ARROW */
.titan-page .back-to-top {
    color: rgba(169, 199, 214, 0.88);

    text-shadow:
        0 0 6px rgba(169, 199, 214, 0.30);

    position: relative;
    top: -100px;
}

.titan-page .back-to-top:hover {
    color: #d8e8ef;

    text-shadow:
        0 0 8px rgba(216, 232, 239, 0.48);
}

/* TITAN — HIDE BACK-TO-TOP ARROW ONLY */
.titan-page .back-to-top {
    visibility: hidden;
}

/* ========================================
   TITAN DRIFT — HEADER SILVER-BLUE DETAILS
   ======================================== */

/* ACTIVE FILMS BOX */
.titan-page .main-nav a.active {
    border-color: rgba(169, 199, 214, 0.70);

    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.28),
        inset 0 -1px 0 rgba(169, 199, 214, 0.15),
        0 0 12px rgba(169, 199, 214, 0.18);
}

/* FILM DROPDOWN — NORMAL NAMES */
.titan-page .dropdown-menu a {
    color: #a9c7d6;
}

/* FILM DROPDOWN — HOVER */
.titan-page .dropdown-menu a:hover {
    color: #ffffff;
    border-color: rgba(169, 199, 214, 0.45);
}

/* CURRENT FILM — TITAN DRIFT */
.titan-page .dropdown-menu a.current-film {
    color: #d8e8ef;
    border-color: rgba(169, 199, 214, 0.60);
}

/* DROPDOWN OUTER BOX */
.titan-page .dropdown-menu {
    border-color: rgba(169, 199, 214, 0.50);
}

/* BOTTOM EDGE OF HEADER */
.titan-page .site-header {
    border-bottom-color: rgba(169, 199, 214, 0.35);
}

/* TITAN — MAIN NAV HOVER BOXES */
.titan-page .main-nav a:hover {
    border-color: rgba(169, 199, 214, 0.55);

    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.20),
        inset 0 -1px 0 rgba(169, 199, 214, 0.14),
        0 0 10px rgba(169, 199, 214, 0.16);
}

/* TITAN — GOLD FILMS ARROW */
.titan-page .nav-arrow {
    color: #d7a84b;

    text-shadow:
        0 0 4px rgba(215, 168, 75, 0.35);
}

/* ========================================
   TITAN — FILM STATS + RECOGNITION
   ======================================== */

/* PROJECT TYPE, GENRE, RUNTIME, COMPLETION DATE */
.maera-page.titan-page .maera-film-info .echoes-film-label {
    color: #a9c7d6;
}

/* STATISTICS TOP + BOTTOM LINES */
.maera-page.titan-page .maera-film-info {
    border-top-color: rgba(169, 199, 214, 0.38);
    border-bottom-color: rgba(169, 199, 214, 0.38);
}

/* LITTLE DIAMONDS — BOTH SIDES */
.maera-page.titan-page .maera-film-info .echoes-film-detail::before,
.maera-page.titan-page .maera-film-info .echoes-film-detail::after {
    color: rgba(169, 199, 214, 0.72);
}

/* FIRST RECOGNITION */
.maera-page.titan-page .maera-first-recognition .echoes-recognition-heading {
    color: #a9c7d6;
}

/* ========================================
   TITAN — INTERESTING FACT
   ======================================== */

.titan-page .titan-fact {
    transform: translateY(-350px);
}

.titan-page #titan-fact-text {
    margin: 0;

    font-family: "Cormorant Garamond", Georgia, serif;
    font-size: 19px;
    font-weight: 500;
    line-height: 1.55;

    color: #a9c7d6;
}

/* ========================================
   TITAN — YELLOW FLIGHT STAGE
   ======================================== */

.titan-page .titan-yellow-stage {
    position: relative;
    width: min(1100px, 90%);
    height: 300px;
    margin: -300px auto 30px;
}

/* GUARDIAN'S CAMERA BAG */

.titan-page .titan-bag-trigger {
    position: absolute;
    left: calc(8% + 225px);
    bottom: 10px;

    width: 260px;
    padding: 0;

    border: 0;
    background: transparent;

    cursor: url("../images/cursors/prismara-pointer.png") 8 2, pointer;
}

.titan-page .titan-bag {
    display: block;
    width: 100%;
    height: auto;

    transition:
        transform 0.45s ease,
        filter 0.45s ease;
}

/* SUBTLE DISCOVERY CUE */

.titan-page .titan-bag-trigger:hover .titan-bag {
    transform: translateY(-3px);
    z-index: 4;

    filter:
        brightness(1.08)
        drop-shadow(0 0 8px rgba(215, 168, 75, 0.18));
}

/* ========================================
   TITAN — YELLOW COMET
   ======================================== */

.titan-page .titan-yellow-comet {
    position: absolute;
    left: 340px;
    bottom: 55px;

    width: 180px;
    height: auto;

    opacity: 0;
    visibility: hidden;

    pointer-events: none;

    z-index: 5;
}

/* YELLOW — ACTIVE FLIGHT */
.titan-page .titan-yellow-comet.is-flying {
    visibility: visible;
    animation: titan-yellow-flight 6s ease-in-out forwards;
}

@keyframes titan-yellow-flight {

    /* Hidden inside / immediately behind the bag */
    0% {
        left: 340px;
        bottom: 55px;
        transform: scale(0.35) rotate(-8deg);
        opacity: 0;
    }

    /* Emerging */
    10% {
        left: 390px;
        bottom: 105px;
        transform: scale(0.65) rotate(-4deg);
        opacity: 1;
    }

    /* Clear of the bag */
    25% {
        left: 500px;
        bottom: 165px;
        transform: scale(0.90) rotate(2deg);
        opacity: 1;
    }

    /* Across Titan airspace */
    50% {
        left: 680px;
        bottom: 205px;
        transform: scale(1) rotate(6deg);
        opacity: 1;
    }

    /* Gentle downward sweep */
    72% {
        left: 820px;
        bottom: 145px;
        transform: scale(0.90) rotate(10deg);
        opacity: 1;
    }

    /* Heading away */
    90% {
        left: 930px;
        bottom: 190px;
        transform: scale(0.65) rotate(4deg);
        opacity: 0.85;
    }

    /* Gone */
    100% {
        left: 1010px;
        bottom: 225px;
        transform: scale(0.35) rotate(0deg);
        opacity: 0;
    }

}

/* BAG — ACTIVE WARM GLOW */
.titan-page .titan-bag-trigger.is-open .titan-bag {
    transform: translateY(-3px);
    filter:
        brightness(1.12)
        drop-shadow(0 0 8px rgba(215, 168, 75, 0.35))
        drop-shadow(0 0 18px rgba(215, 168, 75, 0.18));
}

/* ========================================
   TITAN — GUARDIAN WOODGRAIN MEMORY
   ======================================== */

.titan-page .titan-guardian-memory {
    position: absolute;

    right: 40px;
    bottom: 10px;

    width: 300px;
    height: auto;

    opacity: 0;
    visibility: hidden;

    pointer-events: none;
    z-index: 3;

    filter:
        brightness(0.42)
        saturate(0.35)
        contrast(0.90);
transform: translate(0, 20px) scale(0.75);
transform-origin: center bottom;
}

/* GUARDIAN — MEMORY ACTIVE */
.titan-page .titan-guardian-memory.is-visible {
    visibility: visible;
    animation: titan-guardian-memory 6s ease-in-out forwards;
}

@keyframes titan-guardian-memory {

    /* Nothing */
    0% {
        opacity: 0;
        visibility: visible;
    }

    /* Barely beginning to exist */
    25% {
        opacity: 0.08;
    }

    /* Visitor begins recognizing her */
    45% {
        opacity: 0.20;
    }

    /* Maximum visibility */
    60% {
        opacity: 0.26;
    }

    /* Hold briefly */
    68% {
        opacity: 0.26;
    }

    /* Returning to the woodgrain */
    85% {
        opacity: 0.10;
    }

    /* Completely gone */
    99% {
        opacity: 0;
    }

    100% {
        opacity: 0;
        visibility: hidden;
    }
}

/* ========================================
   TITAN — MEMORY NEBULA
   ======================================== */

.titan-page .titan-memory-nebula {
    position: absolute;

    right: -70px;
    top: -35px;

    width: 720px;
    height: auto;

    opacity: 0.32;

    pointer-events: none;
    user-select: none;

    z-index: 1;
}

/* ========================================
   TITAN CAST — TIME CARD
   Guardian Prototype
   ======================================== */

.titan-page .titan-time-card {
    position: relative;
    width: 150px;
    height: 150px;

    perspective: 900px;
}

.titan-page .titan-time-card-inner {
    position: relative;
    width: 100%;
    height: 100%;

    transform-style: preserve-3d;

    transition:
        transform 1.15s cubic-bezier(0.22, 1, 0.36, 1);
}

/* TURN THROUGH TIME */

.titan-page .titan-time-card:hover .titan-time-card-inner {
    transform: rotateY(180deg);
}

/* BOTH SIDES */

.titan-page .titan-time-card-face {
    position: absolute;
    inset: 0;

    width: 100%;
    height: 100%;

    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;

    overflow: hidden;
}

/* BOTH PHOTOGRAPHS */

.titan-page .titan-time-card-face img {
    display: block;

    width: 100%;
    height: 100%;

    object-fit: cover;
    margin: 0;
}

/* BACKSIDE */

.titan-page .titan-time-card-back {
    transform: rotateY(180deg);
}

/* ========================================
   TITAN TIME CARD — BACKSIDE COLOR
   ======================================== */

.titan-page .titan-time-card-back {
    transform: rotateY(180deg);

    border: 1px solid rgba(218, 183, 104, 0.75);

    box-shadow:
    0 0 4px rgba(218, 183, 104, 0.38),
    0 0 9px rgba(218, 183, 104, 0.18),
    inset 0 0 3px rgba(255, 226, 158, 0.10);

    box-sizing: border-box;
}

.titan-page .titan-beyond-videos {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 34px;
    max-width: 1100px;
    margin: 35px auto 40px;
}

.titan-page .titan-beyond-player {
    flex: 1 1 0;
    max-width: 520px;
}

.titan-page .titan-beyond-player video {
    display: block;
    width: 100%;
    height: auto;
}

/* ALIGN BEYOND THE DRIFT WITH STILLS + CAST */

.titan-page .titan-beyond-drift .section-title {
    width: 1100px;
    max-width: calc(100% - 40px);
    margin-left: auto;
    margin-right: auto;
    transform: translateX(-45px);
}

/* ========================================
   TITAN DRIFT — GOLD COMET CURSOR
   ======================================== */

.titan-page {
    cursor: url("../images/cursors/titan-comet-cursor.png") 0 0, auto;
}

/* ========================================
   TITAN — PINK NARRATION
   ======================================== */

.titan-page .titan-pink-quote {
    max-width: 950px;
    margin: 58px auto 48px;
    text-align: center;
}

.titan-page .titan-pink-quote blockquote {
    margin: 0 auto 20px;
    padding: 0;

    color: rgba(220, 227, 232, 0.90);

    font-family: "Cormorant Garamond", Georgia, serif;
    font-size: 22px;
    font-style: italic;
    font-weight: 400;
    line-height: 1.55;

    border: 0;
}

.titan-page .titan-pink-play {
    width: 38px;
    height: 38px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    padding: 0;

    color: #9fb9c8;
    background: transparent;

    border: 1px solid rgba(159, 185, 200, 0.65);
    border-radius: 50%;

    font-size: 14px;
    line-height: 1;

    cursor: pointer;

    transition:
        color 0.3s ease,
        border-color 0.3s ease,
        box-shadow 0.3s ease;
}

.titan-page .titan-pink-play:hover {
    color: #d8b768;
    border-color: rgba(216, 183, 104, 0.80);

    box-shadow:
        0 0 7px rgba(159, 185, 200, 0.28),
        0 0 12px rgba(216, 183, 104, 0.12);
}

.titan-page .titan-pink-name {
    margin-top: 12px;

    color: #9fb9c8;

    font-family: "Cormorant Garamond", Georgia, serif;
    font-size: 14px;
    letter-spacing: 0.24em;
}


/* ========================================
   TITAN — RECOGNITION DIVIDER
   ======================================== */

.titan-page .titan-recognition-line {
    display: flex;
    align-items: center;
    justify-content: center;

    max-width: 1100px;
    margin: 0 auto 29px;
}

.titan-page .titan-recognition-line span {
    flex: 1;
    height: 1px;

    background: linear-gradient(
        to right,
        transparent,
        rgba(125, 159, 178, 0.50),
        transparent
    );
}

.titan-page .titan-recognition-line i {
    margin: 0 14px;

    color: #9fb9c8;

    font-size: 10px;
    font-style: normal;

    text-shadow: 0 0 7px rgba(159, 185, 200, 0.55);
}

/* ========================================
   BEYOND THE DRIFT — VIDEO LABELS
   ======================================== */

.titan-page .titan-beyond-labels {
    display: flex;
    justify-content: space-between;
    align-items: center;

    max-width: 1100px;
    margin: 30px auto -18px;

    color: #9fb9c8;

    font-family: "Cormorant Garamond", Georgia, serif;
    font-size: 16px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.titan-page .titan-beyond-labels span:last-child {
    text-align: right;
}

/* ========================================
   TITAN — BONUS FEATURE FRAMES
   ======================================== */

.titan-page .titan-beyond-videos {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 34px;

    max-width: 1120px;
    margin: 34px auto 0;
}

.titan-page .titan-beyond-player {
    flex: 1 1 0;
    padding: 10px;

    background: rgba(0, 0, 0, 0.22);

    border: 1px solid rgba(159, 185, 200, 0.48);

    box-shadow:
        inset 0 0 0 3px rgba(159, 185, 200, 0.035),
        0 0 12px rgba(100, 170, 205, 0.08);
}

.titan-page .titan-beyond-player video {
    display: block;
    width: 100%;
    height: auto;
}

/* ========================================
   TITAN — COPYRIGHT SQUIRREL
   ======================================== */

.titan-page .titan-copyright-squirrel-wrap {
    position: relative;
    width: 100%;
    height: 360px;
    margin: 0;
}

.titan-page .titan-copyright-squirrel-wrap .copyright-squirrel {
    position: absolute;
    width: 360px !important;
    max-width: 360px !important;
    height: auto !important;

    left: 12%;
    top: 0;
    margin: 0;
}

/* TITAN — HIDDEN ACORN #02 */
.titan-page .titan-vest-acorn-hotspot {
    position: absolute;

    left: calc(12% + 266px);
    top: 212px;

    width: 24px;
    height: 24px;

    padding: 0;
    border: 0;
    border-radius: 50%;
    background: transparent;

    cursor: pointer;
    z-index: 20;
}

/* TITAN — CENTER COPYRIGHT TEXT + DIVIDER */

.titan-page .copyright-text {
    align-self: center;
    text-align: center;
    width: 100%;
    margin-left: 0;
    margin-right: 0;
}

.titan-page .copyright-divider {
    align-self: center;
    margin-left: auto;
    margin-right: auto;
}

/* ========================================
   PRISMARA — FORCE GLOVE ON CLICKABLE ITEMS
   Keep this at the bottom of style.css
   ======================================== */

a,
button,
select,
summary,
[role="button"],
input[type="button"],
input[type="submit"],
input[type="reset"],
video {
    cursor: url("../images/cursors/prismara-pointer.png") 8 2, pointer !important;
}

/* ========================================
   TITAN — PRISMARA PASSENGER LAUNCH
   ======================================== */

.titan-launch-splash {
    position: fixed;
    inset: 0;
    z-index: 99999;

    display: flex;
    align-items: center;
    justify-content: center;

    background:
        radial-gradient(
            circle at center,
            rgba(15, 35, 52, 0.35) 0%,
            rgba(3, 9, 14, 0.94) 52%,
            #010305 100%
        );

    color: #eef7ff;
}

.titan-launch-control {
    width: min(620px, calc(100vw - 60px));
    text-align: center;

    padding: 52px 50px 46px;

    border: 1px solid rgba(137, 199, 235, 0.40);

    background:
        linear-gradient(
            180deg,
            rgba(12, 25, 35, 0.94),
            rgba(4, 10, 15, 0.97)
        );

    box-shadow:
        0 0 40px rgba(67, 157, 212, 0.13),
        inset 0 0 28px rgba(92, 175, 224, 0.05);
}

.titan-launch-status-light {
    width: 8px;
    height: 8px;

    margin: 0 auto 22px;

    border-radius: 50%;

    background: #74cfff;
    color: transparent;
    font-size: 0;

    box-shadow:
        0 0 8px #74cfff,
        0 0 18px rgba(116, 207, 255, 0.65);

    animation: titanLaunchBlink 1.8s ease-in-out infinite;
}

@keyframes titanLaunchBlink {

    0%,
    100% {
        opacity: 0.25;
    }

    50% {
        opacity: 1;
    }
}

.titan-launch-kicker {
    margin-bottom: 13px;

    font-family: "Cormorant Garamond", Georgia, serif;
    font-size: 15px;
    letter-spacing: 4px;

    color: #87c9ed;
}

.titan-launch-control h1 {
    margin: 0 0 36px;

    font-family: "Cormorant Garamond", Georgia, serif;
    font-size: 32px;
    font-weight: 500;
    letter-spacing: 3px;

    color: #e7edf2;

    text-shadow:
        0 0 15px rgba(105, 184, 230, 0.20);
}

.titan-launch-control label {
    display: block;

    margin-bottom: 12px;

    font-family: "Cormorant Garamond", Georgia, serif;
    font-size: 17px;
    letter-spacing: 3px;

    color: #c6d9e5;
}

#titan-pod-name {
    display: block;

    width: 100%;
    box-sizing: border-box;

    margin: 0 auto 24px;
    padding: 14px 18px;

    border: 1px solid rgba(116, 207, 255, 0.45);
    outline: none;

    background: rgba(0, 5, 9, 0.80);

    color: #ffffff;

    font-family: "Cormorant Garamond", Georgia, serif;
    font-size: 20px;
    letter-spacing: 2px;
    text-align: center;

    box-shadow:
        inset 0 0 15px rgba(64, 156, 210, 0.08);
}

#titan-pod-name:focus {
    border-color: rgba(116, 207, 255, 0.90);

    box-shadow:
        0 0 14px rgba(82, 181, 237, 0.18),
        inset 0 0 15px rgba(64, 156, 210, 0.10);
}

#titan-initiate-launch {
    display: block;

    margin: 0 auto;

    padding: 12px 30px;

    border: 1px solid rgba(208, 177, 109, 0.72);

    background: rgba(20, 25, 27, 0.95);

    color: #e2c37d;

    font-family: "Cormorant Garamond", Georgia, serif;
    font-size: 16px;
    letter-spacing: 3px;

    transition:
        background 0.35s ease,
        box-shadow 0.35s ease,
        color 0.35s ease;
}

#titan-initiate-launch:hover {
    background: rgba(45, 39, 24, 0.96);
    color: #f3d995;

    box-shadow:
        0 0 18px rgba(217, 180, 91, 0.20);
}

#titan-skip-launch {
    display: block;

    margin: 22px auto 0;

    padding: 4px 8px;

    border: 0;
    background: transparent;

    color: rgba(181, 202, 215, 0.60);

    font-family: "Cormorant Garamond", Georgia, serif;
    font-size: 13px;
    letter-spacing: 2px;

    transition: color 0.3s ease;
}

#titan-skip-launch:hover {
    color: #d6e9f4;
}

/* ========================================
   TITAN — FIRST LIGHT VIDEO
   ======================================== */

.titan-launch-video {
    position: absolute;
    inset: 0;

    width: 100%;
    height: 100%;

    object-fit: cover;

    opacity: 0;
    visibility: hidden;

    z-index: 1;
}

.titan-launch-control {
    position: relative;
    z-index: 2;
}

.titan-launch-splash.is-launching .titan-launch-control {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.titan-launch-splash.is-launching .titan-launch-video {
    opacity: 1;
    visibility: visible;
}

/* ========================================
   TITAN — STATION TRANSMISSION
   ======================================== */

.titan-page .titan-transmission {
    position: absolute;
    left: 4%;
    bottom: 7%;
    z-index: 4;

    font-family: "Playfair Display", serif;
    text-align: left;

    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.titan-page .titan-launch-splash.is-launching .titan-transmission {
    opacity: 1;
    visibility: visible;
}

.titan-page .titan-transmission-label {
    margin-bottom: 8px;

    color: #79bfff;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.28em;
}

.titan-page .titan-transmission-source {
    margin-bottom: 5px;

    color: rgba(255, 255, 255, 0.78);
    font-size: 18px;
    letter-spacing: 0.10em;
}

.titan-page .titan-transmission-message {
    color: #ffffff;
    font-size: 24px;
    letter-spacing: 0.04em;

    text-shadow:
        0 0 8px rgba(95, 175, 255, 0.45),
        0 0 18px rgba(95, 175, 255, 0.20);
}

.titan-page .titan-transmission-cursor {
    display: inline-block;
    margin-left: 4px;

    color: #79bfff;

    animation: titanTransmissionCursor 0.85s steps(1) infinite;
}

@keyframes titanTransmissionCursor {
    0%, 49% {
        opacity: 1;
    }

    50%, 100% {
        opacity: 0;
    }
}

.titan-page .titan-launch-splash {
    transition: opacity 1.8s ease;
}

.titan-page .titan-launch-splash.is-departing {
    opacity: 0;
    pointer-events: none;
}

/* ========================================
   TITAN — EMERGENCY WARNING LIGHTS
   ======================================== */

.titan-page .titan-emergency-light {
    position: fixed;
    top: 32%;
    width: 120px;
    height: auto;
    transform: translateY(-50%);
    z-index: 50;
    pointer-events: none;
}

.titan-page .titan-emergency-light {
    transition: opacity 0.5s ease;
}

.titan-page .titan-emergency-light.titan-light-hidden {
    opacity: 0 !important;
}

.titan-page .titan-emergency-light-left {
    left: 18px;
}

.titan-page .titan-emergency-light-right {
    right: 18px;
    transform: translateY(-50%) scaleX(-1);
}

/* ========================================
   TITAN — EMERGENCY LIGHT ACTIVE STATE
   ======================================== */

.titan-page .titan-emergency-light {
    opacity: 0.68;
    filter:
        brightness(0.68)
        saturate(0.80);
}

/* Emergency clearance received */
.titan-page.titan-emergency-active .titan-emergency-light {
    animation: titanEmergencyWake 4s ease-in-out 3;
}

/* After the wake sequence, the lights remain steadily illuminated */
.titan-page.titan-emergency-steady .titan-emergency-light {
    opacity: 1;
    filter:
        brightness(1.25)
        saturate(1.35)
        drop-shadow(0 0 7px rgba(255, 35, 20, 0.75))
        drop-shadow(0 0 16px rgba(255, 20, 10, 0.38));
}

@keyframes titanEmergencyWake {
    0%,
    100% {
        opacity: 0.82;
        filter:
            brightness(0.90)
            saturate(1.00)
            drop-shadow(0 0 3px rgba(255, 35, 20, 0.30));
    }

    50% {
        opacity: 1;
        filter:
            brightness(1.35)
            saturate(1.45)
            drop-shadow(0 0 8px rgba(255, 35, 20, 0.82))
            drop-shadow(0 0 18px rgba(255, 20, 10, 0.42));
    }
}

/* Accessibility: no pulsing for visitors requesting reduced motion */
@media (prefers-reduced-motion: reduce) {
    .titan-page.titan-emergency-active .titan-emergency-light {
        animation: none;
        opacity: 1;
        filter:
            brightness(1.25)
            saturate(1.35)
            drop-shadow(0 0 7px rgba(255, 35, 20, 0.75))
            drop-shadow(0 0 16px rgba(255, 20, 10, 0.38));
    }
}

/* ========================================
   TITAN — EVACUATION HATCH
   ======================================== */

.titan-page .titan-evac-hatch-wrap {
    position: relative;
    width: 520px;
    margin: -220px 425px 90px auto;
    text-align: center;
}

.titan-page .titan-evac-hatch {
    display: block;
    width: 100%;
    height: auto;
    transform: translateY(-220px);
}

/* TITAN — EVACUATION HATCH INTERACTION */

.titan-page .titan-evac-hatch {
    pointer-events: none;
}

.titan-page .titan-evac-handle-hotspot {
    position: absolute;

    left: 15%;
    top: 37%;

    width: 70%;
    height: 24%;

    transform: translateY(-220px);

    padding: 0;
    margin: 0;

    border: 0;

    opacity: 0;
    background: transparent;
    pointer-events: none;
}

/* Handle becomes available after emergency clearance */
.titan-page.titan-emergency-active .titan-evac-handle-hotspot,
.titan-page.titan-emergency-steady .titan-evac-handle-hotspot {
    pointer-events: auto;
    cursor: url("../images/cursors/prismara-pointer.png") 8 2, pointer;
}

/* TITAN — EVACUATION HATCH MECHANICAL RESPONSE */

.titan-page .titan-evac-hatch.titan-hatch-engaged {
    animation: titanHatchEngage 0.42s ease-out;
}

@keyframes titanHatchEngage {
    0% {
        transform: translateY(-220px);
    }

    35% {
        transform: translateY(-217px);
    }

    65% {
        transform: translateY(-223px);
    }

    100% {
        transform: translateY(-220px);
    }
}

/* ========================================
   TITAN — EVACUATION BAY ENVIRONMENT
   ======================================== */

.titan-page .titan-evac-bay {
    position: relative;
    background-image: url("../images/backgrounds/bg-titan.png");
    background-repeat: no-repeat;
    background-position: center bottom;
    background-size: cover;
}

/* ========================================
   TITAN — EVACUATION BAY WARNING LIGHTS
   ======================================== */

.titan-page .titan-evac-bay {
    position: relative;
}

.titan-page .titan-bay-light {
    position: absolute;
    top: -100px;
    width: 120px;
    height: auto;
    z-index: 5;
    pointer-events: none;

    opacity: 0.68;
    filter:
        brightness(0.68)
        saturate(0.80);
}

.titan-page .titan-bay-light-left {
    left: 18px;
}

.titan-page .titan-bay-light-right {
    right: 18px;
    transform: scaleX(-1);
}

.titan-page.titan-emergency-active .titan-bay-light {
    animation: titanEmergencyWake 4s ease-in-out 3;
}

.titan-page.titan-emergency-steady .titan-bay-light {
    opacity: 1;
    filter:
        brightness(1.25)
        saturate(1.35)
        drop-shadow(0 0 7px rgba(255, 35, 20, 0.75))
        drop-shadow(0 0 16px rgba(255, 20, 10, 0.38));
}

@media (prefers-reduced-motion: reduce) {
    .titan-page.titan-emergency-active .titan-bay-light {
        animation: none;
        opacity: 1;
        filter:
            brightness(1.25)
            saturate(1.35)
            drop-shadow(0 0 7px rgba(255, 35, 20, 0.75))
            drop-shadow(0 0 16px rgba(255, 20, 10, 0.38));
    }
}

/* ========================================
   TITAN — EVACUATION SEQUENCE OVERLAY
   ======================================== */

.titan-page .titan-evac-overlay {
    position: fixed;
    inset: 0;
    z-index: 99999;

    background: #000;

    opacity: 0;
    visibility: hidden;
    pointer-events: none;

    transition:
        opacity 1.4s ease,
        visibility 0s linear 1.4s;
}

.titan-page .titan-evac-overlay.titan-evac-overlay-active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;

    transition:
        opacity 1.4s ease,
        visibility 0s;
}

/* ========================================
   TITAN — EVACUATION VIDEO
   ======================================== */

.titan-evac-overlay {
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100%;
    background: #000;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    z-index: 99999;

    transition:
        opacity 1.8s ease,
        visibility 0s linear 1.8s;
}

.titan-evac-overlay.titan-evac-overlay-active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;

    transition:
        opacity 0.7s ease,
        visibility 0s linear 0s;
}

.titan-evac-stage {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
    background: #000;
}

.titan-evac-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    background: #000;
    z-index: 1;
}

/* Pod board stays hidden until we synchronize it later */
/* TITAN — PERSONALIZED EVACUATION POD BOARD */

.titan-pod-board {
    position: absolute;
    left: 50%;
    top: 46%;
    transform: translate(-50%, -50%) scale(0.58);
    width: 34%;
    text-align: center;
    color: #dff7ff;
    font-family: "Cormorant Garamond", serif;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    z-index: 10;

    text-shadow:
        0 0 6px rgba(180, 235, 255, 0.9),
        0 0 14px rgba(100, 190, 255, 0.65);
}

.titan-pod-board.is-visible {
    visibility: visible;
    animation: titanPodApproach 3.40s linear forwards;
}

@keyframes titanPodApproach {

    0% {
        opacity: 0;
        transform: translate(-50%, -50%) scale(0.64);
    }

    6% {
        opacity: 1;
    }

    35% {
        transform: translate(-50%, -50%) scale(0.77);
    }

    65% {
        transform: translate(-50%, -50%) scale(0.92);
    }

    92% {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1.05);
    }

    100% {
        opacity: 0;
        transform: translate(-50%, -50%) scale(1.10);
    }
}

.titan-pod-board-label {
    font-size: clamp(12px, 1.2vw, 22px);
    letter-spacing: 0.18em;
}

.titan-pod-board-name {
    margin: 5px 0;
    font-size: clamp(22px, 2.5vw, 48px);
    letter-spacing: 0.10em;
    text-transform: uppercase;
}

.titan-pod-board-status {
    font-size: clamp(10px, 1vw, 18px);
    letter-spacing: 0.14em;
}

/* ========================================
   EVERPASTURE — EMBER GOLD LETTERING
   ======================================== */

.everpasture-page .film-synopsis,
.everpasture-page .film-synopsis p {
    color: #d8b76a;
}

.everpasture-page .section-title {
    color: #d8b76a;
}

.everpasture-page .cast-member span {
    color: #d8b76a;
}

.everpasture-page .trailer-label {
    color: rgba(216, 183, 106, 0.82);
}

.everpasture-page .behind-caption {
    color: #d8b76a;
}

/* ========================================
   EVERPASTURE — POSTER FRAME
   ======================================== */

.everpasture-page .film-poster-main > img {
    border-color: rgba(216, 183, 106, 0.48);

    box-shadow:
        0 0 10px rgba(216, 183, 106, 0.12);
}

/* ========================================
   EVERPASTURE — MEDIA FRAMES
   ======================================== */

.everpasture-page .film-trailer-area,
.everpasture-page .stills-grid img,
.everpasture-page .cast-member img,
.everpasture-page .behind-video {
    border-color: rgba(216, 183, 106, 0.42);

    box-shadow:
        0 0 8px rgba(216, 183, 106, 0.10);
}

.everpasture-page .stills-grid img:hover {
    border-color: rgba(232, 205, 139, 0.72);

    box-shadow:
        0 0 12px rgba(216, 183, 106, 0.18);
}

/* ========================================
   EVERPASTURE — GOLD HAIRLINES
   ======================================== */

.everpasture-page .hairline-line {
    background: linear-gradient(
        to right,
        rgba(126, 86, 35, 0.15),
        rgba(216, 183, 106, 0.72),
        rgba(126, 86, 35, 0.15)
    );
}

.everpasture-page .hairline-jewel {
    color: #d8b76a;

    text-shadow:
        0 0 3px rgba(232, 205, 139, 0.68),
        0 0 7px rgba(176, 118, 47, 0.32);
}

/* ========================================
   EVERPASTURE — HEADER NAV LETTERING
   ======================================== */

.everpasture-page .main-nav > a,
.everpasture-page .nav-dropdown > a {
    color: #d8b76a;
}

.everpasture-page .main-nav > a:hover,
.everpasture-page .nav-dropdown > a:hover,
.everpasture-page .nav-dropdown > a.active {
    color: #ecd59b;

    text-shadow:
        0 0 7px rgba(216, 183, 106, 0.32);
}

/* ========================================
   EVERPASTURE — HEADER GOLD DETAILS
   ======================================== */

/* ACTIVE FILMS BOX */
.everpasture-page .main-nav a.active {
    border-color: rgba(216, 183, 106, 0.70);

    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.22),
        inset 0 -1px 0 rgba(216, 183, 106, 0.14),
        0 0 12px rgba(216, 183, 106, 0.16);
}

/* DROPDOWN OUTER BOX */
.everpasture-page .dropdown-menu {
    border-color: rgba(216, 183, 106, 0.50);
}

/* BOTTOM EDGE OF HEADER */
.everpasture-page .site-header {
    border-bottom-color: rgba(216, 183, 106, 0.35);
}

/* MAIN NAV HOVER BOXES */
.everpasture-page .main-nav a:hover {
    border-color: rgba(216, 183, 106, 0.55);

    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.18),
        inset 0 -1px 0 rgba(216, 183, 106, 0.12),
        0 0 10px rgba(216, 183, 106, 0.14);
}

/* ACTIVE FILMS UNDERLINE */
.everpasture-page .nav-dropdown > a.active::after {
    background: #d8b76a;
    box-shadow: 0 0 5px rgba(216, 183, 106, 0.38);
}

/* ========================================
   EVERPASTURE — FILMS DROPDOWN
   ======================================== */

.everpasture-page .dropdown-menu a {
    color: #d8b76a;
}

.everpasture-page .dropdown-menu a:hover {
    color: #ecd59b;
    border-color: rgba(216, 183, 106, 0.45);
}

.everpasture-page .dropdown-menu a.current-film {
    color: #ecd59b;
    border-color: rgba(216, 183, 106, 0.60);
}

/* ========================================
   EVERPASTURE — BACK TO TOP
   ======================================== */

.everpasture-page .back-to-top {
    color: rgba(216, 183, 106, 0.88);

    text-shadow:
        0 0 6px rgba(216, 183, 106, 0.30);
}

.everpasture-page .back-to-top:hover {
    color: #ecd59b;

    text-shadow:
        0 0 8px rgba(236, 213, 155, 0.48);
}

/* ========================================
   EVERPASTURE — COPYRIGHT SQUIRREL SIZE
   ======================================== */

.everpasture-page .copyright-squirrel {
    width: 300px !important;
    max-width: 300px !important;
    height: auto !important;
}

/* ========================================
   EVERPASTURE — COPYRIGHT DIVIDER
   ======================================== */

.everpasture-page .copyright-divider {
    width: 700px;
    max-width: 75%;
    height: auto;
}

/* ========================================
   EVERPASTURE — CAST PUZZLE STATES
   ======================================== */

.everpasture-page .cast-member.cast-puzzle-correct img {
    border-color: rgba(236, 213, 155, 0.95);

    box-shadow:
        0 0 10px rgba(216, 183, 106, 0.32),
        0 0 18px rgba(216, 183, 106, 0.16);
}

/* ========================================
   EVERPASTURE — PUZZLE COMPLETE SIGNAL
   ======================================== */

.everpasture-page .cast-member.everpasture-puzzle-ready img {
    animation: everpasturePuzzlePulse 1.4s ease-in-out infinite;
    cursor: pointer;
}

@keyframes everpasturePuzzlePulse {
    0%, 100% {
        border-color: rgba(216, 183, 106, 0.42);
        box-shadow:
            0 0 8px rgba(216, 183, 106, 0.10);
    }

    50% {
        border-color: rgba(236, 213, 155, 0.95);
        box-shadow:
            0 0 12px rgba(216, 183, 106, 0.42),
            0 0 22px rgba(216, 183, 106, 0.22);
    }
}

/* ========================================
   EVERPASTURE — SECRET ACORN REVEAL
   ======================================== */

.everpasture-page .everpasture-secret-image {
    position: relative;
    overflow: hidden;
}

.everpasture-page .everpasture-secret-image .everpasture-hidden-acorn {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;

    opacity: 0;
    pointer-events: none;

    border: none;
    box-shadow: none;
}

.everpasture-page .everpasture-secret-image .everpasture-cover-image {
    position: relative;
    z-index: 2;

    transition:
        transform 0.85s ease,
        opacity 0.85s ease;
}

.everpasture-page .everpasture-secret-card.acorn-revealed
.everpasture-cover-image {
    transform: translateX(105%);
    opacity: 0;
}

.everpasture-page .everpasture-secret-card.acorn-revealed
.everpasture-hidden-acorn {
    opacity: 1;
    pointer-events: auto;
}

/* ========================================
   EVERPASTURE — LIVING MASTHEAD
   ======================================== */

.everpasture-page .everpasture-living-masthead {
    position: relative;
    width: 100%;
    height: 430px;
    overflow: hidden;
    margin-bottom: 45px;
}

.everpasture-page .everpasture-masthead-scene {
    position: absolute;
    inset: 0;

    display: block;
    width: 100%;
    height: 100%;

    object-fit: fill;
    object-position: center center;

    opacity: 0;
    pointer-events: none;
}

.everpasture-page .everpasture-masthead-scene.is-active {
    opacity: 1;
}

/* ========================================
   EVERPASTURE — CINEMATIC VERTICAL BLINDS
   ======================================== */

.everpasture-page .everpasture-blinds {
    position: absolute;
    inset: 0;
    z-index: 5;

    display: flex;
    perspective: 1600px;

    pointer-events: none;
}

.everpasture-page .everpasture-blind {
    position: relative;
    height: 100%;

    transform-style: preserve-3d;
    transform: rotateY(0deg);

    transform-origin: center center;
}

.everpasture-page .everpasture-blind-face {
    position: absolute;
    inset: 0;

    background-repeat: no-repeat;

    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
}

.everpasture-page .everpasture-blind-front {
    transform: rotateY(0deg);
}

.everpasture-page .everpasture-blind-back {
    transform: rotateY(180deg);
}

.everpasture-page .everpasture-blind.is-turning {
    animation:
        everpastureBlindFlip 1.15s
        cubic-bezier(0.65, 0, 0.35, 1)
        forwards;
}

@keyframes everpastureBlindFlip {

    0% {
        transform: rotateY(0deg);
    }

    100% {
        transform: rotateY(180deg);
    }
}

/* ========================================
   EVERPASTURE — THEATRICAL SIDE DRAPES
   ======================================== */

.everpasture-page .everpasture-stage-drape {
    position: absolute;
    top: 0;
    bottom: 0;
    width: 4%;
    z-index: 8;
    pointer-events: none;

    background:
        linear-gradient(
            90deg,
            #25060d 0%,
            #5a111f 28%,
            #2d0710 55%,
            #6a1725 78%,
            #21050b 100%
        );

}

.everpasture-page .everpasture-stage-drape-left {
    left: 0;
}

.everpasture-page .everpasture-stage-drape-right {
    right: 0;
}

.everpasture-page .everpasture-drape-anchor {
    display: none;
}

/* Antique-gold line beneath the living masthead */
.everpasture-page .everpasture-living-masthead {
    border-bottom: 1px solid rgba(216, 183, 106, 0.72);
}

/* ========================================
   EVERPASTURE — BURGUNDY STAGE CURTAINS
   ======================================== */

.everpasture-page .everpasture-stage-drape {
    position: absolute;
    top: 0;
    bottom: 0;

    width: 9%;
    z-index: 8;

    pointer-events: none;

    background-repeat: no-repeat;
    background-size: auto 100%;
}

.everpasture-page .everpasture-stage-drape-left {
    left: 0;

    background-image:
        url("../images/everpasture/curtain-left.png");

    background-position: left center;
}

.everpasture-page .everpasture-stage-drape-right {
    right: 0;

    background-image:
        url("../images/everpasture/curtain-right.png");

    background-position: right center;
}

.everpasture-page .everpasture-drape-anchor {
    display: none;
}

/* Antique-gold finishing line */
.everpasture-page .everpasture-living-masthead {
    border-bottom: 1px solid rgba(216, 183, 106, 0.72);
}

/* ========================================
   EVERPASTURE — FILM SPECIFICATIONS
   ======================================== */

.everpasture-page .maera-film-info .echoes-film-label {
    color: #d8b76a;
}

.everpasture-page .maera-film-info {
    border-top-color: rgba(216, 183, 106, 0.38);
    border-bottom-color: rgba(216, 183, 106, 0.38);
}

.everpasture-page .maera-film-info .echoes-film-detail::before,
.everpasture-page .maera-film-info .echoes-film-detail::after {
    color: rgba(216, 183, 106, 0.72);
}

/* ========================================
   EVERPASTURE — FIRST RECOGNITION
   ======================================== */

.everpasture-page .maera-first-recognition .echoes-recognition-heading {
    color: #d8b76a;
}

/* ========================================
   EVERPASTURE — DIRECTOR'S CUTS PLAYER
   ======================================== */

.everpasture-page .behind-video-screen {
    width: 100%;
    aspect-ratio: 16 / 9;
}

.everpasture-page .behind-video-screen video {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* ========================================
   EVERPASTURE — DIRECTOR'S CUTS PLAYER
   ======================================== */

.everpasture-page .behind-video-screen {
    width: 100%;
    aspect-ratio: 16 / 9;
}

.everpasture-page .behind-video-screen video {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* ========================================
   EVERPASTURE — LIVING LANTERN
   ======================================== */

.everpasture-page .everpasture-lantern-stage {
    width: 100%;
    text-align: center;
    margin: 30px 0 35px;
}

.everpasture-page .everpasture-lantern {
    width: 140px;
    height: auto;
    display: inline-block;
}

/* Gentle living flame */
.everpasture-page .everpasture-lantern {
    animation: everpastureLanternFlicker 5.5s ease-in-out infinite;
}

@keyframes everpastureLanternFlicker {
    0%, 100% {
        filter:
            brightness(1)
            drop-shadow(0 0 4px rgba(255, 176, 72, 0.25));
    }

    18% {
        filter:
            brightness(1.04)
            drop-shadow(0 0 7px rgba(255, 176, 72, 0.38));
    }

    37% {
        filter:
            brightness(0.98)
            drop-shadow(0 0 4px rgba(255, 150, 50, 0.22));
    }

    58% {
        filter:
            brightness(1.06)
            drop-shadow(0 0 9px rgba(255, 190, 85, 0.42));
    }

    76% {
        filter:
            brightness(1.01)
            drop-shadow(0 0 5px rgba(255, 165, 55, 0.28));
    }
}

/* Lantern invitation — hover */
.everpasture-page .everpasture-lantern {
    cursor: url("../images/cursors/prismara-pointer.png") 16 4, pointer;
    transition: transform 0.35s ease, filter 0.35s ease;
}

.everpasture-page .everpasture-lantern:hover {
    transform: scale(1.06);
    filter:
        brightness(1.10)
        drop-shadow(0 0 12px rgba(255, 185, 75, 0.58));
}

/* Lantern speech bubble */
.everpasture-page .everpasture-lantern-stage {
    position: relative;
}

.everpasture-page .everpasture-lantern-bubble {
    position: absolute;

    left: 50%;
    top: 50%;

    transform: translate(-190px, -50%) scale(0.92);

    padding: 14px 22px;

    background: #ead9b7;
    color: #49351f;

    font-family: Georgia, "Times New Roman", serif;
    font-size: 28px;
    font-style: italic;

    border-radius: 20px;

    box-shadow:
        0 5px 14px rgba(0, 0, 0, 0.35),
        inset 0 0 10px rgba(112, 76, 37, 0.16);

    opacity: 0;
    visibility: hidden;

    transition:
        opacity 0.28s ease,
        transform 0.28s ease;

    pointer-events: none;
    z-index: 5;
}

/* Little speech-bubble tail */
.everpasture-page .everpasture-lantern-bubble::after {
    content: "";
    position: absolute;

    right: -16px;
    bottom: 10px;

    width: 0;
    height: 0;

    border-top: 14px solid #ead9b7;
    border-right: 18px solid transparent;
}

/* Bubble visible */
.everpasture-page .everpasture-lantern-bubble.is-visible {
    opacity: 1;
    visibility: visible;

    transform: translate(-190px, -50%) scale(1);
}

/* ========================================
   EVERPASTURE — LANTERN QUARTER TURN
   ======================================== */

.everpasture-page .everpasture-lantern-stage {
    perspective: 800px;
}

.everpasture-page .everpasture-lantern.is-turning {
    animation: everpastureLanternTurn 1.15s ease-in-out;
}

@keyframes everpastureLanternTurn {

    0% {
        transform: rotateY(0deg) scale(1);
    }

    45% {
        transform: rotateY(-35deg) scale(1.02);
    }

    65% {
        transform: rotateY(-35deg) scale(1.02);
    }

    100% {
        transform: rotateY(0deg) scale(1);
    }
}

/* ========================================
   EVERPASTURE — SMOOTH 3D LANTERN TURN
   ======================================== */

.everpasture-page .everpasture-lantern {
    transition:
        opacity 0.42s ease,
        transform 0.55s ease,
        filter 0.35s ease;
}

.everpasture-page .everpasture-lantern-turn {
    position: absolute;
    width: 140px;
    height: auto;

    left: 50%;
    top: 50%;

    transform: translate(-50%, -50%) scaleX(0.72);
    transform-origin: center center;

    opacity: 0;
    visibility: hidden;
    pointer-events: none;

    transition:
        opacity 0.42s ease,
        transform 0.55s ease;
}

/* Front lantern begins rotating away */
.everpasture-page .everpasture-lantern.is-turning-away {
    opacity: 0;
    transform: scaleX(0.72);
}

/* True side-view lantern arrives */
.everpasture-page .everpasture-lantern-turn.is-visible {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, -50%) scaleX(1);
}

/* ========================================
   EVERPASTURE — IGNITION AURA
   ======================================== */

.everpasture-page .everpasture-ignition-aura {
    position: absolute;

    left: 50%;
    top: 56%;

    width: 95px;
    height: 95px;

    transform: translate(-50%, -50%) scale(0.55);

    border-radius: 50%;

    background: radial-gradient(
        circle,
        rgba(255, 205, 95, 0.58) 0%,
        rgba(255, 145, 40, 0.46) 30%,
        rgba(240, 90, 20, 0.28) 55%,
        rgba(210, 55, 10, 0) 78%
    );

    filter: blur(10px);

    opacity: 0;
    pointer-events: none;

    z-index: 1;
}

.everpasture-page .everpasture-ignition-aura.is-active {
    animation: everpastureAuraWake 2.4s ease-in-out forwards;
}

@keyframes everpastureAuraWake {

    0% {
        opacity: 0;
        transform: translate(-50%, -50%) scale(0.55);
    }

    30% {
        opacity: 0.42;
        transform: translate(-50%, -50%) scale(0.78);
    }

    68% {
        opacity: 0.82;
        transform: translate(-50%, -50%) scale(1.08);
    }

    100% {
        opacity: 0.55;
        transform: translate(-50%, -50%) scale(0.94);
    }
}

/* ========================================
   EVERPASTURE — FLYING IGNITION FLAME
   ======================================== */

.everpasture-page .everpasture-flying-flame {
    position: absolute;

    left: 50%;
    top: 56%;

    width: 11px;
    height: 18px;

    opacity: 0;
    pointer-events: none;

    border-radius: 70% 30% 65% 35% / 75% 45% 55% 25%;

    background:
        radial-gradient(
            ellipse at 50% 72%,
            #fff4b0 0%,
            #ffd35a 28%,
            #ff8a22 58%,
            #e94412 78%,
            rgba(210, 45, 10, 0) 100%
        );

    filter:
        drop-shadow(0 0 3px rgba(255, 180, 55, 0.95))
        drop-shadow(0 0 7px rgba(255, 95, 20, 0.72));

    transform:
        translate(-50%, -50%)
        rotate(18deg)
        scale(0.65);

    z-index: 4;
}

.everpasture-page .everpasture-flying-flame.is-flying {
    animation: everpastureFlameArc 1.15s ease-in-out forwards;
}

@keyframes everpastureFlameArc {

    /* Born at the lantern glass */
    0% {
        opacity: 0;
        transform:
            translate(-50%, -50%)
            translate(0px, 0px)
            rotate(18deg)
            scale(0.55);
    }

    12% {
        opacity: 1;
        transform:
            translate(-50%, -50%)
            translate(-12px, -7px)
            rotate(8deg)
            scale(0.85);
    }

    /* Rising LEFT */
    38% {
        opacity: 1;
        transform:
            translate(-50%, -50%)
            translate(-42px, -24px)
            rotate(-8deg)
            scale(1);
    }

    /* Top of the arc */
    58% {
        opacity: 1;
        transform:
            translate(-50%, -50%)
            translate(-68px, -30px)
            rotate(-15deg)
            scale(0.96);
    }

    /* Starts descending */
    78% {
        opacity: 1;
        transform:
            translate(-50%, -50%)
            translate(-94px, -18px)
            rotate(-22deg)
            scale(0.90);
    }

    /* Contact point — LEFT of lantern */
    100% {
        opacity: 0.95;
        transform:
            translate(-50%, -50%)
            translate(-118px, 5px)
            rotate(-28deg)
            scale(0.78);
    }
}

/* ========================================
   EVERPASTURE — CHEETO FLAMES 2 & 3
   RIGHT-SIDE FLIGHT PATHS

   CHEETO #1 LEFT = LOCKED / UNTOUCHED
   ======================================== */


/* ----------------------------------------
   CHEETO #2 — RIGHT / HIGH
   Same flame appearance as Cheeto #1.
   Only the flight path changes.
   ---------------------------------------- */

.everpasture-page .everpasture-flying-flame-right-high.is-flying {
    animation: everpastureFlameArcRightHigh 1.15s ease-in-out forwards;
}

@keyframes everpastureFlameArcRightHigh {

    /* Born at the lantern glass */
    0% {
        opacity: 0;
        transform:
            translate(-50%, -50%)
            translate(0px, 0px)
            rotate(-18deg)
            scale(0.55);
    }

    /* Begins moving RIGHT */
    12% {
        opacity: 1;
        transform:
            translate(-50%, -50%)
            translate(12px, -7px)
            rotate(-8deg)
            scale(0.85);
    }

    /* Rising RIGHT */
    38% {
        opacity: 1;
        transform:
            translate(-50%, -50%)
            translate(42px, -24px)
            rotate(8deg)
            scale(1);
    }

    /* Top of the arc */
    58% {
        opacity: 1;
        transform:
            translate(-50%, -50%)
            translate(68px, -30px)
            rotate(15deg)
            scale(0.96);
    }

    /* Starts descending */
    78% {
        opacity: 1;
        transform:
            translate(-50%, -50%)
            translate(94px, -18px)
            rotate(22deg)
            scale(0.90);
    }

    /* RIGHT-HIGH landing point */
    100% {
        opacity: 0.95;
        transform:
            translate(-50%, -50%)
            translate(138px, -3px)
            rotate(28deg)
            scale(0.78);
    }
}


/* ----------------------------------------
   CHEETO #3 — RIGHT / LOWER
   Same flame appearance again.
   Lower, slightly shorter arc.
   ---------------------------------------- */

.everpasture-page .everpasture-flying-flame-right-low.is-flying {
    animation: everpastureFlameArcRightLow 1.15s ease-in-out forwards;
}

@keyframes everpastureFlameArcRightLow {

    /* Born at the lantern glass */
    0% {
        opacity: 0;
        transform:
            translate(-50%, -50%)
            translate(0px, 0px)
            rotate(-14deg)
            scale(0.55);
    }

    /* Begins moving RIGHT */
    12% {
        opacity: 1;
        transform:
            translate(-50%, -50%)
            translate(12px, -3px)
            rotate(-5deg)
            scale(0.85);
    }

    /* Smaller rise */
    38% {
        opacity: 1;
        transform:
            translate(-50%, -50%)
            translate(38px, -13px)
            rotate(6deg)
            scale(1);
    }

    /* Top of lower arc */
    58% {
        opacity: 1;
        transform:
            translate(-50%, -50%)
            translate(63px, -16px)
            rotate(12deg)
            scale(0.96);
    }

    /* Descending */
    78% {
        opacity: 1;
        transform:
            translate(-50%, -50%)
            translate(88px, -4px)
            rotate(20deg)
            scale(0.90);
    }

    /* RIGHT-LOW landing point */
    100% {
        opacity: 0.95;
        transform:
            translate(-50%, -50%)
            translate(108px, 17px)
            rotate(27deg)
            scale(0.78);
    }
}

/* ========================================
   EVERPASTURE — THREE IGNITION EMBERS
   ======================================== */

/* Shared ember appearance */
.everpasture-page .everpasture-ignition-ember {
    position: absolute;

    width: 12px;
    height: 12px;

    border-radius: 50%;

    background:
        radial-gradient(
            circle,
            #fff6b0 0%,
            #ffd35a 22%,
            #ff8a22 48%,
            #e94a12 68%,
            rgba(210, 45, 10, 0) 100%
        );

    box-shadow:
        0 0 5px rgba(255, 190, 70, 0.95),
        0 0 11px rgba(255, 105, 25, 0.78),
        0 0 19px rgba(225, 60, 10, 0.48);

    opacity: 0;

    transform:
        translate(-50%, -50%)
        scale(0.25);

    pointer-events: none;

    z-index: 3;
}


/* LEFT — Cheeto #1 landing */
.everpasture-page .everpasture-ignition-ember-left {
    left: calc(50% - 118px);
    top: calc(56% + 5px);
}


/* RIGHT HIGH — Cheeto #2 landing */
.everpasture-page .everpasture-ignition-ember-right-high {
    left: calc(50% + 138px);
    top: calc(56% - 3px);
}


/* RIGHT LOW — Cheeto #3 landing */
.everpasture-page .everpasture-ignition-ember-right-low {
    left: calc(50% + 108px);
    top: calc(56% + 17px);
}


/* Ember wakes after its Cheeto lands */
.everpasture-page .everpasture-ignition-ember.is-burning {
    animation: everpastureEmberWake 1.8s ease-out forwards;
}


@keyframes everpastureEmberWake {

    0% {
        opacity: 0;
        transform:
            translate(-50%, -50%)
            scale(0.20);
    }

    20% {
        opacity: 1;
        transform:
            translate(-50%, -50%)
            scale(0.65);
    }

    48% {
        opacity: 0.78;
        transform:
            translate(-50%, -50%)
            scale(0.90);
    }

    72% {
        opacity: 1;
        transform:
            translate(-50%, -50%)
            scale(1.08);
    }

    100% {
        opacity: 0.88;
        transform:
            translate(-50%, -50%)
            scale(1);
    }
}

/* ========================================
   EVERPASTURE — WOOD CATCHES FIRE
   THREE BABY FLAMES
   ======================================== */

/*
   Each ignition ember grows a small flame
   directly from the wood.

   CHEETO CSS = LOCKED / UNTOUCHED
*/


/* ----------------------------------------
   SHARED BABY-FLAME BODY
   ---------------------------------------- */

.everpasture-page .everpasture-ignition-ember::before {
    content: "";

    position: absolute;

    left: 50%;
    bottom: 4px;

    width: 15px;
    height: 25px;

    border-radius:
        72% 28% 66% 34%
        / 78% 48% 52% 22%;

    background:
        radial-gradient(
            ellipse at 50% 74%,
            #fff7b8 0%,
            #ffd85e 25%,
            #ff9229 52%,
            #ec4a13 75%,
            rgba(205, 45, 8, 0) 100%
        );

    filter:
        drop-shadow(0 0 4px rgba(255, 185, 55, 0.95))
        drop-shadow(0 0 9px rgba(255, 95, 20, 0.72));

    opacity: 0;

    transform:
        translateX(-50%)
        translateY(5px)
        rotate(-4deg)
        scale(0.15);

    transform-origin: 50% 100%;

    pointer-events: none;
}


/* ----------------------------------------
   FLAME APPEARS ONLY AFTER EMBER IGNITES
   ---------------------------------------- */

.everpasture-page
.everpasture-ignition-ember.is-burning::before {

    animation:
        everpastureWoodFlameCatch 1.55s ease-out 0.55s forwards,
        everpastureWoodFlameLive 1.25s ease-in-out 2.10s infinite alternate;
}


/* ----------------------------------------
   WOOD ACTUALLY CATCHES
   ---------------------------------------- */

@keyframes everpastureWoodFlameCatch {

    0% {
        opacity: 0;

        transform:
            translateX(-50%)
            translateY(5px)
            rotate(-4deg)
            scale(0.15);
    }

    22% {
        opacity: 0.65;

        transform:
            translateX(-50%)
            translateY(2px)
            rotate(5deg)
            scale(0.38);
    }

    48% {
        opacity: 1;

        transform:
            translateX(-50%)
            translateY(-2px)
            rotate(-6deg)
            scale(0.72);
    }

    72% {
        opacity: 0.88;

        transform:
            translateX(-50%)
            translateY(-4px)
            rotate(4deg)
            scale(0.88);
    }

    100% {
        opacity: 1;

        transform:
            translateX(-50%)
            translateY(-6px)
            rotate(-3deg)
            scale(1);
    }
}


/* ----------------------------------------
   LIVING FIRE MOVEMENT
   ---------------------------------------- */

@keyframes everpastureWoodFlameLive {

    0% {
        opacity: 0.90;

        transform:
            translateX(-50%)
            translateY(-6px)
            rotate(-5deg)
            scaleX(0.92)
            scaleY(0.96);
    }

    35% {
        opacity: 1;

        transform:
            translateX(-50%)
            translateY(-8px)
            rotate(4deg)
            scaleX(1.05)
            scaleY(1.08);
    }

    70% {
        opacity: 0.92;

        transform:
            translateX(-50%)
            translateY(-5px)
            rotate(-2deg)
            scaleX(0.96)
            scaleY(1.03);
    }

    100% {
        opacity: 1;

        transform:
            translateX(-50%)
            translateY(-9px)
            rotate(6deg)
            scaleX(1.08)
            scaleY(1.12);
    }
}

/* ========================================
   EVERPASTURE — FIRE INSIDE THE WOOD
   STATIONARY BACKGROUND BURN V2
   ======================================== */

/*
   The woodgrain background itself is fixed.

   Therefore this internal-fire layer is also
   fixed to the viewport.

   It technically sits ABOVE the woodgrain,
   but transparency + blending allow the grain
   to remain visible, creating the illusion
   that the heat is INSIDE the wood.
*/

.everpasture-page .everpasture-underwood-fire {

    position: fixed;

    left: 50%;
    top: 50%;

    width: 620px;
    height: 360px;

    transform:
        translate(-50%, -50%)
        scale(0.42);

    pointer-events: none;

    opacity: 0;

    z-index: -1;

    border-radius: 48%;

    background:

        /* LEFT HEAT POCKET */
        radial-gradient(
            ellipse at 25% 52%,
            rgba(255, 226, 120, 0.72) 0%,
            rgba(255, 160, 48, 0.58) 9%,
            rgba(255, 92, 22, 0.42) 20%,
            rgba(200, 43, 10, 0.24) 34%,
            rgba(110, 18, 5, 0.08) 49%,
            transparent 66%
        ),

        /* RIGHT-HIGH HEAT POCKET */
        radial-gradient(
            ellipse at 77% 40%,
            rgba(255, 215, 100, 0.68) 0%,
            rgba(255, 145, 40, 0.55) 10%,
            rgba(250, 80, 18, 0.40) 22%,
            rgba(195, 38, 8, 0.22) 36%,
            rgba(105, 16, 4, 0.07) 50%,
            transparent 67%
        ),

        /* RIGHT-LOW HEAT POCKET */
        radial-gradient(
            ellipse at 72% 69%,
            rgba(255, 205, 90, 0.64) 0%,
            rgba(255, 132, 34, 0.52) 10%,
            rgba(245, 72, 16, 0.38) 23%,
            rgba(185, 34, 7, 0.21) 37%,
            rgba(100, 14, 4, 0.07) 51%,
            transparent 68%
        );

    background: none;

    /*
       SCREEN is important here:
       it illuminates the existing wood instead
       of behaving like an opaque orange picture.
    */

    mix-blend-mode: normal;

    filter:
        blur(13px)
        saturate(1.25);

}


/* ========================================
   INTERNAL FIRE WAKES
   ======================================== */

.everpasture-page
.everpasture-underwood-fire.is-burning {

    animation:
        everpastureUnderwoodWake 6s ease-out forwards,
        everpastureUnderwoodBreathe 5.7s ease-in-out 6s infinite alternate;

}

/* ========================================
   HEAT CREEPS THROUGH THE WOOD
   ======================================== */

@keyframes everpastureUnderwoodWake {

    0% {
        opacity: 0;

        transform:
            translate(-50%, -50%)
            scale(0.42);
    }


    15% {
        opacity: 0.16;

        transform:
            translate(-50%, -50%)
            scale(0.50);
    }


    32% {
        opacity: 0.30;

        transform:
            translate(-50%, -50%)
            scale(0.62);
    }


    52% {
        opacity: 0.43;

        transform:
            translate(-50%, -50%)
            scale(0.76);
    }


    72% {
        opacity: 0.54;

        transform:
            translate(-50%, -50%)
            scale(0.88);
    }


    88% {
        opacity: 0.62;

        transform:
            translate(-50%, -50%)
            scale(0.96);
    }


    100% {
        opacity: 0.68;

        transform:
            translate(-50%, -50%)
            scale(1);
    }

}


/* ========================================
   WOOD CONTINUES TO HOLD LIVING HEAT
   ======================================== */

@keyframes everpastureUnderwoodBreathe {

    0% {
        opacity: 0.56;

        transform:
            translate(-50%, -50%)
            scale(0.985);

        filter:
            blur(13px)
            saturate(1.18);
    }


    33% {
        opacity: 0.67;

        transform:
            translate(-50%, -50%)
            scale(1.012);

        filter:
            blur(11px)
            saturate(1.30);
    }


    67% {
        opacity: 0.59;

        transform:
            translate(-50%, -50%)
            scale(0.995);

        filter:
            blur(14px)
            saturate(1.22);
    }


    100% {
        opacity: 0.70;

        transform:
            translate(-50%, -50%)
            scale(1.025);

        filter:
            blur(12px)
            saturate(1.34);
    }

}

/* ========================================
   EVERPASTURE — UNDERWOOD FIRE TEXTURE
   Irregular heat crawling through the grain
   ======================================== */

.everpasture-page .everpasture-underwood-fire::before,
.everpasture-page .everpasture-underwood-fire::after {
    content: "";
    position: absolute;
    left: 50%;
    top: 50%;
    pointer-events: none;
    opacity: 0;
}


/* ----------------------------------------
   INNER HOT VEINS
   Smaller crooked areas of concentrated heat
   ---------------------------------------- */

.everpasture-page .everpasture-underwood-fire::before {

    width: 760px;
    height: 470px;

    transform:
        translate(-50%, -50%)
        rotate(-2deg)
        scale(0.72);

    background:

        radial-gradient(
            ellipse 15% 42% at 18% 57%,
            rgba(255, 205, 80, 0.50) 0%,
            rgba(255, 105, 24, 0.34) 28%,
            rgba(180, 35, 8, 0.13) 55%,
            transparent 74%
        ),

        radial-gradient(
            ellipse 11% 34% at 34% 38%,
            rgba(255, 175, 55, 0.46) 0%,
            rgba(245, 82, 18, 0.30) 31%,
            rgba(155, 27, 6, 0.11) 57%,
            transparent 76%
        ),

        radial-gradient(
            ellipse 17% 48% at 52% 63%,
            rgba(255, 196, 70, 0.48) 0%,
            rgba(255, 92, 20, 0.31) 30%,
            rgba(170, 31, 7, 0.12) 58%,
            transparent 77%
        ),

        radial-gradient(
            ellipse 10% 38% at 67% 32%,
            rgba(255, 185, 60, 0.44) 0%,
            rgba(242, 74, 16, 0.29) 32%,
            rgba(150, 24, 5, 0.10) 58%,
            transparent 75%
        ),

        radial-gradient(
            ellipse 14% 44% at 82% 59%,
            rgba(255, 198, 72, 0.46) 0%,
            rgba(250, 87, 19, 0.30) 30%,
            rgba(165, 29, 6, 0.11) 57%,
            transparent 76%
        );

    filter:
        blur(9px)
        saturate(1.30);
}


/* ========================================
   START REPLACEMENT — OUTER FIRE SPREAD
   ======================================== */


/* ----------------------------------------
   OUTER CRAWLING HEAT
   Heat begins traveling through the wood
   ---------------------------------------- */

.everpasture-page .everpasture-underwood-fire::after {

    width: 100vw;
    height: 100vh;

    transform:
        translate(-50%, -50%)
        scale(0.48);

    background:

        /* FAR LEFT — LOWER CRAWL */
        radial-gradient(
            ellipse 16% 27% at 7% 69%,
            rgba(255, 154, 42, 0.56) 0%,
            rgba(239, 77, 16, 0.36) 26%,
            rgba(168, 31, 7, 0.16) 50%,
            transparent 72%
        ),

        /* LEFT — UPPER CHANNEL */
        radial-gradient(
            ellipse 12% 34% at 18% 27%,
            rgba(255, 183, 58, 0.62) 0%,
            rgba(248, 91, 19, 0.40) 25%,
            rgba(176, 34, 7, 0.17) 51%,
            transparent 73%
        ),

        /* LEFT-CENTER — LOW HOT PATCH */
        radial-gradient(
            ellipse 18% 25% at 31% 77%,
            rgba(255, 165, 46, 0.58) 0%,
            rgba(243, 79, 17, 0.37) 27%,
            rgba(164, 29, 6, 0.15) 52%,
            transparent 74%
        ),

  /* CENTER — TWO BROKEN FIRE POCKETS
   Leaves breathing room around Copyright Squirrel */

radial-gradient(
    ellipse 8% 20% at 38% 31%,
    rgba(255, 184, 62, 0.54) 0%,
    rgba(250, 91, 20, 0.33) 25%,
    rgba(172, 34, 7, 0.12) 48%,
    transparent 68%
),

radial-gradient(
    ellipse 7% 18% at 53% 61%,
    rgba(255, 168, 50, 0.50) 0%,
    rgba(242, 78, 17, 0.30) 27%,
    rgba(158, 29, 6, 0.11) 50%,
    transparent 69%
),

        /* CENTER-RIGHT — HIGH PATCH */
        radial-gradient(
            ellipse 17% 26% at 59% 19%,
            rgba(255, 161, 44, 0.56) 0%,
            rgba(238, 72, 15, 0.35) 28%,
            rgba(158, 27, 6, 0.14) 53%,
            transparent 74%
        ),

        /* RIGHT-CENTER — LOWER CHANNEL */
        radial-gradient(
            ellipse 11% 36% at 69% 70%,
            rgba(255, 188, 62, 0.63) 0%,
            rgba(249, 92, 20, 0.40) 25%,
            rgba(174, 33, 7, 0.16) 51%,
            transparent 73%
        ),

        /* RIGHT — MID HOT PATCH */
        radial-gradient(
            ellipse 18% 28% at 82% 47%,
            rgba(255, 168, 48, 0.58) 0%,
            rgba(242, 78, 17, 0.37) 28%,
            rgba(164, 29, 6, 0.15) 52%,
            transparent 74%
        ),

        /* FAR RIGHT — HIGH CRAWL */
        radial-gradient(
            ellipse 12% 31% at 95% 24%,
            rgba(255, 177, 53, 0.59) 0%,
            rgba(245, 84, 18, 0.38) 27%,
            rgba(170, 31, 6, 0.15) 52%,
            transparent 74%
        ),

        /* BOTTOM EDGE — SMALL BREAK */
        radial-gradient(
            ellipse 14% 23% at 52% 94%,
            rgba(255, 143, 36, 0.48) 0%,
            rgba(225, 61, 13, 0.29) 31%,
            rgba(145, 23, 5, 0.11) 55%,
            transparent 75%
        );

    filter:
        blur(14px)
        saturate(1.25);

    mix-blend-mode: normal;
}


/* ----------------------------------------
   WAKE THE TEXTURE AFTER THE DEEP HEAT
   ---------------------------------------- */

.everpasture-page
.everpasture-underwood-fire.is-burning::before {

    animation:
        everpastureHeatVeinsWake 5.2s ease-out 1.2s forwards,
        everpastureHeatVeinsLive 7.3s ease-in-out 6.4s infinite alternate;
}

.everpasture-page
.everpasture-underwood-fire.is-burning::after {

    animation:
        everpastureHeatCrawlWake 6.4s ease-out 2.1s forwards,
        everpastureHeatCrawlLive 9.1s ease-in-out 8.5s infinite alternate;
}

/* ----------------------------------------
   INNER VEINS WAKE
   ---------------------------------------- */

@keyframes everpastureHeatVeinsWake {

    0% {
        opacity: 0;
        transform:
            translate(-50%, -50%)
            rotate(-2deg)
            scale(0.72);
    }

    35% {
        opacity: 0.26;
        transform:
            translate(-51%, -49%)
            rotate(1deg)
            scale(0.84);
    }

    68% {
        opacity: 0.48;
        transform:
            translate(-49%, -51%)
            rotate(-1deg)
            scale(0.95);
    }

    100% {
        opacity: 1;
        transform:
            translate(-50%, -50%)
            rotate(2deg)
            scale(1);
    }
}


/* ----------------------------------------
   INNER VEINS LIVE
   ---------------------------------------- */

@keyframes everpastureHeatVeinsLive {

    0% {
        opacity: 0.46;
        transform:
            translate(-50%, -50%)
            rotate(2deg)
            scale(0.98);
    }

    34% {
        opacity: 0.64;
        transform:
            translate(-52%, -48%)
            rotate(-2deg)
            scale(1.025);
    }

    68% {
        opacity: 0.50;
        transform:
            translate(-48%, -51%)
            rotate(1deg)
            scale(0.99);
    }

    100% {
        opacity: 0.67;
        transform:
            translate(-51%, -49%)
            rotate(-1deg)
            scale(1.035);
    }
}


/* ----------------------------------------
   OUTER FIRE SPREAD — WAKE
   Starts compact and reaches outward
   ---------------------------------------- */

@keyframes everpastureHeatCrawlWake {

    0% {
        opacity: 0;
        transform:
            translate(-50%, -50%)
            scale(0.48);
    }

    18% {
        opacity: 0.18;
        transform:
            translate(-50.5%, -49.5%)
            scale(0.58);
    }

    38% {
        opacity: 0.34;
        transform:
            translate(-49%, -51%)
            scale(0.70);
    }

    60% {
        opacity: 0.52;
        transform:
            translate(-51%, -49%)
            scale(0.82);
    }

    80% {
        opacity: 0.67;
        transform:
            translate(-49.5%, -50.5%)
            scale(0.93);
    }

    100% {
        opacity: 0.80;
        transform:
            translate(-50%, -50%)
            scale(1);
    }
}


/* ----------------------------------------
   OUTER FIRE SPREAD — LIVING WOOD
   ---------------------------------------- */

@keyframes everpastureHeatCrawlLive {

    0% {
        opacity: 0.68;
        transform:
            translate(-50%, -50%)
            scale(1);
    }

    22% {
        opacity: 0.82;
        transform:
            translate(-51%, -49%)
            scale(1.025);
    }

    47% {
        opacity: 0.72;
        transform:
            translate(-49%, -50.5%)
            scale(0.995);
    }

    73% {
        opacity: 0.86;
        transform:
            translate(-50.5%, -51%)
            scale(1.035);
    }

    100% {
        opacity: 0.74;
        transform:
            translate(-49.5%, -49%)
            scale(1.015);
    }
}


/* ========================================
   END REPLACEMENT — OUTER FIRE SPREAD
   ======================================== */

/* ========================================
   EVERPASTURE — HEADER APPLE
   ======================================== */

.everpasture-page .site-header {
    position: relative;
}

.everpasture-page .everpasture-header-apple {
    position: absolute;
    top: 0;
    right: 0;

    width: 170px;

    z-index: 50;
    pointer-events: auto;
}

.everpasture-page .everpasture-header-apple img {
    display: block;
    width: 100%;
    height: auto;

    transform-origin: 88% 8%;
    cursor: url("../images/cursors/prismara-pointer.png") 16 4, pointer;
}

/* ONE LITTLE SWING — THEN SETTLE */
.everpasture-page .everpasture-header-apple:hover img {
    animation: everpastureAppleSwing 1.65s ease-in-out;
}

@keyframes everpastureAppleSwing {

    0% {
        transform: rotate(0deg);
    }

    22% {
        transform: rotate(4deg);
    }

    46% {
        transform: rotate(-2.5deg);
    }

    67% {
        transform: rotate(1.4deg);
    }

    84% {
        transform: rotate(-0.6deg);
    }

    100% {
        transform: rotate(0deg);
    }
}

/* ========================================
   EVERPASTURE — APPLE TREE MEMORY
   Fixed inside the woodgrain world
   ======================================== */

.everpasture-page .everpasture-apple-memory {
    position: fixed;

    right: 5%;
    top: 49%;

    width: 340px;
    height: auto;

    z-index: -1;

    opacity: 0;
    visibility: hidden;

    pointer-events: none;
}

.everpasture-page .everpasture-apple-tree {
    display: block;

    width: 100%;
    height: auto;

    opacity: 0.32;

    filter:
        grayscale(0.72)
        brightness(0.72)
        contrast(1.05);

    mix-blend-mode: screen;

    user-select: none;
    -webkit-user-select: none;
    -webkit-user-drag: none;
}


/* TEMPORARY PLACEMENT TEST
   Remove this after Tree Girl's position is locked.
*/

.everpasture-page .everpasture-apple-memory.tree-test {
    opacity: 1;
    visibility: visible;
}

/* Tree Girl remains hidden until the fire has started
   AND First Recognition is in view. */

.everpasture-page .everpasture-apple-memory {
    transition: opacity 2.2s ease;
}

.everpasture-page .everpasture-apple-memory.is-visible {
    opacity: 1;
    visibility: visible;
}

/* ========================================
   EVERPASTURE — APPLE TREE FIRE
   Irregular fire living inside Tree Girl
   ======================================== */

.everpasture-page .everpasture-apple-memory {
    overflow: visible;
}

/* ----------------------------------------
   SHARED TREE-FIRE BODY
   ---------------------------------------- */

.everpasture-page .everpasture-tree-fire {
    position: absolute;

    border-radius: 50%;

    opacity: 0;
    visibility: hidden;

    pointer-events: none;

    mix-blend-mode: screen;

    filter:
        blur(8px)
        saturate(1.15);

    transform: scale(.72);

    z-index: 2;
}


/* ----------------------------------------
   FIRE #1 — ROOTS
   Broad, low, deep-orange heat
   ---------------------------------------- */

.everpasture-page .everpasture-tree-fire-roots {
    left: 31%;
    top: 70%;

    width: 46%;
    height: 23%;

    background:
        radial-gradient(
            ellipse at 48% 62%,
            rgba(255,220,105,.78) 0%,
            rgba(255,145,38,.70) 23%,
            rgba(238,73,18,.52) 46%,
            rgba(155,30,8,.24) 67%,
            rgba(120,20,5,0) 82%
        );
}


/* ----------------------------------------
   FIRE #2 — LOWER TRUNK
   Narrow vertical heat pocket
   ---------------------------------------- */

.everpasture-page .everpasture-tree-fire-trunk {
    left: 43%;
    top: 43%;

    width: 23%;
    height: 38%;

    background:
        radial-gradient(
            ellipse at 47% 62%,
            rgba(255,226,115,.74) 0%,
            rgba(255,137,31,.66) 25%,
            rgba(225,61,15,.46) 49%,
            rgba(145,27,7,.18) 68%,
            rgba(110,18,5,0) 82%
        );
}


/* ----------------------------------------
   FIRE #3 — BRANCHES
   Smaller off-center upper glow
   ---------------------------------------- */

.everpasture-page .everpasture-tree-fire-branches {
    left: 57%;
    top: 20%;

    width: 28%;
    height: 27%;

    background:
        radial-gradient(
            ellipse at 42% 58%,
            rgba(255,211,92,.68) 0%,
            rgba(255,127,27,.58) 27%,
            rgba(220,57,14,.38) 50%,
            rgba(135,25,7,.15) 69%,
            rgba(100,15,4,0) 82%
        );
}


/* ========================================
   TREE GIRL — REAL STAGED IGNITION
   Roots → Trunk → Branches
   ======================================== */


/* ROOTS IGNITE */

.everpasture-page
.everpasture-tree-fire-roots.is-burning {

    visibility: visible;

    animation:
        everpastureTreeRootsBurn
        5.8s ease-in-out infinite;
}


/* TRUNK IGNITES */

.everpasture-page
.everpasture-tree-fire-trunk.is-burning {

    visibility: visible;

    animation:
        everpastureTreeTrunkBurn
        7.1s ease-in-out infinite;
}


/* BRANCHES IGNITE */

.everpasture-page
.everpasture-tree-fire-branches.is-burning {

    visibility: visible;

    animation:
        everpastureTreeBranchesBurn
        6.4s ease-in-out infinite;
}

/* ROOTS */

@keyframes everpastureTreeRootsBurn {

    0%, 100% {
        opacity: .48;
        transform: scale(.88);
    }

    37% {
        opacity: .88;
        transform: scale(1.06);
    }

    69% {
        opacity: .61;
        transform: scale(.96);
    }

}


/* TRUNK */

@keyframes everpastureTreeTrunkBurn {

    0%, 100% {
        opacity: .35;
        transform: scale(.84);
    }

    29% {
        opacity: .73;
        transform: scale(1.03);
    }

    63% {
        opacity: .50;
        transform: scale(.93);
    }

    82% {
        opacity: .66;
        transform: scale(1);
    }

}


/* BRANCHES */

@keyframes everpastureTreeBranchesBurn {

    0%, 100% {
        opacity: .28;
        transform: scale(.82);
    }

    42% {
        opacity: .67;
        transform: scale(1.07);
    }

    74% {
        opacity: .39;
        transform: scale(.91);
    }

}

/* ========================================
   EVERPASTURE — PHASE FIVE
   RAIN BEGINS COOLING TREE GIRL
   Branches surrender first
   ======================================== */

.everpasture-page
.everpasture-tree-fire-branches.is-burning.is-rain-cooling {

    animation:
        everpastureTreeBranchesCooling
        5.5s ease-in-out 1 forwards;
}


@keyframes everpastureTreeBranchesCooling {

    0% {
        opacity: .67;
        transform: scale(1.07);
        filter:
            blur(8px)
            saturate(1.15);
    }

    28% {
        opacity: .52;
        transform: scale(1.01);
        filter:
            blur(8px)
            saturate(.92);
    }

    58% {
        opacity: .34;
        transform: scale(.95);
        filter:
            blur(8px)
            saturate(.68);
    }

    82% {
        opacity: .18;
        transform: scale(.89);
        filter:
            blur(9px)
            saturate(.42);
    }

    100% {
        opacity: .06;
        transform: scale(.84);
        filter:
            blur(10px)
            saturate(.20);
    }
}

/* ========================================
   EVERPASTURE — PHASE FIVE
   RAIN COOLS THE TRUNK
   ======================================== */

.everpasture-page
.everpasture-tree-fire-trunk.is-burning.is-rain-cooling {

    animation:
        everpastureTreeTrunkCooling
        6.5s ease-in-out 1 forwards;
}


@keyframes everpastureTreeTrunkCooling {

    0% {
        opacity: .66;
        transform: scale(1);
        filter:
            blur(8px)
            saturate(1.15);
    }

    25% {
        opacity: .56;
        transform: scale(.98);
        filter:
            blur(8px)
            saturate(.98);
    }

    52% {
        opacity: .40;
        transform: scale(.94);
        filter:
            blur(8px)
            saturate(.76);
    }

    78% {
        opacity: .22;
        transform: scale(.89);
        filter:
            blur(9px)
            saturate(.48);
    }

    100% {
        opacity: .06;
        transform: scale(.84);
        filter:
            blur(10px)
            saturate(.20);
    }
}

/* ========================================
   EVERPASTURE — PHASE FIVE
   RAIN COOLS THE ROOTS
   Final Tree Girl fire zone
   ======================================== */

.everpasture-page
.everpasture-tree-fire-roots.is-burning.is-rain-cooling {

    animation:
        everpastureTreeRootsCooling
        8s ease-in-out 1 forwards;
}


@keyframes everpastureTreeRootsCooling {

    0% {
        opacity: .88;
        transform: scale(1.06);
        filter:
            blur(8px)
            saturate(1.15);
    }

    20% {
        opacity: .76;
        transform: scale(1.02);
        filter:
            blur(8px)
            saturate(1.02);
    }

    43% {
        opacity: .59;
        transform: scale(.98);
        filter:
            blur(8px)
            saturate(.82);
    }

    66% {
        opacity: .40;
        transform: scale(.93);
        filter:
            blur(9px)
            saturate(.60);
    }

    84% {
        opacity: .22;
        transform: scale(.88);
        filter:
            blur(9px)
            saturate(.38);
    }

    100% {
        opacity: .05;
        transform: scale(.84);
        filter:
            blur(10px)
            saturate(.16);
    }
}

/* ========================================
   EVERPASTURE — PHASE SIX
   TREE GIRL RENEWAL
   ======================================== */

/* TREE GIRL #1 */
.everpasture-page .everpasture-apple-tree-one {
    transition:
        opacity 4s ease,
        filter 4s ease;
}


/* TREE GIRL #2 — WAITING UNDERNEATH */
.everpasture-page .everpasture-apple-tree-two {
    position: absolute;

    left: 0;
    top: 0;

    width: 100%;
    height: auto;

    opacity: 0;

    filter:
        grayscale(.55)
        brightness(.72)
        contrast(1.03);

    mix-blend-mode: screen;

    transition:
        opacity 4s ease,
        filter 4s ease;

    pointer-events: none;

    user-select: none;
    -webkit-user-select: none;
    -webkit-user-drag: none;
}


/* TREE GIRL #1 DISSOLVES */
.everpasture-page
.everpasture-apple-tree-one.is-renewing {

    opacity: 0;

    filter:
        grayscale(.85)
        brightness(.58)
        contrast(1.02);
}


/* TREE GIRL #2 RETURNS TO LIFE */
.everpasture-page
.everpasture-apple-tree-two.is-renewed {

    opacity: .48;

    filter:
        grayscale(.10)
        brightness(.90)
        contrast(1.04);
}

/* ========================================
   EVERPASTURE — PHASE SIX
   WOODGRAIN FIRE MASTER WRAPPER

   Fire continues breathing normally inside.
   Rain fades the entire finished effect.
   ======================================== */

.everpasture-underwood-fire-wrapper {
    position: fixed;
    inset: 0;

    pointer-events: none;

    opacity: 1;

    z-index: -1;

    transition:
        opacity 9s ease-in-out;
}


.everpasture-underwood-fire-wrapper.is-rain-extinguishing {
    opacity: 0;
}

/* ========================================
   EVERPASTURE — ORANGE HORSE MEMORY
   Three ghostly appearances through
   the stationary woodgrain world
   ======================================== */

.everpasture-page .everpasture-orange-memory {
    position: fixed;

    left: 6%;
    top: 49%;

    width: 310px;
    height: auto;

    z-index: -1;

    opacity: 0;
    visibility: hidden;

    pointer-events: none;

    transition:
        left 0s linear,
        opacity 1.5s ease;
}


.everpasture-page .everpasture-orange-horse {
    display: block;

    width: 100%;
    height: auto;

    opacity: 0.24;

    filter:
        grayscale(0.68)
        brightness(0.68)
        contrast(1.06);

    mix-blend-mode: screen;

    user-select: none;
    -webkit-user-select: none;
    -webkit-user-drag: none;
}


/* ORANGE IS CURRENTLY VISIBLE */

.everpasture-page .everpasture-orange-memory.is-visible {
    opacity: 1;
    visibility: visible;
}


/* THREE MEMORY POSITIONS */

.everpasture-page .everpasture-orange-memory.orange-left {
    left: 6%;
}

.everpasture-page .everpasture-orange-memory.orange-center {
    left: 39%;
}

.everpasture-page .everpasture-orange-memory.orange-right {
    left: 54%;
}

/* ========================================
   EVERPASTURE — FIRST RAIN DROPS
   Sparse beginning of the storm
   ======================================== */

.everpasture-page .everpasture-rain {
    position: fixed;

    left: 0;
    top: 0;

    width: 100%;
    height: 100%;

    pointer-events: none;

    z-index: 20;

    overflow: hidden;
}


/* ----------------------------------------
   INDIVIDUAL FIRST DROPS
   ---------------------------------------- */

.everpasture-page .everpasture-raindrop {
    position: absolute;

    width: 2px;
    height: 24px;

    border-radius: 50%;

    background:
        linear-gradient(
            to bottom,
            rgba(220, 235, 245, 0),
            rgba(220, 235, 245, 0.38) 32%,
            rgba(235, 245, 250, 0.72) 78%,
            rgba(245, 250, 255, 0.18)
        );

    opacity: 0;

    transform:
        translateY(-40px)
        rotate(7deg);

    filter:
        blur(.25px);

    pointer-events: none;
}


/* DROP POSITIONS */

.everpasture-page .everpasture-raindrop-one {
    left: 27%;
    top: 18%;
}

.everpasture-page .everpasture-raindrop-two {
    left: 61%;
    top: 27%;
}

.everpasture-page .everpasture-raindrop-three {
    left: 43%;
    top: 11%;
}


/* ----------------------------------------
   ONE DROP FALL
   ---------------------------------------- */

@keyframes everpastureSingleDrop {

    0% {
        opacity: 0;
        transform:
            translateY(-40px)
            rotate(7deg);
    }

    12% {
        opacity: .75;
    }

    72% {
        opacity: .58;
    }

    100% {
        opacity: 0;
        transform:
            translateY(310px)
            rotate(7deg);
    }
}


/* ----------------------------------------
   RAIN CONTROL TEST
   ---------------------------------------- */

.everpasture-page
.everpasture-rain.first-drop-test
.everpasture-raindrop-one {

    animation:
        everpastureSingleDrop
        1.15s ease-in 1 forwards;
}


.everpasture-page
.everpasture-rain.first-drop-test
.everpasture-raindrop-two {

    animation:
        everpastureSingleDrop
        1.15s ease-in 2.2s 1 forwards;
}


.everpasture-page
.everpasture-rain.first-drop-test
.everpasture-raindrop-three {

    animation:
        everpastureSingleDrop
        1.15s ease-in 4.9s 1 forwards;
}

/* ========================================
   EVERPASTURE — RAIN BEGINS TO MULTIPLY
   Original first three remain untouched
   ======================================== */


/* NEW DROP POSITIONS */

.everpasture-page .everpasture-raindrop-four {
    left: 76%;
    top: 16%;
}

.everpasture-page .everpasture-raindrop-five {
    left: 14%;
    top: 24%;
}

.everpasture-page .everpasture-raindrop-six {
    left: 52%;
    top: 7%;
}

.everpasture-page .everpasture-raindrop-seven {
    left: 87%;
    top: 31%;
}

.everpasture-page .everpasture-raindrop-eight {
    left: 34%;
    top: 20%;
}


/* ----------------------------------------
   SECOND WAVE
   The rain is beginning to wake up
   ---------------------------------------- */

.everpasture-page
.everpasture-rain.first-drop-test
.everpasture-raindrop-four {

    animation:
        everpastureSingleDrop
        1.15s ease-in 6.6s 1 forwards;
}


.everpasture-page
.everpasture-rain.first-drop-test
.everpasture-raindrop-five {

    animation:
        everpastureSingleDrop
        1.15s ease-in 7.8s 1 forwards;
}


.everpasture-page
.everpasture-rain.first-drop-test
.everpasture-raindrop-six {

    animation:
        everpastureSingleDrop
        1.15s ease-in 8.4s 1 forwards;
}


.everpasture-page
.everpasture-rain.first-drop-test
.everpasture-raindrop-seven {

    animation:
        everpastureSingleDrop
        1.15s ease-in 9.1s 1 forwards;
}


.everpasture-page
.everpasture-rain.first-drop-test
.everpasture-raindrop-eight {

    animation:
        everpastureSingleDrop
        1.15s ease-in 9.55s 1 forwards;
}

/* ========================================
   EVERPASTURE — PHASE THREE
   ISOLATED DROPS BECOME RAIN
   ======================================== */


/* NEW DROP POSITIONS */

.everpasture-page .everpasture-raindrop-nine {
    left: 7%;
    top: 9%;
}

.everpasture-page .everpasture-raindrop-ten {
    left: 22%;
    top: 32%;
}

.everpasture-page .everpasture-raindrop-eleven {
    left: 47%;
    top: 15%;
}

.everpasture-page .everpasture-raindrop-twelve {
    left: 68%;
    top: 5%;
}

.everpasture-page .everpasture-raindrop-thirteen {
    left: 93%;
    top: 22%;
}

.everpasture-page .everpasture-raindrop-fourteen {
    left: 38%;
    top: 37%;
}

.everpasture-page .everpasture-raindrop-fifteen {
    left: 81%;
    top: 11%;
}

.everpasture-page .everpasture-raindrop-sixteen {
    left: 57%;
    top: 29%;
}


/* ----------------------------------------
   THIRD WAVE
   Several drops now overlap
   ---------------------------------------- */

.everpasture-page
.everpasture-rain.first-drop-test
.everpasture-raindrop-nine {
    animation:
        everpastureSingleDrop
        1.15s ease-in 10.4s 1 forwards;
}

.everpasture-page
.everpasture-rain.first-drop-test
.everpasture-raindrop-ten {
    animation:
        everpastureSingleDrop
        1.15s ease-in 10.65s 1 forwards;
}

.everpasture-page
.everpasture-rain.first-drop-test
.everpasture-raindrop-eleven {
    animation:
        everpastureSingleDrop
        1.15s ease-in 10.9s 1 forwards;
}

.everpasture-page
.everpasture-rain.first-drop-test
.everpasture-raindrop-twelve {
    animation:
        everpastureSingleDrop
        1.15s ease-in 11.1s 1 forwards;
}

.everpasture-page
.everpasture-rain.first-drop-test
.everpasture-raindrop-thirteen {
    animation:
        everpastureSingleDrop
        1.15s ease-in 11.35s 1 forwards;
}

.everpasture-page
.everpasture-rain.first-drop-test
.everpasture-raindrop-fourteen {
    animation:
        everpastureSingleDrop
        1.15s ease-in 11.55s 1 forwards;
}

.everpasture-page
.everpasture-rain.first-drop-test
.everpasture-raindrop-fifteen {
    animation:
        everpastureSingleDrop
        1.15s ease-in 11.8s 1 forwards;
}

.everpasture-page
.everpasture-rain.first-drop-test
.everpasture-raindrop-sixteen {
    animation:
        everpastureSingleDrop
        1.15s ease-in 12.0s 1 forwards;
}

/* ========================================
   EVERPASTURE — PHASE FOUR
   SUSTAINED RAIN FIELD
   Mixed short / medium / long drops
   ======================================== */

.everpasture-page .everpasture-rain-field {
    position: absolute;

    left: -5%;
    top: -35%;

    width: 110%;
    height: 170%;

    pointer-events: none;
    opacity: 0;

    background-image:

        /* LONGER DROPS — READ CLEARLY ON DARK WOOD */
        radial-gradient(
            ellipse 1px 17px at center,
            rgba(240, 248, 252, .43) 0%,
            rgba(225, 238, 247, .27) 52%,
            rgba(225, 238, 247, 0) 100%
        ),

        /* MEDIUM DROPS */
        radial-gradient(
            ellipse 1px 12px at center,
            rgba(235, 245, 250, .35) 0%,
            rgba(225, 238, 247, .21) 50%,
            rgba(225, 238, 247, 0) 100%
        ),

        /* SHORT DROPS — BEAUTIFUL OVER COLOR */
        radial-gradient(
            ellipse 1px 7px at center,
            rgba(240, 248, 252, .25) 0%,
            rgba(225, 238, 247, .13) 52%,
            rgba(225, 238, 247, 0) 100%
        );

    background-size:
        131px 151px,
        89px 113px,
        67px 79px;

    background-position:
        17px 11px,
        53px 47px,
        9px 66px;

    transform: rotate(7deg);
    transform-origin: center center;

    z-index: 0;
}

/* ----------------------------------------
   RAIN FIELD MOVEMENT
   ---------------------------------------- */

/* ----------------------------------------
   RAIN FIELD MOVEMENT
   Vertical continuous fall — no sideways drift
   ---------------------------------------- */

@keyframes everpastureRainFieldFall {

    0% {
        background-position:
            17px 0,
            53px 0,
            9px 0;
    }

    100% {
        background-position:
            17px 302px,
            53px 339px,
            9px 316px;
    }
}

/* ----------------------------------------
   RAIN FIELD ARRIVAL
   Starts gently after the hero drops
   ---------------------------------------- */

@keyframes everpastureRainFieldWake {

    0% {
        opacity: 0;
    }

    30% {
        opacity: .18;
    }

    65% {
        opacity: .42;
    }

    100% {
        opacity: .62;
    }
}


/* ----------------------------------------
   PHASE FOUR TEST
   ---------------------------------------- */

.everpasture-page
.everpasture-rain.first-drop-test
.everpasture-rain-field {

    animation:
        everpastureRainFieldWake 4.5s ease-in 12.5s 1 forwards,
        everpastureRainFieldFall 1.35s linear 12.5s infinite;
}

/* ========================================
   EVERPASTURE — CHEETOS LEAVE THE BUILDING
   ======================================== */

.everpasture-page
.everpasture-flying-flame.is-extinguishing {
    opacity: 0 !important;

    transition:
        opacity 3s ease;
}

/* ========================================
   EVERPASTURE — STILL 08 HOVER MEMORY
   ======================================== */

.everpasture-page .everpasture-still-08-memory {
    position: relative;

    width: 100%;
    aspect-ratio: 16 / 9;

    box-sizing: border-box;
    overflow: hidden;

    border: 1px solid rgba(201, 155, 66, 0.42);
    padding: 3px;

    background: rgba(0, 0, 0, 0.16);

    box-shadow:
        0 0 8px rgba(201, 155, 66, 0.08);
}


/* STILL + VIDEO */

.everpasture-page .everpasture-still-08-memory img,
.everpasture-page .everpasture-still-08-memory video {
    display: block;

    width: 100%;
    height: 100%;

    object-fit: cover;
}


/* REMOVE THE NORMAL INNER IMAGE FRAME */

.everpasture-page .everpasture-still-08-image {
    border: none;
    padding: 0;
    background: none;
    box-shadow: none;
}


/* VIDEO SITS DIRECTLY OVER THE STILL */

.everpasture-page .everpasture-still-08-video {
    position: absolute;

    top: 3px;
    left: 3px;

    width: calc(100% - 6px) !important;
    height: calc(100% - 6px) !important;

    opacity: 0;
    pointer-events: none;

    transition: opacity .25s ease;
}


/* SAME DELICATE HOVER AS THE OTHER STILLS */

.everpasture-page .everpasture-still-08-memory:hover {
    transform: scale(1.018);

    border-color: rgba(221, 174, 84, 0.70);

    box-shadow:
        0 0 12px rgba(201, 155, 66, 0.16);
}


.everpasture-page
.everpasture-still-08-memory:hover
.everpasture-still-08-video {
    opacity: 1;
}

/* EVERPASTURE — REMOVE MAERA BLUE BACK-TO-TOP GLOW */
.everpasture-page .back-to-top::after {
    display: none;
}

/* ========================================
   EVERPASTURE — RAIN GENTLE EXIT
   ======================================== */

.everpasture-page .everpasture-rain {
    transition: opacity 4s ease-in-out;
}

.everpasture-page .everpasture-rain.is-rain-ending {
    opacity: 0;
}

/* ========================================
   EVERPASTURE — TREE GIRL FINAL EXIT
   ======================================== */

.everpasture-page #everpasture-apple-tree-two.is-final-exit {
    opacity: 0 !important;
    transition: opacity 6s ease-in-out !important;
}

/* ========================================
   EVERPASTURE — COPYRIGHT SQUIRREL RAIN
   ======================================== */

.everpasture-page .copyright-squirrel-stage {
    position: relative;
    width: 300px;
    margin: 0 auto;
}

.everpasture-page .copyright-squirrel-stage
.copyright-squirrel {
    display: block;
    width: 300px !important;
    max-width: 300px !important;
    height: auto !important;

    transition: opacity 4s ease-in-out;
}

.everpasture-page .copyright-squirrel-dry {
    position: relative;
    opacity: 1;
}

.everpasture-page .copyright-squirrel-wet {
    position: absolute;
    left: 0;
    bottom: 0;
    opacity: 0;
}

.everpasture-page .copyright-squirrel-stage.is-wet
.copyright-squirrel-dry {
    opacity: 0;
}

.everpasture-page .copyright-squirrel-stage.is-wet
.copyright-squirrel-wet {
    opacity: 1;
}

/* ========================================
   EVERPASTURE — MEMORY CORRIDOR
   ======================================== */

.everpasture-page .everpasture-memory-corridor {
    position: relative;

    width: min(1180px, 92%);
    height: 360px;

    margin: 0 auto;

    overflow: hidden;
}

.everpasture-page .everpasture-memory-corridor-anchor {
    display: block;
    width: 1px;
    height: 1px;
}

/* ========================================
   EVERPASTURE — MEMORY APPARITION BASE
   FIRST TEST: ROPE
   ======================================== */

.everpasture-page .everpasture-memory {
    position: absolute;
    display: block;

    pointer-events: none;

    filter:
        grayscale(0.58)
        saturate(0.55)
        brightness(0.72)
        contrast(1.08);

        opacity: 0;
        transition: opacity 3s ease-in-out;

    -webkit-mask-image:
        radial-gradient(
            ellipse at center,
            black 38%,
            rgba(0, 0, 0, 0.90) 52%,
            rgba(0, 0, 0, 0.55) 66%,
            transparent 82%
        );

    mask-image:
        radial-gradient(
            ellipse at center,
            black 38%,
            rgba(0, 0, 0, 0.90) 52%,
            rgba(0, 0, 0, 0.55) 66%,
            transparent 82%
        );
}

/* MEMORY — MATERIALIZED STATE */

.everpasture-page .everpasture-memory.is-visible {
    opacity: 0.48;
}

/* ========================================
   EVERPASTURE — ROPE MEMORY
   ======================================== */

.everpasture-page .everpasture-memory-rope {
    width: 300px;
    height: auto;

    left: 7%;
    top: 50%;

    transform: translateY(-50%);
}

/* ========================================
   EVERPASTURE — BARN MEMORY
   ======================================== */

.everpasture-page .everpasture-memory-barn {
    width: 300px;
    height: auto;

    right: 7%;
    top: 50%;

    transform: translateY(-50%);
}

/* ========================================
   EVERPASTURE — BARN EXTRA FEATHER
   ======================================== */

.everpasture-page .everpasture-memory-barn {
    -webkit-mask-image:
        radial-gradient(
            ellipse at center,
            black 28%,
            rgba(0, 0, 0, 0.88) 43%,
            rgba(0, 0, 0, 0.48) 58%,
            transparent 76%
        );

    mask-image:
        radial-gradient(
            ellipse at center,
            black 28%,
            rgba(0, 0, 0, 0.88) 43%,
            rgba(0, 0, 0, 0.48) 58%,
            transparent 76%
        );
}

/* ========================================
   EVERPASTURE — GUARDIAN MEMORY
   ======================================== */

.everpasture-page .everpasture-memory-guardian {
    width: 340px;
    height: auto;

    left: 50%;
    top: 50%;

    transform: translate(-50%, -50%);

    -webkit-mask-image:
        radial-gradient(
            ellipse at center,
            black 32%,
            rgba(0, 0, 0, 0.88) 47%,
            rgba(0, 0, 0, 0.50) 62%,
            transparent 80%
        );

    mask-image:
        radial-gradient(
            ellipse at center,
            black 32%,
            rgba(0, 0, 0, 0.88) 47%,
            rgba(0, 0, 0, 0.50) 62%,
            transparent 80%
        );
}

/* ========================================
   EVERPASTURE — ACORN APPARITION
   ======================================== */

.everpasture-page .everpasture-memory-acorn {
    width: 115px;
    height: auto;

    left: 68%;
    top: 50%;

    transform: translate(-50%, -50%);

    pointer-events: auto;
    cursor: pointer;

    -webkit-mask-image:
        radial-gradient(
            ellipse at center,
            black 38%,
            rgba(0, 0, 0, 0.90) 54%,
            rgba(0, 0, 0, 0.52) 70%,
            transparent 88%
        );

    mask-image:
        radial-gradient(
            ellipse at center,
            black 38%,
            rgba(0, 0, 0, 0.90) 54%,
            rgba(0, 0, 0, 0.52) 70%,
            transparent 88%
        );
}

/* ========================================
   EVERPASTURE — WITHIN TITLE
   Align with the memory corridor
   ======================================== */

.everpasture-page .everpasture-beginnings .section-title {
    width: min(1180px, 92%);
    margin-left: auto;
    margin-right: auto;
    padding-left: 0;
}

/* ========================================
   EVERPASTURE — PRISMARA GLOVE CURSORS
   Clickable means glove 🖱️
   ======================================== */

/* WITHIN acorn:
   invisible = ordinary Prismara arrow
   and cannot intercept the mouse */
.everpasture-page .everpasture-memory-acorn {
    pointer-events: none;
}

/* WITHIN acorn:
   visible = clickable + Prismara glove */
.everpasture-page .everpasture-memory-acorn.is-visible {
    pointer-events: auto;
    cursor: url("../images/cursors/prismara-pointer.png") 8 2, pointer !important;
}

/* Cast puzzle:
   solved flashing Everpasture card is clickable */
.everpasture-page
.everpasture-secret-card.everpasture-puzzle-ready
.everpasture-cover-image {
    cursor: url("../images/cursors/prismara-pointer.png") 8 2, pointer !important;
}

/* Cast puzzle:
   revealed acorn is clickable */
.everpasture-page
.everpasture-secret-card.acorn-revealed
.everpasture-hidden-acorn {
    cursor: url("../images/cursors/prismara-pointer.png") 8 2, pointer !important;
}

/* ========================================
   DREAMFALL BLOOM — AUTUMN GOLD PALETTE

   Main Antique Gold:      #C89A4B
   Bright Illuminated Gold:#E8BC62
   Deep Antique Gold:      #7A5724
   Soft Reading Gold:      #D0A75F

   The page interface now draws its color
   from the illuminated gold typography
   of the DreamFall Bloom masthead.

   Autumn reds remain as organic accents
   in the foliage and living maple leaf.
   ======================================== */


/* ========================================
   DREAMFALL — MAIN NAVIGATION
   ======================================== */

.dreamfall-page .main-nav > a,
.dreamfall-page .nav-dropdown > a {
    color: #c89a4b;
}


/* BRIGHTER GOLD ON HOVER */

.dreamfall-page .main-nav > a:hover,
.dreamfall-page .nav-dropdown > a:hover,
.dreamfall-page .nav-dropdown > a.active {
    color: #e8bc62;

    text-shadow:
        0 0 7px rgba(232, 188, 98, 0.42);
}


/* ========================================
   ACTIVE FILMS UNDERLINE
   ======================================== */

.dreamfall-page .nav-dropdown > a.active::after {
    background: #c89a4b;

    box-shadow:
        0 0 5px rgba(232, 188, 98, 0.48);
}


/* ========================================
   HEADER BOTTOM EDGE
   ======================================== */

.dreamfall-page .site-header {
    border-bottom-color: rgba(200, 154, 75, 0.42);
}


/* ========================================
   MAIN NAV HOVER BOXES
   ======================================== */

.dreamfall-page .main-nav a:hover {
    border-color: rgba(232, 188, 98, 0.62);

    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.16),
        inset 0 -1px 0 rgba(122, 87, 36, 0.28),
        0 0 11px rgba(232, 188, 98, 0.22);
}


/* ========================================
   ACTIVE FILMS BOX
   ======================================== */

.dreamfall-page .main-nav a.active {
    border-color: rgba(200, 154, 75, 0.76);

    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.20),
        inset 0 -1px 0 rgba(122, 87, 36, 0.30),
        0 0 12px rgba(200, 154, 75, 0.25);
}


/* ========================================
   FILMS ARROW
   ======================================== */

.dreamfall-page .nav-arrow {
    color: #c89a4b;

    text-shadow:
        0 0 4px rgba(232, 188, 98, 0.40);
}


/* ========================================
   DREAMFALL — FILM DROPDOWN
   ======================================== */

.dreamfall-page .dropdown-menu {
    border-color: rgba(200, 154, 75, 0.56);
}

.dreamfall-page .dropdown-menu a {
    color: #c89a4b;
}

.dreamfall-page .dropdown-menu a:hover {
    color: #e8bc62;

    border-color: rgba(232, 188, 98, 0.52);

    text-shadow:
        0 0 6px rgba(232, 188, 98, 0.30);
}

.dreamfall-page .dropdown-menu a.current-film {
    color: #e8bc62;

    border-color: rgba(200, 154, 75, 0.70);
}


/* ========================================
   DREAMFALL — SYNOPSIS

   Softer warm gold for comfortable
   paragraph reading.
   ======================================== */

.dreamfall-page .film-synopsis,
.dreamfall-page .film-synopsis p {
    color: #d0a75f;
}

/* ========================================
   DREAMFALL — TRAILER LABEL
   ======================================== */

.dreamfall-page .trailer-label {
    color: rgba(200, 154, 75, 0.92);
}

/* ========================================
   DREAMFALL — SECTION DIVIDERS
   ======================================== */

.dreamfall-page .hairline-line {
    background: linear-gradient(
        to right,
        rgba(122, 87, 36, 0.12),
        rgba(200, 154, 75, 0.86),
        rgba(122, 87, 36, 0.12)
    );
}

.dreamfall-page .hairline-jewel {
    color: #c89a4b;

    text-shadow:
        0 0 3px rgba(232, 188, 98, 0.78),
        0 0 8px rgba(200, 154, 75, 0.48);
}


/* ========================================
   DREAMFALL — MAIN POSTER
   LIVING POSTER FRAME
   ======================================== */

.dreamfall-page .dreamfall-living-poster {
    border-color: rgba(200, 154, 75, 0.62);

    box-shadow:
        0 0 11px rgba(200, 154, 75, 0.18);
}

/* ========================================
   DREAMFALL — TRAILER FRAME
   ======================================== */

.dreamfall-page .film-trailer-area {
    border-color: rgba(200, 154, 75, 0.52);

    box-shadow:
        0 0 11px rgba(200, 154, 75, 0.16);
}


/* ========================================
   DREAMFALL — FILM STILLS
   ======================================== */

.dreamfall-page .stills-grid img {
    border-color: rgba(200, 154, 75, 0.48);

    box-shadow:
        0 0 8px rgba(200, 154, 75, 0.13);
}

.dreamfall-page .stills-grid img:hover {
    border-color: rgba(232, 188, 98, 0.82);

    box-shadow:
        0 0 13px rgba(232, 188, 98, 0.25);
}

/* ========================================
   DREAMFALL — BEYOND VIDEO FRAME
   ======================================== */

.dreamfall-page .behind-video {
    border-color: rgba(200, 154, 75, 0.52);

    box-shadow:
        0 0 10px rgba(200, 154, 75, 0.13);
}


/* ========================================
   DREAMFALL — BACK TO TOP
   ======================================== */

.dreamfall-page .back-to-top {
    color: rgba(200, 154, 75, 0.94);

    text-shadow:
        0 0 6px rgba(200, 154, 75, 0.38);
}

.dreamfall-page .back-to-top:hover {
    color: #e8bc62;

    text-shadow:
        0 0 9px rgba(232, 188, 98, 0.55);
}


/* ========================================
   DREAMFALL — COPYRIGHT TEXT
   ======================================== */

.dreamfall-page .copyright-text {
    text-shadow:
        0 1px 2px rgba(0, 0, 0, 0.95),
        0 0 7px rgba(200, 154, 75, 0.22);
}

/* ========================================
   DREAMFALL BLOOM — MASTHEAD
   ======================================== */

.dreamfall-page .dreamfall-masthead {
    position: relative;

    width: min(1180px, 92%);
    margin: 35px auto 90px;

    text-align: center;
}


/* MAIN DREAMFALL TITLE ART */

.dreamfall-page .dreamfall-masthead-title {
    display: block;

    width: 100%;
    max-width: 1050px;
    height: auto;

    margin: 0 auto;
}


/* TAGLINE */

.dreamfall-page .dreamfall-tagline {
    margin-top: 12px;

    font-family: "Cormorant Garamond", Georgia, serif;
    font-size: 21px;
    font-weight: 500;

    letter-spacing: 0.20em;
    text-transform: uppercase;
    text-align: center;

    color: #d8b36a;

    text-shadow:
        0 1px 2px rgba(0, 0, 0, 0.95),
        0 0 7px rgba(216, 179, 106, 0.22);
}


/* RESPONSIVE */

@media (max-width: 800px) {

    .dreamfall-page .dreamfall-masthead {
        width: 94%;
        margin-top: 25px;
        margin-bottom: 65px;
    }

    .dreamfall-page .dreamfall-tagline {
        margin-top: 8px;

        font-size: 15px;
        letter-spacing: 0.13em;

        line-height: 1.5;
    }
}

/* ========================================
   DREAMFALL — LIVING MAPLE BRANCH
   ======================================== */

.dreamfall-page .dreamfall-leaf-gem {
    position: absolute;

    top: 10px;
    right: 25px;

    width: 150px;
    height: 125px;

    overflow: visible;

    display: flex;
    align-items: center;
    justify-content: center;

    pointer-events: none;
}


/* MAPLE BRANCH */

.dreamfall-page .dreamfall-maple-branch {
    display: block;

    width: 175px;
    max-width: none;
    height: auto;

    transform-origin: 82% 72%;

    filter:
        drop-shadow(0 2px 3px rgba(0, 0, 0, 0.80))
        drop-shadow(0 0 5px rgba(200, 154, 75, 0.12));

    animation:
        dreamfallBranchSway 7s ease-in-out infinite;
}


/* ========================================
   GENTLE AUTUMN SWAY
   ======================================== */

@keyframes dreamfallBranchSway {

    0% {
        transform:
            rotate(-1.2deg)
            translateY(0px);
    }

    25% {
        transform:
            rotate(1.4deg)
            translateY(-1px);
    }

    50% {
        transform:
            rotate(-0.5deg)
            translateY(1px);
    }

    75% {
        transform:
            rotate(1deg)
            translateY(0px);
    }

    100% {
        transform:
            rotate(-1.2deg)
            translateY(0px);
    }
}

/* ========================================
   DREAMFALL — FALLING MAPLE LEAF
   ======================================== */

.dreamfall-page .dreamfall-falling-leaf {
    position: fixed;

    top: 70px;
    right: 72px;

    width: 62px;
    height: auto;

    z-index: 9999;

    opacity: 0;

    pointer-events: none;

    transform-origin: 30% 15%;

    filter:
        drop-shadow(0 2px 3px rgba(0, 0, 0, 0.72))
        drop-shadow(0 0 3px rgba(232, 188, 98, 0.10));
}


/* LEAF IS CURRENTLY FALLING */

.dreamfall-page .dreamfall-falling-leaf.is-falling {
    animation:
        dreamfallLeafJourney 16s linear forwards;
}


/* ========================================
   DREAMFALL LEAF JOURNEY

   Gentle irregular air currents rather
   than a simple diagonal fall.
   ======================================== */

@keyframes dreamfallLeafJourney {

    /* RELEASE */

    0% {
        opacity: 0;

        transform:
            translate(0px, 0px)
            rotate(-18deg)
            scale(0.88);
    }


    /* LEAF APPEARS AND HESITATES */

    3% {
        opacity: 1;

        transform:
            translate(-3px, 4px)
            rotate(-12deg)
            scale(0.88);
    }


    /* FIRST LITTLE DRIFT LEFT */

    12% {
        transform:
            translate(-55px, 55px)
            rotate(18deg)
            scale(0.90);
    }


    /* AIR CURRENT CARRIES IT RIGHT */

    23% {
        transform:
            translate(25px, 135px)
            rotate(72deg)
            scale(0.92);
    }


    /* FLOATS BACK LEFT */

    35% {
        transform:
            translate(-95px, 225px)
            rotate(135deg)
            scale(0.91);
    }


    /* LITTLE LIFT IN THE AIR */

    44% {
        transform:
            translate(-45px, 285px)
            rotate(178deg)
            scale(0.90);
    }


    /* WIDER SWEEP RIGHT */

    57% {
        transform:
            translate(80px, 390px)
            rotate(245deg)
            scale(0.92);
    }


    /* DRIFTS LEFT AGAIN */

    69% {
        transform:
            translate(-80px, 500px)
            rotate(305deg)
            scale(0.91);
    }


    /* CATCHES ANOTHER CURRENT */

    80% {
        transform:
            translate(45px, 610px)
            rotate(372deg)
            scale(0.90);
    }


    /* FINAL WANDER */

    91% {
        opacity: 1;

        transform:
            translate(-65px, 760px)
            rotate(430deg)
            scale(0.88);
    }


    /* BELOW VIEWPORT */

    100% {
        opacity: 0;

        transform:
            translate(35px, 105vh)
            rotate(505deg)
            scale(0.84);
    }
}

/* ========================================
   DREAMFALL — MASTHEAD FALLING LEAF
   ======================================== */

.dreamfall-page .dreamfall-masthead {
    overflow: visible;
}


/* LEAF AT REST

   Positioned near the upper-right foliage
   so it appears to belong to the masthead
   before releasing.
*/

.dreamfall-page .dreamfall-masthead-leaf {
    position: absolute;

    top: 32%;
    right: 10%;

    width: 54px;
    height: auto;

    z-index: 8;

    opacity: 0;

    pointer-events: none;

    transform-origin: 30% 15%;

    filter:
        drop-shadow(0 2px 3px rgba(0, 0, 0, 0.72))
        drop-shadow(0 0 3px rgba(232, 188, 98, 0.10));
}


/* RELEASE */

.dreamfall-page .dreamfall-masthead-leaf.is-falling {
    animation:
        dreamfallMastheadLeafJourney 17s ease-in-out forwards;
}


/* ========================================
   MASTHEAD LEAF JOURNEY

   This leaf behaves differently from the
   header leaf. It sweeps across the title,
   catches an updraft, then drifts away.
   ======================================== */

@keyframes dreamfallMastheadLeafJourney {

    /* QUIET RELEASE */

    0% {
        opacity: 0;

        transform:
            translate(0px, 0px)
            rotate(18deg)
            scale(0.88);
    }


    /* APPEARS AMONG THE FOLIAGE */

    3% {
        opacity: 1;

        transform:
            translate(-5px, 5px)
            rotate(25deg)
            scale(0.90);
    }


    /* PEELS AWAY TO THE LEFT */

    15% {
        transform:
            translate(-95px, 45px)
            rotate(70deg)
            scale(0.92);
    }


    /* SWEEPS ACROSS THE GOLD TITLE */

    28% {
        transform:
            translate(-205px, 95px)
            rotate(135deg)
            scale(0.94);
    }


    /* CATCHES A SMALL UPDRAFT */

    39% {
        transform:
            translate(-270px, 70px)
            rotate(190deg)
            scale(0.93);
    }


    /* FLOATS BACK TOWARD THE RIGHT */

    52% {
        transform:
            translate(-165px, 155px)
            rotate(250deg)
            scale(0.92);
    }


    /* BEGINS ITS LONG DESCENT */

    65% {
        transform:
            translate(-260px, 285px)
            rotate(315deg)
            scale(0.91);
    }


    /* ANOTHER AIR CURRENT */

    77% {
        transform:
            translate(-120px, 430px)
            rotate(380deg)
            scale(0.90);
    }


    /* FINAL LAZY SWEEP */

    89% {
        opacity: 1;

        transform:
            translate(-235px, 600px)
            rotate(445deg)
            scale(0.88);
    }


    /* DISSOLVE AWAY */

    100% {
        opacity: 0;

        transform:
            translate(-130px, 760px)
            rotate(520deg)
            scale(0.84);
    }
}

/* ========================================
   DREAMFALL — MEMORY TREE
   ======================================== */

.dreamfall-page .dreamfall-memory-tree {
    position: relative;

    width: min(1200px, 92%);
    height: auto;

    margin: 10px auto 90px;

    display: flex;
    justify-content: center;
    align-items: center;

    overflow: visible;

    z-index: 2;
}


/* MEMORY TREE ART */

.dreamfall-page .dreamfall-memory-tree-image {
    display: block;

    width: 100%;
    max-width: 1100px;
    height: auto;

    margin: 0 auto;

    position: relative;
    z-index: 1;

    pointer-events: none;

    filter:
        drop-shadow(0 12px 20px rgba(0, 0, 0, 0.72));
}

/* RESPONSIVE */

@media (max-width: 900px) {

    .dreamfall-page .dreamfall-memory-tree {
        width: 98%;
        height: auto;

        margin-top: 10px;
        margin-bottom: 45px;
    }

    .dreamfall-page .dreamfall-memory-tree-image {
        width: 100%;
    }
}

/* ========================================
   DREAMFALL — MEMORY DOOR PROTOTYPE
   Door #1
   ======================================== */


/* ENTIRE DOOR ASSEMBLY */

.dreamfall-page .dreamfall-memory-door {
    position: absolute;

    width: 115px;
    aspect-ratio: 0.76;

    z-index: 6;

    perspective: 900px;

    cursor: pointer;
}


/* ----------------------------------------
   DOOR #1 POSITION

   Prototype location on the main trunk.
   We will visually tune this after seeing
   it on the actual tree.
   ---------------------------------------- */

.dreamfall-page .memory-door-01 {
    left: 50%;
    top: 48%;

    transform: translate(-50%, -50%);
}


/* ----------------------------------------
   DARK OPENING BEHIND THE DOOR

   The memory still will eventually live
   here.
   ---------------------------------------- */

.dreamfall-page .memory-door-opening {
    position: absolute;

    left: 16%;
    top: 13%;

    width: 68%;
    height: 74%;

    background:
        radial-gradient(
            ellipse at center,
            rgba(75, 43, 20, 0.95) 0%,
            rgba(25, 15, 9, 0.98) 65%,
            rgba(5, 3, 2, 1) 100%
        );

    border-radius:
        50% 50% 7% 7% /
        22% 22% 5% 5%;

    z-index: 1;

    overflow: hidden;

    box-shadow:
        inset 0 0 14px rgba(0, 0, 0, 0.95);
}


/* ----------------------------------------
   ROOT / LEAF FRAME
   ---------------------------------------- */

.dreamfall-page .memory-door-frame {
    position: absolute;

    left: 0;
    top: 0;

    width: 100%;
    height: 100%;

    object-fit: contain;

    z-index: 4;

    pointer-events: none;
}

/* ========================================
   DREAMFALL — MEMORY DOOR FLAP ALIGNMENT
   ======================================== */

.dreamfall-page .memory-door-flap {
    position: absolute;

    /*
    Pull the physical wooden door farther
    into the doorway so its hinge edge sits
    directly against the left side of the
    opening.
    */

    left: 11%;
    top: 14%;

    width: 72%;
    height: 72%;

    object-fit: contain;

    z-index: 3;

    transition:
        transform 1.15s
        cubic-bezier(0.22, 0.72, 0.20, 1);

    backface-visibility: visible;

    cursor: pointer;
}


/* LEFT-HINGED DOOR */

.dreamfall-page .memory-door-flap-left {
    /*
    The hinge needs to be INSIDE the PNG
    because the asset contains transparent
    canvas to the left of the visible door.
    */

    transform-origin: 18% center;
}

/* ========================================
   DREAMFALL — RIGHT-HINGED MEMORY DOORS
   ======================================== */

.dreamfall-page .memory-door-flap-right {
    transform-origin: 82% center;
}

.dreamfall-page .dreamfall-memory-door.is-open
.memory-door-flap-right {
    transform:
        perspective(900px)
        rotateY(86deg);
}


/* OPEN POSITION */

.dreamfall-page .dreamfall-memory-door.is-open
.memory-door-flap-left {

    transform:
        perspective(900px)
        rotateY(-86deg);
}


/* ----------------------------------------
   VERY SUBTLE DISCOVERY GLOW

   Only when visitor hovers.
   ---------------------------------------- */

.dreamfall-page .dreamfall-memory-door:hover
.memory-door-frame {

    filter:
        drop-shadow(
            0 0 5px
            rgba(214, 164, 73, 0.24)
        );
}

/* ========================================
   DREAMFALL — MEMORY DOOR NUMBERS
   ======================================== */

.dreamfall-page .memory-door-number {
    position: absolute;

    left: 50%;
    top: 48%;

    transform: translate(-50%, -50%);

    z-index: 8;

    margin: 0;
    padding: 0;

    border: 0;
    outline: 0;

    background: transparent;

    font-family: Georgia, "Times New Roman", serif;

    font-size: 31px;
    font-weight: 700;
    font-variant-numeric: lining-nums;
    line-height: 1;

    color: #d9a844;

    text-shadow:
        0 1px 1px rgba(0, 0, 0, 0.98),
        0 0 3px rgba(255, 181, 54, 0.48),
        0 0 8px rgba(255, 142, 24, 0.20);

    cursor: pointer;

    animation:
        dreamfall-memory-number-glow
        3.6s
        ease-in-out
        infinite;

    transition:
        opacity 0.45s ease,
        transform 0.45s ease,
        text-shadow 0.45s ease;
}


/* SLIGHTLY BRIGHTER WHEN DISCOVERED */

.dreamfall-page .memory-door-number:hover {
    color: #ffd77a;

    text-shadow:
        0 1px 1px rgba(0, 0, 0, 0.98),
        0 0 5px rgba(255, 215, 122, 0.88),
        0 0 12px rgba(255, 157, 31, 0.48);
}


/* SLOW MAGICAL BREATH */

@keyframes dreamfall-memory-number-glow {

    0%,
    100% {
        color: #c99435;

        text-shadow:
            0 1px 1px rgba(0, 0, 0, 0.98),
            0 0 3px rgba(255, 178, 48, 0.36),
            0 0 7px rgba(255, 139, 23, 0.15);
    }

    50% {
        color: #ffd574;

        text-shadow:
            0 1px 1px rgba(0, 0, 0, 0.98),
            0 0 5px rgba(255, 214, 116, 0.82),
            0 0 12px rgba(255, 150, 25, 0.38);
    }
}


/* NUMBER DISAPPEARS AS DOOR OPENS */

.dreamfall-page .dreamfall-memory-door.is-open
.memory-door-number {

    opacity: 0;

    transform:
        translate(-50%, -50%)
        scale(0.72);

    pointer-events: none;

    animation: none;
}

/* ========================================
   DREAMFALL — FLOATING MEMORY VIDEO
   ======================================== */

.dreamfall-page .dreamfall-memory-video {
    position: fixed;

    left: 0;
    top: 0;

    /*
    JavaScript supplies the exact starting
    position from the doorway.
    */

    width: min(520px, 80vw);
    height: auto;

    aspect-ratio: 16 / 9;
    object-fit: cover;

    z-index: 5000;

    opacity: 0;

    border:
        1px solid
        rgba(214, 164, 73, 0.68);

    border-radius: 5px;

    background: #000;

    box-shadow:
        0 12px 35px rgba(0, 0, 0, 0.82),
        0 0 15px rgba(218, 164, 68, 0.22);

    transform-origin: center center;

    pointer-events: none;

    visibility: hidden;
}


/* MEMORY IS OUT OF THE TREE */

.dreamfall-page .dreamfall-memory-video.is-memory-visible {
    visibility: visible;
}

/* ========================================
   DREAMFALL — MEMORY DOOR POSITIONS
   Preliminary placement map
   ======================================== */

/* UPPER CANOPY */

.dreamfall-page .memory-door-01 {
    left: 22%;
    top: 25%;
}

.dreamfall-page .memory-door-02 {
    left: 36%;
    top: 18%;
}

.dreamfall-page .memory-door-03 {
    left: 50%;
    top: 14%;
}

.dreamfall-page .memory-door-04 {
    left: 64%;
    top: 18%;
}

.dreamfall-page .memory-door-05 {
    left: 78%;
    top: 25%;
}


/* MIDDLE BRANCHES */

.dreamfall-page .memory-door-06 {
    left: 28%;
    top: 43%;
}

.dreamfall-page .memory-door-07 {
    left: 50%;
    top: 48%;
}

.dreamfall-page .memory-door-08 {
    left: 72%;
    top: 43%;
}


/* LOWER TREE / ROOTS */

.dreamfall-page .memory-door-09 {
    left: 27%;
    top: 66%;
}

.dreamfall-page .memory-door-10 {
    left: 42%;
    top: 70%;
}

.dreamfall-page .memory-door-11 {
    left: 58%;
    top: 70%;
}

.dreamfall-page .memory-door-12 {
    left: 73%;
    top: 66%;
}


/* All coordinates refer to the door center */

.dreamfall-page .memory-door-01,
.dreamfall-page .memory-door-02,
.dreamfall-page .memory-door-03,
.dreamfall-page .memory-door-04,
.dreamfall-page .memory-door-05,
.dreamfall-page .memory-door-06,
.dreamfall-page .memory-door-07,
.dreamfall-page .memory-door-08,
.dreamfall-page .memory-door-09,
.dreamfall-page .memory-door-10,
.dreamfall-page .memory-door-11,
.dreamfall-page .memory-door-12 {
    transform: translate(-50%, -50%);
}

/* ========================================
   DREAMFALL — MEMORY DOOR POSITION TUNING
   ======================================== */

.dreamfall-page .memory-door-06 {
    top: 38%;
}

.dreamfall-page .memory-door-08 {
    top: 38%;
}

.dreamfall-page .memory-door-09 {
    top: 61%;
}

.dreamfall-page .memory-door-depth {
    display: block;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.dreamfall-page .memory-door-01 .memory-door-frame {
    transform: translateX(-4px);
}

/* ========================================
   DREAMFALL — MEMORY DOOR
   FINAL ALIGNMENT OVERRIDES
   ======================================== */

/* ----------------------------------------
   DOOR #2
   RIGHT-HINGED TEST MASTER
   ---------------------------------------- */

/*
Keep the successful two-knuckle
horizontal alignment.
*/

.dreamfall-page .memory-door-02 .memory-door-frame {
    transform: translateX(-8px);
}

.dreamfall-page .memory-door-02 .memory-door-flap-right {
    left: calc(11% - 8px);
}


/*
The dark chamber was peeking out
beside the closed brass door.

Make ONLY Door #2's chamber narrower
instead of stretching the decorative door.
*/

.dreamfall-page .memory-door-02 .memory-door-opening {
    left: 19%;
    width: 60%;
}

/* ========================================
   DREAMFALL — DOORS #3–#12
   TWO-ARROW LEFT NUDGE
   ======================================== */

/* Move the decorative frames slightly left */
.dreamfall-page .memory-door-03 .memory-door-frame,
.dreamfall-page .memory-door-04 .memory-door-frame,
.dreamfall-page .memory-door-05 .memory-door-frame,
.dreamfall-page .memory-door-06 .memory-door-frame,
.dreamfall-page .memory-door-07 .memory-door-frame,
.dreamfall-page .memory-door-08 .memory-door-frame,
.dreamfall-page .memory-door-09 .memory-door-frame,
.dreamfall-page .memory-door-10 .memory-door-frame,
.dreamfall-page .memory-door-11 .memory-door-frame,
.dreamfall-page .memory-door-12 .memory-door-frame {
    transform: translateX(-4px);
}


/* Move LEFT brass doors the same amount */
.dreamfall-page .memory-door-03 .memory-door-flap-left,
.dreamfall-page .memory-door-05 .memory-door-flap-left,
.dreamfall-page .memory-door-07 .memory-door-flap-left,
.dreamfall-page .memory-door-09 .memory-door-flap-left,
.dreamfall-page .memory-door-11 .memory-door-flap-left {
    left: calc(11% - 4px);
}


/* Move RIGHT brass doors the same amount */
.dreamfall-page .memory-door-04 .memory-door-flap-right,
.dreamfall-page .memory-door-06 .memory-door-flap-right,
.dreamfall-page .memory-door-08 .memory-door-flap-right,
.dreamfall-page .memory-door-10 .memory-door-flap-right,
.dreamfall-page .memory-door-12 .memory-door-flap-right {
    left: calc(11% - 4px);
}

/* ========================================
   DREAMFALL — DOORS #3–#12
   HIDE FINAL RIGHT-SIDE CHAMBER SLIVER
   ======================================== */

.dreamfall-page .memory-door-03 .memory-door-opening,
.dreamfall-page .memory-door-04 .memory-door-opening,
.dreamfall-page .memory-door-05 .memory-door-opening,
.dreamfall-page .memory-door-06 .memory-door-opening,
.dreamfall-page .memory-door-07 .memory-door-opening,
.dreamfall-page .memory-door-08 .memory-door-opening,
.dreamfall-page .memory-door-09 .memory-door-opening,
.dreamfall-page .memory-door-10 .memory-door-opening,
.dreamfall-page .memory-door-11 .memory-door-opening,
.dreamfall-page .memory-door-12 .memory-door-opening {
    width: 64%;
}

/* ========================================
   DREAMFALL — ALL BRASS DOORS
   TWO-PIXEL-MONKEY RIGHT NUDGE
   ======================================== */

.dreamfall-page .memory-door-flap-left,
.dreamfall-page .memory-door-flap-right {
    margin-left: 6px;
}

/* ========================================
   MEMORY DOOR #1
   MATCH BRASS / KNOCKER TO DOOR #3
   ======================================== */

.dreamfall-page .memory-door-01 .memory-door-flap-left {
    margin-left: -2px;
}

/* ========================================
   DREAMFALL — ODD GOLD NUMBERS
   ONE-ANT LEFT NUDGE
   1, 3, 5, 7, 9 ONLY
   ======================================== */

.dreamfall-page .memory-door-01 .memory-door-number,
.dreamfall-page .memory-door-03 .memory-door-number,
.dreamfall-page .memory-door-05 .memory-door-number,
.dreamfall-page .memory-door-07 .memory-door-number,
.dreamfall-page .memory-door-09 .memory-door-number {
    margin-left: -6px;
}

/* ========================================
   DREAMFALL — MEMORY TREE FALLING LEAF
   LEAF #3
   ======================================== */

.dreamfall-page .dreamfall-memory-tree-leaf {
    position: absolute;

    /*
    Starting point inside the upper canopy.
    We can fine-tune this after seeing it.
    */
    left: 58%;
    top: 17%;

    /*
    Production leaf size.
    */
    width: 34px;
    height: auto;

    /*
    Above tree artwork, below memory doors.
    */
    z-index: 3;

    opacity: 0;

    pointer-events: none;

    transform:
        translate(-50%, -50%)
        rotate(-12deg);

    transform-origin: center center;
}

/* ========================================
   DREAMFALL — MEMORY TREE LEAF #3
   FALLING FLIGHT
   ======================================== */

.dreamfall-page .dreamfall-memory-tree-leaf.is-falling {
    animation:
        dreamfall-memory-tree-leaf-fall
        15s
        ease-in-out
        forwards;
}


/* ----------------------------------------
   MEMORY TREE LEAF FLIGHT PATH

   Begins inside upper canopy,
   drifts downward across the tree,
   then disappears near the creek.
   ---------------------------------------- */

@keyframes dreamfall-memory-tree-leaf-fall {

    0% {
        opacity: 0;

        transform:
            translate(-50%, -50%)
            translate(0px, 0px)
            rotate(-12deg)
            scale(0.82);
    }


    6% {
        opacity: 1;
    }


    20% {
        transform:
            translate(-50%, -50%)
            translate(-38px, 85px)
            rotate(42deg)
            scale(0.92);
    }


    40% {
        transform:
            translate(-50%, -50%)
            translate(30px, 190px)
            rotate(118deg)
            scale(1);
    }


    60% {
        transform:
            translate(-50%, -50%)
            translate(-24px, 300px)
            rotate(205deg)
            scale(0.94);
    }


    78% {
        opacity: 1;

        transform:
            translate(-50%, -50%)
            translate(34px, 410px)
            rotate(286deg)
            scale(0.88);
    }


    92% {
        opacity: 0.70;

        transform:
            translate(-50%, -50%)
            translate(-12px, 500px)
            rotate(344deg)
            scale(0.80);
    }


    100% {
        opacity: 0;

        transform:
            translate(-50%, -50%)
            translate(18px, 550px)
            rotate(395deg)
            scale(0.74);
    }
}

/* ========================================
   DREAMFALL — MEMORY TREE TWINKLES

   Tiny independent points of warm magic.
   These remain subtle so the tree never
   becomes a blinking light display.
   ======================================== */

.dreamfall-page .dreamfall-tree-twinkles {
    position: absolute;
    inset: 0;

    z-index: 4;

    pointer-events: none;
}


/* ----------------------------------------
   BASIC TWINKLE
   ---------------------------------------- */

.dreamfall-page .dreamfall-tree-twinkle {
    position: absolute;

    width: 8px;
    height: 8px;

    border-radius: 50%;

    font-size: 0;
    line-height: 0;

    opacity: 0;

    background:
        radial-gradient(
            circle,
            rgba(255, 250, 205, 1) 0%,
            rgba(255, 222, 120, 0.92) 25%,
            rgba(255, 188, 72, 0.46) 52%,
            rgba(255, 180, 60, 0) 76%
        );

 box-shadow:
    0 0 6px rgba(255, 245, 190, 0.95),
    0 0 14px rgba(255, 205, 95, 0.68),
    0 0 22px rgba(255, 180, 65, 0.28);

    animation-name: dreamfall-tree-twinkle;
    animation-timing-function: ease-in-out;
    animation-iteration-count: infinite;
}

/* ----------------------------------------
   INDIVIDUAL LOCATIONS + TIMING

   Different durations and delays prevent
   the lights from blinking together.
   ---------------------------------------- */

.dreamfall-page .twinkle-01 {
    left: 27%;
    top: 18%;
    animation-duration: 7.3s;
    animation-delay: 0.8s;
}

.dreamfall-page .twinkle-02 {
    left: 39%;
    top: 11%;
    animation-duration: 9.1s;
    animation-delay: 3.4s;
}

.dreamfall-page .twinkle-03 {
    left: 52%;
    top: 17%;
    animation-duration: 6.8s;
    animation-delay: 1.9s;
}

.dreamfall-page .twinkle-04 {
    left: 68%;
    top: 14%;
    animation-duration: 10.2s;
    animation-delay: 5.1s;
}

.dreamfall-page .twinkle-05 {
    left: 77%;
    top: 27%;
    animation-duration: 8.4s;
    animation-delay: 2.6s;
}

.dreamfall-page .twinkle-06 {
    left: 31%;
    top: 35%;
    animation-duration: 11.1s;
    animation-delay: 6.2s;
}

.dreamfall-page .twinkle-07 {
    left: 59%;
    top: 32%;
    animation-duration: 7.9s;
    animation-delay: 4.3s;
}

.dreamfall-page .twinkle-08 {
    left: 72%;
    top: 42%;
    animation-duration: 9.7s;
    animation-delay: 7.1s;
}


/* ----------------------------------------
   TWINKLE LIFE CYCLE

   Most of each cycle is completely dark.
   The light appears briefly, blooms,
   then disappears again.
   ---------------------------------------- */

@keyframes dreamfall-tree-twinkle {

    0%,
    67% {
        opacity: 0;
        transform: scale(0.25);
    }

    72% {
        opacity: 0.35;
        transform: scale(0.65);
    }

    76% {
        opacity: 1;
        transform: scale(1.45);
    }

    79% {
        opacity: 0.55;
        transform: scale(0.90);
    }

    82% {
        opacity: 0.95;
        transform: scale(1.20);
    }

    87% {
        opacity: 0.18;
        transform: scale(0.55);
    }

    91%,
    100% {
        opacity: 0;
        transform: scale(0.25);
    }
}

/* ========================================
   DREAMFALL — SOUTH CREEK WATER
   DORMANT WATER LAYER
   ======================================== */

.dreamfall-page .dreamfall-south-creek-water {
    position: absolute;
    inset: 0;

    z-index: 2;

    pointer-events: none;
}


/* ========================================
   WATERFALL BASE

   Invisible while South Creek sleeps.
   ======================================== */

.dreamfall-page .dreamfall-waterfall {
    position: absolute;

    display: block;

    opacity: 0;

    overflow: hidden;

    border-radius: 40% 40% 48% 48%;

    font-size: 0;
    line-height: 0;

    pointer-events: none;
}


/* ========================================
   WATERFALL POSITIONS

   Initial map based on the production
   Memory Tree artwork.

   These can be nudged after visual test.
   ======================================== */


/* LEFT — main lower waterfall */

.dreamfall-page .waterfall-01 {
    left: 18.5%;
    top: 72.5%;

    width: 5.5%;
    height: 8.5%;
}


/* CENTER LEFT — narrow fall near Door 10 */

.dreamfall-page .waterfall-02 {
    left: 34%;
    top: 70.5%;

    width: 3.8%;
    height: 8%;
}


/* CENTER RIGHT — narrow fall near Door 11 */

.dreamfall-page .waterfall-03 {
    left: 65%;
    top: 72%;

    width: 3.8%;
    height: 8%;
}

/* RIGHT — main lower waterfall */

.dreamfall-page .waterfall-04 {
    left: 76.5%;
    top: 71.5%;

    width: 5.5%;
    height: 9%;
}

/* ========================================
   INTERNAL WATER SHIMMER

   This exists now but will not animate
   until South Creek is awakened.
   ======================================== */

.dreamfall-page .dreamfall-waterfall::before {
    content: "";

    position: absolute;

    left: 0;
    top: -80%;

    width: 100%;
    height: 180%;

    background:
        repeating-linear-gradient(
            180deg,
            rgba(255, 255, 255, 0) 0px,
            rgba(255, 255, 255, 0.08) 7px,
            rgba(220, 245, 255, 0.38) 11px,
            rgba(255, 255, 255, 0.70) 14px,
            rgba(210, 240, 255, 0.24) 18px,
            rgba(255, 255, 255, 0) 28px
        );

    filter: blur(1px);
}


/* ========================================
   CREEK RIPPLE BASE

   Installed now.
   Sleeping until later.
   ======================================== */

.dreamfall-page .dreamfall-creek-ripple {
    position: absolute;

    left: 50%;

    border: 1px solid
        rgba(255, 230, 150, 0.55);

    border-radius: 50%;

    opacity: 0;

    font-size: 0;
    line-height: 0;

    pointer-events: none;
}


.dreamfall-page .creek-ripple-01 {
    top: 82%;

    width: 22%;
    height: 5%;

    transform: translateX(-50%);
}


.dreamfall-page .creek-ripple-02 {
    top: 84%;

    width: 31%;
    height: 6%;

    transform: translateX(-50%);
}

/* ========================================
   DREAMFALL — SOUTH CREEK AWAKENS

   Activated after six unique memories
   have been completely watched.
   ======================================== */


/* ----------------------------------------
   WATERFALL AWAKENING

   Each waterfall enters separately.
   ---------------------------------------- */

.dreamfall-page .dreamfall-south-creek-water.water-awake
.waterfall-01 {
    animation:
        dreamfall-waterfall-awaken 1.8s ease-out forwards,
        dreamfall-waterfall-breathe 4.8s ease-in-out 1.8s infinite;
}


.dreamfall-page .dreamfall-south-creek-water.water-awake
.waterfall-02 {
    animation:
        dreamfall-waterfall-awaken 1.8s ease-out 0.55s forwards,
        dreamfall-waterfall-breathe 5.2s ease-in-out 2.35s infinite;
}


.dreamfall-page .dreamfall-south-creek-water.water-awake
.waterfall-03 {
    animation:
        dreamfall-waterfall-awaken 1.8s ease-out 1.10s forwards,
        dreamfall-waterfall-breathe 4.6s ease-in-out 2.90s infinite;
}


.dreamfall-page .dreamfall-south-creek-water.water-awake
.waterfall-04 {
    animation:
        dreamfall-waterfall-awaken 1.8s ease-out 1.65s forwards,
        dreamfall-waterfall-breathe 5.4s ease-in-out 3.45s infinite;
}


/* ----------------------------------------
   THE WATER FIRST BECOMES VISIBLE
   ---------------------------------------- */

@keyframes dreamfall-waterfall-awaken {

    0% {
        opacity: 0;
    }

    45% {
        opacity: 0.20;
    }

    100% {
        opacity: 0.58;
    }
}


/* ----------------------------------------
   VERY SUBTLE LIVING-WATER BREATH

   The shimmer remains present without
   looking like flashing lights.
   ---------------------------------------- */

@keyframes dreamfall-waterfall-breathe {

    0%,
    100% {
        opacity: 0.48;
    }

    50% {
        opacity: 0.68;
    }
}


/* ----------------------------------------
   FALLING WATER MOVEMENT
   ---------------------------------------- */

.dreamfall-page .dreamfall-south-creek-water.water-awake
.dreamfall-waterfall::before {

    animation:
        dreamfall-water-travel
        2.8s
        linear
        infinite;
}


@keyframes dreamfall-water-travel {

    0% {
        transform: translateY(-18%);
        opacity: 0;
    }

    12% {
        opacity: 1;
    }

    82% {
        opacity: 1;
    }

    100% {
        transform: translateY(38%);
        opacity: 0;
    }
}

/* ========================================
   CREEK AWAKENING

   Begins only after the waterfalls
   have had time to wake.
   ======================================== */

.dreamfall-page .dreamfall-south-creek-water.water-awake
.creek-ripple-01 {

    animation:
        dreamfall-creek-ripple
        5.2s
        ease-out
        2.8s
        infinite;
}


.dreamfall-page .dreamfall-south-creek-water.water-awake
.creek-ripple-02 {

    animation:
        dreamfall-creek-ripple
        5.2s
        ease-out
        4.1s
        infinite;
}


@keyframes dreamfall-creek-ripple {

    0% {
        opacity: 0;
        transform:
            translateX(-50%)
            scale(0.72);
    }

    18% {
        opacity: 0.34;
    }

    55% {
        opacity: 0.16;
    }

    100% {
        opacity: 0;
        transform:
            translateX(-50%)
            scale(1.18);
    }
}

/* ========================================
   DREAMFALL — BLOOMAROO MAGIC
   ======================================== */

.dreamfall-page .dreamfall-bloomaroo-magic {
    position: absolute;

    /*
    Centered over Bloomaroo in the creek.
    */
    left: 50%;
    top: 81%;

    width: 18%;
    height: 11%;

    transform: translate(-50%, -50%);

    z-index: 3;

    pointer-events: none;
}


/* ----------------------------------------
   BLOOMAROO GLOW

   Completely dormant at page arrival.
   ---------------------------------------- */

.dreamfall-page .dreamfall-bloomaroo-glow {
    position: absolute;

    left: 50%;
    top: 50%;

    width: 82%;
    aspect-ratio: 1 / 1;

    border-radius: 50%;

    transform:
        translate(-50%, -50%)
        scale(0.68);

    opacity: 0;

    font-size: 0;
    line-height: 0;

    background:
        radial-gradient(
            circle,
            rgba(255, 255, 235, 0.78) 0%,
            rgba(255, 245, 175, 0.48) 22%,
            rgba(255, 205, 95, 0.30) 42%,
            rgba(255, 160, 65, 0.18) 58%,
            rgba(255, 140, 50, 0) 76%
        );

    box-shadow:
        0 0 14px rgba(255, 245, 185, 0.42),
        0 0 30px rgba(255, 190, 75, 0.26),
        0 0 48px rgba(255, 145, 55, 0.16);

    filter: blur(4px);

    pointer-events: none;
}

/* ========================================
   SIX MEMORIES — BLOOMAROO STIRS

   South Creek has awakened.
   Bloomaroo now shows only a faint,
   slow living pulse.
   ======================================== */

.dreamfall-page
.dreamfall-south-creek-water.water-awake
~ .dreamfall-bloomaroo-magic
.dreamfall-bloomaroo-glow {

    animation:
        dreamfall-bloomaroo-breathe
        5.8s
        ease-in-out
        infinite;
}


@keyframes dreamfall-bloomaroo-breathe {

    0%,
    100% {
        opacity: 0.16;

        transform:
            translate(-50%, -50%)
            scale(0.62);
    }

    45% {
        opacity: 0.82;

        transform:
            translate(-50%, -50%)
            scale(1.16);
    }

    60% {
        opacity: 0.68;

        transform:
            translate(-50%, -50%)
            scale(1.08);
    }
}

/* ========================================
   DREAMFALL — BLOOMAROO FULL AWAKENING

   Triggered only after all 12 unique
   memories have been completed.
   ======================================== */

.dreamfall-page
.dreamfall-bloomaroo-magic.is-fully-awake
.dreamfall-bloomaroo-glow {

    animation:
        dreamfall-bloomaroo-full-awakening
        4.8s
        ease-in-out
        1;
}


@keyframes dreamfall-bloomaroo-full-awakening {

    0% {
        opacity: 0.22;

        transform:
            translate(-50%, -50%)
            scale(0.72);
    }


    25% {
        opacity: 0.72;

        transform:
            translate(-50%, -50%)
            scale(1.08);
    }


    52% {
        opacity: 1;

        transform:
            translate(-50%, -50%)
            scale(1.42);
    }


    72% {
        opacity: 0.78;

        transform:
            translate(-50%, -50%)
            scale(1.18);
    }


    100% {
        opacity: 0.28;

        transform:
            translate(-50%, -50%)
            scale(0.86);
    }
}

/* ========================================
   DREAMFALL — BLOOMAROO COMPLETION MAGIC

   These particles exist only during
   Bloomaroo's 12-memory awakening.
   ======================================== */

.dreamfall-page .dreamfall-bloom-spark {
    position: absolute;

    left: 50%;
    top: 52%;

    width: 5px;
    height: 5px;

    border-radius: 50%;

    opacity: 0;

    font-size: 0;
    line-height: 0;

    pointer-events: none;

    background:
        radial-gradient(
            circle,
            rgba(255, 255, 235, 1) 0%,
            rgba(255, 225, 125, 0.95) 32%,
            rgba(255, 180, 65, 0.60) 55%,
            rgba(255, 150, 45, 0) 78%
        );

    box-shadow:
        0 0 5px rgba(255, 245, 190, 0.95),
        0 0 11px rgba(255, 195, 80, 0.70);
}


/* ========================================
   12 MEMORIES — RELEASE THE SPARKLES
   ======================================== */

.dreamfall-page
.dreamfall-bloomaroo-magic.is-fully-awake
.dreamfall-bloom-spark {

    animation-name:
        dreamfall-bloom-spark-rise;

    animation-timing-function:
        ease-out;

    animation-fill-mode:
        forwards;
}


/* Individual particles */

.dreamfall-page .spark-01 {
    --spark-x: -52px;
    --spark-y: -92px;
    animation-duration: 2.4s;
    animation-delay: 0.30s;
}

.dreamfall-page .spark-02 {
    --spark-x: 34px;
    --spark-y: -112px;
    animation-duration: 2.8s;
    animation-delay: 0.48s;
}

.dreamfall-page .spark-03 {
    --spark-x: -18px;
    --spark-y: -138px;
    animation-duration: 3.0s;
    animation-delay: 0.68s;
}

.dreamfall-page .spark-04 {
    --spark-x: 58px;
    --spark-y: -150px;
    animation-duration: 2.7s;
    animation-delay: 0.88s;
}

.dreamfall-page .spark-05 {
    --spark-x: -70px;
    --spark-y: -166px;
    animation-duration: 3.2s;
    animation-delay: 1.05s;
}

.dreamfall-page .spark-06 {
    --spark-x: 12px;
    --spark-y: -184px;
    animation-duration: 3.0s;
    animation-delay: 1.22s;
}

.dreamfall-page .spark-07 {
    --spark-x: 76px;
    --spark-y: -202px;
    animation-duration: 3.3s;
    animation-delay: 1.40s;
}

.dreamfall-page .spark-08 {
    --spark-x: -38px;
    --spark-y: -218px;
    animation-duration: 3.4s;
    animation-delay: 1.58s;
}

.dreamfall-page .spark-09 {
    --spark-x: 28px;
    --spark-y: -236px;
    animation-duration: 3.6s;
    animation-delay: 1.75s;
}


/* ========================================
   SPARKLE FLIGHT

   Starts inside Bloomaroo,
   rises outward,
   then dissolves.
   ======================================== */

@keyframes dreamfall-bloom-spark-rise {

    0% {
        opacity: 0;

        transform:
            translate(-50%, -50%)
            translate(0, 0)
            scale(0.35);
    }


    15% {
        opacity: 1;

        transform:
            translate(-50%, -50%)
            translate(
                calc(var(--spark-x) * 0.12),
                calc(var(--spark-y) * 0.12)
            )
            scale(1.15);
    }


    48% {
        opacity: 0.90;

        transform:
            translate(-50%, -50%)
            translate(
                calc(var(--spark-x) * 0.48),
                calc(var(--spark-y) * 0.48)
            )
            scale(0.92);
    }


    76% {
        opacity: 0.58;

        transform:
            translate(-50%, -50%)
            translate(
                calc(var(--spark-x) * 0.78),
                calc(var(--spark-y) * 0.78)
            )
            scale(0.70);
    }


    100% {
        opacity: 0;

        transform:
            translate(-50%, -50%)
            translate(
                var(--spark-x),
                var(--spark-y)
            )
            scale(0.30);
    }
}

/* ========================================
   DREAMFALL — ACORN 01
   MEMORY TREE COMPLETION REWARD
   ======================================== */

.dreamfall-page .dreamfall-memory-acorn {
    position: absolute;

    left: 50%;
    top: -42%;

    width: 68px;
    height: 68px;

    padding: 0;
    margin: 0;

    border: 0;
    outline: 0;

    background: transparent;

    opacity: 0;
    visibility: hidden;

    pointer-events: none;

    transform:
        translate(-50%, -50%)
        translateY(20px)
        scale(0.18);

    transform-origin: center center;

    z-index: 10;

    cursor: pointer;

    filter:
        drop-shadow(
            0 0 6px
            rgba(255, 235, 165, 0.60)
        )
        drop-shadow(
            0 0 14px
            rgba(255, 185, 70, 0.36)
        );
}


.dreamfall-page .dreamfall-memory-acorn img {
    display: block;

    width: 100%;
    height: 100%;

    object-fit: contain;

    pointer-events: none;
}


/* ========================================
   ACORN MATERIALIZES
   ======================================== */

.dreamfall-page
.dreamfall-memory-acorn.is-revealed {

    visibility: visible;
    pointer-events: auto;

    animation:
        dreamfall-acorn-materialize
        2.6s
        ease-out
        forwards;
}


@keyframes dreamfall-acorn-materialize {

    0% {
        opacity: 0;

        transform:
            translate(-50%, -50%)
            translateY(22px)
            scale(0.16);

        filter:
            blur(7px)
            drop-shadow(
                0 0 4px
                rgba(255, 245, 190, 0)
            );
    }


    38% {
        opacity: 0.48;

        transform:
            translate(-50%, -50%)
            translateY(9px)
            scale(0.62);

        filter:
            blur(3px)
            drop-shadow(
                0 0 14px
                rgba(255, 225, 145, 0.82)
            );
    }


    72% {
        opacity: 0.92;

        transform:
            translate(-50%, -50%)
            translateY(-2px)
            scale(1.08);

        filter:
            blur(0)
            drop-shadow(
                0 0 12px
                rgba(255, 225, 145, 0.72)
            );
    }


    100% {
        opacity: 1;

        transform:
            translate(-50%, -50%)
            translateY(0)
            scale(1);

        filter:
            blur(0)
            drop-shadow(
                0 0 7px
                rgba(255, 225, 145, 0.55)
            );
    }
}


/* ----------------------------------------
   ACORN COLLECTED — DISSOLVE
   ---------------------------------------- */

.dreamfall-page
.dreamfall-memory-acorn.is-collected {

    pointer-events: none;

    animation:
        dreamfall-acorn-dissolve
        1.1s
        ease-in
        forwards;
}


@keyframes dreamfall-acorn-dissolve {

    0% {
        opacity: 1;

        transform:
            translate(-50%, -50%)
            scale(1);
    }

    45% {
        opacity: 0.72;

        transform:
            translate(-50%, -50%)
            scale(1.16);
    }

    100% {
        opacity: 0;

        transform:
            translate(-50%, -50%)
            scale(0.42);
    }
}

/* ========================================
   DREAMFALL — ACORN DISCOVERY POSITION

   Northeast presentation so the gold
   lettering appears over the black beside
   the Memory Tree instead of over the tree.
   ======================================== */

.dreamfall-page .acorn-discovery {
    left: auto;
    right: 7%;
    top: 34%;

    transform: translateY(-50%);

    align-items: center;
    text-align: center;
}


/* DREAMFALL DISCOVERY ANIMATION */

.dreamfall-page
.acorn-discovery.is-visible {
    animation:
        dreamfall-acorn-discovery-fade
        4s
        ease
        forwards;
}


@keyframes dreamfall-acorn-discovery-fade {

    0% {
        opacity: 0;
        transform:
            translateY(-42%)
            translateX(18px);
    }

    15% {
        opacity: 1;
        transform:
            translateY(-50%)
            translateX(0);
    }

    75% {
        opacity: 1;
        transform:
            translateY(-50%)
            translateX(0);
    }

    100% {
        opacity: 0;
        transform:
            translateY(-56%)
            translateX(8px);
    }
}

/* ========================================
   DREAMFALL — LIVING POSTER
   PILOT DISCOVERY #1
   ======================================== */

.dreamfall-page .dreamfall-living-poster {
    position: relative;
    display: block;
    width: 100%;
    overflow: hidden;
    cursor: pointer;

    border-style: solid;
    border-width: 1px;
    box-sizing: border-box;
}

/* STILL POSTER */

.dreamfall-page .dreamfall-living-poster-image {
    display: block;
    width: 100%;
    height: auto;

    opacity: 1;

    transition:
        opacity 500ms ease,
        filter 450ms ease,
        transform 450ms ease;
}


/* Very small invitation on hover.
   No button. No label. No giveaway. */

.dreamfall-page .dreamfall-living-poster:hover
.dreamfall-living-poster-image {
    filter:
        brightness(1.07)
        drop-shadow(0 0 8px rgba(255, 210, 120, 0.30));

    transform: scale(1.008);
}


/* LIVING VIDEO

   It occupies the exact same poster space.
   Until activated, it is invisible and
   cannot intercept the visitor's mouse.
*/

.dreamfall-page .dreamfall-living-poster-video {
    position: absolute;

    left: 0;
    top: 0;

    width: 100%;
    height: 100%;

    object-fit: cover;

    opacity: 0;
    visibility: hidden;
    pointer-events: none;

    transition:
        opacity 550ms ease,
        visibility 0s linear 550ms;
}


/* ========================================
   POSTER HAS COME TO LIFE
   ======================================== */

.dreamfall-page .dreamfall-living-poster.is-alive
.dreamfall-living-poster-image {
    opacity: 0;
}


.dreamfall-page .dreamfall-living-poster.is-alive
.dreamfall-living-poster-video {
    opacity: 1;
    visibility: visible;

    transition:
        opacity 550ms ease,
        visibility 0s linear 0s;
}

/* ========================================
   DREAMFALL — GUARDIAN SECRET
   PILOT DISCOVERY #2
   ======================================== */

.dreamfall-page .dreamfall-guardian-secret {
    position: relative;
    overflow: hidden;
    cursor: pointer;

    border-style: solid;
    border-width: 1px;
    border-color: rgba(200, 154, 75, 0.48);

    box-shadow:
        0 0 8px rgba(200, 154, 75, 0.13);

    box-sizing: border-box;

    transition:
        border-color 400ms ease,
        box-shadow 400ms ease;
}

/* STILL */

.dreamfall-page .dreamfall-guardian-still {
    display: block;
    width: 100%;
    height: auto;

    opacity: 1;

    transition:
        opacity 450ms ease,
        filter 400ms ease,
        transform 400ms ease;
}


/* Tiny clue — nothing that announces
   that this is secretly interactive. */

.dreamfall-page .dreamfall-guardian-secret:hover {
    border-color: rgba(232, 188, 98, 0.82);

    box-shadow:
        0 0 13px rgba(232, 188, 98, 0.25);
}

.dreamfall-page .dreamfall-guardian-secret:hover
.dreamfall-guardian-still {
    filter: brightness(1.06);

    transform: scale(1.008);
}

/* VIDEO LIVES DIRECTLY UNDER THE STILL */

.dreamfall-page .dreamfall-guardian-video {
    position: absolute;

    left: 0;
    top: 0;

    width: 100%;
    height: 100%;

    object-fit: cover;

    opacity: 0;
    visibility: hidden;
    pointer-events: none;

    transition:
        opacity 500ms ease,
        visibility 0s linear 500ms;
}


/* GUARDIAN AWAKENS */

.dreamfall-page .dreamfall-guardian-secret.is-awake
.dreamfall-guardian-still {
    opacity: 0;
}


.dreamfall-page .dreamfall-guardian-secret.is-awake
.dreamfall-guardian-video {
    opacity: 1;
    visibility: visible;

    transition:
        opacity 500ms ease,
        visibility 0s linear 0s;
}

.dreamfall-page .stills-grid
.dreamfall-guardian-secret
.dreamfall-guardian-still {
    border: none;
    box-shadow: none;
}

/* ========================================
   DREAMFALL — FALLING STAR
   PILOT DISCOVERY #3
   ======================================== */

.dreamfall-page .dreamfall-falling-star {
    position: fixed;

    left: -80px;
    top: 18vh;

    width: 70px;
    height: 54px;

    margin: 0;
    padding: 0;

    border: 0;
    background: transparent;

    z-index: 9000;

    opacity: 0;
    visibility: hidden;

    cursor: pointer;

    pointer-events: none;

    transform:
        translate3d(0, 0, 0)
        rotate(-10deg);

    filter:
        drop-shadow(0 0 5px rgba(255, 211, 92, 0.70))
        drop-shadow(0 0 11px rgba(255, 180, 60, 0.32));
}


/* ACTUAL STAR */

.dreamfall-page .dreamfall-star-body {
    position: absolute;

    right: 4px;
    top: 10px;

    display: block;

    font-size: 28px;
    line-height: 1;

    transform-origin: center center;

    animation:
        dreamfall-star-twinkle 900ms
        ease-in-out infinite alternate;
}


/* SHORT GLOWING TAIL */

.dreamfall-page .dreamfall-star-tail {
    position: absolute;

    right: 27px;
    top: 24px;

    display: block;

    width: 34px;
    height: 3px;

    border-radius: 50%;

    background:
        linear-gradient(
            to left,
            rgba(255, 221, 125, 0.82),
            rgba(255, 196, 82, 0.35),
            rgba(255, 196, 82, 0)
        );

    box-shadow:
        0 0 6px rgba(255, 210, 100, 0.40);

    transform:
        rotate(-12deg);

    transform-origin: right center;
}


/* STAR IS CURRENTLY CROSSING THE PAGE */

.dreamfall-page .dreamfall-falling-star.is-falling {
    visibility: visible;
    pointer-events: auto;

    animation:
        dreamfall-star-flight 8.5s
        linear forwards;
}


/* SMALL CLUE THAT SHE CAN BE CAUGHT */

.dreamfall-page .dreamfall-falling-star.is-falling:hover {
    filter:
        brightness(1.22)
        drop-shadow(0 0 7px rgba(255, 226, 130, 0.92))
        drop-shadow(0 0 15px rgba(255, 190, 65, 0.58));
}


/* CAUGHT */

.dreamfall-page .dreamfall-falling-star.is-caught {
    visibility: visible;
    pointer-events: none;

    animation:
        dreamfall-star-caught 650ms
        ease-out forwards;
}


/* ========================================
   STAR FLIGHT
   ======================================== */

@keyframes dreamfall-star-flight {

    0% {
        left: -80px;
        top: 17vh;
        opacity: 0;

        transform:
            rotate(-12deg)
            scale(0.92);
    }

    8% {
        opacity: 1;
    }

    25% {
        top: 24vh;

        transform:
            rotate(5deg)
            scale(1);
    }

    50% {
        top: 38vh;

        transform:
            rotate(-7deg)
            scale(0.96);
    }

    75% {
        top: 51vh;

        transform:
            rotate(8deg)
            scale(1);
    }

    92% {
        opacity: 1;
    }

    100% {
        left: calc(100vw + 80px);
        top: 63vh;
        opacity: 0;

        transform:
            rotate(-5deg)
            scale(0.92);
    }
}


/* ========================================
   STAR'S LITTLE SHIMMER
   ======================================== */

@keyframes dreamfall-star-twinkle {

    from {
        transform:
            scale(0.94)
            rotate(-3deg);

        filter:
            brightness(0.94);
    }

    to {
        transform:
            scale(1.08)
            rotate(3deg);

        filter:
            brightness(1.18);
    }
}


/* ========================================
   CATCH FLARE
   ======================================== */

@keyframes dreamfall-star-caught {

    0% {
        opacity: 1;
        transform:
            scale(1)
            rotate(0deg);
    }

    35% {
        opacity: 1;
        transform:
            scale(1.75)
            rotate(15deg);

        filter:
            brightness(1.75)
            drop-shadow(0 0 12px rgba(255, 236, 160, 1))
            drop-shadow(0 0 24px rgba(255, 196, 75, 0.90));
    }

    100% {
        opacity: 0;
        transform:
            scale(0.25)
            rotate(30deg);

        filter:
            brightness(2);
    }
}

/* ========================================
   DREAMFALL — PILOT BOB
   REWARD FLIGHT
   ======================================== */

.dreamfall-page .dreamfall-pilot-flight {
    position: fixed;

    left: -520px;
    top: 18vh;

    width: 430px;
    height: 300px;

    z-index: 8800;

    pointer-events: none;

    opacity: 0;
    visibility: hidden;

    transform: translate3d(0, 0, 0);
}


/* BOB'S TRANSPARENT WEBM */

.dreamfall-page .dreamfall-pilot-video {
    display: block;

    width: 100%;
    height: 100%;

    object-fit: contain;

    background: transparent;

    pointer-events: none;
}


/* AIRBORNE */

.dreamfall-page .dreamfall-pilot-flight.is-flying {
    visibility: visible;

    animation:
        dreamfall-pilot-flight
        15s
        linear
        forwards;
}


/* ========================================
   BOB'S FLIGHT PATH
   ======================================== */

@keyframes dreamfall-pilot-flight {

    0% {
        left: -520px;
        top: 18vh;
        opacity: 0;
        transform: translateY(0);
    }

    5% {
        opacity: 1;
    }

    25% {
        top: 21vh;
        transform: translateY(-5px);
    }

    48% {
        top: 26vh;
        transform: translateY(4px);
    }

    72% {
        top: 23vh;
        transform: translateY(-4px);
    }

    94% {
        opacity: 1;
    }

    100% {
        left: calc(100vw + 520px);
        top: 19vh;
        opacity: 0;
        transform: translateY(0);
    }
}


/* ========================================
   PILOT ACORN
   ======================================== */

.dreamfall-page .dreamfall-pilot-acorn {
    position: fixed;

    left: 50%;
    top: 42vh;

    width: 68px;
    height: 68px;

    padding: 0;
    margin: 0;

    border: 0;
    background: transparent;

    z-index: 8900;

    opacity: 0;
    visibility: hidden;

    pointer-events: none;
    cursor: pointer;

    transform:
        translate(-50%, -50%)
        scale(0.65);

    filter:
        drop-shadow(
            0 0 7px
            rgba(200, 154, 75, 0.35)
        );
}


.dreamfall-page .dreamfall-pilot-acorn img {
    display: block;
    width: 100%;
    height: auto;
}


/* BOB DROPS IT */

.dreamfall-page .dreamfall-pilot-acorn.is-dropped {
    visibility: visible;
    pointer-events: auto;

    animation:
        dreamfall-pilot-acorn-drop
        1100ms
        ease-out
        forwards;
}


@keyframes dreamfall-pilot-acorn-drop {

    0% {
        opacity: 0;
        transform:
            translate(-50%, -105px)
            rotate(-20deg)
            scale(0.65);
    }

    35% {
        opacity: 1;
    }

    72% {
        transform:
            translate(-50%, -42%)
            rotate(9deg)
            scale(1.08);
    }

    100% {
        opacity: 1;
        transform:
            translate(-50%, -50%)
            rotate(0deg)
            scale(1);
    }
}


/* COLLECTED */

.dreamfall-page .dreamfall-pilot-acorn.is-collected {
    pointer-events: none;

    animation:
        dreamfall-pilot-acorn-collect
        700ms
        ease-in
        forwards;
}


@keyframes dreamfall-pilot-acorn-collect {

    0% {
        opacity: 1;
        transform:
            translate(-50%, -50%)
            scale(1);
    }

    40% {
        opacity: 1;
        transform:
            translate(-50%, -50%)
            scale(1.18);
    }

    100% {
        opacity: 0;
        transform:
            translate(-50%, -58%)
            scale(0.35);
    }
}

/* ========================================
   DREAMFALL — AUTUMN ORNAMENT
   ======================================== */

.dreamfall-page .dreamfall-autumn-ornament {
    width: 100%;
    margin: 18px auto 4px;
    text-align: center;
    pointer-events: none;
}

.dreamfall-page .dreamfall-autumn-ornament img {
    display: inline-block;

    width: 900px;
    max-width: 82%;

    height: auto;

    opacity: 0.88;

    filter:
        brightness(0.90)
        drop-shadow(
            0 0 12px
            rgba(200, 154, 75, 0.22)
        );
}

/* ========================================
   DREAMFALL — FILM STATISTICS SPACING
   ======================================== */

.dreamfall-page .maera-film-info {
    margin-top: 18px;
}

/* ========================================
   DREAMFALL — BLOOPERS / DIRECTOR'S CUTS
   PLAYER SIZE
   ======================================== */

.dreamfall-page .behind-the-glass .behind-video {
    width: 900px;
    max-width: 82%;
    margin-left: auto;
    margin-right: auto;
}

.dreamfall-page .behind-the-glass .behind-video-screen {
    width: 100%;
    aspect-ratio: 16 / 9;
}

.dreamfall-page .behind-the-glass .behind-video-screen video {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* ========================================
   DREAMFALL — COPYRIGHT SQUIRREL SIZE
   AUTUMN VEST EDITION
   ======================================== */

.dreamfall-page .copyright-squirrel {
    width: 300px !important;
    max-width: 300px !important;
    height: auto !important;
}

/* ========================================
   DREAMFALL — COPYRIGHT TEXT
   ======================================== */

.dreamfall-page .copyright-text {
    color: #ffffff !important;
}

/* ========================================
   DREAMFALL — PRISMARA GLOVE CURSORS
   Interactive discoveries = Prismara glove
   ======================================== */


/* ----------------------------------------
   MEMORY TREE DOORS
   Entire door assembly uses Prismara glove
   ---------------------------------------- */

.dreamfall-page .dreamfall-memory-door,
.dreamfall-page .dreamfall-memory-door .memory-door-opening,
.dreamfall-page .dreamfall-memory-door .memory-door-depth,
.dreamfall-page .dreamfall-memory-door .memory-door-frame,
.dreamfall-page .dreamfall-memory-door .memory-door-flap,
.dreamfall-page .dreamfall-memory-door .memory-door-number {
    cursor: url("../images/cursors/prismara-pointer.png") 8 2, pointer !important;
}


/* ----------------------------------------
   LIVING POSTER
   Poster + secret video use Prismara glove
   ---------------------------------------- */

.dreamfall-page .dreamfall-living-poster,
.dreamfall-page .dreamfall-living-poster-image,
.dreamfall-page .dreamfall-living-poster-video {
    cursor: url("../images/cursors/prismara-pointer.png") 8 2, pointer !important;
}


/* ----------------------------------------
   GUARDIAN #011 SECRET
   Still + secret video use Prismara glove
   ---------------------------------------- */

.dreamfall-page .dreamfall-guardian-secret,
.dreamfall-page .dreamfall-guardian-still,
.dreamfall-page .dreamfall-guardian-video {
    cursor: url("../images/cursors/prismara-pointer.png") 8 2, pointer !important;
}

/* ========================================
   DREAMFALL — CINEMATIC CAST REEL
   ======================================== */

.dreamfall-page .dreamfall-cast-reel-section {
    width: 100%;
    margin: 70px auto 80px;

    /* Keep the CAST heading and divider area
       free from accidental clipping. */
    overflow: visible;
}


/* ========================================
   REEL VIEWING WINDOW
   Smaller, centered, woodgrain visible
   ======================================== */

.dreamfall-page .dreamfall-cast-reel-window {
    position: relative;

    width: 88%;
    max-width: 1320px;

    margin-left: auto;
    margin-right: auto;

    overflow: hidden;

    padding: 14px 0;

    /* Let DreamFall woodgrain show through */
    background: transparent;

    border-top: 1px solid rgba(202, 154, 69, 0.62);
    border-bottom: 1px solid rgba(202, 154, 69, 0.62);

    box-shadow:
        0 7px 14px rgba(0, 0, 0, 0.22);
}


/* ========================================
   NO BROWN EDGE CURTAINS
   ======================================== */

.dreamfall-page .dreamfall-cast-reel-window::before,
.dreamfall-page .dreamfall-cast-reel-window::after {
    content: none;
}


/* ========================================
   MOVING FILM TRACK
   ======================================== */

.dreamfall-page .dreamfall-cast-reel-track {
    display: flex;

    width: max-content;

    animation:
        dreamfallCastReelMove 78s linear infinite;

    will-change: transform;
}


/* Pause the reel when visitor hovers */

.dreamfall-page .dreamfall-cast-reel-window:hover
.dreamfall-cast-reel-track {
    animation-play-state: paused;
}


/* ========================================
   EACH COMPLETE CAST SET
   ======================================== */

.dreamfall-page .dreamfall-cast-reel-set {
    display: flex;
    align-items: stretch;

    flex-shrink: 0;

    gap: 14px;

    padding: 12px 7px;
}


/* ========================================
   INDIVIDUAL FILM FRAME
   ======================================== */

.dreamfall-page .dreamfall-cast-frame {
    position: relative;

    flex: 0 0 178px;

    padding:
        25px
        10px
        17px;

    text-align: center;

    background:
        linear-gradient(
            to bottom,
            rgba(8, 7, 6, 0.96),
            rgba(28, 20, 15, 0.95),
            rgba(8, 7, 6, 0.96)
        );

    border-left: 1px solid rgba(205, 158, 76, 0.48);
    border-right: 1px solid rgba(205, 158, 76, 0.48);
}


/* ========================================
   FILM PERFORATIONS
   ======================================== */

.dreamfall-page .dreamfall-cast-frame::before,
.dreamfall-page .dreamfall-cast-frame::after {
    content: "";

    position: absolute;

    left: 7px;
    right: 7px;

    height: 7px;

    background:
        repeating-linear-gradient(
            to right,
            rgba(215, 173, 93, 0.78) 0 10px,
            transparent 10px 18px
        );
}

.dreamfall-page .dreamfall-cast-frame::before {
    top: 7px;
}

.dreamfall-page .dreamfall-cast-frame::after {
    bottom: 7px;
}


/* ========================================
   CAST PORTRAIT
   ======================================== */

.dreamfall-page .dreamfall-cast-frame img {
    display: block;

    width: 154px;
    height: 207px;

    object-fit: cover;

    margin: 0 auto 10px;

    border: 2px solid rgba(211, 165, 78, 0.78);

    box-shadow:
        0 0 9px rgba(0, 0, 0, 0.70),
        0 0 10px rgba(196, 110, 49, 0.14);
}


/* ========================================
   CHARACTER NAME
   ======================================== */

.dreamfall-page .dreamfall-cast-frame span {
    display: block;

    color: #d9ad62;

    font-family: "Cormorant Garamond", Georgia, serif;

    font-size: 18px;
    letter-spacing: 0.08em;

    text-transform: uppercase;

    text-shadow:
        0 0 7px rgba(190, 111, 47, 0.25);
}


/* ========================================
   REEL MOVEMENT
   ======================================== */

@keyframes dreamfallCastReelMove {

    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-50%);
    }

}


/* ========================================
   DREAMFALL CAST REEL — MOBILE
   ======================================== */

@media (max-width: 700px) {

    .dreamfall-page .dreamfall-cast-reel-section {
        margin-top: 50px;
        margin-bottom: 60px;
    }

    .dreamfall-page .dreamfall-cast-reel-window {
        width: 92%;
        padding: 10px 0;
    }

    .dreamfall-page .dreamfall-cast-reel-track {
        animation-duration: 95s;
    }

    .dreamfall-page .dreamfall-cast-reel-set {
        gap: 10px;
        padding: 10px 5px;
    }

    .dreamfall-page .dreamfall-cast-frame {
        flex-basis: 150px;

        padding:
            23px
            8px
            16px;
    }

    .dreamfall-page .dreamfall-cast-frame img {
        width: 130px;
        height: 175px;
    }

    .dreamfall-page .dreamfall-cast-frame span {
        font-size: 16px;
    }

}

/* ========================================
   DREAMFALL — SECTION TITLE DIVIDERS
   Stills · Cast · Director's Cuts
   ======================================== */

.dreamfall-page .dreamfall-section-title-divider {
    width: 100%;

    margin:
        34px
        auto
        30px;

    text-align: center;

    pointer-events: none;
}


/* ========================================
   DIVIDER ARTWORK
   ======================================== */

.dreamfall-page .dreamfall-section-title-divider img {
    display: block;

    width: 900px;
    max-width: 82%;

    height: auto;

    margin-left: auto;
    margin-right: auto;

    opacity: 0.96;

    filter:
        drop-shadow(
            0 0 10px
            rgba(202, 154, 69, 0.16)
        );
}


/* ========================================
   DREAMFALL SECTION DIVIDERS — MOBILE
   ======================================== */

@media (max-width: 700px) {

    .dreamfall-page .dreamfall-section-title-divider {
        margin:
            24px
            auto
            22px;
    }

    .dreamfall-page .dreamfall-section-title-divider img {
        width: 100%;
        max-width: 92%;
    }

}

/* ========================================
   PPS ABOUT PAGE — MASTHEAD
   THREE-LAYER COMPOSITE + LIVING STAR FIELD
   ======================================== */

.pps-masthead {
    position: relative;

    width: min(1500px, 96vw);
    height: clamp(560px, 54vw, 810px);

    margin: 18px auto 70px;

    overflow: visible;

    isolation: isolate;
}


/* ========================================
   LAYER 1
   NIGHT SKY + EVERGREENS
   ======================================== */

.pps-masthead-sky {
    position: absolute;

    top: 0;
    left: 50%;

    width: 92%;
    height: auto;

    transform: translateX(-50%);

    display: block;

    z-index: 1;

    pointer-events: none;
    user-select: none;
}


/* ========================================
   LIVING STAR FIELD
   TWINKLE WITH A W
   ======================================== */

.pps-star-field {
    position: absolute;

    top: 0;
    left: 50%;

    width: 92%;
    height: 58%;

    transform: translateX(-50%);

    z-index: 2;

    overflow: hidden;

    pointer-events: none;
}


/* ----------------------------------------
   BASE STAR
   ---------------------------------------- */

.pps-star {
    position: absolute;

    width: 3px;
    height: 3px;

    border-radius: 50%;

    background: rgba(255, 245, 218, 0.95);

    opacity: 0.15;

    box-shadow:
        0 0 4px rgba(255, 236, 190, 0.75),
        0 0 9px rgba(184, 211, 255, 0.38);

    animation-name: ppsStarTwinkle;
    animation-timing-function: ease-in-out;
    animation-iteration-count: infinite;

    transform: scale(0.65);
}


/* ----------------------------------------
   BRIGHT FOUR-POINT GLINTS
   ---------------------------------------- */

.pps-star-03,
.pps-star-07,
.pps-star-10 {
    width: 4px;
    height: 4px;

    background: rgba(255, 249, 230, 1);

    box-shadow:
        0 0 5px rgba(255, 240, 198, 0.95),
        0 0 12px rgba(178, 207, 255, 0.60);
}


.pps-star-03::before,
.pps-star-03::after,
.pps-star-07::before,
.pps-star-07::after,
.pps-star-10::before,
.pps-star-10::after {
    content: "";

    position: absolute;

    top: 50%;
    left: 50%;

    transform: translate(-50%, -50%);

    border-radius: 50%;

    background: rgba(255, 247, 220, 0.85);
}


.pps-star-03::before,
.pps-star-07::before,
.pps-star-10::before {
    width: 1px;
    height: 13px;
}


.pps-star-03::after,
.pps-star-07::after,
.pps-star-10::after {
    width: 13px;
    height: 1px;
}


/* ========================================
   INDIVIDUAL STAR POSITIONS + RHYTHMS
   ======================================== */

.pps-star-01 {
    top: 12%;
    left: 18%;

    animation-duration: 6.8s;
    animation-delay: -1.4s;
}


.pps-star-02 {
    top: 23%;
    left: 28%;

    animation-duration: 8.1s;
    animation-delay: -5.2s;
}


.pps-star-03 {
    top: 10%;
    left: 39%;

    animation-duration: 9.4s;
    animation-delay: -2.8s;
}


.pps-star-04 {
    top: 29%;
    left: 45%;

    animation-duration: 7.3s;
    animation-delay: -6.1s;
}


.pps-star-05 {
    top: 16%;
    left: 55%;

    animation-duration: 10.2s;
    animation-delay: -3.7s;
}


.pps-star-06 {
    top: 31%;
    left: 63%;

    animation-duration: 7.9s;
    animation-delay: -1.1s;
}


.pps-star-07 {
    top: 12%;
    left: 71%;

    animation-duration: 11.1s;
    animation-delay: -7.4s;
}


.pps-star-08 {
    top: 25%;
    left: 79%;

    animation-duration: 8.7s;
    animation-delay: -4.3s;
}


.pps-star-09 {
    top: 38%;
    left: 34%;

    animation-duration: 9.8s;
    animation-delay: -8.1s;
}


.pps-star-10 {
    top: 35%;
    left: 68%;

    animation-duration: 12.2s;
    animation-delay: -5.9s;
}


/* ========================================
   STAR TWINKLE
   MOST OF EACH CYCLE REMAINS QUIET
   ======================================== */

@keyframes ppsStarTwinkle {

    0%,
    18%,
    62%,
    100% {
        opacity: 0.12;
        transform: scale(0.65);
    }

    30% {
        opacity: 0.38;
        transform: scale(0.82);
    }

    39% {
        opacity: 1;
        transform: scale(1.35);
    }

    47% {
        opacity: 0.32;
        transform: scale(0.78);
    }
}


/* ========================================
   LAYER 2
   AUTUMN TREES + LANTERNS + CREEK
   ======================================== */

.pps-masthead-woodland {
    position: absolute;

    left: 50%;
    bottom: 0;

    width: 100%;
    height: auto;

    transform: translateX(-50%);

    display: block;

    z-index: 3;

    pointer-events: none;
    user-select: none;
}


/* ========================================
   LAYER 3
   PPS LOGO + ORNAMENT
   ======================================== */

.pps-masthead-logo {
    position: absolute;

    left: 51%;
    top: 35%;

    width: 65%;
    height: auto;

    transform: translateX(-50%);

    display: block;

    z-index: 4;

    pointer-events: none;
    user-select: none;
}


/* ========================================
   SMALLER SCREENS
   ======================================== */

@media (max-width: 800px) {

    .pps-masthead {
        width: 100%;
        height: clamp(280px, 72vw, 430px);

        margin-top: 12px;
        margin-bottom: 45px;
    }

    .pps-masthead-sky {
        width: 108%;
    }

    .pps-star-field {
        width: 108%;
        height: 58%;
    }

    .pps-masthead-woodland {
    width: 112%;
    bottom: 55px;
}

    .pps-masthead-logo {
        left: 51%;
        top: 35%;
        width: 65%;
    }
}


/* ========================================
   REDUCED MOTION
   ======================================== */

@media (prefers-reduced-motion: reduce) {

    .pps-star {
        animation: none;
        opacity: 0.35;
        transform: scale(0.75);
    }
}

/* ========================================
   PPS ABOUT PAGE — COMET YELLOW

   A rare golden streak through the PPS sky.
   Built entirely with CSS.
   ======================================== */

.pps-yellow-comet {
    position: absolute;

    /*
    Yellow begins beyond the right edge
    of the masthead.
    */
    top: 16%;
    left: 108%;

    width: 15px;
    height: 15px;

    font-size: 0;
    line-height: 0;

    border-radius: 50%;

    /*
    Bright white-gold center surrounded
    by Yellow's warm golden fire.
    */
    background:
        radial-gradient(
            circle at 38% 38%,
            #fffde8 0%,
            #fff4a8 20%,
            #ffd84d 45%,
            #f5a623 68%,
            rgba(238, 128, 16, 0.25) 82%,
            rgba(238, 128, 16, 0) 100%
        );

    box-shadow:
        0 0 5px rgba(255, 255, 225, 1),
        0 0 11px rgba(255, 221, 80, 0.95),
        0 0 23px rgba(255, 174, 35, 0.82),
        0 0 40px rgba(255, 128, 20, 0.42);

    /*
    Above the painted sky and living stars,
    but behind the woodland and PPS ornament.
    */
    z-index: 2;

    opacity: 0;

    pointer-events: none;

    /*
    Yellow travels toward the LEFT,
    so his tail extends behind him
    toward the RIGHT.
    */
    transform:
        translate3d(0, 0, 0)
        rotate(-8deg)
        scale(0.72);

    will-change: left, top, opacity, transform;
}


/* ========================================
   YELLOW'S MAIN GOLDEN TAIL
   ======================================== */

.pps-yellow-comet::before {
    content: "";

    position: absolute;

    top: 50%;
    left: 8px;

    width: 145px;
    height: 8px;

    transform:
        translateY(-50%)
        skewX(-18deg);

    transform-origin: left center;

    border-radius: 100% 15% 15% 100%;

    background:
        linear-gradient(
            to right,
            rgba(255, 245, 164, 0.92) 0%,
            rgba(255, 208, 65, 0.78) 18%,
            rgba(255, 159, 32, 0.50) 46%,
            rgba(255, 111, 18, 0.20) 72%,
            rgba(255, 111, 18, 0) 100%
        );

    filter: blur(2px);

    box-shadow:
        0 0 8px rgba(255, 210, 70, 0.65),
        0 0 15px rgba(255, 145, 28, 0.38);

    opacity: 0.9;
}


/* ========================================
   YELLOW'S SOFT OUTER TRAIL
   ======================================== */

.pps-yellow-comet::after {
    content: "";

    position: absolute;

    top: 50%;
    left: 5px;

    width: 190px;
    height: 18px;

    transform:
        translateY(-50%)
        skewX(-20deg);

    transform-origin: left center;

    border-radius: 100% 20% 20% 100%;

    background:
        linear-gradient(
            to right,
            rgba(255, 222, 87, 0.32) 0%,
            rgba(255, 169, 38, 0.20) 35%,
            rgba(255, 111, 18, 0.08) 65%,
            rgba(255, 111, 18, 0) 100%
        );

    filter: blur(6px);

    opacity: 0.85;
}


/* ========================================
   YELLOW IS AIRBORNE
   ======================================== */

.pps-yellow-comet.is-flying {
    animation: ppsYellowFlight 3.6s cubic-bezier(0.28, 0.03, 0.58, 1)
        forwards;
}


/* ========================================
   YELLOW'S FLIGHT PATH

   Starts high on the right.
   Crosses the open blue sky.
   Dips slightly as he travels.
   Disappears beyond the left evergreens.
   ======================================== */

@keyframes ppsYellowFlight {

    0% {
        left: 108%;
        top: 13%;

        opacity: 0;

        transform:
            translate3d(0, 0, 0)
            rotate(-8deg)
            scale(0.58);
    }


    8% {
        opacity: 1;
    }


    25% {
        top: 15%;

        transform:
            translate3d(0, 0, 0)
            rotate(-7deg)
            scale(0.78);
    }


    52% {
        top: 19%;

        transform:
            translate3d(0, 0, 0)
            rotate(-6deg)
            scale(1);
    }


    76% {
        top: 24%;

        opacity: 1;

        transform:
            translate3d(0, 0, 0)
            rotate(-5deg)
            scale(0.86);
    }


    94% {
        opacity: 0.72;
    }


    100% {
        left: -22%;
        top: 29%;

        opacity: 0;

        transform:
            translate3d(0, 0, 0)
            rotate(-4deg)
            scale(0.58);
    }
}


/* ========================================
   SMALLER SCREENS
   ======================================== */

@media (max-width: 800px) {

    .pps-yellow-comet {
        width: 11px;
        height: 11px;
    }

    .pps-yellow-comet::before {
        width: 95px;
        height: 6px;
    }

    .pps-yellow-comet::after {
        width: 125px;
        height: 13px;
    }
}


/* ========================================
   REDUCED MOTION

   Yellow remains hidden rather than
   crossing the screen.
   ======================================== */

@media (prefers-reduced-motion: reduce) {

    .pps-yellow-comet,
    .pps-yellow-comet.is-flying {
        display: none;
        animation: none;
    }
}

/* ========================================
   PPS ABOUT PAGE — HIDDEN ACORN HOTSPOT
   LARGE LEFT ACORN
   ======================================== */

.pps-about-acorn-hotspot {
    position: absolute;

    left: 22.6%;
    top: 57.5%;

    width: 7.5%;
    height: 16%;

    z-index: 5;

    margin: 0;
    padding: 0;

    border: 0;
    outline: 0;

    background: transparent;

    opacity: 0;

    cursor: pointer;

    pointer-events: auto;
}

/* No visual giveaway on hover or focus. */

.pps-about-acorn-hotspot:hover,
.pps-about-acorn-hotspot:focus,
.pps-about-acorn-hotspot:active {
    background: transparent;
    opacity: 0;
    border: 0;
    outline: 0;
    box-shadow: none;
}


/* Hide the anti-SeaMonkey filler. */

.pps-about-acorn-hotspot span {
    font-size: 0;
    line-height: 0;
}


/* ========================================
   PPS ABOUT — BIG NUT MOBILE ALIGNMENT
   ======================================== */

@media (max-width: 800px) {
    .pps-about-acorn-hotspot {
        left: 23.5%;
        top: 40%;
        width: 12%;
        height: 17%;
    }
}

/* ========================================
   PPS ABOUT PAGE
   ACORN DISCOVERY POSITION
   ======================================== */

body.about-page .acorn-discovery {
    top: 35%;
    bottom: auto;
}

/* ========================================
   PPS ABOUT
   PRISMARA + STARLIGHT + OMNI
   ======================================== */

.pps-about-main {
    width: min(1380px, 94vw);
    margin: 0 auto;
    position: relative;
}


/* ========================================
   SHARED SECTION ORNAMENT
   ======================================== */

.pps-section-ornament {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;

    width: min(430px, 70%);
    margin: 0 auto 20px;

    color: rgba(218, 178, 90, .9);
}

.pps-section-ornament span {
    display: block;
    width: 130px;
    height: 1px;

    background: linear-gradient(
        to right,
        transparent,
        rgba(211, 169, 82, .85),
        transparent
    );
}

.pps-section-ornament i {
    font-style: normal;
    font-size: 13px;

    text-shadow:
        0 0 9px rgba(230, 191, 100, .55);
}


/* ========================================
   SMALL SECTION LABEL
   ======================================== */

.pps-eyebrow {
    margin: 0 0 8px;

    text-align: center;

    font-family: "Cormorant Garamond", Georgia, serif;
    font-size: 14px;
    font-weight: 600;

    letter-spacing: .32em;

    color: rgba(205, 170, 100, .82);
}


/* ========================================
   INTRODUCING PRISMARA
   ======================================== */

.pps-prismara-intro {
    max-width: 980px;

    margin:
        40px auto 150px;

    text-align: center;
}

.pps-prismara-title {
    margin: 0;

    font-family: "Cormorant Garamond", Georgia, serif;
    font-size: clamp(54px, 7vw, 94px);
    font-weight: 500;

    line-height: .95;
    letter-spacing: .08em;

    color: #e6c983;

    text-shadow:
        0 2px 2px rgba(0,0,0,.9),
        0 0 18px rgba(193,145,53,.20);
}

.pps-prismara-lead {
    max-width: 760px;

    margin:
        22px auto 46px;

    font-family: "Cormorant Garamond", Georgia, serif;
    font-size: clamp(23px, 2.3vw, 32px);
    font-style: italic;

    line-height: 1.35;

    color: rgba(230, 220, 198, .94);
}

.pps-prismara-copy {
    max-width: 850px;
    margin: 0 auto;

    text-align: left;
}

.pps-prismara-copy p {
    margin: 0 0 24px;

    font-family: Georgia, "Times New Roman", serif;
    font-size: 17px;

    line-height: 1.9;

    color: rgba(226, 220, 208, .88);
}

.pps-prismara-copy p:nth-child(4) {
    margin:
        40px 0 26px;

    text-align: center;

    font-family: "Cormorant Garamond", Georgia, serif;
    font-size: 28px;
    font-style: italic;

    color: #ddc27f;
}


/* ========================================
   PRISMARA THOUGHT
   ======================================== */

.pps-prismara-thought {
    max-width: 820px;

    margin:
        68px auto 0;

    padding:
        40px 55px 38px;

    position: relative;

    text-align: center;
}

.pps-prismara-thought::before,
.pps-prismara-thought::after {
    content: "";

    position: absolute;
    left: 50%;

    width: 58%;
    height: 1px;

    transform: translateX(-50%);

    background: linear-gradient(
        to right,
        transparent,
        rgba(207, 166, 76, .72),
        transparent
    );
}

.pps-prismara-thought::before {
    top: 0;
}

.pps-prismara-thought::after {
    bottom: 0;
}

.pps-prismara-thought p {
    margin: 0;

    font-family: "Cormorant Garamond", Georgia, serif;
    font-size: clamp(27px, 3vw, 39px);
    font-style: italic;

    line-height: 1.4;

    color: #e5ce94;
}

.pps-prismara-thought span {
    display: block;

    margin-top: 15px;

    font-family: Georgia, "Times New Roman", serif;
    font-size: 14px;

    letter-spacing: .12em;

    color: rgba(198, 205, 215, .75);
}


/* ========================================
   BEHIND THE WORLD
   ======================================== */

.pps-creators {
    padding-bottom: 120px;
}

.pps-creators-header {
    max-width: 850px;

    margin:
        0 auto 90px;

    text-align: center;
}

.pps-creators-header h2 {
    margin: 10px 0 0;

    font-family: "Cormorant Garamond", Georgia, serif;
    font-size: clamp(35px, 4vw, 54px);
    font-weight: 400;

    color: #e5d7b6;
}


/* ========================================
   CREATOR SECTIONS
   ======================================== */

.pps-creator {
    display: grid;

    grid-template-columns:
        minmax(340px, .9fr)
        minmax(440px, 1.1fr);

    gap: clamp(55px, 7vw, 110px);

    align-items: center;

    max-width: 1240px;

    margin:
        0 auto 150px;
}


/*
Omni reverses naturally:
portrait on the right,
story on the left.
*/

.pps-creator-omni
.pps-creator-image-wrap {
    grid-column: 2;
    grid-row: 1;
}

.pps-creator-omni
.pps-creator-story {
    grid-column: 1;
    grid-row: 1;
}


/* ========================================
   CREATOR PORTRAITS
   ======================================== */

.pps-creator-image-wrap {
    position: relative;

    padding: 10px;
}

.pps-creator-image-wrap::before {
    content: "";

    position: absolute;
    inset: -1px;

    border: 1px solid rgba(198, 156, 71, .34);

    pointer-events: none;
}

.pps-creator-image-wrap::after {
    content: "";

    position: absolute;

    inset:
        18px -18px -18px 18px;

    border:
        1px solid rgba(87, 121, 157, .22);

    z-index: -1;

    pointer-events: none;
}

.pps-creator-image {
    display: block;

    width: 100%;
    height: auto;

    box-shadow:
        0 18px 45px rgba(0,0,0,.55),
        0 0 30px rgba(50,75,105,.10);
}


/* ========================================
   CREATOR WORDS
   ======================================== */

.pps-creator-role {
    margin: 0 0 6px;

    font-family: Georgia, "Times New Roman", serif;
    font-size: 12px;

    letter-spacing: .22em;

    color: rgba(204, 169, 96, .82);
}

.pps-creator-story h3 {
    margin:
        0 0 28px;

    font-family: "Cormorant Garamond", Georgia, serif;
    font-size: clamp(45px, 5vw, 68px);
    font-weight: 500;

    line-height: 1;

    color: #e3c981;

    text-shadow:
        0 2px 2px rgba(0,0,0,.8);
}

.pps-creator-quote {
    margin:
        0 0 36px;

    padding:
        4px 0 4px 24px;

    border-left:
        2px solid rgba(206, 166, 78, .66);

    font-family: "Cormorant Garamond", Georgia, serif;
    font-size: clamp(24px, 2.4vw, 32px);
    font-style: italic;

    line-height: 1.42;

    color: #ded0ae;
}

.pps-creator-bio p {
    margin:
        0 0 24px;

    font-family: Georgia, "Times New Roman", serif;
    font-size: 18px;

    line-height: 1.8;

    color: rgba(222, 217, 207, .90);
}

/* ========================================
   STARLIGHT + OMNI
   THE COLLABORATION
   ======================================== */

.pps-together {
    max-width: 1160px;

    margin:
        40px auto 30px;

    text-align: center;
}

.pps-together-image-wrap {
    position: relative;

    padding: 10px;

    margin-bottom: 58px;
}

.pps-together-image-wrap::before {
    content: "";

    position: absolute;
    inset: -1px;

    border:
        1px solid rgba(205, 164, 78, .34);

    pointer-events: none;
}

.pps-together-image {
    display: block;

    width: 100%;
    height: auto;

    box-shadow:
        0 24px 60px rgba(0,0,0,.62),
        0 0 45px rgba(67,94,130,.11);
}

.pps-together-words {
    max-width: 900px;

    margin:
        0 auto;
}

.pps-together-kicker {
    margin:
        0 0 15px;

    font-family: Georgia, "Times New Roman", serif;
    font-size: 12px;

    letter-spacing: .30em;

    color: rgba(205, 168, 92, .78);
}

.pps-together-words h2 {
    margin:
        0 0 28px;

    font-family: "Cormorant Garamond", Georgia, serif;
    font-size: clamp(34px, 4.4vw, 58px);
    font-weight: 400;

    line-height: 1.2;

    color: #e6ce91;
}

.pps-together-words > p:last-child {
    max-width: 760px;

    margin:
        0 auto;

    font-family: "Cormorant Garamond", Georgia, serif;
    font-size: clamp(20px, 2vw, 26px);

    line-height: 1.6;

    color: rgba(219, 214, 203, .84);
}


/* ========================================
   RESPONSIVE
   ======================================== */

@media (max-width: 900px) {

    .pps-prismara-intro {
        margin-bottom: 110px;
    }

    .pps-creator {
        grid-template-columns: 1fr;

        gap: 45px;

        max-width: 680px;

        margin-bottom: 120px;
    }

    .pps-creator-omni
    .pps-creator-image-wrap,
    .pps-creator-omni
    .pps-creator-story {
        grid-column: 1;
    }

    .pps-creator-omni
    .pps-creator-image-wrap {
        grid-row: 1;
    }

    .pps-creator-omni
    .pps-creator-story {
        grid-row: 2;
    }

    .pps-creator-story {
        text-align: left;
    }

    .pps-prismara-thought {
        padding-left: 20px;
        padding-right: 20px;
    }

}


@media (max-width: 600px) {

    .pps-about-main {
        width: min(92vw, 1380px);
    }

    .pps-prismara-copy p {
        font-size: 16px;
        line-height: 1.8;
    }

    .pps-creators-header {
        margin-bottom: 60px;
    }

    .pps-creator {
        gap: 35px;
    }

    .pps-creator-image-wrap {
        padding: 6px;
    }

    .pps-creator-image-wrap::after {
        inset:
            12px -8px -12px 8px;
    }

    .pps-creator-quote {
        padding-left: 18px;
    }

    .pps-together-image-wrap {
        padding: 6px;
        margin-bottom: 42px;
    }

}

/* ========================================
   HOW PRISMARA IS MADE
   ======================================== */

.pps-making {
    position: relative;
    width: min(1240px, 92vw);
    margin: 0 auto;
    padding: 70px 0 155px;
}


/* ----------------------------------------
   SECTION ORNAMENT
   ---------------------------------------- */

.pps-making .pps-section-ornament {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 18px;

    width: min(430px, 78%);
    margin: 0 auto 26px;

    color: rgba(213, 170, 87, .82);
}

.pps-making .pps-section-ornament span {
    display: block;
    flex: 1;
    height: 1px;

    background:
        linear-gradient(
            90deg,
            transparent,
            rgba(213, 170, 87, .68),
            transparent
        );
}

.pps-making .pps-section-ornament b {
    font-size: 14px;
    font-weight: normal;

    text-shadow:
        0 0 12px rgba(213, 170, 87, .32);
}


/* ----------------------------------------
   HEADER
   ---------------------------------------- */

.pps-making-header {
    max-width: 950px;
    margin: 0 auto 55px;
    text-align: center;
}

.pps-making .pps-section-eyebrow {
    margin-bottom: 12px;

    font-family:
        "Cormorant Garamond",
        Georgia,
        serif;

    font-size: 13px;
    font-weight: 600;
    letter-spacing: .30em;

    color: rgba(203, 174, 118, .78);
}

.pps-making-header h2 {
    margin: 0;

    font-family:
        "Cormorant Garamond",
        Georgia,
        serif;

    font-size: clamp(46px, 6vw, 72px);
    font-weight: 500;
    line-height: 1.05;

    color: #d7b46a;

    text-shadow:
        0 2px 14px rgba(0, 0, 0, .48);
}

.pps-making-lead {
    max-width: 820px;
    margin: 25px auto 0;

    font-family:
        Georgia,
        "Times New Roman",
        serif;

    font-size: clamp(21px, 2.1vw, 27px);
    font-style: italic;
    line-height: 1.65;

    color: rgba(229, 224, 214, .91);
}


/* ----------------------------------------
   MAIN PRODUCTION COPY
   ---------------------------------------- */

.pps-making-copy {
    width: min(880px, 100%);
    margin-left: auto;
    margin-right: auto;

    font-family:
        Georgia,
        "Times New Roman",
        serif;

    font-size: 18px;
    line-height: 1.85;

    color: rgba(222, 217, 207, .90);
}

.pps-making-copy p {
    margin: 0 0 25px;
}

.pps-making-copy-before {
    margin-bottom: 62px;
}


/* ----------------------------------------
   THE TURN
   ---------------------------------------- */

.pps-making-turn {
    margin-top: 43px !important;

    text-align: center;

    font-size: clamp(23px, 2.5vw, 30px);
    font-style: italic;
    line-height: 1.55;

    color: #e1c17d;
}


/* ========================================
   PPS ARCHIVE PHOTOGRAPH
   ======================================== */

.pps-making-archive {
    width: min(1120px, 100%);
    margin: 0 auto 72px;
}

.pps-making-photo-frame {
    position: relative;

    padding: 8px;

    border: 1px solid rgba(205, 165, 84, .58);

    background:
        rgba(19, 16, 14, .72);

    box-shadow:
        0 22px 55px rgba(0, 0, 0, .46),
        0 0 28px rgba(89, 123, 143, .08);
}

.pps-making-photo-frame::before {
    content: "";

    position: absolute;
    inset: 14px;

    border: 1px solid rgba(108, 153, 177, .20);

    pointer-events: none;
}

.pps-making-photo-frame img {
    display: block;

    width: 100%;
    height: auto;

    border: 0;
}

.pps-making-archive figcaption {
    margin-top: 18px;

    text-align: center;

    font-family:
        Georgia,
        "Times New Roman",
        serif;

    font-size: 15px;
    font-style: italic;
    line-height: 1.6;

    color: rgba(208, 201, 188, .72);
}

.pps-making-archive figcaption span {
    display: block;

    margin-bottom: 4px;

    font-family:
        "Cormorant Garamond",
        Georgia,
        serif;

    font-size: 11px;
    font-style: normal;
    font-weight: 600;
    letter-spacing: .24em;

    color: rgba(211, 173, 97, .76);
}


/* ----------------------------------------
   AFTER THE PHOTOGRAPH
   ---------------------------------------- */

.pps-making-copy-after {
    margin-top: 0;
}


/* ----------------------------------------
   DISCOVERY
   ---------------------------------------- */

.pps-making-discovery {
    position: relative;

    max-width: 800px;
    margin: 62px auto 0;
    padding: 39px 35px 41px;

    text-align: center;
}

.pps-making-discovery::before,
.pps-making-discovery::after {
    content: "";

    position: absolute;
    left: 50%;

    width: min(520px, 80%);
    height: 1px;

    transform: translateX(-50%);

    background:
        linear-gradient(
            90deg,
            transparent,
            rgba(207, 169, 92, .58),
            transparent
        );
}

.pps-making-discovery::before {
    top: 0;
}

.pps-making-discovery::after {
    bottom: 0;
}

.pps-making-discovery p {
    margin: 0 0 14px;

    font-size: 18px;
    font-style: italic;
    line-height: 1.7;

    color: rgba(220, 214, 203, .84);
}

.pps-making-discovery strong {
    display: block;

    font-family:
        "Cormorant Garamond",
        Georgia,
        serif;

    font-size: clamp(31px, 3.6vw, 45px);
    font-weight: 500;
    line-height: 1.2;

    color: #d9b76e;

    text-shadow:
        0 2px 14px rgba(0, 0, 0, .42);
}


/* ========================================
   SEVEN HOURS / SEVEN SECONDS
   ======================================== */

.pps-seven-seconds {
    position: relative;

    width: min(900px, 94%);
    margin: 120px auto 0;
    padding: 40px 35px 44px;

    text-align: center;

    border: 0;
}

.pps-seven-seconds::before,
.pps-seven-seconds::after {
    content: "";

    position: absolute;
    left: 50%;

    width: min(650px, 86%);
    height: 1px;

    transform: translateX(-50%);

    background:
        linear-gradient(
            90deg,
            transparent,
            rgba(102, 147, 173, .10),
            rgba(214, 174, 94, .62),
            rgba(102, 147, 173, .10),
            transparent
        );
}

.pps-seven-seconds::before {
    top: 0;
}

.pps-seven-seconds::after {
    bottom: 0;
}

.pps-seven-mark {
    display: block;

    height: 35px;
    margin-bottom: 4px;

    font-family:
        Georgia,
        "Times New Roman",
        serif;

    font-size: 68px;
    line-height: .9;

    color: rgba(215, 180, 106, .42);
}

.pps-seven-seconds p {
    margin: 0;

    font-family:
        "Cormorant Garamond",
        Georgia,
        serif;

    font-size: clamp(33px, 4.2vw, 52px);
    font-weight: 500;
    font-style: italic;
    line-height: 1.3;

    color: #e0c27f;

    text-shadow:
        0 3px 18px rgba(0, 0, 0, .48);
}


/* ========================================
   RESPONSIVE
   ======================================== */

@media (max-width: 900px) {

    .pps-making {
        width: min(94vw, 760px);
        padding-top: 45px;
        padding-bottom: 120px;
    }

    .pps-making-header {
        margin-bottom: 45px;
    }

    .pps-making-copy {
        width: min(680px, 94%);
    }

    .pps-making-archive {
        width: min(760px, 96%);
        margin-bottom: 62px;
    }

    .pps-seven-seconds {
        margin-top: 95px;
    }
}


@media (max-width: 600px) {

    .pps-making {
        width: 94vw;
        padding-top: 35px;
        padding-bottom: 95px;
    }

    .pps-making .pps-section-ornament {
        margin-bottom: 20px;
    }

    .pps-making .pps-section-eyebrow {
        font-size: 11px;
        letter-spacing: .22em;
    }

    .pps-making-lead {
        width: 94%;
        font-size: 20px;
    }

    .pps-making-copy {
        width: 92%;
        font-size: 17px;
        line-height: 1.8;
    }

    .pps-making-turn {
        font-size: 22px;
    }

    .pps-making-archive {
        width: 96%;
    }

    .pps-making-photo-frame {
        padding: 5px;
    }

    .pps-making-photo-frame::before {
        inset: 10px;
    }

    .pps-making-archive figcaption {
        width: 90%;
        margin-left: auto;
        margin-right: auto;
        font-size: 14px;
    }

    .pps-making-discovery {
        width: 92%;
        padding-left: 15px;
        padding-right: 15px;
    }

    .pps-seven-seconds {
        width: 94%;
        margin-top: 80px;
        padding-left: 10px;
        padding-right: 10px;
    }

    .pps-seven-seconds p br {
        display: none;
    }
}

/* ========================================
   WHAT THE FILMS TAUGHT US
   ======================================== */

.pps-film-lessons {
    position: relative;

    width: min(1240px, 92vw);
    margin: 0 auto;
    padding: 45px 0 150px;
}


/* ----------------------------------------
   ORNAMENT
   ---------------------------------------- */

.pps-film-lessons .pps-section-ornament {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 18px;

    width: min(430px, 78%);
    margin: 0 auto 26px;

    color: rgba(213, 170, 87, .82);
}

.pps-film-lessons .pps-section-ornament span {
    display: block;
    flex: 1;
    height: 1px;

    background:
        linear-gradient(
            90deg,
            transparent,
            rgba(213, 170, 87, .68),
            transparent
        );
}

.pps-film-lessons .pps-section-ornament b {
    font-size: 14px;
    font-weight: normal;

    text-shadow:
        0 0 12px rgba(213, 170, 87, .32);
}


/* ----------------------------------------
   SECTION HEADER
   ---------------------------------------- */

.pps-lessons-header {
    max-width: 950px;
    margin: 0 auto 105px;

    text-align: center;
}

.pps-film-lessons .pps-section-eyebrow {
    margin-bottom: 12px;

    font-family:
        "Cormorant Garamond",
        Georgia,
        serif;

    font-size: 13px;
    font-weight: 600;
    letter-spacing: .30em;

    color: rgba(203, 174, 118, .78);
}

.pps-lessons-header h2 {
    margin: 0;

    font-family:
        "Cormorant Garamond",
        Georgia,
        serif;

    font-size: clamp(46px, 6vw, 72px);
    font-weight: 500;
    line-height: 1.05;

    color: #d7b46a;

    text-shadow:
        0 2px 14px rgba(0, 0, 0, .48);
}

.pps-lessons-lead {
    max-width: 790px;
    margin: 25px auto 0;

    font-family:
        Georgia,
        "Times New Roman",
        serif;

    font-size: clamp(21px, 2.1vw, 27px);
    font-style: italic;
    line-height: 1.65;

    color: rgba(229, 224, 214, .90);
}


/* ========================================
   DIRECTOR'S STATEMENT
   ======================================== */

.pps-film-statement {
    width: min(1000px, 96%);
    margin: 0 auto;
}


/* ----------------------------------------
   FILM HEADING
   ---------------------------------------- */

.pps-film-statement-header {
    display: flex;
    align-items: center;
    gap: 28px;

    max-width: 880px;
    margin: 0 auto 48px;
}

.pps-film-number {
    flex: 0 0 auto;

    font-family:
        "Cormorant Garamond",
        Georgia,
        serif;

    font-size: 58px;
    font-weight: 400;
    line-height: 1;

    color: rgba(215, 180, 106, .28);
}

.pps-film-label {
    margin-bottom: 3px;

    font-family:
        "Cormorant Garamond",
        Georgia,
        serif;

    font-size: 12px;
    font-weight: 600;
    letter-spacing: .25em;

    color: rgba(198, 167, 108, .72);
}

.pps-film-statement-header h3 {
    margin: 0;

    font-family:
        "Cormorant Garamond",
        Georgia,
        serif;

    font-size: clamp(42px, 5vw, 61px);
    font-weight: 500;
    line-height: 1;

    color: #d8b66f;

    text-shadow:
        0 2px 12px rgba(0, 0, 0, .45);
}


/* ----------------------------------------
   STATEMENT COPY
   ---------------------------------------- */

.pps-statement-copy {
    width: min(880px, 100%);
    margin: 0 auto;

    font-family:
        Georgia,
        "Times New Roman",
        serif;

    font-size: 18px;
    line-height: 1.88;

    color: rgba(222, 217, 207, .90);
}

.pps-statement-copy p {
    margin: 0 0 27px;
}


/* ========================================
   CELESTIA KEEPSAKE
   ======================================== */

.pps-film-keepsake {
    position: relative;

    width: min(850px, 94%);
    margin: 85px auto 0;
    padding: 48px 55px;

    text-align: center;

    border: 0;
}

.pps-film-keepsake::before,
.pps-film-keepsake::after {
    content: "";

    position: absolute;
    left: 50%;

    width: min(590px, 82%);
    height: 1px;

    transform: translateX(-50%);

    background:
        linear-gradient(
            90deg,
            transparent,
            rgba(104, 154, 181, .32),
            rgba(215, 179, 103, .54),
            rgba(104, 154, 181, .32),
            transparent
        );
}

.pps-film-keepsake::before {
    top: 0;
}

.pps-film-keepsake::after {
    bottom: 0;
}

.pps-film-keepsake p {
    margin: 0;

    font-family:
        "Cormorant Garamond",
        Georgia,
        serif;

    font-size: clamp(27px, 3.2vw, 38px);
    font-weight: 500;
    font-style: italic;
    line-height: 1.5;

    color: #d9bd80;

    text-shadow:
        0 2px 15px rgba(0, 0, 0, .42);
}

.pps-film-keepsake cite {
    display: block;

    margin-top: 25px;

    font-family:
        Georgia,
        "Times New Roman",
        serif;

    font-size: 15px;
    font-style: normal;
    letter-spacing: .04em;

    color: rgba(197, 206, 207, .68);
}


/* ----------------------------------------
   EVERPASTURE ACCENT
   ---------------------------------------- */

.pps-everpasture-statement {
    position: relative;
}

.pps-everpasture-statement::before {
    content: "";

    display: block;

    width: 72px;
    height: 1px;

    margin: 0 auto 55px;

    background:
        linear-gradient(
            90deg,
            transparent,
            rgba(212, 167, 88, .75),
            transparent
        );
}


/* ========================================
   RESPONSIVE
   ======================================== */

@media (max-width: 900px) {

    .pps-film-lessons {
        width: min(94vw, 760px);
        padding-bottom: 120px;
    }

    .pps-lessons-header {
        margin-bottom: 80px;
    }

    .pps-film-statement-header {
        width: min(680px, 94%);
    }

    .pps-statement-copy {
        width: min(680px, 94%);
    }
}


@media (max-width: 600px) {

    .pps-film-lessons {
        width: 94vw;
        padding-bottom: 95px;
    }

    .pps-film-lessons .pps-section-eyebrow {
        font-size: 11px;
        letter-spacing: .22em;
    }

    .pps-lessons-lead {
        width: 94%;
        font-size: 20px;
    }

    .pps-film-statement-header {
        gap: 18px;
        margin-bottom: 38px;
    }

    .pps-film-number {
        font-size: 45px;
    }

    .pps-film-label {
        font-size: 10px;
        letter-spacing: .20em;
    }

    .pps-statement-copy {
        width: 92%;

        font-size: 17px;
        line-height: 1.82;
    }

    .pps-film-keepsake {
        width: 92%;
        margin-top: 65px;

        padding-left: 15px;
        padding-right: 15px;
    }

    .pps-film-keepsake cite {
        font-size: 14px;
    }
}

/* ========================================
   TITAN DRIFT
   ======================================== */

.pps-titan-statement {
    position: relative;

    margin-top: 30px;
    padding-top: 72px;
}


/* subtle transition between films */

.pps-titan-statement::before {
    content: "";

    position: absolute;
    top: 0;
    left: 50%;

    width: min(720px, 82%);
    height: 1px;

    transform: translateX(-50%);

    background:
        linear-gradient(
            90deg,
            transparent,
            rgba(102, 149, 180, .18),
            rgba(213, 174, 95, .48),
            rgba(102, 149, 180, .18),
            transparent
        );
}


/* Titan gets a slightly cooler title glow */

.pps-titan-statement .pps-film-statement-header h3 {
    color: #d8bd83;

    text-shadow:
        0 2px 14px rgba(0, 0, 0, .48),
        0 0 24px rgba(94, 145, 180, .08);
}


/* ========================================
   TITAN DRIFT KEEPSAKE
   ======================================== */

.pps-titan-keepsake::before,
.pps-titan-keepsake::after {
    background:
        linear-gradient(
            90deg,
            transparent,
            rgba(103, 158, 193, .46),
            rgba(216, 182, 111, .52),
            rgba(103, 158, 193, .46),
            transparent
        );
}

.pps-titan-keepsake p {
    color: #d9c38e;

    text-shadow:
        0 2px 15px rgba(0, 0, 0, .45),
        0 0 22px rgba(89, 145, 181, .09);
}


/* ========================================
   TITAN RESPONSIVE
   ======================================== */

@media (max-width: 900px) {

    .pps-titan-statement {
        margin-top: 120px;
        padding-top: 62px;
    }
}


@media (max-width: 600px) {

    .pps-titan-statement {
        margin-top: 95px;
        padding-top: 52px;
    }
}

/* ========================================
   MAERA'S TIDE
   ======================================== */

.pps-maera-statement {
    position: relative;

    margin-top: 155px;
    padding-top: 72px;
}


/* ocean transition between films */

.pps-maera-statement::before {
    content: "";

    position: absolute;
    top: 0;
    left: 50%;

    width: min(720px, 82%);
    height: 1px;

    transform: translateX(-50%);

    background:
        linear-gradient(
            90deg,
            transparent,
            rgba(82, 145, 177, .22),
            rgba(116, 181, 201, .52),
            rgba(82, 145, 177, .22),
            transparent
        );
}


/* cooler ocean title */

.pps-maera-statement .pps-film-statement-header h3 {
    color: #c8c5a1;

    text-shadow:
        0 2px 14px rgba(0, 0, 0, .48),
        0 0 25px rgba(85, 155, 187, .11);
}


/* ========================================
   MAERA'S TIDE KEEPSAKE
   ======================================== */

.pps-maera-keepsake::before,
.pps-maera-keepsake::after {
    background:
        linear-gradient(
            90deg,
            transparent,
            rgba(76, 145, 180, .50),
            rgba(177, 192, 174, .44),
            rgba(76, 145, 180, .50),
            transparent
        );
}

.pps-maera-keepsake p {
    color: #c9c7a6;

    text-shadow:
        0 2px 15px rgba(0, 0, 0, .45),
        0 0 23px rgba(78, 151, 185, .11);
}


/* ========================================
   MAERA RESPONSIVE
   ======================================== */

@media (max-width: 900px) {

    .pps-maera-statement {
        margin-top: 120px;
        padding-top: 62px;
    }
}


@media (max-width: 600px) {

    .pps-maera-statement {
        margin-top: 95px;
        padding-top: 52px;
    }
}

/* ========================================
   ECHOES IN THE GLASS
   ======================================== */

.pps-echoes-statement {
    position: relative;

    margin-top: 155px;
    padding-top: 72px;
}


/* glass / reflection transition */

.pps-echoes-statement::before {
    content: "";

    position: absolute;
    top: 0;
    left: 50%;

    width: min(720px, 82%);
    height: 1px;

    transform: translateX(-50%);

    background:
        linear-gradient(
            90deg,
            transparent,
            rgba(119, 164, 187, .18),
            rgba(170, 198, 208, .48),
            rgba(213, 179, 105, .38),
            rgba(170, 198, 208, .48),
            rgba(119, 164, 187, .18),
            transparent
        );
}


/* reflected glass title */

.pps-echoes-statement .pps-film-statement-header h3 {
    color: #d1c9a8;

    text-shadow:
        0 2px 14px rgba(0, 0, 0, .48),
        0 0 25px rgba(113, 166, 191, .12);
}


/* ========================================
   ECHOES KEEPSAKE
   ======================================== */

.pps-echoes-keepsake::before,
.pps-echoes-keepsake::after {
    background:
        linear-gradient(
            90deg,
            transparent,
            rgba(104, 158, 184, .30),
            rgba(174, 202, 211, .48),
            rgba(215, 180, 107, .34),
            rgba(174, 202, 211, .48),
            rgba(104, 158, 184, .30),
            transparent
        );
}

.pps-echoes-keepsake p {
    color: #d1c9a9;

    text-shadow:
        0 2px 15px rgba(0, 0, 0, .45),
        0 0 24px rgba(104, 161, 188, .12);
}


/* ========================================
   FOUR FILMS — CLOSING THOUGHT
   ======================================== */

.pps-films-closing {
    position: relative;

    width: min(820px, 94%);
    margin: 115px auto 0;
    padding: 42px 30px 46px;

    text-align: center;
}

.pps-films-closing::before {
    content: "";

    position: absolute;
    top: 0;
    left: 50%;

    width: min(540px, 78%);
    height: 1px;

    transform: translateX(-50%);

    background:
        linear-gradient(
            90deg,
            transparent,
            rgba(113, 160, 184, .26),
            rgba(214, 177, 101, .54),
            rgba(113, 160, 184, .26),
            transparent
        );
}

.pps-films-closing p {
    margin: 0 0 12px;

    font-family:
        Georgia,
        "Times New Roman",
        serif;

    font-size: 18px;
    font-style: italic;
    line-height: 1.7;

    color: rgba(218, 213, 203, .78);
}

.pps-films-closing strong {
    display: block;

    font-family:
        "Cormorant Garamond",
        Georgia,
        serif;

    font-size: clamp(29px, 3.5vw, 43px);
    font-weight: 500;
    line-height: 1.3;

    color: #d9b970;

    text-shadow:
        0 2px 14px rgba(0, 0, 0, .44);
}


/* ========================================
   ECHOES RESPONSIVE
   ======================================== */

@media (max-width: 900px) {

    .pps-echoes-statement {
        margin-top: 120px;
        padding-top: 62px;
    }

    .pps-films-closing {
        margin-top: 90px;
    }
}


@media (max-width: 600px) {

    .pps-echoes-statement {
        margin-top: 95px;
        padding-top: 52px;
    }

    .pps-films-closing {
        width: 92%;
        margin-top: 75px;

        padding-left: 12px;
        padding-right: 12px;
    }

    .pps-films-closing p {
        font-size: 17px;
    }
}

/* =========================================================
   PPS ABOUT PAGE
   THE SQUIRREL TEAM / THE TEN
   ========================================================= */

.pps-squirrel-team {
    position: relative;
    width: min(1240px, 92vw);
    margin: 0 auto;
    padding: 55px 0 145px;
}

/* ---------------------------------------------------------
   SECTION ORNAMENT
   GOLD LINE + CENTER BLUE JEWEL
   --------------------------------------------------------- */

.pps-squirrel-team .pps-section-ornament {
    position: relative;
    width: min(520px, 70%);
    height: 20px;
    margin: 0 auto 34px;
}

.pps-squirrel-team .pps-section-ornament span {
    display: none;
}

.pps-squirrel-team .pps-section-ornament::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    height: 1px;
    transform: translateY(-50%);
    background:
        linear-gradient(
            90deg,
            transparent,
            rgba(196, 154, 84, 0.68) 18%,
            rgba(196, 154, 84, 0.68) 43%,
            transparent 43%,
            transparent 57%,
            rgba(196, 154, 84, 0.68) 57%,
            rgba(196, 154, 84, 0.68) 82%,
            transparent
        );
}

.pps-squirrel-team .pps-section-ornament::after {
    content: "◆";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -52%);
    padding: 0 10px;
    font-size: 10px;
    line-height: 1;
    color: rgba(128, 178, 211, 0.90);
    background: #171614;
    text-shadow:
        0 0 8px rgba(83, 153, 202, 0.34);
}

/* ---------------------------------------------------------
   SECTION HEADER
   --------------------------------------------------------- */

.pps-squirrel-header {
    width: min(900px, 100%);
    margin: 0 auto 58px;
    text-align: center;
}

.pps-squirrel-header .pps-eyebrow {
    margin: 0 0 12px;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 12px;
    line-height: 1.4;
    letter-spacing: 0.24em;
    text-transform: uppercase;
    color: rgba(196, 154, 84, 0.82);
}

.pps-squirrel-header h2 {
    margin: 0;
    font-family: "Cormorant Garamond", Georgia, serif;
    font-size: clamp(42px, 5vw, 68px);
    font-weight: 500;
    line-height: 1;
    letter-spacing: 0.01em;
    color: #d7bd88;
    text-shadow:
        0 2px 16px rgba(0, 0, 0, 0.48);
}

.pps-squirrel-lead {
    width: min(760px, 92%);
    margin: 24px auto 0;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 19px;
    line-height: 1.75;
    font-style: italic;
    color: rgba(220, 216, 208, 0.88);
}


/* ---------------------------------------------------------
   PPS ARCHIVE TEAM PORTRAIT
   --------------------------------------------------------- */

.pps-squirrel-archive {
    width: min(1080px, 100%);
    margin: 0 auto 62px;
    text-align: center;
}

.pps-squirrel-photo-frame {
    position: relative;
    padding: 8px;
    border: 1px solid rgba(194, 153, 84, 0.70);
    background:
        linear-gradient(
            145deg,
            rgba(197, 156, 88, 0.10),
            rgba(72, 117, 150, 0.08)
        );
    box-shadow:
        0 22px 50px rgba(0, 0, 0, 0.38),
        inset 0 0 0 1px rgba(105, 162, 199, 0.16);
}

.pps-squirrel-photo-frame::before {
    content: "";
    position: absolute;
    inset: 4px;
    border: 1px solid rgba(91, 151, 190, 0.28);
    pointer-events: none;
}

.pps-squirrel-photo-frame img {
    display: block;
    width: 100%;
    height: auto;
}

.pps-squirrel-archive figcaption {
    margin-top: 17px;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 15px;
    line-height: 1.6;
    letter-spacing: 0.04em;
    color: rgba(207, 201, 191, 0.76);
}

.pps-squirrel-archive figcaption span {
    display: block;
    margin-bottom: 3px;
    font-size: 10px;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: rgba(190, 149, 82, 0.78);
}


/* ---------------------------------------------------------
   TEAM INTRODUCTION
   --------------------------------------------------------- */

.pps-squirrel-intro {
    width: min(900px, 100%);
    margin: 0 auto 90px;
}

.pps-squirrel-intro p {
    margin: 0 0 24px;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 18px;
    line-height: 1.85;
    color: rgba(222, 217, 207, 0.90);
}

.pps-squirrel-intro p:last-child {
    margin-bottom: 0;
}


/* ---------------------------------------------------------
   THE TEN HEADING
   --------------------------------------------------------- */

.pps-ten-heading {
    position: relative;
    width: min(850px, 100%);
    margin: 0 auto 54px;
    padding: 38px 20px 34px;
    text-align: center;
}

.pps-ten-heading::before,
.pps-ten-heading::after {
    content: "";
    position: absolute;
    left: 50%;
    width: min(470px, 70%);
    height: 1px;
    transform: translateX(-50%);
    background:
        linear-gradient(
            90deg,
            transparent,
            rgba(193, 151, 81, 0.70),
            rgba(100, 159, 198, 0.42),
            rgba(193, 151, 81, 0.70),
            transparent
        );
}

.pps-ten-heading::before {
    top: 0;
}

.pps-ten-heading::after {
    bottom: 0;
}

.pps-ten-heading > span {
    display: block;
    margin-bottom: 7px;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 10px;
    letter-spacing: 0.26em;
    text-transform: uppercase;
    color: rgba(115, 171, 207, 0.80);
}

.pps-ten-heading h3 {
    margin: 0;
    font-family: "Cormorant Garamond", Georgia, serif;
    font-size: clamp(38px, 4vw, 55px);
    font-weight: 500;
    line-height: 1;
    color: #d6bb84;
}

.pps-ten-heading p {
    margin: 16px auto 0;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 16px;
    line-height: 1.7;
    font-style: italic;
    color: rgba(210, 205, 196, 0.76);
}


/* ---------------------------------------------------------
   THE TEN GRID
   --------------------------------------------------------- */

.pps-squirrel-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 26px;
    width: min(1120px, 100%);
    margin: 0 auto;
}


/* ---------------------------------------------------------
   INDIVIDUAL PPS PERSONNEL CARD
   --------------------------------------------------------- */

.pps-squirrel-card {
    position: relative;
    overflow: hidden;
    min-height: 345px;
    padding: 42px 38px 38px;
    border: 1px solid rgba(188, 147, 79, 0.36);
    background:
        linear-gradient(
            145deg,
            rgba(20, 24, 25, 0.58),
            rgba(14, 19, 22, 0.42)
        );
    box-shadow:
        0 18px 34px rgba(0, 0, 0, 0.22),
        inset 0 0 35px rgba(103, 154, 186, 0.025);
}

.pps-squirrel-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 115px;
    height: 1px;
    background:
        linear-gradient(
            90deg,
            rgba(210, 168, 95, 0.88),
            transparent
        );
}

.pps-squirrel-card::after {
    content: "";
    position: absolute;
    right: -55px;
    bottom: -55px;
    width: 150px;
    height: 150px;
    border-radius: 50%;
    background:
        radial-gradient(
            circle,
            rgba(77, 139, 180, 0.07),
            transparent 68%
        );
    pointer-events: none;
}


/* ---------------------------------------------------------
   FUTURE INDIVIDUAL SQUIRREL PORTRAITS

   When portrait images are added to each card, use:

   <div class="pps-squirrel-portrait">
     <img src="..." alt="...">
   </div>

   --------------------------------------------------------- */

.pps-squirrel-portrait {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 10;
    margin: -10px 0 28px;
    overflow: hidden;
    border: 1px solid rgba(190, 149, 82, 0.42);
    background: rgba(0, 0, 0, 0.22);
    box-shadow:
        inset 0 0 0 1px rgba(105, 162, 199, 0.12),
        0 12px 24px rgba(0, 0, 0, 0.24);
}

.pps-squirrel-portrait img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}


/* ---------------------------------------------------------
   CARD TYPOGRAPHY
   --------------------------------------------------------- */

.pps-squirrel-number {
    position: absolute;
    top: 19px;
    right: 23px;
    font-family: "Cormorant Garamond", Georgia, serif;
    font-size: 42px;
    line-height: 1;
    color: rgba(117, 167, 199, 0.15);
    pointer-events: none;
}

.pps-squirrel-card h3 {
    position: relative;
    z-index: 1;
    margin: 0 0 5px;
    padding-right: 54px;
    font-family: "Cormorant Garamond", Georgia, serif;
    font-size: 31px;
    font-weight: 500;
    line-height: 1.1;
    color: #d8bd87;
}

.pps-squirrel-role {
    position: relative;
    z-index: 1;
    margin: 0 0 22px !important;
    font-family: Georgia, "Times New Roman", serif !important;
    font-size: 11px !important;
    line-height: 1.4 !important;
    letter-spacing: 0.19em;
    text-transform: uppercase;
    color: rgba(111, 170, 207, 0.90) !important;
}

.pps-squirrel-card > p:not(.pps-squirrel-role) {
    position: relative;
    z-index: 1;
    margin: 0 0 17px;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 16px;
    line-height: 1.75;
    color: rgba(219, 214, 204, 0.86);
}

.pps-squirrel-card > p:last-child {
    margin-bottom: 0;
}

.pps-squirrel-card strong {
    font-weight: normal;
    color: rgba(220, 183, 112, 0.96);
}


/* ---------------------------------------------------------
   SEAMONKEY
   NOT SQUIRREL #11
   --------------------------------------------------------- */

.pps-seamonkey {
    position: relative;
    width: min(900px, 100%);
    margin: 105px auto 0;
    padding: 62px 64px 56px;
    text-align: center;
    border-top: 1px solid rgba(188, 148, 81, 0.48);
    border-bottom: 1px solid rgba(188, 148, 81, 0.30);
    background:
        linear-gradient(
            90deg,
            transparent,
            rgba(24, 31, 33, 0.34) 15%,
            rgba(24, 31, 33, 0.46) 50%,
            rgba(24, 31, 33, 0.34) 85%,
            transparent
        );
}

.pps-seamonkey::before {
    content: "◆";
    position: absolute;
    top: -9px;
    left: 50%;
    padding: 0 14px;
    transform: translateX(-50%);
    font-size: 11px;
    color: rgba(111, 170, 207, 0.88);
    background: #171614;
}

.pps-seamonkey .pps-eyebrow {
    margin: 0 0 11px;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 10px;
    line-height: 1.4;
    letter-spacing: 0.24em;
    text-transform: uppercase;
    color: rgba(191, 150, 82, 0.80);
}

.pps-seamonkey h3 {
    margin: 0;
    font-family: "Cormorant Garamond", Georgia, serif;
    font-size: clamp(34px, 4vw, 50px);
    font-weight: 500;
    line-height: 1.1;
    color: #d6bb85;
}

.pps-seamonkey-role {
    margin: 10px 0 28px !important;
    font-family: Georgia, "Times New Roman", serif !important;
    font-size: 11px !important;
    line-height: 1.4 !important;
    letter-spacing: 0.19em;
    text-transform: uppercase;
    color: rgba(108, 167, 204, 0.88) !important;
}

.pps-seamonkey > p:not(.pps-eyebrow):not(.pps-seamonkey-role):not(.pps-seamonkey-note) {
    width: min(760px, 100%);
    margin: 0 auto 20px;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 17px;
    line-height: 1.8;
    color: rgba(219, 214, 204, 0.86);
}

.pps-seamonkey code {
    padding: 2px 7px;
    border: 1px solid rgba(111, 170, 207, 0.20);
    background: rgba(0, 0, 0, 0.24);
    font-size: 0.92em;
    color: rgba(218, 184, 118, 0.94);
}

.pps-seamonkey-note {
    width: min(650px, 100%);
    margin: 31px auto 0;
    padding-top: 23px;
    border-top: 1px solid rgba(189, 149, 82, 0.22);
    font-family: Georgia, "Times New Roman", serif;
    font-size: 15px;
    line-height: 1.7;
    font-style: italic;
    color: rgba(204, 198, 187, 0.72);
}


/* ---------------------------------------------------------
   FUTURE SEAMONKEY PORTRAIT
   --------------------------------------------------------- */

.pps-seamonkey-portrait {
    width: min(560px, 100%);
    margin: 0 auto 34px;
    overflow: hidden;
    border: 1px solid rgba(188, 148, 81, 0.40);
    box-shadow:
        0 16px 32px rgba(0, 0, 0, 0.26),
        inset 0 0 0 1px rgba(104, 163, 200, 0.14);
}

.pps-seamonkey-portrait img {
    display: block;
    width: 100%;
    height: auto;
}


/* ---------------------------------------------------------
   RESPONSIVE
   --------------------------------------------------------- */

@media (max-width: 850px) {

    .pps-squirrel-team {
        width: min(92vw, 700px);
        padding: 72px 0 110px;
    }

    .pps-squirrel-grid {
        grid-template-columns: 1fr;
        gap: 22px;
    }

    .pps-squirrel-card {
        min-height: 0;
        padding: 38px 30px 34px;
    }

    .pps-seamonkey {
        margin-top: 78px;
        padding: 50px 32px 46px;
    }

}


@media (max-width: 520px) {

    .pps-squirrel-header {
        margin-bottom: 42px;
    }

    .pps-squirrel-lead {
        font-size: 17px;
    }

    .pps-squirrel-intro {
        margin-bottom: 68px;
    }

    .pps-squirrel-intro p {
        font-size: 17px;
        line-height: 1.75;
    }

    .pps-ten-heading {
        padding-left: 8px;
        padding-right: 8px;
    }

    .pps-squirrel-card {
        padding: 34px 23px 30px;
    }

    .pps-squirrel-card h3 {
        padding-right: 44px;
        font-size: 28px;
    }

    .pps-squirrel-number {
        right: 17px;
        font-size: 36px;
    }

    .pps-squirrel-card > p:not(.pps-squirrel-role) {
        font-size: 15.5px;
    }

    .pps-seamonkey {
        padding: 45px 22px 40px;
    }

}

/* ========================================
   PPS BOARD — HIDE PERSONNEL NUMBERS
   Portraits now carry the visual identity.
   ======================================== */

.pps-squirrel-number {
    display: none !important;
}

/* ========================================
   OPERATION FINANCE LITTLE NUT
   Hidden collectible over Finance's acorn
   ======================================== */

.pps-finance-portrait {
    position: relative;
}

.pps-finance-acorn-hotspot {
    position: absolute;

    left: 28%;
    top: 13%;

    width: 6%;
    height: 14%;

    margin: 0;
    padding: 0;
    border: 0;
    outline: 0;
    background: transparent;
    opacity: 0;

    cursor: pointer;
    z-index: 5;
}

/* ========================================
AI & THE CREATIVE PROCESS
======================================== */

.pps-ai-process {
    position: relative;
    width: 100%;
    margin: 110px 0;
    padding: 90px 24px;
    overflow: hidden;
}


/* ----------------------------------------
SUBTLE BACKGROUND LIGHT
---------------------------------------- */

.pps-ai-process::before {
    content: "";
    position: absolute;
    left: 50%;
    top: 50%;
    width: 900px;
    height: 520px;

    transform: translate(-50%, -50%);

    background:
        radial-gradient(
            ellipse at center,
            rgba(92, 132, 170, 0.10) 0%,
            rgba(92, 132, 170, 0.045) 38%,
            rgba(92, 132, 170, 0) 72%
        );

    pointer-events: none;
}


.pps-ai-process-inner {
    position: relative;
    z-index: 1;

    width: min(920px, 100%);
    margin: 0 auto;
}


/* ----------------------------------------
HEADING
---------------------------------------- */

.pps-ai-process-heading {
    text-align: center;
    margin-bottom: 54px;
}


.pps-ai-process-heading h2 {
    margin: 10px 0 14px;

    font-family:
        "Cormorant Garamond",
        Georgia,
        "Times New Roman",
        serif;

    font-size: clamp(38px, 5vw, 58px);
    font-weight: 500;
    line-height: 1.05;

    color: rgba(238, 234, 224, 0.96);
}


.pps-ai-process-lead {
    max-width: 650px;
    margin: 0 auto;

    font-family:
        Georgia,
        "Times New Roman",
        serif;

    font-size: 18px;
    line-height: 1.7;
    font-style: italic;

    color: rgba(199, 207, 216, 0.82);
}


/* ----------------------------------------
MAIN COPY
---------------------------------------- */

.pps-ai-process-copy {
    max-width: 820px;
    margin: 0 auto;
}


.pps-ai-process-copy p {
    margin: 0 0 25px;

    font-family:
        Georgia,
        "Times New Roman",
        serif;

    font-size: 18px;
    line-height: 1.8;

    color: rgba(222, 217, 207, 0.90);
}


/* ----------------------------------------
GENERATION IS ONLY THE BEGINNING
---------------------------------------- */

.pps-ai-process-emphasis {
    margin: 48px auto;
    padding: 22px 30px;

    text-align: center;

    font-family:
        "Cormorant Garamond",
        Georgia,
        "Times New Roman",
        serif;

    font-size: clamp(27px, 3vw, 34px);
    font-style: italic;
    line-height: 1.3;

    color: rgba(225, 194, 128, 0.96);

    border-top:
        1px solid rgba(199, 167, 102, 0.30);

    border-bottom:
        1px solid rgba(199, 167, 102, 0.30);
}


/* ----------------------------------------
HUMAN-DIRECTED STATEMENT
---------------------------------------- */

.pps-ai-process-statement {
    position: relative;

    max-width: 790px;
    margin: 55px auto 0;
    padding: 34px 42px;

    text-align: center;

    background:
        linear-gradient(
            135deg,
            rgba(76, 105, 132, 0.10),
            rgba(179, 146, 84, 0.055)
        );

    border:
        1px solid rgba(176, 169, 151, 0.22);

    box-shadow:
        inset 0 0 35px rgba(255, 255, 255, 0.018);
}


.pps-ai-process-statement p {
    margin: 0;

    font-family:
        Georgia,
        "Times New Roman",
        serif;

    font-size: 19px;
    line-height: 1.75;

    color: rgba(232, 228, 218, 0.94);
}


/* ----------------------------------------
FINAL INSCRIPTION
---------------------------------------- */

.pps-ai-process-inscription {
    margin: 58px auto 0;
    text-align: center;

    font-family:
        "Cormorant Garamond",
        Georgia,
        "Times New Roman",
        serif;

    line-height: 1.45;
}


.pps-ai-process-inscription span,
.pps-ai-process-inscription strong {
    display: block;
}


.pps-ai-process-inscription span {
    margin-bottom: 4px;

    font-size: clamp(23px, 2.8vw, 30px);
    font-weight: 400;

    color: rgba(202, 204, 204, 0.78);
}


.pps-ai-process-inscription strong {
    font-size: clamp(26px, 3.2vw, 35px);
    font-weight: 500;

    color: rgba(224, 192, 124, 0.96);
}


/* ----------------------------------------
MOBILE
---------------------------------------- */

@media (max-width: 700px) {

    .pps-ai-process {
        margin: 75px 0;
        padding: 65px 20px;
    }

    .pps-ai-process-heading {
        margin-bottom: 40px;
    }

    .pps-ai-process-copy p {
        font-size: 17px;
        line-height: 1.75;
    }

    .pps-ai-process-emphasis {
        margin: 38px auto;
        padding: 18px 12px;
    }

    .pps-ai-process-statement {
        margin-top: 42px;
        padding: 28px 22px;
    }

    .pps-ai-process-statement p {
        font-size: 18px;
    }

    .pps-ai-process-inscription {
        margin-top: 46px;
    }

}

/* ========================================
AI PROCESS — FINAL SPACING + EYEBROW FIX
======================================== */

/* Bring the AI section closer to SeaMonkey */
.pps-ai-process {
    margin: 55px 0 90px;
    padding: 60px 24px 90px;
}


/* Keep BEHIND THE PROCESS visible
   against the dark woodgrain */
.pps-ai-process .pps-section-eyebrow {
    color: rgba(205, 176, 112, 0.92);
    text-shadow:
        0 1px 2px rgba(0, 0, 0, 0.65);
}


/* Mobile */
@media (max-width: 700px) {

    .pps-ai-process {
        margin: 40px 0 70px;
        padding: 50px 20px 65px;
    }

}

/* ========================================
PPS ARCHIVES
======================================== */

.pps-archives {
    position: relative;
    width: min(1240px, 92vw);
    margin: 155px auto 0;
    padding: 72px 0 40px;
}


/* ----------------------------------------
TOP DIVIDER
---------------------------------------- */

.pps-archives::before {
    content: "";
    position: absolute;

    top: 0;
    left: 50%;

    width: min(720px, 82%);
    height: 1px;

    transform: translateX(-50%);

    background:
        linear-gradient(
            90deg,
            transparent,
            rgba(102,149,180,.20),
            rgba(213,174,95,.52),
            rgba(102,149,180,.20),
            transparent
        );
}


/* ----------------------------------------
ARCHIVE INTRO
---------------------------------------- */

.pps-archives-heading {
    max-width: 900px;
    margin: 0 auto 75px;
    text-align: center;
}

.pps-archives-heading h2 {
    margin: 10px 0 16px;

    font-family:
        "Cormorant Garamond",
        Georgia,
        "Times New Roman",
        serif;

    font-size: clamp(40px, 5vw, 58px);
    font-weight: 500;
    line-height: 1.08;

    color: rgba(238,234,224,.96);
}

.pps-archives-lead {
    max-width: 720px;
    margin: 0 auto;

    font-family:
        Georgia,
        "Times New Roman",
        serif;

    font-size: 18px;
    line-height: 1.8;
    font-style: italic;

    color: rgba(199,207,216,.82);
}


/* ----------------------------------------
ARCHIVE ENTRY
---------------------------------------- */

.pps-archive-entry {
    width: min(1120px, 100%);
    margin: 0 auto;
}


/* ----------------------------------------
LARGE ARCHIVE PHOTOGRAPH
---------------------------------------- */

.pps-archive-image {
    width: 100%;
    margin: 0 auto;

    text-align: center;
}

.pps-archive-image img {
    display: block;

    width: 100%;
    height: auto;

    margin: 0 auto;

    border: 1px solid rgba(205,176,112,.20);

    box-shadow:
        0 18px 48px rgba(0,0,0,.30),
        0 0 32px rgba(96,135,166,.055);
}


/* ----------------------------------------
ARCHIVE STORY
---------------------------------------- */

.pps-archive-copy {
    width: min(820px, 94%);
    margin: 52px auto 0;
    text-align: center;
}

.pps-archive-label {
    margin-bottom: 12px;

    font-family:
        Georgia,
        "Times New Roman",
        serif;

    font-size: 12px;
    font-weight: bold;

    letter-spacing: .22em;

    color: rgba(205,176,112,.78);
}

.pps-archive-copy h3 {
    margin: 0 0 25px;

    font-family:
        "Cormorant Garamond",
        Georgia,
        "Times New Roman",
        serif;

    font-size: clamp(32px, 4vw, 44px);
    font-weight: 500;
    line-height: 1.15;

    color: rgba(238,234,224,.96);
}

.pps-archive-copy p {
    margin: 0;

    font-family:
        Georgia,
        "Times New Roman",
        serif;

    font-size: 18px;
    line-height: 1.88;

    color: rgba(222,217,207,.90);
}


/* ----------------------------------------
ARCHIVE KEEPSAKE
---------------------------------------- */

.pps-archive-keepsake {
    position: relative;

    width: min(800px, 92%);

    margin: 82px auto 0;
    padding: 44px 30px;

    text-align: center;

    border: 0;
}

.pps-archive-keepsake::before,
.pps-archive-keepsake::after {
    content: "";

    position: absolute;
    left: 50%;

    width: min(570px, 82%);
    height: 1px;

    transform: translateX(-50%);

    background:
        linear-gradient(
            90deg,
            transparent,
            rgba(104,154,181,.30),
            rgba(215,179,103,.54),
            rgba(104,154,181,.30),
            transparent
        );
}

.pps-archive-keepsake::before {
    top: 0;
}

.pps-archive-keepsake::after {
    bottom: 0;
}

.pps-archive-keepsake p {
    margin: 0;

    font-family:
        "Cormorant Garamond",
        Georgia,
        "Times New Roman",
        serif;

    font-size: clamp(29px, 3.4vw, 40px);
    font-weight: 500;
    font-style: italic;
    line-height: 1.45;

    color: #d9bd80;

    text-shadow:
        0 2px 15px rgba(0,0,0,.42);
}


/* ========================================
PPS ARCHIVES — MOBILE
======================================== */

@media (max-width: 700px) {

    .pps-archives {
        margin-top: 105px;
        padding-top: 58px;
    }

    .pps-archives-heading {
        margin-bottom: 55px;
    }

    .pps-archive-copy {
        margin-top: 38px;
    }

    .pps-archive-copy p {
        font-size: 17px;
        line-height: 1.78;
    }

    .pps-archive-keepsake {
        margin-top: 62px;
        padding: 36px 16px;
    }

}

/* ========================================
PPS ARCHIVES — EYEBROW COLOR
======================================== */

.pps-archives .pps-section-eyebrow {
    color: rgba(205, 176, 112, 0.92);
    text-shadow: 0 1px 2px rgba(0,0,0,.65);
}

/* ========================================
PPS ARCHIVES — FOLLOWING ENTRIES
======================================== */

.pps-archive-entry-next {
    margin-top: 145px;
    padding-top: 72px;

    border-top: 1px solid rgba(205,176,112,.18);
}

.pps-archive-copy p + p {
    margin-top: 25px;
}

@media (max-width: 700px) {

    .pps-archive-entry-next {
        margin-top: 105px;
        padding-top: 58px;
    }

}

/* ========================================
PPS ALPHA INSPECTION DEPARTMENT
TEMPORARY — REMOVE AFTER TESTING
======================================== */

.pps-alpha-inspection {
    width: min(1400px, 94vw);
    margin: 140px auto;
    padding: 70px 30px;

    /* NO fake background.
       Let the actual About woodgrain show through. */
    background: transparent;
}

.pps-alpha-heading {
    max-width: 850px;
    margin: 0 auto 60px;
    text-align: center;
}

.pps-alpha-eyebrow {
    margin-bottom: 10px;

    font-family: Georgia, "Times New Roman", serif;
    font-size: 12px;
    font-weight: bold;
    letter-spacing: .20em;

    color: rgba(205,176,112,.92);
}

.pps-alpha-heading h2 {
    margin: 0 0 18px;

    font-family: "Cormorant Garamond",
                 Georgia,
                 "Times New Roman",
                 serif;

    font-size: clamp(38px,5vw,56px);
    font-weight: 500;

    color: rgba(238,234,224,.96);
}

.pps-alpha-heading p {
    margin: 0;

    font-family: Georgia,
                 "Times New Roman",
                 serif;

    font-size: 17px;
    line-height: 1.7;

    color: rgba(220,216,207,.82);
}


/* TEST GRID */

.pps-alpha-grid {
    display: grid;

    grid-template-columns:
        repeat(2, minmax(0,1fr));

    gap: 70px 55px;
}


/* INDIVIDUAL TEST */

.pps-alpha-card {
    min-width: 0;
    text-align: center;

    /* IMPORTANT:
       still transparent.
       No background hiding alpha problems. */

    background: transparent;
}


/* WEBM */

.pps-alpha-card video {
    display: block;

    width: 100%;
    max-width: 560px;
    height: 420px;

    margin: 0 auto 18px;

    object-fit: contain;

    background: transparent;
}


/* FILE NAME */

.pps-alpha-name {
    font-family:
        "Courier New",
        Courier,
        monospace;

    font-size: 14px;
    color: #d9bd80;
}


/* MOBILE */

@media (max-width: 800px) {

    .pps-alpha-grid {
        grid-template-columns: 1fr;
        gap: 60px;
    }

    .pps-alpha-card video {
        height: 360px;
    }

}

/* ========================================
PPS ALPHA INSPECTION DEPARTMENT
REAL-WORLD SIZE TEST
TEMPORARY — REMOVE AFTER TESTING
======================================== */

.pps-alpha-inspection {
    width: min(1200px, 94vw);
    margin: 120px auto;
    padding: 60px 20px;
    background: transparent;
}

.pps-alpha-heading {
    max-width: 850px;
    margin: 0 auto 65px;
    text-align: center;
}

.pps-alpha-eyebrow {
    margin-bottom: 10px;

    font-family: Georgia, "Times New Roman", serif;
    font-size: 12px;
    font-weight: bold;
    letter-spacing: .20em;

    color: rgba(205,176,112,.92);
}

.pps-alpha-heading h2 {
    margin: 0 0 18px;

    font-family: "Cormorant Garamond",
                 Georgia,
                 "Times New Roman",
                 serif;

    font-size: clamp(38px,5vw,56px);
    font-weight: 500;

    color: rgba(238,234,224,.96);
}

.pps-alpha-heading p {
    margin: 0;

    font-family: Georgia,
                 "Times New Roman",
                 serif;

    font-size: 17px;
    line-height: 1.7;

    color: rgba(220,216,207,.82);
}

/* ========================================
PPS ALPHA FINAL AUDITIONS
TEMPORARY
======================================== */

.pps-alpha-final {
    width: min(1250px, 96vw);
    margin: 130px auto;
    padding: 60px 0;
}

.pps-alpha-final-heading {
    margin: 0 auto 80px;
    text-align: center;
}

.pps-alpha-final-eyebrow {
    margin-bottom: 12px;

    font-family: Georgia, "Times New Roman", serif;
    font-size: 12px;
    font-weight: bold;
    letter-spacing: .20em;

    color: rgba(205,176,112,.92);
}

.pps-alpha-final-heading h2 {
    margin: 0 0 14px;

    font-family: "Cormorant Garamond",
                 Georgia,
                 "Times New Roman",
                 serif;

    font-size: 54px;
    font-weight: 500;

    color: rgba(238,234,224,.96);
}

.pps-alpha-final-heading p {
    margin: 0;

    font-family: Georgia, "Times New Roman", serif;
    font-size: 18px;
    font-style: italic;

    color: rgba(205,176,112,.80);
}


/* ========================================
EACH AUDITION GETS ITS OWN FULL-WIDTH STAGE
======================================== */

.pps-alpha-final-stage {
    width: 100%;
    min-height: 700px;

    margin: 0 auto 90px;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    overflow: visible;

    text-align: center;

    background: transparent;
}


/* ========================================
BALLOON PRO

INTENTIONALLY HUGE FOR THIS TEST.
WE WILL REDUCE AFTER WE SEE HIM.
======================================== */

.pps-test-balloon {
    display: block;

    width: 900px;
    height: 650px;

    max-width: none;

    object-fit: contain;

    background: transparent;
}


/* ========================================
FALLING PRO
======================================== */

.pps-test-falling {
    display: block;

    width: 800px;
    height: 650px;

    max-width: none;

    object-fit: contain;

    background: transparent;
}


/* ========================================
TRAMPOLENE TEAM
======================================== */

.pps-test-trampolene {
    display: block;

    width: 1050px;
    height: 650px;

    max-width: none;

    object-fit: contain;

    background: transparent;
}


/* ========================================
FILENAME
======================================== */

.pps-alpha-final-name {
    margin-top: 20px;

    font-family: "Courier New", Courier, monospace;
    font-size: 15px;

    color: #d9bd80;
}

/* ========================================
BALLOON PRO INTERACTIVE
======================================== */

.balloon-pro-stage {
    position: fixed;
    inset: 0;

    width: 100vw;
    height: 100vh;

    z-index: 120;

    pointer-events: none;

    overflow: hidden;

    visibility: hidden;
}


/* ========================================
BALLOON PRO
======================================== */

.balloon-pro {
    position: absolute;

    width: 720px;
    height: 620px;

    max-width: none;

    object-fit: contain;

    pointer-events: none;

    opacity: 0;

    will-change: transform, opacity;
}


/* ========================================
BALLOON CLICK TARGET

This is moved by JavaScript along with Pro.
Only the balloon is clickable.
======================================== */

.balloon-pro-pop-target {
    position: absolute;

    width: 145px;
    height: 175px;

    padding: 0;
    margin: 0;

    border: 0;
    outline: 0;

    background: transparent;

    cursor: pointer;

    pointer-events: none;

    opacity: 0;

    z-index: 126;
}


/* ========================================
BALLOON POP SPLAT
======================================== */

.balloon-pro-splat {
    position: absolute;

    width: 175px;
    height: auto;

    opacity: 0;

    transform: translate(-50%, -50%) scale(.25);

    pointer-events: none;

    z-index: 127;
}


.balloon-pro-splat.is-popping {
    animation: balloonProSplat .48s ease-out forwards;
}


@keyframes balloonProSplat {

    0% {
        opacity: 0;
        transform:
            translate(-50%, -50%)
            scale(.20);
    }

    22% {
        opacity: 1;
        transform:
            translate(-50%, -50%)
            scale(1.15);
    }

    68% {
        opacity: 1;
        transform:
            translate(-50%, -50%)
            scale(.95);
    }

    100% {
        opacity: 0;
        transform:
            translate(-50%, -50%)
            scale(1.08);
    }

}


/* ========================================
FALLING PRO
======================================== */

.balloon-pro-falling {
    position: absolute;

    width: 320px;
    height: 300px;

    max-width: none;

    object-fit: contain;

    opacity: 0;

    pointer-events: none;

    z-index: 123;

    will-change: transform, opacity;
}

/* ========================================
RESCUE TEAM
======================================== */

.balloon-pro-rescue {
    position: absolute;

    width: 900px;
    height: 580px;

    max-width: none;

    object-fit: contain;

    opacity: 0;

    pointer-events: none;

    z-index: 122;

    will-change: transform, opacity;
}


/* ========================================
REDUCED MOTION
======================================== */

@media (prefers-reduced-motion: reduce) {

    .balloon-pro-stage {
        display: none !important;
    }

}


/* ========================================
MOBILE
======================================== */

@media (max-width: 700px) {

    .balloon-pro {
        width: 540px;
        height: 500px;
    }

    .balloon-pro-falling {
        width: 460px;
        height: 440px;
    }

    .balloon-pro-rescue {
        width: 680px;
        height: 470px;
    }

}

/* ========================================
   FIRST LIGHT — YEAR ONE
   ======================================== */

.pps-first-light {
    position: relative;
    width: 100%;
    padding: 110px 24px 125px;
    overflow: hidden;
}

.pps-first-light-inner {
    position: relative;
    width: min(100%, 1050px);
    margin: 0 auto;
    text-align: center;
}


/* ----------------------------------------
   DATE + TITLE
   ---------------------------------------- */

.pps-first-light-eyebrow {
    margin: 0 0 12px;
    font-size: 15px;
    line-height: 1.4;
    letter-spacing: 0.24em;
    text-transform: uppercase;
    opacity: 0.72;
}

.pps-first-light-title {
    margin: 0;
    font-family: "Cormorant Garamond", Georgia, serif;
    font-size: clamp(42px, 6vw, 72px);
    font-weight: 500;
    line-height: 1;
    letter-spacing: 0.02em;
}

.pps-first-light-intro {
    width: min(100%, 680px);
    margin: 28px auto 52px;
    font-size: 19px;
    line-height: 1.8;
    opacity: 0.88;
}


/* ----------------------------------------
   FIRST LIGHT PHOTOGRAPH
   ---------------------------------------- */

.pps-first-light-photo {
    position: relative;
    width: min(100%, 900px);
    margin: 0 auto 58px;
}

.pps-first-light-photo::before {
    content: "";
    position: absolute;
    inset: -18px;
    border: 1px solid rgba(255,255,255,0.14);
    border-radius: 4px;
    pointer-events: none;
}

.pps-first-light-photo img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 3px;
    box-shadow:
        0 24px 65px rgba(0,0,0,0.38),
        0 0 42px rgba(255,255,255,0.06);
}

.pps-first-light-photo figcaption {
    width: min(100%, 760px);
    margin: 25px auto 0;
    font-size: 15px;
    line-height: 1.7;
    font-style: italic;
    letter-spacing: 0.025em;
    opacity: 0.68;
}


/* ----------------------------------------
   REFLECTION
   ---------------------------------------- */

.pps-first-light-reflection {
    width: min(100%, 760px);
    margin: 0 auto;
}

.pps-first-light-reflection p {
    margin: 0 0 24px;
    font-size: 18px;
    line-height: 1.9;
}

.pps-first-light-reflection p:last-child {
    margin-top: 38px;
    margin-bottom: 0;
    font-family: "Cormorant Garamond", Georgia, serif;
    font-size: 27px;
    line-height: 1.45;
    font-style: italic;
}


/* ----------------------------------------
   FIRST LIGHT KEEPSAKE
   ---------------------------------------- */

.pps-first-light-keepsake {
    position: relative;
    width: min(100%, 720px);
    margin: 72px auto 0;
    padding: 38px 42px;
    border-top: 1px solid rgba(255,255,255,0.16);
    border-bottom: 1px solid rgba(255,255,255,0.16);
}

.pps-first-light-keepsake p {
    margin: 0;
    font-family: "Cormorant Garamond", Georgia, serif;
    font-size: clamp(25px, 3.4vw, 34px);
    line-height: 1.45;
    font-style: italic;
}

.pps-first-light-keepsake cite {
    display: block;
    margin-top: 18px;
    font-size: 14px;
    font-style: normal;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    opacity: 0.58;
}


/* ----------------------------------------
   FINAL LIGHT
   ---------------------------------------- */

.pps-first-light-ending {
    margin-top: 72px;
}

.pps-first-light-star {
    display: block;
    margin-bottom: 17px;
    font-size: 23px;
    line-height: 1;
    opacity: 0.72;
    animation: ppsFirstLightGlow 4.5s ease-in-out infinite;
}

.pps-first-light-ending p {
    margin: 0;
    font-family: "Cormorant Garamond", Georgia, serif;
    font-size: 22px;
    line-height: 1.65;
    letter-spacing: 0.04em;
    opacity: 0.82;
}

@keyframes ppsFirstLightGlow {
    0%,
    100% {
        opacity: 0.42;
        transform: scale(0.92);
        text-shadow: 0 0 0 rgba(255,255,255,0);
    }

    50% {
        opacity: 0.95;
        transform: scale(1.08);
        text-shadow: 0 0 18px rgba(255,255,255,0.32);
    }
}


/* ----------------------------------------
   FIRST LIGHT — MOBILE
   ---------------------------------------- */

@media (max-width: 700px) {

    .pps-first-light {
        padding: 80px 18px 95px;
    }

    .pps-first-light-intro {
        margin-bottom: 42px;
        font-size: 17px;
    }

    .pps-first-light-photo {
        margin-bottom: 48px;
    }

    .pps-first-light-photo::before {
        inset: -9px;
    }

    .pps-first-light-reflection p {
        font-size: 17px;
        line-height: 1.8;
    }

    .pps-first-light-reflection p:last-child {
        font-size: 24px;
    }

    .pps-first-light-keepsake {
        margin-top: 58px;
        padding: 30px 16px;
    }

    .pps-first-light-ending {
        margin-top: 58px;
    }
}

/* ========================================
   FIRST LIGHT — TEXT COLOR
   ======================================== */

.pps-first-light {
    color: #f3eee7;
}

.pps-first-light-eyebrow {
    color: #d7b77a;
}

.pps-first-light-title {
    color: #f3eee7;
}

.pps-first-light-intro,
.pps-first-light-reflection,
.pps-first-light-photo figcaption,
.pps-first-light-keepsake,
.pps-first-light-ending {
    color: #f3eee7;
}

/* ========================================
   PRISMARA INTRO — DIAMOND TWINKLE
   ======================================== */

.pps-prismara-intro .pps-section-ornament i {
    display: inline-block;
    transform-origin: center;
    animation: prismaraDiamondTwinkle 4s ease-in-out infinite;
}

@keyframes prismaraDiamondTwinkle {

    0%,
    72%,
    100% {
        transform: scale(1);
        filter: brightness(1);
        text-shadow: 0 0 0 rgba(226, 184, 92, 0);
    }

    78% {
        transform: scale(1.18);
        filter: brightness(1.35);
        text-shadow:
            0 0 5px rgba(226, 184, 92, 0.65),
            0 0 10px rgba(226, 184, 92, 0.35);
    }

    82% {
        transform: scale(0.96);
        filter: brightness(1.05);
        text-shadow: 0 0 3px rgba(226, 184, 92, 0.25);
    }

    87% {
        transform: scale(1.12);
        filter: brightness(1.25);
        text-shadow:
            0 0 4px rgba(226, 184, 92, 0.55),
            0 0 8px rgba(226, 184, 92, 0.30);
    }

    92% {
        transform: scale(1);
        filter: brightness(1);
        text-shadow: 0 0 0 rgba(226, 184, 92, 0);
    }
}

/* ========================================
   AI GENERATOR NOTES — TEXT VISIBILITY
   ======================================== */

.pps-generator-notes {
    color: #d8d3ca;
}

.pps-generator-intro {
    color: #f0ece4;
}

.pps-generator-column h3 {
    color: #e2b85c;
}

.pps-generator-column li {
    color: #d8d3ca;
}

.pps-generator-reality {
    color: #d8d3ca;
}

/* ========================================
   AI GENERATOR — STRENGTHS / WEAKNESSES
   SIDE-BY-SIDE LAYOUT
   ======================================== */

.pps-generator-columns {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 70px;
    margin: 32px 0 36px;
    align-items: start;
}

.pps-generator-column {
    min-width: 0;
}

.pps-generator-column h3 {
    margin: 0 0 18px;
    color: #e2b85c;
}

.pps-generator-column ul {
    margin: 0;
    padding-left: 28px;
}

.pps-generator-column li {
    color: #d8d3ca;
    margin-bottom: 5px;
    line-height: 1.35;
}

/* Stack gracefully on smaller screens */
@media (max-width: 760px) {
    .pps-generator-columns {
        grid-template-columns: 1fr;
        gap: 28px;
    }
}

/* ========================================
   TITAN DRIFT — PRISMARA LORE
   TEXT VISIBILITY
   ======================================== */

.pps-titan-lore {
    color: #d8d3ca;
}

.pps-titan-lore .pps-film-lore-label {
    color: #e2b85c;
}

.pps-titan-lore h4 {
    color: #e2b85c;
}

.pps-titan-lore p {
    color: #d8d3ca;
}

.pps-titan-lore blockquote {
    color: #d8d3ca;
}

/* ========================================
   DIRECTOR'S STATEMENTS — FILM STILLS
   ======================================== */

.pps-director-float {
    float: right;
    width: 38%;
    max-width: 480px;
    min-width: 300px;

    /* This drops the photo a little into the first paragraph */
    margin: 28px 0 28px 42px;
}

.pps-director-float img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
    object-fit: cover;

    border: 1px solid rgba(226, 184, 92, 0.38);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.38);
}

.pps-director-float figcaption {
    margin-top: 9px;
    text-align: right;
    font-size: 0.82rem;
    letter-spacing: 0.06em;
    color: #d8d3ca;
}

.pps-director-float figcaption span {
    margin-right: 8px;
    color: #e2b85c;
    font-size: 0.72rem;
    letter-spacing: 0.12em;
}

/* Make sure nothing after the statement wraps around its photo */
.pps-statement-copy::after {
    content: "";
    display: block;
    clear: both;
}

@media (max-width: 760px) {
    .pps-director-float {
        float: none;
        width: 100%;
        max-width: 100%;
        min-width: 0;
        margin: 24px 0 30px;
    }
}

/* ========================================
   DREAMFALL BLOOM — HIDDEN STATEMENT CLUE
   ======================================== */

.pps-dreamfall-secret,
.pps-dreamfall-secret p {
    color: #d8d3ca;
}

.pps-dreamfall-secret .pps-dreamfall-secret-title {
    color: #e2b85c;
    font-weight: 600;
}

.pps-dreamfall-secret .pps-dreamfall-secret-line {
    color: #d8d3ca;
}

/* ========================================
   EXECUTIVE SQUIRREL — QUOTE ATTRIBUTION
   ======================================== */

.pps-executive-keepsake cite {
    display: block;
    margin-top: 12px;

    text-align: center;

    font-size: 18px;
    font-style: italic;
    font-weight: 400;

    color: #b9b3aa;
}

/* ========================================
   AI PROCESS — SECTION ORNAMENT DIAMOND
   ======================================== */

.pps-ai-ornament i {
    color: #6fa6c1;
    font-size: 10px;
    font-style: normal;
    line-height: 1;
    margin: 0 18px;
}

/* ========================================
   DIRECTOR'S STATEMENT — CINEMATIC ENTRANCE
   Replays whenever the statement returns
   to the viewport.
   ======================================== */

.pps-film-statement .pps-film-statement-header {
    opacity: 0;
    transform: translateX(180px);
    transition:
        opacity 1.05s ease,
        transform 1.05s cubic-bezier(0.22, 1, 0.36, 1);
    will-change: opacity, transform;
}

.pps-film-statement .pps-film-statement-header.is-visible {
    opacity: 1;
    transform: translateX(0);
}

@media (prefers-reduced-motion: reduce) {
    .pps-film-statement .pps-film-statement-header {
        opacity: 1;
        transform: none;
        transition: none;
    }
}

/* ========================================
   PPS PORTRAIT LIGHTBOX
   The Ten + SeaMonkey
   ======================================== */

/* Portraits that can be enlarged */
.pps-squirrel-portrait.pps-lightbox-ready,
.pps-seamonkey-portrait.pps-lightbox-ready {
    cursor: zoom-in;
}

.pps-squirrel-portrait.pps-lightbox-ready > img,
.pps-seamonkey-portrait.pps-lightbox-ready > img {
    transition:
        transform 0.25s ease,
        filter 0.25s ease;
}

.pps-squirrel-portrait.pps-lightbox-ready:hover > img,
.pps-seamonkey-portrait.pps-lightbox-ready:hover > img {
    transform: scale(1.025);
    filter: brightness(1.06);
}

/* ========================================
   LIGHTBOX OVERLAY
   ======================================== */

.pps-portrait-lightbox {
    position: fixed;
    inset: 0;
    z-index: 99999;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 40px;

    background: rgba(0, 0, 0, 0.88);

    opacity: 0;
    visibility: hidden;

    transition:
        opacity 0.3s ease,
        visibility 0.3s ease;
}

.pps-portrait-lightbox.is-open {
    opacity: 1;
    visibility: visible;
}


/* Enlarged portrait */

.pps-portrait-lightbox-image {
    display: block;

    max-width: 90vw;
    max-height: 88vh;

    width: auto;
    height: auto;

    object-fit: contain;

    border-radius: 8px;

    box-shadow:
        0 18px 60px rgba(0, 0, 0, 0.65);

    transform: scale(0.96);

    transition: transform 0.3s ease;

    cursor: default;
}

.pps-portrait-lightbox.is-open
.pps-portrait-lightbox-image {
    transform: scale(1);
}


/* ========================================
   CLOSE BUTTON
   ======================================== */

.pps-portrait-lightbox-close {
    position: fixed;

    top: 20px;
    right: 28px;

    z-index: 100000;

    border: 0;
    background: transparent;

    color: #ffffff;

    font-size: 42px;
    line-height: 1;

    cursor: pointer;

    opacity: 0.8;

    transition:
        opacity 0.2s ease,
        transform 0.2s ease;
}

.pps-portrait-lightbox-close:hover {
    opacity: 1;
    transform: scale(1.12);
}

/* ========================================
   PPS PORTRAIT LIGHTBOX
   MOBILE ENLARGEMENT
   ======================================== */

@media (max-width: 800px) {

    .pps-portrait-lightbox {
        padding: 8px;
    }

    .pps-portrait-lightbox-image {
        max-width: 98vw;
        max-height: 90dvh;

        width: auto;
        height: auto;

        object-fit: contain;
    }

    .pps-portrait-lightbox-close {
        top: 12px;
        right: 16px;
        font-size: 42px;
    }

}

/* ========================================
   FINANCE SQUIRREL'S ACORN
   remains its own clickable object.
   ======================================== */

.pps-finance-acorn-hotspot {
    cursor: pointer;
}


/* Reduced motion */

@media (prefers-reduced-motion: reduce) {

    .pps-squirrel-portrait.pps-lightbox-ready > img,
    .pps-portrait-lightbox,
    .pps-portrait-lightbox-image,
    .pps-portrait-lightbox-close {
        transition: none;
    }
}

/* ABOUT — COPYRIGHT SQUIRREL SIZE */
.about-page .copyright-squirrel {
    width: 360px !important;
    max-width: 360px !important;
    height: auto !important;
}

/* ABOUT — COPYRIGHT TEXT COLOR */
.about-page .copyright-text {
    color: #ffffff !important;
}

/* ========================================
   PRISMARA — CLOSING REFLECTION
   ======================================== */

.about-page .pps-closing-reflection {
    width: 100%;
    padding: 95px 24px 105px;
    box-sizing: border-box;
    color: #f4f0e8;
}

.about-page .pps-closing-reflection-inner {
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;
    padding: 65px 70px 72px;
    box-sizing: border-box;
    text-align: center;

    /* Soft smoked-glass veil over the woodgrain */
    background: rgba(20, 24, 29, 0.48);

    border: 1px solid rgba(205, 184, 145, 0.18);

    box-shadow:
        0 18px 55px rgba(0, 0, 0, 0.28),
        inset 0 1px 0 rgba(255, 255, 255, 0.025);
}

.about-page .pps-closing-reflection p {
    max-width: 840px;
    margin: 0 auto 28px;
    font-size: 1.12rem;
    line-height: 1.9;
}


/* Production Squirrel microphone opening */

.about-page .pps-closing-mic {
    margin-bottom: 55px !important;
    color: rgba(244, 240, 232, 0.72);
    font-size: 1rem !important;
}

.about-page .pps-closing-mic span {
    display: inline-block;
    margin-left: 8px;
}


/* Important reflective lines */

.about-page .pps-closing-emphasis {
    margin-top: 40px !important;
    margin-bottom: 40px !important;

    font-family: "Cormorant Garamond", Georgia, serif;
    font-size: 1.4rem !important;
    line-height: 1.6 !important;
}


/* YOU SEE PRISMARA */

.about-page .pps-closing-prismara {
    margin-top: -5px !important;
    margin-bottom: 52px !important;

    font-family: "Cormorant Garamond", Georgia, serif;
    font-size: 2.35rem !important;
    line-height: 1.3 !important;

    color: #d6b46a;

    letter-spacing: 0.04em;

    text-shadow:
        0 2px 12px rgba(0, 0, 0, 0.45);
}


/* ONE RIDICULOUS IDEA... */

.about-page .pps-closing-rhythm {
    margin: 55px auto;

    font-family: "Cormorant Garamond", Georgia, serif;
    font-size: 1.45rem;
    line-height: 1.75;
}

.about-page .pps-closing-rhythm span {
    display: block;
}

.about-page .pps-closing-rhythm span:nth-child(5) {
    margin-top: 5px;
    color: #d6b46a;
    font-size: 1.12em;
}


/* KEEP IMAGINING... */

.about-page .pps-closing-promise {
    max-width: 880px !important;
    margin-top: 55px !important;
    margin-bottom: 60px !important;

    font-size: 1.18rem !important;
    line-height: 1.95 !important;
}

.about-page .pps-closing-promise strong {
    color: #d6b46a;
    font-weight: 600;
}


/* THE QUIET PAUSE */

.about-page .pps-closing-pause {
    margin-top: 50px !important;
}


/* HOLY TOLEDO */

.about-page .pps-closing-holy-toledo {
    margin: 55px auto 60px;

    font-family: "Cormorant Garamond", Georgia, serif;
    font-size: 2.15rem;
    line-height: 1.45;

    color: #d6b46a;

    text-shadow:
        0 2px 14px rgba(0, 0, 0, 0.45);
}

.about-page .pps-closing-holy-toledo strong {
    display: block;
}

.about-page .pps-closing-holy-toledo strong:last-child {
    font-size: 1.15em;
}


/* THE JOURNEY CONTINUES */

.about-page .pps-closing-journey {
    margin-bottom: 42px !important;

    font-family: "Cormorant Garamond", Georgia, serif;
    font-size: 1.4rem !important;
    font-style: italic;

    color: rgba(244, 240, 232, 0.82);
}


/* FINAL WORDS */

.about-page .pps-closing-final {
    margin-bottom: 0 !important;

    font-family: "Cormorant Garamond", Georgia, serif;
    font-size: 1.65rem !important;
    line-height: 1.75 !important;
}

.about-page .pps-closing-final strong {
    display: inline-block;

    margin-top: 5px;

    color: #d6b46a;

    font-size: 1.35em;
    font-weight: 600;

    text-shadow:
        0 2px 14px rgba(0, 0, 0, 0.45);
}


/* ========================================
   MOBILE
   ======================================== */

@media (max-width: 700px) {

    .about-page .pps-closing-reflection {
        padding: 70px 18px 80px;
    }

    .about-page .pps-closing-reflection-inner {
        padding: 48px 25px 55px;
    }

    .about-page .pps-closing-reflection p {
        font-size: 1.03rem;
        line-height: 1.8;
    }

    .about-page .pps-closing-prismara {
        font-size: 1.9rem !important;
    }

    .about-page .pps-closing-rhythm {
        font-size: 1.25rem;
    }

    .about-page .pps-closing-holy-toledo {
        font-size: 1.75rem;
    }

    .about-page .pps-closing-final {
        font-size: 1.4rem !important;
    }
}

/* ========================================
   LOOK HOW FAR WE'VE COME — MEMORY TITLE
   ======================================== */

.about-page .pps-reflection-memory-title {
    margin: 0 auto 52px;
    text-align: center;
}

.about-page .pps-reflection-memory-heading {
    font-family: "Cormorant Garamond", Georgia, serif;
    font-size: 2.25rem;
    line-height: 1.25;

    color: #d6b46a;

    letter-spacing: 0.08em;

    text-shadow:
        0 2px 14px rgba(0, 0, 0, 0.45);
}

.about-page .pps-reflection-memory-date {
    margin-top: 12px;

    font-size: 0.78rem;
    line-height: 1.4;

    color: rgba(244, 240, 232, 0.62);

    letter-spacing: 0.18em;
}

/* ========================================
   PPS ARCHIVE — HISTORICAL DATE
   ======================================== */

.about-page .pps-archive-date {
    margin-top: 7px;
    margin-bottom: 13px;

    font-family: "Cormorant Garamond", Georgia, serif;
    font-size: 0.82rem;

    color: #d6b46a;

    letter-spacing: 0.16em;
}

/* ========================================
   DREAMFALL — CAST REEL PAUSE MESSAGE
   ======================================== */

.dreamfall-cast-reel-window {
    position: relative;
}

.dreamfall-cast-reel-pause-message {
    position: absolute;
    left: 50%;
    bottom: 18px;

    transform: translate(-50%, 8px);

    padding: 10px 22px 9px;

    background: rgba(18, 12, 15, 0.78);

    border: 1px solid rgba(214, 180, 106, 0.35);

    text-align: center;

    opacity: 0;
    visibility: hidden;

    transition:
        opacity 0.35s ease,
        transform 0.35s ease,
        visibility 0.35s ease;

    pointer-events: none;

    z-index: 10;
}

.dreamfall-cast-reel-pause-message strong {
    display: block;

    font-family: "Cormorant Garamond", Georgia, serif;
    font-size: 1rem;
    font-weight: 600;

    color: #d6b46a;

    letter-spacing: 0.12em;
}

.dreamfall-cast-reel-pause-message span {
    display: block;

    margin-top: 3px;

    font-size: 0.72rem;

    color: rgba(255, 255, 255, 0.78);

    letter-spacing: 0.04em;
}


/* Reveal only while visitor is holding the reel */

.dreamfall-cast-reel-window:hover
.dreamfall-cast-reel-pause-message {
    opacity: 1;
    visibility: visible;

    transform: translate(-50%, 0);
}

/* =========================================================
   PRISMARA ABOUT — BEYOND THE FRAME
   Shared interview system
   ========================================================= */


/* ========================================
   BEYOND THE FRAME — INTERVIEW OPENING
   ======================================== */

.pps-interview-opening {
    width: 100%;
    padding: 18px 0 70px;
    text-align: center;
}

.pps-interview-heading {
    width: 92%;
    max-width: 1200px;
    margin: 0 auto 38px;
}

.pps-interview-eyebrow {
    margin: 0 0 12px;
    font-family: "Cormorant Garamond", Georgia, serif;
    font-size: 18px;
    font-weight: 500;
    letter-spacing: 0.28em;
    color: #d9ad62;
}

.pps-interview-title {
    margin: 0;
    font-family: "Cormorant Garamond", Georgia, serif;
    font-size: clamp(42px, 5vw, 72px);
    font-weight: 500;
    line-height: 1.05;
    color: #e6bd72;

    text-shadow:
        0 1px 0 rgba(255,255,255,0.12),
        0 3px 18px rgba(196,139,50,0.18);
}

.pps-interview-role {
    margin: 16px 0 0;
    font-family: "Cormorant Garamond", Georgia, serif;
    font-size: 24px;
    font-style: italic;
    letter-spacing: 0.04em;
    color: #ead8b8;
}

.pps-interview-date {
    margin: 9px 0 0;
    font-family: "Cormorant Garamond", Georgia, serif;
    font-size: 17px;
    letter-spacing: 0.14em;
    color: #bda57e;
}


/* ========================================
   BEYOND THE FRAME — HERO IMAGE
   ======================================== */

.pps-interview-hero {
    box-sizing: border-box;

    width: 90%;
    max-width: 1100px;

    margin: 0 auto;
    padding: 7px;

    border: 1px solid #b98432;

    background:
        linear-gradient(
            135deg,
            #7d521d 0%,
            #e2b45d 22%,
            #fff0ad 48%,
            #b77822 72%,
            #6e4517 100%
        );

    box-shadow:
        0 0 0 1px rgba(255,224,145,0.28),
        0 12px 34px rgba(0,0,0,0.55),
        0 0 28px rgba(196,137,42,0.14);
}

.pps-interview-hero img {
    display: block;
    width: 100%;
    height: auto;
}


/* =========================================================
   STARLIGHT INTERVIEW — SMALL NUT
   Center masthead acorn
   ========================================================= */

.pps-starlight-small-nut {
    position: absolute;

    left: 52%;
    top: 69%;

    width: 5.2%;
    height: 10%;

    padding: 0;
    margin: 0;

    border: 0;
    background: transparent;
    outline: none;

    cursor: pointer;
    z-index: 20;

    transform: translateX(-50%);
}

.pps-starlight-small-nut span {
    display: block;
    width: 100%;
    height: 100%;
}

/* ========================================
   STARLIGHT SMALL NUT — MOBILE ALIGNMENT
   ======================================== */

@media (max-width: 768px) {

    .pps-starlight-small-nut {
        top: 60%;
    }

}

/* =========================================================
   OMNI INTERVIEW — OMNI NUT
   Beyond the Frame screen acorn
   ========================================================= */

.pps-omni-hero {
    position: relative;
}

.pps-omni-small-nut {
    position: absolute;

    left: 62%;
    top: 35%;

    width: 6%;
    height: 9%;

    padding: 0;
    margin: 0;

    border: 0;
    background: transparent;
    outline: none;

    cursor: pointer;
    z-index: 20;

    transform: translate(-50%, -50%);
}

.pps-omni-small-nut span {
    display: block;
    width: 100%;
    height: 100%;
}


/* ========================================
   BEYOND THE FRAME — COLD OPEN
   ======================================== */

.pps-interview-cold-open {
    box-sizing: border-box;

    width: 84%;
    max-width: 940px;

    margin: 0 auto;
    padding: 6px 0 54px;

    font-family: "Cormorant Garamond", Georgia, serif;
    font-size: 23px;
    line-height: 1.65;

    color: #f0e8dc;
}

.pps-interview-cold-open p {
    margin: 0 0 14px;
}

.pps-interview-cold-open .pps-pro-name {
    color: #d3a650;
    font-weight: 500;
}

.pps-interview-cold-open .pps-starlight-name {
    color: #e8c77f;
    font-weight: 500;
}

.pps-interview-cold-open .pps-omni-name {
    color: #d7e7f2;
    font-weight: 500;
}

.pps-interview-stage-direction {
    margin: 23px 0 !important;

    color: #bfae92;

    font-size: 20px;
    font-style: italic;
}

.pps-interview-cold-open .pps-pro-last-word {
    margin-top: 23px;
    color: #f0e8dc;
}


/* ========================================
   BEYOND THE FRAME — INTERVIEW CONVERSATION
   Long-form editorial reading treatment
   ======================================== */

.pps-interview-conversation {
    box-sizing: border-box;

    width: 90%;
    max-width: 1100px;

    margin-left: auto;
    margin-right: auto;

    padding: 10px 0 90px;
}

.pps-interview-question {
    box-sizing: border-box;

    width: 100%;
    margin: 0;

    padding: 58px 0 66px;
}


/* ----------------------------------------
   PRO MUIR LABEL
   ---------------------------------------- */

.pps-interview-speaker {
    margin: 0 0 13px;

    font-family: "Cormorant Garamond", Georgia, serif;
    font-size: 17px;
    font-weight: 500;

    letter-spacing: 0.22em;
    text-transform: uppercase;

    color: #c99643;
}


/* ----------------------------------------
   QUESTION NUMBER
   ---------------------------------------- */

.pps-interview-number {
    color: #8f744c;
}


/* ----------------------------------------
   QUESTION
   ---------------------------------------- */

.pps-interview-question h2 {
    width: 100%;
    margin: 0 0 34px;

    font-family: "Cormorant Garamond", Georgia, serif;
    font-size: clamp(31px, 3vw, 43px);
    font-weight: 500;

    line-height: 1.18;

    color: #e4bb70;

    text-shadow:
        0 1px 0 rgba(255,255,255,0.08),
        0 3px 16px rgba(196,139,50,0.10);
}


/* ----------------------------------------
   INTERVIEW ANSWER
   ---------------------------------------- */

.pps-interview-answer {
    width: 100%;
    margin: 0;

    font-family: "Cormorant Garamond", Georgia, serif;
    font-size: 23px;
    font-weight: 400;

    line-height: 1.72;

    color: #f0e8dc;
}

.pps-interview-answer p {
    margin: 0 0 25px;
}


/* ----------------------------------------
   OCCASIONAL EMPHASIS
   ---------------------------------------- */

.pps-interview-answer .pps-interview-emphasis {
    color: #f0c978;
    font-style: italic;
}


/* ----------------------------------------
   BETWEEN QUESTIONS
   ---------------------------------------- */

.pps-interview-break {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 72%;
    max-width: 680px;

    margin: 4px auto 0;
}

.pps-interview-break::before,
.pps-interview-break::after {
    content: "";

    flex: 1;
    height: 1px;

    background:
        linear-gradient(
            to right,
            transparent,
            rgba(202,151,66,0.62),
            transparent
        );
}

.pps-interview-break span {
    display: block;

    margin: 0 17px;

    font-family: Georgia, serif;
    font-size: 14px;

    color: #d3a650;

    text-shadow:
        0 0 9px rgba(221,173,85,0.35);
}


/* ========================================
   BEYOND THE FRAME — SMALLER SCREENS
   ======================================== */

@media (max-width: 760px) {

    .pps-interview-cold-open {
        width: 90%;
        padding-bottom: 44px;

        font-size: 21px;
        line-height: 1.6;
    }

    .pps-interview-stage-direction {
        font-size: 19px;
    }

    .pps-interview-conversation {
        width: 90%;
        padding-bottom: 65px;
    }

    .pps-interview-question {
        padding: 42px 0 50px;
    }

    .pps-interview-speaker {
        font-size: 14px;
        letter-spacing: 0.17em;
    }

    .pps-interview-question h2 {
        font-size: 31px;
        line-height: 1.2;
    }

    .pps-interview-answer {
        font-size: 21px;
        line-height: 1.62;
    }

    .pps-interview-break {
        width: 86%;
    }
}


/* =========================================================
   BEYOND THE FRAME — FILM MEDIA
   Still / hover-video system will live here
   ========================================================= */

/* ---------------------------------------------------------
   BEYOND THE FRAME — FILM MEMORY

   Editorial film stills woven through the interview.
   A still may sit left, right, or centered.

   Matching film clips replace the still on hover.
   --------------------------------------------------------- */

.pps-interview-film-memory {
    box-sizing: border-box;

    width: 55%;
    max-width: 600px;

    margin-top: 7px;
    margin-bottom: 26px;

    text-align: center;
}

/* LEFT EDITORIAL PLACEMENT */

.pps-memory-left {
    float: left;

    margin-right: 30px;
    margin-left: 0;
}


/* RIGHT EDITORIAL PLACEMENT */

.pps-memory-right {
    float: right;

    margin-left: 30px;
    margin-right: 0;
}


/* LARGE CENTER FEATURE */

.pps-memory-center {
    float: none;

    width: 82%;
    max-width: 900px;

    margin: 46px auto 52px;
}


/* ---------------------------------------------------------
   FILM FRAME
   Fine gold edge — intentionally quieter than hero frame
   --------------------------------------------------------- */

.pps-interview-film-frame {
    position: relative;

    box-sizing: border-box;

    width: 100%;
    aspect-ratio: 16 / 9;

    overflow: hidden;

    border: 1px solid rgba(214, 170, 91, 0.78);

    box-shadow:
        0 8px 22px rgba(0,0,0,0.38),
        0 0 10px rgba(196,137,42,0.08);

    background: #090806;
}


/* STILL + VIDEO OCCUPY IDENTICAL SPACE */

.pps-interview-film-frame img,
.pps-interview-film-frame video {
    position: absolute;

    inset: 0;

    display: block;

    width: 100%;
    height: 100%;

    object-fit: cover;
}


/* STILL SITS ABOVE VIDEO UNTIL HOVER */

.pps-interview-film-frame img {
    z-index: 2;

    opacity: 1;

    transition: opacity 0.45s ease;
}


.pps-interview-film-frame video {
    z-index: 1;
}


/* REVEAL MATCHING FILM CLIP */

.pps-interview-film-memory:hover
.pps-interview-film-frame img {
    opacity: 0;
}


/* ---------------------------------------------------------
   FILM TITLE
   --------------------------------------------------------- */

.pps-interview-film-caption {
    margin: 10px 0 0;

    font-family: "Cormorant Garamond", Georgia, serif;

    font-size: 17px;
    font-style: italic;

    letter-spacing: 0.07em;

    color: #d9ad62;
}


/* ---------------------------------------------------------
   KEEP NEXT QUESTION / DIVIDER CLEAR OF FLOATING MEMORIES
   --------------------------------------------------------- */

.pps-interview-question::after {
    content: "";

    display: block;
    clear: both;
}


/* ---------------------------------------------------------
   SMALLER SCREENS
   Floats become centered features for comfortable reading
   --------------------------------------------------------- */

@media (max-width: 760px) {

    .pps-memory-left,
    .pps-memory-right,
    .pps-memory-center {
        float: none;

        width: 94%;
        max-width: 600px;

        margin: 34px auto 40px;
    }

    .pps-interview-film-caption {
        font-size: 16px;
    }
}

/* ---------------------------------------------------------
   BEYOND THE FRAME — JIGSAW MEMORY

   Final interview photograph begins as a complete memory.

   ASSEMBLE THE MEMORY:
   Photograph separates into 24 movable pieces.

   Completed puzzle restores the photograph and reveals
   the closing Beyond the Frame message.
   --------------------------------------------------------- */

.pps-jigsaw-memory {
    box-sizing: border-box;

    width: 86%;
    max-width: 960px;

    margin: 54px auto 62px;

    text-align: center;
}


/* FINAL PHOTOGRAPH / PUZZLE AREA */

.pps-jigsaw-stage {
    position: relative;

    box-sizing: border-box;

    width: 100%;
    aspect-ratio: 16 / 9;

    margin: 0 auto;

    overflow: hidden;

    border: 1px solid rgba(214, 170, 91, 0.82);

    box-shadow:
        0 12px 30px rgba(0,0,0,0.46),
        0 0 16px rgba(196,137,42,0.10);

    background: #090806;
}


/* COMPLETE PHOTO */

.pps-jigsaw-photo {
    position: absolute;

    inset: 0;

    display: block;

    width: 100%;
    height: 100%;

    object-fit: cover;

    opacity: 1;

    transition: opacity 0.6s ease;

    z-index: 2;
}


.pps-jigsaw-memory.is-playing .pps-jigsaw-photo {
    opacity: 0;

    pointer-events: none;
}


/* PUZZLE BOARD */

.pps-jigsaw-board {
    position: absolute;

    inset: 0;

    z-index: 3;

    opacity: 0;
    pointer-events: none;

    transition: opacity 0.55s ease;
}


.pps-jigsaw-memory.is-playing .pps-jigsaw-board {
    opacity: 1;
    pointer-events: auto;
}


/* INDIVIDUAL PIECES */

.pps-jigsaw-piece {
    position: absolute;

    box-sizing: border-box;

    width: calc(100% / 6);
    height: calc(100% / 4);

    cursor: grab;

    border: 1px solid rgba(255,255,255,0.18);

    background-repeat: no-repeat;

    touch-action: none;

    transition:
        left 0.28s ease,
        top 0.28s ease,
        box-shadow 0.2s ease,
        transform 0.2s ease;
}


.pps-jigsaw-piece:hover {
    z-index: 20;

    box-shadow:
        0 0 16px rgba(217,173,98,0.55);

    transform: scale(1.025);
}


.pps-jigsaw-piece.is-dragging {
    cursor: grabbing;

    z-index: 50;

    transition:
        box-shadow 0.2s ease,
        transform 0.2s ease;

    box-shadow:
        0 0 22px rgba(217,173,98,0.72);

    transform: scale(1.035);
}


/* ASSEMBLE BUTTON */

.pps-jigsaw-button {
    display: inline-block;

    margin: 26px auto 0;
    padding: 11px 26px 10px;

    border: 1px solid rgba(214,170,91,0.72);

    background: rgba(12,8,5,0.42);

    font-family: "Cormorant Garamond", Georgia, serif;

    font-size: 16px;
    font-weight: 600;

    letter-spacing: 0.14em;

    color: #d9ad62;

    cursor: pointer;

    transition:
        background 0.3s ease,
        box-shadow 0.3s ease,
        transform 0.3s ease;
}


.pps-jigsaw-button:hover {
    background: rgba(217,173,98,0.10);

    box-shadow:
        0 0 14px rgba(217,173,98,0.18);

    transform: translateY(-1px);
}


/* COMPLETION MESSAGE */

.pps-jigsaw-complete {
    margin: 25px auto 0;

    opacity: 0;
    transform: translateY(7px);

    transition:
        opacity 0.8s ease,
        transform 0.8s ease;

    pointer-events: none;
}


.pps-jigsaw-memory.is-complete .pps-jigsaw-complete {
    opacity: 1;
    transform: translateY(0);
}


.pps-jigsaw-complete-main {
    margin: 0;

    font-family: "Cormorant Garamond", Georgia, serif;

    font-size: 24px;
    font-style: italic;

    color: #f0e8dc;
}


.pps-jigsaw-complete-date {
    margin: 8px 0 0;

    font-family: "Cormorant Garamond", Georgia, serif;

    font-size: 16px;

    letter-spacing: 0.10em;

    color: #d9ad62;
}


/* SMALLER SCREENS */

@media (max-width: 760px) {

    .pps-jigsaw-memory {
        width: 94%;

        margin: 42px auto 50px;
    }

    .pps-jigsaw-button {
        font-size: 14px;

        padding: 10px 19px 9px;
    }

    .pps-jigsaw-complete-main {
        font-size: 20px;
    }

    .pps-jigsaw-complete-date {
        font-size: 14px;
    }
}

/* ---------------------------------------------------------
   BEYOND THE FRAME — SPOILER NOTICE
   --------------------------------------------------------- */

.pps-interview-spoiler {
    box-sizing: border-box;

    width: 82%;
    max-width: 900px;

    margin: 42px auto 50px;
    padding: 22px 30px 24px;

    text-align: center;

    border-top: 1px solid rgba(214, 170, 91, 0.62);
    border-bottom: 1px solid rgba(214, 170, 91, 0.62);

    background: rgba(20, 13, 8, 0.22);
}


.pps-interview-spoiler-title {
    margin: 0 0 9px;

    font-family: "Cormorant Garamond", Georgia, serif;

    font-size: 18px;
    font-weight: 600;

    letter-spacing: 0.14em;
    text-transform: uppercase;

    color: #d9ad62;
}


.pps-interview-spoiler p {
    margin: 0;

    font-family: "Cormorant Garamond", Georgia, serif;

    font-size: 18px;
    line-height: 1.55;

    color: #f0e8dc;
}


@media (max-width: 760px) {

    .pps-interview-spoiler {
        width: 92%;

        margin: 34px auto 42px;
        padding: 19px 20px 21px;
    }

    .pps-interview-spoiler-title {
        font-size: 16px;
    }

    .pps-interview-spoiler p {
        font-size: 17px;
    }
}

/* =========================================================
   PRISMARA CAST CHALLENGE
   Lore > Cast
   ========================================================= */

.cast-page-main {
    width: 100%;
    min-height: 100vh;
    padding: 55px 0 100px;
}


/* =========================================================
   MAIN GAME AREA
   ========================================================= */

.prismara-cast-game {
    box-sizing: border-box;
    width: 94%;
    max-width: 1600px;
    margin: 0 auto;
    padding: 34px 30px 48px;

    font-family: "Cormorant Garamond", Georgia, serif;
    color: #f2eadc;

    background:
        linear-gradient(
            rgba(8, 7, 5, 0.84),
            rgba(8, 7, 5, 0.92)
        );

    border: 1px solid rgba(211, 166, 83, 0.48);

    box-shadow:
        0 18px 48px rgba(0, 0, 0, 0.52),
        inset 0 0 45px rgba(177, 121, 38, 0.045);
}


/* =========================================================
   GAME HEADING
   ========================================================= */

.cast-game-heading {
    max-width: 950px;
    margin: 0 auto 32px;
    text-align: center;
}

.cast-game-heading h1 {
    margin: 0 0 15px;

    font-family: "Cormorant Garamond", Georgia, serif;
    font-size: clamp(34px, 4vw, 58px);
    font-weight: 500;
    line-height: 1.05;
    letter-spacing: 0.075em;

    color: #d8ad62;

    text-shadow:
        0 2px 8px rgba(0, 0, 0, 0.85),
        0 0 14px rgba(203, 151, 61, 0.12);
}

.cast-game-heading p {
    margin: 7px auto;

    font-size: 21px;
    line-height: 1.5;
    letter-spacing: 0.025em;

    color: #eee4d5;
}

.cast-game-heading .cast-game-reward-note {
    font-size: 18px;
    font-style: italic;
    color: #cda761;
}


/* =========================================================
   STATUS BAR
   ========================================================= */

.cast-game-status {
    box-sizing: border-box;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;

    width: 100%;
    max-width: 1080px;
    margin: 0 auto 35px;
    padding: 13px 20px;

    border-top: 1px solid rgba(210, 164, 81, 0.42);
    border-bottom: 1px solid rgba(210, 164, 81, 0.42);

    font-size: 17px;
    letter-spacing: 0.09em;

    color: #d9bd8a;
}

#cast-game-progress {
    color: #f4dfb0;
    font-weight: 600;
}

#cast-game-challenge-status {
    color: #d9ad62;
}


/* =========================================================
   CURRENT MYSTERY MEMORY
   ========================================================= */

.cast-memory-stage {
    width: 100%;
    margin: 0 auto 48px;
    text-align: center;
}

.cast-memory-card {
    width: 240px;
    height: 320px;
    margin: 0 auto 20px;

    perspective: 1200px;
}

.cast-memory-card-inner {
    position: relative;

    width: 100%;
    height: 100%;

    transform-style: preserve-3d;
    transition: transform 0.7s cubic-bezier(.2,.75,.25,1);

    box-shadow:
        0 14px 30px rgba(0, 0, 0, 0.58),
        0 0 16px rgba(196, 143, 48, 0.08);
}

.cast-memory-card.is-turned .cast-memory-card-inner {
    transform: rotateY(180deg);
}

.cast-memory-card-front,
.cast-memory-card-back {
    box-sizing: border-box;
    position: absolute;
    inset: 0;

    width: 100%;
    height: 100%;

    overflow: hidden;

    border: 2px solid rgba(214, 170, 91, 0.8);
    background: #0c0a07;

    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
}


/* FRONT OF CARD */

.cast-memory-card-front {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    padding: 24px;

    background:
        radial-gradient(
            circle at center,
            rgba(129, 89, 32, 0.18),
            rgba(9, 8, 6, 0.98) 67%
        );
}

.cast-memory-question {
    margin-bottom: 15px;

    font-size: 92px;
    font-weight: 300;
    line-height: 1;

    color: #d7aa59;

    text-shadow:
        0 0 20px rgba(208, 155, 62, 0.18);
}

.cast-memory-front-text {
    margin-bottom: 28px;

    font-size: 17px;
    letter-spacing: 0.18em;

    color: #ead9b7;
}


/* BACK OF CARD */

.cast-memory-card-back {
    transform: rotateY(180deg);
    background: #050504;
}

.cast-memory-card-back img {
    display: block;

    width: 100%;
    height: 100%;

    object-fit: cover;
}

.cast-memory-name {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;

    box-sizing: border-box;
    padding: 11px 8px;

    background:
        linear-gradient(
            transparent,
            rgba(0, 0, 0, 0.94)
        );

    font-size: 20px;
    letter-spacing: 0.07em;

    color: #f0d79e;

    text-shadow:
        0 2px 4px #000;
}


/* =========================================================
   GAME BUTTONS
   ========================================================= */

#cast-memory-turn,
#cast-memory-dont-know,
#cast-game-prismara,
#cast-game-replay {
    appearance: none;
    -webkit-appearance: none;

    border: 1px solid rgba(210, 165, 82, 0.72);

    padding: 10px 19px;

    font-family: "Cormorant Garamond", Georgia, serif;
    font-size: 16px;
    letter-spacing: 0.1em;

    color: #e8d5af;
    background: rgba(20, 16, 10, 0.96);

    cursor: pointer;

    transition:
        background 0.25s ease,
        color 0.25s ease,
        border-color 0.25s ease,
        box-shadow 0.25s ease,
        transform 0.25s ease;
}

#cast-memory-turn:hover,
#cast-memory-dont-know:hover:not(:disabled),
#cast-game-prismara:hover:not(:disabled),
#cast-game-replay:hover {
    color: #fff0c7;
    background: rgba(75, 51, 20, 0.92);
    border-color: #e2b45f;

    box-shadow:
        0 0 14px rgba(209, 158, 67, 0.18);

    transform: translateY(-1px);
}

#cast-memory-dont-know:disabled,
#cast-game-prismara:disabled {
    opacity: 0.35;
    cursor: default;
    transform: none;
}

.cast-memory-controls {
    margin: 0 auto 14px;
}


/* =========================================================
   MESSAGE AREA
   ========================================================= */

.cast-game-message {
    min-height: 31px;
    margin: 10px auto 0;

    font-size: 20px;
    font-style: italic;
    letter-spacing: 0.025em;

    color: #d7bb89;
}

.cast-game-message.is-correct {
    color: #efd18c;
}

.cast-game-message.is-wrong {
    color: #d6a08f;
}


/* =========================================================
   LARGE CAST MATRIX FRAME
   ========================================================= */

.cast-board-wrap {
    position: relative;

    width: 100%;
    margin: 12px auto 50px;

    overflow-x: auto;
    overflow-y: hidden;

    border-top: 1px solid rgba(209, 162, 77, 0.33);
    border-bottom: 1px solid rgba(209, 162, 77, 0.33);

    background: rgba(0, 0, 0, 0.18);

    scrollbar-color: #9b7137 #17120c;
    scrollbar-width: thin;
}

.cast-game-board {
    width: max-content;
    min-width: 100%;

    border-collapse: separate;
    border-spacing: 7px;

    padding: 16px 9px 20px;

    table-layout: fixed;
}


/* =========================================================
   MATRIX HEADINGS
   ========================================================= */

.cast-game-board th {
    font-weight: 500;
}

.cast-game-board thead th {
    box-sizing: border-box;

    width: 86px;
    min-width: 86px;
    max-width: 86px;

    padding: 8px 4px 10px;

    font-size: 14px;
    line-height: 1.1;
    letter-spacing: 0.025em;

    color: #d9b66f;

    text-align: center;
    vertical-align: bottom;
}

.cast-game-board thead .cast-film-heading {
    width: 170px;
    min-width: 170px;
    max-width: 170px;

    text-align: left;
    padding-left: 8px;
}

.cast-game-board tbody > tr > th {
    box-sizing: border-box;

    width: 170px;
    min-width: 170px;
    max-width: 170px;

    padding: 8px 12px;

    text-align: left;
    vertical-align: middle;

    font-size: 16px;
    line-height: 1.15;
    letter-spacing: 0.035em;

    color: #ead4a7;

    border-right: 1px solid rgba(206, 157, 71, 0.28);
}


/* =========================================================
   PLAYABLE MATRIX CELLS
   JavaScript creates these.
   ========================================================= */

.cast-game-cell {
    box-sizing: border-box;

    position: relative;

    width: 86px;
    min-width: 86px;
    height: 112px;

    padding: 0;

    overflow: hidden;

    border: 1px solid rgba(198, 153, 74, 0.46);

    background:
        radial-gradient(
            circle at center,
            rgba(123, 86, 32, 0.13),
            rgba(8, 7, 5, 0.95)
        );

    cursor: pointer;

    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease,
        transform 0.2s ease,
        opacity 0.2s ease;
}

.cast-game-cell:hover:not(.is-solved) {
    border-color: rgba(231, 188, 105, 0.92);

    box-shadow:
        0 0 13px rgba(209, 159, 68, 0.14);

    transform: translateY(-2px);
}


/* EMPTY PLAYABLE SLOT */

.cast-game-cell::before {
    content: "?";

    position: absolute;
    inset: 0;

    display: flex;
    align-items: center;
    justify-content: center;

    font-family: Georgia, serif;
    font-size: 30px;

    color: rgba(211, 170, 94, 0.32);
}


/* SOLVED SLOT */

.cast-game-cell.is-solved {
    cursor: default;

    border-color: #d8aa55;

    box-shadow:
        0 0 11px rgba(215, 168, 81, 0.24),
        inset 0 0 8px rgba(224, 181, 96, 0.08);

    transform: none;
}

.cast-game-cell.is-solved::before {
    display: none;
}

.cast-game-cell img {
    display: block;

    width: 100%;
    height: 100%;

    object-fit: cover;
}


/* =========================================================
   NON-APPEARANCE CELLS
   ========================================================= */

.cast-game-cell.is-unavailable {
    cursor: default;

    border-color: rgba(179, 160, 126, 0.09);

    background:
        linear-gradient(
            135deg,
            rgba(255, 255, 255, 0.015),
            rgba(255, 255, 255, 0.035)
        );

    box-shadow: none;

    opacity: 0.48;
}

.cast-game-cell.is-unavailable::before {
    content: "×";

    font-size: 25px;
    font-weight: 300;

    color: rgba(192, 177, 149, 0.18);
}

.cast-game-cell.is-unavailable:hover {
    border-color: rgba(179, 160, 126, 0.09);
    box-shadow: none;
    transform: none;
}


/* =========================================================
   WRONG-GUESS SHAKE
   ========================================================= */

.cast-game-cell.is-wrong {
    animation: castWrongGuess 0.38s ease;
}

@keyframes castWrongGuess {

    0% {
        transform: translateX(0);
    }

    25% {
        transform: translateX(-5px);
    }

    50% {
        transform: translateX(5px);
    }

    75% {
        transform: translateX(-3px);
    }

    100% {
        transform: translateX(0);
    }

}


/* =========================================================
   BONUS MEMORIES
   ========================================================= */

.cast-bonus-area {
    margin: 18px auto 48px;
    text-align: center;
}

.cast-bonus-area h2 {
    margin: 0 0 20px;

    font-size: 24px;
    font-weight: 500;
    letter-spacing: 0.12em;

    color: #d6ad64;
}

.cast-bonus-spaces {
    display: flex;
    justify-content: center;
    align-items: stretch;
    gap: 22px;
    flex-wrap: wrap;
}

.cast-bonus-slot {
    position: relative;

    box-sizing: border-box;

    width: 150px;
    height: 190px;

    padding: 0;

    overflow: hidden;

    border: 1px solid rgba(207, 161, 79, 0.55);

    background:
        radial-gradient(
            circle at center,
            rgba(120, 84, 32, 0.14),
            rgba(8, 7, 5, 0.97)
        );

    cursor: pointer;

    transition:
        transform 0.22s ease,
        border-color 0.22s ease,
        box-shadow 0.22s ease;
}

.cast-bonus-slot:hover:not(.is-solved) {
    transform: translateY(-2px);

    border-color: #dfb360;

    box-shadow:
        0 0 14px rgba(207, 156, 63, 0.15);
}

.cast-bonus-slot::before {
    content: "?";

    position: absolute;
    inset: 0;

    display: flex;
    align-items: center;
    justify-content: center;

    font-family: Georgia, serif;
    font-size: 42px;

    color: rgba(211, 170, 94, 0.3);
}

.cast-bonus-slot img {
    display: block;

    width: 100%;
    height: 100%;

    object-fit: cover;
}

.cast-bonus-slot.is-solved {
    cursor: default;

    border-color: #d8aa55;

    box-shadow:
        0 0 12px rgba(215, 168, 81, 0.22);
}

.cast-bonus-slot.is-solved::before {
    display: none;
}

.cast-bonus-label {
    position: absolute;
    z-index: 2;

    left: 0;
    right: 0;
    bottom: 0;

    padding: 9px 5px;

    font-family: "Cormorant Garamond", Georgia, serif;
    font-size: 17px;
    letter-spacing: 0.055em;

    color: #edd5a1;

    background:
        linear-gradient(
            transparent,
            rgba(0, 0, 0, 0.94)
        );
}


/* =========================================================
   FINALE
   ========================================================= */

.cast-game-finale {
    position: relative;

    min-height: 110px;

    margin: 15px auto 0;

    text-align: center;
}

#cast-game-prismara {
    min-width: 220px;

    padding: 13px 26px;

    font-size: 22px;
    letter-spacing: 0.22em;
}

#cast-game-prismara.is-ready {
    animation: castPrismaraPulse 1.8s ease-in-out infinite;
}

@keyframes castPrismaraPulse {

    0%,
    100% {
        box-shadow:
            0 0 5px rgba(218, 170, 76, 0.16);
    }

    50% {
        box-shadow:
            0 0 22px rgba(229, 182, 88, 0.46),
            0 0 40px rgba(197, 139, 43, 0.14);
    }

}


/* =========================================================
   HIDDEN ACORN
   Actual acorn image path will be confirmed separately.
   ========================================================= */

.cast-game-acorn {
    display: none;

    width: 76px;
    margin: 20px auto 0;
}

.cast-game-acorn.is-visible {
    display: block;

    animation: castAcornArrival 0.7s ease both;
}

.cast-game-acorn img {
    display: block;

    width: 100%;
    height: auto;
}

@keyframes castAcornArrival {

    from {
        opacity: 0;
        transform: translateY(12px) scale(0.82);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }

}

#cast-game-replay {
    display: block;
    margin: 24px auto 0;
}


/* =========================================================
   SMALLER SCREENS
   ========================================================= */

@media (max-width: 760px) {

    .cast-page-main {
        padding-top: 35px;
    }

    .prismara-cast-game {
        width: 96%;
        padding: 26px 12px 38px;
    }

    .cast-game-heading h1 {
        font-size: 35px;
    }

    .cast-game-heading p {
        font-size: 18px;
    }

    .cast-game-status {
        flex-direction: column;
        gap: 8px;

        text-align: center;

        font-size: 15px;
    }

    .cast-memory-card {
        width: 210px;
        height: 280px;
    }

    .cast-game-message {
        font-size: 18px;
    }

}

/* ========================================
   CAST CHALLENGE — DIFFICULTY
   ======================================== */

.cast-game-difficulty {
    margin: 18px auto 0;

    font-family: "Cormorant Garamond", Georgia, serif;
    font-size: 15px;
    font-weight: 500;
    letter-spacing: 0.16em;

    color: #cba35d;

    opacity: 0.82;
}

/* ========================================
   CAST PAGE — ACORN DISCOVERY POSITION
   ======================================== */

.cast-page .acorn-discovery {
    position: fixed;

    top: auto;
    right: 42px;
    bottom: 55px;
    left: auto;

    width: auto;
    min-width: 270px;

    padding: 18px 28px;

    background: rgba(8, 7, 5, 0.72);

    border: 1px solid rgba(214, 170, 91, 0.62);

    box-shadow:
        0 10px 30px rgba(0, 0, 0, 0.46),
        inset 0 0 20px rgba(190, 137, 46, 0.045);

    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);

    text-align: center;

    z-index: 9999;
}

/* ========================================
   CAST CHALLENGE — REVEAL WOODGRAIN
   ======================================== */

.cast-page .prismara-cast-game {
    background: rgba(8, 7, 5, 0.62);
}

/* ========================================
   CAST CHALLENGE — ACORN GLOVE CURSOR
   ======================================== */

.cast-page .cast-game-acorn img {
    cursor: url("../images/cursors/prismara-pointer.png") 8 2, pointer !important;
}

/* ========================================
   PRISMARA RECOGNITION GALLERY
   ======================================== */

.awards-page .recognition-gallery {
    width: 100%;
    min-height: 650px;
    padding: 82px 24px 110px;
    box-sizing: border-box;
}

.awards-page .recognition-gallery-intro {
    width: min(100%, 1050px);
    margin: 0 auto;
    text-align: center;
}

.awards-page .recognition-gallery-kicker {
    margin-bottom: 12px;

    font-family: "Cormorant Garamond", Georgia, serif;
    font-size: 15px;
    font-weight: 600;
    letter-spacing: 0.30em;

    color: #c9a75d;
}

.awards-page .recognition-gallery-title {
    margin: 0;

    font-family: "Cormorant Garamond", Georgia, serif;
    font-size: clamp(42px, 6vw, 76px);
    font-weight: 500;
    line-height: 1;

    letter-spacing: 0.075em;

    color: #f4f0e7;

    text-shadow:
        0 2px 3px rgba(0, 0, 0, 0.55),
        0 0 20px rgba(201, 167, 93, 0.08);
}

.awards-page .recognition-gallery-subtitle {
    max-width: 620px;
    margin: 0 auto;

    font-family: "Cormorant Garamond", Georgia, serif;
    font-size: 21px;
    font-style: italic;
    line-height: 1.5;

    letter-spacing: 0.025em;

    color: rgba(244, 240, 231, 0.78);
}

/* ========================================
   RECOGNITION GALLERY
   EVERPASTURE EXHIBIT
   ======================================== */

.awards-page .recognition-film {
    width: min(94%, 1500px);
    margin: 0 auto 130px;
    padding-top: 30px;
}

.awards-page .recognition-film-header {
    margin-bottom: 55px;
    text-align: center;
}

.awards-page .recognition-film-kicker {
    margin-bottom: 8px;

    font-family: "Cormorant Garamond", Georgia, serif;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.28em;

    color: #c9a75d;
}

.awards-page .recognition-film-title {
    margin: 0;

    font-family: "Cormorant Garamond", Georgia, serif;
    font-size: clamp(34px, 4vw, 52px);
    font-weight: 500;
    letter-spacing: 0.08em;

    color: #f4f0e7;
}


/* LAUREL WALL */

.awards-page .recognition-laurel-wall {
    display: grid;

    grid-template-columns:
        repeat(auto-fit, minmax(220px, 1fr));

    gap: 55px 34px;

    align-items: start;

    margin: 0 auto;
}

.awards-page .recognition-laurel {
    margin: 0;
    text-align: center;
}

.awards-page .recognition-laurel img {
    display: block;

width: 100%;
max-width: 330px;
height: 250px;

    margin: 0 auto 18px;

    object-fit: contain;

    filter:
        drop-shadow(0 7px 7px rgba(0, 0, 0, 0.55));
}

.awards-page .recognition-laurel h3 {
    margin: 0 0 7px;

    font-family: "Cormorant Garamond", Georgia, serif;
    font-size: 17px;
    font-weight: 600;

    letter-spacing: 0.09em;

    color: #d8bb70;
}

.awards-page .recognition-laurel p {
    margin: 0;

    font-family: "Cormorant Garamond", Georgia, serif;
    font-size: 16px;
    font-style: italic;

    color: rgba(244, 240, 231, 0.74);
}


/* CERTIFICATE GALLERY */

.awards-page .recognition-certificates {
    margin-top: 100px;
    text-align: center;
}

.awards-page .recognition-certificates-title {
    margin: 0 0 38px;

    font-family: "Cormorant Garamond", Georgia, serif;
    font-size: 18px;
    font-weight: 500;

    letter-spacing: 0.22em;

    color: #d8bb70;
}

.awards-page .recognition-certificate-wall {
    display: flex;

    justify-content: center;
    align-items: flex-start;

    gap: 70px;

    flex-wrap: wrap;
}

.awards-page .recognition-certificate {
    width: min(100%, 420px);
    margin: 0;
}

.awards-page .recognition-certificate-frame {
    padding: 11px;

    background:
        linear-gradient(
            135deg,
            #8b6a2f,
            #d7b967 30%,
            #6f511e 55%,
            #d7b967 80%,
            #8b6a2f
        );

    border: 1px solid rgba(255, 225, 150, 0.55);

    box-shadow:
        0 13px 24px rgba(0, 0, 0, 0.62),
        0 0 0 4px rgba(0, 0, 0, 0.28);
}

.awards-page .recognition-certificate-frame img {
    display: block;
    width: 100%;
    height: auto;

    background: #111;
}

.awards-page .recognition-certificate figcaption {
    margin-top: 17px;

    font-family: "Cormorant Garamond", Georgia, serif;
    font-size: 17px;
    font-style: italic;

    letter-spacing: 0.04em;

    color: rgba(244, 240, 231, 0.72);
}


/* SMALL SCREEN */

@media (max-width: 700px) {

    .awards-page .recognition-laurel-wall {
       grid-template-columns:
    repeat(4, minmax(0, 1fr));

        gap: 45px 20px;
    }

    .awards-page .recognition-laurel img {
        height: 145px;
    }

    .awards-page .recognition-certificate-wall {
        gap: 45px;
    }
}

/* ========================================
   AWARDS CERTIFICATES — FINAL SIZE BUMP
   ======================================== */

.awards-page .recognition-certificate {
    width: min(100%, 500px) !important;
}

.awards-page .recognition-certificate-wall {
    gap: 85px !important;
}

/* ========================================
   RECOGNITION GALLERY
   COMPACT LAUREL WALL + INSPECTION HOVER
   ======================================== */

.awards-page .recognition-laurel-wall {
    display: grid !important;

    grid-template-columns:
        repeat(7, minmax(0, 1fr)) !important;

    gap: 48px 24px !important;

    width: 100% !important;
    max-width: 1750px !important;

    margin: 0 auto !important;

    align-items: start !important;

    overflow: visible !important;
}

.awards-page .recognition-laurel {
    position: relative !important;

    width: 100% !important;
    min-width: 0 !important;

    margin: 0 !important;

    text-align: center !important;

    overflow: visible !important;
}


/* OFFICIAL LAUREL ART */

.awards-page .recognition-laurel img {
    display: block !important;

    width: 240px !important;
    max-width: 100% !important;
    height: 185px !important;

    margin: 0 auto 17px !important;

    object-fit: contain !important;

    position: relative !important;
    z-index: 1 !important;

    cursor: zoom-in;

    transform: scale(1);

    transform-origin: center center;

    transition:
        transform 0.32s ease,
        filter 0.32s ease;

    filter:
        drop-shadow(0 6px 7px rgba(0, 0, 0, 0.48));
}


/* HOVER — STEP CLOSER TO THE EXHIBIT */

.awards-page .recognition-laurel:hover {
    z-index: 50 !important;
}

.awards-page .recognition-laurel img:hover {
    transform: scale(1.75);

    z-index: 60 !important;

    filter:
        drop-shadow(0 18px 22px rgba(0, 0, 0, 0.90));
}


/* CATEGORY */

.awards-page .recognition-laurel h3 {
    margin: 0 0 6px !important;

    font-family:
        "Cormorant Garamond",
        Georgia,
        serif;

    font-size: 17px !important;
    font-weight: 600 !important;

    line-height: 1.15 !important;

    letter-spacing: 0.075em !important;

    color: #d8bb70 !important;
}


/* FESTIVAL + STATUS */

.awards-page .recognition-laurel p {
    margin: 0 !important;

    font-family:
        "Cormorant Garamond",
        Georgia,
        serif;

    font-size: 15px !important;
    font-style: italic !important;

    line-height: 1.3 !important;

    color:
        rgba(244, 240, 231, 0.76) !important;
}


/* LOCATION + DATE */

.awards-page .recognition-laurel-date {
    margin-top: 7px;

    font-family:
        "Cormorant Garamond",
        Georgia,
        serif;

    font-size: 12px;
    font-weight: 600;

    line-height: 1.2;

    letter-spacing: 0.10em;

    color:
        rgba(201, 167, 93, 0.72);
}


/* RESPONSIVE GALLERY */

@media (max-width: 850px) {

    .awards-page .recognition-laurel img:hover {
        transform: scale(1.40);
    }
}

/* ========================================
   EVERPASTURE FINAL LAUREL ARRANGEMENT
   5 TOP + 2 CENTERED
   ======================================== */

.awards-page .recognition-laurel-wall {
    display: grid !important;

    grid-template-columns:
        repeat(10, 1fr) !important;

    column-gap: 18px !important;
    row-gap: 55px !important;

    width: 100% !important;
    max-width: 1500px !important;

    margin: 0 auto !important;

    align-items: start !important;
    overflow: visible !important;
}

.awards-page .recognition-laurel {
    width: auto !important;
    min-width: 0 !important;

    grid-column: span 2;

    position: relative !important;
    overflow: visible !important;
}


/* ========================================
   EVERPASTURE — 4 TOP + 4 BOTTOM
   ======================================== */

/* TOP ROW — CENTER FOUR */

.awards-page .recognition-everpasture
.recognition-laurel:nth-child(1) {
    grid-column: 2 / span 2;
}

.awards-page .recognition-everpasture
.recognition-laurel:nth-child(2) {
    grid-column: 4 / span 2;
}

.awards-page .recognition-everpasture
.recognition-laurel:nth-child(3) {
    grid-column: 6 / span 2;
}

.awards-page .recognition-everpasture
.recognition-laurel:nth-child(4) {
    grid-column: 8 / span 2;
}


/* BOTTOM ROW — CENTER FOUR */

.awards-page .recognition-everpasture
.recognition-laurel:nth-child(5) {
    grid-column: 2 / span 2;
}

.awards-page .recognition-everpasture
.recognition-laurel:nth-child(6) {
    grid-column: 4 / span 2;
}

.awards-page .recognition-everpasture
.recognition-laurel:nth-child(7) {
    grid-column: 6 / span 2;
}

.awards-page .recognition-everpasture
.recognition-laurel:nth-child(8) {
    grid-column: 8 / span 2;
}

/* KEEP OUR FRAGILE LAUREL SIZE */

.awards-page .recognition-laurel img {
    width: 240px !important;
    max-width: 100% !important;
    height: 185px !important;

    margin: 0 auto 17px !important;

    object-fit: contain !important;
}

/* ========================================
   INDIEX HOVER — KEEP CLEAR OF PLAQUE
   ======================================== */

.awards-page .recognition-laurel:nth-child(5) img:hover,
.awards-page .recognition-laurel:nth-child(6) img:hover {
    transform: translateY(-38px) scale(1.55) !important;
}

/* ========================================
   INDEPENDENT SHORTS HOVER
   ======================================== */

.awards-page .recognition-laurel img.independent-shorts-laurel:hover {
    transform: translateY(-32px) scale(1.45) !important;

    z-index: 60 !important;

    filter:
        drop-shadow(0 18px 22px rgba(0, 0, 0, 0.90)) !important;
}

/* ========================================
   PRISMARA RECOGNITION DELIVERY SYSTEM
   ======================================== */

.awards-page .recognition-delivery-stage {
    position: relative;
    width: min(92%, 1320px);
    height: 58px;
    margin: -22px auto 34px;
    overflow: hidden;

    opacity: 1;
    transition: opacity 1.1s ease;
}

.awards-page .recognition-delivery-stage.is-finished {
    opacity: 0;
}

/* DELIVERY RAIL */

.awards-page .recognition-delivery-rail {
    position: absolute;
    left: 0;
    right: 0;
    top: 19px;

    height: 3px;

    background:
        linear-gradient(
            to right,
            transparent 0%,
            rgba(201, 167, 93, 0.28) 5%,
            rgba(216, 187, 112, 0.78) 18%,
            rgba(244, 240, 231, 0.42) 50%,
            rgba(216, 187, 112, 0.78) 82%,
            rgba(201, 167, 93, 0.28) 95%,
            transparent 100%
        );

    box-shadow:
        0 1px 0 rgba(255,255,255,0.12),
        0 4px 8px rgba(0,0,0,0.45);
}


/* THE JIG-A-MA-JOO */

.awards-page .recognition-delivery-carriage {
    position: absolute;
    top: -5px;
    left: -42px;

    width: 34px;
    height: 13px;

    border: 1px solid rgba(216,187,112,0.82);
    border-radius: 7px;

    background:
        linear-gradient(
            to bottom,
            #d8bb70,
            #806226
        );

    box-shadow:
        0 3px 7px rgba(0,0,0,0.65);

    transition:
        left 1.35s cubic-bezier(.42,0,.22,1);
}

.awards-page .recognition-delivery-carriage.is-arriving {
    left: 48%;
}

.awards-page .recognition-delivery-carriage.is-leaving {
    left: calc(100% + 45px);
}

/* ALL EVERPASTURE LAURELS BEGIN WAITING */

.awards-page .recognition-everpasture
.recognition-laurel-wall
.recognition-laurel {
    opacity: 0;
}


/* CURRENT DELIVERY */

.awards-page .recognition-everpasture
.recognition-laurel.is-delivering {
    animation:
        recognitionLaurelDelivery 2.75s
        cubic-bezier(.22,.75,.25,1)
        forwards;
}


/* ALREADY HUNG */

.awards-page .recognition-everpasture
.recognition-laurel.is-hung {
    opacity: 1;
    transform: none;
}


/* LAUREL DELIVERY + SWAY */

@keyframes recognitionLaurelDelivery {

    0% {
        opacity: 0;

        transform:
            translateX(520px)
            translateY(38px)
            rotate(2deg);
    }

    10% {
        opacity: 1;
    }

    48% {
        opacity: 1;

        transform:
            translateX(0)
            translateY(38px)
            rotate(-1deg);
    }

    /* LIFT */

    62% {
        transform:
            translateX(0)
            translateY(-9px)
            rotate(2.2deg);
    }

    /* SWAY */

    72% {
        transform:
            translateX(0)
            translateY(0)
            rotate(-1.5deg);
    }

    81% {
        transform:
            translateX(0)
            translateY(0)
            rotate(0.9deg);
    }

    90% {
        transform:
            translateX(0)
            translateY(0)
            rotate(-0.35deg);
    }

    /* SETTLE */

    100% {
        opacity: 1;

        transform:
            translateX(0)
            translateY(0)
            rotate(0deg);
    }
}


/* REDUCED MOTION */

@media (prefers-reduced-motion: reduce) {

    .awards-page .recognition-everpasture
    .recognition-laurel-wall
    .recognition-laurel {
        opacity: 1;
        transform: none;
        animation: none;
    }

    .awards-page .recognition-delivery-stage {
        display: none;
    }
}

/* ========================================
   EVERPASTURE GALLERY ARCHITECTURE
   Antique Gold Hanging System
   ======================================== */

/* Give the laurel wall its own gallery space */

.awards-page .recognition-everpasture .recognition-laurel-wall {
    position: relative !important;

    padding-top: 38px !important;
    padding-bottom: 46px !important;

    overflow: visible !important;
}


/* ----------------------------------------
   UPPER GALLERY HANGING LINE
   ---------------------------------------- */

.awards-page .recognition-everpasture .recognition-laurel-wall::before {
    content: "";

    position: absolute;

    left: 4%;
    right: 4%;
    top: 4px;

    height: 1px;

    background:
        linear-gradient(
            to right,
            transparent,
            rgba(201, 167, 93, 0.25) 8%,
            rgba(216, 187, 112, 0.72) 28%,
            rgba(244, 225, 171, 0.82) 50%,
            rgba(216, 187, 112, 0.72) 72%,
            rgba(201, 167, 93, 0.25) 92%,
            transparent
        );

    box-shadow:
        0 1px 3px rgba(0, 0, 0, 0.55),
        0 0 7px rgba(216, 187, 112, 0.10);

    pointer-events: none;
}


/* Tiny central gallery mounting jewel */

.awards-page .recognition-everpasture .recognition-laurel-wall::after {
    content: "◆";

    position: absolute;

    left: 50%;
    top: -5px;

    transform: translateX(-50%);

    padding: 0 10px;

    font-family: Georgia, serif;
    font-size: 13px;
    line-height: 18px;

    color: #d8bb70;

    text-shadow:
        0 1px 2px rgba(0, 0, 0, 0.8),
        0 0 8px rgba(216, 187, 112, 0.28);

    pointer-events: none;
}


/* ----------------------------------------
   SMALL HANGING POINT ABOVE EACH LAUREL
   ---------------------------------------- */

.awards-page .recognition-everpasture .recognition-laurel::before {
    content: "";

    position: absolute;

    left: 50%;
    top: -25px;

    width: 5px;
    height: 5px;

    border: 1px solid rgba(216, 187, 112, 0.78);
    border-radius: 50%;

    background: rgba(72, 52, 27, 0.88);

    box-shadow:
        0 0 5px rgba(216, 187, 112, 0.25);

    transform: translateX(-50%);

    pointer-events: none;
}


/* Delicate hanging thread */

.awards-page .recognition-everpasture .recognition-laurel::after {
    content: "";

    position: absolute;

    left: 50%;
    top: -18px;

    width: 1px;
    height: 17px;

    background:
        linear-gradient(
            to bottom,
            rgba(216, 187, 112, 0.65),
            rgba(216, 187, 112, 0.12)
        );

    transform: translateX(-50%);

    pointer-events: none;
}


/* ----------------------------------------
   EVERPASTURE ORNAMENTAL GALLERY LEDGE
   ---------------------------------------- */

.awards-page .recognition-everpasture {
    position: relative;
}


/* Gold closing ornament below the laurel collection */

.awards-page .recognition-everpasture .recognition-certificates {
    position: relative;

    margin-top: 116px !important;
}


/* Left and right ornamental lines */

.awards-page .recognition-everpasture
.recognition-certificates::before {

    content: "❧";

    position: absolute;

    left: 50%;
    top: -72px;

    transform: translateX(-50%);

    width: min(86%, 1080px);

    overflow: hidden;

    font-family:
        "Cormorant Garamond",
        Georgia,
        serif;

    font-size: 25px;
    line-height: 30px;

    letter-spacing: 0;

    text-align: center;

    color: #d8bb70;

   background:
    linear-gradient(
        to bottom,
        transparent 14px,
        rgba(216, 187, 112, 0.52) 14px,
        rgba(216, 187, 112, 0.52) 15px,
        transparent 15px
    );

    text-shadow:
        0 1px 2px rgba(0, 0, 0, 0.72),
        0 0 9px rgba(216, 187, 112, 0.18);

    pointer-events: none;
}

/* ========================================
   EVERPASTURE SECOND-ROW GALLERY RAIL
   PERMANENT WALL ARCHITECTURE
   ======================================== */

.awards-page .recognition-everpasture {
    position: relative !important;
}


/* SECOND-ROW RAIL */

.awards-page .recognition-everpasture::before {
    content: "";

    position: absolute;

    width: 1000px;
    max-width: 72%;

    height: 1px;

    left: 50%;

    /*
    Vertical position of the rail.
    This sits above the two lower laurels.
    */

    top: 625px;

    transform: translateX(-50%);

    background:
        linear-gradient(
            to right,
            transparent,
            rgba(201, 167, 93, 0.25) 8%,
            rgba(216, 187, 112, 0.72) 28%,
            rgba(244, 225, 171, 0.82) 50%,
            rgba(216, 187, 112, 0.72) 72%,
            rgba(201, 167, 93, 0.25) 92%,
            transparent
        );

    box-shadow:
        0 1px 3px rgba(0, 0, 0, 0.55),
        0 0 7px rgba(216, 187, 112, 0.10);

    pointer-events: none;

    z-index: 0;
}


/* SECOND-ROW CENTER JEWEL */

.awards-page .recognition-everpasture::after {
    content: "◆";

    position: absolute;

    left: 50%;
    top: 617px;

    transform: translateX(-50%);

    padding: 0 8px;

    font-family: Georgia, serif;
    font-size: 10px;
    line-height: 18px;

    color: #d8bb70;

    text-shadow:
        0 1px 2px rgba(0, 0, 0, 0.8),
        0 0 8px rgba(216, 187, 112, 0.28);

    pointer-events: none;

    z-index: 1;
}

/* ========================================
   EVERPASTURE LOWER ROW
   DROP BELOW SECOND GALLERY RAIL
   ======================================== */

.awards-page .recognition-everpasture
.recognition-laurel:nth-of-type(5),

.awards-page .recognition-everpasture
.recognition-laurel:nth-of-type(6),

.awards-page .recognition-everpasture
.recognition-laurel:nth-of-type(7),

.awards-page .recognition-everpasture
.recognition-laurel:nth-of-type(8) {

    margin-top: 42px !important;
}

/* EVERPASTURE — LOWER ROW FIRST LAUREL ALIGNMENT */

.awards-page .recognition-everpasture
.recognition-laurel:nth-of-type(5) {
    margin-top: 54px !important;
}

/* ========================================
   EVERPASTURE TOP ROW DOO-DADS
   MOUNT DIRECTLY ON GALLERY RAIL
   ======================================== */

.awards-page .recognition-everpasture
.recognition-laurel:nth-of-type(-n+5)::before {
    top: -38px !important;
}


/* Extend the hanging thread down from the rail */

.awards-page .recognition-everpasture
.recognition-laurel:nth-of-type(-n+5)::after {
    top: -31px !important;
    height: 30px !important;
}

/* ========================================
   TITAN DRIFT — INDIE X HOVER CORRECTION
   Prevent Everpasture's special IndieX
   hover treatment from affecting Titan.
   ======================================== */

.awards-page .recognition-titan
.recognition-laurel:nth-child(1) img:hover,

.awards-page .recognition-titan
.recognition-laurel:nth-child(2) img:hover {
    transform: translateY(-38px) scale(1.55) !important;
    z-index: 60 !important;
    filter: drop-shadow(0 18px 22px rgba(0,0,0,.90)) !important;
}

/* ========================================
   TITAN DRIFT RECOGNITION GALLERY
   Permanent gallery hardware
   ======================================== */

.awards-page .recognition-titan {
    position: relative !important;
}


/* ----------------------------------------
   TITAN UPPER ROW — GOLD DOO-DADS
   Five laurels on the main rail
   ---------------------------------------- */

.awards-page .recognition-titan
.recognition-laurel:nth-of-type(-n+4)::before {
    content: "";
    position: absolute;
    left: 50%;
    top: -38px !important;
    width: 5px;
    height: 5px;
    border: 1px solid rgba(216,187,112,.78);
    border-radius: 50%;
    background: rgba(72,52,27,.88);
    box-shadow: 0 0 5px rgba(216,187,112,.25);
    transform: translateX(-50%);
    pointer-events: none;
}

.awards-page .recognition-titan
.recognition-laurel:nth-of-type(-n+4)::after {
    content: "";
    position: absolute;
    left: 50%;
    top: -31px !important;
    width: 1px;
    height: 30px !important;
    background:
        linear-gradient(
            to bottom,
            rgba(216,187,112,.65),
            rgba(216,187,112,.12)
        );
    transform: translateX(-50%);
    pointer-events: none;
}


/* ----------------------------------------
   TITAN DIRECTOR LAUREL
   Give the sixth honor its own lower row
   ---------------------------------------- */

.awards-page .recognition-titan
.recognition-laurel:nth-of-type(6) {
    margin-top: 42px !important;
}


/* ----------------------------------------
   TITAN SECOND PERMANENT GALLERY RAIL
   Director recognition rail
   ---------------------------------------- */

.awards-page .recognition-titan::before {
    content: "";
    position: absolute;
    width: 430px;
    max-width: 36%;
    height: 1px;
    left: 50%;
    top: 625px;
    transform: translateX(-50%);

    background:
        linear-gradient(
            to right,
            transparent,
            rgba(201,167,93,.25) 8%,
            rgba(216,187,112,.72) 28%,
            rgba(244,225,171,.82) 50%,
            rgba(216,187,112,.72) 72%,
            rgba(201,167,93,.25) 92%,
            transparent
        );

    box-shadow:
        0 1px 3px rgba(0,0,0,.55),
        0 0 7px rgba(216,187,112,.10);

    pointer-events: none;
    z-index: 0;
}


/* Center diamond on Director rail */

.awards-page .recognition-titan::after {
    content: "◆";
    position: absolute;
    left: 50%;
    top: 617px;
    transform: translateX(-50%);
    padding: 0 8px;

    font-family: Georgia, serif;
    font-size: 10px;
    line-height: 18px;

    color: #d8bb70;

    text-shadow:
        0 1px 2px rgba(0,0,0,.8),
        0 0 8px rgba(216,187,112,.28);

    pointer-events: none;
    z-index: 1;
}


/* ----------------------------------------
   DIRECTOR LAUREL — SINGLE GOLD DOO-DAD
   ---------------------------------------- */

.awards-page .recognition-titan
.recognition-laurel:nth-of-type(n+5)::before {
    content: "";
    position: absolute;
    left: 50%;
    top: -25px !important;
    width: 5px;
    height: 5px;

    border: 1px solid rgba(216,187,112,.78);
    border-radius: 50%;

    background: rgba(72,52,27,.88);

    box-shadow:
        0 0 5px rgba(216,187,112,.25);

    transform: translateX(-50%);
    pointer-events: none;
}

.awards-page .recognition-titan
.recognition-laurel:nth-of-type(n+5)::after {
    content: "";
    position: absolute;
    left: 50%;
    top: -18px !important;
    width: 1px;
    height: 17px !important;

    background:
        linear-gradient(
            to bottom,
            rgba(216,187,112,.65),
            rgba(216,187,112,.12)
        );

    transform: translateX(-50%);
    pointer-events: none;
}

/* ========================================
   TITAN DRIFT — JIG-A-MOO-BOB DELIVERY
   ======================================== */

.awards-page .recognition-titan
.recognition-laurel-wall .recognition-laurel {
    opacity: 0;
}

.awards-page .recognition-titan
.recognition-laurel.is-delivering {
    animation:
        titanLaurelDelivery
        2.75s
        cubic-bezier(.22,.75,.25,1)
        forwards;
}

.awards-page .recognition-titan
.recognition-laurel.is-hung {
    opacity: 1;
    transform: none;
}


@keyframes titanLaurelDelivery {

    0% {
        opacity: 0;
        transform:
            translateX(520px)
            translateY(38px)
            rotate(2deg);
    }

    10% {
        opacity: 1;
    }

    48% {
        opacity: 1;
        transform:
            translateX(0)
            translateY(38px)
            rotate(-1deg);
    }

    62% {
        transform:
            translateX(0)
            translateY(-9px)
            rotate(2.2deg);
    }

    72% {
        transform:
            translateX(0)
            translateY(0)
            rotate(-1.5deg);
    }

    81% {
        transform:
            translateX(0)
            translateY(0)
            rotate(.9deg);
    }

    90% {
        transform:
            translateX(0)
            translateY(0)
            rotate(-.35deg);
    }

    100% {
        opacity: 1;
        transform:
            translateX(0)
            translateY(0)
            rotate(0deg);
    }
}


@media (prefers-reduced-motion: reduce) {

    .awards-page .recognition-titan
    .recognition-laurel-wall .recognition-laurel {
        opacity: 1;
        transform: none;
        animation: none;
    }

    .awards-page .recognition-titan
    .recognition-delivery-stage {
        display: none;
    }
}

/* ========================================
   TITAN DRIFT — FINAL RAIL ALIGNMENT
   ======================================== */


/* MAIN UPPER PERMANENT RAIL */

.awards-page .recognition-titan
.recognition-laurel-wall {
    position: relative !important;
    padding-top: 38px !important;
    padding-bottom: 46px !important;
    overflow: visible !important;
}

.awards-page .recognition-titan
.recognition-laurel-wall::before {
    content: "";
    position: absolute;

    left: 4%;
    right: 4%;
    top: 4px;

    height: 1px;

    background:
        linear-gradient(
            to right,
            transparent,
            rgba(201,167,93,.25) 8%,
            rgba(216,187,112,.72) 28%,
            rgba(244,225,171,.82) 50%,
            rgba(216,187,112,.72) 72%,
            rgba(201,167,93,.25) 92%,
            transparent
        );

    box-shadow:
        0 1px 3px rgba(0,0,0,.55),
        0 0 7px rgba(216,187,112,.10);

    pointer-events: none;
}

.awards-page .recognition-titan
.recognition-laurel-wall::after {
    content: "◆";

    position: absolute;
    left: 50%;
    top: -5px;

    transform: translateX(-50%);

    padding: 0 10px;

    font-family: Georgia, serif;
    font-size: 13px;
    line-height: 18px;

    color: #d8bb70;

    text-shadow:
        0 1px 2px rgba(0,0,0,.8),
        0 0 8px rgba(216,187,112,.28);

    pointer-events: none;
}


/* ----------------------------------------
   DIRECTOR'S SECOND RAIL
   Center it on the actual sixth laurel
   rather than the entire Titan section.
   ---------------------------------------- */

.awards-page .recognition-titan::before {
    width: 1000px !important;
    max-width: none !important;

    /*
    Titan's sixth card occupies the second
    column of the five-column gallery grid.
    Move the rail left to meet it.
    */
    left: 50% !important;

    transform: translateX(-50%) !important;
}

.awards-page .recognition-titan::after {
    left: 50% !important;
    transform: translateX(-50%) !important;
}

/* ========================================
   TITAN DRIFT — CERTIFICATE CLOSING ORNAMENT
   ======================================== */

.awards-page .recognition-titan
.recognition-certificates {
    position: relative;
    margin-top: 116px !important;
}


/* Fragile gold rule + center flourish */

.awards-page .recognition-titan
.recognition-certificates::before {
    content: "❧";

    position: absolute;
    left: 50%;
    top: -72px;

    transform: translateX(-50%);

    width: min(86%, 1080px);
    overflow: hidden;

    font-family:
        "Cormorant Garamond",
        Georgia,
        serif;

    font-size: 25px;
    line-height: 30px;
    text-align: center;

    color: #d8bb70;

background:
    linear-gradient(
        to bottom,
        transparent 14px,
        rgba(216, 187, 112, 0.52) 14px,
        rgba(216, 187, 112, 0.52) 15px,
        transparent 15px
    );

    text-shadow:
        0 1px 2px rgba(0,0,0,.72),
        0 0 9px rgba(216,187,112,.18);

    pointer-events: none;
}


/* ========================================
   TITAN DRIFT — THREE-ROW LAUREL GALLERY

   Rail 1: Laurels 1–4
   Rail 2: Laurels 5–8
   Rail 3: Laurel 9 (Nashville)

   Future recognitions can join Rail 3.
   ======================================== */

/* UPPER ROW — FOUR LAURELS */

.awards-page .recognition-titan
.recognition-laurel:nth-child(1) {
    grid-column: 2 / span 2;
}

.awards-page .recognition-titan
.recognition-laurel:nth-child(2) {
    grid-column: 4 / span 2;
}

.awards-page .recognition-titan
.recognition-laurel:nth-child(3) {
    grid-column: 6 / span 2;
}

.awards-page .recognition-titan
.recognition-laurel:nth-child(4) {
    grid-column: 8 / span 2;
}

/* MIDDLE ROW — FOUR LAURELS */

.awards-page .recognition-titan
.recognition-laurel:nth-child(5) {
    grid-column: 2 / span 2;
}

.awards-page .recognition-titan
.recognition-laurel:nth-child(6) {
    grid-column: 4 / span 2;
}

.awards-page .recognition-titan
.recognition-laurel:nth-child(7) {
    grid-column: 6 / span 2;
}

.awards-page .recognition-titan
.recognition-laurel:nth-child(8) {
    grid-column: 8 / span 2;
}

/* LOWER ROW — NASHVILLE */

.awards-page .recognition-titan
.recognition-laurel:nth-child(9) {
    grid-column: 2 / span 2;
}

/* Remove old individual vertical offsets.
   Grid rows now control alignment. */

.awards-page .recognition-titan
.recognition-laurel:nth-child(n+5) {
    margin-top: 0 !important;
}

/* Comfortable spacing between rows */

.awards-page .recognition-titan
.recognition-laurel-wall {
    row-gap: 100px !important;
}


/* ========================================
   TITAN DRIFT — THIRD STATIONARY GOLD RAIL
   Nashville and future recognitions
   ======================================== */

/* Stationary rail container */

.awards-page .recognition-titan
.titan-third-rail {
    position: absolute;
    left: 50%;
    top: 770px;

    width: 1000px;
    height: 1px;

    transform: translateX(-50%);

 background: linear-gradient(
    to right,
    transparent,
    rgba(201,167,93,.25) 8%,
    rgba(216,187,112,.72) 28%,
    rgba(244,225,171,.82) 50%,
    rgba(216,187,112,.72) 72%,
    rgba(201,167,93,.25) 92%,
    transparent
);

    box-shadow:
        0 1px 3px rgba(0,0,0,.55),
        0 0 7px rgba(216,187,112,.10);

    pointer-events: none;
    z-index: 0;
}

/* Center gold diamond */

.awards-page .recognition-titan
.titan-third-rail::after {
    content: "◆";

    position: absolute;
    left: 50%;
    top: -9px;

    transform: translateX(-50%);

    padding: 0 8px;

    font-family: Georgia, serif;
    font-size: 10px;
    line-height: 18px;

    color: #d8bb70;

    text-shadow:
        0 1px 2px rgba(0,0,0,.8),
        0 0 8px rgba(216,187,112,.28);
}

/* ========================================
   MAERA'S TIDE + ECHOES IN THE GLASS
   SINGLE-LAUREL GALLERY HARDWARE
   ======================================== */

.awards-page .recognition-maera,
.awards-page .recognition-echoes {
    position: relative !important;
}


/* ----------------------------------------
   SINGLE-LAUREL WALL
   ---------------------------------------- */

.awards-page .recognition-maera
.recognition-laurel-wall,

.awards-page .recognition-echoes
.recognition-laurel-wall {
    position: relative !important;

    display: grid !important;
    grid-template-columns: repeat(2, minmax(220px, 310px)) !important;
    column-gap: 70px !important;
    justify-content: center !important;
grid-auto-flow: column !important;

    padding-top: 38px !important;
    padding-bottom: 72px !important;

    overflow: visible !important;
}


/* ----------------------------------------
   PERMANENT GOLD RAIL
   ---------------------------------------- */

.awards-page .recognition-maera
.recognition-laurel-wall::before,

.awards-page .recognition-echoes
.recognition-laurel-wall::before {
    content: "";

    position: absolute;

    width: 900px;
    max-width: 72%;

    height: 1px;

    left: 50%;
    top: 4px;

    transform: translateX(-50%);

    background:
        linear-gradient(
            to right,
            transparent,
            rgba(201,167,93,.25) 8%,
            rgba(216,187,112,.72) 28%,
            rgba(244,225,171,.82) 50%,
            rgba(216,187,112,.72) 72%,
            rgba(201,167,93,.25) 92%,
            transparent
        );

    box-shadow:
        0 1px 3px rgba(0,0,0,.55),
        0 0 7px rgba(216,187,112,.10);

    pointer-events: none;
}


/* Center diamond */

.awards-page .recognition-maera
.recognition-laurel-wall::after,

.awards-page .recognition-echoes
.recognition-laurel-wall::after {
    content: "◆";

    position: absolute;

    left: 50%;
    top: -5px;

    transform: translateX(-50%);

    padding: 0 10px;

    font-family: Georgia, serif;
    font-size: 13px;
    line-height: 18px;

    color: #d8bb70;

    text-shadow:
        0 1px 2px rgba(0,0,0,.8),
        0 0 8px rgba(216,187,112,.28);

    pointer-events: none;
}

/* MAERA — SEMI-FINALIST INWARD ALIGNMENT */
.awards-page .recognition-maera
.recognition-laurel:nth-child(2) {
    left: -225px !important;
}

/* ECHOES — SEMI-FINALIST INWARD ALIGNMENT */
.awards-page .recognition-echoes
.recognition-laurel:nth-child(2) {
    left: -225px !important;
}

/* ----------------------------------------
   ONE GOLD DOO-DAD + THREAD
   ---------------------------------------- */

.awards-page .recognition-maera
.recognition-laurel::before,

.awards-page .recognition-echoes
.recognition-laurel::before {
    content: "";

    position: absolute;

    left: 50%;
    top: -38px !important;

    width: 5px;
    height: 5px;

    border:
        1px solid rgba(216,187,112,.78);

    border-radius: 50%;

    background:
        rgba(72,52,27,.88);

    box-shadow:
        0 0 5px rgba(216,187,112,.25);

    transform: translateX(-50%);

    pointer-events: none;
}


.awards-page .recognition-maera
.recognition-laurel::after,

.awards-page .recognition-echoes
.recognition-laurel::after {
    content: "";

    position: absolute;

    left: 50%;
    top: -31px !important;

    width: 1px;
    height: 30px !important;

    background:
        linear-gradient(
            to bottom,
            rgba(216,187,112,.65),
            rgba(216,187,112,.12)
        );

    transform: translateX(-50%);

    pointer-events: none;
}

/* ========================================
   MAERA + ECHOES
   JIG-A-MOO-BOB SINGLE-LAUREL DELIVERY
   ======================================== */

.awards-page .recognition-maera
.recognition-laurel-wall .recognition-laurel,

.awards-page .recognition-echoes
.recognition-laurel-wall .recognition-laurel {
    opacity: 0;
}


.awards-page .recognition-maera
.recognition-laurel.is-delivering,

.awards-page .recognition-echoes
.recognition-laurel.is-delivering {
    animation:
        singleLaurelDelivery
        2.75s
        cubic-bezier(.22,.75,.25,1)
        forwards;
}


.awards-page .recognition-maera
.recognition-laurel.is-hung,

.awards-page .recognition-echoes
.recognition-laurel.is-hung {
    opacity: 1;
    transform: none;
}


@keyframes singleLaurelDelivery {

    0% {
        opacity: 0;

        transform:
            translateX(520px)
            translateY(38px)
            rotate(2deg);
    }

    10% {
        opacity: 1;
    }

    48% {
        opacity: 1;

        transform:
            translateX(0)
            translateY(38px)
            rotate(-1deg);
    }

    62% {
        transform:
            translateX(0)
            translateY(-9px)
            rotate(2.2deg);
    }

    72% {
        transform:
            translateX(0)
            translateY(0)
            rotate(-1.5deg);
    }

    81% {
        transform:
            translateX(0)
            translateY(0)
            rotate(.9deg);
    }

    90% {
        transform:
            translateX(0)
            translateY(0)
            rotate(-.35deg);
    }

    100% {
        opacity: 1;

        transform:
            translateX(0)
            translateY(0)
            rotate(0deg);
    }
}


@media (prefers-reduced-motion: reduce) {

    .awards-page .recognition-maera
    .recognition-laurel-wall .recognition-laurel,

    .awards-page .recognition-echoes
    .recognition-laurel-wall .recognition-laurel {
        opacity: 1;
        transform: none;
        animation: none;
    }

    .awards-page .recognition-maera
    .recognition-delivery-stage,

    .awards-page .recognition-echoes
    .recognition-delivery-stage {
        display: none;
    }
}

/* ========================================
   RECOGNITION GALLERY
   FESTIVAL EDITION POSTERS
   ======================================== */

.awards-page .recognition-festival-poster {
    position: relative;
    width: min(440px, 88vw);
    margin: 42px auto 82px;
    text-align: center;
    z-index: 2;
}

.awards-page .recognition-festival-poster img {
    display: block;
    width: 100%;
    height: auto;
    margin: 0 auto;

    box-shadow:
        0 18px 34px rgba(0, 0, 0, .72),
        0 0 0 1px rgba(216, 187, 112, .30),
        0 0 18px rgba(216, 187, 112, .08);
}

/* ========================================
   RECOGNITION GALLERY
   FESTIVAL POSTER — LOWER RAIL CORRECTION
   Keeps the permanent second-row rails
   aligned with their lower laurels.
   ======================================== */

/* EVERPASTURE — lower Independent Shorts rail */

.awards-page .recognition-everpasture::before {
    top: 1365px !important;
}

.awards-page .recognition-everpasture::after {
    top: 1357px !important;
}


/* TITAN DRIFT — lower Director recognition rail */

.awards-page .recognition-titan::before {
    top: 1425px !important;
}

.awards-page .recognition-titan::after {
    top: 1417px !important;
}

/* ========================================
   MAERA → ECHOES GALLERY DIVIDER
   ======================================== */

.awards-page .recognition-echoes {
    position: relative !important;
    margin-top: 190px !important;
}

/* Gold divider + center charm */

.awards-page .recognition-echoes::before {
    content: "❧";

    position: absolute;
    left: 50%;
    top: -125px;

    transform: translateX(-50%);

    width: min(86%, 1080px);

    overflow: hidden;

    font-family:
        "Cormorant Garamond",
        Georgia,
        serif;

    font-size: 25px;
    line-height: 30px;

    text-align: center;

    color: #d8bb70;

 background:
    linear-gradient(
        to bottom,
        transparent 14px,
        rgba(216, 187, 112, 0.52) 14px,
        rgba(216, 187, 112, 0.52) 15px,
        transparent 15px
    );

    text-shadow:
        0 1px 2px rgba(0, 0, 0, 0.72),
        0 0 9px rgba(216, 187, 112, 0.18);

    pointer-events: none;
}

/* ========================================
   RECOGNITION GALLERY
   POSTER → DELIVERY STAGE BREATHING ROOM

   Everpasture already lands perfectly.
   Push Titan, Maera and Echoes machinery
   farther below their Festival Edition poster.
   ======================================== */

.awards-page .recognition-titan .recognition-delivery-stage,
.awards-page .recognition-maera .recognition-delivery-stage,
.awards-page .recognition-echoes .recognition-delivery-stage {
    margin-top: 120px !important;
}

/* ========================================
   RECOGNITION GALLERY — THEATER ENTRANCE
   ======================================== */

.awards-page .recognition-theater-divider {
    position: relative;
    width: min(86%, 1080px);
    height: 34px;
    margin: 105px auto 70px;

    border-top:
        1px solid rgba(216, 187, 112, 0.52);

    font-size: 0;
    line-height: 0;
}

/* Little gold gallery charm */

.awards-page .recognition-theater-divider::before {
    content: "❧";

    position: absolute;
    left: 50%;
    top: -15px;

    transform: translateX(-50%);

    padding: 0 12px;

    font-family:
        "Cormorant Garamond",
        Georgia,
        serif;

    font-size: 25px;
    line-height: 30px;

    color: #d8bb70;

    text-shadow:
        0 1px 2px rgba(0, 0, 0, 0.72),
        0 0 9px rgba(216, 187, 112, 0.18);

    pointer-events: none;
}


/* ========================================
   FINAL THEATER
   ======================================== */

.awards-page .recognition-theater {
    position: relative;

    width: 100vw;
    max-width: none;

    left: 50%;
    transform: translateX(-50%);

    margin: 0 0 110px;

    text-align: center;

    overflow: hidden;
}

.awards-page .recognition-theater img {
    display: block;

    width: 100%;
    height: auto;

    margin: 0;

    box-shadow:
        0 22px 42px rgba(0, 0, 0, 0.78),
        0 0 24px rgba(216, 187, 112, 0.08);
}

/* ========================================
   RECOGNITION GALLERY — FINAL FOOTER
   Copyright Squirrel + Laurel Divider
   ======================================== */

/* Copyright wording — clean white beneath the theater */

.awards-page footer,
.awards-page footer p,
.awards-page footer .copyright {
    color: #ffffff !important;
}

/* ========================================
   AWARDS PAGE — FINAL COPYRIGHT FOOTER
   ======================================== */

/* Copyright Squirrel — Awards page only */

.awards-page .prismara-footer .copyright-squirrel {
    width: 190px !important;
    max-width: 190px !important;
    height: auto !important;
}


/* Copyright wording — white */

.awards-page .prismara-footer .copyright-text {
    color: #ffffff !important;
}


/* Awards laurel divider */

.awards-page .prismara-footer .copyright-divider {
    width: min(760px, 82vw) !important;
    max-width: 760px !important;
    height: auto !important;
}

/* ========================================
   AWARDS — COPYRIGHT SQUIRREL SIZE
   Honey, UN-shrink the squirrel
   ======================================== */

body.awards-page footer.prismara-footer img.copyright-squirrel {
    display: block !important;

    width: 360px !important;
    max-width: 360px !important;
    min-width: 36px !important;

    height: auto !important;

    margin-left: auto !important;
    margin-right: auto !important;
}

/* ========================================
   PRISMARA MEMORY — HEADING
   ======================================== */

.memory-game-heading {
    text-align: center;
    color: #f4ead2;
    padding: 70px 24px 55px;
}

.memory-game-heading h1 {
    margin: 0 0 18px;
    color: #f4ead2;
    font-family: "Cormorant Garamond", Georgia, serif;
    font-size: 52px;
    letter-spacing: 0.08em;
    font-weight: 600;
}

.memory-game-heading p {
    color: #eadfc8;
    font-size: 18px;
    line-height: 1.6;
    margin: 8px auto;
}

.memory-game-heading .memory-game-reward-note {
    color: #d8bb70;
    font-style: italic;
}

.memory-game-difficulty {
    display: inline-block;
    margin-top: 22px;
    padding: 8px 18px;
    border: 1px solid rgba(216, 187, 112, 0.55);
    color: #d8bb70;
    letter-spacing: 0.12em;
    font-size: 13px;
}

/* ========================================
   PRISMARA MEMORY — GAME AREA
   ======================================== */

.memory-game-status {
    margin: 0 auto 28px;
    text-align: center;
    color: #d8bb70;
    font-family: "Cormorant Garamond", Georgia, serif;
    font-size: 18px;
    letter-spacing: 0.10em;
}


/* BOARD + ACORN PANEL */

.memory-game-layout {
    width: min(96%, 1760px);
    margin: 0 auto;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 34px;
}


/* 10 × 5 MEMORY BOARD */

.memory-board {
    flex: 1 1 auto;
    min-width: 0;

    display: grid;
    grid-template-columns: repeat(10, minmax(78px, 1fr));
    gap: 10px;

    padding: 18px;

    border: 1px solid rgba(216, 187, 112, 0.32);

    background:
        rgba(8, 7, 5, 0.28);
}


/* ACORN DISCOVERY PANEL */

.memory-acorn-panel {
    flex: 0 0 180px;

    padding: 18px 14px 20px;

    text-align: center;

    border: 1px solid rgba(216, 187, 112, 0.42);

    background:
        rgba(8, 7, 5, 0.40);
}


.memory-acorn-title {
    margin-bottom: 14px;

    color: #d8bb70;

    font-family: "Cormorant Garamond", Georgia, serif;

    font-size: 15px;

    letter-spacing: 0.10em;
}


.memory-acorn-box {
    position: relative;

    width: 120px;
    height: 120px;

    margin: 0 auto 14px;

    display: flex;
    align-items: center;
    justify-content: center;

    border: 1px solid rgba(216, 187, 112, 0.45);

    background:
        rgba(0, 0, 0, 0.28);
}


.memory-acorn-dormant {
    color: rgba(216, 187, 112, 0.42);

    font-family: Georgia, serif;

    font-size: 52px;
}


#memory-acorn-reward {
    display: none;

    width: 94px;
    height: 94px;

    object-fit: contain;

cursor: url("../images/cursors/prismara-pointer.png") 8 2, pointer !important;}


.memory-acorn-message {
    min-height: 42px;

    color: #eadfc8;

    font-size: 14px;

    line-height: 1.45;
}


/* COMPLETION MESSAGE */

.memory-complete {
    min-height: 34px;

    margin: 34px auto 12px;

    text-align: center;

    color: #d8bb70;

    font-family: "Cormorant Garamond", Georgia, serif;

    font-size: 23px;

    letter-spacing: 0.06em;
}


/* PLAY AGAIN */

.memory-play-again {
    display: block;

    margin: 0 auto 90px;

    padding: 11px 24px;

    border: 1px solid rgba(216, 187, 112, 0.58);

    background: rgba(8, 7, 5, 0.55);

    color: #d8bb70;

    font-family: "Cormorant Garamond", Georgia, serif;

    font-size: 15px;

    letter-spacing: 0.10em;

    cursor: pointer;
}


.memory-play-again:hover {
    background: rgba(216, 187, 112, 0.10);
    color: #f4ead2;
}


/* SMALLER SCREENS */

@media (max-width: 1050px) {

    .memory-game-layout {
        display: block;
    }

    .memory-board {
        overflow-x: auto;
    }

    .memory-acorn-panel {
        width: 180px;
        margin: 28px auto 0;
    }
}

/* ========================================
   PRISMARA MEMORY — CARDS
   ======================================== */

.memory-card {
    position: relative;

    width: 100%;
    aspect-ratio: 3 / 4;

    padding: 0;

    border: 0;

    background: transparent;

    cursor: pointer;

    perspective: 900px;
}


.memory-card-inner {
    position: absolute;
    inset: 0;

    display: block;

    transition: transform 0.48s ease;

    transform-style: preserve-3d;
}


.memory-card.is-turned .memory-card-inner,
.memory-card.is-matched .memory-card-inner {
    transform: rotateY(180deg);
}


.memory-card-front,
.memory-card-back {
    position: absolute;
    inset: 0;

    display: flex;
    align-items: center;
    justify-content: center;

    overflow: hidden;

    border: 2px solid #b99545;

    box-sizing: border-box;

    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;

    box-shadow:
        inset 0 0 0 1px rgba(255, 230, 154, 0.18),
        0 3px 8px rgba(0, 0, 0, 0.55);
}


/* FACE-DOWN CARD */

.memory-card-front {
    color: #d8bb70;

    font-family:
        "Cormorant Garamond",
        Georgia,
        serif;

    font-size: 34px;

    background:
        linear-gradient(
            145deg,
            rgba(45, 35, 20, 0.94),
            rgba(10, 9, 7, 0.98)
        );
}


/* REVEALED IMAGE */

.memory-card-back {
    background: #080705;

    transform: rotateY(180deg);
}


.memory-card-back img {
    display: block;

    width: 100%;
    height: 100%;

    object-fit: cover;
}


/* HOVER */

.memory-card:not(.is-turned):not(.is-matched):hover
.memory-card-front {
    border-color: #e1c477;

    box-shadow:
        inset 0 0 12px rgba(216, 187, 112, 0.15),
        0 0 10px rgba(216, 187, 112, 0.18);
}


/* MATCHED PAIR */

.memory-card.is-matched
.memory-card-back {
    border-color: #d8bb70;

    box-shadow:
        0 0 9px rgba(216, 187, 112, 0.32);
}


/* ========================================
   ACORN ACTIVATION
   ======================================== */

.memory-acorn-box.is-ready {
    border-color: #d8bb70;

    box-shadow:
        0 0 16px rgba(216, 187, 112, 0.38);
}


.memory-acorn-box.is-ready
#memory-acorn-reward {
    animation:
        memoryAcornPulse
        1.6s ease-in-out
        infinite;
}


.memory-acorn-box.is-collected
#memory-acorn-reward {
    animation: none;

    opacity: 0.62;
}


@keyframes memoryAcornPulse {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.08);
    }
}


/* GAME COMPLETE */

.memory-complete.is-complete {
    color: #f4ead2;

    text-shadow:
        0 0 10px
        rgba(216, 187, 112, 0.28);
}

/* MEMORY ACORN — SITE-WIDE TOTAL */

.memory-acorn-total {
    margin-top: 10px;

    color: #d8bb70;

    font-family: "Cormorant Garamond", Georgia, serif;

    font-size: 20px;

    font-weight: 600;

    letter-spacing: 0.08em;
}

/* ========================================
   PRISMARA GAMES COPYRIGHT FOOTER
   ======================================== */

.games-copyright-footer {
    text-align: center;
    margin: 40px auto 25px;
}

.games-copyright-image {
    display: block;
    width: 700px;
    max-width: 90%;
    height: auto;
    margin: 0 auto;
}

/* ========================================
   PRISMARA SEASONAL DECORATIONS
   MASTER SAFETY RULE
   ======================================== */

.prismara-seasonal-decor {
    display: none;
}

/* HALLOWEEN — SEPTEMBER 15 THROUGH NOVEMBER 1 */
html.prismara-season-halloween .prismara-seasonal-decor.prismara-halloween {
    display: block;
}

/* CHRISTMAS — NOVEMBER 14 THROUGH JANUARY 6 */
html.prismara-season-christmas .prismara-seasonal-decor.prismara-christmas {
    display: block;
}

/* HALLOWEEN COBWEB — POSITION TEST */

/* HALLOWEEN COBWEB */

.halloween-cobweb {
    position: absolute;
    top: 0;
    left: 0;

    width: 300px;
    height: auto;

    z-index: 6;
    pointer-events: none;

    filter: brightness(0.32) saturate(0.55);
    transition: filter 3s ease;
}

/* HALLOWEEN COBWEB — RIGHT MIRROR */

.halloween-cobweb-right {
    left: auto;
    right: 0;

    transform: scaleX(-1);
}

/* HALLOWEEN DECOR AWAKENS WITH THE OPAL */

.carousel-stage.is-awake .halloween-cobweb {
    filter: brightness(1) saturate(1);
}

/* ========================================
   HALLOWEEN — LEFT WEB SPIDER
   ======================================== */

.halloween-web-spider-1 {
    position: absolute;

    top: 95px;
    left: 75px;

    width: 45px;
    height: auto;

    z-index: 7;
    pointer-events: none;

    filter: brightness(0.32) saturate(0.55);
    transition: filter 3s ease;
}

.carousel-stage.is-awake .halloween-web-spider-1 {
    filter: brightness(1) saturate(1);
}

/* ========================================
   HALLOWEEN — RIGHT WEB SPIDER
   ======================================== */

.halloween-web-spider-2 {
    position: absolute;

    top: 95px;
    right: 75px;

    width: 45px;
    height: auto;

    z-index: 7;
    pointer-events: none;

    transform: scaleX(-1);

    filter: brightness(0.32) saturate(0.55);
    transition: filter 3s ease;
}

.carousel-stage.is-awake .halloween-web-spider-2 {
    filter: brightness(1) saturate(1);
}

/* ========================================
   HALLOWEEN — WEB SPIDER MOVEMENT
   ======================================== */

/* LEFT SPIDER — ALEIGHSPIDRA */

.carousel-stage.is-awake .halloween-web-spider-1 {
    transform-origin: 50% 0%;
    animation: aleighspidraWiggle 5.8s ease-in-out infinite;
}

@keyframes aleighspidraWiggle {

    /* REST */
    0%, 18% {
        transform: translate(0, 0) rotate(0deg);
    }

    /* LITTLE CLIMB */
    24% {
        transform: translate(0, -3px) rotate(-1deg);
    }

    /* BACK THROUGH HOME */
    30% {
        transform: translate(0, 0) rotate(1deg);
    }

    /* LITTLE DROP */
    36% {
        transform: translate(1px, 4px) rotate(0deg);
    }

    /* TINY SHIMMY */
    40% {
        transform: translate(-1px, 3px) rotate(-1deg);
    }

    44% {
        transform: translate(1px, 2px) rotate(1deg);
    }

    /* SETTLE HOME */
    50%, 100% {
        transform: translate(0, 0) rotate(0deg);
    }
}


/* RIGHT SPIDER — TWIN */

.carousel-stage.is-awake .halloween-web-spider-2 {
    transform-origin: 50% 0%;
    animation: aleighspidraTwinWiggle 6.6s ease-in-out infinite;
}

@keyframes aleighspidraTwinWiggle {

    /* KEEP HER MIRRORED + REST */
    0%, 24% {
        transform: scaleX(-1) translate(0, 0) rotate(0deg);
    }

    /* LITTLE DROP FIRST */
    30% {
        transform: scaleX(-1) translate(0, 4px) rotate(-1deg);
    }

    36% {
        transform: scaleX(-1) translate(-1px, 2px) rotate(1deg);
    }

    /* LITTLE CLIMB */
    42% {
        transform: scaleX(-1) translate(0, -3px) rotate(0deg);
    }

    /* TINY SHIMMY */
    46% {
        transform: scaleX(-1) translate(1px, -2px) rotate(1deg);
    }

    50% {
        transform: scaleX(-1) translate(-1px, -1px) rotate(-1deg);
    }

    /* SETTLE HOME */
    56%, 100% {
        transform: scaleX(-1) translate(0, 0) rotate(0deg);
    }
}

/* ========================================
   HALLOWEEN — BONES
   ======================================== */

.halloween-bones {
    position: absolute;

    left: 40px;
    bottom: 55px;

    width: 380px;
    height: auto;

    z-index: 7;
    pointer-events: none;

    filter: brightness(0.32) saturate(0.55);
    transition: filter 3s ease;
}

/* BONES AWAKENS WITH THE OPAL */

.carousel-stage.is-awake .halloween-bones {
    filter: brightness(1) saturate(1);
}

/* ========================================
   HALLOWEEN — CALCIUM SINATRA MAGIC ACORN
   ======================================== */

.halloween-calcium-acorn {
    position: absolute;

    left: 270px;
    bottom: 250px;

    width: 32px;
    height: auto;

    z-index: 9;
    pointer-events: none;

    filter: brightness(0.32) saturate(0.55);
    transition: filter 3s ease;
}

.carousel-stage.is-awake .halloween-calcium-acorn {
    filter: brightness(1) saturate(1);
}

/* ========================================
   CALCIUM SINATRA — OPERATION SPINNY NUT
   ======================================== */

.carousel-stage.is-awake .halloween-calcium-acorn {
    transform-origin: 50% 50%;
    animation: calciumSpinnyNut 5.8s ease-in-out infinite;
}

@keyframes calciumSpinnyNut {

    /* REST IN CALCIUM'S FINGERS */
    0%, 18% {
        transform: rotate(0deg);
    }

    /* GENTLE FORWARD ROLL */
    25% {
        transform: rotate(12deg);
    }

    31% {
        transform: rotate(22deg);
    }

    /* LITTLE SETTLE */
    37% {
        transform: rotate(16deg);
    }

    /* ROLL BACK THROUGH CENTER */
    44% {
        transform: rotate(4deg);
    }

    /* TINY REVERSE ROLL */
    50% {
        transform: rotate(-8deg);
    }

    /* RETURN TO HIS FINGERS */
    57% {
        transform: rotate(2deg);
    }

    63%, 100% {
        transform: rotate(0deg);
    }
}

/* ========================================
   HALLOWEEN — THEATER SHEER
   ======================================== */

.halloween-sheer {
    position: absolute;

    top: 35px;
    left: 50%;

    width: 900px;
    max-width: 90%;
    height: auto;

    transform: translateX(-50%);

    z-index: 40;
    pointer-events: none;

    filter: brightness(0.32) saturate(0.55);
    transition: filter 3s ease;
}

/* HALLOWEEN SHEER AWAKENS WITH THE OPAL */

.carousel-stage.is-awake .halloween-sheer {
    filter: brightness(1) saturate(1);
}

/* ========================================
   HALLOWEEN SHEER — CURTAIN RISE TEST
   ======================================== */

@keyframes halloweenSheerRise {
    from {
        transform: translateX(-50%) translateY(0);
    }

    to {
        transform: translateX(-50%) translateY(-115%);
    }
}

.carousel-stage.is-awake .halloween-sheer {
    animation: halloweenSheerRise 3s ease-in-out 2s forwards;
}


/* ========================================
   CHRISTMAS — WINTER THEATER SHEER
   ======================================== */

.winter-sheer {
    position: absolute;

    top: 15px;
    left: 50%;

    width: 900px;
    max-width: 90%;
    height: auto;

    transform: translateX(-50%);

    z-index: 100;
    pointer-events: none;

    display: block;
    visibility: visible;

    opacity: 1;

    filter: brightness(0.48) saturate(0.55);

    transition: filter 3s ease,
                opacity 3s ease 2s;
}

/* WINTER SHEER AWAKENS WITH THE OPAL */

.carousel-stage.is-awake .winter-sheer {
    filter: brightness(0.75) saturate(0.75);

    opacity: 0;

    animation: winterSheerRise 3s ease-in-out 2s forwards;
}

/* WINTER SHEER — CURTAIN RISE */

@keyframes winterSheerRise {
    from {
        transform: translateX(-50%) translateY(0);
    }

    to {
        transform: translateX(-50%) translateY(-115%);
    }
}

/* ========================================
   HALLOWEEN — PUMPKIN
   ======================================== */

.halloween-pumpkin {
    position: absolute;
 
   right: 200px;
    bottom: 55px;

    width: 260px;
    height: auto;

    z-index: 7;
    pointer-events: none;

    filter: brightness(0.32) saturate(0.55);
    transition: filter 3s ease;
}

/* PUMPKIN AWAKENS WITH THE OPAL */

.carousel-stage.is-awake .halloween-pumpkin {
    filter: brightness(1) saturate(1);
}

/* ========================================
   HALLOWEEN — PUMPKIN STAR TWINKLE
   ======================================== */

.halloween-pumpkin-twinkle {
    position: absolute;

    right: 300px;
    bottom: 100px;

    width: 55px;
    height: auto;

    z-index: 9;
    pointer-events: none;

    filter: brightness(0.32) saturate(0.55);
    transition: filter 3s ease;
}

.carousel-stage.is-awake .halloween-pumpkin-twinkle {
    filter: brightness(1) saturate(1);
}

/* PUMPKIN STAR — OCCASIONAL TWINKLE */

.carousel-stage.is-awake .halloween-pumpkin-twinkle {
    transform-origin: 50% 50%;
    animation: pumpkinStarTwinkle 6.4s ease-in-out infinite;
}

@keyframes pumpkinStarTwinkle {

    0%, 68% {
        transform: scale(0.65);
        opacity: 0;
    }

    72% {
        transform: scale(0.85);
        opacity: 0.35;
    }

    75% {
        transform: scale(1.12);
        opacity: 1;
    }

    78% {
        transform: scale(0.92);
        opacity: 0.55;
    }

    81%, 100% {
        transform: scale(0.65);
        opacity: 0;
    }
}

/* ========================================
   HALLOWEEN — HAY
   ======================================== */

.halloween-hay {
    position: absolute;
    left: 390px;
    bottom: 125px;

    width: 260px;
    height: auto;

    z-index: 6;
    pointer-events: none;

    filter: brightness(0.32) saturate(0.55);
    transition: filter 3s ease;
}

/* HAY AWAKENS WITH THE OPAL */

.carousel-stage.is-awake .halloween-hay {
    filter: brightness(1) saturate(1);
}

/* HAY — RIGHT MIRROR */

.halloween-hay-right {
    left: auto;
    right: 390px;
    transform: scaleX(-1);
}

/* ========================================
   HALLOWEEN — CANDLES
   ======================================== */

.halloween-candles {
    position: absolute;
    right: 90px;
    bottom: 90px;

    width: 220px;
    height: auto;

    z-index: 8;
    pointer-events: none;

    filter: brightness(0.32) saturate(0.55);
    transition: filter 3s ease;
}

/* CANDLES AWAKEN WITH THE OPAL */

.carousel-stage.is-awake .halloween-candles {
    filter: brightness(1) saturate(1);
}

/* ========================================
   HALLOWEEN — CANDLE FLAME #1
   ======================================== */

.halloween-candle-flame-1 {
    position: absolute;

    right: 159px;
    bottom: 184px;

    width: 30px;
    height: auto;

    z-index: 9;
    pointer-events: none;

    filter: brightness(0.32) saturate(0.55);
    transition: filter 3s ease;
}

/* FLAME #1 AWAKENS WITH THE OPAL */

.carousel-stage.is-awake .halloween-candle-flame-1 {
    filter: brightness(1) saturate(1);
}

/* FLAME #1 — LIVING FLICKER */

.carousel-stage.is-awake .halloween-candle-flame-1 {
    transform-origin: 50% 100%;
    animation: halloweenFlameOne 1.15s ease-in-out infinite;
}

@keyframes halloweenFlameOne {
    0% {
        transform: scaleX(1) scaleY(1) rotate(0deg);
        opacity: 0.88;
    }

    25% {
        transform: scaleX(0.92) scaleY(1.07) rotate(-2deg);
        opacity: 1;
    }

    50% {
        transform: scaleX(1.05) scaleY(0.96) rotate(1deg);
        opacity: 0.90;
    }

    75% {
        transform: scaleX(0.96) scaleY(1.04) rotate(2deg);
        opacity: 1;
    }

    100% {
        transform: scaleX(1) scaleY(1) rotate(0deg);
        opacity: 0.88;
    }
}

/* ========================================
   HALLOWEEN — CANDLE FLAME #2
   ======================================== */

.halloween-candle-flame-2 {
    position: absolute;

    right: 187px;
    bottom: 235px;

    width: 30px;
    height: auto;

    z-index: 9;
    pointer-events: none;

    filter: brightness(0.32) saturate(0.55);
    transition: filter 3s ease;
}

/* FLAME #2 AWAKENS WITH THE OPAL */

.carousel-stage.is-awake .halloween-candle-flame-2 {
    filter: brightness(1) saturate(1);
}

/* FLAME #2 — LIVING FLICKER */

.carousel-stage.is-awake .halloween-candle-flame-2 {
    transform-origin: 50% 100%;
    animation: halloweenFlameTwo 1.32s ease-in-out infinite;
}

@keyframes halloweenFlameTwo {
    0% {
        transform: scaleX(1) scaleY(1) rotate(0deg);
        opacity: 0.90;
    }

    22% {
        transform: scaleX(1.04) scaleY(0.96) rotate(2deg);
        opacity: 1;
    }

    48% {
        transform: scaleX(0.93) scaleY(1.08) rotate(-2deg);
        opacity: 0.89;
    }

    73% {
        transform: scaleX(1.02) scaleY(1.03) rotate(1deg);
        opacity: 1;
    }

    100% {
        transform: scaleX(1) scaleY(1) rotate(0deg);
        opacity: 0.90;
    }
}

/* ========================================
   HALLOWEEN — CANDLE FLAME #3
   ======================================== */

.halloween-candle-flame-3 {
    position: absolute;

    right: 225px;
    bottom: 210px;

    width: 30px;
    height: auto;

    z-index: 9;
    pointer-events: none;

    filter: brightness(0.32) saturate(0.55);
    transition: filter 3s ease;
}

/* FLAME #3 AWAKENS WITH THE OPAL */

.carousel-stage.is-awake .halloween-candle-flame-3 {
    filter: brightness(1) saturate(1);
}

/* FLAME #3 — LIVING FLICKER */

.carousel-stage.is-awake .halloween-candle-flame-3 {
    transform-origin: 50% 100%;
    animation: halloweenFlameThree 1.24s ease-in-out infinite;
}

@keyframes halloweenFlameThree {
    0% {
        transform: scaleX(1) scaleY(1) rotate(0deg);
        opacity: 0.91;
    }

    20% {
        transform: scaleX(0.95) scaleY(1.06) rotate(-1deg);
        opacity: 1;
    }

    46% {
        transform: scaleX(1.04) scaleY(0.97) rotate(2deg);
        opacity: 0.90;
    }

    71% {
        transform: scaleX(0.93) scaleY(1.08) rotate(-2deg);
        opacity: 1;
    }

    100% {
        transform: scaleX(1) scaleY(1) rotate(0deg);
        opacity: 0.91;
    }
}

/* ========================================
   HALLOWEEN — MIDNIGHT
   ======================================== */

.halloween-midnight {
    position: absolute;
    right: 150px;
    bottom: 165px;

    width: 300px;
    height: auto;

    z-index: 6;
    pointer-events: none;

    transform: scaleX(-1);

    filter: brightness(0.32) saturate(0.55);
    transition: filter 3s ease;
}

.carousel-stage.is-awake .halloween-midnight {
    filter: brightness(1) saturate(1);
}

/* ========================================
   HALLOWEEN — WITCH HAT
   ======================================== */

.halloween-witch-hat {
    position: absolute;
    left: 35px;
    bottom: 55px;

    width: 220px;
    height: auto;

    z-index: 8;
    pointer-events: none;

    filter: brightness(0.32) saturate(0.55);
    transition: filter 3s ease;
}

.carousel-stage.is-awake .halloween-witch-hat {
    filter: brightness(1) saturate(1);
}

/* ========================================
   HALLOWEEN — REAR HAY
   ======================================== */

.halloween-hay-back {
    position: absolute;
    left: 50%;
    bottom: 170px;

    width: 300px;
    height: auto;

    transform: translateX(-50%);

    z-index: 4;
    pointer-events: none;

    filter: brightness(0.32) saturate(0.55);
    transition: filter 3s ease;
}

.carousel-stage.is-awake .halloween-hay-back {
    filter: brightness(1) saturate(1);
}

/* ========================================
   HALLOWEEN — CROWN SPIDER
   ======================================== */

.halloween-spider {
    position: absolute;

    top: 80px;
    left: calc(50% - 330px);

    width: 150px;
    height: auto;

    z-index: 45;
    pointer-events: none;

    filter: brightness(0.32) saturate(0.55);
    transition: filter 3s ease;
}

.carousel-stage.is-awake .halloween-spider {
    filter: brightness(1) saturate(1);
}

/* ========================================
   AWARDS — UNDER-THEATER OPERATIONS
   ======================================== */

.awards-page .awards-undertheater {
    position: relative;
    width: 100%;
    overflow: hidden;
    line-height: 0;
}

.awards-page .awards-undertheater-backdrop {
    display: block;
    width: 100%;
    height: auto;
}

.awards-page .awards-undertheater-squirrel {
    position: absolute;
    left: 50%;
    bottom: 7%;
    transform: translateX(-50%);
    width: 360px;
    height: auto;
    z-index: 3;
}

.awards-page .awards-undertheater-trolley {
    position: absolute;
    top: 24%;
    left: 50%;
    transform: translateX(-50%);
    width: 210px;
    height: auto;
    z-index: 2;
    pointer-events: none;
    animation: awardsUndertheaterTrolley 12s ease-in-out infinite;
}

@keyframes awardsUndertheaterTrolley {

    0%, 10% {
        left: 25%;
    }

    45%, 55% {
        left: 75%;
    }

    90%, 100% {
        left: 25%;
    }
}

/* ========================================
   PRISMARA GAMES — ACORN STATUS
   ======================================== */

.games-acorn-status {
    color: #ffffff;
    font-size: 18px;
    line-height: 1.6;
    margin-left: 80px;
    margin-top: 40px;
    position: relative;
    padding-right: 420px;
}

.games-acorn-status h2 {
    color: #ffffff;
}

.games-acorn-current-count {
    color: #ffffff;
}

.games-acorn-coming-soon {
    color: #ffffff;
}

.games-acorn-challenge {
    color: #ffffff;
    font-size: 18px;
    line-height: 1.6;
    margin-left: 80px;
    margin-top: 55px;
}

/* ========================================
   ENTER THE GAMES — ACORN DISCOVERY POSITION
   ======================================== */

.games-acorn-status {
    position: relative;
    padding-right: 420px;
}

.games-acorn-status ~ .memory-game-layout {
    position: absolute;
    top: 335px;
    right: 225px;
    width: 300px;
}

.games-acorn-insignia {
    width: 265px;
    height: auto;
    display: block;

    position: absolute;
    top: 340px;
    right: 885px;
}


/* ========================================
   PRISMARA GAMES — NEW SECTION TEXT
   ======================================== */

.games-guide-sections,
.games-guide-section,
.games-reset-collection,
.games-secret-code-chamber,
.games-reset-dialog {
    color: #ffffff;
}

.games-guide-section h2,
.games-reset-collection h2,
.games-secret-code-chamber h2 {
    color: #ffffff;
}

.games-guide-section p,
.games-reset-collection p,
.games-secret-code-chamber p {
    color: #ffffff;
}


/* ==========================================
   PRISMARA GAMES — GUIDE SECTION LAYOUT
   ========================================== */

.games-guide-sections {
    width: 100%;
    box-sizing: border-box;
    padding: 0 4.2%;
    margin: 45px auto 65px;
    color: #ffffff;
}

.games-guide-section {
    margin: 0 0 65px;
}

.games-guide-section h2 {
    font-size: 34px;
    line-height: 1.3;
    margin: 0 0 35px;
    color: #ffffff;
}

.games-guide-section p {
    font-size: 21px;
    line-height: 1.75;
    margin: 0 0 24px;
    color: #ffffff;
}

.games-guide-section p:last-child {
    margin-bottom: 0;
}

/* PRISMARA GAMES — THE EXPLORER'S ILLUSTRATED GALLERY */

.games-guide-sections {
width: 100%;
box-sizing: border-box;
padding: 22px clamp(24px, 4.2vw, 90px) 35px;
margin: 45px auto 65px;
color: #f2e5cf;
overflow: hidden;
}

.games-guide-pair {
position: relative;
width: 100%;
min-height: 360px;
margin: 0 auto 86px;
display: flex;
align-items: center;
justify-content: flex-start;
isolation: isolate;
}

.games-guide-pair:nth-child(even) { justify-content: flex-end; }
.games-guide-section {
position: relative;
z-index: 1;
box-sizing: border-box;
width: 70%;
padding: clamp(24px, 3vw, 42px);
border: 1px solid rgba(202, 164, 100, .72);
border-radius: 12px;
background: linear-gradient(140deg, rgba(38,31,27,.96), rgba(19,18,17,.92));
box-shadow: 0 15px 38px rgba(0,0,0,.32), inset 0 0 25px rgba(197,151,76,.045);
color: #f0dfc3;
}

.games-guide-pair:nth-child(odd) .games-guide-section { padding-right: clamp(75px, 9vw, 145px); }
.games-guide-pair:nth-child(even) .games-guide-section { padding-left: clamp(75px, 9vw, 145px); }
.games-guide-art {
position: absolute;
z-index: 2;
width: 43%;
max-height: 490px;
height: auto;
object-fit: contain;
top: 50%;
transform: translateY(-50%);
filter: drop-shadow(0 14px 16px rgba(0,0,0,.48));
pointer-events: none;
}

.games-guide-pair:nth-child(odd) .games-guide-art { right: 0; }
.games-guide-pair:nth-child(even) .games-guide-art { left: 0; }
.games-guide-section::before {
content: "✦";
display: block;
color: #d9b877;
font-size: 22px;
margin-bottom: 14px;
}

.games-guide-section::after {
content: "";
display: block;
width: 120px;
max-width: 60%;
height: 1px;
margin-top: 24px;
background: linear-gradient(90deg, #cba668, transparent);
}

.games-guide-section h2 {
color: #e8c78d;
font-size: clamp(25px, 2.1vw, 34px);
line-height: 1.25;
margin: 0 0 26px;
letter-spacing: .025em;
}

.games-guide-section p {
color: #f0e3cc;
font-size: clamp(18px, 1.18vw, 21px);
line-height: 1.75;
margin: 0 0 20px;
}

.games-guide-section p strong { color: #edcf98; }
.games-guide-section p:last-of-type { margin-bottom: 0; }

/* Each box and its artwork enter together, once per visit. */

@media (prefers-reduced-motion: no-preference) {
.games-guide-sections.games-motion-ready .games-guide-section {
opacity: 0;
translate: -56px 0;
transition: opacity .9s ease, translate .9s cubic-bezier(.2,.75,.2,1);
}

.games-guide-sections.games-motion-ready .games-guide-pair:nth-child(even) .games-guide-section {
translate: 56px 0;
}

.games-guide-sections.games-motion-ready .games-guide-art {
opacity: 0;
translate: 56px 0;
transition: opacity .9s ease, translate .9s cubic-bezier(.2,.75,.2,1);
}

.games-guide-sections.games-motion-ready .games-guide-pair:nth-child(even) .games-guide-art {
translate: -56px 0;
}

.games-guide-sections.games-motion-ready .games-guide-pair.games-revealed .games-guide-section,
.games-guide-sections.games-motion-ready .games-guide-pair.games-revealed .games-guide-art {
opacity: 1;
translate: 0 0;
}
}

/* ========================================
   PRISMARA GAMES — SMALLER ARTWORK
   ======================================== */

.games-guide-art {
    width: 34%;
    max-height: 410px;
}

.games-guide-pair:nth-child(odd) .games-guide-section {
    padding-right: 65px;
}

.games-guide-pair:nth-child(even) .games-guide-section {
    padding-left: 65px;
}

/* MOBILE LAYOUT — KEEP THIS */

@media (max-width: 850px) {
.games-guide-sections { padding: 15px 20px 30px; }
.games-guide-pair, .games-guide-pair:nth-child(even) {
min-height: 0;
margin-bottom: 48px;
flex-direction: column;
align-items: center;
}

.games-guide-art {
position: relative;
top: auto;
left: auto !important;
right: auto !important;
transform: none;
order: -1;
width: min(90%, 440px);
max-height: none;
margin-bottom: -14px;
}

.games-guide-section,
.games-guide-pair:nth-child(odd) .games-guide-section,
.games-guide-pair:nth-child(even) .games-guide-section {
width: 100%;
padding: 23px;
}
}

/* ========================================
   PRISMARA GAMES — ENCHANTED DOORWAY
   ======================================== */

/* Create room for the doorway on the right */

.games-reset-collection,
.games-secret-code-chamber {
    position: relative;
    width: 48%;
    box-sizing: border-box;
    margin-left: 5%;
    margin-right: 0;
}

/* Position the doorway beside both sections */

.games-doorway {
    position: relative;
    float: right;
    width: 38%;
    max-width: 560px;
    margin: 0 6% 30px 2%;
    z-index: 2;
}

.games-doorway img {
    display: block;
    width: 100%;
    height: auto;
    max-height: 580px;
    object-fit: contain;
    filter: drop-shadow(0 15px 25px rgba(0, 0, 0, 0.55));
}

/* Keep the footer beneath the doorway */

.games-copyright-footer {
    clear: both;
}

/* Stack everything neatly on smaller screens */

@media (max-width: 850px) {

    .games-doorway {
        float: none;
        width: 85%;
        max-width: 460px;
        margin: 30px auto;
    }

    .games-reset-collection,
    .games-secret-code-chamber {
        width: 90%;
        margin: 25px auto;
    }
}

/* ========================================
   GAMES — RESET ACORN COLLECTION
   ======================================== */

.games-reset-collection {
    background: rgba(12, 20, 25, 0.82);
    border: 1px solid rgba(211, 174, 94, 0.65);
    border-radius: 16px;
    padding: 28px 30px;
    margin-bottom: 28px;

    box-shadow:
        0 0 22px rgba(218, 174, 85, 0.12),
        inset 0 0 18px rgba(255, 220, 140, 0.04);

    color: #eee4d2;
    text-align: center;
}

.games-reset-collection h2 {
    font-family: "Cormorant Garamond", Georgia, serif;
    color: #e8c47c;
    font-size: 30px;
    letter-spacing: 1px;
    margin: 0 0 16px;
}

.games-reset-collection p {
    font-size: 16px;
    line-height: 1.7;
    margin-bottom: 14px;
}

#games-reset-acorns {
    background: linear-gradient(
        135deg,
        #76531e,
        #c49a4c,
        #76531e
    );

    color: #fff8e8;
    border: 1px solid #e5c57c;
    border-radius: 8px;
    padding: 12px 24px;
    font-size: 15px;
    font-weight: bold;
    cursor: pointer;

    transition:
        box-shadow 0.3s ease,
        filter 0.3s ease;
}

#games-reset-acorns:hover {
    filter: brightness(1.15);
    box-shadow: 0 0 18px rgba(235, 188, 94, 0.45);
}

/* ========================================
   GAMES — SECRET CODE CHAMBER
   ======================================== */

.games-secret-code-chamber {
    background: linear-gradient(
        145deg,
        rgba(12, 17, 29, 0.94),
        rgba(30, 22, 35, 0.90)
    );

    border: 1px solid rgba(213, 173, 95, 0.75);
    border-radius: 16px;
    padding: 30px;
    margin-bottom: 35px;

    box-shadow:
        0 0 25px rgba(193, 143, 67, 0.14),
        inset 0 0 30px rgba(100, 75, 125, 0.12);

    color: #eee4d2;
    text-align: center;
}

.games-secret-code-chamber h2 {
    font-family: "Cormorant Garamond", Georgia, serif;
    color: #e8c47c;
    font-size: 30px;
    letter-spacing: 1.5px;
    margin: 0 0 16px;
}

.games-secret-code-chamber p {
    font-size: 16px;
    line-height: 1.7;
    margin: 0 0 13px;
}

.games-secret-code-chamber strong {
    color: #f0d69a;
}

/* The enchanted golden lock */

.games-secret-code-lock {
    font-size: 46px;
    margin: 22px auto 16px;
    line-height: 1.3;

    filter: drop-shadow(
        0 0 10px rgba(255, 196, 83, 0.5)
    );

    animation: prismara-lock-glow 4s ease-in-out infinite;
}

@keyframes prismara-lock-glow {
    0%, 100% {
        filter: drop-shadow(
            0 0 5px rgba(255, 196, 83, 0.25)
        );
    }

    50% {
        filter: drop-shadow(
            0 0 17px rgba(255, 196, 83, 0.75)
        );
    }
}

/* Respect reduced-motion preferences */

@media (prefers-reduced-motion: reduce) {
    .games-secret-code-lock {
        animation: none;
    }
}

/* ========================================
   COPYRIGHT SQUIRREL — CHAMBER OVERLAP
   ======================================== */

.games-copyright-footer {
    position: relative;
    margin-top: -110px;
    z-index: 5;
}

.games-copyright-footer img {
    position: relative;
    z-index: 6;
}

/* ========================================
   PRISMARA GAMES — SELECTIVE GOLD FRAMES
   ======================================== */

img.games-guide-art[src*="prismara-mysteries"],
img.games-guide-art[src*="prismara-puzzles"],
img.games-guide-art[src*="prismara-titan"],
img.games-guide-art[src*="everpasture-challenge"],
.games-doorway img {
    border: 1px solid rgba(211, 174, 94, 0.65);
    border-radius: 10px;
    box-sizing: border-box;

    box-shadow:
        0 0 18px rgba(218, 174, 85, 0.12),
        0 12px 28px rgba(0, 0, 0, 0.35);
}

/* ========================================
   DOORWAY — FIT GOLD FRAME TO ARTWORK
   ======================================== */

.games-doorway img {
    width: auto;
    max-width: 100%;
    height: auto;
    max-height: 580px;
    margin: 0 auto;
}

/* ========================================
   PRISMARA GAMES — GOLDEN NAVIGATION LINKS
   ======================================== */

.games-guide-link {
    display: block;
    margin-top: 24px;
    padding: 13px 20px;

    background: rgba(215, 190, 139, 0.16);
    border: 1px solid rgba(215, 190, 139, 0.65);
    border-radius: 10px;

    color: #e8cb8b;
    font-size: 17px;
    font-weight: 600;
    text-align: center;
    text-decoration: none;

    transition:
        background 0.3s ease,
        box-shadow 0.3s ease,
        transform 0.3s ease;
}

.games-guide-link:hover,
.games-guide-link:focus-visible {
    background: rgba(215, 190, 139, 0.28);
    box-shadow: 0 0 18px rgba(215, 190, 139, 0.22);
    transform: translateY(-2px);
}

/* Space between consecutive golden game links */
.games-guide-link + .games-guide-link {
    margin-top: 12px;
}


/* ==========================================
   PRISMARA FILMS — SIX-WORLD HOMEPAGE INTRO
   Six-second cinematic welcome
   ========================================== */

.prismara-intro {
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: #000;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;

    animation: prismara-six-world-fade 6s ease forwards;
}

.prismara-intro img {
    display: block;
    width: 100%;
    max-width: none;
    height: 100%;
    max-height: 100%;
    object-fit: contain;

    animation: prismara-six-world-entrance 6s ease-out forwards;
}

@keyframes prismara-six-world-entrance {
    0% {
        opacity: 0;
        transform: scale(0.96);
        filter: blur(2px);
    }

    15% {
        opacity: 1;
        transform: scale(1);
        filter: blur(0);
    }

    100% {
        opacity: 1;
        transform: scale(1);
        filter: blur(0);
    }
}

@keyframes prismara-six-world-fade {
    0%, 83.33% {
        opacity: 1;
        visibility: visible;
    }

    100% {
        opacity: 0;
        visibility: hidden;
    }
}

@media (prefers-reduced-motion: reduce) {
    .prismara-intro,
    .prismara-intro img {
        animation-duration: 0.01ms;
        animation-fill-mode: forwards;
    }
}

/* This page inherits the site's woodgrain and header from style.css. */
.films-intro { position:fixed; inset:0; z-index:99999; background:#050507; display:flex; align-items:center; justify-content:center; opacity:1; transition:opacity 1.2s ease; }
.films-intro.is-fading { opacity:0; pointer-events:none; }
.films-intro video { width:100%; height:100%; object-fit:contain; }
.films-skip { position:absolute; right:22px; bottom:22px; padding:10px 18px; color:#f6dfac; border:1px solid #c7a46c; background:rgba(0,0,0,.65); font:20px 'Cormorant Garamond',serif; cursor:pointer; }
.films-page-content { min-height:65vh; }
/* Full-width, cinematic looping masthead */
.films-masthead { width:100%; background:#050507; overflow:hidden; }
.films-masthead video { display:block; width:100%; height:auto; max-height:100vh; object-fit:contain; margin:0 auto; }
@media (prefers-reduced-motion:reduce) { .films-masthead video { display:none; } .films-masthead { aspect-ratio:16/9; background:#050507 url("../images/logo/prismara-films.png") center / contain no-repeat; } }
.films-copyright { text-align:center; padding:40px 15px 25px; }
.films-copyright img { display:block; width:min(700px,95%); height:auto; margin:0 auto; }
@media (prefers-reduced-motion:reduce) { .films-intro { display:none; } }

/* ==========================================
   PRISMARA FILMS — CINEMATIC MASTHEAD
   Original proportions, smaller presentation
   ========================================== */

.films-masthead {
    width: 80%;
    max-width: 950px;
    height: auto;
    margin: 20px auto 45px;
    padding: 0;
    background: transparent;
    overflow: hidden;
}

.films-masthead video {
    display: block;
    width: 100%;
    height: auto;
    object-fit: contain;
    border-radius: 0;
}

@media (max-width: 768px) {
    .films-masthead {
        width: 96%;
        max-width: none;
        margin: 15px auto 30px;
    }
}


/* ==========================================
   PRISMARA FILMS — PRODUCTION PROJECTIONIST
   Initial positioning only
   ========================================== */


.films-projectionist {
    position: absolute;
    top: 105px;
    right: 24px;
    width: 275px;
    z-index: 20;
    pointer-events: auto;
}

.films-projectionist img {
    display: block;
    width: 100%;
    height: auto;
}

@media (max-width: 768px) {
    .films-projectionist {
        width: 110px;
        top: 145px;
        right: 5px;
    }
}


/* ==========================================
   FILMS DROPDOWN — CLICK / TOUCH SUPPORT
   ========================================== */

.nav-dropdown.films-menu-open > .dropdown-menu {
    display: block;
}

.films-menu-trigger {
    cursor: pointer;
}

/* ========================================
   PRISMARA NAVIGATION — CLICK TO OPEN
   ======================================== */

.main-nav .nav-dropdown.nav-menu-open > .dropdown-menu {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

/* Keep the visual gap without losing hover */
.main-nav .nav-dropdown::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    height: 12px;
}


/* ========================================
   PRISMARA GAMES — MOBILE LAYOUT REPAIR
   ======================================== */

@media (max-width: 768px) {

    /* Keep the header and navigation inside the screen */

    .cast-page .site-header {
        height: auto;
        min-height: 125px;
        padding: 15px;
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }

    .cast-page .header-logo {
        width: 190px;
        margin: 0;
    }

    .cast-page .main-nav {
        width: 100%;
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 8px;
    }

    .cast-page .main-nav > a,
    .cast-page .nav-dropdown > a {
        display: block;
        padding: 8px 10px;
        font-size: 19px;
    }

    .cast-page .nav-dropdown {
        position: relative;
    }

    .cast-page .dropdown-menu {
        left: 50%;
        min-width: 200px;
        max-width: 90vw;
        z-index: 2000;
    }

    /* Restore readable text */

    .cast-page .games-acorn-status,
    .cast-page .games-acorn-challenge {
        width: auto;
        margin: 30px 20px;
        padding: 0;
        box-sizing: border-box;
    }

    /* Move Acorn Discovery into the page flow */

    .cast-page .games-acorn-status ~ .memory-game-layout {
        position: static;
        width: 100%;
        margin: 25px auto;
        display: block;
    }

    .cast-page .memory-acorn-panel {
        width: min(280px, 90%);
        margin: 0 auto;
    }

    /* Keep the insignia from overlapping text */

    .cast-page .games-acorn-insignia {
        position: static;
        width: min(220px, 70%);
        margin: 25px auto;
    }
}

/* ========================================
   PRISMARA MEMORY — MOBILE CARD GRID
   50 cards / 4 columns
   ======================================== */

@media (max-width: 768px) {

    .memory-page-main .memory-board {
        display: grid;
        grid-template-columns: repeat(4, minmax(0, 1fr));

        gap: 6px;
        padding: 8px;

        width: 100%;
        box-sizing: border-box;

        overflow-x: visible;
        height: auto;
    }

    .memory-page-main .memory-card {
        width: 100%;
        min-width: 0;
        aspect-ratio: 3 / 4;
    }

}

/* ========================================
   CAST CHALLENGE — MOBILE INSTRUCTIONS
   ======================================== */

.cast-mobile-instruction {
    display: none;
}

@media (max-width: 768px) {

    .cast-mobile-instruction {
        display: block;
        text-align: center;
        color: #d8bb70;
        font-size: 15px;
        line-height: 1.5;
        margin: 15px 20px 12px;
        font-style: italic;
    }

}

/* ========================================
   PRISMARA ABOUT FAMILY — MOBILE HEADER
   ======================================== */

@media (max-width: 768px) {

    body.about-page .site-header {
        height: auto;
        min-height: 125px;
        padding: 15px;
        flex-direction: column;
        align-items: center;
        gap: 15px;
        box-sizing: border-box;
    }

    body.about-page .header-logo {
        width: 190px;
        margin: 0;
    }

    body.about-page .main-nav {
        width: 100%;
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 8px;
        box-sizing: border-box;
    }

    body.about-page .main-nav > a,
    body.about-page .nav-dropdown > a {
        display: block;
        padding: 8px 10px;
        font-size: 19px;
    }

    body.about-page .pps-about-main {
        width: 94%;
        max-width: 100%;
        box-sizing: border-box;
    }

    body.about-page .pps-interview-opening,
    body.about-page .pps-interview-conversation {
        max-width: 100%;
        box-sizing: border-box;
    }

}

/* ========================================
   OMNI FILM MEMORIES — MOBILE TAP
   ======================================== */

@media (hover: none), (pointer: coarse) {

    .pps-interview-film-memory.is-mobile-playing
    .pps-interview-film-frame img {
        opacity: 0;
        pointer-events: none;
    }

}

/* ========================================
   OMNI JIGSAW — MOBILE PIECE SELECTION
   ======================================== */

@media (hover: none), (pointer: coarse) {

    #omni-jigsaw .pps-jigsaw-piece {
        cursor: pointer;
        -webkit-tap-highlight-color: transparent;
        touch-action: manipulation;
    }

    #omni-jigsaw .pps-jigsaw-piece.is-touch-selected {
        outline: 3px solid #f5c76b;
        outline-offset: -3px;
        box-shadow: inset 0 0 14px rgba(245, 199, 107, 0.65);
        z-index: 5;
    }

}

@media (hover: none), (pointer: coarse) {

    .pps-interview-film-memory.is-mobile-playing
    .pps-interview-film-frame img {
        opacity: 0;
    }

}

/* ========================================
   MOBILE JIGSAW — TAP SELECTION
   ======================================== */

@media (hover: none), (pointer: coarse) {

    .pps-jigsaw-piece {
        cursor: pointer;
        -webkit-tap-highlight-color: transparent;
        touch-action: manipulation;
    }

    .pps-jigsaw-piece.is-touch-selected {
        outline: 3px solid #f5c76b;
        outline-offset: -3px;
        box-shadow: inset 0 0 14px
            rgba(245, 199, 107, 0.65);
        z-index: 5;
    }

}

/* ========================================
   PPS PORTRAIT LIGHTBOX
   MOBILE CENTERING
   ======================================== */

@media (max-width: 800px) {

    .pps-portrait-lightbox {
        position: fixed;
        inset: 0;

        width: 100vw;
        height: 100dvh;

        box-sizing: border-box;
        padding: 12px;

        display: flex;
        align-items: center;
        justify-content: center;

        overflow: hidden;
    }

    .pps-portrait-lightbox-image {
        display: block;

        max-width: 100%;
        max-height: 90%;

        width: auto;
        height: auto;

        object-fit: contain;

        margin: 0 auto;
    }

    .pps-portrait-lightbox-close {
        top: 12px;
        right: 16px;
        font-size: 42px;
    }

}

/* Filmography dropdown hover text */
.dropdown-menu a[href="films.html"]:hover {
    color: #ffffff;
}

/* PPS mobile portrait zoom */
@media (max-width: 800px) {
    .pps-portrait-lightbox-image {
        touch-action: none;
        transform-origin: center center;
        user-select: none;
        -webkit-user-select: none;
    }

    .pps-portrait-lightbox.is-open
    .pps-portrait-lightbox-image {
        transition: none;
    }
}

/* ========================================
   PRISMARA HOMEPAGE — PORTRAIT SPACING FIX
   Remove artificial theater margins.
   Keep carousel geometry and stage height.
   Desktop and landscape untouched.
   ======================================== */

@media screen and (orientation: portrait)
       and (max-width: 1000px) {

    body:has(> .carousel-stage) > .carousel-stage {
        margin-top: 0;
        margin-bottom: 24px;
    }
}

/* ========================================
   PRISMARA PORTRAIT — CURTAIN RISE + DISSOLVE
   Retains original 2-second wait and 3-second rise.
   Fades during the final portion of the lift.
   Desktop and landscape curtain animations unchanged.
   ======================================== */
@media (orientation: portrait) and (max-width: 1000px) {
    @keyframes prismaraPortraitSheerUnveil {
        0% {
            opacity: 1;
            transform: translateX(-50%) translateY(0);
        }
        55% {
            opacity: 1;
            transform: translateX(-50%) translateY(-63%);
        }
        100% {
            opacity: 0;
            transform: translateX(-50%) translateY(-115%);
        }
    }

    body:has(> .carousel-stage) .carousel-stage.is-awake .halloween-sheer,
    body:has(> .carousel-stage) .carousel-stage.is-awake .winter-sheer {
        animation: prismaraPortraitSheerUnveil 3s ease-in-out 2s forwards;
    }
}

/* ==============================================
   AWARDS GALLERY — PHONE PORTRAIT REPAIR
   Scoped to awards.html; desktop is untouched.
   Preserve Jig-a-moo-bob's delivery animations.
   ============================================== */
@media (max-width: 700px) {
  body.awards-page .site-header {
    height: auto;
    min-height: 125px;
    padding: 14px 10px;
    flex-direction: column;
    align-items: center;
    gap: 12px;
  }
  body.awards-page .header-logo {
    width: min(190px, 65vw);
    margin: 0;
  }
  body.awards-page .main-nav {
    width: 100%;
    min-width: 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 5px 7px;
  }
  body.awards-page .main-nav > a,
  body.awards-page .nav-dropdown > a {
    display: block;
    padding: 7px 8px;
    font-size: 18px;
  }
  body.awards-page .header-gem { display: none; }
  body.awards-page .dropdown-menu {
    min-width: 190px;
    max-width: 88vw;
    z-index: 2000;
  }
  body.awards-page .recognition-gallery {
    padding: 42px 12px 75px;
  }
  body.awards-page .recognition-film {
    width: 100%;
    max-width: 100%;
    margin-bottom: 90px;
  }
  body.awards-page .recognition-gallery-title {
    font-size: clamp(36px, 9vw, 52px);
  }
  body.awards-page .recognition-film-title {
    font-size: clamp(30px, 8vw, 42px);
  }
  body.awards-page .recognition-festival-poster {
    width: min(340px, 88%);
    margin: 30px auto 65px;
  }
  /* Two readable columns rather than four compressed ones.
     Reset desktop's individual grid-column placements. */
  body.awards-page .recognition-laurel-wall {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    column-gap: 18px !important;
    row-gap: 65px !important;
    width: 100% !important;
  }
  body.awards-page .recognition-laurel-wall > .recognition-laurel {
    grid-column: auto !important;
    grid-row: auto !important;
    min-width: 0 !important;
  }
  body.awards-page .recognition-laurel img {
    width: min(100%, 175px) !important;
    height: 130px !important;
    max-width: 100% !important;
  }
  body.awards-page .recognition-laurel h3 {
    font-size: 16px !important;
    letter-spacing: 0.025em !important;
    overflow-wrap: anywhere;
  }
  body.awards-page .recognition-laurel p {
    font-size: 15px !important;
    overflow-wrap: anywhere;
  }
  body.awards-page .recognition-laurel-date {
    font-size: 11px;
    letter-spacing: 0.03em;
  }
  body.awards-page .recognition-certificate {
    width: min(100%, 460px) !important;
  }
  body.awards-page .recognition-certificate-wall {
    gap: 55px !important;
  }
  /* Keep delivery rail and carriage active; do not override
     .is-delivering, .is-hung or animation keyframes. */
  body.awards-page .recognition-delivery-stage {
    width: 96%;
  }
}

/* ==========================================
   PRISMARA AWARDS
   MOBILE — TWO LAUREL WIDTH CORRECTION
   ========================================== */

@media (max-width: 700px) {

    .awards-page .recognition-maera .recognition-laurel-wall,
    .awards-page .recognition-echoes .recognition-laurel-wall {

        display: grid !important;

        grid-template-columns:
            repeat(2, minmax(0, 1fr)) !important;

        gap: 20px !important;

        justify-items: center;

    }

    .awards-page .recognition-maera .recognition-laurel,
    .awards-page .recognition-echoes .recognition-laurel {

        width: 100% !important;
        min-width: 0 !important;
        max-width: 100% !important;

        box-sizing: border-box;

    }

    .awards-page .recognition-maera .recognition-laurel img,
    .awards-page .recognition-echoes .recognition-laurel img {

        display: block;
        width: 100%;
        max-width: 100%;
        height: 145px;
        object-fit: contain;

    }

}

/* ========================================
   PRISMARA AWARDS
   MOBILE — LAUREL POSITION REPAIR
   ======================================== */

@media (max-width: 700px) {

    .awards-page .recognition-maera .recognition-laurel,
    .awards-page .recognition-echoes .recognition-laurel {

        left: 0 !important;
        right: auto !important;

    }

}
/* ========================================
   AWARDS — MOBILE GALLERY REPAIR (OCT 24)
   Desktop rules and delivery animations preserved.
   ======================================== */
@media (max-width: 700px) {
  /* Remove desktop's 220px minimum tracks, 70px gap,
     column-flow, and -225px second-card offset. */
  body.awards-page .recognition-maera .recognition-laurel-wall,
  body.awards-page .recognition-echoes .recognition-laurel-wall {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    grid-auto-flow: row !important;
    column-gap: 18px !important;
    row-gap: 65px !important;
    justify-content: stretch !important;
    justify-items: stretch !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
  body.awards-page .recognition-maera .recognition-laurel-wall > .recognition-laurel,
  body.awards-page .recognition-echoes .recognition-laurel-wall > .recognition-laurel {
    position: relative !important;
    left: 0 !important;
    right: auto !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    grid-column: auto !important;
    grid-row: auto !important;
    box-sizing: border-box !important;
  }
  body.awards-page .recognition-maera .recognition-laurel img,
  body.awards-page .recognition-echoes .recognition-laurel img {
    display: block;
    width: 100% !important;
    max-width: 100% !important;
    height: 130px !important;
    object-fit: contain !important;
  }
  /* Desktop's secondary and tertiary Titan rails have
     fixed 1000px widths/positions, unsuited to a phone.
     Keep the primary wall rail and card hanging points. */
  body.awards-page .recognition-titan::before,
  body.awards-page .recognition-titan::after,
  body.awards-page .recognition-titan .titan-third-rail {
    display: none !important;
  }
  /* Keep the first wall rail in the hanging area. */
  body.awards-page .recognition-everpasture .recognition-laurel-wall,
  body.awards-page .recognition-titan .recognition-laurel-wall {
    padding-top: 65px !important;
  }
  body.awards-page .recognition-everpasture .recognition-laurel-wall::before,
  body.awards-page .recognition-titan .recognition-laurel-wall::before {
    top: 30px !important;
  }
  body.awards-page .recognition-everpasture .recognition-laurel-wall::after,
  body.awards-page .recognition-titan .recognition-laurel-wall::after {
    top: 21px !important;
  }
  /* Copyright Squirrel must fit the available phone width. */
  body.awards-page footer.prismara-footer {
    overflow: visible !important;
  }
  body.awards-page footer.prismara-footer img.copyright-squirrel {
    width: min(100%, 300px) !important;
    max-width: 100% !important;
    height: auto !important;
    object-fit: contain !important;
  }
}

/* ========================================
   PRISMARA AWARDS
   MOBILE — UNDER-THEATER OPERATIONS
   ======================================== */

@media (max-width: 700px) {

    .awards-page .awards-undertheater {
        overflow: visible;
    }

    .awards-page .awards-undertheater-squirrel {
        width: 60%;
        max-width: 240px;
        bottom: 7%;
    }

    .awards-page .awards-undertheater-trolley {
        width: 30%;
        max-width: 125px;
        top: 24%;
    }

}

/* ========================================
   PRISMARA AWARDS
   MOBILE — COPYRIGHT FOOTER POLISH
   ======================================== */

@media (max-width: 700px) {

    .awards-page .prismara-footer .copyright-text {
        font-size: 15px;
        line-height: 1.5;
        text-align: center;
        max-width: 100%;
        padding: 0 12px;
        box-sizing: border-box;
        white-space: normal;
        text-wrap: balance;
    }

}


/* ============================================
   PRISMARA — EVERPASTURE MOBILE HAPPINESS
   PHASE 1: HEADER, APPLE AND LIVING MASTHEAD
   Desktop remains unchanged.
   ============================================ */

@media (max-width: 700px) {

    /* CENTER THE HEADER AND NAVIGATION */

    body.everpasture-page .site-header {
        height: auto;
        min-height: 125px;
        padding: 15px 12px 18px;
        box-sizing: border-box;
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }

    body.everpasture-page .header-logo {
        width: min(190px, 65vw);
        margin: 0;
    }

    body.everpasture-page .main-nav {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        align-items: center;
        width: 100%;
        min-width: 0;
        gap: 7px 9px;
    }

    body.everpasture-page .main-nav > a,
    body.everpasture-page .nav-dropdown > a {
        display: block;
        padding: 8px 9px;
        font-size: 19px;
    }

    body.everpasture-page .dropdown-menu {
        min-width: 190px;
        max-width: 88vw;
        z-index: 2000;
    }

    body.everpasture-page .header-gem {
        display: none;
    }

    /* APPLE — SMALLER, ABOVE NAVIGATION */

    body.everpasture-page .everpasture-header-apple {
        width: 85px;
        top: 0;
        right: 0;
        z-index: 50;
    }

    /* MASTHEAD — KEEP CINEMATIC PROPORTIONS */

    body.everpasture-page .everpasture-living-masthead {
        width: 100%;
        height: auto;
        aspect-ratio: 16 / 9;
        overflow: hidden;
        margin-bottom: 35px;
    }

    body.everpasture-page .everpasture-masthead-scene {
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center;
    }

    /* KEEP BLINDS INSIDE THE MASTHEAD */

    body.everpasture-page .everpasture-blinds {
        inset: 0;
        width: 100%;
        height: 100%;
    }

}



/* ============================================
   EVERPASTURE MOBILE HAPPINESS
   PHASE 2 — POSTER AND TRAILER STACKING
   ============================================ */

@media (max-width: 700px) {

    body.everpasture-page .film-opening {
        display: grid;
        grid-template-columns: minmax(0, 1fr);
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
        gap: 28px;
    }

    body.everpasture-page .film-opening .film-poster-main,
    body.everpasture-page .film-opening .film-trailer-area {
        grid-column: 1;
        width: 100%;
        max-width: 100%;
        min-width: 0;
        margin-left: auto;
        margin-right: auto;
        box-sizing: border-box;
    }

    body.everpasture-page .film-opening .film-poster-main {
        grid-row: 1;
    }

    body.everpasture-page .film-opening .film-trailer-area {
        grid-row: 2;
    }

    body.everpasture-page .film-trailer-area video {
        display: block;
        width: 100%;
        max-width: 100%;
        height: auto;
    }

}

/* ========================================
   EVERPASTURE — MOBILE FILM STATISTICS
   ======================================== */

@media (max-width: 700px) {

    body.everpasture-page .echoes-film-info {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 20px 8px;
        width: 92%;
        box-sizing: border-box;
    }

    body.everpasture-page .echoes-film-detail {
        min-width: 0;
        padding: 8px 5px;
    }

    body.everpasture-page .echoes-film-label,
    body.everpasture-page .echoes-film-value {
        overflow-wrap: anywhere;
    }

}

/* ========================================
   EVERPASTURE — MOBILE STILLS GALLERY
   Two columns, four rows
   Desktop layout remains unchanged
   ======================================== */

@media (max-width: 700px) {

    body.everpasture-page .film-stills {
        width: 92%;
        max-width: 100%;
        margin: 0 auto;
    }

    body.everpasture-page .stills-grid {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 14px;
        width: 100%;
    }

    body.everpasture-page .stills-grid > img,
    body.everpasture-page .everpasture-still-08-memory {
        width: 100%;
        min-width: 0;
        aspect-ratio: 16 / 9;
        box-sizing: border-box;
    }

}

/* ========================================
   EVERPASTURE — MOBILE ACORN DISCOVERY
   Keep notification inside visible screen
   ======================================== */

@media (max-width: 700px) {

    body.everpasture-page #acorn-discovery {
        position: fixed !important;

        left: 50% !important;
        top: 42% !important;

        width: min(320px, 85vw);
        max-width: 85vw;
        box-sizing: border-box;

        transform: translate(-50%, -50%) !important;

        z-index: 99999 !important;
    }

}

/* ========================================
   EVERPASTURE — MOBILE CAST CHALLENGE
   12 cards / 2 columns / 6 rows
   Desktop remains untouched
   ======================================== */

@media (max-width: 700px) {

    body.everpasture-page .film-cast {
        width: 92%;
        max-width: 100%;
        margin: 0 auto 45px;
        box-sizing: border-box;
    }

    body.everpasture-page .film-cast .section-title {
        transform: none;
    }

    body.everpasture-page .cast-grid {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 22px 12px;

        width: 100%;
        max-width: 100%;

        transform: none;
        box-sizing: border-box;
    }

    body.everpasture-page .cast-grid .cast-member {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
        text-align: center;

        min-width: 0;
        gap: 8px;
    }

    body.everpasture-page .cast-grid .cast-member img {
        width: min(140px, 100%);
        height: auto;
        aspect-ratio: 1 / 1;
        object-fit: cover;
        box-sizing: border-box;
    }

    body.everpasture-page .cast-grid .cast-member span {
        font-size: 16px;
        letter-spacing: 1px;
        overflow-wrap: anywhere;
    }

}

/* ==========================================
   PRISMARA FILMS — COLOR PROJECTION STAGE
   ========================================== */

.films-page-content .films-masthead {
    position: relative;
    width: 90%;
    max-width: 1100px;
    margin: 25px auto 60px;
    overflow: visible;
    isolation: isolate;
    background: transparent;
}

.films-page-content .films-masthead video {
    display: block;
    width: 100%;
    height: auto;
    position: relative;
    z-index: 1;
}

/* ==========================================
   PRODUCTION SQUIRREL
   ========================================== */

.films-page-content .films-projectionist {
    position: absolute;
    top: -3%;
    right: -7%;
    width: 25%;
    z-index: 5;
    pointer-events: none;
}

.films-page-content .films-projectionist img {
    width: 100%;
    height: auto;
    display: block;
}

/* ==========================================
   PRISMARA FILMS — GOLDEN STARLIGHT PROJECTOR
   Warm gold with subtle magical colors
   ========================================== */

.films-page-content .films-masthead {
    position: relative;
    isolation: isolate;
}

/* MAIN PROJECTOR LIGHT */

.films-projector-beams {
    position: absolute;

    /* Raised into the space above the masthead */
    right: 125px;
    top: -175px;

    width: 650px;
    height: 165px;

    z-index: 10;
    pointer-events: none;

    transform-origin: right center;

    background:
        linear-gradient(
            to bottom,
            rgba(255, 198, 95, 0.02) 0%,
            rgba(255, 204, 110, 0.12) 25%,
            rgba(255, 220, 145, 0.38) 47%,
            rgba(255, 190, 75, 0.22) 63%,
            rgba(95, 160, 255, 0.09) 79%,
            rgba(165, 100, 255, 0.06) 90%,
            transparent 100%
        );

    clip-path: polygon(
        100% 43%,
        100% 57%,
        0 100%,
        0 0
    );

    filter: blur(10px);

    opacity: 0.85;

    animation:
        prismara-golden-beam-breathe
        6s ease-in-out infinite alternate;
}

/* ==========================================
   GOLDEN SPARKLE FIELD
   ========================================== */

.films-projector-beams::before {
    content: "";

    position: absolute;
    inset: 0;

    background-image:
        radial-gradient(
            circle,
            rgba(255, 235, 170, 0.95) 0 1px,
            transparent 2px
        ),
        radial-gradient(
            circle,
            rgba(255, 205, 100, 0.75) 0 1px,
            transparent 2px
        ),
        radial-gradient(
            circle,
            rgba(145, 205, 255, 0.55) 0 1px,
            transparent 2px
        );

    background-size:
        53px 37px,
        79px 51px,
        101px 69px;

    background-position:
        8px 12px,
        30px 24px,
        15px 40px;

    opacity: 0.75;

    animation:
        prismara-starlight-twinkle
        3.5s ease-in-out infinite alternate;
}

/* ==========================================
   SOFT COLOR SHIMMER
   ========================================== */

.films-projector-beams::after {
    content: "";

    position: absolute;
    inset: 0;

    background:
        linear-gradient(
            to bottom,
            transparent 15%,
            rgba(255, 210, 110, 0.12) 35%,
            rgba(115, 190, 255, 0.12) 55%,
            rgba(175, 115, 255, 0.09) 70%,
            transparent 90%
        );

    opacity: 0.55;

    animation:
        prismara-color-shimmer
        9s ease-in-out infinite alternate;
}

/* ==========================================
   ANIMATIONS
   ========================================== */

@keyframes prismara-golden-beam-breathe {
    from {
        opacity: 0.55;
    }

    to {
        opacity: 0.95;
    }
}

@keyframes prismara-starlight-twinkle {
    from {
        opacity: 0.30;
        background-position:
            8px 12px,
            30px 24px,
            15px 40px;
    }

    to {
        opacity: 0.95;
        background-position:
            20px 5px,
            42px 18px,
            25px 32px;
    }
}

@keyframes prismara-color-shimmer {
    from {
        opacity: 0.15;
    }

    to {
        opacity: 0.65;
    }
}

/* ==========================================
   MOBILE — SMALLER GOLDEN PROJECTION
   ========================================== */

@media (max-width: 700px) {

    .films-projector-beams {
        right: 55px;
        top: -65px;

        width: 230px;
        height: 80px;

        filter: blur(5px);
    }
}

/* ==========================================
   ACCESSIBILITY
   ========================================== */

@media (prefers-reduced-motion: reduce) {

    .films-projector-beams,
    .films-projector-beams::before,
    .films-projector-beams::after {
        animation: none;
    }
}

/* ==========================================
   MOBILE PROJECTION STAGE
   ========================================== */

@media (max-width: 700px) {

    .films-page-content .films-masthead {
        width: 94%;
        margin: 20px auto 40px;
    }

    .films-page-content .films-projectionist {
        width: 24%;
        top: -10%;
        right: 0;
    }

    .films-projector-beams {
        right: 17%;
        top: 10%;
        width: 68%;
        height: 65%;
        filter: blur(5px);
        opacity: 0.55;
    }
}

@media (prefers-reduced-motion: reduce) {
    .films-projector-beams {
        animation: none;
    }
}

/* ==========================================
   PRISMARA FILMS — PROJECTIONIST POSITION
   Move Production Squirrel above masthead
   ========================================== */

.films-page-content .films-masthead {
    position: relative;
    margin-top: 175px;
    overflow: visible;
}

.films-page-content .films-projectionist {
    position: absolute;

    width: 255px;

    top: -175px;
    right: -45px;

    z-index: 20;
    pointer-events: auto;
}

.films-page-content .films-projectionist img {
    display: block;
    width: 100%;
    height: auto;
}

@media (max-width: 700px) {

    .films-page-content .films-masthead {
        margin-top: 100px;
    }

    .films-page-content .films-projectionist {
        width: 105px;
        top: -85px;
        right: 0;
    }

}

/* ==========================================
   PRISMARA FILMS — FLOATING GOLDEN STARDUST
   Additive effect: keeps existing beam
   ========================================== */

/* Stardust stays inside the existing beam */

.films-projector-beams {
    overflow: hidden;
}

/* Three drifting particle layers */

.films-stardust {
    position: absolute;
    inset: 0;

    display: block;
    pointer-events: none;

    background-image:
        radial-gradient(
            circle,
            rgba(255, 239, 177, 0.95) 0 1px,
            transparent 2px
        ),
        radial-gradient(
            circle,
            rgba(255, 191, 78, 0.85) 0 1.5px,
            transparent 3px
        ),
        radial-gradient(
            circle,
            rgba(255, 255, 225, 0.90) 0 0.8px,
            transparent 2px
        );

    background-size:
        67px 49px,
        113px 73px,
        157px 91px;

    opacity: 0;

    animation:
        prismara-stardust-drift
        8s linear infinite;
}

/* Different particle timing */

.films-stardust:nth-child(2) {
    animation-duration: 11s;
    animation-delay: -4s;
    opacity: 0.55;
}

.films-stardust:nth-child(3) {
    animation-duration: 14s;
    animation-delay: -7s;
    opacity: 0.40;
}

/* Stardust travels away from the projector */

@keyframes prismara-stardust-drift {

    0% {
        background-position:
            0 0,
            20px 10px,
            45px 25px;

        opacity: 0;
    }

    15% {
        opacity: 0.70;
    }

    75% {
        opacity: 0.65;
    }

    100% {
        background-position:
            -180px 12px,
            -140px 25px,
            -110px 35px;

        opacity: 0;
    }
}

/* ==========================================
   OCCASIONAL GOLDEN TWINKLES
   ========================================== */

.films-stardust:nth-child(2) {
    filter: drop-shadow(0 0 3px rgba(255, 214, 110, 0.8));
}

.films-stardust:nth-child(3) {
    filter: drop-shadow(0 0 4px rgba(255, 240, 170, 0.6));
}

/* ==========================================
   REDUCED MOTION
   ========================================== */

@media (prefers-reduced-motion: reduce) {

    .films-stardust {
        animation: none;
        opacity: 0.45;
    }

}

/* ==========================================
   PRISMARA FILMS — STARDUST REFINEMENT
   Soft edges and cinematic positioning
   ========================================== */

.films-projector-beams {
    filter: none;

    /* Fade the beam naturally toward the left */
    -webkit-mask-image: linear-gradient(
        to right,
        transparent 0%,
        rgba(0,0,0,0.25) 12%,
        black 38%,
        black 100%
    );

    mask-image: linear-gradient(
        to right,
        transparent 0%,
        rgba(0,0,0,0.25) 12%,
        black 38%,
        black 100%
    );
}

.films-stardust {
    background-size:
        89px 63px,
        137px 97px,
        191px 131px;
}

.films-stardust:nth-child(2) {
    opacity: 0.45;
}

.films-stardust:nth-child(3) {
    opacity: 0.30;
}

/* ==========================================
   PRISMARA FILMS — CINEMATIC GOLD FRAME
   A delicate border around the video
   ========================================== */

.films-page-content .films-masthead video {
    border: 1px solid rgba(199, 164, 108, 0.55);

    box-shadow:
        0 0 12px rgba(199, 164, 108, 0.12),
        0 0 28px rgba(199, 164, 108, 0.06);

    box-sizing: border-box;
}


/* ==========================================
   PRISMARA FILMS — GOLDEN FILMOGRAPHY
   Eight cinematic film presentations
   ========================================== */

.prismara-film-gallery {
    width: 92%;
    max-width: 1180px;
    margin: 70px auto 110px;
    padding: 0 12px;
    box-sizing: border-box;
}

/* GALLERY INTRODUCTION */

.film-gallery-heading {
    text-align: center;
    margin: 0 auto 85px;
}

.film-gallery-heading h1 {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: clamp(32px, 4.5vw, 55px);
    font-weight: 500;
    letter-spacing: 3px;
    line-height: 1.15;
    color: #e4c58b;
    margin: 0 0 12px;
}

.film-gallery-heading p {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: clamp(19px, 2.2vw, 27px);
    font-style: italic;
    color: #d9c7aa;
    margin: 0;
}

.film-gallery-ornament {
    color: #c7a46c;
    font-size: 22px;
    margin-top: 22px;
}

/* EACH FILM PRESENTATION */

.film-feature {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
    align-items: center;
    gap: clamp(25px, 4vw, 65px);
    margin-bottom: 105px;
    padding-bottom: 70px;
    border-bottom: 1px solid rgba(199,164,108,0.25);
}

/* ALTERNATE THE FILM IMAGE LEFT AND RIGHT */

.film-feature:nth-of-type(even) .film-feature-image {
    order: 2;
}

.film-feature:nth-of-type(even) .film-feature-story {
    order: 1;
}

/* GOLD-FRAMED 16:9 FILM IMAGE */

.film-feature-image {
    aspect-ratio: 16 / 9;
    min-width: 0;
    padding: 5px;
    box-sizing: border-box;

    border: 1px solid rgba(218,180,111,0.85);

    background: rgba(12,10,9,0.85);

    box-shadow:
        0 0 0 3px rgba(199,164,108,0.12),
        0 8px 28px rgba(0,0,0,0.38),
        0 0 22px rgba(199,164,108,0.10);

    overflow: hidden;
}

.film-feature-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* FILM INFORMATION */

.film-feature-story {
    min-width: 0;
    color: #e7dac4;
    font-family: 'Cormorant Garamond', Georgia, serif;
}

.film-feature-number {
    display: block;
    font-size: 15px;
    letter-spacing: 4px;
    color: #c7a46c;
    margin-bottom: 14px;
}

.film-feature-story h2 {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: clamp(28px, 3vw, 42px);
    font-weight: 500;
    line-height: 1.15;
    color: #e7c991;
    margin: 0 0 17px;
}

.film-feature-details {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 25px;
    color: #d5b781;
    font-size: 19px;
    letter-spacing: 0.5px;
    margin-bottom: 22px;
}

.film-feature-story p {
    font-size: clamp(19px, 1.9vw, 23px);
    line-height: 1.5;
    color: #e3d7c5;
    margin: 0 0 22px;
}

.film-feature-cast {
    border-top: 1px solid rgba(199,164,108,0.25);
    padding-top: 16px;
    font-size: 19px;
    line-height: 1.45;
}

.film-feature-cast strong {
    display: block;
    font-size: 16px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #c7a46c;
    margin-bottom: 5px;
}

.film-feature-cast span {
    color: #dfd1b8;
}

/* ==========================================
   MOBILE PORTRAIT — STACK THE FILMS
   ========================================== */

@media (max-width: 768px) {

    .prismara-film-gallery {
        width: 94%;
        margin: 45px auto 65px;
        padding: 0 5px;
    }

    .film-gallery-heading {
        margin-bottom: 45px;
    }

    .film-gallery-heading h1 {
        letter-spacing: 1px;
    }

    .film-feature {
        display: flex;
        flex-direction: column;
        gap: 24px;
        margin-bottom: 60px;
        padding-bottom: 45px;
    }

    .film-feature .film-feature-image,
    .film-feature:nth-of-type(even) .film-feature-image {
        order: 1;
        width: 100%;
    }

    .film-feature .film-feature-story,
    .film-feature:nth-of-type(even) .film-feature-story {
        order: 2;
        width: 100%;
    }

    .film-feature-story h2 {
        font-size: clamp(28px, 7vw, 37px);
    }

    .film-feature-story p {
        font-size: 20px;
        line-height: 1.45;
    }

    .film-feature-details {
        font-size: 18px;
    }
}

/* ==========================================
   PRISMARA FILMS — CINEMATIC SCROLL ENTRANCES
   Uses the same independent translate system
   as the Prismara Games page.
   ========================================== */

@media (prefers-reduced-motion: no-preference) {

    .prismara-film-gallery.films-motion-ready
    .film-feature {
        opacity: 0;
        translate: -56px 0;

        transition:
            opacity 0.9s ease,
            translate 0.9s cubic-bezier(.2,.75,.2,1);
    }

    .prismara-film-gallery.films-motion-ready
    .film-feature:nth-of-type(even) {
        translate: 56px 0;
    }

    .prismara-film-gallery.films-motion-ready
    .film-feature.films-revealed,
    .prismara-film-gallery.films-motion-ready
    .film-feature:nth-of-type(even).films-revealed {
        opacity: 1;
        translate: 0 0;
    }
}

@media (prefers-reduced-motion: reduce) {

    .prismara-film-gallery .film-feature {
        opacity: 1;
        translate: none;
        transition: none;
    }
}

/* ==========================================
   PRISMARA FILMS — MOVING FILM PREVIEWS
   Still photograph becomes a moving scene
   without changing the golden frame.
   ========================================== */

.film-feature-image {
    position: relative;
    overflow: hidden;
}

/* Moving picture sits directly over the still */

.film-feature-preview {
    position: absolute;
    inset: 5px;
    width: calc(100% - 10px);
    height: calc(100% - 10px);

    object-fit: cover;

    opacity: 0;
    pointer-events: none;

    transition: opacity 0.45s ease;
}

/* Reveal the video only while it is playing */

.film-feature-image.film-preview-playing
.film-feature-preview {
    opacity: 1;
}

/* Keep the original photograph visible
   when no video is playing. */

.film-feature-image img {
    display: block;
}


/* ==========================================
   PRISMARA FILMS — MOBILE TAP PREVIEWS
   ========================================== */

@media (hover: none), (pointer: coarse) {

    .film-feature-image:has(.film-feature-preview) {
        cursor: pointer;
        touch-action: manipulation;
    }

    .film-feature-image.film-preview-playing
    .film-feature-preview {
        opacity: 1;
    }
}


/* ============================================
   PRISMARA FILMOGRAPHY — MOBILE NAVIGATION
   Based on the PPS Contact mobile header
   Desktop remains untouched.
   ============================================ */

@media (max-width: 767px) {

    /* Stack logo above navigation */

    body:has(.films-page-content) .site-header {
        position: relative;
        z-index: 100;

        height: auto;
        min-height: 0;
        padding: 16px 12px 20px;

        display: flex;
        flex-direction: column;
        align-items: center;

        overflow: visible;
    }

    /* Center Prismara logo */

    body:has(.films-page-content) .header-logo {
        display: block;
        width: min(270px, 75vw);
        margin: 0 auto 20px;
        flex: 0 0 auto;
    }

    body:has(.films-page-content) .header-logo img {
        display: block;
        width: 100%;
        height: auto;
    }

    /* Wrap navigation into centered rows */

    body:has(.films-page-content) .main-nav {
        display: flex;
        flex-wrap: wrap;

        justify-content: center;
        align-items: center;
        align-content: center;

        width: 100%;
        max-width: 100%;

        gap: 8px 12px;
        padding: 0;

        overflow: visible;
    }

    body:has(.films-page-content) .main-nav > a,
    body:has(.films-page-content) .nav-dropdown {
        flex: 0 0 auto;
        margin: 0;
    }

    /* Gold navigation labels */

    body:has(.films-page-content) .main-nav > a,
    body:has(.films-page-content) .nav-dropdown > a {
        display: inline-block;

        font-family: "Cormorant Garamond", Georgia, serif;
        font-size: 19px;
        font-weight: 500;

        padding: 8px 10px;

        white-space: nowrap;
        text-align: center;
    }

    /* Keep dropdown menus above artwork */

    body:has(.films-page-content) .nav-dropdown {
        position: relative;
    }

    body:has(.films-page-content) .dropdown-menu {
        z-index: 10000;
    }
}


/* ==========================================
   PRISMARA FILMS — MOBILE PROJECTOR BEAM
   Align golden light above the masthead.
   Desktop projection remains untouched.
   ========================================== */

@media (max-width: 700px) {

    .films-page-content .films-masthead
    .films-projector-beams {

        /* Beam originates near the projector */
        right: 15%;
        top: -90px;

        /* Spread light toward the left */
        width: 70%;
        height: 85px;

        z-index: 10;
        opacity: 0.75;

        pointer-events: none;
    }
}


/* ==========================================
   PRISMARA PRODUCTION STUDIOS
   SITE-WIDE IMAGE & VIDEO PROTECTION

   Discourage mobile long-press Save menus
   and image dragging on all website pages.
   ========================================== */

img,
video {
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    user-select: none;

    -webkit-user-drag: none;
    user-drag: none;
}

/* Prevent accidental image dragging */

img {
    -webkit-user-select: none;
    user-select: none;
}


/* ==========================================
   PRISMARA DREAMFALL BLOOM
   MOBILE PORTRAIT — NAVIGATION REPAIR
   Desktop remains unchanged.
   ========================================== */

@media screen and (max-width: 767px) and (orientation: portrait) {

    body.dreamfall-page .site-header {
        position: relative;
        z-index: 100;
        height: auto;
        min-height: 0;
        padding: 18px 12px 22px;
        display: flex;
        flex-direction: column;
        align-items: center;
        overflow: visible;
    }

    body.dreamfall-page .header-logo {
        display: block;
        width: min(270px, 75vw);
        margin: 0 auto 20px;
        flex: 0 0 auto;
    }

    body.dreamfall-page .header-logo img {
        display: block;
        width: 100%;
        height: auto;
    }

    body.dreamfall-page .main-nav {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        align-items: center;
        align-content: center;
        width: 100%;
        max-width: 100%;
        gap: 8px 12px;
        padding: 0;
        overflow: visible;
    }

    body.dreamfall-page .main-nav > a,
    body.dreamfall-page .nav-dropdown {
        flex: 0 0 auto;
        margin: 0;
    }

    body.dreamfall-page .main-nav > a,
    body.dreamfall-page .nav-dropdown > a {
        display: inline-block;
        font-family: "Cormorant Garamond", Georgia, serif;
        font-size: 19px;
        font-weight: 500;
        padding: 8px 10px;
        white-space: nowrap;
        text-align: center;
    }

    body.dreamfall-page .nav-dropdown {
        position: relative;
    }

    body.dreamfall-page .dropdown-menu {
        z-index: 10000;
    }

}


/* ==========================================
   DREAMFALL BLOOM — MOBILE PORTRAIT
   MAPLE BRANCH POSITION
   ========================================== */

@media screen and (max-width: 767px) and (orientation: portrait) {

    body.dreamfall-page .dreamfall-leaf-gem {
        display: flex;
        position: absolute;
        top: 0;
        right: 0;
        width: 85px;
        height: 75px;
        z-index: 50;
        pointer-events: none;
    }

    body.dreamfall-page .dreamfall-maple-branch {
        width: 85px;
        max-width: 100%;
        height: auto;
    }

}


/* ==========================================
   DREAMFALL BLOOM
   MOBILE PORTRAIT — MEMORY TREE DOORS
   Keep desktop positions untouched
   ========================================== */

@media screen and (max-width: 767px) and (orientation: portrait) {

    body.dreamfall-page .dreamfall-memory-tree {
        width: 96%;
        max-width: 100%;
        margin: 10px auto 45px;
    }

    body.dreamfall-page .dreamfall-memory-tree-image {
        width: 100%;
        height: auto;
    }

    /* Scale the brass doors with the tree */

    body.dreamfall-page .dreamfall-memory-door {
        width: 9.5%;
        aspect-ratio: 0.76;
    }

    /* Keep the floating memory within phone width */

    body.dreamfall-page .dreamfall-memory-video {
        width: 80vw;
        max-width: 520px;
        max-height: 70dvh;
        object-fit: contain;
    }

}


/* ==========================================
   DREAMFALL BLOOM
   MOBILE PORTRAIT — POSTER & TRAILER
   Desktop remains untouched
   ========================================== */

@media screen and (max-width: 767px) and (orientation: portrait) {

    /* Poster, synopsis, then trailer */

    body.dreamfall-page .film-opening {
        display: grid;
        grid-template-columns: minmax(0, 1fr);
        width: 92%;
        max-width: 520px;
        gap: 28px;
        margin: 20px auto 0;
        align-items: start;
    }

    /* Remove desktop poster width */

    body.dreamfall-page .film-poster-main {
        width: 100%;
        max-width: 340px;
        min-width: 0;
        margin: 0 auto;
        box-sizing: border-box;
    }

    /* Keep living poster proportional */

    body.dreamfall-page .dreamfall-living-poster {
        width: 100%;
        max-width: 100%;
    }

    /* Trailer goes underneath */

    body.dreamfall-page .film-trailer-area {
        width: 100%;
        min-width: 0;
        padding: 5px;
        margin: 0 auto;
        box-sizing: border-box;
    }

    body.dreamfall-page .film-trailer-area video {
        display: block;
        width: 100%;
        max-width: 100%;
        height: auto;
        aspect-ratio: 16 / 9;
    }

    /* Comfortable synopsis reading */

    body.dreamfall-page .film-synopsis {
        width: 100%;
        box-sizing: border-box;
        padding: 18px 4px 0;
    }

}


/* ==========================================
   DREAMFALL BLOOM
   MOBILE PORTRAIT — FILM SPECIFICATIONS
   Desktop remains untouched
   ========================================== */

@media screen and (max-width: 767px) and (orientation: portrait) {

    body.dreamfall-page .maera-film-info {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));

        width: 92%;
        max-width: 520px;
        margin: 28px auto 36px;
        padding: 18px 0;

        gap: 22px 8px;
        box-sizing: border-box;
    }

    body.dreamfall-page .maera-film-info .echoes-film-detail {
        min-width: 0;
        padding: 8px 12px;
        box-sizing: border-box;
    }

    body.dreamfall-page .maera-film-info .echoes-film-label {
        font-size: 12px;
        letter-spacing: 0.10em;
        line-height: 1.4;
        overflow-wrap: break-word;
    }

    body.dreamfall-page .maera-film-info .echoes-film-value {
        font-size: 17px;
        line-height: 1.35;
        overflow-wrap: break-word;
    }

    body.dreamfall-page .maera-film-info .echoes-film-detail::before,
    body.dreamfall-page .maera-film-info .echoes-film-detail::after {
        display: none;
    }

}


/* ==========================================
   DREAMFALL BLOOM
   MOBILE PORTRAIT — EIGHT FILM STILLS
   Desktop remains untouched
   ========================================== */

@media screen and (max-width: 767px) and (orientation: portrait) {

    /* Two stills per row, four rows */

    body.dreamfall-page .stills-grid {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;

        width: 94%;
        max-width: 520px;
        margin: 0 auto;
        box-sizing: border-box;
    }

    /* Keep every still inside its grid cell */

    body.dreamfall-page .stills-grid > img {
        display: block;
        width: 100%;
        min-width: 0;
        height: auto;
        aspect-ratio: 16 / 9;
        object-fit: cover;
        box-sizing: border-box;
    }

    /* Guardian's secret still occupies
       one normal gallery position */

    body.dreamfall-page .stills-grid
    > .dreamfall-guardian-secret {
        width: 100%;
        min-width: 0;
        aspect-ratio: 16 / 9;
        margin: 0;
        box-sizing: border-box;
    }

    /* Preserve Guardian's still/video
       alignment inside her frame */

    body.dreamfall-page .dreamfall-guardian-still,
    body.dreamfall-page .dreamfall-guardian-video {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

}


/* ==========================================
   DREAMFALL BLOOM
   MOBILE PORTRAIT — FINAL PAGE POLISH

   Director's Cuts + Copyright Footer
   Desktop remains untouched
   ========================================== */

@media screen and (max-width: 767px) and (orientation: portrait) {

    /* DIRECTOR'S CUTS — LARGER PLAYER */

    body.dreamfall-page
    .behind-the-glass .behind-video {
        width: 94%;
        max-width: 520px;
        margin: 0 auto;
        box-sizing: border-box;
    }

    body.dreamfall-page
    .behind-the-glass .behind-video-screen {
        width: 100%;
        aspect-ratio: 16 / 9;
    }

    body.dreamfall-page
    .behind-the-glass .behind-video-screen video {
        display: block;
        width: 100%;
        height: 100%;
        object-fit: contain;
    }

    /* COPYRIGHT FOOTER — CENTER AND WRAP */

    body.dreamfall-page .prismara-footer {
        width: 100%;
        padding: 28px 14px 24px;
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 8px;
        box-sizing: border-box;
    }

    body.dreamfall-page .copyright-squirrel {
        width: 220px !important;
        max-width: 75% !important;
        height: auto !important;
    }

    body.dreamfall-page .copyright-text {
        width: 100%;
        max-width: 330px;
        margin: 0 auto;
        font-size: 17px;
        line-height: 1.5;
        letter-spacing: 0.3px;
        text-align: center;
        white-space: normal;
        overflow-wrap: break-word;
    }

    body.dreamfall-page .copyright-divider {
        width: 90%;
        max-width: 350px;
        height: auto;
        margin: 0 auto;
    }

}


/* ============================================
   PRISMARA: MAERA'S TIDE
   MOBILE HAPPINESS — PORTRAIT ONLY
   ============================================ */

@media screen and (max-width: 767px) and (orientation: portrait) {

    /* Center logo and wrap navigation */

    body.maera-page .site-header {
        position: relative;
        z-index: 100;
        height: auto;
        min-height: 0;
        padding: 16px 12px 20px;

        display: flex;
        flex-direction: column;
        align-items: center;
        overflow: visible;
    }

    body.maera-page .header-logo {
        display: block;
        width: min(270px, 75vw);
        margin: 0 auto 20px;
        flex: 0 0 auto;
    }

    body.maera-page .header-logo img {
        display: block;
        width: 100%;
        height: auto;
    }

    body.maera-page .main-nav {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        align-items: center;
        align-content: center;

        width: 100%;
        max-width: 100%;
        gap: 8px 12px;
        padding: 0;
        overflow: visible;
    }

    body.maera-page .main-nav > a,
    body.maera-page .nav-dropdown {
        flex: 0 0 auto;
        margin: 0;
    }

    body.maera-page .main-nav > a,
    body.maera-page .nav-dropdown > a {
        display: inline-block;
        font-family: "Cormorant Garamond", Georgia, serif;
        font-size: 19px;
        font-weight: 500;
        padding: 8px 10px;
        white-space: nowrap;
        text-align: center;
    }

    body.maera-page .nav-dropdown {
        position: relative;
    }

    body.maera-page .dropdown-menu {
        z-index: 10000;
    }

    /* Keep the masthead within phone width */

    body.maera-page .maera-masthead {
        position: relative;
        width: 100%;
        max-width: 100%;
        height: auto;
        min-height: 0;
        padding: 20px 12px 28px;
        overflow: hidden;
    }

    body.maera-page .maera-masthead-decor {
        display: block;
        position: relative;
        width: 100%;
        max-width: 100%;
        height: auto;
        left: auto;
        right: auto;
        top: auto;
        bottom: auto;
        transform: none;
        margin: 0 auto;
    }

    body.maera-page .echoes-prismara-title {
        display: block;
        position: relative;
        width: 100%;
        max-width: 100%;
        height: auto;
        left: auto;
        right: auto;
        top: auto;
        bottom: auto;
        transform: none;
        margin: 12px auto 0;
    }

/* ========================================
   MAERA'S EYE — CENTER ON MOBILE
   ======================================== */

body.maera-page .header-gem {
    position: relative;
    top: auto;
    right: auto;
    bottom: auto;
    left: auto;

    transform: none;

    display: flex;
    align-items: center;
    justify-content: center;

    width: 150px;
    height: 150px;

    margin: 8px auto 16px;

    flex: 0 0 auto;
}

body.maera-page #maera-eye-video {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

}


/* ============================================
   MAERA'S TIDE — MOBILE PORTRAIT
   FINAL MASTHEAD + INTERESTING FACT REPAIR
   ============================================ */

@media screen and (max-width: 767px) and (orientation: portrait) {

    /* Hide the large wraparound decoration */

    body.maera-page .maera-masthead-decor {
        display: none;
    }

    /* Keep Maera's title centered */

    body.maera-page .maera-masthead {
        width: 100%;
        max-width: 100%;
        height: auto;
        margin-bottom: 24px;
        padding: 12px 12px 24px;
        box-sizing: border-box;
        overflow: hidden;
    }

    body.maera-page .echoes-prismara-title {
        display: block;
        position: relative;
        width: 100%;
        max-width: 100%;
        height: auto;
        margin: 12px auto 0;
        left: auto;
        top: auto;
        transform: none;
    }

    /* Poster and trailer: one column */

    body.maera-page .film-opening {
        display: grid;
        grid-template-columns: minmax(0, 1fr);
        width: 94%;
        max-width: 100%;
        gap: 24px;
        margin: 15px auto 0;
    }

    body.maera-page .film-poster-main,
    body.maera-page .film-trailer-area {
        width: 100%;
        max-width: 100%;
        min-width: 0;
        box-sizing: border-box;
    }

    body.maera-page .film-trailer-area video {
        display: block;
        width: 100%;
        max-width: 100%;
        height: auto;
        aspect-ratio: 16 / 9;
    }

    /* Film specifications: two columns */

    body.maera-page .maera-film-info {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        width: 94%;
        max-width: 100%;
        gap: 20px 8px;
        margin: 36px auto;
        padding: 20px 4px;
        box-sizing: border-box;
    }

    body.maera-page .maera-film-info .echoes-film-detail {
        min-width: 0;
        padding: 8px 4px;
    }

    body.maera-page .maera-film-info .echoes-film-label,
    body.maera-page .maera-film-info .echoes-film-value {
        overflow-wrap: anywhere;
    }

    /* ========================================
       INTERESTING FACTS
       ======================================== */

    body.maera-page .echoes-fact {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;

        width: 94%;
        max-width: 100%;
        height: auto;
        min-height: 0;

        margin: 30px auto 40px;
        padding: 20px 12px;
        box-sizing: border-box;

        gap: 20px;

        /* Cancel desktop upward movement */
        transform: none;
    }

    /* Stationary spinning shard */

    body.maera-page .maera-shard-trigger {
        position: relative;
        display: block;

        width: 100px;
        max-width: 100%;
        height: auto;

        margin: 0 auto;
        padding: 0;

        border: 0;
        background: transparent;

        flex: 0 0 auto;
    }

    body.maera-page .maera-shard-trigger img {
        display: block;
        width: 100%;
        height: auto;
    }

    /* Interesting Facts text */

    body.maera-page .echoes-fact-text {
        position: relative;
        display: block;

        width: 100%;
        max-width: 100%;
        min-width: 0;
        height: auto;

        margin: 0;
        padding: 0 8px;
        box-sizing: border-box;

        text-align: center;
    }

    body.maera-page .echoes-fact-heading {
        margin: 0 auto 18px;
        text-align: center;
    }

    body.maera-page #maera-random-fact {
        display: block;

        width: 100%;
        max-width: 100%;

        margin: 0 auto;

        overflow-wrap: break-word;
        white-space: normal;

        text-align: center;
        line-height: 1.6;
    }

}


/* ============================================
   MAERA'S TIDE — MOBILE PORTRAIT
   FILM STILLS + CAST
   ============================================ */

@media screen and (max-width: 767px) and (orientation: portrait) {

    /* ----------------------------------------
       STILLS — TWO COLUMNS
       ---------------------------------------- */

    body.maera-page .film-stills {
        width: 94%;
        max-width: 100%;
        margin: 36px auto;
        padding: 0;
        box-sizing: border-box;
    }

    body.maera-page .film-stills .section-title {
        width: 100%;
        margin: 0 0 24px;
        text-align: center;
        transform: none;
    }

    body.maera-page .stills-grid {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 14px;

        width: 100%;
        max-width: 100%;
        margin: 0 auto;
        padding: 0;
        box-sizing: border-box;
    }

    /* Both regular stills and the special still */

    body.maera-page .stills-grid > img,
    body.maera-page .stills-easter-egg {
        display: block;
        width: 100%;
        max-width: 100%;
        min-width: 0;
        margin: 0;
        box-sizing: border-box;
    }

    body.maera-page .stills-grid > img {
        height: auto;
        aspect-ratio: 16 / 9;
        object-fit: cover;
    }

    /* Preserve the special still/video pairing */

    body.maera-page .stills-easter-egg {
        position: relative;
        aspect-ratio: 16 / 9;
        overflow: hidden;
    }

    body.maera-page .stills-easter-egg .easter-still,
    body.maera-page .stills-easter-egg .easter-video {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    /* ----------------------------------------
       CAST — TWO COLUMNS
       ---------------------------------------- */

    body.maera-page .maera-cast {
        width: 94%;
        max-width: 100%;
        margin: 36px auto;
        padding: 0;
        box-sizing: border-box;
    }

    body.maera-page .maera-cast .section-title {
        width: 100%;
        margin: 0 0 26px;
        text-align: center;
        transform: none;
    }

    body.maera-page .maera-cast .cast-grid {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 30px 16px;

        width: 100%;
        max-width: 100%;
        margin: 0 auto;
        padding: 0;
        box-sizing: border-box;
    }

    body.maera-page .maera-cast .cast-member {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;

        width: 100%;
        min-width: 0;
        max-width: 100%;

        margin: 0;
        padding: 0;

        text-align: center;
        box-sizing: border-box;
    }

    /* Standard cast portraits */

    body.maera-page .maera-cast .cast-member > img {
        display: block;
        width: 100%;
        max-width: 190px;
        height: auto;
        margin: 0 auto;
        object-fit: contain;
    }

    /* Names below portraits */

    body.maera-page .maera-cast .cast-member > span {
        display: block;
        position: static;

        width: 100%;
        margin: 12px auto 0;
        padding: 0;

        transform: none;
        text-align: center;
        font-size: clamp(18px, 4.5vw, 24px);
        line-height: 1.2;
    }

    /* Maera — featured in the middle */

    body.maera-page .maera-cast .cast-member:nth-child(4) {
        grid-column: 1 / -1;
        justify-self: center;
        max-width: 230px;
    }

    /* Lav — preserve hidden acorn wrapper */

    body.maera-page .maera-cast-acorn-wrap {
        position: relative;
        width: 100%;
        max-width: 190px;
        margin: 0 auto;
    }

    body.maera-page .maera-cast-lav {
        display: block;
        width: 100%;
        height: auto;
    }

    /* Guardian — preserve video wrapper */

    body.maera-page .maera-guardian-video-wrap {
        position: relative;
        width: 100%;
        max-width: 190px;
        margin: 0 auto;
    }

    body.maera-page .maera-cast-guardian {
        display: block;
        width: 100%;
        height: auto;
    }

    /* The discovery notification is not a cast card */

    body.maera-page .maera-cast #acorn-discovery {
        grid-column: 1 / -1;
    }

}


/* ============================================
   MAERA'S TIDE — CAST MOBILE CORRECTION
   PORTRAIT ONLY — DESKTOP UNTOUCHED
   ============================================ */

@media screen and (max-width: 767px) and (orientation: portrait) {

    body.maera-page .maera-cast .cast-grid {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 28px 14px;
        width: 94%;
        max-width: 100%;
        margin: 0 auto;
        padding: 0;
        box-sizing: border-box;
        align-items: start;
    }

    /* Reset desktop positioning for every cast card */

    body.maera-page .maera-cast .cast-grid > .cast-member {
        position: relative;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;

        grid-column: auto;
        grid-row: auto;

        width: 100%;
        max-width: 100%;
        min-width: 0;
        height: auto;

        margin: 0;
        padding: 0;

        top: auto;
        right: auto;
        bottom: auto;
        left: auto;

        transform: none;
        text-align: center;
        box-sizing: border-box;
    }

    /* Consistent sizing for standard portraits */

    body.maera-page .maera-cast .cast-member > img {
        display: block;
        position: relative;

        width: 100%;
        max-width: 190px;
        height: auto;

        margin: 0 auto;
        top: auto;
        left: auto;

        transform: none;
        object-fit: contain;
    }

    /* Reset special image wrappers */

    body.maera-page .maera-cast-acorn-wrap,
    body.maera-page .maera-guardian-video-wrap {
        position: relative;
        display: block;

        width: 100%;
        max-width: 190px;
        height: auto;

        margin: 0 auto;
        padding: 0;

        top: auto;
        left: auto;
        transform: none;
        box-sizing: border-box;
    }

    body.maera-page .maera-cast-lav,
    body.maera-page .maera-cast-guardian {
        display: block;
        position: relative;

        width: 100%;
        max-width: 100%;
        height: auto;

        margin: 0;
        top: auto;
        left: auto;
        transform: none;
    }

    /* Names belong below their portraits */

    body.maera-page .maera-cast .cast-member > span {
        display: block;
        position: static;

        width: 100%;
        margin: 12px auto 0;
        padding: 0;

        transform: none;
        text-align: center;
        font-size: clamp(18px, 4.5vw, 24px);
        line-height: 1.3;
    }

    /* Maera gets her own centered row */

    body.maera-page .maera-cast .cast-grid > .cast-member:nth-child(4) {
        grid-column: 1 / -1;
        justify-self: center;

        width: 100%;
        max-width: 220px;
    }

    /* Discovery overlay is not a cast portrait */

    body.maera-page .maera-cast #acorn-discovery {
        grid-column: 1 / -1;
    }

}


/* ============================================
   MAERA'S TIDE — MOBILE PORTRAIT
   CAST SQUARES + GUARDIAN VIDEO REPAIR
   ============================================ */

@media screen and (max-width: 767px) and (orientation: portrait) {

    /* Keep the entire cast section inside the phone */

    body.maera-page .maera-cast,
    body.maera-page .maera-cast .cast-grid {
        width: 100%;
        max-width: 100%;
        min-width: 0;
        box-sizing: border-box;
    }

    body.maera-page .maera-cast {
        padding: 0 14px;
        margin: 36px auto;
    }

    body.maera-page .maera-cast .cast-grid {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 28px 14px;
        margin: 0;
        padding: 0;
        justify-items: center;
        align-items: start;
    }

    /* All seven cast members use identical grid behavior */

    body.maera-page .maera-cast .cast-grid > .cast-member,
    body.maera-page .maera-cast .cast-grid > .cast-member:nth-child(4) {
        position: relative;
        grid-column: auto;
        grid-row: auto;

        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;

        width: 100%;
        max-width: 100%;
        min-width: 0;
        height: auto;

        margin: 0;
        padding: 0;

        top: auto;
        right: auto;
        bottom: auto;
        left: auto;

        transform: none;
        box-sizing: border-box;
    }

    /* Normal portraits — square and centered */

    body.maera-page .maera-cast .cast-member > img {
        display: block;
        position: relative;

        width: 100%;
        max-width: 100%;
        height: auto;
        aspect-ratio: 1 / 1;
        object-fit: cover;

        margin: 0;
        top: auto;
        right: auto;
        bottom: auto;
        left: auto;

        transform: none;
        box-sizing: border-box;
    }

    /* Lav's acorn wrapper and Guardian's video wrapper */

    body.maera-page .maera-cast .maera-cast-acorn-wrap,
    body.maera-page .maera-cast .maera-guardian-video-wrap {
        position: relative;
        display: block;

        width: 100%;
        max-width: 100%;
        height: auto;
        aspect-ratio: 1 / 1;

        margin: 0;
        padding: 0;

        top: auto;
        right: auto;
        bottom: auto;
        left: auto;

        transform: none;
        overflow: hidden;
        box-sizing: border-box;
    }

    /* Images inside special wrappers */

    body.maera-page .maera-cast .maera-cast-lav,
    body.maera-page .maera-cast .maera-cast-guardian {
        display: block;
        position: relative;

        width: 100%;
        height: 100%;
        max-width: 100%;

        margin: 0;
        top: auto;
        right: auto;
        bottom: auto;
        left: auto;

        transform: none;
        object-fit: cover;
    }

    /* Guardian's video overlays her photo exactly */

    body.maera-page .maera-cast .maera-guardian-video {
        position: absolute;
        inset: 0;

        width: 100%;
        height: 100%;

        margin: 0;
        transform: none;

        object-fit: cover;
    }

    /* Character names below each portrait */

    body.maera-page .maera-cast .cast-member > span {
        display: block;
        position: static;

        width: 100%;
        margin: 12px auto 0;
        padding: 0;

        transform: none;
        text-align: center;
        font-size: clamp(17px, 4.5vw, 23px);
        line-height: 1.3;
    }

    /* The acorn discovery notification isn't a cast member */

    body.maera-page .maera-cast #acorn-discovery {
        grid-column: 1 / -1;
    }

}


/* ============================================
   MAERA'S TIDE — MOBILE PORTRAIT
   CAST ALIGNMENT + GUARDIAN BLUE FRAME
   ============================================ */

@media screen and (max-width: 767px) and (orientation: portrait) {

    /* Reset cast section's desktop horizontal offsets */

    body.maera-page .maera-cast {
        position: relative;
        left: auto;
        right: auto;
        transform: none;

        width: 100%;
        max-width: 100%;
        margin-left: auto;
        margin-right: auto;
        padding-left: 14px;
        padding-right: 14px;

        box-sizing: border-box;
    }

    /* Keep both columns inside the phone */

    body.maera-page .maera-cast .cast-grid {
        position: relative;
        left: auto;
        right: auto;
        transform: none;

        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));

        width: 100%;
        max-width: 100%;
        min-width: 0;

        margin: 0 auto;
        padding: 0;

        gap: 24px 14px;
        justify-content: center;
        justify-items: stretch;

        box-sizing: border-box;
    }

    /* Prevent desktop widths from pushing cast cards right */

    body.maera-page .maera-cast .cast-grid > .cast-member {
        min-width: 0;
        width: 100%;
        max-width: 100%;

        margin-left: 0;
        margin-right: 0;

        justify-self: stretch;
        box-sizing: border-box;
    }

    /* Guardian's blue frame surrounds image AND video */

    body.maera-page .maera-guardian-video-wrap {
        position: relative;
        border: 2px solid rgba(94, 184, 230, 0.65);
        box-shadow: 0 0 8px rgba(50, 155, 215, 0.18);

        overflow: hidden;
        box-sizing: border-box;
    }

    /* Keep Guardian's image/video inside that frame */

    body.maera-page .maera-guardian-video-wrap > img,
    body.maera-page .maera-guardian-video-wrap > video {
        max-width: 100%;
        box-sizing: border-box;
    }

}


/* ============================================
   MAERA — LAV ACORN MOBILE REVEAL
   ============================================ */

@media screen and (max-width: 767px) and (orientation: portrait) {

    body.maera-page .maera-cast-acorn-wrap {
        position: relative;
        overflow: hidden;
    }

    /* Portrait sits over the hidden acorn */

    body.maera-page .maera-cast-lav {
        position: relative;
        z-index: 2;
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        transition: opacity 0.5s ease;
        cursor: pointer;
    }

    /* Prevent mobile hover from revealing it prematurely */

    body.maera-page .maera-cast-acorn-wrap:not(.mobile-acorn-revealed)
    .maera-cast-lav {
        opacity: 1;
        visibility: visible;
    }

    /* First tap: Lav fades away */

    body.maera-page .maera-cast-acorn-wrap.mobile-acorn-revealed
    .maera-cast-lav {
        opacity: 0;
        pointer-events: none;
    }

    /* Acorn remains available for the second tap */

    body.maera-page .maera-cast-acorn-wrap.mobile-acorn-revealed
    .maera-cast-acorn {
        z-index: 3;
        pointer-events: auto;
    }

}


/* ============================================
   MAERA — GUARDIAN MOBILE FRAME REPAIR
   ============================================ */

@media screen and (max-width: 767px) and (orientation: portrait) {

    body.maera-page .maera-guardian-video-wrap {
        position: relative;
        display: block;
        aspect-ratio: 1 / 1;
        overflow: hidden;

        /* Single subtle blue frame */
        border: 1px solid rgba(94, 184, 230, 0.45);
        box-shadow: none;
        box-sizing: border-box;
    }

    /* Photograph and video occupy exactly the same space */

    body.maera-page .maera-guardian-video-wrap
    .maera-cast-guardian,
    body.maera-page .maera-guardian-video-wrap
    .maera-guardian-video {
        position: absolute;
        inset: 0;

        display: block;
        width: 100%;
        height: 100%;

        margin: 0;
        padding: 0;
        transform: none;
        object-fit: cover;
        box-sizing: border-box;
    }

    /* Photograph stays above inactive video */

    body.maera-page .maera-guardian-video-wrap
    .maera-cast-guardian {
        z-index: 2;
    }

    body.maera-page .maera-guardian-video-wrap
    .maera-guardian-video {
        z-index: 1;
    }

}


/* ============================================
   MAERA — MOBILE LAV ACORN
   TAP 1: REVEAL / TAP 2: COLLECT
   ============================================ */

@media screen and (max-width: 767px) and (orientation: portrait) {

    /* Keep Lav's portrait above the hidden acorn */

    .maera-page .maera-cast-acorn-wrap .maera-cast-lav,
    .maera-page .maera-cast-acorn-wrap:hover .maera-cast-lav {
        position: relative;
        z-index: 2;
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        cursor: pointer;
    }

    /* Before reveal, the acorn cannot be tapped */

    .maera-page .maera-cast-acorn-wrap .maera-cast-acorn {
        z-index: 1;
        pointer-events: none;
    }

}

/* ============================================
   MAERA — MOBILE LAV ACORN
   FIRST TAP REVEALS / SECOND TAP COLLECTS
   ============================================ */

@media screen and (max-width: 767px) and (orientation: portrait) {

    /* Lav stays above the hidden acorn */

    .maera-page .maera-cast-acorn-wrap .maera-cast-lav,
    .maera-page .maera-cast-acorn-wrap:hover .maera-cast-lav {
        position: relative;
        z-index: 5;
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        cursor: pointer;
    }

    /* Acorn stays underneath Lav */

    .maera-page .maera-cast-acorn-wrap .maera-cast-acorn {
        z-index: 1;
        pointer-events: none;
    }

    /* First tap: Lav disappears */

    .maera-page .maera-cast-acorn-wrap.is-revealed .maera-cast-lav,
    .maera-page .maera-cast-acorn-wrap.is-revealed:hover .maera-cast-lav {
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
    }

    /* Second tap: acorn becomes clickable
       while remaining underneath Lav */

    .maera-page .maera-cast-acorn-wrap.is-revealed .maera-cast-acorn {
        z-index: 1;
        pointer-events: auto;
    }

}


/* ========================================
   MAERA — MOBILE COPYRIGHT LINE BREAK
   ======================================== */

@media screen and (max-width: 767px) and (orientation: portrait) {

    body.maera-page .maera-mobile-copyright-line {
        display: block;
    }

}

/* ==========================================
   EVERPASTURE — THIRD PERMANENT GOLD RAIL
   Grid-aligned with ninth laurel
   ========================================== */

@media screen and (min-width: 851px) {

    /* Ninth laurel — centered in row three */

    body.awards-page .recognition-everpasture
    .recognition-laurel-wall
    > article.recognition-laurel:nth-of-type(9) {
        grid-column: 5 / span 2 !important;
        grid-row: 3 !important;
        margin-top: 60px !important;
        justify-self: center !important;
    }

    /* Rail occupies the SAME grid row */

    body.awards-page .recognition-everpasture
    .recognition-laurel-wall
    > .everpasture-third-rail {
        display: block !important;

        position: relative !important;
        grid-column: 1 / -1 !important;
        grid-row: 3 !important;

        justify-self: center !important;
        align-self: start !important;

        margin: 0 !important;

        width: 1000px !important;
        max-width: 72% !important;
        height: 1px !important;

        left: auto !important;
        top: auto !important;
        transform: none !important;

        background: linear-gradient(
            to right,
            transparent,
            rgba(201,167,93,.25) 8%,
            rgba(216,187,112,.72) 28%,
            rgba(244,225,171,.82) 50%,
            rgba(216,187,112,.72) 72%,
            rgba(201,167,93,.25) 92%,
            transparent
        ) !important;

        box-shadow:
            0 1px 3px rgba(0,0,0,.55),
            0 0 7px rgba(216,187,112,.10);

        pointer-events: none;
        z-index: 2;
    }

    /* Center diamond */

    body.awards-page .recognition-everpasture
    .everpasture-third-rail::after {
        content: "◆";

        position: absolute;
        left: 50%;
        top: -9px;

        transform: translateX(-50%);
        padding: 0 8px;

        font-family: Georgia, serif;
        font-size: 10px;
        line-height: 18px;

        color: #d8bb70;

        text-shadow:
            0 1px 2px rgba(0,0,0,.8),
            0 0 8px rgba(216,187,112,.28);
    }
}

/* Mobile — preserve compact gallery layout */

@media screen and (max-width: 850px) {

    body.awards-page .recognition-everpasture
    .everpasture-third-rail {
        display: none !important;
    }
}

/* ============================================
   PRISMARA: ECHOES IN THE GLASS
   MOBILE HAPPINESS — PORTRAIT NAVIGATION
   ============================================ */

@media screen and (max-width: 767px) and (orientation: portrait) {

    /* Center Prismara logo and wrap navigation */

    body.echoes-page .site-header {
        position: relative;
        z-index: 100;
        height: auto;
        min-height: 0;
        padding: 16px 12px 20px;

        display: flex;
        flex-direction: column;
        align-items: center;

        overflow: visible;
        box-sizing: border-box;
    }

    body.echoes-page .header-logo {
        display: block;
        width: min(270px, 75vw);
        margin: 0 auto 20px;
        flex: 0 0 auto;
    }

    body.echoes-page .header-logo img {
        display: block;
        width: 100%;
        height: auto;
    }

    /* Navigation wraps into centered rows */

    body.echoes-page .main-nav {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        align-items: center;
        align-content: center;

        width: 100%;
        max-width: 100%;
        gap: 8px 12px;
        padding: 0;

        overflow: visible;
        box-sizing: border-box;
    }

    body.echoes-page .main-nav > a,
    body.echoes-page .nav-dropdown {
        flex: 0 0 auto;
        margin: 0;
    }

    body.echoes-page .main-nav > a,
    body.echoes-page .nav-dropdown > a {
        display: inline-block;
        font-family: "Cormorant Garamond", Georgia, serif;
        font-size: 19px;
        font-weight: 500;
        padding: 8px 10px;

        white-space: nowrap;
        text-align: center;
    }

    /* Keep dropdowns above the page content */

    body.echoes-page .nav-dropdown {
        position: relative;
    }

    body.echoes-page .dropdown-menu {
        z-index: 10000;
    }

    /* Whispercrest map centered below navigation */

    body.echoes-page .header-gem {
        position: relative;
        top: auto;
        right: auto;
        bottom: auto;
        left: auto;

        transform: none;

        display: flex;
        align-items: center;
        justify-content: center;

        width: 150px;
        height: 150px;

        margin: 8px auto 16px;
        flex: 0 0 auto;
    }

    body.echoes-page .header-gem img {
        display: block;
        width: 100%;
        height: 100%;
        object-fit: contain;
    }
}

/* ============================================
   PRISMARA: ECHOES IN THE GLASS
   MOBILE HAPPINESS — PORTRAIT REPAIR #2

   Masthead, poster, trailer, interesting fact
   ============================================ */

@media screen and (max-width: 767px) and (orientation: portrait) {

    /* ========================================
       MASTHEAD — KEEP BOTH TITLES TOGETHER
       ======================================== */

    body.echoes-page .echoes-hero {
        position: relative;
        width: 100%;
        max-width: 100%;
        height: 270px;
        min-height: 0;
        margin: 0 auto 24px;
        padding: 0;
        overflow: hidden;
        box-sizing: border-box;
    }

    /* Main Prismara artwork */

    body.echoes-page .echoes-prismara-title {
        position: absolute;
        display: block;

        top: 22px;
        left: 50%;

        width: 88%;
        max-width: 420px;
        height: auto;

        transform: translateX(-50%);
        margin: 0;
        z-index: 2;
    }

    /* Echoes title and tagline */

    body.echoes-page .echoes-title-tagline {
        position: absolute;
        display: block;

        top: 115px;
        left: 50%;

        width: 94%;
        max-width: 440px;
        height: auto;

        transform: translateX(-50%);
        margin: 0;
        z-index: 2;
    }

    /* Pink's reflection remains behind the titles */

    body.echoes-page .echoes-ghost-reflection {
        z-index: 1;
        pointer-events: none;
    }

    /* ========================================
       POSTER AND TRAILER — ONE COLUMN
       ======================================== */

    body.echoes-page .film-opening {
        display: grid;
        grid-template-columns: minmax(0, 1fr);

        width: 94%;
        max-width: 100%;

        gap: 26px;
        margin: 12px auto 0;
        padding: 0;

        box-sizing: border-box;
    }

    body.echoes-page .film-poster-main,
    body.echoes-page .film-trailer-area {
        width: 100%;
        max-width: 100%;
        min-width: 0;

        margin: 0;
        box-sizing: border-box;
    }

    body.echoes-page .film-poster-main > img {
        display: block;
        width: 100%;
        max-width: 100%;
        height: auto;
        box-sizing: border-box;
    }

    body.echoes-page .film-synopsis {
        position: relative;
        width: 100%;
        max-width: 100%;
        height: auto;

        margin: 18px 0 0;
        padding: 0 6px;

        transform: none;
        box-sizing: border-box;
    }

    body.echoes-page .film-synopsis p {
        position: static;
        margin: 0;
        line-height: 1.55;
        overflow-wrap: break-word;
    }

    /* Trailer immediately follows poster and synopsis */

    body.echoes-page .film-trailer-area {
        display: flex;
        flex-direction: column;
        gap: 12px;
        padding: 5px;
    }

    body.echoes-page .film-trailer-area video {
        display: block;
        width: 100%;
        max-width: 100%;
        height: auto;
        aspect-ratio: 16 / 9;
        object-fit: contain;
    }

    body.echoes-page .trailer-label {
        margin: 8px 0 4px;
        text-align: center;
    }

    /* ========================================
       INTERESTING FACT — ITS OWN SECTION
       ======================================== */

    body.echoes-page .echoes-fact {
        position: relative;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;

        width: 94%;
        max-width: 100%;
        height: auto;
        min-height: 0;

        margin: 32px auto 40px;
        padding: 20px 12px;

        gap: 18px;

        top: auto;
        left: auto;
        right: auto;
        bottom: auto;

        transform: none;
        box-sizing: border-box;
    }

    /* Keep our little acorn centered */

    body.echoes-page .echoes-fact-acorn {
        position: relative;
        display: block;

        width: 85px;
        max-width: 100%;
        height: auto;

        margin: 0 auto;

        top: auto;
        left: auto;
        right: auto;
        bottom: auto;

        transform: none;
    }

    /* Give the text its full width */

    body.echoes-page .echoes-fact-text {
        position: relative;
        display: block;

        width: 100%;
        max-width: 100%;
        min-width: 0;
        height: auto;

        margin: 0;
        padding: 0 8px;

        top: auto;
        left: auto;
        right: auto;
        bottom: auto;

        transform: none;
        text-align: center;
        box-sizing: border-box;
    }

    body.echoes-page .echoes-fact-heading {
        margin: 0 auto 18px;
        text-align: center;
    }

    body.echoes-page #echoes-random-fact {
        display: block;

        width: 100%;
        max-width: 100%;

        margin: 0 auto;

        white-space: normal;
        overflow-wrap: break-word;

        text-align: center;
        line-height: 1.6;
    }
}

/* ============================================
   PRISMARA: ECHOES IN THE GLASS
   MOBILE HAPPINESS — FILM SPECIFICATIONS
   ============================================ */

@media screen and (max-width: 767px) and (orientation: portrait) {

    /* Four specifications arranged in two rows */

    body.echoes-page .echoes-film-info {
        position: relative;

        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));

        width: 94%;
        max-width: 100%;
        min-width: 0;

        height: auto;
        min-height: 0;

        gap: 24px 12px;
        margin: 36px auto;
        padding: 22px 8px;

        top: auto;
        left: auto;
        right: auto;

        transform: none;
        box-sizing: border-box;
    }

    /* Each specification stays inside its column */

    body.echoes-page .echoes-film-detail {
        position: relative;

        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;

        width: 100%;
        max-width: 100%;
        min-width: 0;

        margin: 0;
        padding: 8px 4px;

        text-align: center;
        box-sizing: border-box;
    }

    /* Gold headings */

    body.echoes-page .echoes-film-label {
        display: block;
        position: static;

        width: 100%;
        margin: 0 0 12px;

        text-align: center;
        white-space: normal;
        overflow-wrap: anywhere;
    }

    /* Film information */

    body.echoes-page .echoes-film-value {
        display: block;
        position: static;

        width: 100%;
        margin: 0;

        text-align: center;
        line-height: 1.4;

        white-space: normal;
        overflow-wrap: anywhere;
    }
}

/* ============================================
   PRISMARA: ECHOES IN THE GLASS
   MOBILE HAPPINESS — FILM STILLS
   TWO COLUMNS / EASTER EGG PRESERVED
   ============================================ */

@media screen and (max-width: 767px) and (orientation: portrait) {

    /* Give the stills section room to breathe */

    body.echoes-page .film-stills {
        position: relative;

        width: 98%;
        max-width: 100%;
        min-width: 0;

        margin: 36px auto;
        padding: 0;

        left: auto;
        right: auto;
        transform: none;

        box-sizing: border-box;
    }

    /* Center STILLS heading */

    body.echoes-page .film-stills .section-title {
        width: 100%;
        margin: 0 0 24px;
        text-align: center;
        transform: none;
    }

    /* Two beautiful columns instead of tiny thumbnails */

    body.echoes-page .stills-grid {
        position: relative;

        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));

        width: 100%;
        max-width: 100%;
        min-width: 0;

        gap: 10px;
        margin: 0 auto;
        padding: 0;

        left: auto;
        right: auto;
        transform: none;

        box-sizing: border-box;
    }

    /* Ordinary film stills */

    body.echoes-page .stills-grid > img {
        display: block;

        width: 100%;
        max-width: 100%;
        min-width: 0;

        height: auto;
        aspect-ratio: 16 / 9;
        object-fit: cover;

        margin: 0;
        box-sizing: border-box;
    }

    /* Easter egg wrapper — keep its video inside */

    body.echoes-page .stills-easter-egg {
        position: relative;
        display: block;

        width: 100%;
        max-width: 100%;
        min-width: 0;

        aspect-ratio: 16 / 9;
        margin: 0;

        overflow: hidden;
        box-sizing: border-box;
    }

    /* Still and video occupy exactly the same space */

    body.echoes-page .stills-easter-egg .easter-still,
    body.echoes-page .stills-easter-egg .easter-video {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
}

/* ============================================
   PRISMARA: ECHOES IN THE GLASS
   MOBILE HAPPINESS — CAST GALLERY
   TWO COLUMNS / PORTRAIT ONLY
   ============================================ */

@media screen and (max-width: 767px) and (orientation: portrait) {

    /* Keep the cast section centered */

    body.echoes-page .film-cast {
        position: relative;

        width: 100%;
        max-width: 100%;
        min-width: 0;

        margin: 36px auto;
        padding: 0 14px;

        left: auto;
        right: auto;
        transform: none;

        box-sizing: border-box;
    }

    /* Center CAST heading */

    body.echoes-page .film-cast .section-title {
        width: 100%;
        margin: 0 0 26px;

        text-align: center;
        transform: none;
    }

    /* Two-column cast gallery */

    body.echoes-page .film-cast .cast-grid {
        position: relative;

        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));

        width: 100%;
        max-width: 100%;
        min-width: 0;

        gap: 26px 14px;

        margin: 0 auto;
        padding: 0;

        left: auto;
        right: auto;
        transform: none;

        justify-items: stretch;
        align-items: start;

        box-sizing: border-box;
    }

    /* Reset desktop positioning for each cast member */

    body.echoes-page .film-cast .cast-grid > .cast-member {
        position: relative;

        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;

        grid-column: auto;
        grid-row: auto;

        width: 100%;
        max-width: 100%;
        min-width: 0;
        height: auto;

        margin: 0;
        padding: 0;

        top: auto;
        right: auto;
        bottom: auto;
        left: auto;

        transform: none;
        text-align: center;

        box-sizing: border-box;
    }

    /* Portraits — consistent square frames */

    body.echoes-page .film-cast .cast-member > img {
        display: block;
        position: relative;

        width: 100%;
        max-width: 100%;
        height: auto;

        aspect-ratio: 1 / 1;
        object-fit: cover;

        margin: 0;
        padding: 0;

        top: auto;
        right: auto;
        bottom: auto;
        left: auto;

        transform: none;
        box-sizing: border-box;
    }

    /* Character names below portraits */

    body.echoes-page .film-cast .cast-member > span {
        display: block;
        position: static;

        width: 100%;

        margin: 12px auto 0;
        padding: 0;

        transform: none;

        text-align: center;
        font-size: clamp(17px, 4.5vw, 23px);
        line-height: 1.3;

        white-space: normal;
    }

    /* Discovery notification is not a cast card */

    body.echoes-page .film-cast #acorn-discovery {
        grid-column: 1 / -1;
    }
}

/* ============================================
   PRISMARA: TITAN DRIFT
   MOBILE PORTRAIT — LAUNCH CONTROL + MASTHEAD
   ============================================ */

@media screen and (max-width: 767px) and (orientation: portrait) {

    /* Launch control fits within the phone */

    body.titan-page .titan-launch-control {
        position: relative;

        width: calc(100% - 32px);
        max-width: 440px;
        min-width: 0;

        height: auto;
        max-height: calc(100dvh - 32px);

        margin: auto;
        padding: 26px 18px;

        box-sizing: border-box;
        overflow-y: auto;

        text-align: center;
    }

    body.titan-page .titan-launch-control h1 {
        font-size: clamp(24px, 7vw, 38px);
        line-height: 1.15;
        overflow-wrap: anywhere;
    }

    body.titan-page #titan-pod-name {
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }

    body.titan-page #titan-initiate-launch,
    body.titan-page #titan-skip-launch {
        max-width: 100%;
        box-sizing: border-box;
    }

    /* Restore the actual Titan masthead */

    body.titan-page section.echoes-hero.maera-masthead {
        display: flex !important;
        position: relative !important;

        align-items: center;
        justify-content: center;

        width: 100% !important;
        max-width: 100% !important;
        min-width: 0;

        height: auto !important;
        min-height: 0 !important;

        margin: 20px auto 30px !important;
        padding: 15px 0 !important;

        opacity: 1 !important;
        visibility: visible !important;

        transform: none !important;
        box-sizing: border-box;
        overflow: visible;
    }

    body.titan-page section.maera-masthead
    img.maera-masthead-decor {
        display: block !important;
        position: relative !important;

        width: 112% !important;
        max-width: none !important;
        height: auto !important;

        top: auto !important;
        left: auto !important;
        right: auto !important;

        margin: 0 auto !important;

        opacity: 1 !important;
        visibility: visible !important;

        transform: none !important;
        object-fit: contain;
    }
}

/* ============================================
   PRISMARA: TITAN DRIFT
   MOBILE PORTRAIT — FACT + GUARDIAN'S BAG
   ============================================ */

@media screen and (max-width: 767px) and (orientation: portrait) {

    /* Give the Interesting Fact its own space */

    body.titan-page .echoes-fact.titan-fact {
        position: relative !important;

        display: flex;
        flex-direction: column;
        align-items: center;

        width: 94% !important;
        max-width: 100%;
        height: auto !important;
        min-height: 0;

        margin: 30px auto 20px !important;
        padding: 20px 12px !important;

        top: auto !important;
        left: auto !important;
        right: auto !important;

        transform: none !important;
        box-sizing: border-box;
    }

    /* Keep the glowing fact artwork centered */

    body.titan-page .titan-fact-trigger {
        position: relative !important;
        display: block;

        margin: 0 auto 20px !important;

        top: auto !important;
        left: auto !important;
        right: auto !important;

        transform: none !important;
    }

    /* Full-width, readable Interesting Fact */

    body.titan-page .titan-fact .echoes-fact-text {
        position: relative !important;

        width: 100% !important;
        max-width: 100%;
        height: auto !important;

        margin: 0 !important;
        padding: 0 8px !important;

        top: auto !important;
        left: auto !important;
        right: auto !important;

        transform: none !important;

        text-align: center;
        box-sizing: border-box;
    }

    body.titan-page .titan-fact
    .echoes-fact-heading {
        margin: 0 auto 18px !important;
        text-align: center;
    }

    body.titan-page #titan-fact-text {
        position: relative;
        width: 100%;
        max-width: 100%;

        margin: 0 auto;

        white-space: normal;
        overflow-wrap: break-word;

        text-align: center;
        line-height: 1.55;
    }

    /* Give Guardian's bag its own stage */

    body.titan-page .titan-yellow-stage {
        position: relative !important;

        width: 100% !important;
        max-width: 100%;
        min-height: 260px;

        margin: 0 auto 28px !important;

        top: auto !important;
        left: auto !important;
        right: auto !important;

        transform: none !important;
        box-sizing: border-box;
    }

    /* Center the interactive bag */

    body.titan-page .titan-bag-trigger {
        position: relative !important;
        display: block;

        width: min(230px, 65vw);
        height: auto;

        margin: 12px auto 0 !important;

        top: auto !important;
        left: auto !important;
        right: auto !important;

        transform: none !important;
        z-index: 5;
    }

    body.titan-page .titan-bag {
        display: block;
        width: 100%;
        max-width: 100%;
        height: auto;
    }
}

/* ============================================
   TITAN DRIFT — MOBILE GUARDIAN MEMORY
   Keep Guardian visible beside the bag
   ============================================ */

@media screen and (max-width: 767px) and (orientation: portrait) {

    body.titan-page #titan-guardian-memory {
        right: 0 !important;
        bottom: 0 !important;

        width: 58% !important;
        max-width: 240px !important;
        height: auto !important;

        z-index: 6 !important;
    }

}

/* ============================================
   TITAN DRIFT — YELLOW'S MOBILE FLIGHT
   Portrait only — desktop remains unchanged
   ============================================ */

@media screen and (max-width: 767px) and (orientation: portrait) {

    /* Yellow begins inside Guardian's bag */

    body.titan-page .titan-yellow-comet {
        left: 30%;

        bottom: 155px;

        width: 110px;
        max-width: 28vw;

        z-index: 7;
    }

    /* Use mobile coordinates when Yellow launches */

    body.titan-page .titan-yellow-comet.is-flying {
        animation: titan-yellow-mobile-flight
                   6s ease-in-out forwards;
    }

    @keyframes titan-yellow-mobile-flight {

        /* Hidden inside the bag */
        0% {
            left: 30%;
            bottom: 155px;
            transform: scale(0.35) rotate(-8deg);
            opacity: 0;
        }

        /* Yellow emerges */
        12% {
            left: 42%;
            bottom: 205px;
            transform: scale(0.65) rotate(-4deg);
            opacity: 1;
        }

        /* Rising above the bag */
        28% {
            left: 57%;
            bottom: 260px;
            transform: scale(0.90) rotate(3deg);
            opacity: 1;
        }

        /* Sweeping across the mobile stage */
        50% {
            left: 63%;
            bottom: 320px;
            transform: scale(1) rotate(9deg);
            opacity: 1;
        }

        /* Curving back toward the center */
        72% {
            left: 35%;
            bottom: 355px;
            transform: scale(0.85) rotate(-8deg);
            opacity: 1;
        }

        /* Heading into the distance */
        90% {
            left: 20%;
            bottom: 410px;
            transform: scale(0.55) rotate(-3deg);
            opacity: 0.75;
        }

        /* Vanishing */
        100% {
            left: 45%;
            bottom: 455px;
            transform: scale(0.25) rotate(0deg);
            opacity: 0;
        }
    }
}

/* ============================================
   TITAN DRIFT — MOBILE BONUS FEATURES
   TWO VIDEOS / ONE VERTICAL COLUMN
   ============================================ */

@media screen and (max-width: 767px) and (orientation: portrait) {

    /* Center the entire Bonus Features section */

    body.titan-page .titan-beyond-drift {
        position: relative;
        width: 94%;
        max-width: 100%;
        min-width: 0;
        height: auto;

        margin: 36px auto;
        padding: 0;

        box-sizing: border-box;
    }

    body.titan-page .titan-beyond-drift .section-title {
        width: 100%;
        margin: 0 auto 28px;
        text-align: center;
        transform: none;
    }

    /*
       Let the headings and videos share
       one mobile grid without changing HTML.
    */

    body.titan-page .titan-beyond-drift {
        display: grid;
        grid-template-columns: minmax(0, 1fr);
        justify-items: stretch;
    }

    body.titan-page .titan-beyond-labels,
    body.titan-page .titan-beyond-videos {
        display: contents;
    }

    /* First heading */

    body.titan-page .titan-beyond-labels span:first-child {
        grid-row: 2;
    }

    /* First video */

    body.titan-page .titan-beyond-player:first-child {
        grid-row: 3;
    }

    /* Second heading */

    body.titan-page .titan-beyond-labels span:last-child {
        grid-row: 4;
    }

    /* Second video */

    body.titan-page .titan-beyond-player:last-child {
        grid-row: 5;
    }

    /* Style both headings */

    body.titan-page .titan-beyond-labels span {
        display: block;
        position: static;

        width: 100%;
        margin: 24px auto 14px;
        padding: 0 8px;

        text-align: center;
        white-space: normal;

        box-sizing: border-box;
    }

    /* Full-width video frames */

    body.titan-page .titan-beyond-player {
        position: relative;

        width: 100%;
        max-width: 100%;
        min-width: 0;
        height: auto;

        margin: 0 auto;
        padding: 8px;

        transform: none;
        box-sizing: border-box;
    }

    body.titan-page .titan-beyond-player video {
        display: block;

        width: 100%;
        max-width: 100%;
        height: auto;

        aspect-ratio: 16 / 9;
        object-fit: contain;

        margin: 0;
    }
}

/* ============================================
   TITAN DRIFT — MOBILE EVACUATION HATCH
   Preserve Copyright Squirrel and interactions
   ============================================ */

@media screen and (max-width: 767px) and (orientation: portrait) {

    /* Keep the evacuation bay in normal page flow */

    body.titan-page .titan-evac-bay {
        position: relative;
        width: 100%;
        max-width: 100%;
        min-width: 0;
        margin: 0 auto;
        box-sizing: border-box;
    }

    /* Hatch gets its own space below the squirrel */

    body.titan-page .titan-evac-hatch-wrap {
        position: relative !important;

        width: 88% !important;
        max-width: 440px !important;

        margin: 18px auto 45px !important;

        top: auto !important;
        right: auto !important;
        bottom: auto !important;
        left: auto !important;

        transform: none !important;
        box-sizing: border-box;
    }

    /* Remove desktop vertical displacement */

    body.titan-page .titan-evac-hatch {
        display: block;

        width: 100% !important;
        height: auto !important;

        transform: none !important;
    }

    /* Keep the invisible handle aligned with the hatch */

    body.titan-page .titan-evac-handle-hotspot {
        left: 15% !important;
        top: 37% !important;

        width: 70% !important;
        height: 24% !important;

        transform: none !important;
    }

    /* Maintain the mechanical response on mobile */

    body.titan-page .titan-evac-hatch.titan-hatch-engaged {
        animation: titanHatchEngageMobile 0.42s ease-out;
    }

    @keyframes titanHatchEngageMobile {
        0%, 100% {
            transform: translateY(0);
        }

        35% {
            transform: translateY(3px);
        }

        65% {
            transform: translateY(-3px);
        }
    }
}

/* ============================================
   TITAN DRIFT — MOBILE COPYRIGHT SQUIRREL
   Smaller portrait display + aligned acorn
   ============================================ */

@media screen and (max-width: 767px) and (orientation: portrait) {

    body.titan-page .titan-copyright-squirrel-wrap {
        position: relative;

        width: 100%;
        max-width: 100%;

        height: 310px;

        margin: 0 auto;
        padding: 0;

        box-sizing: border-box;
    }

    body.titan-page
    .titan-copyright-squirrel-wrap .copyright-squirrel {
        position: absolute;

        width: 300px !important;
        max-width: 80% !important;
        height: auto !important;

        left: 50% !important;
        top: 0 !important;

        transform: translateX(-50%) !important;

        margin: 0;
    }

    /* Hidden acorn stays on her vest */

    body.titan-page .titan-vest-acorn-hotspot {
        left: calc(50% + 72px) !important;
        top: 177px !important;

        width: 22px;
        height: 22px;
    }
}

/* ============================================
   TITAN — MOBILE EMERGENCY LIGHT POSITION
   Keep warning lights near upper screen edges
   ============================================ */

@media screen and (max-width: 767px) and (orientation: portrait) {

    body.titan-page .titan-emergency-light {
        position: fixed !important;

        top: 15% !important;

        width: 65px !important;
        height: auto !important;

        z-index: 50;
        pointer-events: none;
    }

    body.titan-page .titan-emergency-light-left {
        left: 5px !important;
    }

    body.titan-page .titan-emergency-light-right {
        right: 5px !important;
    }
}

/* ============================================
   TITAN — MOBILE WARNING LIGHT ALIGNMENT
   ============================================ */

@media screen and (max-width: 767px) and (orientation: portrait) {

    body.titan-page .titan-emergency-light-left {
        left: -25px !important;
        right: auto !important;
    }

    body.titan-page .titan-emergency-light-right {
        left: auto !important;
        right: 28px !important;
    }
}

/* ========================================
   TITAN — MOBILE LAUNCH VIDEO
   PRESERVE THE COMPLETE CINEMATIC FRAME
   ======================================== */

@media screen and (max-width: 700px) {

    body.titan-page .titan-launch-video {
        width: 100% !important;
        height: 100% !important;

        max-width: 100% !important;
        max-height: 100% !important;

        object-fit: contain !important;
        object-position: center center !important;
    }

}

/* ========================================
   TITAN — MOBILE TRANSMISSION TEXT
   ======================================== */

@media screen and (max-width: 700px) {

    body.titan-page .titan-transmission {
        box-sizing: border-box;
        width: 100%;
        max-width: 100%;
        padding-left: 18px;
        padding-right: 18px;
    }

    body.titan-page .titan-transmission-message {
        font-size: clamp(16px, 4.5vw, 23px);
        line-height: 1.3;
        overflow-wrap: anywhere;
        white-space: normal;
    }

    body.titan-page .titan-transmission-source {
        font-size: clamp(13px, 3.5vw, 18px);
        white-space: normal;
    }

}


/* ========================================
   TITAN — PORTRAIT LAUNCH CONTROL CENTER
   ======================================== */

@media screen and (max-width: 700px)
       and (orientation: portrait) {

    body.titan-page .titan-launch-control {
        box-sizing: border-box;

        left: auto !important;
        right: auto !important;
        transform: none !important;

        width: calc(100% - 32px) !important;
        max-width: 440px !important;
    }

}

/* ==========================================
   CAST CHALLENGE — FINALE POLISH
   DESKTOP + MOBILE
   ========================================== */

/* Gold arrows beside PRISMARA */

.cast-page #cast-game-prismara
.cast-prismara-arrow {
    display: inline-block;
    color: #d6ad59;
    font-size: 1.15em;
    margin: 0 8px;
    vertical-align: middle;
}

/* Flash arrows only when reward is ready */

.cast-page #cast-game-prismara.is-ready
.cast-prismara-arrow {
    animation: castGoldArrowFlash 1.2s
               ease-in-out infinite;
}

@keyframes castGoldArrowFlash {

    0%, 100% {
        opacity: 0.35;
        text-shadow: none;
    }

    50% {
        opacity: 1;
        text-shadow:
            0 0 8px #ffd978,
            0 0 18px #d6ad59;
    }
}

/* Extra breathing room before PLAY AGAIN */

.cast-page #cast-game-replay {
    margin-top: 36px;
}

/* ========================================
   CAST CHALLENGE — COPYRIGHT SQUIRREL
   MOBILE PORTRAIT — SIZE ADJUSTMENT
   ======================================== */

@media screen and (max-width: 700px)
       and (orientation: portrait) {

    .cast-page .games-copyright-footer {
        position: relative;
        width: 100%;
        max-width: 100%;
        padding: 0;
        margin: -110px auto 25px;
        text-align: center;
    }

    .cast-page .games-copyright-image {
        display: block;
        width: 135% !important;
        max-width: none !important;
        height: auto !important;

        position: relative;
        left: 50%;
        transform: translateX(-50%);
        margin: 0 !important;
    }

}

/* ========================================
   PRISMARA — MOBILE DROPDOWN CENTERING
   Keep all dropdowns within phone screen
   ======================================== */

@media screen and (max-width: 767px) {

    /* Use the navigation as our positioning area */

    .site-header .main-nav {
        position: relative;
    }

    /* Keep the existing navigation labels in place */

    .site-header .nav-dropdown {
        position: static !important;
    }

    /* Center every dropdown across the navigation */

    .site-header .nav-dropdown > .dropdown-menu {
        position: absolute !important;

        left: 50% !important;
        right: auto !important;

        transform: translateX(-50%) !important;

        width: max-content;
        min-width: 0;
        max-width: calc(100vw - 36px);

        box-sizing: border-box;
        z-index: 10000;
    }

    /* Allow long menu labels to fit */

    .site-header .dropdown-menu a {
        white-space: normal;
    }

}

/* ==========================================
   PRISMARA CAST CHALLENGE
   MOBILE LANDSCAPE — FIRST REPAIR
   ========================================== */

@media screen
and (max-height: 600px)
and (orientation: landscape)
and (pointer: coarse) {

    /* Give the game the full available width */

    body.cast-page .cast-page-main {
        width: 100%;
        box-sizing: border-box;
        padding: 18px 12px 65px;
    }

    body.cast-page .prismara-cast-game {
        width: 100%;
        max-width: none;
        margin: 0 auto;
        padding: 22px 14px 32px;
        box-sizing: border-box;
    }

    /* Compact the navigation for landscape */

    body.cast-page .site-header {
        width: 100%;
        height: auto;
        min-height: 0;
        padding: 10px 12px;
        flex-direction: column;
        align-items: center;
        gap: 6px;
        box-sizing: border-box;
    }

    body.cast-page .header-logo {
        width: 155px;
        margin: 0 auto;
    }

    body.cast-page .main-nav {
        width: 100%;
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 4px 8px;
    }

    body.cast-page .main-nav > a,
    body.cast-page .nav-dropdown > a {
        font-size: 17px;
        padding: 6px 8px;
    }

    /* Give the game board the full panel width */

    body.cast-page .cast-board-wrap {
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;

        overflow-x: auto;
        overflow-y: hidden;

        -webkit-overflow-scrolling: touch;

        /* Hide scrollbar, preserve swipe scrolling */
        scrollbar-width: none;
        -ms-overflow-style: none;
    }

    body.cast-page .cast-board-wrap::-webkit-scrollbar {
        display: none;
    }

    /* Keep film names visible while swiping */

    body.cast-page .cast-game-board
    thead .cast-film-heading,

    body.cast-page .cast-game-board
    tbody > tr > th {
        position: sticky;
        left: 0;
        z-index: 5;

        background: #100d09;
        box-shadow: 3px 0 8px rgba(0,0,0,0.65);
    }

    /* Film heading stays above row labels */

    body.cast-page .cast-game-board
    thead .cast-film-heading {
        z-index: 6;
    }

    /* Landscape instructions */

    body.cast-page .cast-mobile-instruction {
        display: block;
        text-align: center;
        font-size: 15px;
        margin: 12px auto;
    }

}

/* ==========================================
   CAST CHALLENGE
   MOBILE LANDSCAPE NAVIGATION REPAIR
   ========================================== */

@media screen
and (max-height: 600px)
and (orientation: landscape)
and (max-width: 950px) {

    body.cast-page .site-header {
        height: auto !important;
        min-height: 0 !important;

        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;

        padding: 10px 12px !important;
        gap: 8px !important;
    }

    /* Smaller centered Prismara logo */

    body.cast-page .header-logo {
        width: 170px !important;
        max-width: 45% !important;

        margin: 0 auto !important;
        flex-shrink: 0;
    }

    /* Navigation fits across the phone */

    body.cast-page .main-nav {
        display: flex !important;
        flex-wrap: wrap !important;

        width: 100% !important;

        justify-content: center !important;
        align-items: center !important;

        gap: 4px 8px !important;
        margin: 0 auto !important;
    }

    /* Compact navigation lettering */

    body.cast-page .main-nav > a,
    body.cast-page .nav-dropdown > a {
        font-size: 17px !important;
        padding: 5px 7px !important;
    }

    /* Keep dropdowns centered */

    body.cast-page .nav-dropdown {
        position: static !important;
    }

    body.cast-page .dropdown-menu {
        left: 50% !important;
        right: auto !important;
        transform: translateX(-50%) !important;
        max-width: calc(100vw - 30px);
        box-sizing: border-box;
    }

}

/* ==========================================
   CAST CHALLENGE
   LANDSCAPE NAVIGATION WIDTH REPAIR
   ========================================== */

@media screen
and (max-width: 950px)
and (orientation: landscape) {

    body.cast-page .site-header {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        height: auto !important;
        min-height: 0 !important;
        box-sizing: border-box !important;
    }

    body.cast-page .header-logo {
        display: block !important;
        width: 170px !important;
        max-width: 45% !important;
        margin: 0 auto !important;
        flex: 0 0 auto !important;
    }

    body.cast-page .header-logo img {
        display: block;
        width: 100% !important;
        height: auto !important;
    }

    body.cast-page .main-nav {
        display: flex !important;
        flex-direction: row !important;
        flex-wrap: wrap !important;
        justify-content: center !important;
        align-items: center !important;

        width: 100% !important;
        min-width: 0 !important;
        max-width: 100% !important;

        margin: 0 auto !important;
        padding: 0 !important;
        gap: 4px 10px !important;

        box-sizing: border-box !important;
    }

    body.cast-page .main-nav > a,
    body.cast-page .nav-dropdown > a {
        font-size: 16px !important;
        padding: 5px 7px !important;
        white-space: nowrap;
    }

    body.cast-page .nav-dropdown {
        flex: 0 0 auto !important;
    }

}

/* ==========================================
   CAST CHALLENGE
   LANDSCAPE DROPDOWN HEIGHT CORRECTION
   ========================================== */

@media screen
and (max-width: 950px)
and (orientation: landscape) {

    body.cast-page .main-nav {
        position: relative !important;
    }

    body.cast-page .nav-dropdown > .dropdown-menu {
        position: absolute !important;

        top: 100% !important;
        bottom: auto !important;

        left: 50% !important;
        right: auto !important;

        transform: translateX(-50%) !important;

        z-index: 10000 !important;
    }

}

/* ==========================================
   CAST CHALLENGE
   STICKY FILM NAMES — MOBILE PORTRAIT
   ========================================== */

@media screen
and (max-width: 700px)
and (orientation: portrait) {

    body.cast-page .cast-game-board
    thead .cast-film-heading,

    body.cast-page .cast-game-board
    tbody > tr > th {
        position: sticky;
        left: 0;
        z-index: 5;

        background: #100d09;
        box-shadow: 3px 0 8px rgba(0,0,0,0.65);
    }

    body.cast-page .cast-game-board
    thead .cast-film-heading {
        z-index: 6;
    }

}

/* ==========================================
   ENTER THE GAMES
   LANDSCAPE — ACORN DISPLAY REPAIR
   ========================================== */

@media screen and (max-width: 950px)
and (orientation: landscape) {

    /* Keep the page content within the screen */
    body.cast-page:has(.games-guide-sections)
    .prismara-memory-game {
        width: 100% !important;
        box-sizing: border-box !important;
    }

    /* Restore full-width welcome heading */
    body.cast-page:has(.games-guide-sections)
    .memory-game-heading {
        width: 100% !important;
        max-width: 100% !important;
        text-align: center !important;
    }

    /* Restore the introduction's normal width */
    body.cast-page:has(.games-guide-sections)
    .games-acorn-status {
        width: 100% !important;
        max-width: 100% !important;
        padding-right: 0 !important;
        box-sizing: border-box !important;
    }

    /* Keep the decorative acorn visible */
    body.cast-page:has(.games-guide-sections)
    .games-acorn-insignia {
        display: block !important;
        position: static !important;
        margin: 30px auto 20px !important;
        max-width: 75% !important;
        height: auto !important;
    }

    /* Restore Acorn Discovery beneath the insignia */
    body.cast-page:has(.games-guide-sections)
    .memory-game-layout {
        position: static !important;
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 auto 35px !important;
        display: flex !important;
        justify-content: center !important;
        box-sizing: border-box !important;
    }

    body.cast-page:has(.games-guide-sections)
    .memory-acorn-panel {
        width: 100% !important;
        max-width: 430px !important;
        box-sizing: border-box !important;
    }
}

/* ==========================================
   ENTER THE GAMES
   LANDSCAPE — TEXT POSITION CORRECTION
   ========================================== */

@media screen and (max-width: 950px)
and (orientation: landscape) {

    body.cast-page:has(.games-guide-sections)
    .games-acorn-status,

    body.cast-page:has(.games-guide-sections)
    .games-acorn-challenge {

        margin-left: 0 !important;
        margin-right: 0 !important;

        left: 0 !important;
        right: auto !important;

        transform: none !important;

        width: 100% !important;
        max-width: 100% !important;

        box-sizing: border-box !important;
    }
}

/* ==========================================
   ENTER THE GAMES — ACORN REWARD NOTES
   ========================================== */

.games-guide-section .games-acorn-note {
    display: block;
    margin: 14px 0 0;
    color: #d8b86b;
    font-family: "Cormorant Garamond", Georgia, serif;
    font-size: 20px;
    font-style: italic;
    line-height: 1.4;
    text-align: center;
}

/* ==========================================
   PRISMARA — SECRET ACORN HUNTER'S GUIDE
   ========================================== */

.games-acorn-guide-trigger {
    display: block;
    width: fit-content;
    max-width: 100%;
    margin: 0 auto;
    padding: 0;
    border: 0;
    background: transparent;
    cursor: pointer;
}

.games-acorn-guide-trigger .games-acorn-insignia {
    display: block;
    max-width: 100%;
    height: auto;
}

.games-acorn-guide-trigger:focus-visible {
    outline: 2px solid #d8b86b;
    outline-offset: 5px;
}

.games-acorn-hunters-guide[hidden] {
    display: none !important;
}

.games-acorn-hunters-guide {
    position: relative;
    width: min(90%, 650px);
    max-width: 100%;
    margin: 20px auto 35px;
    padding: 25px;
    box-sizing: border-box;
    border: 1px solid #94713b;
    background: rgba(8, 7, 6, 0.92);
    color: #f1e5cc;
    text-align: center;
}

.games-acorn-hunters-guide h2 {
    color: #e1bd70;
    margin: 0 0 12px;
}

.games-acorn-guide-list {
    list-style: none;
    padding: 0;
    margin: 20px 0;
}

.games-acorn-guide-list li {
    display: flex;
    justify-content: space-between;
    gap: 15px;
    padding: 9px 0;
    border-bottom: 1px solid rgba(216,184,107,0.25);
    text-align: left;
}

.games-acorn-guide-list strong {
    color: #e1bd70;
    white-space: nowrap;
}

.games-acorn-guide-total {
    color: #e1bd70;
    font-weight: bold;
}

.games-acorn-guide-footnote {
    font-style: italic;
}

/* ==========================================
   PRISMARA MEMORY — HORIZONTAL BOP HINT
   ========================================== */

@media screen and (max-width: 950px) and (orientation: landscape) {

    body.cast-page:has(#memory-board) .memory-acorn-panel::before {
        content: "← Swipe left or right to see more memory cards →";
        display: block;
        width: 100%;
        margin: 0 auto 24px;
        color: #d8b86b;
        font-family: "Cormorant Garamond", Georgia, serif;
        font-size: 19px;
        font-style: italic;
        line-height: 1.4;
        text-align: center;
    }

}

/* ========================================
   PPS ABOUT — MOBILE PORTRAIT
   ACORN DISCOVERY LOWER POSITION
   ======================================== */

@media screen and (max-width: 800px) and (orientation: portrait) {

    body.about-page .acorn-discovery {
        top: 48%;
        bottom: auto;
    }

}

/* ========================================
   ABOUT OMNI — FILM MEMORY FINISHING
   Scoped to Omni only; other About pages untouched.
   ======================================== */
body.omni-interview-page .omni-timeline-memory .omni-timeline-blank {
    position: absolute;
    inset: 0;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 18px;
    box-sizing: border-box;
    background: #090806;
    color: #d9ad62;
    font: italic 22px "Cormorant Garamond", Georgia, serif;
    letter-spacing: .04em;
    text-align: center;
}

/* Timeline: desktop hover reveals the message; mouse-out restores photo. */
body.omni-interview-page .omni-timeline-memory:hover .pps-interview-film-frame img,
body.omni-interview-page .omni-timeline-memory.is-timeline-blank .pps-interview-film-frame img {
    opacity: 0;
}

@media (hover: none), (pointer: coarse) {
    /* Do not allow sticky simulated hover to override the mobile tap state. */
    body.omni-interview-page .pps-interview-film-memory:hover .pps-interview-film-frame img {
        opacity: 1;
    }
    body.omni-interview-page .pps-interview-film-memory.is-mobile-playing .pps-interview-film-frame img,
    body.omni-interview-page .omni-timeline-memory.is-timeline-blank .pps-interview-film-frame img {
        opacity: 0;
    }
}

/* Both phone orientations: uniform frames despite legacy inline widths. */
@media screen and (max-width: 950px) and (pointer: coarse),
       screen and (max-width: 950px) and (hover: none) {
    body.omni-interview-page .pps-interview-film-memory {
        float: none !important;
        width: 94% !important;
        max-width: 600px !important;
        margin: 34px auto 40px !important;
    }
}

/* ========================================
   ABOUT STARLIGHT — THREE STILL-ONLY MEMORIES
   The photograph reveals a deliberate blank message.
   Desktop hover; mobile tap toggles independently.
   ======================================== */
body.starlight-interview-page .starlight-still-only .starlight-blank-message {
    position: absolute;
    inset: 0;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 18px;
    box-sizing: border-box;
    background: #090806;
    color: #d9ad62;
    font: italic 22px "Cormorant Garamond", Georgia, serif;
    letter-spacing: .04em;
    text-align: center;
}
body.starlight-interview-page .starlight-still-only:hover .pps-interview-film-frame img,
body.starlight-interview-page .starlight-still-only.is-starlight-blank .pps-interview-film-frame img {
    opacity: 0;
}
@media (hover: none), (pointer: coarse) {
    body.starlight-interview-page .starlight-still-only:hover .pps-interview-film-frame img {
        opacity: 1;
    }
    body.starlight-interview-page .starlight-still-only.is-starlight-blank .pps-interview-film-frame img {
        opacity: 0;
    }
}

/* ==========================================
   PRISMARA ABOUT PAGES
   HORIZONTAL BOP — NAVIGATION ONLY
   Applies to About Prismara, Starlight, Omni
   ========================================== */

@media screen and (max-width: 950px) and (orientation: landscape) {

    body.about-page .site-header {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        width: 100% !important;
        height: auto !important;
        min-height: 0 !important;
        padding: 10px 12px !important;
        gap: 8px !important;
        box-sizing: border-box !important;
    }

    body.about-page .header-logo {
        display: block !important;
        width: 170px !important;
        max-width: 45% !important;
        margin: 0 auto !important;
        flex: 0 0 auto !important;
    }

    body.about-page .header-logo img {
        display: block;
        width: 100% !important;
        height: auto !important;
    }

    body.about-page .main-nav {
        display: flex !important;
        flex-direction: row !important;
        flex-wrap: wrap !important;
        justify-content: center !important;
        align-items: center !important;
        width: 100% !important;
        min-width: 0 !important;
        max-width: 100% !important;
        margin: 0 auto !important;
        padding: 0 !important;
        gap: 4px 10px !important;
        box-sizing: border-box !important;
        position: relative !important;
    }

    body.about-page .main-nav > a,
    body.about-page .nav-dropdown > a {
        font-size: 16px !important;
        padding: 5px 7px !important;
        white-space: nowrap;
    }

    body.about-page .nav-dropdown {
        position: static !important;
        flex: 0 0 auto !important;
    }

    body.about-page .nav-dropdown > .dropdown-menu {
        position: absolute !important;
        top: 100% !important;
        bottom: auto !important;
        left: 50% !important;
        right: auto !important;
        transform: translateX(-50%) !important;
        max-width: calc(100vw - 30px) !important;
        box-sizing: border-box !important;
        z-index: 10000 !important;
    }
}

/* ==========================================
   FILMS FILMOGRAPHY — PRODUCTION SQUIRREL'S CHAIR
   films-01; positioned relative to his portrait
   ========================================== */
body.films-page .films-page-content .films-projectionist {
    pointer-events: auto;
}
body.films-page .films-projectionist img {
    pointer-events: none;
}
body.films-page .films-acorn-chair-hotspot {
    position: absolute;
    left: 35%;
    top: 73%;
    width: 44%;
    height: 24%;
    padding: 0;
    margin: 0;
    border: 0;
    background: transparent;
    opacity: 0;
    z-index: 21;
    cursor: url("../images/cursors/prismara-pointer.png") 8 2, pointer;
}

/* ==========================================
   FILMS ONLY — HORIZONTAL BOP NAVIGATION
   Match the approved About-page two-row approach.
   No changes to the cinematic masthead or gallery.
   ========================================== */
@media screen and (max-width: 950px) and (orientation: landscape) {
    body.films-page .site-header {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        width: 100% !important;
        height: auto !important;
        min-height: 0 !important;
        padding: 10px 12px !important;
        gap: 8px !important;
        box-sizing: border-box !important;
    }
    body.films-page .header-logo {
        display: block !important;
        width: 170px !important;
        max-width: 45% !important;
        margin: 0 auto !important;
        flex: 0 0 auto !important;
    }
    body.films-page .header-logo img {
        display: block;
        width: 100% !important;
        height: auto !important;
    }
    body.films-page .main-nav {
        display: flex !important;
        flex-direction: row !important;
        flex-wrap: wrap !important;
        justify-content: center !important;
        align-items: center !important;
        width: 100% !important;
        min-width: 0 !important;
        max-width: 100% !important;
        margin: 0 auto !important;
        padding: 0 !important;
        gap: 4px 10px !important;
        box-sizing: border-box !important;
        position: relative !important;
    }
    body.films-page .main-nav > a,
    body.films-page .nav-dropdown > a {
        font-size: 16px !important;
        padding: 5px 7px !important;
        white-space: nowrap;
    }
    body.films-page .nav-dropdown {
        position: static !important;
        flex: 0 0 auto !important;
    }
    body.films-page .nav-dropdown > .dropdown-menu {
        position: absolute !important;
        top: 100% !important;
        bottom: auto !important;
        left: 50% !important;
        right: auto !important;
        transform: translateX(-50%) !important;
        max-width: calc(100vw - 30px) !important;
        box-sizing: border-box !important;
        z-index: 10000 !important;
    }
}


/* ========================================
   AWARDS — MAERA + ECHOES
   THREE-LAUREL DESKTOP ALIGNMENT TEST
   ======================================== */

@media screen and (min-width: 851px) {

    body.awards-page .recognition-maera
    .recognition-laurel-wall,

    body.awards-page .recognition-echoes
    .recognition-laurel-wall {

        grid-auto-flow: row !important;

        grid-template-columns:
            repeat(3, minmax(0, 310px)) !important;

        column-gap: 35px !important;

        justify-content: center !important;
    }

    body.awards-page .recognition-maera
    .recognition-laurel-wall > .recognition-laurel,

    body.awards-page .recognition-echoes
    .recognition-laurel-wall > .recognition-laurel {

        left: 0 !important;
        right: auto !important;

        grid-column: auto !important;
        grid-row: auto !important;
    }
}


/* ========================================
   AWARDS — EVERPASTURE THIRD LAUREL
   RAISE LAUREL AND HANGING DOO-DAD
   DESKTOP ONLY
   ======================================== */

@media screen and (min-width: 851px) {

    body.awards-page .recognition-everpasture
    .recognition-laurel-wall
    > article.recognition-laurel:nth-of-type(9) {

        margin-top: 25px !important;

    }

}


/* =========================================
   AWARDS — VERTICAL HAPPINESS GOLD RAILS
   Two laurels per row
   ========================================= */

@media screen and (max-width: 700px)
and (orientation: portrait) {

  body.awards-page .recognition-film
  .recognition-laurel-wall {
    position: relative !important;
  }

  /* Hide the old fixed first rail.
     Our new rails will replace it. */

  body.awards-page .recognition-film
  .recognition-laurel-wall::before,
  body.awards-page .recognition-film
  .recognition-laurel-wall::after {
    content: none !important;
  }

  .awards-mobile-gold-rail {
    position: absolute;
    left: 4%;
    width: 92%;
    height: 1px;
    z-index: 1;
    pointer-events: none;

    background: linear-gradient(
      to right,
      transparent,
      rgba(201,167,93,.25) 8%,
      rgba(216,187,112,.72) 28%,
      rgba(244,225,171,.82) 50%,
      rgba(216,187,112,.72) 72%,
      rgba(201,167,93,.25) 92%,
      transparent
    );

    box-shadow:
      0 1px 3px rgba(0,0,0,.55),
      0 0 7px rgba(216,187,112,.10);
  }

  .awards-mobile-gold-rail::after {
    content: "◆";
    position: absolute;
    left: 50%;
    top: -9px;
    transform: translateX(-50%);
    padding: 0 8px;
    color: #d8bb70;
    font-family: Georgia, serif;
    font-size: 10px;
    line-height: 18px;
  }
}

@media screen and (min-width: 701px),
screen and (orientation: landscape) {
  .awards-mobile-gold-rail {
    display: none !important;
  }
}


/* ========================================
   AWARDS — VERTICAL HAPPINESS FINAL ALIGNMENT
   Scope exclusively to portrait; desktop unchanged.
   ======================================== */
@media screen and (max-width: 700px) and (orientation: portrait) {
  /* The older section-level decorative rails were the
     uninvited gold bars crossing festival descriptions. */
  body.awards-page .recognition-everpasture::before,
  body.awards-page .recognition-everpasture::after,
  body.awards-page .recognition-titan::before,
  body.awards-page .recognition-titan::after {
    content: none !important;
    display: none !important;
  }

  /* Align only the laurel cards that our mobile script
     measures; do not overwrite existing card margins. */
  body.awards-page .recognition-film
  .recognition-laurel-wall > article.recognition-laurel {
    translate: 0 var(--awards-pair-align, 0px);
  }

  /* The rail is positioned directly from its circle.
     Do not add another transform offset afterward. */
  body.awards-page .awards-mobile-gold-rail {
    transform: none !important;
  }
}

/* ==============================================
   AWARDS ONLY — HORIZONTAL BOP (850 x 400)
   Desktop and Vertical Happiness are unchanged.
   ============================================== */
@media screen and (max-width: 950px) and (orientation: landscape) {
  body.awards-page .site-header {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    padding: 10px 12px 14px !important;
    gap: 6px !important;
    box-sizing: border-box !important;
  }
  body.awards-page .header-logo {
    display: block !important;
    width: 170px !important;
    max-width: 45% !important;
    flex: 0 0 auto !important;
    margin: 0 auto !important;
  }
  body.awards-page .header-logo img { width: 100% !important; height: auto !important; }
  body.awards-page .main-nav {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: wrap !important;
    justify-content: center !important;
    align-items: center !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
    flex: 0 1 auto !important;
    margin: 0 auto !important;
    padding: 0 !important;
    gap: 4px 9px !important;
    box-sizing: border-box !important;
    position: relative !important;
  }
  body.awards-page .main-nav > a,
  body.awards-page .nav-dropdown > a {
    display: block !important;
    font-size: 16px !important;
    padding: 5px 7px !important;
    white-space: nowrap !important;
  }
  body.awards-page .nav-dropdown { position: static !important; flex: 0 0 auto !important; }
  body.awards-page .nav-dropdown > .dropdown-menu {
    position: absolute !important;
    top: 100% !important;
    left: 50% !important;
    right: auto !important;
    transform: translateX(-50%) !important;
    max-width: calc(100vw - 30px) !important;
    box-sizing: border-box !important;
    z-index: 10000 !important;
  }
  body.awards-page .recognition-gallery {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 20px !important;
    padding-right: 20px !important;
  }
  body.awards-page .recognition-film {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }
  body.awards-page .recognition-film .recognition-laurel-wall {
    display: grid !important;
    position: relative !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    grid-auto-flow: row !important;
    column-gap: 28px !important;
    row-gap: 75px !important;
    justify-content: stretch !important;
    justify-items: stretch !important;
    padding: 65px 10px 70px !important;
    overflow: visible !important;
  }
  body.awards-page .recognition-film .recognition-laurel-wall > article.recognition-laurel {
    position: relative !important;
    grid-column: auto !important;
    grid-row: auto !important;
    left: 0 !important;
    right: auto !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    margin: 0 !important;
    box-sizing: border-box !important;
    translate: 0 var(--awards-pair-align, 0px);
  }
  body.awards-page .recognition-film .recognition-laurel-wall > article.recognition-laurel img {
    display: block !important;
    width: min(100%, 235px) !important;
    max-width: 100% !important;
    height: 155px !important;
    object-fit: contain !important;
  }
  body.awards-page .recognition-film .recognition-laurel-wall::before,
  body.awards-page .recognition-film .recognition-laurel-wall::after,
  body.awards-page .recognition-everpasture::before,
  body.awards-page .recognition-everpasture::after,
  body.awards-page .recognition-titan::before,
  body.awards-page .recognition-titan::after {
    content: none !important;
    display: none !important;
  }
  body.awards-page .recognition-film .everpasture-third-rail,
  body.awards-page .recognition-film .titan-third-rail { display: none !important; }
  body.awards-page .awards-mobile-gold-rail {
    display: block !important;
    position: absolute !important;
    left: 4% !important;
    width: 92% !important;
    height: 1px !important;
    transform: none !important;
    z-index: 1 !important;
    pointer-events: none !important;
    background: linear-gradient(to right, transparent, rgba(201,167,93,.25) 8%, rgba(216,187,112,.72) 28%, rgba(244,225,171,.82) 50%, rgba(216,187,112,.72) 72%, rgba(201,167,93,.25) 92%, transparent) !important;
  }
  body.awards-page .awards-mobile-gold-rail::after {
    content: "◆";
    position: absolute;
    left: 50%;
    top: -9px;
    transform: translateX(-50%);
    padding: 0 8px;
    color: #d8bb70;
    font: 10px/18px Georgia, serif;
  }
}

/* ==============================================
   DREAMFALL BLOOM — HORIZONTAL BOP ONLY
   Preserve desktop, portrait, tree and door layout.
   Append to the END of style.css.
   ============================================== */
@media screen and (max-width: 950px) and (orientation: landscape) {
  body.dreamfall-page .site-header {
    position: relative;
    z-index: 100;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    height: auto;
    min-height: 0;
    padding: 10px 12px 14px;
    gap: 6px;
    box-sizing: border-box;
    overflow: visible;
  }
  body.dreamfall-page .header-logo {
    width: 170px;
    max-width: 45%;
    margin: 0 auto;
    flex: 0 0 auto;
  }
  body.dreamfall-page .header-logo img { width: 100%; height: auto; }
  body.dreamfall-page .main-nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    width: 100%;
    min-width: 0;
    max-width: 100%;
    gap: 4px 9px;
    margin: 0 auto;
    padding: 0;
    box-sizing: border-box;
  }
  body.dreamfall-page .main-nav > a,
  body.dreamfall-page .nav-dropdown > a {
    display: inline-block;
    font-size: 20px;
    padding: 5px 7px;
    white-space: nowrap;
  }
  body.dreamfall-page .nav-dropdown { flex: 0 0 auto; }
  body.dreamfall-page .dropdown-menu { z-index: 10000; }
  /* Keep the animated maple leaf visible, without covering links. */
  body.dreamfall-page .dreamfall-leaf-gem {
    position: absolute;
    top: 4px;
    right: 8px;
    width: 80px;
    height: 66px;
    margin: 0;
    pointer-events: none;
  }
  body.dreamfall-page .dreamfall-maple-branch {
    width: 95px;
    max-width: none;
    height: auto;
  }
  /* Memory video is a fixed overlay: fit it within a short screen. */
  body.dreamfall-page .dreamfall-memory-video {
    max-width: 80vw;
    max-height: 72dvh;
    height: auto;
    object-fit: contain;
  }
}

/* =======================================================
   DREAMFALL BLOOM — HORIZONTAL BOP CINEMATIC TRAILER
   Add AFTER the existing Horizontal Bop navigation CSS.
   Only affects landscape viewports up to 950px wide.
   Preserves desktop, portrait, tree, doors, and all scripts.
   ======================================================= */
@media screen and (max-width: 950px) and (orientation: landscape) {
  /* Poster and synopsis first; wide trailer follows below. */
  body.dreamfall-page .film-opening {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    width: 94%;
    max-width: 900px;
    gap: 30px;
    margin: 20px auto 0;
    align-items: start;
  }

  /* Preserve the interactive living poster at a comfortable size. */
  body.dreamfall-page .film-opening .film-poster-main {
    width: 100%;
    max-width: 420px;
    min-width: 0;
    margin: 0 auto;
    box-sizing: border-box;
  }

  body.dreamfall-page .film-opening .dreamfall-living-poster {
    width: 100%;
    max-width: 100%;
  }

  /* The trailer becomes a wide, cinematic feature. */
  body.dreamfall-page .film-opening .film-trailer-area {
    width: 100%;
    min-width: 0;
    max-width: 900px;
    margin: 0 auto;
    padding: 6px;
    box-sizing: border-box;
  }

  body.dreamfall-page .film-opening .film-trailer-area video {
    display: block;
    width: 100%;
    max-width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
    object-fit: contain;
  }

  body.dreamfall-page .film-opening .trailer-label {
    margin: 0;
    padding: 18px 0 12px;
  }
}

/* PRISMARA: TITAN DRIFT — HORIZONTAL BOP ONLY
   Append at END of css/style.css. No portrait or desktop changes. */
@media screen and (max-width: 950px) and (orientation: landscape) {
  body.titan-page { max-width: 100%; overflow-x: clip; }
  body.titan-page .site-header {
    position: relative; z-index: 100; width: 100%; height: auto;
    min-height: 0; padding: 12px 12px 16px; box-sizing: border-box;
    display: flex; flex-direction: column; align-items: center; gap: 7px;
  }
  body.titan-page .header-logo {
    display: block; width: 185px; max-width: 42vw; margin: 0 auto;
    flex: 0 0 auto;
  }
  body.titan-page .main-nav {
    display: flex; flex-wrap: wrap; justify-content: center; align-items: center;
    width: 100%; min-width: 0; max-width: 100%; margin: 0 auto;
    padding: 0; gap: 4px 9px; box-sizing: border-box;
  }
  body.titan-page .main-nav > a,
  body.titan-page .nav-dropdown > a {
    display: inline-block; font-size: 20px; padding: 5px 7px;
    white-space: nowrap;
  }
  body.titan-page .nav-dropdown { flex: 0 0 auto; }
  body.titan-page .dropdown-menu { z-index: 10000; }
  body.titan-page .titan-pod-acorn-wrap {
    position: absolute; right: 5px; top: 3px;
    transform: scale(.65); transform-origin: top right;
    margin: 0; pointer-events: auto;
  }

  /* Launch control: the ENTIRE form fits the landscape viewport. */
  body.titan-page .titan-launch-splash {
    width: 100vw; height: 100dvh; overflow: hidden;
    box-sizing: border-box;
  }
  body.titan-page .titan-launch-control {
    position: relative; width: min(540px, calc(100vw - 30px));
    min-width: 0; max-height: calc(100dvh - 18px);
    padding: 10px 22px; margin: auto; overflow-y: auto;
    box-sizing: border-box; text-align: center;
  }
  body.titan-page .titan-launch-status-light { margin-bottom: 5px; }
  body.titan-page .titan-launch-kicker { margin-bottom: 4px; font-size: 12px; }
  body.titan-page .titan-launch-control h1 {
    font-size: clamp(20px, 3.5vw, 29px); line-height: 1.08;
    margin: 0 0 9px; overflow-wrap: anywhere;
  }
  body.titan-page .titan-launch-control label { margin-bottom: 4px; font-size: 14px; }
  body.titan-page #titan-pod-name {
    max-width: 100%; padding: 6px 12px; margin-bottom: 9px;
    font-size: 17px; box-sizing: border-box;
  }
  body.titan-page #titan-initiate-launch { padding: 6px 18px; font-size: 15px; }
  body.titan-page #titan-skip-launch { margin-top: 6px; padding: 3px 8px; }
  body.titan-page .titan-launch-video {
    width: 100% !important; height: 100% !important;
    object-fit: contain !important; object-position: center center !important;
  }

  /* Keep the whole Saturn/title image in view, without changing the artwork. */
  body.titan-page section.echoes-hero.maera-masthead {
    display: flex; align-items: center; justify-content: center;
    width: 100%; height: auto; min-height: 0;
    margin: 12px auto 24px; padding: 0; overflow: hidden;
    box-sizing: border-box;
  }
  body.titan-page section.maera-masthead img.maera-masthead-decor {
    position: relative; display: block; width: min(100%, 780px);
    max-width: 100%; height: auto; left: auto; top: auto;
    transform: none; margin: 0 auto;
  }

  /* Poster first, trailer below at full available width. */
  body.titan-page .film-opening {
    display: flex; flex-direction: column; align-items: center;
    width: min(94%, 760px); max-width: 100%; gap: 22px;
    margin: 14px auto 0; box-sizing: border-box;
  }
  body.titan-page .film-poster-main {
    width: min(340px, 92%); max-width: 100%; box-sizing: border-box;
  }
  body.titan-page .film-trailer-area {
    width: 100%; min-width: 0; max-width: 100%; padding: 8px;
    box-sizing: border-box;
  }
  body.titan-page .film-trailer-area video {
    display: block; width: 100%; height: auto; aspect-ratio: 16 / 9;
    object-fit: contain;
  }

  /* Both emergency lights visible, without changing their activation. */
  body.titan-page .titan-emergency-light {
    position: fixed; top: 25%; width: 65px; height: auto;
  }
  body.titan-page .titan-emergency-light-left { left: 5px; right: auto; }
  body.titan-page .titan-emergency-light-right { right: 5px; left: auto; }

  /* Cast cards return to the viewport; time-flip remains intact. */
  body.titan-page .film-cast { width: min(94%, 760px); margin-left: auto; margin-right: auto; }
  body.titan-page .film-cast .cast-grid {
    display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
    justify-items: center; gap: 22px 10px; width: 100%;
    min-width: 0; max-width: 100%; box-sizing: border-box;
  }
  body.titan-page .film-cast .cast-member {
    position: relative; width: 100%; min-width: 0; max-width: 100%;
    margin: 0; transform: none; text-align: center;
  }
  body.titan-page .film-cast .titan-time-card {
    width: min(150px, 100%); height: auto; aspect-ratio: 1 / 1;
    margin: 0 auto;
  }
  body.titan-page .film-cast .cast-member > span {
    display: block; position: static; transform: none; width: 100%;
    margin: 8px auto 0; text-align: center; white-space: normal;
  }

  /* Interleave existing labels and videos WITHOUT editing HTML. */
  body.titan-page .titan-beyond-drift {
    width: min(94%, 760px); max-width: 100%; margin-left: auto;
    margin-right: auto; box-sizing: border-box;
  }
  body.titan-page .titan-beyond-drift .titan-beyond-labels,
  body.titan-page .titan-beyond-drift .titan-beyond-videos { display: contents; }
  body.titan-page .titan-beyond-drift {
    display: grid; grid-template-columns: minmax(0, 1fr);
    gap: 12px;
  }
  body.titan-page .titan-beyond-drift > .section-title { grid-row: 1; }
  body.titan-page .titan-beyond-labels span:first-child { grid-row: 2; }
  body.titan-page .titan-beyond-player:first-child { grid-row: 3; }
  body.titan-page .titan-beyond-labels span:last-child { grid-row: 4; text-align: left; }
  body.titan-page .titan-beyond-player:last-child { grid-row: 5; }
  body.titan-page .titan-beyond-drift > .section-hairline { grid-row: 6; }
  body.titan-page .titan-beyond-labels span {
    display: block; margin-top: 8px; text-align: left; font-size: 18px;
  }
  body.titan-page .titan-beyond-player {
    width: 100%; min-width: 0; max-width: 100%; flex: none;
    margin: 0; padding: 8px; box-sizing: border-box;
  }
  body.titan-page .titan-beyond-player video {
    display: block; width: 100%; height: auto; aspect-ratio: 16 / 9;
    object-fit: contain;
  }

  /* Give squirrel and hatch separate vertical positions. */
  body.titan-page .titan-evac-bay {
    display: flex; flex-direction: column; align-items: center;
    width: 100%; max-width: 100%; box-sizing: border-box;
  }
  body.titan-page .titan-copyright-squirrel-wrap {
    position: relative; width: min(360px, 90vw); max-width: 100%;
    height: 300px; margin: 0 auto;
  }
  body.titan-page .titan-copyright-squirrel-wrap .copyright-squirrel {
    position: absolute; left: 50%; top: 0; transform: translateX(-50%);
    width: 300px !important; max-width: 100% !important; height: auto !important;
  }
  body.titan-page .titan-vest-acorn-hotspot {
    left: calc(50% + 72px); top: 177px; width: 22px; height: 22px;
  }
  body.titan-page .titan-evac-hatch-wrap {
    position: relative; width: min(520px, 90vw); max-width: 100%;
    margin: 10px auto 35px; left: auto; right: auto; top: auto;
    bottom: auto; transform: none; box-sizing: border-box;
  }
  body.titan-page .titan-evac-hatch {
    display: block; width: 100%; height: auto; transform: none;
  }
  body.titan-page .titan-evac-handle-hotspot {
    left: 15%; top: 37%; width: 70%; height: 24%; transform: none;
  }
  body.titan-page .titan-bay-light { width: 70px; top: 8px; }
  body.titan-page .titan-bay-light-left { left: 4px; }
  body.titan-page .titan-bay-light-right { right: 4px; }

  /* Both cinematic overlays use the viewport, not the wide page. */
  body.titan-page .titan-evac-overlay,
  body.titan-page .titan-evac-stage {
    width: 100vw; height: 100dvh; max-width: 100vw;
    box-sizing: border-box;
  }
  body.titan-page .titan-evac-video {
    position: absolute; inset: 0; display: block;
    width: 100% !important; height: 100% !important;
    object-fit: contain !important; object-position: center center !important;
  }
}


/* =========================================
   TITAN DRIFT — HORIZONTAL BOP
   REPAIR 01: INTERESTING FACT / TRAILER
   ========================================= */

@media screen and (max-width: 950px) and (orientation: landscape) {

  body.titan-page .echoes-fact.titan-fact {
    position: relative;
    width: min(94%, 760px);
    max-width: 100%;
    margin: 28px auto 40px;
    padding: 12px 16px;
    box-sizing: border-box;

    /* Cancel the desktop upward movement */
    transform: none;

    /* Keep the mirror and fact together */
    display: flex;
    align-items: center;
    gap: 20px;
  }

  body.titan-page .titan-fact-trigger {
    flex: 0 0 auto;
  }

  body.titan-page .echoes-fact-text {
    min-width: 0;
  }
}


/* =========================================
   TITAN — HORIZONTAL BOP REPAIR 02
   MIRROR CLICK + RIGHT WARNING LIGHT
   ========================================= */

@media screen and (max-width: 950px) and (orientation: landscape) {

  /* Make the mirror a reachable button */
  body.titan-page .titan-fact {
    position: relative !important;
    z-index: 60;
    overflow: visible;
  }

  body.titan-page #titan-fact-trigger {
    position: relative !important;
    display: block;
    width: 110px;
    min-width: 110px;
    height: auto;
    padding: 0;
    z-index: 61;
    pointer-events: auto !important;
    cursor: pointer;
  }

  body.titan-page .titan-fact-mirror {
    display: block;
    width: 100%;
    height: auto;
    pointer-events: none;
  }

  /* Bring the right warning light inside the screen */
  body.titan-page .titan-emergency-light-right {
    position: fixed !important;
    left: auto !important;
    right: 12px !important;
    width: 65px !important;
    transform: translateY(-50%) scaleX(-1);
    pointer-events: none;
  }

}


/* =========================================
   TITAN — HORIZONTAL BOP REPAIR 03
   CENTERED, FULL-WIDTH TRAILER
   ========================================= */

@media screen and (max-width: 950px) and (orientation: landscape) {

  body.titan-page .film-opening {
    width: 100%;
    max-width: 100%;
    padding: 0;
    margin-left: auto;
    margin-right: auto;
  }

  body.titan-page .film-trailer-area {
    width: calc(100% - 24px);
    max-width: 100%;
    min-width: 0;
    margin: 0 auto;
    padding: 0;
    box-sizing: border-box;
  }

  body.titan-page .film-trailer-area video {
    display: block;
    width: 100%;
    max-width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
    object-fit: contain;
    margin: 0 auto;
  }

  /* Symmetrical lights at the viewport edges */
  body.titan-page .titan-emergency-light-left {
    left: 8px !important;
    right: auto !important;
  }

  body.titan-page .titan-emergency-light-right {
    right: 8px !important;
    left: auto !important;
  }

}


/* =========================================
   TITAN — HORIZONTAL BOP REPAIR 04
   BRING THE RIGHT LIGHT HOME
   ========================================= */

@media screen and (max-width: 950px) and (orientation: landscape) {

  body.titan-page .titan-emergency-light-right {
    position: fixed !important;
    left: auto !important;
    right: 45px !important;
    transform: translateY(-50%) scaleX(-1);
  }

}


/* =========================================
   TITAN — HORIZONTAL BOP REPAIR 05
   SEPARATE FACT FROM GUARDIAN'S BAG
   ========================================= */

@media screen and (max-width: 950px) and (orientation: landscape) {

  body.titan-page .titan-yellow-stage {
    position: relative;
    width: min(94%, 760px);
    max-width: 100%;
    height: 300px;

    /* Remove the desktop overlap */
    margin: 0 auto 35px !important;

    box-sizing: border-box;
  }

  /* Center the bag within its own stage */
  body.titan-page .titan-bag-trigger {
    left: 50%;
    right: auto;
    bottom: 10px;
    width: 230px;
    transform: translateX(-50%);
    z-index: 5;
  }

  /* Keep the nebula behind the bag */
  body.titan-page .titan-memory-nebula {
    right: 0;
    top: 0;
    width: min(100%, 600px);
    max-width: 100%;
    pointer-events: none;
  }

  /* Keep Guardian proportional to the stage */
  body.titan-page #titan-guardian-memory {
    right: 0 !important;
    bottom: 10px !important;
    width: min(35%, 230px) !important;
    max-width: 230px !important;
    height: auto !important;
  }

}


/* =========================================
   TITAN — HORIZONTAL BOP REPAIR 06
   KEEP YELLOW'S FLIGHT INSIDE THE STAGE
   ========================================= */

@media screen and (max-width: 950px) and (orientation: landscape) {

  body.titan-page .titan-yellow-stage {
    overflow: clip;
  }

}


/* =========================================
   TITAN — HORIZONTAL BOP REPAIR 07
   CAST PORTRAITS AND NAMES
   ========================================= */

@media screen and (max-width: 950px) and (orientation: landscape) {

  body.titan-page .film-cast.maera-cast {
    position: relative;
    left: auto;
    right: auto;
    transform: none;
    width: min(94%, 760px);
    max-width: 100%;
    margin: 35px auto;
    padding: 0;
    box-sizing: border-box;
  }

  body.titan-page .film-cast .section-title {
    position: static;
    transform: none;
    width: 100%;
    margin: 0 0 25px;
    text-align: center;
  }

  body.titan-page .film-cast .cast-grid {
    position: relative;
    left: auto;
    right: auto;
    transform: none;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 28px 16px;
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    padding: 0;
    box-sizing: border-box;
    justify-items: center;
  }

  body.titan-page .film-cast .cast-grid > .cast-member {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    grid-column: auto;
    left: auto;
    right: auto;
    transform: none;
    width: 100%;
    min-width: 0;
    max-width: 100%;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }

  body.titan-page .film-cast .titan-time-card {
    position: relative;
    flex: 0 0 auto;
    width: 130px;
    height: 130px;
    max-width: 100%;
    margin: 0 auto;
  }

  body.titan-page .film-cast .cast-member > span {
    position: static;
    display: block;
    width: 100%;
    margin: 12px 0 0;
    padding: 0;
    transform: none;
    text-align: center;
    white-space: normal;
    font-size: 22px;
    line-height: 1.3;
  }

}


/* =========================================
   TITAN — HORIZONTAL BOP REPAIR 08
   RIGHT WARNING LIGHT FINAL ALIGNMENT
   ========================================= */

@media screen and (max-width: 950px) and (orientation: landscape) {

  body.titan-page .titan-emergency-light-right {
    right: 10px !important;
  }

}


/* =========================================
   TITAN — HORIZONTAL BOP REPAIR 09
   COPYRIGHT SQUIRREL + EVACUATION HATCH
   ========================================= */

@media screen and (max-width: 950px) and (orientation: landscape) {

  body.titan-page .titan-evac-bay {
    position: relative;
    display: flex;
    flex-direction: row;
    align-items: flex-end;
    justify-content: center;
    gap: 16px;
    padding: 35px 20px 45px;
    box-sizing: border-box;
  }

  /* Keep squirrel and his collectible acorn together */
  body.titan-page .titan-copyright-squirrel-wrap {
    position: relative;
    flex: 0 0 240px;
    width: 240px;
    height: 240px;
    margin: 0;
  }

  body.titan-page .titan-copyright-squirrel-wrap .copyright-squirrel {
    position: absolute;
    left: 0 !important;
    top: 0 !important;
    width: 240px !important;
    max-width: 100% !important;
    height: auto !important;
    transform: none !important;
  }

  /* Scale the hidden acorn position with the squirrel */
  body.titan-page .titan-vest-acorn-hotspot {
    left: 177px !important;
    top: 141px !important;
    width: 18px;
    height: 18px;
  }

  /* Hatch sits beside the squirrel */
  body.titan-page .titan-evac-hatch-wrap {
    position: relative;
    flex: 0 1 380px;
    width: 380px;
    max-width: 100%;
    margin: 0 !important;
    transform: none !important;
  }

}


/* ========================================
   MAERA — RIPPLE SPLASH SKIP BUTTON
   ======================================== */

#maera-ripple-intro {
    position: fixed;
}

#maera-ripple-skip {
    position: absolute;
    right: 24px;
    bottom: 24px;
    z-index: 100;

    padding: 10px 20px;

    border: 1px solid rgba(255, 255, 255, 0.6);
    border-radius: 6px;

    background: rgba(0, 0, 0, 0.55);
    color: #ffffff;

    font-family: Georgia, serif;
    font-size: 15px;
    letter-spacing: 1px;

    cursor: pointer;
}

#maera-ripple-skip:hover {
    background: rgba(0, 0, 0, 0.8);
}

/* MOBILE PORTRAIT */

@media (max-width: 767px) {
    #maera-ripple-skip {
        right: 15px;
        bottom: 20px;
        padding: 9px 15px;
        font-size: 13px;
    }
}


/* ========================================
   ECHOES — SPLASH SKIP INTRO BUTTON
   ======================================== */

#echoes-splash-skip {
    position: absolute;
    right: 24px;
    bottom: 24px;
    z-index: 100;

    padding: 10px 20px;

    border: 1px solid rgba(255, 255, 255, 0.6);
    border-radius: 6px;

    background: rgba(0, 0, 0, 0.55);
    color: #ffffff;

    font-family: Georgia, serif;
    font-size: 15px;
    letter-spacing: 1px;

    cursor: pointer;
}

#echoes-splash-skip:hover {
    background: rgba(0, 0, 0, 0.8);
}

/* MOBILE PORTRAIT */

@media (max-width: 767px) {
    #echoes-splash-skip {
        right: 15px;
        bottom: 20px;
        padding: 9px 15px;
        font-size: 13px;
    }
}


/* ========================================
   TITAN — FULL ACORN REVEAL
   MOBILE PORTRAIT ONLY
   ======================================== */

@media screen and (max-width: 767px) and (orientation: portrait) {

    body.titan-page .titan-pod-acorn-wrap:hover video,
    body.titan-page .titan-pod-acorn-wrap:active video {
        transform: translateX(-120px);
    }

}


/* ========================================
   TITAN — PORTRAIT HATCH ALIGNMENT
   Keep Copyright's feet and vest hotspot
   ======================================== */

@media screen and (max-width: 767px) and (orientation: portrait) {

    /* Keep hatch in its original position */

    body.titan-page .titan-evac-hatch-wrap {
        margin-top: 18px !important;
    }

    /* Lower Copyright and her vest hotspot together */

    body.titan-page .titan-copyright-squirrel-wrap {
        transform: translateY(60px);
    }

}


/* ========================================
   MAERA'S TIDE — PORTRAIT TRAILER LABEL
   Keep download link separate from watch text
   ======================================== */

@media screen and (max-width: 767px) and (orientation: portrait) {

    body.maera-page .film-trailer-area .trailer-label {
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        justify-content: center;
        column-gap: 8px;
        row-gap: 8px;
        text-align: center;
        letter-spacing: 1px;
        overflow-wrap: anywhere;
    }

    body.maera-page .trailer-watch-text {
        flex: 0 0 auto;
        pointer-events: none;
    }

    body.maera-page .film-trailer-area .trailer-label a {
        display: inline-block;
        flex: 0 1 auto;
        max-width: 100%;
        pointer-events: auto;
    }

}


/* ========================================
   DREAMFALL BLOOM — PORTRAIT TRAILER LABEL
   ======================================== */

@media screen and (max-width: 767px) and (orientation: portrait) {

    body.dreamfall-page .film-trailer-area .trailer-label {
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        justify-content: center;
        column-gap: 8px;
        row-gap: 8px;
        text-align: center;
        letter-spacing: 1px;
        overflow-wrap: anywhere;
    }

    body.dreamfall-page .trailer-watch-text {
        flex: 0 0 auto;
        pointer-events: none;
    }

    body.dreamfall-page .film-trailer-area .trailer-label a {
        display: inline-block;
        flex: 0 1 auto;
        max-width: 100%;
        pointer-events: auto;
    }

}


/* ========================================
   EVERPASTURE — PORTRAIT TRAILER LABEL
   ======================================== */

@media screen and (max-width: 767px) and (orientation: portrait) {

    body.everpasture-page .film-trailer-area .trailer-label {
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        justify-content: center;
        column-gap: 8px;
        row-gap: 8px;
        text-align: center;
        letter-spacing: 1px;
        overflow-wrap: anywhere;
    }

    body.everpasture-page .trailer-watch-text {
        flex: 0 0 auto;
        pointer-events: none;
    }

    body.everpasture-page .film-trailer-area .trailer-label a {
        display: inline-block;
        flex: 0 1 auto;
        max-width: 100%;
        pointer-events: auto;
    }

}


/* ========================================
   ECHOES IN THE GLASS — PORTRAIT TRAILER LABEL
   ======================================== */

@media screen and (max-width: 767px) and (orientation: portrait) {

    body.echoes-page .film-trailer-area .trailer-label {
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        justify-content: center;
        column-gap: 8px;
        row-gap: 8px;
        text-align: center;
        letter-spacing: 1px;
        overflow-wrap: anywhere;
    }

    body.echoes-page .trailer-watch-text {
        flex: 0 0 auto;
        pointer-events: none;
    }

    body.echoes-page .film-trailer-area .trailer-label a {
        display: inline-block;
        flex: 0 1 auto;
        max-width: 100%;
        pointer-events: auto;
    }

}

/* ========================================
   MAERA — MOBILE PORTRAIT CINEMATICS
   VIEWPORT WIDTH CORRECTION
   ======================================== */

@media screen and (max-width: 767px) and (orientation: portrait) {

    body.maera-page #maera-ripple-intro {
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        right: auto !important;
        bottom: auto !important;
        width: 100vw !important;
        max-width: 100vw !important;
        height: 100dvh !important;
        overflow: hidden !important;
        box-sizing: border-box !important;
        z-index: 99999 !important;
        touch-action: none;
    }

  
body.maera-page #maera-ripple-video {
    display: block;
    width: 100% !important;
    height: 100% !important;
    max-width: 100% !important;
    max-height: 100% !important;

    object-fit: cover !important;
    object-position: center center !important;
}


    body.maera-page #maera-ripple-skip {
        position: absolute !important;
        top: auto !important;
        left: auto !important;
        right: 16px !important;
        bottom: 24px !important;
        z-index: 10 !important;
        touch-action: manipulation;
    }

    
/* ========================================
   MAERA — SHARD CINEMATIC
   FULL-SCREEN PORTRAIT
   ======================================== */

body.maera-page #maera-shard-cinematic {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: auto !important;
    bottom: auto !important;
    width: 100vw !important;
    max-width: 100vw !important;
    height: 100dvh !important;
    overflow: hidden !important;
    box-sizing: border-box !important;
    z-index: 100000 !important;
    touch-action: none;
}

body.maera-page #maera-shard-video {
    display: block;
    width: 100% !important;
    height: 100% !important;
    max-width: 100% !important;
    max-height: 100% !important;
    object-fit: cover !important;
    object-position: center center !important;
}

body.maera-page #maera-shard-skip {
    position: absolute !important;
    top: auto !important;
    left: auto !important;
    right: 16px !important;
    bottom: 24px !important;
    z-index: 20 !important;
    touch-action: manipulation;
}

}

/* MAERA SHARD — SKIP FILM BUTTON */

#maera-shard-skip {
    position: absolute;
    right: 16px;
    bottom: 24px;
    z-index: 20;
    padding: 10px 16px;
    border: 1px solid rgba(255,255,255,0.65);
    border-radius: 6px;
    background: rgba(0,0,0,0.7);
    color: white;
    font-family: Georgia, serif;
    font-size: 14px;
    cursor: pointer;
}


/* ========================================
   MAERA — LOCK PAGE DURING CINEMATICS
   ======================================== */

html.maera-cinematic-locked,
html.maera-cinematic-locked body {
    overflow: hidden !important;
    overscroll-behavior: none !important;
}

/* ========================================
   MAERA'S TIDE — HORIZONTAL BOP
   NAVIGATION ONLY
   ======================================== */

@media screen and (max-width: 950px) and (orientation: landscape) {

    body.maera-page .site-header {
        position: relative;
        z-index: 100;
        display: flex;
        flex-direction: column;
        align-items: center;
        width: 100%;
        height: auto;
        min-height: 0;
        padding: 10px 12px 14px;
        gap: 6px;
        box-sizing: border-box;
        overflow: visible;
    }

    body.maera-page .header-logo {
        display: block;
        width: 170px;
        max-width: 45%;
        margin: 0 auto;
        flex: 0 0 auto;
    }

    body.maera-page .header-logo img {
        display: block;
        width: 100%;
        height: auto;
    }

    body.maera-page .main-nav {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        align-items: center;
        width: 100%;
        min-width: 0;
        max-width: 100%;
        gap: 4px 9px;
        margin: 0 auto;
        padding: 0;
        box-sizing: border-box;
    }

    body.maera-page .main-nav > a,
    body.maera-page .nav-dropdown > a {
        display: inline-block;
        font-size: 19px;
        padding: 5px 7px;
        white-space: nowrap;
    }

    body.maera-page .nav-dropdown {
        flex: 0 0 auto;
    }

    body.maera-page .dropdown-menu {
        z-index: 10000;
    }

   body.maera-page .header-gem {
    display: none;
}

}

/* ========================================
   MAERA'S TIDE — HORIZONTAL BOP
   POSTER, SYNOPSIS, TRAILER AND SHARD
   ======================================== */

@media screen and (max-width: 950px) and (orientation: landscape) {

    /* Stack the opening sections vertically */

    body.maera-page .film-opening {
        display: flex;
        flex-direction: column;
        align-items: center;
        width: 94%;
        max-width: 100%;
        margin: 24px auto 0;
        gap: 28px;
        box-sizing: border-box;
    }

    /* Center the complete poster */

    body.maera-page .film-poster-main {
        width: 100%;
        max-width: 100%;
        min-width: 0;
        display: flex;
        flex-direction: column;
        align-items: center;
        box-sizing: border-box;
    }

    body.maera-page .film-poster-main > img {
        display: block;
        width: min(340px, 85%);
        max-width: 100%;
        height: auto;
        box-sizing: border-box;
    }

    /* Synopsis directly beneath the poster */

    body.maera-page .film-synopsis {
        width: min(650px, 100%);
        max-width: 100%;
        margin: 20px auto 0;
        padding: 0 10px;
        box-sizing: border-box;
        text-align: center;
    }

    body.maera-page .film-synopsis p {
        margin: 0;
        font-size: 21px;
        line-height: 1.55;
        text-align: center;
    }

    /* Trailer fills the available content width */

    body.maera-page .film-trailer-area {
        width: 100%;
        max-width: 100%;
        min-width: 0;
        margin: 0 auto;
        padding: 5px;
        box-sizing: border-box;
    }

    body.maera-page .film-trailer-area video {
        display: block;
        width: 100%;
        max-width: 100%;
        height: auto;
        aspect-ratio: 16 / 9;
    }

    /* Keep WATCH separate from DOWNLOAD */

    body.maera-page .film-trailer-area .trailer-label {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        align-items: center;
        gap: 8px 16px;
        width: 100%;
        margin: 14px auto 8px;
        padding: 0 8px;
        box-sizing: border-box;
        text-align: center;

        /* Hide the plain-text separator */
        font-size: 0;
        letter-spacing: 0;
    }

    body.maera-page .trailer-watch-text {
        display: inline-block;
        font-size: 17px;
        letter-spacing: 3px;
        pointer-events: none;
    }

    body.maera-page .film-trailer-area .trailer-label a {
        display: inline-block;
        position: relative;
        width: auto;
        max-width: 100%;
        padding: 8px 10px;
        font-size: 17px;
        letter-spacing: 3px;
        line-height: 1.4;
        white-space: normal;
        text-align: center;
        pointer-events: auto;
    }

    /* Interesting Fact and crystal below trailer */

    body.maera-page .echoes-fact {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        width: 94%;
        max-width: 100%;
        height: auto;
        margin: 36px auto 45px;
        padding: 12px 18px;
        box-sizing: border-box;
        gap: 18px;
        transform: none;
    }

    body.maera-page .maera-shard-trigger {
        position: relative;
        display: block;
        width: 90px;
        height: auto;
        margin: 0 auto;
        padding: 0;
        flex: 0 0 auto;
    }

    body.maera-page .maera-shard-trigger img {
        display: block;
        width: 100%;
        height: auto;
    }

    body.maera-page .echoes-fact-text {
        width: 100%;
        min-width: 0;
        max-width: 650px;
        margin: 0 auto;
        padding: 0;
        box-sizing: border-box;
        text-align: center;
    }

    body.maera-page .echoes-fact-heading {
        margin: 0 auto 12px;
        text-align: center;
    }

    body.maera-page #maera-random-fact {
        width: 100%;
        margin: 0 auto;
        line-height: 1.55;
        text-align: center;
        overflow-wrap: break-word;
    }

}

/* ========================================
   MAERA'S TIDE — HORIZONTAL BOP
   CAST GRID LEFT ALIGNMENT
   ======================================== */

@media screen and (max-width: 950px) and (orientation: landscape) {

    body.maera-page .maera-cast .cast-grid {
        transform: translateX(0);
    }

}

/* ========================================
   MAERA'S TIDE — HORIZONTAL BOP
   CAST: THREE COLUMNS, NAMES BELOW
   ======================================== */

@media screen and (max-width: 950px) and (orientation: landscape) {

    body.maera-page .maera-cast {
        width: 94%;
        max-width: 760px;
        margin: 35px auto;
        padding: 0;
        box-sizing: border-box;
    }

    body.maera-page .maera-cast .section-title {
        transform: none;
        width: 100%;
        margin: 0 0 25px;
        text-align: center;
    }

    body.maera-page .maera-cast .cast-grid {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 28px 16px;
        width: 100%;
        max-width: 100%;
        margin: 0 auto;
        padding: 0;
        transform: none;
        justify-items: center;
        box-sizing: border-box;
    }

    body.maera-page .maera-cast .cast-grid > .cast-member {
        grid-column: auto;
        grid-row: auto;

        display: flex;
        flex-direction: column;
        align-items: center;

        width: 100%;
        min-width: 0;
        max-width: 100%;
        margin: 0;
        padding: 0;

        text-align: center;
        box-sizing: border-box;
    }

    body.maera-page .maera-cast .cast-member > img {
        display: block;
        width: 100%;
        max-width: 180px;
        height: auto;
        aspect-ratio: 1 / 1;
        object-fit: cover;
        margin: 0 auto;
    }

    body.maera-page .maera-cast .cast-member > span {
        display: block;
        position: static;
        width: 100%;
        margin: 12px 0 0;
        padding: 0;
        transform: none;
        text-align: center;
        white-space: normal;
        font-size: 20px;
        line-height: 1.3;
    }

    /* Lav's acorn and Guardian's video stay in their wrappers */

    body.maera-page .maera-cast .maera-cast-acorn-wrap,
    body.maera-page .maera-cast .maera-guardian-video-wrap {
        width: 100%;
        max-width: 180px;
        aspect-ratio: 1 / 1;
        margin: 0 auto;
    }

}

/* ========================================
   MAERA — HORIZONTAL CAST SPECIAL PORTRAITS
   LAV + GUARDIAN
   ======================================== */

@media screen and (max-width: 950px) and (orientation: landscape) {

    body.maera-page .maera-cast .maera-cast-acorn-wrap,
    body.maera-page .maera-cast .maera-guardian-video-wrap {
        position: relative;
        display: block;
        width: 100%;
        max-width: 180px;
        height: auto;
        aspect-ratio: 1 / 1;
        flex: none;
        margin: 0 auto;
        overflow: hidden;
        box-sizing: border-box;
    }

    body.maera-page .maera-cast .maera-cast-lav,
    body.maera-page .maera-cast .maera-cast-guardian,
    body.maera-page .maera-cast .maera-guardian-video {
        position: absolute;
        inset: 0;
        display: block;
        width: 100%;
        height: 100%;
        object-fit: cover;
        margin: 0;
    }

    body.maera-page .maera-cast .maera-guardian-video {
        top: 0;
        left: 0;
    }

    /* Lav must remain visible until deliberately tapped */

    body.maera-page .maera-cast-acorn-wrap .maera-cast-lav,
    body.maera-page .maera-cast-acorn-wrap:hover .maera-cast-lav {
        z-index: 5;
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        cursor: pointer;
    }

    /* The acorn cannot be collected before reveal */

    body.maera-page .maera-cast-acorn-wrap .maera-cast-acorn {
        z-index: 1;
        pointer-events: none;
    }

    /* First tap reveals the acorn */

    body.maera-page .maera-cast-acorn-wrap.is-revealed .maera-cast-lav,
    body.maera-page .maera-cast-acorn-wrap.is-revealed:hover .maera-cast-lav {
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
    }

    /* Only the revealed acorn is collectible */

    body.maera-page .maera-cast-acorn-wrap.is-revealed .maera-cast-acorn {
        pointer-events: auto;
    }

}

/* ========================================
   MAERA — LANDSCAPE CAST
   LAV AND GUARDIAN PORTRAIT SIZING
   ======================================== */

@media screen and (max-width: 950px) and (orientation: landscape) {

    /* Match the ordinary cast portrait dimensions */

    body.maera-page .maera-cast .maera-cast-acorn-wrap,
    body.maera-page .maera-cast .maera-guardian-video-wrap {
        position: relative;
        display: block;
        width: 100%;
        max-width: 180px;
        aspect-ratio: 1 / 1;
        height: auto;
        margin: 0 auto;
        padding: 0;
        box-sizing: border-box;
        overflow: hidden;
    }

    /* Fill each special frame edge to edge */

    body.maera-page .maera-cast .maera-cast-lav,
    body.maera-page .maera-cast .maera-cast-guardian {
        position: absolute;
        inset: 0;
        display: block;
        width: 100%;
        max-width: none;
        height: 100%;
        max-height: none;
        margin: 0;
        padding: 0;
        box-sizing: border-box;
        object-fit: cover;
        object-position: center;
    }

    /* Guardian's video fills the same frame */

    body.maera-page .maera-cast .maera-guardian-video {
        position: absolute;
        inset: 0;
        width: 100%;
        height: 100%;
        max-width: none;
        max-height: none;
        object-fit: cover;
        margin: 0;
    }

}

/* ========================================
   PRISMARA HOMEPAGE — HORIZONTAL BOP
   Scale the complete carousel stage.
   Desktop and portrait remain untouched.
   ======================================== */

@media screen and (orientation: landscape)
       and (max-height: 500px)
       and (max-width: 1000px) {

    body:has(> .carousel-stage) > .carousel-stage {
        transform: scale(0.48);
        transform-origin: top center;

        width: calc(100% / 0.48);
        margin-left: calc((100% - (100% / 0.48)) / 2);

        margin-bottom: -430px;
    }

}


/* ==========================================
   PPS AWARDS — CHICAGO JOINS THE PARTY
   Desktop only — mobile stays untouched
   ========================================== */

@media screen and (min-width: 951px) {

    /* EVERPASTURE — two laurels on row three */

    body.awards-page .recognition-everpasture
    .recognition-laurel-wall
    > article.recognition-laurel:nth-of-type(9) {
        grid-column: 2 / span 2 !important;
        grid-row: 3 !important;
    }

    body.awards-page .recognition-everpasture
    .recognition-laurel-wall
    > article.recognition-laurel:nth-of-type(10) {
        grid-column: 6 / span 2 !important;
        grid-row: 3 !important;
        justify-self: center !important;
        margin-top: 25px !important;
    }

    /* TITAN — Nashville and Chicago together */

    body.awards-page .recognition-titan
    .recognition-laurel-wall
    > article.recognition-laurel:nth-of-type(9) {
        grid-column: 4 / span 2 !important;
        grid-row: 3 !important;
    }

    body.awards-page .recognition-titan
    .recognition-laurel-wall
    > article.recognition-laurel:nth-of-type(10) {
        grid-column: 6 / span 2 !important;
        grid-row: 3 !important;
    }
}

/* ========================================
   PRISMARA HOMEPAGE
   COPYRIGHT SQUIRREL — MOBILE PORTRAIT
   ======================================== */

@media screen and (orientation: portrait) and (max-width: 1000px) {

    body:has(> .carousel-stage) .copyright-squirrel {
        width: 360px !important;
        max-width: 360px !important;
    }

}

/* ========================================
   COPYRIGHT ACORN — PORTRAIT HOTSPOT
   ======================================== */

@media screen and (orientation: portrait) and (max-width: 1000px) {

    body:has(> .carousel-stage) .copyright-acorn-hotspot {
        left: 51%;
        top: 145px;
        width: 48px;
        height: 48px;
    }

}

/* ==========================================
   PRISMARA — PORTRAIT SPLASH
   Clean picture layout
   ========================================== */

@media screen and (orientation: portrait) and (max-width: 1000px) {

    .prismara-intro picture {
        display: flex;
        width: 100%;
        height: 100%;
        justify-content: center;
        align-items: center;
        overflow: hidden;
    }

    .prismara-intro picture img {
        display: block;
        width: 100%;
        height: 100%;
        max-width: none;
        max-height: none;
        margin: 0;
        object-fit: contain;

        animation: prismara-six-world-entrance
                   6s ease-out forwards;
    }

}

/* ========================================
   PRISMARA PORTRAIT SPLASH
   FULL-SCREEN CINEMATIC BACKGROUND
   ======================================== */

@media screen and (orientation: portrait) and (max-width: 1000px) {

    .prismara-intro::before {
        content: "";
        position: absolute;
        inset: 0;

        background-image:
            url("../images/logo/prismara-films-portrait.png");

        background-size: cover;
        background-position: center;
        background-repeat: no-repeat;

        filter: blur(18px) brightness(0.55);
        transform: scale(1.08);
    }

    .prismara-intro picture {
        position: relative;
        z-index: 1;
    }

}

/* ========================================
   FILMOGRAPHY — PORTRAIT SPLASH
   ======================================== */

/* Hidden everywhere by default */
.films-intro-portrait {
    display: none;
}

@media screen and (orientation: portrait) and (max-width: 1000px) {

    /* Hide video in portrait */
    #films-intro-video {
        display: none;
    }

    /* Display our portrait artwork */
    .films-intro-portrait {
        display: flex;
        position: absolute;
        inset: 0;
        width: 100%;
        height: 100%;
        align-items: center;
        justify-content: center;
        overflow: hidden;
    }

    .films-intro-portrait img {
        display: block;
        width: 100%;
        height: 100%;
        object-fit: contain;
    }

    /* Fill the remaining space with our artwork */
    .films-intro-portrait::before {
        content: "";
        position: absolute;
        inset: 0;

        background-image:
            url("../images/logo/prismara-films-portrait.png");

        background-size: cover;
        background-position: center;
        background-repeat: no-repeat;

        filter: blur(18px) brightness(0.55);
        transform: scale(1.08);
    }

    /* Keep the sharp artwork in front */
    .films-intro-portrait img {
        position: relative;
        z-index: 1;
    }

}

/* ========================================
   FILMOGRAPHY — KEEP SKIP BUTTON CLICKABLE
   ======================================== */

#films-intro {
    position: fixed;
}

#films-skip {
    position: absolute;
    z-index: 100;
    pointer-events: auto;
}

.films-intro-portrait {
    pointer-events: none;
}

/* ========================================
   FILMOGRAPHY PORTRAIT SPLASH
   KEEP ALL LETTERS VISIBLE
   ======================================== */

@media screen and (orientation: portrait) and (max-width: 1000px) {

    body.films-page .films-intro-portrait {
        position: absolute;
        inset: 0;

        width: 100%;
        height: 100%;

        min-width: 0;
        max-width: 100%;

        display: flex;
        align-items: center;
        justify-content: center;

        overflow: hidden;
    }

    body.films-page .films-intro-portrait img {
        display: block;

        width: 100%;
        height: 100%;

        min-width: 0;
        max-width: 100%;
        max-height: 100%;

        object-fit: contain;
        object-position: center center;

        flex-shrink: 1;
        margin: 0;
    }

}

/* ========================================
   FILMOGRAPHY — PORTRAIT INTRO WIDTH FIX
   ======================================== */

@media screen and (orientation: portrait) and (max-width: 1000px) {

    #films-intro {
        position: fixed;
        left: 0;
        right: 0;

        width: 100vw;
        max-width: 100vw;

        margin: 0;
        padding: 0;
        box-sizing: border-box;

        overflow: hidden;
    }

    #films-intro .films-intro-portrait {
        position: absolute;
        inset: 0;

        width: 100%;
        max-width: 100%;

        margin: 0;
        padding: 0;
        box-sizing: border-box;
    }

}


/* ============================================
   PPS — ECHOES IN THE GLASS
   HORIZONTAL PHONE NAVIGATION REPAIR
   Portrait and desktop remain untouched
   ============================================ */

@media screen and (orientation: landscape)
       and (max-width: 950px)
       and (max-height: 500px) {

    body.echoes-page .site-header {
        height: auto;
        min-height: 85px;
        padding: 10px 14px;
        gap: 12px;
        overflow: visible;
    }

    /* Smaller Prismara logo */

    body.echoes-page .header-logo {
        width: 135px;
        margin-right: 0;
        flex: 0 0 135px;
    }

    /* Navigation can occupy two neat rows */

    body.echoes-page .main-nav {
        flex: 1 1 auto;
        min-width: 0;
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        align-items: center;
        gap: 4px 8px;
    }

    body.echoes-page .main-nav > a,
    body.echoes-page .nav-dropdown > a {
        font-size: 17px;
        padding: 5px 7px;
        letter-spacing: 0;
    }

    /* Preserve the dropdown menus */

    body.echoes-page .nav-dropdown {
        position: relative;
    }

    body.echoes-page .dropdown-menu {
        z-index: 10000;
    }

    /* Compact Whispercrest map */

    body.echoes-page .header-gem {
        width: 55px;
        height: 55px;
        flex: 0 0 55px;
        margin: 0;
    }
}


/* ============================================
   PPS — ECHOES HORIZONTAL PHONE
   POSTER, SYNOPSIS, TRAILER & FACT
   ============================================ */

@media screen and (orientation: landscape)
       and (max-width: 950px)
       and (max-height: 500px) {

    /* One column instead of side by side */

    body.echoes-page .film-opening {
        display: flex;
        flex-direction: column;
        align-items: center;
        width: 94%;
        max-width: none;
        gap: 30px;
        margin: 25px auto 0;
        padding: 0;
        box-sizing: border-box;
    }

    /* Center the poster */

    body.echoes-page .film-poster-main {
        width: 48%;
        max-width: 420px;
        min-width: 0;
        margin: 0 auto;
        padding: 0;
        box-sizing: border-box;
    }

    body.echoes-page .film-poster-main > img {
        display: block;
        width: 100%;
        height: auto;
    }

    /* Synopsis below the poster */

    body.echoes-page .film-synopsis {
        position: relative;
        width: 100%;
        max-width: none;
        height: auto;
        margin: 22px auto 0;
        padding: 0;
        transform: none;
        box-sizing: border-box;
    }

    body.echoes-page .film-synopsis p {
        position: static;
        margin: 0;
        font-size: 21px;
        line-height: 1.5;
        text-align: center;
    }

    /* Full-width cinematic trailer */

    body.echoes-page .film-trailer-area {
        width: 100%;
        max-width: none;
        min-width: 0;
        margin: 0 auto;
        padding: 6px;
        box-sizing: border-box;
    }

    body.echoes-page .film-trailer-area video {
        display: block;
        width: 100%;
        height: auto;
        aspect-ratio: 16 / 9;
        object-fit: contain;
    }

    /* Interesting Fact gets its own space */

    body.echoes-page .echoes-fact {
        position: relative;
        display: flex;
        align-items: center;
        width: 90%;
        max-width: none;
        margin: 38px auto 42px;
        padding: 12px 0;
        gap: 20px;
        transform: none;
        box-sizing: border-box;
    }

    body.echoes-page .echoes-film-info + .echoes-fact {
        margin-top: 38px;
    }

    body.echoes-page .echoes-fact-acorn {
        position: static;
        flex: 0 0 68px;
        width: 68px;
        height: auto;
    }

    body.echoes-page .echoes-fact-text {
        position: static;
        flex: 1 1 auto;
        min-width: 0;
    }
}


/* ==========================================
   PPS — ECHOES SPLASH SCROLL LOCK
   ========================================== */

html.echoes-intro-locked,
body.echoes-intro-locked {
    overflow: hidden !important;
}


/* ============================================
   PPS — ECHOES HORIZONTAL MOBILE STILLS
   TWO LARGE COLUMNS / EASTER EGG PRESERVED
   ============================================ */

@media screen and (orientation: landscape)
       and (max-width: 950px)
       and (max-height: 500px) {

    body.echoes-page .film-stills {
        position: relative;
        width: 96%;
        max-width: none;
        min-width: 0;
        margin: 36px auto;
        padding: 0;
        left: auto;
        right: auto;
        transform: none;
        box-sizing: border-box;
    }

    body.echoes-page .film-stills .section-title {
        width: 100%;
        margin: 0 0 24px;
        text-align: center;
        transform: none;
    }

    body.echoes-page .stills-grid {
        position: relative;
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        width: 100%;
        max-width: 100%;
        min-width: 0;
        gap: 14px;
        margin: 0 auto;
        padding: 0;
        left: auto;
        right: auto;
        transform: none;
        box-sizing: border-box;
    }

    body.echoes-page .stills-grid > img {
        display: block;
        width: 100%;
        max-width: 100%;
        height: auto;
        aspect-ratio: 16 / 9;
        object-fit: cover;
        margin: 0;
        box-sizing: border-box;
    }

    body.echoes-page .stills-easter-egg {
        position: relative;
        display: block;
        width: 100%;
        max-width: 100%;
        aspect-ratio: 16 / 9;
        margin: 0;
        overflow: hidden;
        box-sizing: border-box;
    }

    body.echoes-page .stills-easter-egg .easter-still,
    body.echoes-page .stills-easter-egg .easter-video {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
}


/* ========================================
   PPS — ECHOES IN THE GLASS
   HORIZONTAL BOP — CAST GALLERY
   THREE COLUMNS / NAMES BELOW
   ======================================== */

@media screen and (orientation: landscape)
       and (max-width: 950px)
       and (max-height: 500px) {

    body.echoes-page .film-cast {
        width: 94%;
        max-width: 760px;
        margin: 35px auto 45px;
        padding: 0;
        box-sizing: border-box;
    }

    /* Center the CAST heading */

    body.echoes-page .film-cast .section-title {
        width: 100%;
        margin: 0 0 25px;
        text-align: center;
        transform: none;
    }

    /* Three evenly spaced columns */

    body.echoes-page .film-cast .cast-grid {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 28px 16px;

        width: 100%;
        max-width: 100%;
        margin: 0 auto;
        padding: 0;

        transform: none;
        justify-items: center;
        box-sizing: border-box;
    }

    /* Portrait above, name below */

    body.echoes-page .film-cast .cast-grid > .cast-member {
        grid-column: auto;
        grid-row: auto;

        display: flex;
        flex-direction: column;
        align-items: center;

        width: 100%;
        min-width: 0;
        max-width: 100%;
        margin: 0;
        padding: 0;

        text-align: center;
        box-sizing: border-box;
    }

    /* Ordinary cast portraits */

    body.echoes-page .film-cast .cast-member > img {
        display: block;

        width: 100%;
        max-width: 180px;
        height: auto;
        aspect-ratio: 1 / 1;
        object-fit: cover;

        margin: 0 auto;
    }

    /* Names beneath portraits */

    body.echoes-page .film-cast .cast-member > span {
        display: block;
        position: static;

        width: 100%;
        margin: 12px 0 0;
        padding: 0;

        transform: none;
        text-align: center;
        white-space: normal;

        font-size: 20px;
        line-height: 1.3;
    }
}


/* ========================================
   PPS — ECHOES HORIZONTAL BOP
   ORANGE HUMAN / HORSE PORTRAIT REPAIR
   ======================================== */

@media screen and (orientation: landscape)
       and (max-width: 950px)
       and (max-height: 500px) {

    /* Give Orange the same portrait space */

    body.echoes-page .film-cast .orange-transform {
        position: relative;
        display: block;

        width: 100%;
        max-width: 180px;
        height: auto;
        aspect-ratio: 1 / 1;

        flex: none;
        margin: 0 auto;
        padding: 0;

        overflow: hidden;
        box-sizing: border-box;
    }

    /* Both transformations fill the same frame */

    body.echoes-page .film-cast .orange-transform .orange-human,
    body.echoes-page .film-cast .orange-transform .orange-horse {
        position: absolute;
        inset: 0;

        display: block;
        width: 100%;
        max-width: none;
        height: 100%;
        max-height: none;

        margin: 0;
        padding: 0;

        object-fit: cover;
        object-position: center;
        box-sizing: border-box;
    }
}


/* ========================================
   PPS — EVERPASTURE HORIZONTAL BOP
   HEADER APPLE — KEEP SITE MAP VISIBLE
   ======================================== */

@media screen and (orientation: landscape)
       and (max-width: 950px)
       and (max-height: 500px) {

    body.everpasture-page .everpasture-header-apple {
        width: 75px;
        top: 0;
        right: 0;
        z-index: 50;
    }

    body.everpasture-page .everpasture-header-apple img {
        display: block;
        width: 100%;
        height: auto;
    }
}


/* ========================================
   PPS — EVERPASTURE HORIZONTAL BOP
   PREVENT SIDEWAYS PAGE SCROLLING
   ======================================== */

@media screen and (orientation: landscape)
       and (max-width: 950px)
       and (max-height: 500px) {

    html,
    body.everpasture-page {
        overflow-x: clip;
        max-width: 100%;
    }
}


/* ========================================
   PPS — MAERA HORIZONTAL BOP
   PREVENT SIDEWAYS PAGE SCROLLING
   ======================================== */

@media screen and (orientation: landscape)
       and (max-width: 950px)
       and (max-height: 500px) {

    body.maera-page:not(.everpasture-page) {
        overflow-x: clip;
        max-width: 100%;
    }
}


/* ========================================
   PPS — MAERA'S TIDE
   VERTICAL MOBILE — STOP SIDEWAYS SCROLL
   ======================================== */

@media screen and (max-width: 767px)
       and (orientation: portrait) {

    html,
    body.maera-page:not(.everpasture-page) {
        overflow-x: clip;
        max-width: 100%;
    }
}


/* ============================================
   PPS — EVERPASTURE HORIZONTAL MOBILE STILLS
   TWO LARGE COLUMNS / STILL 08 PRESERVED
   ============================================ */

@media screen and (orientation: landscape)
       and (max-width: 950px)
       and (max-height: 500px) {

    body.everpasture-page .film-stills {
        position: relative;
        width: 96%;
        max-width: none;
        min-width: 0;
        margin: 36px auto;
        padding: 0;
        left: auto;
        right: auto;
        transform: none;
        box-sizing: border-box;
    }

    body.everpasture-page .film-stills .section-title {
        width: 100%;
        margin: 0 0 24px;
        text-align: center;
        transform: none;
    }

    body.everpasture-page .stills-grid {
        position: relative;
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        width: 100%;
        max-width: 100%;
        min-width: 0;
        gap: 14px;
        margin: 0 auto;
        padding: 0;
        left: auto;
        right: auto;
        transform: none;
        box-sizing: border-box;
    }

    /* Ordinary stills 01 through 07 */

    body.everpasture-page .stills-grid > img {
        display: block;
        width: 100%;
        max-width: 100%;
        height: auto;
        aspect-ratio: 16 / 9;
        object-fit: cover;
        margin: 0;
        box-sizing: border-box;
    }

    /* Special video still 08 */

    body.everpasture-page .everpasture-still-08-memory {
        position: relative;
        display: block;
        width: 100%;
        max-width: 100%;
        min-width: 0;
        aspect-ratio: 16 / 9;
        margin: 0;
        overflow: hidden;
        box-sizing: border-box;
    }

    body.everpasture-page .everpasture-still-08-image,
    body.everpasture-page .everpasture-still-08-video {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
}


/* ========================================
   PPS — EVERPASTURE HORIZONTAL BOP
   CAST CHALLENGE — 3 COLUMNS / 4 ROWS
   ======================================== */

@media screen and (orientation: landscape)
       and (max-width: 950px)
       and (max-height: 500px) {

    body.everpasture-page .film-cast {
        width: 94%;
        max-width: 760px;
        margin: 35px auto 45px;
        padding: 0;
        box-sizing: border-box;
    }

    body.everpasture-page .film-cast .section-title {
        width: 100%;
        margin: 0 0 25px;
        text-align: center;
        transform: none;
    }

    body.everpasture-page .cast-grid {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 28px 16px;

        width: 100%;
        max-width: 100%;
        margin: 0 auto;
        padding: 0;

        transform: none;
        justify-items: center;
        box-sizing: border-box;
    }

    body.everpasture-page .cast-grid > .cast-member {
        grid-column: auto;
        grid-row: auto;

        display: flex;
        flex-direction: column;
        align-items: center;

        width: 100%;
        min-width: 0;
        max-width: 100%;

        margin: 0;
        padding: 0;

        text-align: center;
        box-sizing: border-box;
    }

    body.everpasture-page .cast-grid > .cast-member > img {
        display: block;
        width: 100%;
        max-width: 180px;
        height: auto;
        aspect-ratio: 1 / 1;
        object-fit: cover;
        margin: 0 auto;
    }

    body.everpasture-page .cast-grid > .cast-member > span {
        display: block;
        position: static;

        width: 100%;
        margin: 12px 0 0;
        padding: 0;

        transform: none;
        text-align: center;
        white-space: normal;

        font-size: 20px;
        line-height: 1.3;
    }

    /* Everpasture's special twelfth card */

    body.everpasture-page .everpasture-secret-image {
        position: relative;
        display: block;

        width: 100%;
        max-width: 180px;
        aspect-ratio: 1 / 1;

        margin: 0 auto;
        overflow: hidden;
        box-sizing: border-box;
    }

    body.everpasture-page .everpasture-secret-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
}


@media screen and (orientation: landscape)
       and (max-width: 950px)
       and (max-height: 500px) {

    body.everpasture-page
    .everpasture-secret-image .everpasture-hidden-acorn {
        object-fit: contain;
    }
}

body.everpasture-page .everpasture-cast-description {
    width: 100%;
    margin: 0 0 28px;
    text-align: center;
    font-family: "Cormorant Garamond", serif;
    font-size: 22px;
    line-height: 1.4;
}

/* ========================================
   TITAN — RETURN THE ROGUE HEADER POD
   MOBILE LANDSCAPE ONLY
   ======================================== */

@media screen and (max-width: 950px) and (orientation: landscape) {

    body.titan-page .header-gem.titan-pod-acorn-wrap {
        display: flex;
    }

}


/* ========================================
   MAERA'S TIDE — RESTORE THE EYE
   MOBILE LANDSCAPE ONLY
   ======================================== */

@media screen and (max-width: 950px) and (orientation: landscape) {

    body.maera-page:not(.titan-page) .header-gem {
        display: flex;
    }

}

/* ========================================
   TITAN — PORTRAIT WARNING LIGHT SYMMETRY
   ======================================== */

@media screen and (max-width: 767px) and (orientation: portrait) {

    body.titan-page .titan-emergency-light-right {
        left: auto !important;
        right: -25px !important;
    }

}

/* ========================================
   MAERA — LANDSCAPE EYE POSITION
   ======================================== */

@media screen and (max-width: 950px) and (orientation: landscape) {

    body.maera-page:not(.titan-page) .site-header {
        position: relative;
    }

    body.maera-page:not(.titan-page) .header-gem {
        position: absolute;
        display: flex;

        top: 8px;
        right: 12px;
        left: auto;
        bottom: auto;

        width: 75px;
        height: 75px;

        margin: 0;
        transform: none;

        flex: none;
        z-index: 5;
    }

}

/* ==========================================
   PPS AWARDS — EVERPASTURE THIRD ROW
   THREE LAURELS TOGETHER
   DESKTOP ONLY
   ========================================== */

@media screen and (min-width: 951px) {

    body.awards-page .recognition-everpasture
    .recognition-laurel-wall
    > article.recognition-laurel:nth-of-type(9) {
        grid-column: 3 / span 2 !important;
        grid-row: 3 !important;
        left: 0 !important;
    }

    body.awards-page .recognition-everpasture
    .recognition-laurel-wall
    > article.recognition-laurel:nth-of-type(10) {
        grid-column: 5 / span 2 !important;
        grid-row: 3 !important;
        left: 0 !important;
    }

    body.awards-page .recognition-everpasture
    .recognition-laurel-wall
    > article.recognition-laurel:nth-of-type(11) {
        grid-column: 7 / span 2 !important;
        grid-row: 3 !important;
        left: 0 !important;
    }

}

/* ==========================================
   PPS AWARDS — MOBILE GRID GREMLIN REPAIR
   Portrait and landscape only
   Preserve desktop and delivery animations
   ========================================== */

@media screen and (max-width: 950px) {

    body.awards-page .recognition-film
    .recognition-laurel-wall {
        grid-template-columns:
            repeat(2, minmax(0, 1fr)) !important;

        grid-auto-flow: row !important;
        grid-auto-columns: auto !important;
    }

    body.awards-page .recognition-film
    .recognition-laurel-wall
    > article.recognition-laurel {
        grid-column: auto !important;
        grid-row: auto !important;

        left: 0 !important;
        right: auto !important;

        min-width: 0 !important;
        max-width: 100% !important;

        justify-self: stretch !important;
    }

    /* Remove the desktop-only Chicago and
       Frames of Newyork vertical offsets. */

    body.awards-page .recognition-everpasture
    .recognition-laurel-wall
    > article.recognition-laurel:nth-of-type(10),

    body.awards-page .recognition-everpasture
    .recognition-laurel-wall
    > article.recognition-laurel:nth-of-type(11) {
        margin-top: 0 !important;
    }
}

/* ==========================================
   PPS AWARDS — FINAL GRID BOUNDARY REPAIR
   ========================================== */

/* DESKTOP: three laurels together */

@media screen and (min-width: 951px) {

  body.awards-page .recognition-everpasture
  .recognition-laurel-wall
  > article.recognition-laurel:nth-of-type(9) {
    grid-column: 3 / span 2 !important;
    grid-row: 3 !important;
    left: 0 !important;
  }

  body.awards-page .recognition-everpasture
  .recognition-laurel-wall
  > article.recognition-laurel:nth-of-type(10) {
    grid-column: 5 / span 2 !important;
    grid-row: 3 !important;
    left: 0 !important;
  }

  body.awards-page .recognition-everpasture
  .recognition-laurel-wall
  > article.recognition-laurel:nth-of-type(11) {
    grid-column: 7 / span 2 !important;
    grid-row: 3 !important;
    left: 0 !important;
  }
}

/* MOBILE: return all laurels to natural grid order */

@media screen and (max-width: 950px) {

  body.awards-page .recognition-film
  .recognition-laurel-wall {
    grid-template-columns:
      repeat(2, minmax(0, 1fr)) !important;
    grid-auto-flow: row !important;
  }

  body.awards-page .recognition-film
  .recognition-laurel-wall
  > article.recognition-laurel {
    grid-column: auto !important;
    grid-row: auto !important;
    left: 0 !important;
    right: auto !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  body.awards-page .recognition-everpasture
  .recognition-laurel-wall
  > article.recognition-laurel:nth-of-type(10),

  body.awards-page .recognition-everpasture
  .recognition-laurel-wall
  > article.recognition-laurel:nth-of-type(11) {
    margin-top: 0 !important;
  }
}

/* ==========================================
   PPS AWARDS — NEWYORK COMES DOWN TO EARTH
   DESKTOP ONLY — MOBILE LOCKED!
   ========================================== */

@media screen and (min-width: 951px) {

    body.awards-page .recognition-everpasture
    .recognition-laurel-wall
    > article.recognition-laurel:nth-of-type(11) {

        margin-top: 22px !important;

    }

}


/* ============================================
   PRISMARA — SITE-WIDE LANDSCAPE PHONE NAV
   19px lettering + compact Films dropdown
   Portrait and desktop remain untouched
   ============================================ */

@media screen and (orientation: landscape)
       and (max-width: 950px)
       and (max-height: 500px) {

    /* Consistent navigation lettering */

    .site-header .main-nav > a,
    .site-header .nav-dropdown > a {
        font-size: 19px;
        line-height: 1.1;
        padding: 4px 6px;
        letter-spacing: 0;
        white-space: nowrap;
    }

    /* Keep dropdowns above page artwork */

    .site-header .nav-dropdown {
        position: relative;
    }

    /* Reduce wasted space inside dropdown */

    .site-header .dropdown-menu {
        top: calc(100% + 3px);
        padding: 5px 7px;
        z-index: 10000;
        box-sizing: border-box;
    }

    /* All six Films entries */

    .site-header .dropdown-menu a {
        font-size: 19px;
        line-height: 1.1;
        padding: 7px 12px;
        white-space: nowrap;
    }
}


/* ========================================
   TITAN — EVACUATION VIDEO
   MOBILE PORTRAIT ONLY
   ======================================== */

@media screen and (max-width: 700px)
       and (orientation: portrait) {

    body.titan-page .titan-evac-video {
        width: 100% !important;
        height: 100% !important;

        object-fit: cover !important;
        object-position: center center !important;
    }

}

/* ========================================
   TITAN — PORTRAIT EVACUATION FRAMING
   ======================================== */

@media screen and (max-width: 700px)
       and (orientation: portrait) {

    body.titan-page .titan-evac-video {
        object-position: 47% center !important;
    }

}


/* ========================================
   TITAN — PORTRAIT POD BOARD LETTERING
   ======================================== */

@media screen and (max-width: 700px)
       and (orientation: portrait) {

    body.titan-page .titan-pod-board {
        width: 68%;
        max-width: 320px;
        left: 50%;
        top: 46%;
    }

    body.titan-page .titan-pod-board-label {
        font-size: 17px;
        letter-spacing: 0.12em;
    }

    body.titan-page .titan-pod-board-name {
        font-size: 32px;
        line-height: 1.1;
        overflow-wrap: anywhere;
    }

    body.titan-page .titan-pod-board-status {
        font-size: 15px;
        letter-spacing: 0.10em;
    }

}


/* ========================================
   TITAN — LAUNCH VIDEO
   MOBILE PORTRAIT FULL SCREEN
   ======================================== */

@media screen and (max-width: 700px)
       and (orientation: portrait) {

    body.titan-page .titan-launch-video {
        width: 100% !important;
        height: 100% !important;

        object-fit: cover !important;
        object-position: center center !important;
    }

}


/* ========================================
   TITAN — PORTRAIT LAUNCH TRANSMISSION
   ======================================== */

@media screen and (max-width: 700px)
       and (orientation: portrait) {

    body.titan-page .titan-transmission {
        left: 50% !important;
        right: auto !important;
        top: 50% !important;
        bottom: auto !important;

        transform: translate(-50%, -50%) !important;

        width: calc(100% - 36px) !important;
        max-width: 440px !important;

        padding: 0 !important;
        text-align: center !important;
    }

}


/* ========================================
   STARLIGHT — LITTLE NUT HOTSPOT
   MOBILE LANDSCAPE ONLY
   ======================================== */

@media screen and (max-width: 950px)
       and (orientation: landscape) {

    body.starlight-interview-page
    .pps-starlight-small-nut {
        top: calc(49% + 90px) !important;
    }

}


/* ========================================
   ABOUT PRISMARA — BIG NUT
   MOBILE LANDSCAPE HOTSPOT
   ======================================== */

@media screen and (max-width: 950px)
       and (orientation: landscape) {

    body.about-page .pps-about-acorn-hotspot {
        top: 54.5%;
        height: 19%;
    }

}

/* ========================================
   CAST CHALLENGE
   MOBILE PORTRAIT ACORN DISCOVERY FIX
   ======================================== */

@media screen and (max-width: 700px)
       and (orientation: portrait) {

    body.cast-page .acorn-discovery {

        left: 50%;
        right: auto;

        top: auto;
        bottom: 55px;

        width: min(320px, 85vw);
        min-width: 0;
        box-sizing: border-box;

        transform: translate(-50%, 0);
    }

    body.cast-page .acorn-discovery.is-visible {
        animation: cast-acorn-portrait-fade
                   8s ease forwards;
    }
}

@keyframes cast-acorn-portrait-fade {

    0% {
        opacity: 0;
        transform: translate(-50%, 12px);
    }

    15%, 75% {
        opacity: 1;
        transform: translate(-50%, 0);
    }

    100% {
        opacity: 0;
        transform: translate(-50%, -12px);
    }
}

/* ========================================
   EVERPASTURE — CAST PUZZLE ACORN
   MOBILE PORTRAIT SIZE CORRECTION
   ======================================== */

@media screen and (max-width: 700px)
       and (orientation: portrait) {

    body.everpasture-page
    .everpasture-secret-image
    img.everpasture-hidden-acorn {

        inset: auto;

        width: 65%;
        height: 65%;

        top: 50%;
        left: 50%;

        transform: translate(-50%, -50%);

        object-fit: contain;
    }
}


/* ========================================
   FILMOGRAPHY — COPYRIGHT SQUIRREL
   MOBILE PORTRAIT SIZE CORRECTION
   ======================================== */

@media screen and (max-width: 700px)
       and (orientation: portrait) {

    body.films-page .films-copyright img {
        width: 140%;
        max-width: none;
        height: auto;

        position: relative;
        left: 50%;
        transform: translateX(-50%);

        margin: 0;
    }

    body.films-page .films-copyright {
    overflow: visible;
}

}


/* ========================================
   FILMOGRAPHY — PORTRAIT HORIZONTAL
   SCROLL PREVENTION
   ======================================== */

@media screen and (max-width: 700px)
       and (orientation: portrait) {

    body.films-page {
        overflow-x: clip;
    }
}


/* ========================================
   THE BEAST — SPLASH SCREEN TOUCH LOCK
   Prevent mobile dragging during intro
   ======================================== */

#prismara-home-intro {
    touch-action: none;
    overscroll-behavior: none;
}


/* ========================================
   PPS — ABOUT FAMILY
   MOBILE HORIZONTAL PAGE LOCK
   Portrait + Landscape
   ======================================== */

@media screen and (max-width: 950px) {

    body.about-page,
    body.starlight-interview-page,
    body.omni-interview-page {
        max-width: 100%;
        overflow-x: clip;
    }

}

/* ========================================
   PPS — GAMES PAGE
   MOBILE HORIZONTAL PAGE LOCK
   Portrait + Landscape
   ======================================== */

@media screen and (max-width: 950px) {

    body.games-page {
        max-width: 100%;
        overflow-x: clip;
    }

}


/* PPS NAVIGATION — TEMPORARY DIAGNOSTIC */

.main-nav .nav-dropdown::after {
    display: none !important;
}


/* ========================================
   PPS — ECHOES SPLASH
   REAL MOBILE VIEWPORT CORRECTION
   Portrait + Landscape
   ======================================== */

@media screen and (max-width: 950px) {

    body.echoes-page .echoes-splash-intro {
        height: 100vh;
        height: 100dvh;
    }

    body.echoes-page #echoes-splash-skip {
        bottom: 24px;
    }

}

/* ========================================
   PPS — MAERA RIPPLE SPLASH
   MOBILE LANDSCAPE VIEWPORT CORRECTION
   ======================================== */

@media screen and (max-width: 950px) and (orientation: landscape) {

    body.maera-page #maera-ripple-intro {
        height: 100vh;
        height: 100dvh;
    }

    body.maera-page #maera-ripple-skip {
        bottom: 24px;
    }

}


/* ========================================
PPS — ABOUT BALLOON RESCUE
MOBILE LANDSCAPE SIZE TEST
======================================== */

@media screen and (max-width: 950px)
       and (orientation: landscape) {

    body.about-page .balloon-pro-falling {
        width: 240px;
        height: 225px;
    }

    body.about-page .balloon-pro-rescue {
        width: 440px;
        height: 305px;
    }

}


/* ========================================
   MAERA — INTERESTING FACT CINEMATIC
   MOBILE LANDSCAPE SKIP FILM
   ======================================== */

@media screen and (max-width: 950px) and (orientation: landscape) {

    body.maera-page #maera-shard-cinematic {
        position: fixed !important;
        inset: 0 !important;
        width: 100vw !important;
        height: 100dvh !important;
        overflow: hidden !important;
        box-sizing: border-box !important;
        z-index: 100000 !important;
    }

    body.maera-page #maera-shard-video {
        display: block;
        width: 100% !important;
        height: 100% !important;
        object-fit: cover !important;
        object-position: center center !important;
    }

    body.maera-page #maera-shard-skip {
        position: absolute !important;
        top: auto !important;
        left: auto !important;
        right: 16px !important;
        bottom: 24px !important;
        z-index: 30 !important;
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
        touch-action: manipulation;
    }

}

/* EVERPASTURE — SIXTH LAUREL HANGING CIRCLE */

@media screen and (max-width: 950px) {

  body.awards-page .recognition-everpasture
  .recognition-laurel:nth-of-type(6)::before {
    top: -38px !important;
  }

}


/* EVERPASTURE — SIXTH LAUREL GOLD THREAD */

@media screen and (max-width: 950px) {

  body.awards-page .recognition-everpasture
  .recognition-laurel:nth-of-type(6)::after {
    top: -31px !important;
    height: 30px !important;
  }

}

/* ========================================
   TITAN — LANDSCAPE CINEMATIC FILL TEST
   Launch video only
   ======================================== */

@media screen and (max-width: 950px)
       and (orientation: landscape) {

    body.titan-page .titan-launch-splash {
        overflow: hidden !important;
    }

    body.titan-page .titan-launch-video {
        width: 100% !important;
        height: 100% !important;
        object-fit: cover !important;
        object-position: center center !important;
        transform: scale(1.20) !important;
        transform-origin: center center !important;
    }

}

/* ========================================
   TITAN — LANDSCAPE EVACUATION FILL TEST
   ======================================== */

@media screen and (max-width: 950px)
       and (orientation: landscape) {

    body.titan-page .titan-evac-stage {
        overflow: hidden !important;
    }

    body.titan-page .titan-evac-video {
        width: 100% !important;
        height: 100% !important;
        object-fit: cover !important;
        object-position: center center !important;
        transform: scale(1.20) !important;
        transform-origin: center center !important;
    }

}

/* ========================================
   TITAN — LANDSCAPE HATCH ANIMATION REPAIR
   Prevent desktop 220px upward jump
   ======================================== */

@media screen and (max-width: 950px)
       and (orientation: landscape) {

    body.titan-page .titan-evac-hatch {
        transform: none !important;
    }

    body.titan-page .titan-evac-hatch.titan-hatch-engaged {
        animation: titanHatchEngageMobile 0.42s ease-out !important;
    }

}


/* ========================================
   PRISMARA — PORTRAIT COPYRIGHT REPAIR
   Keep copyright wording on one line
   ======================================== */

@media screen and (max-width: 700px)
       and (orientation: portrait) {

    .prismara-footer .copyright-text {
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;

        padding: 0 4px !important;
        margin: 0 auto !important;

        font-size: clamp(11px, 3.5vw, 15px) !important;
        letter-spacing: 0 !important;
        line-height: 1.4 !important;

        white-space: nowrap !important;
        text-align: center !important;
    }

}


/* ========================================
   TITAN + MAERA — PORTRAIT COPYRIGHT
   Final two text alignment repairs
   ======================================== */

@media screen and (max-width: 700px)
       and (orientation: portrait) {

    body.titan-page .prismara-footer .copyright-text,
    body.maera-page .prismara-footer .copyright-text {
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        padding: 0 !important;
        margin: 0 auto !important;

        font-size: clamp(10px, 3vw, 14px) !important;
        letter-spacing: 0 !important;
        white-space: nowrap !important;
        text-align: center !important;
    }

}


/* ========================================
   CONTACT — COMPLETE COPYRIGHT ARTWORK
   ======================================== */

.contact-page .games-copyright-footer {
    width: 100%;
    box-sizing: border-box;
    padding: 10px 20px 30px;
    text-align: center;
}

.contact-page .games-copyright-image {
    display: block;
    width: 100%;
    max-width: 600px;
    height: auto;
    margin: 0 auto;
}

@media screen and (max-width: 700px)
       and (orientation: portrait) {

    .contact-page .games-copyright-footer {
        padding: 5px 12px 25px;
    }

    .contact-page .games-copyright-image {
        max-width: 100%;
    }
}


/* ========================================
   CONTACT COPYRIGHT — FINAL POSITIONING
   ======================================== */

/* MOBILE PORTRAIT */
@media screen and (max-width: 700px)
       and (orientation: portrait) {

    .contact-page .games-copyright-footer {
        margin-top: 55px !important;
        padding: 0 8px 28px !important;
    }

    .contact-page .games-copyright-image {
        width: 100% !important;
        max-width: 100% !important;
        height: auto !important;
        margin: 0 auto !important;
    }
}

/* MOBILE LANDSCAPE */
@media screen and (max-width: 950px)
       and (orientation: landscape) {

    .contact-page .games-copyright-footer {
        margin-top: 25px !important;
    }
}


/* ========================================
   CONTACT — PORTRAIT COPYRIGHT ENLARGEMENT
   ======================================== */

@media screen and (max-width: 700px)
       and (orientation: portrait) {

    .contact-page .games-copyright-image {
        width: 115% !important;
        max-width: none !important;
        height: auto !important;

        position: relative;
        left: 50%;
        transform: translateX(-50%);
    }

}

/* ==========================================
   PPS — MOBILE COPYRIGHT FOOTER FIX
   Cast Challenge / Memory / Contact
   ========================================== */

@media screen and (max-width: 700px) {

    body.cast-page .games-copyright-footer,
    body.contact-page .games-copyright-footer {
        overflow-x: clip;
    }

}

/* ==========================================
   PPS AWARDS — AUSTIN LAUREL PLACEMENT
   Desktop only — November 2026

   Everpasture: four laurels on row three
   Titan Drift: three laurels on row three

   Mobile layouts and delivery animations
   remain unchanged.
   ========================================== */

@media screen and (min-width: 951px) {

    /* EVERPASTURE — FOUR ON THIRD ROW */

    body.awards-page .recognition-everpasture
    .recognition-laurel-wall
    > article.recognition-laurel:nth-of-type(9) {
        grid-column: 2 / span 2 !important;
        grid-row: 3 !important;
    }

    body.awards-page .recognition-everpasture
    .recognition-laurel-wall
    > article.recognition-laurel:nth-of-type(10) {
        grid-column: 4 / span 2 !important;
        grid-row: 3 !important;
    }

    body.awards-page .recognition-everpasture
    .recognition-laurel-wall
    > article.recognition-laurel:nth-of-type(11) {
        grid-column: 6 / span 2 !important;
        grid-row: 3 !important;
    }

    body.awards-page .recognition-everpasture
    .recognition-laurel-wall
    > article.recognition-laurel:nth-of-type(12) {
        grid-column: 8 / span 2 !important;
        grid-row: 3 !important;
        margin-top: 22px !important;
        left: 0 !important;
    }

   
/* ==========================================
   TITAN DRIFT — EXPANDED LAUREL LAYOUT
   Desktop only
   ========================================== */

/* Chicago — third row, left */
body.awards-page .recognition-titan
.recognition-laurel-wall
> article.recognition-laurel:nth-of-type(9) {
    grid-column: 2 / span 2 !important;
    grid-row: 3 !important;
    left: 0 !important;
}

/* Independent Shorts — Official Selection */
body.awards-page .recognition-titan
.recognition-laurel-wall
> article.recognition-laurel:nth-of-type(10) {
    grid-column: 4 / span 2 !important;
    grid-row: 3 !important;
    left: 0 !important;
}

/* Independent Shorts — Semi-Finalist */
body.awards-page .recognition-titan
.recognition-laurel-wall
> article.recognition-laurel:nth-of-type(11) {
    grid-column: 6 / span 2 !important;
    grid-row: 3 !important;
    left: 0 !important;
}

/* Nashville — third row, right */
body.awards-page .recognition-titan
.recognition-laurel-wall
> article.recognition-laurel:nth-of-type(12) {
    grid-column: 8 / span 2 !important;
    grid-row: 3 !important;
    left: 0 !important;
}

/* Austin — fourth row, centered */
body.awards-page .recognition-titan
.recognition-laurel-wall
> article.recognition-laurel:nth-of-type(13) {
    grid-column: 5 / span 2 !important;
    grid-row: 4 !important;
    left: 0 !important;
}

} /* END DESKTOP AWARDS MEDIA QUERY */

/* ========================================
   PRISMARA THEATER — PERMANENT LOWER LEVEL
   ======================================== */

.prismara-theatre-lower {
    position: relative;

    width: 100%;
    min-height: 100vh;
    min-height: 100svh;

    box-sizing: border-box;

    background-color: #050303;
    background-image:
        url("../images/logo/carousel-theatre-base.png");

    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;

    display: flex;
    justify-content: center;
    align-items: center;
}

/* COPYRIGHT'S LOWER THEATER */

.prismara-theatre-lower .prismara-footer {
    position: relative;

    width: 100%;
    min-height: 0;

    padding: 35px 20px;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    gap: 8px;

    background: transparent;
    
}

/* LARGER COPYRIGHT SQUIRREL */

.prismara-theatre-lower .copyright-squirrel-wrap {
    position: relative;
    width: 360px;
    max-width: 75vw;
}

.prismara-theatre-lower .copyright-squirrel {
    display: block;

    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
}

/* ACORN HOTSPOT MOVES WITH SQUIRREL */

.prismara-theatre-lower .copyright-acorn-hotspot {
    position: absolute;

    left: 51%;
    top: 50%;

    width: 54px;
    height: 54px;

    transform: translate(-50%, -50%);

    border: 0;
    background: transparent;

    z-index: 20;

    touch-action: manipulation;
}

/* COPYRIGHT TEXT */

.prismara-theatre-lower .copyright-text {
    text-align: center;

position: relative;
z-index: 2;
}

/* GOLD DIVIDER */

.prismara-theatre-lower .copyright-divider {
    width: 620px;
    max-width: 85%;
    height: auto;

    margin-top: 0;
}

/* SMALL SCREENS */

@media (max-width: 700px) {
    .prismara-theatre-lower .copyright-squirrel-wrap {
        width: 260px;
        max-width: 80vw;
    }

    .prismara-theatre-lower .copyright-acorn-hotspot {
        width: 56px;
        height: 56px;
    }

    .prismara-theatre-lower .copyright-text {
        font-size: 17px;
    }
}

/* ========================================
   COPYRIGHT — FLOOR POSITIONING TEST
   ======================================== */

.prismara-theatre-lower .copyright-squirrel-wrap {
    position: absolute;
    left: 50%;
    bottom: -250px;
    transform: translateX(-50%);
    z-index: 2;
}

/* COPYRIGHT WORDING — FOREGROUND */

.prismara-theatre-lower .copyright-text {
    position: relative;
    z-index: 4;
    transform: translateY(555px);
}

/* GOLD DIVIDER — FOREGROUND */

.prismara-theatre-lower .copyright-divider {
    position: relative;
    z-index: 4;
    transform: translateY(465px);
}

/* ========================================
   PRISMARA LOWER THEATER — GOLD FLOOR TRIM
   TEMPORARY VISUAL TEST
   ======================================== */

.prismara-theatre-lower::after {
    content: "";
    position: absolute;

    left: 0;
    bottom: 0;

    width: 100%;
    height: 1px;

    background: linear-gradient(
        to right,
        transparent 0%,
        #8b6029 15%,
        #e7ba64 50%,
        #8b6029 85%,
        transparent 100%
    );

    box-shadow: 0 0 4px rgba(231, 186, 100, 0.25);

    pointer-events: none;
    z-index: 10;
}

/* ========================================
   PRISMARA LOWER THEATER — GOLD TOP TRIM
   Matches the bottom trim
   Permanent / Year-Round
   ======================================== */

.prismara-theatre-lower::before {
    content: "";
    position: absolute;

    left: 0;
    top: 0;

    width: 100%;
    height: 1px;

    background: linear-gradient(
        to right,
        transparent 0%,
        #8b6029 15%,
        #e7ba64 50%,
        #8b6029 85%,
        transparent 100%
    );

    box-shadow: 0 0 4px rgba(231, 186, 100, 0.25);

    pointer-events: none;
    z-index: 10;
}

/* ========================================
   PRISMARA COPYRIGHT THEATER
   MOBILE PORTRAIT — FLOOR ALIGNMENT
   ======================================== */

@media screen and (max-device-width: 700px) and (orientation: portrait) {

    .prismara-theatre-lower {
        min-height: 100svh;
        height: auto;

        background-position: center center;
        background-size: cover;
    }

    .prismara-theatre-lower .prismara-footer {
        position: relative;
        min-height: 100svh;
        padding: 0;
        box-sizing: border-box;
        transform: none;
    }

    /* COPYRIGHT SQUIRREL — ON THE FLOOR */

    .prismara-theatre-lower .copyright-squirrel-wrap {
        position: absolute;
        left: 50%;
        top: auto;
        bottom: 11%;

        width: 540px;
        max-width: 95vw;

        transform: translateX(-50%);
        z-index: 2;
    }

/* COPYRIGHT WORDING — MOBILE THEATER */

.prismara-theatre-lower .copyright-text {
    position: absolute;
    left: 50%;
    top: auto;
    bottom: 5.5%;

    width: 95% !important;
    max-width: none !important;

    font-size: 26px !important;
    line-height: 1.4 !important;
    letter-spacing: 0 !important;
    white-space: nowrap !important;

    text-align: center;
    transform: translateX(-50%);
    z-index: 4;
}

/* COPYRIGHT — WONDERLAND SIZE CORRECTION */

.prismara-theatre-lower .copyright-squirrel {
    transform: scale(2);
    transform-origin: center bottom;
}

/* GOLD DIVIDER — MOBILE THEATER */

.prismara-theatre-lower .copyright-divider {
    position: absolute;
    left: 50%;
    top: auto;
    bottom: 1.5%;

    width: 95%;
    max-width: 420px;
    height: auto;
    margin: 0;

    transform: translateX(-50%) scale(1.8);
    transform-origin: center center;

    z-index: 4;
}

    /* ========================================
   COPYRIGHT ACORN — MOBILE PORTRAIT
   HOTSPOT ALIGNMENT
   ======================================== */

.prismara-theatre-lower .copyright-acorn-hotspot {
    position: absolute;

    left: 44% !important;
    top: 10% !important;

    width: 56px;
    height: 56px;

    transform: translate(-50%, -50%);
    z-index: 20;

    border: 0;
    background: transparent;
    touch-action: manipulation;
}

} /* END MOBILE PORTRAIT MEDIA QUERY */

/* ========================================
   PRISMARA LOWER THEATER
   MOBILE LANDSCAPE — BACKGROUND FIT
   ======================================== */

@media screen and (orientation: landscape) and (max-height: 700px) {

    .prismara-theatre-lower {
    background-size: 100% 100%;
    background-position: center center;
    background-repeat: no-repeat;
}

}

/* ========================================
   PRISMARA HOMEPAGE
   ACORN DISCOVERY — VICTORIAN WALL
   ======================================== */

.prismara-theatre-lower #acorn-discovery {
    position: absolute;
    left: calc(82% + 80px);
    top: calc(42% + 60px);
    width: 280px;
    text-align: center;
    z-index: 100;
}


/* ==========================================
   PRISMARA AWARDS — EVERPASTURE
   FOURTH PERMANENT GOLD RAIL
   Desktop only — November 2026
   ========================================== */

@media screen and (min-width: 951px) {

  /* Final two laurels — fourth row */

  body.awards-page .recognition-everpasture
  .recognition-laurel-wall
  > article.recognition-laurel:nth-of-type(13) {
    grid-column: 4 / span 2 !important;
    grid-row: 4 !important;
    justify-self: center !important;
    margin-top: 60px !important;
    left: 0 !important;
  }

  body.awards-page .recognition-everpasture
  .recognition-laurel-wall
  > article.recognition-laurel:nth-of-type(14) {
    grid-column: 6 / span 2 !important;
    grid-row: 4 !important;
    justify-self: center !important;
    margin-top: 60px !important;
    left: 0 !important;
  }

  /* Fourth gold hanging rail */

  body.awards-page .recognition-everpasture
  .recognition-laurel-wall
  > .everpasture-fourth-rail {
    display: block !important;
    position: relative !important;

    grid-column: 1 / -1 !important;
    grid-row: 4 !important;

    justify-self: center !important;
    align-self: start !important;

    width: 1000px !important;
    max-width: 72% !important;
    height: 1px !important;

    margin: 0 !important;
    left: auto !important;
    top: auto !important;
    transform: none !important;

    background: linear-gradient(
      to right,
      transparent,
      rgba(201,167,93,.25) 8%,
      rgba(216,187,112,.72) 28%,
      rgba(244,225,171,.82) 50%,
      rgba(216,187,112,.72) 72%,
      rgba(201,167,93,.25) 92%,
      transparent
    ) !important;

    box-shadow:
      0 1px 3px rgba(0,0,0,.55),
      0 0 7px rgba(216,187,112,.10);

    pointer-events: none;
    z-index: 2;
  }

  /* Center gold diamond */

  body.awards-page .recognition-everpasture
  .everpasture-fourth-rail::after {
    content: "◆";
    position: absolute;
    left: 50%;
    top: -9px;
    transform: translateX(-50%);

    padding: 0 8px;
    font-family: Georgia, serif;
    font-size: 10px;
    line-height: 18px;

    color: #d8bb70;

    text-shadow:
      0 1px 2px rgba(0,0,0,.8),
      0 0 8px rgba(216,187,112,.28);
  }
}

/* Mobile — preserve existing rail system */

@media screen and (max-width: 950px) {
  body.awards-page .recognition-everpasture
  .everpasture-fourth-rail {
    display: none !important;
  }
}


/* ==========================================
   EVERPASTURE — FINAL LAUREL POLISH
   Chicago / Newyork / Austin
   Desktop only
   ========================================== */

@media screen and (min-width: 951px) {

  /* Chicago — slightly reduce the laurel artwork */
  body.awards-page .recognition-everpasture
  .recognition-laurel-wall
  > article.recognition-laurel:nth-of-type(12) img {
    width: 88% !important;
    height: auto !important;
  }

  /* Frames of Newyork — raise toward fourth rail */
  body.awards-page .recognition-everpasture
  .recognition-laurel-wall
  > article.recognition-laurel:nth-of-type(13) {
    margin-top: 25px !important;
  }

  /* Austin — raise toward fourth rail */
  body.awards-page .recognition-everpasture
  .recognition-laurel-wall
  > article.recognition-laurel:nth-of-type(14) {
    margin-top: 25px !important;
  }

}


/* ==========================================
   TITAN DRIFT — FINAL ROW HANGING ADJUSTMENT
   Desktop only — November 2026
   ========================================== */

@media screen and (min-width: 951px) {

    /* Third row — Chicago, Independent pair, Nashville */
    body.awards-page .recognition-titan
    .recognition-laurel-wall
    > article.recognition-laurel:nth-of-type(n+9):nth-of-type(-n+12) {
        margin-top: 15px !important;
    }

    /* Fourth row — Austin */
    body.awards-page .recognition-titan
    .recognition-laurel-wall
    > article.recognition-laurel:nth-of-type(13) {
        margin-top: 15px !important;
    }

}


/* ==========================================
   TITAN DRIFT — FOURTH GOLD RAIL
   Desktop only
   ========================================== */

@media screen and (min-width: 951px) {

    body.awards-page .recognition-titan
    .recognition-laurel-wall
    > .titan-fourth-rail {
        display: block !important;
        position: relative !important;

        grid-column: 1 / -1 !important;
        grid-row: 4 !important;

        justify-self: center !important;
        align-self: start !important;

        width: 1000px !important;
        max-width: 72% !important;
        height: 1px !important;

        margin: 0 !important;
        left: auto !important;
        top: auto !important;
        transform: none !important;

        background: linear-gradient(
            to right,
            transparent,
            rgba(201,167,93,.25) 8%,
            rgba(216,187,112,.72) 28%,
            rgba(244,225,171,.82) 50%,
            rgba(216,187,112,.72) 72%,
            rgba(201,167,93,.25) 92%,
            transparent
        ) !important;

        box-shadow:
            0 1px 3px rgba(0,0,0,.55),
            0 0 7px rgba(216,187,112,.10);

        pointer-events: none;
        z-index: 2;
    }

    /* Center diamond */
    body.awards-page .recognition-titan
    .titan-fourth-rail::after {
        content: "◆";
        position: absolute;
        left: 50%;
        top: -9px;
        transform: translateX(-50%);

        padding: 0 8px;
        font-family: Georgia, serif;
        font-size: 10px;
        line-height: 18px;
        color: #d8bb70;

        text-shadow:
            0 1px 2px rgba(0,0,0,.8),
            0 0 8px rgba(216,187,112,.28);
    }
}

/* Preserve mobile's existing rail system */
@media screen and (max-width: 950px) {

    body.awards-page .recognition-titan
    .titan-fourth-rail {
        display: none !important;
    }

}

/* ========================================
   EVERPASTURE — EXPANDED FILM SYNOPSIS
   ======================================== */

body.everpasture-page .film-opening > .film-synopsis {
    grid-column: 1 / -1;
    grid-row: 3;

    width: 100%;
    max-width: 1000px;

    margin: 0 auto;
    padding: 10px 20px 0;
    box-sizing: border-box;

    font-size: 21px;
    line-height: 1.6;
    text-align: left;
}

body.everpasture-page .film-opening > .film-synopsis p {
    margin: 0 0 16px;
}

body.everpasture-page .film-opening > .film-synopsis p:last-child {
    margin-bottom: 0;
}

/* ========================================
   TITAN DRIFT — EXPANDED FILM SYNOPSIS
   ======================================== */

body.titan-page .film-opening > .film-synopsis {
    grid-column: 1 / -1;
    grid-row: 3;

    width: 100%;
    max-width: 1000px;

    margin: 0 auto;
    padding: 10px 20px 0;
    box-sizing: border-box;

    font-size: 21px;
    line-height: 1.6;
    text-align: left;
}

body.titan-page .film-opening > .film-synopsis p {
    margin: 0 0 16px;
}

body.titan-page .film-opening > .film-synopsis p:last-of-type {
    margin-bottom: 0;
}

/* TITAN — SYNOPSIS POD */

body.titan-page .titan-synopsis-pod {
    width: 280px !important;
}

/* TITAN — INTERESTING FACT */

body.titan-page .titan-fact {
    transform: none;
    margin: 30px auto 20px;
    width: min(1000px, 90%);
    box-sizing: border-box;
}

/* TITAN — GUARDIAN'S BAG STAGE */

body.titan-page .titan-yellow-stage {
    margin: 0 auto 30px !important;
}

/* ========================================
   MAERA'S TIDE — EXPANDED FILM SYNOPSIS
   ======================================== */

body.maera-page:not(.titan-page):not(.everpasture-page) .film-opening > .film-synopsis {
    grid-column: 1 / -1;
    grid-row: 3;
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;
    padding: 10px 20px 0;
    box-sizing: border-box;
    font-size: 21px;
    line-height: 1.6;
    text-align: left;
}

body.maera-page:not(.titan-page):not(.everpasture-page) .film-opening > .film-synopsis p {
    margin: 0 0 16px;
}

body.maera-page:not(.titan-page):not(.everpasture-page) .film-opening > .film-synopsis p:last-of-type {
    margin-bottom: 0;
}

/* MAERA — INTERESTING FACT */

body.maera-page:not(.titan-page):not(.everpasture-page) .echoes-fact {
    transform: none;
    margin: 30px auto 20px;
    width: min(1000px, 90%);
    box-sizing: border-box;
}

/* ========================================
   ECHOES IN THE GLASS — EXPANDED FILM SYNOPSIS
   ======================================== */

body.echoes-page .film-opening > .film-synopsis {
    grid-column: 1 / -1;
    grid-row: 3;
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;
    padding: 10px 20px 0;
    box-sizing: border-box;
    font-size: 21px;
    line-height: 1.6;
    text-align: left;
}

body.echoes-page .film-opening > .film-synopsis p {
    margin: 0 0 16px;
}

body.echoes-page .film-opening > .film-synopsis p:last-of-type {
    margin-bottom: 0;
}

/* ECHOES — INTERESTING FACT */

body.echoes-page .echoes-fact {
    transform: none;
    margin: 30px auto 20px;
    width: min(1000px, 90%);
    box-sizing: border-box;
}
