/* Aspen & Oak — editorial storefront design system.
   Art direction: warm paper editorial, Fraunces display + Inter body,
   amber accent drawn from the candle glass. Hairlines, not shadows. */

:root {
    --paper: #f6f1e8;
    --paper-2: #eee7d8;
    --ink: #221c13;
    --muted: #7d7261;
    --hairline: rgba(34, 28, 19, 0.16);
    --amber: #a4622a;
    --amber-deep: #7e4a1e;
    --footer: #201910;
    --max: 1200px;
    --pad: clamp(20px, 4vw, 48px);
    --serif: "Fraunces", Georgia, serif;
    --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    /* nova-store drawer skin */
    --ns-drawer-bg: #f6f1e8;
    --ns-drawer-text: #221c13;
    --ns-button-bg: #221c13;
    --ns-button-text: #f6f1e8;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    background: var(--paper);
    color: var(--ink);
    font-family: var(--sans);
    font-size: 16.5px;
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }

h1, h2, h3, .serif {
    font-family: var(--serif);
    font-weight: 480;
    letter-spacing: -0.015em;
    line-height: 1.08;
    margin: 0;
}

.wrap { max-width: var(--max); margin: 0 auto; padding-left: var(--pad); padding-right: var(--pad); }

/* ---------- signature motif: wax seal + marginalia ---------- */
.seal-note {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: var(--serif);
    font-style: italic;
    font-size: 15.5px;
    color: var(--muted);
}
.seal-note::before {
    content: "";
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: var(--amber);
    flex: none;
}

/* ---------- buttons + links ---------- */
.btn {
    display: inline-block;
    background: var(--ink);
    color: var(--paper);
    font-family: var(--sans);
    font-weight: 600;
    font-size: 15px;
    letter-spacing: 0.01em;
    padding: 15px 30px;
    border: 1px solid var(--ink);
    border-radius: 2px;
    text-decoration: none;
    cursor: pointer;
    transition: background 0.18s ease, color 0.18s ease;
}
.btn:hover { background: transparent; color: var(--ink); }
.btn-ghost {
    background: transparent;
    color: var(--ink);
}
.btn-ghost:hover { background: var(--ink); color: var(--paper); }
.text-link {
    font-weight: 600;
    font-size: 15px;
    text-decoration: none;
    border-bottom: 1px solid var(--amber);
    padding-bottom: 2px;
    transition: border-color 0.15s ease, color 0.15s ease;
}
.text-link:hover { color: var(--amber-deep); border-color: var(--ink); }

/* ---------- nav ---------- */
.site-nav {
    position: sticky;
    top: 0;
    z-index: 60;
    background: rgba(246, 241, 232, 0.94);
    backdrop-filter: none;
    border-bottom: 1px solid var(--hairline);
}
.site-nav-inner {
    max-width: var(--max);
    margin: 0 auto;
    padding: 0 var(--pad);
    display: flex;
    align-items: center;
    gap: 26px;
    height: 68px;
}
.nav-logo {
    font-family: var(--serif);
    font-size: 23px;
    font-weight: 560;
    letter-spacing: -0.01em;
    text-decoration: none;
    white-space: nowrap;
}
.nav-logo em { font-style: italic; color: var(--amber); }
.nav-links {
    display: flex;
    gap: 22px;
    margin-left: auto;
    overflow-x: auto;
    scrollbar-width: none;
}
.nav-links::-webkit-scrollbar { display: none; }
.nav-links a {
    font-size: 14.5px;
    font-weight: 500;
    color: var(--ink);
    text-decoration: none;
    white-space: nowrap;
    padding: 4px 0;
    border-bottom: 1px solid transparent;
}
.nav-links a:hover, .nav-links a[aria-current] { border-bottom-color: var(--amber); }
.nav-basket {
    flex: none;
    font-family: var(--sans);
    font-size: 14.5px;
    font-weight: 600;
    background: transparent;
    color: var(--ink);
    border: 1px solid var(--hairline);
    border-radius: 20px;
    padding: 8px 16px;
    cursor: pointer;
    transition: border-color 0.15s ease;
}
.nav-basket:hover { border-color: var(--ink); }

/* ---------- hero ---------- */
.hero {
    border-bottom: 1px solid var(--hairline);
}
.hero-grid {
    max-width: var(--max);
    margin: 0 auto;
    padding: 0 var(--pad);
    display: grid;
    grid-template-columns: 1.15fr 1fr;
    gap: clamp(28px, 5vw, 72px);
    align-items: center;
}
.hero-copy { padding: clamp(48px, 7vw, 96px) 0; }
.hero-copy h1 {
    font-size: clamp(42px, 5.6vw, 74px);
    max-width: 10ch;
}
.hero-copy h1 em { font-style: italic; color: var(--amber); }
.hero-copy p {
    max-width: 44ch;
    color: var(--muted);
    font-size: 17.5px;
    margin: 22px 0 30px;
}
.hero-media {
    align-self: stretch;
    min-height: 480px;
    position: relative;
}
.hero-media img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.hero .seal-note { margin-top: 34px; display: inline-flex; }

/* ---------- section scaffolding ---------- */
.band { padding: clamp(56px, 8vw, 104px) 0; }
.band-alt { background: var(--paper-2); border-top: 1px solid var(--hairline); border-bottom: 1px solid var(--hairline); }
.band-head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: clamp(28px, 4vw, 44px);
}
.band-head h2 { font-size: clamp(28px, 3.4vw, 44px); }

/* ---------- collection cards ---------- */
.collection-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: clamp(16px, 2.5vw, 28px);
}
.collection-card {
    text-decoration: none;
    border: 1px solid var(--hairline);
    background: var(--paper);
    transition: border-color 0.18s ease;
    display: flex;
    flex-direction: column;
}
.collection-card:hover { border-color: var(--ink); }
.collection-card img { aspect-ratio: 1; object-fit: cover; width: 100%; }
.collection-card-body {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    padding: 16px 18px 18px;
}
.collection-card-body h3 { font-size: 21px; }
.collection-card-body span { font-size: 13.5px; color: var(--muted); }

/* ---------- product cards (also styles the ns- grid the publisher emits) ---------- */
.ns-grid, .product-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: clamp(16px, 2.5vw, 26px);
}
.ns-card, .product-card {
    display: block;
    text-decoration: none;
    background: var(--paper);
    border: 1px solid var(--hairline);
    transition: border-color 0.18s ease;
    overflow: hidden;
}
.ns-card:hover, .product-card:hover { border-color: var(--ink); }
.ns-card-img, .product-card img {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
    display: block;
    background: var(--paper-2);
}
.ns-card-body, .product-card-body { padding: 14px 16px 17px; }
.ns-card-title, .product-card-body h3 {
    font-family: var(--serif);
    font-size: 18.5px;
    font-weight: 500;
    letter-spacing: -0.01em;
    margin: 0 0 4px;
    line-height: 1.2;
}
.ns-card-price, .product-card-price { font-size: 14.5px; color: var(--muted); }
.ns-card-was { color: var(--muted); text-decoration: line-through; margin-left: 7px; font-size: 13px; }
.ns-empty { color: var(--muted); padding: 34px 0; }

/* ---------- full-bleed texture moment ---------- */
.texture-band {
    position: relative;
    min-height: clamp(340px, 48vw, 560px);
    display: flex;
    align-items: center;
    overflow: hidden;
}
.texture-band > img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.texture-band blockquote {
    position: relative;
    margin: 0 auto;
    max-width: 22ch;
    text-align: center;
    font-family: var(--serif);
    font-size: clamp(26px, 3.6vw, 46px);
    font-weight: 480;
    line-height: 1.2;
    color: #fffdf7;
    text-shadow: 0 1px 30px rgba(20, 14, 6, 0.45);
    padding: 0 var(--pad);
}

/* ---------- story split ---------- */
.story-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(28px, 5vw, 72px);
    align-items: center;
}
.story-grid img { border: 1px solid var(--hairline); }
.story-grid h2 { font-size: clamp(28px, 3.4vw, 44px); margin-bottom: 18px; }
.story-grid p { color: var(--muted); max-width: 50ch; }

/* ---------- indexed values row (not an icon grid) ---------- */
.values-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    border-top: 1px solid var(--hairline);
}
.values-row article {
    padding: 26px 26px 26px 0;
    border-right: 1px solid var(--hairline);
    margin-right: 26px;
}
.values-row article:last-child { border-right: 0; margin-right: 0; }
.values-row .idx {
    font-family: var(--serif);
    font-style: italic;
    color: var(--amber);
    font-size: 15px;
    display: block;
    margin-bottom: 6px;
}
.values-row h3 { font-size: 18px; font-family: var(--sans); font-weight: 650; letter-spacing: 0; margin-bottom: 4px; }
.values-row p { margin: 0; font-size: 14.5px; color: var(--muted); }

/* ---------- newsletter ---------- */
.newsletter { text-align: center; }
.newsletter h2 { font-size: clamp(26px, 3vw, 38px); }
.newsletter p { color: var(--muted); margin: 12px auto 26px; max-width: 46ch; }
.newsletter form {
    display: flex;
    gap: 10px;
    justify-content: center;
    flex-wrap: wrap;
}
.newsletter input {
    font-family: var(--sans);
    font-size: 15px;
    padding: 14px 18px;
    width: min(340px, 76vw);
    border: 1px solid var(--hairline);
    background: #fffdf8;
    border-radius: 2px;
}
.newsletter input:focus { outline: none; border-color: var(--ink); }

/* ---------- page hero (inner pages + collections) ---------- */
.page-hero {
    padding: clamp(44px, 6vw, 80px) 0 clamp(30px, 4vw, 52px);
    border-bottom: 1px solid var(--hairline);
}
.page-hero h1 { font-size: clamp(34px, 4.6vw, 60px); max-width: 16ch; }
.page-hero .lede { color: var(--muted); font-size: 17.5px; max-width: 52ch; margin: 16px 0 0; }
.page-hero .crumb {
    font-size: 13.5px;
    color: var(--muted);
    margin-bottom: 18px;
}
.page-hero .crumb a { color: var(--muted); text-decoration: none; border-bottom: 1px solid var(--hairline); }
.page-hero .crumb a:hover { color: var(--ink); }

/* ---------- product page ---------- */
.pdp {
    display: grid;
    grid-template-columns: 1.05fr 1fr;
    gap: clamp(28px, 5vw, 72px);
    align-items: start;
    padding: clamp(36px, 5vw, 64px) 0;
}
.ns-gallery-main {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
    border: 1px solid var(--hairline);
    background: var(--paper-2);
}
.ns-gallery-thumbs { display: flex; gap: 10px; margin-top: 12px; flex-wrap: wrap; }
.ns-gallery-thumbs img {
    width: 68px;
    height: 68px;
    object-fit: cover;
    cursor: pointer;
    border: 1px solid var(--hairline);
    opacity: 0.75;
    transition: opacity 0.15s ease, border-color 0.15s ease;
}
.ns-gallery-thumbs img:hover { opacity: 1; }
.ns-gallery-thumbs img.active { border-color: var(--ink); opacity: 1; }
.pdp-vendor {
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--amber);
    margin-bottom: 10px;
}
.pdp h1 { font-size: clamp(30px, 3.6vw, 48px); }
.pdp-price {
    font-family: var(--serif);
    font-size: 26px;
    margin: 18px 0 6px;
}
.ns-was { color: var(--muted); text-decoration: line-through; font-size: 18px; margin-left: 10px; }
.ns-options label {
    display: block;
    font-size: 12.5px;
    font-weight: 650;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--muted);
    margin: 20px 0 7px;
}
.ns-options select {
    width: 100%;
    max-width: 340px;
    font-family: var(--sans);
    font-size: 15.5px;
    padding: 13px 14px;
    border: 1px solid var(--hairline);
    border-radius: 2px;
    background: #fffdf8;
    color: var(--ink);
}
.ns-options select:focus { outline: none; border-color: var(--ink); }
.ns-buy { display: flex; gap: 12px; margin-top: 26px; align-items: stretch; }
.ns-qty {
    width: 76px;
    padding: 13px 10px;
    border: 1px solid var(--hairline);
    border-radius: 2px;
    font-size: 15.5px;
    text-align: center;
    background: #fffdf8;
    font-family: var(--sans);
}
.ns-add {
    flex: 1;
    max-width: 340px;
    padding: 15px 22px;
    background: var(--ink);
    color: var(--paper);
    border: 1px solid var(--ink);
    border-radius: 2px;
    font-family: var(--sans);
    font-size: 15.5px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.18s ease, color 0.18s ease;
}
.ns-add:hover:not([disabled]) { background: transparent; color: var(--ink); }
.ns-add[disabled] { background: var(--muted); border-color: var(--muted); cursor: not-allowed; }
.ns-stock-note { margin-top: 10px; font-size: 14px; color: var(--amber-deep); }
.pdp-desc { margin-top: 30px; padding-top: 26px; border-top: 1px solid var(--hairline); color: #4c4436; max-width: 54ch; }
.pdp-desc p { margin: 0 0 1em; }
.pdp .seal-note { margin-top: 26px; }

/* ---------- cart page ---------- */
.cart-page { max-width: 720px; padding: clamp(36px, 5vw, 64px) 0 90px; }
.cart-page .nova-store-line { border-bottom: 1px solid var(--hairline); }
.nova-store-line-title { font-family: var(--serif); font-weight: 500; }
.cart-page .nova-store-checkout { border-radius: 2px !important; }

/* ---------- order confirmed ---------- */
.confirm-page {
    max-width: 620px;
    margin: 0 auto;
    text-align: center;
    padding: clamp(60px, 9vw, 120px) var(--pad);
}
.confirm-page h1 { font-size: clamp(32px, 4vw, 52px); margin-bottom: 18px; }
.confirm-page p { color: var(--muted); font-size: 17px; }
.confirm-page .seal-note { margin-top: 28px; }

/* ---------- prose pages (story, delivery, contact) ---------- */
.prose { max-width: 66ch; padding: clamp(36px, 5vw, 64px) 0 90px; }
.prose h2 { font-size: 27px; margin: 44px 0 12px; }
.prose p, .prose li { color: #4c4436; }
.prose .seal-note { margin-top: 34px; }
.prose table { border-collapse: collapse; width: 100%; margin: 18px 0; }
.prose td, .prose th {
    text-align: left;
    padding: 12px 14px 12px 0;
    border-bottom: 1px solid var(--hairline);
    font-size: 15.5px;
}
.prose th { font-weight: 650; font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }

/* contact split */
.contact-grid {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: clamp(28px, 5vw, 72px);
    padding: clamp(36px, 5vw, 64px) 0 90px;
    align-items: start;
}
.contact-card {
    border: 1px solid var(--hairline);
    background: var(--paper-2);
    padding: 28px 30px;
}
.contact-card h3 { font-size: 21px; margin-bottom: 8px; }
.contact-card p { margin: 0 0 18px; color: var(--muted); font-size: 15px; }
.contact-form label {
    display: block;
    font-size: 12.5px;
    font-weight: 650;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--muted);
    margin: 18px 0 6px;
}
.contact-form input, .contact-form textarea {
    width: 100%;
    font-family: var(--sans);
    font-size: 15.5px;
    padding: 13px 14px;
    border: 1px solid var(--hairline);
    border-radius: 2px;
    background: #fffdf8;
}
.contact-form input:focus, .contact-form textarea:focus { outline: none; border-color: var(--ink); }
.contact-form .btn { margin-top: 22px; }

/* ---------- FAQ ---------- */
.faq details {
    border-bottom: 1px solid var(--hairline);
    padding: 4px 0;
}
.faq summary {
    font-family: var(--serif);
    font-size: 19px;
    padding: 16px 0;
    cursor: pointer;
    list-style: none;
    display: flex;
    justify-content: space-between;
    gap: 16px;
}
.faq summary::after { content: "+"; color: var(--amber); font-size: 22px; }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin: 0 0 18px; color: #4c4436; }

/* ---------- footer ---------- */
.site-footer {
    background: var(--footer);
    color: #cfc4b0;
    margin-top: clamp(56px, 8vw, 104px);
}
.site-footer a { color: #efe7d6; text-decoration: none; }
.site-footer a:hover { color: #fff; }
.footer-grid {
    max-width: var(--max);
    margin: 0 auto;
    padding: clamp(48px, 6vw, 76px) var(--pad) 40px;
    display: grid;
    grid-template-columns: 1.6fr 1fr 1fr 1.2fr;
    gap: clamp(24px, 4vw, 48px);
}
.footer-brand .nav-logo { color: #f6f1e8; font-size: 25px; }
.footer-brand p { font-size: 14.5px; max-width: 34ch; margin: 14px 0 0; }
.footer-grid h4 {
    font-size: 12.5px;
    font-weight: 650;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #8d8271;
    margin: 0 0 14px;
}
.footer-grid ul { list-style: none; margin: 0; padding: 0; }
.footer-grid li { margin-bottom: 9px; font-size: 14.5px; }
.footer-bottom {
    border-top: 1px solid rgba(246, 241, 232, 0.12);
}
.footer-bottom-inner {
    max-width: var(--max);
    margin: 0 auto;
    padding: 20px var(--pad);
    display: flex;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
    font-size: 13px;
    color: #8d8271;
}
.footer-bottom-inner a { color: #cfc4b0; }

/* ---------- responsive ---------- */
@media (max-width: 900px) {
    .hero-grid { grid-template-columns: 1fr; }
    .hero-media { min-height: 340px; order: -1; margin: 0 calc(-1 * var(--pad)); }
    .collection-row { grid-template-columns: 1fr; }
    .ns-grid, .product-row { grid-template-columns: repeat(2, 1fr); }
    .story-grid, .contact-grid, .pdp { grid-template-columns: 1fr; }
    .values-row { grid-template-columns: 1fr; }
    .values-row article { border-right: 0; margin-right: 0; border-bottom: 1px solid var(--hairline); padding: 20px 0; }
    .values-row article:last-child { border-bottom: 0; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 520px) {
    .ns-grid, .product-row { grid-template-columns: 1fr 1fr; gap: 12px; }
    .ns-card-title, .product-card-body h3 { font-size: 15.5px; }
    .footer-grid { grid-template-columns: 1fr; }
    .nav-links { gap: 16px; }
}

/* ---------- v2 iteration: art-director fixes ---------- */

/* 2. texture band scrim for legibility */
.texture-band::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(26, 18, 8, 0.36);
}
.texture-band blockquote { z-index: 1; }

/* links never wrap */
.text-link { white-space: nowrap; }

/* styled selects everywhere (kill the native chevron) */
.ns-options select, .contact-form select {
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23221c13' stroke-width='1.6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    padding-right: 40px;
}

/* 3. mobile nav: no-JS burger */
.nav-toggle { display: none; }
.nav-burger { display: none; }
@media (max-width: 860px) {
    .site-nav-inner { flex-wrap: wrap; gap: 14px; }
    .nav-burger {
        display: flex;
        flex-direction: column;
        justify-content: center;
        gap: 5px;
        width: 26px;
        height: 22px;
        cursor: pointer;
        order: 5;
    }
    .nav-burger span {
        height: 1.5px;
        background: var(--ink);
        display: block;
        transition: transform 0.15s ease;
    }
    .nav-basket { margin-left: auto; order: 4; }
    .nav-links {
        display: none;
        order: 10;
        width: 100%;
        flex-direction: column;
        gap: 0;
        margin: 0;
        padding-bottom: 10px;
    }
    .nav-links a {
        padding: 12px 0;
        border-bottom: 1px solid var(--hairline);
        font-size: 15.5px;
    }
    .nav-links a:last-child { border-bottom: 0; }
    .nav-toggle:checked ~ .nav-links { display: flex; }
}

/* 4a. editorial bestsellers: one feature tile + three supporting */
.product-row-editorial {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: auto;
    gap: clamp(16px, 2.5vw, 26px);
}
.product-card.feature {
    grid-column: span 2;
    grid-row: span 2;
    display: flex;
    flex-direction: column;
}
.product-card.feature img { aspect-ratio: auto; flex: 1; min-height: 0; }
.product-card.feature .product-card-body { padding: 18px 20px 21px; }
.product-card.feature h3 { font-size: 26px; }
@media (max-width: 900px) {
    .product-row-editorial { grid-template-columns: 1fr 1fr; }
    .product-card.feature { grid-column: span 2; grid-row: auto; }
    .product-card.feature img { aspect-ratio: 16/10; }
}

/* 4b. full-bleed story spread with overlapping headline */
.spread {
    display: grid;
    grid-template-columns: minmax(0, 1.06fr) minmax(0, 1fr);
    align-items: center;
    background: var(--paper-2);
    border-top: 1px solid var(--hairline);
    border-bottom: 1px solid var(--hairline);
}
.spread-media {
    position: relative;
    align-self: stretch;
    min-height: 460px;
    margin: 0;
}
.spread-media img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.spread-media figcaption {
    position: absolute;
    left: 18px;
    bottom: 14px;
    font-family: var(--serif);
    font-style: italic;
    font-size: 14px;
    color: #fffdf7;
    text-shadow: 0 1px 14px rgba(20, 14, 6, 0.65);
}
.spread-copy {
    padding: clamp(48px, 6vw, 90px) var(--pad) clamp(48px, 6vw, 90px) 0;
    max-width: 560px;
    justify-self: start;
    margin-left: clamp(28px, 4vw, 64px);
    position: relative;
}
.spread-copy h2 {
    font-size: clamp(30px, 3.8vw, 50px);
    margin-bottom: 18px;
    margin-left: clamp(-90px, -6vw, -36px);
    position: relative;
    z-index: 1;
    text-wrap: balance;
}
.spread-copy p { color: #5a5142; max-width: 48ch; }
@media (max-width: 900px) {
    .spread { grid-template-columns: 1fr; }
    .spread-media { min-height: 320px; }
    .spread-copy { margin-left: 0; padding: 36px var(--pad) 44px; }
    .spread-copy h2 { margin-left: 0; }
}

/* 6. story page hero image */
.prose-hero {
    margin: clamp(30px, 4vw, 50px) 0 0;
}
.prose-hero img {
    width: 100%;
    max-height: 470px;
    object-fit: cover;
    border: 1px solid var(--hairline);
}

/* mobile nav: let the header grow when the menu is open */
@media (max-width: 860px) {
    .site-nav-inner { height: auto; min-height: 68px; padding-top: 14px; padding-bottom: 14px; }
    .nav-links { background: var(--paper); }
}

/* ---------- v3 polish: reviewer round 2 ---------- */

/* 1. overlapping headline carries a paper slab so it never drowns in the photo */
.spread-copy h2 span {
    background: var(--paper-2);
    box-decoration-break: clone;
    -webkit-box-decoration-break: clone;
    padding: 0.05em 0.24em 0.05em 0.14em;
}

/* 2. gradient scrim so the figcaption always reads */
.spread-media::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 110px;
    background: linear-gradient(180deg, rgba(20, 14, 6, 0) 0%, rgba(20, 14, 6, 0.55) 100%);
    pointer-events: none;
}
.spread-media figcaption { z-index: 1; }

/* 3. no orphaned last tile on mobile */
@media (max-width: 900px) {
    .product-row-editorial .product-card:last-child { grid-column: span 2; }
    .product-row-editorial .product-card:last-child img { aspect-ratio: 16/10; }
}

/* 4. collection grid price baselines: reserve two title lines */
.ns-grid .ns-card-title { min-height: 2.4em; }

/* 5. story page pull quote to break the text column */
.prose .pullquote {
    float: right;
    width: min(300px, 42%);
    margin: 8px 0 18px 34px;
    padding: 4px 0 4px 22px;
    border-left: 2px solid var(--amber);
    font-family: var(--serif);
    font-style: italic;
    font-size: 22px;
    line-height: 1.35;
    color: var(--ink);
}
@media (max-width: 700px) {
    .prose .pullquote { float: none; width: auto; margin: 22px 0; }
}

/* ---------- v4: Brett's punch list ---------- */

/* Logo: pin Fraunces optical size so the ampersand renders identically
   on every page (variable-font auto opsz was changing the glyph) */
.nav-logo {
    font-optical-sizing: none;
    font-variation-settings: "opsz" 144, "wght" 540;
    font-size: 24px;
}
.footer-brand .nav-logo { font-size: 26px; }

/* Story spread: headline stays off the photograph */
.spread-copy h2 { margin-left: 0; }
.spread-copy h2 span { background: none; padding: 0; }

/* Search trigger in the nav */
.nav-search {
    flex: none;
    font-family: var(--sans);
    font-size: 14.5px;
    font-weight: 500;
    background: transparent;
    color: var(--ink);
    border: 0;
    cursor: pointer;
    padding: 4px 2px;
    border-bottom: 1px solid transparent;
}
.nav-search:hover { border-bottom-color: var(--amber); }
@media (max-width: 860px) {
    .nav-search { order: 3; margin-left: auto; }
    .nav-basket { margin-left: 0; }
}

/* Search overlay + toolbar inherit the design system */
.nova-store-search { font-family: var(--sans); }
.nova-store-search-input { font-family: var(--serif); font-weight: 480; }
.nova-store-toolbar input, .nova-store-toolbar select { border-radius: 2px; }
:root { --ns-search-bg: #f6f1e8; --ns-hairline: rgba(34, 28, 19, 0.16); --ns-field-bg: #fffdf8; }

/* Collection page hero with imagery */
.page-hero-split {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: clamp(24px, 4vw, 60px);
    align-items: center;
}
.page-hero-media { position: relative; min-height: 240px; align-self: stretch; }
.page-hero-media img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border: 1px solid var(--hairline);
}
.page-hero-media:empty { display: none; }
.page-hero .count-note { margin-top: 18px; }
@media (max-width: 820px) {
    .page-hero-split { grid-template-columns: 1fr; }
    .page-hero-media { min-height: 200px; }
}

/* PDP: details accordions + related band */
.pdp-details { margin-top: 26px; border-top: 1px solid var(--hairline); }
.pdp-details details { border-bottom: 1px solid var(--hairline); }
.pdp-details summary {
    font-family: var(--sans);
    font-size: 14px;
    font-weight: 650;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    padding: 15px 0;
    cursor: pointer;
    list-style: none;
    display: flex;
    justify-content: space-between;
    gap: 16px;
    color: var(--ink);
}
.pdp-details summary::-webkit-details-marker { display: none; }
.pdp-details summary::after { content: "+"; color: var(--amber); font-size: 19px; font-weight: 400; }
.pdp-details details[open] summary::after { content: "–"; }
.pdp-details p, .pdp-details li { font-size: 15px; color: #4c4436; margin: 0 0 14px; }
.pdp-details ul { padding-left: 20px; margin: 0 0 14px; }

.related-band { padding: clamp(40px, 6vw, 80px) 0 20px; border-top: 1px solid var(--hairline); margin-top: clamp(40px, 6vw, 72px); }
.related-band h2 { font-size: clamp(24px, 3vw, 36px); margin-bottom: clamp(22px, 3vw, 34px); }
