/* Keep enough contrast on the left and let the photograph show through on the right. */
.photo-hero { position: relative; isolation: isolate; min-height: 720px; display: flex; flex-direction: column; justify-content: center; padding: 80px var(--gutter) 150px; background: var(--orech); color: var(--lan); }
.photo-hero-images { position: absolute; inset: 0; z-index: -2; }
.photo-hero-images figure { position: absolute; inset: 0; margin: 0; height: 100%; opacity: 0; transition: opacity 600ms ease; }
.photo-hero-images figure:first-child:not([aria-hidden]), .photo-hero-images figure.is-current { opacity: 1; }
.photo-hero-images img { width: 100%; height: 100%; object-fit: cover; object-position: center 58%; }
.photo-hero::before { content: ''; position: absolute; inset: 0; z-index: -1; background: rgba(54,32,21,.78); pointer-events: none; }
.photo-hero-content { width: min(720px, 100%); }
@media (min-width: 901px) {
  .photo-hero::before { background: linear-gradient(90deg, rgba(54,32,21,.78) 70%, rgba(54,32,21,.38)); }
  .photo-hero-content { width: min(720px, 58%); margin-inline-start: calc(min(15.2vw, 190px) - var(--gutter)); }
}
.photo-hero h1 { margin-block: 24px; font-size: clamp(56px, 7vw, 104px); }
.photo-hero .hero-lede { max-width: 55ch; font-size: 1.125rem; }
.photo-hero .button.primary { background: var(--lan); color: var(--orech); border-color: var(--lan); }
.photo-hero-controls { display: grid; grid-template-columns: repeat(3, 104px); gap: 10px 12px; position: absolute; inset-inline-end: var(--gutter); bottom: 28px; }
.photo-hero-controls-label { grid-column: 1 / -1; justify-self: end; padding: 3px 8px; background: var(--orech); }
.photo-hero-controls button { position: relative; width: 104px; height: 64px; padding: 0; border: 1px solid var(--lan); background: var(--orech); color: var(--lan); font-size: .8125rem; }
.photo-hero-controls button img { width: 100%; height: 100%; object-fit: cover; }
.photo-hero-controls button span { position: absolute; inset-inline-start: 0; bottom: 0; padding: 3px 8px; background: var(--orech); color: var(--lan); }
.photo-hero-controls button[aria-pressed='true']::after { content: ''; position: absolute; inset-inline: 0; bottom: -7px; height: 4px; background: var(--salvia); }
.photo-hero-controls button[aria-pressed='true'] span { text-decoration: underline; font-weight: 600; }
.photo-hero-fallback { margin-block-start: 28px; font-size: .875rem; }
.photo-hero-fallback a { text-decoration: underline; padding: 8px; }
@media (prefers-reduced-motion: reduce) { .photo-hero-images figure { transition-duration: 150ms; } }
@media (max-width: 600px) {
  .photo-hero { min-height: calc(100svh - var(--header-expanded-height, 73px)); padding-block: 32px; justify-content: space-between; gap: 32px; }
  .photo-hero h1 { font-size: clamp(46px, 12vw, 68px); }
  .photo-hero .hero-actions { flex-direction: column; align-items: start; gap: 16px; }
  .photo-hero-controls { position: relative; inset: auto; align-self: end; width: min(100%, 280px); grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .photo-hero-controls-label { max-width: 100%; text-align: end; }
  .photo-hero-controls button { width: 100%; height: 58px; }
  /* On a tall screen, keep the floor in view rather than the upper ceiling. */
  .photo-hero-images { overflow: hidden; }
  .photo-hero-images figure[data-hero-scene='2'] img { object-position: center bottom; }
}
