html:has(body.page-stardust) {
  height: auto;
  overflow-x: hidden;
  overflow-y: auto;
  scroll-behavior: smooth;
}

body.page-stardust {
  overflow: visible;
  height: auto;
  min-height: 100%;
  background: #050505;
  touch-action: pan-y;
}

body.page-stardust .scene-btn {
  pointer-events: auto;
}

.dust {
  min-height: 100vh;
  background: #050505;
  color: #fff;
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
}

.dust h1,
.dust h2,
.dust h4,
.dust p,
.dust ul {
  margin: 0;
}

.dust-mark {
  color: #fff;
  font-size: 1.5rem;
  font-weight: 900;
  letter-spacing: -0.05em;
  line-height: 1.25;
  text-transform: uppercase;
  text-decoration: none;
}

.dust-foot a {
  color: inherit;
  text-decoration: none;
}

.dust-foot a:hover {
  color: #fff;
  opacity: 1;
}

.dust-hero {
  position: relative;
  height: 200vh;
}

.dust-sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  overflow: hidden;
  --blur: 0px;
  --bg-scale: 1;
  --fg-scale: 1;
  --fg-opacity: 1;
  --video-opacity: 0;
  --title-y: 0px;
  --title-scale: 1;
  --title-opacity: 1;
}

.dust-hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: #000 url("/assets/images/stardust-hero.jpg") center center / cover no-repeat;
  filter: blur(var(--blur));
  transform: translateZ(0) scale(var(--bg-scale));
  will-change: transform, filter;
}

.dust-hero-dim {
  position: absolute;
  inset: 0;
  z-index: 5;
  background: rgba(0, 0, 0, 0.4);
}

.dust-hero-copy {
  position: absolute;
  inset: 0;
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  text-align: center;
  opacity: var(--title-opacity);
  transform: translate3d(0, var(--title-y), 0) scale(var(--title-scale));
  will-change: transform, opacity;
}

.dust-kicker {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1rem;
  opacity: 0;
  animation: dust-fade 1s ease 0.5s forwards;
}

.dust-kicker span,
.dust-label {
  font-size: 9px;
  font-weight: 300;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  opacity: 0.6;
}

.dust-rule {
  width: 2rem;
  height: 1px;
  background: rgba(255, 255, 255, 0.35);
}

.dust-hero-copy h1 {
  max-width: 100%;
  padding: 0 1rem;
  font-size: clamp(2.35rem, 12.2vw, 4.75rem);
  font-weight: 900;
  letter-spacing: -0.05em;
  line-height: 1;
  text-transform: uppercase;
  white-space: nowrap;
  mix-blend-mode: screen;
  opacity: 0;
  transform: scale(0.95);
  animation: dust-title 1.2s cubic-bezier(0.22, 1, 0.36, 1) 0.7s forwards;
}

.dust-hint {
  position: absolute;
  bottom: max(1.25rem, env(safe-area-inset-bottom));
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  opacity: 0;
  animation: dust-fade 2s ease 1.5s forwards;
}

.dust-hint .dust-label {
  opacity: 0.4;
}

.dust-chevron {
  opacity: 0.4;
  animation: dust-bob 2s ease-in-out infinite;
}

.dust-hero-fg {
  position: absolute;
  inset: 0;
  z-index: 20;
  pointer-events: none;
  opacity: var(--fg-opacity);
  transform: translateZ(0) scale(var(--fg-scale));
  will-change: transform, opacity;
}

.dust-hero-fg img,
.dust-film video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.dust-hero-fg img {
  object-fit: cover;
}

.dust-video {
  position: absolute;
  inset: 0;
  z-index: 40;
  overflow: hidden;
  background: #000;
  opacity: var(--video-opacity);
  will-change: opacity;
}

.dust-film {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 250vw;
  height: 105vh;
  transform: translate(-50%, -50%);
}

.dust-film video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: fill;
  pointer-events: none;
  background: #000;
}

.dust-video-dim {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.1);
  pointer-events: none;
}

.dust-premiere,
.dust-reflect,
.dust-access {
  scroll-margin-top: 5.5rem;
}

.dust-premiere,
.dust-reflect {
  position: relative;
  z-index: 30;
  min-height: 150vh;
  overflow: hidden;
  background: #050505;
}

.dust-premiere {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
}

.dust-moon {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: url("/assets/images/stardust-moon.jpg") center center / cover no-repeat;
  filter: grayscale(1);
  opacity: 0.2;
  transform: scale(1.1);
}

.dust-shade,
.dust-shade-soft {
  position: absolute;
  inset: 0;
  z-index: 5;
  pointer-events: none;
}

.dust-shade {
  background: linear-gradient(to bottom, #050505, transparent, #050505);
}

.dust-shade-soft {
  background: rgba(0, 0, 0, 0.4);
}

.dust-figure {
  position: absolute;
  inset: 0;
  z-index: 10;
  pointer-events: none;
  transform: translate3d(0, var(--fg-y, -100px), 0);
  will-change: transform;
}

.dust-figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.9;
  transform: scale(0.88);
}

.dust-ground {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 30;
  height: 70%;
  pointer-events: none;
  transform: translate3d(0, var(--low-y, 150px), 0);
  will-change: transform;
}

.dust-ground-inner {
  position: relative;
  width: 100%;
  height: 100%;
}

.dust-ground img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: bottom;
  transform: scale(1.1);
}

.dust-ground-mask {
  position: absolute;
  top: 95%;
  right: 0;
  left: 0;
  z-index: 2;
  height: 300%;
  background: #050505;
}

.dust-premiere-copy {
  position: relative;
  z-index: 40;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  max-width: 1400px;
  padding: 1rem 2rem 0;
  text-align: center;
}

.dust-reveal {
  display: flex;
  flex-direction: column;
  align-items: center;
  opacity: 0;
  transform: translateX(-30px);
}

.dust-reveal.is-on {
  animation: dust-slide 0.7s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.dust-block {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.dust-premiere h2,
.dust-reflect h2,
.dust-access h2 {
  font-weight: 900;
  letter-spacing: -0.05em;
  line-height: 0.9;
  text-transform: uppercase;
}

.dust-premiere h2 {
  margin-top: 0.5rem;
  font-size: clamp(1.7rem, 7.6vw, 2.15rem);
  line-height: 0.95;
  text-shadow: 0 10px 40px #000;
}

.dust-premiere h2 span,
.dust-reflect h2 span {
  color: #a1a1aa;
}

.dust-copy {
  max-width: 36rem;
  margin-top: 2rem;
  font-size: 11px;
  font-weight: 500;
  line-height: 1.625;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.6);
}

.dust-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-top: 1.5rem;
}

.dust-reflect {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 10rem 1.5rem;
}

.dust-rise {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  z-index: 10;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  height: 100vh;
  pointer-events: none;
  opacity: var(--rise-opacity, 0);
  transform: translate3d(0, var(--rise-y, -2000px), 0);
  will-change: transform, opacity;
}

.dust-rise img {
  width: 100%;
  max-width: 56rem;
  height: 100%;
  object-fit: contain;
  object-position: top;
  transform: scale(0.95);
}

.dust-invert {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  z-index: 20;
  height: 70%;
  pointer-events: none;
  transform: translate3d(0, var(--invert-y, -50px), 0) rotate(180deg);
  will-change: transform;
}

.dust-invert img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: bottom;
  transform: scale(1.25);
  transform-origin: bottom center;
}

.dust-reflect-copy {
  position: relative;
  z-index: 30;
  max-width: 64rem;
  margin: 0 auto;
  text-align: center;
  transform: translateZ(0) scale(var(--text-scale, 0.9));
  will-change: transform;
}

.dust-reflect h2 {
  margin-top: 1rem;
  font-size: clamp(1.7rem, 7.2vw, 2.35rem);
  line-height: 0.9;
}

.dust-reflect .dust-copy {
  margin-right: auto;
  margin-left: auto;
  color: rgba(255, 255, 255, 0.5);
}

.dust-glow {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: radial-gradient(circle at center, rgba(255, 255, 255, 0.08) 0%, transparent 80%);
  opacity: 0.4;
  pointer-events: none;
}

.dust-access {
  position: relative;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100vh;
  overflow: hidden;
  background: #000;
}

.dust-access .dust-film {
  z-index: 0;
}

.dust-access-dim,
.dust-access-fade {
  position: absolute;
  inset: 0;
  z-index: 10;
  pointer-events: none;
}

.dust-access-dim {
  background: rgba(0, 0, 0, 0.6);
}

.dust-access-fade {
  background: linear-gradient(to top, #000, transparent, #000);
}

.dust-access-copy {
  position: relative;
  z-index: 20;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.75rem;
  width: min(100%, 36rem);
  padding: 0 1.25rem;
  text-align: center;
}

.dust-access-copy .dust-reveal {
  align-items: center;
  transform: translateY(20px);
}

.dust-access-copy .dust-reveal.is-on {
  animation-name: dust-lift;
}

.dust-access h2 {
  margin-top: 1rem;
  font-size: clamp(1.45rem, 6.3vw, 2rem);
  line-height: 0.95;
  text-shadow: 0 10px 30px #000;
}

.dust-foot {
  position: relative;
  z-index: 50;
  padding: 3.25rem 1.25rem;
  background: #020202;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.dust-foot-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.75rem 1.25rem;
  max-width: 80rem;
  margin: 0 auto 2.5rem;
}

.dust-brand-col {
  grid-column: span 2;
}

.dust-foot h4,
.dust-foot-meta {
  font-size: 9px;
  font-weight: 300;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.6);
}

.dust-foot h4 {
  margin-bottom: 1rem;
}

.dust-foot ul {
  padding: 0;
  list-style: none;
}

.dust-foot li + li {
  margin-top: 0.75rem;
}

.dust-foot li a,
.dust-foot-meta {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.45);
}

.dust-brand-col .dust-mark {
  display: inline-block;
  margin-bottom: 1rem;
}

.dust-brand-col .dust-copy {
  max-width: 180px;
  margin-top: 0;
  color: rgba(255, 255, 255, 0.45);
}

.dust-foot-meta {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  align-items: flex-start;
  max-width: 80rem;
  margin: 0 auto;
  padding-top: 2.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  font-size: 11px;
  text-align: left;
}

.dust-foot-meta div {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: 1.5rem 3rem;
}

.dust-word {
  display: inline-block;
  margin-right: 0.25em;
  white-space: nowrap;
}

.dust-char {
  display: inline-block;
  opacity: 0;
  filter: blur(4px);
}

.dust-char.is-on {
  animation: dust-char 0.45s ease-out forwards;
}

@media (max-width: 767px) {
  .dust-mark {
    font-size: 1.15rem;
  }
}

@media (min-width: 768px) {
  .dust-hero-copy h1 {
    padding: 0;
    font-size: 20vw;
  }

  .dust-hint {
    bottom: 3rem;
  }

  .dust-film {
    width: 115vw;
    height: 115vh;
  }

  .dust-figure img {
    transform: scale(1.1);
  }

  .dust-premiere-copy,
  .dust-reveal,
  .dust-block,
  .dust-reflect-copy,
  .dust-access-copy {
    align-items: center;
    text-align: center;
  }

  .dust-premiere-copy {
    padding: 12rem 5rem 0;
  }

  .dust-premiere h2 {
    font-size: 6rem;
    line-height: 0.9;
  }

  .dust-actions {
    justify-content: center;
    gap: 1.5rem;
    margin-top: 2rem;
  }

  .dust-copy {
    margin-top: 3rem;
  }

  .dust-reflect h2 {
    font-size: 6rem;
    line-height: 0.8;
  }

  .dust-rise img {
    transform: scale(1.2);
  }

  .dust-access-copy {
    gap: 3rem;
  }

  .dust-access h2 {
    font-size: 4.5rem;
  }

  .dust-foot {
    padding: 6rem 2.5rem;
  }

  .dust-foot-grid {
    grid-template-columns: repeat(5, 1fr);
    gap: 3rem;
    margin-bottom: 5rem;
  }

  .dust-brand-col {
    grid-column: auto;
  }

  .dust-foot-meta {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }
}

@keyframes dust-fade {
  to { opacity: 1; }
}

@keyframes dust-title {
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes dust-bob {
  0%,
  100% { transform: translateY(0); }
  50% { transform: translateY(8px); }
}

@keyframes dust-slide {
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes dust-lift {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes dust-char {
  to {
    opacity: 1;
    filter: blur(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  html:has(body.page-stardust) {
    scroll-behavior: auto;
  }

  .dust-kicker,
  .dust-hero-copy h1,
  .dust-hint,
  .dust-reveal,
  .dust-char {
    opacity: 1;
    filter: none;
    transform: none;
    animation: none;
  }
}
