/* =========================================================
   Capabilities Section
   Typography aligned with Featured Parts and How It Works
   ========================================================= */

.articles-list {
    display: block;
}

.article-chapter {
    position: relative;
    width: 100%;
}


/* =========================================================
   Shared typography
   ========================================================= */

.article-kicker,
.article-eyebrow {
    display: inline-block;
    margin-bottom: 18px;
    color: #8a6516;
    font-size: 0.78rem;
    line-height: 1;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.article-title {
    max-width: 860px;
    margin: 0;
    color: #111111;
    font-size: clamp(3.4rem, 6.2vw, 6.7rem);
    line-height: 0.94;
    font-weight: 500;
    letter-spacing: -0.068em;
}

.article-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-top: 25px;
    color: #111111;
    font-size: 0.98rem;
    line-height: 1.4;
    font-weight: 650;
    text-decoration: none;
    transition:
        gap 0.22s ease,
        color 0.22s ease;
}

.article-link:hover {
    gap: 16px;
    color: #9a7410;
}


/* =========================================================
   Capabilities introduction
   ========================================================= */

.articles-introduction {
    padding:
        clamp(85px, 8vw, 125px)
        0
        clamp(110px, 10vw, 160px);
    background: #ffffff;
}

.articles-introduction-inner {
    width: min(calc(100% - 80px), 1320px);
    margin: 0 auto;
}

.articles-introduction-title {
    max-width: 920px;
    margin: 0;
    color: #111111;
    font-size: clamp(3.4rem, 6.2vw, 6.7rem);
    line-height: 0.94;
    font-weight: 500;
    letter-spacing: -0.068em;
}

.articles-introduction-text {
    max-width: 740px;
    margin: 27px 0 0;
    color: #686868;
    font-size: clamp(1rem, 1.15vw, 1.16rem);
    line-height: 1.65;
    letter-spacing: -0.015em;
}


/* =========================================================
   Capability video
   ========================================================= */

.article-video-card {
    background: #ffffff;
}

.article-video-card + .article-video-card {
    padding-top: 34px;
}

.article-video-frame {
    position: relative;
    width: min(calc(100% - 80px), 1460px);
    height: min(52vw, 620px);
    min-height: 440px;
    margin: 40px auto 0;
    overflow: hidden;
    border-radius: 18px;
    background: #000000;
}

.article-video {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}


/* =========================================================
   Capability content
   ========================================================= */

.article-comfort-section {
    padding: clamp(52px, 5vw, 78px) 0 clamp(70px, 7vw, 108px);
    background: #ffffff;
    color: #171a20;
}

.article-comfort-inner {
    width: min(calc(100% - 160px), 1120px);
    margin: 0 auto;
}

.article-comfort-brief {
    margin-bottom: clamp(42px, 4.5vw, 64px);
}

.article-comfort-title {
    margin: 0;
    color: #171a20;
    font-size: clamp(2.8rem, 4.7vw, 5rem);
    line-height: 0.98;
    font-weight: 500;
    letter-spacing: -0.06em;
}

.article-comfort-text {
    max-width: 820px;
    margin: 18px 0 0;
    color: #686868;
    font-size: clamp(1rem, 1.15vw, 1.16rem);
    line-height: 1.65;
    letter-spacing: -0.015em;
}

.article-comfort-link {
    margin-top: 25px;
}


/* =========================================================
   Feature cards
   ========================================================= */

.article-feature-grid {
    display: grid;
    gap: 24px;
}

.grid-cols-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.grid-cols-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.article-feature-card {
    display: flex;
    min-height: 260px;
    flex-direction: column;
    justify-content: flex-start;
    padding: clamp(28px, 2.5vw, 36px);
    overflow: hidden;
    border-radius: 10px;
    background: #f4f4f4;
}

.article-feature-icon {
    display: none;
    height: 68px;
    align-items: center;
    margin-bottom: 20px;
    color: #171a20;
    font-size: clamp(2.5rem, 3vw, 3.15rem);
    line-height: 1;
}

.article-feature-card h4 {
    max-width: 380px;
    margin: 0 0 14px;
    color: #171a20;
    font-size: clamp(1.5rem, 2vw, 2.15rem);
    line-height: 1.05;
    font-weight: 500;
    letter-spacing: -0.045em;
}

.article-feature-card p {
    max-width: 400px;
    margin: 0;
    color: #707070;
    font-size: 0.96rem;
    line-height: 1.55;
    letter-spacing: -0.012em;
}

.article-feature-card p strong {
    color: #444444;
    font-weight: 650;
}


/* =========================================================
   Quick specifications
   ========================================================= */

.article-quick-specs {
    display: grid;
    grid-template-columns:
        minmax(120px, 0.7fr)
        minmax(170px, 1fr)
        minmax(190px, 1.1fr)
        minmax(240px, 1.35fr);
    margin-top: 30px;
    border-top: 1px solid #d4d4d7;
    border-bottom: 1px solid #d4d4d7;
}

.article-quick-spec {
    min-width: 0;
    padding: 18px 22px 19px 0;
}

.article-quick-spec + .article-quick-spec {
    padding-left: 22px;
    border-left: 1px solid #d4d4d7;
}

.article-quick-spec span,
.article-quick-spec strong {
    display: block;
}

.article-quick-spec span {
    margin-bottom: 8px;
    color: #85858a;
    font-size: 0.73rem;
    line-height: 1.2;
    font-weight: 650;
    letter-spacing: 0.11em;
    text-transform: uppercase;
}

.article-quick-spec strong {
    color: #171a20;
    font-size: 1.05rem;
    line-height: 1.4;
    font-weight: 600;
    letter-spacing: -0.015em;
}


/* =========================================================
   Sample gallery
   ========================================================= */

.article-sample-gallery {
    margin-top: clamp(52px, 5.5vw, 80px);
}

.article-gallery-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 20px;
}

.article-gallery-header .article-kicker {
    margin: 0;
}

.article-gallery-controls {
    display: flex;
    gap: 8px;
}

.article-gallery-button {
    display: inline-flex;
    width: 42px;
    height: 42px;
    align-items: center;
    justify-content: center;
    border: 1px solid #d1d1d4;
    border-radius: 50%;
    background: #ffffff;
    color: #171a20;
    font-size: 1rem;
    cursor: pointer;
    transition:
        background-color 0.2s ease,
        border-color 0.2s ease,
        transform 0.2s ease;
}

.article-gallery-button:hover {
    border-color: #171a20;
    background: #f4f4f4;
    transform: translateY(-1px);
}

.article-gallery-button:focus-visible {
    outline: 2px solid #171a20;
    outline-offset: 3px;
}

.article-gallery-track {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: minmax(300px, 52%);
    gap: 18px;
    overflow-x: auto;
    padding: 0 0 18px;
    scroll-snap-type: x mandatory;
    scrollbar-width: auto;
    scrollbar-color: #77777b #e8e8ea;
    overscroll-behavior-inline: contain;
    -webkit-overflow-scrolling: touch;
}

.article-gallery-track:focus-visible {
    outline: 2px solid #171a20;
    outline-offset: 8px;
}

.article-gallery-track::-webkit-scrollbar {
    height: 10px;
}

.article-gallery-track::-webkit-scrollbar-track {
    border-radius: 999px;
    background: #e8e8ea;
}

.article-gallery-track::-webkit-scrollbar-thumb {
    border: 2px solid #e8e8ea;
    border-radius: 999px;
    background: #77777b;
}

.article-gallery-item {
    position: relative;
    min-height: 360px;
    margin: 0;
    overflow: hidden;
    border-radius: 12px;
    background: #ffffff;
    scroll-snap-align: start;
}

.article-gallery-item img {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 300px;
    object-fit: contain;
    background: #f4f4f4;
}


/* =========================================================
   Desktop
   ========================================================= */

@media (max-width: 1399.98px) {
    .article-comfort-inner {
        width: min(calc(100% - 120px), 1080px);
    }
}


/* =========================================================
   Small desktop and laptop
   ========================================================= */

@media (max-width: 1199.98px) {
    .article-video-frame {
        width: 100%;
        height: min(56vw, 560px);
        min-height: 400px;
        margin-top: 24px;
        border-radius: 0;
    }

    .article-comfort-inner {
        width: min(calc(100% - 88px), 980px);
    }

    .article-feature-card {
        min-height: 260px;
        padding: 30px;
    }
}


/* =========================================================
   Tablet
   ========================================================= */

@media (max-width: 991.98px) {
    .articles-introduction-inner {
        width: calc(100% - 88px);
    }

    .article-video-frame {
        width: 100%;
        margin-top: 24px;
        border-radius: 0;
    }

    .article-comfort-inner {
        width: calc(100% - 88px);
    }

    .article-feature-grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .article-feature-card {
        min-height: 210px;
    }

    .article-feature-card h4 {
        max-width: 560px;
    }

    .article-feature-card p {
        max-width: 620px;
    }

    .article-quick-specs {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .article-quick-spec:nth-child(3) {
        padding-left: 0;
        border-top: 1px solid #d4d4d7;
        border-left: 0;
    }

    .article-quick-spec:nth-child(4) {
        border-top: 1px solid #d4d4d7;
    }

    .article-gallery-track {
        grid-auto-columns: minmax(320px, 78%);
    }
}


/* =========================================================
   Mobile
   ========================================================= */

@media (max-width: 767.98px) {
    .articles-introduction {
        padding: 82px 0 64px;
    }

    .articles-introduction-inner {
        width: calc(100% - 30px);
    }

    .article-kicker,
    .article-eyebrow {
        margin-bottom: 18px;
        font-size: 0.76rem;
    }

    .articles-introduction-title {
        font-size: clamp(3.1rem, 14vw, 4.5rem);
        line-height: 0.95;
    }

    .articles-introduction-text {
        margin-top: 22px;
        font-size: 1.08rem;
        line-height: 1.6;
    }

    .article-video-frame {
        width: 100%;
        height: 45vh;
        min-height: 320px;
        margin-top: 16px;
        border-radius: 0;
    }

    .article-comfort-section {
        padding: 42px 0 56px;
    }

    .article-comfort-inner {
        width: calc(100% - 30px);
    }

    .article-comfort-brief {
        margin-bottom: 36px;
    }

    .article-comfort-title {
        font-size: clamp(2.85rem, 13vw, 4rem);
        line-height: 0.98;
    }

    .article-comfort-text {
        margin-top: 14px;
        font-size: 1.08rem;
        line-height: 1.6;
    }

    .article-link {
        margin-top: 22px;
        font-size: 0.95rem;
    }

    .article-feature-grid {
        gap: 14px;
    }

    .article-feature-card {
        min-height: 200px;
        padding: 26px;
        border-radius: 9px;
    }

    .article-feature-card h4 {
        margin-bottom: 13px;
        font-size: 1.8rem;
        line-height: 1.08;
    }

    .article-feature-card p {
        font-size: 1rem;
        line-height: 1.55;
    }

    .article-quick-specs {
        grid-template-columns: 1fr;
        margin-top: 25px;
    }

    .article-quick-spec,
    .article-quick-spec + .article-quick-spec {
        padding: 15px 0;
        border-top: 1px solid #d4d4d7;
        border-left: 0;
    }

    .article-quick-spec:first-child {
        border-top: 0;
    }

    .article-quick-spec span {
        font-size: 0.7rem;
    }

    .article-quick-spec strong {
        font-size: 1rem;
    }

    .article-gallery-button {
        width: 38px;
        height: 38px;
    }

    .article-gallery-track {
        grid-auto-columns: 88%;
        gap: 12px;
    }

    .article-gallery-item,
    .article-gallery-item img {
        min-height: 280px;
    }
}


/* =========================================================
   Small mobile
   ========================================================= */

@media (max-width: 479.98px) {
    .article-gallery-track {
        grid-auto-columns: 94%;
    }
}


/* =========================================================
   Reduced motion
   ========================================================= */

@media (prefers-reduced-motion: reduce) {
    .article-link,
    .article-gallery-button {
        transition: none;
    }
}