/* ========================================
   MATTEROFPLAY
   Base
======================================== */

@font-face {
    font-family: "F37 Raine";
    src: url("../fonts/F37Raine-VF.ttf") format("truetype");
    font-weight: 100 900;
    font-style: normal;
}

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

html,
body {
    width: 100%;
    min-height: 100%;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    background: #111;
}


/* ========================================
   HOME
======================================== */

.home {
    position: relative;

    width: 100%;
    height: 100vh;
    min-height: 650px;

    overflow: hidden;

    color: #cd4d81;
}


/* ========================================
   BACKGROUND
======================================== */

.home__background {
    position: absolute;
    inset: 0;

    display: grid;

    grid-template-columns:
        35.5%
        33%
        31.5%;

    z-index: 1;
}


.home__image {
    width: 100%;
    height: 100%;

    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}


/* MATERIALS — LEFT */

.home__image--materials {
    background-image: url("../images/home-materials.jpg");
}

/* ABOUT — CENTER */

.home__image--projects {
    background-image:
        linear-gradient(
            to bottom,
            rgba(0, 0, 0, 0.35) 0%,
            rgba(0, 0, 0, 0.12) 35%,
            rgba(0, 0, 0, 0) 60%
        ),
        url("../images/home-about.jpg");
}

/* OFFER AN ELEMENT — RIGHT */

.home__image--stock {
    background-image: url("../images/home-offer.jpg");
}


/* ========================================
   BRAND
======================================== */

.home__brand {
    position: absolute;
    top: 14%;
    left: 6.5%;
    right: 6.5%;
    z-index: 10;
}

.home__logo {
    margin: 0;

    font-family: "F37 Raine", Arial, Helvetica, sans-serif;
    font-size: 6.8vw;
    font-weight: 900;
    line-height: 0.9;
    letter-spacing: 0;

    color: #ffff00;

    white-space: nowrap;
}


/* ========================================
   NAVIGATION
======================================== */

.home__navigation {
    position: absolute;

    left: 6.5%;
    right: 3%;
    bottom: 6%;

    height: 52px;

    display: grid;
    grid-template-columns: repeat(3, 1fr);

    align-items: center;

    z-index: 10;
}


.home__nav-item {
    position: relative;

    display: flex;
    align-items: center;
    justify-content: center;

    height: 100%;

    color: #ffff00;

   font-size: clamp(15px, 1.35vw, 23px);
font-weight: 700;

    text-decoration: none;

    white-space: nowrap;

    transition:
        opacity 180ms ease,
        transform 180ms ease;
}


/* vertical separators */

.home__nav-item:not(:last-child)::after {
    content: "";

    position: absolute;

    right: 0;
    top: 5%;

    width: 1px;
    height: 90%;

    background: currentColor;
}


/* hover */

.home__nav-item:hover {
    opacity: 0.65;
    transform: translateY(-2px);
}


/* ========================================
   MOBILE — first basic version
======================================== */

@media (max-width: 800px) {

    .home {
        min-height: 100svh;
        height: auto;
    }


    .home__background {
        position: fixed;

        grid-template-columns: 1fr;
    }


    .home__image--projects,
    .home__image--stock {
        display: none;
    }


    .home__brand {
        top: 7%;
        left: 5%;
        right: 5%;
    }


    .home__brand h1 {
        font-size: 14vw;
        white-space: normal;
    }


    .home__navigation {
        position: relative;

        left: auto;
        right: auto;
        bottom: auto;

        min-height: 100svh;

        padding:
            40vh
            5%
            5%;

        grid-template-columns: 1fr;

        align-content: end;
    }


    .home__nav-item {
        justify-content: flex-start;

        height: 58px;

        font-size: 19px;

        border-top: 1px solid currentColor;
    }


    .home__nav-item:not(:last-child)::after {
        display: none;
    }

}

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

.materials-page {
    background: #f3f0e9;
    color: #111;
}


.site-header {
    width: 100%;

    display: flex;
    align-items: center;
    justify-content: space-between;

    padding: 28px 3%;

    position: sticky;
    top: 0;
    z-index: 1000;

    background: #f3f0e8;
}


.site-header__brand,
.site-header__link {
    color: #111;

    font-family: "F37 Raine", Arial, Helvetica, sans-serif;
    font-size: 13px;
    font-weight: 500;

    text-decoration: none;
}


.site-header__navigation {
    display: flex;
    align-items: center;
    gap: 48px;
}


.site-header__link--active {
    border-bottom: 1px solid #111;
    padding-bottom: 4px;
}


/* MATERIALS INTRO */

.materials__intro {
    padding: 62px 3% 24px;
}


.materials__logo {
    display: block;

    width: min(48vw, 760px);
    height: auto;
}

.materials__title {
    margin: 0;

    font-family: "F37 Raine", Arial, Helvetica, sans-serif;
    font-size: clamp(64px, 7.2vw, 118px);
    font-weight: 900;
    line-height: 0.82;

    letter-spacing: -0.025em;

    color: #ffff00;
}

.materials__meta {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;

    padding: 36px 3% 0;
}


.materials__statement {
    font-family: "F37 Raine", Arial, Helvetica, sans-serif;
    font-size: clamp(18px, 1.5vw, 24px);
    font-weight: 500;

    line-height: 1.2;
}


.materials__count {
    display: flex;
    flex-direction: column;
    align-items: flex-end;

    font-family: "F37 Raine", Arial, Helvetica, sans-serif;
    font-size: 12px;
    font-weight: 500;

    line-height: 1.4;
}

/* MATERIAL FILTERS */

.materials__filters {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 42px;

    padding: 70px 3% 28px;
}


.materials__filter {
    appearance: none;
    border: 0;
    background: transparent;
    padding: 0 0 5px;

    font-family: "F37 Raine", Arial, Helvetica, sans-serif;
    font-size: 12px;
    font-weight: 500;

    color: #111;

    cursor: pointer;
}


.materials__filter--active {
    border-bottom: 1px solid #111;
}


.materials__filter:hover {
    opacity: 0.5;
}

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

.materials__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;

    margin-top: 60px;
    padding: 0 3% 80px;
}


/* CARD */

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


/* IMAGE */

.material-card__image {
    width: 100%;
    aspect-ratio: 5 / 6;
    overflow: hidden;
    background: #ddd;
}


.material-card__image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;

    transition: transform 0.4s ease;
}



/* INFORMATION */

.material-card__info {
    padding-top: 18px;

     font-family: "F37 Raine", Arial, Helvetica, sans-serif;
    color: #111;
}


.material-card__element {
    margin-bottom: 8px;

    font-size: 11px;
    font-weight: 450;
}


.material-card__title {
    margin: 0 0 5px;

    font-size: 18px;
    font-weight: 500;
    line-height: 1.1;
}

.material-card__status {
    margin-top: 8px;
    font-size: 11px;
    font-weight: 450;
    color: #111;
}

/* MATERIALS OFFER */

.materials__offer {
    display: flex;
    justify-content: space-between;
    align-items: center;

    margin: 0 3%;
    padding: 32px 0 34px;

    border-bottom: 1px solid #111;
}

.materials__offer-title {
    font-family: "F37 Raine", Arial, Helvetica, sans-serif;
    font-size: 22px;
    font-weight: 500;
    line-height: 1.05;
}

.materials__offer-text {
    font-family: "F37 Raine", Arial, Helvetica, sans-serif;
    font-size: 13px;
    font-weight: 400;
    line-height: 1.35;
}

.materials__offer-link {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 18px;

    font-family: "F37 Raine", Arial, Helvetica, sans-serif;
    font-size: 14px;
    font-weight: 550;

    color: #111;
    text-decoration: none;
}

.materials__offer-link span {
    font-size: 22px;
    line-height: 1;
}

/* SITE FOOTER */

.site-footer {
    padding: 42px 3% 20px;

    font-family: Arial, Helvetica, sans-serif;
    color: #111;
}


/* MAIN FOOTER ROW */

.site-footer__grid {
    display: grid;
    grid-template-columns: 1fr;
    align-items: start;
}


/* OFFER */

.site-footer__offer {
    display: flex;
    align-items: flex-end;
    gap: 70px;
}

.site-footer__offer-title {
    font-family: "F37 Raine", Arial, Helvetica, sans-serif;
    font-size: clamp(28px, 2.6vw, 44px);
    font-weight: 600;
    line-height: 0.9;
}

.site-footer__offer-link {
    display: flex;
    align-items: center;
    gap: 12px;

    margin-top: 6px;

    font-family: "F37 Raine", Arial, Helvetica, sans-serif;
    font-size: 18px;
    font-weight: 500;

    color: #111;
    text-decoration: none;
    white-space: nowrap;
}


/* HEADINGS */

.site-footer__heading {
    margin-bottom: 20px;

    font-family: "F37 Raine", Arial, Helvetica, sans-serif;
    font-size: 10px;
    font-weight: 500;
}


/* NEWSLETTER */

.site-footer__newsletter p {
    margin: 0 0 24px;

    font-size: 11px;
    line-height: 1.4;
}

.site-footer__newsletter-form {
    display: flex;
    align-items: center;

    max-width: 300px;

    border-bottom: 1px solid #111;
}

.site-footer__newsletter-form input {
    flex: 1;

    border: 0;
    outline: 0;
    background: transparent;

    padding: 0 0 7px;

    font-family: Arial, Helvetica, sans-serif;
    font-size: 11px;
    color: #111;
}

.site-footer__newsletter-form button {
    border: 0;
    background: transparent;

    padding: 0 0 7px 12px;

    font-size: 15px;
    cursor: pointer;
}


/* FOLLOW */

/* FOLLOW */

.site-footer__follow .site-footer__heading {
    margin-bottom: 12px;

    font-family: "F37 Raine", Arial, sans-serif;
    font-size: 20px;
    font-weight: 700;
    line-height: 1;
}

.site-footer__follow a {
    display: inline-block;

    font-family: "F37 Raine", Arial, sans-serif;
    font-size: 13px;
    font-weight: 400;

    color: #111;
    text-decoration: none;
}


/* BOTTOM ROW */

.site-footer__bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;

    margin-top: 72px;

    font-family: "F37 Raine", Arial, Helvetica, sans-serif;
    font-size: 9px;
    font-weight: 400;
}

.site-footer__legal {
    display: flex;
    gap: 24px;
}

.site-footer__legal a {
    color: #111;
    text-decoration: none;
}

/* MATERIAL DETAIL PAGE */

.page-material-detail {
    margin: 0;
    background: #f3f0e8;
    color: #111;
}


/* DETAIL LAYOUT */

.page-material-detail .material-detail {
    display: grid;
    grid-template-columns: minmax(330px, 30%) minmax(0, 1fr);
    gap: 0;

    padding: 80px 3% 100px;
}


/* LEFT INFORMATION */

.page-material-detail .material-detail__info {
    position: sticky;
    top: 60px;
    align-self: start;

    padding-right: 35px;
}


/* ELEMENT */

.page-material-detail .material-detail__element {
    margin-bottom: 18px;

    font-family: "F37 Raine", Arial, Helvetica, sans-serif;
    font-size: 10px;
    font-weight: 500;
}


/* TITLE */

.page-material-detail .material-detail__title {
    margin: 0 0 18px;

    font-family: "F37 Raine", Arial, Helvetica, sans-serif;
    font-size: clamp(30px, 2.6vw, 44px);
    font-weight: 550;
    line-height: 0.94;
}


/* STATUS */

.page-material-detail .material-detail__status {
    margin-bottom: 28px;

    font-family: "F37 Raine", Arial, Helvetica, sans-serif;
    font-size: 10px;
    font-weight: 400;
}


/* INTRO */

.page-material-detail .material-detail__intro {
    max-width: 310px;
    margin: 0;

    font-family: Arial, Helvetica, sans-serif;
    font-size: 13px;
    font-weight: 400;
    line-height: 1.5;
}


/* MATERIAL DETAIL SPECS */

.page-material-detail .material-detail__specs {
    margin-top: 30px;
    max-width: 330px;
}

.page-material-detail .material-detail__spec-row {
    display: grid;
    grid-template-columns: 125px 1fr;
    gap: 14px;

    margin-bottom: 7px;
}

.page-material-detail .material-detail__spec-label {
    font-family: "F37 Raine", Arial, Helvetica, sans-serif;
    font-size: 9px;
    font-weight: 500;
    line-height: 1.15;
}

.page-material-detail .material-detail__spec-value {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 10px;
    font-weight: 400;
    line-height: 1.25;
}


/* ACTION / SOLD */

.page-material-detail .material-detail__action {
    margin-top: 42px;

    font-family: "F37 Raine", Arial, Helvetica, sans-serif;
    font-size: 13px;
    font-weight: 500;
}

.page-material-detail .material-detail__action--sold {
    opacity: 0.55;
}

.page-material-detail .material-detail__action span {
    margin-left: 8px;
    font-size: 16px;
    line-height: 1;
}


/* GALLERY */

.page-material-detail .material-detail__gallery {
    min-width: 0;
}

.page-material-detail .material-detail__gallery-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 6px;
}

.page-material-detail .material-detail__gallery-item {
    overflow: hidden;
}

.page-material-detail .material-detail__gallery-item img {
    display: block;
    width: 100%;
    height: auto;
}

/* REUSED SECTION */

.material-second-life {
    padding: 60px 3% 80px;
}

.material-second-life__header {
    margin-bottom: 26px;
}

.material-second-life__eyebrow {
    margin-bottom: 12px;

    font-family: "F37 Raine", Arial, Helvetica, sans-serif;
    font-size: 11px;
    font-weight: 500;
}

.material-second-life__title {
    margin: 0;

    font-family: "F37 Raine", Arial, Helvetica, sans-serif;
    font-size: clamp(28px, 3vw, 44px);
    font-weight: 550;
    line-height: 1;
}

.material-second-life__project {
    margin-top: 28px;
}

.material-second-life__project-info {
    margin-bottom: 18px;
}

.material-second-life__number {
    margin-bottom: 8px;

    font-family: "F37 Raine", Arial, Helvetica, sans-serif;
    font-size: 11px;
    font-weight: 500;
}

.material-second-life__item-title {
    margin: 0 0 4px;

    font-family: "F37 Raine", Arial, Helvetica, sans-serif;
    font-size: 20px;
    font-weight: 550;
    line-height: 1.05;
}

.material-second-life__location {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 11px;
    font-weight: 400;
}

.material-second-life__project-meta {
    max-width: 720px;
    margin-top: 14px;
    margin-bottom: 22px;
}

.material-second-life__project-meta p {
    margin: 0 0 12px;

    font-family: Arial, Helvetica, sans-serif;
    font-size: 11px;
    font-weight: 400;
    line-height: 1.5;
}

.material-second-life__project-links {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 22px;
}

.material-second-life__project-links a {
    font-family: "F37 Raine", Arial, Helvetica, sans-serif;
    font-size: 9px;
    font-weight: 500;

    color: #111;
    text-decoration: none;
}

.material-second-life__location {
    margin-top: 2px;

    font-family: Arial, Helvetica, sans-serif;
    font-size: 10px;
    font-weight: 400;
}

.material-second-life__credit {
    margin-top: 4px;

    font-family: Arial, Helvetica, sans-serif;
    font-size: 10px;
    font-weight: 400;
    line-height: 1.4;
}

.material-second-life__credit a {
    color: #111;
    text-decoration: none;
}

.material-second-life__credit a:hover {
    text-decoration: underline;
    text-underline-offset: 2px;
}


/* REUSED HORIZONTAL GALLERY */

.material-second-life__gallery {
    display: flex;
    gap: 18px;

    overflow-x: auto;
    overflow-y: hidden;

    padding-bottom: 12px;

    scroll-snap-type: x proximity;
}

.material-second-life__image {
    flex: 0 0 32%;
    aspect-ratio: 4 / 3;
    overflow: hidden;

    scroll-snap-align: start;
}

.material-second-life__image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* =========================================================
   SERVICE PAGE
   ========================================================= */


/* PAGE TITLE */

.page-service .materials__intro {
    padding-top: 42px;
}

.page-service .materials__title {
    margin: 0;

    font-family: "F37 Raine", Arial, Helvetica, sans-serif;
    font-size: clamp(72px, 9vw, 150px);
    font-weight: 800;
    line-height: 0.82;

    color: #fff600;
}

.page-service .materials__meta {
    padding-top: 26px;
    padding-bottom: 42px;
}

.page-service .materials__statement {
    margin: 0;

    font-family: "F37 Raine", Arial, Helvetica, sans-serif;
    font-size: 18px;
    font-weight: 550;
    line-height: 1;
}


/* =========================================================
   SERVICE DETAIL
   ========================================================= */

.service-detail {
    display: grid;
    grid-template-columns: 44% 56%;
    gap: 48px;

    width: 100%;
    padding: 80px 3% 100px;

    align-items: start;
}


/* LEFT TEXT COLUMN */

.service-detail__info {
    position: static;
    max-width: none;

    padding-right: 40px;

    font-family: Arial, Helvetica, sans-serif;
    font-size: 13px;
    line-height: 1.5;
}

.service-detail__info p {
    margin: 0 0 20px;
}

.service-detail__lead {
    font-size: 16px;
    line-height: 1.45;
}

.service-detail__statement {
    margin: 46px 0 !important;

    font-family: "F37 Raine", Arial, Helvetica, sans-serif;
    font-size: 24px;
    font-weight: 550;
    line-height: 1.05;
}


/* SERVICES */

.service-detail__services {
    margin: 38px 0 48px;
}

.service-detail__services-title {
    margin-bottom: 24px !important;

    font-family: "F37 Raine", Arial, Helvetica, sans-serif;
    font-size: 14px;
    font-weight: 550;
}

.service-detail__services strong {
    font-family: "F37 Raine", Arial, Helvetica, sans-serif;
    font-weight: 550;
}


/* RIGHT STICKY IMAGE */

.service-detail__gallery {
    position: sticky;
    top: 100px;

    align-self: start;
}

.service-detail__image {
    display: block;
    width: 95%;
    height: calc(100vh - 320px);
    object-fit: cover;
    object-position: center;
}

/* SERVICE PAGE BACKGROUND */

.page-service {
    background: #f3f0e8;
    color: #111;
}

.page-service main {
    background: #f3f0e8;
}

/* HARO DELIVERY VIDEO */

.page-material-detail .material-detail__gallery-item video {
    display: block;
    width: 60%;
    height: auto;
}

/* HARO — INDEPENDENT IMAGE COLUMNS */

.page-material-detail .material-detail__gallery-grid.haro-gallery {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 6px;
    align-items: start;
}

.haro-gallery__column {
    display: flex;
    flex-direction: column;
    gap: 6px;
    min-width: 0;
}

/* ========================================
   MATERIAL DETAIL — QUANTITY REQUEST
======================================== */

.material-detail__quantity {
    margin-top: 32px;
    max-width: 330px;
}

/* AVAILABLE STOCK */

.material-detail__quantity-stock {
    margin-bottom: 22px;

    font-family: "F37 Raine", Arial, sans-serif;
    font-size: 13px;
    font-weight: 550;
}

/* LABEL */

.material-detail__quantity label {
    display: block;
    margin-bottom: 10px;

    font-family: "F37 Raine", Arial, sans-serif;
    font-size: 10px;
    font-weight: 500;
}

/* INPUT FIELD */

.material-detail__quantity-input {
    display: flex;
    align-items: center;
    justify-content: space-between;

    width: 100%;
    padding: 10px 0;

    border-bottom: 1px solid #111;
}

.material-detail__quantity-input input {
    width: 100%;
    border: none;
    outline: none;
    background: transparent;

    font-family: "F37 Raine", Arial, sans-serif;
    font-size: 20px;
    font-weight: 500;

    color: #111;
}

.material-detail__quantity-input span {
    font-family: "F37 Raine", Arial, sans-serif;
    font-size: 13px;
    font-weight: 500;
}

/* ========================================
   ABOUT PAGE
======================================== */

.about-content {
    width: 80%;
    max-width: 850px;
    margin: 0 auto;
    padding: 65px 0 130px;
}

.about-content p {
    margin: 0 0 30px;

    font-family: "F37 Raine", Arial, sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.5;
    letter-spacing: -0.01em;
    text-align: left;
}

.about-content__lead {
    font-size: clamp(24px, 2vw, 27px) !important;
    font-weight: 600 !important;
    line-height: 1.3 !important;
    letter-spacing: -0.02em !important;
    margin-bottom: 48px !important;
}


/* ABOUT — MOBILE */

@media (max-width: 768px) {

    .about-content {
        width: 87%;
        padding: 45px 0 90px;
    }

    .about-content p {
        font-size: 16px;
        line-height: 1.5;
        margin-bottom: 28px;
    }

    .about-content__lead {
        font-size: 24px !important;
        margin-bottom: 40px !important;
    }

}
/* ========================================
   ABOUT — EXTENDED CONTENT
======================================== */


/* INTRO — MAIN STATEMENT */

.about-content__lead {
    font-family: "F37 Raine", Arial, sans-serif;
}


/* INTRO — SECOND STATEMENT */

.about-content__statement {
    margin: 55px 0 40px;

    font-family: "F37 Raine", Arial, sans-serif;
    font-size: clamp(20px, 2vw, 25px);
    font-weight: 650;
    line-height: 1.25;
    letter-spacing: -0.02em;
}


/* WHAT WE DO — SECTION */

.about-content__services {
    position: relative;
    left: 50%;
    transform: translateX(-50%);

    width: min(1160px, 94vw);

    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    column-gap: 35px;
    row-gap: 35px;

    margin-top: 115px;
}


/* WHAT WE DO — HEADING */

.about-content__services-title {
    grid-column: 1 / -1;

    margin: 0 0 35px;

    font-family: "F37 Raine", Arial, sans-serif;
    font-size: clamp(36px, 4vw, 54px);
    font-weight: 750;
    line-height: 1;
    letter-spacing: -0.025em;
}


/* WHAT WE DO — SERVICE */

.about-content__service {
    border-top: 1px solid #171717;
    padding-top: 15px;
}


/* SERVICE NUMBER */

.about-content__service-number {
    margin-bottom: 15px;

    font-family: "F37 Raine", Arial, sans-serif;
    font-size: 13px;
    font-weight: 500;
}


/* SERVICE TITLE */

.about-content__service-title {
    margin: 0 0 22px;

    font-family: "F37 Raine", Arial, sans-serif;
    font-size: clamp(24px, 2.5vw, 34px);
    font-weight: 650;
    line-height: 1;
}


/* SERVICE DESCRIPTION */

.about-content .about-content__service p {
    margin: 0;

    font-size: 15px;
    line-height: 1.5;
}


/* CLOSING STATEMENT */

.about-content .about-content__closing {
    grid-column: 1 / -1;

    max-width: 850px;

    margin: 75px auto 0;

    font-size: 16px;
    line-height: 1.5;
}


/* ========================================
   ABOUT — RESPONSIVE
======================================== */

@media (max-width: 768px) {

    .about-content__statement {
        font-size: 21px;
        margin: 45px 0 35px;
    }

    .about-content__services {
        width: 87vw;

        grid-template-columns: 1fr;
        gap: 35px;

        margin-top: 80px;
    }

    .about-content__services-title {
        grid-column: 1;

        font-size: 38px;
        margin-bottom: 10px;
    }

    .about-content__service-title {
        font-size: 30px;
    }

    .about-content .about-content__service p {
        font-size: 16px;
    }

    .about-content .about-content__closing {
        grid-column: 1;
        margin-top: 35px;
    }

}
/* ========================================
   OFFER AN ELEMENT — FOOTER
======================================== */

/* Große Aufforderung links ausblenden */

/* OFFER AN ELEMENT — FOOTER */

.page-offer .site-footer__offer {
    display: none;
}

/* Ursprüngliche Spaltenpositionen beibehalten */

.page-offer .site-footer__newsletter {
    grid-column: 2;
}

.page-offer .site-footer__follow {
    grid-column: 3;
}

/* Mobile Darstellung */

@media (max-width: 768px) {
    .page-offer .site-footer__newsletter,
    .page-offer .site-footer__follow {
        grid-column: auto;
    }
}

/* ========================================
   OFFER AN ELEMENT — CONTACT LINK
======================================== */

.offer-content__contact {
    margin-top: 45px;
    border-top: 1px solid #171717;
    padding-top: 20px;
}

.offer-content__email {
    display: flex;
    justify-content: space-between;
    align-items: center;

    font-family: "F37 Raine", Arial, sans-serif;
    font-size: 22px;
    font-weight: 600;
    line-height: 1.2;

    color: #171717;
    text-decoration: none;
}

.offer-content__email span {
    font-size: 28px;
    font-weight: 400;
    transition: transform 0.2s ease;
}

.offer-content__email:hover span {
    transform: translateX(6px);
}

.offer-content__email:hover {
    color: #171717;
}
.offer-content__hint {
    margin: 6px 0 0 !important;
    font-size: 11px !important;
    font-weight: 400;
    letter-spacing: 0.02em;
    color: #666666;
}
/* ========================================
   ABOUT & OFFER — FOOTER POSITION
======================================== */

.page-about {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.page-about > main {
    flex: 1;
}

.page-about > .site-footer {
    margin-top: auto;
}

.offer__title--stacked {
    display: inline-flex;
    flex-direction: column;
    gap: 0;
    margin: 0 0 48px;
    
    font-family: "F37 Raine", Arial, Helvetica, sans-serif;
    font-size: clamp(42px, 4.2vw, 72px);
    font-weight: 650;
    line-height: 0.88;
    letter-spacing: -0.02em;
    text-transform: uppercase;
}

.offer__title--stacked span {
    display: block;
    font-size: clamp(28px, 2.5vw, 40px);
line-height: 0.9;
}

/* MATERIAL CARDS — PRICE */

.material-card__price {
    margin-top: 5px;

    font-family: "F37 Raine", Arial, sans-serif;
    font-size: 15px;
    font-weight: 500;
    line-height: 1.3;

    color: #171717;
}

.material-card__price span {
    margin-left: 8px;
    font-size: 10px;
    font-weight: 400;
}

/* MATERIAL DETAIL — PRICE */

.material-detail__quantity-price {
    margin: 12px 0 24px;

    font-family: "F37 Raine", Arial, sans-serif;
    font-size: 20px;
    font-weight: 500;
    line-height: 1.2;

    color: #171717;
}

.material-detail__quantity-price span {
    display: block;
    margin-top: 8px;

    font-size: 11px;
    font-weight: 400;
}

/* RELATED MATERIALS */

.material-detail__spec-value--related a {
    display: block;
    white-space: nowrap;

    color: inherit;
    text-decoration: underline;
    margin-bottom: 5px;
}

.material-second-life__location[href] {
    display: inline-block;
    color: inherit;
    text-decoration: none;
}

.material-second-life__location[href]:hover {
    text-decoration: underline;
}

/* MATERIALS — COMING */

.material-card--coming .material-card__image img {
    filter: saturate(35%) brightness(1.05);
}

/* MATERIALS — CARD LINKS */

.material-card__link {
    display: block;
    color: inherit;
    text-decoration: none;
}

.material-card__link:visited {
    color: inherit;
}

.material-card__link:hover {
    cursor: pointer;
}

/* ========================================
   IMPRINT
======================================== */

.imprint-content {
    padding-top: 65px;
}

.imprint-content__intro {
    font-size: 13px !important;
    font-weight: 600 !important;
    letter-spacing: 0.01em !important;

    margin-bottom: 65px !important;
}

.imprint-content__section {
    margin-bottom: 45px;
}

.imprint-content__heading {
    margin: 0 0 15px;

    font-family: "F37 Raine", Arial, sans-serif;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.01em;
}

.imprint-content__section p {
    margin-bottom: 0;
}

.imprint-content__section a {
    color: inherit;
    text-decoration: underline;
    text-underline-offset: 3px;
}


/* IMPRINT — MOBILE */

@media (max-width: 768px) {

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

    .imprint-content__intro {
        margin-bottom: 50px !important;
    }

    .imprint-content__section {
        margin-bottom: 35px;
    }

}

/* ========================================
   MOBILE — HEADER & MATERIALS
======================================== */

@media (max-width: 768px) {

    /* HEADER */

    .site-header {
        flex-direction: column;
        align-items: stretch;
        gap: 24px;

        padding: 20px 4% 16px;
    }

    .site-header__navigation {
        width: 100%;
        justify-content: space-between;
        flex-wrap: wrap;
        gap: 10px;
    }

    .site-header__link {
        font-size: 11px;
    }


    /* MATERIALS — TITLE */

    .materials__title {
        font-size: clamp(42px, 12.5vw, 64px);
        line-height: 0.9;
    }


    /* MATERIALS — GRID */

    .materials__grid {
        grid-template-columns: 1fr;
        gap: 34px;

        margin-top: 42px;
        padding: 0 4% 70px;
    }

}

/* ========================================
   MOBILE — FOOTER
======================================== */

@media (max-width: 768px) {

    .site-footer__offer {
        flex-direction: column;
        align-items: flex-start;
        gap: 24px;
    }

    .site-footer__offer-title {
        font-size: clamp(27px, 8vw, 36px);
        line-height: 0.92;
    }

    .site-footer__offer-link {
        margin-top: 0;
        font-size: 16px;
    }

    .site-footer__bottom {
        flex-direction: column;
        align-items: flex-start;
        gap: 18px;
    }

    .site-footer__legal {
        display: flex;
        flex-wrap: wrap;
        gap: 20px;
    }

}

/* ========================================
   MOBILE — MATERIAL DETAIL
======================================== */

@media (max-width: 768px) {

    /* DETAIL LAYOUT — ONE COLUMN */

    .page-material-detail .material-detail {
        grid-template-columns: minmax(0, 1fr);
        gap: 48px;

        padding: 45px 4% 80px;
    }


    /* INFORMATION — NO STICKY POSITION */

    .page-material-detail .material-detail__info {
        position: static;
        top: auto;

        padding-right: 0;
        width: 100%;
    }


    /* PRODUCT TITLE */

    .page-material-detail .material-detail__title {
        font-size: clamp(30px, 9vw, 40px);
    }


    /* DESCRIPTION */

    .page-material-detail .material-detail__intro {
        max-width: none;
    }


    /* SPECIFICATIONS */

    .page-material-detail .material-detail__specs {
        max-width: none;
    }

    .page-material-detail .material-detail__spec-row {
        grid-template-columns: minmax(90px, 35%) minmax(0, 1fr);
        gap: 12px;
    }


    /* QUANTITY & INQUIRY */

    .material-detail__quantity {
        max-width: none;
    }


    /* GALLERY — FULL WIDTH */

    .page-material-detail .material-detail__gallery {
        width: 100%;
        min-width: 0;
    }

    .page-material-detail .material-detail__gallery-grid,
    .page-material-detail .material-detail__gallery-grid.haro-gallery {
        grid-template-columns: minmax(0, 1fr);
        gap: 12px;
    }

    .haro-gallery__column {
        gap: 12px;
    }


    /* GALLERY VIDEO */

    .page-material-detail .material-detail__gallery-item video {
        width: 100%;
        height: auto;
    }


    /* RELATED MATERIAL LINKS */

    .material-detail__spec-value--related a {
        white-space: normal;
        overflow-wrap: anywhere;
    }

}

/* ========================================
   MOBILE — REUSED GALLERY
======================================== */

@media (max-width: 768px) {

    .material-second-life__gallery {
        gap: 12px;
        scroll-snap-type: x mandatory;
    }

    .material-second-life__image {
        flex: 0 0 88%;
        aspect-ratio: 4 / 3;
        scroll-snap-align: start;
    }

}