/* =========================================================
   SUSTEXIA MATERIALS PAGE
========================================================= */

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

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

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

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

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

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

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

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

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


/* =========================================================
   HERO
========================================================= */

.materials-hero {
    padding: 90px 0 110px;
    background: var(--off-white, #faf9f4);
}

.materials-hero-inner {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 80px;
    align-items: center;
    min-height: 680px;
}

.materials-hero-content {
    padding: 40px 0;
}

.section-eyebrow {
    margin-bottom: 28px;

    font-size: 11px;
    line-height: 1;
    letter-spacing: 0.18em;
    text-transform: uppercase;

    color: #607269;
}

.materials-hero h1 {
    max-width: 720px;
    margin: 0;

    font-size: clamp(58px, 6.3vw, 96px);
    line-height: 0.96;
    font-weight: 400;
    letter-spacing: -0.045em;

    color: #183b2d;
}

.materials-hero-content > p {
    max-width: 430px;
    margin: 42px 0 34px;

    font-size: 17px;
    line-height: 1.75;

    color: #647169;
}

.materials-hero-image {
    position: relative;
    overflow: hidden;

    aspect-ratio: 0.92 / 1;
}

.materials-hero-image img {
    width: 100%;
    height: 100%;

    object-fit: cover;

    display: block;
}


/* =========================================================
   TEXT LINKS
========================================================= */

.text-link {
    display: inline-flex;
    align-items: center;
    gap: 18px;

    padding-bottom: 7px;

    border-bottom: 1px solid currentColor;

    color: #183b2d;

    font-size: 12px;
    line-height: 1;
    letter-spacing: 0.08em;
    text-transform: uppercase;

    transition:
        gap 0.35s ease,
        opacity 0.3s ease;
}

.text-link span {
    font-size: 16px;
    line-height: 0;
}

.text-link:hover {
    gap: 25px;
    opacity: 0.65;
}


/* =========================================================
   MATERIAL INDEX
========================================================= */

.material-index {
    border-top: 1px solid rgba(24, 59, 45, 0.16);
    border-bottom: 1px solid rgba(24, 59, 45, 0.16);

    background: #faf9f4;
}

.material-index-list {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
}

.material-index-list a {
    position: relative;

    display: flex;
    flex-direction: column;
    gap: 14px;

    padding: 24px 20px;

    color: #183b2d;

    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.07em;

    transition: background 0.3s ease;
}

.material-index-list a:not(:last-child) {
    border-right: 1px solid rgba(24, 59, 45, 0.12);
}

.material-index-list a:hover {
    background: #e5ebe4;
}

.material-index-list span {
    font-size: 10px;
    color: #7a877f;
}


/* =========================================================
   INTRODUCTION
========================================================= */

.materials-intro {
    padding: 170px 0;

    background: #e5ebe4;
}

.materials-intro-content {
    max-width: 900px;
}

.materials-intro h2 {
    max-width: 850px;
    margin: 0 0 65px;

    font-size: clamp(48px, 5.5vw, 78px);
    line-height: 1;
    font-weight: 400;
    letter-spacing: -0.04em;

    color: #183b2d;
}

.materials-intro p {
    max-width: 590px;
    margin: 0 0 22px;

    font-size: 17px;
    line-height: 1.75;

    color: #53645b;
}

.materials-intro p:first-of-type {
    font-size: 23px;
    line-height: 1.45;
    color: #183b2d;
}


/* =========================================================
   MATERIAL FAMILIES
========================================================= */

.material-families {
    padding: 150px 0 160px;

    background: #faf9f4;
}

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

.section-heading h2 {
    margin: 0 0 20px;

    font-size: clamp(48px, 5vw, 72px);
    line-height: 1;
    font-weight: 400;
    letter-spacing: -0.04em;

    color: #183b2d;
}

.section-heading > p {
    max-width: 520px;
    margin: 0;

    font-size: 16px;
    line-height: 1.7;

    color: #647169;
}


/* =========================================================
   FEATURE MATERIAL
========================================================= */

.material-feature {
    margin-bottom: 120px;
}

.material-feature-image {
    width: 100%;
    aspect-ratio: 2 / 1;

    overflow: hidden;
}

.material-feature-image img {
    width: 100%;
    height: 100%;

    display: block;
    object-fit: cover;

    transition: transform 0.8s cubic-bezier(.2,.65,.2,1);
}

.material-feature:hover .material-feature-image img {
    transform: scale(1.025);
}

.material-feature-content {
    display: grid;
    grid-template-columns: 100px 1fr 1fr;
    gap: 40px;

    padding-top: 32px;
}

.material-number {
    font-size: 10px;
    line-height: 1.4;
    letter-spacing: 0.08em;
    color: #7a877f;
}

.material-feature h3,
.material-card h3 {
    margin: 0;

    font-size: clamp(36px, 4vw, 58px);
    line-height: 1;
    font-weight: 400;
    letter-spacing: -0.035em;

    color: #183b2d;
}

.material-tagline {
    margin-top: 13px;

    font-size: 13px;
    line-height: 1.5;
    letter-spacing: 0.06em;
    text-transform: uppercase;

    color: #607269;
}

.material-feature-content > p {
    max-width: 450px;
    margin: 4px 0 24px;

    font-size: 15px;
    line-height: 1.75;

    color: #647169;
}

.material-feature-content .text-link {
    grid-column: 2 / -1;
    justify-self: start;
}


/* =========================================================
   MATERIAL GRID
========================================================= */

.material-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;

    margin-bottom: 120px;
}

.material-grid-secondary {
    margin-bottom: 140px;
}

.material-card {
    min-width: 0;
}

.material-card-image {
    aspect-ratio: 1 / 0.85;

    overflow: hidden;
}

.material-card-image img {
    width: 100%;
    height: 100%;

    display: block;
    object-fit: cover;

    transition: transform 0.8s cubic-bezier(.2,.65,.2,1);
}

.material-card:hover .material-card-image img {
    transform: scale(1.025);
}

.material-card-content {
    display: grid;
    grid-template-columns: 65px 1fr;

    padding-top: 26px;
}

.material-card-content .material-number {
    grid-row: 1 / span 4;
}

.material-card h3 {
    font-size: clamp(34px, 3.5vw, 52px);
}

.material-card .material-tagline {
    margin-bottom: 18px;
}

.material-card-content p {
    max-width: 430px;
    margin: 0 0 25px;

    font-size: 14px;
    line-height: 1.75;

    color: #647169;
}

.material-card-content .text-link {
    justify-self: start;
}


/* =========================================================
   SPECIALTY
========================================================= */

.material-specialty {
    position: relative;

    display: grid;
    grid-template-columns: 1.25fr 0.75fr;

    min-height: 620px;

    overflow: hidden;

    background: #183b2d;
}

.material-specialty-image {
    min-height: 620px;
}

.material-specialty-image img {
    width: 100%;
    height: 100%;

    display: block;
    object-fit: cover;
}

.material-specialty-content {
    display: flex;
    flex-direction: column;
    justify-content: center;

    padding: 70px;
}

.material-specialty-content .material-number {
    margin-bottom: 40px;
    color: rgba(244, 241, 232, 0.55);
}

.material-specialty h3 {
    margin: 0 0 35px;

    font-size: clamp(44px, 4.8vw, 72px);
    line-height: 0.98;
    font-weight: 400;
    letter-spacing: -0.04em;

    color: #f4f1e8;
}

.material-specialty p {
    max-width: 380px;
    margin: 0 0 38px;

    font-size: 15px;
    line-height: 1.75;

    color: rgba(244, 241, 232, 0.7);
}

.text-link-light {
    color: #f4f1e8;
}


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

.performance-section {
    padding: 150px 0 170px;

    background: #e5ebe4;
}

.performance-header {
    display: grid;
    grid-template-columns: 1fr 1fr;

    margin-bottom: 95px;
}

.performance-header .section-eyebrow {
    grid-column: 1 / -1;
}

.performance-header h2 {
    margin: 0;

    font-size: clamp(48px, 5vw, 72px);
    line-height: 1;
    font-weight: 400;
    letter-spacing: -0.04em;

    color: #183b2d;
}

.performance-header p {
    align-self: end;

    margin: 0;

    font-size: 22px;
    color: #607269;
}

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

.performance-item {
    display: grid;
    grid-template-columns: 90px 1fr 40px;
    align-items: center;

    min-height: 90px;

    border-bottom: 1px solid rgba(24, 59, 45, 0.25);

    color: #183b2d;

    transition:
        padding 0.35s ease,
        background 0.35s ease;
}

.performance-item:hover {
    padding-left: 18px;
    padding-right: 18px;

    background: rgba(255, 255, 255, 0.28);
}

.performance-number {
    font-size: 10px;
    color: #7a877f;
}

.performance-name {
    font-size: clamp(19px, 2vw, 28px);
    line-height: 1.2;

    text-transform: uppercase;
    letter-spacing: 0.035em;
}

.performance-arrow {
    justify-self: end;

    font-size: 20px;

    transition: transform 0.35s ease;
}

.performance-item:hover .performance-arrow {
    transform: translateX(7px);
}


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

.material-development {
    padding: 160px 0;

    background: #faf9f4;
}

.development-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 100px;
}

.development-title h2 {
    max-width: 650px;
    margin: 0;

    font-size: clamp(46px, 5vw, 72px);
    line-height: 1;
    font-weight: 400;
    letter-spacing: -0.04em;

    color: #183b2d;
}

.development-content {
    padding-top: 45px;
}

.development-lead {
    max-width: 550px;
    margin: 0 0 25px;

    font-size: 23px;
    line-height: 1.45;

    color: #183b2d;
}

.development-content > p:not(.development-lead) {
    max-width: 510px;
    margin: 0 0 60px;

    font-size: 15px;
    line-height: 1.75;

    color: #647169;
}

.development-process {
    margin-bottom: 55px;

    border-top: 1px solid rgba(24, 59, 45, 0.18);
}

.development-process div {
    display: grid;
    grid-template-columns: 50px 1fr;

    padding: 15px 0;

    border-bottom: 1px solid rgba(24, 59, 45, 0.18);

    font-size: 13px;
    letter-spacing: 0.05em;
    text-transform: uppercase;

    color: #183b2d;
}

.development-process span {
    font-size: 10px;
    color: #7a877f;
}


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

.materials-cta {
    padding: 160px 0 180px;

    background: #183b2d;
}

.materials-cta-content {
    max-width: 1000px;
}

.materials-cta .section-eyebrow {
    color: rgba(244, 241, 232, 0.55);
}

.materials-cta h2 {
    margin: 0;

    font-size: clamp(52px, 6vw, 90px);
    line-height: 0.97;
    font-weight: 400;
    letter-spacing: -0.045em;

    color: #f4f1e8;
}

.materials-cta p {
    margin: 35px 0 45px;

    font-size: 21px;
    color: rgba(244, 241, 232, 0.7);
}

.cta-link {
    display: inline-flex;
    align-items: center;
    gap: 20px;

    padding-bottom: 9px;

    border-bottom: 1px solid rgba(244, 241, 232, 0.65);

    font-size: 12px;
    line-height: 1;

    letter-spacing: 0.1em;
    text-transform: uppercase;

    color: #f4f1e8;

    transition:
        gap 0.35s ease,
        opacity 0.3s ease;
}

.cta-link span {
    font-size: 18px;
}

.cta-link:hover {
    gap: 28px;
    opacity: 0.7;
}


/* =========================================================
   FOOTER
========================================================= */

.site-footer {
    background: #102d22;
}


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

@media (max-width: 1000px) {

    .materials-hero-inner {
        grid-template-columns: 1fr;
        gap: 60px;
        min-height: auto;
    }

    .materials-hero-content {
        padding-top: 30px;
    }

    .materials-hero-image {
        aspect-ratio: 1.4 / 1;
    }

    .material-index-list {
        grid-template-columns: repeat(3, 1fr);
    }

    .material-index-list a:nth-child(3) {
        border-right: none;
    }

    .material-index-list a:nth-child(-n + 3) {
        border-bottom: 1px solid rgba(24, 59, 45, 0.12);
    }

    .material-feature-content {
        grid-template-columns: 80px 1fr;
        gap: 25px;
    }

    .material-feature-content > p {
        grid-column: 2;
    }

    .material-feature-content .text-link {
        grid-column: 2;
    }

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

    .material-specialty-image {
        min-height: 450px;
    }

    .material-specialty-content {
        padding: 60px;
    }

    .performance-header {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .performance-header h2 {
        max-width: 700px;
    }

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

    .development-content {
        padding-top: 0;
    }

}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 700px) {

    .materials-hero {
        padding: 55px 0 70px;
    }

    .materials-hero h1 {
        font-size: clamp(48px, 14vw, 68px);
    }

    .materials-hero-content > p {
        margin-top: 30px;
        font-size: 15px;
    }

    .materials-hero-image {
        aspect-ratio: 1 / 1.05;
    }


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

    .material-index-list a {
        padding: 20px 15px;
    }

    .material-index-list a:nth-child(2n) {
        border-right: none;
    }

    .material-index-list a:nth-child(3) {
        border-right: 1px solid rgba(24, 59, 45, 0.12);
    }

    .material-index-list a:nth-child(n + 3) {
        border-bottom: none;
    }

    .material-index-list a:nth-child(-n + 4) {
        border-bottom: 1px solid rgba(24, 59, 45, 0.12);
    }


    .materials-intro {
        padding: 100px 0;
    }

    .materials-intro h2 {
        margin-bottom: 45px;
        font-size: clamp(42px, 12vw, 58px);
    }

    .materials-intro p {
        font-size: 15px;
    }

    .materials-intro p:first-of-type {
        font-size: 20px;
    }


    .material-families {
        padding: 100px 0;
    }

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

    .section-heading h2 {
        font-size: clamp(42px, 12vw, 58px);
    }


    .material-feature {
        margin-bottom: 80px;
    }

    .material-feature-image {
        aspect-ratio: 1 / 0.9;
    }

    .material-feature-content {
        grid-template-columns: 50px 1fr;
        gap: 15px;
    }

    .material-feature h3 {
        font-size: 42px;
    }

    .material-feature-content > p {
        grid-column: 2;
        font-size: 14px;
    }


    .material-grid {
        grid-template-columns: 1fr;
        gap: 75px;
        margin-bottom: 80px;
    }

    .material-grid-secondary {
        margin-bottom: 90px;
    }

    .material-card-content {
        grid-template-columns: 50px 1fr;
        gap: 0;
    }

    .material-card h3 {
        font-size: 42px;
    }


    .material-specialty-image {
        min-height: 330px;
    }

    .material-specialty-content {
        padding: 45px 30px 55px;
    }

    .material-specialty h3 {
        font-size: 48px;
    }


    .performance-section {
        padding: 100px 0;
    }

    .performance-header {
        margin-bottom: 55px;
    }

    .performance-header h2 {
        font-size: 44px;
    }

    .performance-header p {
        font-size: 19px;
    }

    .performance-item {
        grid-template-columns: 45px 1fr 25px;
        min-height: 75px;
    }

    .performance-name {
        font-size: 16px;
    }


    .material-development {
        padding: 100px 0;
    }

    .development-title h2 {
        font-size: 44px;
    }

    .development-lead {
        font-size: 20px;
    }


    .materials-cta {
        padding: 100px 0 120px;
    }

    .materials-cta h2 {
        font-size: 48px;
    }

    .materials-cta p {
        font-size: 19px;
    }

}


/* =========================================================
   SMALL MOBILE
========================================================= */

@media (max-width: 420px) {

    .materials-hero h1 {
        font-size: 46px;
    }

    .material-index-list a {
        font-size: 11px;
    }

    .material-feature h3,
    .material-card h3 {
        font-size: 36px;
    }

    .material-specialty h3 {
        font-size: 42px;
    }

    .performance-header h2,
    .development-title h2 {
        font-size: 40px;
    }

    .materials-cta h2 {
        font-size: 43px;
    }

}