.home-page {
  background-color: #fff7e7;
}

.home-page .values-strip {
  background: #e8edce;
}

.home-page .book-card-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

#books .hardcover-book-cover {
  display: grid;
  aspect-ratio: 4 / 3;
  min-height: 0;
  padding: 0;
  place-items: center;
  background: var(--soft-cream);
}

#books .hardcover-book-cover img {
  display: block;
  width: 100%;
  height: auto;
  max-width: 100%;
  max-height: 100%;
  aspect-ratio: auto;
  object-fit: contain;
  filter: none;
}

#books .book-coming-soon {
  display: inline-block;
  padding: 6px 12px;
  color: #435329;
  background: #e8edce;
  border-radius: 999px;
}

.house-hero-intro {
  margin-top: 12px;
}

.house-book-cover {
  min-height: 0;
  padding: 0;
  background: #f0ead6;
}

.house-book-cover img {
  display: block;
  width: 100%;
  height: auto;
  max-height: none;
  filter: none;
}

.house-book-card {
  background: #f8f1d9;
  border-color: #c5cc9d;
}

.house-preview-section,
.house-book-hero {
  background: linear-gradient(140deg, #f5ebcb, #e8edcf 62%, #e5efdf);
}

.house-section-heading {
  max-width: 760px;
  margin-bottom: 36px;
}

.house-section-heading h2,
.house-book-hero h1,
.house-song-section h2 {
  color: #435329;
}

.house-section-heading p,
.house-book-copy p {
  max-width: 65ch;
}

.house-gallery-hint {
  color: #5b6246;
  font-size: 0.9rem;
  margin-top: 22px;
}

.house-text-link {
  display: inline-block;
  color: #435329;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 5px;
}

.house-gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: center;
  gap: clamp(16px, 2vw, 28px);
}

.house-gallery-item {
  display: block;
  min-width: 0;
  background: transparent;
  border: 0;
  padding: 0;
  cursor: zoom-in;
  transition: transform 180ms ease;
}

.house-gallery-item img {
  display: block;
  width: 100%;
  height: auto;
  box-shadow: 0 8px 22px rgba(68, 71, 39, 0.13);
}

.house-gallery-item:hover {
  transform: translateY(-4px);
}

.house-gallery-item:focus-visible,
.house-text-link:focus-visible,
.house-lightbox button:focus-visible {
  outline: 3px solid #435329;
  outline-offset: 6px;
}

.house-book-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
  align-items: center;
  gap: clamp(28px, 5vw, 72px);
}

.house-book-hero h1 {
  font-size: clamp(2.8rem, 5vw, 5rem);
}

.house-author {
  font-family: var(--serif);
  font-size: 1.25rem;
}

.house-cover-feature {
  margin: 0;
}

.house-cover-feature img {
  display: block;
  width: 100%;
  height: auto;
  box-shadow: 0 18px 40px rgba(68, 71, 39, 0.16);
}

.house-song-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(24px, 5vw, 64px);
  background: #f3dfb5;
}

.house-song-player {
  display: grid;
  justify-items: start;
  gap: 22px;
  min-width: 0;
}

.house-song-player audio {
  width: 100%;
}

.house-music-card {
  background: #f5edcc;
  border-color: #c5cc9d;
}

.house-lightbox {
  max-width: min(1120px, 96vw);
  max-height: 96dvh;
  padding: 16px;
  border: 0;
  background: #e9edcf;
  color: var(--ink);
  box-shadow: var(--shadow);
}

.house-lightbox::backdrop {
  background: rgba(29, 42, 25, 0.85);
}

.house-lightbox button {
  display: block;
  margin: 0 0 12px auto;
  padding: 10px 18px;
  background: #435329;
  color: #fffaf0;
  border: 0;
  border-radius: 6px;
  font: inherit;
  cursor: pointer;
}

.house-lightbox img {
  display: block;
  max-width: 100%;
  max-height: 78dvh;
  width: auto;
  height: auto;
  margin: auto;
}

.house-lightbox p {
  max-width: 65ch;
  margin: 14px auto 0;
}

@media (max-width: 980px) {
  .house-gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .house-book-hero,
  .house-song-section {
    grid-template-columns: 1fr;
  }

  .house-cover-feature {
    max-width: 700px;
  }
}

@media (max-width: 600px) {
  .home-page .book-card-grid,
  .house-gallery {
    grid-template-columns: 1fr;
  }

  .house-gallery {
    gap: 24px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .house-gallery-item {
    transition: none;
  }

  .house-gallery-item:hover {
    transform: none;
  }
}
