.home {
  background: #f8f5eb;
}

.home > header,
.home > main,
.home > footer {
  max-width: 1220px;
}

.home > main {
  padding-top: 8px;
}

.home .social-link {
  font-weight: bold;
  color: #25614d;
}

.home-hero {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(0, 1.14fr);
  align-items: stretch;
  overflow: hidden;
  border-radius: 28px;
  background: linear-gradient(140deg, #203f32, #122e27);
  color: #fff4d8;
}

.hero-copy {
  align-self: center;
  padding: clamp(30px, 4.25vw, 62px);
}

.hero-copy .studio {
  margin: 0 0 12px;
  color: #ffce75;
  font-weight: bold;
  font-size: 13px;
  letter-spacing: 1px;
  text-align: right;
}

.home-hero h1 {
  margin: 0;
  font-size: clamp(44px, 5.2vw, 74px);
  line-height: 1.2;
}

.hero-copy > p:not(.studio) {
  margin: 20px 0 0;
  color: #f0efde;
  font-size: clamp(15px, 1.3vw, 17px);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 18px;
  margin-top: 26px;
}

.hero-actions .button {
  align-items: center;
  gap: 9px;
  margin: 0;
  padding: 10px 16px;
  background: #f9ce77;
  font-size: 14px;
  font-weight: bold;
}

.hero-actions .button:hover {
  background: #ffe0a3;
}

.play-icon {
  display: inline-block;
  width: 0;
  height: 0;
  border-block: 5px solid transparent;
  border-left: 8px solid currentColor;
}

.hero-more {
  padding-block: 8px;
  color: #f7ebc8;
  font-size: 14px;
}

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

.home-section,
.story-section {
  margin-top: clamp(32px, 5.5vw, 72px);
}

.home-section h2,
.story-section h2 {
  margin: 0 0 18px;
  line-height: 1.4;
  font-size: clamp(26px, 3vw, 39px);
}

.story-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 340px);
  gap: clamp(22px, 5.4vw, 78px);
  align-items: center;
  padding: clamp(24px, 5vw, 64px);
  border: 1px solid #d2e2d8;
  border-radius: 26px;
  background: linear-gradient(140deg, #ecf5ed, #e0ecdc);
}

.story-copy {
  max-width: 44rem;
}

.story-copy p {
  margin: 0;
  color: #3d5548;
  font-size: clamp(15px, 1.5vw, 19px);
}

.story-copy .story-lead {
  margin-bottom: 12px;
}

.story-film {
  width: min(100%, 280px);
  margin: 0 auto;
  scroll-margin-top: 16px;
}

.story-film video {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 9 / 16;
  border: 1px solid #294e3a;
  border-radius: 20px;
  background: #132f27;
}

.story-film figcaption {
  margin-top: 7px;
  text-align: center;
  color: #3d5548;
  font-size: 13px;
}

.mode-grid,
.guide-grid {
  display: grid;
  gap: 16px;
}

.mode-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.guide-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.mode-card,
.guide-card {
  min-width: 0;
  border: 1px solid #e0e4d7;
  border-radius: 20px;
  background: #fffdf7;
}

.mode-card,
.guide-copy {
  padding: clamp(18px, 2.6vw, 30px);
}

.mode-card h3,
.guide-copy h3 {
  margin: 0 0 6px;
  font-size: 20px;
  line-height: 1.55;
}

.mode-card p,
.guide-copy p {
  margin: 0;
  color: #43594c;
  font-size: 15px;
}

.guide-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  text-decoration: none;
}

.guide-card > img {
  display: block;
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: contain;
  padding: clamp(9px, 1.6vw, 18px);
  background: #ece5d5;
  border-bottom: 1px solid #e0e4d7;
}

.guide-link {
  display: inline-flex;
  gap: 7px;
  align-items: center;
  margin-top: 12px;
  color: #245b46;
  font-size: 14px;
  font-weight: bold;
}

.guide-card:hover .guide-link {
  text-decoration: underline;
}

.home .contact h2 {
  font-size: 24px;
  margin-bottom: 0;
}

.home .contact p {
  margin: 7px 0 0;
}

@media (min-width: 941px) and (max-width: 1080px) {
  .hero-copy {
    padding: 30px;
  }
}

@media (max-width: 940px) {
  .home-hero {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero-art {
    grid-row: 1;
    height: auto;
  }

  .hero-copy {
    padding: 25px 26px 30px;
  }

  .home-hero h1 br {
    display: none;
  }

  .home-hero h1 {
    font-size: clamp(36px, 6.2vw, 54px);
  }

  .hero-actions {
    margin-top: 18px;
  }

  .story-section {
    grid-template-columns: minmax(0, 1fr) minmax(0, 240px);
  }
}

@media (max-width: 610px) {
  .home > header,
  .home > main,
  .home > footer {
    padding-inline: 16px;
  }

  .home > header {
    padding-block: 14px;
    gap: 11px;
  }

  .home .brand img {
    width: 42px;
    height: 42px;
    border-radius: 12px;
  }

  .home nav {
    gap: 6px 15px;
  }

  .home nav a {
    font-size: 13px;
  }

  .home-hero,
  .story-section {
    border-radius: 20px;
  }

  .hero-copy {
    padding-inline: 22px;
  }

  .story-section,
  .mode-grid,
  .guide-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .story-film {
    width: min(100%, 260px);
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
