/* Press kit (static SSR at "/press"). Loaded after landing.css and built on its tokens, reset,
   buttons, trailer and footer. This page is for reading and downloading, so it trades the landing
   page's motion for a plain document with a contents rail. */

.press-backdrop {
    position: fixed;
    inset: 0;
    z-index: -1;
    pointer-events: none;
}

.press-backdrop img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 40%;
    opacity: 0.38;
}

/* The art only shows through behind the hero, and falls to the flat ground well before the body text. */
.press-backdrop::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(10, 6, 32, 0.2) 0%, rgba(10, 6, 32, 0.88) 55%, var(--void) 80%);
}

/* ---- Bar ----------------------------------------------------------------- */

.press-bar {
    position: sticky;
    top: 0;
    z-index: 10;
    background: rgba(10, 6, 32, 0.82);
    border-bottom: 1px solid var(--edge);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.press-bar__inner {
    display: flex;
    align-items: center;
    gap: 1rem;
    min-height: 3.75rem;
}

.press-bar__home img { width: 6.5rem; height: auto; }

.press-bar__label {
    font-family: var(--display);
    font-size: 1.25rem;
    color: var(--ink-dim);
}

.press-bar .press-button { margin-left: auto; }

/* The address is a long word, and on a phone it would push the bar wider than the screen. */
@media (max-width: 34rem) {
    .press-bar .press-button { display: none; }
}

/* ---- Buttons ------------------------------------------------------------- */

.press-button {
    display: inline-flex;
    align-items: center;
    padding: 0.7rem 1.3rem;
    border: 1px solid var(--edge);
    border-radius: 0.4rem;
    color: var(--ink);
    background: rgba(26, 17, 54, 0.7);
    font-weight: 600;
    text-decoration: none;
    transition: border-color 120ms ease, background-color 120ms ease;
}

.press-button:hover { border-color: var(--signal); }

.press-button--primary {
    background: var(--teal);
    border-color: var(--mist);
}

.press-button--primary:hover { background: #357568; }

.press-button--quiet {
    padding: 0.4rem 0.9rem;
    font-weight: 500;
    font-size: 0.92rem;
}

/* ---- Hero ---------------------------------------------------------------- */

.press-hero {
    display: grid;
    gap: 2.5rem;
    padding-block: clamp(2.5rem, 6vw, 4.5rem);
    align-items: start;
}

@media (min-width: 62rem) {
    .press-hero { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 3.5rem; }
}

.press-hero__logo {
    width: min(34rem, 100%);
    height: auto;
    filter: drop-shadow(0 0 1.5rem rgba(10, 6, 32, 0.9));
}

.press-hero__headline {
    margin: 1.6rem 0 0;
    font-family: var(--prose);
    font-size: clamp(1.25rem, 2.4vw, 1.6rem);
    line-height: 1.4;
    color: var(--ink);
}

.press-hero__standfirst { margin-top: 1rem; font-size: 1.05rem; }

.press-hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    margin-top: 1.8rem;
}

/* ---- Cards --------------------------------------------------------------- */

.press-card {
    background: rgba(26, 17, 54, 0.78);
    border: 1px solid var(--edge);
    border-radius: 0.6rem;
    padding: 1.4rem 1.5rem;
}

.press-card__title {
    font-size: 1.45rem;
    margin-bottom: 0.9rem;
}

.press-facts dl,
.press-links { margin: 0; }

.press-facts__row,
.press-links__row {
    display: grid;
    grid-template-columns: 8.5rem minmax(0, 1fr);
    gap: 1rem;
    padding-block: 0.45rem;
    border-top: 1px solid rgba(58, 49, 104, 0.6);
    font-size: 0.95rem;
}

.press-facts__row:first-child,
.press-links__row:first-child { border-top: 0; }

.press-facts dt,
.press-links dt { color: var(--ink-dim); }

.press-facts dd,
.press-links dd { margin: 0; overflow-wrap: anywhere; }

.press-links__row { grid-template-columns: 6.5rem minmax(0, 1fr); }

.press-strip {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr));
    gap: 1.25rem;
}

.press-contact__email {
    margin: 0 0 0.6rem;
    font-size: 1.1rem;
    font-weight: 600;
    overflow-wrap: anywhere;
}

.press-downloads ul { list-style: none; padding: 0; margin: 0; }
.press-downloads li { padding-block: 0.3rem; }

/* ---- Layout -------------------------------------------------------------- */

.press-layout { padding-bottom: 4rem; }

.press-main { min-width: 0; }

/* Narrow screens get the contents as one scrolling row of chips under the hero. */
.press-toc ul {
    display: flex;
    gap: 0.5rem;
    overflow-x: auto;
    margin: 0 0 2rem;
    padding: 0 0 0.5rem;
    list-style: none;
    scrollbar-width: thin;
}

.press-toc a {
    display: block;
    white-space: nowrap;
    padding: 0.3rem 0.8rem;
    border: 1px solid var(--edge);
    border-radius: 999px;
    color: var(--ink-dim);
    font-size: 0.9rem;
    text-decoration: none;
}

.press-toc a:hover { color: var(--signal); border-color: var(--signal); }

@media (min-width: 70rem) {
    .press-layout {
        display: grid;
        grid-template-columns: 12.5rem minmax(0, 1fr);
        gap: 3rem;
        align-items: start;
    }

    .press-toc {
        position: sticky;
        top: 5rem;
    }

    .press-toc ul {
        display: block;
        overflow: visible;
        margin: 0;
        padding: 0;
        border-left: 1px solid var(--edge);
    }

    .press-toc a {
        border: 0;
        border-radius: 0;
        padding: 0.28rem 0 0.28rem 1rem;
        white-space: normal;
    }
}

/* ---- Sections ------------------------------------------------------------ */

.press-section {
    padding-top: 3rem;
    margin-top: 3rem;
    border-top: 1px solid var(--edge);
    /* The sticky bar would otherwise cover a heading reached from the contents. */
    scroll-margin-top: 4.5rem;
}

.press-section__title {
    font-size: clamp(1.7rem, 2.6vw, 2.2rem);
    margin-bottom: 1.1rem;
}

#contact, #fact-sheet { scroll-margin-top: 5rem; }

.press-prose { color: #d9d2ea; max-width: 72ch; }
.press-prose > :first-child { margin-top: 0; }
.press-prose > :last-child { margin-bottom: 0; }
.press-prose p, .press-prose ul, .press-prose ol, .press-prose blockquote, .press-prose pre { margin: 0 0 0.9rem; }
.press-prose ul, .press-prose ol { padding-left: 1.3rem; }
.press-prose li { margin-block: 0.25rem; }
.press-prose strong { color: var(--ink); }

.press-prose blockquote {
    border-left: 3px solid var(--mist);
    padding-left: 1rem;
    color: var(--ink);
    font-family: var(--prose);
    font-style: italic;
}

.press-prose code {
    font-size: 0.88em;
    padding: 0.05rem 0.3rem;
    border-radius: 0.2rem;
    background: rgba(58, 49, 104, 0.55);
}

.press-prose pre {
    overflow-x: auto;
    padding: 0.9rem 1rem;
    border: 1px solid var(--edge);
    border-radius: 0.4rem;
    background: rgba(10, 6, 32, 0.8);
}

.press-prose pre code { padding: 0; background: none; }

.press-todo {
    background: rgba(255, 196, 64, 0.16);
    color: #ffd98a;
    outline: 1px dashed rgba(255, 196, 64, 0.6);
    border-radius: 0.15rem;
    padding-inline: 0.2rem;
}

/* ---- Titled blocks ------------------------------------------------------- */

.press-blocks {
    display: grid;
    gap: 1rem;
    margin-top: 1.4rem;
}

.press-block {
    padding: 1.1rem 1.3rem;
    border: 1px solid rgba(58, 49, 104, 0.8);
    border-radius: 0.5rem;
    background: rgba(26, 17, 54, 0.5);
}

.press-block__head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 0.55rem;
}

.press-block__title {
    font-family: var(--body);
    font-weight: 650;
    font-size: 1.02rem;
    letter-spacing: 0;
}

.press-copy__button {
    flex: none;
    padding: 0.25rem 0.8rem;
    border: 1px solid var(--edge);
    border-radius: 0.3rem;
    background: transparent;
    color: var(--signal);
    font: inherit;
    font-size: 0.85rem;
    cursor: pointer;
}

.press-copy__button:hover { border-color: var(--signal); }

/* ---- Galleries ----------------------------------------------------------- */

.press-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(15rem, 1fr));
    gap: 1.25rem;
    margin: 1.4rem 0 0;
    padding: 0;
    list-style: none;
}

.press-gallery--shots { grid-template-columns: repeat(auto-fill, minmax(18rem, 1fr)); }

.press-gallery a { display: block; color: inherit; text-decoration: none; }
.press-gallery figure { margin: 0; }

.press-gallery__frame {
    aspect-ratio: 16 / 9;
    overflow: hidden;
    border: 1px solid var(--edge);
    border-radius: 0.4rem;
    background: var(--panel);
    transition: border-color 120ms ease;
}

.press-gallery__frame img { width: 100%; height: 100%; object-fit: cover; }

/* Logos and capsules come in every shape, and none of them may be cropped. */
.press-gallery__frame--contain { aspect-ratio: 4 / 3; padding: 1rem; }
.press-gallery__frame--contain img { object-fit: contain; }

.press-gallery a:hover .press-gallery__frame { border-color: var(--signal); }

.press-gallery figcaption {
    margin-top: 0.5rem;
    font-size: 0.88rem;
    color: var(--ink-dim);
}

/* ---- Team ---------------------------------------------------------------- */

.press-team {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(19rem, 1fr));
    gap: 1.5rem;
    margin: 1.6rem 0 0;
    padding: 0;
    list-style: none;
}

.press-member {
    display: grid;
    grid-template-columns: 5.5rem minmax(0, 1fr);
    gap: 1.1rem;
    align-items: start;
}

.press-member__photo {
    display: block;
    width: 5.5rem;
    aspect-ratio: 1;
    border-radius: 50%;
    overflow: hidden;
    border: 1px solid var(--edge);
}

.press-member__photo img { width: 100%; height: 100%; object-fit: cover; }

.press-member__photo--initials {
    display: grid;
    place-items: center;
    background: var(--slate);
    font-family: var(--display);
    font-size: 1.7rem;
    color: var(--ink-dim);
}

.press-member__name { font-size: 1.3rem; }

.press-member__role {
    margin: 0.2rem 0 0.6rem;
    color: var(--signal);
    font-size: 0.92rem;
    font-weight: 600;
}

.press-member .press-prose { font-size: 0.95rem; }

.press-member__link {
    display: inline-block;
    margin-top: 0.5rem;
    font-size: 0.9rem;
    overflow-wrap: anywhere;
}

/* ---- Tags ---------------------------------------------------------------- */

.press-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.press-tags li {
    padding: 0.25rem 0.75rem;
    border-radius: 999px;
    background: rgba(44, 100, 90, 0.35);
    border: 1px solid rgba(75, 122, 122, 0.7);
    font-size: 0.88rem;
}

/* ---- Trailer ------------------------------------------------------------- */

.press-trailer { max-width: 46rem; margin-bottom: 1rem; }

.press-missing { padding-block: 6rem; }
