.hero-art-image {
  margin: 0;
  min-height: auto;
  aspect-ratio: 4 / 3;
  background: #1d122e;
  display: block;
}

.hero-art-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.door-grid {
  align-items: stretch;
}

.door-card {
  display: grid;
  grid-template-rows: auto 1fr;
  color: var(--ink);
  text-decoration: none;
  cursor: pointer;
}

.door-card:hover,
.door-card:focus-visible {
  transform: translateY(-0.08rem);
  box-shadow: 0 1.1rem 2.7rem rgba(9, 5, 18, 0.28);
}

.door-card:focus-visible,
.first-path-link:focus-visible {
  outline: 3px solid var(--focus-ring);
  outline-offset: 4px;
}

.door-card__visual {
  min-height: 8.8rem;
  display: block;
  background-size: 100% 100%, cover;
  background-position: center, center;
  background-repeat: no-repeat;
  border: 1px solid rgba(255, 248, 232, 0.54);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.28),
    0 0.75rem 1.8rem rgba(9, 5, 18, 0.16);
}

.door-card__content {
  display: flex;
  flex-direction: column;
  height: 100%;
  gap: 0.5rem;
}

.door-card__content > p:not(.door-card__label) {
  margin-bottom: 0;
}

.door-card__visual::before,
.door-card__visual::after,
.door-card__shape,
.door-card__actions {
  display: none;
}

.door-card--read .door-card__visual {
  background-image:
    linear-gradient(180deg, rgba(29, 18, 46, 0.02), rgba(29, 18, 46, 0.12)),
    url('/images/door-read.webp?v=2026-05-22-cropped-03');
}

.door-card--world .door-card__visual {
  background-image:
    linear-gradient(180deg, rgba(29, 18, 46, 0.02), rgba(29, 18, 46, 0.12)),
    url('/images/door-world.webp?v=2026-05-22-cropped-03');
}

.door-card--language .door-card__visual {
  background-image:
    linear-gradient(180deg, rgba(29, 18, 46, 0.02), rgba(29, 18, 46, 0.12)),
    url('/images/door-language.webp?v=2026-05-22-cropped-03');
}

.door-card--artefacts .door-card__visual {
  background-image:
    linear-gradient(180deg, rgba(29, 18, 46, 0.02), rgba(29, 18, 46, 0.12)),
    url('/images/door-artefacts.webp?v=2026-05-22-cropped-03');
}

.first-path-panel {
  margin: 1rem 0;
  padding: clamp(1rem, 2.3vw, 1.55rem);
  display: grid;
  grid-template-columns: minmax(13rem, 0.42fr) minmax(0, 1fr);
  gap: clamp(1rem, 2.4vw, 1.55rem);
  align-items: center;
  border: 1px solid rgba(255, 248, 232, 0.52);
  border-radius: 1.35rem;
  background:
    radial-gradient(circle at 12% 20%, rgba(255, 255, 255, 0.45), transparent 10rem),
    rgba(255, 241, 199, 0.88);
  box-shadow: 0 1rem 2.6rem rgba(9, 5, 18, 0.2);
}

.first-path-image {
  min-height: 9.2rem;
  border-radius: 1rem;
  background-image:
    linear-gradient(180deg, rgba(29, 18, 46, 0.02), rgba(29, 18, 46, 0.12)),
    url('/images/lina-first-path.svg?v=2026-05-22-01');
  background-size: 100% 100%, cover;
  background-position: center, center;
  background-repeat: no-repeat;
  border: 1px solid rgba(255, 248, 232, 0.62);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.42),
    0 0.75rem 1.8rem rgba(9, 5, 18, 0.16);
}

.first-path-copy h2 {
  margin: 0;
  font-size: clamp(1.5rem, 2.8vw, 2.15rem);
  line-height: 1.08;
  letter-spacing: -0.035em;
}

.first-path-copy p:not(.eyebrow) {
  margin: 0.55rem 0 0;
  max-width: 44rem;
}

.first-path-link {
  width: fit-content;
  margin-top: 0.95rem;
}

@media (min-width: 901px) {
  .hero-illustrated {
    grid-template-columns: minmax(0, 0.95fr) minmax(22rem, 0.85fr);
    align-items: center;
  }
}

@media (max-width: 900px) {
  .hero-art-image {
    aspect-ratio: 16 / 10;
  }

  .first-path-panel {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 520px) {
  .hero-art-image {
    aspect-ratio: 4 / 3;
  }

  .door-card__visual {
    min-height: 7.8rem;
  }

  .first-path-panel {
    border-radius: 1rem;
    padding: 1rem;
  }

  .first-path-image {
    min-height: 7.8rem;
  }

  .first-path-link {
    width: 100%;
  }
}
