/* ============================================================
   Avehaunt — minimal storefront
   White, Apple-minimal. Navy accent, brass hairline.
   Libre Caslon (display) · system-ui (functional)
   ============================================================ */

:root {
  --paper:      #ffffff;
  --paper-2:    #f5f5f7;   /* recessed sections (Apple grey) */
  --card:       #ffffff;
  --ink:        #1d1d1f;
  --ink-soft:   #4b4b4e;   /* secondary — ~8:1 on white */
  --ink-faint:  #86868b;   /* tertiary */
  --navy:       #1a2740;
  --navy-deep:  #121b2e;
  --navy-tint:  #eef1f6;
  --brass:      #9c8458;
  --brass-soft: #c9b48a;
  --line:       rgba(0,0,0,.11);
  --line-soft:  rgba(0,0,0,.06);
  --onnavy:     #ffffff;

  --shadow-s: 0 1px 2px rgba(0,0,0,.04), 0 1px 3px rgba(0,0,0,.05);
  --shadow-m: 0 2px 6px rgba(0,0,0,.05), 0 12px 28px rgba(0,0,0,.08);
  --shadow-l: 0 8px 20px rgba(0,0,0,.09), 0 32px 60px rgba(0,0,0,.14);

  --serif: "Libre Caslon Display", "Libre Caslon Text", Georgia, "Times New Roman", serif;
  --sans: "Hanken Grotesk", -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, Roboto, Helvetica, Arial, sans-serif;

  --maxw: 1180px;
  --gutter: clamp(18px, 4vw, 48px);
  --nav-h: 46px;
  --radius: 10px;
  --radius-s: 7px;
  --ease: cubic-bezier(.22, 1, .36, 1);
}

@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) { color-scheme: dark; } }
:root[data-theme="dark"] { color-scheme: dark; }

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --paper:#000000; --paper-2:#131315; --card:#1c1c1e;
    --ink:#f5f5f7; --ink-soft:#c3c3c7; --ink-faint:#8e8e93;
    --navy:#9fb4d8; --navy-deep:#b9c8e4; --navy-tint:#1a2033; --onnavy:#0e1626;
    --brass:#c9b081; --brass-soft:#8c7850;
    --line:rgba(255,255,255,.14); --line-soft:rgba(255,255,255,.08);
    --shadow-s:0 1px 2px rgba(0,0,0,.6);
    --shadow-m:0 2px 6px rgba(0,0,0,.5),0 12px 28px rgba(0,0,0,.6);
    --shadow-l:0 8px 20px rgba(0,0,0,.6),0 32px 60px rgba(0,0,0,.7);
  }
}
:root[data-theme="dark"] {
  --paper:#000000; --paper-2:#131315; --card:#1c1c1e;
  --ink:#f5f5f7; --ink-soft:#c3c3c7; --ink-faint:#8e8e93;
  --navy:#9fb4d8; --navy-deep:#b9c8e4; --navy-tint:#1a2033; --onnavy:#0e1626;
  --brass:#c9b081; --brass-soft:#8c7850;
  --line:rgba(255,255,255,.14); --line-soft:rgba(255,255,255,.08);
  --shadow-s:0 1px 2px rgba(0,0,0,.6);
  --shadow-m:0 2px 6px rgba(0,0,0,.5),0 12px 28px rgba(0,0,0,.6);
  --shadow-l:0 8px 20px rgba(0,0,0,.6),0 32px 60px rgba(0,0,0,.7);
}

/* ---------- reset / base ---------- */
*,*::before,*::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; font-family: var(--sans); font-size: 15.5px; line-height: 1.5;
  color: var(--ink); background: var(--paper);
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  overflow-wrap: break-word;
}
h1,h2,h3,h4 { margin: 0; font-weight: 500; line-height: 1.1; letter-spacing: -0.015em; }
p { margin: 0; }
img, svg { display: block; max-width: 100%; }
button { font: inherit; color: inherit; cursor: pointer; border: 0; background: none; }
input { font: inherit; }
ul { margin: 0; padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; }

::selection { background: var(--navy); color: var(--onnavy); }
:root { accent-color: var(--navy); }
* { caret-color: var(--navy); }
* { scrollbar-width: thin; scrollbar-color: rgba(128,128,128,.4) transparent; }
*::-webkit-scrollbar { width: 10px; height: 10px; }
*::-webkit-scrollbar-thumb { background: rgba(128,128,128,.35); border-radius: 99px; border: 3px solid var(--paper); }
*::-webkit-scrollbar-thumb:hover { background: rgba(128,128,128,.55); }
:focus-visible { outline: 2px solid var(--navy); outline-offset: 2px; border-radius: 3px; }
.tnum { font-variant-numeric: tabular-nums; }

.wrap { max-width: var(--maxw); margin: 0 auto; padding-inline: var(--gutter); }
.display { font-family: var(--serif); font-weight: 400; letter-spacing: -0.015em; }

/* ============================================================
   HEADER — slim bar, wordmark · nav w/ dropdowns · search · bag
   ============================================================ */
.hdr {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--paper) 80%, transparent);
  backdrop-filter: saturate(1.6) blur(20px); -webkit-backdrop-filter: saturate(1.6) blur(20px);
  border-bottom: 1px solid var(--line-soft);
}
.hdr__bar { display: flex; align-items: center; gap: 18px; height: var(--nav-h); }
.wordmark { font-family: var(--serif); font-size: 1.12rem; letter-spacing: .01em; white-space: nowrap; }
.wordmark b { font-weight: 400; }

.hdr__nav { display: flex; align-items: stretch; height: 100%; }
.navitem { position: relative; display: flex; align-items: center; }
.navitem > a {
  display: flex; align-items: center; height: 100%; padding: 0 14px;
  font-size: .82rem; font-weight: 600; color: var(--ink-soft);
  letter-spacing: .055em; text-transform: uppercase;
  transition: color .18s var(--ease);
}
.navitem > a::after { content:""; position:absolute; left:13px; right:13px; bottom:0; height:2px; background: var(--navy); transform: scaleX(0); transform-origin: left; transition: transform .25s var(--ease); }
.navitem:hover > a, .navitem:focus-within > a { color: var(--ink); }
.navitem:hover > a::after, .navitem:focus-within > a::after { transform: scaleX(1); }
.navitem > a[aria-current="page"] { color: var(--ink); }

/* dropdown */
.mega {
  position: absolute; top: calc(100% + 1px); left: 0; min-width: 210px;
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow-m); padding: 8px; opacity: 0; visibility: hidden;
  transform: translateY(-6px); transition: all .22s var(--ease); z-index: 60;
}
.navitem:hover .mega, .navitem:focus-within .mega { opacity: 1; visibility: visible; transform: none; }
.mega a { display: flex; justify-content: space-between; align-items: center; gap: 20px;
  padding: 8px 10px; border-radius: var(--radius-s); font-size: .9rem; color: var(--ink-soft);
  transition: background .15s var(--ease), color .15s var(--ease); }
.mega a:hover { background: var(--paper-2); color: var(--ink); }
.mega a .n { color: var(--ink-faint); font-size: .8rem; }
.mega__all { margin-top: 4px; border-top: 1px solid var(--line-soft); color: var(--navy) !important; font-weight: 500; }

.hdr__spacer { flex: 1; }
.hdr__tools { display: flex; align-items: center; gap: 6px; }

/* search */
.search { position: relative; display: flex; align-items: center; }
.search input {
  width: 190px; height: 34px; padding: 0 12px 0 34px; border-radius: 99px;
  border: 1px solid var(--line); background: var(--paper-2); color: var(--ink);
  font-size: .88rem; transition: width .3s var(--ease), border-color .2s, background .2s;
}
.search input::placeholder { color: var(--ink-faint); }
.search input:focus { outline: none; border-color: color-mix(in srgb,var(--navy) 60%, var(--line)); background: var(--card); width: 230px; }
.search svg { position: absolute; left: 11px; color: var(--ink-faint); pointer-events: none; }

.icon-btn { position: relative; display: grid; place-items: center; width: 38px; height: 38px; border-radius: 99px; color: var(--ink); transition: background .18s var(--ease); }
.icon-btn:hover { background: var(--paper-2); }
.bag-count { position: absolute; top: 2px; right: 1px; min-width: 16px; height: 16px; padding: 0 4px; border-radius: 99px; background: var(--navy); color: var(--onnavy); font-size: 10px; font-weight: 600; display: grid; place-items: center; transform: scale(0); transition: transform .3s var(--ease); font-variant-numeric: tabular-nums; }
.bag-count.show { transform: scale(1); }
.hdr__menu { display: none; }

/* ============================================================
   view transition
   ============================================================ */
main { min-height: 70vh; }
.view { animation: viewIn .45s var(--ease) both; }
@keyframes viewIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

/* ============================================================
   BANNER
   ============================================================ */
/* ============================================================
   HOME — header + yellow banner + three tiles, all in one view
   ============================================================ */
.home { display: flex; flex-direction: column; min-height: calc(100dvh - var(--nav-h)); }
.banner {
  flex: 0 0 auto; width: 100%; overflow: hidden; display: flex; align-items: center;
  height: clamp(130px, 20vh, 210px);
  background: linear-gradient(135deg, #fdf1b6 0%, #fbdc6a 46%, #f4bb38 100%);
}
.banner__cap { color: #1b2742; }
.banner__cap h1 { font-family: var(--serif); font-weight: 400; font-size: clamp(1.5rem, 3.2vw, 2.5rem); line-height: 1.02; }
.banner__cap p { margin-top: 5px; font-size: clamp(.85rem, 1.2vw, .98rem); color: #353a49; }

.tiles-sec { flex: 1; display: flex; flex-direction: column; justify-content: center; padding: clamp(18px, 3vh, 40px) 0; }
.tiles-sec > .wrap { width: 100%; }
.tiles-sec__h { text-align: center; margin-bottom: clamp(16px, 2.4vh, 30px); }
.tiles-sec__h h2 { font-family: var(--serif); font-weight: 400; font-size: clamp(1.35rem, 2.4vw, 1.9rem); }
.tiles-sec__h p { margin-top: 6px; color: var(--ink-soft); font-size: .92rem; }
.tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(14px, 1.8vw, 24px); width: 100%; max-width: min(760px, 80vw); margin: 0 auto; }
.tile { display: flex; flex-direction: column; align-items: center; gap: 12px; }
.tile__sq {
  position: relative; width: 100%; aspect-ratio: 1; border-radius: 16px;
  display: grid; place-items: center; overflow: hidden;
  background: var(--tile-bg, var(--paper-2)); border: 1px solid var(--line-soft);
  transition: transform .4s var(--ease), box-shadow .4s var(--ease), border-color .4s var(--ease);
}
.tile:hover .tile__sq { transform: translateY(-4px); box-shadow: var(--shadow-m); border-color: var(--line); }
.tile__sq svg { width: 46%; height: 46%; color: var(--tile-ink, var(--navy)); transition: transform .4s var(--ease); }
.tile:hover .tile__sq svg { transform: scale(1.06); }
.tile__label { font-family: var(--serif); font-size: 1.15rem; color: var(--ink); }
.tile__sub { font-size: .8rem; color: var(--ink-faint); margin-top: -8px; }

/* ============================================================
   LISTING (category / search)
   ============================================================ */
.pagehead { padding: clamp(26px,4vw,46px) 0 14px; }
.crumbs { display: flex; align-items: center; gap: 8px; color: var(--ink-faint); font-size: .83rem; margin-bottom: 14px; }
.crumbs a:hover { color: var(--ink); }
.crumbs span { color: var(--line); }
.pagehead h1 { font-family: var(--serif); font-size: clamp(1.7rem,3.2vw,2.5rem); font-weight: 400; }
.pagehead p { margin-top: 8px; max-width: 54ch; color: var(--ink-soft); font-size: .95rem; }

.filterbar { position: sticky; top: var(--nav-h); z-index: 20; display: flex; gap: 8px; flex-wrap: wrap;
  padding: 12px 0; margin-bottom: 10px;
  background: color-mix(in srgb,var(--paper) 85%, transparent);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid var(--line-soft); }
.chip { padding: 6px 14px; border-radius: 99px; font-size: .86rem; color: var(--ink-soft);
  border: 1px solid var(--line); background: var(--card); transition: all .18s var(--ease); }
.chip:hover { color: var(--ink); border-color: color-mix(in srgb,var(--ink) 24%,transparent); }
.chip[aria-pressed="true"] { background: var(--navy); color: var(--onnavy); border-color: var(--navy); }

.products { display: grid; gap: clamp(14px,1.8vw,22px); grid-template-columns: repeat(4,1fr); padding-bottom: 20px; }

.pcard { display: flex; flex-direction: column; border-radius: var(--radius); overflow: hidden;
  background: var(--card); border: 1px solid var(--line-soft);
  transition: box-shadow .4s var(--ease), transform .4s var(--ease), border-color .4s var(--ease); }
.pcard:hover { box-shadow: var(--shadow-m); transform: translateY(-3px); border-color: var(--line); }
.pcard__plate { position: relative; aspect-ratio: 4/5; overflow: hidden; }
.pcard__swatch { position: absolute; inset: 0; transition: transform .8s var(--ease); }
.pcard:hover .pcard__swatch { transform: scale(1.04); }
.pcard__fig { position: absolute; inset: 0; display: grid; place-items: center; z-index: 1; color: var(--ink); opacity: .6; mix-blend-mode: multiply; }
:root[data-theme="dark"] .pcard__fig,@media (prefers-color-scheme: dark){:root:not([data-theme="light"]) .pcard__fig{mix-blend-mode:screen;opacity:.5;}}
.pcard__fig svg { width: 56%; height: 56%; }
.pcard__swatches { position: absolute; left: 12px; bottom: 12px; z-index: 2; display: flex; gap: 5px; }
.pcard__dot { width: 13px; height: 13px; border-radius: 99px; box-shadow: 0 0 0 1.5px color-mix(in srgb,var(--paper) 80%, transparent), var(--shadow-s); }
.pcard__body { padding: 13px 15px 15px; display: flex; flex-direction: column; gap: 3px; flex: 1; }
.pcard__type { font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-faint); }
.pcard__name { font-family: var(--serif); font-size: 1.14rem; letter-spacing: -0.01em; }
.pcard__sum { color: var(--ink-soft); font-size: .85rem; line-height: 1.4; flex: 1; }
.pcard__foot { display: flex; align-items: baseline; justify-content: space-between; margin-top: 8px; }
.pcard__price { font-size: .95rem; font-weight: 500; }
.pcard__from { color: var(--ink-faint); font-size: .78rem; margin-right: 3px; font-weight: 400; }
.pcard__opts { color: var(--ink-faint); font-size: .78rem; }
.empty { padding: 60px 0 80px; text-align: center; color: var(--ink-soft); }
.empty h3 { font-family: var(--serif); font-weight: 400; font-size: 1.4rem; color: var(--ink); margin-bottom: 8px; }

/* ============================================================
   PRODUCT (configurator)
   ============================================================ */
.product { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(26px,3.5vw,56px); padding: 14px 0 clamp(46px,7vw,90px); align-items: start; }
.product__stage { position: sticky; top: calc(var(--nav-h) + 16px); }
.stage__plate { position: relative; aspect-ratio: 4/5; border-radius: 14px; overflow: hidden; border: 1px solid var(--line-soft); box-shadow: var(--shadow-m); }
.stage__swatch { position: absolute; inset: 0; transition: opacity .5s var(--ease); }
.stage__swatch.fade { opacity: 0; }
.stage__fig { position: absolute; inset: 0; display: grid; place-items: center; z-index: 1; color: var(--ink); opacity: .58; mix-blend-mode: multiply; }
:root[data-theme="dark"] .stage__fig,@media (prefers-color-scheme: dark){:root:not([data-theme="light"]) .stage__fig{mix-blend-mode:screen;opacity:.46;}}
.stage__fig svg { width: 52%; height: 52%; }
.stage__tag { position: absolute; top: 12px; left: 12px; z-index: 2; background: color-mix(in srgb,var(--card) 90%, transparent); backdrop-filter: blur(6px); padding: 6px 11px; border-radius: 99px; font-size: .78rem; color: var(--ink-soft); border: 1px solid var(--line-soft); display: flex; align-items: center; gap: 6px; }
.stage__tag b { color: var(--ink); font-weight: 500; }

.panel__type { font-size: .74rem; letter-spacing: .12em; text-transform: uppercase; color: var(--brass); }
.panel h1 { font-family: var(--serif); font-size: clamp(1.7rem,3vw,2.4rem); font-weight: 400; margin: 8px 0 5px; }
.panel__sum { color: var(--ink-soft); font-size: 1rem; max-width: 42ch; }
.panel__price { margin: 15px 0 2px; font-size: 1.3rem; font-weight: 500; }

.opt { margin-top: 24px; }
.opt__head { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 10px; }
.opt__label { font-size: .78rem; letter-spacing: .09em; text-transform: uppercase; color: var(--ink-soft); }
.opt__value { font-size: .9rem; color: var(--ink); font-weight: 500; }

.fabrics { display: flex; gap: 9px; flex-wrap: wrap; }
.fab { display: flex; align-items: center; gap: 9px; padding: 6px 12px 6px 7px; border-radius: 99px; border: 1px solid var(--line); background: var(--card); transition: border-color .18s var(--ease), box-shadow .18s var(--ease), transform .18s var(--ease); }
.fab:hover { border-color: color-mix(in srgb,var(--ink) 26%,transparent); transform: translateY(-1px); }
.fab[aria-pressed="true"] { border-color: var(--navy); box-shadow: 0 0 0 1px var(--navy); }
.fab__chip { width: 20px; height: 20px; border-radius: 99px; box-shadow: inset 0 0 0 1px rgba(0,0,0,.14); }
.fab__name { font-size: .88rem; }
.fab__add { color: var(--ink-faint); font-size: .78rem; }
.fab-note { margin-top: 11px; color: var(--ink-soft); font-size: .9rem; line-height: 1.5; max-width: 48ch; min-height: 2.8em; transition: opacity .3s var(--ease); }

.pills { display: flex; gap: 9px; flex-wrap: wrap; }
.pill { min-width: 46px; padding: 9px 13px; border-radius: var(--radius-s); text-align: center; border: 1px solid var(--line); background: var(--card); font-size: .9rem; color: var(--ink); transition: all .16s var(--ease); }
.pill:hover { border-color: color-mix(in srgb,var(--ink) 26%,transparent); }
.pill[aria-pressed="true"] { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.pill small { display: block; opacity: .6; font-size: .7rem; margin-top: 2px; }
.size-row { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 10px; }
.size-guide { color: var(--navy); font-size: .82rem; text-decoration: underline; text-decoration-color: var(--brass-soft); text-underline-offset: 3px; }

.addbar { margin-top: 28px; display: flex; gap: 10px; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 22px; border-radius: 99px; font-size: .95rem; font-weight: 500; transition: all .2s var(--ease); white-space: nowrap; }
.btn--primary { background: var(--navy); color: var(--onnavy); box-shadow: var(--shadow-s); }
.btn--primary:hover { background: var(--navy-deep); box-shadow: var(--shadow-m); transform: translateY(-1px); }
.btn--primary:disabled { background: var(--paper-2); color: var(--ink-faint); box-shadow: none; cursor: not-allowed; transform: none; }
.btn--ghost { background: transparent; border: 1px solid var(--line); color: var(--ink); }
.btn--ghost:hover { border-color: color-mix(in srgb,var(--ink) 28%,transparent); background: var(--paper-2); }
.btn--block { flex: 1; }
.btn--lg { padding: 14px 26px; font-size: 1rem; }
.addbar__hint { margin-top: 10px; color: var(--brass); font-size: .84rem; min-height: 1.1em; }
.addbar__hint:empty { min-height: 0; }

.details { margin-top: 34px; border-top: 1px solid var(--line); padding-top: 20px; }
.details h3 { font-family: var(--serif); font-size: 1.12rem; font-weight: 400; margin-bottom: 12px; }
.details li { display: flex; gap: 10px; padding: 6px 0; color: var(--ink-soft); font-size: .92rem; }
.details li svg { flex: none; margin-top: 3px; color: var(--brass); }

/* ============================================================
   BAG slide-over
   ============================================================ */
.scrim { position: fixed; inset: 0; z-index: 70; background: rgba(0,0,0,.34); opacity: 0; visibility: hidden; transition: opacity .35s var(--ease), visibility .35s; backdrop-filter: blur(2px); }
.scrim.open { opacity: 1; visibility: visible; }
.bag { position: fixed; top: 0; right: 0; z-index: 71; height: 100dvh; width: min(410px, 92vw); background: var(--paper); border-left: 1px solid var(--line); display: flex; flex-direction: column; transform: translateX(100%); transition: transform .42s var(--ease); box-shadow: var(--shadow-l); }
.bag.open { transform: none; }
.bag__head { display: flex; align-items: center; justify-content: space-between; padding: 16px var(--gutter); border-bottom: 1px solid var(--line); }
.bag__head h2 { font-family: var(--serif); font-size: 1.25rem; font-weight: 400; }
.bag__items { flex: 1; overflow-y: auto; padding: 6px var(--gutter); }
.bitem { display: grid; grid-template-columns: 52px 1fr auto; gap: 13px; padding: 16px 0; border-bottom: 1px solid var(--line-soft); }
.bitem__plate { width: 52px; height: 65px; border-radius: 5px; overflow: hidden; position: relative; border: 1px solid var(--line-soft); }
.bitem__name { font-family: var(--serif); font-size: 1rem; }
.bitem__meta { color: var(--ink-faint); font-size: .8rem; margin-top: 2px; line-height: 1.5; }
.bitem__price { font-weight: 500; font-size: .92rem; }
.bitem__qty { display: inline-flex; align-items: center; gap: 2px; margin-top: 7px; border: 1px solid var(--line); border-radius: 99px; }
.bitem__qty button { width: 25px; height: 25px; display: grid; place-items: center; color: var(--ink-soft); border-radius: 99px; }
.bitem__qty button:hover { color: var(--ink); background: var(--paper-2); }
.bitem__qty span { min-width: 18px; text-align: center; font-size: .85rem; font-variant-numeric: tabular-nums; }
.bitem__rm { color: var(--ink-faint); font-size: .78rem; margin-top: 7px; text-align: right; }
.bitem__rm:hover { color: var(--navy); text-decoration: underline; }
.bag__empty { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; padding: 40px; text-align: center; color: var(--ink-soft); }
.bag__empty svg { color: var(--ink-faint); }
.bag__empty h3 { font-family: var(--serif); font-weight: 400; font-size: 1.2rem; color: var(--ink); }
.bag__foot { padding: 16px var(--gutter) calc(16px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); background: var(--paper-2); }
.bag__row { display: flex; justify-content: space-between; margin-bottom: 6px; color: var(--ink-soft); font-size: .9rem; }
.bag__row--total { color: var(--ink); font-weight: 500; font-size: 1.05rem; margin: 10px 0 14px; }
.bag__note { margin-top: 10px; text-align: center; color: var(--ink-faint); font-size: .76rem; }

.toast { position: fixed; left: 50%; bottom: 24px; z-index: 80; transform: translate(-50%, 160%); background: var(--ink); color: var(--paper); padding: 12px 18px; border-radius: 99px; box-shadow: var(--shadow-l); font-size: .9rem; display: flex; align-items: center; gap: 9px; transition: transform .45s var(--ease); max-width: 90vw; }
.toast.show { transform: translate(-50%, 0); }
.toast svg { color: var(--brass-soft); }

/* ============================================================
   FOOTER
   ============================================================ */
.footer { border-top: 1px solid var(--line); margin-top: 20px; padding: clamp(34px,5vw,56px) 0 32px; background: var(--paper-2); }
.footer__grid { display: grid; grid-template-columns: 1.6fr repeat(2, 1fr); gap: 28px; }
.footer__brand .wordmark { font-size: 1.3rem; }
.footer__brand p { margin-top: 10px; color: var(--ink-soft); font-size: .88rem; max-width: 30ch; }
.footer h4 { font-size: .74rem; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-faint); margin-bottom: 12px; font-weight: 600; }
.footer li a { color: var(--ink-soft); font-size: .88rem; display: inline-block; padding: 3px 0; }
.footer li a:hover { color: var(--ink); }
.footer__legal { margin-top: 36px; padding-top: 18px; border-top: 1px solid var(--line-soft); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; color: var(--ink-faint); font-size: .8rem; }

/* ============================================================
   MOBILE drawer
   ============================================================ */
.drawer { position: fixed; inset: 0; z-index: 65; background: var(--paper); padding: calc(var(--nav-h) + 12px) var(--gutter) var(--gutter); transform: translateY(-8px); opacity: 0; visibility: hidden; transition: all .3s var(--ease); overflow-y: auto; }
.drawer.open { transform: none; opacity: 1; visibility: visible; }
.drawer__close { position: absolute; top: 9px; right: var(--gutter); }
.drawer .search { margin: 6px 0 18px; }
.drawer .search input { width: 100%; height: 42px; }
.drawer__links a { display: flex; justify-content: space-between; align-items: center; padding: 15px 0; border-bottom: 1px solid var(--line-soft); font-family: var(--serif); font-size: 1.4rem; }
.drawer__links a:hover { color: var(--navy); }

/* ============================================================
   responsive
   ============================================================ */
@media (max-width: 960px) {
  .product { grid-template-columns: 1fr; }
  .product__stage { position: static; }
  .stage__plate { max-width: 440px; }
  .products { grid-template-columns: repeat(3,1fr); }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  .hdr__nav, .search { display: none; }
  .hdr__menu { display: grid; }
  .products { grid-template-columns: repeat(2,1fr); }
  .tiles { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .footer__grid { grid-template-columns: 1fr; gap: 20px; }
}
@media (max-width: 420px) {
  .addbar { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
}
