.landing[data-creative] {
  --background: var(--creative-bg);
  --guide-seam: var(--creative-bg);
  --content-shade: linear-gradient(var(--shade-angle),
    var(--background) 0%, color-mix(in srgb, var(--background) 89%, transparent) 25%,
    color-mix(in srgb, var(--background) 48%, transparent) 54%, transparent 81%);
  --edge-shade: linear-gradient(0deg, var(--background), transparent 28%);
  background: var(--background);
}
.landing[data-creative][data-custom-background] { --background: var(--custom-bg); }
.landing[data-creative][data-align="center"] {
  --content-shade: linear-gradient(0deg, var(--background) 4%, color-mix(in srgb, var(--background) 62%, transparent) 42%, transparent 100%);
}
.landing[data-creative] .landing-art { --photo-default: 68% 42%; }
.landing[data-creative][data-cover="custom"] .landing-art { --photo-default: center; }
.landing[data-video-creative] .landing-art { --photo-default: 67% 50%; }
.landing-film { opacity: 0; transition: opacity 700ms cubic-bezier(.22,.63,.25,1); }
.landing-film[data-visible] { opacity: 1; }
.landing-film-control {
  position: absolute;
  z-index: 2;
  inset-block-start: clamp(18px, 4vh, 39px);
  inset-inline-end: clamp(16px, 4vw, 56px);
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid #f3f0e65c;
  border-radius: 9px;
  background: #11171dd9;
  color: #f8f6ec;
  cursor: pointer;
  box-shadow: 0 5px 13px #0004;
}
.landing-film-control:hover { background: #26343d; }
.landing-film-control:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
.landing-film-control svg { width: 21px; height: 21px; }
.landing-film-control:not([data-playing]) .film-pause, .landing-film-control[data-playing] .film-play { display: none; }
@media (prefers-reduced-motion: reduce) { .landing-film { transition: none; } }
.landing[data-creative] .landing-eyebrow {
  padding-inline-start: 9px;
  border-color: color-mix(in srgb, var(--accent) 32%, transparent);
  color: color-mix(in srgb, var(--accent) 80%, white);
  background: color-mix(in srgb, var(--background) 77%, transparent);
}
.landing[data-creative] .landing-headline {
  text-wrap: balance;
  text-shadow: 0 .14em .58em #0006;
}
.landing[data-creative-type="serif"] .landing-headline {
  --type-size: clamp(2.9rem, 7.2vw, 7.7rem);
  font-family: "Baskervville", Georgia, serif;
  font-weight: 650;
  line-height: .94;
  letter-spacing: -.047em;
}
.landing[data-creative-type="wide"] .landing-headline {
  --type-size: clamp(2.75rem, 6.8vw, 7.2rem);
  font-family: "Inter", system-ui, sans-serif;
  font-weight: 830;
  line-height: .9;
  letter-spacing: -.075em;
}
.landing-page[data-creative] .guide:not([data-custom-background]) {
  --guide-bg: var(--creative-bg);
  --guide-card: color-mix(in srgb, var(--creative-bg) 91%, white);
  --guide-line: color-mix(in srgb, var(--creative-bg) 70%, var(--accent));
  --guide-mark: var(--accent);
}

.landing[data-cover-mode="background"][data-layout="split"] {
  --split-edge: 46%;
  background: radial-gradient(ellipse at 19% 70%, color-mix(in srgb, var(--background) 87%, var(--accent)), transparent 72%), var(--background);
}
.landing[data-cover-mode="background"][data-layout="split"] .landing-media {
  inset-inline-start: var(--split-edge);
}
.landing[data-cover-mode="background"][data-layout="split"] .landing-shade {
  inset-inline-start: calc(var(--split-edge) - 3%);
  background: linear-gradient(var(--shade-angle), var(--background), transparent 30%), linear-gradient(0deg, var(--background), transparent 36%);
}
.landing[data-cover-mode="background"][data-layout="split"] .landing-content { width: min(52%, var(--content-width, 690px)); }
.landing[data-cover-mode="background"][data-layout="split"] .landing-headline { --type-size: clamp(2.35rem, 6vw, 6.5rem); }
.landing[data-cover-mode="background"][data-layout="split"][data-align="end"] :is(.landing-media, .landing-shade) {
  inset-inline-start: 0;
  inset-inline-end: var(--split-edge);
}
.landing[data-cover-mode="background"][data-layout="split"][data-align="center"] .landing-content { width: min(83%, var(--content-width, 620px)); }
.landing[data-cover-mode="background"][data-layout="split"][data-align="center"] :is(.landing-media, .landing-shade) { inset-inline: 0; }
.landing[data-cover-mode="background"][data-layout="split"][data-align="center"] .landing-shade {
  background: linear-gradient(90deg, var(--background), color-mix(in srgb, var(--background) 43%, transparent)),
    linear-gradient(0deg, color-mix(in srgb, var(--background) 84%, transparent), transparent 55%);
}

.landing[data-cover-mode="background"][data-layout="poster"][data-vertical=""] { align-content: end; }
.landing[data-cover-mode="background"][data-layout="poster"]:not([data-align="start"], [data-align="end"]) {
  justify-items: center;
  text-align: center;
}
.landing[data-cover-mode="background"][data-layout="poster"]:not([data-align="start"], [data-align="end"]) :is(.landing-eyebrow, .landing-description) { margin-inline: auto; }
.landing[data-cover-mode="background"][data-layout="poster"]:not([data-align="start"], [data-align="end"]) .landing-actions { justify-content: center; }
.landing[data-cover-mode="background"][data-layout="poster"] .landing-shade {
  background: linear-gradient(0deg, var(--background) 5%, color-mix(in srgb, var(--background) 83%, transparent) 33%,
    color-mix(in srgb, var(--background) 42%, transparent) 56%, transparent 83%), linear-gradient(180deg, #0006, transparent 24%);
}
.landing[data-cover-mode="background"][data-layout="poster"] .landing-headline { --type-size: clamp(2.75rem, 8.6vw, 8rem); }
.landing[data-cover-mode="background"][data-layout="poster"]:not([data-align="start"], [data-align="end"]) .landing-brand { inset-inline: 0; margin-inline: auto; }
.landing[data-cover-mode="background"][data-layout="poster"] .landing-art { --photo-default: 69% 28%; }

.landing[data-cover-mode="background"][data-layout="frame"] {
  --frame-gutter: clamp(11px, 2.65vw, 44px);
  --frame-radius: clamp(12px, 2.6vw, 31px);
  background: radial-gradient(ellipse at 80% 9%, color-mix(in srgb, var(--background) 84%, var(--accent)), transparent 66%), var(--background);
}
.landing[data-cover-mode="background"][data-layout="frame"] :is(.landing-media, .landing-shade) {
  inset: var(--frame-gutter);
  border-radius: var(--frame-radius);
  overflow: hidden;
}
.landing[data-cover-mode="background"][data-layout="frame"] .landing-shade {
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--accent) 24%, transparent);
}
.landing[data-cover-mode="background"][data-layout="frame"] .landing-brand { inset-block-start: calc(var(--frame-gutter) + 19px); }

@media (max-width: 630px) {
  .landing[data-video-creative][data-cover-mode="background"][data-layout=""] {
    align-content: start;
    padding-block-start: max(244px, 45svh);
    --content-shade: linear-gradient(0deg, var(--background) 5%, var(--background) 29%,
      color-mix(in srgb, var(--background) 78%, transparent) 48%, transparent 72%), linear-gradient(180deg, #080b1060, transparent 25%);
  }
  .landing[data-video-creative][data-cover-mode="background"][data-layout=""] .landing-media { inset-block-end: auto; height: max(305px, 68svh); }
  .landing[data-video-creative="slots"] .landing-art { --photo-default: 85% 50%; }
  .landing[data-cover-mode="background"][data-layout="split"] {
    padding-block-start: max(235px, 44svh);
  }
  .landing[data-cover-mode="background"][data-layout="split"] :is(.landing-media, .landing-shade),
  .landing[data-cover-mode="background"][data-layout="split"][data-align="end"] :is(.landing-media, .landing-shade) { inset-inline: 0; }
  .landing[data-cover-mode="background"][data-layout="split"] .landing-media { inset-block-end: auto; height: max(300px, 64svh); }
  .landing[data-cover-mode="background"][data-layout="split"] .landing-shade,
  .landing[data-cover-mode="background"][data-layout="split"][data-align="center"] .landing-shade {
    background: linear-gradient(0deg, var(--background) 11%, color-mix(in srgb, var(--background) 88%, transparent) 47%, transparent 77%),
      linear-gradient(180deg, #0006, transparent 18%);
  }
  .landing[data-cover-mode="background"][data-layout="split"] .landing-content,
  .landing[data-cover-mode="background"][data-layout="split"][data-align="center"] .landing-content { width: 100%; }
  .landing[data-cover-mode="background"]:is([data-layout="split"], [data-layout="poster"]) .landing-headline {
    --type-size: clamp(2.5rem, 11.4vw, 4.75rem);
  }
  .landing[data-cover-mode="background"][data-layout="frame"] .landing-shade { --edge-shade: linear-gradient(0deg, var(--background), transparent 36%); }
}

.landing-light-pass {
  display: none;
  position: absolute;
  z-index: -1;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}
.landing.motion-enter:is([data-intro="spotlight"], [data-intro="impact"], [data-intro="prism"]):not([data-cover-mode="banner"]) .landing-light-pass {
  display: block;
}
.landing-light-pass::before {
  content: "";
  position: absolute;
  inset: -18% -28%;
  background: linear-gradient(117deg, transparent 34%, color-mix(in srgb, var(--accent) 48%, transparent) 52%, transparent 67%);
  mask-image: radial-gradient(ellipse at 62% 43%, black 10%, transparent 69%);
  mix-blend-mode: screen;
  animation: scene-light 1660ms cubic-bezier(.17,.75,.22,1) 20ms both;
}
.landing.motion-enter:is([data-intro="spotlight"], [data-intro="impact"], [data-intro="prism"]) {
  --scene-ease: cubic-bezier(.19,.82,.22,1);
  --scene-intro: scene-spotlight;
  --scene-title: scene-lettering;
}
.landing.motion-enter[data-intro="impact"] { --scene-intro: scene-impact; --scene-title: scene-kinetic; }
.landing.motion-enter[data-intro="prism"] { --scene-intro: scene-prism; --scene-title: scene-kinetic; }
.landing.motion-enter:is([data-intro="spotlight"], [data-intro="impact"], [data-intro="prism"]) .landing-media {
  animation: var(--scene-intro) 1240ms var(--scene-ease) backwards;
}
.landing.motion-enter:is([data-intro="spotlight"], [data-intro="impact"], [data-intro="prism"]) .landing-media::after {
  content: none;
}
.landing.motion-enter:is([data-intro="spotlight"], [data-intro="impact"], [data-intro="prism"])[data-image-motion="light"] .landing-media::after {
  content: "";
}
.landing.motion-enter:is([data-intro="spotlight"], [data-intro="impact"], [data-intro="prism"]) .landing-title-line {
  animation: var(--scene-title) 1040ms var(--scene-ease) calc(170ms + var(--line-delay, 0ms)) backwards;
}
.landing.motion-enter:is([data-intro="spotlight"], [data-intro="impact"], [data-intro="prism"]) .landing-description { animation-delay: 290ms; }
.landing.motion-enter:is([data-intro="spotlight"], [data-intro="impact"], [data-intro="prism"]) .landing-actions { animation-delay: 365ms; }
.landing[data-cover-mode="banner"] { --scene-scale: .97; }
[dir="rtl"] .landing { --scene-direction: -1; }

@keyframes scene-spotlight {
  from { opacity: .32; clip-path: inset(7% 14% 12% round 40px); transform: scale(var(--scene-scale, 1.072)); }
  52% { opacity: .89; }
  to { opacity: 1; clip-path: inset(0 round 0); transform: scale(1); }
}
@keyframes scene-impact {
  from { opacity: .47; clip-path: polygon(14% 0,100% 0,100% 100%,33% 100%); transform: scale(var(--scene-scale, 1.09)); }
  to { opacity: 1; clip-path: polygon(0 0,100% 0,100% 100%,0 100%); transform: scale(1); }
}
@keyframes scene-prism {
  from { opacity: .36; clip-path: polygon(32% 0,100% 0,100% 80%,6% 100%); transform: scale(var(--scene-scale, 1.055)); }
  to { opacity: 1; clip-path: polygon(0 0,100% 0,100% 100%,0 100%); transform: scale(1); }
}
@keyframes scene-lettering {
  from { opacity: 0; transform: translateY(.36em); clip-path: inset(-.16em -.25em 85%); }
  to { opacity: 1; transform: none; clip-path: inset(-.26em -.25em -.35em); }
}
@keyframes scene-kinetic {
  from { opacity: 0; transform: translate(calc(.27em * var(--scene-direction, 1)), .19em) skewX(-5deg); clip-path: inset(-.15em 0 44%); }
  to { opacity: 1; transform: none; clip-path: inset(-.26em -.25em -.35em); }
}
@keyframes scene-light {
  0% { opacity: 0; transform: translateX(-27%); }
  31% { opacity: .28; }
  69% { opacity: .14; }
  100% { opacity: 0; transform: translateX(21%); }
}

.landing.motion-ready[data-scroll-motion="cinemascope"] {
  --photo-scroll-y: calc(var(--scroll-photo) * .26);
  --text-scroll-y: calc(var(--scroll-copy) * -1.4);
}
.landing.motion-ready[data-scroll-motion="cinemascope"] .landing-media picture {
  scale: calc(1 - var(--scroll-progress) * .114);
  opacity: calc(1 - var(--scroll-progress) * .48);
  border-radius: calc(var(--scroll-progress) * 37px);
  overflow: hidden;
}
.landing.motion-ready[data-scroll-motion="cinemascope"][data-guide="on"] .landing-shade::after {
  height: 55%;
  opacity: calc(.15 + var(--scroll-progress) * .83);
}
.landing[data-guide-motion="portal"] { --departure-animation: guide-depart-portal; }
.guide[data-guide-motion="portal"] {
  --shell-arrival: guide-shell-portal;
  --screen-arrival: guide-screen-portal;
  --screen-time: 810ms;
  --arrival-time: 975ms;
}
@keyframes guide-depart-portal {
  0%, 100% { opacity: 1; clip-path: inset(0 round 0); }
  63% { opacity: .64; clip-path: inset(3% 3% 4% round 28px); }
}
@keyframes guide-shell-portal {
  from { opacity: .52; transform: translateY(28px) scale(.975); }
  to { opacity: 1; transform: none; }
}
@keyframes guide-screen-portal {
  from { opacity: .37; clip-path: inset(13% 8% 13% round 28px); transform: scale(.952); }
  to { opacity: 1; clip-path: inset(0 round 0); transform: scale(1); }
}

@media (max-width: 630px) {
  .landing[data-creative] {
    --content-shade: linear-gradient(0deg, var(--background) 0%,
      color-mix(in srgb, var(--background) 95%, transparent) 27%,
      color-mix(in srgb, var(--background) 68%, transparent) 49%, transparent 75%);
    --edge-shade: linear-gradient(180deg, #0007, transparent 25%);
  }
  .landing[data-creative-type="serif"] .landing-headline { --type-size: clamp(2.6rem, 10.8vw, 4.45rem); }
  .landing[data-creative-type="wide"] .landing-headline { --type-size: clamp(2.6rem, 10.3vw, 4.45rem); }
}
@media (prefers-reduced-motion: reduce) {
  .landing-light-pass, .landing.motion-enter .landing-light-pass { display: none; }
}
