.magna {
  --magna-gutter: clamp(18px, 6.15vw, 44px);
  --magna-ivory: #faf6ef;
  position: relative;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  min-block-size: 100vh;
  min-block-size: 100dvh;
  overflow: clip;
  padding-block-start: max(clamp(20px, 3.8vh, 38px), calc(env(safe-area-inset-top, 0px) + 12px));
  padding-inline-start: max(var(--magna-gutter), env(safe-area-inset-left, 0px));
  padding-inline-end: max(var(--magna-gutter), env(safe-area-inset-right, 0px));
  padding-block-end: calc(clamp(12px, 2.1vh, 24px) + env(safe-area-inset-bottom, 0px));
  background: #100b09;
  color: var(--magna-ivory);
}

.magna-film,
.magna-film video,
.magna-film::after {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.magna-film {
  z-index: -1;
  pointer-events: none;
  background: #110d0b url("/media/poster.jpg") 57% 50% / cover no-repeat;
}

.magna-film video {
  display: block;
  object-fit: cover;
  object-position: 57% 50%;
  opacity: 0;
}

.magna-film video[data-has-frame] {
  opacity: 1;
}

.magna-film::after {
  content: "";
  background: linear-gradient(180deg,
    rgb(12 9 8 / 16%) 0%,
    rgb(12 9 8 / 0%) 21%,
    rgb(12 9 8 / 10%) 44%,
    rgb(12 9 8 / 37%) 58%,
    rgb(12 9 8 / 73%) 71%,
    rgb(12 9 8 / 95%) 86%,
    #0c0908 100%);
}

.magna-logo {
  display: block;
  width: clamp(81px, 23.6vw, 125px);
  height: auto;
}

.magna-content {
  margin-top: auto;
  padding-top: 24px;
}

.magna-copy {
  padding-inline: 2px;
  margin-bottom: clamp(24px, 6.8vh, 70px);
  text-align: center;
  text-shadow: 0 2px 14px rgb(12 9 8 / 70%);
}

.magna-copy h1 {
  margin: 0 0 clamp(14px, 2.8vh, 24px);
  font-family: var(--serif);
  font-size: clamp(26px, 10.15vw, 50px);
  font-weight: 600;
  line-height: 1.03;
  letter-spacing: -.012em;
  text-wrap: balance;
}

.magna-copy p {
  margin: 0;
  color: #f5eee5;
  font-size: clamp(12px, 3.52vw, 16px);
  font-weight: 450;
  line-height: 1.73;
}

.magna-actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(6px, 1.15vh, 12px);
}

.magna-primary {
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: 100%;
  gap: clamp(8px, 3.55vw, 17px);
}

.magna-actions button {
  font-family: var(--sans);
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

.magna-catering {
  min-block-size: 52px;
  border: 1px solid var(--magna-ivory);
  border-radius: 999px;
  padding: .65rem clamp(16px, 6.75vw, 30px);
  background: var(--magna-ivory);
  color: #211911;
  font-size: clamp(12px, 3.18vw, 15px);
  font-weight: 700;
  line-height: 1.3;
}

.magna-play {
  display: grid;
  place-items: center;
  flex: none;
  inline-size: 50px;
  block-size: 50px;
  padding: 0;
  border: 1px solid #665246;
  border-radius: 50%;
  background: #26211e;
  color: var(--magna-ivory);
}

.magna-play .icon {
  inline-size: 16px;
  block-size: 16px;
}

.magna-meals {
  display: inline-flex;
  min-block-size: 44px;
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding: 0 14px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--magna-ivory);
  font-size: clamp(11px, 2.86vw, 14px);
  font-weight: 600;
}

.magna-meals .icon {
  inline-size: 10px;
  block-size: 10px;
}

.magna-catering:active { background: #e8ded1; }
.magna-play:active { background: #352b25; }
.magna-meals:active { text-decoration: underline; text-underline-offset: .24em; }
.expanded-film .film-control:focus-visible { outline-offset: -3px; }

@media (hover: hover) {
  .magna-catering:hover { background: #e8ded1; }
  .magna-play:hover { background: #352b25; }
  .magna-meals:hover { text-decoration: underline; text-underline-offset: .24em; }
}

@media (max-width: 340px) {
  .magna-line-break { display: none; }
}

@media (max-height: 530px) {
  .magna-copy { margin-bottom: 20px; }
  .magna-copy h1 { margin-bottom: 12px; }
}
