.hero-viewport{overflow:hidden}.hero-track{display:flex;align-items:stretch;transition:transform .65s ease}.hero-slide{flex:0 0 100%;min-width:0}.hero-slide:not(:first-child){display:none}.hero-carousel.is-ready .hero-slide{display:grid}.hero-original{background:#e5e1d5}.hero-controls{display:flex;align-items:center;justify-content:center;gap:clamp(0px,1vw,12px);padding:0}.hero-controls[hidden]{display:none}.hero-controls button{font:0.875rem Arial,sans-serif;color:var(--ink);background:transparent;border:0;min-width:44px;min-height:44px;cursor:pointer}.hero-controls button:hover{background:#e5dfcf}.hero-controls button:focus-visible{outline:2px solid #78472d;outline-offset:2px}.hero-prev,.hero-next{font-size:1.25rem!important}.hero-dots{display:flex}.hero-dots button{position:relative;min-width:30px}.hero-dots button:after{content:'';display:block;width:6px;height:6px;border-radius:50%;border:1px solid var(--ink);margin:auto}.hero-dots button[aria-current=true]:after{background:var(--ink)}.hero-pause{margin-left:8px;border-left:1px solid var(--line)!important;padding:0 14px}.hero-status{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}

.hero-carousel {
  position: relative;
  border-bottom: 1px solid var(--line);
  --hero-bar: max(48px, 3rem);
  --hero-available: calc(100svh - var(--hero-top, 12rem) - var(--hero-bar) - .25rem);
  --hero-photo-height: clamp(7rem, min(46.4vw, 82svh, var(--hero-available)), 50rem);
}

.hero-carousel .hero-slide {
  grid-template-columns: 42% 58%;
  min-height: 0;
}

.hero-slide .hero-copy {
  grid-column: 1;
  grid-row: 1;
  align-self: center;
  padding: clamp(1rem, 3.2vh, 2.75rem) 8% clamp(1.25rem, 4vh, 3rem) 9%;
}

.hero-slide :is(h1, h2) {
  font-size: clamp(2.125rem, min(4.35vw, 7.8vh), 4.5rem);
  letter-spacing: -.035em;
}

.hero-slide .eyebrow { margin-bottom: clamp(.625rem, 2vh, 1.5rem); }
.hero-slide .intro { line-height: 1.65; margin: clamp(.75rem, 2.6vh, 1.5rem) 0; }
.hero-slide .outline { min-height: 44px; padding: .65rem 1.2rem; }
.hero-slide .hero-note { margin-top: clamp(.75rem, 2.5vh, 1.75rem); }

.hero-slide .hero-image {
  grid-column: 2;
  grid-row: 1;
  align-self: start;
  justify-self: center;
  width: 100%;
  max-width: calc(var(--hero-photo-height) * 1.25);
  height: auto;
  min-height: 0;
  aspect-ratio: 5 / 4;
}

.hero-slide .hero-image figcaption {
  font-size: .75rem;
  line-height: 1.35;
  letter-spacing: .055em;
  padding: .3125rem .5rem;
}

.hero-slide .hero-image img { object-fit: cover; object-position: center; }
.hero-slide .hero-original img { object-position: 50% 20%; }
.hero-slide .hero-necklace img { object-position: 50% 90%; }
.hero-carousel.is-ready .hero-image { margin-bottom: var(--hero-bar); }
.hero-carousel .hero-controls {
  position: absolute;
  top: var(--hero-photo-height);
  right: 0;
  width: 58%;
  height: var(--hero-bar);
}

/* On narrow screens, keep the photograph and its controls together above the copy. */
@media (max-width: 57rem) and (orientation: portrait), (max-width: 32rem) {
  .hero-carousel {
    --hero-photo-height: clamp(7rem, min(80vw, 62svh, var(--hero-available)), 36rem);
  }
  .hero-carousel .hero-slide { grid-template-columns: 1fr; }
  .hero-slide .hero-image { grid-column: 1; grid-row: 1; }
  .hero-slide .hero-copy { grid-row: 2; align-self: start; padding: 1rem 7% 1.75rem; }
  .hero-slide :is(h1, h2) { font-size: clamp(2.125rem, 8vw, 3rem); }
  .hero-carousel .hero-controls { width: 100%; }
}

/* Very short viewports keep the controls above the photograph. */
@media (max-height: 31rem) and (orientation: landscape) {
  .hero-carousel { --hero-photo-height: clamp(11rem, min(46.4vw, 65svh), 20rem); }
  .hero-carousel.is-ready .hero-image { margin: var(--hero-bar) 0 0; }
  .hero-carousel .hero-controls { top: 0; }
  .hero-slide .hero-image { aspect-ratio: auto; background: transparent; }
  .hero-slide .hero-image img { position: static; display: block; height: auto; aspect-ratio: 5 / 4; }
  .hero-slide .hero-image figcaption {
    position: static;
    width: auto;
    max-width: none;
    padding: .45rem .65rem;
    background: transparent;
    text-align: center;
    font-size: .75rem;
  }
}

@media (prefers-reduced-motion: reduce) { .hero-track { transition: none; } }
