:root {
    --ivory: #f7f4ef;
    --paper: #fffcf8;
    --ink: #2f281f;
    --muted: #6d6256;
    --line: #e3d9cc;
    --olive: #3e432f;
    --sage: #6d6c52;
    --serif: "Cormorant Garamond", "Palatino Linotype", Palatino, Georgia, serif;
    --sans: "Outfit", "Helvetica Neue", Arial, sans-serif;
    --header: 96px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: var(--ivory);
    color: var(--ink);
    font-family: var(--sans);
    font-weight: 300;
    font-size: 16px;
    line-height: 1.6;
}

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

a {
    color: inherit;
    text-decoration-thickness: 1px;
    text-underline-offset: 0.28em;
}

button,
input,
select,
textarea {
    font: inherit;
    color: inherit;
}

h1, h2, h3, h4 {
    font-family: var(--serif);
    font-weight: 500;
    letter-spacing: -0.03em;
    line-height: 1.05;
}

.skip-link {
    position: absolute;
    left: 1rem;
    top: -4rem;
    background: var(--ink);
    color: var(--ivory);
    padding: 0.5rem 0.8rem;
    z-index: 20;
}

.skip-link:focus {
    top: 1rem;
}

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

.site-header {
    position: sticky;
    top: 0;
    z-index: 30;
    background: rgba(247, 244, 239, 0.94);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid transparent;
}

.header-inner {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 1rem;
    min-height: var(--header);
    max-width: 1360px;
    margin: 0 auto;
    padding: 0.6rem 2rem;
}

.nav-primary .menu,
.footer-menu {
    display: flex;
    gap: 1.7rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.nav-primary a {
    color: var(--ink);
    text-decoration: none;
    font-size: 0.94rem;
    font-weight: 400;
    letter-spacing: 0.01em;
}

.nav-primary .current-menu-item > a,
.nav-primary .current_page_item > a {
    text-decoration: underline;
    text-underline-offset: 0.45em;
}

.brand {
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--ink);
    text-decoration: none;
    line-height: 1;
}

.brand__logo {
    width: clamp(7.5rem, 12vw, 9.75rem);
    height: auto;
}

.header-tools {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 1.15rem;
}

.tool {
    display: inline-flex;
    position: relative;
    width: 1.6rem;
    height: 1.6rem;
    padding: 0;
    border: 0;
    background: transparent;
    color: var(--ink);
    cursor: pointer;
}

.tool svg {
    width: 1.45rem;
    height: 1.45rem;
}

.cart-count {
    position: absolute;
    top: -0.35rem;
    right: -0.5rem;
    min-width: 1rem;
    height: 1rem;
    padding: 0 0.25rem;
    border-radius: 999px;
    background: var(--olive);
    color: var(--ivory);
    font-size: 0.62rem;
    line-height: 1rem;
    text-align: center;
}

.nav-toggle {
    display: none;
    width: 2.4rem;
    height: 2.4rem;
    padding: 0;
    border: 0;
    background: transparent;
    cursor: pointer;
}

.nav-toggle__bars,
.nav-toggle__bars::before,
.nav-toggle__bars::after {
    display: block;
    width: 1.15rem;
    height: 1px;
    background: var(--ink);
    position: relative;
}

.nav-toggle__bars::before,
.nav-toggle__bars::after {
    content: "";
    position: absolute;
    left: 0;
}

.nav-toggle__bars::before { top: -6px; }
.nav-toggle__bars::after { top: 6px; }

.search-panel {
    border-top: 1px solid var(--line);
    background: var(--ivory);
}

.search-panel__form {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    align-items: center;
    max-width: 1360px;
    margin: 0 auto;
    padding: 0.9rem 2rem 1.1rem;
}

.search-panel input[type="search"] {
    flex: 1 1 16rem;
    border: 0;
    border-bottom: 1px solid var(--ink);
    background: transparent;
    padding: 0.55rem 0;
    border-radius: 0;
}

.search-panel input[aria-invalid="true"] {
    border-bottom-color: #8d3b32;
}

.search-panel button,
.field-error {
    margin: 0;
}

.search-panel button {
    border: 0;
    background: transparent;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    font-size: 0.75rem;
    cursor: pointer;
}

.field-error {
    flex-basis: 100%;
    color: #8d3b32;
    font-size: 0.85rem;
}

.hero {
    position: relative;
    width: min(1440px, calc(100% - 2.5rem));
    aspect-ratio: 2.15 / 1;
    min-height: 420px;
    margin: 0.4rem auto 0;
    overflow: hidden;
    background: #efe8df;
}

.hero__image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 50% 64%;
}

.hero__copy {
    position: absolute;
    z-index: 1;
    top: 46%;
    right: 6%;
    width: min(28rem, 42%);
    transform: translateY(-50%);
    text-align: center;
    color: #3a3127;
}

.hero__copy::before {
    content: "";
    position: absolute;
    z-index: -1;
    inset: -18% -12%;
    background: radial-gradient(ellipse at center, rgba(247, 244, 239, 0.72), rgba(247, 244, 239, 0.08) 68%, transparent 74%);
}

.hero__logo {
    display: block;
    width: min(15rem, 78%);
    height: auto;
    margin: 0 auto 1.1rem;
}

.hero h1 {
    margin: 0;
    font-size: clamp(2.8rem, 4vw, 4.15rem);
    font-weight: 500;
}

.hero h1 em {
    display: block;
    font-style: italic;
    font-weight: 500;
}

.hero__status {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.9rem;
    margin: 1.1rem 0 1.3rem;
    font-size: 0.72rem;
    letter-spacing: 0.28em;
    text-transform: uppercase;
}

.hero__status::before,
.hero__status::after {
    content: "";
    width: 2.6rem;
    height: 1px;
    background: #9b8b78;
}

.hero__tagline {
    max-width: 11rem;
    margin: 0 0 0 auto;
    font-family: var(--serif);
    font-style: italic;
    font-size: 1.45rem;
    line-height: 1.25;
    text-align: left;
}

.hero__link {
    display: inline-block;
    margin-top: 1.2rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    font-size: 0.75rem;
}

.virtues {
    max-width: 1180px;
    margin: 0 auto;
    padding: 1.35rem 1.5rem;
}

.virtues ul {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.virtues li {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.7rem;
    color: #3f382f;
    font-size: 0.95rem;
    font-weight: 400;
}

.virtues svg {
    width: 1.7rem;
    height: 1.7rem;
    flex: 0 0 auto;
}

.collections,
.page-wrap {
    max-width: 1240px;
    margin: 0 auto;
    padding: 1.5rem 1.5rem 4.5rem;
}

.collections__head,
.page-intro {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 1.5rem;
    margin-bottom: 1.4rem;
}

.collections h2,
.page-intro h1,
.woocommerce-products-header__title {
    margin: 0;
    font-size: clamp(2.6rem, 5vw, 4rem);
}

.collections__head p,
.lede {
    max-width: 38rem;
    margin: 0.7rem 0 0;
    color: var(--muted);
}

.eyebrow {
    margin: 0 0 0.4rem;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    font-size: 0.72rem;
    color: var(--muted);
}

.text-link {
    letter-spacing: 0.08em;
    white-space: nowrap;
}

.text-link::after {
    content: " →";
}

.collection-grid,
.woocommerce ul.products {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.woocommerce ul.products::before,
.woocommerce ul.products::after {
    display: none;
}

.woocommerce ul.products li.product,
.collection-grid > li {
    width: auto !important;
    float: none !important;
    margin: 0 !important;
}

.collection-card {
    position: relative;
    display: block;
    aspect-ratio: 3 / 4.05;
    overflow: hidden;
    color: #f6f3ec;
    text-decoration: none;
    background: #d9d0c4;
}

.collection-card img,
.product-card__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.collection-card:hover img,
.product-card__media:hover img {
    transform: scale(1.035);
}

.collection-card__meta {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 1rem;
    padding: 4.5rem 1.15rem 1.05rem;
    background: linear-gradient(180deg, rgba(90, 89, 64, 0), rgba(104, 102, 74, 0.78) 46%, rgba(86, 84, 60, 0.94));
}

.collection-card strong,
.collection-card em {
    display: block;
}

.collection-card strong {
    font-family: var(--serif);
    font-size: 1.7rem;
    font-style: normal;
    font-weight: 500;
    letter-spacing: -0.03em;
}

.collection-card em {
    margin-top: 0.15rem;
    font-style: normal;
    font-size: 0.92rem;
    opacity: 0.9;
}

.collection-card__arrow svg {
    width: 2rem;
    height: 2rem;
}

.product-card__media {
    display: block;
    aspect-ratio: 3 / 4;
    overflow: hidden;
    background: #ece4da;
}

.product-card__body {
    padding: 0.9rem 0.1rem 0.2rem;
}

.product-card__body h2 {
    margin: 0;
    font-family: var(--serif);
    font-size: 1.55rem;
    font-weight: 500;
}

.product-card__body a {
    text-decoration: none;
}

.product-card__body .price,
.look__price {
    margin: 0.25rem 0 0;
    color: var(--muted);
    font-size: 0.92rem;
    letter-spacing: 0.04em;
}

.woocommerce-result-count,
.woocommerce-ordering {
    margin: 0 0 1rem;
    color: var(--muted);
    font-size: 0.9rem;
}

.woocommerce-ordering select,
.woocommerce form .form-row input.input-text,
.woocommerce form .form-row textarea,
.woocommerce form .form-row select,
.woocommerce-input-wrapper input,
.woocommerce-input-wrapper select,
.woocommerce-input-wrapper textarea {
    width: 100%;
    border: 1px solid #ddd4c8;
    background: var(--paper);
    padding: 0.75rem 0.85rem;
    border-radius: 0;
}

.woocommerce form .form-row.woocommerce-invalid input.input-text,
.woocommerce form .form-row.woocommerce-invalid select,
.woocommerce form .form-row.woocommerce-invalid textarea {
    border-color: #8d3b32;
    box-shadow: none;
}

.woocommerce div.product {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(18rem, 0.9fr);
    gap: 3rem;
    align-items: start;
}

.woocommerce div.product div.images,
.woocommerce div.product div.summary {
    float: none !important;
    width: auto !important;
    margin: 0 !important;
}

.woocommerce div.product div.images img {
    width: 100%;
}

.woocommerce div.product .product_title {
    margin: 0 0 0.4rem;
    font-size: clamp(2.4rem, 4vw, 3.6rem);
}

.woocommerce div.product p.price {
    margin: 0 0 1rem;
    color: var(--ink);
    font-size: 1.05rem;
    letter-spacing: 0.06em;
}

.woocommerce div.product .woocommerce-product-details__short-description {
    color: var(--muted);
    font-size: 1.02rem;
}

.swatches {
    margin: 0.4rem 0 1.2rem;
}

.swatches__label,
.look__meta {
    display: block;
    margin-bottom: 0.45rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    font-size: 0.72rem;
    color: var(--muted);
}

.swatches__list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.swatch {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.35rem 0.7rem 0.35rem 0.4rem;
    border: 1px solid var(--line);
    text-decoration: none;
    font-size: 0.88rem;
}

.swatch.is-current {
    border-color: var(--ink);
}

.swatch__dot {
    width: 0.85rem;
    height: 0.85rem;
    border-radius: 50%;
    background: var(--swatch);
}

.inquire {
    margin: 0.8rem 0 0;
}

.inquire a {
    letter-spacing: 0.08em;
    font-size: 0.92rem;
}

.woocommerce div.product form.cart {
    display: flex;
    flex-wrap: wrap;
    gap: 0.7rem;
    align-items: center;
    margin-top: 0.4rem;
}

.woocommerce div.product form.cart .quantity .qty {
    width: 4.5rem;
    padding: 0.8rem 0.4rem;
    border: 1px solid var(--ink);
    background: transparent;
    text-align: center;
}

.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce a.button.alt,
.woocommerce button.button.alt,
button.button {
    border: 0;
    border-radius: 999px;
    background: var(--olive);
    color: #f6f3ec;
    padding: 0.9rem 1.5rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    font-size: 0.75rem;
    font-weight: 400;
    cursor: pointer;
}

.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce input.button:hover,
.woocommerce a.button.alt:hover,
.woocommerce button.button.alt:hover {
    background: #2c3122;
    color: #f6f3ec;
}

.woocommerce div.product .woocommerce-tabs {
    grid-column: 1 / -1;
    margin-top: 1rem;
}

.woocommerce div.product .woocommerce-tabs ul.tabs {
    display: flex;
    gap: 1.4rem;
    margin: 0 0 1rem;
    padding: 0;
    list-style: none;
}

.woocommerce div.product .woocommerce-tabs ul.tabs::before,
.woocommerce div.product .woocommerce-tabs ul.tabs li::before,
.woocommerce div.product .woocommerce-tabs ul.tabs li::after {
    display: none;
}

.woocommerce div.product .woocommerce-tabs ul.tabs li {
    border: 0;
    background: transparent;
    padding: 0;
}

.woocommerce div.product .woocommerce-tabs ul.tabs li a {
    padding: 0.2rem 0;
    font-weight: 400;
}

.woocommerce div.product .woocommerce-tabs ul.tabs li.active a {
    text-decoration: underline;
    text-underline-offset: 0.4em;
}

.size-chart {
    width: min(28rem, 100%);
    border-collapse: collapse;
}

.size-chart th,
.size-chart td {
    padding: 0.55rem 0;
    border-bottom: 1px solid var(--line);
    text-align: left;
    font-weight: 400;
}

.size-chart th {
    width: 46%;
    color: var(--muted);
}

.size-chart__note {
    color: var(--muted);
    font-size: 0.92rem;
}

.woocommerce-message,
.woocommerce-info,
.woocommerce-error {
    background: transparent;
    border-top: 0;
    border-bottom: 1px solid var(--line);
    color: var(--ink);
    list-style: none;
}

.woocommerce-error {
    border-bottom-color: #e2c8c4;
    color: #8d3b32;
}

.woocommerce-error li {
    margin: 0.2rem 0;
}

.woocommerce table.shop_table {
    border: 0;
    border-collapse: collapse;
}

.woocommerce table.shop_table th,
.woocommerce table.shop_table td {
    border-top: 0;
    border-left: 0;
    border-right: 0;
    border-bottom: 1px solid var(--line);
    background: transparent;
    padding: 1rem 0.4rem;
}

.woocommerce-cart .cart_totals,
.woocommerce-checkout .col-2,
.woocommerce-checkout #order_review {
    background: transparent;
}

.woocommerce form.checkout_coupon,
.woocommerce form.login,
.woocommerce form.register {
    border: 1px solid var(--line);
    border-radius: 0;
}

.lookbook {
    display: grid;
    gap: 3.5rem;
}

.look {
    display: grid;
    grid-template-columns: minmax(0, 0.85fr) minmax(0, 1fr);
    gap: 2.5rem;
    align-items: center;
}

.look:nth-child(even) a:first-child {
    order: 2;
}

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

.look h2 {
    margin: 0 0 0.8rem;
    font-size: clamp(2.2rem, 4vw, 3.4rem);
}

.prose-page .prose,
.look .prose {
    max-width: 40rem;
}

.prose h2 {
    margin: 2rem 0 0.6rem;
    font-size: 2rem;
}

.journal-list {
    display: grid;
    gap: 2rem;
}

.journal-card h2 {
    margin: 0.2rem 0 0.5rem;
    font-size: 2.4rem;
}

.journal-card h2 a {
    text-decoration: none;
}

.site-footer {
    padding: 2.5rem 1.5rem 1.4rem;
    border-top: 1px solid var(--line);
}

.footer-inner {
    display: grid;
    grid-template-columns: 1.1fr 1fr 1.3fr 1.2fr;
    gap: 2rem;
    max-width: 1240px;
    margin: 0 auto 2rem;
}

.brand--footer .brand__logo {
    width: 8.5rem;
}

.footer-label {
    margin: 0 0 0.6rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    font-size: 0.72rem;
    color: var(--muted);
}

.footer-menu,
.footer-contact {
    display: grid;
    gap: 0.35rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.footer-menu a,
.footer-contact a,
.footer-note {
    text-decoration: none;
    color: var(--ink);
}

.footer-note,
.footer-copy {
    color: var(--muted);
    font-size: 0.92rem;
}

.footer-copy {
    max-width: 1240px;
    margin: 0 auto;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    font-size: 0.72rem;
}

.empty-note {
    color: var(--muted);
}

@media (max-width: 980px) {
    .virtues ul,
    .collection-grid,
    .woocommerce ul.products,
    .footer-inner {
        grid-template-columns: 1fr 1fr;
    }

    .look,
    .woocommerce div.product {
        grid-template-columns: 1fr;
    }

    .look:nth-child(even) a:first-child {
        order: 0;
    }

    .hero__copy {
        right: 4%;
        width: min(22rem, 52%);
    }
}

@media (max-width: 760px) {
    .header-inner {
        min-height: 74px;
        padding: 0.5rem 1rem;
    }

    .nav-toggle {
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }

    .nav-primary {
        display: none;
        position: absolute;
        top: 74px;
        left: 0;
        right: 0;
        background: var(--ivory);
        border-bottom: 1px solid var(--line);
        padding: 0.5rem 1.2rem 1rem;
    }

    .nav-primary.is-open {
        display: block;
    }

    .nav-primary .menu {
        display: grid;
        gap: 0.8rem;
    }

    .brand__logo {
        width: 7.25rem;
    }

    .hero {
        width: 100%;
        aspect-ratio: 4 / 5;
        min-height: 0;
        margin: 0;
    }

    .hero__image {
        object-position: 50% 58%;
    }

    .hero__copy {
        top: auto;
        right: 1rem;
        bottom: 1.2rem;
        left: 1rem;
        width: auto;
        transform: none;
    }

    .hero__tagline {
        margin-left: auto;
    }

    .virtues ul,
    .collection-grid,
    .woocommerce ul.products,
    .footer-inner,
    .collections__head {
        grid-template-columns: 1fr;
        display: grid;
    }

    .collections__head {
        align-items: start;
    }

    .virtues li {
        justify-content: flex-start;
    }
}
