.welcome-scene {
  min-height: 320vh;
  position: relative;
  isolation: isolate;
  width: 100%;
  background:
    radial-gradient(circle at 50% 18%, rgba(56, 102, 180, 0.2), transparent 32%),
    linear-gradient(180deg, #05070d 0%, #04060a 100%);
  color: #f4efe4;
  --scene-progress: 0;
  --world-scale: 1;
  --world-shift-y: 0px;
  --world-opacity: 1;
  --world-shade: 0.28;
  --overlay-shift-y: 0px;
  --overlay-scale: 1;
  --overlay-opacity: 0.68;
  --phone-shift-x: 0px;
  --phone-shift-y: 0px;
  --phone-scale: 0.9;
  --phone-tilt: -9deg;
  --phone-opacity: 0.78;
  --phone-glow: 0.22;
  --ui-opacity: 1;
  --ui-shift-y: 0px;
  --ui-scale: 1;
  --intro-opacity: 1;
  --intro-top-y: 0px;
  --intro-left-x: 0px;
  --intro-right-x: 0px;
  --hero-opacity: 0;
  --hero-y: 28px;
  --hero-scale: 0.96;
}

.welcome-scene * {
  box-sizing: border-box;
}

.welcome-scene__scroll {
  min-height: inherit;
}

.scene-root {
  position: sticky;
  top: 0;
  width: 100%;
  height: 100vh;
  height: 100svh;
  height: 100dvh;
  min-height: var(--scene-vh, 100vh);
  overflow: clip;
  background:
    radial-gradient(circle at 50% 10%, rgba(66, 110, 196, 0.08), transparent 38%),
    linear-gradient(180deg, rgba(5, 7, 13, 0.18), rgba(5, 7, 13, 0.9));
}

.scene-layer {
  position: absolute;
  inset: 0;
  will-change: transform, opacity;
}

.scene-world {
  transform: translate3d(0, var(--world-shift-y), 0) scale(var(--world-scale));
  transform-origin: 50% 50%;
  opacity: var(--world-opacity);
}

.scene-world__wash,
.scene-world__wall,
.scene-world__cross,
.scene-world__ground,
.scene-world__dumpster,
.scene-world__subject,
.scene-world__fog,
.scene-world__light {
  position: absolute;
}

.scene-world__wash {
  inset: 0;
  background:
    radial-gradient(circle at 52% 34%, rgba(87, 142, 228, 0.26), transparent 30%),
    linear-gradient(180deg, rgba(8, 12, 21, 0.34), rgba(3, 6, 12, 0.92));
}

.scene-world__wall {
  top: 0;
  bottom: 0;
  width: 44vw;
  background:
    linear-gradient(180deg, rgba(18, 26, 40, 0.84), rgba(7, 11, 20, 0.98)),
    repeating-linear-gradient(
      180deg,
      rgba(255, 255, 255, 0.04) 0,
      rgba(255, 255, 255, 0.04) 2px,
      transparent 2px,
      transparent 32px
    ),
    repeating-linear-gradient(
      90deg,
      rgba(255, 255, 255, 0.03) 0,
      rgba(255, 255, 255, 0.03) 2px,
      transparent 2px,
      transparent 42px
    );
  box-shadow: inset 0 0 120px rgba(0, 0, 0, 0.5);
}

.scene-world__wall--left {
  left: -10vw;
  transform: skewY(-8deg);
  transform-origin: bottom left;
}

.scene-world__wall--right {
  right: -10vw;
  transform: skewY(8deg);
  transform-origin: bottom right;
}

.scene-world__cross {
  left: 18vw;
  right: 18vw;
  top: 18vh;
  height: 16vh;
  background:
    linear-gradient(180deg, rgba(21, 34, 54, 0.86), rgba(10, 15, 25, 0.92)),
    repeating-linear-gradient(
      90deg,
      rgba(255, 255, 255, 0.025) 0,
      rgba(255, 255, 255, 0.025) 2px,
      transparent 2px,
      transparent 54px
    );
  border-bottom: 1px solid rgba(132, 186, 255, 0.16);
  box-shadow: 0 24px 60px rgba(2, 5, 10, 0.35);
}

.scene-world__ground {
  inset: 34vh 0 0;
  background:
    linear-gradient(180deg, rgba(15, 20, 30, 0) 0%, rgba(5, 8, 14, 0.3) 12%, rgba(3, 5, 10, 0.96) 100%),
    linear-gradient(90deg, transparent 0%, rgba(95, 152, 234, 0.16) 50%, transparent 100%);
  clip-path: polygon(18% 0, 82% 0, 100% 100%, 0 100%);
}

.scene-world__ground::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(177, 213, 255, 0.12), transparent 12%),
    repeating-linear-gradient(
      180deg,
      rgba(255, 255, 255, 0.035) 0,
      rgba(255, 255, 255, 0.035) 2px,
      transparent 2px,
      transparent 34px
    );
  opacity: 0.58;
}

.scene-world__dumpster {
  left: 17vw;
  bottom: 18vh;
  width: 13vw;
  min-width: 130px;
  max-width: 180px;
  height: 14vh;
  min-height: 86px;
  background:
    linear-gradient(180deg, rgba(36, 67, 86, 0.9), rgba(18, 35, 48, 0.98));
  border: 1px solid rgba(159, 217, 255, 0.12);
  border-radius: 10px 10px 20px 20px;
  box-shadow: 0 20px 30px rgba(0, 0, 0, 0.3);
}

.scene-world__dumpster::before,
.scene-world__dumpster::after {
  content: "";
  position: absolute;
  background: rgba(8, 14, 22, 0.92);
}

.scene-world__dumpster::before {
  inset: -10px 14px auto;
  height: 10px;
  border-radius: 8px 8px 0 0;
}

.scene-world__dumpster::after {
  bottom: -8px;
  left: 14px;
  width: calc(100% - 28px);
  height: 8px;
  border-radius: 999px;
}

.scene-world__subject {
  right: 27vw;
  bottom: 20vh;
  width: 15vw;
  min-width: 145px;
  max-width: 200px;
  height: 39vh;
  min-height: 260px;
}

.scene-world__subject-head,
.scene-world__subject-cap,
.scene-world__subject-torso,
.scene-world__subject-arm {
  position: absolute;
  background: linear-gradient(180deg, rgba(14, 17, 23, 0.98), rgba(4, 6, 9, 1));
}

.scene-world__subject-head {
  top: 12%;
  right: 32%;
  width: 18%;
  height: 12%;
  border-radius: 999px;
}

.scene-world__subject-cap {
  top: 9.5%;
  right: 24%;
  width: 26%;
  height: 7%;
  border-radius: 999px 999px 40% 55%;
  transform: rotate(-6deg);
}

.scene-world__subject-torso {
  inset: 22% 20% 0 20%;
  clip-path: polygon(36% 0, 72% 4%, 94% 30%, 100% 72%, 68% 100%, 16% 94%, 0 34%);
  border-radius: 24px;
  transform: skew(-8deg);
  box-shadow: inset -14px 0 18px rgba(91, 118, 154, 0.12);
}

.scene-world__subject-arm {
  top: 42%;
  right: 14%;
  width: 32%;
  height: 10%;
  border-radius: 999px;
  transform: rotate(-22deg);
}

.scene-world__light {
  border-radius: 50%;
  pointer-events: none;
}

.scene-world__light--distant {
  left: 50%;
  top: 18vh;
  width: 24vw;
  height: 24vw;
  min-width: 200px;
  min-height: 200px;
  transform: translateX(-50%);
  background: radial-gradient(circle, rgba(117, 173, 255, 0.56), rgba(117, 173, 255, 0.12) 35%, transparent 72%);
  animation: scenePulse 8s ease-in-out infinite;
}

.scene-world__light--corner {
  right: 14vw;
  top: 22vh;
  width: 18vw;
  height: 18vw;
  min-width: 120px;
  min-height: 120px;
  background: radial-gradient(circle, rgba(104, 179, 255, 0.28), transparent 72%);
  animation: scenePulse 9.4s ease-in-out infinite reverse;
}

.scene-world__fog {
  left: -8vw;
  right: -8vw;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(109, 161, 238, 0.22), rgba(109, 161, 238, 0.08) 40%, transparent 74%);
  opacity: 0.68;
  mix-blend-mode: screen;
  pointer-events: none;
}

.scene-world__fog--far {
  bottom: 28vh;
  height: 20vh;
  animation: sceneDriftFar 16s ease-in-out infinite;
}

.scene-world__fog--near {
  bottom: 7vh;
  height: 26vh;
  animation: sceneDriftNear 12s ease-in-out infinite;
}

.scene-world::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(4, 6, 12, 0) 0%, rgba(3, 5, 10, var(--world-shade)) 55%, rgba(2, 4, 8, 0.72) 100%);
  pointer-events: none;
}

.scene-overlay {
  transform: translate3d(0, var(--overlay-shift-y), 0) scale(var(--overlay-scale));
  opacity: var(--overlay-opacity);
  pointer-events: none;
}

.scene-overlay__beam,
.scene-overlay__glass,
.scene-overlay__mist {
  position: absolute;
  inset: 0;
}

.scene-overlay__beam {
  background:
    linear-gradient(105deg, transparent 0%, rgba(112, 182, 255, 0.08) 44%, rgba(112, 182, 255, 0.17) 51%, transparent 62%),
    linear-gradient(90deg, transparent 20%, rgba(67, 120, 203, 0.08) 50%, transparent 80%);
}

.scene-overlay__glass {
  background:
    radial-gradient(circle at 72% 52%, rgba(114, 194, 255, 0.18), transparent 28%),
    radial-gradient(circle at 48% 62%, rgba(249, 196, 102, 0.08), transparent 24%);
  mix-blend-mode: screen;
}

.scene-overlay__mist {
  transform: translate3d(0, 0, 0);
  background:
    linear-gradient(180deg, transparent 0%, rgba(6, 11, 20, 0.2) 36%, rgba(4, 8, 14, 0.45) 100%);
  opacity: 0.72;
}

.scene-phone {
  position: absolute;
  inset: 0;
  opacity: var(--phone-opacity);
  pointer-events: none;
}

.welcome-scene[data-scene-stage="transition"] .scene-phone,
.welcome-scene[data-scene-stage="inside"] .scene-phone {
  z-index: 3;
}

.welcome-scene[data-scene-stage="transition"] .scene-ui,
.welcome-scene[data-scene-stage="inside"] .scene-ui {
  z-index: 1;
}

.welcome-scene[data-scene-stage="transition"] .scene-intro-layer,
.welcome-scene[data-scene-stage="inside"] .scene-intro-layer {
  z-index: 1;
}

.scene-phone__motion {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate3d(-50%, -50%, 0) translate3d(var(--phone-shift-x), var(--phone-shift-y), 0) scale(var(--phone-scale)) rotate(var(--phone-tilt));
  transform-origin: 50% 50%;
  will-change: transform;
}

.scene-phone__device {
  width: min(24vw, 250px);
  aspect-ratio: 9 / 18.5;
}

.scene-phone__frame {
  position: relative;
  width: 100%;
  height: 100%;
  padding: 10px;
  border-radius: 34px;
  background:
    linear-gradient(145deg, rgba(30, 37, 48, 0.96), rgba(7, 10, 16, 0.98)),
    linear-gradient(180deg, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0.03));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.15),
    0 24px 70px rgba(0, 0, 0, 0.48),
    0 0 120px rgba(90, 146, 233, calc(var(--phone-glow) * 1));
}

.scene-phone__frame::before {
  content: "";
  position: absolute;
  inset: 2px;
  border-radius: 32px;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.scene-phone__notch {
  position: absolute;
  top: 12px;
  left: 50%;
  width: 34%;
  height: 16px;
  border-radius: 999px;
  transform: translateX(-50%);
  background: rgba(2, 4, 8, 0.92);
  z-index: 2;
}

.scene-phone__screen {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  border-radius: 26px;
  background:
    radial-gradient(circle at 52% 20%, rgba(92, 141, 230, 0.45), transparent 34%),
    linear-gradient(180deg, rgba(14, 23, 42, 0.98), rgba(3, 8, 18, 1));
  box-shadow:
    inset 0 0 0 1px rgba(238, 204, 132, 0.1),
    inset 0 18px 32px rgba(255, 255, 255, 0.045),
    inset 0 -34px 62px rgba(0, 0, 0, 0.42);
  isolation: isolate;
}

.scene-phone__screen-glow,
.scene-phone__screen-grid,
.scene-phone__screen-ui {
  position: absolute;
  inset: 0;
}

.scene-phone__screen-glow {
  background: radial-gradient(circle at 50% 68%, rgba(60, 132, 229, 0.26), transparent 44%);
  opacity: calc(0.42 + var(--phone-glow) * 0.78);
}

.scene-phone__screen-grid {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.05), transparent 18%),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.04) 0, rgba(255, 255, 255, 0.04) 1px, transparent 1px, transparent 34px),
    repeating-linear-gradient(180deg, rgba(255, 255, 255, 0.025) 0, rgba(255, 255, 255, 0.025) 1px, transparent 1px, transparent 34px);
  opacity: 0.38;
}

.scene-phone__screen-ui {
  padding: 50px 20px 22px;
  opacity: calc(1 - var(--hero-opacity));
}

.scene-phone__screen-brand {
  display: block;
  margin-bottom: 18px;
  font-size: 0.8rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: rgba(244, 239, 228, 0.72);
}

.scene-phone__screen-line {
  display: block;
  height: 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  margin-top: 10px;
}

.scene-phone__screen-line--primary {
  width: 68%;
  background: linear-gradient(90deg, rgba(235, 196, 110, 0.84), rgba(125, 190, 255, 0.78));
}

.scene-intro-layer,
.scene-ui,
.scene-intro__shell,
.scene-ui__veil {
  position: absolute;
  inset: 0;
}

.scene-intro-layer,
.scene-ui {
  display: block;
  pointer-events: none;
}

.scene-ui__veil {
  background:
    radial-gradient(circle at 50% 22%, rgba(106, 160, 255, 0.3), transparent 32%),
    linear-gradient(180deg, rgba(4, 8, 18, 0.08), rgba(4, 7, 16, 0.72));
  transform: translate3d(0, var(--ui-shift-y), 0) scale(var(--ui-scale));
  opacity: var(--ui-opacity);
  transform-origin: 50% 50%;
  will-change: transform, opacity;
}

.scene-intro__shell {
  display: block;
  padding: 0;
}

.scene-intro-layer > .scene-intro,
.scene-ui > .scene-intro,
.scene-intro__shell > .scene-intro {
  position: absolute;
}

.scene-intro {
  position: absolute;
  z-index: 1;
  border: 1px solid rgba(238, 204, 132, 0.24);
  border-radius: 30px;
  background:
    radial-gradient(circle at 18% 0%, rgba(231, 188, 100, 0.14), transparent 38%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.09), rgba(255, 255, 255, 0.026)),
    rgba(5, 9, 18, 0.62);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.105),
    0 22px 64px rgba(0, 0, 0, 0.3),
    0 0 52px rgba(86, 141, 228, 0.08);
  backdrop-filter: blur(18px) saturate(1.08);
  opacity: var(--intro-opacity);
  pointer-events: none;
  will-change: transform, opacity;
}

.scene-intro::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background:
    linear-gradient(90deg, rgba(238, 204, 132, 0.18), transparent 32%, rgba(113, 178, 255, 0.11));
  opacity: 0.32;
  pointer-events: none;
}

.scene-intro p,
.scene-intro h2,
.scene-intro ul {
  position: relative;
  z-index: 1;
}

.scene-intro p,
.scene-intro h2,
.scene-intro ul {
  margin: 0;
}

.scene-intro h2 {
  margin-top: 16px;
  color: rgba(255, 248, 232, 0.96);
  font-size: clamp(1.55rem, 1.95vw, 1.85rem);
  line-height: 1.05;
  letter-spacing: -0.035em;
}

.scene-intro ul {
  display: grid;
  gap: 13px;
  margin-top: 24px;
  padding: 0;
  list-style: none;
}

.scene-intro li {
  position: relative;
  padding-left: 24px;
  color: rgba(248, 241, 228, 0.84);
  font-size: clamp(1rem, 1.1vw, 1.14rem);
  line-height: 1.58;
}

.scene-intro li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.65em;
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(238, 204, 132, 0.95), rgba(104, 174, 255, 0.86));
  box-shadow: 0 0 12px rgba(238, 204, 132, 0.3);
}

.scene-intro__kicker {
  color: rgba(232, 196, 116, 0.84);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.scene-intro--top {
  top: clamp(24px, 5.3vh, 58px);
  left: 50%;
  width: min(720px, calc(100vw - 52px));
  min-width: 0;
  padding: 30px 54px 28px;
  text-align: center;
  border-color: rgba(244, 207, 135, 0.34);
  background:
    radial-gradient(circle at 50% 0%, rgba(238, 204, 132, 0.2), transparent 58%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.028)),
    rgba(7, 10, 18, 0.72);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.12),
    0 18px 60px rgba(0, 0, 0, 0.32),
    0 0 48px rgba(236, 196, 105, 0.12);
  transform: translate3d(-50%, var(--intro-top-y), 0);
}

.scene-intro__brand {
  color: rgba(255, 238, 196, 0.96);
  font-size: clamp(3.4rem, 5vw, 4.85rem);
  font-weight: 900;
  letter-spacing: 0.2em;
  line-height: 0.9;
  text-shadow: 0 0 48px rgba(237, 201, 126, 0.42);
}

.scene-intro__slogan {
  margin-top: 18px;
  color: rgba(244, 229, 196, 0.88);
  font-size: clamp(1.18rem, 1.65vw, 1.55rem);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.scene-intro--left,
.scene-intro--right {
  top: 50%;
  width: min(520px, calc((100vw - 320px) / 2));
  min-height: 430px;
  padding: 40px 42px;
}

.scene-intro--left {
  left: clamp(28px, 4.6vw, 76px);
  transform: translate3d(var(--intro-left-x), -50%, 0);
}

.scene-intro--right {
  right: clamp(28px, 4.6vw, 76px);
  transform: translate3d(var(--intro-right-x), -50%, 0);
}

.scene-hero {
  position: relative;
  width: min(100%, 760px);
  padding: clamp(28px, 5vw, 52px);
  border-radius: 28px;
  background:
    linear-gradient(155deg, rgba(29, 35, 46, 0.82), rgba(8, 12, 20, 0.88)),
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02));
  border: 1px solid rgba(240, 206, 132, 0.22);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 24px 80px rgba(3, 8, 18, 0.5);
  backdrop-filter: blur(18px);
  pointer-events: auto;
  opacity: var(--hero-opacity);
  transform: translate3d(0, var(--hero-y), 0) scale(var(--hero-scale));
  will-change: transform, opacity;
}

.scene-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background:
    radial-gradient(circle at top right, rgba(241, 196, 105, 0.18), transparent 34%),
    radial-gradient(circle at bottom left, rgba(98, 166, 255, 0.12), transparent 30%);
  pointer-events: none;
}

.scene-hero__eyebrow,
.scene-hero__headline,
.scene-hero__subtext,
.scene-hero__actions {
  position: relative;
  z-index: 1;
}

.scene-hero__eyebrow {
  margin: 0 0 14px;
  font-size: 0.82rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: rgba(235, 200, 130, 0.82);
}

.scene-hero__headline {
  margin: 0;
  max-width: 10ch;
  font-size: clamp(2.3rem, 5vw, 5rem);
  line-height: 0.94;
  letter-spacing: -0.04em;
  color: #faf7f0;
}

.scene-hero__subtext {
  margin: 20px 0 0;
  max-width: 34rem;
  font-size: clamp(1rem, 1.6vw, 1.22rem);
  line-height: 1.7;
  color: rgba(223, 229, 238, 0.78);
}

.scene-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.scene-hero__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 22px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  color: #faf7f0;
  text-decoration: none;
  transition: transform 140ms ease, border-color 140ms ease, background 140ms ease;
}

.scene-hero__cta:hover {
  transform: translateY(-1px);
}

.scene-hero__cta--primary {
  background: linear-gradient(135deg, rgba(236, 191, 100, 0.88), rgba(165, 120, 49, 0.92));
  color: #131217;
  border-color: rgba(240, 207, 134, 0.38);
}

.scene-hero__cta--secondary {
  background: rgba(255, 255, 255, 0.04);
}

.scene-phone__screen .scene-hero {
  position: absolute;
  inset: 9% 8% 8%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: auto;
  height: auto;
  padding: 18px 13px 14px;
  border: 1px solid rgba(240, 206, 132, 0.26);
  border-radius: 20px;
  background:
    radial-gradient(circle at 72% 14%, rgba(240, 198, 111, 0.24), transparent 30%),
    radial-gradient(circle at 24% 90%, rgba(82, 151, 255, 0.18), transparent 34%),
    linear-gradient(180deg, rgba(21, 32, 55, 0.5), rgba(4, 8, 18, 0.86));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    inset 0 0 28px rgba(87, 151, 255, 0.11),
    0 0 22px rgba(236, 196, 105, calc(var(--hero-opacity) * 0.1));
  backdrop-filter: none;
  overflow: hidden;
  pointer-events: auto;
}

.scene-phone__screen .scene-hero::before {
  border-radius: inherit;
  background:
    radial-gradient(circle at top right, rgba(241, 196, 105, 0.16), transparent 34%),
    radial-gradient(circle at bottom left, rgba(98, 166, 255, 0.16), transparent 34%);
}

.scene-phone__screen .scene-hero__eyebrow {
  margin-bottom: 8px;
  font-size: clamp(0.48rem, 0.78vw, 0.66rem);
  letter-spacing: 0.22em;
}

.scene-phone__screen .scene-hero__headline {
  max-width: 11ch;
  font-size: clamp(0.94rem, 1.85vw, 1.36rem);
  line-height: 1.05;
}

.scene-phone__screen .scene-hero__subtext {
  margin-top: 10px;
  max-width: 12rem;
  font-size: clamp(0.58rem, 0.88vw, 0.74rem);
  line-height: 1.42;
  color: rgba(239, 245, 255, 0.84);
}

.scene-phone__screen .scene-hero__actions {
  flex-direction: row;
  gap: 6px;
  margin-top: 14px;
}

.scene-phone__screen .scene-hero__cta {
  width: auto;
  min-height: 28px;
  padding: 0 9px;
  font-size: clamp(0.48rem, 0.74vw, 0.62rem);
}

@keyframes sceneDriftFar {
  0%,
  100% {
    transform: translate3d(-1.5%, 0, 0) scale(1);
    opacity: 0.46;
  }
  50% {
    transform: translate3d(1.5%, -2%, 0) scale(1.03);
    opacity: 0.62;
  }
}

@keyframes sceneDriftNear {
  0%,
  100% {
    transform: translate3d(2%, 0, 0) scale(1.02);
    opacity: 0.4;
  }
  50% {
    transform: translate3d(-2%, -3%, 0) scale(1.05);
    opacity: 0.58;
  }
}

@keyframes scenePulse {
  0%,
  100% {
    opacity: 0.72;
    transform: translateX(-50%) scale(0.98);
  }
  50% {
    opacity: 1;
    transform: translateX(-50%) scale(1.02);
  }
}

@media (max-width: 900px) {
  .welcome-scene {
    min-height: 250vh;
  }

  .scene-world__wall {
    width: 48vw;
  }

  .scene-world__cross {
    left: 12vw;
    right: 12vw;
  }

  .scene-world__ground {
    clip-path: polygon(10% 0, 90% 0, 100% 100%, 0 100%);
  }

  .scene-world__subject {
    right: 19vw;
    bottom: 19vh;
  }

  .scene-phone__device {
    width: min(32vw, 220px);
  }

  .scene-hero {
    width: min(100%, 620px);
  }

  .scene-hero__headline {
    max-width: 12ch;
  }

  .scene-intro-layer,
  .scene-ui,
  .scene-intro__shell {
    display: block;
    padding: 0;
    overflow: visible;
  }

  .scene-intro {
    position: absolute;
  }

  .scene-intro--top {
    position: absolute;
    top: clamp(20px, 4.5vh, 44px);
    left: 50%;
    width: min(680px, calc(100vw - 34px));
    min-width: 0;
    text-align: center;
    transform: translate3d(-50%, var(--intro-top-y), 0);
  }

  .scene-intro--left {
    left: clamp(16px, 3vw, 28px);
    top: 50%;
    width: min(340px, 38vw);
    min-height: auto;
    transform: translate3d(var(--intro-left-x), -50%, 0);
  }

  .scene-intro--right {
    right: clamp(16px, 3vw, 28px);
    top: 50%;
    width: min(340px, 38vw);
    min-height: auto;
    transform: translate3d(var(--intro-right-x), -50%, 0);
  }
}

@media (max-width: 680px) {
  .welcome-scene {
    min-height: 230vh;
    --ui-opacity: 1;
    --ui-shift-y: 18px;
    --phone-opacity: 0.84;
  }

  .scene-world__dumpster {
    left: 10vw;
    bottom: 18vh;
    min-width: 108px;
    width: 26vw;
  }

  .scene-world__subject {
    right: 15vw;
    min-width: 120px;
    width: 22vw;
    height: 31vh;
    min-height: 220px;
  }

  .scene-phone__device {
    width: min(46vw, 190px);
  }

  .scene-intro__brand {
    font-size: clamp(2.45rem, 11vw, 3.2rem);
    letter-spacing: 0.14em;
  }

  .scene-intro__slogan {
    margin-top: 12px;
    font-size: clamp(1rem, 4.4vw, 1.18rem);
    line-height: 1.35;
    letter-spacing: 0.055em;
  }

  .scene-intro h2 {
    font-size: clamp(1.35rem, 5.6vw, 1.55rem);
    line-height: 1.1;
  }

  .scene-intro ul {
    gap: 11px;
    margin-top: 18px;
  }

  .scene-intro li {
    font-size: clamp(0.95rem, 4vw, 1.05rem);
    line-height: 1.52;
  }

  .scene-hero {
    padding: 24px;
    border-radius: 24px;
  }

  .scene-hero__actions {
    flex-direction: column;
  }

  .scene-hero__cta {
    width: 100%;
  }
}

@media (max-width: 520px) {
  .scene-intro-layer,
  .scene-ui,
  .scene-intro__shell {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    gap: 18px;
    padding: 18px 16px 34px;
    overflow-y: auto;
    scrollbar-width: none;
  }

  .scene-intro-layer::-webkit-scrollbar,
  .scene-ui::-webkit-scrollbar,
  .scene-intro__shell::-webkit-scrollbar {
    display: none;
  }

  .scene-intro {
    position: relative;
    left: auto;
    right: auto;
    top: auto;
    bottom: auto;
    width: 100%;
    max-width: none;
    text-align: left;
    border-radius: 22px;
  }

  .scene-intro--top {
    position: relative;
    top: auto;
    left: auto;
    width: calc(100vw - 28px);
    padding: 22px 20px 20px;
    text-align: center;
    transform: translate3d(0, var(--intro-top-y), 0);
  }

  .scene-intro--left,
  .scene-intro--right {
    padding: 28px 24px;
    min-height: auto;
  }

  .scene-intro--left {
    transform: none;
  }

  .scene-intro--right {
    transform: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .scene-world__fog,
  .scene-world__light--distant,
  .scene-world__light--corner {
    animation: none;
  }

  .scene-hero__cta,
  .scene-hero__cta:hover {
    transition: none;
    transform: none;
  }
}
