/* ===========================================================================
   Neelu Patel — paper mache & collage artist
   ---------------------------------------------------------------------------
   One stylesheet, no build step. Organised as: tokens → base → primitives →
   chrome (header/footer/cart/lightbox) → page compositions → responsive.

   Design intent: this is an artist's archive and shop, not a product dashboard.
   The work is warm, tactile and handmade, so the interface stays quiet — ink on
   paper, hairlines instead of drop shadows, real typographic hierarchy, and
   generous negative space. Colour comes from the artwork, never from the UI.

   Rules that keep it coherent:
     · Two radii only (2px on media, 999px on pills). No soft 10px cards.
     · One shadow, used sparingly. Depth comes from hairlines and tone.
     · Every size comes from the type/space scale below — no magic numbers.
   =========================================================================== */

:root {
  /* --- surface & ink ------------------------------------------------------ */
  --paper:      #faf8f4;   /* page */
  --paper-2:    #f3eee5;   /* recessed band */
  --paper-3:    #ebe4d7;   /* image placeholder / inset */
  --white:      #fffefc;

  --ink:        #1a1614;   /* headings, primary text */
  --ink-2:      #675d52;   /* body */
  --ink-3:      #9a9086;   /* meta, captions */

  --line:       #e7dfd2;   /* hairline */
  --line-2:     #d6cab5;   /* emphasised hairline */

  --accent:     #b4471f;   /* terracotta */
  --accent-2:   #8d3414;
  --gold:       #a8843a;
  --whatsapp:   #1f9d55;

  /* --- type --------------------------------------------------------------- */
  --serif: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --sans:  'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;

  /* fluid display sizes — clamp(min, preferred, max) */
  --t-display: clamp(2.75rem, 1.6rem + 5.1vw, 6rem);
  --t-h1:      clamp(2.15rem, 1.4rem + 3.2vw, 3.9rem);
  --t-h2:      clamp(1.65rem, 1.2rem + 1.9vw, 2.6rem);
  --t-h3:      clamp(1.1rem,  0.98rem + 0.5vw, 1.35rem);
  --t-lead:    clamp(1.02rem, 0.96rem + 0.35vw, 1.2rem);
  --t-body:    1rem;
  --t-sm:      0.885rem;
  --t-xs:      0.78rem;
  --t-eyebrow: 0.7rem;

  --measure: 64ch;         /* comfortable reading width */

  /* --- space (4px base) --------------------------------------------------- */
  --s1: 4px;   --s2: 8px;   --s3: 12px;  --s4: 16px;
  --s5: 24px;  --s6: 32px;  --s7: 44px;  --s8: 60px;
  --s9: 80px;  --s10: 110px; --s11: 150px;

  /* vertical rhythm between major sections, tightens on small screens */
  --section: clamp(56px, 4vw + 34px, 116px);

  /* --- form --------------------------------------------------------------- */
  --r-sm: 2px;
  --r-pill: 999px;
  --shadow: 0 18px 44px -22px rgba(26, 22, 20, 0.30);

  --container: 1240px;
  --gutter: clamp(20px, 4vw, 56px);
  --header-h: 66px;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --fast: 160ms;
  --slow: 460ms;

  /* legacy aliases — a couple of inline styles still reference these */
  --border: var(--line);
  --ink-soft: var(--ink-2);
  --radius: var(--r-sm);
}

/* ===========================================================================
   BASE
   =========================================================================== */

*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + var(--s4));
  -webkit-text-size-adjust: 100%;
}

/* No rubber-band flash past the ends. Root ONLY — never add body here: body has
   overflow-x:hidden, which per spec forces its overflow-y to compute to auto,
   making body its own scroll box with nothing to scroll. overscroll-behavior on
   that box stops the wheel chaining up to <html>, so the trackpad silently does
   nothing while the scrollbar still works. */
html { overscroll-behavior-y: none; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink-2);
  font-family: var(--sans);
  font-size: var(--t-body);
  line-height: 1.65;
  letter-spacing: -0.006em;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img, svg, video { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }

h1, h2, h3, h4 {
  font-family: var(--serif);
  color: var(--ink);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.02em;
  margin: 0;
  text-wrap: balance;
}
h1 { font-size: var(--t-h1); }
h2 { font-size: var(--t-h2); }
h3 { font-size: var(--t-h3); line-height: 1.25; letter-spacing: -0.01em; }
p  { margin: 0; }

::selection { background: var(--ink); color: var(--paper); }

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: var(--r-sm);
}

/* ===========================================================================
   LAYOUT PRIMITIVES
   =========================================================================== */

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.container-narrow { max-width: 860px; }

.section { padding-block: var(--section); }
.section-alt { background: var(--paper-2); }
.section-tight { padding-block: calc(var(--section) * 0.6); }

.stack > * + * { margin-top: var(--s4); }
.center { text-align: center; }
.measure { max-width: var(--measure); }

.rule { height: 1px; background: var(--line); border: 0; margin: 0; }

/* Eyebrow — the small caps label above a heading. Used everywhere, so it is
   the one place a little letter-spacing is welcome. */
.eyebrow {
  font-size: var(--t-eyebrow);
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin: 0 0 var(--s4);
  display: block;
}
.eyebrow-accent { color: var(--accent); }

.lead {
  font-size: var(--t-lead);
  line-height: 1.6;
  color: var(--ink-2);
  max-width: var(--measure);
}

.section-head { margin-bottom: var(--s8); }
.section-head h2 + p { margin-top: var(--s4); }

/* A heading with a counter/action on the same baseline. */
.head-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: var(--s5);
  flex-wrap: wrap;
  margin-bottom: var(--s7);
  padding-bottom: var(--s4);
  border-bottom: 1px solid var(--line);
}
.head-row .count {
  font-size: var(--t-sm);
  color: var(--ink-3);
  font-variant-numeric: tabular-nums;
}

/* ===========================================================================
   BUTTONS & LINKS
   =========================================================================== */

.btn {
  --btn-bg: var(--ink);
  --btn-fg: var(--paper);
  --btn-bd: var(--ink);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--s2);
  padding: 13px 24px;
  border: 1px solid var(--btn-bd);
  border-radius: var(--r-pill);
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-size: var(--t-sm);
  font-weight: 550;
  letter-spacing: 0.01em;
  cursor: pointer;
  transition: background var(--fast) var(--ease), color var(--fast) var(--ease),
              border-color var(--fast) var(--ease), transform var(--fast) var(--ease);
}
.btn:hover { --btn-bg: var(--accent); --btn-bd: var(--accent); --btn-fg: var(--white); }
.btn:active { transform: translateY(1px); }

.btn-ghost { --btn-bg: transparent; --btn-fg: var(--ink); --btn-bd: var(--line-2); }
.btn-ghost:hover { --btn-bg: var(--ink); --btn-fg: var(--paper); --btn-bd: var(--ink); }

.btn-whatsapp { --btn-bg: var(--whatsapp); --btn-bd: var(--whatsapp); --btn-fg: #fff; }
.btn-whatsapp:hover { --btn-bg: #18854a; --btn-bd: #18854a; }

.btn-sm { padding: 9px 16px; font-size: var(--t-xs); }
.btn-block { width: 100%; }

/* Text link with an underline that draws in on hover. */
.link {
  display: inline-flex;
  align-items: center;
  gap: var(--s2);
  color: var(--ink);
  font-weight: 550;
  font-size: var(--t-sm);
  padding-bottom: 2px;
  background-image: linear-gradient(var(--accent), var(--accent));
  background-size: 0% 1px;
  background-position: 0 100%;
  background-repeat: no-repeat;
  transition: background-size var(--slow) var(--ease), color var(--fast) var(--ease);
}
.link:hover { color: var(--accent); background-size: 100% 1px; }
.link .icon { transition: transform var(--fast) var(--ease); }
.link:hover .icon { transform: translateX(3px); }

.btn-row { display: flex; flex-wrap: wrap; gap: var(--s3); }

/* ===========================================================================
   ICONS — CSS mask system, inherits currentColor. No emoji, ever.
   =========================================================================== */

.icon {
  display: inline-block;
  width: 1em;
  height: 1em;
  background-color: currentColor;
  -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat;
  -webkit-mask-position: center;  mask-position: center;
  -webkit-mask-size: contain;     mask-size: contain;
  flex: none;
}
.icon-bag   { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 8h12l-1 12.5a1.5 1.5 0 0 1-1.5 1.5h-8A1.5 1.5 0 0 1 6 20.5L5 8z'/%3E%3Cpath d='M9 8V6a3 3 0 0 1 6 0v2'/%3E%3C/svg%3E");                mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 8h12l-1 12.5a1.5 1.5 0 0 1-1.5 1.5h-8A1.5 1.5 0 0 1 6 20.5L5 8z'/%3E%3Cpath d='M9 8V6a3 3 0 0 1 6 0v2'/%3E%3C/svg%3E"); }
.icon-menu  { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.9' stroke-linecap='round'%3E%3Cpath d='M4 7h16M4 12h16M4 17h16'/%3E%3C/svg%3E");                mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.9' stroke-linecap='round'%3E%3Cpath d='M4 7h16M4 12h16M4 17h16'/%3E%3C/svg%3E"); }
.icon-close { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.9' stroke-linecap='round'%3E%3Cpath d='M6 6l12 12M18 6L6 18'/%3E%3C/svg%3E");                mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.9' stroke-linecap='round'%3E%3Cpath d='M6 6l12 12M18 6L6 18'/%3E%3C/svg%3E"); }
.icon-chevron-left  { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M15 5l-7 7 7 7'/%3E%3C/svg%3E");        mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M15 5l-7 7 7 7'/%3E%3C/svg%3E"); }
.icon-chevron-right { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 5l7 7-7 7'/%3E%3C/svg%3E");         mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 5l7 7-7 7'/%3E%3C/svg%3E"); }
.icon-plus  { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.9' stroke-linecap='round'%3E%3Cpath d='M12 5v14M5 12h14'/%3E%3C/svg%3E");                mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.9' stroke-linecap='round'%3E%3Cpath d='M12 5v14M5 12h14'/%3E%3C/svg%3E"); }
.icon-minus { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.9' stroke-linecap='round'%3E%3Cpath d='M5 12h14'/%3E%3C/svg%3E");                mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.9' stroke-linecap='round'%3E%3Cpath d='M5 12h14'/%3E%3C/svg%3E"); }
.icon-trash { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 7h16M10 11v6M14 11v6M6 7l1 13h10l1-13M9 7V4h6v3'/%3E%3C/svg%3E");                mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 7h16M10 11v6M14 11v6M6 7l1 13h10l1-13M9 7V4h6v3'/%3E%3C/svg%3E"); }
.icon-chat  { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M21 11.5a8.4 8.4 0 0 1-9 8.4 9 9 0 0 1-3.7-.8L3 20.5l1.5-4.3A8.4 8.4 0 0 1 3.6 11.5a8.4 8.4 0 0 1 9-8.4 8.4 8.4 0 0 1 8.4 8.4z'/%3E%3C/svg%3E");                mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M21 11.5a8.4 8.4 0 0 1-9 8.4 9 9 0 0 1-3.7-.8L3 20.5l1.5-4.3A8.4 8.4 0 0 1 3.6 11.5a8.4 8.4 0 0 1 9-8.4 8.4 8.4 0 0 1 8.4 8.4z'/%3E%3C/svg%3E"); }
.icon-check { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.1' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 12.5l5 5L20 6.5'/%3E%3C/svg%3E");                mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.1' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 12.5l5 5L20 6.5'/%3E%3C/svg%3E"); }
.icon-leaf  { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 20c0-9 6-15 16-16 0 10-5 16-16 16z'/%3E%3Cpath d='M9 15c2-3 5-5 8-6'/%3E%3C/svg%3E");                mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 20c0-9 6-15 16-16 0 10-5 16-16 16z'/%3E%3Cpath d='M9 15c2-3 5-5 8-6'/%3E%3C/svg%3E"); }
.icon-pin   { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 21s7-6.4 7-11a7 7 0 1 0-14 0c0 4.6 7 11 7 11z'/%3E%3Ccircle cx='12' cy='10' r='2.6'/%3E%3C/svg%3E");                mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 21s7-6.4 7-11a7 7 0 1 0-14 0c0 4.6 7 11 7 11z'/%3E%3Ccircle cx='12' cy='10' r='2.6'/%3E%3C/svg%3E"); }
.icon-sparkle { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3l2.2 5.8L20 11l-5.8 2.2L12 19l-2.2-5.8L4 11l5.8-2.2z'/%3E%3C/svg%3E");              mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3l2.2 5.8L20 11l-5.8 2.2L12 19l-2.2-5.8L4 11l5.8-2.2z'/%3E%3C/svg%3E"); }
.icon-search { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round'%3E%3Ccircle cx='11' cy='11' r='6.5'/%3E%3Cpath d='M16 16l4.5 4.5'/%3E%3C/svg%3E");             mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round'%3E%3Ccircle cx='11' cy='11' r='6.5'/%3E%3Cpath d='M16 16l4.5 4.5'/%3E%3C/svg%3E"); }

/* ===========================================================================
   HEADER  (main.js: .site-header .scrolled, .nav-links .open, .nav-toggle .is-open)
   =========================================================================== */

/* The blur lives on ::before, NOT on .site-header itself: backdrop-filter (like
   transform/filter) makes an element the containing block for position:fixed
   descendants, which pinned the mobile dock (.nav-links) to the header instead
   of the bottom of the viewport. */
.site-header {
  position: sticky;
  top: 0;
  z-index: 90;
  border-bottom: 1px solid transparent;
  transition: border-color var(--fast) var(--ease);
}
.site-header::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: color-mix(in srgb, var(--paper) 88%, transparent);
  backdrop-filter: saturate(1.4) blur(14px);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
}
.site-header.scrolled { border-bottom-color: var(--line); }

.nav {
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
  height: var(--header-h);
  display: flex;
  align-items: center;
  gap: var(--s7);
}

.logo {
  font-family: var(--serif);
  font-size: 1.22rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--ink);
  white-space: nowrap;
}
.logo span { color: var(--accent); }

.nav-links {
  display: flex;
  align-items: center;
  gap: var(--s5);
  list-style: none;
  margin: 0;
  padding: 0;
  margin-right: auto;
}
.nav-links a {
  position: relative;
  font-size: var(--t-sm);
  font-weight: 500;
  color: var(--ink-2);
  padding-block: 6px;
  transition: color var(--fast) var(--ease);
}
.nav-links a::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 1px;
  background: var(--ink);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--slow) var(--ease);
}
.nav-links a:hover { color: var(--ink); }
.nav-links a:hover::after { transform: scaleX(1); }
.nav-links a.active { color: var(--ink); font-weight: 600; }
.nav-links a.active::after { transform: scaleX(1); background: var(--accent); }

.nav-right { display: flex; align-items: center; gap: var(--s2); margin-left: auto; }

.cart-toggle, .nav-toggle {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px; height: 38px;
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  font-size: 1.02rem;
  transition: border-color var(--fast) var(--ease), background var(--fast) var(--ease);
}
.cart-toggle:hover, .nav-toggle:hover { border-color: var(--ink); background: var(--white); }
.nav-toggle { display: none; }

.cart-badge {
  position: absolute;
  top: -5px; right: -5px;
  min-width: 18px; height: 18px;
  padding: 0 5px;
  display: grid; place-items: center;
  background: var(--accent);
  color: #fff;
  font-family: var(--sans);
  font-size: 0.64rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  border-radius: var(--r-pill);
  transition: transform var(--fast) var(--ease);
}
.cart-badge.bump { transform: scale(1.28); }

/* ===========================================================================
   FOOTER
   =========================================================================== */

.site-footer {
  background: var(--ink);
  color: #b3a99c;
  padding-block: var(--s9) var(--s6);
  margin-top: var(--section);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1.2fr;
  gap: var(--s8);
  padding-bottom: var(--s8);
  border-bottom: 1px solid rgba(255,255,255,0.09);
}
.site-footer h4 {
  font-family: var(--serif);
  color: var(--white);
  font-size: 1.05rem;
  margin-bottom: var(--s4);
}
.site-footer p { font-size: var(--t-sm); line-height: 1.75; }
.site-footer a { color: #b3a99c; transition: color var(--fast) var(--ease); }
.site-footer a:hover { color: var(--white); }
.footer-links { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--s2); }
.footer-links a { font-size: var(--t-sm); }
.footer-bottom {
  padding-top: var(--s5);
  font-size: var(--t-xs);
  color: #7d746a;
  display: flex;
  justify-content: space-between;
  gap: var(--s4);
  flex-wrap: wrap;
}

/* ===========================================================================
   CART DRAWER + TOAST  (markup is built by cart.js — class names are a contract)
   =========================================================================== */

.cart-overlay {
  position: fixed; inset: 0;
  background: rgba(26, 22, 20, 0.42);
  backdrop-filter: blur(3px); -webkit-backdrop-filter: blur(3px);
  opacity: 0; visibility: hidden;
  transition: opacity 320ms var(--ease), visibility 320ms var(--ease);
  z-index: 1100;
}
.cart-overlay.open { opacity: 1; visibility: visible; }
/* Lock the page behind the open cart. On <html>, never body — see gotcha 11. */
html:has(body.drawer-open) { overflow: hidden; }

/* Desktop: a floating panel inset from the right edge. */
.cart-drawer {
  position: fixed;
  top: 12px; right: 12px; bottom: 12px;
  width: min(440px, calc(100vw - 24px));
  display: flex;
  flex-direction: column;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: 0 40px 80px -30px rgba(26,22,20,0.45), 0 0 0 1px rgba(26,22,20,0.03);
  overflow: hidden;
  z-index: 1101;
  transform: translateX(calc(100% + 24px));
  transition: transform 560ms cubic-bezier(0.32, 0.72, 0, 1);
}
.cart-drawer.open { transform: none; }
.cart-drawer [hidden] { display: none !important; }

.cart-drawer-head {
  display: flex; align-items: flex-start; justify-content: space-between; gap: var(--s4);
  padding: var(--s6) var(--s6) var(--s4);
}
.cart-drawer-head h3 { font-size: 1.6rem; letter-spacing: -0.02em; }
.cart-count { margin-top: 4px; font-size: var(--t-xs); color: var(--ink-3); letter-spacing: 0.04em; font-variant-numeric: tabular-nums; }
.cart-close {
  width: 40px; height: 40px; flex: none;
  display: grid; place-items: center;
  border: 0; border-radius: 50%;
  background: var(--paper-2);
  color: var(--ink);
  cursor: pointer;
  transition: background var(--fast) var(--ease), transform 300ms var(--ease);
}
.cart-close:hover { background: var(--paper-3); transform: rotate(90deg); }

.cart-drawer-list {
  flex: 1;
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  padding: 0 var(--s6) var(--s4);
}

/* ---- Rows ---- */
.cart-item {
  position: relative;
  display: grid;
  grid-template-columns: 76px minmax(0, 1fr) auto;
  gap: var(--s4);
  align-items: start;
  padding-block: var(--s4);
  border-top: 1px solid var(--line);
  transition: opacity 260ms var(--ease), transform 260ms var(--ease);
}
.cart-item:first-child { border-top: 0; }
.cart-item.is-entering { animation: cart-in 520ms var(--ease) backwards; animation-delay: calc(var(--i) * 55ms + 120ms); }
.cart-item.is-leaving { opacity: 0; transform: translateX(28px); }
@keyframes cart-in { from { opacity: 0; transform: translateY(12px); } }

.cart-item-media {
  display: block;
  width: 76px; aspect-ratio: 4 / 5;
  border-radius: 6px;
  overflow: hidden;
  background: var(--paper-3);
}
.cart-item-media img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--slow) var(--ease); }
.cart-item-media:hover img { transform: scale(1.05); }
.cart-item-noimg { display: block; width: 100%; height: 100%; }

.cart-item-info { display: flex; flex-direction: column; align-items: flex-start; gap: 3px; min-width: 0; padding-top: 2px; }
.cart-item-name {
  font-family: var(--serif);
  font-size: 1.05rem;
  line-height: 1.25;
  color: var(--ink);
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
  transition: color var(--fast) var(--ease);
}
.cart-item-name:hover { color: var(--accent); }
.cart-item-price { font-size: var(--t-xs); color: var(--ink-3); font-variant-numeric: tabular-nums; }

.cart-qty {
  display: inline-flex; align-items: center;
  margin-top: var(--s3);
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
  background: var(--white);
}
.cart-qty button {
  width: 30px; height: 30px;
  display: grid; place-items: center;
  border: 0; background: none; border-radius: 50%;
  color: var(--ink-2);
  font-size: 0.72rem;
  cursor: pointer;
  transition: color var(--fast), background var(--fast);
}
.cart-qty button:hover:not(:disabled) { color: var(--ink); background: var(--paper-2); }
.cart-qty button:disabled { opacity: 0.3; cursor: default; }
.qty-n { min-width: 18px; text-align: center; font-size: var(--t-xs); font-weight: 600; color: var(--ink); font-variant-numeric: tabular-nums; }

.cart-item-remove {
  width: 30px; height: 30px;
  display: grid; place-items: center;
  border: 0; border-radius: 50%;
  background: none;
  color: var(--ink-3);
  font-size: 0.7rem;
  cursor: pointer;
  transition: color var(--fast), background var(--fast);
}
.cart-item-remove:hover { color: var(--accent); background: color-mix(in srgb, var(--accent) 8%, transparent); }

/* ---- Undo strip ---- */
.cart-undo {
  display: flex; align-items: center; justify-content: space-between; gap: var(--s3);
  margin: 0 var(--s6) var(--s3);
  padding: 9px 9px 9px 14px;
  border-radius: var(--r-pill);
  background: var(--ink);
  color: var(--paper);
  font-size: var(--t-xs);
  animation: cart-in 320ms var(--ease);
}
.cart-undo-text { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cart-undo-btn {
  flex: none;
  padding: 5px 13px;
  border: 0; border-radius: var(--r-pill);
  background: rgba(255,255,255,0.14);
  color: #fff;
  font: inherit; font-weight: 600;
  cursor: pointer;
}
.cart-undo-btn:hover { background: rgba(255,255,255,0.26); }

/* ---- Footer ---- */
.cart-drawer-foot {
  padding: var(--s5) var(--s6) var(--s6);
  border-top: 1px solid var(--line);
  background: var(--paper-2);
}
.cart-note-field { display: grid; gap: 6px; margin-bottom: var(--s4); }
.cart-note-field > span { font-size: var(--t-xs); font-weight: 600; color: var(--ink-2); }
.cart-note-field em { font-style: normal; font-weight: 400; color: var(--ink-3); margin-left: 4px; }
.cart-note-field textarea {
  width: 100%;
  resize: none;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--white);
  color: var(--ink);
  font: inherit;
  font-size: var(--t-sm);
  line-height: 1.45;
  transition: border-color var(--fast);
}
.cart-note-field textarea:focus { outline: none; border-color: var(--ink); }
.cart-note-field textarea::placeholder { color: var(--ink-3); }
.cart-send { width: 100%; padding: 16px 20px; font-size: 0.92rem; }
.cart-fine { margin-top: var(--s3); font-size: var(--t-xs); color: var(--ink-3); text-align: center; line-height: 1.5; }

/* ---- Empty ---- */
.cart-empty {
  display: flex; flex-direction: column; align-items: center; text-align: center;
  padding: var(--s9) var(--s4);
  animation: cart-in 520ms var(--ease) 100ms backwards;
}
.cart-empty-icon {
  width: 68px; height: 68px;
  display: grid; place-items: center;
  margin-bottom: var(--s5);
  border-radius: 50%;
  background: var(--paper-2);
  color: var(--accent);
  font-size: 1.6rem;
}
.cart-empty h4 { font-family: var(--serif); font-size: 1.35rem; color: var(--ink); font-weight: 600; }
.cart-empty p { margin-top: var(--s3); max-width: 30ch; font-size: var(--t-sm); color: var(--ink-3); line-height: 1.6; }
.cart-empty p .icon { vertical-align: -2px; color: var(--accent); }
.cart-empty .btn { margin-top: var(--s5); }

.toast {
  position: fixed;
  left: 50%; bottom: 26px;
  transform: translate(-50%, 14px);
  display: flex; align-items: center; gap: var(--s3);
  padding: 11px 12px 11px 16px;
  background: var(--ink);
  color: var(--paper);
  border-radius: var(--r-pill);
  box-shadow: var(--shadow);
  font-size: var(--t-sm);
  z-index: 1200;
  opacity: 0; visibility: hidden;
  transition: opacity var(--fast) var(--ease), transform var(--slow) var(--ease), visibility var(--fast);
  max-width: calc(100vw - 32px);
}
.toast.show { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.toast .icon-check { color: #7bd08f; }
.toast-name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.toast-view {
  border: 0; background: rgba(255,255,255,0.13);
  color: var(--paper);
  padding: 6px 13px;
  border-radius: var(--r-pill);
  font-size: var(--t-xs); font-weight: 600;
  cursor: pointer; flex: none;
  transition: background var(--fast) var(--ease);
}
.toast-view:hover { background: rgba(255,255,255,0.24); }

/* ===========================================================================
   LIGHTBOX  (main.js: .lightbox .open, .lightbox-close, .lightbox-nav.prev/.next)
   =========================================================================== */

.lightbox {
  position: fixed; inset: 0;
  z-index: 1300;
  display: flex; align-items: center; justify-content: center;
  padding: var(--s7);
  background: rgba(18, 15, 13, 0.94);
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity var(--fast) var(--ease), visibility var(--fast) var(--ease);
}
.lightbox.open { opacity: 1; visibility: visible; pointer-events: auto; }
.lightbox img {
  max-width: 100%; max-height: 86vh;
  object-fit: contain;
  border-radius: var(--r-sm);
  touch-action: pinch-zoom;   /* JS owns pan; browser keeps pinch-to-zoom */
  transition: transform var(--slow) var(--ease), opacity var(--fast) var(--ease);
}
.lightbox img.dragging { transition: none; }
.lightbox-close, .lightbox-nav {
  position: absolute;
  display: grid; place-items: center;
  width: 44px; height: 44px;
  border: 1px solid rgba(255,255,255,0.22);
  border-radius: var(--r-pill);
  background: rgba(255,255,255,0.06);
  color: #fff;
  cursor: pointer;
  transition: background var(--fast) var(--ease), border-color var(--fast) var(--ease);
}
.lightbox-close:hover, .lightbox-nav:hover { background: rgba(255,255,255,0.18); border-color: rgba(255,255,255,0.5); }
.lightbox-close { top: var(--s5); right: var(--s5); }
.lightbox-nav.prev { left: var(--s5); top: 50%; transform: translateY(-50%); }
.lightbox-nav.next { right: var(--s5); top: 50%; transform: translateY(-50%); }
body.lightbox-open { overflow: hidden; }

/* ===========================================================================
   HOME
   Phone-first. The art carries the page: a drifting double strip of work under
   the headline, collections as image tiles, a swipe rail of new pieces, one
   full-bleed story. Text stays short and sits on calm paper.
   =========================================================================== */

/* ---- Hero ---------------------------------------------------------------- */
.h-hero { padding-top: clamp(36px, 7vw, 96px); overflow: hidden; }
.h-hero-inner { text-align: center; }
.h-hero h1 {
  font-size: var(--t-display);
  max-width: 13ch;
  margin-inline: auto;
  letter-spacing: -0.03em;
  line-height: 1.02;
}
.h-hero h1 em { font-style: italic; font-weight: 500; color: var(--accent); }
.h-hero-sub {
  margin: var(--s5) auto 0;
  max-width: 50ch;
  font-size: var(--t-lead);
  color: var(--ink-2);
}
.h-hero .btn-row { justify-content: center; margin-top: var(--s6); }

/* Two rows of work drifting in opposite directions. Each track holds the set
   twice, so translating by -50% loops seamlessly. */
.h-strips {
  margin-top: clamp(40px, 6vw, 80px);
  display: grid;
  gap: clamp(10px, 1.2vw, 16px);
  /* fade the ends so items slide in and out rather than being cut */
  -webkit-mask-image: linear-gradient(to right, transparent, #000 6%, #000 94%, transparent);
          mask-image: linear-gradient(to right, transparent, #000 6%, #000 94%, transparent);
}
.strip { overflow: hidden; }
.strip-track {
  display: flex;
  gap: clamp(10px, 1.2vw, 16px);
  width: max-content;
  animation: strip-drift 70s linear infinite;
}
.strip-b .strip-track { animation-direction: reverse; animation-duration: 82s; }
.h-strips:hover .strip-track { animation-play-state: paused; }
.strip-item {
  flex: none;
  width: clamp(132px, 17vw, 236px);
  aspect-ratio: 1;
  border-radius: var(--r-sm);
  overflow: hidden;
  background: var(--paper-3);
}
.strip-b .strip-item { width: clamp(112px, 14vw, 196px); }
.strip-item img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--slow) var(--ease); }
.strip-item:hover img { transform: scale(1.05); }
@keyframes strip-drift { to { transform: translateX(-50%); } }

/* ---- Facts ---------------------------------------------------------------- */
.h-facts {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: clamp(40px, 6vw, 80px) 0 0;
  border-block: 1px solid var(--line);
}
.h-facts > div { padding: var(--s6) var(--s4); text-align: center; }
.h-facts > div + div { border-left: 1px solid var(--line); }
.h-facts dd {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(1.9rem, 1.2rem + 2.4vw, 3.2rem);
  color: var(--ink);
  line-height: 1;
  letter-spacing: -0.02em;
}
.h-facts dd span { color: var(--accent); }
.h-facts dt {
  order: 2;
  margin-top: var(--s3);
  font-size: var(--t-eyebrow);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-3);
  font-weight: 600;
}
.h-facts > div { display: flex; flex-direction: column; }

/* ---- Section head --------------------------------------------------------- */
.h-head {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: end;
  column-gap: var(--s5);
  margin-bottom: clamp(24px, 3vw, 44px);
}
.h-head .eyebrow { grid-column: 1 / -1; margin-bottom: var(--s3); }
.h-head h2 { font-size: clamp(1.9rem, 1.2rem + 2.6vw, 3.1rem); }
.h-head .link, .h-head .rail-nav { justify-self: end; margin-bottom: 6px; }

/* ---- Collection tiles (bento) -------------------------------------------- */
.tiles {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-auto-rows: clamp(150px, 16vw, 230px);
  grid-auto-flow: dense;
  gap: clamp(10px, 1.2vw, 16px);
}
.tile {
  position: relative;
  overflow: hidden;
  border-radius: var(--r-sm);
  background: var(--paper-3);
  isolation: isolate;
}
.tile-lg   { grid-column: span 2; grid-row: span 2; }
.tile-tall { grid-row: span 2; }
.tile-wide { grid-column: span 2; }
/* last row: Jewellery + Other Crafts share it evenly on the 4-column layout */
.tiles > .tile:nth-last-child(-n+2) { grid-column: span 2; }
.tile img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 900ms var(--ease);
}
.tile::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(16,13,11,0.74) 0%, rgba(16,13,11,0.18) 42%, transparent 62%);
}
.tile:hover img { transform: scale(1.05); }
.tile-label {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  z-index: 1;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: var(--s2);
  padding: var(--s4);
  color: #fff;
}
.tile-name {
  font-family: var(--serif);
  font-size: clamp(1.08rem, 0.9rem + 0.7vw, 1.5rem);
  line-height: 1.1;
}
.tile-lg .tile-name { font-size: clamp(1.5rem, 1rem + 1.6vw, 2.3rem); }
.tile-count {
  font-size: var(--t-xs);
  color: rgba(255,255,255,0.78);
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}

/* ---- New from the studio: horizontal snap rail ----------------------------- */
.rail {
  display: flex;
  gap: var(--s4);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  overscroll-behavior-x: contain;
  scrollbar-width: none;
  /* line the first card up with the container, but let the rail bleed right */
  padding-inline: max(var(--gutter), calc((100vw - var(--container)) / 2 + var(--gutter)));
  scroll-padding-inline: max(var(--gutter), calc((100vw - var(--container)) / 2 + var(--gutter)));
}
.rail::-webkit-scrollbar { display: none; }
.rail-card {
  flex: none;
  width: clamp(220px, 23vw, 300px);
  scroll-snap-align: start;
}
.rail-media {
  aspect-ratio: 4 / 5;
  border-radius: var(--r-sm);
  overflow: hidden;
  background: var(--paper-3);
  margin-bottom: var(--s3);
}
.rail-media img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--slow) var(--ease); }
.rail-card:hover .rail-media img { transform: scale(1.04); }
.rail-card:hover .work-title { color: var(--accent); }
.rail-more {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  gap: var(--s4);
  aspect-ratio: 4 / 5;
  padding: var(--s6);
  border: 1px solid var(--line-2);
  border-radius: var(--r-sm);
  font-family: var(--serif);
  font-size: 1.5rem;
  line-height: 1.15;
  color: var(--ink);
  transition: background var(--fast) var(--ease), color var(--fast) var(--ease);
}
.rail-more:hover { background: var(--ink); color: var(--paper); }
.rail-nav { display: flex; gap: var(--s2); }
.rail-btn {
  width: 44px; height: 44px;
  display: grid; place-items: center;
  border: 1px solid var(--line-2);
  border-radius: var(--r-pill);
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  transition: background var(--fast) var(--ease), color var(--fast) var(--ease), border-color var(--fast) var(--ease);
}
.rail-btn:hover { background: var(--ink); color: var(--paper); border-color: var(--ink); }

/* ---- Story: full-bleed dark band ------------------------------------------ */
.h-story {
  position: relative;
  min-height: min(92vh, 820px);
  display: grid;
  align-items: end;
  overflow: hidden;
  background: #120f0d;
  color: #fff;
}
.h-story-bg {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: 50% 30%;
  opacity: 0.78;
}
.h-story::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(14,11,9,0.94) 0%, rgba(14,11,9,0.6) 38%, rgba(14,11,9,0.05) 72%);
}
.h-story-inner { position: relative; z-index: 1; padding-block: var(--s9); max-width: var(--container); }
.h-story .eyebrow { color: rgba(255,255,255,0.66); }
.h-story-num {
  font-family: var(--serif);
  font-size: clamp(5rem, 3rem + 10vw, 11rem);
  line-height: 0.85;
  letter-spacing: -0.04em;
  color: #fff;
}
.h-story-num span { font-size: 0.36em; letter-spacing: 0; color: #e2bd72; margin-left: 0.06em; }
.h-story h2 { color: #fff; max-width: 16ch; margin-top: var(--s4); }
.h-story p:not(.h-story-num) { margin-top: var(--s4); max-width: 48ch; color: rgba(255,255,255,0.78); }
.h-story .btn { margin-top: var(--s6); }
.btn-light { --btn-bg: #fff; --btn-fg: var(--ink); --btn-bd: #fff; }
.btn-light:hover { --btn-bg: var(--accent); --btn-fg: #fff; --btn-bd: var(--accent); }

/* ---- Practice: portrait + quote, then the four steps ---------------------- */
.h-practice {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: clamp(28px, 5vw, 90px);
  align-items: center;
}
.h-portrait { position: relative; }
.h-portrait img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--r-sm); }
.h-portrait::before {
  content: '';
  position: absolute;
  inset: -12px 12px 12px -12px;
  border: 1px solid var(--gold);
  border-radius: var(--r-sm);
  opacity: 0.55;
  z-index: -1;
}
.h-practice .quote { max-width: 20ch; font-style: italic; }

.steps {
  margin-top: clamp(44px, 6vw, 90px);
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(12px, 1.6vw, 24px);
}
.step { margin: 0; }
.step img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: var(--r-sm); }
.step figcaption { margin-top: var(--s3); font-size: var(--t-sm); color: var(--ink-2); line-height: 1.5; }
.step strong {
  display: block;
  font-family: var(--serif);
  font-weight: 600;
  font-size: 1.2rem;
  color: var(--ink);
  margin-bottom: 2px;
}
.step-num {
  display: block;
  font-size: var(--t-eyebrow);
  letter-spacing: 0.14em;
  color: var(--accent);
  font-weight: 600;
  margin-bottom: var(--s1);
}

/* ---- Recognition ----------------------------------------------------------- */
.h-awards {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--line-2);
}
.h-awards > div { padding: var(--s5) var(--s5) var(--s5) 0; display: grid; gap: var(--s2); align-content: start; }
.h-awards > div + div { padding-left: var(--s5); border-left: 1px solid var(--line); }
.h-awards strong { font-family: var(--serif); font-weight: 600; font-size: 1.18rem; color: var(--ink); line-height: 1.25; }
.h-awards span { font-size: var(--t-sm); color: var(--ink-3); }

.ticker {
  margin-top: clamp(36px, 5vw, 64px);
  overflow: hidden;
  border-block: 1px solid var(--line-2);
  padding-block: var(--s5);
  -webkit-mask-image: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent);
          mask-image: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent);
}
.ticker-track { display: flex; width: max-content; animation: strip-drift 48s linear infinite; }
.ticker-track span {
  font-family: var(--serif);
  font-size: clamp(1.15rem, 0.9rem + 0.9vw, 1.6rem);
  color: var(--ink-2);
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
}
.ticker-track span::after { content: ''; width: 5px; height: 5px; border-radius: 50%; background: var(--gold); margin-inline: var(--s6); }

/* ---- CTA card --------------------------------------------------------------- */
.h-cta {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: var(--s6);
  align-items: center;
  padding: clamp(32px, 5vw, 72px);
  border-radius: 6px;
  background: var(--ink);
  color: rgba(255,255,255,0.74);
  background-image: radial-gradient(120% 140% at 100% 0%, rgba(180,71,31,0.55), transparent 55%);
}
.h-cta h2 { color: #fff; max-width: 18ch; }
.h-cta p { margin-top: var(--s4); max-width: 46ch; }
.btn-light-ghost { --btn-bg: transparent; --btn-fg: #fff; --btn-bd: rgba(255,255,255,0.35); }
.btn-light-ghost:hover { --btn-bg: #fff; --btn-fg: var(--ink); --btn-bd: #fff; }

/* ---- Home responsive ------------------------------------------------------- */
@media (max-width: 900px) {
  .tiles { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .tiles > .tile:nth-last-child(2) { grid-column: span 1; }
  .h-awards { grid-template-columns: 1fr 1fr; }
  .h-awards > div:nth-child(3) { padding-left: 0; border-left: 0; }
  .h-awards > div:nth-child(n+3) { border-top: 1px solid var(--line); }
  .h-cta { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
  .h-hero { padding-top: var(--s7); }
  .h-hero-inner { text-align: left; }
  .h-hero h1 { margin-inline: 0; font-size: clamp(2.7rem, 11.5vw, 3.6rem); max-width: 10ch; }
  .h-hero-sub { margin-left: 0; font-size: 1rem; }
  .h-hero .btn-row { justify-content: flex-start; flex-wrap: nowrap; }
  .h-hero .btn { flex: 1; padding-inline: 12px; white-space: nowrap; }
  .h-strips { margin-top: var(--s7); }
  .strip-track { animation-duration: 55s; }
  .strip-b .strip-track { animation-duration: 64s; }

  .h-facts { grid-template-columns: 1fr 1fr; margin-top: var(--s7); }
  .h-facts > div { padding: var(--s5) var(--s3); }
  .h-facts > div:nth-child(3) { border-left: 0; }
  .h-facts > div:nth-child(n+3) { border-top: 1px solid var(--line); }

  .h-head { grid-template-columns: 1fr; }
  .h-head .link { justify-self: start; margin-top: var(--s3); grid-row: 3; }
  .h-head .rail-nav { display: none; }

  /* 2-up tiles; the hero tile spans both columns as a wide banner. */
  .tiles { grid-template-columns: 1fr 1fr; grid-auto-rows: 44vw; gap: 10px; }
  .tile-lg { grid-column: span 2; grid-row: span 1; }
  .tile-wide { grid-column: span 2; }
  .tile-tall { grid-row: span 2; }
  .tiles > .tile:nth-last-child(-n+2) { grid-column: span 1; }
  .tile-label { padding: var(--s3); flex-direction: column; align-items: flex-start; gap: 2px; }

  .rail { gap: var(--s3); }
  .rail-card { width: 68vw; max-width: 280px; }

  .h-story { min-height: 88vh; }
  .h-story-inner { padding-block: var(--s8) var(--s8); }
  .h-story .btn { width: 100%; }

  .h-practice { grid-template-columns: 1fr; gap: var(--s7); }
  .h-portrait { margin-inline: 12px 0; }
  /* Steps become a swipe row with the next card peeking in. */
  .steps {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    gap: var(--s3);
    margin-inline: calc(var(--gutter) * -1);
    padding-inline: var(--gutter);
    scroll-padding-inline: var(--gutter);
  }
  .steps::-webkit-scrollbar { display: none; }
  .step { flex: none; width: 62vw; scroll-snap-align: start; }

  .h-awards { grid-template-columns: 1fr; }
  .h-awards > div, .h-awards > div + div { padding: var(--s4) 0; border-left: 0; }
  .h-awards > div + div { border-top: 1px solid var(--line); }

  .h-cta { padding: var(--s7) var(--s5); }
  .h-cta .btn-row { flex-direction: column; }
  .h-cta .btn { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  .strip-track, .ticker-track { animation: none; }
  .strip, .ticker { overflow-x: auto; }
}

/* ===========================================================================
   EDITORIAL SPLIT — text beside an image, asymmetric on purpose.
   =========================================================================== */

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 5vw, 90px);
  align-items: center;
}
.split-wide { grid-template-columns: 1.15fr 0.85fr; }
.split-media { position: relative; }
.split-media img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: var(--r-sm);
}
.split-media.tall img { aspect-ratio: 3 / 4; }
/* Thin gold frame offset behind the photo — the one decorative flourish. */
.split-media::before {
  content: '';
  position: absolute;
  inset: -14px -14px 14px 14px;
  border: 1px solid var(--gold);
  border-radius: var(--r-sm);
  opacity: 0.5;
  pointer-events: none;
  z-index: -1;
}
.split-body h2 + .lead { margin-top: var(--s5); }
.split-body .btn-row { margin-top: var(--s6); }

/* Pull quote — the artist's voice, set large. */
.quote {
  max-width: 22ch;
  font-family: var(--serif);
  font-size: clamp(1.5rem, 1rem + 2.2vw, 2.5rem);
  line-height: 1.24;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.quote-attr {
  margin-top: var(--s5);
  font-size: var(--t-sm);
  color: var(--ink-3);
}

/* ===========================================================================
   WORK GRID — product/artwork cards. Quiet frame, the object supplies colour.
   =========================================================================== */

.work-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  gap: clamp(16px, 2vw, 30px) clamp(14px, 1.6vw, 24px);
}
.work-grid.cols-3 { grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); }

.work {
  display: flex;
  flex-direction: column;
  content-visibility: auto;
  contain-intrinsic-size: 340px;
}
.work-media {
  position: relative;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: var(--paper-3);
  border-radius: var(--r-sm);
}
.work-media img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform var(--slow) var(--ease), filter var(--slow) var(--ease);
}
.work:hover .work-media img { transform: scale(1.035); }
.work-media::after {
  content: '';
  position: absolute; inset: 0;
  box-shadow: inset 0 0 0 1px rgba(26,22,20,0.07);
  border-radius: var(--r-sm);
  pointer-events: none;
}
.work-body { padding-top: var(--s3); }
.work-cat {
  font-size: var(--t-eyebrow);
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--ink-3);
  font-weight: 600;
}
.work-title {
  font-family: var(--serif);
  font-size: 1.02rem;
  color: var(--ink);
  line-height: 1.3;
  margin-top: 5px;
  transition: color var(--fast) var(--ease);
  /* two-line clamp keeps the grid baseline even with rough CSV names */
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
  overflow: hidden;
}
.work:hover .work-title { color: var(--accent); }
.work-price {
  margin-top: 4px;
  font-size: var(--t-sm);
  color: var(--ink-2);
  font-variant-numeric: tabular-nums;
}
.work-media .pending {
  position: absolute; inset: 0;
  display: grid; place-items: center;
  font-size: var(--t-xs);
  color: var(--ink-3);
  letter-spacing: 0.06em;
}

/* ===========================================================================
   GALLERY (photos + awards scans) — masonry-ish columns, no card chrome.
   .gallery-item is a main.js hook for the lightbox.
   =========================================================================== */

.gallery {
  columns: 4;
  column-gap: clamp(12px, 1.4vw, 20px);
}
.gallery-3 { columns: 3; }
.gallery-item {
  break-inside: avoid;
  margin-bottom: clamp(12px, 1.4vw, 20px);
  position: relative;
  cursor: zoom-in;
  background: var(--paper-3);
  border-radius: var(--r-sm);
  overflow: hidden;
  content-visibility: auto;
  contain-intrinsic-size: 300px;
}
.gallery-item img {
  width: 100%;
  transition: transform var(--slow) var(--ease), opacity var(--fast) var(--ease);
}
.gallery-item::after {
  content: '';
  position: absolute; inset: 0;
  box-shadow: inset 0 0 0 1px rgba(26,22,20,0.08);
  border-radius: var(--r-sm);
  pointer-events: none;
}
.gallery-item:hover img { transform: scale(1.025); }
.gallery-item .caption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: var(--s7) var(--s4) var(--s3);
  font-size: var(--t-xs);
  color: #fff;
  background: linear-gradient(to top, rgba(16,13,11,0.82), transparent);
  opacity: 0;
  transition: opacity var(--fast) var(--ease);
}
.gallery-item:hover .caption { opacity: 1; }

/* ===========================================================================
   ARCHIVE LIST — awards & press as a record, not 130 identical cards.
   =========================================================================== */

.archive { border-top: 1px solid var(--line); }
.archive-row {
  display: grid;
  grid-template-columns: 7rem 1fr auto;
  gap: var(--s5);
  align-items: baseline;
  padding: var(--s5) 0;
  border-bottom: 1px solid var(--line);
  transition: background var(--fast) var(--ease);
}
.archive-row:hover { background: var(--paper-2); }
.archive-year {
  font-size: var(--t-sm);
  color: var(--ink-3);
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.04em;
}
.archive-title { font-family: var(--serif); font-size: 1.16rem; color: var(--ink); line-height: 1.3; }
.archive-body { font-size: var(--t-sm); color: var(--ink-2); margin-top: 4px; max-width: 62ch; }
.archive-tag {
  font-size: var(--t-eyebrow);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-3);
  font-weight: 600;
  white-space: nowrap;
}

/* Press logos / mentions — a quiet wrapped list of names. */
.press-list { display: flex; flex-wrap: wrap; gap: var(--s2); }
.press-chip {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 8px 15px;
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
  font-size: var(--t-sm);
  color: var(--ink-2);
  background: var(--white);
  transition: border-color var(--fast) var(--ease), color var(--fast) var(--ease);
}
.press-chip:hover { border-color: var(--ink); color: var(--ink); }

/* Stat strip — big numerals, hairline separated. */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.stats > div { padding: var(--s7) var(--s5); border-left: 1px solid var(--line); }
.stats > div:first-child { border-left: 0; padding-left: 0; }
.stat-num {
  font-family: var(--serif);
  font-size: clamp(1.9rem, 1.2rem + 2.2vw, 3rem);
  color: var(--ink);
  line-height: 1;
  letter-spacing: -0.02em;
}
.stat-label {
  margin-top: var(--s3);
  font-size: var(--t-eyebrow);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-3);
  font-weight: 600;
}

/* ===========================================================================
   PAGE HEADER — used by about / photos / awards / shop
   =========================================================================== */

.page-head {
  padding-block: clamp(48px, 6vw, 96px) var(--s8);
  border-bottom: 1px solid var(--line);
}
.page-head h1 { max-width: 18ch; }
.page-head .lead { margin-top: var(--s5); }
.page-head-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: var(--s7);
  align-items: end;
}

/* ===========================================================================
   SHOP — filter bar, search, grid
   =========================================================================== */

.shop-bar {
  position: sticky;
  top: var(--header-h);
  z-index: 40;
  background: color-mix(in srgb, var(--paper) 92%, transparent);
  backdrop-filter: saturate(1.4) blur(12px);
  -webkit-backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid var(--line);
  padding-block: var(--s3);
  margin-bottom: var(--s7);
}
.shop-bar-inner {
  display: flex;
  align-items: center;
  gap: var(--s5);
}

.search-field {
  position: relative;
  display: flex;
  align-items: center;
  gap: var(--s2);
  flex: none;
  width: 240px;
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
  background: var(--white);
  transition: border-color var(--fast) var(--ease);
}
.search-field:focus-within { border-color: var(--ink); }
.search-field .icon-search { color: var(--ink-3); font-size: 0.95rem; flex: none; }
.search-field input {
  flex: 1;
  min-width: 0;
  border: 0;
  background: none;
  outline: none;
  font: inherit;
  font-size: var(--t-sm);
  color: var(--ink);
}
.search-field input::placeholder { color: var(--ink-3); }
.search-field input::-webkit-search-cancel-button { display: none; }
.shop-search-clear {
  width: 20px; height: 20px;
  display: grid; place-items: center;
  border: 0; border-radius: var(--r-pill);
  background: var(--paper-3);
  color: var(--ink-2);
  cursor: pointer;
  font-size: 0.62rem;
  flex: none;
  transition: background var(--fast) var(--ease);
}
.shop-search-clear:hover { background: var(--line-2); }
.shop-search-clear[hidden] { display: none; }

.filter-bar {
  display: flex;
  gap: var(--s2);
  overflow-x: auto;
  overscroll-behavior-x: contain;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  margin-left: auto;
}
.filter-bar::-webkit-scrollbar { display: none; }
.filter-btn {
  display: inline-flex; align-items: baseline; gap: 7px;
  padding: 8px 15px;
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
  background: transparent;
  color: var(--ink-2);
  font-size: var(--t-sm);
  white-space: nowrap;
  cursor: pointer;
  transition: border-color var(--fast) var(--ease), color var(--fast) var(--ease),
              background var(--fast) var(--ease);
}
.filter-btn .n { font-size: var(--t-xs); color: var(--ink-3); font-variant-numeric: tabular-nums; }
.filter-btn:hover { border-color: var(--ink); color: var(--ink); }
.filter-btn.active { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.filter-btn.active .n { color: rgba(255,255,255,0.6); }

/* Empty state — a real one, not a bare line of text. */
.empty-state {
  text-align: center;
  padding-block: var(--s10);
  border: 1px dashed var(--line-2);
  border-radius: var(--r-sm);
}
.empty-state .icon { font-size: 1.7rem; color: var(--ink-3); margin-bottom: var(--s4); }
.empty-state h3 { margin-bottom: var(--s2); }
.empty-state p { color: var(--ink-3); font-size: var(--t-sm); }
.empty-state .btn { margin-top: var(--s5); }

/* ===========================================================================
   MOTION — one reveal, deliberately restrained.
   =========================================================================== */

.reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.66s var(--ease), transform 0.66s var(--ease);
}
.reveal.is-visible { opacity: 1; transform: none; }
.reveal-delay-1 { transition-delay: 70ms; }
.reveal-delay-2 { transition-delay: 140ms; }
.reveal-delay-3 { transition-delay: 210ms; }
.reveal-delay-4 { transition-delay: 280ms; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}
/* If scripting is off the reveal observer never runs — show everything rather
   than serving a blank page. */
@media (scripting: none) {
  .reveal { opacity: 1; transform: none; }
}

/* ===========================================================================
   RESPONSIVE
   Designed per breakpoint, not shrunk. Order: laptop → tablet → phone.
   =========================================================================== */

@media (max-width: 1080px) {
  .gallery { columns: 3; }
}

@media (max-width: 900px) {
  :root { --header-h: 60px; }

  .nav-links { gap: var(--s4); }
  .split, .split-wide { grid-template-columns: 1fr; gap: var(--s7); }
  .split-media { order: -1; max-width: 480px; }
  .split-media::before { inset: -10px -10px 10px 10px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: var(--s7); }
  .stats { grid-template-columns: 1fr 1fr; }
  .stats > div:nth-child(3), .stats > div:nth-child(4) { border-top: 1px solid var(--line); }
  .stats > div:nth-child(odd) { border-left: 0; padding-left: 0; }
  .archive-row { grid-template-columns: 5rem 1fr; }
  .archive-tag { grid-column: 2; }
}

/* ---- Phone -------------------------------------------------------------- */
@media (max-width: 720px) {
  :root {
    --gutter: 20px;
    --section: 52px;
  }

  body { font-size: 0.96rem; }

  /* Nav becomes a bottom dock: thumb-reachable, and the top bar keeps only
     identity + cart. The <ul> is reused as-is so main.js still works. */
  .nav { gap: var(--s3); }
  .nav-toggle { display: none !important; }

  .nav-links {
    position: fixed;
    left: 50%;
    bottom: calc(12px + env(safe-area-inset-bottom));
    transform: translateX(-50%);
    z-index: 95;
    width: max-content;
    max-width: calc(100vw - 24px);
    margin: 0;
    padding: 6px;
    gap: 2px;
    background: color-mix(in srgb, var(--white) 88%, transparent);
    backdrop-filter: saturate(1.6) blur(18px);
    -webkit-backdrop-filter: saturate(1.6) blur(18px);
    border: 1px solid var(--line);
    border-radius: var(--r-pill);
    box-shadow: var(--shadow);
    transition: transform var(--slow) var(--ease), opacity var(--fast) var(--ease);
  }
  .nav-links a {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3px;
    min-width: 60px;
    padding: 7px 5px 5px;
    border-radius: var(--r-pill);
    font-size: 0.6rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    color: var(--ink-3);
  }
  .nav-links a::after { display: none; }
  .nav-links a.active { color: var(--accent); }

  /* Icon above each label, drawn from the same mask system. */
  .nav-links a::before {
    content: '';
    width: 21px; height: 21px;
    background-color: currentColor;
    -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat;
    -webkit-mask-position: center;  mask-position: center;
    -webkit-mask-size: contain;     mask-size: contain;
  }
  .nav-links li:nth-child(1) a::before { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 10.5 12 3l9 7.5'/%3E%3Cpath d='M5.5 9.5V20h13V9.5'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 10.5 12 3l9 7.5'/%3E%3Cpath d='M5.5 9.5V20h13V9.5'/%3E%3C/svg%3E"); }
  .nav-links li:nth-child(2) a::before { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='8.5' r='3.8'/%3E%3Cpath d='M4.5 20c1.3-3.8 4-5.7 7.5-5.7s6.2 1.9 7.5 5.7'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='8.5' r='3.8'/%3E%3Cpath d='M4.5 20c1.3-3.8 4-5.7 7.5-5.7s6.2 1.9 7.5 5.7'/%3E%3C/svg%3E"); }
  .nav-links li:nth-child(3) a::before { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='5' width='18' height='14' rx='2'/%3E%3Ccircle cx='8.5' cy='10' r='1.6'/%3E%3Cpath d='m4 17 5-4.5 4 3.5 3-2.5 4 3.5'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='5' width='18' height='14' rx='2'/%3E%3Ccircle cx='8.5' cy='10' r='1.6'/%3E%3Cpath d='m4 17 5-4.5 4 3.5 3-2.5 4 3.5'/%3E%3C/svg%3E"); }
  .nav-links li:nth-child(4) a::before { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='9' r='5.5'/%3E%3Cpath d='m8.5 13.5-1.5 7 5-2.5 5 2.5-1.5-7'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='9' r='5.5'/%3E%3Cpath d='m8.5 13.5-1.5 7 5-2.5 5 2.5-1.5-7'/%3E%3C/svg%3E"); }
  .nav-links li:nth-child(5) a::before { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 8h12l-1 12.5a1.5 1.5 0 0 1-1.5 1.5h-8A1.5 1.5 0 0 1 6 20.5L5 8z'/%3E%3Cpath d='M9 8V6a3 3 0 0 1 6 0v2'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 8h12l-1 12.5a1.5 1.5 0 0 1-1.5 1.5h-8A1.5 1.5 0 0 1 6 20.5L5 8z'/%3E%3Cpath d='M9 8V6a3 3 0 0 1 6 0v2'/%3E%3C/svg%3E"); }

  /* main.js hides the dock on scroll-down and pins it hidden at the footer. */
  body.dock-hidden .nav-links { transform: translate(-50%, 130%); opacity: 0; }


  /* Page heads: stack, tighten, and drop the result count — it sits off-screen
     by the time anyone filters, and the shop h1 already states the total. */
  .page-head { padding-block: var(--s7) var(--s6); }
  .page-head-row { grid-template-columns: 1fr; gap: 0; }
  .page-head-row .count { display: none; }
  .shop-bar { margin-bottom: var(--s5); }





  .work-grid, .work-grid.cols-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s5) var(--s3); }
  .gallery, .gallery-3 { columns: 2; }

  .head-row { margin-bottom: var(--s6); }
  .section-head { margin-bottom: var(--s6); }

  .stats { grid-template-columns: 1fr 1fr; }
  .stats > div { padding: var(--s5) var(--s4); }

  .archive-row { grid-template-columns: 1fr; gap: var(--s1); padding: var(--s4) 0; }
  .archive-tag { grid-column: 1; }

  /* Search takes the full row; filters scroll beneath it. */
  .shop-bar-inner { flex-direction: column; align-items: stretch; gap: var(--s3); }
  .search-field { width: 100%; }
  .filter-bar { margin-left: 0; margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); }

  /* Cart: a bottom sheet with a grab handle. */
  .cart-drawer {
    top: auto; left: 0; right: 0; bottom: 0;
    width: 100%;
    max-height: 90dvh;
    border: 0;
    border-top: 1px solid var(--line);
    border-radius: 22px 22px 0 0;
    transform: translateY(100%);
  }
  .cart-drawer.open { transform: none; }
  .cart-drawer-head { position: relative; padding: var(--s6) var(--gutter) var(--s3); cursor: grab; }
  .cart-drawer-head::before {
    content: '';
    position: absolute; top: 9px; left: 50%;
    transform: translateX(-50%);
    width: 40px; height: 4px;
    border-radius: var(--r-pill);
    background: var(--line-2);
  }
  .cart-drawer-head h3 { font-size: 1.4rem; }
  .cart-drawer-list { padding: 0 var(--gutter) var(--s3); }
  .cart-item { grid-template-columns: 68px minmax(0, 1fr) auto; gap: var(--s3); }
  .cart-item-media { width: 68px; }
  .cart-undo { margin-inline: var(--gutter); }
  .cart-drawer-foot { padding: var(--s4) var(--gutter) calc(var(--s4) + env(safe-area-inset-bottom)); }
  .cart-note-field { margin-bottom: var(--s3); }
  .cart-note-field textarea { font-size: 16px; }   /* <16px makes iOS zoom the page on focus */
  .cart-send { padding: 15px 18px; font-size: var(--t-sm); }
  .cart-empty { padding-block: var(--s7) var(--s8); }

  /* On product pages the buy bar replaces the dock outright. */
  body:has(.mobile-buy-bar) .nav-links { display: none; }

  .lightbox { padding: 0; }
  .lightbox img { max-height: 82dvh; border-radius: 0; }
  .lightbox-close { top: 14px; right: 14px; }
  .lightbox-nav { display: none; }   /* swipe instead — main.js handles it */

  .footer-grid { grid-template-columns: 1fr; gap: var(--s6); }
  .site-footer { padding-block: var(--s8) var(--s5); }
  /* Clearance for the dock is reserved INSIDE the footer, never on body: body's
     background is --paper, so reserving there paints a pale strip below the dark
     footer that reads as an empty gap at the end of the page. */
  .site-footer { padding-bottom: calc(var(--s5) + env(safe-area-inset-bottom)); }
  body:has(.mobile-buy-bar) .site-footer {
    padding-bottom: calc(var(--s5) + 84px + env(safe-area-inset-bottom));
  }
  .toast { left: 12px; right: 12px; bottom: calc(88px + env(safe-area-inset-bottom)); transform: translateY(14px); max-width: none; }
  .toast.show { transform: none; }
}

/* ---- Phone polish (all pages) --------------------------------------------- */
@media (max-width: 720px) {
  /* Cards: category on one line, so titles line up across the 2-up grid. */
  .work-cat { display: block; font-size: 0.62rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .work-title { font-size: 0.98rem; }
  .work-price { font-size: var(--t-xs); }


  /* Page heads on the content pages: tighter, a touch bigger type. */
  .page-head h1 { font-size: clamp(2.1rem, 9vw, 2.6rem); }

  /* No hover on touch — captions sit permanently along the bottom edge. */
  .gallery-item .caption { opacity: 1; padding: var(--s6) var(--s3) var(--s2); font-size: 0.68rem; line-height: 1.35; }
  .gallery, .gallery-3 { column-gap: 10px; }
  .gallery-item { margin-bottom: 10px; }

  /* Archive: year and tag share the first line. */
  .archive-row { grid-template-columns: auto 1fr; column-gap: var(--s3); row-gap: 2px; }
  .archive-year { grid-row: 1; grid-column: 1; }
  .archive-tag { grid-row: 1; grid-column: 2; justify-self: end; }
  .archive-row > div:nth-child(2) { grid-column: 1 / -1; grid-row: 2; }
  .archive-title { font-size: 1.08rem; }

  .spec-row { grid-template-columns: 7rem 1fr; }

  /* Footer: Explore links as a compact two-column list. */
  .footer-links { grid-template-columns: 1fr 1fr; column-gap: var(--s5); }
}

@media (max-width: 420px) {
  .nav-links a { min-width: 52px; font-size: 0.55rem; }
  .nav-links a::before { width: 19px; height: 19px; }
  .work-grid, .work-grid.cols-3 { gap: var(--s4) var(--s2); }
}

/* ===========================================================================
   NAV PILL + PAGE TRANSITIONS + SHOP + PRODUCT  (Oct 2026 redesign)
   Kept last on purpose: it overrides earlier base rules. Anything that would
   fight the phone dock is scoped to min-width: 721px.
   =========================================================================== */

/* ---- Nav pill (js/nav.js injects li.nav-pill behind the active tab) -------- */
/* The pill is positioned against .nav-links. On phones the dock is already
   position:fixed; only desktop needs relative. NEVER set position on it
   unscoped — it silently un-fixes the dock (see gotcha 14). */
@media (min-width: 721px) { .nav-links { position: relative; } }
.nav-links li { position: relative; z-index: 1; }
.nav-links li.nav-pill {
  position: absolute;
  left: 0; top: 0;
  z-index: 0;
  list-style: none;
  pointer-events: none;
  border-radius: var(--r-pill);
  /* translucent on purpose: during a page transition the pill is drawn above
     the tab labels for a moment, so an opaque fill would hide the text */
  background: color-mix(in srgb, var(--ink) 8%, transparent);
  view-transition-name: nav-pill;
}
.nav-links.pill-ready li.nav-pill {
  transition: transform 520ms var(--ease), width 520ms var(--ease), height 520ms var(--ease), opacity var(--fast);
}

@media (min-width: 721px) {
  .nav { display: grid; grid-template-columns: 1fr auto 1fr; gap: var(--s5); }
  .logo { justify-self: start; }
  .nav-right { justify-self: end; margin-left: 0; }
  .nav-links {
    margin: 0;
    gap: 2px;
    padding: 4px;
    border: 1px solid var(--line);
    border-radius: var(--r-pill);
    background: color-mix(in srgb, var(--white) 70%, transparent);
  }
  .nav-links a { display: block; padding: 7px 16px; border-radius: var(--r-pill); }
  .nav-links a::after { display: none; }
  .nav-links a:hover { color: var(--ink); background: color-mix(in srgb, var(--ink) 4%, transparent); }
  .nav-links a.active { color: var(--ink); }
}
@media (min-width: 721px) and (max-width: 900px) {
  .nav-links a { padding: 7px 11px; }
}
@media (max-width: 720px) {
  .nav-links li.nav-pill { background: color-mix(in srgb, var(--accent) 13%, transparent); }
  .nav-links a { transition: color 200ms var(--ease); }
  .nav-links a::before { transition: transform 200ms var(--ease); }
}
/* Instant press feedback on a tab; the pill itself moves with the page change. */
.nav-links a.is-pressed { color: var(--accent); }
.nav-links a.is-pressed::before { transform: scale(0.88); }

/* iOS paints a grey box on every tapped link/button by default. */
a, button, label { -webkit-tap-highlight-color: transparent; }

/* ---- Page transitions ---------------------------------------------------------
   js/nav.js puts one class on the incoming page's <html>:
     vt-tab-fwd / vt-tab-back  dock or nav tab — content slides in from that side
     vt-piece                  product image morphs into the product photo
     vt-link                   any other link — quick fade-up
     vt-plain                  back/forward/typed — plain cross-fade
   Opacity + transform only, so everything stays on the compositor. */
@view-transition { navigation: auto; }

.logo      { view-transition-name: logo; }
.nav-right { view-transition-name: nav-right; }
.nav-links { view-transition-name: nav-links; }
.mobile-buy-bar { view-transition-name: buy-bar; }

:root { --vt-ease-out: cubic-bezier(0.22, 1, 0.36, 1); --vt-ease-in: cubic-bezier(0.4, 0, 1, 1); }

::view-transition-old(root),
::view-transition-new(root) { mix-blend-mode: normal; }

/* Chrome that exists on both pages does not cross-fade: show the new one at
   once. Cross-fading two near-identical snapshots flashed the tab colours. */
::view-transition-old(logo), ::view-transition-old(nav-right), ::view-transition-old(nav-links),
::view-transition-old(nav-pill) { display: none; }
::view-transition-new(logo), ::view-transition-new(nav-right), ::view-transition-new(nav-links),
::view-transition-new(nav-pill) { animation: none; }
::view-transition-group(logo), ::view-transition-group(nav-right), ::view-transition-group(nav-links) { animation: none; }
/* …except the pill, which glides from the old tab to the new one. */
::view-transition-group(nav-pill) { animation-duration: 460ms; animation-timing-function: cubic-bezier(0.32, 0.72, 0, 1); }

/* Default — and back/forward. */
/* "Fade-through": the old page is almost gone before the new one shows, so
   the two never sit half-transparent on top of each other (double text). */
::view-transition-old(root) { animation: vt-fade-out 140ms var(--vt-ease-in) both; }
::view-transition-new(root) { animation: vt-fade-in 300ms var(--vt-ease-out) 100ms both; }

html.vt-link::view-transition-new(root) { animation: vt-rise 380ms var(--vt-ease-out) 100ms both; }

html.vt-tab-fwd::view-transition-old(root)  { animation: vt-out-left  150ms var(--vt-ease-in) both; }
html.vt-tab-fwd::view-transition-new(root)  { animation: vt-in-right  380ms var(--vt-ease-out) 110ms both; }
html.vt-tab-back::view-transition-old(root) { animation: vt-out-right 150ms var(--vt-ease-in) both; }
html.vt-tab-back::view-transition-new(root) { animation: vt-in-left   380ms var(--vt-ease-out) 110ms both; }

html.vt-piece::view-transition-old(root) { animation: vt-fade-out 200ms var(--vt-ease-in) both; }
html.vt-piece::view-transition-new(root) { animation: vt-fade-in 320ms var(--vt-ease-out) 160ms both; }
::view-transition-group(piece) { animation-duration: 520ms; animation-timing-function: cubic-bezier(0.32, 0.72, 0, 1); z-index: 5; }
::view-transition-old(piece),
::view-transition-new(piece) { height: 100%; object-fit: cover; animation-duration: 520ms; mix-blend-mode: normal; }

::view-transition-group(buy-bar) { animation-duration: 360ms; }
::view-transition-new(buy-bar):only-child { animation: vt-bar-up 420ms var(--vt-ease-out) 120ms both; }
::view-transition-old(buy-bar):only-child { animation: vt-fade-out 160ms var(--vt-ease-in) both; }

@keyframes vt-fade-out  { to   { opacity: 0; } }
@keyframes vt-fade-in   { from { opacity: 0; } }
@keyframes vt-rise      { from { opacity: 0; transform: translate3d(0, 16px, 0); } }
@keyframes vt-out-left  { to   { opacity: 0; transform: translate3d(-16px, 0, 0); } }
@keyframes vt-out-right { to   { opacity: 0; transform: translate3d(16px, 0, 0); } }
@keyframes vt-in-right  { from { opacity: 0; transform: translate3d(32px, 0, 0); } }
@keyframes vt-in-left   { from { opacity: 0; transform: translate3d(-32px, 0, 0); } }
@keyframes vt-bar-up    { from { transform: translate3d(0, 100%, 0); } }

/* Browsers without cross-document transitions (and every first page load):
   fade the page content up instead. Skipped while a view transition runs. */
@media (prefers-reduced-motion: no-preference) {
  html:not(.vt-active) main { animation: page-in 480ms var(--ease) backwards; }
}
@keyframes page-in { from { opacity: 0; transform: translate3d(0, 14px, 0); } }

/* ---- Shop head --------------------------------------------------------------- */
.shop-head {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: end;
  gap: var(--s6);
  padding-block: clamp(36px, 5vw, 84px) var(--s6);
}
.shop-head h1 { font-size: clamp(2.3rem, 1.4rem + 3.6vw, 4.4rem); letter-spacing: -0.03em; line-height: 1.02; max-width: 14ch; }
.shop-head h1 em { font-style: italic; font-weight: 500; color: var(--accent); }
.how { list-style: none; margin: 0; padding: 0; display: flex; gap: var(--s5); }
@media (min-width: 901px) {
  .shop-head h1 { max-width: 18ch; }
  .how { flex-direction: column; gap: 10px; padding: var(--s4) var(--s5); border-left: 1px solid var(--line); margin-bottom: 6px; }
}
.how li { display: flex; align-items: center; gap: 8px; font-size: var(--t-sm); color: var(--ink-2); white-space: nowrap; }
.how li > span:first-child {
  width: 24px; height: 24px; flex: none;
  display: grid; place-items: center;
  border-radius: 50%;
  border: 1px solid var(--line-2);
  font-size: 0.7rem; font-weight: 700; color: var(--accent);
}
.how .icon { color: var(--accent); }

/* ---- Shop bar: search + count on one row, chips beneath ----------------------- */
.shop-bar { padding-block: 10px; margin-bottom: var(--s6); }
.shop-bar-inner { flex-direction: column; align-items: stretch; gap: 10px; }
.shop-bar-top { display: flex; align-items: center; gap: var(--s4); }
.shop-bar-top .search-field { flex: 1; max-width: 440px; width: auto; padding: 10px 14px; }
.shop-bar-top .count { margin-left: auto; font-size: var(--t-sm); color: var(--ink-3); font-variant-numeric: tabular-nums; white-space: nowrap; }
.filter-bar { margin-left: 0; padding-block: 2px; }
.filter-btn {
  align-items: center;
  gap: 8px;
  padding: 4px 14px 4px 4px;
  background: var(--white);
  transition: border-color var(--fast) var(--ease), color var(--fast) var(--ease),
              background var(--fast) var(--ease), transform var(--fast) var(--ease);
}
.filter-btn:active { transform: scale(0.96); }
.chip-thumb {
  width: 30px; height: 30px; flex: none;
  border-radius: 50%;
  overflow: hidden;
  background: var(--paper-3);
  display: grid; place-items: center;
}
.chip-thumb img { width: 100%; height: 100%; object-fit: cover; }
.chip-all { color: var(--accent); font-size: 0.85rem; }
.filter-btn.active .chip-thumb { box-shadow: 0 0 0 2px var(--paper); }
.filter-btn.active .chip-all { background: rgba(255,255,255,0.14); color: #fff; }

/* ---- Cards ----------------------------------------------------------------------- */
.work { position: relative; }
.work-link { display: flex; flex-direction: column; }
.work-media { aspect-ratio: 4 / 5; }
.work-badge {
  position: absolute; top: 10px; left: 10px; z-index: 1;
  padding: 4px 9px;
  border-radius: var(--r-pill);
  background: var(--paper);
  color: var(--accent);
  font-size: 0.6rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase;
  box-shadow: 0 4px 12px -6px rgba(26,22,20,0.35);
}
.work-add {
  position: absolute; top: 8px; right: 8px; z-index: 2;
  width: 38px; height: 38px;
  display: grid; place-items: center;
  border: 0; border-radius: 50%;
  background: color-mix(in srgb, var(--white) 90%, transparent);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  color: var(--ink);
  font-size: 0.95rem;
  cursor: pointer;
  box-shadow: 0 6px 16px -8px rgba(26,22,20,0.45);
  transition: transform 220ms var(--ease), background var(--fast) var(--ease), color var(--fast) var(--ease), opacity var(--fast);
}
.work-add .icon-check { display: none; }
.work-add:hover { background: var(--ink); color: var(--paper); }
.work-add:active { transform: scale(0.88); }
.work-add.is-added { background: var(--accent); color: #fff; }
.work-add.is-added .icon-plus { display: none; }
.work-add.is-added .icon-check { display: block; }
@media (hover: hover) and (min-width: 721px) {
  .work-add { opacity: 0; transform: translateY(-4px); }
  .work:hover .work-add, .work-add:focus-visible, .work-add.is-added { opacity: 1; transform: none; }
}

/* ---- Product page ------------------------------------------------------------------ */
.pdp .crumb {
  display: flex; align-items: center; gap: 7px;
  padding-top: var(--s6);
  margin-bottom: var(--s5);
  font-size: var(--t-xs);
  color: var(--ink-3);
}
.pdp .crumb .icon { font-size: 0.8em; }
.pdp .crumb a:hover { color: var(--accent); }

.product {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(0, 0.88fr);
  gap: clamp(28px, 5vw, 88px);
  align-items: start;
  padding-bottom: var(--s9);
}
.product-media { position: sticky; top: calc(var(--header-h) + var(--s4)); }
/* The artwork sits uncropped on a mat, like a print in a gallery. */
.product-mat {
  position: relative;
  aspect-ratio: 1;
  border-radius: 4px;
  background: var(--paper-3) radial-gradient(circle at 50% 38%, rgba(255,255,255,0.6), transparent 70%);
  overflow: hidden;
}
.product-mat img {
  position: absolute;
  inset: 0;
  margin: auto;
  width: auto; height: auto;
  max-width: calc(100% - 2 * clamp(20px, 7%, 64px));
  max-height: calc(100% - 2 * clamp(20px, 7%, 64px));
  object-fit: contain;
  border-radius: 2px;
  box-shadow: 0 28px 50px -26px rgba(26,22,20,0.55), 0 2px 6px rgba(26,22,20,0.12);
  cursor: zoom-in;
}
.product-mat .pending { position: absolute; inset: 0; display: grid; place-items: center; font-size: var(--t-xs); color: var(--ink-3); }
.zoom-hint { display: inline-flex; align-items: center; gap: 6px; margin-top: var(--s3); font-size: var(--t-xs); color: var(--ink-3); }

.product-rail { padding-top: var(--s2); }
.product-rail .eyebrow { margin-bottom: var(--s3); }
.product-rail h1 { font-size: clamp(2rem, 1.3rem + 2.4vw, 3.3rem); line-height: 1.04; letter-spacing: -0.025em; }
.product-price {
  margin-top: var(--s4);
  font-family: var(--serif);
  font-size: 1.75rem;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}
.product-price.is-enquire {
  display: inline-block;
  padding: 6px 14px;
  font-family: var(--sans); font-size: var(--t-sm); font-weight: 600; letter-spacing: 0.02em;
  color: var(--accent-2);
  background: color-mix(in srgb, var(--accent) 8%, transparent);
  border: 0;
  border-radius: var(--r-pill);
}
.product-desc { margin-top: var(--s5); color: var(--ink-2); max-width: 52ch; font-size: 1.02rem; line-height: 1.7; }

.product-actions { display: grid; gap: 10px; margin-top: var(--s7); }
.btn-ask { --btn-bg: var(--ink); --btn-fg: var(--paper); --btn-bd: var(--ink); padding: 17px 24px; font-size: 0.95rem; }
.btn-ask:hover { --btn-bg: var(--accent); --btn-bd: var(--accent); --btn-fg: #fff; }
.btn-add { padding: 15px 24px; }
.btn-add .icon-check, .btn-add .added-label { display: none; }
.btn-add.is-added {
  --btn-bg: color-mix(in srgb, var(--accent) 9%, transparent);
  --btn-bd: color-mix(in srgb, var(--accent) 35%, transparent);
  --btn-fg: var(--accent-2);
}
.btn-add.is-added .icon-bag, .btn-add.is-added .add-label { display: none; }
.btn-add.is-added .icon-check, .btn-add.is-added .added-label { display: inline-block; }
.actions-note { margin-top: var(--s3); font-size: var(--t-xs); color: var(--ink-3); text-align: center; }

.spec { margin-top: var(--s7); border-top: 1px solid var(--line); }
.spec-row { display: grid; grid-template-columns: 8rem 1fr; gap: var(--s4); padding: var(--s3) 0; border-bottom: 1px solid var(--line); font-size: var(--t-sm); }
.spec-row dt { color: var(--ink-3); }
.spec-row dd { margin: 0; color: var(--ink); }
.variant-list { display: flex; flex-wrap: wrap; gap: var(--s2); margin-top: var(--s4); }
.variant { padding: 8px 15px; border: 1px solid var(--line); border-radius: var(--r-pill); font-size: var(--t-xs); color: var(--ink-2); background: var(--white); cursor: pointer; }
.variant.active { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.assurances { margin-top: var(--s6); display: grid; gap: var(--s3); }
.assurance { display: flex; align-items: flex-start; gap: var(--s3); font-size: var(--t-sm); color: var(--ink-2); }
.assurance .icon { color: var(--accent); margin-top: 3px; flex: none; }

.mobile-buy-bar { display: none; }
@media (min-width: 721px) {
  .related-grid .work:nth-child(n+5) { display: none; }
}

/* ---- Phone: shop + product --------------------------------------------------------- */
@media (max-width: 900px) {
  .product { grid-template-columns: 1fr; }
  .product-media { position: static; }
  .shop-head { grid-template-columns: 1fr; gap: var(--s5); }
}
@media (max-width: 720px) {
  .shop-head { padding-block: var(--s6) var(--s4); gap: var(--s4); }
  .shop-head h1 { font-size: clamp(2.2rem, 10vw, 2.8rem); }
  .how {
    gap: var(--s4);
    overflow-x: auto; scrollbar-width: none;
    margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter);
  }
  .how::-webkit-scrollbar { display: none; }
  .how li { font-size: var(--t-xs); }
  .shop-bar { margin-bottom: var(--s5); }
  .shop-bar-top .search-field { max-width: none; padding: 9px 13px; }
  .shop-bar-top .count { font-size: var(--t-xs); }
  .chip-thumb { width: 28px; height: 28px; }

  .pdp .crumb { display: none; }
  .product { gap: var(--s5); padding-bottom: var(--s7); padding-top: 0; }
  .product-media { margin-inline: calc(var(--gutter) * -1); }
  .product-mat { aspect-ratio: auto; height: min(112vw, 64vh); border-radius: 0; }
  .zoom-hint { margin-left: var(--gutter); }
  .product-rail h1 { font-size: clamp(1.9rem, 8.4vw, 2.4rem); }
  .product-actions, .actions-note { display: none; }   /* the buy bar takes over */
  .spec-row { grid-template-columns: 6.5rem 1fr; }

  /* Related pieces: a swipe row instead of a 2x4 wall. */
  .related-grid {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    gap: 12px;
    margin-inline: calc(var(--gutter) * -1);
    padding-inline: var(--gutter);
    scroll-padding-inline: var(--gutter);
  }
  .related-grid::-webkit-scrollbar { display: none; }
  .related-grid .work { flex: none; width: 46vw; scroll-snap-align: start; }

  /* Buy bar: docked to the bottom edge, part of the page — not a floating pill. */
  .mobile-buy-bar {
    position: fixed;
    left: 0; right: 0; bottom: 0;
    z-index: 80;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto auto;
    align-items: center;
    gap: 10px;
    padding: 10px var(--gutter) calc(10px + env(safe-area-inset-bottom));
    background: color-mix(in srgb, var(--paper) 94%, transparent);
    backdrop-filter: saturate(1.5) blur(18px);
    -webkit-backdrop-filter: saturate(1.5) blur(18px);
    border-top: 1px solid var(--line);
    box-shadow: 0 -14px 30px -22px rgba(26,22,20,0.35);
  }
  .buy-info { display: grid; min-width: 0; line-height: 1.25; }
  .buy-name { font-family: var(--serif); font-size: 0.98rem; color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .buy-price { font-size: var(--t-xs); color: var(--ink-3); font-variant-numeric: tabular-nums; }
  .buy-add, .buy-ask { height: 48px; border-radius: var(--r-pill); cursor: pointer; transition: transform 200ms var(--ease), background var(--fast), color var(--fast), border-color var(--fast); }
  .buy-add:active, .buy-ask:active { transform: scale(0.95); }
  .buy-add {
    width: 48px;
    display: grid; place-items: center;
    border: 1px solid var(--line-2);
    background: var(--white);
    color: var(--ink);
    font-size: 1.1rem;
  }
  .buy-add .icon-check { display: none; }
  .buy-add.is-added { background: color-mix(in srgb, var(--accent) 10%, var(--white)); border-color: color-mix(in srgb, var(--accent) 40%, transparent); color: var(--accent); }
  .buy-add.is-added .icon-bag { display: none; }
  .buy-add.is-added .icon-check { display: block; }
  .buy-ask {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 0 22px;
    background: var(--ink);
    color: var(--paper);
    font-size: var(--t-sm); font-weight: 600;
    white-space: nowrap;
  }
  body:has(.mobile-buy-bar) .site-footer { padding-bottom: calc(var(--s5) + 76px + env(safe-area-inset-bottom)); }
  body:has(.mobile-buy-bar) .toast { bottom: calc(82px + env(safe-area-inset-bottom)); }
}
@media (max-width: 360px) {
  .buy-ask { padding: 0 16px; }
}

/* ---- Sold pieces (set from the admin panel) ------------------------------------ */
.work-badge.is-sold { background: var(--ink); color: var(--paper); }
.work.is-sold .work-media img { filter: saturate(0.55); opacity: 0.82; }
.work.is-sold .work-price { color: var(--ink-3); font-weight: 600; letter-spacing: 0.04em; }
.product-price.is-sold {
  display: inline-block;
  padding: 6px 14px;
  font-family: var(--sans); font-size: var(--t-sm); font-weight: 600; letter-spacing: 0.04em;
  color: var(--paper); background: var(--ink);
  border-radius: var(--r-pill);
}
@media (max-width: 720px) {
  .mobile-buy-bar.is-sold { grid-template-columns: minmax(0, 1fr) auto; }
}
