/* Homepage capabilities: one full-width film stage. Tabs name the problem; the film and copy crossfade. Without JavaScript the panels stack. */
.stage-section{padding:clamp(72px,9vw,128px) 0 0;background:#fff;color:var(--ink)}
.stage-section .lede{color:var(--muted)}
.stage-section .text-link{color:var(--ink)}
.stage-section .section-head{margin-bottom:clamp(30px,3.6vw,52px)}
.stage-film{position:relative;margin:0;aspect-ratio:16/9;overflow:hidden;background:var(--mist)}
.stage-film img,.stage-film video{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.stage-film video{opacity:0;transition:opacity .5s ease}
.stage-film.is-playing video{opacity:1}
.stage-copy{padding:28px var(--gutter) 44px}
.stage-copy h3{font-size:clamp(34px,3.9vw,60px);line-height:1.02;letter-spacing:-.035em}
.stage-copy h3 em{color:var(--red)}
.stage-text{max-width:30em;margin-top:18px;font-size:clamp(17px,1.25vw,20px);line-height:1.5;color:var(--graphite)}
.stage-link{display:inline-flex;align-items:center;gap:12px;margin-top:24px;font-weight:600;color:var(--ink)}
.stage-link span{display:grid;place-items:center;width:38px;height:38px;border:1px solid #11131540;border-radius:50%;font-size:17px;transition:background .25s,border-color .25s,color .25s,transform .25s}
.stage-link:hover span{background:var(--red);border-color:var(--red);color:#fff;transform:rotate(45deg)}
.stage-bar{display:none}

/* Live: film and copy share one grid cell and crossfade. */
.stage.is-live{display:grid;grid-template-columns:minmax(0,1fr)}
.stage.is-live .stage-panel{display:contents}
.stage.is-live .stage-film,.stage.is-live .stage-copy{grid-area:1/1;opacity:0;visibility:hidden;transition:opacity .7s ease,visibility 0s linear .7s}
.stage.is-live .stage-film.is-active,.stage.is-live .stage-copy.is-active{opacity:1;visibility:visible;transition:opacity .7s ease}
.stage.is-live .stage-bar{display:block;grid-area:2/1;background:var(--nardo);color:#fff}
.stage-bar-top{--edge:max(var(--gutter),calc((100% - 1440px)/2));display:flex;align-items:center;justify-content:space-between;gap:16px;padding:10px var(--edge) 10px calc(var(--edge) + 18px);font-size:11px;font-weight:600;letter-spacing:.12em;text-transform:uppercase}
.stage-pause{min-height:28px;padding:0 14px;border:1px solid #ffffff80;border-radius:30px;background:none;color:#fff;font:inherit;letter-spacing:.08em;text-transform:uppercase;cursor:pointer}
.stage-pause:hover{background:#fff;color:var(--ink)}
.stage-pause:focus-visible,.stage-tab:focus-visible{outline:2px solid #fff;outline-offset:-4px}
.stage-tabs{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));padding-inline:max(var(--gutter),calc((100% - 1440px)/2));border-top:1px solid #ffffff33}
.stage-tab{position:relative;display:flex;flex-direction:column;justify-content:flex-start;min-height:62px;padding:18px 18px 16px;border:0;border-left:1px solid #ffffff33;background:none;color:#fff;font:inherit;text-align:left;cursor:pointer;transition:background .25s,color .25s}
.stage-tab b{display:block;font-size:clamp(15px,1.15vw,18px);font-weight:600;line-height:1.25}
.stage-tab:hover{background:#ffffff1f}
.stage-tab[aria-selected="true"]{background:#fff;color:var(--ink)}
.stage-tab[aria-selected="true"]:focus-visible{outline-color:var(--red)}
.stage-dwell{position:absolute;inset:0 0 auto;height:3px;background:var(--red);transform:scaleX(0);transform-origin:left}
.stage-tab[aria-selected="true"] .stage-dwell{transform:none}
.stage.is-auto .stage-tab[aria-selected="true"] .stage-dwell{animation:stage-dwell 9s linear forwards;animation-play-state:paused}
.stage.is-auto.is-running .stage-tab[aria-selected="true"] .stage-dwell{animation-play-state:running}
@keyframes stage-dwell{from{transform:scaleX(0)}to{transform:none}}

/* Desktop: edge-to-edge film, copy on the calm side, tabs in a strip below so nothing covers the picture. */
@media(min-width:901px){
 .stage.is-live .stage-film{aspect-ratio:auto;height:min(calc(100vh - 224px),56.25vw);height:min(calc(100svh - 224px),56.25vw);min-height:480px}
 .stage.is-live .stage-film img,.stage.is-live .stage-film video{object-position:center top}
 .stage.is-live .stage-film::after{content:'';position:absolute;inset:0;background:linear-gradient(90deg,#ffffffd9 0,#ffffffc4 30%,#ffffff99 40%,#ffffff40 50%,#fff0 60%);pointer-events:none}
 .stage.is-live .is-right .stage-film::after{background:linear-gradient(270deg,#ffffffd9 0,#ffffffc4 30%,#ffffff99 40%,#ffffff40 50%,#fff0 60%)}
 /* Copy stops at 41% of the width, where the first person in the frame starts. Type never sits on a person. */
 .stage.is-live .stage-copy{--edge:max(var(--gutter),calc((100% - 1440px)/2));position:relative;z-index:2;align-self:center;width:calc(41% - var(--edge));margin-left:var(--edge);padding:0}
 .stage.is-live .is-right .stage-copy{justify-self:end;margin-left:0;margin-right:var(--edge)}
 .stage-film .image-chip{left:auto;right:20px}
 .is-right .stage-film .image-chip{left:20px;right:auto}
}
/* Phones and tablets: whole film, tabs right under it, copy below, so tapping a tab keeps the film in view. */
@media(max-width:900px){
 .stage.is-live .stage-copy{grid-area:3/1;padding:26px var(--gutter) 48px}
 .stage-bar-top{padding-inline:var(--gutter)}
 .stage-tabs{grid-template-columns:repeat(2,minmax(0,1fr));padding-inline:0}
 .stage-tab{min-height:54px;padding:14px 14px 13px;border-top:1px solid #ffffff33}
 .stage-tab:nth-child(-n+2){border-top:0}
 .stage-tab:nth-child(odd){border-left:0;padding-left:var(--gutter)}
 .stage-tab b{font-size:15px}
 .stage-copy h3{font-size:clamp(34px,7vw,48px)}
}
/* Phones get a tall film shot for the shape of the screen. */
@media(max-width:600px){.stage.is-live .stage-film{aspect-ratio:3/4}}
@media(prefers-reduced-motion:reduce){.stage.is-live .stage-film,.stage.is-live .stage-copy,.stage.is-live .stage-film.is-active,.stage.is-live .stage-copy.is-active{transition:none}}
