/* Press kit (/press). Loaded after style.css and only on this page. The palette is the logo's
   own (design/logo.jpeg): screen navy, plum and emoji gold, with ink and popcorn as neutrals;
   film frames use ADR 0001's poster palette. One loud element (the filmstrip), the rest quiet. */

.press-page {
    --press-navy: #2B2E4A;
    --press-plum: #8E4162;
    --press-gold: #FFCC4D;
    --press-ink: #4D1C27;
    --press-cream: #FEF2DA;
    --press-measure: 66rem;

    max-width: none;
    padding: 0;
}

/* ---- Stage: the navy hero ------------------------------------------------------------------ */

.press-page .press-stage {
    display: block;
    background: var(--press-navy);
    color: var(--press-cream);
    padding: var(--space-5) 0 var(--space-8);
    overflow: hidden;
}

.press-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-4);
    max-width: var(--press-measure);
    margin: 0 auto;
    padding: 0 var(--space-5);
}

.press-page .press-nav a {
    color: var(--press-cream);
    text-decoration: none;
    font-weight: 600;
}

.press-brand {
    display: inline-flex;
    align-items: center;
    gap: var(--space-3);
    font-size: 1.05rem;
}

.press-brand img {
    border-radius: 22%;
}

.press-page .press-nav .press-play {
    background: var(--press-gold);
    color: var(--press-ink);
    padding: var(--space-2) var(--space-4);
    border-radius: var(--radius-pill);
    font-size: 0.95rem;
}

.press-page .press-nav .press-play:hover {
    background: #FFD86F;
}

.press-hero {
    max-width: var(--press-measure);
    margin: 0 auto;
    padding: clamp(2.5rem, 8vw, 5.5rem) var(--space-5) 0;
}

.press-title {
    margin: 0;
    font-size: clamp(3.4rem, 13vw, 9.5rem);
    font-weight: 850;
    letter-spacing: -0.045em;
    line-height: 0.88;
    color: var(--press-cream);
}

.press-lead {
    margin: var(--space-4) 0 0;
    max-width: 30ch;
    font-size: clamp(1.15rem, 2.6vw, 1.6rem);
    line-height: 1.3;
    font-weight: 500;
    color: #D9D4E6;
}

/* ---- The filmstrip ------------------------------------------------------------------------- */

.filmstrip {
    --frame: clamp(5.5rem, 17vw, 11rem);
    --hole: rgba(254, 242, 218, 0.9);

    position: relative;
    margin: clamp(2.5rem, 7vw, 4.5rem) 0 0;
    transform: rotate(-2.5deg);
    width: 112%;
    left: -6%;
}

.filmstrip-frames {
    position: relative;
    display: flex;
    gap: 0.9rem;
    justify-content: center;
    list-style: none;
    margin: 0;
    padding: 1.6rem 0;
    background: var(--press-ink);
    box-shadow: 0 18px 40px rgba(10, 8, 20, 0.35);
}

/* Sprocket holes along both edges of the strip. */
.filmstrip-frames::before,
.filmstrip-frames::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    height: 0.7rem;
    background-image: radial-gradient(circle, var(--hole) 0.24rem, transparent 0.27rem);
    background-size: 1.6rem 0.7rem;
    background-repeat: repeat-x;
}

.filmstrip-frames::before {
    top: 0.45rem;
}

.filmstrip-frames::after {
    bottom: 0.45rem;
}

.frame {
    flex: 0 0 var(--frame);
    height: calc(var(--frame) * 0.78);
    display: grid;
    place-items: center;
    border-radius: 0.5rem;
    font-size: calc(var(--frame) * 0.46);
    line-height: 1;
    animation: frame-in 520ms cubic-bezier(.2, .7, .2, 1) both;
}

.frame:nth-child(1) { background: #4C6A92; animation-delay: 150ms; }
.frame:nth-child(2) { background: #8E4162; animation-delay: 330ms; }
.frame:nth-child(3) { background: #3C6E71; animation-delay: 510ms; }
.frame:nth-child(4) { background: #B5525C; animation-delay: 690ms; }
.frame:nth-child(5) { background: #6D5D8A; animation-delay: 870ms; }

.frame-answer {
    background: var(--press-gold);
    color: var(--press-ink);
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 0.2rem;
    font-size: calc(var(--frame) * 0.2);
    font-weight: 800;
    letter-spacing: -0.02em;
    animation: frame-develop 900ms ease-out 1250ms both;
}

.frame-answer-year {
    font-size: 0.6em;
    font-weight: 600;
    opacity: 0.75;
}

.filmstrip figcaption {
    margin: var(--space-3) 9% 0 0;
    text-align: right;
    transform: rotate(2.5deg);
    font-size: 0.85rem;
    color: #B9B3CC;
}

/* Narrow screens: all six frames must fit -- the answer frame is the point of the strip. */
@media (max-width: 40rem) {
    .filmstrip {
        --frame: 13.6vw;
        width: 104%;
        left: -2%;
    }

    .filmstrip-frames {
        gap: 0.4rem;
        padding: 1.2rem 0;
    }

    .frame {
        border-radius: 0.35rem;
    }

    .filmstrip figcaption {
        margin: var(--space-3) var(--space-5) 0;
        text-align: left;
        transform: none;
    }
}

@keyframes frame-in {
    from { opacity: 0; transform: translateY(0.6rem) scale(0.92); }
    to { opacity: 1; transform: none; }
}

/* The answer frame "develops": starts as a dark negative, then fills with gold. */
@keyframes frame-develop {
    from { background: #2A1016; color: transparent; }
    to { background: var(--press-gold); color: var(--press-ink); }
}

@media (prefers-reduced-motion: reduce) {
    .frame,
    .frame-answer {
        animation: none;
    }
}

/* ---- Main content -------------------------------------------------------------------------- */

.press-main {
    max-width: var(--press-measure);
    margin: 0 auto;
    padding: var(--space-8) var(--space-5) var(--space-6);
}

.press-section {
    margin: 0 0 clamp(3rem, 7vw, 5rem);
}

.press-section > h2 {
    margin: 0 0 var(--space-4);
    font-size: clamp(1.6rem, 3.4vw, 2.2rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.1;
}

.press-section > p {
    max-width: 62ch;
    font-size: 1.05rem;
}

.press-note {
    color: var(--color-text-muted);
    font-size: 0.95rem;
}

.press-facts {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr));
    gap: 0 var(--space-6);
    margin: var(--space-6) 0 0;
}

.press-facts > div {
    padding: var(--space-4) 0;
    border-top: 1px solid var(--color-border);
}

.press-facts dt {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--color-text-muted);
}

.press-facts dd {
    margin: var(--space-1) 0 0;
    font-size: 1.05rem;
}

.press-points {
    max-width: 62ch;
    margin: 0;
    padding-left: 1.2rem;
    font-size: 1.1rem;
}

.press-points li + li {
    margin-top: var(--space-3);
}

.press-points li::marker {
    color: var(--press-plum);
}

/* ---- Screenshots: three phones ------------------------------------------------------------- */

.screens {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: clamp(1rem, 3vw, 2.5rem);
    list-style: none;
    margin: var(--space-6) 0 0;
    padding: 0;
}

.screens figure {
    margin: 0;
}

.phone {
    padding: 0.55rem;
    border-radius: 2.2rem;
    background: var(--press-navy);
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.08) inset, 0 20px 40px rgba(43, 46, 74, 0.25);
}

.phone img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 1.7rem;
}

/* Middle phone sits a little lower: reads as a sequence, not a row of identical cards. */
.screens li:nth-child(2) {
    margin-top: var(--space-8);
}

.screens figcaption {
    display: flex;
    flex-direction: column;
    gap: var(--space-1);
    margin-top: var(--space-3);
    font-size: 0.95rem;
}

.screens figcaption span {
    font-weight: 600;
}

@media (max-width: 40rem) {
    .screens {
        grid-template-columns: none;
        grid-auto-flow: column;
        grid-auto-columns: 72%;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        padding-bottom: var(--space-3);
    }

    .screens li {
        scroll-snap-align: start;
    }

    .screens li:nth-child(2) {
        margin-top: 0;
    }
}

/* ---- Logo, downloads and colors ------------------------------------------------------------ */

.brand-tiles {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: var(--space-4);
    margin-top: var(--space-5);
}

.brand-tile {
    display: grid;
    place-items: center;
    padding: clamp(1.5rem, 5vw, 3rem);
    border-radius: var(--radius-card);
}

.brand-tile img {
    width: clamp(6rem, 18vw, 10rem);
    height: auto;
}

.brand-tile-dark {
    background: var(--press-plum);
}

.brand-tile-light {
    background: var(--press-cream);
}

.press-downloads {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-2) var(--space-6);
    margin: var(--space-4) 0 0;
    padding: 0;
    list-style: none;
    font-weight: 600;
}

.swatches {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(9rem, 1fr));
    gap: var(--space-3);
    margin: var(--space-6) 0 0;
    padding: 0;
    list-style: none;
}

.swatch {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    min-height: 6.5rem;
    padding: var(--space-3);
    border-radius: var(--radius-control);
    font-size: 0.9rem;
    font-weight: 600;
}

.swatch code {
    font-weight: 400;
    font-size: 0.85rem;
    opacity: 0.85;
}

.swatch-navy { background: #2B2E4A; color: #FEF2DA; }
.swatch-plum { background: #8E4162; color: #FEF2DA; }
.swatch-gold { background: #FFCC4D; color: #4D1C27; }
.swatch-ink { background: #4D1C27; color: #FEF2DA; }
.swatch-cream { background: #FEF2DA; color: #4D1C27; box-shadow: inset 0 0 0 1px rgba(77, 28, 39, 0.12); }

/* ---- Copy-ready descriptions --------------------------------------------------------------- */

.blurbs {
    display: grid;
    gap: var(--space-4);
    margin-top: var(--space-4);
}

.blurb {
    margin: 0;
    padding: var(--space-4) var(--space-5);
    border-left: 4px solid var(--press-plum);
    background: var(--color-surface);
    border-radius: 0 var(--radius-control) var(--radius-control) 0;
    max-width: 70ch;
}

.blurb p {
    margin: 0;
    font-size: 1.05rem;
}

.press-main a {
    color: var(--press-plum);
}

@media (prefers-color-scheme: dark) {
    .press-main a {
        color: var(--press-gold);
    }

    .brand-tile-light {
        background: #3A3D5C;
    }
}

.press-main > footer {
    margin-top: 0;
}

/* ---- Focus --------------------------------------------------------------------------------- */

.press-page a:focus-visible {
    outline: 3px solid var(--press-gold);
    outline-offset: 3px;
    border-radius: 4px;
}
