/* =====================================================
   VEIN — Plants, Exposed.
   One stylesheet for the whole site.
   ===================================================== */
/* ============ BASE ============ */
* { margin: 0; padding: 0; box-sizing: border-box; }
:root {
    --cream: #ece8e1;
    --paper: #f6f3ed;
    --stone: #e4dfd5;
    --ink: #1a1a18;
    --ink-soft: rgba(26, 26, 24, 0.68);
    --line: rgba(26, 26, 24, 0.14);
    --forest: #132017;
    --serif: "Cormorant Garamond", Georgia, serif;
    --sans: "Jost", "Helvetica Neue", Arial, sans-serif;
}
html { scroll-behavior: smooth; }
body {
    background: var(--cream);
    color: var(--ink);
    font-family: var(--sans);
    font-weight: 300;
    -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button, input { font: inherit; }
button:focus-visible, a:focus-visible, input:focus-visible {
    outline: 2px solid currentColor;
    outline-offset: 4px;
}
.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;
}
svg {
    fill: none;
    stroke: currentColor;
    stroke-width: 1.3;
    stroke-linecap: round;
    stroke-linejoin: round;
}
.wrap { padding: 0 6vw; }
.eyebrow {
    font-size: 0.74rem;
    letter-spacing: 0.3em;
    text-transform: uppercase;
}
.rule { width: 36px; height: 1px; background: var(--ink); margin: 1.6rem 0; }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; }
/* ============ HEADER ============ */
.site-header {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    padding: 34px 6vw;
    z-index: 10;
}
.site-header.solid {
    position: relative;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
}
.logo { display: inline-flex; flex-direction: column; width: fit-content; }
.logo-mark {
    font-family: var(--serif);
    font-size: 2.4rem;
    letter-spacing: 0.38em;
    line-height: 1;
}
.logo-tag {
    margin-top: 8px;
    padding-left: 4px;
    font-size: 0.48rem;
    letter-spacing: 0.34em;
    text-transform: uppercase;
    color: var(--ink-soft);
}
.main-nav { display: flex; gap: 2.6rem; }
.main-nav a, .main-nav summary {
    display: block;
    font-size: 0.76rem;
    letter-spacing: 0.26em;
    text-transform: uppercase;
    padding-bottom: 4px;
    border-bottom: 1px solid transparent;
    transition: opacity 0.3s, border-color 0.3s;
}
.main-nav a:hover, .main-nav summary:hover { opacity: 0.55; }
.main-nav a.active, .main-nav summary.active { border-color: var(--ink); }
.shop-menu { position: relative; }
.shop-menu summary { list-style: none; cursor: pointer; }
.shop-menu summary::-webkit-details-marker { display: none; }
.shop-menu summary::after {
    content: "";
    display: inline-block;
    width: 6px;
    height: 6px;
    margin: 0 0 3px 9px;
    border-right: 1px solid currentColor;
    border-bottom: 1px solid currentColor;
    transform: rotate(45deg);
    transition: transform 0.2s;
}
.shop-menu[open] summary::after { transform: translateY(3px) rotate(225deg); }
.shop-submenu {
    position: absolute;
    z-index: 20;
    top: calc(100% + 1.4rem);
    left: -1.2rem;
    display: grid;
    min-width: 190px;
    padding: 0.65rem 1.2rem;
    border: 1px solid var(--line);
    background: var(--paper);
    box-shadow: 0 10px 24px rgba(26, 26, 24, 0.08);
}
.shop-submenu a {
    padding: 0.8rem 0;
    border-bottom: 1px solid transparent;
    font-size: 0.66rem;
    letter-spacing: 0.18em;
    white-space: nowrap;
}
.shop-submenu a + a { border-top: 1px solid var(--line); }
.menu-toggle {
    display: none;
    align-items: center;
    gap: 0.65rem;
    padding: 0.5rem 0;
    border: 0;
    background: transparent;
    color: var(--ink);
    font-size: 0.65rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    cursor: pointer;
}
.menu-toggle-icon { display: grid; gap: 5px; width: 18px; }
.menu-toggle-icon span { display: block; height: 1px; background: currentColor; transition: transform 0.2s; }
.menu-toggle[aria-expanded="true"] .menu-toggle-icon span:first-child { transform: translateY(3px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] .menu-toggle-icon span:last-child { transform: translateY(-3px) rotate(-45deg); }
.header-icons { display: flex; gap: 1.6rem; justify-content: flex-end; align-items: center; }
.header-icons svg { width: 22px; height: 22px; cursor: pointer; transition: opacity 0.3s; }
.header-icons a { display: inline-flex; align-items: center; }
.header-icons a:hover svg { opacity: 0.5; }
.cart-link { position: relative; display: inline-flex; }
.cart-count {
    position: absolute;
    top: -8px;
    right: -10px;
    min-width: 16px;
    height: 16px;
    padding: 0 4px;
    border-radius: 8px;
    background: var(--ink);
    color: #f4f1ea;
    font-size: 0.58rem;
    line-height: 16px;
    text-align: center;
    letter-spacing: 0;
    opacity: 0;
    transition: opacity 0.3s;
}
.cart-count.on { opacity: 1; }
.offer-banner {
    position: relative;
    z-index: 20;
    padding: 0.8rem 6vw;
    background: var(--forest);
    color: #f4f1ea;
    font-size: 0.7rem;
    letter-spacing: 0.13em;
    text-align: center;
}
.offer-banner[hidden] { display: none; }
/* ============ HERO (home) ============ */
.hero {
    position: relative;
    min-height: 100vh;
    min-height: 100svh;
    max-height: 960px;
    background: url("../images/plants.jpg") center right / cover no-repeat;
    display: flex;
    align-items: center;
    padding: 0 6vw;
}
.hero .site-header {
    position: absolute;
    top: 0; left: 0; right: 0;
}
.hero-content { position: relative; z-index: 2; max-width: 560px; margin-top: 40px; }
.hero .eyebrow { margin-bottom: 2rem; }
.hero h1 {
    font-size: clamp(3.2rem, 6.4vw, 5.6rem);
    line-height: 0.98;
    letter-spacing: 0.01em;
    text-transform: uppercase;
}
.hero-sub {
    font-family: var(--serif);
    font-size: clamp(1.4rem, 2vw, 1.9rem);
    line-height: 1.35;
    margin: 2rem 0 2.6rem;
}
.btn {
    display: inline-flex;
    align-items: center;
    gap: 3.2rem;
    background: var(--ink);
    color: #f4f1ea;
    border: 1px solid var(--ink);
    padding: 1.3rem 1.8rem;
    font-family: var(--sans);
    font-weight: 300;
    font-size: 0.72rem;
    letter-spacing: 0.26em;
    text-transform: uppercase;
    cursor: pointer;
    transition: background 0.3s, gap 0.3s, color 0.3s;
}
.btn svg { width: 22px; height: 12px; }
.btn:hover { background: #3a3a35; gap: 3.8rem; }
.btn.ghost { background: transparent; color: inherit; border-color: currentColor; }
.btn.ghost:hover { background: rgba(255,255,255,0.08); }
.btn.small { padding: 0.9rem 1.2rem; gap: 1.6rem; font-size: 0.62rem; }
.btn.block { width: 100%; justify-content: center; gap: 0; }
.btn.block:hover { gap: 0; }
.hero-side {
    position: absolute;
    z-index: 3;
    right: 5vw;
    top: 52%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    padding: 1.15rem 1.35rem;
    border: 1px solid rgba(26, 26, 24, 0.2);
    background: rgba(244, 241, 234, 0.92);
    box-shadow: 0 8px 28px rgba(26, 26, 24, 0.12);
    font-size: 0.68rem;
    font-weight: 400;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--ink);
}
.hero-foot {
    position: absolute;
    left: 6vw;
    bottom: 40px;
    padding-top: 14px;
    border-top: 1px solid rgba(26, 26, 24, 0.4);
    font-size: 0.58rem;
    line-height: 1.9;
    letter-spacing: 0.26em;
    text-transform: uppercase;
    color: var(--ink-soft);
}
/* ============ THREE CARDS ============ */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; padding: 10px; }
.card {
    position: relative;
    display: flex;
    align-items: flex-end;
    min-width: 0;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    color: #f4f1ea;
}
.card-image { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 0.9s ease; }
.card::after {
    content: "";
    position: absolute; inset: 0;
    background: linear-gradient(to top, rgba(10,10,8,0.72) 0%, rgba(10,10,8,0.1) 55%, rgba(10,10,8,0) 100%);
}
.card:hover .card-image { transform: scale(1.05); }
.card-text { position: relative; z-index: 2; padding: 2rem 2.2rem; }
.card h2 {
    font-size: clamp(1.8rem, 2.6vw, 2.5rem);
    letter-spacing: 0.04em;
    text-transform: uppercase;
    margin-bottom: 0.7rem;
}
.card p {
    font-size: 0.7rem;
    line-height: 1.9;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: rgba(244, 241, 234, 0.85);
}
/* ============ STRIP ============ */
.strip { display: flex; align-items: center; justify-content: center; gap: 1.6rem; padding: 3.4rem 6vw 4rem; }
.strip .line { width: 42px; height: 1px; background: var(--ink); opacity: 0.6; }
.strip-text { font-size: 0.8rem; letter-spacing: 0.34em; text-transform: uppercase; }
/* ============ SECTION HEADINGS ============ */
.section { padding: 5rem 6vw; }
.section.paper { background: var(--paper); }
.section-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 2rem;
    margin-bottom: 2.6rem;
}
.section-head h2 { font-size: 1.9rem; letter-spacing: 0.18em; text-transform: uppercase; display: flex; align-items: center; gap: 1.2rem; }
.section-head h2::after { content: ""; width: 38px; height: 1px; background: var(--ink); }
.section-head .note { font-family: var(--serif); font-style: italic; font-size: 1.3rem; line-height: 1.3; color: var(--ink-soft); text-align: right; }
/* ============ IMAGE CROPS (reuse the 3 mineral zones of one photo) ============ */
.ph {
    background-color: var(--stone);
    background-repeat: no-repeat;
}
.ph-hero    { background-image: url("../images/hero-vein.jpg");    background-size: cover; background-position: 78% 55%; }
.ph-hero-wide { background-image: url("../images/hero-vein.jpg");  background-size: cover; background-position: center; }
.ph-leaf    { background-image: url("../images/plants.jpg");       background-size: cover; background-position: center; }
.ph-corm    { background-image: url("../images/corms.jpg");        background-size: cover; background-position: 40% 50%; }
.ph-pumice  { background-image: url("../images/hydro-objects.jpg"); background-size: 320% auto; background-position: 0% 50%; }
.ph-lava    { background-image: url("../images/hydro-objects.jpg"); background-size: 320% auto; background-position: 48% 50%; }
.ph-leca    { background-image: url("../images/hydro-objects.jpg"); background-size: 320% auto; background-position: 100% 50%; }
.ph-mix     { background-image: url("../images/hydro-objects.jpg"); background-size: cover; background-position: center; }
.ph-leaf2   { background-image: url("../images/plants.jpg");       background-size: 220% auto; background-position: 85% 20%; }
.ph-leaf3   { background-image: url("../images/plants.jpg");       background-size: 220% auto; background-position: 10% 85%; }
.ph-hero-zoom { background-image: url("../images/hero-vein.jpg");  background-size: 175% auto; background-position: 82% 62%; }
.ph-flip { position: relative; }
.ph-flip::before { content: ""; position: absolute; inset: 0; background: inherit; transform: scaleX(-1); }
.product .badge { z-index: 2; }
/* ============ COLLECTIONS ============ */
.collections { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.2rem; }
.collection .ph { aspect-ratio: 4 / 5; overflow: hidden; position: relative; }
.collection .ph::after { content: ""; position: absolute; inset: 0; background: inherit; transition: transform 0.9s ease; }
.collection:hover .ph::after { transform: scale(1.05); }
.collection .ph { transition: none; }
.collection h3 { margin-top: 1.2rem; font-size: 1.6rem; letter-spacing: 0.1em; text-transform: uppercase; }
.collection .mat { font-size: 0.85rem; color: var(--ink-soft); margin-top: 0.3rem; }
.collection .pl { font-family: var(--serif); font-size: 1.1rem; }
.collection svg { width: 22px; height: 12px; margin-top: 0.8rem; }
/* ============ SPLIT PANELS ============ */
.split { display: grid; grid-template-columns: 1fr 1fr; align-items: stretch; background: var(--paper); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.split .copy { padding: 5rem 6vw; display: flex; align-items: center; }
.split .copy > div { max-width: 460px; }
.split h2 { font-size: clamp(2rem, 3.4vw, 3rem); letter-spacing: 0.08em; text-transform: uppercase; line-height: 1.1; }
.split p.lead { font-family: var(--serif); font-size: 1.4rem; line-height: 1.4; margin-bottom: 1rem; }
.split p.body { font-size: 0.92rem; line-height: 1.85; color: var(--ink-soft); margin-bottom: 2rem; }
.split .pic { min-height: 440px; position: relative; }
.split.flip .copy { order: 2; }
.split.flip .pic { order: 1; }
.pic .tag {
    position: absolute; right: 1.6rem; top: 1.6rem;
    font-size: 0.6rem; letter-spacing: 0.3em; line-height: 1.9; text-transform: uppercase; text-align: right;
    color: var(--ink);
}
/* ============ PRODUCT GRID ============ */
.grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.4rem 1.2rem; }
.grid.three { grid-template-columns: repeat(3, 1fr); }
.product { display: block; }
.product .ph { aspect-ratio: 4 / 5; position: relative; overflow: hidden; }
.product .badge {
    position: absolute; left: 0.9rem; top: 0.9rem;
    background: var(--paper); padding: 0.35rem 0.6rem;
    font-size: 0.55rem; letter-spacing: 0.24em; text-transform: uppercase;
}
.product h3 { font-size: 1.4rem; margin-top: 1rem; }
.product .sci { font-family: var(--serif); font-style: italic; color: var(--ink-soft); font-size: 1.02rem; }
.product .meta { font-size: 0.72rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-soft); margin-top: 0.5rem; }
.product .row { display: flex; justify-content: space-between; align-items: center; margin-top: 0.7rem; }
.product .price { font-size: 0.95rem; letter-spacing: 0.05em; }
.price-before { margin-right: 0.45rem; color: var(--ink-soft); font-size: 0.86em; text-decoration: line-through; }
.price-current { color: var(--forest); }
.offer-tag {
    display: inline-block;
    margin-left: 0.45rem;
    padding: 0.18rem 0.42rem;
    border: 1px solid var(--line);
    color: var(--forest);
    font-family: var(--sans);
    font-size: 0.58rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    vertical-align: 0.12em;
}
.product .add {
    background: none; border: 1px solid var(--ink); color: var(--ink);
    font-family: var(--sans); font-weight: 300; font-size: 0.58rem; letter-spacing: 0.24em; text-transform: uppercase;
    padding: 0.55rem 0.8rem; cursor: pointer; transition: background 0.25s, color 0.25s;
}
.product .add:hover { background: var(--ink); color: #f4f1ea; }
.product.hide { display: none; }
/* ============ PAGE TITLE ============ */
.page-title { padding: 4.5rem 6vw 2.5rem; border-bottom: 1px solid var(--line); }
.page-title h1 { font-size: clamp(2.6rem, 5vw, 4.4rem); letter-spacing: 0.06em; text-transform: uppercase; margin-top: 1rem; line-height: 1.05; }
.page-title p.lead { font-family: var(--serif); font-size: 1.5rem; line-height: 1.4; color: var(--ink-soft); max-width: 640px; margin-top: 1.2rem; }
/* ============ FILTERS ============ */
.shop-tools { margin-bottom: 2.4rem; }
.shop-search {
    display: flex;
    align-items: center;
    max-width: 440px;
    margin-bottom: 1.2rem;
    padding: 0 0.9rem;
    border: 1px solid var(--line);
    background: var(--paper);
}
.shop-search:focus-within { border-color: var(--ink); }
.shop-search input {
    width: 100%;
    min-width: 0;
    padding: 0.9rem 0;
    border: 0;
    outline: 0;
    background: transparent;
    color: var(--ink);
    font-size: 0.85rem;
}
.shop-search input:focus-visible { outline: 0; }
.shop-search svg { width: 20px; height: 20px; flex: none; }
.filters { display: flex; flex-wrap: wrap; gap: 0.6rem; }
#filters[hidden] { display: none; }
.filters button {
    background: transparent; border: 1px solid var(--line); color: var(--ink);
    font-family: var(--sans); font-weight: 300; font-size: 0.68rem; letter-spacing: 0.24em; text-transform: uppercase;
    padding: 0.8rem 1.3rem; cursor: pointer; transition: all 0.25s;
}
.filters button:hover { border-color: var(--ink); }
.filters button.on { background: var(--ink); color: #f4f1ea; border-color: var(--ink); }
.no-products { padding: 2rem 0; color: var(--ink-soft); font-family: var(--serif); font-size: 1.3rem; }
/* ============ PRODUCT PAGE ============ */
.crumbs { padding: 1.4rem 6vw; font-size: 0.7rem; letter-spacing: 0.14em; color: var(--ink-soft); }
.crumbs a:hover { color: var(--ink); }
.pdp {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
    gap: clamp(2rem, 4vw, 4.5rem);
    padding: 1rem 6vw 5rem;
    align-items: start;
}
.pdp-gallery {
    display: grid;
    grid-template-columns: 76px minmax(0, 1fr);
    gap: 1rem;
    align-items: start;
    min-width: 0;
}
.thumbs { display: flex; flex-direction: column; gap: 0.7rem; }
.thumbs button {
    width: 100%;
    padding: 0;
    border: 1px solid transparent;
    background: none;
    cursor: pointer;
}
.thumbs button.on { border-color: var(--ink); }
.thumbs img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.thumbs .ph { display: block; aspect-ratio: 1; width: 100%; }
.thumb-caption {
    display: block;
    padding: 0.3rem 0.15rem;
    color: var(--ink-soft);
    font-size: 0.52rem;
    letter-spacing: 0.1em;
    line-height: 1.3;
    text-align: center;
    text-transform: uppercase;
}
.thumbs button.on .thumb-caption { color: var(--ink); }
.pdp-main {
    position: relative;
    display: block;
    width: 100%;
    min-width: 0;
    aspect-ratio: 4 / 5;
    padding: 0;
    border: 0;
    overflow: hidden;
    cursor: zoom-in;
}
.pdp-main img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.pdp-info { min-width: 0; padding-top: 0.35rem; }
.pdp-info .cat { font-size: 0.7rem; letter-spacing: 0.3em; text-transform: uppercase; color: var(--ink-soft); }
.pdp-info h1 { font-size: clamp(2.4rem, 4vw, 3.4rem); margin-top: 0.8rem; line-height: 1.05; }
.pdp-info .sci { font-family: var(--serif); font-style: italic; font-size: 1.3rem; color: var(--ink-soft); margin-top: 0.4rem; }
.pdp-info .price { font-size: 1.3rem; margin: 1.6rem 0; letter-spacing: 0.04em; }
.pdp-info .desc { font-size: 0.95rem; line-height: 1.85; color: var(--ink-soft); max-width: 460px; }
.image-lightbox {
    position: fixed;
    width: min(92vw, 1100px);
    max-width: none;
    max-height: 92vh;
    padding: clamp(1rem, 3vw, 2.5rem);
    border: 1px solid rgba(244, 241, 234, 0.22);
    background: #171815;
    color: #f4f1ea;
}
.image-lightbox[open] { display: grid; place-items: center; }
.image-lightbox::backdrop { background: rgba(10, 11, 9, 0.88); }
.image-lightbox form { position: absolute; z-index: 1; top: 0.8rem; right: 0.8rem; }
.lightbox-close {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    padding: 0.6rem 0.8rem;
    border: 1px solid rgba(244, 241, 234, 0.5);
    background: #171815;
    color: inherit;
    font-size: 0.65rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    cursor: pointer;
}
.lightbox-close span { font-size: 1.2rem; line-height: 0.8; }
.lightbox-image { width: 100%; max-height: calc(92vh - 5rem); aspect-ratio: 4 / 3; }
.lightbox-caption {
    margin-top: 0.8rem;
    color: rgba(244, 241, 234, 0.78);
    font-size: 0.68rem;
    letter-spacing: 0.18em;
    text-align: center;
    text-transform: uppercase;
}
.facts { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem 1.4rem; margin: 2rem 0; padding: 1.6rem 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.facts div { font-size: 0.78rem; letter-spacing: 0.04em; display: flex; gap: 0.7rem; align-items: center; }
.facts svg { width: 20px; height: 20px; flex: none; }
.pdp-info .note { font-size: 0.72rem; color: var(--ink-soft); margin-top: 1rem; letter-spacing: 0.04em; }
/* ============ STEPS / FEATURE BLOCKS ============ */
.four { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; }
.four .item { border-top: 1px solid var(--ink); padding-top: 1.2rem; }
.four .num { font-size: 0.68rem; letter-spacing: 0.3em; color: var(--ink-soft); }
.four h3 { font-size: 1.7rem; margin: 0.6rem 0; letter-spacing: 0.06em; text-transform: uppercase; }
.four p { font-size: 0.9rem; line-height: 1.8; color: var(--ink-soft); }
.starter {
    display: grid; grid-template-columns: 1fr 1fr; gap: 0;
    background: var(--paper); border: 1px solid var(--line);
}
.starter .ph { min-height: 340px; }
.starter .copy { padding: 2.6rem; }
.starter h3 { font-size: 2rem; }
.starter ul { list-style: none; margin: 1.2rem 0 1.6rem; font-size: 0.88rem; line-height: 2; color: var(--ink-soft); }
.starter ul li::before { content: "→"; margin-right: 0.7rem; }
.starter .price { font-size: 1.1rem; margin-bottom: 1.4rem; }
/* ============ DARK BAND ============ */
.dark {
    position: relative;
    background: var(--forest);
    color: #f4f1ea;
    padding: 5rem 6vw;
    overflow: hidden;
}
.dark::before {
    content: ""; position: absolute; inset: 0;
    background: url("../images/plants.jpg") center / cover no-repeat;
    opacity: 0.22;
}
.dark .inner { position: relative; display: grid; grid-template-columns: 1.2fr 1fr; gap: 3rem; align-items: center; }
.dark h2 { font-size: clamp(2rem, 3.6vw, 3.2rem); line-height: 1.1; }
.dark p { margin: 1.4rem 0 2rem; max-width: 520px; line-height: 1.8; color: rgba(244,241,234,0.78); font-size: 0.95rem; }
.values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; text-align: center; }
.values div { font-size: 0.6rem; letter-spacing: 0.28em; text-transform: uppercase; line-height: 2; color: rgba(244,241,234,0.85); }
.values svg { width: 38px; height: 38px; margin: 0 auto 1.2rem; display: block; stroke-width: 1; }
/* ============ SUBSTRATE ROW ============ */
.substrates { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; }
.substrates .ph { aspect-ratio: 4 / 3; }
.substrates h3 { font-size: 1.6rem; margin: 1rem 0 0.3rem; letter-spacing: 0.08em; text-transform: uppercase; }
.substrates p { font-size: 0.9rem; line-height: 1.8; color: var(--ink-soft); }
/* ============ BAG / CHECKOUT ============ */
.cart-page { max-width: 1440px; margin: 0 auto; padding: 0 6vw 6rem; }
.cart-page .page-title { padding: 3.2rem 0 1.8rem; }
.cart-page .page-title h1 { margin-top: 0.6rem; }
.cart-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.55fr) minmax(290px, 0.8fr);
    align-items: start;
    gap: clamp(2rem, 5vw, 5rem);
    padding-top: 2.8rem;
}
.cart-items { min-width: 0; }
.cart-empty { padding: 2.4rem 0; color: var(--ink-soft); font-family: var(--serif); font-size: 1.5rem; }
.cart-item {
    display: grid;
    grid-template-columns: 104px minmax(0, 1fr) auto;
    align-items: center;
    gap: 1.4rem;
    padding: 1.4rem 0;
    border-bottom: 1px solid var(--line);
}
.cart-item:first-child { padding-top: 0; }
.cart-item-image { width: 104px; aspect-ratio: 1; object-fit: cover; background: var(--stone); }
.cart-item-copy { min-width: 0; }
.cart-item-copy h2 { font-size: 1.5rem; line-height: 1.1; }
.cart-item-copy p { margin-top: 0.5rem; color: var(--ink-soft); font-size: 0.86rem; }
.cart-item-copy .price-before { margin-left: 0.45rem; }
.cart-item-controls { display: flex; align-items: center; justify-content: flex-end; gap: 0.65rem; }
.cart-item-controls button:not(.cart-remove) {
    display: grid;
    width: 32px;
    height: 32px;
    place-items: center;
    border: 1px solid var(--line);
    background: transparent;
    color: var(--ink);
    cursor: pointer;
}
.cart-item-controls button:disabled { opacity: 0.4; cursor: not-allowed; }
.cart-item-controls span { min-width: 1.2rem; text-align: center; font-size: 0.85rem; }
.cart-remove {
    border: 0;
    background: transparent;
    color: var(--ink-soft);
    font-size: 0.66rem;
    letter-spacing: 0.12em;
    text-decoration: underline;
    text-underline-offset: 3px;
    text-transform: uppercase;
    cursor: pointer;
}
.cart-summary {
    position: sticky;
    top: 1.5rem;
    padding: 2rem;
    border: 1px solid var(--line);
    background: var(--paper);
}
.cart-summary > .eyebrow { color: var(--ink-soft); font-size: 0.62rem; }
.cart-summary h2 { margin: 0.45rem 0 1.5rem; font-size: 1.8rem; }
.cart-total-row { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; padding: 0.7rem 0; font-size: 0.86rem; }
.cart-total-row strong { font-weight: 400; white-space: nowrap; }
.cart-savings-row { color: var(--forest); }
.cart-savings-row[hidden] { display: none; }
.cart-grand-total { margin-top: 0.55rem; padding-top: 1rem; border-top: 1px solid var(--line); font-size: 1rem; }
.promo-entry { margin-top: 1rem; padding-top: 1.2rem; border-top: 1px solid var(--line); }
.promo-entry > label { display: block; margin-bottom: 0.55rem; font-size: 0.74rem; }
.promo-controls { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 0.5rem; }
.promo-controls input {
    min-width: 0;
    padding: 0.75rem 0.8rem;
    border: 1px solid var(--line);
    background: var(--cream);
    color: var(--ink);
    font-size: 0.8rem;
    text-transform: uppercase;
}
.promo-controls .btn.small { justify-content: center; padding: 0.7rem 0.85rem; }
.promo-status { min-height: 1.2rem; margin-top: 0.5rem; color: var(--ink-soft); font-size: 0.72rem; line-height: 1.5; }
.promo-status.is-success { color: var(--forest); }
.promo-status.is-error { color: #8b3026; }
.cart-shipping-note, .cart-status { margin-top: 0.8rem; color: var(--ink-soft); font-size: 0.72rem; line-height: 1.6; }
.cart-summary .btn.block { margin-top: 1rem; }
.cart-summary .btn:disabled { opacity: 0.48; cursor: not-allowed; }
.cart-summary .btn.block { text-align: center; text-decoration: none; }
.cart-continue { display: inline-block; margin-top: 1rem; font-size: 0.72rem; letter-spacing: 0.1em; text-decoration: underline; text-underline-offset: 4px; text-transform: uppercase; }
.checkout-layout { grid-template-columns: minmax(0, 1.2fr) minmax(290px, 0.8fr); }
.checkout-panels { display: grid; gap: 1.2rem; }
.checkout-panel {
    padding: clamp(1.4rem, 3vw, 2.2rem);
    border: 1px solid var(--line);
    background: var(--paper);
}
.checkout-panel h2 { margin: 0.5rem 0 0.8rem; font-size: 1.7rem; }
.checkout-panel p:not(.eyebrow) { color: var(--ink-soft); font-size: 0.88rem; line-height: 1.75; }
.checkout-details-list { display: grid; gap: 0.65rem; margin-top: 1rem; padding-left: 1.1rem; color: var(--ink); font-size: 0.83rem; line-height: 1.55; }
.checkout-security-note { margin-top: 1.1rem; padding-top: 1rem; border-top: 1px solid var(--line); }
.checkout-summary .cart-items { margin-bottom: 1.5rem; }
.checkout-summary .cart-item { grid-template-columns: 72px minmax(0, 1fr); gap: 0.9rem; }
.checkout-summary .cart-item-image { width: 72px; }
.checkout-summary .cart-item-controls { grid-column: 2; justify-content: flex-start; }
.checkout-summary .cart-summary { position: static; }
.checkout-summary .cart-item-copy h2 { font-size: 1.2rem; }
.checkout-summary .cart-item-copy p { margin-top: 0.25rem; }
.checkout-summary .cart-empty { padding-top: 0; }
.checkout-summary .promo-entry { display: none; }
.checkout-summary .cart-shipping-note { margin-bottom: 0.5rem; }
.checkout-summary .cart-status { margin-top: 0.8rem; }
.checkout-summary .checkout-back { display: inline-block; margin-top: 1rem; }
.checkout-result {
    width: min(100% - 12vw, 760px);
    margin: clamp(3rem, 8vw, 7rem) auto;
    padding: clamp(2rem, 6vw, 4.5rem);
    border: 1px solid var(--line);
    background: var(--paper);
}
.checkout-result h1 { margin-top: 1rem; font-size: clamp(2.4rem, 5vw, 4rem); line-height: 1.05; }
.checkout-result .lead { max-width: 560px; margin: 1.4rem 0 2rem; color: var(--ink-soft); font-family: var(--serif); font-size: 1.4rem; line-height: 1.5; }
/* ============ FOOTER ============ */
.site-footer { background: var(--paper); border-top: 1px solid var(--line); padding: 4rem 6vw 2rem; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr 1.6fr; gap: 2.4rem; }
.site-footer .logo-mark { font-size: 1.9rem; }
.foot-col h4 { font-family: var(--sans); font-weight: 400; font-size: 0.68rem; letter-spacing: 0.22em; text-transform: uppercase; margin-bottom: 1rem; }
.foot-col a { display: block; font-size: 0.82rem; color: var(--ink-soft); padding: 0.28rem 0; transition: color 0.25s; }
.foot-col a:hover { color: var(--ink); }
.foot-col p { font-size: 0.8rem; line-height: 1.7; color: var(--ink-soft); margin-bottom: 1rem; }
.news { display: flex; border: 1px solid var(--line); background: var(--cream); }
.news input { flex: 1; min-width: 0; background: none; border: none; padding: 0.9rem 1rem; font-family: var(--sans); font-weight: 300; font-size: 0.8rem; color: var(--ink); outline: none; }
.news button { background: none; border: none; padding: 0 1rem; cursor: pointer; color: var(--ink); }
.news svg { width: 20px; height: 12px; }
.social-follow {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    margin-top: 3rem;
    padding: 1.5rem 0;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}
.social-copy .eyebrow {
    margin-bottom: 0.35rem;
    color: var(--ink-soft);
    font-size: 0.58rem;
    letter-spacing: 0.2em;
}
.social-copy > p:last-child {
    margin: 0;
    font-family: var(--serif);
    font-size: 1.35rem;
}
.social-links { display: flex; align-items: center; gap: 1.1rem; }
.social-links a {
    display: grid;
    width: 40px;
    height: 40px;
    place-items: center;
    border: 1px solid var(--line);
    border-radius: 50%;
    color: var(--ink-soft);
    transition: color 0.25s, border-color 0.25s, transform 0.25s;
}
.social-links a:hover { color: var(--ink); border-color: var(--ink); transform: translateY(-2px); }
.social-links svg { width: 18px; height: 18px; }
.social-links a:nth-child(2) svg { width: 16px; height: 20px; }
.legal { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 1rem; margin-top: 3rem; padding-top: 1.4rem; border-top: 1px solid var(--line); font-size: 0.68rem; letter-spacing: 0.1em; color: var(--ink-soft); }
.legal a { margin-left: 1.4rem; }
.legal a:first-child { margin-left: 0; }
/* ============ TOAST ============ */
.toast {
    position: fixed; left: 50%; bottom: 28px; transform: translate(-50%, 30px);
    background: var(--ink); color: #f4f1ea;
    padding: 1rem 1.6rem; font-size: 0.72rem; letter-spacing: 0.2em; text-transform: uppercase;
    opacity: 0; pointer-events: none; transition: all 0.35s; z-index: 50;
}
.toast.on { opacity: 1; transform: translate(-50%, 0); }
/* ============ TABLET ============ */
@media (max-width: 1000px) {
    .main-nav { gap: 1.4rem; }
    .main-nav a, .main-nav summary { font-size: 0.66rem; letter-spacing: 0.2em; }
    .hero-side { top: auto; right: 4vw; bottom: 12%; padding: 1rem 1.15rem; transform: none; }
    .hero-content { max-width: 54vw; }
    .collections, .grid, .four { grid-template-columns: repeat(2, 1fr); }
    .foot-grid { grid-template-columns: 1fr 1fr 1fr; }
    .foot-grid > :first-child, .foot-grid > :last-child { grid-column: 1 / -1; }
    .dark .inner { grid-template-columns: 1fr; }
}
@media (max-width: 900px) {
    .pdp { grid-template-columns: minmax(0, 1fr) minmax(260px, 0.9fr); gap: 2rem; }
    .pdp-gallery { grid-template-columns: 64px minmax(0, 1fr); gap: 0.75rem; }
    .cart-layout { grid-template-columns: minmax(0, 1fr) minmax(260px, 0.8fr); gap: 2rem; }
    .checkout-layout { grid-template-columns: minmax(0, 1fr) minmax(260px, 0.8fr); }
    .cart-summary { padding: 1.5rem; }
    .cart-item { grid-template-columns: 82px minmax(0, 1fr); }
    .cart-item-image { width: 82px; }
    .cart-item-controls { grid-column: 2; justify-content: flex-start; }
}
/* ============ MOBILE ============ */
@media (max-width: 760px) {
    .site-header { grid-template-columns: 1fr auto auto; padding: 22px 6vw; row-gap: 0.8rem; }
    .logo-mark { font-size: 1.9rem; }
    .menu-toggle { display: inline-flex; grid-column: 2; grid-row: 1; }
    .header-icons { grid-column: 3; grid-row: 1; gap: 1rem; }
    .main-nav {
        display: none;
        grid-column: 1 / -1;
        grid-row: 2;
        flex-direction: column;
        gap: 0;
        padding-top: 0.4rem;
        border-top: 1px solid var(--line);
    }
    .main-nav.open { display: flex; }
    .main-nav a, .main-nav summary { padding: 0.85rem 0; font-size: 0.68rem; letter-spacing: 0.18em; }
    .shop-menu { width: 100%; }
    .shop-menu summary { width: fit-content; }
    .shop-menu summary::after { margin-left: 0.8rem; }
    .shop-submenu {
        position: static;
        min-width: 0;
        margin: 0 0 0.4rem 0.7rem;
        padding: 0.2rem 0 0.2rem 1rem;
        border: 0;
        border-left: 1px solid var(--line);
        background: transparent;
        box-shadow: none;
    }
    .shop-submenu a { padding: 0.65rem 0; font-size: 0.64rem; }
    .hero .site-header { background: rgba(236, 232, 225, 0.88); }
    .hero {
        min-height: 0;
        max-height: none;
        align-items: flex-start;
        background-color: var(--cream);
        background-size: auto 470px;
        background-position: 80% 70px;
        padding-top: 500px;
        padding-bottom: 90px;
    }
    .hero::before {
        content: ""; position: absolute; inset: 0;
        background: linear-gradient(to bottom, rgba(236,232,225,0) 0, rgba(236,232,225,0) 360px, var(--cream) 520px);
    }
    .hero-content { max-width: 560px; margin-top: 0; }
    .hero-foot { display: none; }
    .hero-side {
        display: flex;
        top: 405px;
        right: 6vw;
        bottom: auto;
        transform: none;
        gap: 0.4rem;
        padding: 0.75rem 0.9rem;
        font-size: 0.56rem;
        letter-spacing: 0.14em;
    }
    .cards, .substrates { grid-template-columns: 1fr; }
    .split, .starter { grid-template-columns: 1fr; }
    .split.flip .copy, .split.flip .pic { order: initial; }
    .split .pic { min-height: 320px; }
    .section { padding: 3.5rem 6vw; }
    .section-head { flex-direction: column; align-items: flex-start; }
    .section-head .note { text-align: left; }
    .pdp { grid-template-columns: minmax(0, 1fr); gap: 2rem; padding-top: 0.5rem; }
    .pdp-gallery { grid-template-columns: 56px minmax(0, 1fr); gap: 0.65rem; }
    .thumbs { gap: 0.5rem; }
    .pdp-info { padding-top: 0; }
    .cart-page { padding-bottom: 4rem; }
    .cart-page .page-title { padding-top: 2.5rem; }
    .cart-layout { grid-template-columns: 1fr; gap: 2rem; padding-top: 1.5rem; }
    .checkout-layout { grid-template-columns: 1fr; }
    .cart-summary { position: static; }
    .cart-item { grid-template-columns: 76px minmax(0, 1fr); gap: 1rem; }
    .cart-item-image { width: 76px; }
    .cart-item-copy h2 { font-size: 1.3rem; }
    .cart-item-controls { flex-wrap: wrap; }
    .checkout-result { width: auto; margin: 2rem 6vw 4rem; }
    .image-lightbox { width: 96vw; padding: 0.8rem; }
    .lightbox-image { aspect-ratio: 3 / 4; }
    .grid, .grid.three, .collections, .four { grid-template-columns: 1fr 1fr; gap: 1.6rem 0.8rem; }
    .values { grid-template-columns: 1fr; gap: 2rem; }
    .foot-grid { grid-template-columns: 1fr 1fr; }
    .social-follow { align-items: flex-start; }
    .legal { flex-direction: column; }
}
@media (max-width: 360px) {
    .hero-content { width: 100%; }
    .hero h1 { font-size: 2.45rem; }
    .hero .btn { gap: 1rem; padding: 1.05rem 1rem; font-size: 0.62rem; letter-spacing: 0.16em; }
    .section-head h2 { gap: 0.7rem; font-size: 1.55rem; }
    .section-head h2::after { width: 24px; }
}
