.home-page {
  overflow: clip;
}

.home-page .section {
  position: relative;
}

.home-hero {
  padding-block: clamp(4rem, 10vw, 9rem) clamp(4rem, 8vw, 7rem);
  background:
    radial-gradient(circle at 78% 43%, rgb(145 184 163 / 0.14), transparent 27rem),
    linear-gradient(135deg, var(--color-ink-950) 0%, var(--color-ink-900) 56%, var(--color-forest-800) 100%);
}

.home-hero__grid,
.home-about__grid,
.home-gameplay__grid,
.home-features__grid,
.home-world__grid,
.home-strategy__grid,
.home-audience__grid,
.home-faq__grid {
  display: grid;
  min-width: 0;
}

.home-hero__grid {
  grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  gap: clamp(2rem, 5vw, 6rem);
  align-items: center;
}

.home-hero__copy,
.home-hero__visual,
.home-about__intro,
.home-about__pace,
.home-about__mood,
.home-gameplay__copy,
.home-gameplay__visual,
.home-features__intro,
.home-features__rhythm,
.home-features__nature,
.home-features__challenge,
.home-features__notice,
.home-world__visual,
.home-world__copy,
.home-strategy__intro,
.home-strategy__tip,
.home-strategy__close,
.home-audience__intro,
.home-audience__classic,
.home-audience__pace,
.home-audience__mood,
.home-faq__intro,
.home-faq__list {
  min-width: 0;
}

.home-hero__copy {
  width: 100%;
  max-width: 48ch;
}

.home-hero__lead {
  max-width: 48ch;
  color: var(--color-text-muted);
  font-size: clamp(1rem, 1.5vw, 1.125rem);
}

.home-hero__actions {
  display: flex;
  min-width: 0;
  flex-wrap: wrap;
  gap: var(--space-3);
  margin-block: var(--space-8) var(--space-3);
}

.home-hero__actions > * {
  min-width: 0;
  width: auto;
}

.home-hero__disclaimer {
  margin-block-end: 0;
  color: var(--color-text-muted);
  font-size: var(--text-small);
}

.home-hero__visual {
  width: min(100%, 31rem);
  justify-self: end;
  margin: 0;
  border-radius: var(--radius-hero);
}

.home-hero__visual img {
  aspect-ratio: 9 / 16;
  object-position: center;
}

.home-hero__visual figcaption {
  padding: var(--space-3) var(--space-4) var(--space-4);
}

.home-about__grid {
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: var(--space-6);
  align-items: start;
}

.home-about__intro {
  grid-column: 1 / span 5;
  width: 100%;
  max-width: 48ch;
}

.home-about__pace {
  grid-column: 7 / span 5;
  width: 100%;
  max-width: 58ch;
  margin-top: var(--space-16);
  padding-inline-start: var(--space-6);
  border-inline-start: 2px solid var(--color-sage-300);
}

.home-about__mood {
  grid-column: 7 / span 5;
  width: 100%;
  margin-top: var(--space-4);
  border-color: rgb(145 184 163 / 0.62);
}

.home-about__mood > :last-child,
.home-gameplay__challenge > :last-child,
.home-features__nature > :last-child,
.home-strategy__close > :last-child,
.home-audience__pace > :last-child,
.home-audience__mood > :last-child {
  margin-block-end: 0;
}

.home-gameplay {
  border-block: 1px solid var(--color-border);
}

.home-gameplay__grid {
  grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: start;
}

.home-gameplay__copy {
  width: 100%;
  max-width: 60ch;
}

.home-gameplay__steps {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: var(--space-4);
  padding: 0;
  list-style: none;
}

.home-gameplay__steps li {
  min-width: 0;
  padding-inline-start: var(--space-8);
  position: relative;
}

.home-gameplay__steps li::before {
  position: absolute;
  left: 0;
  color: var(--color-gold-400);
  content: "—";
  font-weight: 700;
}

.home-gameplay__challenge {
  width: 100%;
  margin-top: var(--space-8);
}

.home-gameplay__cta {
  display: flex;
  min-width: 0;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--space-4);
  width: 100%;
  max-width: 42ch;
  margin-top: var(--space-8);
}

.home-gameplay__cta p {
  margin: 0;
}

.home-gameplay__cta .button {
  width: auto;
}

.home-gameplay__visual {
  width: 100%;
  margin: 0;
  align-self: center;
}

.home-gameplay__visual img,
.home-world__visual img {
  aspect-ratio: 16 / 10;
  object-position: center;
}

.home-gameplay__visual figcaption,
.home-world__visual figcaption {
  padding: var(--space-3) var(--space-4) var(--space-4);
}

.home-features__grid {
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: var(--space-8) var(--space-6);
  align-items: start;
}

.home-features__intro {
  grid-column: 1 / span 5;
  width: 100%;
  max-width: 46ch;
}

.home-features__rhythm {
  grid-column: 1 / span 5;
  width: 100%;
  max-width: 58ch;
}

.home-features__nature {
  grid-column: 7 / span 4;
  width: 100%;
  background: var(--color-forest-800);
}

.home-features__corner {
  display: block;
  margin-block-end: var(--space-4);
  color: var(--color-gold-400);
  font-size: 1.25rem;
}

.home-features__challenge {
  grid-column: 8 / span 4;
  width: 100%;
  max-width: 56ch;
  padding-top: var(--space-6);
  border-top: 1px solid var(--color-gold-400);
}

.home-features__notice {
  display: flex;
  grid-column: 1 / span 10;
  min-width: 0;
  align-items: baseline;
  gap: var(--space-6);
  width: 100%;
  padding: var(--space-4) var(--space-6);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-control);
  background: rgb(16 24 39 / 0.68);
}

.home-features__notice > * {
  min-width: 0;
}

.home-features__notice span {
  flex: 0 0 auto;
  color: var(--color-gold-400);
  font-size: var(--text-eyebrow);
  font-weight: 700;
  letter-spacing: 0.14em;
  line-height: 1.3;
  text-transform: uppercase;
}

.home-features__notice p {
  margin: 0;
}

.home-world__grid {
  grid-template-columns: minmax(0, 7fr) minmax(0, 4fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
}

.home-world__visual {
  width: 100%;
  margin: 0;
}

.home-world__copy {
  width: 100%;
  max-width: 54ch;
}

.home-world__quote {
  margin-top: var(--space-8);
  padding-top: var(--space-6);
  border-top: 1px solid var(--color-gold-400);
}

.home-world__quote > :first-child {
  color: var(--color-ivory-100);
  font-family: var(--font-serif);
  font-size: clamp(1.625rem, 2.5vw, 2rem);
  line-height: 1.2;
}

.home-world__quote > :last-child {
  margin-block-end: 0;
}

.home-strategy {
  border-block: 1px solid var(--color-border);
}

.home-strategy__grid {
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: var(--space-8) var(--space-6);
  align-items: start;
}

.home-strategy__intro {
  grid-column: 1 / span 5;
  width: 100%;
  max-width: 48ch;
}

.home-strategy__tip--first {
  grid-column: 1 / span 5;
  width: 100%;
  max-width: 56ch;
}

.home-strategy__tip--first span {
  display: block;
  margin-block-end: var(--space-2);
  color: var(--color-gold-400);
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.home-strategy__tip--second {
  grid-column: 7 / span 4;
  width: 100%;
  max-width: 54ch;
  padding-top: var(--space-6);
  border-top: 1px solid var(--color-border);
}

.home-strategy__close {
  grid-column: 6 / span 5;
  width: 100%;
  max-width: 42ch;
  background: var(--color-forest-800);
}

.home-gallery__intro {
  width: 100%;
  max-width: 46ch;
  margin-inline: auto;
  text-align: center;
}

.home-gallery__intro .editorial-rule {
  margin-inline: auto;
}

.home-gallery__strip {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: var(--space-6);
  align-items: start;
}

.home-gallery__figure {
  min-width: 0;
  width: 100%;
  margin: 0;
}

.home-gallery__figure--cards {
  grid-column: 2 / span 4;
}

.home-gallery__figure--landscape {
  grid-column: 7 / span 5;
  margin-top: var(--space-14, 3.5rem);
}

.home-gallery__figure .frame {
  width: 100%;
  transition: transform var(--transition-base), filter var(--transition-base);
}

.home-gallery__figure img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center;
}

.home-gallery__figure:hover .frame,
.home-gallery__figure:focus-within .frame {
  filter: brightness(1.08);
  transform: translateY(-2px);
}

.home-gallery__figure figcaption {
  max-width: 32ch;
}

.home-audience {
  border-block: 1px solid var(--color-border);
}

.home-audience__grid {
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: var(--space-8) var(--space-6);
  align-items: start;
}

.home-audience__intro {
  grid-column: 1 / span 5;
  width: 100%;
  max-width: 48ch;
}

.home-audience__classic {
  grid-column: 1 / span 4;
  width: 100%;
  max-width: 54ch;
}

.home-audience__pace {
  grid-column: 6 / span 4;
  width: 100%;
}

.home-audience__mood {
  grid-column: 3 / span 6;
  width: 100%;
  background: var(--color-forest-800);
}

.home-audience__links {
  display: flex;
  min-width: 0;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--space-3);
  margin-top: var(--space-6);
}

.home-audience__links a {
  min-width: 0;
}

.home-faq__grid {
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: var(--space-8) var(--space-6);
  align-items: start;
}

.home-faq__intro {
  grid-column: 1 / span 5;
  width: 100%;
  max-width: 45ch;
}

.home-faq__list {
  grid-column: 1 / span 8;
  width: 100%;
  max-width: 60ch;
}

.home-faq__list details {
  margin: 0;
  border-top: 1px solid var(--color-border);
  border-bottom: 0;
}

.home-faq__list details:last-child {
  border-bottom: 1px solid var(--color-border);
}

.home-faq__list summary {
  min-height: 3.5rem;
  padding: var(--space-3) 0;
}

.home-faq__list details > :not(summary) {
  padding-block: 0 var(--space-6);
}

.home-faq__list details p {
  margin: 0;
}

.home-final-cta {
  overflow: hidden;
  padding-block: clamp(4rem, 8vw, 7rem);
  background:
    radial-gradient(circle at 50% 35%, rgb(184 115 74 / 0.24), transparent 24rem),
    linear-gradient(135deg, var(--color-forest-800), var(--color-ink-950) 72%);
  border-top: 1px solid var(--color-border);
}

.home-final-cta__content {
  display: flex;
  min-width: 0;
  flex-direction: column;
  align-items: center;
  gap: var(--space-4);
  width: 100%;
  max-width: 52ch;
  text-align: center;
}

.home-final-cta__content > * {
  min-width: 0;
  margin: 0;
}

.home-final-cta__content .eyebrow {
  margin-bottom: 0;
}

.home-final-cta__content h2 {
  max-width: 18ch;
}

.home-final-cta__content p {
  max-width: 46ch;
}

.home-final-cta__content .button {
  width: auto;
  margin-top: var(--space-2);
}

@media (max-width: 63.9375rem) {
  .home-hero__grid {
    grid-template-columns: minmax(0, 3fr) minmax(0, 5fr);
    gap: var(--space-8);
  }

  .home-hero__visual {
    width: 100%;
  }

  .home-about__grid,
  .home-features__grid,
  .home-strategy__grid,
  .home-audience__grid,
  .home-faq__grid {
    grid-template-columns: repeat(8, minmax(0, 1fr));
    gap: var(--space-6) var(--space-5, 1.25rem);
  }

  .home-about__intro,
  .home-features__intro,
  .home-strategy__intro,
  .home-audience__intro,
  .home-faq__intro {
    grid-column: 1 / span 5;
  }

  .home-about__pace,
  .home-about__mood {
    grid-column: 5 / span 4;
  }

  .home-gameplay__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: var(--space-8);
  }

  .home-gameplay__copy,
  .home-gameplay__visual {
    width: 100%;
  }

  .home-features__rhythm,
  .home-features__nature {
    grid-column: span 4;
  }

  .home-features__challenge,
  .home-features__notice {
    grid-column: 1 / -1;
  }

  .home-world__grid {
    grid-template-columns: minmax(0, 5fr) minmax(0, 3fr);
    gap: var(--space-6);
  }

  .home-strategy__tip--first {
    grid-column: 1 / span 4;
  }

  .home-strategy__tip--second {
    grid-column: 5 / span 4;
  }

  .home-strategy__close {
    grid-column: 2 / span 6;
  }

  .home-gallery__strip {
    grid-template-columns: repeat(8, minmax(0, 1fr));
  }

  .home-gallery__figure--cards {
    grid-column: 1 / span 3;
  }

  .home-gallery__figure--landscape {
    grid-column: 5 / span 4;
  }

  .home-audience__classic,
  .home-audience__pace {
    grid-column: span 4;
  }

  .home-audience__mood {
    grid-column: 1 / -1;
  }

  .home-faq__list {
    grid-column: 1 / span 7;
  }
}

@media (max-width: 56.1875rem) {
  .home-gameplay__grid,
  .home-world__grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .home-gameplay__visual {
    grid-row: 2;
  }

  .home-gameplay__copy {
    grid-row: 1;
  }

  .home-world__copy {
    grid-row: 1;
  }

  .home-world__visual {
    grid-row: 2;
  }
}

@media (max-width: 47.9375rem) {
  .home-hero {
    padding-block: var(--space-16);
  }

  .home-hero__grid,
  .home-about__grid,
  .home-gameplay__grid,
  .home-features__grid,
  .home-world__grid,
  .home-strategy__grid,
  .home-audience__grid,
  .home-faq__grid {
    grid-template-columns: minmax(0, 1fr);
    gap: var(--space-8);
  }

  .home-hero__copy,
  .home-hero__visual,
  .home-about__intro,
  .home-about__pace,
  .home-about__mood,
  .home-gameplay__copy,
  .home-gameplay__visual,
  .home-features__intro,
  .home-features__rhythm,
  .home-features__nature,
  .home-features__challenge,
  .home-features__notice,
  .home-world__visual,
  .home-world__copy,
  .home-strategy__intro,
  .home-strategy__tip--first,
  .home-strategy__tip--second,
  .home-strategy__close,
  .home-audience__intro,
  .home-audience__classic,
  .home-audience__pace,
  .home-audience__mood,
  .home-faq__intro,
  .home-faq__list {
    grid-column: 1;
    width: 100%;
    max-width: none;
    margin-top: 0;
  }

  .home-hero__copy {
    max-width: 38ch;
  }

  .home-hero__lead {
    max-width: 38ch;
  }

  .home-hero__actions {
    flex-direction: column;
    flex-wrap: nowrap;
  }

  .home-hero__actions > * {
    width: 100%;
  }

  .home-hero__visual {
    justify-self: stretch;
  }

  .home-hero__visual img {
    aspect-ratio: 4 / 3;
    object-position: center;
  }

  .home-about__pace {
    padding-inline-start: var(--space-4);
  }

  .home-gameplay__visual {
    grid-row: 2;
  }

  .home-gameplay__copy {
    grid-row: 1;
  }

  .home-gameplay__cta .button,
  .home-final-cta__content .button {
    width: 100%;
  }

  .home-features__notice {
    flex-direction: column;
    gap: var(--space-2);
    padding: var(--space-4);
  }

  .home-world__copy {
    grid-row: 1;
  }

  .home-world__visual {
    grid-row: 2;
  }

  .home-strategy__tip--second {
    padding-top: var(--space-4);
  }

  .home-gallery__intro {
    max-width: 46ch;
  }

  .home-gallery__strip {
    display: flex;
    width: 100%;
    margin: 0;
    padding-inline: var(--gutter);
    gap: var(--space-4);
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: thin;
  }

  .home-gallery__figure,
  .home-gallery__figure--cards,
  .home-gallery__figure--landscape {
    flex: 0 0 78vw;
    width: 78vw;
    margin-top: 0;
    scroll-snap-align: start;
  }

  .home-audience__links {
    gap: var(--space-4);
  }

  .home-faq__list summary {
    min-height: 3.5rem;
  }

  .home-final-cta__content {
    gap: var(--space-4);
  }
}

@media (prefers-reduced-motion: reduce) {
  .home-gallery__figure:hover .frame,
  .home-gallery__figure:focus-within .frame {
    transform: none;
  }
}
