/*.hero {*/
/*    padding-block: calc(var(--section-y) + 1rem) var(--section-y);*/
/*}*/

.hero {
    position: relative;
    min-height: 100dvh;
    display: flex;
    align-items: center;
    background-image: url("https://images.unsplash.com/photo-1522071820081-009f0129c71c?auto=format&fit=crop&w=1920&q=75");
    background-position: center;
    background-size: cover;
    background-attachment: fixed;
    color: #ffffff;
}

.hero::before,
.hero::after {
    position: fixed;
    inset: 0;
    z-index: 0;
    content: "";
}

.hero::before {
    background: rgba(var(--hero-accent-rgb), 0.88);
    clip-path: polygon(0 0, 58% 0, 32% 100%, 0 100%);
}

.hero::after {
    background: rgba(var(--hero-accent-2-rgb), 0.9);
    clip-path: polygon(100% 0, 100% 100%, 42% 100%, 68% 0);
}

.hero .wrap {
    position: fixed;
    top: 50%;
    left: 50%;
    z-index: 1;
    width: 100%;
    max-width: var(--wrap);
    padding-inline: var(--gutter);
    transform: translate(-50%, -50%);
}

@supports (animation-timeline: scroll()) {
    @media (prefers-reduced-motion: no-preference) {
        .hero .wrap {
            animation: hero-fade linear both;
            animation-timeline: scroll(root block);
            animation-range: 0 100vh;
        }

        @keyframes hero-fade {
            from {
                opacity: 1;
            }

            to {
                opacity: 0;
            }
        }
    }
}

.hero h1 {
    color: var(--hero-heading);
}

.hero__lede {
    margin-top: 1.25rem;
    color: rgba(255, 255, 255, 0.92);
    font-size: var(--fs-500);
    font-weight: 500;
}

.hero__body {
    margin-top: 1rem;
    color: rgba(255, 255, 255, 0.78);
}

.hero .btn--secondary {
    color: #ffffff;
}

.hero .btn--secondary:hover {
    color: var(--on-accent);
}

.hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    max-width: none;
    margin-top: 2.5rem;
}

@media (max-width: 30rem) {
    .hero__actions {
        flex-wrap: nowrap;
        gap: 0.6rem;
    }

    .hero__actions .btn {
        flex: 1 1 0;
        min-height: 2.75rem;
        padding-inline: 0.75rem;
        font-size: var(--fs-300);
        white-space: nowrap;
    }
}

.services {
    position: relative;
    z-index: 1;
    background: var(--paper);
}

.services__list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr));
    gap: clamp(1rem, 3vw, 2rem);
    margin-top: clamp(2rem, 5vw, 3rem);
}

.card {
    height: 100%;
    padding: clamp(1.5rem, 3vw, 2rem);
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
}

.card p {
    margin-top: 0.75rem;
    color: var(--slate);
    font-size: var(--fs-300);
}

.stats {
    position: relative;
    z-index: 1;
    background: var(--surface);
    border-block: 1px solid var(--line);
    text-align: center;
}

.stats__list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(11rem, 1fr));
    gap: clamp(2rem, 5vw, 3rem);
    margin-top: clamp(2rem, 5vw, 3rem);
}

.stats__item {
    display: grid;
    gap: 0.35rem;
}

.stats__value {
    order: 1;
    margin: 0;
    color: var(--gold-dark);
    font-size: var(--fs-700);
    line-height: 1;
}

.stats__label {
    order: 2;
    color: var(--slate);
    font-size: var(--fs-300);
    letter-spacing: 0.06em;
    text-transform: uppercase;
}