/* Light homepage: shared media and a consistent rhythm between content sections. */
.home-light {
    --home-section-space: 110px;
}

/* Natural heights keep the visible spacing equal, without extra full-screen gaps. */
.home-light main > .section:is(.about, .films, .locations, .faq, .reviews) {
    min-height: 0;
    padding-top: var(--home-section-space);
    padding-bottom: var(--home-section-space);
}

@media (max-width: 1000px) {
    .home-light { --home-section-space: 85px; }
}

@media (max-width: 700px) {
    .home-light { --home-section-space: 70px; }
}

.home-light :is(.about, .films, .locations, .faq, .reviews) {
    --paper: #252523;
    --muted: #62625a;
    --gold-light: #897221;
    --line: rgba(37, 37, 35, .22);
    color: var(--ink);
    background: #fff;
    color-scheme: light;
}

.home-light :is(.films, .faq) {
    --gold-light: #806a20;
    background: #fcf9f6;
}

.home-light .location-intro {
    background: transparent;
}

/* Labels over photographs and films keep their original light treatment. */
.home-light :is(.portrait, .film-visual) {
    --paper: #fcf9f6;
    color: var(--paper);
    color-scheme: dark;
}

.home-light .film-controls button:hover {
    background: rgba(37, 37, 35, .06);
}

.home-light .location:hover {
    background: #fcf9f6;
}

.home-light :is(.about, .films, .locations, .faq, .reviews) ::selection {
    background: #897221;
    color: #fff;
}

/* Seven destinations occupy two complete rows beside the introductory cell. */
@media (min-width: 701px) {
  .home .location-grid--7 > .location-intro {
    grid-column: span 1;
    padding: clamp(14px, 1.7vw, 28px);
  }
  .home .location-grid--7 .location-intro h2 {
    font-size: clamp(33px, 3.15vw, 54px);
  }
  .home .location-grid--7 .location-intro > p:not(.eyebrow) {
    margin-top: 14px;
  }
  .home .location-grid--7 > .location:nth-child(4) {
    border-top: 1px solid var(--line);
  }
  .home .location-grid--7 > .location:nth-child(4n) {
    border-left: 0;
  }
  .home .location-grid--7 > .location:nth-child(4n + 1) {
    border-left: 1px solid var(--line);
  }
}

/* Keep the mobile introduction at full width and pair the last image with its caption. */
@media (max-width: 700px) {
  .home .location-grid--7 > .location:last-child {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    grid-template-rows: 1fr auto;
    column-gap: 26px;
  }
  .home .location-grid--7 > .location:last-child .location-image {
    grid-row: 1 / 3;
  }
  .home .location-grid--7 > .location:last-child .location-label {
    margin-top: 0;
    align-self: start;
  }
  .home .location-grid--7 > .location:last-child > p { align-self: end; }
}
