/* Scenic photographs form the page atmosphere; portraits remain untouched. */
.team-page .team-hero,
.faq-page .faq-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  max-width: none;
  min-height: 72svh;
  padding: var(--rv-space-12) max(var(--pad), calc((100vw - var(--rail))/2));
  grid-template-columns: 1fr;
  align-items: center;
}
.team-page .team-hero > div,
.faq-page .faq-hero > div { position: relative; z-index: 2; }
.team-page .team-hero > div { padding-bottom: var(--rv-space-12); }
.team-page .team-city,
.faq-page .faq-city {
  position: absolute;
  z-index: -1;
  inset: 0 0 0 20%;
  margin: 0;
  pointer-events: none;
}
.team-page .team-city img,
.faq-page .faq-city img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: auto;
}
.team-page .team-city img { object-position: center 60%; }
.team-page .team-city::after,
.faq-page .faq-city::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, var(--ink) 0%, color-mix(in srgb, var(--ink) 90%, transparent) 20%, transparent 75%),
    linear-gradient(180deg, var(--ink), transparent 35%, transparent 65%, var(--ink));
}
.team-page .team-hero::after {
  content: '';
  position: absolute;
  z-index: 1;
  inset: 65% 0 0;
  background: linear-gradient(180deg, transparent, var(--bone));
  pointer-events: none;
}
.team-page #people { padding-top: var(--rv-space-8); }
.team-page .team-interlude {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: var(--bone);
  color: var(--ink);
  min-height: 64svh;
  display: flex;
  align-items: center;
  padding: var(--rv-space-12) max(var(--pad), calc((100vw - var(--rail))/2));
}
.team-page .team-interlude > figure {
  position: absolute;
  z-index: -1;
  inset: 0 0 0 20%;
}
.team-page .team-interlude img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.team-page .team-interlude > figure::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, var(--bone) 0%, color-mix(in srgb, var(--bone) 96%, transparent) 20%, transparent 75%),
    linear-gradient(180deg, var(--bone), transparent 22%, transparent 72%, var(--bone));
}
.team-page .team-interlude > div { position: relative; max-width: 40%; }
.team-page .team-interlude h2 { max-width: 8ch; }
.faq-page .faq-hero { min-height: 76svh; padding-bottom: calc(var(--rv-space-12) * 2); }
.faq-page .faq-hero > div { max-width: 55%; }
.faq-page .faq-city { inset-inline-start: 36%; }
.faq-page .faq-city img { object-position: center 64%; }
.faq-page .faq-city::after {
  background: linear-gradient(90deg, var(--ink), color-mix(in srgb, var(--ink) 65%, transparent) 25%, transparent 70%),
    linear-gradient(180deg, var(--ink), transparent 22%, transparent 65%, var(--bone));
}
.faq-page .faq-hero::after {
  content: ''; position: absolute; z-index: 1; inset: 70% 0 0; pointer-events: none;
  background: linear-gradient(180deg, transparent, var(--bone));
}
.faq-page .rv-faq { position: relative; padding-top: var(--rv-space-4); }
.faq-page .rv-faq details { max-width: 65ch; margin-inline: auto; }
@media (max-width: 700px) {
  .team-page .team-hero,
  .faq-page .faq-hero {
    min-height: 80svh;
    align-items: start;
    padding-top: var(--rv-space-8);
    padding-bottom: var(--rv-space-12);
  }
  .team-page .team-hero > div { padding-bottom: 0; }
  .team-page .team-city,
  .faq-page .faq-city { inset: 0; }
  .team-page .team-city img { object-position: 65% center; }
  .team-page .team-city::after {
    background: linear-gradient(180deg, var(--ink), color-mix(in srgb, var(--ink) 92%, transparent) 25%, transparent 70%),
      linear-gradient(90deg, color-mix(in srgb, var(--ink) 35%, transparent), transparent);
  }
  .team-page .team-hero::after { inset-block-start: 78%; }
  .team-page .team-interlude { min-height: 72svh; align-items: start; padding-top: var(--rv-space-6); }
  .team-page .team-interlude > div { max-width: none; }
  .team-page .team-interlude h2 { max-width: none; }
  .team-page .team-interlude > figure { inset: 0; }
  .team-page .team-interlude img { object-position: 55% center; }
  .team-page .team-interlude > figure::after {
    background: linear-gradient(180deg, var(--bone), color-mix(in srgb, var(--bone) 95%, transparent) 28%, transparent 65%, var(--bone));
  }
  .faq-page .faq-hero { min-height: 76svh; padding-bottom: calc(var(--rv-space-12) * 2); }
  .faq-page .faq-hero > div { max-width: none; }
  .faq-page .faq-city img { object-position: center 62%; }
  .faq-page .faq-city::after {
    background: linear-gradient(180deg, var(--ink), color-mix(in srgb, var(--ink) 90%, transparent) 30%, transparent 65%, var(--bone));
  }
}
