/* Full-width photography and restrained motion, without a slider framework. */
.hero {
    width: 100%;
    min-width: 0;
    height: clamp(540px, 56.25vw, 1000px);
    max-height: none;
    aspect-ratio: auto;
    isolation: isolate;
}
.hero-slides { touch-action: pan-y pinch-zoom; }
.hero-slide { overflow: hidden; min-width: 0; }
.hero-slide.is-active { z-index: 2; }
.hero-slide.is-leaving { z-index: 1; pointer-events: none; }
.hero-slide > img {
    display: block;
    width: 100%;
    max-width: none;
    height: 100%;
    object-fit: cover;
    object-position: center;
}
.hero-shade { background: linear-gradient(180deg, #0e190f30 0%, #15120c20 38%, #15120c58 100%); }
.hero-copy { gap: 30px; padding: 120px 60px; }
.hero h1, .hero .hero-title {
    max-width: 1100px;
    font-size: clamp(40px, 5.55vw, 80px);
    line-height: 1.08;
    letter-spacing: -.035em;
    text-wrap: balance;
}
.hero .button { min-height: 48px; }
.hero-controls {
    position: absolute;
    z-index: 3;
    bottom: 38px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 2px;
    padding: 5px 8px;
    border: 1px solid #fff5;
    border-radius: 100px;
    background: #18201538;
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
    color: #fff;
}
.hero-controls button {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    flex: 0 0 44px;
    width: 44px;
    height: 44px;
    border: 0;
    border-radius: 50%;
    padding: 0;
    background: transparent;
    color: #fff;
    cursor: pointer;
    transition: background .2s, transform .2s;
}
.hero-controls button:hover { background: #fff2; }
.hero-controls button:active { transform: scale(.92); }
.hero-controls button:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
.hero .hero-dots { position: static; display: flex; gap: 0; }
.hero .hero-dots button { background: transparent; border: 0; }
.hero-dots button::after {
    content: '';
    width: 6px;
    height: 6px;
    border-radius: 10px;
    background: #fff8;
    transition: width .5s cubic-bezier(.22,1,.36,1), background .3s;
}
.hero-dots button.active::after { width: 24px; background: #fff; }
.hero-toggle { margin-left: 3px; }
.hero-progress { position: absolute; z-index: 3; inset: auto 0 0; height: 2px; pointer-events: none; }
.hero-progress span { display: block; width: 100%; height: 100%; background: #fff9; transform: scaleX(0); transform-origin: left; }

/* These classes are added only after the observer is ready. Static HTML stays visible. */
.hn-reveal-pending { opacity: 0; transform: translateY(22px); }
.featured-products .product { flex-basis: calc((100% - 90px) / 4); }
.featured-products ul.products, .collections-rail { overscroll-behavior-x: contain; }
.collection-card { min-width: 0; }
.rail-controls button { width: 44px; height: 44px; transition: background .2s, border-color .2s, opacity .2s; }
.quote-controls button { transition: background .2s, border-color .2s; }
.rail-controls button:disabled { opacity: .3; cursor: default; }
.rail-controls button:not(:disabled):hover { background: #6c4c2b0c; border-color: #6c4c2b70; }

@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
    #main .button { transition: transform .3s cubic-bezier(.22,1,.36,1), box-shadow .3s, background-color .25s, color .25s; }
    #main .button:hover { transform: translateY(-2px); box-shadow: 0 6px 18px #172e2214; }
    #main .button:active { transform: translateY(0); }
    .collection-card img, .product-photo img { transition: transform .8s cubic-bezier(.22,1,.36,1); }
    .collection-card:hover img, .collection-card:focus-visible img { transform: scale(1.04); }
    .collection-arrow { transition: transform .4s cubic-bezier(.22,1,.36,1); }
    .collection-card:hover .collection-arrow { transform: translate(2px, -2px); }
}
@media (min-width: 768px) and (max-width: 1023px) {
    .hero-copy { padding-inline: 40px; }
    .featured-products .product { flex-basis: calc((100% - 60px) / 3); }
}
@media (max-width: 767px) {
    .hero { height: 560px; height: clamp(500px, 74svh, 660px); }
    .hero-copy { gap: 24px; padding: 108px 24px 100px; }
    .hero h1, .hero .hero-title { font-size: clamp(36px, 8.8vw, 48px); line-height: 1.12; max-width: 540px; }
    .hero .button { min-height: 44px; padding: 10px 28px; }
    .hero-controls { bottom: 25px; padding: 3px 5px; gap: 0; }
    .hero-controls button { width: 44px; flex-basis: 44px; }
    .featured-products .product { flex-basis: 70%; }
}
@media (prefers-reduced-motion: reduce) {
    .hn-reveal-pending { opacity: 1; transform: none; }
    .hero-progress { display: none; }
}
