/*
Theme Name: Maple Leaf
Theme URI: https://mapleleaf-plast.com/
Author: Maple Leaf Plastic Industry LLC
Description: A custom, responsive WordPress theme for Maple Leaf Plastic Industry LLC.
Version: 1.0.0
Requires at least: 6.4
Requires PHP: 8.1
Text Domain: maple-leaf
*/

:root {
    --ml-red: #c92026;
    --ml-red-dark: #74151a;
    --ml-wine: #4d1116;
    --ml-ink: #242426;
    --ml-muted: #68676a;
    --ml-line: #e7e3e0;
    --ml-paper: #fffefd;
    --ml-soft: #f5f3f1;
    --ml-pink: #f8eeee;
    --ml-navy: #142c35;
    --ml-gold: #e9bd58;
    --ml-font-body: "DM Sans", Inter, "Segoe UI", sans-serif;
    --ml-font-display: "Manrope", "DM Sans", Inter, sans-serif;
    --ml-container: 1240px;
    --ml-radius: 3px;
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: 100px;
}

body {
    margin: 0;
    background: var(--ml-paper);
    color: var(--ml-ink);
    font-family: var(--ml-font-body);
    font-size: 16px;
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
}

body,
button,
input,
select,
textarea {
    font-family: var(--ml-font-body);
}

img {
    display: block;
    max-width: 100%;
}

a {
    color: inherit;
    text-decoration: none;
}

button,
input,
select,
textarea {
    font: inherit;
}

button,
a,
input,
select,
textarea {
    -webkit-tap-highlight-color: transparent;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
summary:focus-visible {
    outline: 3px solid #e7a927;
    outline-offset: 3px;
}

.site-container {
    width: min(calc(100% - 48px), var(--ml-container));
    margin-inline: auto;
}

.section-pad {
    padding-block: clamp(72px, 9vw, 128px);
}

.screen-reader-text,
.skip-link:not(:focus) {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    clip-path: inset(50%);
    border: 0;
}

.skip-link:focus {
    position: fixed;
    z-index: 1000;
    top: 12px;
    left: 12px;
    padding: 10px 14px;
    background: #fff;
    color: var(--ml-ink);
}

.contact-bar {
    min-height: 40px;
    background: var(--ml-red);
    color: #fff;
    font-size: 12px;
    font-weight: 600;
}

.contact-bar__inner,
.contact-bar__details,
.contact-bar__social {
    display: flex;
    align-items: center;
}

.contact-bar__inner {
    min-height: 40px;
    justify-content: space-between;
    gap: 20px;
}

.contact-bar__details {
    gap: 9px;
}

.contact-bar__email {
    margin-left: 24px;
}

.contact-bar__social {
    gap: 17px;
}

.contact-bar a:hover {
    text-decoration: underline;
    text-underline-offset: 3px;
}

.site-header {
    position: relative;
    z-index: 40;
    background: #fff;
    border-bottom: 1px solid rgba(36, 36, 38, .07);
}

.site-header__inner {
    display: flex;
    min-height: 82px;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.brand {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    width: 218px;
}

.brand img,
.brand .custom-logo {
    width: 100%;
    height: auto;
    max-height: 68px;
    object-fit: contain;
}

.brand .custom-logo-link {
    display: block;
    width: 100%;
}

.primary-navigation {
    display: flex;
    align-items: center;
    gap: 34px;
}

.primary-menu,
.primary-menu ul,
.footer-menu,
.site-footer ul {
    padding: 0;
    margin: 0;
    list-style: none;
}

.primary-menu {
    display: flex;
    align-items: center;
    gap: clamp(20px, 3vw, 42px);
}

.primary-menu a {
    position: relative;
    display: inline-flex;
    min-height: 44px;
    align-items: center;
    color: #353438;
    font-size: 14px;
    font-weight: 700;
    transition: color .18s ease;
}

.primary-menu a::after {
    position: absolute;
    right: 100%;
    bottom: 4px;
    left: 0;
    height: 2px;
    background: var(--ml-red);
    content: "";
    transition: right .18s ease;
}

.primary-menu a:hover,
.primary-menu .current-menu-item > a {
    color: var(--ml-red);
}

.primary-menu a:hover::after,
.primary-menu .current-menu-item > a::after {
    right: 0;
}

.menu-toggle {
    display: none;
}

.button {
    display: inline-flex;
    min-height: 50px;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 13px 21px;
    border: 1px solid transparent;
    border-radius: var(--ml-radius);
    font-size: 14px;
    font-weight: 700;
    line-height: 1.2;
    transition: color .2s ease, background-color .2s ease, border-color .2s ease, transform .2s ease;
}

.button:hover {
    transform: translateY(-2px);
}

.button--small {
    min-height: 43px;
    padding: 11px 17px;
}

.button--red {
    background: var(--ml-red);
    color: #fff;
}

.button--red:hover {
    background: #a91a20;
}

.button--white {
    background: #fff;
    color: var(--ml-red);
}

.button--white:hover {
    background: #f7eceb;
}

.button--outline-light {
    border-color: rgba(255, 255, 255, .65);
    color: #fff;
}

.button--outline-light:hover {
    border-color: #fff;
    background: rgba(255, 255, 255, .1);
}

.button--light {
    background: #fff;
    color: var(--ml-red);
}

.eyebrow {
    margin: 0;
    color: var(--ml-red);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .13em;
    line-height: 1.4;
    text-transform: uppercase;
}

.eyebrow--light {
    color: #ffd9a2;
}

.section-title {
    max-width: 820px;
    margin: 15px 0 0;
    font-family: var(--ml-font-display);
    font-size: clamp(36px, 5.1vw, 68px);
    font-weight: 800;
    letter-spacing: -.06em;
    line-height: .99;
}

.lead {
    font-size: clamp(20px, 2vw, 26px);
    font-weight: 500;
    letter-spacing: -.025em;
    line-height: 1.4;
}

.text-link {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    color: var(--ml-red);
    font-size: 14px;
    font-weight: 800;
    transition: gap .18s ease;
}

.text-link:hover {
    gap: 14px;
}

.home-hero {
    position: relative;
    overflow: hidden;
    min-height: 660px;
    padding-top: clamp(56px, 7vw, 88px);
    background:
        radial-gradient(ellipse at 50% 5%, rgba(218, 52, 47, .84), transparent 53%),
        linear-gradient(125deg, #5a1015 0%, #8c171d 48%, #4a1014 100%);
    color: #fff;
}

.home-hero__texture {
    position: absolute;
    inset: 0;
    pointer-events: none;
    opacity: .13;
    background-image:
        linear-gradient(90deg, transparent 49.8%, rgba(255, 255, 255, .2) 50%, transparent 50.2%),
        repeating-linear-gradient(0deg, transparent 0 68px, rgba(255, 255, 255, .12) 69px, transparent 70px);
    background-size: 210px 100%, 100% 70px;
}

.home-hero__content {
    position: relative;
    z-index: 1;
    text-align: center;
}

.hero-eyebrow {
    display: inline-block;
    margin: 0;
    padding: 5px 13px;
    border: 1px solid rgba(255, 255, 255, .24);
    border-radius: 2px;
    color: #ffe5cc;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .16em;
}

.home-hero h1 {
    max-width: 1030px;
    margin: 22px auto 0;
    font-family: var(--ml-font-display);
    font-size: clamp(48px, 7.1vw, 88px);
    font-weight: 800;
    letter-spacing: -.072em;
    line-height: .98;
    text-wrap: balance;
}

.home-hero__copy {
    max-width: 640px;
    margin: 22px auto 0;
    color: rgba(255, 255, 255, .86);
    font-size: clamp(16px, 1.5vw, 19px);
    line-height: 1.7;
}

.home-hero__actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    margin-top: 27px;
}

.hero-gallery {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1.12fr .9fr .9fr 1.12fr;
    gap: 13px;
    margin-top: 54px;
}

.hero-gallery__item {
    height: clamp(130px, 18vw, 210px);
    padding: 5px;
    margin: 0;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, .2);
    border-radius: 10px;
    background: rgba(255, 255, 255, .09);
    box-shadow: 0 14px 30px rgba(25, 3, 6, .17);
}

.hero-gallery__item:nth-child(2),
.hero-gallery__item:nth-child(3) {
    transform: translateY(16px);
}

.hero-gallery__item img {
    width: 100%;
    height: 100%;
    border-radius: 6px;
    object-fit: cover;
}

.home-hero__scroll {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding-block: 28px 24px;
    color: rgba(255, 255, 255, .66);
    font-size: 11px;
    letter-spacing: .09em;
    text-transform: uppercase;
}

.scroll-line {
    width: 48px;
    height: 1px;
    background: rgba(255, 255, 255, .5);
}

.home-intro {
    background: #fff;
}

.home-intro__grid {
    display: grid;
    grid-template-columns: .64fr 1.36fr;
    gap: 50px;
}

.section-label-block {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding-top: 9px;
}

.section-number {
    color: var(--ml-red);
    font-family: var(--ml-font-display);
    font-size: 13px;
    font-weight: 800;
}

.home-intro .section-title {
    max-width: 640px;
}

.home-intro__body {
    display: grid;
    grid-template-columns: 1fr .8fr;
    align-items: end;
    gap: 32px;
    margin-top: 28px;
}

.home-intro__body p {
    margin: 0;
    color: var(--ml-muted);
}

.home-intro__body .lead {
    color: var(--ml-ink);
}

.home-intro__body .text-link {
    grid-column: 2;
    justify-self: start;
    margin-top: 4px;
}

.home-products {
    background: var(--ml-soft);
}

.section-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 40px;
}

.section-heading__link {
    flex: 0 0 auto;
    margin-bottom: 6px;
}

.section-heading__aside {
    max-width: 340px;
    margin: 0 0 4px;
    color: rgba(255, 255, 255, .76);
}

.family-tabs {
    display: flex;
    gap: 8px;
    margin-top: 42px;
    overflow-x: auto;
    border-bottom: 1px solid var(--ml-line);
    scrollbar-width: thin;
}

.family-tab {
    display: inline-flex;
    min-height: 47px;
    flex: 0 0 auto;
    align-items: center;
    padding: 0 19px;
    border-bottom: 2px solid transparent;
    color: var(--ml-muted);
    font-size: 14px;
    font-weight: 700;
}

.family-tab:hover,
.family-tab.is-active {
    border-color: var(--ml-red);
    color: var(--ml-red);
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
    margin-top: 28px;
}

.product-card {
    min-width: 0;
    overflow: hidden;
    border: 1px solid #e9e5e2;
    background: #fff;
    transition: box-shadow .2s ease, transform .2s ease;
}

.product-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 36px rgba(43, 34, 31, .1);
}

.product-card__image {
    position: relative;
    display: block;
    height: clamp(190px, 24vw, 300px);
    overflow: hidden;
    background: #ebe8e5;
}

.product-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .35s ease;
}

.product-card:hover .product-card__image img {
    transform: scale(1.025);
}

.product-card__family {
    position: absolute;
    bottom: 13px;
    left: 13px;
    padding: 6px 10px;
    background: #fff;
    color: var(--ml-red);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.product-card__body {
    padding: 21px 22px 23px;
}

.product-card__heading {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
}

.product-card__heading h3 {
    margin: 7px 0 0;
    font-family: var(--ml-font-display);
    font-size: 22px;
    font-weight: 800;
    letter-spacing: -.04em;
    line-height: 1.15;
}

.product-card__heading h3 a:hover {
    color: var(--ml-red);
}

.round-link {
    display: grid;
    width: 36px;
    height: 36px;
    flex: 0 0 auto;
    place-items: center;
    border: 1px solid var(--ml-line);
    border-radius: 50%;
    color: var(--ml-red);
    font-size: 17px;
}

.round-link:hover {
    border-color: var(--ml-red);
}

.product-card__summary {
    min-height: 49px;
    margin: 14px 0 0;
    color: var(--ml-muted);
    font-size: 14px;
    line-height: 1.6;
}

.product-card__applications {
    padding-top: 13px;
    margin: 15px 0 0;
    border-top: 1px solid var(--ml-line);
    color: #5e5c5d;
    font-size: 11px;
    font-weight: 700;
    line-height: 1.5;
}

.empty-catalogue {
    padding: 44px 0;
    color: var(--ml-muted);
}

.home-story {
    background: #fff;
}

.home-story__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: clamp(48px, 8vw, 112px);
}

.home-story__image {
    position: relative;
    min-height: 440px;
    background: #e9e5e1;
}

.home-story__image img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.image-caption {
    position: absolute;
    bottom: 17px;
    left: 17px;
    padding: 7px 11px;
    background: rgba(24, 35, 38, .82);
    color: #fff;
    font-size: 10px;
    letter-spacing: .05em;
}

.home-story__copy h2 {
    max-width: 560px;
    margin: 15px 0 20px;
    font-family: var(--ml-font-display);
    font-size: clamp(38px, 5vw, 64px);
    font-weight: 800;
    letter-spacing: -.065em;
    line-height: .98;
}

.home-story__copy > p:not(.eyebrow) {
    max-width: 520px;
    margin: 0 0 26px;
    color: var(--ml-muted);
    line-height: 1.8;
}

.home-industries {
    background: var(--ml-navy);
    color: #fff;
}

.section-heading--light .section-title {
    max-width: 720px;
}

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

.industry-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 13px;
    margin-top: 43px;
}

.industry-tile {
    position: relative;
    display: flex;
    min-height: 370px;
    flex-direction: column;
    justify-content: space-between;
    overflow: hidden;
    padding: 19px;
    background: #213e49;
}

.industry-tile::after {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(9, 22, 28, .08) 0%, rgba(9, 22, 28, .2) 28%, rgba(9, 22, 28, .9) 100%);
    content: "";
    transition: opacity .22s ease;
}

.industry-tile > img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: .7;
    transition: transform .35s ease, opacity .35s ease;
}

.industry-tile:hover > img {
    transform: scale(1.04);
    opacity: .85;
}

.industry-tile__number,
.industry-tile__content,
.industry-tile__arrow {
    position: relative;
    z-index: 1;
}

.industry-tile__number {
    display: inline-flex;
    width: 36px;
    height: 36px;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, .55);
    border-radius: 50%;
    font-size: 11px;
    font-weight: 700;
}

.industry-tile__content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 11px;
}

.industry-tile__title {
    font-family: var(--ml-font-display);
    font-size: clamp(19px, 2vw, 25px);
    font-weight: 800;
    letter-spacing: -.04em;
    line-height: 1.15;
}

.industry-tile__copy {
    color: rgba(255, 255, 255, .78);
    font-size: 13px;
    line-height: 1.55;
}

.industry-tile__products {
    padding-top: 10px;
    border-top: 1px solid rgba(255, 255, 255, .3);
    color: #ffe1b0;
    font-size: 10px;
    font-weight: 700;
    line-height: 1.55;
}

.industry-tile__arrow {
    position: absolute;
    top: 23px;
    right: 23px;
    font-size: 20px;
}

.home-benefits {
    background: #fff;
}

.benefit-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    border: 1px solid var(--ml-line);
    margin-top: 42px;
}

.benefit-card {
    position: relative;
    min-height: 270px;
    padding: 27px 25px 24px;
}

.benefit-card + .benefit-card {
    border-left: 1px solid var(--ml-line);
}

.benefit-card__number {
    color: var(--ml-red);
    font-family: var(--ml-font-display);
    font-size: 13px;
    font-weight: 800;
}

.benefit-card img {
    width: 42px;
    height: 42px;
    margin-top: 24px;
    object-fit: contain;
}

.benefit-card h3 {
    margin: 19px 0 7px;
    font-family: var(--ml-font-display);
    font-size: 17px;
    font-weight: 800;
    letter-spacing: -.025em;
    line-height: 1.3;
}

.benefit-card p {
    margin: 0;
    color: var(--ml-muted);
    font-size: 13px;
    line-height: 1.65;
}

.home-stats {
    padding-block: 39px;
    background: #18191b;
    color: #fff;
}

.home-stats__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
}

.home-stats__grid > div {
    padding: 6px 24px;
    text-align: center;
}

.home-stats__grid > div + div {
    border-left: 1px solid rgba(255, 255, 255, .18);
}

.home-stats strong {
    color: #fff;
    font-family: var(--ml-font-display);
    font-size: clamp(35px, 5vw, 57px);
    font-weight: 800;
    letter-spacing: -.065em;
    line-height: 1;
}

.home-stats strong span {
    color: var(--ml-red);
}

.home-stats p {
    margin: 9px 0 0;
    color: rgba(255, 255, 255, .68);
    font-size: 12px;
    font-weight: 600;
}

.home-faq {
    background: var(--ml-soft);
}

.home-faq__grid {
    display: grid;
    grid-template-columns: .78fr 1.22fr;
    gap: clamp(50px, 9vw, 120px);
}

.home-faq .section-title {
    font-size: clamp(37px, 4.5vw, 58px);
}

.home-faq__intro {
    max-width: 390px;
    margin: 22px 0 22px;
    color: var(--ml-muted);
}

.faq-list {
    border-top: 1px solid #d8d2cf;
}

.faq-item {
    border-bottom: 1px solid #d8d2cf;
}

.faq-item summary {
    display: flex;
    min-height: 72px;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    cursor: pointer;
    font-size: 15px;
    font-weight: 700;
    list-style: none;
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-item summary span {
    display: grid;
    width: 28px;
    height: 28px;
    flex: 0 0 auto;
    place-items: center;
    border: 1px solid #c8c1be;
    border-radius: 50%;
    color: var(--ml-red);
    font-size: 18px;
    font-weight: 400;
    transition: transform .2s ease;
}

.faq-item[open] summary span {
    transform: rotate(45deg);
}

.faq-item__answer {
    max-width: 680px;
    padding: 0 36px 20px 0;
    color: var(--ml-muted);
    font-size: 14px;
    line-height: 1.7;
}

.faq-item__answer p {
    margin: 0;
}

.cta-panel {
    position: relative;
    overflow: hidden;
    padding-block: clamp(54px, 7vw, 82px);
    background:
        radial-gradient(ellipse at 82% 0%, rgba(236, 68, 59, .88), transparent 43%),
        linear-gradient(115deg, #6d1218, #a71c23 58%, #691118);
    color: #fff;
}

.cta-panel::after {
    position: absolute;
    top: -180px;
    right: 7%;
    width: 450px;
    height: 450px;
    border: 1px solid rgba(255, 255, 255, .19);
    border-radius: 50%;
    box-shadow: 0 0 0 38px rgba(255, 255, 255, .035), 0 0 0 85px rgba(255, 255, 255, .025);
    content: "";
}

.cta-panel__inner {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 50px;
}

.cta-panel h2 {
    max-width: 700px;
    margin: 13px 0 11px;
    font-family: var(--ml-font-display);
    font-size: clamp(34px, 5.3vw, 66px);
    font-weight: 800;
    letter-spacing: -.065em;
    line-height: .98;
}

.cta-panel p:not(.eyebrow) {
    max-width: 620px;
    margin: 0;
    color: rgba(255, 255, 255, .78);
}

.cta-panel .button {
    flex: 0 0 auto;
}

.site-footer {
    background: #171b1d;
    color: #fff;
}

.site-footer__main {
    display: grid;
    grid-template-columns: 1.35fr .72fr .9fr 1.12fr;
    gap: clamp(32px, 5vw, 75px);
    padding-block: 70px 66px;
}

.brand--footer {
    width: 200px;
    padding: 9px;
    background: #fff;
}

.site-footer__brand > p {
    max-width: 335px;
    margin: 21px 0 0;
    color: rgba(255, 255, 255, .68);
    font-size: 14px;
    line-height: 1.7;
}

.footer-cta {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    margin-top: 20px;
    color: #fff;
    font-size: 13px;
    font-weight: 700;
}

.footer-cta span,
.site-footer__column a:hover {
    color: #ffc963;
}

.site-footer__column h2 {
    margin: 3px 0 19px;
    color: #ffc963;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.site-footer__column li + li {
    margin-top: 11px;
}

.site-footer__column li a,
.site-footer__contact > a {
    color: rgba(255, 255, 255, .72);
    font-size: 13px;
    transition: color .16s ease;
}

.site-footer__contact p {
    margin: 0 0 13px;
    color: rgba(255, 255, 255, .72);
    font-size: 13px;
    line-height: 1.65;
}

.site-footer__contact p strong {
    color: #fff;
}

.site-footer__contact > a {
    display: block;
    margin-top: 9px;
}

.site-footer__bottom {
    border-top: 1px solid rgba(255, 255, 255, .12);
}

.site-footer__bottom-inner {
    display: flex;
    min-height: 56px;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    color: rgba(255, 255, 255, .52);
    font-size: 11px;
}

.site-footer__bottom a {
    color: rgba(255, 255, 255, .76);
}

/* Interior pages */
.page-hero {
    position: relative;
    overflow: hidden;
    padding-block: clamp(70px, 9vw, 116px);
    background:
        radial-gradient(ellipse at 55% 8%, rgba(205, 46, 42, .7), transparent 52%),
        linear-gradient(125deg, #5a1015, #85171d 52%, #4a1014);
    color: #fff;
}

.page-hero__inner {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1.15fr .85fr;
    align-items: end;
    gap: 60px;
}

.page-hero h1 {
    max-width: 800px;
    margin: 15px 0 0;
    font-family: var(--ml-font-display);
    font-size: clamp(44px, 7vw, 82px);
    font-weight: 800;
    letter-spacing: -.07em;
    line-height: .97;
}

.page-hero__copy {
    max-width: 440px;
    margin: 0;
    color: rgba(255, 255, 255, .8);
    font-size: 17px;
    line-height: 1.75;
}

.catalogue {
    padding-block: 68px 110px;
    background: var(--ml-soft);
}

.catalogue__intro {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 30px;
    padding-bottom: 25px;
    border-bottom: 1px solid var(--ml-line);
}

.catalogue__intro p {
    max-width: 450px;
    margin: 0;
    color: var(--ml-muted);
}

.catalogue .product-grid {
    margin-top: 27px;
}

.catalogue .pagination {
    margin-top: 36px;
}

.catalogue .nav-links {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.catalogue .page-numbers {
    display: inline-flex;
    min-width: 40px;
    min-height: 40px;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--ml-line);
    background: #fff;
    font-weight: 700;
}

.catalogue .page-numbers.current,
.catalogue .page-numbers:hover {
    border-color: var(--ml-red);
    background: var(--ml-red);
    color: #fff;
}

.product-hero {
    padding-block: 54px 72px;
    background: var(--ml-soft);
}

.breadcrumb {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    color: var(--ml-muted);
    font-size: 12px;
}

.breadcrumb a:hover {
    color: var(--ml-red);
}

.product-hero__grid {
    display: grid;
    grid-template-columns: 1.05fr .95fr;
    align-items: center;
    gap: clamp(35px, 7vw, 90px);
    margin-top: 39px;
}

.product-hero__copy h1 {
    max-width: 660px;
    margin: 12px 0 20px;
    font-family: var(--ml-font-display);
    font-size: clamp(46px, 7vw, 84px);
    font-weight: 800;
    letter-spacing: -.075em;
    line-height: .94;
}

.product-hero__copy > p:not(.eyebrow) {
    max-width: 570px;
    color: var(--ml-muted);
    font-size: 17px;
    line-height: 1.75;
}

.product-hero__image {
    min-height: 380px;
    background: #e8e3df;
}

.product-hero__image img {
    width: 100%;
    height: 100%;
    min-height: 380px;
    object-fit: cover;
}

.product-details {
    padding-block: 76px 98px;
}

.product-details__grid {
    display: grid;
    grid-template-columns: .78fr 1.22fr;
    gap: clamp(45px, 8vw, 108px);
}

.product-details h2,
.interior-section h2 {
    margin: 11px 0 18px;
    font-family: var(--ml-font-display);
    font-size: clamp(32px, 4.1vw, 52px);
    font-weight: 800;
    letter-spacing: -.06em;
    line-height: 1;
}

.product-details__intro {
    color: var(--ml-muted);
    line-height: 1.75;
}

.application-list {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
    padding: 0;
    margin: 27px 0 0;
    list-style: none;
}

.application-list li {
    padding: 9px 13px;
    border: 1px solid var(--ml-line);
    background: #fff;
    font-size: 12px;
    font-weight: 700;
}

.product-facts {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    border: 1px solid var(--ml-line);
}

.product-facts > div {
    padding: 18px;
}

.product-facts > div + div {
    border-left: 1px solid var(--ml-line);
}

.product-facts dt {
    color: var(--ml-muted);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .1em;
    text-transform: uppercase;
}

.product-facts dd {
    margin: 8px 0 0;
    font-size: 14px;
    font-weight: 700;
}

.specification-block {
    margin-top: 36px;
}

.specification-block h3 {
    margin: 0 0 14px;
    font-family: var(--ml-font-display);
    font-size: 22px;
    letter-spacing: -.04em;
}

.specification-table {
    width: 100%;
    border-collapse: collapse;
}

.specification-table th,
.specification-table td {
    padding: 12px 14px;
    border-bottom: 1px solid var(--ml-line);
    text-align: left;
    vertical-align: top;
    font-size: 13px;
}

.specification-table th {
    width: 38%;
    color: var(--ml-muted);
    font-weight: 700;
}

.specification-note {
    padding: 17px;
    background: var(--ml-soft);
    color: var(--ml-muted);
    font-size: 13px;
    line-height: 1.65;
}

.related-products {
    padding-block: 75px 95px;
    background: var(--ml-soft);
}

.related-products .product-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.interior-section {
    padding-block: clamp(64px, 8vw, 105px);
}

.interior-section--soft {
    background: var(--ml-soft);
}

.interior-section--dark {
    background: var(--ml-navy);
    color: #fff;
}

.interior-section__grid {
    display: grid;
    grid-template-columns: .8fr 1.2fr;
    gap: clamp(45px, 8vw, 108px);
}

.interior-section__body {
    max-width: 720px;
    color: var(--ml-muted);
}

.interior-section--dark .interior-section__body {
    color: rgba(255, 255, 255, .74);
}

.interior-section__body p {
    margin: 0 0 18px;
}

.milestone-row {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    border-top: 1px solid var(--ml-line);
    margin-top: 40px;
}

.milestone {
    padding: 21px 18px 0 0;
}

.milestone + .milestone {
    border-left: 1px solid var(--ml-line);
    padding-left: 18px;
}

.milestone strong {
    display: block;
    color: var(--ml-red);
    font-family: var(--ml-font-display);
    font-size: 29px;
    letter-spacing: -.06em;
}

.milestone span {
    color: var(--ml-muted);
    font-size: 12px;
    line-height: 1.5;
}

.capability-grid,
.industry-page-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    margin-top: 32px;
}

.capability-card {
    padding: 24px;
    background: #f6f3f1;
}

.capability-card h3 {
    margin: 0 0 7px;
    font-family: var(--ml-font-display);
    font-size: 18px;
    font-weight: 800;
}

.capability-card p {
    margin: 0;
    color: var(--ml-muted);
    font-size: 13px;
    line-height: 1.65;
}

.industry-page-card {
    display: flex;
    min-height: 295px;
    flex-direction: column;
    justify-content: end;
    padding: 27px;
    background: #f2efec;
}

.industry-page-card:nth-child(2n) {
    background: #e6e7e2;
}

.industry-page-card .eyebrow {
    margin-bottom: 13px;
}

.industry-page-card h2 {
    margin: 0;
    font-size: clamp(27px, 3vw, 38px);
}

.industry-page-card p {
    max-width: 420px;
    margin: 13px 0;
    color: var(--ml-muted);
}

.industry-page-card strong {
    font-size: 12px;
}

.quote-layout {
    display: grid;
    grid-template-columns: .68fr 1.32fr;
    align-items: start;
    gap: clamp(36px, 7vw, 90px);
    padding-block: 68px 100px;
}

.quote-aside h2 {
    margin: 12px 0 22px;
    font-family: var(--ml-font-display);
    font-size: clamp(34px, 4vw, 51px);
    font-weight: 800;
    letter-spacing: -.065em;
    line-height: 1;
}

.quote-aside__list {
    padding: 0;
    margin: 28px 0;
    list-style: none;
}

.quote-aside__list li {
    display: flex;
    gap: 14px;
    padding: 15px 0;
    border-top: 1px solid var(--ml-line);
    font-size: 14px;
}

.quote-aside__list span {
    color: var(--ml-red);
    font-size: 11px;
    font-weight: 800;
}

.quote-contact {
    padding-top: 18px;
    border-top: 1px solid var(--ml-line);
    color: var(--ml-muted);
    font-size: 13px;
}

.quote-contact p {
    margin: 10px 0;
}

.quote-form-card {
    padding: clamp(24px, 4vw, 46px);
    border: 1px solid var(--ml-line);
    background: #fff;
    box-shadow: 0 14px 42px rgba(34, 26, 24, .07);
}

.quote-form-card h2 {
    margin: 8px 0 22px;
    font-family: var(--ml-font-display);
    font-size: clamp(31px, 4vw, 47px);
    font-weight: 800;
    letter-spacing: -.06em;
    line-height: 1;
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 17px;
}

.form-field {
    display: flex;
    flex-direction: column;
    gap: 7px;
    color: #353438;
    font-size: 13px;
    font-weight: 700;
}

.form-field--full {
    grid-column: 1 / -1;
}

.form-field input,
.form-field select,
.form-field textarea {
    width: 100%;
    min-height: 47px;
    padding: 11px 13px;
    border: 1px solid #d7d1ce;
    border-radius: 2px;
    background: #fff;
    color: var(--ml-ink);
    font-size: 14px;
    font-weight: 400;
}

.form-field textarea {
    min-height: 114px;
    resize: vertical;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
    border-color: var(--ml-red);
    outline: 2px solid rgba(201, 32, 38, .12);
}

.form-consent {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    color: var(--ml-muted);
    font-size: 12px;
    line-height: 1.5;
}

.form-consent input {
    margin-top: 4px;
}

.form-status {
    padding: 13px 16px;
    margin-bottom: 20px;
    background: #edf6ed;
    color: #28532b;
    font-size: 14px;
}

.form-status--error {
    background: #fff0ee;
    color: #8b1818;
}

.form-honeypot {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
    clip: rect(1px, 1px, 1px, 1px) !important;
}

.page-content {
    padding-block: 54px 100px;
}

.page-content > .site-container {
    max-width: 900px;
}

.page-content h1,
.page-content h2,
.page-content h3 {
    font-family: var(--ml-font-display);
    letter-spacing: -.05em;
    line-height: 1.1;
}

.page-content h1 {
    font-size: clamp(38px, 5vw, 62px);
}

.page-content p,
.page-content li {
    color: var(--ml-muted);
    line-height: 1.8;
}

.not-found {
    padding-block: 120px;
    text-align: center;
}

.not-found h1 {
    margin: 0;
    font-family: var(--ml-font-display);
    font-size: clamp(42px, 7vw, 74px);
    letter-spacing: -.07em;
    line-height: 1;
}

.not-found p {
    margin: 20px 0 30px;
    color: var(--ml-muted);
}

@media (max-width: 980px) {
    .primary-navigation {
        gap: 18px;
    }

    .product-grid,
    .related-products .product-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

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

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

    .benefit-card:nth-child(3) {
        border-left: 0;
        border-top: 1px solid var(--ml-line);
    }

    .benefit-card:nth-child(4) {
        border-top: 1px solid var(--ml-line);
    }

    .site-footer__main {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 760px) {
    .site-container {
        width: min(calc(100% - 36px), var(--ml-container));
    }

    .contact-bar__inner {
        justify-content: center;
    }

    .contact-bar__details {
        flex-wrap: wrap;
        justify-content: center;
        gap: 5px 8px;
    }

    .contact-bar__email,
    .contact-bar__social {
        display: none;
    }

    .site-header__inner {
        min-height: 72px;
    }

    .brand {
        width: 185px;
    }

    .menu-toggle {
        display: inline-flex;
        width: 44px;
        height: 44px;
        align-items: center;
        justify-content: center;
        border: 1px solid var(--ml-line);
        border-radius: 2px;
        background: #fff;
        color: var(--ml-ink);
        cursor: pointer;
    }

    .menu-toggle__icon,
    .menu-toggle__icon::before,
    .menu-toggle__icon::after {
        display: block;
        width: 18px;
        height: 2px;
        background: currentColor;
        content: "";
        transition: transform .18s ease;
    }

    .menu-toggle__icon {
        position: relative;
    }

    .menu-toggle__icon::before {
        position: absolute;
        top: -6px;
        left: 0;
    }

    .menu-toggle__icon::after {
        position: absolute;
        top: 6px;
        left: 0;
    }

    .site-header.is-open .menu-toggle__icon {
        background: transparent;
    }

    .site-header.is-open .menu-toggle__icon::before {
        top: 0;
        transform: rotate(45deg);
    }

    .site-header.is-open .menu-toggle__icon::after {
        top: 0;
        transform: rotate(-45deg);
    }

    .primary-navigation {
        position: absolute;
        top: 100%;
        right: 0;
        left: 0;
        display: none;
        align-items: stretch;
        padding: 13px 18px 22px;
        border-top: 1px solid var(--ml-line);
        background: #fff;
        box-shadow: 0 12px 22px rgba(23, 22, 21, .1);
    }

    html:not(.has-js) .menu-toggle {
        display: none;
    }

    html:not(.has-js) .primary-navigation {
        position: static;
        display: flex;
        flex-direction: column;
        align-items: stretch;
        padding: 13px 18px 22px;
        border-top: 1px solid var(--ml-line);
        box-shadow: none;
    }

    .site-header.is-open .primary-navigation {
        display: flex;
        flex-direction: column;
        gap: 10px;
    }

    .primary-menu {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
    }

    .primary-menu li + li {
        border-top: 1px solid var(--ml-line);
    }

    .primary-menu a {
        width: 100%;
        min-height: 48px;
    }

    .primary-menu a::after {
        content: none;
    }

    .nav-quote {
        width: 100%;
    }

    .home-hero {
        min-height: 0;
        padding-top: 57px;
    }

    .home-hero h1 {
        max-width: 620px;
        font-size: clamp(42px, 11vw, 66px);
    }

    .home-hero__copy {
        max-width: 540px;
    }

    .hero-gallery {
        grid-template-columns: repeat(2, 1fr);
        gap: 9px;
        margin-top: 36px;
    }

    .hero-gallery__item {
        height: 156px;
    }

    .hero-gallery__item:nth-child(2),
    .hero-gallery__item:nth-child(3) {
        transform: none;
    }

    .home-hero__scroll {
        padding-block: 23px 19px;
    }

    .home-intro__grid,
    .home-story__grid,
    .home-faq__grid,
    .page-hero__inner,
    .product-hero__grid,
    .product-details__grid,
    .interior-section__grid,
    .quote-layout {
        grid-template-columns: 1fr;
    }

    .home-intro__grid {
        gap: 23px;
    }

    .home-intro__body {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .home-intro__body .text-link {
        grid-column: 1;
    }

    .section-heading {
        align-items: flex-start;
        flex-direction: column;
        gap: 18px;
    }

    .section-heading__link {
        margin-bottom: 0;
    }

    .family-tabs {
        margin-top: 28px;
    }

    .home-story__grid {
        gap: 33px;
    }

    .home-story__image {
        min-height: min(82vw, 420px);
    }

    .home-story__copy h2 {
        font-size: clamp(38px, 10vw, 58px);
    }

    .home-faq__grid {
        gap: 35px;
    }

    .cta-panel__inner {
        align-items: flex-start;
        flex-direction: column;
        gap: 24px;
    }

    .cta-panel::after {
        right: -230px;
    }

    .site-footer__main {
        grid-template-columns: 1fr 1fr;
        gap: 36px 22px;
        padding-block: 50px;
    }

    .site-footer__brand {
        grid-column: 1 / -1;
    }

    .site-footer__bottom-inner {
        align-items: flex-start;
        flex-direction: column;
        justify-content: center;
        padding-block: 14px;
    }

    .page-hero__inner {
        gap: 22px;
    }

    .page-hero h1 {
        max-width: 660px;
    }

    .catalogue__intro {
        align-items: flex-start;
        flex-direction: column;
        gap: 16px;
    }

    .product-hero__grid {
        gap: 30px;
    }

    .product-hero__image,
    .product-hero__image img {
        min-height: 280px;
    }

    .product-facts {
        grid-template-columns: 1fr;
    }

    .product-facts > div + div {
        border-top: 1px solid var(--ml-line);
        border-left: 0;
    }

    .milestone-row {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 18px 0;
    }

    .milestone:nth-child(3) {
        border-left: 0;
        padding-left: 0;
    }

    .quote-layout {
        gap: 34px;
    }
}

@media (max-width: 540px) {
    .site-container {
        width: min(calc(100% - 30px), var(--ml-container));
    }

    .contact-bar {
        font-size: 11px;
    }

    .home-hero {
        padding-top: 44px;
    }

    .home-hero h1 {
        font-size: clamp(38px, 11vw, 54px);
    }

    .hero-eyebrow {
        font-size: 9px;
    }

    .home-hero__actions {
        flex-direction: column;
    }

    .home-hero__actions .button {
        width: 100%;
    }

    .hero-gallery__item {
        height: 126px;
        padding: 3px;
    }

    .product-grid,
    .related-products .product-grid,
    .industry-grid,
    .benefit-grid,
    .capability-grid,
    .industry-page-grid {
        grid-template-columns: 1fr;
    }

    .product-card__image {
        height: 240px;
    }

    .benefit-card + .benefit-card,
    .benefit-card:nth-child(3),
    .benefit-card:nth-child(4) {
        border-top: 1px solid var(--ml-line);
        border-left: 0;
    }

    .benefit-card {
        min-height: 0;
    }

    .home-stats__grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px 0;
    }

    .home-stats__grid > div:nth-child(3) {
        border-left: 0;
    }

    .industry-tile {
        min-height: 330px;
    }

    .site-footer__main {
        grid-template-columns: 1fr;
    }

    .site-footer__brand {
        grid-column: auto;
    }

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

    .form-field--full {
        grid-column: auto;
    }

    .quote-form-card {
        padding: 22px 17px;
    }

    .milestone-row {
        grid-template-columns: 1fr 1fr;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .01ms !important;
    }
}
