/* DeeDeux storefront — "Espresso & Ivory"
   Owner's palette: 65% Warm Ivory, 30% Deep Espresso, 5% Champagne accents.
   (Token names --cloud/--plum/--brass kept for stability; values below are the brand colours.)
   Type: Bodoni Moda (display, fashion-house serif) + Manrope (UI and body). */

@font-face { font-family: "Cormorant Garamond"; src: url("/assets/fonts/cormorant-garamond.woff") format("woff"); font-weight: 300 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Cormorant Garamond"; src: url("/assets/fonts/cormorant-garamond-italic.woff") format("woff"); font-weight: 300 700; font-style: italic; font-display: swap; }
@font-face { font-family: "Inter"; src: url("/assets/fonts/inter-light.woff") format("woff"); font-weight: 300; font-display: swap; }
@font-face { font-family: "Inter"; src: url("/assets/fonts/inter-regular.woff") format("woff"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Inter"; src: url("/assets/fonts/inter-medium.woff") format("woff"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Inter"; src: url("/assets/fonts/inter-semibold.woff") format("woff"); font-weight: 600 700; font-display: swap; }

:root {
  /* DEEDEUX brand palette */
  --cloud: #f3ede3;      /* Warm Ivory: page */
  --cloud-2: #ebe3d6;
  --lilac: #e3d9ca;      /* image wells */
  --lilac-2: #ede6da;
  --plum: #241813;       /* Deep Espresso: brand, buttons */
  --plum-2: #3a2a22;     /* espresso hover */
  --plum-deep: #171717;  /* Soft Black: footer, deep panels */
  --brass: #8a6f4f;      /* Champagne, deepened for text on ivory (4.6:1) */
  --brass-2: #b69a78;    /* Muted Champagne: subtle accents only */
  --ink: #171717;
  --muted: #5f5650;
  --line: #ddd3c5;
  --ok: #3e5130;
  --err: #8a2d22;
  --serif: "Cormorant Garamond", "Playfair Display", Georgia, serif;
  --sans: "Inter", "Helvetica Neue", Arial, sans-serif;
  --wrap: 1440px;
  --gutter: clamp(20px, 4vw, 64px);
  --ease: cubic-bezier(.2, .7, .1, 1);
  --header-h: 76px;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }
html, body { margin: 0; }
body { background: var(--cloud); color: var(--ink); font-family: var(--sans); font-size: 16px; line-height: 1.6; font-feature-settings: "cv11", "ss03"; -webkit-font-smoothing: antialiased; }
body.locked { overflow: hidden; }
a { color: inherit; }
img { max-width: 100%; display: block; }
button { font: inherit; color: inherit; }
.hidden, [hidden] { display: none !important; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.muted { color: var(--muted); }
.fine { font-size: 13px; color: var(--muted); margin: 8px 0; }
.center { text-align: center; }
:focus-visible { outline: 2px solid var(--plum); outline-offset: 3px; border-radius: 2px; }
.skip { position: absolute; left: 12px; top: -60px; background: var(--plum); color: var(--cloud); padding: 10px 16px; z-index: 100; border-radius: 999px; }
.skip:focus { top: 12px; }

h1, h2, h3 { font-family: var(--serif); font-weight: 500; line-height: 1.02; letter-spacing: -0.01em; margin: 0 0 16px; font-variation-settings: "opsz" 96; }
h1.page-title { font-size: clamp(40px, 6vw, 72px); margin: 8px 0 36px; }
h2 { font-size: clamp(30px, 3.6vw, 48px); }

/* ---------- mark & logo ---------- */
.mark { width: 36px; height: auto; fill: currentColor; flex: none; }
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--plum); }
.logo span { font-family: var(--serif); font-size: 26px; font-weight: 600; letter-spacing: 0.01em; line-height: 1; }

/* ---------- announcement + header ---------- */
.announce { background: var(--plum-deep); color: var(--lilac-2); text-align: center; font-size: 13px; letter-spacing: 0.02em; }
.announce p { margin: 0; padding: 9px var(--gutter); }
.site-header { position: sticky; top: 0; z-index: 40; background: color-mix(in srgb, var(--cloud) 88%, transparent); backdrop-filter: saturate(140%) blur(14px); -webkit-backdrop-filter: saturate(140%) blur(14px); border-bottom: 1px solid var(--line); }
.hdr { max-width: var(--wrap); margin: 0 auto; height: var(--header-h); padding: 0 var(--gutter); display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 16px; }
.primary ul { list-style: none; margin: 0; padding: 0; display: flex; gap: clamp(18px, 2.4vw, 34px); }
.primary > ul > li > a { display: inline-block; padding: 26px 0; font-size: 14px; font-weight: 600; text-decoration: none; position: relative; }
.primary > ul > li > a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 20px; height: 1.5px; background: var(--brass); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease); }
.primary > ul > li:hover > a::after, .primary > ul > li:focus-within > a::after { transform: scaleX(1); }
.tools { display: flex; justify-content: flex-end; align-items: center; gap: 4px; }
.icon-btn { width: 44px; height: 44px; display: inline-grid; place-items: center; border: 0; background: none; cursor: pointer; border-radius: 50%; color: var(--plum); text-decoration: none; position: relative; }
.icon-btn:hover { background: var(--lilac-2); }
.icon { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.bag-count { position: absolute; top: 4px; right: 2px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px; background: var(--plum); color: var(--cloud); font-size: 11px; font-weight: 700; line-height: 18px; text-align: center; }
.only-mobile { display: none; }

/* mega menu */
.has-mega { position: static; }
.mega { position: absolute; left: 0; right: 0; top: 100%; background: var(--cloud); border-bottom: 1px solid var(--line); box-shadow: 0 30px 60px -30px rgba(36, 24, 15, .28); opacity: 0; visibility: hidden; transform: translateY(-6px); transition: opacity .22s var(--ease), transform .22s var(--ease), visibility 0s .22s; }
.has-mega:hover .mega, .has-mega:focus-within .mega, .has-mega.open .mega { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.has-mega.closed .mega { opacity: 0 !important; visibility: hidden !important; }
.mega-inner { max-width: var(--wrap); margin: 0 auto; padding: 36px var(--gutter) 44px; display: grid; grid-template-columns: 1fr 1fr 1.4fr; gap: 40px; }
.mega-head { font-family: var(--serif); font-size: 22px; margin: 0 0 14px; color: var(--plum); }
.mega-col ul { display: grid; gap: 8px; }
.mega-col a { text-decoration: none; font-size: 15px; }
.mega-col a:hover { color: var(--plum-2); text-decoration: underline; text-underline-offset: 4px; text-decoration-color: var(--brass); }
.mega-feature { position: relative; display: block; min-height: 220px; border-radius: 4px; overflow: hidden; background: radial-gradient(120% 120% at 80% 10%, var(--plum-2), var(--plum) 55%, var(--plum-deep)); color: var(--cloud); text-decoration: none; }
.mega-feature-art .mark { position: absolute; right: -24px; top: 20px; width: 260px; height: auto; fill: none; stroke: var(--brass-2); stroke-width: .6; opacity: .8; }
.mega-feature-text { position: absolute; left: 24px; bottom: 22px; display: grid; gap: 2px; }
.mega-feature-text em { font-family: var(--serif); font-size: 34px; }
.mega-feature-text span { font-size: 14px; color: var(--lilac-2); }

/* search */
.search-panel { border-top: 1px solid var(--line); background: var(--cloud); }
.search-inner { max-width: 820px; margin: 0 auto; padding: 18px var(--gutter); display: flex; gap: 8px; align-items: center; }
.search-inner input { font-family: var(--serif); font-size: 26px; border: 0; border-bottom: 1px solid var(--plum); background: transparent; border-radius: 0; padding: 8px 0; }
.search-inner input:focus { box-shadow: none; }
.search-results { max-width: 820px; margin: 0 auto; padding: 0 var(--gutter) 24px; display: grid; gap: 4px; }
.search-hit { display: grid; grid-template-columns: 48px 1fr auto; gap: 14px; align-items: center; padding: 8px; text-decoration: none; border-radius: 4px; }
.search-hit:hover, .search-hit:focus-visible { background: var(--lilac-2); }
.search-hit .ph { display: grid; place-items: center; color: var(--plum); }
.search-hit .ph svg { width: 80%; height: auto; }
.search-hit img, .search-hit .ph { width: 48px; height: 60px; object-fit: cover; background: var(--lilac); border-radius: 2px; }

/* drawers */
.scrim { position: fixed; inset: 0; background: rgba(36, 24, 15, .42); z-index: 60; backdrop-filter: blur(2px); }
.drawer { position: fixed; top: 0; bottom: 0; width: min(420px, 92vw); background: var(--cloud); z-index: 70; display: flex; flex-direction: column; box-shadow: 0 0 60px rgba(36, 24, 15, .25); }
.drawer-left { left: 0; }
.drawer-right { right: 0; }
@media (prefers-reduced-motion: no-preference) {
  .drawer-left:not([hidden]) { animation: in-left .35s var(--ease); }
  .drawer-right:not([hidden]) { animation: in-right .35s var(--ease); }
  @keyframes in-left { from { transform: translateX(-100%); } }
  @keyframes in-right { from { transform: translateX(100%); } }
}
.drawer-head { display: flex; justify-content: space-between; align-items: center; padding: 14px 18px 14px 24px; border-bottom: 1px solid var(--line); }
.drawer-title { font-family: var(--serif); font-size: 26px; margin: 0; }
.drawer-body { flex: 1; overflow-y: auto; padding: 8px 24px; }
.drawer-foot { padding: 20px 24px 24px; border-top: 1px solid var(--line); }
.drawer-foot .btn + .btn { margin-top: 8px; }
.drawer-nav { padding: 12px 24px; display: grid; }
.drawer-nav > a, .drawer-nav summary { display: block; padding: 16px 0; border-bottom: 1px solid var(--line); text-decoration: none; font-family: var(--serif); font-size: 24px; cursor: pointer; list-style: none; }
.drawer-nav summary::-webkit-details-marker { display: none; }
.drawer-nav summary::after { content: "+"; float: right; font-family: var(--sans); color: var(--brass); }
.drawer-nav details[open] summary::after { content: "–"; }
.drawer-nav ul { list-style: none; margin: 0; padding: 8px 0 12px; display: grid; gap: 2px; }
.drawer-nav ul a { display: block; padding: 8px 0; text-decoration: none; }

main { max-width: var(--wrap); margin: 0 auto; padding: 32px var(--gutter) 112px; }
main.page-home { max-width: none; padding: 0 0 40px; }

/* ---------- buttons, links, forms ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 52px; padding: 0 30px; border-radius: 999px; border: 1px solid var(--plum); background: var(--plum); color: var(--cloud); font-size: 15px; font-weight: 700; letter-spacing: 0.01em; text-decoration: none; cursor: pointer; transition: background .2s, color .2s, border-color .2s; }
.btn:hover { background: var(--plum-2); border-color: var(--plum-2); }
.btn.light { background: var(--cloud); color: var(--plum); border-color: var(--cloud); }
.btn.light:hover { background: var(--lilac); border-color: var(--lilac); }
.btn.outline-light { background: transparent; color: var(--cloud); border-color: rgba(243, 240, 235, .6); }
.btn.outline-light:hover { border-color: var(--cloud); background: rgba(243, 240, 235, .08); }
.btn.ghost { background: transparent; color: var(--plum); }
.btn.ghost:hover { background: var(--lilac-2); }
.btn.small { min-height: 38px; padding: 0 18px; font-size: 13px; }
.btn.danger { background: var(--err); border-color: var(--err); }
.btn.block { display: flex; width: 100%; margin-top: 18px; }
.btn.grow { flex: 1; }
.btn:disabled { opacity: .5; cursor: not-allowed; }
.text-link { background: none; border: 0; padding: 0; cursor: pointer; color: var(--plum); font-weight: 700; font-size: 14px; text-decoration: underline; text-decoration-color: var(--brass); text-underline-offset: 5px; text-decoration-thickness: 1.5px; }
.text-link:hover { color: var(--plum-2); }
.link-btn { background: none; border: 0; padding: 0; color: var(--muted); text-decoration: underline; cursor: pointer; font-size: 13px; }

label { display: block; font-size: 13px; font-weight: 700; margin: 18px 0 6px; color: var(--ink); }
input, select, textarea { width: 100%; padding: 13px 16px; border: 1px solid var(--line); background: #fbf8f2; border-radius: 10px; font: inherit; color: inherit; transition: border-color .15s, box-shadow .15s; }
input:hover, select:hover, textarea:hover { border-color: #bfaeb6; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--plum); box-shadow: 0 0 0 3px rgba(59, 42, 32, .14); }
textarea { min-height: 96px; resize: vertical; }
select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%233b2a20' stroke-width='1.8'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; background-size: 18px; padding-right: 40px; }
.row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.msg { padding: 12px 16px; margin: 12px 0; font-size: 14px; border-radius: 10px; }
.msg.error { background: #f5e2dc; color: var(--err); }
.msg.ok { background: #e7ede2; color: var(--ok); }

/* ---------- hero: the arch ----------
   Two stacked layers share one coordinate system. The arch layer is the same size as the hero
   and clipped to an arch, so the headline copy inside it lines up exactly and reads ivory-on-espresso
   where it crosses the arch, espresso-on-ivory everywhere else. */
.hero { position: relative; min-height: min(calc(100svh - 110px), 880px); background: var(--cloud); overflow: hidden; isolation: isolate; --arch: inset(7% 33% 0 33% round 50vw 50vw 0 0); }
.hero-base, .hero-arch { position: absolute; inset: 0; }
.hero-base { z-index: 1; }
.hero-arch { z-index: 2; clip-path: var(--arch); pointer-events: none; }
.hero-media { position: absolute; inset: 0; background:
  radial-gradient(40% 50% at 50% 30%, rgba(220, 197, 151, .22), transparent 70%),
  repeating-linear-gradient(45deg, rgba(245, 239, 228, .045) 0 1px, transparent 1px 4px),
  repeating-linear-gradient(-45deg, rgba(0, 0, 0, .08) 0 1px, transparent 1px 4px),
  linear-gradient(180deg, var(--plum-2), var(--plum) 45%, var(--plum-deep)); }
.hero-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-media img + .arch-mark, .hero-media:has(img) .arch-mark { display: none; }
.arch-mark { position: absolute; left: 50%; top: 13%; transform: translateX(-50%); color: var(--brass-2); }
.arch-art { position: absolute; left: 50%; bottom: 5%; transform: translateX(-50%); width: min(21vw, 300px); color: var(--brass-2); opacity: .9; }
.hero-media.has-photo .arch-art, .hero-media.has-photo .arch-mark { display: none; }
.arch-mark .mark { width: clamp(44px, 4vw, 64px); height: auto; fill: currentColor; }
.hero-word { position: absolute; left: 0; right: 0; top: 50%; transform: translateY(-50%); margin: 0; text-align: center; white-space: nowrap;
  font-family: var(--serif); font-style: italic; font-weight: 500; font-size: clamp(84px, 16.5vw, 300px); line-height: 1; letter-spacing: -0.04em; color: var(--plum); font-variation-settings: "opsz" 96; top: 42%; }
.hero-word-inv { color: var(--cloud); }
.hero-kicker { position: absolute; left: var(--gutter); top: clamp(28px, 6%, 64px); margin: 0; font-size: 14px; font-weight: 700; color: var(--brass); }
.hero-foot { position: absolute; left: var(--gutter); bottom: clamp(28px, 6%, 64px); width: min(26%, 360px); }
.hero-line { margin: 0 0 22px; font-size: clamp(15px, 1.2vw, 18px); color: var(--ink); }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 10px; }
.hero-ctas .btn { min-height: 48px; padding: 0 24px; }
.hero-side { position: absolute; right: var(--gutter); bottom: clamp(28px, 6%, 64px); margin: 0; text-align: right; font-family: var(--serif); font-size: clamp(18px, 1.6vw, 24px); line-height: 1.35; color: var(--plum); }
@media (prefers-reduced-motion: no-preference) {
  .hero-arch { animation: arch-rise 1.2s .1s var(--ease) both; }
  @keyframes arch-rise { from { opacity: 0; transform: translateY(40px); } to { opacity: 1; transform: none; } }
}

/* ---------- departments ---------- */
.departments { max-width: var(--wrap); margin: 0 auto; padding: clamp(48px, 7vw, 96px) var(--gutter) 0; display: grid; grid-template-columns: 1fr 1fr; gap: clamp(12px, 2vw, 24px); }
.dept { position: relative; aspect-ratio: 4 / 5; max-height: 720px; width: 100%; border-radius: 4px; overflow: hidden; text-decoration: none; display: block; }
.dept-women { background: linear-gradient(180deg, var(--lilac-2), var(--lilac)); color: var(--plum); }
.dept-men { background: linear-gradient(180deg, #33241a, var(--plum-deep)); color: var(--cloud); }
.dept-art { position: absolute; left: 50%; top: 40%; transform: translate(-50%, -50%); width: 46%; transition: transform .7s var(--ease); }
.dept-women .dept-art { color: var(--plum); }
.dept-men .dept-art { color: var(--brass-2); }
.dept:hover .dept-art { transform: translate(-50%, -52%) scale(1.03); }
.dept-label { position: absolute; left: clamp(20px, 3vw, 40px); bottom: clamp(20px, 3vw, 40px); display: grid; gap: 4px; }
.dept-label em { font-family: var(--serif); font-size: clamp(44px, 6vw, 88px); line-height: .95; }
.dept-label span { font-size: 15px; font-weight: 700; text-decoration: underline; text-underline-offset: 5px; text-decoration-color: var(--brass); }

/* ---------- product rails & grid ---------- */
.rail-section { max-width: var(--wrap); margin: 0 auto; padding: clamp(56px, 8vw, 112px) var(--gutter) 0; }
.page-product .rail-section { padding-left: 0; padding-right: 0; }
.section-head { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; margin-bottom: 24px; }
.section-head h2 { margin: 0; }
.rail { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(240px, 22%); gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 12px; scrollbar-width: thin; scrollbar-color: var(--lilac) transparent; }
.rail > * { scroll-snap-align: start; }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 44px 20px; }
.card { text-decoration: none; display: block; transition: transform .45s var(--ease); }
.card .img { transition: box-shadow .45s var(--ease); }
.card:hover { transform: translateY(-4px); }
.card:hover .img { box-shadow: 0 24px 40px -24px rgba(36, 24, 15, .45); }
.card .img { position: relative; aspect-ratio: 3 / 4; background: var(--lilac-2); overflow: hidden; border-radius: 4px; }
.card .img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: opacity .45s var(--ease), transform .8s var(--ease); }
.card .img img.alt { opacity: 0; }
.card:hover .img img.alt { opacity: 1; }
.card:hover .img img:only-of-type { transform: scale(1.03); }
.card .ph { position: absolute; inset: 0; display: grid; place-items: center; color: var(--plum); }
.card .ph .art { width: 66%; height: auto; color: var(--plum); opacity: .55; }
.card .ph .mark { width: 34%; height: auto; opacity: .18; }
.tag { position: absolute; left: 12px; top: 12px; background: var(--cloud); color: var(--plum); font-size: 12px; font-weight: 700; padding: 4px 10px; border-radius: 999px; }
.tag.out { background: var(--plum-deep); color: var(--cloud); }
.card-meta { padding-top: 12px; display: grid; gap: 2px; }
.card .name { font-weight: 700; font-size: 15px; }
.card:hover .name { text-decoration: underline; text-underline-offset: 4px; text-decoration-color: var(--brass); }
.card .sub { font-size: 13px; color: var(--muted); }
.card .price { font-size: 15px; }
.card-swatches { display: flex; gap: 5px; margin-top: 6px; }
.swatch-dot { display: inline-block; width: 13px; height: 13px; border-radius: 50%; box-shadow: inset 0 0 0 1px rgba(43, 31, 23, .22); }
.empty { color: var(--muted); font-size: 17px; padding: 40px 0; max-width: 52ch; }

/* ---------- story & values ---------- */
.story-mark { order: 2; }
.story { max-width: var(--wrap); margin: clamp(64px, 9vw, 128px) auto 0; padding: 0 var(--gutter); display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
.story-mark { aspect-ratio: 1; background: var(--plum); border-radius: 4px; display: grid; place-items: center; position: relative; overflow: hidden; }
.story-mark .mark { width: 62%; height: auto; fill: none; stroke: var(--brass-2); stroke-width: .35; }
.story-copy h2 { font-size: clamp(40px, 5vw, 72px); font-style: italic; }
.story-copy p { font-size: clamp(17px, 1.5vw, 20px); max-width: 46ch; color: var(--ink); margin: 0 0 24px; }
.values { max-width: var(--wrap); margin: clamp(64px, 9vw, 128px) auto 0; padding: 40px var(--gutter); display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.values p { margin: 0; font-size: 15px; color: var(--muted); }
.values em { display: block; font-family: var(--serif); font-style: normal; font-size: clamp(26px, 2.6vw, 38px); color: var(--plum); line-height: 1.1; margin-bottom: 6px; }

/* ---------- shop page ---------- */
.crumbs { display: flex; gap: 8px; font-size: 13px; color: var(--muted); margin-bottom: 18px; }
.crumbs a { text-decoration: none; }
.crumbs a:hover { color: var(--plum); text-decoration: underline; }
.shop-head h1 { font-size: clamp(44px, 7vw, 96px); margin: 0 0 8px; }
.shop-sub { color: var(--muted); margin: 0 0 32px; max-width: 60ch; }
.toolbar { position: sticky; top: var(--header-h); z-index: 10; background: color-mix(in srgb, var(--cloud) 92%, transparent); backdrop-filter: blur(10px); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding: 12px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); margin-bottom: 12px; }
.seg { display: inline-flex; padding: 4px; background: var(--cloud-2); border-radius: 999px; }
.seg button { border: 0; background: none; padding: 8px 18px; border-radius: 999px; cursor: pointer; font-size: 14px; font-weight: 600; }
.seg button[aria-pressed="true"] { background: var(--plum); color: var(--cloud); }
.selects { display: flex; gap: 8px; flex-wrap: wrap; }
.selects select { width: auto; min-width: 150px; padding-top: 10px; padding-bottom: 10px; border-radius: 999px; font-size: 14px; }
.result-count { font-size: 13px; color: var(--muted); margin: 0 0 20px; }

/* ---------- product page ---------- */
.product { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 80px); align-items: start; }
.gallery { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.gallery figure { margin: 0; aspect-ratio: 3 / 4; background: var(--lilac-2); border-radius: 4px; overflow: hidden; }
.gallery figure:first-child { grid-column: 1 / -1; }
.gallery img { width: 100%; height: 100%; object-fit: cover; }
.gallery .ph { width: 100%; height: 100%; display: grid; place-items: center; color: var(--plum); }
.gallery .ph .art { width: 58%; height: auto; color: var(--plum); opacity: .55; }
.gallery .ph .mark { width: 30%; height: auto; opacity: .18; }
.buy { position: sticky; top: calc(var(--header-h) + 24px); }
.p-collection { margin: 0 0 10px; font-size: 14px; font-weight: 600; color: var(--brass); }
.buy h1 { font-size: clamp(36px, 4vw, 56px); margin: 0 0 10px; }
.buy .price { font-size: 22px; margin: 0 0 28px; }
.field-label { margin: 22px 0 10px; font-size: 14px; font-weight: 700; }
.field-label span { font-weight: 400; color: var(--muted); }
.field-row { display: flex; justify-content: space-between; align-items: center; }
.field-row .field-label { margin-bottom: 10px; }
.swatches { display: flex; gap: 10px; flex-wrap: wrap; }
.swatch { width: 44px; height: 44px; border-radius: 50%; padding: 4px; display: grid; place-items: center; border: 1px solid transparent; background: none; cursor: pointer; }
.swatch .swatch-dot { width: 32px; height: 32px; }
.swatch:hover { border-color: var(--line); }
.swatch[aria-pressed="true"] { border-color: var(--plum); box-shadow: inset 0 0 0 1px var(--plum); }
.sizes { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; }
.sizes button { padding: 13px 4px; border: 1px solid var(--line); background: #fbf8f2; border-radius: 10px; cursor: pointer; font-weight: 600; }
.sizes button:hover { border-color: var(--plum); }
.sizes button[aria-pressed="true"] { background: var(--plum); color: var(--cloud); border-color: var(--plum); }
.buy-row { display: flex; gap: 10px; margin-top: 28px; }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: 999px; background: #fbf8f2; }
.qty button { width: 42px; height: 50px; border: 0; background: none; cursor: pointer; font-size: 18px; color: var(--plum); }
.qty span { min-width: 26px; text-align: center; font-weight: 700; }
.stock-note { font-size: 14px; color: var(--err); min-height: 1.2em; margin: 10px 0 0; }
.accordions { margin-top: 28px; border-top: 1px solid var(--line); }
.accordions details { border-bottom: 1px solid var(--line); }
.accordions summary { padding: 18px 0; cursor: pointer; font-weight: 700; list-style: none; display: flex; justify-content: space-between; }
.accordions summary::-webkit-details-marker { display: none; }
.accordions summary::after { content: "+"; color: var(--brass); font-size: 20px; line-height: 1; }
.accordions details[open] summary::after { content: "–"; }
.accordions p { margin: 0 0 18px; color: var(--muted); white-space: pre-line; }

.dialog { border: 0; border-radius: 16px; padding: 0; width: min(640px, 94vw); background: var(--cloud); color: var(--ink); box-shadow: 0 40px 80px rgba(36, 24, 15, .35); }
.dialog::backdrop { background: rgba(36, 24, 15, .45); backdrop-filter: blur(2px); }
.dialog-head { display: flex; justify-content: space-between; align-items: center; padding: 20px 20px 4px 28px; }
.dialog-head h2 { margin: 0; font-size: 32px; }
.dialog [data-sizeguide] { padding: 8px 28px 28px; }
.size-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.size-table th, .size-table td { padding: 10px 8px; border-bottom: 1px solid var(--line); text-align: left; }
.size-table th { font-weight: 700; color: var(--plum); }

/* ---------- bag, checkout, account ---------- */
.layout-2 { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 56px); align-items: start; }
.panel { background: #fbf8f2; border: 1px solid var(--line); border-radius: 16px; padding: clamp(20px, 3vw, 32px); }
.panel h2 { font-size: 30px; }
.summary { position: sticky; top: calc(var(--header-h) + 24px); }
.line-item { display: grid; grid-template-columns: 76px 1fr auto; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--line); align-items: center; }
.ph-thumb { display: grid; place-items: center; color: var(--plum); }
.ph-thumb .mark { width: 50%; opacity: .3; }
.line-item .thumb { width: 76px; height: 96px; object-fit: cover; background: var(--lilac-2); border-radius: 4px; }
.line-item a { font-weight: 700; text-decoration: none; }
.line-item a:hover { text-decoration: underline; }
.meta { font-size: 13px; color: var(--muted); }
.line-controls { display: grid; gap: 8px; justify-items: end; }
.line-controls .qty button { height: 36px; width: 34px; }
.summary-row { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin: 8px 0; }
.summary-row.total { font-size: 18px; font-weight: 800; border-top: 1px solid var(--line); padding-top: 14px; margin-top: 14px; }
.tabs { display: flex; gap: 4px; padding: 4px; background: var(--cloud-2); border-radius: 999px; margin-bottom: 8px; }
.tabs button { flex: 1; background: none; border: 0; padding: 10px; border-radius: 999px; cursor: pointer; font-weight: 700; font-size: 14px; color: var(--muted); }
.tabs button.active { background: var(--plum); color: var(--cloud); }
.auth { max-width: 520px; }
.narrow-wrap { max-width: 720px; }
.narrow-panel { max-width: 720px; }
.account-head { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-bottom: 24px; }
.order-card { margin-bottom: 12px; }
.status { display: inline-block; padding: 3px 12px; border-radius: 999px; font-size: 12px; font-weight: 700; text-transform: capitalize; background: var(--cloud-2); }
.status.paid, .status.delivered { background: #e2ead9; color: var(--ok); }
.status.shipped { background: var(--lilac-2); color: var(--plum); }
.status.review, .status.cancelled { background: #f5e2dc; color: var(--err); }

/* ---------- about & help ---------- */
.about-hero { position: relative; padding: clamp(40px, 7vw, 96px) 0; display: grid; align-items: center; }
.about-hero h1 { font-size: clamp(56px, 10vw, 160px); font-style: italic; color: var(--plum); position: relative; z-index: 1; }
.about-mark .mark { position: absolute; right: 0; top: 50%; transform: translateY(-50%); width: min(46vw, 560px); height: auto; fill: none; stroke: var(--brass); stroke-width: .35; }
.about-body { max-width: 760px; }
.about-body .lead { font-family: var(--serif); font-size: clamp(24px, 2.6vw, 34px); line-height: 1.3; color: var(--plum); }
.about-body p { font-size: 18px; }
.about-body h2 { margin-top: 56px; }
.values-list { display: grid; grid-template-columns: 1fr 1fr; gap: 28px 40px; margin: 0 0 48px; }
.values-list dt { font-family: var(--serif); font-size: 28px; color: var(--plum); }
.values-list dd { margin: 4px 0 0; color: var(--muted); }
.help { display: grid; grid-template-columns: 220px 1fr; gap: clamp(24px, 5vw, 72px); align-items: start; }
.help-nav { position: sticky; top: calc(var(--header-h) + 24px); display: grid; gap: 4px; }
.help-nav a { padding: 10px 16px; border-radius: 999px; text-decoration: none; font-weight: 600; }
.help-nav a:hover { background: var(--lilac-2); }
.help-body section { padding-bottom: 48px; margin-bottom: 48px; border-bottom: 1px solid var(--line); max-width: 720px; }
.help-body h2 { font-size: 40px; }

/* ---------- footer ---------- */
.site-footer { background: var(--plum-deep); color: var(--lilac-2); margin-top: 40px; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: var(--cloud); text-decoration: underline; text-decoration-color: var(--brass); text-underline-offset: 4px; }
.site-footer .logo { color: var(--cloud); }
.site-footer .logo span { font-size: 34px; }
.site-footer :focus-visible { outline-color: var(--brass-2); }
.foot-top { max-width: var(--wrap); margin: 0 auto; padding: 64px var(--gutter) 40px; display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: end; border-bottom: 1px solid rgba(228, 216, 198, .18); }
.foot-brand p { max-width: 42ch; margin: 16px 0 0; }
.signup label { font-family: var(--serif); font-size: 30px; font-weight: 500; color: var(--cloud); margin: 0 0 14px; }
.signup-row { display: flex; gap: 8px; }
.signup input { background: rgba(243, 240, 235, .06); border-color: rgba(228, 216, 198, .3); color: var(--cloud); border-radius: 999px; padding-left: 20px; }
.signup input::placeholder { color: rgba(239, 231, 218, .6); }
.signup input:focus { border-color: var(--brass-2); box-shadow: 0 0 0 3px rgba(220, 197, 151, .2); }
.foot-cols { max-width: var(--wrap); margin: 0 auto; padding: 40px var(--gutter); display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.foot-head { font-family: var(--serif); font-size: 22px; color: var(--brass-2); margin: 0 0 12px; }
.foot-cols ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; font-size: 15px; }
.foot-base { max-width: var(--wrap); margin: 0 auto; padding: 20px var(--gutter) 32px; display: flex; justify-content: space-between; gap: 16px; font-size: 13px; color: rgba(239, 231, 218, .65); border-top: 1px solid rgba(228, 216, 198, .18); }
.foot-base p { margin: 0; }

/* ---------- admin (shares the system) ---------- */
.admin-table { width: 100%; border-collapse: collapse; font-size: 14px; background: #fbf8f2; border-radius: 12px; overflow: hidden; }
.admin-table th { text-align: left; font-weight: 700; padding: 12px; background: var(--cloud-2); }
.admin-table td { padding: 12px; border-top: 1px solid var(--line); vertical-align: top; }
.admin-table img { width: 48px; height: 60px; object-fit: cover; background: var(--lilac-2); border-radius: 3px; }
.upload-previews { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 10px; }
.upload-previews figure { margin: 0; position: relative; }
.upload-previews img { width: 72px; height: 90px; object-fit: cover; border-radius: 4px; }
.upload-previews button { position: absolute; top: 3px; right: 3px; background: var(--plum); color: var(--cloud); border: 0; width: 22px; height: 22px; border-radius: 50%; cursor: pointer; }
.checkbox { display: flex; align-items: center; gap: 8px; font-weight: 500; }
.checkbox input { width: auto; }
.color-add { display: grid; grid-template-columns: 1fr 56px auto; gap: 8px; }
.color-add input[type="color"] { padding: 4px; height: auto; cursor: pointer; }
.color-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.chip-color { display: inline-flex; align-items: center; gap: 8px; border: 1px solid var(--line); padding: 6px 12px; border-radius: 999px; font-size: 14px; background: #fbf8f2; }
.chip { display: inline-block; border: 1px solid var(--line); background: #fbf8f2; padding: 7px 16px; border-radius: 999px; font-size: 14px; font-weight: 600; text-decoration: none; cursor: pointer; }
.chip:hover, .chip.active { background: var(--plum); color: var(--cloud); border-color: var(--plum); }
.filters { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 16px; }
.admin-tabs { display: flex; gap: 6px; }
.narrow { max-width: 460px; margin: 48px auto; }


/* ---------- garment line art ---------- */
.art { display: block; width: 100%; height: auto; overflow: visible; fill: none; stroke: currentColor; stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }
.art .art-body { fill: currentColor; fill-opacity: .06; }
.art .art-btn { fill: currentColor; stroke: none; }

/* ---------- header depth on scroll ---------- */
.site-header { transition: box-shadow .3s var(--ease), background-color .3s var(--ease); }
.site-header.scrolled { box-shadow: 0 10px 30px -18px rgba(36, 24, 15, .35); }

/* ---------- assurances ---------- */
.assurances { list-style: none; margin: 0 auto; padding: 22px var(--gutter); max-width: var(--wrap); display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; border-bottom: 1px solid var(--line); }
.assurances li { display: grid; gap: 2px; padding-left: 16px; border-left: 2px solid var(--brass); }
.assurances strong { font-size: 15px; color: var(--plum); }
.assurances span { font-size: 14px; color: var(--muted); }

/* ---------- one set, two ways ---------- */
.duo { max-width: var(--wrap); margin: clamp(64px, 9vw, 128px) auto 0; padding: 0 var(--gutter); display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
.duo-art { background: var(--plum); border-radius: 4px; padding: clamp(28px, 4vw, 56px); display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 12px; color: var(--brass-2); position: relative; overflow: hidden; }
.duo-art::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: repeating-linear-gradient(45deg, rgba(245, 239, 228, .035) 0 1px, transparent 1px 4px); }
.duo-art figure { margin: 0; display: grid; gap: 14px; justify-items: center; }
.duo-art figcaption { font-family: var(--serif); font-style: italic; font-size: 20px; color: var(--cloud); }
.duo-plus { font-family: var(--serif); font-size: 40px; color: var(--brass-2); }
.duo-kicker { margin: 0 0 12px; font-size: 14px; font-weight: 700; color: var(--brass); }
.duo-copy h2 { font-size: clamp(40px, 5vw, 72px); font-style: italic; }
.duo-copy p { font-size: clamp(17px, 1.4vw, 19px); max-width: 44ch; margin: 0 0 28px; }

/* ---------- reveal on scroll (premium, unhurried) ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.departments .dept.reveal:nth-child(2) { transition-delay: .12s; }

/* ---------- responsive ---------- */
@media (max-width: 960px) {
  .primary, .only-desktop { display: none; }
  .only-mobile { display: inline-grid; }
  .hdr { grid-template-columns: auto 1fr auto; }
  .hdr .logo { justify-self: center; }
  .logo span { font-size: 22px; }
  .hero { min-height: 0; --stage: max(500px, 70svh); --arch: inset(64px 18% 0 18% round 50vw 50vw 0 0); }
  .hero-base { position: relative; padding-top: var(--stage); }
  .hero-arch { bottom: auto; height: var(--stage); }
  .hero-kicker { top: 24px; }
  .hero-word { top: calc(var(--stage) * .58); font-size: clamp(60px, 18.5vw, 150px); }
  .hero-foot { position: static; width: auto; padding: 28px var(--gutter) 12px; }
  .hero-side { display: none; }
  .story, .foot-top, .layout-2, .product, .help, .duo { grid-template-columns: 1fr; }
  .arch-art { width: 40vw; bottom: 4%; }
  .story-mark { order: 0; }
  .assurances { grid-template-columns: 1fr; gap: 12px; }
  .values { grid-template-columns: 1fr 1fr; }
  .rail { grid-auto-columns: minmax(220px, 70%); }
  .buy, .summary, .help-nav { position: static; }
  .help-nav { display: flex; flex-wrap: wrap; }
  .mega { display: none; }
}
@media (max-width: 600px) {
  .departments { grid-template-columns: 1fr; }
  .dept { aspect-ratio: 5 / 4; }
  .row, .values-list { grid-template-columns: 1fr; gap: 0; }
  .values-list { gap: 20px; }
  .foot-cols { grid-template-columns: 1fr 1fr; }
  .gallery { grid-template-columns: 1fr; }
  .grid { grid-template-columns: 1fr 1fr; gap: 28px 12px; }
  .selects select { min-width: 0; flex: 1; }
  .toolbar { position: static; }
  .admin-table { display: block; overflow-x: auto; font-size: 12px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; }
}


/* =====================================================================
   DEEDEUX menswear direction (owner brief): quiet luxury, editorial photo hero,
   Cormorant Garamond + Inter, generous whitespace, no decoration.
   ===================================================================== */
h1, h2, h3 { font-weight: 500; letter-spacing: 0; font-variation-settings: normal; }
.announce { background: var(--plum-deep); color: #d9d0c3; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; }

/* header: logo left, nav, bag right */
.hdr { grid-template-columns: auto 1fr auto; gap: 40px; }
.logo { gap: 12px; color: var(--plum); }
.logo .mark { width: 34px; }
.logo span { font-family: var(--sans); font-size: 15px; font-weight: 600; letter-spacing: .34em; margin-right: -.34em; }
.primary { justify-self: center; }
.primary ul { gap: clamp(24px, 3.4vw, 52px); }
.primary > ul > li > a { font-size: 12px; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; padding: 30px 0; }
.primary > ul > li > a::after { bottom: 24px; height: 1px; background: var(--plum); }
.has-menu { position: relative; }
.menu { position: absolute; left: 50%; top: 100%; transform: translate(-50%, -4px); min-width: 220px; background: var(--cloud); border: 1px solid var(--line); padding: 18px 24px; opacity: 0; visibility: hidden; transition: opacity .2s var(--ease), transform .2s var(--ease), visibility 0s .2s; box-shadow: 0 24px 40px -28px rgba(23, 23, 23, .4); }
.has-menu:hover .menu, .has-menu:focus-within .menu { opacity: 1; visibility: visible; transform: translate(-50%, 0); transition-delay: 0s; }
.has-menu.closed .menu { opacity: 0 !important; visibility: hidden !important; }
.menu ul { display: grid; gap: 4px; }
.menu a { display: block; padding: 8px 0; font-size: 14px; text-decoration: none; }
.menu a:hover { text-decoration: underline; text-underline-offset: 4px; }
.icon-btn { color: var(--plum); }
.icon-btn:hover { background: rgba(36, 24, 19, .06); }
.icon { stroke-width: 1.3; }
.bag-count { background: var(--plum); }

/* home: header floats over the photo */
body[data-page="home"] .site-header:not(.scrolled) { background: transparent; border-bottom-color: transparent; backdrop-filter: none; -webkit-backdrop-filter: none; }
body[data-page="home"] main { margin-top: calc(-1 * var(--header-h)); }

/* hero */
.hero { position: relative; display: block; min-height: min(100svh, 980px); background: var(--cloud); color: var(--ink); overflow: hidden; grid-template-columns: none; }
.hero-media { position: absolute; inset: 0; background: none; }
.hero-media::after { display: none; }
.hero-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 70% 30%; }
.hero-media.has-photo::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, rgba(243, 237, 227, .92) 0%, rgba(243, 237, 227, .6) 34%, rgba(243, 237, 227, 0) 58%); }
/* until a campaign photo is uploaded: a warm plaster wall with an architectural niche and soft daylight */
.hero-arch-bg { position: absolute; inset: 0; background:
  radial-gradient(80% 70% at 78% 18%, rgba(255, 252, 245, .9), transparent 60%),
  linear-gradient(115deg, transparent 52%, rgba(36, 24, 19, .06) 52.2%, rgba(36, 24, 19, .02) 70%, transparent 70.2%),
  linear-gradient(180deg, #f1eadf, #e6dccd); }
.hero-arch-bg::after { content: ""; position: absolute; inset: 0; opacity: .25; mix-blend-mode: multiply; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.75' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .55 0 0 0 0 .48 0 0 0 0 .4 0 0 0 .5 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }
.arch-niche { position: absolute; right: 12%; bottom: 0; width: min(34vw, 520px); height: 78%; border-radius: 999px 999px 0 0; background: linear-gradient(90deg, #ddd1bf 0%, #e9e0d2 30%, #efe8dc 60%, #e3d8c7 100%); box-shadow: inset 24px 0 40px -20px rgba(36, 24, 19, .22), inset -10px 0 30px -18px rgba(36, 24, 19, .12); }
.arch-niche::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 14%; background: linear-gradient(180deg, transparent, rgba(36, 24, 19, .10)); }
.hero-content { position: relative; z-index: 2; max-width: var(--wrap); margin: 0 auto; min-height: inherit; padding: calc(var(--header-h) + 48px) var(--gutter) clamp(56px, 9vh, 120px); display: flex; flex-direction: column; justify-content: center; }
.tagline { margin: 0 0 28px; font-size: 12px; font-weight: 500; letter-spacing: .24em; text-transform: uppercase; color: var(--plum); display: flex; align-items: center; gap: 14px; }
.tagline::before { content: ""; width: 36px; height: 1px; background: var(--brass-2); }
.hero h1 { font-family: var(--serif); font-weight: 400; font-style: normal; text-transform: uppercase; font-size: clamp(44px, 6.4vw, 108px); line-height: .98; letter-spacing: .02em; max-width: 9.5em; margin: 0 0 28px; color: var(--plum); }
.hero-sub { font-family: var(--serif); font-style: italic; font-size: clamp(20px, 1.8vw, 28px); line-height: 1.3; color: var(--ink); margin: 0 0 44px; max-width: 32ch; }
.btn { border-radius: 0; font-size: 12px; letter-spacing: .2em; text-transform: uppercase; font-weight: 500; min-height: 54px; padding: 0 36px; }
.btn-hero { align-self: flex-start; background: var(--plum); color: var(--cloud); border-color: var(--plum); }
.btn-hero:hover { background: var(--plum-2); border-color: var(--plum-2); }
.btn.ghost { border-color: var(--plum); }
@media (prefers-reduced-motion: no-preference) {
  .hero-content > * { animation: rise .9s var(--ease) both; }
  .hero-content > :nth-child(2) { animation-delay: .08s; }
  .hero-content > :nth-child(3) { animation-delay: .16s; }
  .hero-content > :nth-child(4) { animation-delay: .24s; }
  @keyframes rise { from { opacity: 0; transform: translateY(16px); } }
}

/* category tiles: edge to edge */
.cats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px; margin-top: 2px; }
.cat { position: relative; display: block; aspect-ratio: 3 / 4; max-height: 760px; overflow: hidden; text-decoration: none; background: var(--lilac); }
.cat:nth-child(2) { background: #d8ccb9; }
.cat:nth-child(3) { background: #cfc1ac; }
.cat-media, .cat-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.cat-media img { transition: transform 1.2s var(--ease); }
.cat:hover .cat-media img { transform: scale(1.03); }
.cat-ph { position: absolute; left: 50%; top: 46%; transform: translate(-50%, -50%); width: 52%; color: var(--plum); opacity: .55; }
.cat-label { position: absolute; left: 28px; bottom: 26px; font-size: 12px; font-weight: 500; letter-spacing: .22em; text-transform: uppercase; color: var(--plum); padding-bottom: 6px; border-bottom: 1px solid currentColor; }

/* new in */
.quiet { max-width: var(--wrap); margin: 0 auto; padding: clamp(72px, 10vw, 140px) var(--gutter) 0; }
.quiet-head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 36px; }
.quiet-head h2 { font-family: var(--sans); font-size: 12px; font-weight: 500; letter-spacing: .22em; text-transform: uppercase; margin: 0; }
.grid-quiet { grid-template-columns: repeat(4, 1fr); gap: 48px 16px; }
.text-link { font-size: 12px; font-weight: 500; letter-spacing: .18em; text-transform: uppercase; color: var(--plum); text-decoration-color: var(--plum); text-underline-offset: 6px; text-decoration-thickness: 1px; }
.card .img { border-radius: 0; background: var(--lilac-2); }
.card:hover { transform: none; }
.card:hover .img { box-shadow: none; }
.card .name { font-weight: 400; font-size: 14px; }
.card .sub { display: none; }
.card .price { font-size: 14px; color: var(--muted); }
.card:hover .name { text-decoration: underline; text-decoration-color: var(--plum); }
.tag { border-radius: 0; font-size: 11px; letter-spacing: .12em; text-transform: uppercase; font-weight: 500; }

/* statement */
.statement { max-width: 760px; margin: 0 auto; padding: clamp(96px, 12vw, 176px) var(--gutter); text-align: center; display: grid; justify-items: center; }
.statement .tagline::before { display: none; }
.statement-text { font-family: var(--serif); font-size: clamp(26px, 2.8vw, 40px); line-height: 1.3; color: var(--plum); margin: 0 0 32px; }

/* typography elsewhere follows the brief */
h1.page-title, .shop-head h1, .buy h1, .about-hero h1, .help-body h2, .panel h2, .drawer-title, .story-copy h2, .dialog-head h2 { font-family: var(--serif); font-weight: 500; font-style: normal; }
.shop-head h1 { text-transform: uppercase; letter-spacing: .02em; font-size: clamp(40px, 5vw, 72px); }
.p-collection { color: var(--brass); letter-spacing: .16em; text-transform: uppercase; font-size: 12px; font-weight: 500; }
.sizes button, input, select, textarea, .qty, .selects select, .tabs, .tabs button, .panel, .dialog { border-radius: 0; }
.seg, .chip, .signup input { border-radius: 0; }
.mega-head, .foot-head { font-family: var(--sans); font-size: 12px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; }
.foot-head { color: var(--brass-2); }
.site-footer { background: var(--plum-deep); }
.site-footer .logo { color: var(--cloud); }
.site-footer .logo span { font-size: 15px; }
.signup label { font-family: var(--serif); }
.drawer-nav > a, .drawer-nav summary { font-family: var(--sans); font-size: 13px; letter-spacing: .2em; text-transform: uppercase; }

@media (max-width: 960px) {
  .hdr { grid-template-columns: auto 1fr auto; }
  .hdr .logo { justify-self: start; }
  .hero { min-height: 92svh; }
  .hero-content { justify-content: flex-end; }
  .hero-media.has-photo::before { background: linear-gradient(0deg, rgba(243, 237, 227, .95) 0%, rgba(243, 237, 227, .7) 38%, rgba(243, 237, 227, 0) 70%); }
  .arch-niche { right: 50%; transform: translateX(50%); width: 60vw; height: 40%; top: calc(var(--header-h) + 8px); bottom: auto; }
  .announce { font-size: 11px; letter-spacing: .1em; }
  .announce p { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .tagline { letter-spacing: .18em; }
  .cats { grid-template-columns: 1fr; }
  .cat { aspect-ratio: 4 / 5; }
  .grid-quiet { grid-template-columns: 1fr 1fr; gap: 32px 10px; }
}

/* =====================================================================
   Hero v5 (owner reference): dark editorial campaign, model photo right,
   "No rules. Just real." left, pill buttons, assurance row.
   ===================================================================== */
.hero-dark { background: #1d1410; color: var(--cloud); min-height: min(100svh, 940px); }
.hero-dark .hero-media { left: auto; right: 0; width: 62%; }
.hero-dark .hero-media img { object-position: 50% 15%; filter: saturate(.95) contrast(1.02); }
.hero-dark .hero-media::before { content: ""; display: block; position: absolute; inset: 0; z-index: 1; background:
  linear-gradient(90deg, #1d1410 0%, rgba(29, 20, 16, .85) 14%, rgba(29, 20, 16, .25) 42%, rgba(29, 20, 16, 0) 60%),
  linear-gradient(0deg, rgba(29, 20, 16, .55) 0%, rgba(29, 20, 16, 0) 30%),
  linear-gradient(180deg, rgba(29, 20, 16, .55) 0%, rgba(29, 20, 16, 0) 22%); }
.hero-dark .hero-content { justify-content: center; padding-top: calc(var(--header-h) + 40px); }
.hero-dark h1 { font-family: var(--serif); font-weight: 600; text-transform: uppercase; font-size: clamp(52px, 7.2vw, 124px); line-height: .9; letter-spacing: -.005em; color: var(--cloud); margin: 0 0 26px; max-width: none; }
.hero-dark h1 span { display: block; }
.hero-dark h1 .accent { color: #c9a87f; }
.hero-dark .hero-sub { font-family: var(--sans); font-style: normal; font-weight: 300; font-size: clamp(17px, 1.6vw, 24px); letter-spacing: .12em; color: #efe7db; margin: 0 0 22px; max-width: none; }
.hero-rule { display: block; width: 150px; height: 1px; background: var(--brass-2); margin-bottom: 40px; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; }
.btn.pill { border-radius: 999px; min-height: 56px; padding: 0 32px; gap: 12px; letter-spacing: .16em; }
.pill-primary { background: var(--plum); color: var(--cloud); border-color: rgba(182, 154, 120, .7); }
.pill-primary:hover { background: #3a2a22; border-color: var(--brass-2); }
.pill-outline { background: transparent; color: var(--cloud); border-color: rgba(243, 237, 227, .55); }
.pill-outline:hover { border-color: var(--cloud); background: rgba(243, 237, 227, .08); }
.arrow { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; transition: transform .25s var(--ease); }
.pill-primary:hover .arrow { transform: translateX(3px); }
.hero-assure { list-style: none; margin: clamp(48px, 9vh, 96px) 0 0; padding: 0; display: flex; gap: 0; }
.hero-assure li { display: flex; align-items: center; gap: 14px; padding: 4px 32px; border-left: 1px solid rgba(182, 154, 120, .45); font-size: 11px; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; line-height: 1.45; color: #d9cfc1; }
.hero-assure li:first-child { padding-left: 0; border-left: 0; }
.hero-assure .icon { width: 24px; height: 24px; color: var(--brass-2); stroke-width: 1.2; flex: none; }

/* header over the dark hero */
body[data-page="home"] .site-header:not(.scrolled) .logo,
body[data-page="home"] .site-header:not(.scrolled) .primary > ul > li > a,
body[data-page="home"] .site-header:not(.scrolled) .icon-btn { color: var(--cloud); }
body[data-page="home"] .site-header:not(.scrolled) .primary > ul > li > a::after { background: var(--brass-2); }
body[data-page="home"] .site-header:not(.scrolled) .icon-btn:hover { background: rgba(243, 237, 227, .1); }
body[data-page="home"] .site-header:not(.scrolled) .bag-count { background: var(--brass-2); color: var(--plum); }
body[data-page="home"] .site-header:not(.scrolled) { border-bottom: 1px solid rgba(182, 154, 120, .28); }

@media (max-width: 960px) {
  .hero-dark { min-height: 100svh; }
  .hero-dark .hero-media { width: 100%; }
  .hero-dark .hero-media img { object-position: 60% 12%; }
  .hero-dark .hero-media::before { background: linear-gradient(0deg, #1d1410 0%, rgba(29, 20, 16, .92) 36%, rgba(29, 20, 16, .35) 62%, rgba(29, 20, 16, .15) 100%); }
  .hero-dark .hero-content { justify-content: flex-end; padding-bottom: 40px; }
  .hero-dark h1 { font-size: clamp(46px, 13vw, 80px); }
  .hero-dark .hero-sub { letter-spacing: .06em; }
  .hero-assure { margin-top: 36px; }
  .hero-assure li { padding: 2px 14px; gap: 8px; font-size: 10px; letter-spacing: .1em; }
  .hero-assure .icon { width: 20px; height: 20px; }
  .btn.pill { padding: 0 24px; min-height: 52px; }
}
@media (max-width: 420px) { .hero-ctas .btn { flex: 1 1 100%; } }

/* =====================================================================
   v6: floating rounded glass navbar, tighter hero, brighter pill buttons
   ===================================================================== */
:root { --header-h: 64px; --nav-gap: 14px; --champ-grad: linear-gradient(135deg, #e6cfa6 0%, #c9a87f 45%, #b38d63 100%); }

/* floating pill navbar on every page */
.site-header { position: sticky; top: var(--nav-gap); z-index: 40; margin: var(--nav-gap) var(--nav-gap) 0; max-width: calc(var(--wrap) - 2 * var(--nav-gap)); margin-left: auto; margin-right: auto; width: calc(100% - 2 * var(--nav-gap));
  border: 1px solid rgba(36, 24, 19, .10); border-radius: 999px; background: rgba(243, 237, 227, .72); backdrop-filter: saturate(160%) blur(18px); -webkit-backdrop-filter: saturate(160%) blur(18px); box-shadow: 0 12px 40px -20px rgba(23, 23, 23, .35); }
.site-header.scrolled { box-shadow: 0 16px 44px -18px rgba(23, 23, 23, .45); }
.hdr { height: var(--header-h); padding: 0 12px 0 28px; }
.primary > ul > li > a { padding: 22px 0; }
.primary > ul > li > a::after { bottom: 16px; }
.search-panel { border-radius: 0 0 28px 28px; background: transparent; border-top-color: rgba(36, 24, 19, .08); }
.menu { border-radius: 18px; margin-top: 6px; }
body[data-page="home"] .site-header:not(.scrolled) { background: rgba(29, 20, 16, .38); border: 1px solid rgba(243, 237, 227, .16); backdrop-filter: saturate(140%) blur(16px); -webkit-backdrop-filter: saturate(140%) blur(16px); box-shadow: 0 12px 40px -20px rgba(0, 0, 0, .5); }
body[data-page="home"] .site-header:not(.scrolled) .search-panel input { color: var(--cloud); border-bottom-color: var(--cloud); }
body[data-page="home"] main { margin-top: calc(-1 * (var(--header-h) + var(--nav-gap) + 2px)); }

/* hero fits the screen together with the bar; content centred, assurance row anchored low */
.hero-dark { min-height: 0; height: clamp(620px, calc(100svh - 37px), 900px); }
.hero-dark .hero-content { height: 100%; min-height: 0; display: grid; grid-template-rows: 1fr auto; grid-template-columns: minmax(0, 1fr); justify-content: stretch; align-content: stretch; padding: calc(var(--header-h) + var(--nav-gap) + 28px) var(--gutter) 34px; }
.hero-dark .hero-main { align-self: center; }
.hero-dark h1 { font-size: clamp(64px, 8.6vw, 156px); line-height: .86; margin: 0 0 22px; }
.hero-dark .hero-sub { margin-bottom: 18px; }
.hero-rule { margin-bottom: 32px; }
.hero-assure { margin: 0; }

/* brighter, richer pill buttons */
.btn.pill { min-height: 58px; padding: 0 34px; font-weight: 600; letter-spacing: .16em; box-shadow: 0 14px 30px -14px rgba(0, 0, 0, .55); transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s, color .25s, border-color .25s; }
.btn.pill:hover { transform: translateY(-2px); }
.pill-primary { background: var(--champ-grad); color: #1d1410; border: 0; box-shadow: 0 16px 34px -14px rgba(201, 168, 127, .75), inset 0 1px 0 rgba(255, 255, 255, .45); }
.pill-primary:hover { background: var(--champ-grad); filter: brightness(1.06); box-shadow: 0 20px 40px -14px rgba(201, 168, 127, .85), inset 0 1px 0 rgba(255, 255, 255, .5); }
.pill-outline { background: rgba(243, 237, 227, .10); color: var(--cloud); border: 1px solid rgba(243, 237, 227, .75); backdrop-filter: blur(8px); }
.pill-outline:hover { background: var(--cloud); color: #1d1410; border-color: var(--cloud); }

@media (max-width: 960px) {
  :root { --nav-gap: 10px; --header-h: 58px; }
  .hdr { padding: 0 6px 0 18px; }
  .hero-dark { height: auto; min-height: calc(100svh - 33px); }
  .hero-dark .hero-content { grid-template-rows: 1fr auto; padding-bottom: 28px; }
  .hero-dark .hero-main { align-self: end; padding-top: 40vh; }
  .hero-dark h1 { font-size: clamp(54px, 15vw, 96px); }
  .hero-assure { margin-top: 30px; }
}

/* =====================================================================
   v6 site-wide: rounded, soft, premium controls and sections
   ===================================================================== */
:root { --r-sm: 12px; --r-md: 18px; --r-lg: 28px; --field: #fbf8f3; }

/* buttons everywhere: pills; primary espresso, champagne accent variant, ghost outline */
.btn { border-radius: 999px; min-height: 52px; padding: 0 30px; font-size: 12px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; box-shadow: 0 12px 26px -16px rgba(36, 24, 19, .6); transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s, color .25s, border-color .25s; }
.btn:hover { transform: translateY(-1px); background: #3a2a22; border-color: #3a2a22; }
.btn.ghost { background: transparent; color: var(--plum); border: 1px solid rgba(36, 24, 19, .35); box-shadow: none; }
.btn.ghost:hover { background: var(--plum); color: var(--cloud); border-color: var(--plum); }
.btn.champ, #add-btn, #pay-btn, .drawer-foot .btn:not(.ghost), #cart-summary .btn { background: var(--champ-grad); color: #1d1410; border: 0; box-shadow: 0 14px 30px -14px rgba(179, 141, 99, .8), inset 0 1px 0 rgba(255, 255, 255, .45); }
.btn.champ:hover, #add-btn:hover, #pay-btn:hover, .drawer-foot .btn:not(.ghost):hover, #cart-summary .btn:hover { background: var(--champ-grad); filter: brightness(1.05); }
.btn.light { background: var(--cloud); color: var(--plum); border: 0; }
.btn.small { min-height: 38px; padding: 0 18px; font-size: 11px; }
.btn:disabled { transform: none; filter: grayscale(.4); }
.text-link { text-decoration: none; border-bottom: 1px solid currentColor; padding-bottom: 3px; }
.text-link:hover { color: var(--brass); }

/* form fields */
label { font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--plum); }
input, select, textarea { border-radius: var(--r-sm); background: var(--field); border: 1px solid #d9cebf; padding: 14px 16px; }
input:focus, select:focus, textarea:focus { border-color: var(--brass-2); box-shadow: 0 0 0 4px rgba(182, 154, 120, .22); }
select { border-radius: 999px; padding-right: 44px; background-color: var(--field); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23241813' stroke-width='1.6' stroke-linecap='round'%3E%3Cpath d='m7 10 5 5 5-5'/%3E%3C/svg%3E"); background-position: right 16px center; background-size: 16px; cursor: pointer; }
.selects select { border-radius: 999px; min-width: 170px; font-size: 13px; font-weight: 500; padding-top: 11px; padding-bottom: 11px; }
input[type="checkbox"] { accent-color: var(--plum); width: 18px; height: 18px; }
.msg { border-radius: var(--r-sm); border-left: 0; }
.tabs { border-radius: 999px; padding: 5px; background: #e9e0d3; }
.tabs button { border-radius: 999px; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; }
.tabs button.active { background: var(--plum); color: var(--cloud); box-shadow: 0 8px 18px -10px rgba(36, 24, 19, .7); }

/* panels, drawers, dialog */
.panel { border-radius: var(--r-lg); background: var(--field); border: 1px solid #e2d8ca; box-shadow: 0 30px 60px -40px rgba(36, 24, 19, .35); }
.drawer { border-radius: var(--r-lg) 0 0 var(--r-lg); }
.drawer-left { border-radius: 0 var(--r-lg) var(--r-lg) 0; }
.drawer-title { font-size: 28px; }
.dialog { border-radius: var(--r-lg); }
.scrim { background: rgba(23, 23, 23, .45); }

/* category tiles: rounded cards inside the page width with a glass label */
.cats { max-width: var(--wrap); margin: 16px auto 0; padding: 0 var(--nav-gap); gap: 14px; }
.cat { border-radius: var(--r-lg); max-height: 640px; aspect-ratio: 4 / 5; }
.cat-label { left: 18px; bottom: 18px; border: 0; padding: 12px 18px; border-radius: 999px; background: rgba(243, 237, 227, .72); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); display: inline-flex; gap: 10px; align-items: center; box-shadow: 0 10px 24px -14px rgba(36, 24, 19, .5); transition: background .25s; }
.cat-label::after { content: "→"; font-size: 14px; letter-spacing: 0; transition: transform .25s var(--ease); }
.cat:hover .cat-label { background: var(--cloud); }
.cat:hover .cat-label::after { transform: translateX(3px); }

/* product cards */
.card .img { border-radius: var(--r-md); }
.card-meta { padding-top: 14px; }
.card .name { font-size: 14px; font-weight: 500; }
.tag { border-radius: 999px; left: 12px; top: 12px; padding: 6px 12px; background: rgba(243, 237, 227, .85); backdrop-filter: blur(8px); }
.tag.out { background: var(--plum); color: var(--cloud); }
.swatch-dot { width: 14px; height: 14px; }

/* statement: rounded espresso band */
.statement { max-width: calc(var(--wrap) - 2 * var(--nav-gap)); margin: clamp(72px, 9vw, 120px) auto 0; padding: clamp(64px, 9vw, 120px) var(--gutter); border-radius: var(--r-lg); background:
  radial-gradient(60% 80% at 80% 0%, rgba(201, 168, 127, .18), transparent 60%), #1d1410; color: var(--cloud); }
.statement .tagline { color: var(--brass-2); }
.statement-text { color: var(--cloud); max-width: 28ch; }
.statement .text-link { color: var(--cloud); }
.statement .text-link:hover { color: var(--brass-2); }

/* footer */
.site-footer { margin: clamp(72px, 9vw, 120px) var(--nav-gap) var(--nav-gap); border-radius: var(--r-lg); }
.signup input { border-radius: 999px; background: rgba(243, 237, 227, .06); border-color: rgba(243, 237, 227, .22); color: var(--cloud); }
.signup .btn.light { background: var(--champ-grad); color: #1d1410; }

/* shop page */
.shop-head { padding-top: 24px; }
.toolbar { top: calc(var(--header-h) + var(--nav-gap) + 8px); border: 1px solid #e2d8ca; border-radius: 999px; padding: 8px 8px 8px 20px; background: rgba(251, 248, 243, .85); backdrop-filter: blur(12px); align-items: center; }
.toolbar::before { content: "Filter"; font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--plum); align-self: center; }
.selects select { border-color: transparent; background-color: #efe7db; }

/* product page */
.gallery figure { border-radius: var(--r-md); }
.sizes button { border-radius: 999px; background: var(--field); border-color: #d9cebf; font-size: 13px; }
.sizes button[aria-pressed="true"] { background: var(--plum); border-color: var(--plum); box-shadow: 0 8px 18px -10px rgba(36, 24, 19, .7); }
.swatch[aria-pressed="true"] { border-color: var(--brass-2); box-shadow: 0 0 0 2px var(--brass-2); }
.qty { border-radius: 999px; background: var(--field); }
.accordions summary { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; }
.crumbs { font-size: 12px; letter-spacing: .06em; }

/* bag lines */
.line-item .thumb { border-radius: var(--r-sm); }
.line-controls .qty { background: var(--field); }

/* status chips */
.status { letter-spacing: .06em; }

/* help + about */
.help-nav a { border-radius: 999px; }
.help-nav a:hover { background: #e9e0d3; }
.size-table { border-radius: var(--r-md); overflow: hidden; }

/* admin uses the same system */
.admin-table { border-radius: var(--r-md); box-shadow: 0 30px 60px -44px rgba(36, 24, 19, .4); }
.admin-table th { background: #e9e0d3; font-size: 11px; letter-spacing: .12em; text-transform: uppercase; }
.upload-previews img { border-radius: var(--r-sm); }
.chip { border-radius: 999px; font-size: 12px; letter-spacing: .08em; }
.chip-color { border-radius: 999px; }

@media (max-width: 960px) {
  .toolbar { border-radius: var(--r-md); padding: 12px; }
  .toolbar::before { display: none; }
  .cats { gap: 10px; }
  .site-footer { border-radius: var(--r-md); }
}

/* v7: compact navbar (owner): smaller, soft rounded corners, not a long pill */
:root { --header-h: 54px; --nav-gap: 14px; }
.site-header { width: min(1180px, calc(100% - 2 * var(--nav-gap))); max-width: none; border-radius: 18px; background: rgba(243, 237, 227, .78); box-shadow: 0 10px 30px -18px rgba(23, 23, 23, .4); }
.hdr { padding: 0 8px 0 20px; gap: 24px; }
.logo .mark { width: 28px; }
.logo span { font-size: 13px; letter-spacing: .3em; }
.primary ul { gap: clamp(20px, 2.6vw, 40px); }
.primary > ul > li > a { font-size: 11px; letter-spacing: .16em; padding: 18px 0; }
.primary > ul > li > a::after { bottom: 13px; }
.icon-btn { width: 38px; height: 38px; }
.icon { width: 19px; height: 19px; }
.bag-count { top: 1px; right: -1px; min-width: 16px; height: 16px; line-height: 16px; font-size: 10px; }
.menu { border-radius: 14px; }
.search-panel { border-radius: 0 0 18px 18px; }
body[data-page="home"] .site-header:not(.scrolled) { background: rgba(29, 20, 16, .30); }
@media (max-width: 960px) {
  :root { --header-h: 50px; --nav-gap: 10px; }
  .site-header { border-radius: 16px; }
  .hdr { padding: 0 4px 0 14px; }
}

/* v8 fixes */
select, .selects select { background-repeat: no-repeat; }
.admin-header .primary.hidden { display: none !important; }
.admin-header .hdr { grid-template-columns: auto 1fr auto; }
.admin-header .tools .btn { min-height: 36px; }
body:not([data-page]) main { padding-top: 40px; }

/* =====================================================================
   v9: no announcement bar, collections panel, search, shop filters,
   about, contact, auth, empty states
   ===================================================================== */
.hero-dark { height: clamp(620px, 100svh, 920px); }
@media (max-width: 960px) { .hero-dark { min-height: 100svh; height: auto; } }
body[data-page="home"] main { margin-top: calc(-1 * (var(--header-h) + 2 * var(--nav-gap) + 2px)); }

/* collections mega panel */
.menu.mega-lite { display: grid; grid-template-columns: 170px 170px 220px; gap: 28px; padding: 24px; min-width: 0; left: 50%; }
.ml-head { margin: 0 0 10px; font-size: 11px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--brass); }
.ml-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.ml-feature { position: relative; display: block; border-radius: 14px; overflow: hidden; min-height: 200px; text-decoration: none; }
.ml-feature img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.ml-feature:hover img { transform: scale(1.04); }
.ml-feature span { position: absolute; left: 0; right: 0; bottom: 0; padding: 40px 16px 14px; background: linear-gradient(transparent, rgba(23, 23, 23, .75)); color: var(--cloud); font-size: 12px; letter-spacing: .08em; display: grid; gap: 2px; }
.ml-feature em { font-family: var(--serif); font-style: normal; font-size: 22px; letter-spacing: 0; }
body[data-page="home"] .site-header:not(.scrolled) .menu a { color: var(--ink); }

/* search overlay */
.search-panel { padding: 6px 12px 16px; }
.search-inner { max-width: 760px; background: var(--field); border: 1px solid #ddd2c2; border-radius: 999px; padding: 4px 6px 4px 18px; margin-top: 4px; }
.search-ico { color: var(--muted); display: inline-flex; }
.search-ico .icon { width: 18px; height: 18px; }
.search-inner input { font-family: var(--sans); font-size: 16px; border: 0; background: transparent; padding: 12px 8px; color: var(--ink) !important; }
.search-inner input:focus { box-shadow: none; }
.search-quick { max-width: 760px; margin: 14px auto 0; display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.search-quick span { font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); margin-right: 4px; }
body[data-page="home"] .site-header:not(.scrolled) .search-quick span { color: #d9cfc1; }
.search-quick a { padding: 8px 14px; border-radius: 999px; background: #ece4d8; color: var(--plum); font-size: 13px; text-decoration: none; }
.search-quick a:hover { background: var(--plum); color: var(--cloud); }
.search-results { max-width: 760px; margin: 14px auto 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.search-hit { display: grid; grid-template-columns: none; gap: 6px; padding: 6px; border-radius: 14px; background: var(--field); text-decoration: none; color: var(--ink); }
.search-hit:hover { background: #fff; }
.sh-img { aspect-ratio: 4 / 5; border-radius: 10px; overflow: hidden; background: var(--lilac-2); display: grid; place-items: center; }
.sh-img img { width: 100%; height: 100%; object-fit: cover; }
.sh-img .ph { position: static; width: 100%; height: 100%; }
.sh-name { font-size: 13px; font-weight: 500; }
.sh-price { font-size: 12px; color: var(--muted); }
.search-none { grid-column: 1 / -1; text-align: center; color: var(--muted); }
body[data-page="home"] .site-header:not(.scrolled) .search-none { color: #d9cfc1; }

/* empty states */
.empty-state { display: grid; justify-items: center; gap: 16px; text-align: center; padding: 56px 20px; border: 1px dashed #d6cab8; border-radius: var(--r-lg); color: var(--muted); }
.empty-state p { margin: 0; font-size: 16px; }
.bag-empty { display: grid; justify-items: center; text-align: center; gap: 10px; padding: 40px 8px; }
.bag-empty .btn { width: 100%; margin-top: 6px; }
.bag-empty-ico { width: 84px; height: 84px; border-radius: 50%; background: #ece4d8; display: grid; place-items: center; color: var(--plum); margin-bottom: 6px; }
.bag-empty-ico .mark { width: 40px; }
.bag-empty-title { font-family: var(--serif); font-size: 26px; margin: 0; color: var(--plum); }
#cart-items .bag-empty { max-width: 420px; margin: 0 auto; }

/* shop */
.shop-hero { display: grid; grid-template-columns: 1fr 300px; gap: 32px; align-items: end; padding: 28px 0 28px; }
.shop-hero h1 { font-family: var(--serif); font-weight: 500; text-transform: uppercase; font-size: clamp(44px, 6vw, 84px); line-height: .95; margin: 8px 0 12px; color: var(--plum); }
.shop-hero-img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--r-lg); }
.filterbar { position: sticky; top: calc(var(--header-h) + 2 * var(--nav-gap)); z-index: 12; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; padding: 8px; margin-bottom: 16px; border: 1px solid #e2d8ca; border-radius: 999px; background: rgba(251, 248, 243, .9); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); box-shadow: 0 14px 30px -24px rgba(36, 24, 19, .5); }
.chips { display: flex; flex-wrap: wrap; gap: 4px; }
.chips button { border: 0; background: transparent; padding: 10px 18px; border-radius: 999px; font-size: 13px; font-weight: 500; cursor: pointer; color: var(--plum); transition: background .2s; }
.chips button:hover { background: #ece4d8; }
.chips button[aria-pressed="true"] { background: var(--plum); color: var(--cloud); box-shadow: 0 8px 16px -10px rgba(36, 24, 19, .7); }
.filter-right { display: flex; gap: 6px; flex-wrap: wrap; }
.dd { position: relative; }
.dd-btn { display: inline-flex; align-items: center; gap: 8px; border: 1px solid #ddd2c2; background: #fff; padding: 9px 14px 9px 16px; border-radius: 999px; cursor: pointer; font-size: 13px; color: var(--plum); }
.dd-btn:hover, .dd-btn[aria-expanded="true"] { border-color: var(--plum); }
.dd-k { color: var(--muted); }
.dd-v { font-weight: 600; }
.dd-caret { width: 8px; height: 8px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg) translateY(-2px); margin-left: 2px; transition: transform .2s; }
.dd-btn[aria-expanded="true"] .dd-caret { transform: rotate(-135deg) translateY(-1px); }
.dd-list { position: absolute; right: 0; top: calc(100% + 8px); z-index: 30; list-style: none; margin: 0; padding: 6px; min-width: 210px; background: #fff; border: 1px solid #e2d8ca; border-radius: 16px; box-shadow: 0 24px 50px -24px rgba(23, 23, 23, .45); }
.dd-list li { padding: 10px 14px; border-radius: 10px; cursor: pointer; font-size: 14px; display: flex; justify-content: space-between; }
.dd-list li:hover, .dd-list li:focus-visible { background: #f3ede3; outline: none; }
.dd-list li[aria-selected="true"] { font-weight: 600; }
.dd-list li[aria-selected="true"]::after { content: "✓"; color: var(--brass); }
.result-row { display: flex; justify-content: space-between; align-items: center; margin: 0 4px 22px; }
.result-row .result-count { margin: 0; }

/* about */
.about-split { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(28px, 5vw, 80px); align-items: center; padding: 24px 0 0; }
.about-copy h1 { font-family: var(--serif); font-weight: 500; text-transform: uppercase; font-size: clamp(48px, 6.4vw, 104px); line-height: .92; color: var(--plum); margin: 10px 0 24px; font-style: normal; }
.about-copy .lead { font-family: var(--sans); font-size: clamp(17px, 1.4vw, 20px); line-height: 1.6; color: var(--ink); max-width: 46ch; margin: 0 0 32px; }
.about-media { border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 4 / 5; box-shadow: 0 40px 80px -50px rgba(23, 23, 23, .6); }
.about-media img { width: 100%; height: 100%; object-fit: cover; }
.about-values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin: clamp(64px, 8vw, 112px) 0 0; }
.about-values article { background: var(--field); border: 1px solid #e2d8ca; border-radius: var(--r-lg); padding: 32px 28px; }
.av-ico { display: inline-grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: #1d1410; color: var(--brass-2); margin-bottom: 18px; }
.av-ico .mark { width: 24px; }
.about-values h2 { font-family: var(--serif); font-size: 30px; margin: 0 0 8px; color: var(--plum); }
.about-values p { margin: 0; color: var(--muted); }
.about-feature { display: grid; grid-template-columns: 1fr 1.2fr; gap: clamp(28px, 5vw, 72px); align-items: center; margin-top: clamp(64px, 8vw, 112px); padding: clamp(24px, 4vw, 48px); background: #1d1410; color: var(--cloud); border-radius: var(--r-lg); }
.about-feature img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: var(--r-md); }
.about-feature h2 { font-family: var(--serif); font-size: clamp(34px, 4vw, 56px); margin: 8px 0 16px; color: var(--cloud); }
.about-feature p { color: #d9cfc1; max-width: 46ch; }
.about-feature .tagline { color: var(--brass-2); }
.about-feature .text-link { color: var(--cloud); }

/* contact */
.contact { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(28px, 5vw, 80px); align-items: start; padding-top: 24px; }
.contact-info h1 { font-family: var(--serif); font-weight: 500; text-transform: uppercase; font-size: clamp(46px, 6vw, 92px); line-height: .92; color: var(--plum); margin: 10px 0 22px; }
.contact-info .lead { font-size: 18px; max-width: 42ch; margin: 0 0 28px; }
.contact-cards { list-style: none; margin: 0 0 18px; padding: 0; display: grid; gap: 10px; }
.contact-cards li { display: grid; gap: 2px; padding: 18px 22px; border-radius: var(--r-md); background: var(--field); border: 1px solid #e2d8ca; }
.cc-k { font-size: 11px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--brass); }
.cc-v { font-size: 17px; color: var(--plum); text-decoration: none; }
a.cc-v:hover { text-decoration: underline; }
.contact-form { background: #1d1410; color: var(--cloud); border-radius: var(--r-lg); padding: clamp(24px, 4vw, 44px); box-shadow: 0 40px 80px -50px rgba(23, 23, 23, .7); }
.contact-form h2 { font-family: var(--serif); font-size: 34px; color: var(--cloud); margin: 0 0 8px; }
.contact-form label { color: #d9cfc1; }
.contact-form input, .contact-form textarea { background: rgba(243, 237, 227, .06); border-color: rgba(243, 237, 227, .2); color: var(--cloud); }
.contact-form input::placeholder { color: rgba(243, 237, 227, .4); }

/* sign in / create account */
.account-wrap { max-width: 1200px; margin: 0 auto; }
.auth-split { display: grid; grid-template-columns: 1fr 1fr; gap: 0; max-width: 1080px; margin: 16px auto 0; background: var(--field); border: 1px solid #e2d8ca; border-radius: var(--r-lg); overflow: hidden; box-shadow: 0 40px 80px -50px rgba(23, 23, 23, .5); }
.auth-visual { position: relative; min-height: 560px; }
.auth-visual img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; }
.auth-quote { position: absolute; left: 0; right: 0; bottom: 0; padding: 80px 32px 28px; background: linear-gradient(transparent, rgba(23, 23, 23, .8)); color: var(--cloud); }
.auth-quote .tagline { color: var(--brass-2); margin-bottom: 8px; }
.auth-quote .tagline::before { background: var(--brass-2); }
.auth-q { font-family: var(--serif); font-size: 34px; margin: 0; }
.auth-card { padding: clamp(28px, 4vw, 52px); display: flex; flex-direction: column; justify-content: center; }
.auth-title { font-family: var(--serif); font-weight: 500; font-size: clamp(34px, 3.4vw, 46px); margin: 0 0 8px; color: var(--plum); }
.auth-sub { color: var(--muted); margin: 0 0 22px; }
.auth-note { font-size: 12px; color: var(--muted); text-align: center; margin: 16px 0 0; }
.pw { position: relative; }
.pw input { padding-right: 72px; }
.pw-toggle { position: absolute; right: 8px; top: 50%; transform: translateY(-50%); border: 0; background: #ece4d8; color: var(--plum); border-radius: 999px; padding: 6px 12px; font-size: 12px; cursor: pointer; }
.page-checkout .auth-split { max-width: none; grid-template-columns: .8fr 1fr; }
.page-checkout .auth-visual { min-height: 480px; }

/* statement button */
.statement .btn.pill { margin-top: 4px; }

@media (max-width: 960px) {
  .menu.mega-lite { display: none; }
  .search-results { grid-template-columns: repeat(2, 1fr); }
  .shop-hero { grid-template-columns: 1fr; }
  .shop-hero-img { display: none; }
  .filterbar { border-radius: var(--r-md); position: static; }
  .filter-right { width: 100%; }
  .dd { flex: 1; }
  .dd-btn { width: 100%; justify-content: space-between; }
  .dd-list { left: 0; right: auto; }
  .about-split, .about-feature, .contact, .auth-split, .page-checkout .auth-split { grid-template-columns: 1fr; }
  .about-values { grid-template-columns: 1fr; }
  .auth-visual { min-height: 220px; }
  .auth-q { font-size: 26px; }
}

.msg-card { margin-bottom: 12px; }
.msg-card.unread { border-left: 4px solid var(--brass-2); }
.msg-body { white-space: pre-line; margin: 12px 0 16px; }

input[type="search"]::-webkit-search-cancel-button { -webkit-appearance: none; appearance: none; }
.site-header.scrolled { background: rgba(243, 237, 227, .94); }


/* ===== v11: framed product cards ===== */
.grid, .grid-quiet { grid-template-columns: repeat(auto-fill, minmax(min(100%, 330px), 1fr)); gap: 28px 24px; }
@media (min-width: 1500px) { .grid, .grid-quiet { grid-template-columns: repeat(4, 1fr); } }
.pcard { --mx: 50%; --my: 30%; position: relative; display: flex; flex-direction: column; padding: 10px; border-radius: 26px; background: linear-gradient(165deg, #33231b 0%, #241813 55%, #1c130f 100%); border: 1px solid rgba(182, 154, 120, .2); box-shadow: 0 18px 40px -28px rgba(23, 15, 10, .7); color: #f3ede3; transition: transform .5s cubic-bezier(.2, .8, .2, 1), box-shadow .5s, border-color .5s; isolation: isolate; }
.pcard::before { content: ""; position: absolute; inset: 0; z-index: 6; border-radius: inherit; pointer-events: none; background: radial-gradient(420px circle at var(--mx) var(--my), rgba(255, 250, 240, .26), transparent 40%); opacity: 0; transition: opacity .4s; }
.pcard::after { content: ""; position: absolute; inset: -1px; z-index: -1; border-radius: inherit; pointer-events: none; background: radial-gradient(360px circle at var(--mx) var(--my), rgba(214, 186, 146, .55), transparent 45%); opacity: 0; transition: opacity .4s; padding: 1px; -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; }
@media (any-hover: hover) {
  .pcard:hover { transform: translateY(-10px); border-color: rgba(182, 154, 120, .38); box-shadow: 0 46px 70px -34px rgba(23, 15, 10, .75), 0 14px 28px -18px rgba(36, 24, 19, .5); }
  .pcard:hover::before, .pcard:hover::after { opacity: 1; }
}
.pcard:focus-within { border-color: rgba(182, 154, 120, .5); }

.pc-media { position: relative; aspect-ratio: 4 / 5; border-radius: 18px; overflow: hidden; background: #e9e1d4; }
.pc-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: opacity .55s var(--ease), transform 1.2s var(--ease); }
.pc-alt { opacity: 0; }
.pc-media .ph { position: absolute; inset: 0; display: grid; place-items: center; color: var(--plum); }
.pc-media .ph .art { width: 62%; height: auto; opacity: .5; }
.pc-sheen { position: absolute; inset: 0; z-index: 2; pointer-events: none; background: linear-gradient(115deg, transparent 30%, rgba(255, 255, 255, .42) 48%, rgba(255, 255, 255, .12) 54%, transparent 68%); transform: translateX(-130%); }
@media (any-hover: hover) {
  .pcard:hover .pc-main { transform: scale(1.06); }
  .pcard.has-alt:hover .pc-main { opacity: 0; }
  .pcard.has-alt:hover .pc-alt { opacity: 1; transform: scale(1.03); }
  .pcard:hover .pc-sheen { transform: translateX(130%); transition: transform 1.1s cubic-bezier(.2, .7, .2, 1); }
}
.pc-badge { position: absolute; top: 12px; left: 12px; z-index: 3; padding: 6px 12px; border-radius: 999px; font-size: 11.5px; font-weight: 600; letter-spacing: .04em; color: var(--plum); background: rgba(243, 237, 227, .9); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.pc-badge.low { color: #f3ede3; background: rgba(36, 24, 19, .85); }
.pc-badge.out { color: #f3ede3; background: rgba(23, 23, 23, .8); }
.pcard.sold .pc-media img { filter: grayscale(.4); opacity: .75; }

/* text and actions inside the card */
.pc-body { display: flex; flex-direction: column; gap: 6px; padding: 16px 10px 6px; flex: 1; }
.pc-meta { margin: 0; font-size: 12px; letter-spacing: .05em; color: #c9ad86; }
.pc-name { margin: 0; font-family: "Cormorant Garamond", Georgia, serif; font-weight: 500; font-size: 24px; line-height: 1.12; letter-spacing: 0; text-transform: none; }
.pc-link { color: #f3ede3; text-decoration: none; }
.pc-link::after { content: ""; position: absolute; inset: 0; z-index: 1; border-radius: 26px; }
.pc-link:focus-visible { outline: none; }
.pc-link:focus-visible::after { outline: 2px solid #d9bf94; outline-offset: 3px; }
.pc-info { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 2px; }
.pc-price { font-size: 17px; font-weight: 600; color: #e2c9a0; font-variant-numeric: tabular-nums; }
.pc-details { display: inline-flex; align-items: center; gap: 10px; font-size: 12.5px; color: rgba(243, 237, 227, .66); }
.pc-details .card-swatches { margin: 0; }
.pcard .swatch-dot { box-shadow: 0 0 0 1.5px #241813, 0 0 0 2.5px rgba(243, 237, 227, .45); }
.pc-details .card-swatches + .pc-sizecount::before { content: ""; display: inline-block; width: 1px; height: 11px; margin-right: 10px; vertical-align: -1px; background: rgba(243, 237, 227, .25); }
.pc-actions { position: relative; z-index: 2; display: flex; gap: 8px; margin-top: auto; padding-top: 12px; }
.pc-add { flex: 1; min-width: 0; white-space: nowrap; display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 46px; border: 0; border-radius: 999px; background: var(--champ-grad); color: #1c130f; font: 600 12.5px/1 Inter, system-ui, sans-serif; letter-spacing: .08em; text-transform: uppercase; text-decoration: none; cursor: pointer; box-shadow: 0 10px 22px -12px rgba(201, 168, 127, .8), inset 0 1px 0 rgba(255, 255, 255, .45); transition: transform .2s, filter .2s; }
.pc-add:hover { filter: brightness(1.06); transform: translateY(-1px); }
.pc-add svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linejoin: round; }
.pc-add.is-out { background: rgba(243, 237, 227, .1); color: rgba(243, 237, 227, .6); box-shadow: none; cursor: default; }
.pc-fav { flex: none; width: 46px; height: 46px; display: grid; place-items: center; border-radius: 50%; border: 1px solid rgba(243, 237, 227, .22); background: rgba(243, 237, 227, .06); cursor: pointer; transition: background .2s, border-color .2s; }
.pc-fav:hover { background: rgba(243, 237, 227, .14); border-color: rgba(243, 237, 227, .4); }
.pc-fav svg { width: 19px; height: 19px; fill: none; stroke: #f3ede3; stroke-width: 1.6; transition: fill .2s, stroke .2s; }
.pc-fav[aria-pressed="true"] { border-color: #c9a87f; background: rgba(201, 168, 127, .16); }
.pc-fav[aria-pressed="true"] svg { fill: #d9bf94; stroke: #d9bf94; }
.pc-fav.pop svg { animation: pc-pop .4s cubic-bezier(.3, 1.6, .5, 1); }
@keyframes pc-pop { 40% { transform: scale(1.3); } }

/* size picker that slides up over the photo */
.pc-quick { position: absolute; left: 10px; right: 10px; bottom: 10px; z-index: 4; padding: 12px; border-radius: 16px; background: rgba(243, 237, 227, .93); backdrop-filter: blur(14px) saturate(1.2); -webkit-backdrop-filter: blur(14px) saturate(1.2); box-shadow: 0 14px 30px -18px rgba(23, 23, 23, .6); opacity: 0; transform: translateY(16px); pointer-events: none; transition: opacity .28s var(--ease), transform .35s var(--ease); }
.pcard.qa-open .pc-quick, .pcard.added .pc-quick { opacity: 1; transform: none; pointer-events: auto; }
.pc-quick-head { display: flex; align-items: center; justify-content: space-between; margin: 0 2px 9px; }
.pc-quick-t { font-size: 12px; font-weight: 600; letter-spacing: .03em; color: var(--plum); }
.pc-quick-x { position: relative; width: 28px; height: 28px; border: 0; border-radius: 50%; background: rgba(36, 24, 19, .08); cursor: pointer; }
.pc-quick-x::before, .pc-quick-x::after { content: ""; position: absolute; left: 50%; top: 50%; width: 11px; height: 1.5px; background: var(--plum); transform: translate(-50%, -50%) rotate(45deg); }
.pc-quick-x::after { transform: translate(-50%, -50%) rotate(-45deg); }
.pc-sizes { display: flex; gap: 6px; flex-wrap: wrap; }
.pc-size { flex: 1 0 calc(20% - 6px); min-width: 44px; height: 40px; border: 1px solid rgba(36, 24, 19, .16); border-radius: 999px; background: #fbf8f3; color: var(--plum); font: 600 12.5px/1 Inter, system-ui, sans-serif; cursor: pointer; transition: background .2s, color .2s, border-color .2s; }
.pc-size:hover, .pc-size:focus-visible { background: var(--plum); color: #f3ede3; border-color: var(--plum); }
.pc-done { display: block; font-size: 13px; font-weight: 500; color: var(--plum); text-align: center; padding: 4px 0; }
.pc-done:empty { display: none; }
.pcard.added .pc-quick-head, .pcard.added .pc-sizes { display: none; }
.pcard.added .pc-done::before { content: "\2713  "; color: #8a6f4f; font-weight: 700; }
.pcard.qa-open .pc-add { background: rgba(243, 237, 227, .12); color: #f3ede3; box-shadow: inset 0 0 0 1px rgba(243, 237, 227, .3); }

.chip-saved::before { content: "\2661  "; }
.rail .pcard { scroll-snap-align: start; }
@media (prefers-reduced-motion: reduce) { .pcard, .pc-media img, .pc-quick, .pc-sheen { transition: none; } .pcard:hover { transform: none; } }
@media (max-width: 700px) {
  .grid, .grid-quiet { grid-template-columns: 1fr 1fr; gap: 14px 10px; }
  .pcard { padding: 6px; border-radius: 20px; }
  .pc-link::after { border-radius: 20px; }
  .pc-media { border-radius: 15px; }
  .pc-body { padding: 11px 5px 3px; gap: 4px; }
  .pc-meta { font-size: 10.5px; }
  .pc-name { font-size: 18px; }
  .pc-info { flex-direction: column; align-items: flex-start; gap: 4px; }
  .pc-price { font-size: 15px; }
  .pc-details { font-size: 11px; }
  .pc-actions { gap: 6px; padding-top: 10px; }
  .pc-add { height: 42px; font-size: 10.5px; letter-spacing: .05em; gap: 6px; }
  .pc-add svg { display: none; }
  .pc-quick-t { font-size: 11px; white-space: nowrap; }
  .pc-quick-x { width: 24px; height: 24px; }
  .pc-fav { width: 42px; height: 42px; }
  .pc-quick { left: 5px; right: 5px; bottom: 5px; padding: 9px; }
  .pc-size { flex: 1 0 calc(33% - 6px); height: 36px; font-size: 12px; }
}

/* ===== v12: buttons light up on hover ===== */
:root { --champ-bright: linear-gradient(135deg, #fbefd6 0%, #ecd3a8 45%, #d6b384 100%); --glow: 0 18px 36px -14px rgba(214, 179, 132, .9); }
.btn, .pill-primary, .pill-outline, .pc-add, .pc-fav { transition: background .25s, color .25s, border-color .25s, box-shadow .25s, transform .25s, filter .25s; }
/* dark filled buttons on light pages: hover turns bright champagne */
.btn:hover, .btn:focus-visible { background: var(--champ-bright); color: #1d1410; border-color: transparent; box-shadow: var(--glow); transform: translateY(-1px); }
/* champagne buttons: hover gets brighter, never darker */
.btn.champ:hover, #add-btn:hover, #pay-btn:hover, .drawer-foot .btn:not(.ghost):hover, #cart-summary .btn.champ:hover,
.pill-primary:hover, .pc-add:not(.is-out):hover, .btn.champ:focus-visible, .pill-primary:focus-visible, .pc-add:focus-visible {
  background: var(--champ-bright); color: #1d1410; filter: none; box-shadow: var(--glow), inset 0 1px 0 rgba(255, 255, 255, .7); transform: translateY(-2px); }
/* outline buttons on light pages */
.btn.ghost:hover, .btn.ghost:focus-visible { background: #f1e5cf; color: #1d1410; border-color: #c9a87f; box-shadow: 0 10px 22px -14px rgba(179, 141, 99, .8); }
/* anything on a dark surface: hover turns light ivory */
:is(.hero-dark, .site-footer, .about-feature, .contact-form, .pcard, .cart-summary, .auth-visual) :is(.btn:not(.champ), .pill-outline, .btn.ghost, .btn.ghost-light, .pc-fav):is(:hover, :focus-visible) {
  background: #f3ede3; color: #1d1410; border-color: #f3ede3; box-shadow: 0 14px 30px -14px rgba(243, 237, 227, .55); }
.pcard .pc-fav:is(:hover, :focus-visible) svg { stroke: #1d1410; }
.pcard .pc-fav[aria-pressed="true"]:hover svg { fill: #b38d63; stroke: #b38d63; }
.site-footer button:hover, .site-footer .btn:hover { background: var(--champ-bright); color: #1d1410; }
:is(.btn, .pill-primary, .pill-outline, .pc-add, .pc-fav, .pc-size):focus-visible { outline: 2px solid #d9bf94; outline-offset: 3px; }
.btn:disabled, .btn[disabled] { opacity: .55; transform: none; box-shadow: none; cursor: not-allowed; }
@media (prefers-reduced-motion: reduce) { .btn:hover, .pill-primary:hover, .pc-add:hover { transform: none; } }

/* ===== v12: bag drawer and cart page ===== */
.bag-n { font-family: Inter, system-ui, sans-serif; font-size: 14px; color: #8a6f4f; font-weight: 500; }
.line-item { display: grid; grid-template-columns: 88px 1fr auto; gap: 16px; align-items: start; padding: 18px 0; border-bottom: 1px solid rgba(36, 24, 19, .1); }
.li-thumb { display: block; width: 88px; aspect-ratio: 4 / 5; border-radius: 14px; overflow: hidden; background: #e9e1d4; }
.li-thumb img { width: 100%; height: 100%; object-fit: cover; }
.li-thumb .mark { width: 50%; margin: 35% auto; color: var(--plum); opacity: .4; }
.li-main { display: flex; flex-direction: column; gap: 7px; min-width: 0; }
.li-name { font-family: "Cormorant Garamond", Georgia, serif; font-size: 20px; line-height: 1.15; color: var(--plum); text-decoration: none; }
.li-name:hover { text-decoration: underline; text-decoration-color: #c9a87f; text-underline-offset: 3px; }
.li-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.li-tag { padding: 4px 10px; border-radius: 999px; background: #efe7da; font-size: 12px; color: #5b4c41; }
.li-unit { font-size: 12.5px; color: #7a6a5e; }
.li-unit:empty { display: none; }
.li-controls { display: flex; align-items: center; gap: 14px; margin-top: 4px; }
.qty-pill { display: inline-flex; align-items: center; height: 40px; border: 1px solid rgba(36, 24, 19, .18); border-radius: 999px; background: #fbf8f3; }
.qty-pill button { width: 40px; height: 38px; border: 0; background: none; font-size: 17px; color: var(--plum); cursor: pointer; border-radius: 999px; }
.qty-pill button:hover:not(:disabled) { background: #efe3cf; }
.qty-pill button:disabled { opacity: .35; cursor: default; }
.qty-pill span { min-width: 22px; text-align: center; font-weight: 600; font-size: 14px; }
.li-remove { border: 0; background: none; padding: 6px 2px; font-size: 13px; color: #7a6a5e; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.li-remove:hover { color: #9b3b2a; }
.li-total { font-weight: 600; font-size: 15px; color: var(--plum); font-variant-numeric: tabular-nums; padding-top: 2px; }
.drawer-foot .sum-big span:last-child { font-size: 20px; }
.sum-big { font-weight: 600; font-size: 16px; }
.secure-note { margin: 4px 0 0; text-align: center; font-size: 12px; color: #7a6a5e; }
.secure-note::before { content: "\1F512  "; filter: grayscale(1); }

.cart-head { display: flex; align-items: baseline; gap: 16px; }
.cart-head .muted { margin: 0; }
.cart-layout { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: clamp(24px, 4vw, 56px); align-items: start; }
.cart-lines { background: #fbf8f3; border: 1px solid rgba(36, 24, 19, .08); border-radius: 24px; padding: 6px 26px; }
.cart-lines.is-empty { padding: 40px 24px; grid-column: 1 / -1; }
.cart-lines .line-item:last-child { border-bottom: 0; }
.cart-lines .line-item { grid-template-columns: 120px 1fr auto; gap: 22px; padding: 24px 0; }
.cart-lines .li-thumb { width: 120px; border-radius: 16px; }
.cart-lines .li-name { font-size: 24px; }
.cart-summary { position: sticky; top: calc(var(--header-h) + 34px); display: grid; gap: 14px; padding: 28px; border-radius: 24px; color: #f3ede3; background: linear-gradient(165deg, #33231b 0%, #241813 60%, #1c130f 100%); border: 1px solid rgba(182, 154, 120, .22); box-shadow: 0 30px 60px -36px rgba(23, 15, 10, .8); }
.cart-summary h2 { margin: 0 0 4px; font-family: "Cormorant Garamond", Georgia, serif; font-weight: 500; font-size: 28px; color: #f3ede3; letter-spacing: 0; text-transform: none; }
.cart-summary .summary-row { display: flex; justify-content: space-between; gap: 12px; font-size: 14px; color: rgba(243, 237, 227, .78); }
.cart-summary .sum-big { padding-top: 14px; border-top: 1px solid rgba(243, 237, 227, .14); color: #f3ede3; font-size: 17px; }
.cart-summary .sum-big span:last-child { color: #e2c9a0; font-size: 22px; }
.btn.ghost-light { background: transparent; color: #f3ede3; border: 1px solid rgba(243, 237, 227, .35); }
.sum-assure { list-style: none; margin: 6px 0 0; padding: 14px 0 0; border-top: 1px solid rgba(243, 237, 227, .14); display: grid; gap: 8px; font-size: 13px; color: rgba(243, 237, 227, .7); }
.sum-assure li::before { content: "\2713"; color: #c9a87f; margin-right: 9px; font-weight: 700; }
.sum-assure a { color: #e2c9a0; }
#cart-recs { margin-top: 64px; }
@media (max-width: 900px) {
  .cart-layout { grid-template-columns: 1fr; }
  .cart-summary { position: static; }
  .cart-lines { padding: 4px 16px; }
  .cart-lines .line-item { grid-template-columns: 92px 1fr; gap: 14px; }
  .cart-lines .li-thumb { width: 92px; }
  .cart-lines .li-name { font-size: 19px; }
  .cart-lines .li-total { grid-column: 2; padding: 0; }
}

/* ===== v12: reviews ===== */
.stars { position: relative; display: inline-block; font-size: 15px; line-height: 1; letter-spacing: 2px; white-space: nowrap; }
.stars-base { color: rgba(138, 111, 79, .28); }
.stars-fill { position: absolute; inset: 0 auto 0 0; overflow: hidden; color: #b38d63; }
.pcard .stars { font-size: 12px; letter-spacing: 1px; }
.pcard .stars-base { color: rgba(243, 237, 227, .22); }
.pcard .stars-fill { color: #e2c9a0; }
.pc-rating { display: inline-flex; align-items: center; gap: 6px; }
.p-rating { display: inline-flex; align-items: center; gap: 10px; margin: -4px 0 14px; color: #5b4c41; font-size: 14px; text-decoration: none; }
.p-rating:hover span:last-child { text-decoration: underline; text-underline-offset: 3px; }
.reviews { width: min(1180px, calc(100% - 40px)); margin: clamp(56px, 8vw, 96px) auto 0; }
.rev-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin-bottom: 26px; }
.rev-head h2 { margin: 0; font-family: "Cormorant Garamond", Georgia, serif; font-weight: 500; font-size: clamp(32px, 4vw, 44px); letter-spacing: 0; text-transform: none; color: var(--plum); }
.rev-head .muted { margin: 6px 0 0; }
.rev-grid { display: grid; grid-template-columns: 320px minmax(0, 1fr); gap: clamp(24px, 4vw, 56px); align-items: start; }
.rev-score { position: sticky; top: calc(var(--header-h) + 34px); display: grid; gap: 8px; justify-items: start; padding: 28px; border-radius: 24px; background: linear-gradient(165deg, #33231b 0%, #241813 60%, #1c130f 100%); color: #f3ede3; }
.rev-score .muted { color: rgba(243, 237, 227, .66); margin: 0; }
.rev-avg { margin: 0; font-family: "Cormorant Garamond", Georgia, serif; font-size: 64px; line-height: .9; }
.rev-score .stars { font-size: 20px; }
.rev-score .stars-base { color: rgba(243, 237, 227, .2); }
.rev-score .stars-fill { color: #e2c9a0; }
.rev-bars { display: grid; gap: 7px; width: 100%; margin-top: 12px; }
.rev-bar-row { display: grid; grid-template-columns: 34px 1fr 24px; gap: 10px; align-items: center; font-size: 12.5px; }
.rev-bar { height: 6px; border-radius: 999px; background: rgba(243, 237, 227, .14); overflow: hidden; }
.rev-bar-fill { display: block; height: 100%; border-radius: inherit; background: var(--champ-grad); }
.rev-list { display: grid; gap: 14px; }
.rev-item { padding: 22px 24px; border-radius: 20px; background: #fbf8f3; border: 1px solid rgba(36, 24, 19, .08); }
.rev-item-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; font-size: 13px; }
.rev-item-title { margin: 12px 0 4px; font-family: "Cormorant Garamond", Georgia, serif; font-weight: 600; font-size: 21px; color: var(--plum); letter-spacing: 0; text-transform: none; }
.rev-item-body { margin: 8px 0 12px; line-height: 1.65; color: #3b2f27; white-space: pre-line; }
.rev-item-by { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin: 0; font-size: 13px; font-weight: 600; color: var(--plum); }
.rev-item-by .muted { font-weight: 400; }
.rev-verified { padding: 3px 9px; border-radius: 999px; background: #efe3cf; color: #6b5338; font-size: 11.5px; font-weight: 600; }
.rev-verified::before { content: "\2713  "; }
.rev-none { margin: 0; padding: 30px 24px; border-radius: 20px; border: 1px dashed rgba(36, 24, 19, .2); color: #6f6258; text-align: center; }
.rev-form { margin-bottom: 26px; padding: clamp(20px, 3vw, 30px); border-radius: 24px; background: #fbf8f3; border: 1px solid rgba(182, 154, 120, .35); display: grid; gap: 10px; }
.rev-form-title { margin: 0; font-family: "Cormorant Garamond", Georgia, serif; font-size: 26px; color: var(--plum); }
.rev-input-stars { display: flex; align-items: center; gap: 4px; }
.rev-star { width: 44px; height: 44px; border: 0; background: none; font-size: 30px; line-height: 1; color: rgba(138, 111, 79, .3); cursor: pointer; transition: transform .15s, color .15s; }
.rev-star.on { color: #b38d63; }
.rev-input-stars:hover .rev-star { color: #d6b384; }
.rev-input-stars .rev-star:hover ~ .rev-star { color: rgba(138, 111, 79, .3); }
.rev-star:hover { transform: scale(1.12); }
.rev-star:focus-visible { outline: 2px solid #d9bf94; border-radius: 8px; }
.rev-fields { display: grid; grid-template-columns: 1fr 200px; gap: 14px; }
.rev-fields label, .rev-form > label { display: block; margin-bottom: 6px; font-size: 13px; font-weight: 600; }
.rev-actions { display: flex; gap: 10px; flex-wrap: wrap; }
@media (max-width: 860px) {
  .rev-grid { grid-template-columns: 1fr; }
  .rev-score { position: static; }
  .rev-fields { grid-template-columns: 1fr; }
}
#cart-summary .btn.ghost-light { background: transparent; color: #f3ede3; border: 1px solid rgba(243, 237, 227, .35); box-shadow: none; }
#cart-summary .btn.ghost-light:hover, #cart-summary .btn.ghost-light:focus-visible { background: #f3ede3; color: #1d1410; border-color: #f3ede3; filter: none; }
.pc-details { flex-wrap: wrap; justify-content: flex-end; row-gap: 6px; }
.pc-sizecount { white-space: nowrap; }
@media (max-width: 700px) {
  .pc-details { justify-content: flex-start; gap: 8px; }
  .pc-rating { flex-basis: 100%; }
  .pc-rating + .card-swatches + .pc-sizecount::before, .pc-details .card-swatches + .pc-sizecount::before { margin-right: 8px; }
}

/* ===== v13: contact photo, colour photos ===== */
.contact-photo { position: relative; margin: 22px 0 0; border-radius: 24px; overflow: hidden; aspect-ratio: 4 / 3; background: #241813; box-shadow: 0 30px 60px -36px rgba(23, 15, 10, .7); }
.contact-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 38%; }
.contact-photo figcaption { position: absolute; left: 16px; bottom: 16px; padding: 8px 14px; border-radius: 999px; font-size: 12.5px; color: #f3ede3; background: rgba(23, 15, 10, .55); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.swatch.has-photo { width: 56px; height: 70px; padding: 3px; border-radius: 14px; overflow: hidden; }
.swatch.has-photo img { width: 100%; height: 100%; object-fit: cover; border-radius: 10px; display: block; }
.swatch.has-photo[aria-pressed="true"] { box-shadow: 0 0 0 2px #241813; }
#gallery.swap figure:first-child img { animation: dd-swap .45s ease; }
@keyframes dd-swap { from { opacity: .2; transform: scale(.985); } to { opacity: 1; transform: none; } }
.color-photo { margin: 0 6px; padding: 4px 8px; font-size: 12px; border-radius: 8px; }
@media (prefers-reduced-motion: reduce) { #gallery.swap figure:first-child img { animation: none; } }

/* ===== v14: hover zoom + photo strip ===== */
.pc-media { --zx: 50%; --zy: 50%; }
.pc-media img { transform-origin: var(--zx) var(--zy); }
@media (any-hover: hover) {
  .pcard:hover .pc-main, .pcard.has-alt:hover .pc-alt, .pcard.picked:hover .pc-main { transform: scale(1.45); transition: opacity .55s var(--ease), transform .6s cubic-bezier(.2, .7, .2, 1); }
  .pcard.picked .pc-main { opacity: 1 !important; }
  .pcard.picked .pc-alt { opacity: 0 !important; }
}
.pc-thumbs { position: absolute; left: 10px; right: 10px; bottom: 10px; z-index: 3; display: flex; justify-content: center; gap: 6px; padding: 6px; border-radius: 14px; background: rgba(243, 237, 227, .78); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); opacity: 0; transform: translateY(18px); transition: opacity .3s var(--ease), transform .4s var(--ease); pointer-events: none; }
.pc-thumb { width: 44px; height: 54px; padding: 0; border: 1.5px solid transparent; border-radius: 9px; overflow: hidden; background: #e9e1d4; cursor: pointer; transition: border-color .2s, transform .2s; }
.pc-thumb img { width: 100%; height: 100%; object-fit: cover; position: static; transform: none !important; opacity: 1 !important; }
.pc-thumb.on, .pc-thumb:hover { border-color: #241813; transform: translateY(-2px); }
@media (any-hover: hover) { .pcard:hover .pc-thumbs { opacity: 1; transform: none; pointer-events: auto; } }
.pcard.qa-open .pc-thumbs { opacity: 0 !important; pointer-events: none !important; }
.gallery figure { --zx: 50%; --zy: 50%; position: relative; cursor: zoom-in; }
.gallery figure img { transform-origin: var(--zx) var(--zy); transition: transform .45s cubic-bezier(.2, .7, .2, 1); }
@media (any-hover: hover) { .gallery figure.zooming img { transform: scale(2); } }
@media (prefers-reduced-motion: reduce) { .pcard:hover .pc-main, .gallery figure.zooming img { transform: none !important; } }

/* ===== v15: card photos zoom in and out on hover; hoodies tile ===== */
.pc-media { --zx: 50%; --zy: 50%; }
.pc-media img { transform-origin: 50% 50%; }
@media (any-hover: hover) {
  .pcard:hover .pc-main, .pcard.has-alt:hover .pc-alt, .pcard.picked:hover .pc-main { transform: none; }
  .pcard.zoom-loop .pc-media > img { animation: pc-breathe 3.6s ease-in-out infinite; }
}
@keyframes pc-breathe { 0% { transform: scale(1); } 50% { transform: scale(1.14); } 100% { transform: scale(1); } }
@media (prefers-reduced-motion: reduce) { .pcard.zoom-loop .pc-media > img { animation: none; } }
.cats { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 900px) { .cats { grid-template-columns: repeat(2, 1fr); } }
/* compact "Our story" strip on the home page */
.story-strip { display: flex; align-items: center; gap: 16px; width: min(1180px, calc(100% - 28px)); margin: 40px auto 0; padding: 12px 14px 12px 12px; border-radius: 18px; background: #241813; color: #f3ede3; text-decoration: none; border: 1px solid rgba(182, 154, 120, .22); transition: border-color .25s, transform .25s; }
.story-strip:hover { border-color: rgba(214, 186, 146, .6); transform: translateY(-1px); }
.story-strip-mark { flex: none; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: rgba(243, 237, 227, .08); font-family: "Cormorant Garamond", Georgia, serif; font-size: 17px; color: #e2c9a0; }
.story-strip-copy { display: flex; align-items: baseline; gap: 12px; min-width: 0; flex: 1; }
.story-strip-label { flex: none; font-size: 12px; font-weight: 600; letter-spacing: .06em; color: #e2c9a0; }
.story-strip-text { min-width: 0; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; font-size: 13.5px; color: rgba(243, 237, 227, .78); }
.story-strip-link { flex: none; padding: 9px 16px; border-radius: 999px; background: var(--champ-grad); color: #1d1410; font-size: 11.5px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; transition: background .25s, box-shadow .25s; }
.story-strip:hover .story-strip-link { background: var(--champ-bright); box-shadow: var(--glow); }
.story-strip:focus-visible { outline: 2px solid #d9bf94; outline-offset: 3px; }
@media (max-width: 700px) { .story-strip-text { display: none; } .story-strip { gap: 12px; } }

/* ===== v16: hover effects driven by script, so they work on every laptop ===== */
.pcard.is-hover { transform: translateY(-10px); border-color: rgba(182, 154, 120, .38); box-shadow: 0 46px 70px -34px rgba(23, 15, 10, .75), 0 14px 28px -18px rgba(36, 24, 19, .5); }
.pcard.is-hover::before, .pcard.is-hover::after { opacity: 1; }
.pcard.is-hover .pc-sheen { transform: translateX(130%); transition: transform 1.1s cubic-bezier(.2, .7, .2, 1); }
.pcard.zoom-loop .pc-media > img { animation: pc-breathe 3.2s ease-in-out infinite; }
@keyframes pc-breathe { 0% { transform: scale(1); } 50% { transform: scale(1.16); } 100% { transform: scale(1); } }
.pcard.is-hover .pc-thumbs { opacity: 1; transform: none; pointer-events: auto; }
.pcard.is-hover .pc-name a { background-size: 100% 1px; }
.pc-thumb { width: 48px; height: 58px; }
/* on touch screens keep the strip visible so shoppers can tap through colours */
@media (pointer: coarse) { .pc-thumbs { opacity: 1; transform: none; pointer-events: auto; } .pc-thumb { width: 40px; height: 48px; } }
@media (prefers-reduced-motion: reduce) { .pcard.zoom-loop .pc-media > img { animation: none; } .pcard.is-hover { transform: none; } }
.gallery figure.zooming img { transform: scale(2); }
/* Our story: same space above (after the products) and below (before the footer) */
.story-strip { margin: 72px auto 72px; }
body[data-page="home"] .site-footer { margin-top: 0; }

/* ===== v17: simple card hover. Photo zooms in on hover, eases back out on leave. ===== */
.pc-thumbs { display: none !important; }
.pcard .pc-media > img { animation: none !important; transform: scale(1); transition: transform .9s cubic-bezier(.22, .61, .36, 1), opacity .4s ease; }
.pcard.is-hover .pc-media > img.pc-main { transform: scale(1.12); }
/* keep the first photo: no swapping to a second photo on hover */
.pcard .pc-alt { display: none; }
.pcard .pc-media > img.pc-main { opacity: 1 !important; }
.pcard.is-hover { transform: translateY(-6px); }
@media (prefers-reduced-motion: reduce) { .pcard.is-hover .pc-media > img.pc-main { transform: none; } }

/* ===== v18: only the main menu stays pinned; the shop filter bar scrolls with the page ===== */
.filterbar, .toolbar, #toolbar { position: static !important; top: auto; }
.pc-media > img.pc-main.swapping { opacity: .25 !important; transition: opacity .16s ease; }
