.coverage-stage {
  --stage-ink: #141915;
  --stage-gutter: var(--agency-gutter);
  background: var(--stage-ink);
  color: var(--agency-cream);
  scroll-margin-block-start: 0;
}

.coverage-stage__frame {
  padding: clamp(48px, 7vw, 100px) var(--stage-gutter);
}

.coverage-stage__intro h2 {
  max-width: 20ch;
  font-size: clamp(2.45rem, 4.5vw, 5.5rem);
  font-weight: 480;
  line-height: 1.02;
  letter-spacing: -.065em;
  text-wrap: balance;
}

.coverage-stage__intro em {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
  color: var(--agency-peach);
}

.coverage-stage__scenes {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(12px, 1.75vw, 36px);
  margin-top: 34px;
}

.coverage-stage__scene {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  min-height: 345px;
  aspect-ratio: 1;
  padding: clamp(18px, 2.25vw, 40px);
  background: #313a2d;
}

.coverage-stage__photo,
.coverage-stage__photo img,
.coverage-stage__scene::after {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
}

.coverage-stage__photo {
  z-index: -2;
}

.coverage-stage__photo img {
  object-fit: cover;
  object-position: 50% 52%;
}

.coverage-stage__scene::after {
  content: "";
  z-index: -1;
  pointer-events: none;
  background: linear-gradient(0deg, #10140ef5, #131912c7 26%, #12171026 65%, transparent);
}

.coverage-stage__caption h3 {
  font-size: clamp(2rem, 3.15vw, 3.9rem);
  font-weight: 510;
  line-height: 1;
  letter-spacing: -.065em;
}

.coverage-stage__caption p {
  margin: .5em 0 1.05em;
  max-width: 39ch;
  line-height: 1.45;
  text-wrap: pretty;
}

.coverage-stage .coverage-stage__open {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  border-radius: 32px;
  padding: .65em 1.25em;
  background: var(--agency-cream);
  color: #1e201a;
  font-size: .92rem;
  font-weight: 650;
  line-height: 1.2;
}

.coverage-stage__open:is(:hover, :focus-visible) {
  background: var(--agency-peach);
}

@media (max-width: 760px) {
  .coverage-stage__scenes { grid-template-columns: 1fr; }
  .coverage-stage__scene { min-height: 290px; aspect-ratio: 1.45; }
}

.coverage-stage.is-guided {
  /* The first 100svh holds the sticky frame. The rest is shared by the three categories. */
  height: 396svh;
}

.is-guided .coverage-stage__frame {
  position: sticky;
  top: 0;
  display: grid;
  grid-template: 1fr auto / 1fr;
  height: 100svh;
  padding: clamp(28px, 5.6svh, 74px) var(--stage-gutter);
  isolation: isolate;
  overflow: hidden;
}

.is-guided .coverage-stage__scenes {
  position: absolute;
  inset: 0;
  z-index: -1;
  display: block;
  margin: 0;
}

.is-guided .coverage-stage__scene {
  position: absolute;
  inset: 0;
  min-height: 0;
  aspect-ratio: auto;
  padding: clamp(28px, 5.6svh, 74px) var(--stage-gutter);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .4s ease, visibility 0s linear .4s;
}

.is-guided .coverage-stage__scene.is-current {
  z-index: 1;
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transition-delay: 0s;
}

/* Fade the photos together, showing only the selected scene's caption and link. */
.is-guided .coverage-stage__scene:not(.is-current) .coverage-stage__caption {
  visibility: hidden;
}

.is-guided .coverage-stage__photo {
  transform: scale(1.025);
}

.is-guided .coverage-stage__scene::after {
  background: linear-gradient(180deg, #10150fd9 0%, #12170e57 16%, transparent 35%),
              linear-gradient(0deg, #0e140ff2 0%, #0e160ec4 12%, #0e170e73 23%, transparent 46%),
              linear-gradient(90deg, #1217113d, transparent 55%);
}

.is-guided .coverage-stage__intro {
  grid-area: 1 / 1;
  align-self: start;
  width: fit-content;
  pointer-events: none;
  text-shadow: 0 2px 15px #15150d80;
}

.is-guided .coverage-stage__intro h2 {
  max-width: none;
  font-size: clamp(2rem, 3.5vw, 4.25rem);
}

.is-guided .coverage-stage__caption {
  max-width: min(53%, 640px);
}

.is-guided .coverage-stage__caption h3 {
  font-size: clamp(3.4rem, min(7vw, 12svh), 8.3rem);
  font-weight: 490;
  line-height: .94;
}

.is-guided .coverage-stage__caption p {
  font-size: clamp(1rem, 1.18vw, 1.32rem);
  margin: .55em 0 1em;
}

.coverage-stage__chooser:not([hidden]) {
  grid-area: 2 / 1;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  align-self: end;
  justify-self: end;
  width: clamp(280px, 31vw, 560px);
  gap: clamp(10px, 1vw, 18px);
}

.coverage-stage__chooser button {
  position: relative;
  min-width: 0;
  min-height: 46px;
  padding: 12px 1px 7px;
  border: 0;
  appearance: none;
  background: transparent;
  color: #e3e5d9;
  font-size: clamp(.86rem, 1vw, 1.15rem);
  font-weight: 530;
  line-height: 1.15;
  text-align: left;
  cursor: pointer;
  touch-action: manipulation;
}

.coverage-stage__chooser button::before,
.coverage-stage__chooser button::after {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 3px;
  border-radius: 2px;
  background: #eff0e261;
}

.coverage-stage__chooser button::after {
  background: var(--agency-orange);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform .32s ease;
}

.coverage-stage__chooser button[aria-pressed="true"] { color: #ffc499; }
.coverage-stage__chooser button[aria-pressed="true"]::after { transform: scaleX(1); }
.coverage-stage__chooser button:hover { color: #fff7ed; }

@media (max-width: 760px) {
  .coverage-stage.is-guided { height: 352svh; }
  .is-guided .coverage-stage__frame { padding-block: max(25px, 4.2svh) max(14px, env(safe-area-inset-bottom)); }
  .is-guided .coverage-stage__scene { padding: 0 var(--stage-gutter) max(90px, calc(78px + env(safe-area-inset-bottom))); }
  .is-guided .coverage-stage__scene::after {
    background: linear-gradient(180deg, #0c120ddb, #0d150e66 17%, transparent 32%),
                linear-gradient(0deg, #0e150ef7 0%, #10190fe3 17%, #0c150d88 32%, transparent 51%);
  }
  .is-guided .coverage-stage__intro h2 { font-size: clamp(2.2rem, 8vw, 3.7rem); max-width: 17ch; }
  .is-guided .coverage-stage__caption { max-width: 100%; }
  .is-guided .coverage-stage__caption h3 { font-size: clamp(3rem, 11vw, 5rem); }
  .is-guided .coverage-stage__caption p { margin: .45em 0 .85em; }
  .coverage-stage__chooser:not([hidden]) { width: 100%; gap: 12px; }
}
