/* VIVERE COLORADO · STORE
   Product pages, /shop, /mint-roll, /drops. Extends site.css (tokens, nav, seams, hang-tag card).
   Components use tokens only; the one raw colour is a per-line accent set through --acc / --tint / --pat.
   Motion is transform and opacity only, and reuses the shell's data-* hooks. */

/* ---------- shared ---------- */
.store { --g: clamp(10px, 1.6vw, 18px); }
.band-bone { background: var(--bone); color: var(--ink); position: relative; isolation: isolate; }
.band-bone::before { content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit; opacity: .1; background: url(/img/trail-pattern.jpg) center / 900px auto repeat; }
.band-bone .lede { color: var(--mute-l); }
.band-bone .eyebrow, .band-bone .rim { color: var(--copper-ink); }
.band-bone .link-arrow { color: var(--copper-ink); }
.btn[disabled], .btn[aria-disabled="true"] { opacity: .5; cursor: not-allowed; transform: none; filter: saturate(.4); }
.rim i, .eyebrow i { font-style: normal; }
.guil { background: var(--copper); -webkit-mask: url(/img/guilloche-rosette.svg) center / contain no-repeat; mask: url(/img/guilloche-rosette.svg) center / contain no-repeat; }

/* short page headers (shop, mint roll, drops) share one build */
.shophead, .rollhead, .drophead {
  position: relative; isolation: isolate; overflow: clip;
  padding: clamp(28px, 4vw, 56px) 0 clamp(26px, 3.4vw, 44px);
  background:
    radial-gradient(60% 80% at 86% 20%, rgba(201, 138, 94, .14), transparent 70%),
    radial-gradient(70% 60% at 0% 100%, rgba(44, 74, 63, .35), transparent 70%), var(--ink);
}
.drophead { padding-bottom: clamp(64px, 7vw, 104px); }
.shophead__rosette, .rollhead__rosette, .drophead__rosette {
  position: absolute; z-index: -1; width: min(110vw, 820px); aspect-ratio: 1; right: -14%; top: 50%; translate: 0 -50%; opacity: .06;
  background: var(--copper); -webkit-mask: url(/img/guilloche-rosette.svg) center / contain no-repeat; mask: url(/img/guilloche-rosette.svg) center / contain no-repeat;
}
.shophead h1, .rollhead h1, .drophead h1 { font-size: clamp(2.2rem, 1.2rem + 4.4vw, 4.4rem); letter-spacing: -.02em; margin: 10px 0 14px; max-width: 18ch; }
.shophead__in { display: grid; gap: 22px; align-items: end; }
.rollhead__in, .drophead__in { display: grid; gap: 4px; justify-items: start; }
@media (min-width: 900px) { .shophead__in { grid-template-columns: minmax(0, 1.5fr) minmax(0, .8fr); } }

/* ================= PRODUCT PAGE ================= */
.crumb { padding-top: 10px; }
.crumb ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 0 10px; font: 600 var(--t-rim)/1.2 var(--f-slab); letter-spacing: .18em; text-transform: uppercase; color: var(--mute-d); }
.crumb li { display: inline-flex; align-items: center; min-height: 44px; }
.crumb li + li::before { content: "\203A"; margin-right: 10px; color: var(--copper); }
.crumb a { text-decoration: none; display: inline-flex; align-items: center; min-height: 44px; min-width: 44px; padding: 0 2px; }
.crumb a:hover { color: var(--chalk); }
.crumb i { font-style: normal; color: var(--copper); margin-right: .55em; }
.crumb [aria-current] { color: var(--chalk); }

.stage {
  --acc: var(--copper); --tint: var(--charcoal); --pat: none;
  position: relative; isolation: isolate; overflow: clip;
  padding: clamp(6px, 1.4vw, 18px) 0 clamp(44px, 6vw, 84px);
  background: linear-gradient(165deg, color-mix(in oklab, var(--tint) 85%, #000) 0%, var(--ink) 78%);
}
.stage::before { content: ""; position: absolute; inset: 0; z-index: -2; background-image: var(--pat); background-size: 520px auto; opacity: .08; }
.stage__rosette { position: absolute; z-index: -1; width: min(120vw, 900px); aspect-ratio: 1; left: -14%; top: 4%; opacity: .06; background: var(--acc); -webkit-mask: url(/img/guilloche-rosette.svg) center / contain no-repeat; mask: url(/img/guilloche-rosette.svg) center / contain no-repeat; }
.stage__in { display: grid; gap: 22px; grid-template-columns: minmax(0, 1fr); grid-template-areas: "head" "gal" "form"; }
@media (min-width: 980px) {
  .stage__in { grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); grid-template-areas: "gal head" "gal form"; grid-template-rows: auto 1fr; column-gap: clamp(32px, 5vw, 76px); row-gap: 22px; }
}

/* the gallery: a milled frame around a scroll-snap track */
.gal { grid-area: gal; display: grid; gap: 16px; min-width: 0; align-content: start; }
@media (min-width: 980px) { .gal { position: sticky; top: calc(var(--nav-h) + 16px); align-self: start; } }
.gal__frame { position: relative; padding: 7px; border-radius: 30px; background: linear-gradient(145deg, #3a2a1e, #130f0c 60%); box-shadow: 0 0 0 1px rgba(201, 138, 94, .55), 0 34px 60px -34px #000, inset 0 1px 0 rgba(255, 236, 214, .2); }
.gal__frame::after { content: ""; position: absolute; inset: 3px; border-radius: 27px; border: 3px dotted rgba(138, 85, 52, .75); pointer-events: none; }
.gal__track {
  position: relative; display: grid; grid-auto-flow: column; grid-auto-columns: 100%; overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain;
  scrollbar-width: none; border-radius: 23px; aspect-ratio: 10 / 9; background: #0e0f10;
}
.gal__track::-webkit-scrollbar { display: none; }
@media (min-width: 980px) { .gal__track { aspect-ratio: 1; } }
.gal__slide { margin: 0; position: relative; scroll-snap-align: start; overflow: hidden; min-width: 0; background: #0e0f10; }
.gal__slide img { width: 100%; height: 100%; object-fit: cover; }
.gal__slide--wide img { object-position: 46% 50%; }
.gal__slide--coin img { object-fit: contain; }
.gal__slide--crop img { transform: scale(var(--cs, 2)); transform-origin: var(--cx, 50%) var(--cy, 50%); }
.gal__cap {
  position: absolute; left: 14px; bottom: 14px; max-width: calc(100% - 28px); padding: 8px 13px; border-radius: 999px; z-index: 2;
  background: rgba(11, 12, 13, .74); border: 1px solid rgba(201, 138, 94, .32);
  font: 600 .625rem/1.2 var(--f-slab); letter-spacing: .16em; text-transform: uppercase; color: var(--chalk);
}
.gal__thumbs { list-style: none; margin: 0; padding: 8px 0 2px; display: flex; gap: 16px; justify-content: center; }
.gal__thumb {
  width: 58px; height: 58px; border-radius: 50%; padding: 0; border: 0; overflow: hidden; cursor: pointer; background: #0f1012; display: block; position: relative;
  box-shadow: 0 0 0 2px var(--copper-lo), 0 0 0 5px var(--ink), 0 0 0 6px rgba(201, 138, 94, .4);
  transition: box-shadow .3s var(--ease), transform .3s var(--ease);
}
.gal__thumb img { width: 100%; height: 100%; object-fit: cover !important; }
.gal__thumb:hover { transform: translateY(-2px); }
.gal__thumb[aria-current="true"] { box-shadow: 0 0 0 3px var(--acc), 0 0 0 6px var(--ink), 0 0 0 7.5px var(--copper-lo); transform: translateY(-3px); }

/* buy block */
.buy__head { grid-area: head; display: grid; gap: 10px; align-content: start; min-width: 0; }
.buy__head h1 { font-size: clamp(2rem, 1.3rem + 2.8vw, 3.4rem); letter-spacing: -.015em; }
.buy__tag { color: var(--mute-d); }
.buy__price { display: flex; align-items: center; gap: 10px 14px; flex-wrap: wrap; margin-top: 2px; }
.price--xl { font-size: clamp(1.75rem, 1.4rem + 1.2vw, 2.4rem); }
.runmark { font: 600 var(--t-rim)/1 var(--f-slab); letter-spacing: .16em; text-transform: uppercase; color: var(--copper); border: 1px dashed rgba(201, 138, 94, .6); padding: 8px 12px; border-radius: 999px; font-variant-numeric: tabular-nums; }
.runmark--live { border-style: solid; color: var(--chalk); }
.buy__form { grid-area: form; display: grid; gap: 22px; align-content: start; min-width: 0; }
.buy__form .rim { display: block; }

.sizes { border: 0; padding: 0; margin: 0; display: grid; gap: 12px; min-width: 0; }
.sizes legend { padding: 0; margin-bottom: 10px; }
.sizes > p.rim { margin-bottom: 8px; }
.sizes__sub { font: 600 .6875rem/1 var(--f-slab); letter-spacing: .2em; text-transform: uppercase; color: var(--mute-d); margin-bottom: 8px; }
.sizes__row { display: flex; flex-wrap: wrap; gap: 8px; }
.sizes label { position: relative; display: block; }
.sizes input { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; margin: 0; cursor: pointer; }
.sizes label > span, .sizechip {
  display: grid; place-items: center; min-width: 52px; min-height: 46px; padding: 0 14px; border-radius: 999px;
  border: 1px solid rgba(201, 138, 94, .45); font: 600 .9375rem/1 var(--f-body); font-variant-numeric: tabular-nums;
  transition: background-color .2s, color .2s, border-color .2s;
}
.sizes label:hover > span { border-color: var(--copper); }
.sizes input:checked + span { background: var(--copper); color: var(--ink); border-color: var(--copper); box-shadow: inset 0 1px 0 rgba(255, 240, 225, .5); }
.sizes input:focus-visible + span { outline: 2px solid var(--copper); outline-offset: 3px; }
.sizechip.is-on { border-color: var(--copper); color: var(--chalk); }
.sizes.is-missing label > span { border-color: #e9a07a; }

.qty { display: inline-flex; align-items: center; border: 1px solid rgba(201, 138, 94, .45); border-radius: 999px; overflow: hidden; }
.qty button { width: 48px; height: 48px; border: 0; background: transparent; font: 600 1.25rem/1 var(--f-body); cursor: pointer; color: var(--chalk); }
.qty button:hover { background: rgba(201, 138, 94, .14); }
.qty input { width: 52px; height: 48px; border: 0; background: transparent; text-align: center; color: var(--chalk); font: 600 1.0625rem var(--f-body); font-variant-numeric: tabular-nums; -moz-appearance: textfield; appearance: textfield; }
.qty input::-webkit-inner-spin-button, .qty input::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
.qty:has(:focus-visible) { outline: 2px solid var(--copper); outline-offset: 3px; }
.qty :focus-visible { outline: none; }

.addons { border: 0; padding: 0; margin: 0; display: grid; gap: 10px; min-width: 0; }
.addons legend { padding: 0; margin-bottom: 10px; }
.addons legend span { color: var(--mute-d); letter-spacing: .12em; }
.tagmini {
  position: relative; display: grid; grid-template-columns: 60px minmax(0, 1fr) auto 28px; gap: 12px; align-items: center;
  padding: 10px 14px 10px 10px; border-radius: 14px; background: var(--bone); color: var(--charcoal); cursor: pointer; min-height: 76px;
  box-shadow: 0 0 0 2px transparent, 0 10px 20px -14px #000; transition: box-shadow .25s var(--ease);
}
.tagmini input { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; margin: 0; cursor: pointer; z-index: 1; }
.tagmini__img { width: 60px; aspect-ratio: 1; border-radius: 10px; overflow: hidden; background: #0f1012; }
.tagmini__img img { width: 100%; height: 100%; object-fit: cover; }
.tagmini__meta { display: grid; gap: 2px; min-width: 0; }
.tagmini__meta b { font: 700 1rem/1.15 var(--f-slab); }
.tagmini__meta em { font-style: normal; font-size: .8125rem; color: var(--mute-l); }
.tagmini__price { font: 700 1.0625rem/1 var(--f-slab); color: var(--copper-ink); font-variant-numeric: tabular-nums; }
.tagmini__box { width: 26px; height: 26px; border-radius: 50%; border: 2px solid var(--copper-ink); position: relative; }
.tagmini__box::after { content: ""; position: absolute; left: 7px; top: 3px; width: 6px; height: 11px; border: solid var(--bone); border-width: 0 2px 2px 0; rotate: 45deg; opacity: 0; }
.tagmini:has(input:checked) { box-shadow: 0 0 0 3px var(--copper), 0 10px 20px -14px #000; }
.tagmini:has(input:checked) .tagmini__box { background: var(--copper-ink); }
.tagmini:has(input:checked) .tagmini__box::after { opacity: 1; }
.tagmini:has(input:focus-visible) { outline: 2px solid var(--copper); outline-offset: 3px; }

.btn--buy { width: 100%; min-height: 58px; font-size: 1.0625rem; }
.btn--buy span { font-variant-numeric: tabular-nums; }
.buy__msg { min-height: 1.4em; margin-top: -10px; font-size: var(--t-small); color: var(--copper-hi); }
.buy__msg.is-err { color: #f3b79e; }
.buy__notes { list-style: none; margin: 0; padding: 18px 0 0; border-top: 1px solid var(--rule-d); display: grid; gap: 12px; font-size: var(--t-small); color: var(--mute-d); }
.buy__notes li { display: grid; grid-template-columns: 18px minmax(0, 1fr); gap: 10px; align-items: start; }
.buy__notes svg { width: 16px; height: 16px; color: var(--copper); margin-top: 2px; }
.buy__notes a { color: var(--copper-hi); }

/* phones: the buy button follows you, above the dock */
.mbar { position: fixed; left: 0; right: 0; bottom: calc(58px + env(safe-area-inset-bottom)); z-index: 84; display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 9px var(--gut); background: rgba(11, 12, 13, .95); border-top: 1px solid rgba(201, 138, 94, .3); }
.mbar__price { display: grid; gap: 3px; min-width: 0; }
.mbar__price .rim { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: .625rem; }
.mbar .btn { flex: none; min-height: 46px; padding: 0 1.5em; }
@media (min-width: 980px) { .mbar { display: none; } }
@media (max-width: 979px) { body.p-product { padding-bottom: calc(58px + 66px + env(safe-area-inset-bottom)); } }

/* tabs: details, fit, meaning, box. Without JS every panel simply reads in order. */
.facts { position: relative; background: var(--charcoal); padding: clamp(36px, 5vw, 64px) 0 calc(var(--sec) * .7 + 56px); }
.facts__tabs { display: none; gap: 4px; overflow-x: auto; border-bottom: 1px solid var(--rule-d); scrollbar-width: none; margin-bottom: clamp(22px, 3vw, 36px); }
.facts__tabs::-webkit-scrollbar { display: none; }
.facts.js .facts__tabs { display: flex; }
.facts__tabs [role="tab"] {
  flex: none; min-height: 52px; padding: 0 clamp(12px, 2vw, 22px); background: none; border: 0; cursor: pointer; position: relative;
  font: 600 .8125rem/1 var(--f-slab); letter-spacing: .18em; text-transform: uppercase; color: var(--mute-d); display: inline-flex; align-items: center; gap: .7em;
}
.facts__tabs [role="tab"] i { font-style: normal; color: var(--copper); letter-spacing: .06em; }
.facts__tabs [role="tab"]::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: -1px; height: 2px; background: var(--copper); transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease); }
.facts__tabs [aria-selected="true"] { color: var(--chalk); }
.facts__tabs [aria-selected="true"]::after { transform: scaleX(1); }
.facts__panel + .facts__panel { margin-top: 44px; }
.facts.js .facts__panel + .facts__panel { margin-top: 0; }
.facts__h { font-size: var(--t-h3); margin-bottom: 18px; }
.facts.js .facts__h { display: none; }

.details { display: grid; gap: 24px; align-items: start; }
@media (min-width: 760px) { .details { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 56px; } }
.details__lede { font: 500 clamp(1.25rem, 1rem + 1vw, 1.75rem)/1.38 var(--f-slab); color: var(--chalk); max-width: 40ch; }
.details__care { color: var(--mute-d); margin-top: 14px; }
.specs { margin: 0; border-top: 2px solid var(--copper); }
.specs div { display: grid; grid-template-columns: 7rem minmax(0, 1fr); gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--rule-d); align-items: baseline; }
.specs dt { font: 600 var(--t-rim)/1.3 var(--f-slab); letter-spacing: .2em; text-transform: uppercase; color: var(--copper); }
.specs dd { margin: 0; color: var(--chalk); font-variant-numeric: tabular-nums; }
.specs a { color: var(--copper-hi); }

.meaning { display: grid; gap: 28px 44px; justify-items: center; align-items: center; }
@media (min-width: 860px) { .meaning { grid-template-columns: auto auto minmax(0, 1fr); justify-items: start; } }
.meaning__coin { display: grid; justify-items: center; gap: 16px; }
.meaning__hint { font: 600 var(--t-rim)/1.4 var(--f-slab); letter-spacing: .2em; text-transform: uppercase; color: var(--copper); text-align: center; max-width: 22ch; }
.tag {
  width: 214px; aspect-ratio: 2 / 3.5; background: var(--bone); color: var(--charcoal); border-radius: 10px; padding: 40px 18px 18px;
  display: flex; flex-direction: column; text-align: center; position: relative; transform: rotate(-1.4deg);
  box-shadow: 0 26px 40px -18px #000, 0 0 0 1px rgba(0, 0, 0, .4);
}
.tag::before { content: ""; position: absolute; top: 14px; left: 50%; width: 12px; height: 12px; margin-left: -6px; border-radius: 50%; background: var(--charcoal); box-shadow: inset 0 1px 2px rgba(0, 0, 0, .6); outline: 1px dashed rgba(138, 85, 52, .6); outline-offset: 3px; }
.tag__latin { display: grid; gap: 1px; font: 600 .625rem/1.7 var(--f-slab); letter-spacing: .22em; text-transform: uppercase; color: var(--mute-l); }
.tag__read { margin-top: 18px; flex: 1; font: 700 .98rem/1.3 var(--f-slab); display: grid; gap: 6px; align-content: start; }
.tag__read span:nth-child(3) { color: var(--copper-ink); }
.tag__foot { border-top: 1px solid var(--rule-l); padding-top: 10px; font: 600 .5625rem/1.2 var(--f-slab); letter-spacing: .16em; text-transform: uppercase; color: var(--copper-ink); font-variant-numeric: tabular-nums; }
.tag__name { margin-top: 10px; font: 600 .5625rem/1.2 var(--f-slab); letter-spacing: .2em; text-transform: uppercase; color: var(--mute-l); }
.meaning__words { display: grid; gap: 14px; justify-items: start; }
.meaning__words h3 { font-size: var(--t-h3); }
.meaning__meta { font: 600 var(--t-rim)/1.5 var(--f-slab); letter-spacing: .18em; text-transform: uppercase; color: var(--mute-d); font-variant-numeric: tabular-nums; }
.meaning__meta b { color: var(--copper); }

.inbox { display: grid; gap: 26px; align-items: center; }
@media (min-width: 800px) { .inbox { grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 48px; } }
.inbox__fig { margin: 0; position: relative; border-radius: 22px; overflow: hidden; aspect-ratio: 1000 / 664; box-shadow: 0 0 0 1px rgba(201, 138, 94, .35), 0 30px 50px -30px #000; }
.inbox__fig img { width: 100%; height: 100%; object-fit: cover; }
.inbox__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 20px; }
.inbox__list li { display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 14px; align-items: start; }
.inbox__list li > span { width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--copper); display: grid; place-items: center; font: 700 .875rem/1 var(--f-slab); color: var(--copper); }
.inbox__list b { font: 700 1.125rem/1.25 var(--f-slab); }
.inbox__list p { color: var(--mute-d); font-size: .9375rem; margin-top: 3px; }
.inbox__list a { color: var(--copper-hi); }

/* pairs with: small goods on bone, rising as a coin edge */
.pairs { padding-bottom: var(--sec); }
.pairs__head { display: grid; gap: 8px; margin-bottom: clamp(20px, 3vw, 36px); justify-items: start; }
.pairs__head h2 { font-size: var(--t-h2); }
.pairs__grid { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 820px) { .pairs__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.piece--row { grid-template-rows: none; grid-template-columns: clamp(104px, 30%, 150px) minmax(0, 1fr); box-shadow: 0 18px 30px -22px rgba(11, 12, 13, .6); }
.piece--row .piece__img { aspect-ratio: auto; min-height: 100%; }
.piece--row .piece__buy { flex-wrap: wrap; }
.add[aria-pressed="true"] { background: rgba(122, 69, 38, .14); border-color: var(--copper-ink); }

.more { background: var(--charcoal); padding: var(--sec) 0; }
.more__head { display: flex; justify-content: space-between; align-items: end; gap: 16px; flex-wrap: wrap; margin-bottom: 22px; }
.more__head h2 { font-size: var(--t-h2); margin-top: 10px; }

/* ================= SHOP ================= */
.shophead__copy { display: grid; justify-items: start; }
.runchip { display: flex; align-items: center; gap: 16px; padding: 16px 20px; border: 1px solid rgba(201, 138, 94, .4); border-radius: 22px; background: rgba(21, 23, 26, .78); justify-self: start; }
.runchip__n { font: 700 clamp(2.4rem, 2rem + 1.6vw, 3.4rem)/1 var(--f-slab); color: var(--copper); font-variant-numeric: tabular-nums; }
.runchip__live { font: 600 var(--t-rim)/1.4 var(--f-slab); letter-spacing: .18em; text-transform: uppercase; color: var(--mute-d); display: flex; gap: 4px 14px; flex-wrap: wrap; margin-top: 4px; }
.runchip__live [data-drop-left]:not([hidden])::before { content: "\00B7"; margin-right: 14px; color: var(--copper); }

.filters { background: rgba(11, 12, 13, .95); border-block: 1px solid rgba(201, 138, 94, .22); position: relative; z-index: 30; }
@supports (backdrop-filter: blur(1px)) { .filters { backdrop-filter: blur(12px); background: rgba(11, 12, 13, .82); } }
/* Not sticky: twelve line chips need two rows on desktop, and a bar that tall would take a quarter of the screen. */
.filters__in { display: grid; gap: 6px; padding: 10px 0; }
/* From tablet width up the chips wrap, so every line filter is on screen and reachable with a mouse. Desktop also puts paths and the count on one row and gives the 12 lines their own. */
@media (min-width: 720px) { .filters .chips { flex-wrap: wrap; overflow: visible; } }
@media (min-width: 980px) {
  .filters__in { grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "paths end" "lines lines"; align-items: center; gap: 4px 18px; }
  .filters__in > .chips--paths { grid-area: paths; }
  .filters__in > .chips--lines { grid-area: lines; }
  .filters__in > .filters__end { grid-area: end; }
}
/* Phones: one-line rails that scroll sideways inside their own row. */
.chips { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; padding: 3px 2px; min-width: 0; }
.chips::-webkit-scrollbar { display: none; }
.chip {
  flex: none; min-height: 44px; padding: 0 16px; border-radius: 999px; border: 1px solid rgba(201, 138, 94, .45); background: transparent; color: var(--chalk);
  font: 600 .8125rem/1 var(--f-body); cursor: pointer; display: inline-flex; align-items: center; gap: 8px; transition: background-color .2s, border-color .2s, color .2s;
}
.chip:hover { border-color: var(--copper); }
.chip b { font: 700 .75rem/1 var(--f-slab); color: var(--copper); letter-spacing: .06em; }
.chip .dot { width: 12px; height: 12px; border-radius: 50%; background: var(--acc, var(--copper)); box-shadow: 0 0 0 1px rgba(242, 241, 237, .35); }
.chip[aria-pressed="true"] { background: var(--copper); color: var(--ink); border-color: var(--copper); }
.chip[aria-pressed="true"] b { color: var(--ink); }
.chip[hidden] { display: none; }
.filters__count { font: 600 var(--t-rim)/1.3 var(--f-slab); letter-spacing: .16em; text-transform: uppercase; color: var(--mute-d); }

.pathhead { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 6px 22px; align-items: center; padding: clamp(36px, 5vw, 64px) 0 clamp(18px, 2.4vw, 30px); }
.pathhead__num { font: 700 clamp(4rem, 3rem + 6vw, 8rem)/.8 var(--f-slab); color: transparent; -webkit-text-stroke: 1px var(--copper); opacity: .75; letter-spacing: -.02em; }
.pathhead__copy { display: grid; gap: 8px; }
.pathhead h2 { font-size: var(--t-h2); }
.pathhead__copy p:last-child { color: var(--mute-d); max-width: 52ch; }
.pathhead__lines { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 8px; padding-top: 14px; margin-top: 8px; border-top: 1px solid var(--rule-d); }
.pathhead__lines a { min-height: 44px; display: inline-flex; align-items: center; gap: 8px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--rule-d); text-decoration: none; font: 600 .8125rem/1 var(--f-body); color: var(--chalk); }
.pathhead__lines a:hover { border-color: var(--copper); }
.pathhead__lines a b { font: 700 .75rem/1 var(--f-slab); color: var(--copper); }
.pathhead__lines .pathhead__hub { margin-left: auto; border-color: transparent; color: var(--copper); }
.spath--keepsakes { background: var(--charcoal); padding-bottom: clamp(40px, 5vw, 72px); }
.spath__more { padding-top: clamp(30px, 4vw, 52px); display: grid; gap: 16px; }
.spath__more > p, .spath__note { color: var(--mute-d); max-width: 62ch; }
.spath__note { margin-bottom: 20px; }

.shopline { min-width: 0; }
.shopline__in { display: grid; gap: clamp(18px, 2.4vw, 30px); align-items: start; }
@media (min-width: 1000px) { .shopline__in { grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); } }
.shopline--ess { padding: clamp(34px, 5vw, 64px) 0; }
.shopline__photo { position: relative; display: block; border-radius: 24px; overflow: hidden; aspect-ratio: 4 / 3; text-decoration: none; color: var(--chalk); isolation: isolate; box-shadow: 0 0 0 1px rgba(122, 69, 38, .5), 0 26px 40px -24px rgba(0, 0, 0, .55); }
@media (min-width: 1000px) { .shopline__photo { aspect-ratio: 3 / 4; position: sticky; top: calc(var(--nav-h) + 84px); } }
.shopline__photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .8s var(--ease); }
.shopline__photo:hover img { transform: scale(1.04); }
.shopline__photo::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(11, 12, 13, .94), rgba(11, 12, 13, .25) 55%, transparent); }
.shopline__cap { position: absolute; left: 0; right: 0; bottom: 0; padding: 20px; display: grid; gap: 6px; }
.shopline__cap b { font: 700 var(--t-h3)/1.05 var(--f-slab); }
.shopline__cap em { font-style: normal; color: #d6d0c6; }
.on-bone .shopline__cap .rim, .shopline__cap .rim { color: var(--copper-hi); }
.on-bone .shopline__cap .link-arrow, .shopline__cap .link-arrow { color: var(--copper-hi); }

.shopline--field { background: var(--charcoal); padding: clamp(34px, 5vw, 64px) 0 clamp(40px, 5vw, 72px); position: relative; isolation: isolate; }
.shopline--field::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(70% 60% at 85% 0%, rgba(201, 138, 94, .10), transparent 70%); }
.shopline__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px 20px; margin-bottom: 20px; }
.shopline__head h3 { font-size: var(--t-h2); margin-top: 10px; }
.shopline__more { margin-top: 12px; }
.shopline--small .shopline__head h3 { font-size: var(--t-h3); }
.shopline--small { padding-top: clamp(8px, 2vw, 24px); }

.stamp { position: relative; width: 116px; aspect-ratio: 1; display: grid; place-content: center; text-align: center; flex: none; }
@media (min-width: 900px) { .stamp { width: 136px; } }
.stamp__ring { position: absolute; inset: 0; width: 100%; height: 100%; }
.stamp__ring text { fill: var(--copper); font: 600 11.5px var(--f-slab); letter-spacing: 2.2px; }
.stamp__ring circle { fill: none; stroke: var(--copper); }
.stamp__k { font: 600 .5625rem/1 var(--f-slab); letter-spacing: .2em; text-transform: uppercase; color: var(--mute-d); }
.stamp__n { font: 700 2rem/1 var(--f-slab); color: var(--copper); font-variant-numeric: tabular-nums; margin: 2px 0; }
@media (min-width: 900px) { .stamp__n { font-size: 3rem; } }

.runstrip { margin: 0 0 22px; display: flex; flex-wrap: wrap; gap: 1px; border: 1px solid var(--rule-d); border-radius: 18px; overflow: hidden; background: var(--rule-d); }
.runstrip div { flex: 1 1 150px; padding: 12px 16px; background: var(--char-2); display: grid; gap: 5px; align-content: start; }
.runstrip dt { font: 600 var(--t-rim)/1 var(--f-slab); letter-spacing: .2em; text-transform: uppercase; color: var(--copper); }
.runstrip dd { margin: 0; color: var(--chalk); font-variant-numeric: tabular-nums; }
.runstrip--stack { flex-direction: column; margin-bottom: 0; }
.runstrip--stack div { flex: none; grid-template-columns: 6.5rem minmax(0, 1fr); align-items: baseline; }

.shopgrid { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--g); grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 720px) { .shopgrid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .shopgrid--four { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.shopgrid .piece { scroll-snap-align: none; }
.shopgrid .piece__meta { padding: 28px 12px 12px; }
.shopgrid .piece__latin { display: none; }
.shopgrid .piece__meta h3 { font-size: 1.0625rem; }
.shopgrid .piece__reading { font-size: .8125rem; }
.shopgrid .piece__buy { flex-wrap: wrap; }
.shopgrid .piece__buy .add { flex: 1 1 100%; justify-content: center; }
.shopgrid .piece__buy .price--soft { flex: 1 1 100%; }
@media (min-width: 720px) {
  .shopgrid .piece__meta { padding: 30px 16px 16px; }
  .shopgrid .piece__latin { display: block; }
  .shopgrid .piece__meta h3 { font-size: 1.25rem; }
  .shopgrid .piece__reading { font-size: .875rem; }
  .shopgrid .piece__buy .add { flex: 0 1 auto; }
  .shopgrid .piece__buy .price--soft { flex: 0 1 auto; }
}
.shopline--ess .piece { box-shadow: 0 18px 30px -22px rgba(11, 12, 13, .7); }

.ltiles { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--g); grid-template-columns: minmax(0, 1fr); }
.ltile-wrap { min-width: 0; }
.ltile {
  --acc: var(--copper); --tint: var(--charcoal);
  position: relative; display: grid; align-content: end; height: 100%; min-height: clamp(250px, 34vw, 340px); border-radius: 24px; overflow: hidden; isolation: isolate; text-decoration: none; color: var(--chalk);
  box-shadow: 0 0 0 1px rgba(201, 138, 94, .3); background: var(--tint);
}
.ltile > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .8s var(--ease); }
.ltile::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, color-mix(in oklab, var(--tint) 96%, #000) 0%, color-mix(in oklab, var(--tint) 84%, transparent) 45%, color-mix(in oklab, var(--tint) 30%, transparent) 72%, transparent 100%); }
.ltile:hover > img { transform: scale(1.04); }
.ltile__body { padding: 20px; display: grid; gap: 5px; text-shadow: 0 1px 12px rgba(0, 0, 0, .55); }
.ltile__path { font: 600 var(--t-rim)/1.2 var(--f-slab); letter-spacing: .2em; text-transform: uppercase; color: var(--acc); }
.ltile__name { font: 700 var(--t-h3)/1.05 var(--f-slab); }
.ltile__status { font-size: var(--t-small); color: #d6d0c6; }
.ltile__read { font: 600 1rem/1.3 var(--f-slab); color: var(--acc); }
.ltile__foot { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 8px; padding-top: 10px; border-top: 1px solid rgba(201, 138, 94, .3); font-size: var(--t-small); color: var(--mute-d); }
.ltile__go { font-size: 1.1rem; color: var(--acc); transition: transform .3s var(--ease); }
.ltile:hover .ltile__go { transform: translateX(4px); }
@media (min-width: 640px) { .ltiles--two, .ltiles--keep { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 900px) {
  .ltiles--outdoors { grid-template-columns: repeat(12, minmax(0, 1fr)); }
  .ltiles--outdoors .ltile-wrap { grid-column: span 6; }
  .ltiles--outdoors .ltile-wrap--big { grid-column: 1 / 8; grid-row: 1 / 3; }
  .ltiles--outdoors .ltile-wrap--big + .ltile-wrap, .ltiles--outdoors .ltile-wrap--big + .ltile-wrap + .ltile-wrap { grid-column: 8 / 13; }
  .ltiles--outdoors .ltile-wrap--big .ltile { min-height: 520px; }
}
.ltile-wrap--big .ltile { min-height: clamp(320px, 62vw, 420px); }
.ltile-wrap--big .ltile__name { font-size: clamp(2.4rem, 1.2rem + 4vw, 4.2rem); }
.keepgrid { display: grid; gap: clamp(26px, 3.4vw, 44px); }

.flipper { padding: clamp(30px, 4.4vw, 52px) 0; }
.flipper__in { display: flex; flex-wrap: wrap; gap: 14px 40px; align-items: center; justify-content: space-between; }
.flipbtn { display: flex; align-items: center; gap: 18px; background: none; border: 0; cursor: pointer; padding: 6px 12px 6px 4px; border-radius: 999px; color: var(--ink); min-height: 96px; text-align: left; }
.flipbtn .vc-coin { pointer-events: none; flex: none; }
.flipbtn__t { font: 600 clamp(1.25rem, 1rem + 1vw, 1.75rem)/1.1 var(--f-slab); }
.flipbtn__t b { color: var(--copper-ink); }

/* ================= MINT ROLL ================= */
.rollhead h1 { max-width: 16ch; }
.rollhead__facts { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 10px; color: var(--copper); }
.roll { display: grid; gap: 24px; padding: clamp(24px, 4vw, 52px) 0 var(--sec); }
@media (min-width: 1100px) { .roll { grid-template-columns: 210px minmax(0, 1fr); gap: 40px; } }
.rollindex { display: flex; gap: 22px; overflow-x: auto; scrollbar-width: none; padding-bottom: 6px; min-width: 0; }
.rollindex::-webkit-scrollbar { display: none; }
.rollindex__path { display: flex; align-items: center; gap: 8px; flex: none; }
.rollindex__path .rim { color: var(--copper); }
.rollindex__path .rim i { margin-right: .5em; color: var(--mute-d); }
.rollindex a { min-height: 44px; display: inline-flex; align-items: center; gap: 8px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--rule-d); text-decoration: none; font: 600 .8125rem/1 var(--f-body); color: var(--chalk); white-space: nowrap; }
.rollindex a:hover { border-color: var(--copper); }
.rollindex a b { font: 700 .75rem/1 var(--f-slab); color: var(--copper); }
@media (min-width: 1100px) {
  .rollindex { display: grid; gap: 22px; align-content: start; position: sticky; top: calc(var(--nav-h) + 20px); align-self: start; overflow: visible; }
  .rollindex__path { display: grid; gap: 2px; }
  .rollindex__path .rim { margin-bottom: 6px; }
  .rollindex a { border: 0; border-radius: 10px; padding: 0 10px; justify-content: space-between; color: var(--mute-d); }
  .rollindex a:hover { background: rgba(201, 138, 94, .1); color: var(--chalk); }
}
.roll__body { min-width: 0; }
.rollpath { display: flex; align-items: center; gap: 20px; margin: clamp(34px, 5vw, 60px) 0 20px; }
.roll__body > .rollpath:first-child { margin-top: 0; }
.rollpath__num { font: 700 clamp(3.4rem, 2.6rem + 5vw, 6.5rem)/.8 var(--f-slab); color: transparent; -webkit-text-stroke: 1px var(--copper); opacity: .75; }
.rollpath h2 { font-size: var(--t-h2); margin: 6px 0; }
.rollpath p:last-child { color: var(--mute-d); max-width: 50ch; }

.rgroup {
  --acc: var(--copper); --tint: var(--charcoal); --pat: none;
  position: relative; isolation: isolate; overflow: hidden; border-radius: 28px; padding: clamp(16px, 3vw, 32px); scroll-margin-top: calc(var(--nav-h) + 16px);
  background: linear-gradient(160deg, color-mix(in oklab, var(--tint) 82%, #000), var(--charcoal) 78%);
  box-shadow: 0 0 0 1px rgba(201, 138, 94, .28);
}
.rgroup::before { content: ""; position: absolute; inset: 0; z-index: -1; background-image: var(--pat); background-size: 520px auto; opacity: .09; }
.rgroup + .rgroup { margin-top: clamp(16px, 2.4vw, 26px); }
.rgroup__head { display: flex; justify-content: space-between; align-items: end; gap: 10px 20px; flex-wrap: wrap; margin-bottom: 16px; }
.rgroup__k { font: 600 var(--t-rim)/1.3 var(--f-slab); letter-spacing: .2em; text-transform: uppercase; color: var(--acc); }
.rgroup h3 { font-size: var(--t-h3); margin: 6px 0 2px; }
.rgroup__status { color: var(--mute-d); font-size: var(--t-small); }

.rollgrid-wrap { container-type: inline-size; }
.rollgrid { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.tile-wrap { grid-column: span var(--m, 1); aspect-ratio: var(--ar, 1); min-width: 0; display: block; }
.tile-wrap--go[data-fill-m="0"] { display: none; }
@media (min-width: 760px) {
  .rollgrid { --rg: 12px; gap: var(--rg); grid-template-columns: repeat(6, minmax(0, 1fr)); grid-auto-rows: calc((100cqw - 5 * var(--rg)) / 3 + var(--rg)); }
  .tile-wrap { grid-column: span var(--d, 2); aspect-ratio: auto; }
  .tile-wrap--go[data-fill-m="0"] { display: block; }
  .tile-wrap--go[data-fill-d="0"] { display: none; }
}
.tile { position: relative; display: block; width: 100%; height: 100%; border-radius: 14px; overflow: hidden; background: #0f1012; box-shadow: 0 0 0 1px rgba(201, 138, 94, .22); isolation: isolate; }
.tile > img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.tile:hover > img { transform: scale(1.05); }
.tile__cap { position: absolute; left: 8px; right: 8px; bottom: 8px; padding: 6px 10px; border-radius: 10px; background: rgba(11, 12, 13, .8); font-size: .75rem; line-height: 1.25; opacity: 0; transform: translateY(6px); transition: opacity .25s, transform .25s var(--ease); }
.tile:hover .tile__cap, .tile:focus-visible .tile__cap { opacity: 1; transform: none; }
@media (hover: none) { .tile__cap { opacity: 1; transform: none; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } }
.tile--go { display: grid; place-content: center; justify-items: center; gap: 8px; text-align: center; background: var(--ink); color: var(--acc); font: 700 1rem/1.2 var(--f-slab); text-decoration: none; padding: 12px; }
.tile--go::before { content: ""; position: absolute; inset: -20%; z-index: -1; background: var(--acc); opacity: .08; -webkit-mask: url(/img/guilloche-rosette.svg) center / contain no-repeat; mask: url(/img/guilloche-rosette.svg) center / contain no-repeat; }
.tile--go svg { width: 30px; height: 30px; }
.tile--go b { font-weight: 400; font-size: 1.25rem; transition: transform .3s var(--ease); }
.tile--go:hover b { transform: translateX(4px); }

.lb { border: 0; padding: 0; background: var(--ink); color: var(--chalk); width: 100vw; max-width: 100vw; height: 100dvh; max-height: 100dvh; margin: 0; overflow: hidden; }
.lb[open] { display: grid; grid-template-rows: auto minmax(0, 1fr) auto; }
.lb::backdrop { background: rgba(0, 0, 0, .92); }
.lb__bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 8px var(--gut); border-bottom: 1px solid var(--rule-d); }
.lb__where { color: var(--copper); }
.lb__x { width: 48px; height: 48px; border-radius: 50%; border: 1px solid rgba(201, 138, 94, .55); background: transparent; color: var(--chalk); font-size: 1.75rem; line-height: 1; cursor: pointer; }
.lb__x:hover { background: rgba(201, 138, 94, .14); }
.lb__stage { position: relative; display: grid; grid-template-columns: minmax(0, 1fr); grid-template-rows: minmax(0, 1fr); place-items: center; padding: 12px 64px; min-height: 0; min-width: 0; }
.lb__img { min-width: 0; min-height: 0; max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; border-radius: 12px; box-shadow: 0 0 0 1px rgba(201, 138, 94, .3); }
.lb__nav { position: absolute; top: 50%; translate: 0 -50%; width: 48px; height: 48px; border-radius: 50%; border: 1px solid rgba(201, 138, 94, .55); background: rgba(11, 12, 13, .7); color: var(--copper); font-size: 1.9rem; line-height: 1; cursor: pointer; display: grid; place-items: center; padding-bottom: 4px; }
.lb__nav:hover { background: rgba(201, 138, 94, .18); }
.lb__nav--prev { left: 8px; }
.lb__nav--next { right: 8px; }
.lb__cap { display: flex; align-items: center; justify-content: space-between; gap: 6px 20px; flex-wrap: wrap; padding: 10px var(--gut) calc(10px + env(safe-area-inset-bottom)); border-top: 1px solid var(--rule-d); }
.lb__label { font: 600 1.0625rem/1.2 var(--f-slab); }
.lb__count { color: var(--mute-d); font-variant-numeric: tabular-nums; }

/* ================= DROPS ================= */
.ledgerband.arc-top { padding-bottom: var(--sec); }
.ledgerband__head { display: grid; gap: 6px; margin-bottom: 22px; }
.ledgerband__head h2 { font-size: var(--t-h2); }
.ledgerband__fine { margin-top: 18px; color: var(--mute-l); max-width: 62ch; font-size: var(--t-small); }
.mled-wrap { overflow-x: auto; }
.mled { width: 100%; border-collapse: collapse; border-top: 2px solid var(--ink); }
.mled thead th { font: 600 var(--t-rim)/1 var(--f-slab); letter-spacing: .2em; text-transform: uppercase; color: var(--copper-ink); text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--ink); }
.mled tbody th, .mled td { padding: 20px 14px; border-bottom: 1px solid var(--rule-l); text-align: left; vertical-align: top; font-variant-numeric: tabular-nums; }
.mled tbody th { font-weight: 400; }
.mled tbody th b { display: block; font: 700 1.5rem/1.1 var(--f-slab); }
.mled tbody th span { display: block; color: var(--mute-l); margin-top: 2px; }
.mled tbody th a { display: inline-flex; align-items: center; min-height: 44px; color: var(--copper-ink); font-weight: 600; }
.mled td { font: 600 1.0625rem/1.3 var(--f-slab); }
.mled .is-next td, .mled .is-next th b { color: var(--mute-l); }
.mled small { display: block; font: 500 .8125rem/1.4 var(--f-body); color: var(--mute-l); margin-top: 2px; }
@media (max-width: 759px) {
  .mled thead { display: none; }
  .mled, .mled tbody, .mled tr, .mled th, .mled td { display: block; }
  .mled tr { padding: 14px 0; border-bottom: 1px solid var(--ink); }
  .mled tbody th { padding: 0 0 6px; border: 0; }
  .mled td { display: grid; grid-template-columns: 6.5rem minmax(0, 1fr); gap: 12px; padding: 6px 0; border: 0; }
  .mled td::before { content: attr(data-label); font: 600 var(--t-rim)/1.8 var(--f-slab); letter-spacing: .2em; text-transform: uppercase; color: var(--copper-ink); }
}

.d01 { background: var(--charcoal); position: relative; isolation: isolate; padding: var(--sec) 0; --acc: var(--copper); }
.d01::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(70% 60% at 85% 0%, rgba(201, 138, 94, .10), transparent 70%); }
.d01__head { display: flex; justify-content: space-between; gap: 20px; align-items: center; margin-bottom: clamp(24px, 3vw, 40px); }
.d01__head h2 { font-size: var(--t-h2); margin: 10px 0 12px; }
.d01__run { display: grid; gap: clamp(22px, 3vw, 40px); margin-bottom: clamp(28px, 4vw, 48px); }
@media (min-width: 900px) { .d01__run { grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); align-items: start; } }
.d01__beadwrap { display: grid; gap: 14px; }
.beads48 { display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); gap: 8px; }
@media (min-width: 600px) { .beads48 { grid-template-columns: repeat(12, minmax(0, 1fr)); } }
.beads48 i { aspect-ratio: 1; border-radius: 50%; display: grid; place-items: center; font: 600 .6875rem/1 var(--f-slab); font-style: normal; letter-spacing: .04em; color: var(--mute-d); box-shadow: 0 0 0 1px rgba(201, 138, 94, .42); font-variant-numeric: tabular-nums; }
.beads48 i.is-sold { background: radial-gradient(circle at 35% 30%, #e7b892, var(--copper) 55%, var(--copper-lo)); color: var(--ink); box-shadow: none; }
.d01__fine { font-size: var(--t-small); color: var(--mute-d); }
.d01__facts { display: grid; gap: 18px; }
.d01__give { margin: 0; border-top: 2px solid var(--copper); }
.d01__give div { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--rule-d); align-items: baseline; }
.d01__give dt { font: 600 var(--t-rim)/1.2 var(--f-slab); letter-spacing: .2em; text-transform: uppercase; color: var(--copper); }
.d01__give dd { margin: 0; font: 600 1.0625rem/1.2 var(--f-slab); text-align: right; }
.d01__give dd.pending { color: var(--mute-d); font-style: italic; font-weight: 500; }
.d01__give a { color: var(--copper-hi); }
.d01__cta { display: flex; flex-wrap: wrap; gap: 12px 24px; align-items: center; margin-top: 24px; }

.d02 { --acc: #e8641b; --tint: #2a2419; position: relative; isolation: isolate; padding: var(--sec) 0; background: linear-gradient(160deg, color-mix(in oklab, var(--tint) 85%, #000), var(--charcoal) 80%); }
.d02::before { content: ""; position: absolute; inset: 0; z-index: -1; background-image: var(--pat); background-size: 520px auto; opacity: .09; }
.d02__in { display: grid; gap: clamp(24px, 4vw, 56px); align-items: center; }
@media (min-width: 900px) { .d02__in { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); } .d02__cards { grid-column: 1 / -1; } }
.d02__photo { margin: 0; position: relative; aspect-ratio: 1000 / 664; border-radius: 26px; overflow: hidden; box-shadow: 0 0 0 1px rgba(201, 138, 94, .35), 0 30px 60px -30px #000; }
.d02__photo img { width: 100%; height: 100%; object-fit: cover; }
.d02__words { display: grid; gap: 16px; align-content: center; min-width: 0; }
.d02 .eyebrow { color: var(--acc); }
.d02 h2 { font-size: clamp(3rem, 2rem + 6vw, 6rem); letter-spacing: -.02em; line-height: .95; }
.d02__status { font: 600 var(--t-rim)/1.3 var(--f-slab); letter-spacing: .2em; text-transform: uppercase; color: var(--acc); }
.d02__facts { margin: 0; display: flex; flex-wrap: wrap; gap: 10px 28px; }
.d02__facts div { display: grid; gap: 4px; }
.d02__facts dt { font: 600 var(--t-rim)/1 var(--f-slab); letter-spacing: .2em; text-transform: uppercase; color: var(--mute-d); }
.d02__facts dd { margin: 0; font: 600 1rem/1.2 var(--f-slab); }
.d02__cards { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--g); grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 720px) { .d02__cards { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.d02__cards .piece { scroll-snap-align: none; }
.d02__cards .piece__meta { padding: 28px 12px 12px; }
.d02__cards .piece__latin { display: none; }
@media (min-width: 720px) { .d02__cards .piece__meta { padding: 30px 16px 16px; } .d02__cards .piece__latin { display: block; } }

.notify--dark label { color: var(--copper); }
.notify--dark input { background: rgba(11, 12, 13, .55); color: var(--chalk); border-color: rgba(201, 138, 94, .5); }
.notify--dark input::placeholder { color: var(--mute-d); }
.notify--dark input:focus-visible { outline-color: var(--copper); }
.notify--dark .notify__msg { color: var(--mute-d); }
.notify__msg.is-ok { color: var(--copper-hi); }
.notify__msg.is-err { color: #f3b79e; }

.terms__in { display: grid; gap: 24px; padding: var(--sec) 0; }
@media (min-width: 900px) { .terms__in { grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); gap: 56px; align-items: start; } }
.terms__in h2 { font-size: var(--t-h2); margin-top: 10px; }
.terms__list { margin: 0; border-top: 2px solid var(--ink); }
.terms__list div { display: grid; grid-template-columns: 9rem minmax(0, 1fr); gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--rule-l); align-items: baseline; }
.terms__list dt { font: 600 var(--t-rim)/1.3 var(--f-slab); letter-spacing: .2em; text-transform: uppercase; color: var(--copper-ink); }
.terms__list dd { margin: 0; }
.terms__list a { color: var(--copper-ink); font-weight: 600; }
@media (max-width: 519px) { .terms__list div { grid-template-columns: minmax(0, 1fr); gap: 4px; } }

/* ================= MOTION GUARDS ================= */
@media (prefers-reduced-motion: no-preference) {
  .tag__read.is-swap span { animation: waterfall 520ms var(--ease) both; }
  .tag__read.is-swap span:nth-child(2) { animation-delay: 60ms; }
  .tag__read.is-swap span:nth-child(3) { animation-delay: 120ms; }
}
@media (prefers-reduced-motion: reduce) {
  .gal__thumb, .tile > img, .ltile > img, .shopline__photo img, .ltile__go, .chip { transition: none; }
  .gal__track { scroll-behavior: auto; }
}

/* anchors under the sticky nav */
[id^="line-"] { scroll-margin-top: calc(var(--nav-h) + 16px); }

/* a rail that fills the row when it holds only a few cards (--n on the track) */
@media (min-width: 1000px) { .rail--fit .rail__track { grid-auto-columns: calc((100% - (var(--n, 4) - 1) * 18px) / var(--n, 4)); } }

/* two-up phones: the "front / back" mark would collide with the run mark */
@media (max-width: 719px) { .shopgrid .piece__two, .d02__cards .piece__two { display: none; } }
@media (max-width: 599px) { .lb__stage { padding: 8px 8px 64px; } .lb__nav { top: auto; bottom: 8px; translate: 0 0; } .lb__nav--prev { left: 12px; } .lb__nav--next { right: 12px; } }
.mled__v { display: block; }
/* the bag toast clears the phone buy bar on product pages */
@media (max-width: 979px) { body.p-product .toast { bottom: calc(58px + 66px + 12px + env(safe-area-inset-bottom)); } }

/* ================= /shop full catalog + previous / next navigation (append to store.css) ================= */
.shopline--all { padding: clamp(30px, 4vw, 56px) 0; position: relative; }
.shopline--all .shopline__head h3 { font-size: var(--t-h2); margin-top: 8px; }
.shopline__read { font: 600 1.0625rem/1.3 var(--f-slab); color: var(--acc, var(--copper)); margin-top: 8px; }
.shopline__side { display: grid; gap: 2px; justify-items: end; }
.shopline__count { font: 600 var(--t-rim)/1.3 var(--f-slab); letter-spacing: .16em; text-transform: uppercase; color: var(--mute-d); }
.shopline__run { display: grid; gap: 16px; margin-bottom: 22px; }
@media (min-width: 900px) { .shopline__run { grid-template-columns: minmax(0, 1fr) auto; align-items: center; } }
.chip b:last-child { margin-left: 2px; opacity: .8; }

.filters__end { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; justify-content: space-between; min-width: 0; }
.linenav { display: flex; gap: 8px; }
.linenav[hidden] { display: none; }
.linenav__b {
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 14px; border-radius: 999px; cursor: pointer;
  background: transparent; border: 1px solid rgba(201, 138, 94, .55); color: var(--chalk); font: 600 .8125rem/1 var(--f-body);
  transition: background-color .25s, border-color .25s;
}
.linenav__b:hover { background: rgba(201, 138, 94, .12); border-color: var(--copper); }
.linenav__b span:first-child, .linenav__b span:last-child { color: var(--copper); }

.pnav { display: grid; gap: 12px; margin-block: clamp(28px, 4vw, 56px); grid-template-columns: minmax(0, 1fr); }
@media (min-width: 760px) { .pnav { grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: stretch; } }
.pnav__a {
  display: grid; grid-template-columns: 64px minmax(0, 1fr); grid-template-areas: "k k" "img n"; gap: 8px 14px; align-content: center;
  padding: 14px; border: 1px solid var(--rule-d); border-radius: 18px; background: var(--char-2); text-decoration: none; min-height: 44px;
  transition: border-color .25s, transform .25s var(--ease);
}
.pnav__a--next { grid-template-columns: minmax(0, 1fr) 64px; grid-template-areas: "k k" "n img"; text-align: right; }
.pnav__a:hover, .pnav__mid:hover { border-color: var(--copper); }
.pnav__a:hover { transform: translateY(-2px); }
.pnav__k { grid-area: k; font: 600 var(--t-rim)/1.2 var(--f-slab); letter-spacing: .2em; text-transform: uppercase; color: var(--copper); }
.pnav__img { grid-area: img; }
.pnav__img img { width: 64px; height: 64px; border-radius: 12px; object-fit: cover; background: #101113; }
.pnav__n { grid-area: n; display: grid; gap: 2px; align-content: center; font: 700 1.0625rem/1.2 var(--f-slab); }
.pnav__n em { font: 400 var(--t-small)/1.4 var(--f-body); font-style: normal; color: var(--mute-d); }
.pnav__mid {
  display: grid; place-items: center; align-content: center; gap: 4px; text-align: center; padding: 14px 22px; min-height: 44px;
  border: 1px solid rgba(201, 138, 94, .45); border-radius: 22px; text-decoration: none; transition: border-color .25s;
}
.pnav__mid b { font: 700 1rem/1.2 var(--f-slab); }
@media (prefers-reduced-motion: reduce) { .pnav__a, .linenav__b { transition: none; } .pnav__a:hover { transform: none; } }

.shopline--all { scroll-margin-top: calc(var(--nav-h) + 150px); }

/* ================= polish: scanning the long shop, phone buy bar ================= */
/* phones: when a line head wraps, its count and chapter link sit flush left instead of floating mid-row */
@media (max-width: 719px) { .shopline__side { justify-items: start; } }
/* each line head gets a hairline of copper above it, so 12 lines read as 12 chapters */
.shopline--all .shopline__head { position: relative; padding-top: 18px; }
.shopline--all .shopline__head::before { content: ""; position: absolute; left: 0; top: 0; width: 56px; height: 2px; border-radius: 2px; background: linear-gradient(90deg, var(--acc, var(--copper)), transparent); }

/* back to the filters: appears once the filter bar has scrolled out of view (product.js) */
.filters { scroll-margin-top: var(--nav-h); }
.totop {
  position: fixed; right: var(--gut); bottom: calc(58px + 14px + env(safe-area-inset-bottom)); z-index: 80;
  display: inline-flex; align-items: center; gap: 8px; min-height: 48px; padding: 0 18px 0 14px; border-radius: 999px;
  border: 1px solid rgba(201, 138, 94, .55); background: rgba(11, 12, 13, .94); color: var(--chalk); text-decoration: none;
  font: 600 .8125rem/1 var(--f-body); box-shadow: 0 14px 28px -12px #000, inset 0 1px 0 rgba(255, 236, 214, .12);
  opacity: 0; visibility: hidden; transform: translateY(10px);
  transition: opacity .3s, transform .3s var(--ease), visibility 0s linear .3s, border-color .2s;
}
.totop.is-on { opacity: 1; visibility: visible; transform: none; transition: opacity .3s, transform .3s var(--ease), visibility 0s, border-color .2s; }
.totop:hover { border-color: var(--copper); }
.totop:focus-visible { outline: 2px solid var(--copper); outline-offset: 3px; }
.totop span { color: var(--copper); font-size: 1.05rem; }
@media (min-width: 980px) { .totop { right: 28px; bottom: 28px; } }

/* the phone buy bar reads as a solid shelf, not a veil over the copy behind it */
.mbar { background: rgba(11, 12, 13, .98); box-shadow: 0 -16px 30px -20px #000; }
@supports (backdrop-filter: blur(1px)) { .mbar { background: rgba(11, 12, 13, .93); backdrop-filter: blur(14px); } }
@media (prefers-reduced-motion: reduce) { .totop, .totop.is-on { transition: none; transform: none; } }
