.skip-link {
  position: fixed;
  left: 1rem;
  top: 1rem;
  z-index: 100;
  transform: translateY(-150%);
  padding: 0.7rem 1rem;
  border-radius: 7px;
  background: #08080a;
  color: #f1e7d1;
  border: 1px solid rgba(216, 184, 111, 0.5);
}

.skip-link:focus {
  transform: translateY(0);
}

.landing-page {
  background:
    radial-gradient(circle at 50% -12rem, rgba(181, 31, 43, 0.28), transparent 38rem),
    linear-gradient(180deg, #060607 0%, #08080a 32%, #030304 100%);
}

.landing-page::before {
  opacity: 0.11;
}

.landing-shell {
  overflow: hidden;
}

.landing-header {
  background: linear-gradient(180deg, rgba(5, 5, 6, 0.94), rgba(5, 5, 6, 0.76));
}

.landing-main {
  width: 100%;
  overflow: hidden;
}

.descent-section {
  position: relative;
  min-height: 100svh;
  display: grid;
  align-items: center;
  isolation: isolate;
  overflow: hidden;
  padding: clamp(5rem, 10vw, 8rem) clamp(1rem, 5vw, 5rem);
}

.descent-section::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -3;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.03), transparent 14rem),
    repeating-linear-gradient(180deg, rgba(213, 210, 202, 0.025) 0 1px, transparent 1px 7rem);
  pointer-events: none;
}

.descent-section::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  z-index: -2;
  height: 18rem;
  background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.72));
  pointer-events: none;
}

.landing-copy {
  position: relative;
  z-index: 3;
  width: min(680px, 100%);
}

.centered-copy {
  justify-self: center;
  max-width: 820px;
  text-align: center;
}

.landing-copy h1,
.landing-copy h2 {
  text-wrap: balance;
}

.landing-copy h1 {
  max-width: 980px;
  font-size: clamp(3.2rem, 8.5vw, 8.4rem);
  line-height: 0.95;
}

.landing-copy h2 {
  font-size: clamp(2.25rem, 5.4vw, 5.4rem);
  line-height: 0.98;
}

.landing-copy p {
  color: #c8c0b3;
  font-size: clamp(1.02rem, 1.35vw, 1.24rem);
}

.hero-copy {
  width: min(980px, 100%);
  align-self: end;
  padding-bottom: clamp(3rem, 8vw, 7rem);
}

.hero-lede {
  max-width: 760px;
}

.split-section {
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.82fr);
  gap: clamp(2rem, 6vw, 7rem);
}

.split-section > .landing-copy:last-child {
  justify-self: end;
}

.feature-list {
  display: grid;
  gap: 0.65rem;
  margin: 1.35rem 0 0;
  padding: 0;
  list-style: none;
  color: #d5d0c6;
}

.feature-list li {
  position: relative;
  padding-left: 1.45rem;
}

.feature-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 0.55rem;
  height: 0.55rem;
  rotate: 45deg;
  background: #b59b65;
  box-shadow: 0 0 18px rgba(181, 155, 101, 0.42);
}

.button-row {
  margin-top: 1.45rem;
}

.descent-backdrop,
.vault-door,
.fog,
.dust-field,
.procedural-card,
.party-chain,
.rune-orbit,
.market-stalls,
.vault-strata,
.living-map,
.deep-door-art {
  position: absolute;
  pointer-events: none;
  will-change: transform;
}

.descent-backdrop {
  inset: 0;
  z-index: -1;
}

.vault-entrance {
  background:
    radial-gradient(circle at 50% 35%, rgba(181, 155, 101, 0.14), transparent 22rem),
    radial-gradient(circle at 48% 90%, rgba(181, 31, 43, 0.18), transparent 34rem),
    linear-gradient(180deg, #08080a 0%, #111013 58%, #040405 100%);
}

.vault-door {
  left: 50%;
  bottom: -3rem;
  width: min(58rem, 92vw);
  aspect-ratio: 1 / 0.86;
  transform: translateX(-50%);
  border-radius: 48% 48% 0 0;
  background:
    radial-gradient(circle at 50% 46%, rgba(181, 155, 101, 0.18), transparent 7rem),
    linear-gradient(90deg, transparent 0 13%, rgba(181, 155, 101, 0.15) 13% 14%, transparent 14% 86%, rgba(181, 155, 101, 0.15) 86% 87%, transparent 87%),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.035) 0 1px, transparent 1px 5.4rem),
    linear-gradient(180deg, #222127, #070708);
  border: 2px solid rgba(181, 155, 101, 0.35);
  box-shadow: inset 0 0 4rem rgba(0, 0, 0, 0.9), 0 -2rem 8rem rgba(0, 0, 0, 0.8);
}

.door-arch,
.door-seal,
.door-runes {
  position: absolute;
  inset: 8% 9% 0;
  border-radius: 48% 48% 0 0;
  border: 1px solid rgba(216, 184, 111, 0.22);
}

.door-seal {
  inset: auto auto 36% 50%;
  width: 8rem;
  height: 8rem;
  transform: translateX(-50%);
  border-radius: 999px;
  background:
    radial-gradient(circle, rgba(181, 31, 43, 0.6), rgba(58, 8, 12, 0.8) 42%, transparent 43%),
    conic-gradient(from 18deg, rgba(216, 184, 111, 0.75), transparent 18deg 55deg, rgba(216, 184, 111, 0.55) 60deg, transparent 80deg 130deg, rgba(216, 184, 111, 0.72) 140deg, transparent 160deg 360deg);
  box-shadow: 0 0 4rem rgba(181, 31, 43, 0.35);
}

.door-runes {
  inset: 14% 16% auto;
  height: 3.2rem;
  border: 0;
  border-radius: 0;
  background:
    linear-gradient(90deg, transparent, rgba(216, 184, 111, 0.42), transparent),
    repeating-linear-gradient(90deg, transparent 0 1.2rem, rgba(216, 184, 111, 0.55) 1.2rem 1.32rem, transparent 1.32rem 2.4rem);
  opacity: 0.58;
}

.fog {
  left: 50%;
  width: 120vw;
  height: 22rem;
  transform: translateX(-50%);
  filter: blur(18px);
  opacity: 0.42;
  background:
    radial-gradient(ellipse at 18% 50%, rgba(213, 210, 202, 0.18), transparent 24rem),
    radial-gradient(ellipse at 72% 46%, rgba(181, 155, 101, 0.12), transparent 24rem);
}

.fog-a {
  bottom: 2rem;
}

.fog-b {
  bottom: 16rem;
  opacity: 0.22;
}

.dust-field {
  inset: 0;
  opacity: 0.36;
  background-image:
    radial-gradient(circle, rgba(216, 184, 111, 0.42) 0 1px, transparent 1.4px),
    radial-gradient(circle, rgba(213, 210, 202, 0.28) 0 1px, transparent 1.3px);
  background-size: 73px 91px, 117px 149px;
  mask-image: linear-gradient(180deg, transparent, #000 20%, #000 86%, transparent);
}

.scroll-cue {
  position: relative;
  left: auto;
  bottom: auto;
  z-index: 4;
  display: inline-grid;
  justify-items: center;
  gap: 0.4rem;
  transform: none;
  margin-top: 1.25rem;
  color: #d8b86f;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.78rem;
}

.scroll-cue::after {
  content: "";
  width: 1px;
  height: 2.8rem;
  background: linear-gradient(180deg, rgba(216, 184, 111, 0.9), transparent);
}

.character-section {
  background:
    radial-gradient(circle at 80% 44%, rgba(181, 31, 43, 0.18), transparent 26rem),
    linear-gradient(180deg, #050506, #0b0b0d 62%, #040405);
}

.procedural-card {
  right: clamp(1rem, 7vw, 8rem);
  top: 50%;
  width: min(25rem, 42vw);
  min-height: 28rem;
  transform: translateY(-50%) rotate(-2deg);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(28, 28, 32, 0.9), rgba(9, 9, 11, 0.92)),
    repeating-linear-gradient(180deg, transparent 0 3.7rem, rgba(216, 184, 111, 0.13) 3.7rem 3.78rem);
  border: 1px solid rgba(216, 184, 111, 0.28);
  box-shadow: 0 2rem 5rem rgba(0, 0, 0, 0.54);
}

.slate-line {
  position: absolute;
  left: 2rem;
  right: 2rem;
  height: 0.16rem;
  background: rgba(213, 210, 202, 0.18);
}

.slate-line.wide {
  top: 3.2rem;
}

.slate-line:not(.wide) {
  top: 6.2rem;
  right: 7rem;
}

.stat-rune {
  position: relative;
  display: inline-grid;
  place-items: center;
  width: 4.3rem;
  height: 4.3rem;
  margin: 9.5rem 0 0 1.4rem;
  border: 1px solid rgba(216, 184, 111, 0.22);
  border-radius: 7px;
  color: #d8b86f;
  font-weight: 900;
}

.ink-sigil {
  position: absolute;
  right: 2.4rem;
  bottom: 2.4rem;
  width: 9rem;
  height: 9rem;
  border-radius: 999px;
  border: 1px solid rgba(181, 31, 43, 0.5);
  background: conic-gradient(from 120deg, transparent, rgba(181, 31, 43, 0.42), transparent 42%);
}

.together-section {
  background:
    radial-gradient(circle at 28% 55%, rgba(181, 155, 101, 0.12), transparent 24rem),
    linear-gradient(180deg, #040405, #0d0d10 52%, #030304);
}

.party-chain {
  left: clamp(1rem, 6vw, 7rem);
  top: 50%;
  width: min(34rem, 44vw);
  height: 12rem;
  transform: translateY(-50%);
}

.party-chain span {
  position: absolute;
  width: 5.3rem;
  height: 8.2rem;
  bottom: 0;
  border-radius: 44% 44% 18% 18%;
  background: linear-gradient(180deg, rgba(216, 184, 111, 0.22), rgba(0, 0, 0, 0.2));
  border: 1px solid rgba(216, 184, 111, 0.2);
}

.party-chain span:nth-child(1) { left: 0; height: 7rem; }
.party-chain span:nth-child(2) { left: 7.2rem; height: 9rem; }
.party-chain span:nth-child(3) { left: 15rem; height: 6.5rem; }
.party-chain span:nth-child(4) { left: 22rem; height: 8rem; }

.dm-section {
  background:
    radial-gradient(circle at 50% 50%, rgba(181, 31, 43, 0.2), transparent 21rem),
    radial-gradient(circle at 50% 50%, rgba(216, 184, 111, 0.1), transparent 34rem),
    linear-gradient(180deg, #030304, #111014 48%, #050506);
}

.rune-orbit {
  left: 50%;
  top: 50%;
  width: min(46rem, 84vw);
  aspect-ratio: 1;
  transform: translate(-50%, -50%);
  border-radius: 999px;
  border: 1px solid rgba(216, 184, 111, 0.12);
}

.rune-orbit span {
  position: absolute;
  width: 3rem;
  height: 3rem;
  rotate: 45deg;
  border: 1px solid rgba(216, 184, 111, 0.38);
  box-shadow: 0 0 2rem rgba(181, 31, 43, 0.23);
}

.rune-orbit span:nth-child(1) { left: 50%; top: -1.5rem; }
.rune-orbit span:nth-child(2) { right: -1.5rem; top: 50%; }
.rune-orbit span:nth-child(3) { left: 50%; bottom: -1.5rem; }
.rune-orbit span:nth-child(4) { left: -1.5rem; top: 50%; }

.market-section {
  background:
    radial-gradient(circle at 70% 40%, rgba(181, 155, 101, 0.16), transparent 23rem),
    linear-gradient(180deg, #050506, #0e0b0a 56%, #030304);
}

.market-stalls {
  right: clamp(1rem, 7vw, 8rem);
  bottom: 18%;
  width: min(33rem, 44vw);
  height: 22rem;
}

.awning,
.crate,
.lamp {
  position: absolute;
  display: block;
}

.awning {
  left: 1rem;
  top: 3rem;
  width: 26rem;
  height: 7rem;
  clip-path: polygon(0 100%, 12% 0, 88% 0, 100% 100%);
  background:
    repeating-linear-gradient(90deg, rgba(181, 31, 43, 0.58) 0 3.2rem, rgba(28, 28, 32, 0.9) 3.2rem 6.4rem);
  border-bottom: 4px solid rgba(216, 184, 111, 0.32);
}

.crate {
  bottom: 2rem;
  width: 9rem;
  height: 6rem;
  background: linear-gradient(135deg, rgba(181, 155, 101, 0.24), rgba(46, 33, 24, 0.82));
  border: 1px solid rgba(216, 184, 111, 0.24);
}

.crate-a { left: 2rem; }
.crate-b { left: 13rem; bottom: 3.4rem; }

.lamp {
  right: 3rem;
  top: 0;
  width: 0.35rem;
  height: 15rem;
  background: rgba(216, 184, 111, 0.4);
}

.lamp::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -2.2rem;
  width: 5rem;
  height: 5rem;
  transform: translateX(-50%);
  border-radius: 999px;
  background: radial-gradient(circle, rgba(216, 184, 111, 0.72), rgba(181, 31, 43, 0.18) 48%, transparent 70%);
}

.event-section {
  background:
    radial-gradient(circle at 50% 60%, rgba(181, 31, 43, 0.2), transparent 28rem),
    linear-gradient(180deg, #030304, #0a0a0c);
}

.vault-strata {
  inset: 0;
  z-index: -1;
}

.vault-strata span {
  position: absolute;
  left: -5vw;
  right: -5vw;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(216, 184, 111, 0.28), transparent);
}

.vault-strata span:nth-child(1) { top: 18%; }
.vault-strata span:nth-child(2) { top: 36%; }
.vault-strata span:nth-child(3) { top: 58%; }
.vault-strata span:nth-child(4) { top: 76%; }

.world-section {
  background:
    radial-gradient(circle at 18% 40%, rgba(181, 155, 101, 0.14), transparent 24rem),
    linear-gradient(180deg, #060607, #101012 55%, #040405);
}

.living-map {
  left: clamp(1rem, 7vw, 8rem);
  top: 50%;
  width: min(32rem, 43vw);
  height: 26rem;
  transform: translateY(-50%);
}

.node,
.map-line {
  position: absolute;
  display: block;
}

.node {
  width: 5.8rem;
  height: 4rem;
  border: 1px solid rgba(216, 184, 111, 0.36);
  border-radius: 7px;
  background: linear-gradient(180deg, rgba(27, 27, 31, 0.94), rgba(8, 8, 10, 0.96));
  box-shadow: 0 0 2.2rem rgba(0, 0, 0, 0.55);
}

.node-a { left: 1rem; top: 2rem; }
.node-b { right: 3rem; top: 5rem; }
.node-c { left: 7rem; bottom: 6rem; }
.node-d { right: 0; bottom: 2rem; border-color: rgba(181, 31, 43, 0.55); }

.map-line {
  height: 2px;
  background: linear-gradient(90deg, rgba(216, 184, 111, 0.58), rgba(181, 31, 43, 0.28));
  transform-origin: left center;
}

.line-a { left: 6rem; top: 5rem; width: 15rem; rotate: 10deg; }
.line-b { left: 6.5rem; top: 9rem; width: 10rem; rotate: 78deg; }
.line-c { right: 5rem; bottom: 7rem; width: 12rem; rotate: -18deg; }

.deepest-door {
  min-height: 105svh;
  background:
    radial-gradient(circle at 50% 58%, rgba(181, 31, 43, 0.28), transparent 18rem),
    radial-gradient(circle at 50% 74%, rgba(216, 184, 111, 0.14), transparent 24rem),
    linear-gradient(180deg, #040405, #020203);
}

.deep-door-art {
  left: 50%;
  bottom: -1rem;
  width: min(48rem, 88vw);
  height: 40rem;
  transform: translateX(-50%);
}

.deep-frame {
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 24rem;
  height: 34rem;
  transform: translateX(-50%);
  border-radius: 45% 45% 0 0;
  border: 2px solid rgba(216, 184, 111, 0.24);
  background: linear-gradient(180deg, rgba(23, 23, 27, 0.9), rgba(0, 0, 0, 0.92));
}

.deep-light {
  position: absolute;
  left: 50%;
  bottom: 3rem;
  width: 14rem;
  height: 28rem;
  transform: translateX(-50%);
  border-radius: 45% 45% 0 0;
  background: radial-gradient(ellipse at 50% 55%, rgba(181, 31, 43, 0.34), rgba(181, 155, 101, 0.12) 46%, transparent 72%);
  filter: blur(8px);
}

.deep-stairs {
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 36rem;
  height: 15rem;
  transform: translateX(-50%);
  clip-path: polygon(34% 0, 66% 0, 100% 100%, 0 100%);
  background: repeating-linear-gradient(180deg, rgba(216, 184, 111, 0.18) 0 0.18rem, rgba(0, 0, 0, 0.1) 0.18rem 1.55rem);
}

.final-copy {
  align-self: center;
  margin-top: -10rem;
}

.final-buttons {
  justify-content: center;
}

.landing-footer {
  position: relative;
  z-index: 5;
}

@media (prefers-reduced-motion: no-preference) {
  .door-seal,
  .rune-orbit {
    animation: slow-turn 42s linear infinite;
  }

  .fog-a {
    animation: drift-left 18s ease-in-out infinite alternate;
  }

  .fog-b {
    animation: drift-right 22s ease-in-out infinite alternate;
  }

  .scroll-cue::after {
    animation: pulse-line 1.8s ease-in-out infinite;
  }
}

@keyframes slow-turn {
  from { rotate: 0deg; }
  to { rotate: 360deg; }
}

@keyframes drift-left {
  from { translate: -2rem 0; }
  to { translate: 2rem 0; }
}

@keyframes drift-right {
  from { translate: 2rem 0; }
  to { translate: -2rem 0; }
}

@keyframes pulse-line {
  0%, 100% { opacity: 0.25; transform: scaleY(0.72); }
  50% { opacity: 1; transform: scaleY(1); }
}

@media (max-width: 1023px) {
  .split-section {
    grid-template-columns: 1fr;
  }

  .split-section > .landing-copy:last-child {
    justify-self: start;
  }

  .procedural-card,
  .party-chain,
  .market-stalls,
  .living-map {
    position: relative;
    left: auto;
    right: auto;
    top: auto;
    bottom: auto;
    width: min(32rem, 100%);
    transform: none;
    justify-self: center;
    order: -1;
  }

  .character-section .procedural-card {
    min-height: 20rem;
  }

  .party-chain {
    height: 12rem;
  }

  .market-stalls {
    height: 18rem;
  }

  .living-map {
    height: 20rem;
  }
}

@media (max-width: 767px) {
  .landing-header {
    padding-inline: 0.75rem;
  }

  .descent-section {
    min-height: auto;
    padding: clamp(4rem, 18vw, 6rem) 1rem;
  }

  .vault-entrance {
    min-height: 92svh;
    align-items: end;
  }

  .landing-copy h1 {
    max-width: 100%;
    overflow-wrap: break-word;
    font-size: clamp(2.45rem, 10.4vw, 3.35rem);
  }

  .landing-copy h2 {
    font-size: clamp(2.1rem, 11vw, 3.7rem);
  }

  .centered-copy {
    text-align: left;
    justify-self: start;
  }

  .final-buttons {
    justify-content: stretch;
  }

  .final-buttons .button {
    width: 100%;
  }

  .vault-door {
    width: 112vw;
    bottom: -2rem;
    opacity: 0.72;
  }

  .door-seal {
    width: 6rem;
    height: 6rem;
  }

  .hero-copy {
    width: 100%;
    max-width: calc(100vw - 2rem);
    padding-bottom: 5rem;
  }

  .landing-copy p,
  .landing-copy h2,
  .feature-list {
    max-width: 100%;
  }

  .procedural-card {
    min-height: 16rem;
  }

  .stat-rune {
    width: 3.5rem;
    height: 3.5rem;
    margin-top: 7.6rem;
  }

  .rune-orbit {
    width: 118vw;
    opacity: 0.32;
  }

  .deep-door-art {
    opacity: 0.58;
    width: 116vw;
  }

  .final-copy {
    margin-top: 0;
  }

  .scroll-cue {
    margin-top: 1rem;
  }
}

@media (max-width: 430px) {
  .landing-copy p,
  .feature-list {
    font-size: 1rem;
  }

  .button-row {
    align-items: stretch;
    flex-direction: column;
  }

  .button-row .button {
    width: 100%;
  }

  .party-chain span {
    width: 4.4rem;
  }

  .party-chain span:nth-child(2) { left: 5.7rem; }
  .party-chain span:nth-child(3) { left: 11.8rem; }
  .party-chain span:nth-child(4) { left: 17.5rem; }

  .awning {
    width: 21rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }

  [data-depth] {
    transform: none !important;
  }
}
