/* The film reaches all four edges, including the area behind the navigation. */
body:has(#studio-cover:not([hidden])) .topbar {
  position: absolute;
  inset: 0 0 auto;
  z-index: 3;
  color: #fcfbf5;
  background: linear-gradient(180deg, rgb(3 30 40 / .7), transparent);
  border: 0;
}
body:has(#studio-cover:not([hidden])) .header-inner nav .motion-setting {
  background: rgb(4 31 42 / .34);
  border-color: rgb(251 249 241 / .54);
  white-space: nowrap;
}
.film-stage {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: #073a4d url("./assets/studio/odyssee-opening.webp") 50% 50% / cover no-repeat;
}
.hero-film,
.film-stage::after {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}
.hero-film {
  z-index: -2;
  display: block;
  object-fit: cover;
  object-position: 50% 50%;
}
.film-stage::after {
  content: "";
  z-index: -1;
  background: radial-gradient(ellipse 68% 75% at 90% 100%, rgb(3 29 40 / .80) 0%, rgb(3 29 40 / .61) 49%, transparent 100%),
              linear-gradient(90deg, rgb(3 29 39 / .68), rgb(5 34 46 / .32) 37%, transparent 70%),
              linear-gradient(0deg, rgb(5 35 47 / .26), transparent 35%);
}
.film-layout {
  width: 100%;
  min-height: 100vh;
  min-height: 100svh;
  max-width: 112rem;
  margin-inline: auto;
  padding: clamp(6rem, 12vh, 9rem) clamp(1.5rem, 5.5vw, 7rem) clamp(1.6rem, 5vh, 4rem);
  display: grid;
  grid-template-columns: minmax(0,1fr) minmax(20rem,34rem);
  gap: clamp(1.5rem,5vw,6rem);
}
.film-heading { align-self: center; color: #fbfaf4; }
.film-heading .studio-signature {
  margin-bottom: clamp(1rem, 2.3vw, 2.2rem);
  font-size: clamp(.94rem, 1.3vw, 1.25rem);
  color: inherit;
}
.film-heading h1 {
  font: 500 clamp(5.1rem, 9.1vw, 10.5rem)/.84 var(--serif);
  letter-spacing: -.063em;
  color: inherit;
  text-shadow: 0 .02em .18em rgb(2 27 36 / .18);
  outline: none;
}
.film-heading h1 em { display: block; font-weight: inherit; }
.start-card {
  width: 100%;
  align-self: end;
  justify-self: end;
  padding: clamp(1.35rem, 2.35vw, 2.45rem);
  color: #fcfbf6;
  background: transparent;
  text-shadow: 0 1px 3px rgb(3 28 38 / .95), 0 2px 12px rgb(3 28 38 / .55);
}
.start-card h2 {
  margin: 0;
  font: 500 clamp(2rem, 3.05vw, 3.35rem)/1.01 var(--serif);
  letter-spacing: -.055em;
  color: inherit;
  text-wrap: balance;
}
.start-card > p {
  margin: .78rem 0 0;
  font-size: clamp(1rem, 1.4vw, 1.4rem);
  line-height: 1.45;
}
.start-card .cover-button {
  margin: clamp(1.12rem, 2vw, 2rem) 0 0;
  min-height: 3.45rem;
  padding: .9rem 1rem;
  border-radius: .45rem;
  color: #ffffff;
  text-shadow: none;
  background: #073b4f;
  border-color: #073b4f;
  font-size: clamp(1.05rem, 1.3vw, 1.28rem);
}
.start-card .cover-button:is(:hover,:focus-visible) { background: #062e3d; }
.start-card .cover-button:focus-visible { outline: 3px solid #fcfaf4; outline-offset: 4px; }
.start-card .card-disclaimer {
  color: inherit;
  font-size: clamp(.92rem, 1.11vw, 1.15rem);
  line-height: 1.45;
  margin-top: clamp(.98rem, 1.7vw, 1.5rem);
}
.film-play {
  color: #fcfbf5;
  background: #062d3ccc;
  border: 1px solid #eaede399;
  border-radius: 2rem;
  padding: .6rem 1.2rem;
  margin-top: 1.2rem;
}
@media (max-width: 760px) {
  .film-stage { background-position: 42% 40%; }
  .hero-film { object-position: 42% 40%; }
  .film-stage::after {
    background: linear-gradient(0deg, rgb(3 29 39 / .84), rgb(3 29 39 / .64) 32%, transparent 68%),
                linear-gradient(95deg, rgb(4 30 41 / .58), transparent 83%),
                linear-gradient(0deg, rgb(3 28 38 / .26), transparent 45%);
  }
  .film-layout {
    grid-template-columns: minmax(0,1fr);
    grid-template-rows: minmax(8rem,1fr) auto;
    padding: 5.2rem max(1rem, 5vw) max(1rem, env(safe-area-inset-bottom));
    gap: 1.4rem;
  }
  .film-heading .studio-signature { font-size: .9rem; margin-bottom: .8rem; }
  .film-heading h1 { font-size: clamp(3.35rem, 12.3vw, 5.3rem); }
  .film-heading h1 em { display: inline; }
  .start-card { max-width: 29rem; padding: clamp(1.1rem, 4.6vw, 1.65rem); }
  .start-card h2 { font-size: clamp(1.9rem, 6.7vw, 2.75rem); }
  .start-card > p { margin-top: .58rem; }
  .start-card .cover-button { min-height: 3rem; margin-top: .95rem; }
  .start-card .card-disclaimer { margin-top: .8rem; }
}
@media (min-width: 761px) and (max-height: 550px) {
  .film-layout { padding-block: 4.9rem 1.1rem; }
}

