/* A mobile scroll scene. The default is a complete, still composition. */
.brand-dive { display: none; }

@media (max-width: 760px) {
  .brand-dive {
    --shark-x: .18;
    --shark-y: -.16;
    --shark-rotation: -12deg;
    --shark-scale: .9;
    --shark-opacity: 1;
    --shark-clip: polygon(0 0, 100% 0, 100% 100%, 0 100%);
    --phone-x: 10deg;
    --phone-y: -10deg;
    --phone-z: -9deg;
    --portal-opacity: 0;
    --ripple-one-opacity: 0;
    --ripple-two-opacity: 0;
    --ripple-one-scale: .75;
    --ripple-two-scale: .75;
    --dive-progress: 0;
    display: block;
    position: relative;
    margin: -20px calc(-1 * var(--pad)) 52px;
    background: radial-gradient(ellipse at 50% 45%, #26113a55, transparent 65%), var(--bg);
  }
  .brand-dive-sticky {
    padding: 24px var(--pad) 22px;
    display: flex;
    flex-direction: column;
  }
  .brand-dive-title {
    margin: 0;
    text-align: center;
    flex: 0 0 auto;
    position: relative;
    z-index: 2;
    line-height: 1.2;
    letter-spacing: -.04em;
  }
  .brand-dive-title span {
    display: block;
    font-size: clamp(1.25rem, 5.4vw, 1.8rem);
    font-weight: 500;
    letter-spacing: -.025em;
    color: #f7f5fc;
    margin-bottom: 5px;
  }
  .brand-dive-title strong {
    display: block;
    font-size: clamp(2.35rem, 11.2vw, 4.2rem);
    font-weight: 900;
    color: #c2a0ff;
    background: linear-gradient(115deg, #eee2ff 5%, #be8eff 42%, #9541ed 95%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
  }
  .brand-dive-stage {
    position: relative;
    height: min(125vw, 540px);
    margin: 0 calc(-1 * var(--pad));
    overflow: clip;
    perspective: 900px;
    isolation: isolate;
    container-type: size;
  }
  .brand-dive-halo {
    position: absolute;
    width: 110%;
    height: 100%;
    left: -5%;
    top: 0;
    background: radial-gradient(ellipse at 50% 55%, #8c37ed26, #8c37ed09 42%, transparent 67%);
    pointer-events: none;
  }
  .brand-dive-composition {
    position: absolute;
    width: min(47vw, 24svh, 214px);
    aspect-ratio: 716 / 1546;
    left: 50%;
    top: 52%;
    transform: translate(-50%, -50%) rotateX(var(--phone-x)) rotateY(var(--phone-y)) rotateZ(var(--phone-z));
    transform-origin: 50% 58%;
  }
  @supports (width: 1cqh) {
    .brand-dive-composition { width: min(47vw, 42cqh, 214px); }
  }
  .brand-dive-phone {
    position: absolute;
    inset: 0;
    border: 1px solid #a19ba7;
    padding: 5px;
    border-radius: 15% / 7%;
    background: linear-gradient(115deg, #ada7b5, #332c3e 13%, #15121d 58%, #77707f);
    box-shadow: 7px 9px 0 #08070d, 9px 10px 0 1px #4f455c, 20px 26px 32px #000a;
  }
  .brand-dive-screen {
    width: 100%;
    height: 100%;
    position: relative;
    overflow: hidden;
    border-radius: 13% / 6%;
    background: #343438;
  }
  .brand-dive-call { display: block; width: 100%; height: 100%; object-fit: cover; }
  .brand-dive-island {
    position: absolute;
    top: 2.1%;
    left: 37%;
    width: 26%;
    height: 3.3%;
    border-radius: 999px;
    background: #08070b;
  }
  .brand-dive-screen-light {
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 50% 58%, #12091df2 0%, #432178b0 24%, #a066f524 48%, transparent 69%);
    opacity: var(--portal-opacity);
  }
  .brand-dive-shark-anchor {
    position: absolute;
    width: 100%;
    aspect-ratio: 1;
    left: 50%;
    top: 58%;
    z-index: 3;
    pointer-events: none;
    transform-origin: 0 0;
    transform: translate3d(calc(var(--shark-x) * 100%), calc(var(--shark-y) * 100%), 0) rotate(var(--shark-rotation)) scale(var(--shark-scale));
    opacity: var(--shark-opacity);
  }
  .brand-dive-shark {
    position: absolute;
    display: block;
    width: 112%;
    height: auto;
    max-width: none;
    left: -100.8%;
    top: -143.64%;
    clip-path: var(--shark-clip);
    filter: drop-shadow(8px 14px 8px #05030988);
  }
  .brand-dive-portal, .brand-dive-ripple {
    position: absolute;
    left: 50%;
    top: 58%;
    width: 78%;
    height: 15%;
    border-radius: 50%;
    pointer-events: none;
  }
  .brand-dive-portal {
    z-index: 2;
    transform: translate(-50%, -50%) rotate(-26deg);
    background: radial-gradient(ellipse, #08020fe6 35%, #44197de6 61%, #c19aff 72%, transparent 78%);
    box-shadow: 0 0 22px #9a56ec66;
    opacity: var(--portal-opacity);
  }
  .brand-dive-portal i {
    position: absolute;
    inset: 0;
    border-radius: inherit;
    border: 1px solid #c9a0ff;
  }
  .brand-dive-portal i + i { inset: -7px; border-color: #aa6cec55; }
  .brand-dive-ripple { z-index: 4; border: 1px solid #d4b4ff; box-shadow: 0 0 12px #b370ff44, inset 0 0 10px #b370ff33; }
  .brand-dive-ripple-one { opacity: var(--ripple-one-opacity); transform: translate(-50%, -50%) rotate(-26deg) scale(var(--ripple-one-scale)); }
  .brand-dive-ripple-two { opacity: var(--ripple-two-opacity); transform: translate(-50%, -50%) rotate(-26deg) scale(var(--ripple-two-scale)); }
  .brand-dive-footer { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 4px 16px; min-height: 44px; padding-top: 8px; flex: 0 0 auto; }
  .brand-dive-cue { font-size: .875rem; color: #b1a5bf; }
  .brand-dive-cue-scroll { display: none; }
  .brand-dive-skip { display: inline-flex; align-items: center; gap: 7px; min-height: 44px; font-size: .875rem; color: #dec8ff; text-decoration: none; white-space: nowrap; }
  .brand-dive-skip .icon { width: 19px; height: 19px; }
  .brand-dive-skip:focus-visible { outline: 2px solid #d5b5ff; outline-offset: 4px; }
  .brand-dive-meter { display: inline-flex; width: 44px; height: 2px; overflow: hidden; background: #65537166; vertical-align: middle; margin-inline-start: 8px; }
  .brand-dive-meter i { width: 100%; height: 100%; background: #c2a0ff; transform: scaleX(var(--dive-progress)); transform-origin: right; }
  .brand-dive.is-scrubbing { height: 190svh; }
  .brand-dive.is-scrubbing .brand-dive-sticky { position: sticky; top: 12px; height: calc(100svh - 110px); max-height: 760px; }
  .brand-dive.is-scrubbing .brand-dive-stage { flex: 1 1 0; height: auto; min-height: 0; }
  .brand-dive.is-scrubbing .brand-dive-cue-static { display: none; }
  .brand-dive.is-scrubbing .brand-dive-cue-scroll { display: inline; }
  .brand-dive.is-scrubbing .brand-dive-composition,
  .brand-dive.is-scrubbing .brand-dive-shark-anchor { will-change: transform; }
  .a11y-high-contrast .brand-dive-title strong { background: none; -webkit-text-fill-color: currentColor; }
  .a11y-large-text .brand-dive-title strong { overflow-wrap: anywhere; }
}

/* Both the operating system preference and the site's own motion control win. */
@media (max-width: 760px) and (prefers-reduced-motion: reduce), (max-width: 760px) and (max-height: 620px) {
  .brand-dive.is-scrubbing { height: auto; }
  .brand-dive.is-scrubbing .brand-dive-sticky { position: relative; top: auto; height: auto; max-height: none; }
  .brand-dive.is-scrubbing .brand-dive-stage { height: min(125vw, 540px); flex: none; }
}
@media (max-width: 760px) {
  .motion-reduced .brand-dive { height: auto; }
  .motion-reduced .brand-dive-sticky { position: relative; top: auto; height: auto; max-height: none; }
  .motion-reduced .brand-dive-stage { height: min(125vw, 540px); flex: none; }
}
@media print { .brand-dive { display: none !important; } }
