/*
 * Unclad Collection — Coming Soon
 * Supplemental styles for the Tailwind CSS 4 standalone marketing page.
 */

:root {
    --brand-primary: #1e2a38;
    --brand-secondary: #50634d;
    --brand-accent: #d9824b;
    --page-bg: #fafaf9;
}

html {
    scroll-behavior: smooth;
}

body {
    background: var(--page-bg);
}

::selection {
    background: color-mix(in srgb, var(--brand-accent) 28%, transparent);
}

.brand-radiance {
    background:
        radial-gradient(circle at 10% 12%, color-mix(in srgb, var(--brand-accent) 18%, transparent), transparent 34%),
        radial-gradient(circle at 90% 10%, color-mix(in srgb, var(--brand-secondary) 19%, transparent), transparent 38%);
}

.hero-photo-shade {
    background: linear-gradient(180deg, transparent 35%, rgb(0 0 0 / 0.42) 100%);
}

.soft-secondary {
    background: color-mix(in srgb, var(--brand-secondary) 7%, white);
}

.soft-accent {
    background: color-mix(in srgb, var(--brand-accent) 10%, white);
}

.feature-icon {
    background: color-mix(in srgb, var(--brand-accent) 14%, transparent);
    color: var(--brand-accent);
}

.feature-icon.secondary {
    background: color-mix(in srgb, var(--brand-secondary) 14%, transparent);
    color: var(--brand-secondary);
}

.feature-icon.primary {
    background: color-mix(in srgb, var(--brand-primary) 10%, transparent);
    color: var(--brand-primary);
}

.image-placeholder {
    background:
        linear-gradient(135deg, color-mix(in srgb, var(--brand-secondary) 26%, #e7e5e4), color-mix(in srgb, var(--brand-primary) 16%, #f5f5f4));
}

/*.image-placeholder::after {
    content: "Replace with your image";
    position: absolute;
    inset: auto 1rem 1rem 1rem;
    display: inline-flex;
    width: fit-content;
    border-radius: 999px;
    background: rgb(255 255 255 / 0.88);
    padding: 0.4rem 0.7rem;
    font-size: 0.7rem;
    font-weight: 650;
    color: #44403c;
    backdrop-filter: blur(10px);
}*/

.site-shadow {
    box-shadow: 0 24px 70px rgb(28 25 23 / 0.14);
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
    }
}


/* Accessible hero slider */
.hero-slider {
    position: relative;
    overflow: hidden;
}
.hero-slider-track {
    position: absolute;
    inset: 0;
}
.hero-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    visibility: hidden;
    transition: opacity 700ms ease, visibility 700ms ease;
}
.hero-slide.is-active {
    opacity: 1;
    visibility: visible;
    z-index: 1;
}
.hero-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.slider-controls {
    position: absolute;
    z-index: 10;
    display: flex;
    align-items: center;
    gap: .5rem;
}
.slider-button {
    display: inline-flex;
    width: 2.5rem;
    height: 2.5rem;
    align-items: center;
    justify-content: center;
    border: 1px solid rgb(255 255 255 / .3);
    border-radius: 999px;
    background: rgb(20 20 20 / .38);
    color: white;
    backdrop-filter: blur(10px);
    transition: background 180ms ease, transform 180ms ease;
}
.slider-button:hover { background: rgb(20 20 20 / .58); transform: translateY(-1px); }
.slider-button:focus-visible { outline: 3px solid white; outline-offset: 3px; }
.slider-dots { display: flex; align-items: center; gap: .4rem; }
.slider-dot {
    width: .55rem;
    height: .55rem;
    border-radius: 999px;
    background: rgb(255 255 255 / .5);
    transition: width 220ms ease, background 220ms ease;
}
.slider-dot.is-active { width: 1.65rem; background: white; }
.slider-dot:focus-visible { outline: 2px solid white; outline-offset: 3px; }

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

/* Version 1 hero slider reliability fix
 * Keep the slide deck in normal layout sizing so the carousel cannot
 * collapse when served as a standalone static page.
 */
.hero-slider {
    isolation: isolate;
    min-height: 100%;
    background: var(--brand-primary);
}

.hero-slider-track {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.hero-slide {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    margin: 0;
}

.hero-slide img {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
    max-width: none;
    object-fit: cover;
}

.hero-slide .hero-photo-shade,
.hero-slide figcaption {
    pointer-events: none;
}

/* Final standalone carousel sizing fix.
 * The shell owns a real height. The carousel then fills it explicitly,
 * so absolutely-positioned slides can never collapse the hero area.
 */
.hero-slider-shell {
    position: relative;
    width: 100%;
    height: 470px;
    min-height: 470px;
}

.hero-slider-shell > .hero-slider {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    min-height: 0;
    display: block;
}

.hero-slider-shell .hero-slider-track,
.hero-slider-shell .hero-slide {
    width: 100%;
    height: 100%;
}

.hero-slider-shell .hero-slide.is-active {
    display: block;
}

@media (min-width: 1024px) {
    .hero-slider-shell {
        height: 560px;
        min-height: 560px;
    }
}

/* Keep active imagery below copy/controls but above the slider background. */
.hero-slider-track { z-index: 0; }
.hero-slide.is-active { z-index: 1; }
.slider-controls { z-index: 20; }
