@import url("https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,400;0,500;0,600;1,500&family=Sora:wght@300;400;500;600;700&display=swap");

:root {
    --je-bg: #f1efeb;
    --je-text: #221e1a;
    --je-muted: #6e6760;
    --je-border: #d6d0c8;
    --je-gold: #a8894e;
    --je-ui: "Sora", "Helvetica Neue", Arial, sans-serif;
    --je-display: "Cormorant Garamond", Georgia, serif;
    --je-content-width: 1380px;
}

* {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    padding: 0;
    font-family: var(--je-ui);
    color: var(--je-text);
    background: var(--je-bg);
}

a {
    color: inherit;
}

.je-main {
    min-height: 72vh;
}

.je-header {
    border-top: 1px solid var(--je-border);
    border-bottom: 1px solid var(--je-border);
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(241, 239, 235, 0.96);
    backdrop-filter: blur(5px);
}

.je-header__bar {
    max-width: var(--je-content-width);
    margin: 0 auto;
    padding: 14px 28px;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 18px;
    align-items: center;
    border-bottom: 1px solid var(--je-border);
}

.je-header__search,
.je-header__action {
    text-transform: uppercase;
    font-size: 11px;
    letter-spacing: 0.16em;
    text-decoration: none;
    font-weight: 600;
}

.je-header__search {
    justify-self: start;
}

.je-header__brand {
    justify-self: center;
    text-decoration: none;
    display: grid;
    gap: 1px;
    text-align: center;
}

.je-header__brand-main {
    font-family: var(--je-display);
    font-size: clamp(38px, 3.4vw, 64px);
    line-height: 0.9;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    font-weight: 500;
}

.je-header__brand-sub {
    font-size: 10px;
    letter-spacing: 0.34em;
    text-transform: uppercase;
    color: var(--je-muted);
}

.je-header__actions {
    justify-self: end;
    display: flex;
    gap: 18px;
    flex-wrap: wrap;
}

.je-header__nav {
    max-width: var(--je-content-width);
    margin: 0 auto;
    padding: 10px 28px 12px;
}

.je-header__nav .nav {
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px 24px;
}

.je-header__nav .nav a {
    text-decoration: none;
    text-transform: uppercase;
    font-size: 11px;
    letter-spacing: 0.14em;
    font-weight: 500;
}

.je-header__nav .nav li.nav-current a {
    color: var(--je-gold);
}

.je-home {
    max-width: var(--je-content-width);
    margin: 0 auto;
    padding: 26px 28px 68px;
}

.je-hero {
    position: relative;
    border: 1px solid var(--je-border);
    background: #e4dfd8;
    min-height: 70vh;
    display: grid;
}

.je-hero__media-link {
    text-decoration: none;
}

.je-hero__media {
    position: absolute;
    inset: 0;
    overflow: hidden;
}

.je-hero__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.je-hero__veil {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(20, 16, 12, 0.1) 0%,
        rgba(20, 16, 12, 0.32) 58%,
        rgba(20, 16, 12, 0.6) 100%
    );
}

.je-hero__content {
    position: relative;
    z-index: 1;
    align-self: end;
    padding: clamp(24px, 4vw, 56px);
    color: #f6f1e8;
    max-width: 920px;
}

.je-overline {
    margin: 0 0 10px;
    text-transform: uppercase;
    font-size: 10px;
    letter-spacing: 0.18em;
    color: var(--je-muted);
    font-weight: 600;
}

.je-hero .je-overline {
    color: rgba(246, 241, 232, 0.78);
}

.je-hero__title {
    margin: 0;
    font-family: var(--je-display);
    font-weight: 500;
    font-size: clamp(58px, 8vw, 142px);
    line-height: 0.88;
    letter-spacing: 0.01em;
    text-transform: uppercase;
}

.je-hero__title a {
    text-decoration: none;
}

.je-hero__excerpt {
    margin: 14px 0 0;
    max-width: 640px;
    font-size: 15px;
    line-height: 1.7;
}

.je-hero__links {
    margin-top: 16px;
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

.je-link {
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.13em;
    font-size: 10px;
    font-weight: 600;
}

.je-section {
    margin-top: 64px;
}

.je-section__head {
    margin-bottom: 24px;
    max-width: 860px;
}

.je-section__title {
    margin: 0;
    font-family: var(--je-display);
    font-weight: 500;
    font-size: clamp(34px, 4vw, 68px);
    letter-spacing: 0.01em;
    line-height: 0.95;
    text-transform: uppercase;
}

.je-section__subtitle {
    margin: 10px 0 0;
    color: var(--je-muted);
    font-size: 14px;
    line-height: 1.65;
}

.je-editorial {
    display: grid;
    gap: 46px;
}

.je-story {
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(300px, 0.92fr);
    gap: 34px;
    border-top: 1px solid var(--je-border);
    padding-top: 28px;
}

.je-story--media-right .je-story__media-link {
    order: 2;
}

.je-story--media-right .je-story__content {
    order: 1;
}

.je-story__media-link {
    text-decoration: none;
}

.je-story__media {
    background: #e2ddd6;
    aspect-ratio: 4 / 5;
    overflow: hidden;
}

.je-story__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.je-story__content {
    align-self: center;
}

.je-story__title {
    margin: 0;
    font-family: var(--je-display);
    font-weight: 500;
    font-size: clamp(30px, 3.3vw, 56px);
    line-height: 0.96;
    letter-spacing: 0.01em;
    text-transform: uppercase;
}

.je-story__title a {
    text-decoration: none;
}

.je-story__excerpt {
    margin: 14px 0 0;
    color: var(--je-muted);
    font-size: 14px;
    line-height: 1.68;
    max-width: 520px;
}

.je-story__links {
    margin-top: 18px;
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

.je-section--shop {
    border-top: 1px solid var(--je-border);
    padding-top: 34px;
}

.je-shop-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
}

.je-shop-card {
    background: #f7f5f1;
    border: 1px solid var(--je-border);
    min-height: 100%;
}

.je-shop-card__media-link {
    text-decoration: none;
}

.je-shop-card__media {
    aspect-ratio: 1 / 1.18;
    background: #e4dfd8;
    overflow: hidden;
}

.je-shop-card__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.je-shop-card__meta {
    padding: 14px 12px 16px;
}

.je-shop-card__tag {
    margin: 0 0 8px;
    text-transform: uppercase;
    font-size: 9px;
    letter-spacing: 0.16em;
    color: var(--je-muted);
    font-weight: 600;
}

.je-shop-card__title {
    margin: 0;
    font-family: var(--je-display);
    font-weight: 500;
    font-size: clamp(24px, 1.6vw, 34px);
    line-height: 0.96;
    text-transform: uppercase;
}

.je-shop-card__title a {
    text-decoration: none;
}

.je-shop-card__detail {
    margin: 9px 0 0;
    color: var(--je-muted);
    font-size: 12px;
    line-height: 1.58;
}

.je-pagination {
    margin-top: 36px;
    border-top: 1px solid var(--je-border);
    padding-top: 18px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 16px;
}

.je-pagination__link {
    text-decoration: none;
    text-transform: uppercase;
    font-size: 10px;
    letter-spacing: 0.14em;
    color: var(--je-muted);
    font-weight: 600;
}

.je-pagination__meta {
    font-size: 12px;
    color: var(--je-muted);
}

.je-post {
    max-width: 1020px;
    margin: 0 auto;
    padding: 40px 24px 64px;
}

.je-post__title {
    margin: 0;
    font-family: var(--je-display);
    font-weight: 500;
    font-size: clamp(44px, 5.5vw, 88px);
    line-height: 0.92;
    letter-spacing: 0.01em;
    text-transform: uppercase;
}

.je-post__meta {
    margin: 14px 0 0;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    font-size: 10px;
    color: var(--je-muted);
}

.je-post__hero {
    margin: 26px 0 0;
    border: 1px solid var(--je-border);
    background: #e4dfd8;
    overflow: hidden;
}

.je-post__hero img {
    width: 100%;
    height: auto;
    display: block;
}

.je-post__content {
    margin-top: 26px;
    color: var(--je-text);
    font-size: 17px;
    line-height: 1.78;
}

.je-post__content h1,
.je-post__content h2,
.je-post__content h3 {
    font-family: var(--je-display);
    text-transform: uppercase;
    letter-spacing: 0.01em;
    line-height: 1;
}

.je-post__content img {
    max-width: 100%;
    height: auto;
}

.je-post__content a {
    color: #7b6231;
}

.je-post__content .je-product-grid {
    margin: 34px 0;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.je-post__content .je-product-card {
    border: 1px solid var(--je-border);
    background: #f7f5f1;
    text-decoration: none;
    display: block;
}

.je-post__content .je-product-card__media {
    aspect-ratio: 1 / 1.1;
    background: #e4dfd8;
    overflow: hidden;
}

.je-post__content .je-product-card__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.je-post__content .je-product-card__meta {
    padding: 12px;
}

.je-post__content .je-product-card__title {
    margin: 0;
    font-family: var(--je-display);
    text-transform: uppercase;
    letter-spacing: 0.01em;
    font-size: 30px;
    line-height: 0.96;
}

.je-post__content .je-product-card__color,
.je-post__content .je-product-card__price {
    margin: 8px 0 0;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--je-muted);
}

.je-post__footer {
    margin-top: 30px;
    border-top: 1px solid var(--je-border);
    padding-top: 16px;
}

.je-post__tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.je-post__tag {
    text-decoration: none;
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: var(--je-muted);
}

.je-post--page .je-post__title {
    font-size: clamp(36px, 4vw, 70px);
}

.je-footer {
    border-top: 1px solid var(--je-border);
}

.je-footer__inner {
    max-width: var(--je-content-width);
    margin: 0 auto;
    padding: 46px 28px 22px;
}

.je-footer__top {
    display: grid;
    grid-template-columns: minmax(320px, 1fr) minmax(300px, 1fr);
    gap: 44px;
}

.je-footer__brand {
    margin: 0;
    font-family: var(--je-display);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-size: clamp(36px, 3vw, 58px);
    line-height: 0.94;
    font-weight: 500;
}

.je-footer__description {
    margin: 18px 0 0;
    max-width: 620px;
    color: var(--je-muted);
    font-size: 14px;
    line-height: 1.7;
}

.je-footer__label {
    margin: 2px 0 20px;
    text-transform: uppercase;
    font-size: 10px;
    letter-spacing: 0.14em;
    color: var(--je-muted);
    font-weight: 600;
}

.je-footer__nav .nav {
    margin: 0;
    padding: 0;
    list-style: none;
    column-count: 2;
    column-gap: 28px;
}

.je-footer__nav .nav li {
    break-inside: avoid;
    margin-bottom: 10px;
}

.je-footer__nav .nav a {
    text-decoration: none;
    font-family: var(--je-display);
    text-transform: uppercase;
    font-size: clamp(21px, 1.9vw, 34px);
    line-height: 0.95;
    letter-spacing: 0.01em;
}

.je-footer__legal {
    margin: 40px 0 0;
    padding-top: 16px;
    border-top: 1px solid var(--je-border);
    text-transform: uppercase;
    letter-spacing: 0.14em;
    font-size: 9px;
    color: var(--je-muted);
}

.je-empty {
    margin: 0;
    padding: 20px;
    color: var(--je-muted);
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-size: 10px;
}

@media (max-width: 1180px) {
    .je-header__bar {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .je-header__search,
    .je-header__brand,
    .je-header__actions {
        justify-self: center;
    }

    .je-home {
        padding-top: 20px;
    }

    .je-hero {
        min-height: 58vh;
    }

    .je-story {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .je-story--media-right .je-story__media-link,
    .je-story--media-right .je-story__content {
        order: initial;
    }

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

    .je-footer__top {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

@media (max-width: 760px) {
    .je-header__bar,
    .je-header__nav,
    .je-home,
    .je-footer__inner {
        padding-left: 18px;
        padding-right: 18px;
    }

    .je-header__brand-main {
        font-size: clamp(34px, 13vw, 52px);
    }

    .je-header__brand-sub {
        letter-spacing: 0.2em;
    }

    .je-header__nav .nav {
        gap: 8px 12px;
    }

    .je-header__nav .nav a {
        font-size: 10px;
    }

    .je-hero {
        min-height: 68svh;
    }

    .je-hero__content {
        padding: 22px 18px;
    }

    .je-hero__title {
        font-size: clamp(48px, 18vw, 96px);
    }

    .je-shop-grid {
        grid-template-columns: 1fr;
    }

    .je-post {
        padding-left: 18px;
        padding-right: 18px;
    }

    .je-post__content {
        font-size: 16px;
    }

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

    .je-footer__nav .nav {
        column-count: 1;
    }
}
