.hero {
    position: relative;
    background: var(--sand);
}

.hero-carousel {
    position: relative;
}

.hero-viewport {
    overflow: hidden;
    background: transparent;
    transition: height 0.6s ease;
}

.hero-track {
    display: flex;
    transition: transform 0.6s ease;
}

.hero-slide {
    min-width: 100%;
    height: auto;
    min-height: 0;
    position: relative;
    background: transparent;
}

.hero-slide img {
    display: block;
    width: 100%;
    height: auto;
    object-fit: contain;
}

.hero-copy {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 2;
    padding: 72px 0 56px;
    color: #fff;
    background: linear-gradient(180deg, rgba(22, 32, 30, 0), rgba(22, 32, 30, 0.78));
    pointer-events: none;
}

.hero-copy .container {
    pointer-events: auto;
}

.hero-kicker {
    margin: 0 0 10px;
    letter-spacing: 0.18em;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.82);
}

.hero-copy h1 {
    margin: 0;
    max-width: 640px;
    font-size: clamp(36px, 5vw, 60px);
    line-height: 1.25;
    color: #fff;
}

.hero-copy p {
    max-width: 460px;
    margin-top: 14px;
    color: rgba(255, 255, 255, 0.88);
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 24px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0 22px;
    border-radius: 999px;
    text-decoration: none;
    border: 1px solid transparent;
    cursor: pointer;
    background: transparent;
}

.btn-light {
    background: var(--panel);
    color: var(--ink);
    border-color: var(--line);
}

.btn-light:hover {
    background: var(--sand);
}

.btn-ghost {
    border-color: rgba(255, 255, 255, 0.55);
    color: #fff;
}

.btn-ghost:hover {
    background: rgba(255, 255, 255, 0.12);
}

.btn-dark {
    background: var(--green);
    color: #1a140c;
}

.btn-dark:hover {
    background: var(--brass);
    color: #1a140c;
}

.hero-arrow,
.hero-dots {
    position: absolute;
    z-index: 3;
}

.hero-arrow {
    top: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    border: 1px solid rgba(230, 199, 122, 0.75);
    border-radius: 50%;
    background: rgba(9, 9, 8, 0.62);
    color: #e6c77a;
    cursor: pointer;
    transform: translateY(-50%);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.35);
}

.hero-arrow:hover {
    background: rgba(20, 16, 10, 0.86);
    border-color: #f6e7c4;
    color: #f6e7c4;
}

.hero-arrow.is-prev {
    left: 24px;
}

.hero-arrow.is-next {
    right: 24px;
}

.hero-arrow::before {
    content: "";
    width: 10px;
    height: 10px;
    border-top: 2px solid currentColor;
    border-right: 2px solid currentColor;
}

.hero-arrow.is-prev::before {
    transform: translateX(2px) rotate(-135deg);
}

.hero-arrow.is-next::before {
    transform: translateX(-2px) rotate(45deg);
}

.hero-dots {
    left: auto;
    right: 7vw;
    bottom: 28px;
    display: flex;
    justify-content: flex-end;
    gap: 8px;
}

.hero-dots button {
    width: 8px;
    height: 8px;
    border: 0;
    border-radius: 50%;
    padding: 0;
    background: rgba(255, 255, 255, 0.45);
    cursor: pointer;
}

.hero-dots button.is-active {
    background: #e6c77a;
    width: 22px;
    border-radius: 999px;
}

.hero-carousel.is-single .hero-arrow,
.hero-carousel.is-single .hero-dots {
    display: none;
}

@media (min-width: 860px) {
    .hero {
        padding: 0;
    }

    .hero-carousel {
        width: 100%;
        margin: 0;
    }

    .hero-slide img {
        width: 100%;
        max-width: none;
        max-height: none;
        height: auto;
    }
}

@media (prefers-reduced-motion: reduce) {
    .hero-carousel,
    .hero-viewport,
    .hero-track {
        transition: none;
    }
}
