@import "home-PBqYo-T.css";
@import "club-boVwwa4.css";
@import "articles-yEcHMwM.css";
@import "article-gIE6OH6.css";
@import "products-nW7p9qR.css";
@import "product-K61viSD.css";
@import "contact-A5-YsRF.css";
@import "login-tflm6cd.css";

:root {
    --dark-blue: #0e1a36;
    --beige: #ffe6cc;
    --red: #b31e00;
    --gray: #ccc;
    --gray-light: #fafafb;
    --header-height: 7rem;
    interpolate-size: allow-keywords;
}

@view-transition {
    navigation: auto;
}

@font-face {
    font-family: SourceSansPro;
    font-style: normal;
    font-weight: 300;
    src: url("../fonts/SourceSansPro-Light-vet8xuu.woff2") format('woff2');
}
@font-face {
    font-family: SourceSansPro;
    font-style: italic;
    font-weight: 300;
    src: url("../fonts/SourceSansPro-Light-Italic-2bQVxVj.woff2") format('woff2');
}
@font-face {
    font-family: SourceSansPro;
    font-style: normal;
    font-weight: 400;
    src: url("../fonts/SourceSansPro-Regular-XuKhvhi.woff2") format('woff2');
}
@font-face {
    font-family: GothamSSm;
    font-style: normal;
    font-weight: 400;
    src: url("../fonts/GothamSSm-Book-Inrecho.woff2") format('woff2');
}

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

html {
    font-size: 10px;
}

body {
    scrollbar-gutter: stable;
    scroll-behavior: smooth;
    padding-top: var(--header-height);
    overflow-x: hidden;
    font-family: mendl-serif-dawn, serif;
    font-weight: 400;
    color: var(--dark-blue);
    &.home {
        padding-top: 0;
    }
}

img {
    width: 100%;
    height: auto;
}

h1, h2, h3, h4 {
    text-wrap: balance;
    font-weight: 300;
    font-family: mendl-serif-dusk, serif;
    line-height: 1.2;
    &.red, .red {
        color: var(--red);
    }
}

p, ul, ol {
    margin: 0 0 1rem;
    padding-left: 0;
    text-wrap: pretty;
    font: 300 1.6rem/1.3 SourceSansPro, sans-serif;
    &.large {
        text-wrap: balance;
        font-size: 2rem;
    }
}

a {
    text-decoration: none;
    color: currentColor;
    &.prev, &.next, &.return {
        display: block;
        opacity: .3;
        font: 400 1.4rem SourceSansPro, sans-serif;
        background-repeat: no-repeat;
        background-size: .7rem auto;
    }
    &.prev, &.return {
        padding-left: 2rem;
        background-image: url("../images/arrow-left-dark-blue-uwYQngg.svg");
        background-position: left center;
    }
    &.next {
        text-align: right;
        padding-right: 2rem;
        background-image: url("../images/arrow-right-dark-blue-dFDmavZ.svg");
        background-position: right center;
    }
}

h1 {
    margin-block: 3rem 1.5rem;
    font-size: 3.6rem;
    font-weight: 200;
    line-height: 1;
    @media (width >= 768px) {
        font-size: 6rem;
        font-weight: 100;
    }
}
h2 {
    margin-bottom: 1.5rem;
    font-size: 3.6rem;
    font-weight: 300;
    @media (width >= 768px) {
        font-size: 4.2rem;
    }
    &.small, .small {
        text-transform: uppercase;
        letter-spacing: .1rem;
        font: 400 1.4rem mendl-serif-dawn, serif;
    }
}

fieldset {
    border: none;
}
input, textarea, select {
    font: 300 1.4rem SourceSansPro, sans-serif;
    &:focus-visible {
        outline: none;
    }
}

menu {
    list-style: none;
    text-transform: uppercase;
    font-family: GothamSSm, sans-serif;
}

.sm-hidden {
    @media (width < 768px) {
        display: none !important;
    }
}
.md-hidden {
    @media (width >= 768px) {
        display: none !important;
    }
}

.container {
    padding-inline: 1.5rem;
    @media (width >= 768px) {
        padding-inline: 5vw;
    }
    @media (width >= 1024px) {
        padding-inline: 10vw;
    }
    @media (width >= 1280px) {
        padding-inline: 15vw;
    }
    &.container-extended {
        @media (width >= 1024px) {
            padding-inline: 7.5vw;
        }
    }
}

.sticky {
    position: sticky !important;
    top: var(--header-height);
    & + *:not(.sticky) {
        position: relative;
        z-index: 1;
    }
}
.sm-sticky {
    position: relative;
    z-index: 1;
    @media (width < 768px) {
        position: sticky !important;
        top: var(--header-height);
    }
}
.md-sticky {
    position: relative;
    z-index: 1;
    @media (width >= 768px) {
        position: sticky !important;
        top: var(--header-height);
    }
}

.button {
    display: block;
    width: fit-content;
    text-transform: uppercase;
    padding: 1rem 4.8rem 1rem 2.7rem;
    border: 1px solid var(--dark-blue);
    font-family: mendl-serif-dawn, serif;
    font-size: 1.2rem;
    letter-spacing: .1rem;
    background: var(--dark-blue) url("../images/arrow-white-rp2zNkm.svg") no-repeat calc(100% - 1.5rem) center / 1.5rem auto;
    color: #fff;
    cursor: pointer;
    transition: all .4s;
    &:hover {
        padding-right: 5.4rem;
        background-color: #fff;
        background-size: 1.8rem auto;
        background-image: url("../images/arrow-dark-blue-u43t2D2.svg");
        color: var(--dark-blue);
    }
    &.beige {
        border: 1px solid var(--beige);
        background-color: var(--beige);
        background-image: url("../images/arrow-dark-blue-u43t2D2.svg");
        color: var(--dark-blue);
        &:hover {
            border-color: var(--dark-blue);
            background-color: var(--dark-blue);
            background-image: url("../images/arrow-beige-1RSml7S.svg");
            color: var(--beige);
        }
    }
    &.white, &.transparent {
        background-image: url("../images/arrow-dark-blue-u43t2D2.svg");
        color: var(--dark-blue);
        &:hover {
            background-color: var(--dark-blue);
            background-image: url("../images/arrow-white-rp2zNkm.svg");
            color: #fff;
        }
    }
    &.white {
        background-color: #fff;
    }
    &.transparent {
        background-color: transparent;
    }
}

.banner {
    display: block;
    width: 100%;
}
.banner-wrapper {
    position: relative;
    .logo {
        position: absolute;
        width: 75%;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        @media (width >= 768px) {
            width: 40%;
        }
    }
}

.larger {
    @media (width < 768px) {
        padding: 3rem;
    }
    p {
        font-size: 2rem;
        font-weight: 400;
        line-height: 1.2;
        @media (width >= 768px) {
            max-width: 80%;
            font-size: 3rem;
        }
        em {
            font-weight: bold;
            color: var(--red);
        }
    }
    > .button {
        margin-block: 3rem;
    }
}

.hidden {
    display: none;
}

.top-text {
    padding-block: 3rem;
    background-color: #fff;
    h1 {
        margin-top: 0;
    }
    @media (width < 768px) {
        padding: 1.5rem 3rem;
    }
    @media (width >= 768px) {
        p {
            width: 60%;
        }
    }
}

.slides {
    @media (width >= 768px) {
        display: flex;
        flex-wrap: wrap;
    }
    > div {
        &:nth-child(1) {
            img {
                display: block !important;
                object-fit: cover;
            }
        }
        &:nth-child(2) .detail-wrapper {
            display: flex;
            flex-direction: column;
            .detail {
                position: relative;
                display: none;
                .number {
                    position: absolute;
                    z-index: -1;
                    top: -11rem;
                    left: 4rem;
                    font-size: 11rem;
                    font-weight: 300;
                    letter-spacing: .8rem;
                    opacity: .12;
                }
                .name {
                    font: 300 3.6rem mendl-serif-dusk, serif;
                    color: var(--red);
                    @media (width >= 1024px) {
                        font-size: 4.2rem;
                    }
                }
                p {
                    margin-block: 3rem;
                }
                &#detail-0 {
                    display: block;
                }
            }
        }
    }
}

.articles-wrapper {
    position: relative;
    z-index: 1;
    background-color: var(--gray-light);
    padding-block: 4.5rem 6rem;
    @media (width >= 768px) {
        padding-block: 9rem;
    }
    .articles {
        margin-top: 3rem;
        @media (width >= 768px) {
            grid-template-columns: repeat(3, minmax(0, 1fr));
            img {
                aspect-ratio: 1 / 1;
            }
        }
        @media (width < 768px) {
            .article-card {
                width: 80vw !important;
                margin-right: 1.5rem;
                img {
                    width: 80vw;
                    aspect-ratio: 4 / 5;
                }
            }
        }
    }
}

.controls {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    img {
        width: 3.6rem;
        height: 3.6rem;
        border-width: 1px;
        border-style: solid;
        padding: .8rem;
        object-fit: contain;
        cursor: pointer;
        border-color: var(--dark-blue);
    }
    > div {
        position: relative;
        flex: 1;
        height: 1px;
        background-color: var(--gray);
        > div {
            position: absolute;
            top: 0;
            left: 0;
            height: 1px;
            transition: transform .2s;
            background-color: var(--dark-blue);
        }
    }
}

.articles {
    display: grid;
    gap: 1.5rem;
    .article-card {
        margin-bottom: 1.5rem;
        img {
            object-fit: cover;
        }
        > p {
            &:nth-of-type(1) {
                margin-top: 1rem;
                font: 200 2rem mendl-serif-dawn, serif;
            }
            &:nth-of-type(2) {
                max-width: 100%;
                font-size: 1.3rem;
                font-weight: 300;
                line-height: 1.4;
                @media (width >= 768px) {
                    overflow: hidden;
                    white-space: nowrap;
                    margin-block: 1rem .5rem;
                    text-overflow: ellipsis;
                }
            }
        }
        > span {
            position: relative;
            padding-right: 2rem;
            text-transform: uppercase;
            font: 300 1.2rem mendl-serif-dawn, serif;
            letter-spacing: .1rem;
            background: url("../images/arrow-dark-blue-u43t2D2.svg") no-repeat right center / 1.5rem auto;
            transition: all .2s;
            &::after {
                position: absolute;
                content: '';
                left: 0;
                right: 0;
                bottom: -.5rem;
                height: 1px;
                background-color: #000;
                opacity: 0;
                transition: opacity .2s;
            }
            &:hover {
                padding-right: 2.5rem;
            }
            &:hover::after {
                opacity: 1;
            }
        }
    }
}

.product-card {
    > div {
        position: relative;
        aspect-ratio: 5 / 6;
        img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            background-color: #fff;
            &:nth-child(2) {
                position: absolute;
                inset: 0;
                opacity: 0;
                transition: opacity .6s;
            }
        }
    }
    > p {
        &:nth-of-type(1) {
            margin-block: 1rem .5rem;
            text-transform: uppercase;
            font-size: 1.6rem;
            font-family: mendl-serif-dawn, serif;
        }
        &:nth-of-type(2) {
            font-weight: 300;
            color: #999;
        }
    }
    @media (hover: hover) {
        &:hover > div img:nth-child(2) {
            opacity: 1;
        }
    }
}

.spacer {
    width: 100%;
    height: 100dvh;
}

.pattern-bg {
    padding: 6rem 3rem;
    text-align: center;
    color: var(--beige);
    background-image: url("../images/tile-W5KIe6_.png"), linear-gradient(#db3b1b, var(--red) 50%, #8d1800);
    background-repeat: repeat, no-repeat;
    background-position: center center;
    background-size: 12rem 12rem, cover;
}

header {
    position: fixed;
    z-index: 10;
    left: 0;
    right: 0;
    top: 0;
    height: var(--header-height);
    border-bottom: 1px solid #f1f1f1;
    padding: 1.5rem;
    display: flex;
    align-items: center;
    background-color: #fff;
    transition: all .2s;
    @media (width >= 768px) {
        padding-inline: 3rem;
    }
    &.hidden {
        opacity: 0;
        z-index: -1;
    }
    .logo-wrapper {
        height: 100%;
        img {
            height: 100%;
            width: auto;
        }
    }
    menu {
        li {
            a:not(.button) {
                padding: 1.5rem;
                font-size: 1.3rem;
                @media (width >= 768px) {
                    font-size: 1.2rem;
                }
            }
        }
    }
    > menu {
        margin-left: auto;
        li {
            display: inline-block;
            a:not(.button) {
                position: relative;
                display: inline-block;
                &::after {
                    position: absolute;
                    content: '';
                    left: 1.5rem;
                    right: 1.5rem;
                    bottom: 1rem;
                    height: 1px;
                    background-color: var(--dark-blue);
                    opacity: 0;
                    transition: opacity .4s;
                }
                &:hover::after {
                    opacity: 1;
                }
            }
            .button {
                margin-left: 1.5rem;
            }
        }
    }
    > .toggle {
        width: 4.8rem;
        height: 4.8rem;
        object-fit: contain;
        margin-left: auto;
    }
    > .close {
        display: none;
        width: 4.8rem;
        height: 4.8rem;
        margin-left: auto;
        padding: 0.8rem;
        border: 1px solid var(--dark-blue);
        border-radius: 50%;
    }


    .drawer {
        position: fixed;
        z-index: 1;
        top: var(--header-height);
        left: 100%;
        width: 100%;
        height: calc(100dvh - var(--header-height));
        transition: left .2s;
        background-color: #fff;
        &.open {
            left: 0;
        }
        > menu {
            display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: center;
            gap: 4.5rem;
            height: 50vh;
        }
    }
}

footer {
    display: flex;
    flex-direction: column;
    position: relative;
    z-index: 2;
    min-height: calc(100dvh - var(--header-height));
    text-transform: uppercase;
    > div:nth-child(1) {
        padding-block: 1.5rem;
        background-color: var(--gray-light);
        @media (width >= 768px) {
            display: flex;
        }
        > span {
            display: block;
            padding: 1.5rem 4.5rem;
            text-align: center;
            font-size: 1.4rem;
            letter-spacing: .1rem;
            color: var(--red);
            @media (width >= 768px) {
                display: grid;
                place-items: center;
                border-right: 2px solid var(--dark-blue);
            }
        }
        .partners {
            flex: 1;
            overflow: hidden;
            position: relative;
            padding-block: 1rem;
            img {
                margin-inline: 20px; /* using px to be consistent with the marquee plugin's config */
                width: auto;
                height: 4rem;
            }
            &::before, &::after {
                position: absolute;
                z-index: 1;
                top: 0;
                bottom: 0;
                width: 6rem;
                content: '';
            }
            &::before {
                left: 0;
                background-image: linear-gradient(to right, #fff, #fff 25%, #fff0);
            }
            &::after {
                right: 0;
                background-image: linear-gradient(to left, #fff, #fff 25%, #fff0);
            }
        }
    }
    > div:nth-child(2) {
        flex: 1;
        display: flex;
        flex-wrap: wrap;
        position: relative;
        padding: 3rem;
        font-size: 1.2rem;
        font-weight: 300;
        color: var(--beige);
        background-color: var(--dark-blue);
        @media (width >= 768px) {
            padding: 4.5rem;
        }
        > a {
            display: block;
            @media (width < 768px) {
                margin: 4.5rem auto 9rem;
                width: 24rem;
            }
            @media (width >= 768px) {
                width: 25vw;
            }
        }
        > div {
            &:nth-of-type(1) {
                .sns {
                    display: flex;
                    width: fit-content;
                    justify-content: space-between;
                    gap: 4.5rem;
                    img {
                        width: 3rem;
                        height: 3rem;
                        object-fit: contain;
                    }
                }
                .button {
                    border: 1px solid var(--beige);
                    color: var(--beige);
                    &:hover {
                        background-color: var(--beige);
                        color: var(--dark-blue);
                    }
                }
                @media (width < 768px) {
                    order: -1;
                    display: flex;
                    flex-direction: row;
                    justify-content: space-between;
                    align-items: flex-start;
                    width: 100%;
                    .sns img {
                        width: 3rem;
                        height: 3rem;
                    }
                }
                @media (width >= 768px) {
                    position: absolute;
                    top: 4.5rem;
                    right: 4.5rem;
                    .sns {
                        margin-left: auto;
                    }
                    .button {
                        margin-top: 3rem;
                    }
                }
            }
            &:nth-of-type(2) {
                a {
                    display: block;
                    padding-block: 1.2rem;
                }
                @media (width < 768px) {
                    width: 100%;
                    align-items: center;
                    text-align: center;
                    gap: 1.5rem;
                }
                @media (width >= 768px) {
                    text-align: right;
                    margin: 12rem 0 0 auto;
                    a {
                        padding-block: 1.5rem;
                    }
                }
            }
        }

        > span {
            display: block;
            width: 100%;
            margin-top: 1.8rem;
            border-top: 1px solid var(--beige);
            padding-top: 3rem;
            text-align: center;
            @media (width >= 768px) {
                margin-top: auto;
                padding-top: 4.5rem;
            }
        }
    }
}

