html.raven-agency-document { scrollbar-gutter: stable; }
html.raven-agency-intro-locked { overflow: hidden; }
html.raven-agency-intro-locked .raven-agency-page {
    height: 100svh;
    overflow: hidden;
    overscroll-behavior: none;
}
.raven-agency-hero {
    position: relative;
    isolation: isolate;
    height: 100svh;
    min-height: 20rem;
    overflow: hidden;
    background: #000;
}
.raven-agency-hero__video,
.raven-agency-hero__image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    pointer-events: none;
}
.raven-agency-hero__image {
    z-index: 1;
    opacity: 1;
    transition: opacity 350ms ease-out;
}
html.has-js .raven-agency-hero__image { opacity: 0; }
.raven-agency-hero.is-playing .raven-agency-hero__image {
    opacity: 0;
    transition: none;
}
html.has-js .raven-agency-hero.is-complete .raven-agency-hero__image {
    opacity: 1;
    transition: opacity 350ms ease-out;
}
@media (max-aspect-ratio: 1/1) {
    .raven-agency-hero__video,
    .raven-agency-hero__image { object-fit: contain; }
}
@media (prefers-reduced-motion: reduce) {
    .raven-agency-hero .raven-agency-hero__image { transition: none; }
}

/* Shared glass-style intro skip control. */
.raven-agency-hero__skip {
    position: absolute;
    z-index: 3;
    right: var(--page-gutter);
    bottom: calc(clamp(1rem, 2.5vw, 2rem) + env(safe-area-inset-bottom, 0px));
    display: inline-flex;
    align-items: baseline;
    justify-content: center;
    gap: 0.5rem;
    min-height: 2.5rem;
    padding: 0.5rem 0.875rem;
    border: 1px solid rgb(255 255 255 / 0.14);
    border-radius: 0.9rem;
    background:
        linear-gradient(115deg, rgb(255 255 255 / 0.08), transparent 35%, transparent 68%, rgb(245 25 25 / 0.07)),
        rgb(8 8 10 / 0.62);
    box-shadow: 0 0.4rem 1.5rem rgb(0 0 0 / 0.2), inset 0 1px 0 rgb(255 255 255 / 0.08);
    -webkit-backdrop-filter: blur(1.35rem) saturate(145%);
    backdrop-filter: blur(1.35rem) saturate(145%);
    color: var(--color-white);
    font-family: var(--font-body);
    /* Keep this small utility label on a stable, readable type size. */
    font-size: 0.875rem;
    font-weight: 400;
    line-height: 1.25rem;
    letter-spacing: 0;
    white-space: nowrap;
    cursor: pointer;
    pointer-events: auto;
    transition: border-color 250ms ease, box-shadow 250ms ease;
}

.raven-agency-hero__skip svg {
    flex: none;
    width: 1em;
    /* Match the font's capital height and baseline, without pixel offsets. */
    height: 1cap;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.5;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.raven-agency-hero__skip > span {
    display: block;
}

.raven-agency-hero__skip:hover,
.raven-agency-hero__skip:focus-visible {
    border-color: rgb(255 255 255 / 0.3);
    box-shadow: 0 0.5rem 1.75rem rgb(0 0 0 / 0.3), inset 0 1px 0 rgb(255 255 255 / 0.12);
}

.raven-agency-hero__skip:focus-visible {
    outline: 2px solid var(--color-white);
    outline-offset: 0.3rem;
}

.raven-agency-hero__skip[hidden] {
    display: none;
}

