/* The woodland pause follows the bedrooms; the cream information chapter
   scrolls over it. The gallery and booking keep their dark-green ending. */
.inside-band.inside-band-editorial:not(.booking-band) { background: #1b211d; }
.outside-gallery-sequence,
.outside-gallery-sequence .gallery-filmstrip,
.site-footer { background: #1b211d; color: #f0ebde; }
.site-footer .site-footer-book { color: #f0ebde; border-bottom-color: rgba(240, 235, 222, .45); }
.outside-gallery-sequence .gallery-filmstrip-card:focus-visible { outline-color: #f0ebde; }

.woodland-handoff {
  position: relative;
  grid-column: 1 / -1;
  background: var(--bg-primary);
}
.woodland-handoff-stage {
  position: relative;
  height: 70svh;
  overflow: hidden;
  isolation: isolate;
  background: #1b211d;
}
.woodland-handoff-stage::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 18% 48%, #424e3e 0%, transparent 48%),
    radial-gradient(ellipse at 85% 70%, #111914 0%, transparent 50%),
    radial-gradient(ellipse at 60% 28%, #343c35 0%, transparent 46%),
    #1b211d;
}
.woodland-handoff-stage::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: #1b211d;
  opacity: var(--chapter-green, 0);
  pointer-events: none;
}
.woodland-field {
  position: absolute;
  z-index: -1;
  inset: -2%;
  width: 104%;
  height: 104%;
  pointer-events: none;
  filter: blur(10px);
}
.woodland-handoff .outside-statement {
  position: absolute;
  inset: 0;
  z-index: 0;
  display: flex;
  align-items: center;
  margin: 0;
  padding: 64px var(--desktop-gutter, 26px);
  background: transparent;
  pointer-events: none;
}
.woodland-handoff .outside-statement h2 {
  width: 100%;
  max-width: 1200px;
  margin: 0;
  color: var(--bg-primary);
  opacity: 1;
  transform: none;
}
.woodland-scroll-space { display: none; }
.information-chapter {
  position: relative;
  z-index: 3;
  background: var(--bg-primary);
}
.information-chapter > .inside-band.information-band.inside-band-editorial { margin: 0; }
.woodland-motion-ready .woodland-handoff-stage {
  position: sticky;
  top: 0;
  height: 100svh;
  background: var(--bg-primary);
}
.woodland-motion-ready .woodland-handoff-stage::before { display: none; }
.woodland-motion-ready .woodland-scroll-space { display: block; height: 180svh; pointer-events: none; }
.woodland-motion-ready .information-chapter { margin-top: -100svh; }

/* Hold the cup while the gallery closes the cream pause below its caption.
   At the end of the pause, the cup and gallery continue scrolling together. */
.hunt-cup {
  position: sticky;
  top: 80px;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  width: 100%;
  margin: 0;
  padding: 0 0 32px;
  box-sizing: border-box;
  background: var(--bg-primary);
}
.hunt-gallery-handoff {
  position: relative;
  background: var(--bg-primary);
}
.gallery-cream-pause { height: 38svh; }
.hunt-gallery-handoff + .outside-gallery-sequence {
  position: relative;
  z-index: 2;
}
.hunt-gallery-handoff ~ .site-footer { position: relative; z-index: 2; }
@media (max-width: 899px) {
  .hunt-cup { top: 66px; }
  .hunt-cup-media { width: min(52%, 40svh); }
}
@media (min-width: 900px) {
  /* Explicit rows keep the existing overlapping Design composition intact. */
  .woodland-handoff { grid-row: 11; }
  .information-chapter { grid-row: 12; }
  .arrival-pin-sequence { grid-row: 13; }
  .roman-corbridge { grid-row: 14; }
  .hunt-gallery-handoff { grid-row: 15; }
  .outside-gallery-sequence { grid-row: 16; }
  .site-footer { grid-row: 17; }
}
@media (min-width: 900px) and (max-width: 1199px) {
  .roman-corbridge-copy { width: min(48vw, 490px); }
  .hunt-cup {
    width: min(48vw, 490px);
    margin-left: var(--desktop-gutter);
  }
  .hunt-cup-media { width: min(23vw, 230px); }
  .hunt-cup figcaption { margin-top: -12px; font-size: 12px; }
  .hunt-cup-description { max-width: 340px; margin-top: 10px; font-size: 14px; line-height: 1.6; }
  .hunt-cup :is(figcaption, .hunt-cup-description) { align-self: center; text-align: center; }
}
@media (min-width: 1200px) {
  /* Keep the cup within the same left-hand measure as the Roman copy,
     rather than centring the whole object across the page. */
  .hunt-cup {
    width: min(820px, calc(100% - (2 * var(--desktop-gutter))));
    margin-left: var(--desktop-gutter);
    margin-right: 0;
  }
}
@media (prefers-reduced-motion: reduce) {
  .woodland-handoff-stage::after { display: none; }
  .hunt-cup { position: relative; top: auto; }
}
