/* ═══════════════════════════════════════════════════════════════
   HERO ATELIER 2026 — Typography-led full-bleed (index)
   ═══════════════════════════════════════════════════════════════ */

.hero-atelier {
    position: relative;
    min-height: 100svh;
    min-height: 100dvh;
    display: grid;
    align-items: end;
    overflow: hidden;
    background: #0B0B0B;
    color: #fff;
    isolation: isolate;
}

.hero-atelier__media,
.hero-atelier__track {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-atelier__slide {
    position: absolute;
    inset: 0;
    margin: 0;
    opacity: 0;
    transition: opacity 1.05s ease;
    z-index: 0;
}
.hero-atelier__slide.is-active {
    opacity: 1;
    z-index: 1;
}

.hero-atelier__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 40%;
    transform: scale(1.06);
    transition: transform 8s cubic-bezier(0.22, 1, 0.36, 1);
    filter: saturate(1.05) contrast(1.04);
}
.hero-atelier__slide.is-active .hero-atelier__img {
    transform: scale(1);
}

.hero-atelier__veil {
    position: absolute;
    inset: 0;
    z-index: 2;
    background:
        linear-gradient(180deg, rgba(11,11,11,0.45) 0%, rgba(11,11,11,0.2) 38%, rgba(11,11,11,0.78) 78%, rgba(11,11,11,0.95) 100%),
        linear-gradient(90deg, rgba(11,11,11,0.55) 0%, transparent 58%);
    pointer-events: none;
}

.hero-atelier__content {
    position: relative;
    z-index: 5;
    width: min(780px, calc(100% - 2.5rem));
    margin: 0;
    padding: 0 0 clamp(4.5rem, 11vh, 7.5rem);
    padding-left: max(1.25rem, calc((100% - min(1280px, 92%)) / 2));
    padding-right: 1.25rem;
    animation: atelier-rise 1s cubic-bezier(0.22, 1, 0.36, 1) both;
}

@keyframes atelier-rise {
    from { opacity: 0; transform: translateY(32px); }
    to { opacity: 1; transform: translateY(0); }
}

.hero-atelier__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    font-family: var(--font-accent);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.72);
    margin: 0 0 1.1rem;
}
.hero-atelier__eyebrow::before {
    content: "";
    width: 28px;
    height: 1px;
    background: #FF4F1A;
}

.hero-atelier__brand {
    font-family: var(--font-display);
    font-size: clamp(3rem, 9vw, 6.2rem);
    font-weight: 600;
    font-style: italic;
    line-height: 0.88;
    letter-spacing: -0.045em;
    margin: 0 0 1.15rem;
    color: #fff;
    max-width: 11ch;
}

.hero-atelier__title {
    font-family: var(--font-body);
    font-size: clamp(1.05rem, 2.2vw, 1.35rem);
    font-weight: 500;
    line-height: 1.4;
    letter-spacing: -0.02em;
    color: rgba(255, 255, 255, 0.88);
    margin: 0 0 0.75rem;
    max-width: 28ch;
}

.hero-atelier__lead {
    font-family: var(--font-body);
    font-size: clamp(0.95rem, 1.5vw, 1.05rem);
    font-weight: 500;
    line-height: 1.55;
    color: rgba(255, 255, 255, 0.62);
    margin: 0 0 1.75rem;
    max-width: 34ch;
}

.hero-atelier__cta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
    align-items: center;
}
.hero-atelier__cta .btn {
    min-height: 52px;
    border-radius: 999px;
    padding-inline: 1.5rem;
}
.hero-atelier__cta .btn--glow {
    background: #fff !important;
    color: #0B0B0B !important;
    box-shadow: none !important;
}
.hero-atelier__cta .btn--glow:hover {
    background: #FF4F1A !important;
    color: #fff !important;
}
.hero-atelier__cta .btn--hero-ghost {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.35);
    color: #fff;
    border-radius: 999px;
}

.hero-atelier__progress {
    position: absolute;
    top: calc(var(--header-h, 4.5rem) + 0.9rem);
    left: 50%;
    transform: translateX(-50%);
    z-index: 6;
    display: flex;
    gap: 0.35rem;
    width: min(260px, 50vw);
}
.hero-atelier__progress-seg {
    flex: 1;
    height: 2px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.25);
    overflow: hidden;
}
.hero-atelier__progress-seg::after {
    content: "";
    display: block;
    height: 100%;
    width: 0;
    background: #FF4F1A;
}
.hero-atelier__progress-seg.is-complete::after { width: 100%; }
.hero-atelier__progress-seg.is-active::after {
    animation: atelier-progress var(--hero-slide-ms, 7s) linear forwards;
}
@keyframes atelier-progress {
    from { width: 0; }
    to { width: 100%; }
}

.hero-atelier__nav {
    position: absolute;
    right: max(1rem, 3vw);
    bottom: clamp(5rem, 12vh, 8rem);
    z-index: 6;
    display: flex;
    gap: 0.4rem;
}
.hero-atelier__arrow {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.28);
    background: rgba(11, 11, 11, 0.35);
    backdrop-filter: blur(10px);
    color: #fff;
    display: grid;
    place-items: center;
    cursor: pointer;
    transition: background 0.2s, border-color 0.2s, transform 0.2s;
}
.hero-atelier__arrow:hover {
    background: rgba(255, 79, 26, 0.85);
    border-color: transparent;
    transform: scale(1.05);
}

.hero-atelier__scroll {
    position: absolute;
    left: 50%;
    bottom: 1.2rem;
    z-index: 6;
    transform: translateX(-50%);
    width: 26px;
    height: 42px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 999px;
    display: grid;
    place-items: start center;
    padding-top: 8px;
}
.hero-atelier__scroll span {
    width: 3px;
    height: 3px;
    border-radius: 50%;
    background: #FF4F1A;
    animation: atelier-bounce 1.6s ease infinite;
}
@keyframes atelier-bounce {
    0%, 100% { transform: translateY(0); opacity: 1; }
    50% { transform: translateY(14px); opacity: 0.3; }
}

.hero-atelier-strip {
    background: #0B0B0B;
    color: #fff;
}
.hero-atelier-strip__inner {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.5rem;
    padding: 1.4rem 0;
}
.hero-atelier-strip__item {
    text-align: center;
    padding: 0.35rem;
    position: relative;
}
.hero-atelier-strip__item:not(:last-child)::after {
    content: "";
    position: absolute;
    right: 0;
    top: 20%;
    height: 60%;
    width: 1px;
    background: rgba(255, 255, 255, 0.1);
}
.hero-atelier-strip__item strong {
    display: block;
    font-family: var(--font-accent);
    font-size: clamp(1.2rem, 2.6vw, 1.6rem);
    font-weight: 700;
    letter-spacing: -0.03em;
    color: #FF4F1A;
    margin-bottom: 0.2rem;
}
.hero-atelier-strip__item span {
    font-family: var(--font-accent);
    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.5);
}

@media (max-width: 991px) {
    .hero-atelier__content {
        padding-left: 1.25rem;
        width: min(100%, calc(100% - 1.5rem));
    }
    .hero-atelier__nav {
        top: calc(var(--header-h, 4.5rem) + 2.2rem);
        bottom: auto;
        right: 1rem;
    }
}

@media (max-width: 767px) {
    .hero-atelier__brand {
        font-size: clamp(2.6rem, 13vw, 3.6rem);
    }
    .hero-atelier__title { font-size: 1.05rem; }
    .hero-atelier__lead {
        font-size: 0.92rem;
        display: -webkit-box;
        -webkit-line-clamp: 3;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }
    .hero-atelier__cta { flex-direction: column; align-items: stretch; }
    .hero-atelier__cta .btn { width: 100%; justify-content: center; }
    .hero-atelier__progress {
        top: calc(var(--header-h, 5.5rem) + 0.55rem);
        width: calc(100% - 2rem);
    }
    .hero-atelier-strip__inner {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 1rem 0.5rem;
    }
    .hero-atelier-strip__item:nth-child(2)::after { display: none; }
    .hero-atelier__scroll { display: none; }
}

@media (prefers-reduced-motion: reduce) {
    .hero-atelier__content { animation: none; }
    .hero-atelier__img { transition: none; transform: none; }
    .hero-atelier__progress-seg.is-active::after { animation: none; width: 100%; }
}
