body.landing {
  min-height: 100vh;
  overflow-x: hidden;
}

body.landing .account-chip,
body.landing .site-account-slot--floating {
  display: none;
}

body.landing-page .hero-secondary {
  display: none;
}

.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  align-items: stretch;
  background:
    linear-gradient(105deg, rgba(8, 10, 9, 0.9) 0%, rgba(8, 10, 9, 0.42) 46%, rgba(8, 10, 9, 0.72) 100%),
    url('../assets/backgrounds/landing_cave.png') center/cover no-repeat,
    url('../assets/backgrounds/landing-hero.svg') center/cover no-repeat,
    radial-gradient(circle at 72% 42%, #4a1a14, #0a0d0c 68%);
}

.hero::before {
  content: '';
  position: absolute;
  inset: auto 0 0 0;
  height: 28%;
  background: linear-gradient(0deg, rgba(10, 13, 12, 0.96), transparent);
  pointer-events: none;
  z-index: 1;
}

.hero-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.92fr);
  gap: clamp(1.25rem, 4vw, 3.5rem);
  align-items: center;
  width: min(1180px, calc(100% - 2 * clamp(1.15rem, 4vw, 2.75rem)));
  margin: 0 auto;
  min-height: 100svh;
  padding: clamp(5.75rem, 12vh, 7.5rem) 0 clamp(2.5rem, 6vh, 4rem);
}

.hero-copy {
  display: grid;
  gap: 0.95rem;
  max-width: 36rem;
  align-content: center;
}

.brand-row {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.brand-seal {
  width: clamp(3.4rem, 7vw, 4.6rem);
  height: clamp(3.4rem, 7vw, 4.6rem);
  flex-shrink: 0;
  object-fit: contain;
  border-radius: 50%;
  border: 2px solid rgba(242, 193, 78, 0.45);
  filter: drop-shadow(0 8px 18px rgba(0, 0, 0, 0.5));
  background: transparent;
  padding: 0.12rem;
}

.brand {
  font-family: var(--font-display);
  font-size: clamp(2.1rem, 5.2vw, 3.35rem);
  line-height: 0.95;
  margin: 0;
  color: var(--cream);
  letter-spacing: -0.02em;
  text-shadow: 0 6px 28px rgba(0, 0, 0, 0.7);
}

.brand span {
  display: block;
  color: var(--gold);
}

.hero-kicker {
  margin: 0;
  font-family: var(--font-ui);
  font-size: 0.74rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--teal);
  font-weight: 700;
}

.hero h1 {
  margin: 0.15rem 0 0;
  font-family: var(--font-display);
  font-size: clamp(1.55rem, 3.4vw, 2.35rem);
  line-height: 1.15;
  color: var(--cream);
  font-weight: 700;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.55);
}

.hero-lead {
  font-family: var(--font-story);
  font-size: clamp(1.02rem, 1.7vw, 1.18rem);
  max-width: 36ch;
  margin: 0;
  color: var(--bone);
  line-height: 1.5;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 0.35rem;
}

.cta-row .btn-primary {
  min-width: 11rem;
}

.hero-art {
  display: grid;
  place-items: center end;
  min-height: 0;
  align-self: stretch;
}

.hero-dragon {
  display: block;
  width: min(100%, 38rem);
  height: auto;
  max-height: min(72vh, 640px);
  object-fit: contain;
  object-position: center bottom;
  mix-blend-mode: lighten;
  filter: drop-shadow(0 18px 40px rgba(0, 0, 0, 0.55));
  pointer-events: none;
  user-select: none;
}

.hero-secondary {
  position: absolute;
  z-index: 3;
  top: 1rem;
  left: 1rem;
  right: 1rem;
  display: flex;
  justify-content: flex-end;
  gap: 0.85rem;
  font-size: 0.85rem;
}

.hero-secondary a {
  color: var(--bone-dim);
  border-bottom: 1px solid transparent;
  padding-bottom: 0.1rem;
}

.hero-secondary a:hover {
  color: var(--cream);
  border-bottom-color: var(--teal);
}

@media (max-width: 900px) {
  body.landing-page .hero,
  .hero {
    min-height: auto;
  }

  .hero-inner {
    grid-template-columns: 1fr;
    min-height: auto;
    padding: 5.25rem 0 2.25rem;
    gap: 1.25rem;
  }

  .hero-copy {
    max-width: none;
    order: 2;
  }

  .hero-art {
    order: 1;
    place-items: center;
    max-height: 42vh;
  }

  .hero-dragon {
    width: min(72vw, 22rem);
    max-height: 38vh;
  }

  .hero-lead {
    max-width: 42ch;
  }
}

@media (max-width: 520px) {
  .brand {
    font-size: clamp(1.85rem, 10vw, 2.4rem);
  }

  .cta-row .btn {
    flex: 1 1 100%;
    text-align: center;
  }
}
