/* Opening chapter. The same scene order is readable without motion or scripting. */
.opening-packs,.fibre-field {position:absolute;inset:0;overflow:hidden;pointer-events:none}
.opening-packs {--light:var(--pack-light,0);--wing-spacing:min(24vw,calc(var(--screen,100svh) * .32))}
@property --studio-pulse {syntax:"<number>";inherits:false;initial-value:0}
@property --studio-gain {syntax:"<number>";inherits:false;initial-value:0}
@keyframes opening-studio-light {
  0%,100% {--studio-pulse:0}
  38% {--studio-pulse:.95}
}
@media screen and (prefers-reduced-motion:no-preference) and (forced-colors:none) {
  .story-live .opening-packs {
    --idle-light:calc(var(--studio-gain) * var(--studio-pulse));
    --light:max(var(--pack-light,0),var(--idle-light));
    transition:--studio-gain .32s ease-out;
    animation:opening-studio-light 4s ease-in-out infinite paused;
  }
  .story-live .at-opening .opening-packs {--studio-gain:1;animation-play-state:running}
  .story-live .opening-packs::before {
    content:"";
    position:absolute;
    inset:0;
    background:radial-gradient(ellipse 38% 48% at 54% 45%,rgb(30 29 26 / .34),transparent);
    opacity:var(--idle-light);
  }
}
.opening-packs > :is(img,svg) {
  position:absolute;top:50%;left:50%;height:min(58%,48vw);width:auto;max-width:none;
  transform:translate(-50%,-50%) scale(var(--pack-growth,1));transform-origin:center;
  filter:saturate(calc(.16 + .54 * var(--light))) brightness(calc(.38 + .18 * var(--light)));
  mask-image:linear-gradient(var(--light-angle,94deg),
    rgb(0 0 0 / calc(.26 + .36 * var(--light))),
    rgb(0 0 0 / calc(.16 + .27 * var(--light))) 35%,
    rgb(0 0 0 / calc(.24 + .34 * var(--light))) 65%,
    rgb(0 0 0 / .94) calc(92% - 10% * var(--light)),
    rgb(0 0 0 / .48));
}
.opening-packs > :is(img,svg):first-child,.opening-packs > :is(img,svg):last-child {height:min(45%,36vw);opacity:var(--wing-alpha,1);transform:translate(-50%,calc(-50% - var(--wing-lift,0px)))}
.opening-packs > :is(img,svg):first-child {left:calc(50% - var(--wing-spacing))}
.opening-packs > :is(img,svg):last-child {left:calc(50% + var(--wing-spacing));--light-angle:266deg}
.opening-hero .story-type,.opening-macro .story-type {max-width:min(67vw,1150px)}
/* The lettering sets its own spacing and scales as a single sign. */
.opening-hero .hero-beat h1 {position:relative;width:min(44vw,880px);margin:clamp(18px,1.85vw,36px) auto;line-height:1}
.hero-wordmark {display:block;width:100%;height:auto}
.wordmark-name {position:absolute;width:1px;height:1px;padding:0;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
@media(max-width:767px) {
  #site-header .lc-top {background-color:transparent;transition:background-color .18s ease-out}
  #site-header[data-brand-bar] .lc-top {background-color:var(--nav-bg)}
  #site-header .lc-top :is(.lc-wordmark,.lc-nav,.lc-menu,.lc-cart) {background:transparent}
  #site-header .lc-top :is(.lc-wordmark,.lc-cart) {opacity:0;visibility:hidden;transition:opacity .18s ease-out}
  #site-header[data-brand-bar] .lc-top :is(.lc-wordmark,.lc-cart) {opacity:1;visibility:visible}
  #site-header .lc-nav .lc-menu {order:1}
  #site-header:not([data-brand-bar]) .lc-nav .lc-menu {color:white;border-color:transparent}
  #site-header[data-menu-tone=dark] {--mark-finish:silver}
  #site-header[data-menu-tone=light] {--mark-finish:graphite}
}
@media(forced-colors:active), print {
  .hero-wordmark {display:none}
  .wordmark-name {position:static;width:auto;height:auto;clip-path:none;white-space:normal}
}
.opening-hero .story-type h3,.opening-macro .story-type h3 {font-size:clamp(32px,3.65vw,73px);letter-spacing:-.045em;line-height:1;text-wrap:balance}
.opening-hero .story-label,.opening-macro .story-label {font-size:clamp(10px,.75vw,15px);line-height:1.2}
.opening-hero .beat:nth-child(3) h3 {font-size:clamp(29px,3.24vw,64px)}
.story-live :is(.opening-hero,.opening-macro,.opening-pair) .beat {padding:0 4vw}
.story-live .reading-detail {display:none}
.reading-detail {max-width:46em;margin:1.2em auto 0!important;font:400 18px/1.45 var(--sans)!important}
.opening-cover {background:#000}
.story-live .opening-cover .story-sticky {height:100%;position:relative}
.opening-cover .story-type {position:relative;display:grid;width:min(55vw,1220px);height:min(49vh,35vw);max-width:none;place-items:center;transform:none}
.opening-cover .story-type::before,.opening-cover .story-type::after {content:"";position:absolute;top:0;bottom:0;width:clamp(11px,1.25vw,25px);border:clamp(1px,.115vw,2px) solid currentColor}
.opening-cover .story-type::before {left:0;border-right:0;border-radius:8px 0 0 8px}
.opening-cover .story-type::after {right:0;border-left:0;border-radius:0 8px 8px 0}
.opening-cover .story-type h2 {font-size:clamp(60px,8.5vw,165px);letter-spacing:-.06em}
.opening-macro[data-nav-surface],.opening-pair[data-nav-surface] {background:#000}
.opening-macro .story-sticky::after {
  background:radial-gradient(ellipse at center,#000 14%,rgba(0,0,0,.75) 41%,transparent 76%);
  opacity:var(--fibre-shade,.7);
}
.fibre-field {display:grid;grid-template:100% / minmax(0,1fr);place-items:center;background:#000}
.fibre-field video {
  display:block;width:max(100%,125vh);height:auto;max-width:none;aspect-ratio:16/9;
  grid-area:1/1;justify-self:center;
}
.story-live .fibre-field video {transform:translateY(calc(.08 * var(--screen))) scale(1.2)}
.story-live #fibre {scroll-margin-top:0}
.opening-pair .story-type {max-width:95vw}
.opening-pair .story-type h3 {font-size:clamp(64px,8.9vw,180px);line-height:.94;letter-spacing:-.058em}
body:not(.story-live) .opening-packs {height:76svh;--light:.42}
body:not(.story-live) .opening-packs > :is(img,svg) {height:min(43vh,43vw)}
body:not(.story-live) .opening-packs > :is(img,svg):not(:nth-child(2)) {height:min(30vh,30vw)}
body:not(.story-live) .opening-macro .fibre-field {opacity:.4}
body:not(.story-live) .opening-pair .beat {min-height:50svh}
@media(max-width:767px){
  .opening-packs > :is(img,svg) {height:min(47%,82vw)}
  .opening-packs > :is(img,svg):first-child,.opening-packs > :is(img,svg):last-child {height:min(35%,53vw)}
  .opening-packs > :is(img,svg):first-child {left:15%}
  .opening-packs > :is(img,svg):last-child {left:85%}
  .opening-hero .story-type,.opening-macro .story-type {max-width:90vw}
  .opening-hero .hero-beat h1 {width:min(87vw,540px);font-size:clamp(44px,12vw,90px)}
  .opening-hero .story-type h3,.opening-macro .story-type h3 {font-size:clamp(28px,7.7vw,50px)}
  .opening-hero .beat:nth-child(3) h3 {font-size:clamp(25px,6.95vw,45px)}
  .opening-hero .story-label,.opening-macro .story-label {font-size:11px}
  .opening-cover .story-type {width:91vw;height:clamp(136px,43vw,245px)}
  .opening-cover .story-type h2 {font-size:clamp(46px,13.4vw,91px)}
  .opening-pair .story-type h3 {font-size:clamp(38px,10.9vw,75px)}
}

body:not(.story-live) .opening-cover .story-sticky {background:var(--paper)}
body:not(.story-live) .opening-packs {--wing-alpha:1!important;--wing-lift:0px!important;--pack-growth:1!important}
@media(max-width:767px) {
  .fibre-field video {rotate:12deg}
}

@media (max-width:767px) and (prefers-reduced-motion:reduce) {
  #site-header .lc-top,#site-header .lc-top :is(.lc-wordmark,.lc-cart) {transition:none}
}
