.home-page {
  --home-ink: #1f3027;
  --home-muted: #67736a;
  --home-forest: #153b2c;
  --home-leaf: #245c3d;
  --home-gold: #f4c95d;
  --home-cream: #f7f5ee;
  --home-line: #e6e4da;
  background: #fff;
  color: var(--home-ink);
  font-family: 'Inter', sans-serif;
}

.home-page h1,
.home-page h2,
.home-page h3 {
  font-family: Georgia, 'Times New Roman', serif;
  letter-spacing: -0.035em;
}

.home-page a:focus-visible {
  outline: 3px solid var(--home-gold);
  outline-offset: 3px;
}

.home-hero {
  position: relative;
  overflow: hidden;
  padding: clamp(4rem, 8vw, 7.5rem) 1.5rem;
  color: #fff;
  background:
    radial-gradient(ellipse at 85% 15%, rgba(244, 201, 93, 0.15), transparent 30rem),
    linear-gradient(125deg, #102b20 0%, #1b4b34 100%);
}

.home-hero::before {
  position: absolute;
  top: -8rem;
  left: -6rem;
  width: 25rem;
  height: 25rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 50%;
  content: "";
  pointer-events: none;
}

.home-hero__layout {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(20rem, 0.92fr);
  align-items: center;
  gap: clamp(2.5rem, 7vw, 7rem);
  width: min(100%, 1260px);
  margin: 0 auto;
}

.home-hero__content {
  max-width: 39rem;
}

.home-hero__copy h1 {
  max-width: 12ch;
  margin: 0;
  font-size: clamp(3.3rem, 6.5vw, 6.3rem);
  line-height: 0.99;
}

.home-hero__copy h1 span:last-child {
  color: var(--home-gold);
}

.home-hero__copy p {
  max-width: 37rem;
  margin: 1.65rem 0 0;
  padding: 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: clamp(1rem, 1.4vw, 1.2rem);
  line-height: 1.8;
}

.home-hero__copy br {
  display: none;
}

.home-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.8rem;
}

.home-hero__actions a {
  min-height: 3.25rem;
  padding: 0.85rem 1.35rem;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 0.95rem;
  font-weight: 700;
  transition: background-color 180ms ease, color 180ms ease, transform 180ms ease;
}

.home-hero__actions a:hover {
  transform: translateY(-2px);
}

.home-hero__actions a:first-child {
  color: #1f3027;
  background: var(--home-gold);
}

.home-hero__actions a:first-child:hover {
  background: #ffda78;
}

.home-hero__actions a:last-child {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.5);
  background: rgba(255, 255, 255, 0.06);
}

.home-hero__actions a:last-child:hover {
  background: rgba(255, 255, 255, 0.15);
}

.home-hero__visual {
  position: relative;
  padding: 0.8rem;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 2rem;
  background: rgba(255, 255, 255, 0.08);
  transform: rotate(1.5deg);
}

.home-hero__visual::after {
  position: absolute;
  right: -0.8rem;
  bottom: -0.8rem;
  width: 7rem;
  height: 7rem;
  border-right: 2px solid var(--home-gold);
  border-bottom: 2px solid var(--home-gold);
  border-radius: 0 0 1.5rem;
  content: "";
  pointer-events: none;
}

.home-hero__visual img {
  display: block;
  width: 100%;
  /%aspect-ratio: 1.08;%/
  border-radius: 1.4rem;
  object-fit: contain;
}

.home-shell {
  width: min(100%, 1260px);
  margin: 0 auto;
}

.home-section {
  padding: clamp(4rem, 7vw, 6.75rem) 1.5rem;
}

.home-section--varieties,
.home-section--trivia {
  background: #fff;
}

.home-section--facts {
  background: var(--home-cream);
}

.home-section--farms {
  background: var(--home-line);
}

.home-section-header {
  margin: 0 0 2.5rem;
  text-align: left;
}

.home-section-header h2,
.home-section h2,
.home-why h2 {
  margin: 0;
  color: var(--home-forest);
  font-size: clamp(2.25rem, 4.5vw, 3.65rem);
  line-height: 1.06;
}

.home-section-header p {
  margin: 0.9rem 0 0;
  color: var(--home-muted);
  font-size: 1.05rem;
  line-height: 1.7;
}

.home-section--varieties .durian-varieties,
.home-section--farms .durian-varieties {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.25rem;
  margin-top: 0;
}

.home-section--varieties .durian-card,
.home-section--farms .durian-varieties > div {
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--home-line);
  border-radius: 1.1rem;
  background: #fff;
  box-shadow: 0 8px 26px rgba(31, 48, 39, 0.055);
  transition: transform 200ms ease, box-shadow 200ms ease;
}

.home-section--varieties .durian-card:hover,
.home-section--farms .durian-varieties > div:hover {
  transform: translateY(-5px);
  box-shadow: 0 18px 36px rgba(31, 48, 39, 0.13);
}

.home-section--varieties .durian-card > img,
.home-section--farms .durian-varieties > div > img {
  display: block;
  width: 100%;
  height: 13rem;
  object-fit: cover;
}

.home-section--varieties .durian-card > div:last-child,
.home-section--farms .durian-varieties > div > div {
  padding: 1.2rem;
}

.home-section--varieties .durian-card h3,
.home-section--farms .durian-varieties h3 {
  color: var(--home-forest);
  font-size: 1.35rem;
  line-height: 1.2;
}

.home-section--varieties .durian-card p,
.home-section--farms .durian-varieties p {
  color: var(--home-muted);
  line-height: 1.6;
}

.home-section--varieties .durian-card a,
.home-section--farms .durian-varieties a {
  min-height: 2.75rem;
  border-radius: 0.65rem;
  background: var(--home-forest);
}

.home-section--varieties .durian-card a:hover,
.home-section--farms .durian-varieties a:hover {
  background: var(--home-leaf);
}

.home-section--varieties > .home-shell > div:last-child,
.home-section--farms > .home-shell > div:last-child {
  margin-top: 2rem;
}

.home-section--varieties > .home-shell > div:last-child a,
.home-section--farms > .home-shell > div:last-child a {
  min-height: 2.75rem;
  padding: 0.75rem 1.25rem;
  border-color: var(--home-line);
  border-radius: 999px;
  color: var(--home-forest);
  background: #fff;
}

.home-section--facts .home-shell > div:last-child > div,
.home-section--trivia .home-shell > div > div:last-child {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.home-section--facts .home-shell > div:last-child > div > div,
.home-section--trivia .home-shell > div > div:last-child > div {
  padding: clamp(1.35rem, 3vw, 2rem);
  border: 1px solid var(--home-line);
  border-radius: 1rem;
  background: #fff;
  box-shadow: 0 8px 26px rgba(31, 48, 39, 0.045);
}

.home-section--facts h3,
.home-section--trivia h3 {
  margin: 0 0 0.5rem;
  color: var(--home-forest);
  font-size: 1.35rem;
}

.home-section--facts p,
.home-section--trivia p {
  margin: 0;
  color: var(--home-muted);
  line-height: 1.7;
}

.home-story {
  padding: clamp(4rem, 7vw, 6.75rem) 1.5rem;
  color: #fff;
  background: var(--home-forest);
}

.home-story__content {
  display: block;
}

.home-story__content > .space-y-2 {
  max-width: 48rem;
  margin-bottom: 2.5rem;
}

.home-story h2 {
  margin: 0;
  color: #fff;
  font-size: clamp(2.2rem, 4.5vw, 3.6rem);
  line-height: 1.08;
}

.home-story__layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(19rem, 0.9fr);
  align-items: center;
  gap: clamp(2rem, 6vw, 5.5rem);
}

.home-story__copy h3 {
  color: var(--home-gold);
  font-size: 1.7rem;
}

.home-story__copy p {
  font-size: 1rem;
  line-height: 1.8;
}

.home-story__copy > div:last-child {
  margin-top: 1.5rem;
  padding: 1.4rem;
  border: 1px solid rgba(244, 201, 93, 0.45);
  border-radius: 1rem;
  color: var(--home-ink);
  background: #fff8e8;
  box-shadow: none;
}

.home-story__copy > div:last-child h3 {
  margin: 0;
  color: var(--home-forest);
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  letter-spacing: 0;
}

.home-story__image > div {
  overflow: hidden;
  border: 0.55rem solid rgba(255, 255, 255, 0.12);
  border-radius: 1.5rem;
  transform: none;
}

.home-story__image img {
  display: block;
  width: 100%;
  /*aspect-ratio: 1.16;*/
  border-radius: 1rem;
  object-fit: cover;
}

.home-why {
  padding: clamp(4rem, 7vw, 6.75rem) 1.5rem;
  color: #fff;
  background: #f7f5ee;
}

.home-why > .home-shell > div {
  display: block;
  text-align: left;
}

.home-why h2 {
  max-width: 45rem;
  margin-bottom: 2.5rem;
}

.home-why .grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 0;
}

.home-why .grid > div {
  height: 100%;
  border: 1px solid #e9dfc5;
  border-radius: 1rem;
  color: var(--home-ink);
  background: #fff;
  box-shadow: 0 8px 26px rgba(31, 48, 39, 0.05);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.home-why .grid > div:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 30px rgba(31, 48, 39, 0.1);
}

.home-why .grid h3 {
  font-size: 1.3rem;
}

.home-why .grid p {
  color: var(--home-muted);
  line-height: 1.65;
}

.home-final {
  padding: clamp(3.5rem, 7vw, 6rem) 1.5rem;
  color: #fff;
  text-align: center;
  background:
    radial-gradient(ellipse at 50% 0%, rgba(244, 201, 93, 0.16), transparent 34rem),
    #153b2c;
}

.home-final h2 {
  max-width: 46rem;
  margin: 0 auto;
  color: #fff;
  font-size: clamp(2.15rem, 4.5vw, 3.6rem);
  line-height: 1.08;
}

.home-final p {
  max-width: 42rem;
  margin: 1rem auto 0;
  color: rgba(255, 255, 255, 0.8);
  font-size: 1.05rem;
  line-height: 1.7;
}

.home-final a {
  min-height: 3rem;
  border-radius: 999px;
  color: var(--home-ink);
  background: var(--home-gold);
  font-weight: 700;
}

.home-final a:hover {
  background: #ffda78;
}

@media (max-width: 1024px) {
  .home-section--varieties .durian-varieties,
  .home-section--farms .durian-varieties {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .home-why .grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 700px) {
  .home-hero {
    padding: 4.5rem 1.25rem 3rem;
  }

  .home-hero__layout,
  .home-story__layout {
    grid-template-columns: minmax(0, 1fr);
  }

  .home-hero__layout {
    gap: 2.25rem;
  }

  .home-hero__copy h1 {
    font-size: clamp(3rem, 13vw, 4.4rem);
  }

  .home-hero__visual {
    width: min(100%, 34rem);
    margin: 0 auto;
  }

  .home-section,
  .home-story,
  .home-why {
    padding-right: 1.25rem;
    padding-left: 1.25rem;
  }

  .home-section--facts .home-shell > div:last-child > div,
  .home-section--trivia .home-shell > div > div:last-child {
    grid-template-columns: minmax(0, 1fr);
  }

  .home-section-header {
    margin-bottom: 1.75rem;
  }
}

@media (max-width: 480px) {
  .home-hero__actions {
    align-items: stretch;
    flex-direction: column;
  }

  .home-hero__actions a {
    justify-content: center;
  }

  .home-section--varieties .durian-varieties,
  .home-section--farms .durian-varieties,
  .home-why .grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (prefers-reduced-motion: reduce) {
  .home-page *,
  .home-page *::before,
  .home-page *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
