:root {
    --yellow: #ffc400;
    --yellow-2: #ffd33d;
    --ink: #0a0a0a;
    --black: #060606;
    --paper: #f7f7f4;
    --muted: #626262;
    --line: #d7d7d2;
    --line-dark: #2f2f2f;
    --shadow: 0 30px 80px rgba(0, 0, 0, 0.22);
    --condensed: "Bebas Neue", Impact, Haettenschweiler, "Arial Narrow", sans-serif;
    --sans: "Oswald", Arial, Helvetica, system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
    --ease: cubic-bezier(0.19, 1, 0.22, 1);
    --pad: clamp(24px, 5vw, 76px);
    --header-h: 78px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    background: var(--paper);
}

body {
    margin: 0;
    color: var(--ink);
    font-family: var(--sans);
    background: var(--paper);
    overflow-x: hidden;
}

a {
    color: inherit;
    text-decoration: none;
}

button {
    font: inherit;
}

img {
    max-width: 100%;
    display: block;
}

.skip-link {
    position: fixed;
    left: 16px;
    top: 12px;
    z-index: 2000;
    background: var(--yellow);
    color: #000;
    padding: 10px 14px;
    font-weight: 900;
    text-transform: uppercase;
    transform: translateY(-160%);
    transition: 0.25s var(--ease);
}

.skip-link:focus {
    transform: translateY(0);
}

.brand {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 0 clamp(18px, 2.3vw, 34px);
    border-right: 1px solid var(--line);
    min-width: 0;
}

.brand img {
    width: auto;
    height: clamp(34px, 4.2vw, 46px);
    max-width: 180px;
    object-fit: contain;
}

.top-cta,
.top-arrow {
    background: var(--yellow);
    border-left: 1px solid rgba(0, 0, 0, 0.12);
    display: grid;
    place-items: center;
    text-transform: uppercase;
    font-weight: 1000;
    font-size: 11px;
    letter-spacing: 0.04em;
    transition: background 0.28s var(--ease),
    color 0.28s var(--ease);
}

.top-cta span {
    position: relative;
    display: inline-block;
    transition: transform 0.28s var(--ease);
}

.top-cta:hover,
.top-arrow:hover {
    background: #050505;
    color: var(--yellow);
}

.top-cta:hover span {
    transform: translateX(-4px);
}

.top-arrow {
    font-size: 18px;
    line-height: 1;
}

.button {
    --btn-bg: #090909;
    --btn-fg: #fff;
    display: inline-grid;
    grid-template-columns: 52px auto;
    align-items: center;
    width: max-content;
    min-height: 54px;
    background: var(--btn-bg);
    color: var(--btn-fg);
    text-transform: uppercase;
    font-size: 11px;
    font-weight: 1000;
    letter-spacing: 0.045em;
    box-shadow: 0 10px 26px rgba(0, 0, 0, 0.12);
    border: 0;
    cursor: pointer;
    overflow: hidden;
    transition: transform 0.28s var(--ease),
    box-shadow 0.28s var(--ease),
    background 0.28s var(--ease),
    color 0.28s var(--ease);
}

.button i {
    font-style: normal;
    display: grid;
    place-items: center;
    height: 100%;
    min-height: 54px;
    border-right: 1px solid rgba(255, 255, 255, 0.18);
    color: var(--yellow);
    transition: transform 0.28s var(--ease),
    background 0.28s var(--ease),
    color 0.28s var(--ease);
}

.button span {
    padding: 0 24px;
    white-space: nowrap;
}

.button:hover {
    transform: translateY(-3px);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.22);
    background: var(--yellow);
    color: #000;
}

.button:hover i {
    background: #000;
    color: var(--yellow);
    transform: translateX(2px);
}

.button.dewalt-explore-categories {
    --btn-bg: var(--yellow) !important;
    --btn-fg: #000;
    color:black !important;
    box-shadow: none;
}

.button.dewalt-explore-categories i {
    color: #000 !important;
    border-right: 1px solid rgba(0, 0, 0, 0.16) !important;
}

.button.dewalt-explore-categories:hover {
    background: #fff;
    color: #000;
}

.button.dewalt-explore-categories:hover i {
    background: #000 !important;
    color: var(--yellow) !important;
}

.label,
.eyebrow {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 0 0 20px;
    text-transform: uppercase;
    color: var(--yellow);
    font-size: 11px;
    letter-spacing: 0.05em;
    font-weight: 1000;
}

.label:before,
.eyebrow:after {
    content: "";
    width: 38px;
    height: 2px;
    background: var(--yellow);
    display: inline-block;
}

.eyebrow:before {
    display: none;
}

.eyebrow:after {
    width: min(132px, 22vw);
}

.section-title {
    font-family: var(--condensed);
    font-size: clamp(44px, 4.5vw, 76px);
    line-height: 0.9;
    text-transform: uppercase;
    letter-spacing: 0.004em;
    margin: 0;
    text-wrap: balance;
}

.reveal {
    opacity: 1;
    transform: none;
    transition: opacity 0.65s var(--ease),
    transform 0.65s var(--ease);
}

.js-reveal .reveal {
    opacity: 0;
    transform: translateY(20px);
}

.reveal.is-visible {
    opacity: 1;
    transform: none;
}

.dw-hero {
    position: relative;
    min-height: clamp(620px, 72vw, 860px);
    display: grid;
    grid-template-columns: 64px minmax(360px, 0.86fr) minmax(520px, 1.26fr);
    background: #060606;
    color: #fff;
    overflow: hidden;
    isolation: isolate;
    border-bottom: 6px solid var(--yellow);
}

.dw-hero:before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 16% 18%, rgba(255, 196, 0, 0.16), transparent 28%), linear-gradient(180deg, #111, #050505);
    z-index: -2;
}

.dw-hero:after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px), linear-gradient(180deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
    background-size: 126px 126px;
    opacity: 0.28;
    z-index: -1;
}

.dw-rail {
    border-right: 1px solid rgba(255, 255, 255, 0.16);
    display: flex;
    align-items: center;
    justify-content: space-around;
    writing-mode: vertical-rl;
    transform: rotate(180deg);
    padding: 28px 0;
    text-transform: uppercase;
    font-size: 13px;
    font-weight: 1000;
    letter-spacing: 0.22em;
    color: rgba(255, 255, 255, 0.76);
}

.dw-rail .dash {
    width: 2px;
    height: 38px;
    background: var(--yellow);
}

.dw-copy {
    position: relative;
    z-index: 3;
    padding: clamp(62px, 7vw, 104px) 0 clamp(46px, 5vw, 76px) clamp(30px, 4vw, 60px);
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: linear-gradient(90deg, #070707 0%, rgba(7, 7, 7, 0.96) 76%, rgba(7, 7, 7, 0) 100%);
}

.dw-title {
    font-family: var(--condensed);
    font-size: clamp(78px, 8.4vw, 142px);
    line-height: 0.86;
    text-transform: uppercase;
    letter-spacing: 0.012em;
    margin: 0;
    max-width: 780px;
    text-wrap: balance;
}

.dw-title span {
    color: var(--yellow);
}

.dw-copy p:not(.eyebrow) {
    max-width: 580px;
    color: rgba(255, 255, 255, 0.78);
    font-weight: 300;
    line-height: 1.5;
    font-size: clamp(17px, 1.18vw, 22px);
    margin: 24px 0 0;
}

.dw-actions {
    display: flex;
    gap: 18px;
    flex-wrap: wrap;
    margin-top: 34px;
    align-items: center;
}

.hero-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #fff;
    text-transform: uppercase;
    font-weight: 1000;
    font-size: 12px;
    letter-spacing: 0.08em;
    border-bottom: 2px solid var(--yellow);
    padding: 9px 0;
    transition: 0.25s var(--ease);
}

.hero-link:hover {
    color: var(--yellow);
    gap: 12px;
}

.dw-visual {
    position: relative;
    overflow: hidden;
    min-width: 0;
    background: #111;
}

.dw-visual:before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(90deg, rgba(7, 7, 7, 0.42), rgba(7, 7, 7, 0.06) 48%, rgba(7, 7, 7, 0.58)), linear-gradient(180deg, rgba(0, 0, 0, 0.04), rgba(0, 0, 0, 0.55));
    pointer-events: none;
}

.dw-visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    filter: saturate(1.02) contrast(1.05);
    transform: scale(1.035);
    transition: transform 0.65s var(--ease);
}

.dw-visual:hover img {
    transform: scale(1.07);
}

.hero-badges {
    position: absolute;
    left: clamp(22px, 3vw, 46px);
    right: clamp(22px, 3vw, 46px);
    bottom: clamp(22px, 3vw, 42px);
    z-index: 3;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    border: 1px solid rgba(255, 255, 255, 0.14);
    background: rgba(5, 5, 5, 0.82);
    backdrop-filter: blur(16px);
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.36),
    0 0 0 1px rgba(255, 196, 0, 0.22);
}

.hero-badge {
    padding: 20px 24px;
    border-left: 1px solid rgba(255, 255, 255, 0.18);
}

.hero-badge:first-child {
    border-left: 0;
}

.hero-badge strong {
    display: block;
    font-family: var(--condensed);
    font-size: clamp(42px, 4vw, 66px);
    line-height: 0.8;
    color: #fff;
}

.hero-badge span {
    display: block;
    text-transform: uppercase;
    font-size: 11px;
    letter-spacing: 0.06em;
    color: rgba(255, 255, 255, 0.72);
    font-weight: 1000;
    margin-top: 8px;
}

.brand-proof {
    display: grid;
    grid-template-columns: minmax(300px, 0.86fr) minmax(560px, 1.14fr);
    gap: clamp(32px, 5vw, 82px);
    padding: clamp(58px, 6vw, 92px) var(--pad);
    background: linear-gradient(135deg, #fbfbf8 0%, #fff 56%, #f3f3ef 100%);
    border-bottom: 1px solid var(--line);
    align-items: center;
    position: relative;
    overflow: hidden;
}

.brand-proof:before,
.categories:before,
.ecosystem:before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(0, 0, 0, 0.04) 1px, transparent 1px), linear-gradient(180deg, rgba(0, 0, 0, 0.025) 1px, transparent 1px);
    background-size: 126px 126px;
    opacity: 0.24;
    pointer-events: none;
}

.proof-number {
    font-family: var(--condensed);
    font-size: clamp(170px, 18vw, 320px);
    line-height: 0.72;
    color: var(--yellow);
    letter-spacing: -0.03em;
    white-space: nowrap;
}

.proof-copy {
    position: relative;
    z-index: 1;
}

.proof-copy h2 {
    font-family: var(--condensed);
    font-size: clamp(60px, 6.5vw, 112px);
    line-height: 0.86;
    text-transform: uppercase;
    margin: 0;
    max-width: 720px;
}

.proof-copy p {
    font-size: clamp(17px, 1.2vw, 22px);
    line-height: 1.46;
    max-width: 620px;
    color: #333;
    margin: 24px 0 0;
    font-weight: 300;
}

.overview {
    display: grid;
    grid-template-columns: minmax(420px, 0.92fr) minmax(520px, 1.08fr);
    gap: clamp(34px, 5vw, 82px);
    padding: clamp(58px, 6vw, 92px) var(--pad);
    align-items: center;
    background: #fff;
    border-bottom: 1px solid var(--line);
}

.overview-copy p {
    font-size: clamp(17px, 1.18vw, 21px);
    line-height: 1.58;
    color: #222;
    margin: 24px 0 0;
    font-weight: 300;
}

.overview-img {
    overflow: hidden;
    background: #111;
    min-height: clamp(420px, 46vw, 660px);
    box-shadow: 0 28px 80px rgba(0, 0, 0, 0.14);
}

.overview-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    transition: 0.6s var(--ease);
}

.overview-img:hover img {
    transform: scale(1.04);
}

.categories {
    position: relative;
    padding: clamp(56px, 6vw, 94px) var(--pad);
    background: var(--paper);
    border-bottom: 1px solid var(--line);
}

.section-head {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(260px, 0.82fr) minmax(520px, 1.38fr);
    gap: clamp(26px, 4.5vw, 72px);
    align-items: end;
    margin-bottom: clamp(30px, 4vw, 56px);
}

.section-head p {
    margin: 0;
    color: #333;
    font-size: clamp(16px, 1.08vw, 19px);
    line-height: 1.55;
    font-weight: 300;
    max-width: 680px;
}

.category-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.category-card {
    background: #fff;
    border: 1px solid var(--line);
    box-shadow: 0 22px 70px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    transition: 0.32s var(--ease);
}

.category-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 32px 90px rgba(0, 0, 0, 0.16);
}

.category-media {
    height: clamp(230px, 22vw, 340px);
    background: #111;
    overflow: hidden;
}

.category-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    transition: 0.55s var(--ease);
}

.category-card:hover img {
    transform: scale(1.06);
}

.category-body {
    padding: 24px 24px 28px;
    position: relative;
}

.category-icon {
    width: 46px;
    height: 46px;
    background: var(--yellow);
    display: grid;
    place-items: center;
    margin: -48px 0 18px;
    position: relative;
    z-index: 2;
    color: #111;
    font-weight: 1000;
    font-size: 22px;
}

.category-body h3 {
    margin: 0 0 10px;
    text-transform: uppercase;
    font-size: clamp(22px, 1.7vw, 30px);
    line-height: 1.02;
}

.category-body p {
    margin: 0;
    color: #3b3b37;
    line-height: 1.48;
    font-size: 15px;
    font-weight: 300;
}

.performance {
    display: grid;
    grid-template-columns: minmax(350px, 0.8fr) minmax(520px, 1.2fr);
    background: #080808;
    color: #fff;
    min-height: clamp(440px, 45vw, 650px);
    overflow: hidden;
}

.performance-copy {
    padding: clamp(52px, 6vw, 92px) var(--pad);
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: radial-gradient(circle at 16% 18%, rgba(255, 196, 0, 0.14), transparent 30%), linear-gradient(180deg, #111, #050505);
}

.performance-copy p {
    max-width: 520px;
    color: rgba(255, 255, 255, 0.78);
    font-weight: 300;
    line-height: 1.56;
    font-size: clamp(16px, 1.08vw, 19px);
    margin: 24px 0 0;
}

.performance-img {
    position: relative;
    overflow: hidden;
}

.performance-img:before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(8, 8, 8, 0.72), rgba(8, 8, 8, 0.1));
    z-index: 1;
    pointer-events: none;
}

.performance-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    filter: saturate(0.98) contrast(1.05);
}

.ecosystem {
    position: relative;
    padding: clamp(56px, 6vw, 94px) var(--pad);
    background: linear-gradient(135deg, #fbfbf8, #fff 56%, #f4f4ef);
    border-bottom: 1px solid var(--line);
}

.systems-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    border-top: 1px solid var(--line);
    border-left: 1px solid var(--line);
    background: #fff;
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.08);
}

.system-card {
    min-height: 230px;
    padding: 30px 24px;
    border-right: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    background: #fff;
    transition: 0.3s var(--ease);
}

.system-card:hover {
    background: #fff8d8;
    transform: translateY(-6px);
    box-shadow: 0 20px 44px rgba(0, 0, 0, 0.1);
    position: relative;
    z-index: 2;
}

.system-card small {
    display: block;
    color: var(--yellow);
    font-family: var(--condensed);
    font-size: 44px;
    line-height: 0.8;
    margin-bottom: 26px;
}

.system-card h3 {
    margin: 0 0 12px;
    text-transform: uppercase;
    font-size: 20px;
    line-height: 1.05;
}

.system-card p {
    margin: 0;
    color: #44443f;
    font-size: 14px;
    line-height: 1.48;
    font-weight: 300;
}

.cta-panel {
    padding: clamp(48px, 5vw, 78px) var(--pad);
    background: var(--yellow);
    text-align: center;
}

.cta-panel h2 {
    font-family: var(--condensed);
    font-size: clamp(52px, 6vw, 96px);
    line-height: 0.86;
    text-transform: uppercase;
    margin: 0 0 18px;
}

.cta-panel p {
    margin: 0 auto 26px;
    max-width: 680px;
    line-height: 1.5;
    font-size: 18px;
    color: #171717;
    font-weight: 300;
}

.cta-panel .button {
    margin-inline: auto;
    background: #050505;
    color: #fff;
}

@media (max-width: 1180px) {
    .top-cta,
    .top-arrow {
        display: none;
    }

    .dw-hero {
        grid-template-columns: 56px minmax(350px, 0.94fr) minmax(420px, 1.06fr);
    }

    .section-head,
    .brand-proof,
    .overview,
    .performance {
        grid-template-columns: 1fr;
    }

    .category-grid {
        grid-template-columns: 1fr 1fr;
    }

    .systems-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 900px) {
    :root {
        --header-h: 68px;
    }
    
    .brand {
        padding: 0 18px;
    }

    .brand img {
        height: 34px;
        max-width: 150px;
    }
    
    .dw-hero {
        display: flex;
        flex-direction: column;
        min-height: 0;
    }

    .dw-rail {
        display: none;
    }

    .dw-copy {
        order: 1;
        padding: 38px 24px 30px;
        background: #070707;
    }

    .dw-title {
        font-size: clamp(60px, 17vw, 96px);
    }

    .dw-copy p:not(.eyebrow) {
        font-size: 16px;
    }

    .dw-visual {
        order: 2;
        min-height: 380px;
    }

    .hero-badges {
        position: relative;
        left: auto;
        right: auto;
        bottom: auto;
        grid-template-columns: 1fr;
        margin: 0 24px 28px;
    }

    .hero-badge {
        border-left: 0;
        border-top: 1px solid rgba(255, 255, 255, 0.16);
    }

    .brand-proof,
    .overview,
    .categories,
    .ecosystem,
    .cta-panel {
        padding: 38px 24px;
    }

    .proof-number {
        font-size: 138px;
    }

    .proof-copy h2,
    .section-title {
        font-size: clamp(48px, 14vw, 76px);
    }

    .overview-img {
        min-height: 340px;
    }

    .category-grid,
    .systems-grid {
        grid-template-columns: 1fr;
    }

    .category-media {
        height: 260px;
    }

    .performance {
        display: block;
    }

    .performance-img {
        height: 330px;
    }
    
    .button {
        width: 100%;
        max-width: 340px;
        grid-template-columns: 52px 1fr;
    }

    .button span {
        text-align: center;
    }
}

@media (max-width: 560px) {
    .dw-visual {
        min-height: 310px;
    }

    .dw-title {
        font-size: 58px;
    }

    .dw-actions {
        display: grid;
        gap: 14px;
    }

    .hero-badge {
        display: grid;
        grid-template-columns: 64px 1fr;
        align-items: center;
        gap: 12px;
        padding: 14px 20px;
    }

    .hero-badge strong {
        font-size: 38px;
    }

    .hero-badge span {
        font-size: 10px;
        margin-top: 0;
    }

    .proof-number {
        font-size: 112px;
    }

    .category-media {
        height: 220px;
    }
}

@media (prefers-reduced-motion: reduce) {
    * {
        scroll-behavior: auto !important;
        animation: none !important;
        transition: none !important;
    }

    .reveal {
        opacity: 1;
        transform: none;
    }
}


/* Requested DEWALT brand page image swaps + overview image half-size treatment */
.dw-visual img {
    object-position: center center !important;
    filter: saturate(1.03) contrast(1.04) brightness(1.02) !important;
}

.overview-img--half {
    display: grid !important;
    place-items: center !important;
    min-height: clamp(360px, 42vw, 600px) !important;
    background: linear-gradient(135deg, #121212, #050505) !important;
    box-shadow: 0 28px 80px rgba(0, 0, 0, 0.14) !important;
}

.overview-img--half img {
    width: 50% !important;
    height: auto !important;
    max-height: 90% !important;
    object-fit: contain !important;
    object-position: center center !important;
    margin: auto !important;
    filter: saturate(1.02) contrast(1.03) !important;
}

.overview-img--half:hover img {
    transform: scale(1.035) !important;
}

.category-card:first-child .category-media img {
    object-position: center center !important;
}

.category-card:nth-child(2) .category-media img {
    object-position: center center !important;
}

.performance-img img {
    object-position: center center !important;
    filter: saturate(1.02) contrast(1.05) brightness(1.02) !important;
}

@media (max-width: 900px) {
    .overview-img--half {
        min-height: 360px !important;
    }

    .overview-img--half img {
        width: 58% !important;
    }
}

@media (max-width: 560px) {
    .overview-img--half {
        min-height: 320px !important;
    }

    .overview-img--half img {
        width: 68% !important;
    }
}

/* Revert Overview image to original full-bleed treatment from efilliate_dewalt_licensed_technology_brand_page.html */
.overview-img,
.overview-img--half {
    position: relative !important;
    overflow: hidden !important;
    min-height: 520px !important;
    background: #111 !important;
    box-shadow: 0 28px 80px rgba(0, 0, 0, 0.14) !important;
    clip-path: polygon(5% 0, 100% 0, 95% 100%, 0 100%) !important;
    display: block !important;
    align-items: initial !important;
    justify-content: initial !important;
    padding: 0 !important;
}

.overview-img:after,
.overview-img--half:after {
    content: "" !important;
    position: absolute !important;
    inset: 0 !important;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.02), rgba(0, 0, 0, 0.22)) !important;
    pointer-events: none !important;
}

.overview-img img,
.overview-img--half img {
    width: 100% !important;
    height: 100% !important;
    min-height: 520px !important;
    object-fit: cover !important;
    object-position: center center !important;
    filter: saturate(0.95) contrast(1.03) !important;
    transform: none !important;
    transition: transform 0.6s var(--ease) !important;
}

.overview-img:hover img,
.overview-img--half:hover img {
    transform: scale(1.04) !important;
}

@media (max-width: 900px) {
    .overview-img,
    .overview-img--half {
        min-height: 340px !important;
        clip-path: none !important;
    }

    .overview-img img,
    .overview-img--half img {
        min-height: 340px !important;
    }
}

/* Overview image update: high-resolution neckband image, half-height crop, no side bars */
.overview-img {
    height: clamp(210px, 23vw, 330px) !important;
    min-height: 0 !important;
    overflow: hidden !important;
    background: #111 !important;
}

.overview-img img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: center 42% !important;
    display: block !important;
}

@media (max-width: 900px) {
    .overview-img {
        height: clamp(240px, 48vw, 360px) !important;
    }

    .overview-img img {
        object-position: center 38% !important;
    }
}

@media (max-width: 560px) {
    .overview-img {
        height: 280px !important;
    }
}

/* Overview image height update: double the previous half-height treatment */
.overview-img {
    height: clamp(420px, 46vw, 660px) !important;
    min-height: 0 !important;
    overflow: hidden !important;
    background: #111 !important;
}

.overview-img img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: center 42% !important;
    display: block !important;
}

@media (max-width: 900px) {
    .overview-img {
        height: clamp(420px, 76vw, 620px) !important;
    }

    .overview-img img {
        object-position: center 38% !important;
    }
}

@media (max-width: 560px) {
    .overview-img {
        height: 520px !important;
    }
}

/* Overview image height update: doubled again per request */
.overview-img {
    height: clamp(840px, 92vw, 1320px) !important;
    min-height: 0 !important;
    overflow: hidden !important;
    background: #111 !important;
}

.overview-img img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: center 42% !important;
    display: block !important;
}

@media (max-width: 900px) {
    .overview-img {
        height: clamp(760px, 140vw, 1240px) !important;
    }

    .overview-img img {
        object-position: center 38% !important;
    }
}

@media (max-width: 560px) {
    .overview-img {
        height: 1040px !important;
    }
}

/* Balanced split layout for Overview section */
.overview {
    grid-template-columns: minmax(0, 1fr) minmax(420px, 540px) !important;
    gap: clamp(32px, 4vw, 64px) !important;
    align-items: center !important;
}

.overview-copy {
    max-width: 720px;
}

.overview-img {
    justify-self: end;
    width: 100%;
    height: clamp(520px, 42vw, 620px) !important;
    min-height: 0 !important;
    overflow: hidden;
    background: #f3f3f3 !important;
    box-shadow: 0 28px 70px rgba(0, 0, 0, 0.12) !important;
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%) !important;
}

.overview-img img {
    width: 100%;
    height: 100%;
    min-height: 0 !important;
    object-fit: cover !important;
    object-position: center 22% !important;
}

@media (max-width: 1180px) {
    .overview {
        grid-template-columns: 1fr !important;
    }

    .overview-img {
        justify-self: stretch;
        max-width: none;
        height: clamp(460px, 62vw, 560px) !important;
    }
}

@media (max-width: 900px) {
    .overview-img {
        height: 420px !important;
    }

    .overview-img img {
        object-position: center 20% !important;
    }
}

@media (max-width: 640px) {
    .overview-img {
        height: 340px !important;
    }
}

/* Shorten Built for Performance section height */
.performance {
    min-height: clamp(360px, 34vw, 500px) !important;
}

.performance-copy {
    padding-top: clamp(42px, 4.5vw, 68px) !important;
    padding-bottom: clamp(42px, 4.5vw, 68px) !important;
}

.performance-img {
    min-height: clamp(360px, 34vw, 500px) !important;
}

.performance-img img {
    object-position: center 48% !important;
}

@media (max-width: 900px) {
    .performance-img {
        height: 280px !important;
        min-height: 280px !important;
    }

    .performance-copy {
        padding-top: 34px !important;
        padding-bottom: 34px !important;
    }
}

/* Hard fix: force Built for Performance to a shorter, controlled height.
   The prior image behaved tall because the img intrinsic aspect ratio was still influencing the grid row. */
.performance {
    height: clamp(340px, 32vw, 460px) !important;
    min-height: 0 !important;
    max-height: 460px !important;
    align-items: stretch !important;
}

.performance-copy {
    min-height: 0 !important;
    padding-top: clamp(32px, 3.6vw, 54px) !important;
    padding-bottom: clamp(32px, 3.6vw, 54px) !important;
}

.performance-copy .section-title {
    font-size: clamp(44px, 4.1vw, 70px) !important;
}

.performance-copy p:not(.label) {
    margin-top: 18px !important;
    line-height: 1.5 !important;
}

.performance-img {
    height: 100% !important;
    min-height: 0 !important;
    max-height: 460px !important;
}

.performance-img img {
    width: 100% !important;
    height: 100% !important;
    min-height: 0 !important;
    object-fit: cover !important;
    object-position: center 48% !important;
}

@media (max-width: 1180px) {
    .performance {
        height: auto !important;
        max-height: none !important;
    }

    .performance-img {
        height: 340px !important;
        max-height: 340px !important;
    }
}

@media (max-width: 900px) {
    .performance-copy {
        padding-top: 34px !important;
        padding-bottom: 34px !important;
    }

    .performance-img {
        height: 260px !important;
        max-height: 260px !important;
    }
}

@media (max-width: 560px) {
    .performance-img {
        height: 220px !important;
        max-height: 220px !important;
    }
}

/* Typographic refinement: reduce widows/orphans across redesigned pages */
p,
.section-head p,
.overview-copy p,
.proof-copy p,
.category-body p,
.performance-copy p,
.system-card p,
.cta-panel p,
.footer-office p {
    text-wrap: pretty;
    orphans: 2;
    widows: 2;
}

.section-title,
.dw-title,
.proof-copy h2,
.category-body h3,
.system-card h3,
.cta-panel h2 {
    text-wrap: balance;
}

.section-head p,
.overview-copy p,
.proof-copy p,
.performance-copy p {
    max-width: 62ch;
}

.category-body p,
.system-card p {
    max-width: 36ch;
}

@media (max-width: 760px) {
    .category-body p,
    .system-card p,
    .section-head p,
    .overview-copy p,
    .proof-copy p,
    .performance-copy p {
        max-width: none;
    }
}

/* Extended Key Product Categories copy with orphan-aware wrapping */
.category-body p {
    text-wrap: pretty;
    hyphens: none;
    max-width: 46ch;
}

.category-body h3 {
    text-wrap: balance;
}

@supports not (text-wrap: pretty) {
    .category-body p {
        overflow-wrap: normal;
    }
}

/* Uploaded SVG icons for Key Product Categories cards */
.category-icon.category-icon--svg {
    width: 46px;
    height: 46px;
    background: var(--yellow);
    color: #111;
    display: grid;
    place-items: center;
    padding: 10px;
}

.category-icon.category-icon--svg svg {
    width: 24px;
    height: 24px;
    display: block;
}

.category-icon.category-icon--svg svg,
.category-icon.category-icon--svg svg * {
    stroke: currentColor !important;
}

.category-icon.category-icon--svg svg path,
.category-icon.category-icon--svg svg circle,
.category-icon.category-icon--svg svg rect,
.category-icon.category-icon--svg svg line,
.category-icon.category-icon--svg svg polyline,
.category-icon.category-icon--svg svg polygon {
    vector-effect: non-scaling-stroke;
}

/* Enlarge only the Protection & Utility phone case SVG by 20% */
.category-icon.category-icon--svg.category-icon--protection svg {
    width: 28.8px !important;
    height: 28.8px !important;
}

.category-icon.category-icon--svg.category-icon--protection {
    padding: 8px !important;
}

/* Keep the full Protection & Utility product visible inside its card */
.category-card:nth-child(3) .category-media {
    background: linear-gradient(180deg, #181818, #0b0b0b) !important;
}

.category-card:nth-child(3) .category-media img {
    object-fit: contain !important;
    object-position: center center !important;
    padding: 12px !important;
    box-sizing: border-box !important;
    background: linear-gradient(180deg, #181818, #0b0b0b) !important;
}

.category-card:nth-child(3):hover .category-media img {
    transform: none !important;
}

@media (max-width: 900px) {
    .category-card:nth-child(3) .category-media img {
        padding: 10px !important;
    }
}

/* Refine the Protection & Utility card image crop for the wider workshop stand image */
.category-card:nth-child(3) .category-media {
    background: #111 !important;
    overflow: hidden !important;
}

.category-card:nth-child(3) .category-media img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: center 58% !important;
    padding: 0 !important;
    background: transparent !important;
    transform: none !important;
}

.category-card:nth-child(3):hover .category-media img {
    transform: scale(1.025) !important;
}

@media (max-width: 900px) {
    .category-card:nth-child(3) .category-media img {
        object-position: center 56% !important;
    }
}

/* Remove the dark overlay from the DEWALT hero image while preserving copy-side readability */
.dw-hero::before,
.dw-hero:before,
.dw-visual::before,
.dw-visual:before,
.dw-visual::after,
.dw-visual:after {
    content: none !important;
    display: none !important;
    opacity: 0 !important;
    background: none !important;
}

.dw-visual img {
    filter: none !important;
    opacity: 1 !important;
}

.dw-hero {
    background: #050505 !important;
}

.dw-copy {
    background: linear-gradient(90deg, #050505 0%, rgba(5, 5, 5, 0.94) 72%, rgba(5, 5, 5, 0) 100%) !important;
}

@media (max-width: 900px) {
    .dw-copy {
        background: #050505 !important;
    }
}

/* Global homepage navbar/footer transplant + leadership alignment refinement */
.brand-proof {
    grid-template-columns: max-content minmax(420px, 760px) !important;
    justify-content: center !important;
    align-items: center !important;
    column-gap: 0 !important;
    gap: 0 !important;
}

.brand-proof .proof-number,
.proof-number {
    justify-self: end !important;
    margin-right: -0.025em !important;
    position: relative !important;
    z-index: 1 !important;
    line-height: 0.68 !important;
}

.brand-proof .proof-copy,
.proof-copy {
    margin-left: clamp(4px, 0.55vw, 10px) !important;
    position: relative !important;
    z-index: 2 !important;
}

.proof-copy h2 {
    margin: 0 !important;
}

@media (max-width: 980px) {
    .brand-proof {
        grid-template-columns: 1fr !important;
        justify-content: start !important;
        gap: 18px !important;
    }

    .brand-proof .proof-number,
    .proof-number {
        justify-self: start !important;
        margin-right: 0 !important;
    }

    .brand-proof .proof-copy,
    .proof-copy {
        margin-left: 0 !important;
    }
}

.drawer {
    position: fixed;
    inset: 0;
    z-index: 1600;
    pointer-events: none;
}

.drawer:before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);
    opacity: 0;
    transition: opacity 0.35s var(--ease);
}

.drawer-card {
    position: absolute;
    right: 0;
    top: 0;
    height: 100%;
    width: min(460px, 92vw);
    background: #fafaf7;
    color: #111;
    box-shadow: -30px 0 90px rgba(0, 0, 0, 0.35);
    transform: translateX(104%);
    transition: transform 0.45s var(--ease);
    padding: 30px;
    display: flex;
    flex-direction: column;
}

.drawer.is-open {
    pointer-events: auto;
}

.drawer.is-open:before {
    opacity: 1;
}

.drawer.is-open .drawer-card {
    transform: translateX(0);
}

.drawer-close {
    align-self: flex-end;
    border: 0;
    background: #111;
    color: #fff;
    width: 42px;
    height: 42px;
    cursor: pointer;
    font-size: 22px;
}

.drawer h2 {
    font-family: var(--condensed);
    font-size: 58px;
    line-height: 0.9;
    letter-spacing: 0.004em;
    text-transform: uppercase;
    margin: 30px 0 12px;
}

.drawer p {
    line-height: 1.45;
    color: #333;
    margin: 0 0 24px;
}

.project-form {
    display: grid;
    gap: 12px;
    margin-top: 8px;
}

.project-form label {
    display: grid;
    gap: 6px;
    text-transform: uppercase;
    font-size: 10px;
    font-weight: 1000;
    letter-spacing: 0.06em;
    color: #333;
}

.project-form input,
.project-form textarea {
    border: 1px solid var(--line);
    background: #fff;
    padding: 13px 12px;
    outline: none;
    transition: border 0.2s var(--ease),
    box-shadow 0.2s var(--ease);
}

.project-form input:focus,
.project-form textarea:focus {
    border-color: #111;
    box-shadow: 0 0 0 3px rgba(255, 196, 0, 0.35);
}

.project-form textarea {
    min-height: 120px;
    resize: vertical;
}

.form-note {
    margin-top: auto;
    border-top: 1px solid var(--line);
    padding-top: 20px;
    font-size: 12px;
    color: #555;
}

.toast {
    position: fixed;
    left: 50%;
    bottom: 24px;
    z-index: 2000;
    background: #090909;
    color: #fff;
    padding: 14px 18px;
    transform: translate(-50%, 160%);
    transition: transform 0.35s var(--ease);
    font-weight: 900;
    text-transform: uppercase;
    font-size: 12px;
    letter-spacing: 0.04em;
}

.toast.show {
    transform: translate(-50%, 0);
}


/* Leadership proof mark height match: make #1 align to the bold header block, not the full copy stack. */
@media (min-width: 981px) {
    .brand-proof {
        grid-template-columns: max-content minmax(420px, 760px) !important;
        justify-content: center !important;
        align-items: start !important;
        column-gap: 0 !important;
    }

    .brand-proof .proof-number,
    .proof-number {
        font-size: clamp(210px, 16.2vw, 282px) !important;
        line-height: 0.68 !important;
        align-self: start !important;
        justify-self: end !important;
        margin-top: clamp(32px, 3.15vw, 46px) !important;
        margin-right: -0.035em !important;
        letter-spacing: -0.045em !important;
    }

    .brand-proof .proof-copy,
    .proof-copy {
        margin-left: clamp(4px, 0.45vw, 8px) !important;
    }

    .proof-copy h2 {
        line-height: 0.86 !important;
    }
}

@media (max-width: 980px) {
    .brand-proof .proof-number,
    .proof-number {
        margin-top: 0 !important;
        letter-spacing: -0.03em !important;
    }
}


/* Screenshot-matched Home Improvement Leadership composition.
   The #1 is scaled to match the visual height of the three-line headline and
   offset downward so its top/bottom align to the bold header, not the eyebrow. */
@media (min-width: 981px) {
    .brand-proof {
        grid-template-columns: max-content minmax(520px, 760px) !important;
        justify-content: center !important;
        align-items: start !important;
        column-gap: clamp(10px, 1.15vw, 24px) !important;
        gap: clamp(10px, 1.15vw, 24px) !important;
    }

    .brand-proof .proof-number,
    .proof-number {
        font-size: clamp(300px, 20.4vw, 382px) !important;
        line-height: 0.6 !important;
        letter-spacing: -0.055em !important;
        justify-self: end !important;
        align-self: start !important;
        margin-top: clamp(48px, 3.25vw, 64px) !important;
        margin-right: 0 !important;
        transform: none !important;
    }

    .brand-proof .proof-copy,
    .proof-copy {
        margin-left: 0 !important;
        align-self: start !important;
    }

    .proof-copy .label {
        margin-bottom: clamp(8px, 0.65vw, 12px) !important;
    }

    .proof-copy h2 {
        font-size: clamp(72px, 6.6vw, 112px) !important;
        line-height: 0.86 !important;
        letter-spacing: 0.018em !important;
        margin: 0 !important;
    }
}

@media (max-width: 980px) {
    .brand-proof .proof-number,
    .proof-number {
        margin-top: 0 !important;
        transform: none !important;
    }
}


/* ============================================================
   CORRECTIVE + POLISH LAYER (final cascade authority)
   Fixes: headline overflow/clipping, nav dropdown styling,
   stray demo toast, plus restrained design refinements.
   ============================================================ */

/* ---- 1. Headline overflow / clipping guards ---- */
.dw-title,
.proof-copy h2,
.section-title,
.cta-panel h2,
.overview h2,
.performance-copy h2 {
    overflow-wrap: normal;
    word-break: keep-all;
    hyphens: none;
    max-width: 100%;
}

/* Hero title: cap so it never bleeds past its column */
.dw-title {
    font-size: clamp(60px, 6.4vw, 116px) !important;
    max-width: 100%;
}

/* Brand-proof: stop the giant #1 + headline from overrunning the right edge.
   Re-balance the two-column composition and cap the headline size. */
@media (min-width: 981px) {
    .brand-proof {
        grid-template-columns: max-content minmax(0, 640px) !important;
        column-gap: clamp(14px, 1.6vw, 30px) !important;
        gap: clamp(14px, 1.6vw, 30px) !important;
        justify-content: center !important;
        align-items: start !important;
    }

    .brand-proof .proof-number,
    .proof-number {
        font-size: clamp(230px, 15vw, 300px) !important;
        margin-top: clamp(34px, 2.6vw, 50px) !important;
    }

    .brand-proof .proof-copy,
    .proof-copy {
        min-width: 0 !important;
    }

    .proof-copy h2 {
        font-size: clamp(52px, 4.4vw, 80px) !important;
        line-height: 0.9 !important;
        letter-spacing: 0.01em !important;
        max-width: 100% !important;
    }
}

/* Performance section: headline was clipping behind the image.
   Constrain copy column and cap the title. */
.performance-copy {
    min-width: 0;
}

.performance .section-title {
    font-size: clamp(40px, 4.2vw, 80px) !important;
    max-width: 100%;
}

@media (min-width: 981px) {
    .performance {
        grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr) !important;
    }
}

/* ---- 3. Stray "Inquiry captured in the demo" toast ---- */
/* It is a JS status toast; ensure it stays parked off-screen until .show is set. */
.toast {
    visibility: hidden;
}

.toast.show {
    visibility: visible;
}

/* ---- 4. Restrained design polish ---- */
/* Remove the redundant rotated rail label (the H1 already says the same thing) */
.dw-rail span:first-child {
    display: none;
}

.dw-rail .dash {
    display: none;
}

/* Product + process cards: add the engineered, tactile hover the copy promises */
.system-card,
.category-card,
.process-card,
article.system-card {
    transition: transform 0.3s var(--ease),
    box-shadow 0.3s var(--ease),
    border-color 0.3s var(--ease);
}

.system-card:hover,
.category-card:hover,
.process-card:hover,
article.system-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 22px 50px rgba(0, 0, 0, 0.12);
}

/* Subtle image zoom inside any card media on hover */
.category-card,
.system-card {
    overflow: hidden;
}

.category-media img,
.system-card img,
.category-card img {
    transition: transform 0.55s var(--ease);
}

.category-card:hover img,
.system-card:hover img {
    transform: scale(1.045);
}

/* Slightly more readable body copy line length */
.proof-copy p,
.overview-copy p,
.dw-copy p:not(.eyebrow) {
    max-width: 60ch;
}

/* Focus visibility for keyboard users on interactive elements */
a:focus-visible,
button:focus-visible {
    outline: 3px solid var(--yellow);
    outline-offset: 2px;
}

@media (max-width: 980px) {
    /* Pre-existing mobile bug: 14vw display headlines let long words
     (e.g. CREDIBILITY) overrun narrow screens. Cap them. */
    .dw-title {
        font-size: clamp(44px, 11vw, 72px) !important;
    }

    .proof-copy h2,
    .section-title,
    .performance .section-title,
    .cta-panel h2 {
        font-size: clamp(38px, 9vw, 64px) !important;
        line-height: 0.92 !important;
    }

    .proof-number {
        font-size: clamp(120px, 30vw, 200px) !important;
    }
}

/* Pre-existing bug: section grids use minmax() tracks with large pixel
   minimums (e.g. minmax(420px,..) + minmax(520px,..) = 940px floor) that
   overflow any viewport narrower than the combined minimum. Collapse to a
   single zero-min column below the desktop breakpoint. */
@media (max-width: 1180px) {
    .overview,
    .performance,
    .brand-proof,
    .section-head {
        grid-template-columns: minmax(0, 1fr) !important;
    }

    .overview-img,
    .performance-media {
        min-height: clamp(300px, 52vw, 460px) !important;
    }
}

/* Universal safety: media and cards can never exceed their column */
.overview-img,
.performance-media,
.system-card,
.category-card,
.overview-img img,
.performance-media img,
.system-card img,
.category-card img {
    max-width: 100%;
}

* {
    min-width: 0;
}

/* The slide-in project drawer is position:fixed and transformed off the
   right edge; a fixed element ignores body{overflow-x:hidden}, so its
   off-canvas box was adding ~41px of horizontal scroll. Keep it fully
   hidden (no layout/scroll footprint) until it is actually opened. */
.drawer:not(.is-open) {
    visibility: hidden;
}

.drawer:not(.is-open) .drawer-card {
    transform: translateX(100%);
    right: 0;
}

.drawer.is-open {
    visibility: visible;
}

/* Belt-and-suspenders: clip any stray horizontal bleed at the page root */
html {
    overflow-x: hidden;
}

@media (max-width: 560px) {
    .dw-title {
        font-size: clamp(40px, 11.5vw, 58px) !important;
    }

    .proof-copy h2,
    .section-title,
    .performance .section-title,
    .cta-panel h2 {
        font-size: clamp(32px, 8.6vw, 48px) !important;
    }
}

/* Final tune: push in on the Protection & Utility product while keeping the full product visible */
.category-card:nth-child(3) .category-media {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    background: #111 !important;
    overflow: hidden !important;
    padding: 8px !important;
    box-sizing: border-box !important;
}

.category-card:nth-child(3) .category-media img {
    width: 100% !important;
    height: 100% !important;
    object-fit: contain !important;
    object-position: center center !important;
    padding: 0 !important;
    margin: 0 !important;
    background: transparent !important;
    transform: none !important;
}

.category-card:nth-child(3):hover .category-media img {
    transform: scale(1.02) !important;
}

@media (max-width: 900px) {
    .category-card:nth-child(3) .category-media {
        padding: 6px !important;
    }
}

/* Use the new Protection & Utility image while preserving the card layout */
.category-card:nth-child(3) .category-media {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    background: #111 !important;
    overflow: hidden !important;
    padding: 6px !important;
    box-sizing: border-box !important;
}

.category-card:nth-child(3) .category-media img {
    width: 100% !important;
    height: 100% !important;
    object-fit: contain !important;
    object-position: center center !important;
    padding: 0 !important;
    margin: 0 !important;
    background: transparent !important;
    transform: none !important;
}

.category-card:nth-child(3):hover .category-media img {
    transform: scale(1.02) !important;
}

@media (max-width: 900px) {
    .category-card:nth-child(3) .category-media {
        padding: 4px !important;
    }
}

/* Reduce the black space around the Protection & Utility image
   while keeping the overall card layout intact and avoiding
   cropping the top/bottom of the product itself. */
.category-card:nth-child(3) .category-media {
    background: #2a1b12 !important;
    overflow: hidden !important;
    padding: 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.category-card:nth-child(3) .category-media img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: center 50% !important;
    padding: 0 !important;
    margin: 0 !important;
    background: transparent !important;
    transform: none !important;
}

.category-card:nth-child(3):hover .category-media img {
    transform: scale(1.02) !important;
}

/* Remove the dark overlay from the Built for Performance image only */
.performance-img::before,
.performance-img:before {
    content: none !important;
    display: none !important;
    opacity: 0 !important;
    background: none !important;
}

.performance-img img {
    filter: saturate(1.02) contrast(1.05) brightness(1.04) !important;
    opacity: 1 !important;
}

/* Shared brand-page treatment for the hero Brand Overview CTA */
.hero-overview-button {
    --btn-bg: transparent;
    --btn-fg: #fff;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    box-shadow: none;
    background: rgba(255, 255, 255, 0.02);
    backdrop-filter: blur(8px);
}

.hero-overview-button i {
    color: var(--yellow);
    border-right: 1px solid rgba(255, 255, 255, 0.14);
}

.hero-overview-button:hover {
    background: #ffffff;
    color: #000000;
    border-color: #ffffff;
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.22);
}

.hero-overview-button:hover i {
    background: #000000;
    color: var(--yellow);
}
    
.top-cta {
    border-right:1px solid rgba(0, 0, 0, .16) !important;
}