/* Parcel — a storefront theme. Tokens first; everything else reads from them. */
:root {
  /* colour */
  --bg: #f6f1ea;          /* bone: the page */
  --stone: #ece4d8;       /* product grounds, quiet bands */
  --stone-2: #e3d8c8;     /* hover / pressed grounds */
  --ink: #1d1814;         /* text, dark buttons */
  --ink-2: #5b5047;       /* secondary text (7.1:1 on bg) */
  --ink-3: #6f6359;       /* captions, meta (5.3:1 on bg) */
  --line: #ddd2c3;        /* hairlines */
  --line-2: #c4b4a0;      /* stronger hairlines, field borders */
  --accent: #8a2f1d;      /* hibiscus: primary button, bag count, focus */
  --accent-ink: #fbf6ef;
  --accent-deep: #6f2414;
  --paper: #fbf8f3;       /* fields, floating cards */
  --on-photo: #fbf6ef;

  /* type */
  --serif: "Instrument Serif", "Times New Roman", serif;
  --sans: "Instrument Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --t-12: 0.75rem;
  --t-14: 0.875rem;
  --t-16: 1rem;
  --t-17: 1.0625rem;
  --t-20: 1.25rem;
  --t-28: 1.75rem;
  --t-40: clamp(2rem, 1.4rem + 2.2vw, 2.75rem);
  --t-64: clamp(2.6rem, 1.6rem + 3.6vw, 4rem);
  --t-hero: clamp(3rem, 1.2rem + 6.4vw, 6.5rem);

  /* space (4px base) */
  --s-1: 4px; --s-2: 8px; --s-3: 12px; --s-4: 16px; --s-5: 24px;
  --s-6: 32px; --s-7: 48px; --s-8: 64px; --s-9: 96px; --s-10: 128px;
  --section: clamp(80px, 5rem + 3vw, 128px);
  --gutter: clamp(20px, 4vw, 48px);
  --col-gap: 24px;
  --max: 1360px;

  /* shape and depth */
  --r: 4px;
  --shadow-float: 0 1px 2px rgb(29 24 20 / .06), 0 6px 16px rgb(29 24 20 / .08), 0 24px 48px rgb(29 24 20 / .10);
  --shadow-lift: 0 1px 2px rgb(29 24 20 / .08), 0 8px 20px rgb(29 24 20 / .10);
  --ease: cubic-bezier(.16, 1, .3, 1);
  --focus: 0 0 0 2px var(--bg), 0 0 0 4px var(--accent);
}

@view-transition { navigation: auto; }
::view-transition-old(root), ::view-transition-new(root) { animation-duration: 220ms; }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font: 400 var(--t-17)/1.6 var(--sans);
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  overflow-x: clip;
}
[hidden] { display: none !important; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4 { margin: 0; font-weight: 400; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
ul, ol { margin: 0; padding: 0; list-style: none; }
::selection { background: var(--accent); color: var(--accent-ink); }
:focus-visible { outline: none; box-shadow: var(--focus); border-radius: var(--r); }
.num { font-variant-numeric: tabular-nums; }
.icon { width: 20px; height: 20px; flex: none; }
.icon-sm { width: 16px; height: 16px; flex: none; }
.vh { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.skip-link { position: absolute; left: var(--s-4); top: -60px; z-index: 100; background: var(--ink); color: var(--bg); padding: var(--s-2) var(--s-4); border-radius: var(--r); text-decoration: none; }
.skip-link:focus { top: var(--s-4); }

.wrap { width: 100%; max-width: calc(var(--max) + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter); }
.grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--col-gap); }

/* ---------- type roles ---------- */
.display { font-family: var(--serif); font-size: var(--t-hero); line-height: .98; letter-spacing: -0.012em; }
.h1 { font-family: var(--serif); font-size: var(--t-64); line-height: 1.02; letter-spacing: -0.01em; }
.h2 { font-family: var(--serif); font-size: var(--t-40); line-height: 1.08; letter-spacing: -0.005em; }
.h3 { font-family: var(--sans); font-size: var(--t-20); line-height: 1.35; font-weight: 500; letter-spacing: -0.01em; }
.eyebrow { font-size: var(--t-12); font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-2); }
.lede { font-size: var(--t-20); line-height: 1.5; color: var(--ink-2); max-width: 46ch; }
.meta { font-size: var(--t-14); color: var(--ink-3); }
.prose p + p { margin-top: var(--s-4); }
.prose { max-width: 62ch; color: var(--ink-2); }
.link { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; text-decoration-color: var(--line-2); transition: text-decoration-color .2s; }
.link:hover { text-decoration-color: currentColor; }
.arrow-link { display: inline-flex; align-items: center; gap: var(--s-2); font-weight: 500; text-decoration: none; }
.arrow-link .icon-sm { transition: transform .3s var(--ease); }
.arrow-link:hover .icon-sm { transform: translateX(3px); }
.arrow-link span { text-decoration: underline; text-underline-offset: 5px; text-decoration-thickness: 1px; text-decoration-color: var(--line-2); }
.arrow-link:hover span { text-decoration-color: currentColor; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--s-2);
  min-height: 48px; padding: 0 var(--s-5); border-radius: var(--r); border: 1px solid transparent;
  font-size: var(--t-16); font-weight: 500; line-height: 1; text-decoration: none; cursor: pointer;
  transition: background-color .2s, border-color .2s, color .2s, transform .25s var(--ease), box-shadow .25s var(--ease);
}
.btn:active { transform: translateY(0) scale(.99); }
.btn-primary { background: var(--accent); color: var(--accent-ink); }
.btn-primary:hover { background: var(--accent-deep); transform: translateY(-1px); box-shadow: var(--shadow-lift); }
.btn-dark { background: var(--ink); color: var(--bg); }
.btn-dark:hover { background: #000; transform: translateY(-1px); box-shadow: var(--shadow-lift); }
.btn-line { background: transparent; border-color: var(--line-2); color: var(--ink); }
.btn-line:hover { border-color: var(--ink); background: var(--paper); }
.btn-light { background: var(--on-photo); color: var(--ink); }
.btn-light:hover { background: #fff; transform: translateY(-1px); box-shadow: var(--shadow-lift); }
.btn-ghost-light { border-color: rgb(251 246 239 / .55); color: var(--on-photo); }
.btn-ghost-light:hover { border-color: var(--on-photo); background: rgb(251 246 239 / .1); }
.btn-block { width: 100%; }
.btn-sm { min-height: 40px; padding: 0 var(--s-4); font-size: var(--t-14); }
.btn[disabled] { opacity: .5; cursor: not-allowed; transform: none; box-shadow: none; }

/* ---------- header ---------- */
.notice { background: var(--ink); color: var(--bg); font-size: var(--t-14); }
.notice .wrap { display: flex; justify-content: center; gap: var(--s-5); padding-top: 9px; padding-bottom: 9px; text-align: center; }
.notice a { color: inherit; }
.site-head { position: sticky; top: 0; z-index: 40; background: rgb(246 241 234 / .92); backdrop-filter: saturate(1.4) blur(10px); -webkit-backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid transparent; transition: border-color .3s; }
.site-head.scrolled { border-bottom-color: var(--line); }
.head-row { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; height: 68px; }
.brand { font-family: var(--serif); font-size: 1.75rem; line-height: 1; text-decoration: none; letter-spacing: -0.01em; justify-self: center; grid-column: 2; }
.nav { grid-column: 1; grid-row: 1; display: flex; gap: var(--s-6); font-size: var(--t-14); font-weight: 500; }
.nav a { text-decoration: none; padding: 6px 0; position: relative; }
.nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease); }
.nav a:hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); }
.head-tools { grid-column: 3; justify-self: end; display: flex; align-items: center; gap: var(--s-2); }
.icon-btn { display: inline-flex; align-items: center; justify-content: center; gap: var(--s-2); min-width: 44px; height: 44px; padding: 0 var(--s-2); border-radius: var(--r); border: 0; background: none; text-decoration: none; cursor: pointer; font-size: var(--t-14); font-weight: 500; transition: background-color .2s; }
.icon-btn:hover { background: var(--stone); }
.bag-count { display: inline-grid; place-items: center; min-width: 22px; height: 22px; padding: 0 6px; border-radius: 11px; background: var(--accent); color: var(--accent-ink); font-size: var(--t-12); font-weight: 600; font-variant-numeric: tabular-nums; }
.bag-count.bump { animation: bump .5s var(--ease); }
@keyframes bump { 30% { transform: scale(1.25); } 100% { transform: scale(1); } }
.menu-btn { display: none; }

@media (max-width: 860px) {
  .head-row { grid-template-columns: auto 1fr auto; height: 60px; }
  .brand { grid-column: 2; justify-self: center; font-size: 1.5rem; }
  .menu-btn { display: inline-flex; grid-column: 1; grid-row: 1; }
  .nav { position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; gap: 0; background: var(--bg); border-bottom: 1px solid var(--line); padding: var(--s-2) var(--gutter) var(--s-4); display: none; font-size: var(--t-17); }
  .nav.open { display: flex; }
  .nav a { padding: var(--s-3) 0; border-bottom: 1px solid var(--line); }
  .nav a::after { display: none; }
  .head-tools .search-btn { display: none; }
  .notice .wrap { font-size: var(--t-12); }
  .notice .hide-sm { display: none; }
}

/* ---------- sections ---------- */
.section { padding: var(--section) 0; }
.section-tone { background: var(--stone); }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: var(--s-5); margin-bottom: var(--s-7); flex-wrap: wrap; }
.section-head .h2 { max-width: 22ch; }

/* ---------- home hero ---------- */
.hero { position: relative; color: var(--on-photo); background: #6b3a22; overflow: hidden; }
.hero-media { position: absolute; inset: 0; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: 70% 60%; }
.hero-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgb(58 24 10 / .55) 0%, rgb(58 24 10 / .28) 38%, rgb(58 24 10 / 0) 62%); }
.hero-inner { position: relative; min-height: clamp(560px, calc(100svh - 108px), 820px); display: grid; align-content: end; padding-top: var(--s-10); padding-bottom: var(--s-9); }
.hero-copy { grid-column: 1 / span 6; }
.hero .eyebrow { color: rgb(251 246 239 / .88); margin-bottom: var(--s-5); }
.hero h1 { max-width: 11.5ch; }
.hero .lede { color: rgb(251 246 239 / .9); margin-top: var(--s-5); max-width: 38ch; }
.hero-ctas { display: flex; gap: var(--s-3); margin-top: var(--s-6); flex-wrap: wrap; }
.mask { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .08em; margin-bottom: -.08em; }
.mask > span { display: inline-block; }

.hero-card {
  position: absolute; right: var(--gutter); bottom: var(--s-9); width: 300px;
  display: grid; grid-template-columns: 76px 1fr; gap: var(--s-4); align-items: center;
  padding: var(--s-3); padding-right: var(--s-4); border-radius: var(--r); background: rgb(251 248 243 / .97); color: var(--ink); box-shadow: var(--shadow-float); text-decoration: none;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.hero-card:hover { transform: translateY(-3px); }
.hero-card img { width: 76px; height: 95px; object-fit: cover; border-radius: 2px; background: var(--stone); }
.hero-card .k { font-size: var(--t-12); color: var(--ink-3); letter-spacing: .08em; text-transform: uppercase; font-weight: 600; }
.hero-card .n { font-weight: 500; line-height: 1.3; margin-top: 2px; }
.hero-card .p { display: flex; justify-content: space-between; align-items: baseline; margin-top: var(--s-2); font-size: var(--t-14); }
.hero-card .p b { font-weight: 600; }
.hero-card .p span { color: var(--accent); font-weight: 500; display: inline-flex; align-items: center; gap: 4px; }

@media (max-width: 860px) {
  .hero { background: var(--bg); color: var(--ink); }
  .hero-media { position: relative; aspect-ratio: 4 / 4.2; }
  .hero-media img { object-position: 82% 60%; }
  .hero-media::after { display: none; }
  .hero-inner { min-height: 0; padding-top: var(--s-7); padding-bottom: var(--s-8); }
  .hero-copy { grid-column: 1 / -1; }
  .hero .eyebrow { color: var(--ink-2); }
  .hero .lede { color: var(--ink-2); }
  .hero h1 { max-width: 12ch; }
  .hero .btn-light { background: var(--accent); color: var(--accent-ink); }
  .hero .btn-ghost-light { border-color: var(--line-2); color: var(--ink); }
  .hero { display: flex; flex-direction: column; }
  .hero-card { position: relative; right: auto; bottom: auto; order: 3; margin: calc(-1 * var(--s-5)) var(--gutter) var(--s-8); width: auto; max-width: 420px; }
}

/* ---------- product tiles and the shelf ---------- */
.products { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); column-gap: var(--col-gap); row-gap: var(--s-8); }
.products.cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.tile { position: relative; }
.tile-media { position: relative; display: block; aspect-ratio: 4 / 5; overflow: hidden; background: var(--stone); }
.tile-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.tile:hover .tile-media img { transform: scale(1.04); }
/* the shelf: one hairline under every row of photos */
.tile-media::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: rgb(29 24 20 / .28); }
.shelf { position: relative; }
.tile-body { display: grid; grid-template-columns: 1fr auto; gap: 2px var(--s-3); padding-top: var(--s-4); }
.tile-name { font-weight: 500; line-height: 1.35; text-decoration: none; }
.tile-name::before { content: ""; position: absolute; inset: 0; z-index: 1; }
.tile-price { font-weight: 500; font-variant-numeric: tabular-nums; white-space: nowrap; }
.tile-meta { grid-column: 1 / -1; font-size: var(--t-14); color: var(--ink-3); }
.tile-tag { position: absolute; left: var(--s-3); top: var(--s-3); z-index: 2; font-size: var(--t-12); font-weight: 600; letter-spacing: .06em; text-transform: uppercase; background: var(--paper); padding: 4px 8px; border-radius: 2px; }
.quick-add {
  position: absolute; right: var(--s-3); bottom: var(--s-3); z-index: 2;
  height: 40px; min-width: 40px; padding: 0 11px; border: 0; border-radius: 20px; background: rgb(251 248 243 / .96); color: var(--ink);
  font-size: var(--t-14); font-weight: 500; cursor: pointer; display: inline-flex; align-items: center; gap: 0;
  box-shadow: var(--shadow-lift); transition: background-color .2s, gap .35s var(--ease), transform .35s var(--ease);
}
.quick-add span { display: inline-block; max-width: 0; overflow: hidden; white-space: nowrap; transition: max-width .45s var(--ease); }
.quick-add:hover, .tile:hover .quick-add, .quick-add:focus-visible, .quick-add.is-added { gap: 6px; }
.tile:hover .quick-add span, .quick-add:focus-visible span, .quick-add.is-added span { max-width: 8rem; }
.quick-add:hover { background: #fff; transform: translateY(-1px); }
.quick-add.is-added { background: var(--ink); color: var(--bg); }
@media (max-width: 1060px) { .products { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 760px) {
  .products, .products.cols-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: var(--s-3); row-gap: var(--s-7); }
  .tile-body { grid-template-columns: 1fr; }
  .tile-name { font-size: var(--t-16); }
}

/* ---------- category index ---------- */
.cat-list { border-top: 1px solid var(--line-2); }
.cat-list a { display: grid; grid-template-columns: 1fr auto 40px; align-items: center; gap: var(--s-5); padding: var(--s-5) 0; border-bottom: 1px solid var(--line-2); text-decoration: none; transition: padding-left .45s var(--ease), color .2s; }
.cat-list a:hover { padding-left: var(--s-4); }
.cat-list .h2 { font-size: var(--t-64); }
.cat-list .meta { text-align: right; }
.cat-list .icon { justify-self: end; transition: transform .35s var(--ease); }
.cat-list a:hover .icon { transform: translateX(4px); }

/* ---------- editorial band ---------- */
.band { position: relative; }
.band-frame { position: relative; overflow: hidden; clip-path: inset(var(--inset-y, 0%) var(--inset-x, 0%) round var(--r)); }
.band-frame img { width: 100%; aspect-ratio: 16 / 8; object-fit: cover; object-position: 50% 40%; transform: scale(var(--band-scale, 1)); }
.band-text { margin-top: var(--s-7); }
.band-text .h2 { grid-column: 1 / span 6; }
.band-text .prose { grid-column: 8 / span 5; }
.band-text .arrow-link { margin-top: var(--s-5); }
.caption { font-size: var(--t-14); color: var(--ink-3); margin-top: var(--s-3); }
@media (max-width: 860px) {
  .band-frame img { aspect-ratio: 4 / 3.4; }
  .band-text .h2, .band-text .prose { grid-column: 1 / -1; }
  .band-text .prose { margin-top: var(--s-5); }
}

/* ---------- split (image + text) ---------- */
.split { align-items: center; }
.split-media { grid-column: 1 / span 6; }
.split-media img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: var(--r); }
.split-text { grid-column: 8 / span 5; }
.split-text .h2 { margin: var(--s-4) 0 var(--s-5); }
.defs { margin-top: var(--s-6); border-top: 1px solid var(--line-2); }
.defs div { display: grid; grid-template-columns: 9rem 1fr; gap: var(--s-4); padding: var(--s-4) 0; border-bottom: 1px solid var(--line); }
.defs dt { font-weight: 500; }
.defs dd { margin: 0; color: var(--ink-2); }
@media (max-width: 860px) {
  .split-media, .split-text { grid-column: 1 / -1; }
  .split-text { margin-top: var(--s-7); }
  .defs div { grid-template-columns: 1fr; gap: 2px; }
}

/* ---------- service facts ---------- */
.facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--line-2); }
.facts > div { padding: var(--s-5) var(--s-5) 0 0; }
.facts > div + div { padding-left: var(--s-5); border-left: 1px solid var(--line); }
.facts dt { font-weight: 500; }
.facts dd { margin: var(--s-2) 0 0; color: var(--ink-2); font-size: var(--t-16); }
.facts .icon { color: var(--ink-3); margin-bottom: var(--s-4); }
@media (max-width: 760px) {
  .facts { grid-template-columns: 1fr; }
  .facts > div, .facts > div + div { padding: var(--s-5) 0; border-left: 0; border-bottom: 1px solid var(--line); }
}

/* ---------- footer ---------- */
.site-foot { background: var(--ink); color: #d9cfc3; padding: var(--s-9) 0 var(--s-6); font-size: var(--t-16); }
.site-foot a { color: #f1e9de; text-decoration: none; }
.site-foot a:hover { text-decoration: underline; text-underline-offset: 4px; }
.foot-brand { grid-column: 1 / span 4; }
.foot-brand .brand-lg { font-family: var(--serif); font-size: var(--t-40); line-height: 1; color: #f6f1ea; }
.foot-brand p { margin-top: var(--s-4); max-width: 30ch; }
.foot-col { grid-column: span 2; }
.foot-col:first-of-type { grid-column: 6 / span 2; }
.foot-col h2 { font-size: var(--t-12); letter-spacing: .12em; text-transform: uppercase; font-weight: 600; color: #b3a697; margin-bottom: var(--s-4); }
.foot-col li + li { margin-top: var(--s-2); }
.foot-col.wide { grid-column: span 3; }
.foot-base { display: flex; justify-content: space-between; gap: var(--s-5); flex-wrap: wrap; margin-top: var(--s-9); padding-top: var(--s-5); border-top: 1px solid #3a322b; font-size: var(--t-14); color: #b3a697; }
@media (max-width: 860px) {
  .foot-brand, .foot-col, .foot-col:first-of-type, .foot-col.wide { grid-column: 1 / -1; }
  .foot-col { margin-top: var(--s-7); }
}

/* ---------- page header (inner pages) ---------- */
.page-head { padding-top: var(--s-8); padding-bottom: var(--s-7); }
@media (max-width: 760px) { .page-head { padding-top: var(--s-6); padding-bottom: var(--s-6); } }
.crumbs { display: flex; gap: var(--s-2); font-size: var(--t-14); color: var(--ink-3); margin-bottom: var(--s-5); flex-wrap: wrap; }
.crumbs a { text-decoration: none; }
.crumbs a:hover { text-decoration: underline; text-underline-offset: 3px; }
.crumbs li + li::before { content: "/"; margin-right: var(--s-2); color: var(--line-2); }
.page-head .lede { margin-top: var(--s-4); }

/* ---------- collection ---------- */
.catalog { align-items: start; }
.filters { grid-column: 1 / span 3; position: sticky; top: 92px; }
.catalog-main { grid-column: 4 / span 9; }
.filters details { border-top: 1px solid var(--line-2); }
.filters summary { display: none; }
.fgroup { border: 0; margin: 0; padding: var(--s-5) 0; border-bottom: 1px solid var(--line); }
.fgroup legend { font-size: var(--t-12); font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-2); padding: 0; margin-bottom: var(--s-3); }
.check { display: flex; align-items: center; gap: var(--s-3); padding: 6px 0; cursor: pointer; font-size: var(--t-16); }
.check input { appearance: none; -webkit-appearance: none; width: 18px; height: 18px; margin: 0; border: 1px solid var(--line-2); border-radius: 3px; background: var(--paper); display: grid; place-items: center; transition: background-color .15s, border-color .15s; flex: none; cursor: pointer; }
.check input::after { content: ""; width: 10px; height: 6px; border-left: 2px solid var(--accent-ink); border-bottom: 2px solid var(--accent-ink); transform: rotate(-45deg) translate(1px, -1px) scale(0); transition: transform .2s var(--ease); }
.check input:checked { background: var(--ink); border-color: var(--ink); }
.check input:checked::after { transform: rotate(-45deg) translate(1px, -1px) scale(1); }
.check input[type="radio"] { border-radius: 50%; }
.check input[type="radio"]::after { width: 8px; height: 8px; border: 0; border-radius: 50%; background: var(--accent-ink); transform: scale(0); }
.check input[type="radio"]:checked::after { transform: scale(1); }
.check .count { margin-left: auto; color: var(--ink-3); font-size: var(--t-14); font-variant-numeric: tabular-nums; }
.clear { margin-top: var(--s-4); background: none; border: 0; padding: 0; cursor: pointer; font-size: var(--t-14); }
.toolbar { display: flex; align-items: center; justify-content: space-between; gap: var(--s-4); padding-bottom: var(--s-4); margin-bottom: var(--s-6); border-bottom: 1px solid var(--line-2); flex-wrap: wrap; }
.select { position: relative; display: inline-flex; align-items: center; gap: var(--s-3); font-size: var(--t-14); }
.select select { appearance: none; -webkit-appearance: none; min-height: 40px; padding: 0 36px 0 12px; border: 1px solid var(--line-2); border-radius: var(--r); background: var(--paper); cursor: pointer; font-size: var(--t-14); }
.select .icon-sm { position: absolute; right: 10px; pointer-events: none; }
.empty { padding: var(--s-9) 0; text-align: left; }
.empty .h2 { margin-bottom: var(--s-4); }
@media (max-width: 960px) {
  .filters { grid-column: 1 / -1; position: static; margin-bottom: var(--s-5); }
  .catalog-main { grid-column: 1 / -1; }
  .filters summary { display: flex; align-items: center; gap: var(--s-2); min-height: 48px; cursor: pointer; font-weight: 500; list-style: none; border-bottom: 1px solid var(--line); }
  .filters summary::-webkit-details-marker { display: none; }
  .filters summary .icon-sm:last-child { margin-left: auto; transition: transform .3s var(--ease); }
  .filters details[open] summary .icon-sm:last-child { transform: rotate(180deg); }
  .filters .fbody { display: grid; grid-template-columns: 1fr 1fr; column-gap: var(--s-5); }
}
@media (max-width: 520px) { .filters .fbody { grid-template-columns: 1fr; } }

/* ---------- product page ---------- */
.pdp { align-items: start; padding-bottom: var(--section); }
.gallery { grid-column: 1 / span 7; display: grid; grid-template-columns: 72px 1fr; gap: var(--s-4); align-items: start; }
.thumbs { display: grid; gap: var(--s-3); }
.thumbs button { padding: 0; border: 1px solid transparent; border-radius: 2px; background: var(--stone); cursor: pointer; overflow: hidden; aspect-ratio: 4 / 5; transition: border-color .2s; }
.thumbs button img { width: 100%; height: 100%; object-fit: cover; opacity: .72; transition: opacity .2s; }
.thumbs button:hover img, .thumbs button[aria-current="true"] img { opacity: 1; }
.thumbs button[aria-current="true"] { border-color: var(--ink); }
.stage { position: relative; aspect-ratio: 4 / 5; overflow: hidden; background: var(--stone); }
.stage img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.stage .stage-note { position: absolute; left: var(--s-4); bottom: var(--s-4); font-size: var(--t-12); color: var(--ink-2); background: rgb(251 248 243 / .9); padding: 4px 8px; border-radius: 2px; }
.buy { grid-column: 9 / span 4; position: sticky; top: 92px; }
.buy .h1 { margin-top: var(--s-3); }
.buy .price { margin-top: var(--s-4); font-size: var(--t-20); font-weight: 500; font-variant-numeric: tabular-nums; display: flex; align-items: baseline; gap: var(--s-3); }
.buy .price small { font-size: var(--t-14); color: var(--ink-3); font-weight: 400; }
.buy .desc { margin-top: var(--s-5); color: var(--ink-2); }
.opt { border: 0; padding: 0; margin: var(--s-6) 0 0; }
.opt legend { display: flex; justify-content: space-between; width: 100%; font-size: var(--t-14); font-weight: 500; margin-bottom: var(--s-3); padding: 0; }
.opt legend span { color: var(--ink-3); font-weight: 400; }
.sizes { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s-2); }
.choice { position: relative; }
.choice input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.choice label { display: grid; gap: 2px; min-height: 64px; align-content: center; padding: var(--s-2) var(--s-3); border: 1px solid var(--line-2); border-radius: var(--r); background: var(--paper); cursor: pointer; transition: border-color .2s, box-shadow .2s, background-color .2s; }
.choice label b { font-weight: 500; }
.choice label span { font-size: var(--t-14); color: var(--ink-3); font-variant-numeric: tabular-nums; }
.choice label:hover { border-color: var(--ink-2); }
.choice input:checked + label { border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
.choice input:focus-visible + label { box-shadow: var(--focus); }
.choice input:disabled + label { opacity: .5; cursor: not-allowed; text-decoration: line-through; }
.scents { display: flex; flex-wrap: wrap; gap: var(--s-2); }
.scents label { display: inline-flex; align-items: center; gap: var(--s-2); min-height: 44px; padding: 0 var(--s-4) 0 var(--s-3); grid-template-columns: none; }
.dot { width: 16px; height: 16px; border-radius: 50%; box-shadow: inset 0 0 0 1px rgb(29 24 20 / .2); flex: none; }
.buy-row { display: grid; grid-template-columns: auto 1fr; gap: var(--s-3); margin-top: var(--s-6); }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--line-2); border-radius: var(--r); background: var(--paper); height: 48px; }
.qty button { width: 44px; height: 46px; border: 0; background: none; cursor: pointer; display: grid; place-items: center; border-radius: var(--r); }
.qty button:hover { background: var(--stone); }
.qty input { width: 36px; border: 0; background: none; text-align: center; font-variant-numeric: tabular-nums; font-weight: 500; -moz-appearance: textfield; }
.qty input::-webkit-inner-spin-button, .qty input::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
.qty-sm { height: 40px; }
.qty-sm button { width: 36px; height: 38px; }
.stock { margin-top: var(--s-3); font-size: var(--t-14); color: var(--ink-2); display: flex; align-items: center; gap: var(--s-2); }
.stock::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #4d7a3a; }
.deliver { margin-top: var(--s-6); border-top: 1px solid var(--line-2); }
.deliver li { display: grid; grid-template-columns: 24px 1fr; gap: var(--s-3); padding: var(--s-4) 0; border-bottom: 1px solid var(--line); font-size: var(--t-16); }
.deliver li .icon { margin-top: 2px; color: var(--ink-2); }
.deliver b { font-weight: 500; display: block; }
.deliver span { color: var(--ink-2); font-size: var(--t-14); }
.acc { border-bottom: 1px solid var(--line); }
.acc summary { display: flex; align-items: center; justify-content: space-between; min-height: 56px; cursor: pointer; font-weight: 500; list-style: none; }
.acc summary::-webkit-details-marker { display: none; }
.acc summary .icon-sm { transition: transform .3s var(--ease); }
.acc[open] summary .icon-sm { transform: rotate(45deg); }
.acc .acc-body { padding-bottom: var(--s-5); color: var(--ink-2); font-size: var(--t-16); }
.acc .acc-body p + p { margin-top: var(--s-3); }
.accs { margin-top: var(--s-6); border-top: 1px solid var(--line-2); }
@media (max-width: 960px) {
  .gallery { grid-column: 1 / -1; grid-template-columns: 1fr; }
  .thumbs { order: 2; grid-template-columns: repeat(4, 64px); }
  .buy { grid-column: 1 / -1; position: static; margin-top: var(--s-7); }
}

/* added-to-bag note */
.added {
  position: fixed; right: var(--gutter); top: 84px; z-index: 60; width: min(360px, calc(100vw - 2 * var(--gutter)));
  background: var(--paper); border-radius: var(--r); box-shadow: var(--shadow-float); padding: var(--s-5);
  border: 1px solid var(--line);
}
.added[hidden] { display: none; }
.added .row { display: grid; grid-template-columns: 64px 1fr auto; gap: var(--s-4); align-items: start; }
.added img { width: 64px; height: 80px; object-fit: cover; background: var(--stone); }
.added .t { font-size: var(--t-12); font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-2); display: flex; align-items: center; gap: 6px; }
.added .t .icon-sm { color: #4d7a3a; }
.added .n { font-weight: 500; margin-top: var(--s-1); }
.added .m { font-size: var(--t-14); color: var(--ink-3); }
.added .close { width: 36px; height: 36px; border: 0; background: none; border-radius: var(--r); cursor: pointer; display: grid; place-items: center; margin: -8px -8px 0 0; }
.added .close:hover { background: var(--stone); }
.added .actions { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-2); margin-top: var(--s-5); }

/* ---------- cart ---------- */
.cart { align-items: start; padding-bottom: var(--section); }
.cart-lines { grid-column: 1 / span 7; border-top: 1px solid var(--line-2); }
.line { display: grid; grid-template-columns: 112px 1fr auto; gap: var(--s-5); padding: var(--s-5) 0; border-bottom: 1px solid var(--line); }
.line img { width: 112px; height: 140px; object-fit: cover; background: var(--stone); }
.line .n { font-weight: 500; text-decoration: none; }
.line .n:hover { text-decoration: underline; text-underline-offset: 3px; }
.line .m { font-size: var(--t-14); color: var(--ink-3); margin-top: 2px; }
.line .ctl { display: flex; align-items: center; gap: var(--s-4); margin-top: var(--s-4); flex-wrap: wrap; }
.line .remove { background: none; border: 0; padding: 6px 0; cursor: pointer; font-size: var(--t-14); color: var(--ink-2); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--line-2); }
.line .remove:hover { color: var(--ink); text-decoration-color: currentColor; }
.line .lp { font-weight: 500; font-variant-numeric: tabular-nums; text-align: right; }
.line .unit { display: block; font-size: var(--t-14); color: var(--ink-3); font-weight: 400; }
.summary { grid-column: 9 / span 4; position: sticky; top: 92px; background: var(--stone); border-radius: var(--r); padding: var(--s-6); }
.summary h2 { margin-bottom: var(--s-5); }
.sum-row { display: flex; justify-content: space-between; gap: var(--s-4); padding: var(--s-2) 0; font-variant-numeric: tabular-nums; }
.sum-row span:first-child { color: var(--ink-2); }
.sum-total { border-top: 1px solid var(--line-2); margin-top: var(--s-3); padding-top: var(--s-4); font-weight: 600; font-size: var(--t-20); }
.sum-total span:first-child { color: var(--ink); }
.free { margin: var(--s-5) 0; font-size: var(--t-14); color: var(--ink-2); }
.bar { height: 4px; background: var(--line); border-radius: 2px; overflow: hidden; margin-top: var(--s-2); }
.bar i { display: block; height: 100%; width: var(--w, 0%); background: var(--ink); border-radius: 2px; transition: width .9s var(--ease); }
.summary .note { margin-top: var(--s-4); font-size: var(--t-14); color: var(--ink-3); display: flex; gap: var(--s-2); }
.summary .note .icon-sm { margin-top: 3px; }
.cart-empty[hidden] { display: none; }
.cart-empty { grid-column: 1 / -1; padding: var(--s-9) 0; border-top: 1px solid var(--line-2); }
.cart-empty .h2 { margin-bottom: var(--s-4); }
.cart-empty .btn { margin-top: var(--s-6); }
@media (max-width: 960px) {
  .cart-lines, .summary { grid-column: 1 / -1; }
  .summary { position: static; margin-top: var(--s-7); }
}
@media (max-width: 520px) {
  .line { grid-template-columns: 88px 1fr; }
  .line img { width: 88px; height: 110px; }
  .line .lp { grid-column: 2; text-align: left; }
}

/* ---------- checkout ---------- */
.checkout { align-items: start; padding-bottom: var(--section); }
.co-form { grid-column: 1 / span 7; }
.co-side { grid-column: 9 / span 4; position: sticky; top: 92px; }
.step { border: 0; margin: 0; padding: var(--s-6) 0; border-top: 1px solid var(--line-2); }
.step legend { float: left; width: 100%; padding: 0; margin-bottom: var(--s-5); display: flex; align-items: baseline; gap: var(--s-3); }
.step legend .no { font-size: var(--t-14); color: var(--ink-3); font-variant-numeric: tabular-nums; }
.step legend .h3 { font-family: var(--serif); font-size: var(--t-28); font-weight: 400; letter-spacing: 0; }
.step > .fields { clear: both; }
.fields { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-4); }
.field { display: grid; gap: 6px; align-content: start; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: var(--t-14); font-weight: 500; }
.field .hint { font-size: var(--t-14); color: var(--ink-3); }
.field input, .field select, .field textarea { width: 100%; min-height: 48px; padding: 0 var(--s-3); border: 1px solid var(--line-2); border-radius: var(--r); background: var(--paper); font-size: var(--t-16); transition: border-color .2s, box-shadow .2s; }
.field textarea { padding: var(--s-3); min-height: 88px; resize: vertical; }
.field select { appearance: none; -webkit-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='%231d1814' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; background-size: 16px; padding-right: 40px; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: var(--ink-2); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px rgb(138 47 29 / .18); }
.field [aria-invalid="true"] { border-color: var(--accent); }
.err { font-size: var(--t-14); color: var(--accent); min-height: 0; }
.err:empty { display: none; }
.ship-opts { display: grid; gap: var(--s-2); }
.ship-opts .choice label { grid-template-columns: 1fr auto; align-items: center; min-height: 60px; padding: var(--s-3) var(--s-4); }
.ship-opts .choice label b { display: block; }
.ship-opts .choice label .sub { color: var(--ink-3); font-size: var(--t-14); }
.ship-opts .choice label .fee { color: var(--ink); font-weight: 500; font-variant-numeric: tabular-nums; font-size: var(--t-16); }
.pay-box { border: 1px solid var(--line-2); border-radius: var(--r); background: var(--paper); padding: var(--s-5); display: grid; grid-template-columns: 24px 1fr; gap: var(--s-3); }
.pay-box .icon { color: var(--ink-2); margin-top: 2px; }
.pay-box b { font-weight: 500; }
.pay-box p { color: var(--ink-2); font-size: var(--t-16); margin-top: var(--s-1); }
.pay-btn { margin-top: var(--s-5); min-height: 56px; font-size: var(--t-17); }
.fine { margin-top: var(--s-3); font-size: var(--t-14); color: var(--ink-3); }
.mini-lines li { display: grid; grid-template-columns: 56px 1fr auto; gap: var(--s-3); align-items: center; padding: var(--s-3) 0; border-bottom: 1px solid var(--line-2); }
.mini-lines img { width: 56px; height: 70px; object-fit: cover; background: var(--bg); }
.mini-lines .n { font-weight: 500; font-size: var(--t-16); line-height: 1.3; }
.mini-lines .m { font-size: var(--t-14); color: var(--ink-3); }
.mini-lines .lp { font-variant-numeric: tabular-nums; font-size: var(--t-16); }
.redirect[hidden] { display: none; }
.redirect { margin-top: var(--s-5); border-radius: var(--r); background: var(--ink); color: var(--bg); padding: var(--s-5); display: grid; grid-template-columns: 24px 1fr; gap: var(--s-3); }
.redirect p { color: #d9cfc3; font-size: var(--t-16); margin-top: var(--s-1); }
.spinner { width: 20px; height: 20px; border: 2px solid rgb(246 241 234 / .3); border-top-color: var(--bg); border-radius: 50%; animation: spin .9s linear 3; margin-top: 2px; }
@keyframes spin { to { transform: rotate(360deg); } }
@media (max-width: 960px) {
  .co-form, .co-side { grid-column: 1 / -1; }
  .co-side { position: static; order: -1; margin-bottom: var(--s-6); }
}
@media (max-width: 560px) { .fields { grid-template-columns: 1fr; } }

/* ---------- about ---------- */
.about-hero { position: relative; color: var(--ink); }
.about-hero .media img { width: 100%; aspect-ratio: 21 / 7.4; object-fit: cover; object-position: 40% 30%; border-radius: var(--r); }
.about-hero .copy { margin-top: var(--s-6) !important; }
.about-hero .copy { margin-top: var(--s-7); }
.about-hero h1 { grid-column: 1 / span 7; }
.about-hero .lede { grid-column: 9 / span 4; align-self: end; }
.story .h2 { grid-column: 1 / span 4; }
.story .prose { grid-column: 6 / span 6; }
.visit { align-items: start; }
.visit .h2 { grid-column: 1 / span 4; }
.visit .defs { grid-column: 6 / span 7; margin-top: 0; }
@media (max-width: 860px) {
  .about-hero .media img { aspect-ratio: 4 / 3.6; }
  .about-hero h1, .about-hero .lede, .story .h2, .story .prose, .visit .h2, .visit .defs { grid-column: 1 / -1; }
  .about-hero .lede, .story .prose, .visit .defs { margin-top: var(--s-5); }
}

/* ---------- motion: start states only when JS is running ---------- */
.js .reveal { opacity: 0; transform: translateY(18px); }
.js .reveal.in { opacity: 1; transform: none; transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: calc(var(--i, 0) * 70ms); }
.js .hero-anim .mask > span { transform: translateY(105%); }
.js .hero-anim [data-hero-fade], .js .hero-anim [data-hero-card] { opacity: 0; }
.js .hero-anim.done .mask > span { transform: none; }
.js .hero-anim.done [data-hero-fade], .js .hero-anim.done [data-hero-card] { opacity: 1; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 1ms !important; animation-iteration-count: 1 !important; transition-duration: 120ms !important; scroll-behavior: auto !important; }
  .js .reveal, .js .hero-anim .mask > span, .js .hero-anim [data-hero-fade], .js .hero-anim [data-hero-card] { opacity: 1 !important; transform: none !important; }
  .band-frame { clip-path: none !important; }
  .band-frame img { transform: none !important; }
  ::view-transition-old(root), ::view-transition-new(root) { animation: none; }
}

/* narrow phones: keep the add button on one line */
@media (max-width: 400px) {
  .buy-row .btn { padding: 0 var(--s-3); white-space: nowrap; font-size: var(--t-14); }
  .sizes .choice label span { font-size: var(--t-12); }
}
