/* ============================================================
   SNACKIT — Press & recognition
   Card UI: white + white-gold border/shadow
   Layout: heading → spaced row → horizontal slide
   ============================================================ */

.press-orbit {
    --po-ink: #111111;
    --po-paper: #ffffff;
    --po-muted: #4b5563;
    --po-gold: #d4af37;
    --po-gold-bright: #f5d67a;
    --po-border: #e8d48a;
    --po-card-w: clamp(210px, 18vw, 280px);
    --po-card-h: clamp(270px, 24vw, 350px);
    --po-shadow: 8px 8px 0 rgba(232, 212, 138, 0.92);
    --po-head-gap: clamp(2.5rem, 4.5vw, 3.75rem);
    --po-section-pad-top: clamp(4.5rem, 8vh, 6.5rem);
    --po-section-pad-bottom: clamp(3.5rem, 7vw, 5.5rem);
    position: relative;
    isolation: isolate;
    z-index: 0;
    background: #050505;
    color: #f7f2ea;
    margin: 0;
    padding:
        var(--po-section-pad-top)
        clamp(1rem, 3vw, 2rem)
        var(--po-section-pad-bottom);
    box-sizing: border-box;
    overflow: visible;
    display: flex;
    align-items: center;
    /* Pin content to the top so title isn’t floating in empty space */
    justify-content: flex-start;
    min-height: 100svh;
    min-height: 100dvh;
}

.press-orbit.is-formed {
    overflow-x: clip;
}

.press-orbit__stage {
    position: relative;
    z-index: 1;
    isolation: isolate;
    width: min(1600px, 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    gap: var(--po-head-gap);
    height: auto;
    min-height: 0;
    padding-top: 0;
    overflow: visible;
}

.press-orbit__center {
    position: relative;
    z-index: 1;
    width: min(40rem, 92%);
    max-width: 560px;
    margin: 0;
    padding: 0;
    text-align: center;
    pointer-events: none;
    box-sizing: border-box;
    transform: none;
}

.press-orbit__eyebrow {
    margin: 0 0 0.7rem;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: clamp(0.74rem, 1.15vw, 0.9rem);
    letter-spacing: 0.26em;
    text-transform: uppercase;
    color: rgba(247, 242, 234, 0.62);
    display: block;
    width: 100%;
}

.press-orbit__eyebrow em {
    font-style: normal;
    color: var(--po-gold-bright);
}

.press-orbit__headline {
    margin: 0 auto;
    font-family: var(--font-serif);
    font-weight: 400;
    font-style: italic;
    font-size: clamp(1.55rem, 3vw + 0.35rem, 2.55rem);
    line-height: 1.24;
    letter-spacing: -0.02em;
    color: #f7f2ea;
    max-width: 22ch;
}

.press-orbit__ring {
    position: relative;
    z-index: 5;
    width: 100%;
    height: calc(var(--po-card-h) + 2.75rem);
    margin: 0;
    pointer-events: none;
    transform-origin: 50% 50%;
    will-change: transform;
    overflow: visible;
    -webkit-mask-image: none;
    mask-image: none;
}

/* Stack phase: cards must paint above the copy */
.press-orbit.is-playing:not(.is-formed) .press-orbit__center {
    z-index: 1;
}

.press-orbit.is-playing:not(.is-formed) .press-orbit__ring {
    z-index: 20;
}

.press-orbit.is-formed .press-orbit__ring {
    -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 5%, #000 95%, transparent 100%);
    mask-image: linear-gradient(90deg, transparent 0%, #000 5%, #000 95%, transparent 100%);
}

.press-orbit__card {
    position: absolute;
    top: 50%;
    left: 50%;
    width: var(--po-card-w);
    height: var(--po-card-h);
    margin: calc(var(--po-card-h) / -2) 0 0 calc(var(--po-card-w) / -2);
    transform-origin: 50% 50%;
    pointer-events: auto;
    text-decoration: none;
    color: var(--po-ink);
    will-change: transform, opacity;
    opacity: 0;
}

.press-orbit__card-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.95rem;
    width: 100%;
    height: 100%;
    padding: 1.55rem 1.2rem 1.4rem;
    box-sizing: border-box;
    border-radius: 0;
    background: var(--po-paper);
    border: 2.5px solid var(--po-border);
    box-shadow: var(--po-shadow);
    text-align: center;
    transition: box-shadow 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.press-orbit__card:hover .press-orbit__card-inner,
.press-orbit__card:focus-visible .press-orbit__card-inner {
    border-color: var(--po-gold-bright);
    box-shadow: 8px 8px 0 rgba(245, 214, 122, 0.95);
    transform: translate(-2px, -2px);
}

.press-orbit__card:focus-visible {
    outline: none;
}

.press-orbit__logo-wrap {
    display: grid;
    place-items: center;
    width: 100%;
    min-height: 68px;
}

.press-orbit__card img {
    display: block;
    width: auto;
    max-width: 92%;
    height: auto;
    max-height: 60px;
    object-fit: contain;
}

.press-orbit__name {
    font-family: var(--font-display);
    font-size: clamp(1rem, 1.4vw, 1.2rem);
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    line-height: 1.15;
    color: #111;
}

.press-orbit__desc {
    font-family: var(--font-body);
    font-size: clamp(0.84rem, 1.15vw, 0.98rem);
    font-weight: 400;
    line-height: 1.4;
    color: var(--po-muted);
    max-width: 18ch;
    text-wrap: pretty;
}

.press-orbit.is-static .press-orbit__card {
    opacity: 1;
}

@media (min-width: 901px) {
    .press-orbit {
        --po-card-w: clamp(220px, 19vw, 280px);
        --po-card-h: clamp(280px, 26vw, 350px);
        --po-head-gap: clamp(2.75rem, 5vw, 4rem);
        --po-section-pad-top: clamp(5rem, 8vh, 7rem);
        --po-section-pad-bottom: clamp(4rem, 7vw, 6rem);
        --po-shadow: 9px 9px 0 rgba(232, 212, 138, 0.92);
        padding-inline: clamp(1rem, 2.5vw, 2rem);
        min-height: 100svh;
        min-height: 100dvh;
    }

    .press-orbit__stage {
        width: min(1680px, 98%);
        min-height: 0;
    }

    .press-orbit__ring {
        height: calc(var(--po-card-h) + 3rem);
    }

    .press-orbit__center {
        width: min(44rem, 70%);
        max-width: 640px;
    }

    .press-orbit__eyebrow {
        margin-bottom: 0.85rem;
        font-size: clamp(0.92rem, 1.45vw, 1.1rem);
        letter-spacing: 0.32em;
    }

    .press-orbit__headline {
        font-size: clamp(1.85rem, 3.2vw + 0.25rem, 2.85rem);
        max-width: 22ch;
    }

    .press-orbit__card-inner {
        gap: 1.05rem;
        padding: 1.75rem 1.35rem 1.55rem;
    }
}

@media (max-width: 900px) {
    .press-orbit {
        --po-card-w: clamp(148px, 26vw, 176px);
        --po-card-h: clamp(188px, 34vw, 224px);
        --po-shadow: 6px 6px 0 rgba(232, 212, 138, 0.9);
        --po-head-gap: clamp(2.1rem, 4.5vw, 3rem);
        --po-section-pad-top: clamp(3.75rem, 7vh, 5rem);
        --po-section-pad-bottom: clamp(2.75rem, 6vw, 4rem);
        border-bottom: 1px solid rgba(212, 175, 55, 0.14);
        min-height: 100svh;
        min-height: 100dvh;
    }

    .press-orbit.is-playing:not(.is-formed) {
        overflow: visible !important;
    }

    .press-orbit__stage {
        min-height: 0;
    }

    .press-orbit__center {
        width: min(28rem, 92%);
        max-width: 400px;
    }

    .press-orbit__eyebrow {
        margin-bottom: 0.6rem;
    }

    .press-orbit__headline {
        font-size: clamp(1.35rem, 3.8vw, 1.9rem);
    }

    .press-orbit__ring {
        height: calc(var(--po-card-h) + 2rem);
    }

    .press-orbit.is-formed .press-orbit__ring {
        -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 4%, #000 96%, transparent 100%);
        mask-image: linear-gradient(90deg, transparent 0%, #000 4%, #000 96%, transparent 100%);
    }
}

@media (max-width: 720px) {
    .press-orbit {
        --po-card-w: clamp(132px, 36vw, 156px);
        --po-card-h: clamp(168px, 46vw, 200px);
        --po-shadow: 5px 5px 0 rgba(232, 212, 138, 0.88);
        --po-head-gap: clamp(1.75rem, 4.5vw, 2.35rem);
        --po-section-pad-top: clamp(3.25rem, 6.5vh, 4.25rem);
        --po-section-pad-bottom: clamp(2.5rem, 6vw, 3.5rem);
        padding-inline: 0.85rem;
        min-height: 100svh;
        min-height: 100dvh;
    }

    .press-orbit__stage {
        min-height: 0;
    }

    .press-orbit__center {
        width: min(22rem, 94%);
        max-width: 320px;
    }

    .press-orbit__eyebrow {
        margin-bottom: 0.55rem;
        letter-spacing: 0.2em;
    }

    .press-orbit__headline {
        font-size: clamp(1.2rem, 5.2vw, 1.5rem);
        line-height: 1.28;
    }

    .press-orbit__ring {
        height: calc(var(--po-card-h) + 1.5rem);
    }

    .press-orbit__card-inner {
        gap: 0.55rem;
        padding: 1.1rem 0.8rem 1rem;
        border-width: 2px;
    }

    .press-orbit__logo-wrap {
        min-height: 42px;
    }

    .press-orbit__card img {
        max-height: 36px;
    }

    .press-orbit__name {
        font-size: 0.74rem;
        letter-spacing: 0.04em;
    }

    .press-orbit__desc {
        font-size: 0.66rem;
        max-width: 14ch;
    }
}

@media (prefers-reduced-motion: reduce) {
    .press-orbit__ring {
        -webkit-mask-image: none;
        mask-image: none;
    }
}
