/* A continuous moving image, with typography in its foreground.
   This stylesheet is loaded on the home page only. */
.page-home .hero {
  position:relative; display:block; isolation:isolate; overflow:hidden;
  margin:0; padding:0; height:calc(100svh - 24px); min-height:640px; max-height:1100px;
  background:#141719; color:#fff;
}
.page-home .hero-film {
  position:absolute; inset:0; z-index:-2; width:100%; height:100%; max-width:none;
  margin:0; aspect-ratio:auto; clip-path:none; background:#141719;
}
.page-home .hero-video {position:absolute; inset:0; width:100%; height:100%; aspect-ratio:auto; object-fit:cover; object-position:57% 50%; transform:none}
.page-home .hero-film::after {
  content:""; position:absolute; inset:0; pointer-events:none;
  background:linear-gradient(90deg,rgba(5,12,16,.46),rgba(5,12,16,.06) 75%),linear-gradient(0deg,rgba(5,10,14,.58),transparent 40%,rgba(5,10,14,.17) 75%,rgba(5,10,14,.48));
}
.page-home .hero-inner {
  display:flex; position:relative; z-index:2; flex-direction:column; justify-content:center; align-items:flex-start;
  width:100%; height:100%; min-height:0; max-width:none; padding:90px var(--gutter) 105px;
}
.page-home .hero-titlebox {width:auto; max-width:none; margin:0; padding:0; background:none}
.page-home .hero-title {display:block; line-height:1.25; letter-spacing:.005em; font-feature-settings:"palt"; text-shadow:0 2px 35px rgba(0,0,0,.13)}
.page-home .hero-first {font-size:clamp(33px,3.6vw,58px); line-height:1.55; font-weight:500; margin:0 0 9px; letter-spacing:.025em}
.page-home .hero-last {font-size:clamp(76px,8.4vw,136px); line-height:1.25; font-weight:700; letter-spacing:-.04em}
.page-home .hero-body {display:block; width:auto; max-width:none; margin:31px 0 0; padding:0}
.page-home .hero-sub {font-size:clamp(15px,1.2vw,18px); font-weight:400; line-height:2; letter-spacing:.08em; color:#fff; text-shadow:0 1px 4px #000,0 1px 15px #0008}
.page-home .hero-sub br {display:none}
.page-home .hero-sub .nw {display:inline-block}
.page-home .hero-tools {
  position:absolute; z-index:3; inset:auto var(--gutter) 32px; display:flex;
  justify-content:space-between; align-items:center; gap:32px; padding:0; margin:0;
  width:auto; max-width:none; border:0;
}
.page-home .reel-caption {font-size:11px; color:rgba(255,255,255,.82); letter-spacing:.09em; display:flex; align-items:center; gap:20px}
.page-home .reel-caption::before {content:""; display:block; width:44px; height:1px; background:currentColor}
.page-home .reel-actions {gap:28px}
.page-home .reel-control,.page-home .reel-expand {color:#fff; font-size:11px; min-height:44px; padding:0; gap:12px; transition:opacity .2s}
.page-home .reel-control:hover,.page-home .reel-expand:hover {color:#fff; opacity:.7}
.page-home .reel-expand {flex-direction:row-reverse; font-size:13px; gap:16px}
.page-home .reel-expand span {display:grid; place-items:center; width:50px; height:50px; border:1px solid #ffffff80; border-radius:50%; font-size:0; transition:background .25s}
.page-home .reel-expand span::before {content:""; width:0; height:0; border-left:9px solid currentColor; border-block:5px solid transparent; margin-left:3px}
.page-home .reel-expand:hover span {background:#ffffff18}
.page-home .reel-expand[hidden] {display:none}

/* The navigation belongs to the opening image, then becomes a paper header. */
.page-home.cinema-ready .site-header {background:transparent; color:#fff; border:0; transition:background .3s,color .3s}
.page-home.cinema-ready .site-header .brand img {width:132px; filter:brightness(0) invert(1); transition:filter .3s}
.page-home.cinema-ready .site-header .brand {position:relative}
.page-home.cinema-ready:not(.past-hero) .site-header .brand img {clip-path:inset(0 0 55% 0)}
.page-home.cinema-ready .site-header .brand::after {content:""; position:absolute; inset:0; background:url('../img/logo-wordmark-v2.png') center/contain no-repeat; clip-path:inset(46% 38% 0 11%); pointer-events:none}
.page-home.cinema-ready .site-header .gnav a {font-weight:500}
.page-home.cinema-ready .site-header .btn {color:#fff; background:transparent; border:1px solid #ffffff80; border-radius:0; padding:12px 22px}
.page-home.cinema-ready .site-header .burger span {background:currentColor}
.page-home.cinema-ready.past-hero .site-header,.nav-open .page-home.cinema-ready .site-header {background:rgba(255,255,255,.97); color:var(--ink); border-bottom:1px solid var(--line)}
.page-home.cinema-ready.past-hero .site-header .brand img,.nav-open .page-home.cinema-ready .site-header .brand img {filter:none}
.nav-open .page-home.cinema-ready:not(.past-hero) .site-header .brand img {clip-path:none}
.page-home.cinema-ready.past-hero .site-header .brand::after,.nav-open .page-home.cinema-ready .site-header .brand::after {display:none}
.page-home.cinema-ready.past-hero .site-header .btn,.nav-open .page-home.cinema-ready .site-header .btn {color:var(--ink); border-color:var(--ink)}
.page-home .hero-intro {display:flex; align-items:center; justify-content:space-between; gap:40px; padding-block:46px; border-bottom:1px solid var(--line)}
.page-home .hero-intro .hero-lead {font-size:15px; line-height:2; color:var(--ink); max-width:none; margin:0}
.page-home .hero-intro .hero-more {margin:0; flex-shrink:0}
.page-home .hero-intro .link {font-size:13px}
.page-home #about {padding-block:120px 115px}
.page-home .promise-head {font-size:clamp(48px,5vw,72px); font-weight:500}
.page-home > main > .frame {width:100%; max-width:none; margin:0}
.page-home > main > .frame img {width:100%; aspect-ratio:2.8/1; object-fit:cover}
.page-home > main > .frame figcaption {padding:16px var(--gutter) 0}

@media (prefers-reduced-motion:no-preference) {
  .page-home .hero-first {animation:cinema-arrive 1s cubic-bezier(.16,1,.3,1) .12s both}
  .page-home .hero-last {animation:cinema-arrive 1.2s cubic-bezier(.16,1,.3,1) .26s both}
  .page-home .hero-sub {animation:cinema-arrive 1.2s cubic-bezier(.16,1,.3,1) .4s both}
  @keyframes cinema-arrive {from {opacity:0;transform:translateY(22px)} to {opacity:1;transform:translateY(0)}}
}
@media (max-width:1180px) {
  .page-home .hero-inner {padding-top:88px; padding-bottom:110px}
  .page-home .hero-last {font-size:9.4vw}
}
@media (max-width:760px) {
  .page-home .hero {height:calc(100svh - 20px); min-height:600px; max-height:930px}
  .page-home .hero-inner {padding:90px var(--gutter) 130px; justify-content:center}
  .page-home .hero-first {font-size:clamp(27px,7.7vw,45px); letter-spacing:.015em; margin-bottom:12px}
  .page-home .hero-last {font-size:clamp(48px,13.3vw,82px); letter-spacing:-.045em; line-height:1.3}
  .page-home .hero-body {margin-top:25px}
  .page-home .hero-sub {font-size:14px; line-height:2.05; letter-spacing:.025em}
  .page-home .hero-sub br {display:block}
  .page-home .hero-video {object-position:center}
  .page-home .hero-film::after {background:linear-gradient(90deg,rgba(5,12,16,.34),rgba(5,12,16,.12)),linear-gradient(0deg,rgba(5,10,14,.62),rgba(5,10,14,.08) 40%,rgba(5,10,14,.15) 75%,rgba(5,10,14,.5))}
  .page-home .hero-tools {inset:auto var(--gutter) 24px; display:grid; grid-template-columns:1fr auto; gap:6px 12px; align-items:end}
  .page-home .reel-caption {grid-column:1/-1; font-size:9px; gap:12px}
  .page-home .reel-caption::before {width:24px}
  .page-home .reel-actions {grid-column:1/-1; width:100%; justify-content:space-between; gap:15px}
  .page-home .reel-control {font-size:10px}
  .page-home .reel-expand {font-size:11px; gap:12px}
  .page-home .reel-expand span {width:42px; height:42px}
  .page-home.cinema-ready .site-header .brand img {width:113px}
  .page-home .hero-intro {display:block; padding-block:30px}
  .page-home .hero-intro .hero-lead {font-size:13px; line-height:1.95}
  .page-home .hero-intro .hero-more {margin-top:24px}
  .page-home #about {padding-block:76px}
  .page-home .promise-head {font-size:43px}
  .page-home > main > .frame img {aspect-ratio:1.6/1; object-position:center}
  .page-home > main > .frame figcaption {font-size:9px; padding-top:12px}
}
@media (max-height:650px) and (min-width:761px) {
  .page-home .hero {min-height:540px}
  .page-home .hero-first {font-size:32px}
  .page-home .hero-last {font-size:80px}
  .page-home .hero-body {margin-top:16px}
}
