/**
 * Theme Name: Starter Theme
 * Description: Reusable Timber v2 starter theme.
 * Author: Theme Team
 * Author URI: https://example.com
 * Version: 1.0.0
 * Text Domain: theme
 */

@font-face {
    font-family: "Bricolage Grotesque";
    src: url("assets/fonts/BricolageGrotesque-VariableFont_opsz,wdth,wght.ttf") format("truetype");
    font-display: block;
    font-style: normal;
    font-weight: 100 900;
    font-stretch: 75% 125%;
}

:root {
    --color-black: #000;
    --color-white: #fff;
    --color-gold: #d2ab67;

    --font-base: "Bricolage Grotesque", Arial, sans-serif;

    --grid-columns: 12;
    --grid-margin: 80px;
    --grid-gutter: 24px;

    --text-color: var(--color-black);
    --background-color: var(--color-white);
}

html {
    -webkit-text-size-adjust: 100%;
}

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

body {
    margin: 0;
    background: var(--background-color);
    color: var(--text-color);
    font-family: var(--font-base);
    font-size: 16px;
    font-weight: 500;
    line-height: normal;
    font-feature-settings: "liga" off, "clig" off;
    -webkit-font-smoothing: antialiased;
    text-rendering: geometricPrecision;
}

body.is-menu-open {
    overflow: hidden;
}

body.has-popup-open {
    overflow: hidden;
}

.page-transition {
    position: fixed;
    inset: 0;
    z-index: 2000;
    background: var(--color-gold);
    pointer-events: none;
    transform: translateY(-100%);
}

.site-popup {
    position: fixed;
    inset: 0;
    z-index: 3000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    opacity: 0;
    visibility: hidden;
}

.site-popup.is-open {
    opacity: 1;
    visibility: visible;
}

.site-popup__overlay {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
    border-radius: 0;
    padding: 0;
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    background: rgba(0, 0, 0, 0.55);
}

.site-popup__dialog {
    position: relative;
    z-index: 1;
    width: min(640px, 100%);
    padding: 32px;
    background: var(--color-white);
    border-radius: 20px;
    box-shadow: 0 16px 56px rgba(0, 0, 0, 0.2);
}

.site-popup__close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 40px;
    height: 40px;
    padding: 0;
    border-radius: 50%;
    font-size: 28px;
    line-height: 1;
}

.site-popup__title {
    margin-right: 56px;
}

.site-popup__text {
    margin-top: 16px;
    white-space: pre-line;
}

@media (max-width: 767px) {
    .site-popup {
        padding: 16px;
    }

    .site-popup__dialog {
        padding: 24px;
        border-radius: 16px;
    }

    .site-popup__close {
        top: 12px;
        right: 12px;
        width: 36px;
        height: 36px;
        font-size: 24px;
    }
}

html.is-page-entering .page-transition,
html.is-page-transitioning .page-transition {
    transform: translateY(0);
}

html.is-loading .site-header__inner,
html.is-loading .hero__title,
html.is-loading .hero__text,
html.is-loading .hero__slider,
html.is-loading .services__media,
html.is-loading .services__item,
html.is-loading .collections__content,
html.is-loading .collections__grid img,
html.is-loading .about__image,
html.is-loading .about__intro,
html.is-loading .about__detail,
html.is-loading .news__content,
html.is-loading .news-card,
html.is-loading .collection-page__grid img,
html.is-loading .legal-page__title,
html.is-loading .legal-page__content,
html.is-loading .error-page__content,
html.is-loading .site-footer__logo,
html.is-loading .site-footer__actions,
html.is-loading .site-footer__line,
html.is-loading .site-footer__address,
html.is-loading .site-footer__legal {
    opacity: 0;
}

img,
svg,
video {
    display: block;
    max-width: 100%;
    height: auto;
}

h1,
h2,
h3,
p {
    margin-block: 0;
}

h1 {
    color: var(--color-black);
    font-family: var(--font-base);
    font-size: 64px;
    font-style: normal;
    font-weight: 600;
    line-height: 100%;
    letter-spacing: -3px;
    text-transform: uppercase;
}

h2 {
    color: var(--color-black);
    font-family: var(--font-base);
    font-size: 56px;
    font-style: normal;
    font-weight: 500;
    line-height: 100%;
    letter-spacing: -3px;
    text-transform: uppercase;
}

h3 {
    color: var(--color-black);
    font-family: var(--font-base);
    font-size: 40px;
    font-style: normal;
    font-weight: 500;
    line-height: 100%;
    letter-spacing: -2px;
    text-transform: uppercase;
}

p {
    color: var(--color-black);
    font-family: var(--font-base);
    font-size: 16px;
    font-style: normal;
    font-weight: 500;
    line-height: normal;
}

a {
    color: var(--color-black);
    font-family: var(--font-base);
    font-size: 16px;
    font-style: normal;
    font-weight: 500;
    line-height: normal;
    text-decoration: none;
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
}

button,
.button,
.wp-block-button__link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 24px;
    border: 0;
    border-radius: 999px;
    background: var(--color-black);
    color: var(--color-white);
    font-family: var(--font-base);
    font-size: 14px;
    font-style: normal;
    font-weight: 500;
    line-height: 100%;
    cursor: pointer;
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
}

a:active,
a:focus,
button:active,
button:focus {
    outline-color: currentColor;
}

.button:active,
.button:focus,
.wp-block-button__link:active,
.wp-block-button__link:focus {
    background: var(--color-black);
    color: var(--color-white);
}

.container {
    width: calc(100% - (var(--grid-margin) * 2));
    margin-inline: auto;
}

.site-grid {
    display: grid;
    grid-template-columns: repeat(var(--grid-columns), minmax(0, 1fr));
    column-gap: var(--grid-gutter);
    width: calc(100% - (var(--grid-margin) * 2));
    margin-inline: auto;
}

.site-grid>* {
    grid-column: 1 / -1;
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
}

.site-header.is-menu-open {
    z-index: 1000;
}

.site-header__inner {
    position: relative;
    z-index: 2;
    align-items: start;
    padding-top: 40px;
}

.site-logo {
    grid-column: 1 / span 2;
    display: block;
    max-width: 144px;
}

.site-logo img {
    width: 100%;
    height: auto;
}

.site-header--on-gold .site-logo img {
    filter: brightness(0) saturate(100%);
}

.site-header.is-menu-open .site-logo img {
    filter: brightness(0) saturate(100%);
}

.site-nav {
    grid-column: 4 / -1;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 24px;
}

.site-nav__list {
    display: flex;
    align-items: center;
    gap: 24px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.site-nav__button {
    flex: 0 0 auto;
}

.site-menu-toggle {
    display: none;
}

.site-offcanvas {
    display: none;
}

.hero {
    margin-top: 240px;
}

.hero__title {
    grid-column: 1 / span 5;
}

.hero__text {
    grid-column: 7 / -1;
    align-self: end;
}

.hero__slider {
    width: 100vw;
    aspect-ratio: 2 / 1;
    margin-top: 32px;
}

.hero__slider .swiper-slide,
.hero__slider img {
    width: 100%;
    height: 100%;
}

.hero__slider img {
    object-fit: cover;
}

.services {
    padding-block: 144px;
    background: var(--color-gold);
}

section[id] {
    scroll-margin-top: 120px;
}

.services__media {
    position: relative;
    grid-column: 1 / span 6;
    aspect-ratio: 3 / 2;
    overflow: hidden;
}

.services__image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    aspect-ratio: 3 / 2;
    object-fit: cover;
    opacity: 0;
}

.services__image.is-active {
    opacity: 1;
}

.services__accordion {
    grid-column: 8 / -1;
    align-self: center;
}

.services__item {
    border-bottom: 1px solid var(--color-black);
}

.services__heading {
    margin: 0;
}

.services__trigger {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 0 0 32px;
    border: 0;
    border-radius: 0;
    background: transparent;
    color: var(--color-black);
    cursor: pointer;
    text-align: left;
}

.services__item+.services__item .services__trigger {
    padding-top: 32px;
}

.services__trigger span {
    color: var(--color-black);
    font-family: var(--font-base);
    font-size: 56px;
    font-style: normal;
    font-weight: 500;
    line-height: 100%;
    letter-spacing: -3px;
    text-transform: uppercase;
}

.services__trigger img {
    width: 32px;
    height: 32px;
    flex: 0 0 auto;
    color: var(--color-black);
}

.services__panel {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    column-gap: var(--grid-gutter);
    height: 0;
    overflow: hidden;
    opacity: 0;
}

.services__panel p {
    grid-column: 1 / span 4;
}

.collections {
    padding-block: 144px;
}

.collections__content {
    grid-column: 1 / span 6;
    align-self: center;
}

.collections__content p {
    width: calc(((100% - (var(--grid-gutter) * 5)) / 6 * 5) + (var(--grid-gutter) * 4));
    margin-top: 16px;
}

.collections__button {
    margin-top: 40px;
}

.collections__button--mobile {
    display: none;
}

.collections__grid {
    grid-column: 7 / -1;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: var(--grid-gutter);
}

.collections__grid img {
    width: 100%;
    aspect-ratio: 2 / 3;
    object-fit: cover;
}

.about {
    padding: 0 0 144px;
}

.about__image {
    grid-column: 1 / -1;
    width: 100%;
    aspect-ratio: 3 / 2;
    object-fit: cover;
}

.about__intro {
    grid-column: 1 / span 5;
    margin-top: 64px;
}

.about__intro p {
    margin-top: 16px;
}

.about__button {
    margin-top: 40px;
}

.about__details {
    grid-column: 7 / span 5;
    margin-top: 64px;
}

.about__detail h3 {
    padding-bottom: 16px;
    border-bottom: 1px solid var(--color-black);
}

.about__detail p {
    margin-top: 16px;
}

.about__detail + .about__detail {
    margin-top: 48px;
}

.about__detail-button {
    margin-top: 24px;
}

.news {
    padding: 0 0 144px;
    overflow: hidden;
}

.news__content {
    grid-column: 1 / span 3;
    align-self: stretch;
    display: flex;
    flex-direction: column;
}

.news__content p {
    margin-top: 16px;
}

.news__button {
    align-self: flex-start;
    margin-top: 40px;
}

.news__button--mobile,
.news__mobile-actions {
    display: none;
}

.news__slider-clip {
    grid-column: 5 / -1;
    width: calc(100% + var(--grid-margin));
    overflow: hidden;
}

.news__slider {
    overflow: visible;
}

.news-card {
    position: relative;
    width: calc(((100vw - (var(--grid-margin) * 2) - (var(--grid-gutter) * 11)) / 12 * 3) + (var(--grid-gutter) * 2));
    aspect-ratio: 4 / 5;
    overflow: hidden;
}

.news-card img,
.news-card video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.news-card__overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: flex-end;
    padding: 24px;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0) 20%, rgba(0, 0, 0, 0.72) 100%);
    color: var(--color-white);
    opacity: 0;
}

.news-card__overlay span {
    color: var(--color-white);
    font-size: 12px;
}

.news__controls {
    display: flex;
    gap: 16px;
    margin-top: auto;
}

.news__arrow {
    width: auto;
    height: auto;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    color: var(--color-black);
    font-size: 20px;
    line-height: 1;
}

.news__arrow img {
    width: 32px;
    height: 32px;
}

.collection-page {
    padding-block: 80px 144px;
}

.collection-page__grid {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: var(--grid-gutter);
}

.collection-page__grid img {
    width: 100%;
    aspect-ratio: 2 / 3;
    object-fit: cover;
}

.legal-page {
    padding-block: 80px 144px;
}

.legal-page__title {
    grid-column: 1 / span 6;
}

.legal-page__content {
    grid-column: 7 / -1;
}

.legal-page__content > * + * {
    margin-top: 16px;
}

.error-page {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 60vh;
    padding-block: 80px 144px;
    text-align: center;
}

.error-page__content {
    width: calc(100% - (var(--grid-margin) * 2));
    max-width: 720px;
    margin-inline: auto;
}

.error-page__content p {
    margin-top: 16px;
}

.error-page__button {
    margin-top: 40px;
}

.site-footer {
    padding-block: 120px;
    background: var(--color-gold);
}

.site-footer__inner {
    align-items: center;
}

.site-footer__logo {
    grid-column: 1 / span 1;
    display: block;
}

.site-footer__logo img {
    width: 100%;
    height: auto;
    filter: brightness(0) saturate(100%);
}

.site-footer__actions {
    grid-column: 7 / -1;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 16px;
}

.site-footer__line {
    grid-column: 1 / -1;
    height: 1px;
    margin-top: 32px;
    background: var(--color-black);
}

.site-footer__address {
    grid-column: 1 / span 5;
    margin-top: 32px;
}

.site-footer__legal {
    grid-column: 7 / -1;
    display: flex;
    justify-content: flex-end;
    gap: 24px;
    margin-top: 32px;
}

.full-bleed {
    width: 100vw;
    margin-inline: calc(50% - 50vw);
}

.bleed-left {
    margin-left: calc(var(--grid-margin) * -1);
}

.bleed-right {
    margin-right: calc(var(--grid-margin) * -1);
}

.off-canvas-menu a,
.offcanvas-menu a,
.site-offcanvas__nav a {
    color: var(--color-black);
    font-family: var(--font-base);
    font-size: 64px;
    font-style: normal;
    font-weight: 500;
    line-height: 100%;
    letter-spacing: -3px;
    text-transform: uppercase;
}

@media (max-width: 1100px) {
    .site-logo {
        position: relative;
        z-index: 12;
    }

    .site-nav {
        display: none;
    }

    .site-menu-toggle {
        grid-column: 12 / span 1;
        justify-self: end;
        align-self: center;
        position: relative;
        z-index: 12;
        display: flex;
        flex-direction: column;
        justify-content: center;
        gap: 8px;
        width: 44px;
        height: 32px;
        padding: 0;
        border: 0;
        border-radius: 0;
        background: transparent;
        color: var(--color-black);
        -webkit-tap-highlight-color: transparent;
        touch-action: manipulation;
    }

    .site-menu-toggle span {
        display: block;
        width: 44px;
        height: 2px;
        background: currentColor;
        transform-origin: center;
    }

    .site-offcanvas {
        position: fixed;
        inset: 0;
        z-index: 1;
        display: flex;
        flex-direction: column;
        justify-content: center;
        padding: 128px var(--grid-margin) 104px;
        background: var(--color-gold);
        opacity: 0;
        pointer-events: none;
        transform: translateY(-16px);
    }

    .site-header.is-menu-open .site-offcanvas {
        pointer-events: auto;
    }

    .site-offcanvas__nav {
        display: flex;
        flex-direction: column;
        justify-content: center;
        gap: 24px;
        flex: 1;
    }

    .site-offcanvas__nav a {
        font-size: 40px;
        line-height: 100%;
        letter-spacing: -1px;
    }

    .site-offcanvas__button {
        align-self: flex-start;
        margin-top: 0;
        color: var(--color-white);
        font-size: 14px;
        line-height: 100%;
        letter-spacing: normal;
        text-transform: none;
    }

    .hero__title,
    .hero__text {
        grid-column: 1 / -1;
    }

    .hero__text {
        margin-top: 24px;
    }

    .services__media,
    .services__accordion {
        grid-column: 1 / -1;
    }

    .services__media {
        order: 2;
        margin-top: 48px;
    }

    .services__accordion {
        order: 1;
    }

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

    .services__panel p {
        grid-column: 1 / span 8;
    }

    .collections__content,
    .collections__grid {
        grid-column: 1 / -1;
    }

    .collections__content p {
        width: 100%;
    }

    .collections__grid {
        margin-top: 48px;
    }

    .about__intro,
    .about__details {
        grid-column: 1 / -1;
    }

    .about__details {
        margin-top: 80px;
    }

    .news__content,
    .news__slider-clip,
    .news__mobile-actions {
        grid-column: 1 / -1;
    }

    .news__slider-clip {
        margin-top: 48px;
    }

    .news-card {
        width: calc(((100vw - (var(--grid-margin) * 2) - (var(--grid-gutter) * 11)) / 12 * 6) + (var(--grid-gutter) * 5));
    }

    .news__button--desktop,
    .news__controls--desktop {
        display: none;
    }

    .news__mobile-actions {
        display: flex;
        align-items: center;
        justify-content: space-between;
        margin-top: 24px;
    }

    .news__mobile-actions .news__controls,
    .news__button--mobile {
        margin-top: 0;
    }

    .news__button--mobile {
        display: inline-flex;
    }

    .site-footer__logo {
        grid-column: 1 / span 3;
    }
}

@media (max-width: 767px) {
    :root {
        --grid-columns: 6;
        --grid-margin: 16px;
        --grid-gutter: 16px;
    }

    h1 {
        font-size: 44px;
        font-weight: 600;
        line-height: 100%;
        letter-spacing: -1.1px;
        text-transform: uppercase;
    }

    h2 {
        color: var(--color-black);
        font-family: var(--font-base);
        font-size: 40px;
        font-style: normal;
        font-weight: 500;
        line-height: 100%;
        letter-spacing: -1px;
        text-transform: uppercase;
    }

    h3 {
        font-size: 24px;
        font-weight: 500;
        line-height: 100%;
        letter-spacing: -0.6px;
        text-transform: uppercase;
    }

    p,
    a {
        font-size: 16px;
        font-weight: 500;
        line-height: normal;
    }

    .site-header__inner {
        padding-top: 24px;
    }

    .site-logo {
        grid-column: 1 / span 3;
        max-width: 100px;
    }

    .site-menu-toggle {
        grid-column: 6 / span 1;
    }

    .hero {
        margin-top: 240px;
    }

    .hero__title,
    .hero__text {
        grid-column: 1 / -1;
    }

    .hero__text {
        margin-top: 24px;
    }

    .hero__slider {
        aspect-ratio: 4 / 3;
    }

    .services {
        padding-block: 104px;
    }

    .services__media,
    .services__accordion {
        grid-column: 1 / -1;
    }

    .services__media {
        order: 2;
        margin-top: 48px;
    }

    .services__accordion {
        order: 1;
    }

    .services__trigger span {
        font-size: 40px;
        line-height: 100%;
        letter-spacing: -1px;
        text-transform: uppercase;
    }

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

    .services__panel p {
        grid-column: 1 / -1;
    }

    .collections {
        padding-block: 120px;
    }

    .collections__content,
    .collections__grid {
        grid-column: 1 / -1;
    }

    .collections__content p {
        width: 100%;
    }

    .collections__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        margin-top: 48px;
    }

    .collections__button--desktop {
        display: none;
    }

    .collections__button--mobile {
        grid-column: 1 / -1;
        display: inline-flex;
        justify-self: center;
        margin-top: 40px;
    }

    .about {
        padding: 0 0 96px;
    }

    .about__image,
    .about__intro,
    .about__details {
        grid-column: 1 / -1;
    }

    .about__intro {
        margin-top: 48px;
    }

    .about__details {
        margin-top: 80px;
    }

    .news {
        padding: 0 0 96px;
        overflow: hidden;
    }

    .news__content,
    .news__slider-clip,
    .news__mobile-actions {
        grid-column: 1 / -1;
    }

    .news__slider-clip {
        width: calc(100% + var(--grid-margin));
        margin-top: 48px;
    }

    .news-card {
        width: calc(((100vw - (var(--grid-margin) * 2) - (var(--grid-gutter) * 5)) / 6 * 5) + (var(--grid-gutter) * 4));
    }

    .news__controls {
        margin-top: 24px;
    }

    .news__button--desktop,
    .news__controls--desktop {
        display: none;
    }

    .news__mobile-actions {
        display: flex;
        align-items: center;
        justify-content: space-between;
        margin-top: 24px;
    }

    .news__mobile-actions .news__controls,
    .news__button--mobile {
        margin-top: 0;
    }

    .news__button--mobile {
        display: inline-flex;
    }

    .site-footer {
        padding-block: 120px;
    }

    .collection-page {
        padding-block: 80px 120px;
    }

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

    .legal-page {
        padding-block: 80px 120px;
    }

    .legal-page__title,
    .legal-page__content {
        grid-column: 1 / -1;
    }

    .legal-page__content {
        margin-top: 40px;
    }

    .error-page {
        min-height: 50vh;
        padding-block: 80px 120px;
    }

    .site-footer__logo {
        grid-column: 1 / span 3;
    }

    .site-footer__address,
    .site-footer__legal {
        grid-column: 1 / -1;
    }

    .site-footer__actions {
        grid-column: 4 / -1;
        align-self: center;
        flex-direction: column;
        align-items: flex-end;
        justify-content: center;
        margin-top: 0;
    }

    .site-footer__legal {
        justify-content: flex-start;
        flex-wrap: wrap;
        margin-top: 16px;
    }

    .off-canvas-menu a,
    .offcanvas-menu a,
    .site-offcanvas__nav a {
        color: var(--color-black);
        font-family: var(--font-base);
        font-size: 40px;
        font-style: normal;
        font-weight: 500;
        line-height: 100%;
        letter-spacing: -1px;
        text-transform: uppercase;
    }
}