/*
 * Service / area landing pages (lp-*).
 * Based on the Bluffton page design (service-areas/bluffton.blade.php).
 * Loaded only by landing pages; existing pages do not use it.
 */

.lp-page {
    overflow: hidden;
    color: #171717;
    background: #ffffff;
    font-family: Poppins, sans-serif;
}

.lp-page *,
.lp-page *::before,
.lp-page *::after {
    box-sizing: border-box;
}

.lp-shell {
    width: min(1240px, calc(100% - 48px));
    margin: 0 auto;
}

.lp-eyebrow {
    display: block;
    margin: 0 0 18px;
    color: #98713a;
    font-size: 11px;
    line-height: 1.4;
    font-weight: 600;
    letter-spacing: .18em;
    text-transform: uppercase;
}

.lp-breadcrumbs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0 0 26px;
    color: rgba(23, 23, 23, .55);
    font-size: 12px;
    line-height: 1.4;
    font-weight: 400;
    letter-spacing: .06em;
}

.lp-breadcrumbs a {
    color: rgba(23, 23, 23, .7);
    text-decoration: none;
}

.lp-breadcrumbs a:hover {
    color: #98713a;
}

.lp-page h1,
.lp-page h2,
.lp-page h3 {
    font-family: Poppins, sans-serif;
    font-weight: 300;
}

.lp-page h2 {
    margin: 0;
    font-size: clamp(36px, 4.3vw, 52px);
    line-height: 1.02;
    letter-spacing: -.04em;
}

.lp-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 52px;
    padding: 14px 28px;
    border: 1px solid #e3ae59;
    background: #f7c979;
    color: #171717;
    font-size: 12px;
    line-height: 1.3;
    font-weight: 500;
    letter-spacing: .1em;
    text-decoration: none;
    text-transform: uppercase;
    transition: background-color .25s ease, color .25s ease, border-color .25s ease;
}

.lp-button:hover,
.lp-button:focus-visible {
    border-color: #171717;
    background: #171717;
    color: #ffffff;
    text-decoration: none;
}

.lp-text-link {
    flex: 0 0 auto;
    color: #171717;
    font-size: 24rem;
    font-weight: 300;
    letter-spacing: .12em;
    text-decoration: none;
    text-transform: uppercase;
}

.lp-text-link::after {
    display: block;
    width: 100%;
    height: 1px;
    margin-top: 8px;
    background: #98713a;
    content: '';
}

/* Hero */
.lp-hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    min-height: 560px;
    background: #f5f1e9;
}

.lp-hero__content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    padding: clamp(58px, 8vw, 110px) clamp(28px, 6vw, 86px)
        clamp(58px, 8vw, 110px)
        max(28px, calc((100vw - 1240px) / 2));
}

.lp-hero h1 {
    max-width: 610px;
    margin: 0;
    color: #171717;
    font-size: clamp(44px, 5vw, 60px);
    line-height: .98;
    letter-spacing: -.045em;
}

.lp-hero__intro {
    max-width: 530px;
    margin-top: 28px;
}

.lp-hero__intro p {
    margin: 0 0 28px;
    color: rgba(23, 23, 23, .7);
    font-size: 16px;
    line-height: 1.7;
    font-weight: 300;
}

.lp-hero__media,
.lp-row__media,
.lp-work__media {
    margin: 0;
    overflow: hidden;
}

.lp-hero__media {
    min-height: 560px;
}

.lp-page img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Credibility strip */
.lp-credibility {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    border-bottom: 1px solid rgba(23, 23, 23, .16);
}

.lp-credibility span {
    padding: 17px 18px;
    color: #4a4a4a;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: .16em;
    text-align: center;
    text-transform: uppercase;
}

.lp-credibility span + span {
    border-left: 1px solid rgba(23, 23, 23, .16);
}

/* Centered intro */
.lp-intro {
    padding: clamp(45px, 5vw, 72px) 0;
    text-align: center;
}

.lp-intro__inner {
    max-width: 850px;
}

.lp-intro h2 {
    max-width: 800px;
    margin: 0 auto 24px;
}

.lp-intro p {
    max-width: 760px;
    margin: 0 auto;
    color: rgba(23, 23, 23, .68);
    font-size: 18px;
    line-height: 1.75;
    font-weight: 300;
}

/* Alternating image / text rows */
.lp-rows {
    padding-bottom: clamp(45px, 5vw, 72px);
}

.lp-row {
    display: grid;
    grid-template-columns: 48px minmax(0, 1fr) minmax(0, 1fr);
    align-items: center;
    gap: clamp(28px, 5vw, 74px);
    padding: 20px 0;
    border-top: 1px solid rgba(23, 23, 23, .16);
}

.lp-row:last-child {
    border-bottom: 1px solid rgba(23, 23, 23, .16);
}

.lp-row--reverse .lp-row__media {
    order: 3;
}

.lp-row--reverse .lp-row__copy {
    order: 2;
}

.lp-row__number {
    align-self: start;
    padding-top: 6px;
    color: #98713a;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: .15em;
}

.lp-row__media {
    aspect-ratio: 4 / 3;
    background: #ece8df;
}

.lp-row__copy h3 {
    margin: 0 0 18px;
    font-size: clamp(30px, 3.2vw, 48px);
    line-height: 1.02;
    letter-spacing: -.035em;
}

/* Single image/text block that carries a section heading */
.lp-row__copy h2 {
    margin: 0 0 18px;
}

.lp-row__copy p {
    max-width: 520px;
    margin: 0;
    color: rgba(23, 23, 23, .7);
    font-size: 16px;
    line-height: 1.75;
    font-weight: 300;
}

.lp-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 18px;
    margin-top: 22px;
    color: #98713a;
    font-size: 10px;
    font-weight: 500;
    letter-spacing: .1em;
    text-transform: uppercase;
}

/* 3 x 2 feature grid */
.lp-features {
    padding: clamp(45px, 5vw, 72px) 0;
    background: #f5f1e9;
}

.lp-features__heading {
    max-width: 760px;
    margin-bottom: 38px;
}

.lp-features__heading p {
    margin: 20px 0 0;
    color: rgba(23, 23, 23, .7);
    font-size: 17px;
    line-height: 1.7;
    font-weight: 300;
}

.lp-features__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0 32px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.lp-features__item {
    padding: 24px 0 30px;
    border-top: 1px solid rgba(23, 23, 23, .2);
}

.lp-features__item span {
    display: block;
    color: #98713a;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: .15em;
}

.lp-features__item h3 {
    margin: 14px 0 12px;
    font-size: 24px;
    line-height: 1.2;
    letter-spacing: -.02em;
}

.lp-features__item p {
    margin: 0;
    color: rgba(23, 23, 23, .7);
    font-size: 15px;
    line-height: 1.7;
    font-weight: 300;
}

/* Light two-column block */
.lp-split {
    padding: clamp(45px, 5vw, 70px) 0;
}

.lp-split__grid {
    display: grid;
    grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
    gap: clamp(44px, 8vw, 130px);
    align-items: start;
}

.lp-split h2 {
    max-width: 620px;
}

.lp-split__copy p {
    max-width: 640px;
    margin: 0;
    color: rgba(23, 23, 23, .7);
    font-size: 17px;
    line-height: 1.75;
    font-weight: 300;
}

.lp-split--tinted {
    background: #f5f1e9;
}

.lp-split__copy h2 + p {
    margin-top: 24px;
}

.lp-split__link {
    display: inline-block;
    margin-top: 30px;
}

.lp-points {
    margin: 0;
}

.lp-points div {
    padding: 18px 0;
    border-top: 1px solid rgba(23, 23, 23, .16);
}

.lp-points div:first-child {
    padding-top: 0;
    border-top: 0;
}

.lp-points dt {
    margin: 0 0 6px;
    color: #171717;
    font-size: 17px;
    font-weight: 500;
}

.lp-points dd {
    margin: 0;
    color: rgba(23, 23, 23, .7);
    font-size: 16px;
    line-height: 1.7;
    font-weight: 300;
}

/* Portfolio cards */
.lp-work {
    padding: clamp(45px, 5vw, 72px) 0;
    border-top: 1px solid rgba(23, 23, 23, .16);
}

.lp-work__heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 30px;
    margin-bottom: 30px;
}

.lp-work__heading h2 {
    max-width: 680px;
}

.lp-work__heading p {
    max-width: 640px;
    margin: 20px 0 0;
    color: rgba(23, 23, 23, .7);
    font-size: 17px;
    line-height: 1.7;
    font-weight: 300;
}

.lp-work__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}

.lp-work__item {
    display: block;
    color: #171717;
    text-decoration: none;
}

.lp-work__item:hover {
    color: #171717;
    text-decoration: none;
}

.lp-work__media {
    height: 442px;
}

.lp-work__media img {
    transition: transform .4s ease;
}

.lp-work__item:hover .lp-work__media img {
    transform: scale(1.03);
}

.lp-work__meta {
    display: block;
    padding-top: 16px;
    color: #98713a;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: .14em;
    text-transform: uppercase;
}

.lp-work__item h3 {
    display: inline-block;
    margin: 8px 0 10px;
    color: #1e1e1e;
    font-size: 24rem;
    line-height: 1em;
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 4px;
    text-transform: uppercase;
    transition: color .25s ease;
}

.lp-work__item:hover h3 {
    color: #f7ca7c;
}

.lp-work__item p {
    margin: 0;
    color: rgba(23, 23, 23, .7);
    font-size: 15px;
    line-height: 1.7;
    font-weight: 300;
}

/* Dark process */
.lp-process {
    padding: clamp(45px, 5vw, 62px) 0;
    background: #323232;
    color: #ffffff;
}

.lp-process__heading {
    max-width: 760px;
    margin-bottom: 34px;
}

.lp-process h2 {
    color: #ffffff;
}

.lp-process__grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 24px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.lp-process__step {
    padding-top: 18px;
    border-top: 1px solid #bd9354;
}

.lp-process__step h3 {
    margin: 20px 0 12px;
    color: #ffffff;
    font-size: 22px;
}

.lp-process__step p {
    margin: 0;
    color: rgba(255, 255, 255, .68);
    font-size: 15px;
    line-height: 1.7;
    font-weight: 300;
}

/* Area cards */
.lp-areas {
    padding: clamp(45px, 5vw, 72px) 0;
    background: #f5f1e9;
}

.lp-areas__heading {
    max-width: 760px;
    margin-bottom: 34px;
}

.lp-areas__heading p {
    margin: 20px 0 0;
    color: rgba(23, 23, 23, .7);
    font-size: 17px;
    line-height: 1.7;
    font-weight: 300;
}

.lp-areas__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}

.lp-areas__note {
    margin: 28px 0 0;
    color: rgba(23, 23, 23, .7);
    font-size: 16px;
    line-height: 1.7;
    font-weight: 300;
}

.lp-areas__note a {
    color: #171717;
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 4px;
}

.lp-areas__note a:hover {
    color: #98713a;
}

.lp-area {
    padding: 26px 24px 30px;
    border-top: 2px solid #b58b52;
    background: #ffffff;
}

a.lp-area {
    display: block;
    color: #171717;
    text-decoration: none;
    transition: box-shadow .25s ease;
}

a.lp-area:hover {
    color: #171717;
    box-shadow: 0 10px 28px rgba(23, 23, 23, .08);
}

a.lp-area h3 {
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 4px;
}

a.lp-area:hover h3 {
    color: #98713a;
}

.lp-area h3 {
    margin: 0 0 12px;
    font-size: 24px;
    line-height: 1.2;
}

.lp-area p {
    margin: 0;
    color: rgba(23, 23, 23, .7);
    font-size: 15px;
    line-height: 1.7;
    font-weight: 300;
}

/* Compact fit / qualification block */
.lp-fit {
    padding: clamp(45px, 5vw, 72px) 0;
}

.lp-fit__inner {
    display: grid;
    grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
    gap: clamp(44px, 8vw, 130px);
    align-items: start;
    padding: clamp(30px, 4vw, 48px);
    border: 1px solid rgba(181, 139, 82, .45);
}

.lp-fit__copy p {
    margin: 0 0 28px;
    color: rgba(23, 23, 23, .7);
    font-size: 16px;
    line-height: 1.75;
    font-weight: 300;
}

/* FAQ */
.lp-faq {
    padding: clamp(45px, 5vw, 72px) 0;
    border-top: 1px solid rgba(23, 23, 23, .16);
}

.lp-faq__grid {
    display: grid;
    grid-template-columns: minmax(0, .72fr) minmax(0, 1.28fr);
    gap: clamp(44px, 8vw, 130px);
    align-items: start;
}

.lp-faq details {
    border-top: 1px solid rgba(23, 23, 23, .2);
}

.lp-faq details:last-child {
    border-bottom: 1px solid rgba(23, 23, 23, .2);
}

.lp-faq summary {
    display: flex;
    justify-content: space-between;
    gap: 22px;
    padding: 17px 0;
    cursor: pointer;
    list-style: none;
    font-size: 16px;
    font-weight: 500;
}

.lp-faq summary::-webkit-details-marker {
    display: none;
}

.lp-faq summary::after {
    flex: 0 0 auto;
    color: #98713a;
    content: '+';
    font-size: 22px;
    font-weight: 300;
}

.lp-faq details[open] summary::after {
    content: '−';
}

.lp-faq__answer {
    max-width: 760px;
    padding: 0 42px 17px 0;
    color: rgba(23, 23, 23, .68);
    font-size: 15px;
    line-height: 1.7;
    font-weight: 300;
}

.lp-faq__answer a {
    color: #171717;
    text-decoration: underline;
    text-decoration-color: #98713a;
    text-decoration-thickness: 1px;
    text-underline-offset: 3px;
    transition: color .25s ease;
}

.lp-faq__answer a:hover {
    color: #98713a;
}

/* Dark final CTA */
.lp-cta {
    padding: 42px 0 48px;
    border-top: 1px solid rgba(181, 139, 82, .45);
    background: #323232;
    text-align: center;
}

.lp-cta h2 {
    max-width: 820px;
    margin: 0 auto;
    color: #ffffff;
    line-height: 1.04;
    letter-spacing: -.035em;
}

.lp-cta p {
    max-width: 620px;
    margin: 20px auto 0;
    color: rgba(255, 255, 255, .7);
    font-size: 16px;
    line-height: 1.7;
    font-weight: 300;
}

.lp-cta .lp-button {
    min-height: 46px;
    margin-top: 26px;
    border-color: #b58b52;
    background: transparent;
    color: #e1c298;
    font-size: 10px;
    letter-spacing: .16em;
}

.lp-cta .lp-button:hover,
.lp-cta .lp-button:focus-visible {
    border-color: #b58b52;
    background: #b58b52;
    color: #323232;
}

@media (max-width: 1100px) {
    .lp-process__grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 900px) {
    .lp-hero {
        grid-template-columns: 1fr;
    }

    .lp-hero__media {
        min-height: 0;
        aspect-ratio: 16 / 10;
    }

    .lp-row {
        grid-template-columns: 42px minmax(0, 1fr) minmax(0, 1fr);
        gap: 24px;
    }

    .lp-split__grid,
    .lp-fit__inner,
    .lp-faq__grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .lp-features__grid,
    .lp-process__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 680px) {
    .lp-shell {
        width: min(100% - 40px, 1240px);
    }

    .lp-hero__content {
        padding: 110px 20px 60px;
    }

    .lp-hero h1 {
        font-size: 44px;
    }

    .lp-page h2 {
        font-size: 36px;
    }

    .lp-row__copy h3 {
        font-size: 32px;
    }

    .lp-credibility {
        grid-template-columns: 1fr;
    }

    .lp-credibility span + span {
        border-top: 1px solid rgba(23, 23, 23, .16);
        border-left: 0;
    }

    .lp-row {
        grid-template-columns: 1fr;
        gap: 22px;
        padding: 26px 0 34px;
    }

    .lp-row--reverse .lp-row__media,
    .lp-row--reverse .lp-row__copy {
        order: initial;
    }

    .lp-row__number {
        padding-top: 0;
    }

    .lp-features__grid,
    .lp-work__grid,
    .lp-process__grid,
    .lp-areas__grid {
        grid-template-columns: 1fr;
    }

    .lp-work__heading {
        display: block;
    }

    .lp-work__media {
        height: min(442px, 100vw);
    }

    .lp-text-link {
        display: inline-block;
        margin-top: 24px;
    }
}
