/* ============================================================


   SOUTH YORKSHIRE XCAVATE


   HOMEPAGE


   ============================================================ */


/* ============================================================


   GENERAL


   ============================================================ */


.home-main {


    overflow: clip;


}


.home-kicker {


    display: inline-block;


    margin-bottom: 14px;


    color: var(--color-accent);


    font-size: 0.76rem;


    font-weight: 900;


    letter-spacing: 0.14em;


    line-height: 1.3;


    text-transform: uppercase;


}


.home-kicker--dark {


    color: var(--color-primary);


}


.home-btn {


    display: inline-flex;


    align-items: center;


    justify-content: center;


    gap: 10px;


    min-height: 52px;


    padding: 14px 22px;


    border: 1px solid transparent;


    border-radius: 9px;


    text-decoration: none;


    font-size: 0.94rem;


    font-weight: 800;


    line-height: 1;


    transition:


        transform var(--transition),


        background-color var(--transition),


        border-color var(--transition),


        color var(--transition);


}


.home-btn:hover {


    transform: translateY(-2px);


}


.home-btn svg {


    width: 19px;


    height: 19px;


    fill: none;


    stroke: currentColor;


    stroke-width: 2;


    stroke-linecap: round;


    stroke-linejoin: round;


}


.home-btn--accent {


    background: var(--color-accent);


    color: #121416;


}


.home-btn--accent:hover {


    background: #ffd13a;


}


.home-btn--ghost {


    border-color: rgba(255, 255, 255, 0.28);


    background: rgba(255, 255, 255, 0.06);


    color: #fff;


}


.home-btn--ghost:hover {


    background: rgba(255, 255, 255, 0.12);


}


.home-btn--dark {


    background: var(--color-ink);


    color: #fff;


}


.home-btn--dark:hover {


    background: #242828;


}


.home-text-link {


    display: inline-flex;


    align-items: center;


    gap: 8px;


    color: var(--color-ink);


    text-decoration: none;


    font-weight: 800;


}


.home-text-link span {


    color: var(--color-primary);


}


/* ============================================================


   SCROLL REVEAL


   ============================================================ */


[data-reveal] {


    opacity: 0;


    transform: translateY(26px);


    transition:


        opacity 700ms ease,


        transform 700ms cubic-bezier(.22, 1, .36, 1);


}


[data-reveal][data-reveal-delay="1"] {


    transition-delay: 100ms;


}


[data-reveal][data-reveal-delay="2"] {


    transition-delay: 200ms;


}


[data-reveal].is-visible {


    opacity: 1;


    transform: translateY(0);


}


/* ============================================================
   HERO
   ============================================================ */

.home-hero {
    position: relative;
    min-height: 720px;
    display: flex;
    align-items: center;
    overflow: hidden;
    padding: 92px 0 88px;
    background:
        radial-gradient(circle at 88% 20%,
            rgba(11, 107, 55, 0.34),
            transparent 34%),
        linear-gradient(120deg,
            #07120c 0%,
            #0b2116 58%,
            #08150e 100%);
    color: #fff;
}

.home-hero__background {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.home-hero__background img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    object-position: center center;
}

.home-hero__overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background:
        linear-gradient(90deg,
            rgba(3, 15, 9, 0.95) 0%,
            rgba(3, 15, 9, 0.91) 18%,
            rgba(3, 15, 9, 0.81) 37%,
            rgba(3, 15, 9, 0.57) 56%,
            rgba(3, 15, 9, 0.25) 77%,
            rgba(3, 15, 9, 0.08) 100%),
        linear-gradient(180deg,
            rgba(2, 12, 7, 0.12) 0%,
            rgba(2, 12, 7, 0.32) 100%);
}

.home-hero--no-image .home-hero__overlay {
    background:
        radial-gradient(circle at 80% 20%,
            rgba(11, 107, 55, 0.28),
            transparent 38%),
        linear-gradient(120deg,
            rgba(7, 18, 12, 0.15),
            rgba(11, 33, 22, 0.08));
}

.home-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 2;
    pointer-events: none;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.022) 1px,
            transparent 1px),
        linear-gradient(90deg,
            rgba(255, 255, 255, 0.022) 1px,
            transparent 1px);
    background-size: 50px 50px;
}

.home-hero__inner {
    position: relative;
    z-index: 3;
    display: block;
    width: calc(100% - 48px);
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.home-hero__content {
    width: 100%;
    max-width: 720px;
}

.home-hero .home-kicker {
    margin-bottom: 18px;
}

.home-hero h1 {
    max-width: 760px;
    margin: 0;
    color: #fff;
    font-size: clamp(3rem, 5vw, 5.2rem);
    font-weight: 900;
    letter-spacing: -0.058em;
    line-height: 0.97;
    text-shadow: 0 4px 24px rgba(0, 0, 0, 0.22);
}

.home-hero h1 span,
.home-hero h1 strong {
    display: block;
}

.home-hero h1 span {
    color: #fff;
}

.home-hero h1 strong {
    margin-top: 5px;
    color: var(--color-accent);
    font: inherit;
}

.home-hero__lead {
    max-width: 650px;
    margin: 28px 0 0;
    color: rgba(255, 255, 255, 0.82);
    font-size: clamp(1rem, 1.2vw, 1.12rem);
    line-height: 1.72;
}

.home-hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 11px;
    margin-top: 30px;
}

.home-hero__proof {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 28px;
}

.home-hero__proof span {
    padding: 8px 12px;
    border: 1px solid rgba(255, 255, 255, 0.17);
    border-radius: 999px;
    background: rgba(5, 17, 10, 0.48);
    color: rgba(255, 255, 255, 0.78);
    font-size: 0.76rem;
    font-weight: 700;
    backdrop-filter: blur(7px);
    -webkit-backdrop-filter: blur(7px);
}


/* ============================================================


   TRUST STRIP


   ============================================================ */


.home-trust {


    border-bottom: 1px solid var(--color-line);


    background: var(--color-surface);


}


.home-trust__grid {


    display: grid;


    grid-template-columns: repeat(3, 1fr);


}


.home-trust article {


    padding: 30px 32px 32px 0;


}


.home-trust article+article {


    padding-left: 32px;


    border-left: 1px solid var(--color-line);


}


.home-trust article>span {


    display: block;


    margin-bottom: 10px;


    color: var(--color-primary);


    font-size: 0.7rem;


    font-weight: 900;


    letter-spacing: 0.12em;


}


.home-trust strong {


    display: block;


    color: var(--color-ink);


    font-size: 1rem;


}


.home-trust p {


    margin: 7px 0 0;


    color: var(--color-muted);


    font-size: 0.88rem;


    line-height: 1.55;


}


/* ============================================================


   SECTION HEADINGS


   ============================================================ */


.home-section-head {


    display: grid;


    grid-template-columns: minmax(0, 1fr) 330px;


    gap: 60px;


    align-items: end;


    margin-bottom: 42px;


}


.home-section-head h2,


.home-about h2,


.home-hire h2,


.home-areas h2,


.home-final h2 {


    margin: 0;


    color: var(--color-ink);


    font-size: clamp(2.2rem, 4vw, 4rem);


    font-weight: 900;


    letter-spacing: -0.052em;


    line-height: 0.99;


}


.home-section-head>div:last-child>p,


.home-section-head>p {


    margin: 0 0 12px;


    color: var(--color-muted);


    line-height: 1.65;


}


/* ============================================================


   SERVICES


   ============================================================ */


.home-services {


    padding: 92px 0;


    background: var(--color-surface-soft);


}


.home-service-slider__viewport {


    overflow-x: auto;


    overscroll-behavior-x: contain;


    scroll-snap-type: x mandatory;


    scrollbar-width: none;


    scroll-behavior: smooth;


}


.home-service-slider__viewport::-webkit-scrollbar {


    display: none;


}


.home-service-slider__track {


    display: flex;


    gap: 18px;


}


.home-service-card {


    flex: 0 0 calc((100% - 36px) / 3);


    min-width: 0;


    scroll-snap-align: start;


}


.home-service-card>a {


    display: block;


    height: 100%;


    overflow: hidden;


    border: 1px solid var(--color-line);


    border-radius: 16px;


    background: #fff;


    text-decoration: none;


    transition:


        transform var(--transition),


        box-shadow var(--transition),


        border-color var(--transition);


}


.home-service-card>a:hover {


    transform: translateY(-4px);


    border-color: rgba(11, 107, 55, 0.22);


    box-shadow: var(--shadow-md);


}


.home-service-card__media {


    position: relative;


    aspect-ratio: 4 / 3;


    overflow: hidden;


    background:


        radial-gradient(circle at 72% 26%,


            rgba(243, 189, 24, 0.22),


            transparent 34%),


        linear-gradient(145deg,


            #0a5a30,


            #06351f);


}


.home-service-card__media img {


    width: 100%;


    height: 100%;


    display: block;


    object-fit: cover;


    transition: transform 550ms ease;


}


.home-service-card a:hover img {


    transform: scale(1.045);


}


.home-service-card__shade {


    position: absolute;


    inset: 0;


    background:


        linear-gradient(0deg,


            rgba(0, 0, 0, 0.35),


            transparent 54%);


}


.home-service-card__number {


    position: absolute;


    top: 14px;


    right: 14px;


    display: inline-flex;


    min-width: 38px;


    height: 38px;


    align-items: center;


    justify-content: center;


    border-radius: 999px;


    background: rgba(10, 16, 12, 0.72);


    color: #fff;


    font-size: 0.72rem;


    font-weight: 900;


    backdrop-filter: blur(8px);


}


.home-service-card__body {


    padding: 22px;


}


.home-service-card__body>span {


    display: block;


    margin-bottom: 8px;


    color: var(--color-primary);


    font-size: 0.72rem;


    font-weight: 900;


    letter-spacing: 0.09em;


    text-transform: uppercase;


}


.home-service-card h3 {


    margin: 0;


    color: var(--color-ink);


    font-size: 1.2rem;


    line-height: 1.22;


}


.home-service-card p {


    min-height: 70px;


    margin: 12px 0 18px;


    color: var(--color-muted);


    font-size: 0.9rem;


    line-height: 1.6;


}


.home-service-card strong {


    display: flex;


    justify-content: space-between;


    align-items: center;


    color: var(--color-ink);


    font-size: 0.88rem;


}


.home-service-card strong b {


    color: var(--color-primary);


}


.home-service-slider__bottom {


    display: flex;


    align-items: center;


    gap: 18px;


    margin-top: 24px;


}


.home-service-slider__arrows {


    display: flex;


    gap: 8px;


}


.home-service-slider__arrows button {


    width: 44px;


    height: 44px;


    display: grid;


    place-items: center;


    border: 1px solid var(--color-line);


    border-radius: 999px;


    background: #fff;


    color: var(--color-ink);


    cursor: pointer;


}


.home-service-slider__arrows button:hover {


    border-color: rgba(11, 107, 55, 0.35);


}


.home-service-slider__arrows svg {


    width: 19px;


    height: 19px;


    fill: none;


    stroke: currentColor;


    stroke-width: 2;


}


.home-service-slider__progress {


    flex: 1;


    height: 3px;


    overflow: hidden;


    border-radius: 999px;


    background: #dde2df;


}


.home-service-slider__progress span {


    display: block;


    width: 12.5%;


    height: 100%;


    border-radius: inherit;


    background: var(--color-primary);


    transform-origin: left center;


    transition: transform 250ms ease;


}


/* ============================================================


   ABOUT


   ============================================================ */


.home-about {


    padding: 96px 0;


    background: #fff;


}


.home-about__grid,


.home-hire__grid {


    display: grid;


    grid-template-columns: minmax(0, 1fr) minmax(0, 0.92fr);


    gap: 68px;


    align-items: center;


}


.home-about__visual {


    position: relative;


    min-height: 520px;


    overflow: hidden;


    border-radius: 18px;


    background:


        radial-gradient(circle at 25% 25%,


            rgba(243, 189, 24, 0.19),


            transparent 30%),


        linear-gradient(145deg,


            #0b6b37,


            #073c24);


}


.home-about__visual img {


    width: 100%;


    height: 100%;


    min-height: 520px;


    display: block;


    object-fit: cover;


}


.home-about__badge {


    position: absolute;


    right: 16px;


    bottom: 16px;


    left: 16px;


    padding: 18px 20px;


    border: 1px solid rgba(255, 255, 255, 0.15);


    border-radius: 12px;


    background: rgba(7, 17, 11, 0.82);


    color: #fff;


    backdrop-filter: blur(10px);


}


.home-about__badge strong,


.home-about__badge span {


    display: block;


}


.home-about__badge span {


    margin-top: 3px;


    color: rgba(255, 255, 255, 0.68);


    font-size: 0.82rem;


}


.home-about__lead {


    margin: 24px 0 0;


    color: var(--color-text);


    font-size: 1.06rem;


    line-height: 1.75;


}


.home-about__content>p:not(.home-about__lead) {


    margin: 18px 0 0;


    color: var(--color-muted);


    line-height: 1.75;


}


.home-about__actions {


    display: flex;


    flex-wrap: wrap;


    align-items: center;


    gap: 20px;


    margin-top: 30px;


}


/* ============================================================


   HIRE


   ============================================================ */


.home-hire {


    padding: 96px 0;


    background: #101511;


    color: #fff;


}


.home-hire__grid {


    grid-template-columns: 0.92fr 1fr;


}


.home-hire h2 {


    color: #fff;


}


.home-hire__content>p {


    margin: 24px 0 0;


    color: rgba(255, 255, 255, 0.68);


    line-height: 1.75;


}


.home-hire__items {


    display: flex;


    flex-wrap: wrap;


    gap: 8px;


    margin: 26px 0 30px;


}


.home-hire__items span {


    padding: 8px 11px;


    border: 1px solid rgba(255, 255, 255, 0.14);


    border-radius: 999px;


    color: rgba(255, 255, 255, 0.8);


    font-size: 0.78rem;


    font-weight: 700;


}


.home-hire__visual {


    position: relative;


    min-height: 500px;


    overflow: hidden;


    border-radius: 18px;


    background:


        radial-gradient(circle at 72% 24%,


            rgba(243, 189, 24, 0.22),


            transparent 34%),


        linear-gradient(145deg,


            #19482d,


            #0b2517);


}


.home-hire__visual img {


    width: 100%;


    height: 100%;


    min-height: 500px;


    display: block;


    object-fit: cover;


}


.home-hire__price {


    position: absolute;


    right: 16px;


    bottom: 16px;


    padding: 14px 17px;


    border-radius: 11px;


    background: var(--color-accent);


    color: #101210;


    box-shadow: var(--shadow-md);


}


.home-hire__price span,


.home-hire__price strong {


    display: block;


}


.home-hire__price span {


    font-size: 0.74rem;


    font-weight: 800;


    text-transform: uppercase;


}


.home-hire__price strong {


    margin-top: 2px;


    font-size: 1.14rem;


}


/* ============================================================


   PROCESS


   ============================================================ */


.home-process {


    padding: 92px 0;


    background: var(--color-surface-soft);


}


.home-process__grid {


    display: grid;


    grid-template-columns: repeat(3, 1fr);


    gap: 16px;


}


.home-process article {


    padding: 30px;


    border: 1px solid var(--color-line);


    border-radius: 15px;


    background: #fff;


}


.home-process article>span {


    display: block;


    margin-bottom: 32px;


    color: var(--color-primary);


    font-size: 0.74rem;


    font-weight: 900;


    letter-spacing: 0.12em;


}


.home-process h3 {


    margin: 0;


    color: var(--color-ink);


    font-size: 1.14rem;


}


.home-process p {


    margin: 10px 0 0;


    color: var(--color-muted);


    font-size: 0.9rem;


    line-height: 1.65;


}


/* ============================================================


   AREAS


   ============================================================ */


.home-areas {


    padding: 96px 0;


    background:


        radial-gradient(circle at 85% 25%,


            rgba(11, 107, 55, 0.4),


            transparent 34%),


        #0a1710;


    color: #fff;


}


.home-areas__inner {


    display: grid;


    grid-template-columns: minmax(0, 1fr) 400px;


    gap: 74px;


    align-items: center;


}


.home-areas h2 {


    color: #fff;


}


.home-areas__content>p {


    max-width: 700px;


    margin: 22px 0 30px;


    color: rgba(255, 255, 255, 0.68);


    line-height: 1.75;


}


.home-areas__places {


    border-top: 1px solid rgba(255, 255, 255, 0.13);


}


.home-areas__places a {


    display: flex;


    justify-content: space-between;


    align-items: center;


    padding: 16px 0;


    border-bottom: 1px solid rgba(255, 255, 255, 0.13);


    color: #fff;


    text-decoration: none;


    font-weight: 800;


    transition:


        padding-left var(--transition),


        color var(--transition);


}


.home-areas__places a:hover {


    padding-left: 8px;


}


.home-areas__places a span {


    color: var(--color-accent);


}


/* ============================================================


   FINAL CTA


   ============================================================ */


.home-final {


    padding: 70px 0;


    background: #fff;


}


.home-final__inner {


    display: flex;


    justify-content: space-between;


    align-items: center;


    gap: 48px;


    padding: 44px 46px;


    border-radius: 20px;


    background: var(--color-surface-soft);


}


.home-final h2 {


    font-size: clamp(2rem, 3.2vw, 3.2rem);


}


.home-final p {


    margin: 12px 0 0;


    color: var(--color-muted);


}


.home-final__actions {


    display: flex;


    flex-shrink: 0;


    flex-wrap: wrap;


    gap: 10px;


}


/* ============================================================


   TABLET


   ============================================================ */


@media (max-width: 1050px) {


    .home-hero__inner {


        grid-template-columns: minmax(0, 1fr) minmax(360px, 0.78fr);


        gap: 42px;


    }


    .home-hero h1 {


        font-size: clamp(3rem, 5.8vw, 4.7rem);


    }


    .home-hero__visual {


        min-height: 450px;


    }


    .home-about__grid,


    .home-hire__grid {


        gap: 48px;


    }


    .home-areas__inner {


        grid-template-columns: minmax(0, 1fr) 330px;


        gap: 48px;


    }


}


/* ============================================================


   SMALL TABLET


   ============================================================ */


@media (max-width: 880px) {


    .home-hero {


        padding: 56px 0 62px;


    }


    .home-hero__inner {


        grid-template-columns: 1fr;


        gap: 38px;


    }


    .home-hero__content {


        max-width: 720px;


    }


    .home-hero__visual {


        min-height: 440px;


    }


    .home-section-head {


        grid-template-columns: 1fr;


        gap: 18px;


    }


    .home-service-card {


        flex-basis: calc((100% - 18px) / 2);


    }


    .home-about__grid,


    .home-hire__grid,


    .home-areas__inner {


        grid-template-columns: 1fr;


    }


    .home-about__visual,


    .home-about__visual img,


    .home-hire__visual,


    .home-hire__visual img {


        min-height: 430px;


    }


    .home-process__grid {


        grid-template-columns: 1fr;


    }


    .home-process article {


        padding: 26px;


    }


    .home-process article>span {


        margin-bottom: 16px;


    }


}


/* ============================================================


   MOBILE


   ============================================================ */


@media (max-width: 760px) {


    .home-hero {


        padding: 42px 0 48px;


    }


    .home-hero__inner {


        gap: 30px;


    }


    .home-hero h1 {


        font-size: clamp(2.65rem, 12vw, 3.8rem);


        line-height: 0.98;


    }


    .home-hero__lead {


        margin-top: 20px;


        font-size: 0.98rem;


        line-height: 1.65;


    }


    .home-hero__actions {


        display: grid;


        grid-template-columns: 1fr;


        margin-top: 25px;


    }


    .home-hero__actions .home-btn {


        width: 100%;


    }


    .home-hero__proof {


        gap: 7px;


        margin-top: 22px;


    }


    .home-hero__proof span {


        padding: 7px 10px;


        font-size: 0.7rem;


    }


    .home-hero__visual {


        min-height: 330px;


        border-radius: 15px;


    }


    .home-hero__visual-label {


        right: 12px;


        bottom: 12px;


        left: 12px;


        padding: 14px 15px;


    }


    /* Trust becomes swipeable */


    .home-trust__grid {


        display: flex;


        overflow-x: auto;


        scroll-snap-type: x mandatory;


        scrollbar-width: none;


    }


    .home-trust__grid::-webkit-scrollbar {


        display: none;


    }


    .home-trust article,


    .home-trust article+article {


        flex: 0 0 82%;


        padding: 24px 20px 25px 0;


        border-left: 0;


        scroll-snap-align: start;


    }


    .home-trust article+article {


        padding-left: 18px;


        border-left: 1px solid var(--color-line);


    }


    .home-services,


    .home-about,


    .home-hire,


    .home-process,


    .home-areas {


        padding: 62px 0;


    }


    .home-section-head {


        margin-bottom: 28px;


    }


    .home-section-head h2,


    .home-about h2,


    .home-hire h2,


    .home-areas h2 {


        font-size: clamp(2.1rem, 10vw, 3.1rem);


    }


    /* Services show one card and hint of next */


    .home-service-slider__track {


        gap: 12px;


    }


    .home-service-card {


        flex-basis: 86%;


    }


    .home-service-card p {


        min-height: auto;


    }


    .home-service-slider__arrows {


        display: none;


    }


    .home-about__grid,


    .home-hire__grid,


    .home-areas__inner {


        gap: 32px;


    }


    .home-about__visual,


    .home-about__visual img,


    .home-hire__visual,


    .home-hire__visual img {


        min-height: 330px;


    }


    .home-hire__visual {


        order: -1;


    }


    .home-process__grid {


        gap: 10px;


    }


    .home-process article {


        padding: 22px;


    }


    .home-areas__places {


        margin-top: 4px;


    }


    .home-final {


        padding: 48px 0;


    }


    .home-final__inner {


        display: block;


        padding: 29px 23px;


    }


    .home-final__actions {


        display: grid;


        grid-template-columns: 1fr;


        margin-top: 24px;


    }


    .home-final__actions .home-btn {


        width: 100%;


    }


}


/* ============================================================


   SMALL MOBILE


   ============================================================ */


@media (max-width: 430px) {


    .home-hero h1 {


        font-size: clamp(2.45rem, 12.5vw, 3.25rem);


    }


    .home-service-card {


        flex-basis: 89%;


    }


    .home-hero__visual {


        min-height: 290px;


    }


    .home-about__visual,


    .home-about__visual img,


    .home-hire__visual,


    .home-hire__visual img {


        min-height: 300px;


    }


}


/* ============================================================


   REDUCED MOTION


   ============================================================ */


@media (prefers-reduced-motion: reduce) {


    [data-reveal] {


        opacity: 1;


        transform: none;


        transition: none;


    }


    .home-service-slider__viewport {


        scroll-behavior: auto;


    }


    .home-service-card__media img,


    .home-btn,


    .home-service-card>a,


    .home-areas__places a {


        transition: none;


    }


}


/* ============================================================
   HERO RESPONSIVE OVERRIDES
   ============================================================ */

@media (max-width: 1050px) {

    .home-hero {
        min-height: 660px;
        padding: 78px 0 72px;
    }

    .home-hero__inner {
        display: block;
        width: calc(100% - 48px);
        max-width: 1200px;
        margin-left: auto;
        margin-right: auto;
    }

    .home-hero__content {
        max-width: 680px;
    }

    .home-hero h1 {
        max-width: 680px;
        font-size: clamp(3rem, 6.4vw, 4.9rem);
    }

    .home-hero__lead {
        max-width: 610px;
    }

    .home-hero--has-image .home-hero__overlay {
        background:
            linear-gradient(90deg,
                rgba(3, 15, 9, 0.95) 0%,
                rgba(3, 15, 9, 0.87) 43%,
                rgba(3, 15, 9, 0.58) 72%,
                rgba(3, 15, 9, 0.26) 100%),
            linear-gradient(180deg,
                rgba(3, 15, 9, 0.08),
                rgba(3, 15, 9, 0.32));
    }
}

@media (max-width: 880px) {

    .home-hero {
        min-height: 630px;
        padding: 70px 0 64px;
    }

    .home-hero__inner {
        width: calc(100% - 44px);
    }

    .home-hero__content {
        max-width: 640px;
    }

    .home-hero h1 {
        max-width: 640px;
        font-size: clamp(2.85rem, 8vw, 4.5rem);
    }

    .home-hero__lead {
        max-width: 590px;
    }
}

@media (max-width: 760px) {

    .home-hero {
        min-height: auto;
        padding: 62px 0 56px;
    }

    .home-hero__inner {
        width: calc(100% - 36px);
        max-width: none;
    }

    .home-hero__background img {
        object-position: 60% center;
    }

    .home-hero__overlay,
    .home-hero--has-image .home-hero__overlay {
        background:
            linear-gradient(180deg,
                rgba(3, 15, 9, 0.70) 0%,
                rgba(3, 15, 9, 0.82) 36%,
                rgba(3, 15, 9, 0.93) 72%,
                rgba(3, 15, 9, 0.97) 100%);
    }

    .home-hero::before {
        background-size: 36px 36px;
    }

    .home-hero__content {
        max-width: 100%;
    }

    .home-hero .home-kicker {
        margin-bottom: 14px;
        font-size: 0.68rem;
    }

    .home-hero h1 {
        max-width: 100%;
        font-size: clamp(2.55rem, 12.2vw, 4rem);
        line-height: 0.99;
        letter-spacing: -0.05em;
    }

    .home-hero__lead {
        max-width: 100%;
        margin-top: 22px;
        font-size: 0.97rem;
        line-height: 1.65;
    }

    .home-hero__actions {
        display: grid;
        grid-template-columns: 1fr;
        margin-top: 25px;
    }

    .home-hero__actions .home-btn {
        width: 100%;
    }

    .home-hero__proof {
        gap: 7px;
        margin-top: 24px;
    }

    .home-hero__proof span {
        padding: 7px 10px;
        font-size: 0.7rem;
    }
}

@media (max-width: 430px) {

    .home-hero {
        padding: 54px 0 48px;
    }

    .home-hero__inner {
        width: calc(100% - 30px);
    }

    .home-hero h1 {
        font-size: clamp(2.35rem, 12vw, 3.2rem);
    }

    .home-hero__proof {
        align-items: flex-start;
    }
}

/* ============================================================
   RECENT PROJECTS
   ============================================================ */

.home-projects {
    overflow: hidden;
    padding: 96px 0;
    background:
        radial-gradient(circle at 88% 12%,
            rgba(243, 189, 24, 0.10),
            transparent 26%),
        #0b1710;
    color: #fff;
}

.home-projects .home-kicker {
    color: var(--color-accent);
}

.home-projects__head h2 {
    color: #fff;
}

.home-projects__head>div:last-child>p {
    color: rgba(255, 255, 255, 0.66);
}

.home-projects__all {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 7px;
    color: #fff;
    text-decoration: none;
    font-weight: 800;
}

.home-projects__all span {
    color: var(--color-accent);
    transition: transform var(--transition);
}

.home-projects__all:hover span {
    transform: translateX(3px);
}

.home-projects__viewport {
    width: 100%;
    overflow-x: auto;
    overflow-y: hidden;
    padding-left: max(
        24px,
        calc((100vw - 1200px) / 2 + 24px)
    );
    padding-right: 24px;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    overscroll-behavior-inline: contain;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
}

.home-projects__viewport::-webkit-scrollbar {
    display: none;
}

.home-projects__track {
    width: max-content;
    display: flex;
    gap: 18px;
}

.home-project-card {
    flex: 0 0 clamp(270px, 28vw, 390px);
    scroll-snap-align: start;
}

.home-project-card>a {
    display: block;
    color: inherit;
    text-decoration: none;
}

.home-project-card__media {
    position: relative;
    aspect-ratio: 4 / 5;
    overflow: hidden;
    border-radius: 18px;
    background: #173525;
    box-shadow: 0 18px 48px rgba(0, 0, 0, 0.18);
}

.home-project-card__media img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    transition: transform 650ms cubic-bezier(.2, .75, .25, 1);
}

.home-project-card:hover .home-project-card__media img {
    transform: scale(1.035);
}

.home-project-card__shade {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg,
            transparent 45%,
            rgba(3, 14, 8, 0.44) 100%);
    pointer-events: none;
}

.home-project-card__label {
    position: absolute;
    top: 14px;
    left: 14px;
    padding: 8px 11px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 999px;
    background: rgba(4, 20, 11, 0.72);
    color: #fff;
    font-size: 0.68rem;
    font-weight: 900;
    letter-spacing: 0.09em;
    text-transform: uppercase;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.home-project-card__footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 15px 2px 0;
}

.home-project-card__footer strong {
    color: rgba(255, 255, 255, 0.92);
    font-size: 0.92rem;
}

.home-project-card__footer span {
    color: var(--color-accent);
    font-size: 1.05rem;
    transition: transform var(--transition);
}

.home-project-card:hover .home-project-card__footer span {
    transform: translateX(4px);
}

.home-projects__bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-top: 26px;
}

.home-projects__arrows {
    display: flex;
    gap: 8px;
}

.home-projects__arrows button {
    width: 46px;
    height: 46px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.06);
    color: #fff;
    cursor: pointer;
    transition:
        transform var(--transition),
        background-color var(--transition),
        border-color var(--transition);
}

.home-projects__arrows button:hover {
    transform: translateY(-2px);
    border-color: rgba(255, 255, 255, 0.34);
    background: rgba(255, 255, 255, 0.12);
}

.home-projects__arrows svg {
    width: 19px;
    height: 19px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.home-projects__hint {
    color: rgba(255, 255, 255, 0.46);
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

@media (max-width: 880px) {
    .home-projects {
        padding: 82px 0;
    }

    .home-project-card {
        flex-basis: min(70vw, 340px);
    }
}

@media (max-width: 760px) {
    .home-projects {
        padding: 68px 0;
    }

    .home-projects__viewport {
        padding-left: 20px;
        padding-right: 20px;
    }

    .home-project-card {
        flex-basis: 82vw;
    }

    .home-project-card__media {
        border-radius: 15px;
    }

    .home-projects__arrows {
        display: none;
    }

    .home-projects__bottom {
        justify-content: flex-end;
        margin-top: 20px;
    }
}

