.home-gallery {
    overflow: hidden;
    padding: clamp(68px, 8vw, 112px) 0;
    background:
        radial-gradient(ellipse at 88% 12%, rgba(198, 203, 134, .16), transparent 34%),
        linear-gradient(135deg, #102d25, #1b4434 58%, #163629);
    color: #fff;
}

.home-gallery-inner {
    width: min(1400px, 87%);
    margin: 0 auto;
}

.home-gallery-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 36px;
    margin-bottom: 34px;
}

.home-gallery-heading .eyebrow {
    color: #d8dec9;
}

.home-gallery-heading h2 {
    margin: 14px 0 8px;
    color: #fff;
    font: 500 clamp(38px, 5vw, 64px)/1.1 var(--serif);
    letter-spacing: -.04em;
}

.home-gallery-heading p {
    max-width: 560px;
    margin: 0;
    color: #d4ddd4;
    font-size: 14px;
    line-height: 1.8;
}

.home-gallery-actions {
    display: flex;
    flex: 0 0 auto;
    align-items: center;
    gap: 24px;
    padding-bottom: 4px;
}

.home-gallery-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #e2dfaa;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .04em;
    white-space: nowrap;
}

.home-gallery-link:hover {
    color: #fff;
}

.home-gallery-controls {
    display: flex;
    gap: 9px;
}

.home-gallery-controls button {
    display: grid;
    width: 42px;
    height: 42px;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, .48);
    border-radius: 50%;
    background: rgba(255, 255, 255, .06);
    color: #fff;
    cursor: pointer;
    font: 22px/1 var(--sans);
    transition: background .2s ease, border-color .2s ease, opacity .2s ease;
}

.home-gallery-controls button:not(:disabled):hover,
.home-gallery-controls button:not(:disabled):focus-visible {
    border-color: #e2dfaa;
    background: rgba(226, 223, 170, .18);
}

.home-gallery-controls button:focus-visible {
    outline: 2px solid #e2dfaa;
    outline-offset: 3px;
}

.home-gallery-controls button:disabled {
    cursor: default;
    opacity: .38;
}

.home-gallery-track {
    display: grid;
    grid-auto-columns: clamp(250px, 29vw, 390px);
    grid-auto-flow: column;
    gap: 18px;
    overflow-x: auto;
    padding: 0 0 14px;
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
    scrollbar-color: rgba(226, 223, 170, .55) rgba(255, 255, 255, .12);
    scrollbar-width: thin;
}

.home-gallery-card {
    position: relative;
    display: block;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, .18);
    border-radius: 8px;
    background: #243c30;
    scroll-snap-align: start;
}

.home-gallery-card::after {
    position: absolute;
    inset: 45% 0 0;
    background: linear-gradient(transparent, rgba(9, 24, 17, .24));
    content: "";
    pointer-events: none;
}

.home-gallery-card img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .6s ease;
}

.home-gallery-card:hover img,
.home-gallery-card:focus-visible img {
    transform: scale(1.045);
}

.home-gallery-card:focus-visible {
    outline: 3px solid #e2dfaa;
    outline-offset: 3px;
}

.home-experience-intro {
    padding: clamp(58px, 7vw, 92px) 7%;
    background:
        radial-gradient(ellipse at 50% 0, rgba(198, 203, 134, .17), transparent 55%),
        #f4f2eb;
    text-align: center;
}

.home-experience-intro-inner {
    max-width: 850px;
    margin: 0 auto;
}

.home-experience-intro .eyebrow {
    justify-content: center;
}

.home-experience-intro h2 {
    margin: 18px 0 14px;
    color: #20342c;
    font: 500 clamp(34px, 4.4vw, 54px)/1.15 var(--serif);
    letter-spacing: -.035em;
}

.home-experience-intro p {
    max-width: 700px;
    margin: 0 auto;
    color: #657168;
    font: 17px/1.8 var(--serif);
}

.home-experience-intro-mark {
    display: block;
    margin-top: 25px;
    color: #929960;
    font-size: 19px;
}

.home-experts {
    padding: clamp(68px, 9vw, 120px) 7%;
    background: #fff;
}

.home-experts-inner {
    width: min(1260px, 100%);
    margin: 0 auto;
}

.home-experts-copy {
    max-width: 760px;
    margin: 0 auto;
    padding: clamp(20px, 4vw, 48px) 0;
    text-align: center;
}

.home-experts-copy .eyebrow {
    justify-content: center;
}

.home-experts-copy h2 {
    margin: 20px 0 18px;
    color: #20342c;
    font: 500 clamp(38px, 4.7vw, 61px)/1.1 var(--serif);
    letter-spacing: -.04em;
}

.home-experts-copy p {
    margin: 0 0 28px;
    color: #657168;
    font: 17px/1.85 var(--serif);
}

.home-experts-copy .button {
    min-height: 50px;
}

@media (max-width: 700px) {
    .home-gallery-inner {
        width: 90%;
    }

    .home-gallery-heading {
        align-items: flex-start;
        flex-direction: column;
        gap: 20px;
        margin-bottom: 26px;
    }

    .home-gallery-actions {
        width: 100%;
        justify-content: space-between;
    }

    .home-gallery-track {
        grid-auto-columns: min(78vw, 350px);
        gap: 13px;
    }

    .home-experience-intro {
        padding-right: 8%;
        padding-left: 8%;
    }

    .home-experience-intro p {
        font-size: 16px;
    }

    .home-experts {
        padding: 58px 7%;
    }

    .home-experts-copy {
        padding: 4px 0 0;
    }

    .home-experts-copy h2 {
        margin-top: 14px;
        font-size: 42px;
    }

    .home-experts-copy p {
        font-size: 16px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .home-gallery-card img,
    .home-gallery-controls button {
        transition: none;
    }

    .home-gallery-track {
        scroll-behavior: auto;
    }
}
