/* Intro prototype. All poster styles are scoped away from the live designer. */
:root {
    --studio-background: #e8e1d3;
    --studio-gradient: radial-gradient(ellipse at 75% 28%, #fff9e9 0%, #f5eedf 42%, #e8e1d3 100%);
    --studio-ink: #283b36;
    --studio-muted: #687068;
    --studio-font: 'DM Sans', sans-serif;
    --studio-serif: 'Cormorant Garamond', Georgia, serif;
    --studio-body: 14px;
    --studio-control: 12px;
    --studio-caption: 10px;
    --studio-heading: clamp(24px, 2.5vw, 35px);
}
/* Safari may sample the page background for its browser chrome and overscroll. */
html:has(body.atlas-theme), body.atlas-theme { background-color: var(--studio-background); }
.product-hero {
    position: relative;
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    align-items: center;
    gap: 3vw;
    min-height: 100svh;
    padding: 100px max(48px, calc((100vw - 1440px) / 2)) 80px;
    overflow: hidden;
    color: var(--studio-ink);
    background: var(--studio-background);
    font-family: var(--studio-font);
    isolation: isolate;
}
.product-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: -1;
    background: var(--studio-gradient);
    pointer-events: none;
}
.hero-palette {
    position: absolute;
    z-index: 2;
    top: 24px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    padding: 5px;
    gap: 3px;
    border: 1px solid #ffffffb8;
    border-radius: 40px;
    background: #ffffff55;
    box-shadow: 0 4px 24px #27352d0b, inset 0 1px 0 #ffffffa8;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}
.hero-palette button {
    display: flex;
    align-items: center;
    gap: 8px;
    min-height: 40px;
    padding: 0 14px;
    border: 0;
    border-radius: 30px;
    background: transparent;
    color: #57615a;
    font: 500 var(--studio-control) var(--studio-font);
    cursor: pointer;
    transition: background .4s, box-shadow .4s;
}
.hero-palette button[aria-pressed="true"] { color: #273c36; background: #fffdf8; box-shadow: 0 2px 8px #27352d14; }
.hero-swatch { width: 14px; height: 14px; border: 1px solid #00000015; border-radius: 50%; background: var(--swatch); }
.hero-copy { position: relative; z-index: 1; max-width: 520px; padding-bottom: 35px; }
.hero-eyebrow { margin-bottom: 20px; color: #73776b; font-size: 10px; letter-spacing: .18em; text-transform: uppercase; }
.hero-brand { display: flex; align-items: center; }
.hero-brand h1 { margin: 0; font: 400 clamp(62px, 7.2vw, 108px)/1.05 var(--studio-serif); letter-spacing: -.045em; }
.hero-tagline { margin-top: 24px; max-width: 420px; font: 400 var(--studio-heading)/1.2 var(--studio-serif); }
.hero-description { max-width: 370px; margin-top: 17px; color: var(--studio-muted); font-size: var(--studio-body); line-height: 1.8; }
.hero-stage { display: flex; flex-direction: column; align-items: center; justify-content: center; min-width: 0; }
.hero-poster {
    position: relative;
    width: min(100%, calc((100svh - 270px) * 5 / 7), 620px);
    aspect-ratio: 5 / 7;
    background: #08121e;
    overflow: hidden;
    box-shadow: 0 35px 55px -20px #29332e4d, 0 6px 14px #29332e15;
}
/* Complete poster exports, including typography, sky, and ornaments. */
.hero-poster-image { position: absolute; inset: 0; display: block; width: 100%; height: 100%; object-fit: contain; opacity: 0; transition: opacity 1s ease; }
.hero-poster-image.is-active { opacity: 1; }
.hero-detail-note { max-width: 100%; min-height: 26px; margin-top: 8px; color: #687068; font-size: 10px; line-height: 1.4; text-align: center; }
.hero-caption { display: flex; align-items: center; gap: 12px; margin-top: 23px; color: #626c62; font-size: 10px; }
.hero-caption > span { white-space: nowrap; }
.hero-stories { display: flex; gap: 2px; }
.hero-stories button, .hero-play { display: grid; place-items: center; width: 28px; height: 30px; padding: 0; border: 0; color: #566458; background: transparent; cursor: pointer; }
.hero-stories button::before { content: ''; width: 5px; height: 5px; border-radius: 20px; background: #b7bdb0; transition: width .4s, background .4s; }
.hero-stories button[aria-pressed="true"]::before { width: 18px; background: #536953; }
.hero-play { border: 1px solid #cbd0c3; border-radius: 50%; font-size: 10px; }
.hero-play[hidden] { display: none; }
.hero-scroll { position: absolute; bottom: 23px; left: 50%; display: flex; align-items: center; gap: 12px; transform: translateX(-50%); padding: 10px; color: #66715f; text-decoration: none; white-space: nowrap; font-size: 10px; letter-spacing: .04em; }
.hero-scroll span { font-size: 18px; }
.product-hero :is(button, a):focus-visible { outline: 2px solid #647350; outline-offset: 4px; }
@media (max-width: 900px) {
    :root { --studio-body: 12px; --studio-control: 11px; --studio-heading: 23px; }
    /* Keep the existing mobile drawer out of the introduction. */
    body.hero-in-view .mobile-side-open-button,
    body.hero-in-view:not(.mobile-side-open) .control-panel { visibility: hidden !important; pointer-events: none !important; }
    .product-hero { grid-template-columns: 1fr; grid-template-rows: auto auto; align-content: start; height: 100dvh; min-height: 0; gap: 8px; padding: 76px 12px 46px; }
    .hero-stage { grid-row: 1; }
    .hero-copy { grid-row: 2; padding: 0; text-align: center; max-width: 500px; justify-self: center; }
    .hero-brand { justify-content: center; }
    .hero-brand h1 { font-size: 36px; }
    .hero-eyebrow { display: none; }
    .hero-tagline { display: none; }
    .hero-description { max-width: 320px; margin: 8px auto 0; font-size: 11px; line-height: 1.5; }
    .hero-poster { width: min(100%, calc((100dvh - 308px) * 5 / 7), 440px); min-width: 0; }
    .hero-palette { top: 14px; }
    .hero-palette button { min-height: 38px; padding: 0 11px; gap: 6px; }
    .hero-swatch { width: 12px; height: 12px; }
    .hero-caption { margin-top: 8px; gap: 7px; }
    .hero-detail-note { margin-top: 4px; min-height: 20px; }
    .hero-scroll { bottom: 14px; }
}
@media (max-width: 480px) {
    :root { --studio-heading: 21px; }
    .hero-brand h1 { font-size: 34px; }
    .hero-description { max-width: 300px; margin-top: 7px; }
    #hero-event { min-width: 103px; }
}
@media (max-width: 360px) {
    .hero-palette button { padding: 0 9px; }
    .hero-brand h1 { font-size: 32px; }
    .hero-caption { gap: 5px; font-size: 9px; }
}
@media (prefers-reduced-motion: reduce) {
    .product-hero *, .product-hero *::before { animation: none !important; transition: none !important; }
}
@media print { .product-hero { display: none; } }
