.showcase {
    --gutter: clamp(1.25rem, 5.4vw, 7rem);
    background: #07162e;
    color: #f4f3f0;
}
.showcase .wrap {width: min(100% - 2 * var(--gutter), 100rem);}
.cover, .cover-stage {position: relative;}
.cover {
    /* Let the first film cover just the bottom of the artwork on entry. */
    margin-bottom: -5vh;
    margin-bottom: clamp(-4rem, -5svh, -1rem);
}
.cover-stage {
    isolation: isolate;
    overflow: hidden;
    background: linear-gradient(180deg, #020d21, #051934 68%, #031127);
}
.cover-board {
    position: absolute;
    inset: 0;
    pointer-events: none;
    container-type: size;
}
.board-art {
    position: absolute;
    left: 50%;
    top: 50%;
    width: max(100.4cqw, 178.49cqh);
    aspect-ratio: 16 / 9;
    /* The NE555 package is centered at x ≈ 835 in the 1672-wide artwork. */
    transform: translate(-49.94%, -50%);
    background-size: 100% 100%;
}
.cover-board img, .cover-board svg {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
@media (prefers-reduced-motion: reduce) {
    .cover-board svg {display: none;}
}
.industry-film {pointer-events: none;}
.cover-layout, .scene-layout {position: relative; z-index: 1;}
.cover-layout {
    min-height: 100vh;
    min-height: 100svh;
    display: grid;
    grid-template-rows: minmax(max-content, 1fr) minmax(9rem, 1fr);
    padding-top: calc(var(--mast-height) + 1.25rem);
}
.cover-copy {
    place-self: center;
    translate: 0 clamp(0rem, calc(6svh - 2.75rem), 2rem);
    width: min(100%, 64rem);
    min-width: 0;
    font-family: var(--brand-font);
    text-align: center;
}
.cover h1, .home-directory h2 {
    margin: 0;
    font-weight: 450;
    line-height: 1.01;
    letter-spacing: -.052em;
}
.cover h1 {
    font-size: clamp(2.7rem, min(4.4vw, 7.2svh), 4.9rem);
    font-weight: 500;
    line-height: 1.08;
    letter-spacing: -.035em;
    /* Balance the visible edges of the first line in the brand typeface. */
    text-indent: -.055em;
}
.cover-copy > p {
    max-width: 43rem;
    margin: 1rem auto 0;
    font-size: clamp(.9rem, 1.05vw, 1.1rem);
    font-weight: 350;
    line-height: 1.55;
    color: #e1e0dc;
    text-wrap: balance;
}
.cover .part-search {
    --search-edge: rgb(196 216 243 / 43%);
    width: min(100%, 30rem);
    min-height: 3.25rem;
    margin: clamp(1rem, 2.2svh, 1.75rem) auto 0;
    padding: .25rem;
    gap: .5rem;
    border: 1px solid var(--search-edge);
    border-radius: .5rem;
    background: rgb(197 217 248 / 7%);
    color: #f4f7ff;
    font: 400 1rem/1.4 'ITH Inter', sans-serif;
    box-shadow: none;
}
.cover .part-search:focus-within {border-color: var(--search-edge);}
.cover .part-search label {gap: .85rem; padding-inline-start: .8rem;}
.cover .part-search input {font-size: 1rem; color: inherit; outline: none; color-scheme: dark;}
.cover .part-search input::placeholder {color: #c5d2e5; opacity: 1;}
.cover .part-search .lens {border-color: #c5d2e5;}
.cover .part-search .lens::after {background: #c5d2e5;}
.cover .part-search button,
.cover .part-search button:hover {
    position: relative;
    padding: .55rem 1rem;
    background: transparent;
    font-weight: 500;
}
.cover .part-search button::before {
    content: ""; position: absolute; left: 0; top: 22%; bottom: 22%;
    width: 1px; background: var(--search-edge);
}
.cover .part-search button:focus-visible {outline: none; text-decoration: underline; text-underline-offset: .2em;}
.industry-scene {
    position: relative;
    height: 100vh;
    height: 100svh;
}
.industry-stage {
    position: absolute;
    inset: 0;
    overflow: hidden;
    isolation: isolate;
    background: #171818;
}
.scene-media {position: absolute; inset: 0; overflow: hidden;}
/* A taller image area keeps the bottom edge of the original footage outside the slide. */
.industry-film, .scene-poster {
    position: absolute;
    inset: 0 auto auto 0;
    display: block;
    width: 100%;
    height: 110%;
    object-fit: cover;
    object-position: center 45%;
}
.industry-film {opacity: 0;}
.industry-film.has-frame {opacity: 1;}
.scene-media::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: linear-gradient(180deg, rgb(0 0 0 / 40%), transparent 19%),
        linear-gradient(0deg, rgb(0 0 0 / 62%), transparent 34%);
}
.scene-layout {
    height: 100%;
    display: grid;
    align-content: end;
    padding-inline: max(clamp(.8rem, 2.2vw, 3rem), env(safe-area-inset-left)) max(clamp(.8rem, 2.2vw, 3rem), env(safe-area-inset-right));
    padding-bottom: max(clamp(2.1rem, 7vh, 5rem), env(safe-area-inset-bottom));
    pointer-events: none;
}
.scene-layout h2 {
    margin: 0;
    max-width: min(31ch, 90%);
    font: 520 clamp(2.35rem, 4.25vw, 5.15rem)/1.035 'ITH Inter', Inter, sans-serif;
    letter-spacing: -.055em;
    text-wrap: balance;
    text-shadow: 0 1px 12px rgb(0 0 0 / 17%);
}
.scene-layout h2 a {color: #d5d5d5; text-decoration: none; pointer-events: auto;}
.scene-layout h2 a:focus-visible {color: #fff;}
@media (hover: hover) {
    .scene-layout h2 a:hover {color: #fff;}
}
@media (prefers-reduced-motion: no-preference) {
    .scenes-enhanced .cover {
        position: sticky;
        top: var(--cover-stick-top, 0px);
    }
    /* Each outgoing stage stays pinned for one viewport as the next one covers it. */
    .scenes-enhanced .industry-scene {
        height: 200vh;
        height: 200svh;
        margin-bottom: -100vh;
        margin-bottom: -100svh;
        isolation: isolate;
    }
    .scenes-enhanced .industry-stage {
        position: sticky;
        inset: auto;
        top: 0;
        height: 100vh;
        height: 100svh;
        touch-action: pan-x pinch-zoom;
    }
    .scene-layout h2 a {transition: color .22s ease;}
    @keyframes resolve-type {
        from {opacity: 0; filter: blur(8px); transform: translateY(.2em);}
        to {opacity: 1; filter: blur(0); transform: translateY(0);}
    }
    .scenes-enhanced .industry-scene:not(.title-visible) h2 {opacity: 0;}
    .industry-scene.title-visible h2 {animation: resolve-type .74s cubic-bezier(.2,.65,.25,1) both;}
    @keyframes cover-art-in {from {opacity: 0;} to {opacity: 1;}}
    @keyframes cover-type-in {
        from {opacity: 0; filter: blur(7px);}
        to {opacity: 1; filter: blur(0);}
    }
    .cover-board {animation: cover-art-in 1s ease-in-out both;}
    .board-art img {transition: opacity .45s ease-in-out;}
    .art-loading .board-art img {opacity: 0;}
    .cover-copy {animation: cover-type-in 1.15s ease-in-out both;}
    .cover-pending :is(.cover-board, .cover-copy) {animation: none; opacity: 0;}
}
.home-directory {
    position: relative;
    min-height: 100svh;
    background: #fff;
    color: var(--ink);
    padding-block: clamp(5.6rem, 7vw, 7rem) clamp(3.5rem, 7vw, 7rem);
}
.home-directory .section-title {align-items: baseline; margin-bottom: clamp(1.75rem, 3.5vw, 3.5rem);}
.home-directory h2 {font: 480 clamp(1.7rem, 3.45vw, 3.85rem)/1.12 var(--brand-font); letter-spacing: -.045em;}
.home-directory .section-title a {flex: none; font: 440 .93rem/1.45 var(--brand-font); color: inherit;}
.home-directory .tile-grid {grid-template-columns: repeat(3,minmax(0,1fr)); gap: 0 clamp(1.5rem, 3.5vw, 4rem);}
.home-directory .tile-grid a {
    min-height: 5.8rem;
    padding: 1.15rem .15rem;
    background: transparent;
    border: 0;
    border-top: 1px solid var(--line);
    border-radius: 0;
    font-size: 1.06rem;
    font-weight: 500;
}
.home-directory .tile-grid small {color: var(--muted);}
.home-directory .tile-grid a:hover {color: var(--link); text-decoration: none;}

.showcase + footer {margin-top: 0;}
@media (max-width: 700px) {
    .cover-board {
        inset: 28% 0 13%;
        mask-image: linear-gradient(180deg, transparent, black 24%, black 78%, transparent);
    }
    .cover h1 {font-size: clamp(1.35rem, 6.8vw, 2.95rem);}
    .cover-copy > p {margin-top: .9rem; max-width: 29rem;}
    .scene-layout h2 {max-width: 100%; font-size: clamp(1.75rem, 7.4vw, 3.2rem);}
    .home-directory .tile-grid {grid-template-columns: repeat(2,minmax(0,1fr));}
}
@media (max-width: 450px) {
    .home-directory .section-title {align-items: start; flex-direction: column;}
    .home-directory .tile-grid {grid-template-columns: 1fr;}
    .home-directory .tile-grid a {min-height: 4.65rem;}
    .home-directory .tile-grid small {flex-shrink: 0;}
}
@media (min-width: 701px) and (max-height: 44rem) {
    .cover-board {inset-block-start: min(var(--mast-height), 6.5rem);}
}
@media (max-width: 700px) and (max-height: 44rem) {
    .cover-board {inset-block: 35% 5%;}
}
@media (max-height: 32rem) and (orientation: landscape) {
    .cover-layout {
        min-height: max(100svh, 35rem);
        padding-top: var(--mast-height);
    }
    .cover h1 {font-size: clamp(1.7rem, 7.5svh, 2.4rem);}
    .cover-copy > p {font-size: .94rem; line-height: 1.35; margin-top: .6rem;}
}
