.cinematic-home {
  --cin-nav-height: 88px;
}

.cinematic-home > main {
  padding-top: var(--cin-nav-height);
}

.cinematicHero,
.cinematic-home #site-intro {
  scroll-margin-top: var(--cin-nav-height);
}

.cinematicHero {
  height: 650vh;
  height: 650svh;
  background: #fff;
}

.cinematicSticky {
  position: sticky;
  top: var(--cin-nav-height);
  height: calc(100vh - var(--cin-nav-height));
  height: calc(100svh - var(--cin-nav-height));
  overflow: hidden;
  isolation: isolate;
  background: #fff;
}

.cinScene {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  opacity: 0;
  pointer-events: none;
}

.cinScene img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: contain;
}

.cinLogo {
  opacity: 1;
}

.cinLogo img {
  position: relative;
  width: min(42vh, 40vw);
  height: min(42vh, 40vw);
  transform: scale(.72);
}

.logoLines {
  position: absolute;
  inset: 0;
}

.logoLines i {
  position: absolute;
  background: #111;
  opacity: 0;
}

.logoLines i:nth-child(-n+2) {
  top: 30%;
  width: 1px;
  height: 40%;
}

.logoLines i:nth-child(1) { left: 17%; }
.logoLines i:nth-child(2) { right: 17%; }

.logoLines i:nth-child(n+3) {
  top: 50%;
  width: 18%;
  height: 1px;
}

.logoLines i:nth-child(3) { left: 0; }
.logoLines i:nth-child(4) { right: 0; }

.cinPlan { background: #f4f2ed; }

.heroPhrase {
  position: absolute;
  left: 5vw;
  bottom: 4.5rem;
  font-family: Arial, sans-serif;
}

.heroPhrase {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .35em;
}


.cinProgress {
  position: absolute;
  right: 25px;
  top: 50%;
  display: grid;
  gap: 9px;
  transform: translateY(-50%);
}

.cinProgress i {
  width: 4px;
  height: 4px;
  border-radius: 8px;
  background: #888;
  box-shadow: 0 0 0 1px #fff;
}

.cinProgress .on { height: 30px; background: #111; }

.cinSkip {
  position: absolute;
  right: 5vw;
  bottom: 1rem;
  padding: .65rem .9rem;
  background: #fff;
  color: #171816;
  font-size: .875rem;
  border: 1px solid currentColor;
  text-decoration: none;
}

@media (max-width: 850px) {
  .cinematic-home {
    --cin-nav-height: 74px;
    overflow-x: clip;
  }

  .cinematicHero {
    height: 400vh;
    height: 400svh;
  }

  .cinLogo img {
    width: min(42svh, 62vw);
    height: min(42svh, 62vw);
  }

  .cinProgress { right: 12px; }
}

.cinematicHero:not(.cinReady) {
  height: auto;
}

.cinematicHero:not(.cinReady) .cinProgress {
  display: none;
}

@media (prefers-reduced-motion: reduce) {
  .cinematicHero.cinReady { height: auto; }
  .cinematicSticky { position: relative; top: auto; }
  .cinLogo { opacity: 1 !important; }
  .cinLogo img { transform: none !important; }
  .cinPlan, .cinProgress, .logoLines { display: none; }
}
