/* The stage, photography and copy stay fixed; only the ring objects travel. */
.hero {
  height: auto;
  min-height: 0;
  max-height: none;
  overflow: visible;
  isolation: auto;
}
.hero-stage {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  height: 100svh;
  min-height: 690px;
  max-height: 1100px;
  background: var(--canvas);
}
.hero-backgrounds,
.hero-photo-veil {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: -2;
}
.hero-backdrop {
  position: absolute;
  inset: 0;
  display: block;
  opacity: 0;
  transition: opacity 0.85s ease;
}
.hero-backdrop.is-current {
  opacity: 1;
}
.hero-backdrop img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 62%;
  filter: none;
  transform: none;
}
/* Keep the photograph visible; protection is local to copy and the footer. */
.hero-photo-veil {
  z-index: -1;
  background:
    radial-gradient(ellipse 65% 49% at 50% 16%, #f8f5f0b8 0%, #f8f5f061 58%, transparent 100%),
    linear-gradient(180deg, transparent 72%, #f8f5f0b8 100%), #f8f5f01a;
}
.hero-description {
  color: var(--ink);
}
.hero-content em {
  color: #7d3f50;
}
.hero-content h1,
.hero-content .eyebrow,
.hero-description,
.hero-actions .text-link,
.hero-gallery-ui {
  transition: color 0.45s ease;
}
.hero-stage[data-selected-ring='3'] {
  color: #fff9f0;
  --line: #fff9f066;
  --muted: #fff9f0;
}
.hero-stage[data-selected-ring='3'] .hero-photo-veil {
  background: linear-gradient(180deg, #18100d66 0%, transparent 55%, #18100d99 100%);
}
.hero-stage[data-selected-ring='3'] .hero-content em {
  color: #efc5ce;
}
.hero-stage[data-selected-ring='3'] .hero-description,
.hero-stage[data-selected-ring='3'] .scroll-cue {
  color: #fff9f0;
}
.hero-stage[data-selected-ring='3'] .hero-actions .button {
  background: #f8f5f0;
  border-color: #f8f5f0;
  color: var(--ink);
}
.hero-stage[data-selected-ring='3'] .hero-actions .button:hover {
  background: var(--champagne);
  border-color: var(--champagne);
}
.hero-stage[data-selected-ring='3'] .hero-gallery-controls button {
  background: #18100d66;
}
.hero-stage[data-selected-ring='3'] .hero-gallery-progress {
  background: #fff9f044;
}
.hero-stage[data-selected-ring='3'] .hero-gallery-progress i {
  background: #efc5ce;
}
.hero-content {
  padding-top: clamp(28px, 4.5vh, 58px);
}
.hero-content h1 {
  font-size: clamp(58px, min(7.2vw, 10.5vh), 112px);
}
.hero-content .eyebrow {
  margin-bottom: 19px;
}
.hero-description {
  margin-top: 18px;
}
.hero-actions {
  margin-top: 22px;
}
.ring-orbit {
  position: absolute;
  inset: 53% 0 100px;
  z-index: 2;
  pointer-events: auto;
  overflow: hidden;
  outline-offset: -6px;
}
.orbit-ring {
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  top: 26%;
  left: 50%;
  right: auto;
  width: min(34vw, 470px);
  height: 72%;
  pointer-events: none;
  transform: translateX(-50%);
  opacity: 1;
  transform-origin: 50% 50%;
  will-change: transform;
}
.orbit-ring img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  background: transparent;
  mix-blend-mode: normal;
}
.ring-sway {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
}
.hero-gallery-ui {
  position: absolute;
  bottom: 19px;
  left: 0;
  right: 0;
  z-index: 4;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 25px;
  border-top: 1px solid var(--line);
  padding-top: 14px;
}
.hero-scroll-hint {
  font-size: 7px;
  letter-spacing: 0.12em;
  display: flex;
  gap: 18px;
  align-items: center;
  min-height: 44px;
  color: var(--muted);
}
.hero-selection {
  text-align: center;
  min-width: 200px;
}
#hero-ring-status {
  font-size: 10px;
  letter-spacing: 0.04em;
}
#hero-view-ring {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  font-size: 10px;
  border-bottom: 1px solid var(--line);
}
.hero-gallery-controls {
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 17px;
}
.hero-gallery-controls button {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  font-size: 19px;
  background: #f8f5f066;
}
.hero-gallery-controls button:hover:not(:disabled) {
  background: var(--champagne);
}
.hero-gallery-controls button:disabled {
  opacity: 0.35;
  cursor: default;
}
.hero-gallery-progress {
  width: 56px;
  height: 1px;
  background: #30272525;
  overflow: hidden;
}
.hero-gallery-progress i {
  display: block;
  width: 100%;
  height: 100%;
  background: var(--taupe);
  transform: scaleX(0.25);
  transform-origin: left;
  transition: transform 0.35s ease;
}
.hero-pinned {
  max-height: none;
}
@media (min-width: 900px) and (max-height: 780px) {
  .hero-stage {
    min-height: min(650px, 100svh);
  }
  .hero-content {
    padding-top: 24px;
  }
  .hero-content h1 {
    font-size: clamp(56px, 9vh, 80px);
  }
  .hero-content .eyebrow {
    font-size: 7px;
    margin-bottom: 12px;
  }
  .hero-description {
    margin-top: 12px;
    font-size: 11px;
  }
  .hero-actions {
    margin-top: 16px;
  }
  .ring-orbit {
    top: 52%;
    bottom: 95px;
  }
}
@media (max-width: 899px) {
  .hero-stage {
    height: auto;
    min-height: 0;
    max-height: none;
    padding-bottom: 140px;
  }
  .hero-content {
    padding-top: 46px;
  }
  .hero-content h1 {
    font-size: clamp(46px, 8.7vw, 78px);
  }
  .hero-native .ring-orbit {
    position: relative;
    inset: auto;
    display: flex;
    align-items: center;
    gap: 22px;
    width: 100%;
    height: 300px;
    margin-top: 30px;
    padding: 10px 11vw;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: 11vw;
    overscroll-behavior-x: contain;
    touch-action: pan-x pan-y;
    scrollbar-width: none;
    pointer-events: auto;
  }
  .hero-native .ring-orbit::-webkit-scrollbar {
    display: none;
  }
  .hero-native .orbit-ring {
    position: relative;
    inset: auto;
    display: flex;
    flex: 0 0 78vw;
    width: 78vw;
    max-width: none;
    height: 250px;
    opacity: 1;
    transform: none;
    scroll-snap-align: center;
    scroll-snap-stop: normal;
    will-change: auto;
  }
  .hero-native .hero-backdrop {
    display: none;
  }
  .hero-native .hero-backdrop:first-child {
    display: block;
    opacity: 1;
  }
  .hero-native .hero-backdrop img {
    object-position: 50% 65%;
  }
  /* Mobile always displays the hands photograph, even when selection changes. */
  .hero-native .hero-photo-veil,
  .hero-native[data-selected-ring='3'] .hero-photo-veil {
    background:
      radial-gradient(ellipse 100% 50% at 50% 12%, #f8f5f0a6, transparent 100%),
      linear-gradient(180deg, transparent 70%, #f8f5f0c4 100%), #f8f5f00d;
  }
  .hero-native[data-selected-ring='3'] {
    color: var(--ink);
    --line: #30272530;
    --muted: #786d66;
  }
  .hero-native[data-selected-ring='3'] .hero-content em {
    color: #7d3f50;
  }
  .hero-native[data-selected-ring='3'] .hero-description,
  .hero-native[data-selected-ring='3'] .scroll-cue {
    color: var(--ink);
  }
  .hero-native[data-selected-ring='3'] .hero-actions .button {
    background: var(--ink);
    border-color: var(--ink);
    color: var(--canvas);
  }
  .hero-native[data-selected-ring='3'] .hero-gallery-controls button {
    background: #f8f5f066;
  }
  .hero-native[data-selected-ring='3'] .hero-gallery-progress {
    background: #30272525;
  }
  .hero-native[data-selected-ring='3'] .hero-gallery-progress i {
    background: var(--taupe);
  }
  .hero-gallery-ui {
    grid-template-columns: 1fr 1fr;
    bottom: 25px;
    gap: 10px;
  }
  .hero-scroll-hint {
    grid-column: 1 / -1;
    justify-content: center;
    font-size: 6px;
    min-height: 28px;
  }
  .hero-selection {
    text-align: left;
    min-width: 0;
  }
  .hero-gallery-progress {
    width: 35px;
  }
  .hero-gallery-controls {
    gap: 12px;
  }
}
@media (max-width: 600px) {
  .hero-content {
    padding-top: 38px;
  }
  .hero-content h1 {
    font-size: clamp(37px, 10.6vw, 64px);
  }
  .hero-content .eyebrow {
    max-width: 245px;
    margin-bottom: 20px;
    font-size: 6px;
  }
  .hero-description {
    margin-top: 19px;
    font-size: 11px;
  }
  .hero-actions {
    gap: 12px;
    margin-top: 23px;
  }
  .hero-native .ring-orbit {
    height: 265px;
    margin-top: 10px;
  }
  .hero-native .orbit-ring {
    height: 225px;
  }
  .hero-stage {
    padding-bottom: 130px;
  }
  .hero-gallery-controls {
    gap: 10px;
  }
  .hero-gallery-controls button {
    width: 44px;
    height: 44px;
  }
  #hero-ring-status {
    font-size: 9px;
    max-width: 150px;
  }
  #hero-view-ring {
    font-size: 9px;
  }
  .hero-gallery-ui {
    gap: 8px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .hero-backdrop,
  .hero-gallery-progress i {
    transition: none;
  }
}
.motion-reduced .hero-backdrop,
.motion-reduced .hero-gallery-progress i {
  transition: none;
}
html:not(.js-enabled) .ring-orbit {
  position: relative;
  inset: auto;
  display: flex;
  overflow-x: auto;
  gap: 20px;
  padding: 25px;
}
html:not(.js-enabled) .orbit-ring {
  position: relative;
  inset: auto;
  flex: 0 0 65vw;
  width: 65vw;
  height: 250px;
  transform: none;
}
html:not(.js-enabled) .hero-stage {
  height: auto;
  padding-bottom: 160px;
}
html:not(.js-enabled) .hero-gallery-controls {
  display: none;
}
@media (min-width: 900px) {
  .hero-stage {
    height: calc(100svh - 96px);
    min-height: 600px;
  }
}
.hero-native .ring-orbit {
  touch-action: pan-x pan-y pinch-zoom;
}
