/* /jobsite-solutions/solutions-by-trade — dewalt-landing.html UI (no carpentry.css) */

:root {
    --bc-yellow: #FEB813;
    --bc-yellow-hover: #e5a610;
    --bc-black: #1A1A1A;
    --bc-zinc-950: #09090b;
    --bc-zinc-900: #18181b;
    --bc-zinc-800: #27272a;
    --bc-zinc-600: #52525b;
    --bc-zinc-500: #71717a;
    --bc-zinc-400: #a1a1aa;
    --bc-zinc-300: #d4d4d8;
    --bc-white: #ffffff;
    --bc-light: #f5f5f5;
    --bc-border: #e5e5e5;
    --bc-container: 105rem; /* 1680px */
    --bc-solutions-bg: #231e20;
    --bc-solutions-text: rgb(252, 245, 222);
}

*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

.bc-page {
    font-family: 'Noto Sans KR', sans-serif;
    background: #000;
    color: var(--bc-white);
    line-height: 1.4;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

.bc-tough-title {
    font-family: Oswald, 'Noto Sans KR', sans-serif;
    text-transform: uppercase;
    letter-spacing: -0.02em;
}

.bc-container {
    max-width: var(--bc-container);
    margin: 0 auto;
    padding: 0 1rem;
}

@media (min-width: 768px) {
    .bc-container { padding: 0 3rem; }
}

/* Hero */
.bc-hero {
    position: relative;
    min-height: 100vh;
    min-height: 100dvh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: var(--bc-zinc-900);
}

.bc-hero__media {
    position: absolute;
    inset: 0;
    z-index: 0;
    opacity: 0.6;
    transition: opacity 0.8s ease;
}

.bc-hero__video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center bottom;
}

.bc-hero__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.85) 0%, transparent 45%, rgba(0, 0, 0, 0.85) 100%);
    opacity: 0.8;
    transition: opacity 0.8s ease;
}

.bc-hero__content {
    position: relative;
    z-index: 10;
    text-align: center;
    padding: 2rem 1rem 5rem;
    max-width: 56rem;
    opacity: 1;
    transition: opacity 0.8s ease;
}

.bc-hero.is-intro-faded .bc-hero__media {
    opacity: 1;
}

.bc-hero.is-intro-faded .bc-hero__overlay {
    opacity: 0;
}

.bc-hero.is-intro-faded .bc-hero__content {
    opacity: 0;
    pointer-events: none;
}

@media (prefers-reduced-motion: reduce) {
    .bc-hero__media,
    .bc-hero__overlay,
    .bc-hero__content {
        transition: none;
    }
}

.bc-hero__title {
    font-size: clamp(2.5rem, 8vw, 5rem);
    font-weight: 700;
    line-height: 1;
    color: var(--bc-white);
}

.bc-hero__title-accent {
    color: var(--bc-yellow);
}

.bc-hero__title-accent sup {
    font-size: 1rem;
    vertical-align: text-top;
    /* line-height: 0; */
    position: relative;
    top: 1.6rem;
    left: 0.25rem;
    /* top: 0; */
}

.bc-hero__dots {
    position: absolute;
    top: 2.5rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    display: flex;
    gap: 0.75rem;
}

.bc-hero__dot {
    width: 3rem;
    height: 6px;
    border: none;
    border-radius: 999px;
    background: var(--bc-zinc-500);
    cursor: pointer;
    padding: 0;
    transition: background 0.2s;
}

.bc-hero__dot:hover {
    background: var(--bc-zinc-400);
}

.bc-hero__dot.is-active {
    background: var(--bc-yellow);
}

/* Buttons */
.bc-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-weight: 700;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border: 2px solid transparent;
    cursor: pointer;
    transition: background 0.2s, color 0.2s, border-color 0.2s;
    font-family: 'Noto Sans KR', sans-serif;
    font-size: 0.875rem;
    min-height: 44px;
    padding: 0.875rem 2rem;
}

.bc-btn--primary {
    background: var(--bc-yellow);
    color: #000;
    border-color: var(--bc-yellow);
}

.bc-btn--primary:hover {
    background: var(--bc-yellow-hover);
}

.bc-btn--outline {
    background: transparent;
    color: var(--bc-white);
    border-color: var(--bc-white);
}

.bc-btn--outline:hover {
    background: var(--bc-white);
    color: #000;
}

.bc-btn--secondary {
    width: 100%;
    background: var(--bc-zinc-800);
    color: var(--bc-white);
    border: none;
    padding: 0.5rem;
    font-size: 0.75rem;
}

.bc-btn--secondary:hover {
    background: var(--bc-yellow);
    color: #000;
}

/* Sections */
.bc-section {
    padding: 5rem 0;
}

.bc-section__header {
    margin-bottom: 3rem;
}

.bc-section__intro {
    max-width: 42rem;
}

.bc-section__title {
    font-family: "Archivo Expanded", "archivoExpanded", Archivo, 'Noto Sans KR', sans-serif;
    font-stretch: expanded;
    font-weight: 900;
    font-size: clamp(2rem, 5vw, 3rem);
    text-transform: uppercase;
    letter-spacing: -0.03em;
    line-height: 1.05;
    color: var(--bc-white);
    white-space: nowrap;
}

.bc-section__desc {
    margin-top: 1rem;
    color: var(--bc-zinc-400);
    font-size: 0.95rem;
    word-break: keep-all;
    font-family: 'Noto Sans KR', sans-serif;
    text-transform: none;
    font-weight: 400;
    line-height: 1.6;
}

/* Solutions by Trade — dewalt.com pathing tiles */
.bc-solutions {
    background: var(--bc-solutions-bg);
    color: var(--bc-solutions-text);
}

.bc-solutions .bc-section__title {
    color: var(--bc-solutions-text);
}

.bc-solutions .bc-section__desc {
    color: var(--bc-solutions-text);
    margin-top: 0.5rem;
    max-width: 48rem;
}

.bc-solutions__head {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

@media (min-width: 1280px) {
    .bc-solutions__head {
        flex-direction: row;
        align-items: flex-end;
        justify-content: space-between;
        margin-bottom: 2.5rem;
    }
}

.bc-solutions__nav {
    display: none;
    gap: 0.25rem;
    flex-shrink: 0;
}

.bc-solutions__nav.is-enabled {
    display: flex;
}

.bc-solutions__nav-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    padding: 0;
    border: 1px solid transparent;
    background: var(--bc-yellow);
    color: #000;
    cursor: pointer;
    transition: background 0.2s, opacity 0.2s;
}

.bc-solutions__nav-btn:hover:not(:disabled) {
    background: var(--bc-yellow-hover);
}

.bc-solutions__nav-btn:disabled {
    background: var(--bc-zinc-300);
    color: var(--bc-zinc-500);
    cursor: default;
}

.bc-solutions__slider {
    overflow-x: auto;
    overflow-y: hidden;
    margin: 0 -1rem;
    padding: 0.375rem 0;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}

@media (max-width: 639px) {
    .bc-solutions__slider {
        overflow: visible;
        margin: 0 auto;
        padding: 0;
        scroll-snap-type: none;
    }
}

.bc-solutions__slider::-webkit-scrollbar {
    display: none;
}

.bc-solutions__track {
    display: flex;
    gap: 0;
    transition: transform 0.45s ease;
    will-change: transform;
}

@media (max-width: 639px) {
    .bc-solutions__track {
        flex-direction: column;
        align-items: center;
        gap: 1.5rem;
        transform: none !important;
        will-change: auto;
    }
}

@media (min-width: 1280px) {
    .bc-solutions__slider {
        overflow: hidden;
        scroll-snap-type: none;
    }
}

.bc-solutions__slide {
    flex: 0 0 100%;
    min-width: 0;
    padding: 0 1rem;
    box-sizing: border-box;
}

@media (max-width: 639px) {
    .bc-solutions__slide {
        flex: none;
        width: 100%;
        max-width: 90%;
        padding: 0;
    }
}

@media (min-width: 640px) {
    .bc-solutions__slide {
        flex: 0 0 50%;
    }
}

@media (min-width: 1024px) {
    .bc-solutions__slide {
        flex: 0 0 33.333%;
    }
}

.bc-solutions__tile {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    text-decoration: none;
    color: inherit;
}

.bc-solutions__figure {
    position: relative;
    width: 100%;
    aspect-ratio: 1 / 1;
    margin: 0;
    overflow: hidden;
    background: var(--bc-light);
}

.bc-solutions__figure img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.5s ease;
}

.bc-solutions__tile:hover .bc-solutions__figure img {
    transform: scale(1.03);
}

.bc-solutions__tile-body {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    margin-top: 1rem;
    text-align: center;
}

@media (min-width: 1280px) {
    .bc-solutions__tile-body {
        margin-top: 1.25rem;
    }
}

.bc-solutions__tile-title {
    width: 100%;
    font-size: clamp(1rem, 2vw, 1.25rem);
    color: var(--bc-solutions-text);
    line-height: 1.2;
    text-transform: none;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.bc-solutions__explore {
    display: inline-flex;
    align-items: center;
    gap: 0.125rem;
    margin-top: 0.75rem;
    font-family: 'Noto Sans KR', sans-serif;
    font-size: 0.875rem;
    font-weight: 700;
    text-transform: none;
    letter-spacing: 0;
    color: var(--bc-solutions-text);
    border-bottom: 2px solid transparent;
    transition: border-color 0.2s;
}

.bc-solutions__tile:hover .bc-solutions__explore {
    border-bottom-color: var(--bc-solutions-text);
}

.bc-solutions__explore i {
    font-size: 1.125rem;
    line-height: 1;
}

/* Products — READY FOR WORK (white) */
.bc-products {
    background: var(--bc-white);
    color: #000;
}

.bc-products .bc-section__title {
    color: #000;
}

.bc-products .bc-section__desc {
    color: var(--bc-zinc-600);
}

/* trades/outdoor .product-item 동일 */
.bc-products__list {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    margin: 0;
    padding: 20px 0;
    list-style: none;
    text-align: center;
}

.bc-products .product-item {
    flex: 0 0 calc(20% - 16px);
    margin: 0 8px 15px;
    display: flex;
    justify-content: center;
    text-align: center;
    border-radius: 8px;
}

.bc-products .product-item a {
    display: block;
    text-decoration: none;
    color: inherit;
}

.bc-products .product-item .tit {
    font-size: 20px;
    color: #555;
    font-weight: 500;
}

.bc-products .product-item .desc {
    font-size: 16px;
    color: #999;
    margin-top: 10px;
}

.bc-products .product-item a .img {
    max-width: 220px;
    margin: 0 auto;
    transition: 0.5s;
}

.bc-products .product-item a .img img {
    display: block;
    max-width: 100%;
    height: auto;
    margin: 0 auto;
}

.bc-products .product-item a:hover .img {
    transition: 0.5s;
    transform: scale(0.97);
}

@media (max-width: 1024px) {
    .bc-products .product-item {
        flex: 0 0 calc(33.333% - 20px);
        margin: 0 10px 15px;
    }
}

@media (max-width: 768px) {
    .bc-products .product-item {
        flex: 0 0 calc(50% - 10px);
        margin: 0 0 15px;
        box-sizing: border-box;
    }

    .bc-products .product-item .tit {
        font-size: 16px;
    }

    .bc-products .product-item .desc {
        font-size: 13px;
    }

    .bc-products .product-item a .img {
        max-width: 200px;
    }
}

@media (max-width: 480px) {
    .bc-products .product-item a .img {
        max-width: 30vw;
    }
}

/* Tough Letter — Featured Articles */
.bc-tough-letter {
    background: #f7f5f5;
    color: #000;
}

.bc-tough-letter .bc-section__title {
    color: #000;
}

.bc-tough-letter .bc-section__desc {
    color: var(--bc-zinc-600);
}

.bc-tough-letter__banner {
    display: block;
    width: 100%;
    margin: 0 auto;
    overflow: hidden;
    background: var(--bc-white);
    border: 1px solid var(--bc-border);
    transition: border-color 0.2s, box-shadow 0.2s;
}

.bc-tough-letter__banner:hover {
    border-color: var(--bc-zinc-300);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}

.bc-tough-letter__banner img {
    display: block;
    width: 100%;
    height: auto;
    vertical-align: middle;
}

/* Channels (SNS) */
.bc-channels {
    padding: 5rem 0;
    background: var(--bc-white);
}

.bc-channels__grid {
    width: 100%;
    max-width: 56rem;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    justify-items: center;
}

@media (min-width: 640px) {
    .bc-channels__grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 1.25rem;
        align-items: stretch;
    }
}

.bc-channels__card {
    width: 100%;
    max-width: 18rem;
    display: flex;
    flex-direction: column;
    background: var(--bc-white);
    border: 1px solid var(--bc-border);
    border-radius: 0.5rem;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
    transition: box-shadow 0.2s ease, border-color 0.2s ease;
    text-decoration: none;
    color: inherit;
    cursor: pointer;
}

.bc-channels__card:focus-visible {
    outline: 2px solid var(--bc-yellow);
    outline-offset: 2px;
}

@media (min-width: 640px) {
    .bc-channels__card {
        max-width: none;
    }
}

.bc-channels__card:hover {
    border-color: var(--bc-zinc-300);
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.1);
}

.bc-channels__card:hover .bc-channels__btn.bc-btn--primary {
    background: var(--bc-yellow-hover);
    border-color: var(--bc-yellow-hover);
}

.bc-channels__media {
    position: relative;
    width: 100%;
    aspect-ratio: 3 / 2;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--bc-black);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.bc-channels__media::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
    pointer-events: none;
    z-index: 0;
}

.bc-channels__media--youtube {
    background-image: url('/resources/img/campaian/brand/channel_bg_youtube.webp');
}

.bc-channels__media--instagram {
    background-image: url('/resources/img/campaian/brand/channel_bg_instagram.webp');
}

.bc-channels__media--kakao {
    background-image: url('/resources/img/campaian/brand/channel_bg_kakao.webp');
}

.bc-channels__body {
    padding: 1rem 1.25rem 1.25rem;
}

.bc-channels__logo {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 0;
}

.bc-channels__logo img {
    width: 4rem;
    height: 4rem;
    object-fit: contain;
    opacity: 0.75;
    filter: brightness(0) invert(1);
}

.bc-channels__btn {
    width: 100%;
    min-height: 40px;
    padding: 0.75rem 1.5rem;
    text-transform: none;
    font-size: 0.875rem;
    letter-spacing: 0;
    border-radius: 0.25rem;
    pointer-events: none;
}

/* Footer bar */
.bc-footer {
    background: var(--bc-yellow);
    text-align: center;
    padding: 1.5rem 1rem;
}

.bc-footer__logo {
    display: inline-block;
    width: auto;
    max-width: min(327px, 90vw);
    height: auto;
    max-height: 1.75rem;
    vertical-align: middle;
}

/* Mobile hero height */
@media (max-width: 768px) {
    .bc-hero {
        min-height: 70vh;
        min-height: 70dvh;
    }

    .bc-section__title {
        white-space: normal;
    }

    .bc-section {
        padding: 3.5rem 0;
    }
}

@media (max-width: 480px) {
    .bc-container {
        padding: 0 1rem;
    }

    .bc-hero__content {
        padding-bottom: 4rem;
    }

    .bc-hero__dot {
        width: 2.5rem;
    }
}
