/* =========================================================
   MATERIAL DETAIL
========================================================= */

.material-detail-page .site-header {
    position: relative !important;
    background: #f4f1e8 !important;
    color: #183b2d !important;
}

.material-detail-page .site-header .main-nav {
    color: #183b2d !important;
}

.material-detail-page .site-header .main-nav a {
    color: #183b2d !important;
}

.material-detail-page .site-header .main-nav a:hover {
    color: #183b2d !important;
    opacity: 0.6 !important;
}

.material-detail-page .site-header .brand {
    color: #183b2d !important;
}

.material-detail-page .site-header .brand img {
    display: block;
}

.material-detail-page .site-header .nav-toggle span {
    background: #183b2d !important;
}

body.material-detail-page.mobile-menu-open .main-nav {
    background: #183b2d !important;
}

body.material-detail-page.mobile-menu-open .main-nav a {
    color: white !important;
}

.material-detail-hero {
    padding: 150px 0 110px;
    background: var(--cream, #f4f1e8);
}

.material-detail-hero-grid {
    display: grid;
    grid-template-columns: 0.85fr 1.15fr;
    gap: 90px;
    align-items: center;
}

.material-detail-hero-content {
    max-width: 560px;
}

.material-detail-hero h1 {
    margin: 25px 0 30px;
    font-size: clamp(64px, 7vw, 110px);
    line-height: 0.92;
    font-weight: 400;
    letter-spacing: -0.045em;
}

.material-detail-lead {
    max-width: 470px;
    margin: 0;
    color: #607269;
    font-size: 21px;
    line-height: 1.6;
}

.material-detail-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 45px;
}

.material-detail-meta span {
    padding: 9px 15px;
    border: 1px solid rgba(24, 59, 45, 0.25);
    border-radius: 100px;
    color: #183b2d;
    font-size: 11px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.material-detail-hero-image {
    overflow: hidden;
}

.material-detail-hero-image img {
    width: 100%;
    height: 700px;
    object-fit: cover;
    display: block;
}


/* =========================================================
   INTRO
========================================================= */

.material-detail-intro {
    background: #faf9f4;
}

.material-detail-intro-grid {
    display: grid;
    grid-template-columns: 0.7fr 1.3fr;
    gap: 100px;
}

.material-detail-intro h2 {
    max-width: 850px;
    margin: 0 0 40px;
    font-size: clamp(42px, 5vw, 72px);
    line-height: 1.05;
    font-weight: 400;
    letter-spacing: -0.035em;
}

.material-detail-intro p {
    max-width: 760px;
    margin: 0 0 22px;
    color: #607269;
    font-size: 18px;
    line-height: 1.8;
}


/* =========================================================
   CHARACTERISTICS
========================================================= */

.material-characteristics {
    background: #e5ebe4;
}

.section-heading {
    margin-bottom: 70px;
}

.section-heading h2 {
    max-width: 800px;
    margin: 18px 0 0;
    font-size: clamp(42px, 5vw, 68px);
    line-height: 1;
    font-weight: 400;
    letter-spacing: -0.035em;
}

.characteristics-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    border-top: 1px solid rgba(24, 59, 45, 0.25);
}

.characteristic-item {
    min-height: 300px;
    padding: 30px;
    border-right: 1px solid rgba(24, 59, 45, 0.25);
}

.characteristic-item:last-child {
    border-right: 0;
}

.characteristic-number {
    display: block;
    margin-bottom: 80px;
    color: #607269;
    font-size: 11px;
    letter-spacing: 0.12em;
}

.characteristic-item h3 {
    margin: 0 0 15px;
    font-size: 26px;
    font-weight: 400;
}

.characteristic-item p {
    margin: 0;
    color: #607269;
    font-size: 15px;
    line-height: 1.7;
}


/* =========================================================
   STRUCTURE
========================================================= */

.material-structure {
    background: #faf9f4;
}

.material-structure-heading {
    display: grid;
    grid-template-columns: 0.7fr 1fr 0.8fr;
    gap: 60px;
    align-items: end;
    margin-bottom: 100px;
}

.material-structure-heading h2 {
    margin: 0;
    font-size: clamp(52px, 6vw, 82px);
    line-height: 0.95;
    font-weight: 400;
    letter-spacing: -0.045em;
}

.material-structure-heading p {
    margin: 0;
    color: #607269;
    font-size: 17px;
    line-height: 1.7;
}

.material-process {
    display: grid;
    grid-template-columns: 1fr 60px 1fr 60px 1fr 60px 1fr;
    align-items: center;
}

.process-item {
    padding: 35px 0;
}

.process-number {
    display: block;
    margin-bottom: 55px;
    color: #607269;
    font-size: 11px;
    letter-spacing: 0.15em;
}

.process-item h3 {
    margin: 0 0 15px;
    font-size: 25px;
    font-weight: 400;
}

.process-item p {
    max-width: 230px;
    margin: 0;
    color: #607269;
    font-size: 14px;
    line-height: 1.7;
}

.process-line {
    height: 1px;
    background: rgba(24, 59, 45, 0.25);
}


/* =========================================================
   PERFORMANCE
========================================================= */

.material-performance {
    background: #183b2d;
    color: #f4f1e8;
}

.material-performance-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 100px;
    align-items: center;
}

.material-performance-image img {
    width: 100%;
    height: 700px;
    display: block;
    object-fit: cover;
}

.material-performance-content h2 {
    max-width: 600px;
    margin: 22px 0 30px;
    font-size: clamp(44px, 5vw, 68px);
    line-height: 1;
    font-weight: 400;
    letter-spacing: -0.04em;
}

.material-performance-content > p {
    max-width: 560px;
    color: rgba(244, 241, 232, 0.7);
    font-size: 17px;
    line-height: 1.8;
}

.performance-list {
    margin-top: 50px;
    border-top: 1px solid rgba(244, 241, 232, 0.25);
}

.performance-item {
    display: flex;
    justify-content: space-between;
    gap: 30px;
    padding: 19px 0;
    border-bottom: 1px solid rgba(244, 241, 232, 0.25);
}

.performance-item span {
    opacity: 0.55;
    font-size: 11px;
}

.performance-item strong {
    font-size: 14px;
    font-weight: 400;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}


/* =========================================================
   APPLICATIONS
========================================================= */

.material-applications {
    background: #faf9f4;
}

.applications-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 70px;
}

.application-feature {
    position: relative;
    overflow: hidden;
}

.application-feature img {
    width: 100%;
    height: 650px;
    display: block;
    object-fit: cover;
}

.application-overlay {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    padding: 35px;
    background: linear-gradient(
        transparent,
        rgba(0, 0, 0, 0.55)
    );
    color: #fff;
}

.application-overlay span {
    font-size: 11px;
    opacity: 0.7;
}

.application-overlay h3 {
    margin: 8px 0 0;
    font-size: 38px;
    font-weight: 400;
}

.application-list {
    border-top: 1px solid rgba(24, 59, 45, 0.25);
}

.application-list a {
    display: flex;
    align-items: center;
    gap: 30px;
    padding: 28px 0;
    border-bottom: 1px solid rgba(24, 59, 45, 0.25);
    color: #183b2d;
    font-size: 28px;
    text-decoration: none;
    transition: padding 0.3s ease;
}

.application-list a:hover {
    padding-left: 15px;
}

.application-list span {
    color: #607269;
    font-size: 11px;
}


/* =========================================================
   DEVELOPMENT
========================================================= */

.material-development {
    background: #dfe8df;
}

.material-development-grid {
    display: grid;
    grid-template-columns: 1fr 0.9fr;
    gap: 120px;
}

.material-development h2 {
    max-width: 700px;
    margin: 20px 0 0;
    font-size: clamp(48px, 5vw, 72px);
    line-height: 1;
    font-weight: 400;
    letter-spacing: -0.04em;
}

.material-development p {
    margin: 0 0 25px;
    color: #607269;
    font-size: 17px;
    line-height: 1.8;
}


/* =========================================================
   RELATED MATERIALS
========================================================= */

.related-materials {
    background: #faf9f4;
}

.related-materials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.related-material {
    color: inherit;
    text-decoration: none;
}

.related-material img {
    width: 100%;
    height: 430px;
    display: block;
    object-fit: cover;
}

.related-material-content {
    padding-top: 22px;
}

.related-material-content > span {
    color: #607269;
    font-size: 11px;
}

.related-material-content h3 {
    margin: 12px 0 8px;
    font-size: 30px;
    font-weight: 400;
}

.related-material-content p {
    margin: 0;
    color: #607269;
    font-size: 14px;
    line-height: 1.6;
}


/* =========================================================
   CTA
========================================================= */

.material-detail-cta {
    padding: 150px 0;
    background: #183b2d;
    color: #f4f1e8;
    text-align: center;
}

.material-detail-cta-inner {
    max-width: 800px;
    margin: 0 auto;
}

.material-detail-cta h2 {
    margin: 25px 0;
    font-size: clamp(58px, 7vw, 100px);
    line-height: 0.95;
    font-weight: 400;
    letter-spacing: -0.045em;
}

.material-detail-cta p {
    max-width: 560px;
    margin: 0 auto 40px;
    color: rgba(244, 241, 232, 0.7);
    font-size: 17px;
    line-height: 1.7;
}


/* =========================================================
   RESPONSIVE
========================================================= */

@media (max-width: 1000px) {

    .material-detail-hero-grid,
    .material-performance-grid {
        grid-template-columns: 1fr;
        gap: 60px;
    }

    .material-detail-hero-image img,
    .material-performance-image img {
        height: 600px;
    }

    .material-detail-intro-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .characteristics-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .characteristic-item:nth-child(2) {
        border-right: 0;
    }

    .material-structure-heading {
        grid-template-columns: 1fr 1fr;
    }

    .material-structure-heading p {
        grid-column: 2;
    }

    .material-process {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .process-line {
        width: 100%;
    }

    .applications-grid {
        grid-template-columns: 1fr;
    }

    .material-development-grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }
}


@media (max-width: 700px) {

    .material-detail-hero {
        padding: 110px 0 70px;
    }

    .material-detail-hero h1 {
        font-size: 60px;
    }

    .material-detail-hero-image img {
        height: 500px;
    }

    .characteristics-grid {
        grid-template-columns: 1fr;
    }

    .characteristic-item,
    .characteristic-item:nth-child(2) {
        border-right: 0;
        border-bottom: 1px solid rgba(24, 59, 45, 0.25);
    }

    .characteristic-item:last-child {
        border-bottom: 0;
    }

    .material-structure-heading {
        grid-template-columns: 1fr;
    }

    .material-structure-heading p {
        grid-column: auto;
    }

    .material-performance-grid {
        gap: 50px;
    }

    .material-performance-image img {
        height: 500px;
    }

    .related-materials-grid {
        grid-template-columns: 1fr;
    }

    .related-material img {
        height: 500px;
    }

    .material-detail-cta {
        padding: 110px 0;
    }

}


@media (max-width: 420px) {

    .material-detail-hero h1 {
        font-size: 50px;
    }

    .material-detail-lead {
        font-size: 18px;
    }

    .material-detail-meta {
        margin-top: 30px;
    }

    .material-detail-hero-image img,
    .material-performance-image img,
    .related-material img {
        height: 400px;
    }

    .application-feature img {
        height: 450px;
    }

}