.dfwcc-homepage {
    overflow: hidden;
    background: var(--dfwcc-paper);
    color: var(--dfwcc-text);
}

.dfwcc-homepage *,
.dfwcc-homepage *::before,
.dfwcc-homepage *::after {
    box-sizing: border-box;
}

.dfwcc-home-container {
    width: min(100% - 48px, var(--dfwcc-container));
    margin-inline: auto;
}

.dfwcc-home-section {
    padding: 72px 0;
}

.dfwcc-home-eyebrow {
    display: inline-block;
    margin-bottom: 12px;
    color: var(--dfwcc-gold);
    font-family: var(--dfwcc-sans);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
}

.dfwcc-homepage h1,
.dfwcc-homepage h2 {
    color: var(--dfwcc-ink);
    font-family: var(--dfwcc-serif);
    font-weight: 600;
    letter-spacing: -.025em;
}

.dfwcc-homepage h2 {
    margin: 0;
    font-size: clamp(36px, 4vw, 54px);
    line-height: .98;
}

.dfwcc-homepage h3 {
    color: var(--dfwcc-ink);
    font-family: var(--dfwcc-sans);
    font-weight: 600;
}

.dfwcc-homepage p {
    color: var(--dfwcc-muted);
    font-size: 15px;
    line-height: 1.75;
}

.dfwcc-home-hero {
    width: min(100% - 48px, var(--dfwcc-container));
    margin-inline: auto;
    min-height: 525px;
    display: grid;
    grid-template-columns: 38% 40% 22%;
    grid-template-rows: 1fr;
    background: var(--dfwcc-cream);
}

.dfwcc-home-hero-copy {
    position: relative;
    z-index: 4;
    grid-row: 1;
    grid-column: 1;
    display: flex;
    align-items: center;
    background: #faf8f3;
}

.dfwcc-home-hero-copy-inner {
    width: 100%;
    max-width: 650px;
    margin-left: 0;
    padding: 54px 22px 54px 0;
}

.dfwcc-home-hero h1 {
    margin: 0;
    max-width: 650px;
    font-size: clamp(52px, 3.6vw, 70px);
    line-height: .98;
    text-wrap: balance;
}

.dfwcc-home-nowrap {
    white-space: nowrap;
}

.dfwcc-home-gold-line {
    display: block;
    width: 46px;
    height: 2px;
    margin: 24px 0 18px;
    background: var(--dfwcc-gold);
}

.dfwcc-home-hero-copy p {
    max-width: 360px;
    margin: 0;
    color: #4d5a57;
    font-size: 14px;
    line-height: 1.7;
}

.dfwcc-home-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 28px;
}

.dfwcc-home-actions .dfwcc-button {
    min-width: 174px;
}

.dfwcc-button-outline {
    border-color: #65716f;
    background: transparent;
    color: var(--dfwcc-text);
}

.dfwcc-button-outline:hover {
    background: var(--dfwcc-ink);
    color: #fff;
}

/*
 * Hero visuals. The office image sits in its own grid track. The
 * residential image is a WIDER box spanning both the office and
 * residential tracks (grid-column: 2 / 4) so it can overlap the office
 * image by design - the office image (opaque) fully covers that
 * overlap zone wherever the residential clip-path doesn't reveal it,
 * so subpixel rounding can never expose the page background.
 *
 * The diagonal seam is drawn with a ::before pseudo-element that uses
 * the SAME two y-anchor points (0% and 100%) as the residential image's
 * own clip-path, offset by a constant 12px at both anchors. Because
 * both shapes are computed from the identical box and the identical
 * anchor points, the seam stays perfectly parallel to the image's cut
 * edge at every height - no independent straight border to drift out
 * of alignment with the angled cut (that mismatch was the source of
 * the earlier white-gap bug).
 */
.dfwcc-home-hero-office {
    position: relative;
    z-index: 1;
    grid-row: 1;
    grid-column: 2;
    overflow: hidden;
}

.dfwcc-home-hero-office picture,
.dfwcc-home-hero-home picture {
    position: absolute;
    inset: 0;
    display: block;
}

.dfwcc-home-hero-office img,
.dfwcc-home-hero-home img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.dfwcc-home-hero-office::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 2;
    background: linear-gradient(90deg, rgba(250,248,243,.84), rgba(250,248,243,.08) 55%, transparent);
}

.dfwcc-home-hero-home {
    position: relative;
    z-index: 2;
    grid-row: 1;
    grid-column: 2 / 4;
}

.dfwcc-home-hero-home::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    background: rgba(255, 255, 255, .92);
    clip-path: polygon(calc(61% - 12px) 0, 100% 0, 100% 100%, calc(53% - 12px) 100%);
}

.dfwcc-home-hero-home picture {
    z-index: 2;
    clip-path: polygon(61% 0, 100% 0, 100% 100%, 53% 100%);
    overflow: hidden;
}

.dfwcc-home-service-intro {
    background: var(--dfwcc-paper);
}

.dfwcc-home-service-intro .dfwcc-home-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: 78px;
    row-gap: 42px;
    align-items: start;
}

.dfwcc-home-intro-copy {
    max-width: 430px;
    margin: 36px 0 0;
}

.dfwcc-home-service-paths {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    border-top: 1px solid var(--dfwcc-border);
    border-bottom: 1px solid var(--dfwcc-border);
}

.dfwcc-home-service-paths article {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 22px;
    padding: 32px 42px;
}

.dfwcc-home-service-paths article + article {
    border-left: 1px solid var(--dfwcc-border);
}

.dfwcc-home-circle-icon {
    width: 60px;
    height: 60px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: var(--dfwcc-deep);
    color: var(--dfwcc-gold-light);
}

.dfwcc-home-circle-icon svg {
    width: 34px;
    height: 34px;
}

.dfwcc-home-service-paths h3 {
    margin: 2px 0 8px;
    font-size: 16px;
    letter-spacing: .05em;
    text-transform: uppercase;
}

.dfwcc-home-service-paths p {
    margin: 0 0 12px;
    font-size: 13px;
    line-height: 1.65;
}

.dfwcc-home-service-paths a,
.dfwcc-home-service-card a,
.dfwcc-home-industries-copy a {
    color: var(--dfwcc-ink);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .06em;
    text-decoration: none;
    text-transform: uppercase;
}

.dfwcc-home-featured-services {
    padding-top: 0;
    background: var(--dfwcc-paper);
}

.dfwcc-home-bordered-panel {
    padding: 26px 24px 30px;
    border: 1px solid var(--dfwcc-border);
}

.dfwcc-home-section-heading-center {
    margin-bottom: 28px;
    text-align: center;
}

.dfwcc-home-section-heading-center h2 {
    font-size: clamp(34px, 3.6vw, 48px);
}

.dfwcc-home-service-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
}

.dfwcc-home-service-card {
    min-width: 0;
    background: #fff;
    border: 1px solid var(--dfwcc-border);
}

.dfwcc-home-service-card img {
    display: block;
    width: 100%;
    aspect-ratio: 2 / 1;
    object-fit: cover;
    filter: saturate(.72) contrast(.95);
}

.dfwcc-home-service-card-body {
    padding: 18px 18px 20px;
}

.dfwcc-home-service-card h3 {
    margin: 0 0 8px;
    font-size: 12px;
    letter-spacing: .04em;
    text-transform: uppercase;
}

.dfwcc-home-service-card p {
    min-height: 88px;
    margin: 0 0 14px;
    font-size: 12px;
    line-height: 1.55;
}

.dfwcc-home-trust-section {
    padding: 62px 0;
    background: radial-gradient(circle at 70% 30%, #15534e 0, var(--dfwcc-deep) 45%, var(--dfwcc-deeper) 100%);
    color: #fff;
}

.dfwcc-home-trust-layout {
    display: grid;
    grid-template-columns: .8fr 1.7fr;
    gap: 64px;
    align-items: center;
}

.dfwcc-home-trust-section h2,
.dfwcc-home-trust-section h3,
.dfwcc-home-trust-section p {
    color: #fff;
}

.dfwcc-home-trust-copy h2 {
    font-size: clamp(42px, 4vw, 56px);
}

.dfwcc-home-trust-copy p {
    max-width: 390px;
    color: rgba(255,255,255,.75);
}

.dfwcc-button-dark-outline {
    margin-top: 14px;
    border-color: rgba(255,255,255,.45);
    background: transparent;
    color: #fff;
}

.dfwcc-home-trust-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
}

.dfwcc-home-trust-grid article {
    min-height: 148px;
    display: grid;
    grid-template-columns: 44px 1fr;
    gap: 15px;
    padding: 20px 24px;
    border-right: 1px solid rgba(255,255,255,.17);
    border-bottom: 1px solid rgba(255,255,255,.17);
}

.dfwcc-home-trust-grid article:nth-child(3n) {
    border-right: 0;
}

.dfwcc-home-trust-grid article:nth-last-child(-n+3) {
    border-bottom: 0;
}

.dfwcc-home-line-icon {
    width: 38px;
    height: 38px;
    color: var(--dfwcc-gold-light);
}

.dfwcc-home-line-icon svg {
    width: 100%;
    height: 100%;
}

.dfwcc-home-trust-grid h3 {
    margin: 1px 0 6px;
    font-size: 11px;
    line-height: 1.35;
    letter-spacing: .04em;
    text-transform: uppercase;
}

.dfwcc-home-trust-grid p {
    margin: 0;
    color: rgba(255,255,255,.7);
    font-size: 11px;
    line-height: 1.55;
}

.dfwcc-home-industries {
    background: #fbfaf7;
}

.dfwcc-home-industries-layout {
    display: grid;
    grid-template-columns: .72fr 1.8fr;
    gap: 60px;
    align-items: center;
}

.dfwcc-home-industries-copy h2 {
    margin-bottom: 12px;
    font-size: 46px;
}

.dfwcc-home-industries-copy p {
    margin: 0 0 14px;
    font-size: 13px;
}

.dfwcc-home-industry-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 16px;
}

.dfwcc-home-industry-grid article {
    text-align: center;
}

.dfwcc-home-industry-grid span {
    width: 38px;
    height: 38px;
    display: inline-block;
    color: var(--dfwcc-ink);
}

.dfwcc-home-industry-grid span svg {
    width: 100%;
    height: 100%;
}

.dfwcc-home-industry-grid h3 {
    margin: 10px 0 0;
    font-size: 10px;
    line-height: 1.4;
    letter-spacing: .04em;
    text-transform: uppercase;
}

.dfwcc-home-standards-grid {
    margin-top: 52px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    border: 1px solid var(--dfwcc-border);
}

.dfwcc-home-standards-grid article {
    position: relative;
    min-height: 190px;
    padding: 28px 30px;
}

.dfwcc-home-standards-grid article + article {
    border-left: 1px solid var(--dfwcc-border);
}

.dfwcc-home-quote-mark {
    position: absolute;
    top: 16px;
    left: 22px;
    color: var(--dfwcc-ink);
    font-family: Georgia, serif;
    font-size: 54px;
    line-height: 1;
}

.dfwcc-home-standards-grid h3 {
    margin: 34px 0 10px;
    padding-left: 22px;
    font-family: var(--dfwcc-serif);
    font-size: 26px;
}

.dfwcc-home-standards-grid p {
    margin: 0;
    padding-left: 22px;
    font-size: 13px;
}

.dfwcc-home-quote-section {
    padding: 44px 0;
    background: var(--dfwcc-deep);
    color: #fff;
}

.dfwcc-home-quote-layout {
    display: grid;
    grid-template-columns: .85fr 1.55fr;
    gap: 64px;
    align-items: center;
}

.dfwcc-home-quote-section h2,
.dfwcc-home-quote-section p,
.dfwcc-home-quote-section li {
    color: #fff;
}

.dfwcc-home-quote-copy h2 {
    font-size: clamp(40px, 4vw, 54px);
}

.dfwcc-home-quote-copy p {
    color: rgba(255,255,255,.78);
}

.dfwcc-home-quote-copy ul {
    margin: 20px 0 0;
    padding: 0;
    list-style: none;
}

.dfwcc-home-quote-copy li {
    margin: 8px 0;
    color: rgba(255,255,255,.8);
    font-size: 12px;
}

.dfwcc-home-quote-copy li::before {
    content: "—";
    margin-right: 8px;
    color: var(--dfwcc-gold-light);
}

.dfwcc-home-form-wrap {
    min-width: 0;
}

@media (max-width: 1080px) {
    .dfwcc-home-hero {
        grid-template-columns: 42% 58%;
    }
    .dfwcc-home-hero-home {
        display: none;
    }
    .dfwcc-home-service-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .dfwcc-home-trust-layout,
    .dfwcc-home-industries-layout,
    .dfwcc-home-quote-layout {
        grid-template-columns: 1fr;
    }
    .dfwcc-home-trust-grid {
        margin-top: 12px;
    }
    .dfwcc-home-industry-grid {
        grid-template-columns: repeat(3, 1fr);
        row-gap: 30px;
    }
}

@media (max-width: 760px) {
    .dfwcc-home-container {
        width: min(100% - 36px, var(--dfwcc-container));
    }
    .dfwcc-home-section {
        padding: 56px 0;
    }
    .dfwcc-home-hero {
        width: min(100% - 36px, var(--dfwcc-container));
        min-height: auto;
        display: block;
        background: var(--dfwcc-cream);
    }
    .dfwcc-home-hero-copy {
        min-height: 520px;
        background: linear-gradient(90deg, rgba(250,248,243,.98), rgba(250,248,243,.87));
    }
    .dfwcc-home-hero-copy-inner {
        max-width: none;
        margin: 0;
        padding: 56px 24px 56px 0;
    }
    .dfwcc-home-hero-office {
        min-height: 330px;
    }
    .dfwcc-home-hero-office::before {
        background: linear-gradient(180deg, rgba(250,248,243,.18), transparent);
    }
    .dfwcc-home-service-intro .dfwcc-home-container {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .dfwcc-home-intro-copy {
        margin-top: 0;
    }
    .dfwcc-home-service-paths {
        grid-template-columns: 1fr;
    }
    .dfwcc-home-service-paths article {
        padding: 28px 12px;
    }
    .dfwcc-home-service-paths article + article {
        border-left: 0;
        border-top: 1px solid var(--dfwcc-border);
    }
    .dfwcc-home-service-grid,
    .dfwcc-home-trust-grid,
    .dfwcc-home-standards-grid {
        grid-template-columns: 1fr;
    }
    .dfwcc-home-service-card p {
        min-height: 0;
    }
    .dfwcc-home-trust-grid article,
    .dfwcc-home-trust-grid article:nth-child(3n),
    .dfwcc-home-trust-grid article:nth-last-child(-n+3) {
        border-right: 0;
        border-bottom: 1px solid rgba(255,255,255,.17);
    }
    .dfwcc-home-trust-grid article:last-child {
        border-bottom: 0;
    }
    .dfwcc-home-industry-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .dfwcc-home-standards-grid article + article {
        border-left: 0;
        border-top: 1px solid var(--dfwcc-border);
    }
}

@media (max-width: 480px) {
    .dfwcc-home-hero h1 {
        font-size: 43px;
    }
    .dfwcc-home-actions {
        display: grid;
    }
    .dfwcc-home-actions .dfwcc-button {
        width: 100%;
    }
    .dfwcc-home-service-paths article {
        grid-template-columns: 1fr;
    }
    .dfwcc-home-industry-grid {
        grid-template-columns: 1fr 1fr;
    }
}
