.brand-pair {
    display: flex;
    align-items: center;
    gap: 14px;
    flex: 0 0 auto
}

.loader-brand-pair {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
    max-width: 92vw;
    padding: 16px;
    perspective: 700px
}

.loader-sajawat-logo {
    width: min(190px, 48vw);
    height: 76px;
    object-fit: contain;
    animation: loader-logo-motion 1.8s ease-in-out infinite;
    transform-style: preserve-3d
}

.loader-mountain-logo {
    width: min(132px, 34vw);
    height: 88px;
    padding: 5px;
    border: 1px solid rgba(255, 255, 255, .8);
    border-radius: 5px;
    background: #fff;
    object-fit: contain;
    animation: loader-logo-motion 1.8s .9s ease-in-out infinite;
    transform-style: preserve-3d
}

.brand-pair .brand {
    flex: 0 0 auto
}

.sajawat-brand-logo {
    width: 150px;
    height: 52px;
    max-width: 100%;
    object-fit: contain
}

.mountain-brand-link {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    padding: 4px 8px;
    background: #fff;
    border: 1px solid rgba(255, 255, 255, .8);
    border-radius: 7px;
    box-shadow: 0 3px 12px rgba(0, 0, 0, .18)
}

.mountain-brand-logo {
    display: block;
    width: 82px;
    height: 54px;
    object-fit: contain
}

.footer-brands {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 14px;
    margin-bottom: 22px
}

.footer-brands .footer-brand {
    margin-bottom: 0
}

.footer-brands .sajawat-brand-logo {
    width: 180px;
    height: 62px
}

.footer-mountain-brand .mountain-brand-logo {
    width: 104px;
    height: 70px
}

.mountain-sleep-page {
    --sleep-green: #355b4b;
    --sleep-mist: #eef2ed;
    --sleep-ink: #18221d;
    background: #f7f8f4;
    color: var(--sleep-ink)
}

.about-page-hero {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    background: #130b07
}

.about-page-hero:before {
    position: absolute;
    inset: 0;
    z-index: -1;
    content: "";
    background-image: linear-gradient(90deg, rgba(19, 11, 7, .9), rgba(19, 11, 7, .35)), url("assets/storage&finishing.png");
    background-size: cover;
    background-position: center 48%;
    transform: scale(1);
    animation: about-hero-zoom 16s ease-in-out infinite alternate
}

.about-page-hero .container {
    position: relative;
    z-index: 1
}

.about-page-hero h1 {
    max-width: 760px;
    font-family: "Playfair Display", serif;
    font-size: 64px;
    font-weight: 600;
    line-height: 1.08;
    color: #fff
}

.about-page-hero h1 em {
    color: var(--gold2);
    font-style: normal
}

.about-page-hero p {
    max-width: 560px;
    margin: 18px 0 26px;
    color: rgba(255, 255, 255, .86);
    font-size: 17px;
    line-height: 1.75
}

.about-page-hero .btn {
    border-radius: 4px
}

.owner-story-section {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    background: #f2ece4
}

.owner-story-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, .92fr);
    align-items: center;
    gap: clamp(48px, 7vw, 92px)
}

.owner-story-visual {
    position: relative;
    max-width: 500px;
    padding: 18px 0 0 18px
}

.owner-story-visual:before {
    position: absolute;
    top: 0;
    left: 0;
    width: 72%;
    height: 68%;
    content: "";
    background: linear-gradient(135deg, #e9b944, #d49c3e)
}

.owner-photo-frame {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: none;
    aspect-ratio: 4/5;
    overflow: hidden;
    border: 0;
    background: #ded8cd;
    box-shadow: none
}

.owner-photo {
    width: 100%;
    height: 100%;
    aspect-ratio: auto;
    object-fit: cover;
    object-position: center 35%;
    transition: transform .7s cubic-bezier(.2, .7, .2, 1)
}

.owner-photo-frame:hover .owner-photo {
    transform: scale(1.045)
}

.owner-photo-frame figcaption {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    display: flex;
    flex-direction: column;
    gap: 5px;
    padding: 48px 22px 20px;
    background: linear-gradient(180deg, transparent, rgba(24, 20, 16, .82));
    color: #fff
}

.owner-photo-frame figcaption span {
    font-size: 10px;
    font-weight: 700;
    line-height: 1.4
}

.owner-photo-frame figcaption strong {
    font-size: 15px;
    font-weight: 600;
    line-height: 1.35
}

.owner-story-copy .section-kicker {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #886324
}

.owner-story-copy .section-kicker:before {
    width: 28px;
    height: 1px;
    background: #c18c2c;
    content: ""
}

.owner-story-copy h2 {
    max-width: 580px;
    margin: 16px 0 22px;
    font-family: "Playfair Display", serif;
    font-size: 48px;
    font-weight: 600;
    line-height: 1.1;
    color: var(--brown)
}

.owner-story-copy h2 span {
    color: #986b20
}

.owner-story-copy p {
    max-width: 580px;
    margin-bottom: 15px;
    color: #62584f;
    font-size: 16px;
    line-height: 1.8
}

.owner-story-copy p.lead {
    font-size: 19px !important;
    line-height: 1.65 !important;
    color: #302722
}

.owner-story-facts {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
    margin: 26px 0 22px;
    padding: 17px 0;
    border-top: 1px solid #d8cfc2;
    border-bottom: 1px solid #d8cfc2
}

.owner-story-facts div {
    display: flex;
    flex-direction: column;
    gap: 6px
}

.owner-story-facts span {
    color: #8a7c6c;
    font-size: 10px;
    font-weight: 700;
    line-height: 1.3
}

.owner-story-facts strong {
    color: #302722;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.45
}

.owner-story-copy .btn {
    margin-top: 0;
    border-radius: 4px
}

.mountain-hero {
    position: relative;
    isolation: isolate;
    min-height: min(760px, max(610px, calc(100svh - 105px)));
    display: flex;
    align-items: center;
    color: #fff;
    background: #14221c;
    overflow: hidden
}

.mountain-hero:before {
    position: absolute;
    inset: 0;
    z-index: -1;
    content: "";
    background-image: linear-gradient(90deg, rgba(12, 24, 19, .91) 0%, rgba(17, 31, 25, .68) 44%, rgba(17, 31, 25, .14) 100%), url("assets/mountain-mattress.webp");
    background-position: center 46%;
    background-size: cover;
    transform: scale(1.04);
    animation: sleep-hero-zoom 22s cubic-bezier(.45, 0, .55, 1) infinite alternate;
    will-change: transform
}

.mountain-hero:after {
    position: absolute;
    inset: 0;
    z-index: 1;
    content: "";
    pointer-events: none;
    background: linear-gradient(115deg, transparent 35%, rgba(255, 255, 255, .09) 50%, transparent 65%);
    transform: translateX(-120%);
    animation: sleep-shimmer 7s ease-in-out infinite
}

.mountain-hero .container {
    position: relative;
    z-index: 2
}

.mountain-hero-content {
    position: relative;
    max-width: 710px;
    padding: 96px 0 104px;
    animation: sleep-arrive .9s .12s cubic-bezier(.2, .7, .2, 1) both
}

.mountain-hero-kicker {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 22px;
    color: #e4eadf;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase
}

.mountain-hero-kicker:before {
    width: 30px;
    height: 1px;
    background: #e2c68c;
    content: ""
}

.mountain-hero h1 {
    max-width: 660px;
    font-family: "Playfair Display", serif;
    font-size: 68px;
    font-weight: 600;
    line-height: 1.04;
    color: #fff
}

.mountain-hero h1 em {
    color: #e7d2a6;
    font-style: normal
}

.mountain-hero p {
    max-width: 470px;
    margin-top: 20px;
    color: rgba(255, 255, 255, .83);
    font-size: 17px;
    line-height: 1.75
}

.mountain-hero-actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 32px
}

.mountain-hero .btn {
    border-radius: 4px
}

.mountain-hero-link {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 14px 18px;
    border: 1px solid rgba(255, 255, 255, .6);
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    transition: background .2s ease, color .2s ease
}

.mountain-hero-link:hover {
    background: #fff;
    color: var(--sleep-green)
}

.sleep-intro {
    position: relative;
    padding: 72px 0;
    background: var(--sleep-mist);
    border-bottom: 1px solid #dfe5dc
}

.sleep-intro-inner {
    display: grid;
    grid-template-columns: .8fr 1.2fr;
    align-items: center;
    gap: 48px
}

.sleep-intro-label {
    color: var(--sleep-green);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1.3px;
    text-transform: uppercase
}

.sleep-intro h2,
.sleep-gallery h2 {
    margin-top: 10px;
    font-family: "Playfair Display", serif;
    font-size: 38px;
    font-weight: 600;
    line-height: 1.15;
    color: #1b2b22
}

.sleep-intro p {
    max-width: 620px;
    color: #57645c;
    font-size: 16px;
    line-height: 1.8
}

.sleep-gallery {
    position: relative;
    padding: 100px 0 108px;
    background: #f8f8f4
}

.sleep-gallery-heading {
    display: flex;
    justify-content: space-between;
    align-items: end;
    gap: 32px;
    margin-bottom: 28px;
    padding-bottom: 25px;
    border-bottom: 1px solid #dce2d9
}

.sleep-gallery h2 {
    font-size: 44px;
    color: #1b2b22
}

.sleep-gallery-heading p {
    max-width: 390px;
    color: #68736c;
    line-height: 1.7
}

.sleep-filter-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 22px
}

.sleep-filter-row .filter {
    min-width: 94px;
    padding: 10px 16px;
    border: 1px solid #cfd8d0;
    border-radius: 2px;
    background: transparent;
    color: #42534a;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    transition: background .2s ease, color .2s ease, border-color .2s ease, transform .2s ease
}

.sleep-filter-row .filter.active,
.sleep-filter-row .filter:hover {
    border-color: var(--sleep-green);
    background: var(--sleep-green);
    color: #fff
}

.sleep-filter-row .filter:hover {
    transform: translateY(-2px)
}

.mountain-gallery-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    grid-auto-rows: minmax(210px, 18vw);
    gap: 14px
}

.mountain-gallery-grid .gallery-item {
    position: relative;
    isolation: isolate;
    min-height: 0;
    overflow: hidden;
    border-radius: 2px;
    background: #e7e9e5
}

.mountain-gallery-grid .gallery-item:first-child {
    grid-column: span 2;
    grid-row: span 2
}

.mountain-gallery-grid .gallery-item:after {
    position: absolute;
    inset: 30% 0 0;
    z-index: 0;
    content: "";
    pointer-events: none;
    background: linear-gradient(180deg, transparent, rgba(16, 27, 22, .76))
}

.mountain-gallery-grid .gallery-item img {
    width: 100%;
    height: 100%;
    min-height: 210px;
    object-fit: cover;
    transition: transform .75s cubic-bezier(.2, .7, .2, 1), filter .5s ease
}

.mountain-gallery-grid .gallery-item:hover img {
    transform: scale(1.055);
    filter: saturate(1.08)
}

.mountain-gallery-grid .gallery-item figcaption {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 1;
    transform: translateY(0);
    opacity: 1;
    padding: 42px 18px 16px;
    color: #fff;
    font-size: 15px;
    font-weight: 700
}

.sleep-enquiry {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
    padding: 42px 0;
    border-top: 1px solid #dfe4de
}

.sleep-enquiry h2 {
    font-family: "Playfair Display", serif;
    font-size: 28px;
    font-weight: 600;
    color: #1b2b22
}

.sleep-enquiry p {
    margin-top: 6px;
    color: #68736c;
    line-height: 1.6
}

.sleep-enquiry .btn {
    flex: 0 0 auto;
    border-radius: 4px
}

@keyframes sleep-arrive {
    from {
        opacity: 0;
        transform: translateY(24px)
    }

    to {
        opacity: 1;
        transform: translateY(0)
    }
}

@keyframes sleep-hero-zoom {
    from {
        transform: scale(1.04)
    }

    to {
        transform: scale(1.15)
    }
}

@keyframes sleep-shimmer {

    0%,
    20% {
        transform: translateX(-120%)
    }

    75%,
    100% {
        transform: translateX(120%)
    }
}

@keyframes loader-logo-motion {

    0%,
    100% {
        transform: translateX(-9px) rotateY(-16deg) scale(.97)
    }

    50% {
        transform: translateX(9px) rotateY(16deg) scale(1.03)
    }
}

@keyframes about-hero-zoom {
    from {
        transform: scale(1)
    }

    to {
        transform: scale(1.12)
    }
}

@media(max-width:980px) {
    .brand-pair {
        gap: 10px
    }

    .sajawat-brand-logo {
        width: 128px;
        height: 48px
    }

    .mountain-brand-logo {
        width: 74px;
        height: 49px
    }

    .footer-brands .sajawat-brand-logo {
        width: 160px;
        height: 56px
    }

    .footer-mountain-brand .mountain-brand-logo {
        width: 94px;
        height: 64px
    }

    .owner-story-grid {
        gap: 40px
    }

    .mountain-gallery-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        grid-auto-rows: 260px
    }

    .mountain-gallery-grid .gallery-item:first-child {
        grid-column: span 2;
        grid-row: span 1
    }
}

@media(max-width:640px) {
    .brand-pair {
        gap: 8px
    }

    .sajawat-brand-logo {
        width: 112px;
        height: 44px
    }

    .mountain-brand-link {
        padding: 3px 5px
    }

    .mountain-brand-logo {
        width: 62px;
        height: 42px
    }

    .footer-brands {
        gap: 10px
    }

    .footer-brands .sajawat-brand-logo {
        width: 145px;
        height: 52px
    }

    .footer-mountain-brand .mountain-brand-logo {
        width: 80px;
        height: 54px
    }

    .about-page-hero h1 {
        font-size: 42px
    }

    .about-page-hero p {
        font-size: 15px
    }

    .owner-story-grid {
        grid-template-columns: 1fr;
        gap: 32px
    }

    .owner-photo-frame {
        width: 100%;
        margin: auto
    }

    .owner-story-copy h2 {
        font-size: 36px
    }

    .owner-story-copy p {
        font-size: 15px
    }

    .mountain-hero {
        min-height: 650px;
        min-height: min(720px, max(600px, calc(100svh - 80px)))
    }

    .mountain-hero:before {
        background-position: 61% center
    }

    .mountain-hero-content {
        padding: 78px 0 82px
    }

    .mountain-hero h1 {
        font-size: 48px
    }

    .mountain-hero p {
        font-size: 15px
    }

    .sleep-intro {
        padding: 48px 0
    }

    .sleep-intro-inner {
        grid-template-columns: 1fr;
        gap: 13px
    }

    .sleep-intro h2,
    .sleep-gallery h2 {
        font-size: 32px
    }

    .sleep-gallery {
        padding: 64px 0 70px
    }

    .sleep-gallery-heading {
        display: block;
        padding-bottom: 18px
    }

    .sleep-gallery-heading p {
        margin-top: 12px
    }

    .mountain-gallery-grid {
        grid-template-columns: 1fr 1fr;
        grid-auto-rows: 210px;
        gap: 10px
    }

    .mountain-gallery-grid .gallery-item:first-child {
        grid-column: span 2
    }

    .mountain-gallery-grid .gallery-item figcaption {
        padding: 30px 12px 12px;
        font-size: 13px
    }

    .sleep-enquiry {
        align-items: flex-start;
        flex-direction: column;
        padding: 28px 0
    }

    .sleep-enquiry h2 {
        font-size: 25px
    }
}

@media(prefers-reduced-motion:reduce) {

    .about-page-hero:before,
    .mountain-hero:before,
    .mountain-hero:after,
    .mountain-hero-content,
    .loader-sajawat-logo,
    .loader-mountain-logo {
        animation: none
    }

    .owner-photo,
    .mountain-gallery-grid .gallery-item img {
        transition: none
    }
}