/* &-images — design tokens */
:root {
  --ink: #111113;
  --ink-2: #1a1a1e;
  --ink-3: #26262b;
  --paper: #f3efe7;
  --paper-dim: #c9c4ba;
  --muted: #9a958c;
  --gold: #c9a55c;
  --gold-hi: #e3c98f;
  --line: rgba(243, 239, 231, 0.14);
  --line-strong: rgba(243, 239, 231, 0.32);
  --stage: var(--ink);
  --font-display: "Cormorant Garamond", "Times New Roman", serif;
  --font-ui: "Archivo", system-ui, sans-serif;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --header-h: 72px;
  --tabbar-h: 0px;
  --gutter: clamp(16px, 4vw, 40px);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--stage);
  color: var(--paper);
  font: 400 16px/1.55 var(--font-ui);
  transition: background-color 0.6s var(--ease);
  min-height: 100vh;
}
img { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; color: inherit; cursor: pointer; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 100; background: var(--gold); color: var(--ink); padding: 8px 12px; }
.skip:focus { left: 8px; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 40;
  height: var(--header-h);
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center;
  padding: 0 var(--gutter);
  background: linear-gradient(to bottom, rgba(10, 10, 12, 0.55), transparent);
}
.brand { text-decoration: none; justify-self: start; display: flex; }
.brand-mark svg { height: 34px; width: auto; }
.tagline {
  margin: 0; font-size: 11px; letter-spacing: 0.28em; text-transform: uppercase; color: var(--paper-dim);
}
.top-nav { justify-self: end; display: flex; align-items: center; gap: clamp(14px, 2vw, 28px); }
.top-nav a {
  text-decoration: none; font-size: 13px; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase;
  padding: 10px 0; border-bottom: 1px solid transparent; transition: border-color 0.2s;
}
.top-nav a:hover, .top-nav a[aria-current="page"] { border-color: var(--gold); }
.cart-btn {
  position: relative; background: none; border: 0; width: 44px; height: 44px; display: grid; place-items: center;
}
.cart-btn svg, .tabbar svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.5; }
.cart-count {
  position: absolute; top: 4px; right: 2px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px;
  background: var(--gold); color: var(--ink); font-size: 11px; font-weight: 600; line-height: 18px; text-align: center;
}
.cart-count[data-zero] { display: none; }

/* ---------- Mobile tab bar ---------- */
.tabbar { display: none; }
@media (max-width: 760px) {
  :root { --header-h: 60px; --tabbar-h: calc(64px + env(safe-area-inset-bottom)); }
  .tagline, .top-nav { display: none; }
  .site-header { grid-template-columns: 1fr; }
  .tabbar {
    display: grid; grid-template-columns: repeat(5, 1fr);
    position: fixed; inset: auto 0 0 0; z-index: 40; height: var(--tabbar-h);
    padding-bottom: env(safe-area-inset-bottom);
    background: rgba(17, 17, 19, 0.94); backdrop-filter: blur(12px); border-top: 1px solid var(--line);
  }
  .tabbar a, .tabbar button {
    background: none; border: 0; text-decoration: none; display: flex; flex-direction: column; align-items: center; justify-content: center;
    gap: 3px; font-size: 11px; color: var(--muted); min-height: 44px;
  }
  .tabbar [aria-current="page"] { color: var(--gold); }
  .tabbar b { font-weight: 600; color: var(--gold); }
}

main { min-height: 100vh; padding-bottom: var(--tabbar-h); }
main:focus { outline: none; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 44px; padding: 0 22px; border-radius: 999px;
  border: 1px solid var(--line-strong); background: rgba(243, 239, 231, 0.06);
  font-size: 13px; font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase; text-decoration: none;
  transition: background-color 0.2s, border-color 0.2s, color 0.2s;
}
.btn:hover { border-color: var(--gold); }
.btn-gold { background: var(--gold); border-color: var(--gold); color: var(--ink); }
.btn-gold:hover { background: var(--gold-hi); }
.btn-round { width: 44px; padding: 0; }
.btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.6; }
.eyebrow { font-size: 11px; letter-spacing: 0.28em; text-transform: uppercase; color: var(--gold); margin: 0 0 14px; }
.display { font-family: var(--font-display); font-weight: 400; line-height: 1.02; margin: 0; }

/* ---------- Home: strips ---------- */
.hero {
  position: relative; height: 100vh; height: 100svh; min-height: 560px;
  display: grid; place-items: center; overflow: hidden;
  background:
    radial-gradient(40vw 40vw at 22% 52%, rgba(201, 165, 92, 0.16), transparent 70%),
    radial-gradient(60vw 60vw at 80% 20%, rgba(255, 255, 255, 0.04), transparent 70%),
    var(--ink);
}
.strips { display: flex; gap: clamp(10px, 1.6vw, 24px); align-items: center; height: min(52vh, 440px); }
.strip {
  position: relative; height: 100%; width: clamp(54px, 9vw, 140px);
  padding: 0; border: 0; background: none; overflow: hidden;
  transition: width 0.7s var(--ease), transform 0.7s var(--ease);
}
.strip:nth-child(odd) { transform: translateY(10px) rotate(-0.6deg); }
.strip:nth-child(even) { transform: translateY(-8px) rotate(0.5deg); }
.strip img {
  width: 100%; height: 100%; object-fit: cover;
  filter: grayscale(1) contrast(1.05) brightness(0.92);
  transition: filter 0.7s var(--ease), transform 1.2s var(--ease);
}
.strip-label {
  position: absolute; left: 0; right: 0; bottom: 12px; text-align: center;
  font-family: var(--font-display); font-size: 22px; font-style: italic; color: var(--paper);
  opacity: 0; transform: translateY(8px); transition: opacity 0.4s, transform 0.4s var(--ease);
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.6);
}
.strip:hover, .strip:focus-visible { width: clamp(160px, 26vw, 380px); transform: none; }
.strip:hover img, .strip:focus-visible img { filter: none; transform: scale(1.04); }
.strip:hover .strip-label, .strip:focus-visible .strip-label { opacity: 1; transform: none; }
.hero-foot {
  position: absolute; left: var(--gutter); right: var(--gutter); bottom: calc(28px + var(--tabbar-h));
  display: flex; justify-content: space-between; align-items: end; gap: 16px; color: var(--paper-dim);
}
.hero-foot p { margin: 0; font-size: 13px; letter-spacing: 0.06em; }
.hero-foot .hint { font-size: 11px; letter-spacing: 0.28em; text-transform: uppercase; }

@media (max-width: 760px) {
  .strips { height: 46vh; gap: 8px; }
  .strip { width: 15vw; }
  .strip:hover, .strip:focus-visible { width: 15vw; }
  .hero-foot { flex-direction: column; align-items: center; text-align: center; }
}

/* ---------- Home: sections ---------- */
.section { padding: clamp(64px, 10vw, 128px) var(--gutter); max-width: 1320px; margin: 0 auto; }
.intro { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
.intro h2 { font-size: clamp(40px, 6vw, 76px); }
.intro h2 em { color: var(--gold); }
.intro p { color: var(--paper-dim); font-size: 17px; max-width: 52ch; }
.intro-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 28px; }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 16px; margin-bottom: 32px; }
.section-head h2 { font-size: clamp(34px, 4.5vw, 56px); }
.link-arrow { font-size: 13px; letter-spacing: 0.12em; text-transform: uppercase; text-decoration: none; color: var(--gold); white-space: nowrap; }
.link-arrow:hover { text-decoration: underline; text-underline-offset: 4px; }

.band {
  display: grid; grid-template-columns: 1fr 1fr; min-height: 520px; background: var(--ink-2);
}
.band img { width: 100%; height: 100%; object-fit: cover; }
.band-copy { padding: clamp(40px, 7vw, 96px); align-self: center; }
.band-copy h2 { font-size: clamp(36px, 4.5vw, 60px); margin-bottom: 18px; }
.band-copy p { color: var(--paper-dim); max-width: 46ch; }
.band-copy ul { list-style: none; padding: 0; margin: 24px 0 32px; display: grid; gap: 10px; }
.band-copy li { padding-left: 22px; position: relative; color: var(--paper); }
.band-copy li::before { content: ""; position: absolute; left: 0; top: 0.7em; width: 10px; height: 1px; background: var(--gold); }

.visit { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.visit > div { background: var(--ink); padding: 32px; }
.visit h3 { font-family: var(--font-display); font-weight: 500; font-size: 26px; margin: 0 0 8px; }
.visit p { margin: 0; color: var(--paper-dim); }

@media (max-width: 860px) {
  .intro, .band { grid-template-columns: 1fr; }
  .band img { height: 56vw; }
  .visit { grid-template-columns: 1fr; }
}

/* ---------- Product cards ---------- */
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: clamp(20px, 3vw, 40px) clamp(16px, 2vw, 28px); }
.card { text-decoration: none; display: block; }
.card-frame { background: var(--ink-2); aspect-ratio: 4 / 5; display: grid; place-items: center; padding: 14%; transition: background-color 0.3s; }
.card-frame img { box-shadow: 0 12px 30px rgba(0, 0, 0, 0.45); border: 6px solid #f6f3ec; max-height: 100%; object-fit: contain; transition: transform 0.5s var(--ease); }
.card:hover .card-frame img { transform: translateY(-4px); }
.card h3 { font-family: var(--font-display); font-size: 22px; font-weight: 500; margin: 14px 0 2px; }
.card p { margin: 0; font-size: 13px; color: var(--muted); }

/* ---------- Collections index ---------- */
.page-top { padding-top: calc(var(--header-h) + clamp(32px, 6vw, 72px)); }
.page-title { font-size: clamp(48px, 8vw, 104px); }
.page-lede { color: var(--paper-dim); max-width: 56ch; font-size: 17px; margin: 18px 0 0; }
.tabs { display: flex; gap: 8px; margin: 36px 0 28px; flex-wrap: wrap; }
.tabs button {
  min-height: 40px; padding: 0 18px; border-radius: 999px; border: 1px solid var(--line-strong); background: none;
  font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase;
}
.tabs button[aria-pressed="true"] { background: var(--gold); border-color: var(--gold); color: var(--ink); }
.coll-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 20px; }
.coll-card { position: relative; text-decoration: none; aspect-ratio: 4 / 3; overflow: hidden; display: block; background: var(--ink-2); }
.coll-card img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.coll-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(0, 0, 0, 0.7), transparent 55%); }
.coll-card:hover img { transform: scale(1.05); }
.coll-card .meta { position: absolute; left: 20px; bottom: 16px; right: 20px; z-index: 1; display: flex; justify-content: space-between; align-items: end; }
.coll-card h3 { font-family: var(--font-display); font-weight: 500; font-size: 32px; margin: 0; line-height: 1; }
.coll-card span { font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--paper-dim); }
.coll-card.all { grid-column: span 2; aspect-ratio: auto; min-height: 260px; }
.coll-card.all .mosaic { position: absolute; inset: 0; display: grid; grid-template-columns: repeat(6, 1fr); gap: 2px; }
.coll-card.all .mosaic img { height: 100%; }
@media (max-width: 640px) { .coll-card.all { grid-column: auto; min-height: 220px; } .coll-card.all .mosaic { grid-template-columns: repeat(3, 1fr); } }

/* ---------- Spotlight (collection picker) ---------- */
.spotlight {
  position: fixed; inset: 0; z-index: 60; display: grid; grid-template-rows: 1fr auto; place-items: center;
  background: var(--stage); padding: calc(var(--header-h) + 8px) var(--gutter) calc(32px + var(--tabbar-h));
  animation: fade 0.35s var(--ease);
}
.spotlight[hidden] { display: none; }
.spot-stage { position: relative; width: min(820px, 100%); display: grid; place-items: center; }
.spot-frame { position: relative; width: 100%; padding: 22px; }
.spot-frame .corner { position: absolute; width: 34px; height: 34px; border-color: var(--gold-hi); border-style: solid; border-width: 0; }
.corner.tl { top: 0; left: 0; border-top-width: 2px; border-left-width: 2px; }
.corner.tr { top: 0; right: 0; border-top-width: 2px; border-right-width: 2px; }
.corner.bl { bottom: 0; left: 0; border-bottom-width: 2px; border-left-width: 2px; }
.corner.br { bottom: 0; right: 0; border-bottom-width: 2px; border-right-width: 2px; }
.spot-img { position: relative; aspect-ratio: 3 / 2; overflow: hidden; }
.spot-img img { width: 100%; height: 100%; object-fit: cover; animation: settle 0.8s var(--ease); }
.spot-title {
  position: absolute; inset: 0; display: grid; place-items: center; margin: 0; text-align: center;
  font-family: var(--font-display); font-weight: 500; font-size: clamp(56px, 12vw, 150px); line-height: 0.9;
  color: var(--gold-hi); text-transform: uppercase; letter-spacing: 0.02em; text-shadow: 0 4px 40px rgba(0, 0, 0, 0.45);
  pointer-events: none;
}
.spot-sub { text-align: center; color: var(--paper-dim); margin: 14px 0 0; font-size: 14px; }
.spot-peek { position: absolute; top: 12%; bottom: 12%; width: 18vw; max-width: 240px; overflow: hidden; opacity: 0.55; border: 0; padding: 0; background: none; }
.spot-peek img { width: 100%; height: 100%; object-fit: cover; }
.spot-peek.next { left: calc(100% + 4vw); }
.spot-peek.prev { right: calc(100% + 4vw); }
.spot-controls { display: flex; gap: 12px; align-items: center; }
.spot-count { font-size: 12px; letter-spacing: 0.2em; color: var(--muted); min-width: 64px; text-align: center; }

@keyframes fade { from { opacity: 0; } }
@keyframes settle { from { transform: scale(1.06); opacity: 0.4; } }

/* ---------- Collection view (floating grid) ---------- */
.coll-view { padding: calc(var(--header-h) + 24px) var(--gutter) 160px; }
.float-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: clamp(28px, 5vw, 72px) clamp(16px, 2.4vw, 36px); align-items: start; }
.float-item { text-decoration: none; position: relative; display: block; }
.float-item img { width: 100%; height: auto; box-shadow: 0 18px 50px rgba(0, 0, 0, 0.35); transition: transform 0.5s var(--ease); }
.float-item:hover img { transform: translateY(-6px); }
.float-item figcaption {
  position: absolute; left: 0; top: calc(100% + 8px); font-size: 12px; color: var(--paper-dim); letter-spacing: 0.04em;
  opacity: 0; transition: opacity 0.3s;
}
.float-item:hover figcaption, .float-item:focus-visible figcaption { opacity: 1; }
.coll-label {
  position: fixed; left: var(--gutter); bottom: calc(24px + var(--tabbar-h)); z-index: 30; pointer-events: none;
}
.coll-label h1 { font-family: var(--font-display); font-weight: 500; font-size: clamp(44px, 6vw, 80px); line-height: 0.95; color: var(--gold-hi); margin: 0; }
.coll-label p { margin: 6px 0 0; font-size: 14px; color: var(--paper-dim); }
.view-controls {
  position: fixed; right: var(--gutter); bottom: calc(28px + var(--tabbar-h)); z-index: 30; display: flex; gap: 10px; align-items: center;
}
.toggle { display: flex; border-radius: 999px; background: rgba(0, 0, 0, 0.3); border: 1px solid var(--line-strong); padding: 3px; }
.toggle a { min-height: 38px; min-width: 76px; display: grid; place-items: center; border-radius: 999px; text-decoration: none; font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; }
.toggle a[aria-current="true"] { background: var(--gold); color: var(--ink); }
@media (max-width: 760px) {
  .float-grid { grid-template-columns: repeat(6, 1fr); }
  .coll-label { position: static; margin: 48px 0 0; }
  .coll-view { padding-bottom: 120px; }
}

/* ---------- Single view ---------- */
.single { height: 100vh; height: 100svh; display: grid; grid-template-rows: 1fr auto; padding: calc(var(--header-h) + 8px) var(--gutter) calc(96px + var(--tabbar-h)); }
.single-stage { position: relative; display: grid; place-items: center; min-height: 0; }
.single-stage img { max-height: 100%; max-width: 100%; width: auto; object-fit: contain; box-shadow: 0 24px 70px rgba(0, 0, 0, 0.5); animation: settle 0.6s var(--ease); }
.single-nav { position: absolute; top: 50%; transform: translateY(-50%); }
.single-nav.prev { left: 0; }
.single-nav.next { right: 0; }
.single-bar { display: flex; justify-content: center; align-items: center; gap: 18px; padding-top: 18px; flex-wrap: wrap; text-align: center; }
.single-bar h2 { font-family: var(--font-display); font-weight: 500; font-size: 28px; margin: 0; }
.single-bar span { color: var(--muted); font-size: 13px; }
@media (max-width: 760px) { .single-nav { display: none; } .single .coll-label { display: none; } }

/* ---------- Product page ---------- */
.product { display: grid; grid-template-columns: 1.4fr 1fr; gap: clamp(32px, 5vw, 80px); padding: calc(var(--header-h) + 32px) var(--gutter) 96px; max-width: 1400px; margin: 0 auto; align-items: start; }
.preview-wall {
  position: sticky; top: calc(var(--header-h) + 16px);
  background: linear-gradient(#d9d3c7, #cfc8ba); min-height: 70vh; display: grid; place-items: center; padding: 8%;
}
.framed { position: relative; transition: all 0.45s var(--ease); box-shadow: 0 30px 50px -20px rgba(0, 0, 0, 0.55), 0 10px 18px rgba(0, 0, 0, 0.18); background: #fbfaf6; }
.framed img { width: 100%; height: auto; }
.framed[data-frame="none"] { padding: 3%; }
.framed[data-frame="black"] { padding: 11%; border: 14px solid #141414; box-shadow: inset 0 0 0 1px rgba(0,0,0,.08), 0 30px 50px -20px rgba(0, 0, 0, 0.6), 0 10px 18px rgba(0, 0, 0, 0.2); }
.framed[data-frame="black"] img { box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.15), inset 0 0 0 1px #000; }
.framed[data-frame="white"] {
  padding: 11%; border: 14px solid #efe9df;
  border-image: repeating-linear-gradient(90deg, #f4efe6 0 6px, #e8e0d2 6px 9px, #f1ebe1 9px 15px) 14;
}
.preview-note { position: absolute; bottom: 12px; left: 0; right: 0; text-align: center; font-size: 12px; color: #4a463f; }
.product-info .crumbs { font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.product-info .crumbs a { color: var(--gold); text-decoration: none; }
.product-info h1 { font-size: clamp(40px, 5vw, 64px); margin: 12px 0 8px; }
.price { font-size: 26px; font-family: var(--font-display); margin: 0 0 28px; }
.price small { font-family: var(--font-ui); font-size: 12px; color: var(--muted); margin-left: 8px; }
fieldset { border: 0; padding: 0; margin: 0 0 26px; }
legend { font-size: 12px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--paper-dim); margin-bottom: 12px; }
.opts { display: grid; gap: 10px; grid-template-columns: repeat(3, 1fr); }
.opt input { position: absolute; opacity: 0; }
.opt span {
  display: grid; gap: 2px; min-height: 64px; align-content: center; padding: 10px 12px; text-align: center;
  border: 1px solid var(--line-strong); cursor: pointer; transition: border-color 0.2s, background-color 0.2s;
}
.opt span b { font-weight: 500; font-size: 14px; }
.opt span i { font-style: normal; font-size: 12px; color: var(--muted); }
.opt input:checked + span { border-color: var(--gold); background: rgba(201, 165, 92, 0.1); }
.opt input:focus-visible + span { outline: 2px solid var(--gold); outline-offset: 2px; }
.swatch { width: 28px; height: 28px; margin: 0 auto 6px; border: 1px solid var(--line-strong); }
.swatch.none { background: #fbfaf6; }
.swatch.black { background: #141414; box-shadow: inset 0 0 0 6px #141414, inset 0 0 0 7px #fff, inset 0 0 0 12px #fbfaf6; }
.swatch.white { background: repeating-linear-gradient(90deg, #f4efe6 0 3px, #e3dacb 3px 4px); box-shadow: inset 0 0 0 6px transparent; }
.buy-row { display: flex; gap: 12px; align-items: center; }
.buy-row .btn { flex: 1; }
.details { margin-top: 36px; border-top: 1px solid var(--line); }
.details details { border-bottom: 1px solid var(--line); padding: 16px 0; }
.details summary { cursor: pointer; font-size: 14px; letter-spacing: 0.06em; list-style: none; display: flex; justify-content: space-between; min-height: 24px; }
.details summary::after { content: "+"; color: var(--gold); }
.details details[open] summary::after { content: "–"; }
.details p { color: var(--paper-dim); font-size: 15px; margin: 12px 0 0; }
@media (max-width: 900px) {
  .product { grid-template-columns: 1fr; }
  .preview-wall { position: static; min-height: 0; padding: 10% 8%; }
  .opts { grid-template-columns: 1fr 1fr 1fr; }
}

/* ---------- Forms ---------- */
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; max-width: 760px; }
.field { display: grid; gap: 8px; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: 13px; letter-spacing: 0.06em; color: var(--paper-dim); }
.field input, .field select, .field textarea {
  font: inherit; color: var(--paper); background: var(--ink-2); border: 1px solid var(--line-strong);
  min-height: 48px; padding: 12px 14px; border-radius: 2px;
}
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--gold); }
.field small { font-size: 12px; color: var(--muted); }
@media (max-width: 640px) { .form { grid-template-columns: 1fr; } }

.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); margin: 48px 0 72px; }
.steps div { background: var(--ink); padding: 28px; }
.steps b { font-family: var(--font-display); font-size: 40px; font-weight: 400; color: var(--gold); display: block; line-height: 1; }
.steps h3 { font-size: 15px; font-weight: 600; margin: 14px 0 6px; }
.steps p { margin: 0; font-size: 14px; color: var(--paper-dim); }
@media (max-width: 860px) { .steps { grid-template-columns: 1fr 1fr; } }

/* ---------- Cart drawer ---------- */
.drawer {
  position: fixed; inset: 0 0 0 auto; width: min(420px, 100vw); z-index: 70; background: var(--ink-2);
  border-left: 1px solid var(--line); display: grid; grid-template-rows: auto 1fr auto;
  box-shadow: -30px 0 60px rgba(0, 0, 0, 0.4); animation: slide 0.35s var(--ease);
}
.drawer[hidden] { display: none; }
@keyframes slide { from { transform: translateX(100%); } }
.drawer header { display: flex; justify-content: space-between; align-items: center; padding: 20px 24px; border-bottom: 1px solid var(--line); }
.drawer header h2 { font-family: var(--font-display); font-weight: 500; font-size: 28px; margin: 0; }
.drawer-body { overflow: auto; padding: 8px 24px; }
.line { display: grid; grid-template-columns: 72px 1fr auto; gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--line); align-items: center; }
.line img { width: 72px; height: 72px; object-fit: cover; }
.line h3 { font-size: 15px; font-weight: 500; margin: 0; }
.line p { margin: 2px 0 0; font-size: 13px; color: var(--muted); }
.line button { background: none; border: 0; color: var(--muted); font-size: 12px; text-decoration: underline; min-height: 32px; }
.drawer footer { padding: 20px 24px calc(20px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); display: grid; gap: 12px; }
.total { display: flex; justify-content: space-between; font-size: 18px; }
.empty { color: var(--muted); padding: 32px 0; text-align: center; }
.scrim { position: fixed; inset: 0; z-index: 65; background: rgba(0, 0, 0, 0.5); }

.toast {
  position: fixed; left: 50%; bottom: calc(24px + var(--tabbar-h)); transform: translate(-50%, 20px); z-index: 80;
  background: var(--paper); color: var(--ink); padding: 12px 20px; font-size: 14px; opacity: 0; pointer-events: none;
  transition: opacity 0.3s, transform 0.3s var(--ease);
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--line); padding: 48px var(--gutter) calc(48px + var(--tabbar-h)); display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; color: var(--muted); font-size: 13px; }
.site-footer .brand-mark svg { height: 40px; }

/* ---------- Brand page ---------- */
.logo-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 40px; }
.logo-card { border: 1px solid var(--line); }
.logo-card .on-dark, .logo-card .on-light { display: grid; place-items: center; height: 220px; padding: 24px; }
.logo-card .on-light { background: var(--paper); color: var(--ink); }
.logo-card svg { max-width: 100%; height: 84px; }
.logo-card .caption { padding: 18px 20px; }
.logo-card h3 { font-family: var(--font-display); font-weight: 500; font-size: 26px; margin: 0 0 4px; }
.logo-card p { margin: 0; color: var(--paper-dim); font-size: 14px; }
.palette { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; margin-top: 24px; }
.chip { border: 1px solid var(--line); }
.chip i { display: block; height: 96px; }
.chip div { padding: 12px; font-size: 13px; }
.chip b { display: block; font-weight: 500; }
.chip span { color: var(--muted); font-family: ui-monospace, monospace; font-size: 12px; }
.type-spec { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 24px; }
.type-spec > div { border: 1px solid var(--line); padding: 28px; }
@media (max-width: 860px) { .logo-grid, .type-spec { grid-template-columns: 1fr; } .palette { grid-template-columns: repeat(2, 1fr); } }

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

/* floating grid placement (values set per item in app.js) */
.float-item { grid-column: var(--s) / span var(--sp); margin: 0; }
@media (max-width: 760px) { .float-item { grid-column: var(--ms) / span var(--msp); } }
@media (max-width: 1100px) { .tagline { display: none; } .site-header { grid-template-columns: 1fr auto; } }
.float-grid { grid-auto-flow: row dense; }
.coll-label h1, .coll-label p { text-shadow: 0 2px 18px rgba(0, 0, 0, 0.55); }
body.solid-header .site-header { background: rgba(17, 17, 19, 0.88); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }

/* =================== v2 additions =================== */
:root { --teal: #0d4a4c; --teal-hi: #1a6b6c; --teal-deep: #08393b; }

/* Image protection: no drag, no selection, no iOS save callout */
img { -webkit-user-drag: none; user-select: none; -webkit-user-select: none; -webkit-touch-callout: none; }
.shielded { position: relative; }
.shield { position: absolute; inset: 0; z-index: 2; background: transparent; }

/* Home — teal with 7 colour squares */
.hero.teal {
  background:
    radial-gradient(48vw 48vw at 20% 55%, rgba(201, 165, 92, 0.18), transparent 70%),
    radial-gradient(60vw 60vw at 85% 15%, rgba(120, 210, 205, 0.16), transparent 70%),
    linear-gradient(160deg, var(--teal-hi), var(--teal) 45%, var(--teal-deep));
}
.squares { display: flex; gap: clamp(10px, 1.4vw, 20px); align-items: center; justify-content: center; padding: 0 var(--gutter); }
.sq {
  position: relative; padding: 0; border: 0; background: none; width: clamp(96px, 10.5vw, 168px);
  display: grid; gap: 10px; justify-items: center; transition: transform 0.5s var(--ease);
}
.sq:nth-child(odd) { transform: translateY(14px); }
.sq:nth-child(even) { transform: translateY(-14px); }
.sq-img { width: 100%; aspect-ratio: 1; overflow: hidden; box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35); outline: 1px solid rgba(255, 255, 255, 0.12); }
.sq-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease), filter 0.5s; filter: saturate(1.05); }
.sq-label { font-family: var(--font-display); font-size: clamp(15px, 1.3vw, 19px); line-height: 1.15; text-align: center; color: var(--paper); }
.sq-label small { display: block; font-family: var(--font-ui); font-size: 10px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold-hi); margin-top: 3px; }
.sq:hover, .sq:focus-visible { transform: translateY(-6px) scale(1.04); }
.sq:hover .sq-img img { transform: scale(1.08); }
.sq.feature { width: clamp(120px, 13.5vw, 216px); }
.sq.feature .sq-img { outline: 2px solid var(--gold); outline-offset: 5px; }
.hero-title { position: absolute; top: calc(var(--header-h) + 4vh); left: 0; right: 0; text-align: center; padding: 0 var(--gutter); }
.hero-title h1 { font-size: clamp(34px, 4.6vw, 64px); }
.hero-title p { margin: 10px 0 0; color: var(--paper-dim); letter-spacing: 0.04em; }
@media (max-width: 760px) {
  .squares { flex-wrap: wrap; gap: 18px 12px; max-width: 420px; margin-top: 60px; }
  .sq, .sq.feature { width: calc((100% - 24px) / 3); transform: none; }
  .sq:nth-child(odd), .sq:nth-child(even) { transform: none; }
  .sq.feature { order: -1; width: 64%; }
  .hero.teal { height: auto; min-height: 100svh; padding: calc(var(--header-h) + 150px) 0 140px; }
}

/* Exhibition band */
.exhibit { display: grid; grid-template-columns: 1fr 1fr; background: var(--teal-deep); }
.exhibit .band-copy .date { font-family: var(--font-display); font-size: clamp(28px, 3vw, 40px); color: var(--gold-hi); margin: 0 0 6px; }
.exhibit .mosaic4 { display: grid; grid-template-columns: 1fr 1fr; gap: 3px; }
.exhibit .mosaic4 img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 1; }
@media (max-width: 860px) { .exhibit { grid-template-columns: 1fr; } }

/* Featured cards — fixed alignment: every card is the same wall size, framed print centred */
.card-frame { aspect-ratio: 4 / 5; display: flex; align-items: center; justify-content: center; padding: 12%; overflow: hidden; }
.mini { background: #fbfaf6; border: 7px solid #151515; padding: 9%; box-shadow: 0 14px 28px rgba(0, 0, 0, 0.45); width: 100%; transition: transform 0.5s var(--ease); }
.mini.portrait { width: 66%; }
.mini img { width: 100%; height: auto; border: 0; box-shadow: inset 0 0 0 1px rgba(0,0,0,.1); max-height: none; }
.card-frame img { border: 0; box-shadow: none; }
.card:hover .mini { transform: translateY(-4px); }
.card:hover .card-frame img { transform: none; }
.card p { line-height: 1.4; }

/* Photo info (EXIF) */
.exif { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); margin: 0 0 28px; }
.exif div { background: var(--ink); padding: 12px 14px; }
.exif dt { font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted); }
.exif dd { margin: 2px 0 0; font-size: 14px; }
.exif .wide { grid-column: 1 / -1; }
.single-bar .meta-line { flex-basis: 100%; color: var(--paper-dim); font-size: 13px; letter-spacing: 0.03em; }

/* Accurate frame preview (inches → %) */
.preview-wall { background: linear-gradient(#ddd7cb, #cdc6b8); }
.fr { position: relative; transition: width 0.45s var(--ease); box-shadow: 0 30px 50px -18px rgba(0, 0, 0, 0.55), 0 8px 16px rgba(0, 0, 0, 0.18); }
.fr .moulding { position: absolute; inset: 0; background: var(--frame, #151515); }
.fr.wood .moulding { background-image: repeating-linear-gradient(90deg, rgba(255,255,255,.06) 0 3px, rgba(0,0,0,.06) 3px 5px, transparent 5px 9px); }
.fr .matboard { position: absolute; background: #fbfaf6; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.08), inset 0 2px 6px rgba(0, 0, 0, 0.18); }
.fr .opening { position: absolute; overflow: hidden; box-shadow: 0 0 0 1px #e9e4d8, 0 0 0 2px rgba(0, 0, 0, 0.12); }
.fr .opening img { width: 100%; height: 100%; object-fit: cover; }
.fr.paper { box-shadow: 0 20px 34px -16px rgba(0, 0, 0, 0.45); }
.frame-spec { margin: -12px 0 24px; font-size: 13px; color: var(--paper-dim); }
.opts.five { grid-template-columns: repeat(5, 1fr); }
.opts.five .opt span { min-height: 86px; padding: 8px 6px; }
.opts.five .opt b { font-size: 13px; }
.swatch { border-radius: 2px; }
@media (max-width: 520px) { .opts.five { grid-template-columns: repeat(3, 1fr); } }

/* Markdown pages */
.prose { max-width: 70ch; }
.prose h1 { font-family: var(--font-display); font-weight: 400; font-size: clamp(44px, 6vw, 76px); line-height: 1.02; margin: 0 0 28px; }
.prose h2 { font-family: var(--font-display); font-weight: 500; font-size: 30px; margin: 40px 0 10px; color: var(--gold-hi); }
.prose p, .prose li { color: var(--paper-dim); font-size: 17px; }
.prose a { color: var(--gold); }
.prose em { color: var(--muted); }
.about-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.about-grid .portrait { position: sticky; top: calc(var(--header-h) + 24px); }
.about-grid .portrait figcaption { font-size: 12px; color: var(--muted); margin-top: 10px; }
@media (max-width: 860px) { .about-grid { grid-template-columns: 1fr; } .about-grid .portrait { position: static; } }

.copyright { flex-basis: 100%; font-size: 12px; color: var(--muted); }
.copyright a { color: var(--gold); }
body.scrolled .site-header { background: rgba(10, 30, 31, 0.9); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }

/* v4 — Single view: small, same-size frame for every photo (matches the grid scale) */
.single { grid-template-rows: 1fr auto; }
.single-frame {
  width: min(460px, 82vw); aspect-ratio: 4 / 3;
  display: grid; place-items: center;
}
.single-frame img {
  max-width: 100%; max-height: 100%; width: auto; height: auto;
  object-fit: contain; box-shadow: 0 18px 50px rgba(0, 0, 0, 0.35); animation: settle 0.5s var(--ease);
}
.single-stage { align-content: center; }
.single-nav.prev { left: max(0px, calc(50% - min(460px, 82vw) / 2 - 76px)); }
.single-nav.next { right: max(0px, calc(50% - min(460px, 82vw) / 2 - 76px)); }
.single-frame { --fw: min(460px, 82vw); width: var(--fw); height: calc(var(--fw) * 0.75); aspect-ratio: auto; min-height: 0; overflow: hidden; }
.single-frame img { max-height: 100%; }
.single-frame { position: relative; overflow: visible; }
.single-frame img { position: absolute; inset: 0; margin: auto; width: auto; height: auto; max-width: 100%; max-height: 100%; }

/* ===== v6: slideshow ===== */
body.no-scroll { overflow: hidden; }
.slideshow {
  position: fixed; inset: 0; z-index: 90; background: #0a0a0c;
  display: grid; grid-template-rows: auto 1fr auto auto auto; justify-items: center; gap: 14px;
  padding: max(16px, env(safe-area-inset-top)) var(--gutter) max(20px, env(safe-area-inset-bottom));
  animation: fade 0.3s var(--ease);
}
.slideshow[hidden] { display: none; }
.show-top { width: 100%; display: flex; justify-content: space-between; font-size: 12px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted); }
.show-stage { position: relative; margin: 0; width: 100%; min-height: 0; display: grid; place-items: center; }
.show-stage img { max-width: min(1100px, 100%); max-height: 100%; width: auto; height: auto; object-fit: contain; box-shadow: 0 24px 70px rgba(0, 0, 0, 0.6); animation: showIn 0.9s var(--ease); }
@keyframes showIn { from { opacity: 0; transform: scale(1.015); } }
.show-cap { text-align: center; display: grid; gap: 2px; }
.show-cap b { font-family: var(--font-display); font-weight: 500; font-size: clamp(22px, 2.4vw, 30px); }
.show-cap span { color: var(--paper-dim); font-size: 13px; }
.show-progress { width: min(320px, 70vw); height: 2px; background: var(--line); overflow: hidden; }
.show-progress i { display: block; height: 100%; background: var(--gold); transform-origin: left; animation: progress linear forwards; }
@keyframes progress { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.show-controls { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; }
@media (prefers-reduced-motion: reduce) { .show-progress { display: none; } }

/* ===== v6: order now, pay at the gallery ===== */
.reserve { display: grid; grid-template-columns: 1.3fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: start; max-width: 1240px; }
.reserve-summary { position: sticky; top: calc(var(--header-h) + 24px); background: var(--ink-2); border: 1px solid var(--line); padding: 24px; }
.reserve-summary h2 { font-family: var(--font-display); font-weight: 500; font-size: 28px; margin: 0 0 4px; }
.reserve-summary .total { margin-top: 18px; }
.reserve-note { color: var(--muted); font-size: 13px; margin: 16px 0 0; }
.linklike { background: none; border: 0; padding: 0; color: var(--gold); text-decoration: underline; cursor: pointer; font-size: inherit; }
.field.check { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: var(--paper-dim); }
.field.check input { width: 20px; height: 20px; min-height: 0; margin-top: 2px; accent-color: var(--gold); }
.drawer footer .btn { width: 100%; }
@media (max-width: 900px) { .reserve { grid-template-columns: 1fr; } .reserve-summary { position: static; order: -1; } .reserve .form { grid-template-columns: 1fr !important; } }
.show-stage { overflow: hidden; }
.show-stage img { max-height: calc(100vh - 230px); max-height: calc(100svh - 230px); }
@media (max-width: 760px) { .show-stage img { max-height: calc(100svh - 290px); } }
.reserve > * { min-width: 0; }
.reserve-summary .line { grid-template-columns: 64px minmax(0, 1fr) auto; }
.reserve-summary .line img { width: 64px; height: 64px; }
@media (max-width: 900px) { .reserve { padding-left: var(--gutter); padding-right: var(--gutter); } .reserve-summary { padding: 18px; } }
@media (max-width: 900px) { .reserve .form { grid-template-columns: minmax(0, 1fr) !important; } }
.form .field input, .form .field select, .form .field textarea { min-width: 0; width: 100%; }

/* ===== v6: special prices & limited editions ===== */
.tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.tag { display: inline-block; font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; padding: 4px 9px; border-radius: 999px; line-height: 1.3; }
.tag.special { background: #b8463a; color: #fff; }
.tag.limited { border: 1px solid var(--gold); color: var(--gold-hi); }
.product-info .tags { margin: -2px 0 14px; }
.price s { color: var(--muted); font-size: 0.8em; margin-right: 6px; }
.price .sp { font-style: normal; font-family: var(--font-ui); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: #fff; background: #b8463a; padding: 3px 8px; border-radius: 999px; vertical-align: middle; margin-left: 6px; }
.edition-note { color: var(--gold-hi); font-size: 14px; margin: -8px 0 18px; }
.buy-row .btn[disabled] { opacity: 0.5; cursor: not-allowed; }

/* ===== v7: one photo size everywhere — grid, single view and slideshow ===== */
:root { --photo-w: min(420px, 82vw); --photo-h: calc(var(--photo-w) * 0.75); }

/* Grid: each photo fits the same 420 × 315 box */
.float-item > a { display: grid; place-items: center; height: var(--photo-h); }
.float-item img { width: auto; height: auto; max-width: min(100%, var(--photo-w)); max-height: var(--photo-h); }
.float-item figcaption { position: static; margin-top: 8px; text-align: center; }

/* Single view: same box */
.single-frame { --fw: var(--photo-w); width: var(--photo-w); height: var(--photo-h); }
.single-nav.prev { left: max(0px, calc(50% - var(--photo-w) / 2 - 76px)); }
.single-nav.next { right: max(0px, calc(50% - var(--photo-w) / 2 - 76px)); }

/* Slideshow: same box, centred on the dark stage */
.show-stage { align-content: center; }
.show-stage img { max-width: var(--photo-w); max-height: var(--photo-h); }
@media (max-width: 760px) { .show-stage img { max-height: var(--photo-h); } }

/* ===== v11: Regular / Special price buttons ===== */
.opts.tiers { grid-template-columns: 1fr 1fr; }
.opts.tiers .opt span { min-height: 70px; }
.opts.tiers .opt span i { font-size: 18px; color: var(--paper); font-family: var(--font-display); }
.special-opt span b { color: #ff9d8f; letter-spacing: 0.08em; text-transform: uppercase; font-size: 13px; }
.special-opt input:checked + span { border-color: #b8463a; background: rgba(184, 70, 58, 0.14); }
.opt input:disabled + span { opacity: 0.45; cursor: not-allowed; }
.price s { margin: 0 0 0 8px; }
.card-sp { color: #ff9d8f; }

/* ===== v13: the collection spotlight (after clicking a front-page square) uses the small shared photo frame ===== */
.spot-stage { width: calc(var(--photo-w) + 44px); max-width: 100%; }
.spot-frame { padding: 16px; }
.spot-frame .corner { width: 24px; height: 24px; }
.spot-img { aspect-ratio: 4 / 3; }
.spot-title { font-size: clamp(32px, 5vw, 60px); }
.spot-sub { font-size: 13px; }
.spot-peek { width: 110px; top: 22%; bottom: 22%; }
.spot-peek.next { left: calc(100% + 28px); }
.spot-peek.prev { right: calc(100% + 28px); }
.spotlight { grid-template-rows: 1fr auto; align-content: center; }
@media (max-width: 760px) { .spot-peek { display: none; } }

/* ===== v16: exhibition-only (not for sale) photos ===== */
.nfs { font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--paper-dim); border: 1px solid var(--line-strong); border-radius: 999px; padding: 10px 16px; }
.tag.nfs-tag { border: 1px solid var(--line-strong); color: var(--paper-dim); }
.nfs-note { color: var(--paper-dim); font-size: 15px; border-left: 2px solid var(--gold); padding: 6px 0 6px 14px; margin: 4px 0 24px; }

/* ===== v17: Regular / Special / Limited edition buttons ===== */
.opts.tiers.three { grid-template-columns: repeat(3, 1fr); }
.opts.tiers .opt span { min-height: 92px; gap: 3px; }
.opts.tiers .opt span small { font-size: 11px; line-height: 1.3; color: var(--muted); }
.limited-opt span b { color: var(--gold-hi); letter-spacing: 0.06em; text-transform: uppercase; font-size: 12px; }
.limited-opt input:checked + span { border-color: var(--gold); background: rgba(201, 165, 92, 0.14); }
.price .sp.limited { background: transparent; border: 1px solid var(--gold); color: var(--gold-hi); }
.tier-help { margin-top: 12px; font-size: 14px; color: var(--paper-dim); }
.tier-help summary { cursor: pointer; color: var(--gold); font-size: 13px; letter-spacing: 0.04em; min-height: 32px; display: flex; align-items: center; }
.tier-help p { margin: 8px 0 0; }
@media (max-width: 520px) { .opts.tiers.three { grid-template-columns: 1fr; } .opts.tiers .opt span { min-height: 64px; } }

/* QR card on the print page */
.qr-card { display: flex; gap: 16px; align-items: center; margin: 22px 0 6px; padding: 14px; border: 1px solid var(--line); background: var(--ink-2); }
.qr-card .qr-code { width: 96px; height: 96px; flex: none; background: #fff; padding: 4px; }
.qr-card .qr-code svg { width: 100%; height: 100%; display: block; }
.qr-card p { margin: 0; font-size: 14px; color: var(--paper-dim); }
.qr-card b { color: var(--paper); font-weight: 500; }

/* Printable exhibition labels (#/labels) */
.labels-head { display: flex; justify-content: space-between; align-items: end; gap: 20px; flex-wrap: wrap; margin-bottom: 28px; }
.labels { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 14px; }
.label { display: flex; gap: 14px; justify-content: space-between; align-items: center; background: #fbfaf6; color: #151515; padding: 16px 16px 14px; border: 1px dashed #b9b2a4; break-inside: avoid; }
.label h2 { font-family: var(--font-display); font-weight: 500; font-size: 22px; line-height: 1.1; margin: 2px 0 4px; }
.label p { margin: 0; font-size: 12px; color: #444; }
.label .lb-no { font-size: 10px; letter-spacing: 0.2em; color: #888; }
.label .lb-place { font-size: 13px; color: #333; margin-bottom: 8px; }
.label .lb-price b { font-size: 14px; color: #111; }
.label .lb-tiers { font-size: 11px; color: #666; margin-top: 2px; }
.label .lb-brand { font-size: 10px; letter-spacing: 0.08em; color: #8a7a55; margin-top: 8px; }
.label .lb-qr { width: 92px; height: 92px; flex: none; }
.label .lb-qr svg { width: 100%; height: 100%; display: block; }
@media print {
  @page { margin: 12mm; }
  body { background: #fff !important; }
  .site-header, .tabbar, .site-footer, .labels-head .btn, .toast, .drawer { display: none !important; }
  .labels-page { padding: 0 !important; max-width: none; }
  .labels-head .page-lede, .labels-head .eyebrow { display: none; }
  .labels-head h1 { color: #111; font-size: 20px !important; }
  .labels { grid-template-columns: 1fr 1fr; gap: 6mm; }
  .label { border-color: #999; }
}

.opts.sizes { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 520px) { .opts.sizes { grid-template-columns: 1fr 1fr; } }

/* ===== v24: author's pick, button legend, exhibition note, new wall labels ===== */
.tag.pick { background: var(--gold); color: var(--ink); font-weight: 600; }
.tier-legend { font-size: 13px; color: var(--paper-dim); margin: 10px 0 0; }
.tier-legend b { color: var(--gold-hi); font-weight: 500; }
.exhibit-note { max-width: 680px; margin: 0 auto 56px; padding: 28px 32px; background: rgba(0, 0, 0, 0.25); border: 1px solid var(--line-strong); border-left: 3px solid var(--gold); }
.exhibit-note h2 { font-family: var(--font-display); font-weight: 500; font-size: clamp(28px, 3vw, 40px); margin: 0 0 12px; color: var(--gold-hi); }
.exhibit-note p { margin: 0 0 10px; color: var(--paper); font-size: 16px; }
.exhibit-note .sign { font-family: var(--font-display); font-style: italic; font-size: 20px; color: var(--paper-dim); margin-top: 14px; }
.label { flex-direction: column; align-items: stretch; gap: 6px; }
.label .lb-row { display: flex; gap: 14px; justify-content: space-between; align-items: center; }
.label .lb-pick { margin: 0; font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: #8a6a1f; font-weight: 600; }
.label .lb-gear { font-size: 11px; color: #555; margin: 0; }
.label .lb-edition { font-size: 11px; color: #8a6a1f; margin-top: 6px; }
.label .lb-qr-wrap { flex: none; text-align: center; }
.label .lb-scan { font-size: 9px; color: #777; margin-top: 2px; }
.label.note-card { grid-column: 1 / -1; border-style: solid; border-color: #c9a55c; padding: 22px 24px; }
.label.note-card h2 { font-size: 28px; margin-bottom: 8px; }
.label.note-card p { font-size: 13px; color: #333; margin: 0 0 6px; }
.label.note-card .lb-sign { font-family: var(--font-display); font-style: italic; font-size: 16px; color: #555; margin-top: 8px; }
@media print { .label.note-card { grid-column: 1 / -1; } }

/* ===== v25: figure in markdown pages (About → My gear) ===== */
.md-figure { margin: 18px 0 22px; }
.md-figure img { width: 100%; max-width: 560px; height: auto; border: 1px solid var(--line); box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35); }
.md-figure figcaption { font-size: 13px; color: var(--muted); margin-top: 8px; }
.prose p > strong:only-child { color: var(--gold-hi); font-weight: 500; letter-spacing: 0.04em; }
