/* Home-only chapter colours. Shared detail pages retain their existing styles. */
.home-page {
  --chapter-yellow: #fefc15;
  --chapter-ink: #141414;
  --chapter-paper: #fff;
  background: var(--chapter-paper);
}

.home-page .section {
  padding-block: clamp(64px, 7vw, 108px);
}

.home-page .home-hero {
  border-bottom: 6px solid var(--chapter-yellow);
}

.home-page .area-section {
  background: var(--chapter-paper);
}

/* New homes: a dark gallery, clearly separated from services and resale. */
.home-page .new-projects {
  color: #fff;
  background: radial-gradient(ellipse at 100% 0, #343434 0, transparent 58%), #161616;
  border-block: 1px solid #303030;
}

.home-page .new-projects .section-heading .eyebrow {
  color: var(--chapter-yellow);
}

.home-page .new-projects .section-heading > .text-link {
  color: #fff;
  border-color: var(--chapter-yellow);
}

.home-page .new-projects .section-heading > .text-link:hover {
  color: var(--chapter-yellow);
}

.home-page .new-projects .project-copy .eyebrow {
  color: #c7c7c7;
}

.home-page .new-projects .project-copy > p:not(.eyebrow) {
  color: #d6d6d6;
}

.home-page .new-projects .project-links {
  background: #292929;
  border-top: 1px solid #484848;
}

/* Two independent subjects, two full-width chapters, one photographic language. */
.home-page .home-chapter {
  position: relative;
}

.home-page .chapter-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr);
  grid-template-areas: "photo copy";
  gap: clamp(32px, 6vw, 88px);
  align-items: center;
}

.home-page .chapter-grid > .collection-photo {
  grid-area: photo;
  display: block;
  height: clamp(300px, 32vw, 450px);
  min-width: 0;
  margin: 0;
}

.home-page .chapter-grid > div:not(.collection-photo) {
  grid-area: copy;
  min-width: 0;
}

.home-page .home-chapter h2 {
  font-size: clamp(2.6rem, 4.8vw, 4.6rem);
  margin: 0 0 26px;
}

.home-page .home-chapter .eyebrow {
  display: flex;
  align-items: center;
  gap: 14px;
  line-height: 1.7;
}

.home-page .home-chapter .eyebrow::before {
  content: "";
  flex: 0 0 36px;
  height: 4px;
  background: currentColor;
}

.home-page .home-chapter p:not(.eyebrow) {
  font-size: 1.0625rem;
  line-height: 1.8;
  max-width: 42ch;
  margin-bottom: 30px;
}

.home-page .home-singulares {
  color: #fff;
  background: linear-gradient(125deg, #292929, #101010 78%);
  border-top: 5px solid var(--chapter-yellow);
}

.home-page .home-singulares .eyebrow {
  color: var(--chapter-yellow);
}

.home-page .home-singulares p:not(.eyebrow) {
  color: #dedede;
}

.home-page .home-singulares .collection-photo {
  padding: 22px;
  background: #303030;
  border: 1px solid #4b4b4b;
}

.home-page .home-singulares .collection-photo img {
  object-fit: contain;
}

.home-page .home-chapter .button.yellow {
  background: var(--chapter-yellow);
  color: #141414;
}

.home-page .home-operaciones {
  color: #141414;
  background: radial-gradient(ellipse at 0 100%, #ffffa0 0, transparent 68%), var(--chapter-yellow);
}

.home-page .home-operaciones .chapter-grid {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr);
  grid-template-areas: "copy photo";
}

.home-page .home-operaciones p:not(.eyebrow) {
  color: #333;
}

.home-page .home-operaciones .collection-photo {
  box-shadow: 16px 16px 0 #141414;
}

.home-page .home-operaciones .collection-photo img {
  object-position: 38% center;
}

.home-page .home-operaciones .image-credit {
  left: 16px;
  right: 16px;
  bottom: 16px;
  width: fit-content;
  max-width: calc(100% - 32px);
  padding: 8px 12px;
  background: #141414e8;
  color: #fff;
  font-size: .875rem;
}

.home-page .home-operaciones .button.dark {
  background: #141414;
  color: #fff;
}

.home-page .home-operaciones .button.dark:hover {
  color: var(--chapter-yellow);
}

/* Promoter work, people and customer voices remain separate stops. */
.home-page .promoter-home {
  border-top: 0;
  background: radial-gradient(ellipse at 100% 100%, #343434, transparent 65%), #151515;
}

.home-page .team-band {
  padding-block: clamp(64px, 7vw, 108px);
  background: linear-gradient(120deg, #e4e4e4, #f4f4f4);
  border-bottom: 1px solid #ccc;
}

.home-page .team-grid > div:nth-child(2) {
  padding-block: 0;
}

.home-page .reviews {
  background: #fff;
}

/* News: dark. Press: silver. Social: yellow. Distinct even on a fast scroll. */
.home-page .news-section {
  color: #fff;
  background: linear-gradient(130deg, #292929, #141414 80%);
}

.home-page .news-section .eyebrow {
  color: var(--chapter-yellow);
}

.home-page .news-section .text-link {
  color: #fff;
  border-color: var(--chapter-yellow);
}

.home-page .news-section .text-link:hover {
  color: var(--chapter-yellow);
}

.home-page .news-section .news-card > p:not(.eyebrow) {
  color: #d4d4d4;
}

.home-page .news-section time {
  color: #bcbcbc;
}

.home-page .home-press-band {
  background: linear-gradient(120deg, #e5e5e5, #f6f6f6);
}

.home-page .press-feature {
  padding-block: clamp(64px, 7vw, 108px);
}

.home-page .press-latest {
  border-top-color: #aaa;
}

.home-page .instagram-compact {
  background: linear-gradient(105deg, var(--chapter-yellow), #ffff9c);
  border: 0;
  color: #141414;
  padding-block: 56px;
}

.home-page .instagram-compact .eyebrow,
.home-page .instagram-compact p {
  color: #303030;
}

.home-page .instagram-compact .button.outline {
  color: #fff;
  background: #141414;
  border-color: #141414;
}

.home-page .instagram-compact .button.outline:hover {
  color: var(--chapter-yellow);
  background: #303030;
}

.home-page .home-neighbourhoods h2 {
  margin-bottom: 38px;
}

.home-page .contact {
  border-top: 6px solid var(--chapter-yellow);
  background: linear-gradient(135deg, #252525, #101010);
}

.home-page :is(.new-projects, .home-singulares, .news-section) :is(a, button):focus-visible {
  outline-color: var(--chapter-yellow);
}

.home-page :is(.home-operaciones, .instagram-compact) :is(a, button):focus-visible {
  outline-color: #141414;
}

@media (max-width: 700px) {
  .home-page .chapter-grid,
  .home-page .home-operaciones .chapter-grid {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas: "copy" "photo";
    gap: 34px;
  }

  .home-page .home-chapter h2 {
    font-size: clamp(2.5rem, 10vw, 3.5rem);
    margin-bottom: 20px;
  }

  .home-page .home-chapter .eyebrow {
    font-size: .8125rem;
    gap: 10px;
    letter-spacing: .065em;
  }

  .home-page .home-chapter .eyebrow::before {
    flex-basis: 24px;
  }

  .home-page .chapter-grid > .collection-photo {
    height: 300px;
  }

  .home-page .home-chapter p:not(.eyebrow) {
    font-size: 1rem;
  }

  .home-page .home-operaciones .collection-photo {
    margin-right: 8px;
    box-shadow: 8px 8px 0 #141414;
  }

  .home-page .instagram-compact {
    padding-block: 42px;
  }
}
