/* ============================================================
   LANDING.CSS
   Landing page styles (hero, entry cards, about, footer)
   ============================================================ */

/* ---- Hero section ---- */
.hero {
  position: relative;
  height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: var(--color-void);
  overflow: hidden;
  padding: var(--space-m);
  margin-top: var(--space-xl);
}

.hero__canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.hero__content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 100%;
}

.hero__name {
  font-family: var(--font-display-dark);
  font-size: var(--step-4);
  font-weight: 300;
  letter-spacing: 0.15em;
  color: var(--color-white);
  line-height: 1.1;
  margin-bottom: var(--space-m);
  text-transform: uppercase;
}

.hero__tagline {
  font-family: var(--font-body-dark);
  font-size: var(--step-0);
  letter-spacing: 0.08em;
  color: var(--color-silver-mist);
  margin-bottom: var(--space-2xl);
  text-transform: uppercase;
}

/* ---- Entry cards ---- */
.hero__cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-l);
  width: 100%;
  max-width: 1200px;
  margin-bottom: var(--space-2xl);
}

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

.entry-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 420px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 2px;
  padding: var(--space-m);
  transition: transform 0.3s ease, border-color 0.3s ease;
  text-decoration: none;
  background: var(--color-void-mid);
  background-size: cover;
  background-position: center;
}

.entry-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 255, 255, 0.16);
}

.entry-card--cosmos {
  background-color: #000000;
  background-image: url('https://images-assets.nasa.gov/image/PIA06077/PIA06077~orig.jpg');
  background-size: 70%;
  background-repeat: no-repeat;
  background-position: center bottom;
}

.entry-card--verses {
  background-color: #f5f0e8;
}

.entry-card--studio {
  background-image: url('https://upload.wikimedia.org/wikipedia/commons/thumb/e/ea/Van_Gogh_-_Starry_Night_-_Google_Art_Project.jpg/1280px-Van_Gogh_-_Starry_Night_-_Google_Art_Project.jpg');
}

.entry-card__label {
  font-family: var(--font-body-dark);
  font-size: var(--step-1);
  letter-spacing: 0.06em;
  color: var(--color-white);
  text-transform: uppercase;
}

.entry-card__text {
  font-family: var(--font-display);
  font-style: italic;
  font-size: var(--step--1);
  line-height: 1.6;
  color: #2c2416;
  text-align: center;
  max-width: 280px;
  padding: var(--space-m);
}

.entry-card__text p {
  margin: 0.5em 0;
  color: #2c2416;
}

/* ---- Scroll chevron ---- */
.scroll-chevron {
  position: absolute;
  bottom: var(--space-l);
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
  font-size: 0;
}

.scroll-chevron::before {
  content: "";
  display: inline-block;
  width: 24px;
  height: 24px;
  border-right: 2px solid var(--color-silver-mist);
  border-bottom: 2px solid var(--color-silver-mist);
  transform: rotate(45deg) translateY(0);
  animation: chevron-bounce 2s ease-in-out infinite;
}

@keyframes chevron-bounce {
  0%, 100% {
    transform: rotate(45deg) translateY(0);
    opacity: 1;
  }
  50% {
    transform: rotate(45deg) translateY(6px);
    opacity: 0.4;
  }
}

@media (prefers-reduced-motion: reduce) {
  .scroll-chevron::before {
    animation: none;
    opacity: 0.6;
  }
}

/* ---- About strip ---- */
.about {
  background: var(--color-void-mid);
  padding: var(--space-xl) var(--space-m);
}

.about__inner {
  display: grid;
  gap: var(--space-l);
  align-items: center;
  max-width: var(--max-content);
  margin: 0 auto;
}

@media (min-width: 1024px) {
  .about__inner {
    grid-template-columns: 1fr 1fr;
  }
}

.about__bio {
  font-family: var(--font-body-dark);
  font-size: var(--step-0);
  line-height: 1.8;
  color: var(--color-silver-mist);
}

.about__bio em {
  font-style: italic;
  color: var(--color-white);
}

.about__image {
  width: 100%;
  max-width: 400px;
  aspect-ratio: 1;
  margin: 0 auto;
  background: var(--color-void);
  border: 1px solid rgba(255, 255, 255, 0.08);
  overflow: hidden;
}

.about__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ---- Footer ---- */
footer {
  background: var(--color-void);
  padding: var(--space-l) var(--space-m);
}

/* ---- Responsive tweaks ---- */
@media (max-width: 599px) {
  .hero {
    margin-top: var(--space-l);
    padding-top: var(--space-l);
  }

  .hero__name {
    font-size: var(--step-3);
  }

  .hero__tagline {
    font-size: var(--step--1);
  }

  .scroll-chevron {
    bottom: var(--space-m);
  }
}
