.dph-hero {
  --dph-cx: 50%;
  --dph-cy: 50%;
  position: relative;
  overflow: clip;
  min-height: 100vh;
  min-height: 100svh;
  padding: clamp(84px, 12vw, 160px) 24px clamp(54px, 8vw, 96px);
  background:
    linear-gradient(180deg, #040404 0%, #050505 52%, #020202 100%);
  color: #f5f5f5;
  isolation: isolate;
  display: flex;
  align-items: center;
}

.dph-hero::before,
.dph-hero::after {
  content: "";
  position: absolute;
  inset: -10%;
  pointer-events: none;
  z-index: 0;
}

.dph-hero::before {
  background:
    radial-gradient(circle at 18% 38%, rgba(255, 255, 255, 0.12), transparent 20%),
    radial-gradient(circle at 76% 56%, rgba(255, 255, 255, 0.1), transparent 18%),
    radial-gradient(circle at 52% 86%, rgba(255, 255, 255, 0.08), transparent 16%);
  filter: blur(58px);
  opacity: 0.8;
  animation: dphFloat 16s ease-in-out infinite alternate;
}

.dph-hero::after {
  background:
    linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.045) 48%, transparent 100%),
    linear-gradient(180deg, transparent 0%, rgba(255, 255, 255, 0.03) 50%, transparent 100%);
  mix-blend-mode: screen;
  filter: blur(40px);
  opacity: 0.5;
  animation: dphSweep 18s linear infinite;
}

.dph-hero__inner,
.dph-hero__scroll,
.dph-hero__cursor-glow,
.dph-hero__glow,
.dph-hero::before,
.dph-hero::after {
  will-change: auto;
}

.dph-hero *,
.dph-hero *::before,
.dph-hero *::after {
  box-sizing: border-box;
}

.dph-hero__glow {
  position: absolute;
  border-radius: 999px;
  filter: blur(70px);
  pointer-events: none;
  opacity: 0.5;
  animation: dphPulse 14s ease-in-out infinite;
}

.dph-hero__glow--left {
  top: 18%;
  left: -4%;
  width: min(22vw, 320px);
  height: min(22vw, 320px);
  background: rgba(255, 255, 255, 0.16);
}

.dph-hero__glow--center {
  top: -6%;
  left: 50%;
  width: min(16vw, 220px);
  height: min(24vw, 320px);
  transform: translateX(-50%);
  background: rgba(255, 255, 255, 0.08);
  animation-delay: -4s;
}

.dph-hero__glow--right {
  right: -3%;
  bottom: 18%;
  width: min(24vw, 360px);
  height: min(24vw, 360px);
  background: rgba(255, 255, 255, 0.18);
  animation-delay: -8s;
}

.dph-hero__cursor-glow {
  position: absolute;
  left: var(--dph-cx);
  top: var(--dph-cy);
  z-index: 0;
  width: clamp(300px, 34vw, 520px);
  height: clamp(300px, 34vw, 520px);
  border-radius: 999px;
  background:
    radial-gradient(circle, rgba(255, 255, 255, 0.1) 0, rgba(255, 255, 255, 0.05) 30%, rgba(211, 175, 127, 0.05) 54%, transparent 74%);
  filter: blur(72px);
  opacity: 0.42;
  pointer-events: none;
  transform: translate(-50%, -50%);
  mix-blend-mode: screen;
  transition: opacity 240ms ease;
  will-change: left, top;
}

.dph-hero__inner {
  position: relative;
  z-index: 1;
  width: min(1600px, 100%);
  margin: 0 auto;
  text-align: center;
}

.dph-hero__topline,
.dph-hero__subtitle {
  margin: 0;
  color: rgba(255, 255, 255, 0.86);
  font-family: "Gilroy", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 0.95rem;
  font-weight: 400;
  letter-spacing: 0.34em;
  text-transform: uppercase;
}

.dph-hero__topline {
  min-height: 1.4em;
  margin-bottom: clamp(26px, 3vw, 44px);
  max-width: 70rem;
  margin-left: auto;
  margin-right: auto;
}

.dph-hero__topline-text {
  display: inline-block;
  transition: opacity 220ms ease, transform 220ms ease;
}

.dph-hero__topline-text.is-changing {
  opacity: 0;
  transform: translateY(-8px);
}

.dph-hero__title {
  margin: 0;
  color: #efefef;
  font-family: "Epilogue", "Arial Narrow", Impact, sans-serif;
  font-size: clamp(4.8rem, 16vw, 15rem);
  font-weight: 800;
  line-height: 0.9;
  letter-spacing: -0.08em;
  text-transform: uppercase;
  text-wrap: balance;
  text-shadow: 0 0 28px rgba(255, 255, 255, 0.05);
}

.dph-hero__subtitle {
  margin-top: clamp(28px, 3vw, 42px);
  max-width: 72rem;
  margin-left: auto;
  margin-right: auto;
}

.dph-hero__scroll {
  position: absolute;
  left: 50%;
  bottom: 92px;
  z-index: 1;
  transform: translateX(-50%);
  border: 0;
  padding: 0;
  background: transparent;
  color: rgba(255, 255, 255, 0.88);
  cursor: pointer;
}

.dph-hero__scroll-text {
  display: inline-block;
  font-family: "Gilroy", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 0.78rem;
  font-weight: 400;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  animation: dphFlash 1.35s ease-in-out infinite;
}

@media (max-width: 980px) {
  .dph-hero {
    min-height: 100svh;
    padding-top: 124px;
    padding-bottom: 112px;
    background:
      radial-gradient(circle at 18% 32%, rgba(255, 255, 255, 0.12), transparent 26%),
      radial-gradient(circle at 82% 68%, rgba(211, 175, 127, 0.1), transparent 24%),
      linear-gradient(180deg, #040404 0%, #050505 52%, #020202 100%);
  }

  .dph-hero__topline,
  .dph-hero__subtitle {
    font-size: 0.82rem;
    letter-spacing: 0.22em;
  }

  .dph-hero__title {
    font-size: clamp(4.2rem, 15vw, 8.5rem);
    line-height: 0.92;
  }

  .dph-hero__scroll {
    bottom: 70px;
  }
}

@media (max-width: 640px) {
  .dph-hero {
    min-height: 100svh;
    padding-left: 16px;
    padding-right: 16px;
    padding-top: 112px;
    padding-bottom: 104px;
    background:
      radial-gradient(circle at 18% 28%, rgba(255, 255, 255, 0.1), transparent 24%),
      radial-gradient(circle at 82% 62%, rgba(211, 175, 127, 0.08), transparent 22%),
      linear-gradient(180deg, #040404 0%, #050505 52%, #020202 100%);
  }

  .dph-hero__title {
    font-size: clamp(3rem, 19vw, 5.4rem);
    line-height: 0.94;
    letter-spacing: -0.07em;
  }

  .dph-hero__topline,
  .dph-hero__subtitle {
    font-size: 0.72rem;
    letter-spacing: 0.16em;
  }

  .dph-hero__topline {
    min-height: 2.9em;
    margin-bottom: 22px;
    max-width: 26rem;
  }

  .dph-hero__subtitle {
    margin-top: 22px;
    max-width: 24rem;
    line-height: 1.65;
  }

  .dph-hero__scroll {
    bottom: 52px;
  }

  .dph-hero__scroll-text {
    font-size: 0.68rem;
    letter-spacing: 0.2em;
  }

  .dph-hero::before {
    inset: -6%;
    filter: blur(32px);
    opacity: 0.7;
    animation: none;
  }

  .dph-hero::after {
    display: none;
  }

  .dph-hero__glow--center {
    display: none;
  }

  .dph-hero__cursor-glow {
    width: clamp(220px, 48vw, 320px);
    height: clamp(220px, 48vw, 320px);
    filter: blur(48px);
    opacity: 0.3;
  }

  .dph-hero__glow {
    filter: blur(38px);
    opacity: 0.3;
    animation: none;
  }
}

@media (max-width: 420px) {
  .dph-hero {
    padding-top: 98px;
    padding-bottom: 92px;
    padding-left: 14px;
    padding-right: 14px;
  }

  .dph-hero__title {
    font-size: clamp(2.6rem, 18vw, 4.3rem);
    line-height: 0.96;
  }

  .dph-hero__topline,
  .dph-hero__subtitle {
    font-size: 0.66rem;
    letter-spacing: 0.12em;
  }

  .dph-hero__topline {
    min-height: 3.2em;
  }

  .dph-hero__scroll {
    bottom: 42px;
  }
}

@keyframes dphPulse {
  0% {
    transform: scale(1) translate3d(0, 0, 0);
    opacity: 0.35;
  }
  50% {
    transform: scale(1.08) translate3d(0, -10px, 0);
    opacity: 0.58;
  }
  100% {
    transform: scale(0.96) translate3d(0, 12px, 0);
    opacity: 0.42;
  }
}

@keyframes dphFloat {
  0% {
    transform: translate3d(-2%, 0, 0) scale(1);
  }
  50% {
    transform: translate3d(2%, -1.5%, 0) scale(1.04);
  }
  100% {
    transform: translate3d(-1%, 2%, 0) scale(0.98);
  }
}

@keyframes dphSweep {
  0% {
    transform: translate3d(-8%, 0, 0) scaleX(0.96);
    opacity: 0.28;
  }
  50% {
    transform: translate3d(4%, 0, 0) scaleX(1.04);
    opacity: 0.46;
  }
  100% {
    transform: translate3d(10%, 0, 0) scaleX(0.98);
    opacity: 0.24;
  }
}

@keyframes dphFlash {
  0% {
    opacity: 0.3;
  }
  50% {
    opacity: 1;
  }
  100% {
    opacity: 0.3;
  }
}

@media (prefers-reduced-motion: reduce) {
  .dph-hero::before,
  .dph-hero::after,
  .dph-hero__cursor-glow,
  .dph-hero__glow,
  .dph-hero__topline-text,
  .dph-hero__scroll-text {
    animation: none !important;
    transition: none !important;
  }
}
