/* The homepage carousel keeps its styles separate from the product UI. */
.hero-carousel {
  position: relative;
  isolation: isolate;
  height: min(720px, calc(100svh - 106px));
  min-height: 600px;
  overflow: hidden;
  background: #eae2d7;
  color: #26271e;
}
.hero-carousel [hidden] { display: none !important; }
.hero-carousel::after { content: ""; position: absolute; z-index: 2; right: 0; bottom: 0; left: 0; height: clamp(64px, 8vw, 132px); pointer-events: none; background: linear-gradient(180deg, rgba(246, 243, 238, 0), #f6f3ee 100%); }
.hero-slides, .hero-slide { width: 100%; height: 100%; }
.hero-slide { position: relative; overflow: hidden; }
.hero-slide-image { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; object-position: center; }
.hero-slide-shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(239, 231, 220, .80) 0%, rgba(239, 231, 220, .48) 28%, rgba(239, 231, 220, 0) 58%), linear-gradient(0deg, rgba(245, 239, 230, .88), transparent 22%); }
.hero-slide-copy { position: absolute; z-index: 1; top: 46%; left: max(5.2vw, 32px); width: min(47%, 660px); transform: translateY(-50%); }
.hero-eyebrow { margin: 0 0 29px; font: 500 10px/1.5 var(--sans, sans-serif); letter-spacing: .19em; text-transform: uppercase; }
.hero-slide-copy h1, .hero-slide-copy h2 { margin: 0; font: 400 clamp(66px, 6.4vw, 102px)/.96 var(--serif, Georgia, serif); letter-spacing: -.043em; }
.hero-slide-copy h1 em, .hero-slide-copy h2 em { font-weight: 400; }
.hero-description { margin: 27px 0 30px; max-width: 370px; font-size: 13px; line-height: 1.85; }
.hero-cta { display: inline-flex; min-height: 49px; align-items: center; justify-content: space-between; gap: 42px; padding: 14px 22px; border: 1px solid #26271e; background: #26271e; color: #faf7ee; font-size: 10px; line-height: 1.6; font-weight: 500; letter-spacing: .09em; text-transform: uppercase; transition: background .2s, color .2s; }
.hero-cta span { font-size: 17px; line-height: 1; }
.hero-cta:hover { background: #434537; }
.hero-photo-note { position: absolute; z-index: 3; left: 5.2vw; bottom: max(2.5rem, 6vh); margin: 0; text-align: left; font-size: 10px; line-height: 1.7; letter-spacing: .02em; }
.hero-scroll { display: none; }
.hero-slide-beach { background: #e4e7d9; }
.hero-slide-beach .hero-slide-image { right: 0; left: auto; width: 61%; object-position: center 57%; }
.hero-slide-beach .hero-slide-shade { background: linear-gradient(90deg, #e4e7d9 0%, #e4e7d9 28%, rgba(228, 231, 217, .78) 40%, transparent 64%), linear-gradient(0deg, rgba(241, 239, 224, .92), transparent 30%); }
.hero-slide-spring .hero-slide-image { object-position: 62% center; }
.hero-slide-spring .hero-slide-shade { background: linear-gradient(90deg, rgba(241, 235, 207, .9), rgba(241, 235, 207, .67) 27%, transparent 62%), linear-gradient(0deg, rgba(244, 238, 214, .9), transparent 27%); }
.hero-controls { position: absolute; z-index: 2; inset: auto max(5.2vw, 32px) 0; display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 88px; border-top: 1px solid rgba(38, 39, 30, .28); }
.hero-theme { display: flex; align-items: center; gap: 17px; margin: 0; font-size: 9px; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; }
.hero-current { font-size: 11px; font-variant-numeric: tabular-nums; }
.hero-theme-divider { width: 33px; height: 1px; background: currentColor; opacity: .45; }
.hero-navigation { display: flex; align-items: center; gap: 8px; }
.hero-arrow, .hero-dot, .hero-playback { display: inline-flex; min-width: 44px; height: 44px; justify-content: center; align-items: center; padding: 0; border: 0; background: transparent; color: inherit; }
.hero-arrow { font-size: 20px; transition: transform .2s; }
.hero-arrow:hover { transform: translateX(3px); }
.hero-arrow[data-hero-prev]:hover { transform: translateX(-3px); }
.hero-dots { display: flex; gap: 0; }
.hero-dot { min-width: 28px; }
.hero-dot span { width: 5px; height: 5px; border: 1px solid currentColor; border-radius: 50%; opacity: .65; transition: transform .2s, background .2s; }
.hero-dot[aria-current="true"] span { background: currentColor; opacity: 1; transform: scale(1.25); }
.hero-playback { gap: 6px; min-width: 70px; margin-left: 12px; padding-left: 15px; border-left: 1px solid rgba(38, 39, 30, .28); font-size: 13px; }
.hero-playback-text { font-size: 9px; letter-spacing: .04em; }
.hero-carousel :focus-visible { outline: 2px solid #26271e; outline-offset: 3px; }
.hero-carousel:focus-visible { outline-offset: -5px; }
.hero-carousel[data-hero-ready="true"] .hero-slide:not([hidden]) .hero-slide-copy { animation: hero-copy-enter .5s ease both; }
@keyframes hero-copy-enter { from { opacity: 0; translate: 0 10px; } to { opacity: 1; translate: 0 0; } }
@media (min-width: 1700px) { .hero-slide-image { object-position: center 50%; } }
@media (min-width: 781px) {
  .hero-carousel::after { height: clamp(20px, 1.75vw, 32px); }
  .hero-slide-signature .hero-slide-image {
    object-position: calc(50% + clamp(40px, 4vw, 80px)) calc(50% + 48px);
  }
  .hero-slide-signature .hero-slide-shade {
    background: linear-gradient(90deg, #efe7dc 0%, rgba(239, 231, 220, .80) 10%, rgba(239, 231, 220, .48) 28%, rgba(239, 231, 220, 0) 58%);
  }
}
@media (max-width: 1000px) and (min-width: 701px) {
  .hero-carousel { min-height: 570px; }
  .hero-slide-copy { width: 53%; }
  .hero-slide-copy h1, .hero-slide-copy h2 { font-size: clamp(58px, 7.5vw, 68px); }
  .hero-slide-shade { background: linear-gradient(90deg, rgba(239, 231, 220, .96), rgba(239, 231, 220, .63) 42%, transparent 80%), linear-gradient(0deg, rgba(245, 239, 230, .88), transparent 22%); }
  .hero-photo-note { display: none; }
}
@media (max-width: 700px) {
  .hero-carousel { height: min(710px, calc(100svh - 92px)); min-height: 640px; background: #ebe2d7; }
  .hero-slide-image { top: auto; bottom: 0; height: 64%; object-position: 73% center; }
  .hero-slide-copy { top: 33px; left: 24px; width: calc(100% - 48px); transform: none; }
  .hero-eyebrow { margin-bottom: 19px; font-size: 8px; letter-spacing: .16em; }
  .hero-slide-copy h1, .hero-slide-copy h2 { font-size: clamp(49px, 13vw, 69px); line-height: .98; letter-spacing: -.04em; }
  .hero-description { margin: 16px 0 20px; max-width: 320px; font-size: 11px; line-height: 1.7; }
  .hero-cta { min-height: 44px; gap: 28px; padding: 11px 17px; font-size: 9px; }
  .hero-slide-shade { background: linear-gradient(180deg, #ebe2d7 0%, #ebe2d7 35%, rgba(235, 226, 215, .90) 45%, rgba(235, 226, 215, .15) 60%, transparent 76%), linear-gradient(0deg, #efe6db 0%, rgba(239, 230, 219, .75) 10%, transparent 26%); }
  .hero-slide-beach .hero-slide-image { width: 100%; height: 62%; object-position: center 61%; }
  .hero-slide-beach .hero-slide-shade { background: linear-gradient(180deg, #e4e7d9 0%, #e4e7d9 36%, rgba(228, 231, 217, .90) 47%, transparent 65%), linear-gradient(0deg, #e7e8dc 0%, rgba(231, 232, 220, .90) 10%, transparent 28%); }
  .hero-slide-spring { background: #f1ebcf; }
  .hero-slide-spring .hero-slide-image { height: 60%; object-position: 71% center; }
  .hero-slide-spring .hero-slide-shade { background: linear-gradient(180deg, #f1ebcf 0%, #f1ebcf 37%, rgba(241, 235, 207, .90) 48%, transparent 65%), linear-gradient(0deg, #f1ebcf 0%, rgba(241, 235, 207, .9) 10%, transparent 30%); }
  .hero-photo-note { display: none; }
  .hero-controls { right: 24px; left: 24px; min-height: 75px; gap: 8px; }
  .hero-theme { max-width: 150px; gap: 8px; font-size: 7px; line-height: 1.5; letter-spacing: .065em; }
  .hero-theme-divider { display: none; }
  .hero-current { align-self: flex-start; font-size: 10px; }
  .hero-navigation { gap: 0; }
  .hero-arrow { min-width: 32px; }
  .hero-dot { min-width: 22px; }
  .hero-playback { min-width: 34px; margin-left: 5px; padding-left: 9px; }
  .hero-playback-text { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-carousel *, .hero-carousel *::before, .hero-carousel *::after { animation: none !important; transition: none !important; }
}
