/* Northface Construction copycat layer. Keep this file scoped to the copied template. */

:root {
    --nav-height: 6.65rem;
    --container-max: 1220px;
    --section-pad: clamp(3.25rem, 7vw, 6.5rem);
    --radius-sm: 6px;
    --radius: 8px;
    --radius-lg: 8px;
    --button-radius: 999px;
    --card-radius: 8px;
    --card-radius-lg: 8px;
    --image-radius: 8px;
    --text-hero: clamp(40px, 5.5vw, 78px);
    --button-shadow: 0 0.75rem 1.6rem color-mix(in srgb, var(--ocf-accent) 18%, transparent);
    --button-shadow-hover: 0 1rem 2.1rem color-mix(in srgb, var(--ocf-accent) 24%, transparent);
    --card-shadow: 0 1rem 2.4rem color-mix(in srgb, #14333e 11%, transparent);
    --card-shadow-hover: 0 1.25rem 2.9rem color-mix(in srgb, #14333e 17%, transparent);
    --gradient-media-dark: linear-gradient(90deg, rgba(8, 36, 48, 0.92) 0%, rgba(8, 36, 48, 0.76) 48%, rgba(8, 36, 48, 0.22) 100%);
    --gradient-media-dark-even: linear-gradient(0deg, rgba(8, 36, 48, 0.74), rgba(8, 36, 48, 0.74));
}

* {
    letter-spacing: 0;
}

.northface-topbar {
    border-bottom: 1px solid color-mix(in srgb, var(--ocf-border-light) 72%, transparent);
    background: var(--ocf-bg-dark);
    color: var(--ocf-body-alt);
    font-size: var(--text-sm);
}

.northface-topbar__inner {
    display: flex;
    min-height: 2.15rem;
    align-items: center;
    justify-content: flex-end;
    gap: 1rem;
}

.northface-topbar__service-area {
    margin-right: auto;
    color: var(--ocf-label-alt);
}

.northface-topbar__phone,
.northface-topbar__locations {
    color: var(--ocf-heading-alt);
    font-weight: 700;
}

.northface-topbar__locations {
    color: #d9a441;
}

.nav-bar {
    border-bottom: 0;
    background: var(--ocf-bg);
    box-shadow: 0 0.65rem 1.8rem rgba(25, 18, 13, 0.08);
}

.nav-inner {
    min-height: 4.5rem;
}

.nav-logo-text {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    color: var(--ocf-heading);
    font-size: 1.15rem;
    font-weight: 800;
}

.nav-logo-text::before {
    content: "";
    width: 2.25rem;
    height: 2.25rem;
    border-radius: 50%;
    background: radial-gradient(circle at 35% 35%, #d9a441 0 20%, #416a4c 21% 58%, #0f3443 59% 100%);
    box-shadow: inset 0 0 0 3px #fff;
}

.nav-links {
    gap: 1.05rem;
}

.nav-link,
.nav-dropdown-trigger {
    color: var(--ocf-heading);
    font-size: 0.92rem;
    font-weight: 750;
}

.dropdown-menu {
    border: 0;
    border-radius: var(--card-radius);
    box-shadow: 0 1rem 2.5rem rgba(33, 23, 18, 0.14);
}

.nav-cta,
.btn-primary,
.form-submit-btn,
.mobile-cta {
    background: var(--ocf-accent);
    color: var(--ocf-heading-alt);
    font-weight: 800;
}

.nav-cta {
    min-height: 2.85rem;
    display: inline-flex;
    align-items: center;
    border-radius: var(--button-radius);
    padding: 0 1.15rem;
}

.nav-phone {
    color: var(--ocf-accent);
    font-weight: 750;
}

.ocf-hero {
    min-height: min(860px, calc(100vh - var(--nav-height)));
}

.ocf-hero--split-form .ocf-hero__grid {
    grid-template-columns: minmax(0, 1fr) minmax(360px, 430px);
    padding-block: clamp(5rem, 10vh, 7rem);
}

.ocf-hero__rating {
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.14);
    padding: 0.55rem 0.8rem;
    backdrop-filter: blur(10px);
}

.ocf-hero__headline {
    max-width: 760px;
    font-weight: 850;
    line-height: 0.96;
}

.ocf-hero__intro {
    max-width: 64ch;
    color: rgba(255, 255, 255, 0.9);
}

.hero-form-card {
    border: 0;
    border-radius: 8px;
    box-shadow: 0 1rem 3rem rgba(20, 17, 16, 0.24);
}

.hero-form-title {
    text-transform: none;
}

.hero-svc-list {
    gap: 0.55rem;
}

.hero-svc-row {
    border-radius: 8px;
}

.trust-stats {
    padding-block: 2.25rem;
    background: #0f3443;
    color: #fff;
}

.trust-stats-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1rem;
}

.trust-stat {
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 8px;
    padding: 1.2rem;
    background: rgba(255, 255, 255, 0.06);
}

.trust-stat-value {
    color: #d9a441;
    font-size: clamp(1.7rem, 3vw, 2.4rem);
    font-weight: 850;
    line-height: 1;
}

.trust-stat-label {
    margin-top: 0.35rem;
    color: rgba(255, 255, 255, 0.82);
    font-size: var(--text-sm);
}

.ocf-services {
    background: linear-gradient(180deg, #fff 0%, #f6f2e8 100%);
}

.ocf-services-header {
    align-items: center;
}

.ocf-services .heading-section {
    max-width: 660px;
}

.ocf-svc-card {
    border: 0;
    border-radius: 8px;
    box-shadow: var(--card-shadow);
}

.ocf-svc-card-img {
    aspect-ratio: 4 / 3;
}

.ocf-svc-card-body {
    padding: 1.2rem;
}

.ocf-svc-card-body h3 {
    font-size: 1.18rem;
}

.ocf-svc-arrow {
    display: inline-flex;
    width: 2.35rem;
    height: 2.35rem;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--ocf-accent);
    color: var(--ocf-heading-alt);
}

.northface-proof {
    background: #fff;
}

.northface-proof__header {
    max-width: 720px;
    margin-bottom: 1.75rem;
}

.northface-proof__grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1rem;
}

.northface-proof__card {
    border: 1px solid var(--ocf-border-light);
    border-radius: 8px;
    padding: 1.25rem;
    background: #fff;
}

.northface-proof__seal {
    display: inline-grid;
    width: 3.25rem;
    height: 3.25rem;
    place-items: center;
    border-radius: 50%;
    background: #d9a441;
    color: #0f3443;
    font-weight: 850;
}

.northface-proof__card h3 {
    margin: 1rem 0 0.45rem;
    color: var(--ocf-heading);
    font-size: 1.04rem;
}

.northface-proof__card p {
    margin: 0;
    color: var(--ocf-body);
    font-size: var(--text-sm);
}

.ocf-content {
    background: #fff;
}

.ocf-content:nth-of-type(even),
.ocf-about,
.ocf-locations,
.ocf-faq {
    background: #f6f2e8;
}

.ocf-content__media img,
.ocf-about__media img,
.ocf-commitments-image img,
.ocf-location-card__media img {
    border-radius: 8px;
}

.ocf-about__headline,
.ocf-commitments .heading-section,
.ocf-service-areas__title,
.ocf-locations .heading-section,
.ocf-faq .heading-section,
.ocf-cta__headline {
    font-weight: 850;
}

.ocf-commitments {
    background: #0f3443;
    color: rgba(255, 255, 255, 0.86);
}

.ocf-commitments .heading-section,
.ocf-commitments h3 {
    color: #fff;
}

.ocf-commitment {
    border-color: rgba(255, 255, 255, 0.16);
}

.ocf-commitment-num {
    color: #d9a441;
}

.ocf-locations-grid,
.footer-location-grid {
    gap: 1rem;
}

.ocf-location-card,
.footer-location-card {
    border: 0;
    border-radius: 8px;
    background: #fff;
    box-shadow: var(--card-shadow);
}

.ocf-service-areas {
    background: #fff;
}

.ocf-service-areas__link {
    border-radius: 999px;
}

.northface-blog {
    background: #fff;
}

.northface-video-callout {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    margin-top: 1.5rem;
    border-radius: 8px;
    padding: clamp(1.2rem, 3vw, 1.8rem);
    background: #0f3443;
    color: rgba(255, 255, 255, 0.86);
}

.northface-video-callout h3 {
    margin: 0;
    color: #fff;
    font-size: clamp(1.45rem, 3vw, 2.1rem);
}

.northface-video-callout .eyebrow {
    margin-bottom: 0.4rem;
    color: #d9a441;
}

.northface-projects {
    background: #fff;
}

.northface-projects__header {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: end;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.northface-projects__header .eyebrow,
.northface-projects__header h2 {
    grid-column: 1;
}

.northface-projects__header .btn-secondary {
    grid-column: 2;
    grid-row: 1 / span 2;
}

.northface-projects__grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1rem;
}

.northface-project-card {
    min-height: 18rem;
    display: flex;
    flex-direction: column;
    justify-content: end;
    border-radius: 8px;
    padding: 1.15rem;
    background:
        linear-gradient(180deg, rgba(15, 52, 67, 0.12), rgba(15, 52, 67, 0.88)),
        linear-gradient(135deg, #e4e0d5, #8da29c);
    color: #fff;
    box-shadow: var(--card-shadow);
}

.northface-project-card:nth-child(2) {
    background:
        linear-gradient(180deg, rgba(15, 52, 67, 0.10), rgba(15, 52, 67, 0.86)),
        linear-gradient(135deg, #d8caa5, #416a4c);
}

.northface-project-card:nth-child(3) {
    background:
        linear-gradient(180deg, rgba(15, 52, 67, 0.10), rgba(15, 52, 67, 0.86)),
        linear-gradient(135deg, #f0f2ec, #6e8c9a);
}

.northface-project-card:nth-child(4) {
    background:
        linear-gradient(180deg, rgba(15, 52, 67, 0.10), rgba(15, 52, 67, 0.86)),
        linear-gradient(135deg, #c2d2c6, #223c49);
}

.northface-project-card span {
    width: fit-content;
    border-radius: 999px;
    padding: 0.35rem 0.7rem;
    background: rgba(255, 255, 255, 0.18);
    color: #fff;
    font-size: 0.74rem;
    font-weight: 800;
    text-transform: uppercase;
}

.northface-project-card h3 {
    margin: 0.85rem 0 0.4rem;
    color: #fff;
    font-size: 1.24rem;
}

.northface-project-card p {
    margin: 0;
    color: rgba(255, 255, 255, 0.82);
    font-size: var(--text-sm);
}

.northface-blog__cta {
    margin-top: 1.5rem;
}

.post-loop-header {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.ocf-cta__panel {
    border-radius: 8px;
}

.site-footer {
    background: #0f3443;
    color: rgba(255, 255, 255, 0.78);
}

.site-footer :is(.footer-brand-name, .footer-heading, a, strong) {
    color: #fff;
}

.footer-location-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin-top: 2rem;
}

.footer-location-card {
    display: grid;
    grid-template-columns: 2rem minmax(0, 1fr);
    padding: 1rem;
    background: rgba(255, 255, 255, 0.06);
    color: rgba(255, 255, 255, 0.84);
    box-shadow: none;
}

.footer-location-card__pin {
    display: inline-grid;
    width: 1.55rem;
    height: 1.55rem;
    place-items: center;
    border-radius: 50%;
    background: #d9a441;
    color: #0f3443;
    font-weight: 850;
}

.footer-location-card__body {
    display: grid;
    gap: 0.25rem;
    font-size: var(--text-sm);
}

.footer-bottom {
    border-color: rgba(255, 255, 255, 0.12);
}

@media (max-width: 1080px) {
    .nav-links {
        gap: 0.7rem;
    }

    .nav-link,
    .nav-dropdown-trigger {
        font-size: 0.86rem;
    }
}

@media (max-width: 980px) {
    :root {
        --nav-height: 4rem;
    }

    html,
    body {
        overflow-x: hidden;
    }

    .northface-topbar {
        display: none;
    }

    .nav-phone,
    .nav-divider,
    .nav-cta {
        display: none;
    }

    .nav-logo-text {
        max-width: min(62vw, 20rem);
    }

    .ocf-hero--split-form .ocf-hero__grid {
        grid-template-columns: 1fr;
        max-width: 100%;
        width: 100%;
        padding-inline: 1rem;
        box-sizing: border-box;
    }

    .trust-stats-grid,
    .northface-proof__grid,
    .northface-projects__grid,
    .footer-location-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    .ocf-hero__headline {
        width: min(358px, calc(100vw - 2rem));
        max-width: min(358px, calc(100vw - 2rem));
        font-size: clamp(30px, 8.5vw, 34px) !important;
        line-height: 1.02;
        overflow-wrap: break-word;
    }

    .ocf-hero__content,
    .ocf-hero__intro,
    .ocf-hero__form {
        width: min(358px, calc(100vw - 2rem));
        max-width: min(358px, calc(100vw - 2rem));
        min-width: 0;
    }

    .hero-form-card,
    .hero-form-card *,
    .hero-form-card *::before,
    .hero-form-card *::after {
        box-sizing: border-box;
    }

    .trust-stats-grid,
    .northface-proof__grid,
    .northface-projects__grid,
    .footer-location-grid {
        grid-template-columns: 1fr;
    }

    .northface-video-callout,
    .northface-projects__header {
        display: grid;
    }

    .northface-projects__header .btn-secondary {
        grid-column: 1;
        grid-row: auto;
        width: fit-content;
    }

    .post-loop-header {
        display: grid;
    }
}
