/* AUSCollectables — "bold collector" design
   Light paper background, near-black ink, bright pops of colour.
   Set colours (--set-*) come from sets.css, generated from catalog.js. */

:root {
  --ink: #0e0e12;
  --ink-2: #3d3d47;
  --muted: #71717c;
  --paper: #faf8f3;
  --surface: #ffffff;
  --tint: #f1eee6;
  --line: #e4e0d5;
  --yellow: #ffd338;
  --purple: #6b4dff;
  --red: #ff5647;
  --teal: #0fbf9f;
  --blue: #2e7bff;
  --pink: #ff7ac3;
  --danger: #c2301f;
  --ok: #0a7a5c;
  --r: 20px;
  --r-sm: 12px;
  --hard: 5px 5px 0 var(--ink);
  --soft: 0 1px 2px rgba(14, 14, 18, .04), 0 10px 30px rgba(14, 14, 18, .06);
  --display: "Bricolage Grotesque", "Inter", system-ui, sans-serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; overflow-x: clip; }
@media (min-width: 1100px) { html { font-size: clamp(16px, .5vw + 9.6px, 22px); } }
body { margin: 0; background: var(--paper); color: var(--ink); font: 1rem/1.6 var(--sans); -webkit-font-smoothing: antialiased; }
body { overflow-x: clip; }
body.no-scroll { overflow: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--ink); text-underline-offset: 3px; text-decoration-thickness: 1.5px; }
h1, h2, h3 { font-family: var(--display); font-weight: 800; line-height: 1.04; margin: 0 0 .45em; letter-spacing: -.025em; }
h1 { font-size: clamp(2.5rem, 5.6vw, 7rem); max-width: 16ch; }
h2 { font-size: clamp(1.9rem, 3.4vw, 4rem); }
h3 { font-size: 1.15rem; letter-spacing: -.015em; line-height: 1.2; }
p { margin: 0 0 1em; }
::selection { background: var(--yellow); color: var(--ink); }
:focus-visible { outline: 3px solid var(--purple); outline-offset: 2px; border-radius: 6px; }
.muted { color: var(--muted); }
.tiny { font-size: .8rem; }
.center { text-align: center; }
.wrap { max-width: none; margin: 0 auto; padding: 0 clamp(16px, 2.4vw, 56px); }
.narrow { max-width: 64rem; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 16px; top: 16px; z-index: 100; background: var(--surface); padding: 8px 12px; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.hl { background: linear-gradient(transparent 56%, var(--yellow) 56% 94%, transparent 94%); padding: 0 .08em; margin: 0 -.08em; }
.eyebrow { font: 700 .76rem var(--sans); text-transform: uppercase; letter-spacing: .14em; color: var(--purple); margin: 0 0 10px; }
.lede { font-size: clamp(1.1rem, 1.25vw, 1.3rem); color: var(--ink-2); max-width: 54ch; }
.stars, .stars-sm { color: #f5a700; letter-spacing: .06em; }
.dot { width: 9px; height: 9px; border-radius: 50%; background: var(--set-accent, var(--ink)); display: inline-block; flex: none; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  border-radius: 999px; padding: 12px 22px; font: 600 .95rem var(--sans); color: var(--ink);
  text-decoration: none; cursor: pointer; border: 2px solid var(--ink); background: var(--surface);
  transition: transform .18s var(--ease), box-shadow .18s var(--ease), background .15s;
}
.btn:hover { transform: translate(-2px, -2px); box-shadow: 4px 4px 0 var(--ink); }
.btn:active { transform: none; box-shadow: none; }
.btn-primary { background: var(--ink); color: #fff; }
.btn-primary:hover { box-shadow: 4px 4px 0 var(--yellow); }
.btn-pop { background: var(--yellow); }
.btn-ghost { background: transparent; }
.btn-small { padding: 8px 16px; font-size: .88rem; }
.btn-lg { padding: 15px 28px; font-size: 1.02rem; }
.btn-block { width: 100%; }
.btn:disabled { opacity: .45; cursor: not-allowed; transform: none; box-shadow: none; }
.btn-add { padding: 8px 14px 8px 11px; font-size: .88rem; gap: 5px; background: var(--yellow); flex: none; }
.link-btn { background: none; border: 0; padding: 0; font: inherit; color: var(--ink); text-decoration: underline; cursor: pointer; font-weight: 600; }
.icon-btn { border: 0; background: none; font-size: 1.1rem; cursor: pointer; width: 38px; height: 38px; border-radius: 50%; color: var(--ink); }
.icon-btn:hover { background: var(--tint); }

/* ---------- top bar + header ---------- */
.top-bar { background: var(--ink); color: #fff; font-size: .84rem; }
.top-bar-inner { display: flex; justify-content: space-between; gap: 16px; padding-top: 8px; padding-bottom: 8px; }
.top-bar a { color: #fff; text-decoration: none; }
.top-bar a:hover { text-decoration: underline; }
.top-bulk strong { color: var(--yellow); }
.site-header { position: sticky; top: 0; z-index: 20; background: color-mix(in srgb, var(--paper) 90%, transparent); backdrop-filter: saturate(1.4) blur(12px); border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; gap: 14px; height: 72px; }
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); flex: none; }
.logo-mark { width: 48px; height: auto; transition: transform .3s var(--ease); }
.logo:hover .logo-mark { transform: rotate(-6deg) scale(1.08); }
.logo-word { font: 800 1.02rem/1 var(--sans); letter-spacing: .1em; }
.logo-sm .logo-word { font-size: .92rem; }
.logo-sm .logo-mark { width: 40px; }
.logo-light { color: #fff; }
.nav { display: flex; align-items: center; gap: 4px; margin: 0 auto; }
.nav a, .nav-drop-btn { color: var(--ink-2); text-decoration: none; font: 500 .94rem var(--sans); padding: 8px 12px; border-radius: 999px; background: none; border: 0; cursor: pointer; transition: background .15s, color .15s; }
.nav a:hover, .nav-drop-btn:hover { background: var(--tint); color: var(--ink); }
.nav [aria-current="page"] { color: var(--ink); font-weight: 700; }
.nav .nav-bulk { background: var(--yellow); color: var(--ink); font-weight: 600; }
.nav .nav-bulk:hover { background: #ffc800; }
.nav-drop { position: relative; }
.nav-drop-menu { position: absolute; top: 100%; left: 0; min-width: 220px; background: var(--surface); border: 2px solid var(--ink); border-radius: var(--r-sm); box-shadow: var(--hard); padding: 6px; display: none; flex-direction: column; z-index: 5; }
.nav-drop:hover .nav-drop-menu, .nav-drop:focus-within .nav-drop-menu { display: flex; }
.nav-drop-menu a { display: flex; align-items: center; gap: 10px; border-radius: 8px; color: var(--ink); }
.icon-round { display: inline-grid; place-items: center; width: 42px; height: 42px; flex: none; border: 2px solid var(--ink); background: var(--surface); color: var(--ink); border-radius: 50%; cursor: pointer; transition: transform .18s var(--ease), box-shadow .18s var(--ease); }
.icon-round:hover { transform: translate(-1px, -1px); box-shadow: 3px 3px 0 var(--ink); }
.menu-btn { display: none; }
.cart-btn { display: inline-flex; align-items: center; gap: 8px; height: 42px; border: 2px solid var(--ink); background: var(--surface); color: var(--ink); border-radius: 999px; padding: 0 16px; font: 600 .92rem var(--sans); cursor: pointer; transition: transform .18s var(--ease), box-shadow .18s var(--ease), background .15s; }
.cart-btn:hover { transform: translate(-1px, -1px); box-shadow: 3px 3px 0 var(--ink); }
.cart-btn.has-items { background: var(--ink); color: #fff; }
.cart-btn.has-items:hover { box-shadow: 3px 3px 0 var(--yellow); }
.cart-count { background: var(--yellow); color: var(--ink); font-size: .75rem; font-weight: 700; min-width: 20px; height: 20px; border-radius: 999px; display: inline-grid; place-items: center; padding: 0 6px; }

/* ---------- sections ---------- */
.section { padding: clamp(72px, 7vw, 150px) 0; }
.section-flush { padding-top: 0; }
.section-tight { padding: 40px 0 72px; }
.section-tint { background: var(--tint); }
.section-head { margin-bottom: 36px; }
.section-head h2 { margin: 0; }
.section-head p:not(.eyebrow) { color: var(--ink-2); margin: 10px 0 0; max-width: 60ch; }
.row-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.crumbs { font-size: .84rem; color: var(--muted); margin: 0 0 18px; }
.crumbs a { color: inherit; }
.page-head { padding: 56px 0 8px; }
.page-head h1 { margin-bottom: .3em; }
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; margin: 28px 0 0; }
.center-row { justify-content: center; }

/* scroll reveal (class added by app.js only to sections below the fold) */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

/* ---------- home hero ---------- */
.hero { padding: 64px 0 56px; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(32px, 5vw, 96px); align-items: center; }
.hero-chip { display: inline-flex; align-items: center; gap: 8px; background: var(--surface); border: 2px solid var(--ink); border-radius: 999px; padding: 6px 14px; font-size: .88rem; text-decoration: none; margin-bottom: 22px; transition: transform .18s var(--ease), box-shadow .18s var(--ease); }
.hero-chip:hover { transform: translate(-2px, -2px); box-shadow: 4px 4px 0 var(--ink); }
.hero h1 { margin-bottom: .35em; }
.hero-art { position: relative; height: clamp(440px, 38vw, 820px); }
.proof { position: absolute; left: 0; top: 34px; width: 46%; z-index: 2; display: flex; flex-direction: column; background: var(--yellow); color: var(--ink); text-decoration: none; border: 2px solid var(--ink); border-radius: var(--r); padding: 22px; box-shadow: 8px 8px 0 var(--ink); transform: rotate(-3deg); transition: transform .3s var(--ease); }
.proof:hover { transform: rotate(-1deg) translateY(-4px); }
.proof-k { font: 700 .72rem var(--sans); text-transform: uppercase; letter-spacing: .14em; }
.proof-num { font: 800 clamp(3.4rem, 6vw, 4.8rem)/.95 var(--display); letter-spacing: -.05em; margin-top: 8px; }
.proof-l { font: 800 1.5rem/1 var(--display); letter-spacing: -.02em; }
.proof-m { font-size: .82rem; margin-top: 12px; }
.proof-cta { font-weight: 700; font-size: .88rem; margin-top: 12px; text-decoration: underline; text-underline-offset: 3px; }
.hero-product { position: absolute; right: 0; top: 0; width: 64%; background: #fff; border: 2px solid var(--ink); border-radius: var(--r); box-shadow: 8px 8px 0 var(--purple); transform: rotate(3deg); transition: transform .3s var(--ease); overflow: hidden; }
.hero-product:hover { transform: rotate(1.5deg) translateY(-4px); }
.hero-product img { width: 100%; aspect-ratio: 4 / 3; object-fit: contain; padding: 12px; }
.hero-product-tag { position: absolute; left: 12px; bottom: 12px; background: var(--ink); color: #fff; font: 700 .72rem var(--sans); text-transform: uppercase; letter-spacing: .1em; padding: 5px 10px; border-radius: 999px; }
.hero-quote { position: absolute; right: 6%; bottom: 0; width: 62%; margin: 0; z-index: 3; background: var(--surface); border: 2px solid var(--ink); border-radius: var(--r); padding: 18px 20px; box-shadow: 6px 6px 0 var(--teal); transform: rotate(-1.5deg); }
.hero-quote blockquote { margin: 6px 0 8px; font: 600 1.08rem/1.35 var(--display); letter-spacing: -.01em; }
.hero-quote figcaption { font-size: .8rem; color: var(--muted); }

.trust-strip { list-style: none; margin: 64px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.trust-strip li { display: flex; align-items: center; gap: 14px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 16px 18px; }
.trust-strip li > span:last-child { display: flex; flex-direction: column; line-height: 1.3; }
.trust-strip strong { font-size: .95rem; }
.trust-strip li > span:last-child span { color: var(--muted); font-size: .82rem; }
.trust-icon { width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; flex: none; border: 2px solid var(--ink); background: var(--yellow); }
.trust-strip li:nth-child(2) .trust-icon { background: var(--pink); }
.trust-strip li:nth-child(3) .trust-icon { background: var(--teal); }
.trust-strip li:nth-child(4) .trust-icon { background: #b9a8ff; }

/* ---------- reviews ---------- */
.reviews { display: grid; grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); gap: 20px; }
.review { --pop: var(--yellow); margin: 0; background: var(--surface); border: 2px solid var(--ink); border-radius: var(--r); padding: 26px; display: flex; flex-direction: column; gap: 16px; box-shadow: 5px 5px 0 var(--pop); transition: transform .25s var(--ease), box-shadow .25s var(--ease); }
.review:nth-child(3n+2) { --pop: var(--purple); }
.review:nth-child(3n) { --pop: var(--teal); }
.review:hover { transform: translate(-3px, -3px); box-shadow: 8px 8px 0 var(--pop); }
.review-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.review-source { font: 700 .68rem var(--sans); text-transform: uppercase; letter-spacing: .1em; color: var(--ok); background: #e3f6ef; padding: 4px 9px; border-radius: 999px; }
.review blockquote { margin: 0; font: 600 1.16rem/1.38 var(--display); letter-spacing: -.012em; flex: 1; }
.review figcaption { display: flex; flex-direction: column; font-size: .86rem; padding-top: 14px; border-top: 1px solid var(--line); }
.review figcaption span { color: var(--muted); }
.see-all { margin-top: 36px; }

/* ---------- eBay panel ---------- */
.ebay-panel { background: var(--surface); border: 2px solid var(--ink); border-radius: var(--r); padding: 26px 28px; box-shadow: var(--hard); display: flex; flex-direction: column; gap: 18px; margin-top: 28px; }
.ebay-score { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.ebay-rating { font: 800 clamp(3rem, 6vw, 4.2rem)/.9 var(--display); letter-spacing: -.05em; margin: 0; background: var(--yellow); border: 2px solid var(--ink); border-radius: 16px; padding: 12px 14px 14px; transform: rotate(-2deg); }
.ebay-line { font: 800 1.35rem/1.2 var(--display); letter-spacing: -.02em; margin: 0 0 4px; }
.ebay-meta { margin: 0; color: var(--ink-2); font-size: .92rem; }
.ebay-logo { font: 800 1.2em/1 var(--sans); letter-spacing: -.06em; white-space: nowrap; }
.ebay-logo b { font-weight: 800; }
.e1 { color: #e53238; } .e2 { color: #0064d2; } .e3 { color: #f5af02; } .e4 { color: #86b817; }
.ebay-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.ebay-note { margin: 0; color: var(--muted); }
.ebay-compact { box-shadow: none; border-width: 1px; border-color: var(--line); padding: 22px; }
.ebay-compact .ebay-rating { font-size: 2.4rem; padding: 8px 10px 10px; }

/* ---------- set tiles ---------- */
.set-tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 22px; }
.set-tile { position: relative; display: grid; grid-template-columns: 1.15fr 1fr; align-items: center; gap: 10px; min-height: clamp(300px, 26vw, 400px); padding: clamp(28px, 3vw, 48px); border: 2px solid var(--ink); border-radius: 28px; overflow: hidden; text-decoration: none; background: linear-gradient(135deg, var(--set-bg), var(--set-bg2)); color: var(--set-ink); transition: transform .25s var(--ease), box-shadow .25s var(--ease); }
.set-tile:hover { transform: translate(-4px, -4px); box-shadow: 9px 9px 0 var(--ink); }
.set-tile-text { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; }
.set-tile-kicker { font: 700 .72rem var(--sans); text-transform: uppercase; letter-spacing: .14em; color: var(--set-sub); }
.set-tile-name { font: 800 clamp(2rem, 3.6vw, 2.9rem)/1 var(--display); letter-spacing: -.035em; }
.set-tile-tag { color: var(--set-sub); font-size: .92rem; line-height: 1.45; margin-top: 4px; }
.set-tile-cta { margin-top: 16px; background: var(--set-accent); color: var(--set-accent-ink); border: 2px solid var(--ink); border-radius: 999px; padding: 8px 16px; font-weight: 700; font-size: .9rem; }
.set-tile-art { background: #fff; border: 2px solid var(--ink); border-radius: 18px; transform: rotate(5deg); box-shadow: 6px 6px 0 var(--set-accent); transition: transform .35s var(--ease); overflow: hidden; }
.set-tile:hover .set-tile-art { transform: rotate(2deg) scale(1.04); }
.set-tile-art img { width: 100%; aspect-ratio: 4 / 3; object-fit: contain; padding: 8px; }

/* ---------- product grid + cards ---------- */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 17rem), 1fr)); gap: clamp(18px, 1.8vw, 28px); }
.card { background: var(--surface); border: 2px solid var(--line); border-radius: var(--r); overflow: hidden; display: flex; flex-direction: column; transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .2s; }
.card:hover { transform: translate(-3px, -3px); border-color: var(--ink); box-shadow: 6px 6px 0 var(--set-accent, var(--ink)); }
.card.is-out { opacity: .6; }
.card-media { position: relative; display: block; aspect-ratio: 4 / 3; background: #fff; border-top: 6px solid var(--set-accent, var(--ink)); overflow: hidden; }
.card-media img { width: 100%; height: 100%; object-fit: contain; padding: 16px; transition: transform .45s var(--ease); }
.card:hover .card-media img { transform: scale(1.06); }
.ph { width: 100%; height: 100%; display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center; gap: 4px; padding: 18px; background: #fff; }
.ph-set { font-size: .72rem; text-transform: uppercase; letter-spacing: .14em; color: var(--muted); font-weight: 700; }
.ph-name { font: 800 1.4rem/1.1 var(--display); }
.ph-note { font-size: .72rem; color: var(--muted); margin-top: 6px; }
.badge { position: absolute; top: 12px; left: 12px; font: 700 .72rem var(--sans); padding: 5px 10px; border-radius: 999px; background: var(--surface); color: var(--ink); border: 2px solid var(--ink); }
.badge-pre { background: var(--purple); color: #fff; }
.badge-out { background: var(--ink); color: #fff; }
.badge-low { background: var(--red); color: #fff; }
.card-body { padding: 16px 18px 18px; display: flex; flex-direction: column; flex: 1; border-top: 1px solid var(--line); }
.card-set { display: inline-flex; align-items: center; gap: 7px; font: 600 .72rem var(--sans); text-transform: uppercase; letter-spacing: .1em; color: var(--muted); text-decoration: none; margin-bottom: 6px; align-self: flex-start; }
.card-set:hover { color: var(--ink); }
.card h3 { margin: 0 0 14px; font-size: 1.16rem; flex: 1; }
.card-link { text-decoration: none; }
.card-link:hover { text-decoration: underline; }
.card-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.price-wrap { display: inline-flex; align-items: baseline; gap: 7px; flex-wrap: wrap; }
.card .price-wrap { flex-direction: column; gap: 3px; }
.price { font: 800 1.38rem/1 var(--display); letter-spacing: -.02em; }
.was-price { color: var(--muted); font-size: .84rem; font-weight: 400; }
.card.flash { animation: flash 1.6s ease; }
@keyframes flash { 0%, 40% { box-shadow: 0 0 0 5px var(--yellow); } 100% { box-shadow: none; } }

/* ---------- promos ---------- */
.promo-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 22px; }
.promo-single { grid-template-columns: 1fr; }
.promo-single .promo { padding: clamp(36px, 5vw, 80px); }
.promo { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; padding: 36px; border: 2px solid var(--ink); border-radius: 28px; text-decoration: none; transition: transform .25s var(--ease), box-shadow .25s var(--ease); }
.promo:hover { transform: translate(-4px, -4px); }
.promo strong { font: 800 clamp(1.7rem, 3vw, 2.4rem)/1.05 var(--display); letter-spacing: -.03em; }
.promo > span:not(.eyebrow):not(.promo-cta) { max-width: 46ch; }
.promo-cta { margin-top: 14px; font-weight: 700; border: 2px solid currentColor; border-radius: 999px; padding: 9px 18px; }
.promo-bulk { background: var(--ink); color: #fff; }
.promo-bulk:hover { box-shadow: 9px 9px 0 var(--yellow); }
.promo-bulk .eyebrow, .promo-bulk strong { color: var(--yellow); }
.promo-bulk .promo-cta { background: var(--yellow); color: var(--ink); border-color: var(--yellow); }
.promo-local { background: #c9f5ea; color: var(--ink); }
.promo-local:hover { box-shadow: 9px 9px 0 var(--ink); }
.promo-local .eyebrow { color: #06624c; }

/* ---------- steps ---------- */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.steps li { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 26px 24px; }
.step-num { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; border: 2px solid var(--ink); background: var(--yellow); font: 800 1.1rem var(--display); margin-bottom: 16px; transform: rotate(-4deg); }
.steps li:nth-child(2) .step-num { background: var(--pink); transform: rotate(3deg); }
.steps li:nth-child(3) .step-num { background: var(--teal); }
.steps li:nth-child(4) .step-num { background: #b9a8ff; transform: rotate(4deg); }
.steps p { color: var(--ink-2); font-size: .93rem; margin: 0; }

/* ---------- shop toolbar + filters ---------- */
.toolbar { display: flex; gap: 10px; align-items: center; }
.tb-search { flex: 1; flex-direction: row; align-items: center; gap: 10px; background: var(--surface); border: 2px solid var(--ink); border-radius: 999px; padding: 0 18px; height: 50px; color: var(--muted); }
.tb-search input { border: 0; padding: 0; background: transparent; box-shadow: none; height: 100%; }
.tb-search input:focus { box-shadow: none; }
.tb-search:focus-within { box-shadow: 4px 4px 0 var(--yellow); }
.tb-btn { display: inline-flex; align-items: center; gap: 8px; height: 50px; padding: 0 20px; border: 2px solid var(--ink); border-radius: 999px; background: var(--surface); font: 600 .95rem var(--sans); color: var(--ink); cursor: pointer; transition: transform .18s var(--ease), box-shadow .18s var(--ease); }
.tb-btn:hover { transform: translate(-1px, -1px); box-shadow: 3px 3px 0 var(--ink); }
.tb-btn.is-on { background: var(--ink); color: #fff; }
.tb-badge { background: var(--yellow); color: var(--ink); font-size: .75rem; font-weight: 700; min-width: 20px; height: 20px; border-radius: 999px; display: inline-grid; place-items: center; padding: 0 6px; }
.tb-sort select { height: 50px; border: 2px solid var(--ink); border-radius: 999px; padding: 0 38px 0 18px; font: 600 .92rem var(--sans); width: auto; cursor: pointer; }
.tb-meta { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin: 16px 0 22px; min-height: 30px; }
.filter-count { margin: 0; color: var(--muted); font-size: .9rem; }
.active-tags { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.tag { display: inline-flex; align-items: center; gap: 6px; background: var(--yellow); border: 2px solid var(--ink); border-radius: 999px; padding: 3px 11px; font: 600 .82rem var(--sans); color: var(--ink); cursor: pointer; }
.tag:hover { background: var(--ink); color: #fff; }
.filter-empty { text-align: center; padding: 56px 20px; background: var(--surface); border: 2px dashed var(--line); border-radius: var(--r); }
.filter-label { font: 700 .72rem var(--sans); text-transform: uppercase; letter-spacing: .14em; color: var(--muted); }

/* ---------- panels (menu, search, filters) ---------- */
dialog.panel { border: 0; padding: 0; margin: 0; background: var(--surface); color: var(--ink); max-width: none; max-height: none; }
dialog.panel::backdrop, .overlay { background: rgba(14, 14, 18, .5); }
.panel-left, .panel-right { width: min(360px, 90vw); height: 100%; height: 100dvh; display: none; flex-direction: column; }
.panel-left { inset: 0 auto 0 0; border-right: 2px solid var(--ink); }
.panel-right { inset: 0 0 0 auto; border-left: 2px solid var(--ink); }
.panel-left[open] { display: flex; animation: slide-l .28s var(--ease); }
.panel-right[open] { display: flex; animation: slide-r .28s var(--ease); }
@keyframes slide-l { from { transform: translateX(-100%); } }
@keyframes slide-r { from { transform: translateX(100%); } }
.panel-top { width: min(720px, calc(100% - 24px)); inset: 76px 0 auto 0; margin: 0 auto; border: 2px solid var(--ink); border-radius: var(--r); box-shadow: var(--hard); max-height: calc(100dvh - 100px); display: none; flex-direction: column; overflow: hidden; }
.panel-top[open] { display: flex; animation: drop-in .22s var(--ease); }
@keyframes drop-in { from { transform: translateY(-14px); opacity: 0; } }
.panel-head { display: flex; align-items: center; justify-content: space-between; padding: 16px 20px; border-bottom: 1px solid var(--line); }
.fp-title { font-size: 1.5rem; margin: 0; }
.menu { padding: 8px 12px 16px; overflow-y: auto; flex: 1; display: flex; flex-direction: column; }
.menu-label { font: 700 .7rem var(--sans); text-transform: uppercase; letter-spacing: .14em; color: var(--muted); margin: 20px 10px 6px; }
.menu a, .menu .menu-link { display: flex; align-items: center; gap: 10px; padding: 11px 10px; border-radius: 10px; color: var(--ink); text-decoration: none; font: 600 1rem var(--sans); background: none; border: 0; text-align: left; cursor: pointer; width: 100%; }
.menu a:hover, .menu .menu-link:hover { background: var(--tint); }
.menu-count { margin-left: auto; font-size: .78rem; color: var(--muted); }
.menu-tag { margin-left: auto; font-size: .7rem; background: var(--yellow); padding: 3px 9px; border-radius: 999px; font-weight: 700; }
.menu-foot { border-top: 1px solid var(--line); padding: 14px 22px 20px; display: flex; flex-direction: column; gap: 4px; font-size: .9rem; }

.search-bar { display: flex; align-items: center; gap: 10px; padding: 10px 12px 10px 18px; border-bottom: 1px solid var(--line); color: var(--muted); }
.search-bar input { border: 0; box-shadow: none; padding: 10px 4px; font-size: 1.08rem; flex: 1; background: transparent; }
.search-bar input:focus { box-shadow: none; }
.search-results { overflow-y: auto; padding: 6px 18px 20px; }
.search-label { font: 700 .7rem var(--sans); text-transform: uppercase; letter-spacing: .14em; color: var(--muted); margin: 18px 0 8px; display: flex; justify-content: space-between; }
.search-all { text-transform: none; letter-spacing: 0; font-size: .84rem; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { border: 2px solid var(--ink); background: var(--surface); border-radius: 999px; padding: 6px 14px; font: 600 .86rem var(--sans); cursor: pointer; color: var(--ink); text-decoration: none; }
.chip:hover { background: var(--yellow); }
.chip-set { background: var(--set-accent); color: var(--set-accent-ink); }
.search-list, .search-links { list-style: none; margin: 0; padding: 0; }
.search-item { display: flex; align-items: center; gap: 12px; padding: 9px 0; border-bottom: 1px solid var(--line); }
.search-item img, .search-thumb { width: 60px; height: 45px; object-fit: contain; flex: none; background: #fff; border: 1px solid var(--line); border-radius: 8px; }
.search-main { flex: 1; min-width: 0; display: flex; flex-direction: column; color: var(--ink); text-decoration: none; }
.search-main strong { font-size: .95rem; }
.search-main .muted { font-size: .8rem; }
.search-main:hover strong { text-decoration: underline; }
.search-price { font-weight: 700; font-size: .92rem; white-space: nowrap; }
.search-links li { border-bottom: 1px solid var(--line); }
.search-links a { display: block; padding: 11px 0; font: 600 .95rem var(--sans); text-decoration: none; }
.search-links a:hover { text-decoration: underline; }
.search-empty { padding: 24px 0; text-align: center; }

.fp-body { flex: 1; overflow-y: auto; padding: 4px 20px 20px; }
.fp-section { border: 0; padding: 0; margin: 22px 0 0; }
.fp-section legend { font: 700 .7rem var(--sans); text-transform: uppercase; letter-spacing: .14em; color: var(--muted); padding: 0; margin-bottom: 6px; }
.opt { flex-direction: row; align-items: center; gap: 12px; padding: 10px 8px; border-radius: 10px; font-size: .98rem; font-weight: 500; color: var(--ink); cursor: pointer; }
.opt:hover { background: var(--tint); }
.opt input { appearance: none; width: 22px; height: 22px; flex: none; padding: 0; border: 2px solid var(--ink); border-radius: 7px; background: var(--surface); display: grid; place-items: center; cursor: pointer; }
.opt input:checked { background: var(--yellow); }
.opt input:checked::after { content: ""; width: 10px; height: 6px; border-left: 2.5px solid var(--ink); border-bottom: 2.5px solid var(--ink); transform: rotate(-45deg) translateY(-1px); }
.opt-label { display: inline-flex; align-items: center; gap: 8px; flex: 1; }
.opt-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--set-accent); border: 1.5px solid var(--ink); }
.opt-count { color: var(--muted); font-size: .84rem; }
.opt-all { color: var(--ink-2); }
.fp-hint { font-size: .8rem; color: var(--muted); margin: 6px 8px 0; }
.fp-foot { display: flex; gap: 10px; padding: 14px 20px calc(14px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); }
.fp-foot .btn-primary { flex: 1; }

/* ---------- cart drawer + checkout ---------- */
.overlay { position: fixed; inset: 0; z-index: 40; }
.cart { position: fixed; top: 0; right: 0; bottom: 0; z-index: 50; width: min(450px, 100%); background: var(--surface); border-left: 2px solid var(--ink); display: flex; flex-direction: column; transform: translateX(100%); transition: transform .28s var(--ease); }
.cart.open { transform: none; }
.cart-head { display: flex; align-items: center; justify-content: space-between; padding: 16px 22px; border-bottom: 1px solid var(--line); }
.cart-head h2 { font-size: 1.6rem; margin: 0; }
.cart-body { padding: 14px 22px 28px; overflow-y: auto; flex: 1; }
.cart-foot { border-top: 2px solid var(--ink); padding: 14px 22px calc(18px + env(safe-area-inset-bottom)); background: var(--surface); display: grid; gap: 8px; }
.cart-foot p { margin: 0; }
.cart-foot .subtotal { padding: 0; }
.empty { text-align: center; padding: 48px 0; color: var(--muted); }
.line { display: flex; align-items: center; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.line-img { width: 68px; height: 51px; object-fit: contain; background: #fff; border: 1px solid var(--line); border-radius: 10px; flex: none; }
.line-info { display: flex; flex-direction: column; flex: 1; min-width: 0; font-size: .92rem; line-height: 1.35; }
.line-info .muted { font-size: .8rem; }
.line-info > span:last-child { font-weight: 700; margin-top: 2px; }
.qty { display: flex; align-items: center; gap: 2px; border: 2px solid var(--ink); border-radius: 999px; height: 38px; padding: 0 3px; flex: none; }
.qty button { border: 0; background: none; width: 28px; height: 28px; border-radius: 50%; cursor: pointer; font-size: 1.05rem; color: var(--ink); }
.qty button:hover:not(:disabled) { background: var(--yellow); }
.qty button:disabled { opacity: .25; cursor: not-allowed; }
.qty span { min-width: 18px; text-align: center; font-weight: 700; font-size: .9rem; }
.cart-note { background: #f0ecff; border-radius: var(--r-sm); padding: 10px 14px; font-size: .86rem; margin: 14px 0 0; }
.row-between { display: flex; justify-content: space-between; align-items: baseline; }
.subtotal { padding: 18px 0 4px; font-size: 1.02rem; }
.subtotal strong, .total strong { font: 800 1.5rem var(--display); letter-spacing: -.02em; }
.total { padding: 14px 0; border-top: 2px solid var(--ink); margin-top: 8px; }
#start-checkout { margin-top: 12px; }
#start-checkout-note { margin: 10px 0 0; }
label { display: flex; flex-direction: column; gap: 6px; font-size: .85rem; font-weight: 600; color: var(--ink-2); }
input, select, textarea { font: 16px var(--sans); color: var(--ink); background: var(--surface); border: 2px solid var(--line); border-radius: var(--r-sm); padding: 11px 13px; width: 100%; transition: border-color .15s, box-shadow .15s; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--ink); box-shadow: 3px 3px 0 var(--yellow); }
input[readonly] { background: var(--tint); color: var(--ink-2); }
.step { padding: 20px 0 6px; border-top: 1px solid var(--line); margin-top: 16px; }
.step-title { display: flex; align-items: center; gap: 10px; font: 700 1.02rem var(--sans); letter-spacing: 0; margin: 0 0 12px; }
.step-dot { display: inline-grid; place-items: center; width: 28px; height: 28px; border-radius: 9px; background: var(--yellow); border: 2px solid var(--ink); font-size: .82rem; font-weight: 800; flex: none; }
.postcode-form { margin: 0; }
.inline { display: flex; gap: 8px; }
.inline input { flex: 1; min-width: 0; }
.local-hint { margin: 8px 0 0; }
.shipping-options { border: 0; padding: 0; margin: 0; }
.ship-opt { flex-direction: row; align-items: center; gap: 12px; border: 2px solid var(--line); border-radius: var(--r-sm); padding: 12px 14px; margin-bottom: 8px; cursor: pointer; color: var(--ink); font-weight: 400; }
.ship-opt:has(input:checked) { border-color: var(--ink); box-shadow: 3px 3px 0 var(--yellow); }
.ship-opt input { width: auto; accent-color: var(--ink); }
.ship-opt > span:nth-child(2) { display: flex; flex-direction: column; flex: 1; }
.ship-opt .muted { font-size: .8rem; }
.ship-price { font-weight: 700; }
.ship-local { background: #e9fbf5; }
.ship-tag { color: #06624c; font-weight: 700; margin-top: 2px; }
.address-form { display: flex; flex-direction: column; gap: 12px; }
.address-form .tiny { margin: 0; }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.cart-error { color: var(--danger); background: #fdecea; border: 2px solid var(--danger); border-radius: var(--r-sm); padding: 10px 14px; font-size: .9rem; margin-top: 14px; }
.bulk-note { margin-top: 20px; padding: 12px 14px; border-radius: var(--r-sm); background: var(--tint); font-size: .88rem; }
.checkout-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; background: var(--ink); color: #fff; padding: 10px 0 calc(10px + env(safe-area-inset-bottom)); animation: bar-up .3s var(--ease); }
@keyframes bar-up { from { transform: translateY(100%); } }
.checkout-bar-inner { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.checkout-bar-summary { background: none; border: 0; color: #fff; font: inherit; cursor: pointer; display: flex; gap: 10px; align-items: baseline; padding: 6px 0; }
.checkout-bar-summary span { color: #c9c9d2; }
.checkout-bar .btn { padding: 10px 22px; border-color: var(--yellow); }
body.has-checkout-bar { padding-bottom: 70px; }
body.has-checkout-bar .toast { bottom: 88px; }
.toast { position: fixed; bottom: 24px; left: 50%; transform: translateX(-50%); background: var(--ink); color: #fff; padding: 12px 20px; border-radius: 999px; font-size: .9rem; font-weight: 600; z-index: 60; border: 2px solid var(--yellow); max-width: calc(100% - 32px); animation: drop-in .22s var(--ease); }

/* ---------- set page ---------- */
.set-hero { background: linear-gradient(135deg, var(--set-bg), var(--set-bg2)); color: var(--set-ink); border-bottom: 2px solid var(--ink); padding: 48px 0 56px; overflow: hidden; }
.set-hero-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 40px; align-items: center; }
.set-hero .crumbs, .set-hero .crumbs a, .set-hero .lede { color: var(--set-sub); }
.set-kicker { font: 700 .76rem var(--sans); text-transform: uppercase; letter-spacing: .14em; color: var(--set-sub); margin: 0 0 10px; }
.set-hero h1 { font-size: clamp(2.8rem, 7vw, 5.2rem); letter-spacing: -.04em; }
.set-stats { display: flex; gap: 8px; flex-wrap: wrap; margin: 22px 0 0; }
.set-stats span { background: var(--set-accent); color: var(--set-accent-ink); border: 2px solid var(--ink); border-radius: 999px; padding: 5px 14px; font-weight: 700; font-size: .86rem; }
.set-fan { position: relative; height: clamp(280px, 26vw, 420px); }
.fan-tile { position: absolute; width: 58%; background: #fff; border: 2px solid var(--ink); border-radius: 18px; overflow: hidden; box-shadow: 6px 6px 0 var(--set-accent); }
.fan-tile img { width: 100%; aspect-ratio: 4 / 3; object-fit: contain; padding: 8px; }
.fan-tile:nth-child(1) { left: 21%; top: 6%; z-index: 3; transform: rotate(-2deg); }
.fan-tile:nth-child(2) { left: 0; top: 26%; z-index: 2; transform: rotate(-10deg); width: 46%; }
.fan-tile:nth-child(3) { right: 0; top: 30%; z-index: 1; transform: rotate(9deg); width: 46%; }
.fan-tile:only-child { left: 21%; }
.set-foot { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; align-items: start; }
.set-foot .ebay-panel { margin-top: 0; }
.other-sets { display: flex; flex-direction: column; gap: 10px; }
.other-sets .filter-label { margin: 0; }
.other-sets .set-tile { min-height: 0; padding: 24px; }

/* ---------- product page ---------- */
.product-wrap { padding: 32px 0 72px; }
.product { display: grid; grid-template-columns: 1.08fr 1fr; gap: clamp(32px, 5vw, 96px); align-items: start; }
.product-media { position: sticky; top: 96px; border: 2px solid var(--ink); border-radius: 28px; padding: 26px; background: linear-gradient(135deg, var(--set-bg), var(--set-bg2)); box-shadow: 8px 8px 0 var(--ink); }
.product-frame { background: #fff; border: 2px solid var(--ink); border-radius: 18px; overflow: hidden; }
.product-frame img { width: 100%; aspect-ratio: 4 / 3; object-fit: contain; padding: 26px; }
.set-pill { display: inline-flex; align-items: center; gap: 8px; background: var(--set-accent); color: var(--set-accent-ink); border: 2px solid var(--ink); border-radius: 999px; padding: 4px 14px; font: 700 .8rem var(--sans); text-decoration: none; margin-bottom: 16px; }
.set-pill .dot { background: var(--set-accent-ink); width: 7px; height: 7px; }
.product-info h1 { font-size: clamp(2.2rem, 4.4vw, 3.4rem); margin-bottom: .2em; max-width: none; }
.product-detail { color: var(--ink-2); font-size: 1.08rem; margin-bottom: 26px; }
.price-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 18px; }
.product-price { font: 800 3rem/1 var(--display); letter-spacing: -.04em; }
.price-row .was-price { font-size: 1.05rem; }
.pill { display: inline-flex; align-items: center; gap: 7px; font: 700 .8rem var(--sans); padding: 6px 12px; border-radius: 999px; border: 2px solid var(--ink); background: var(--surface); }
.pill::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.pill-ok { background: #d5f6ea; }
.pill-ok::before { background: var(--ok); }
.pill-low { background: var(--red); color: #fff; }
.pill-pre { background: var(--purple); color: #fff; }
.pill-out { background: var(--ink); color: #fff; }
.product-add { font-size: 1.1rem; padding: 18px 28px; box-shadow: var(--hard); }
.product-add:hover { box-shadow: 8px 8px 0 var(--ink); }
.product-add:disabled { box-shadow: none; }
.buy-note { font-size: .84rem; color: var(--muted); text-align: center; margin: 16px 0 0; }
.perks { list-style: none; padding: 0; margin: 26px 0 0; display: grid; gap: 10px; }
.perks li { position: relative; padding-left: 34px; color: var(--ink-2); font-size: .96rem; }
.perks li::before { content: ""; position: absolute; left: 0; top: 1px; width: 22px; height: 22px; border-radius: 7px; background: var(--yellow); border: 2px solid var(--ink); }
.perks li::after { content: ""; position: absolute; left: 7px; top: 8px; width: 9px; height: 5px; border-left: 2.5px solid var(--ink); border-bottom: 2.5px solid var(--ink); transform: rotate(-45deg); }
.perks strong { color: var(--ink); }
.product-desc { margin-top: 32px; padding-top: 28px; border-top: 2px solid var(--ink); }
.product-desc h2 { font-size: 1.5rem; }
.product-desc h3 { margin-top: 1.2em; }
.product-desc p, .contents { color: var(--ink-2); }
.contents { padding-left: 20px; }
.facts { margin: 20px 0 0; display: grid; }
.facts div { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-top: 1px solid var(--line); font-size: .95rem; }
.facts dt { color: var(--muted); }
.facts dd { margin: 0; font-weight: 600; text-align: right; }
.trust-line { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-top: 24px; padding: 16px 18px; background: var(--surface); border: 2px solid var(--ink); border-radius: var(--r); text-decoration: none; font-size: .92rem; transition: transform .18s var(--ease), box-shadow .18s var(--ease); }
.trust-line:hover { transform: translate(-2px, -2px); box-shadow: 4px 4px 0 var(--yellow); }
.trust-go { margin-left: auto; font-weight: 700; }

.hero-range { font-weight: 600; margin: -4px 0 0; }
.ask-line { text-align: center; color: var(--ink-2); margin: 40px 0 0; }
.preorder-box { margin-top: 18px; padding: 16px 18px; background: #f0ecff; border: 2px solid var(--ink); border-radius: var(--r); font-size: .93rem; }
.preorder-box ul { margin: 8px 0 10px; padding-left: 20px; color: var(--ink-2); }
.preorder-box a { font-weight: 600; }
.seal-box { margin-top: 28px; padding: 22px 24px; background: var(--surface); border: 2px solid var(--ink); border-radius: var(--r); box-shadow: 5px 5px 0 var(--teal); }
.seal-box h2 { font-size: 1.35rem; margin-bottom: .4em; }
.seal-box p { color: var(--ink-2); margin: 0 0 10px; font-size: .96rem; }
.seal-box .seal-sub { font-weight: 700; color: var(--ink); margin-bottom: 4px; }
.seal-box ul { margin: 0 0 12px; padding-left: 20px; color: var(--ink-2); font-size: .95rem; }
.seal-box .seal-foot { margin: 0; font-size: .9rem; }
.line-set { display: block; }

/* ---------- bulk page ---------- */
.bulk-head { background: var(--ink); color: #fff; padding-bottom: 56px; border-bottom: 2px solid var(--ink); }
.bulk-head .crumbs, .bulk-head .crumbs a { color: #a9a9b4; }
.bulk-head .eyebrow { color: var(--yellow); }
.bulk-head .hl { background: none; color: var(--yellow); }
.bulk-head .lede { color: #d6d6de; }
.bulk-points { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 8px; color: #ecece9; }
.bulk-points li { padding-left: 26px; position: relative; }
.bulk-points li::before { content: "✦"; position: absolute; left: 0; color: var(--yellow); }
.bulk-layout { display: grid; grid-template-columns: 1.6fr 1fr; gap: 28px; align-items: start; }
.bulk-builder { background: var(--surface); border: 2px solid var(--ink); border-radius: 28px; padding: 30px; box-shadow: var(--hard); }
.bulk-builder h2 { font-size: 1.8rem; }
.bulk-list { list-style: none; margin: 18px 0; padding: 0; }
.bulk-row { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 11px 12px; border-radius: var(--r-sm); border-left: 6px solid var(--set-accent); margin-bottom: 6px; background: var(--paper); transition: background .15s; }
.bulk-row.is-on { background: #fff6cf; }
.bulk-name { display: flex; flex-direction: column; line-height: 1.3; }
.bulk-name .muted { font-size: .82rem; }
.bulk-qty input { width: 84px; text-align: center; font-weight: 700; }
.bulk-notes textarea { resize: vertical; }
.bulk-summary { margin: 18px 0 0; padding: 12px 14px; background: var(--tint); border-radius: var(--r-sm); font-size: .92rem; }
.bulk-side { display: grid; gap: 18px; }
.bulk-side .ebay-panel { margin-top: 0; }
.info-card { background: #c9f5ea; border: 2px solid var(--ink); border-radius: var(--r); padding: 24px; }
.info-card p { margin: 0 0 4px; font-weight: 600; }

/* ---------- about, faq, contact, policies ---------- */
.prose h2 { font-size: 1.7rem; margin-top: 1.6em; }
.prose p, .prose li { color: var(--ink-2); font-size: 1.04rem; }
.prose li { margin-bottom: 8px; }
.faq details { background: var(--surface); border: 2px solid var(--line); border-radius: var(--r); padding: 0 22px; margin-bottom: 12px; transition: border-color .2s, box-shadow .2s; }
.faq details[open] { border-color: var(--ink); box-shadow: 4px 4px 0 var(--yellow); }
.faq summary { cursor: pointer; font: 700 1.08rem var(--sans); list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 18px 0; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font: 600 1.5rem/1 var(--display); width: 30px; height: 30px; display: grid; place-items: center; border-radius: 50%; background: var(--tint); flex: none; transition: transform .25s var(--ease), background .2s; }
.faq details[open] summary::after { transform: rotate(45deg); background: var(--yellow); }
.faq details p { margin: 0 0 16px; color: var(--ink-2); }
.contact-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.contact-card { display: flex; flex-direction: column; gap: 4px; background: var(--surface); border: 2px solid var(--ink); border-radius: var(--r); padding: 26px; text-decoration: none; box-shadow: 5px 5px 0 var(--yellow); transition: transform .2s var(--ease), box-shadow .2s var(--ease); overflow-wrap: anywhere; }
.contact-card:nth-child(2) { box-shadow: 5px 5px 0 var(--teal); }
.contact-card:nth-child(3) { box-shadow: 5px 5px 0 var(--purple); }
.contact-card:hover { transform: translate(-3px, -3px); }
.contact-k { font: 700 .72rem var(--sans); text-transform: uppercase; letter-spacing: .14em; color: var(--muted); }
.contact-card strong { font: 800 1.25rem/1.2 var(--display); letter-spacing: -.02em; }
.contact-meta { margin-top: 36px; }
.page { padding: 56px 0 88px; }
.page h1 { font-size: clamp(2.2rem, 5vw, 3.4rem); }
.page h2 { margin-top: 2em; font-size: 1.7rem; padding-top: 1em; border-top: 2px solid var(--ink); }
.page h3 { margin-top: 1.4em; font: 700 1.02rem var(--sans); letter-spacing: 0; }
.page p, .page li { color: var(--ink-2); }
.page .toc { display: flex; flex-wrap: wrap; gap: 8px; padding: 8px 0 0; }
.page .toc a { border: 2px solid var(--ink); border-radius: 999px; padding: 5px 14px; text-decoration: none; font-weight: 600; font-size: .88rem; background: var(--surface); }
.page .toc a:hover { background: var(--yellow); }
.notice { background: var(--surface); border: 2px solid var(--ink); border-radius: 28px; padding: 48px 36px; text-align: center; box-shadow: 8px 8px 0 var(--yellow); }
.notice h1 { margin-left: auto; margin-right: auto; }

/* references */
.ref-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 18px; }
.ref { margin: 0; }
.ref-img { display: block; width: 100%; padding: 0; border: 2px solid var(--ink); border-radius: var(--r); overflow: hidden; cursor: zoom-in; background: #fff; }
.ref figcaption { display: flex; flex-direction: column; font-size: .86rem; margin-top: 8px; }
.ref figcaption span { color: var(--muted); }
dialog.lightbox { border: 2px solid var(--ink); border-radius: var(--r); padding: 14px; max-width: min(720px, 94vw); }
dialog.lightbox::backdrop { background: rgba(14, 14, 18, .75); }
.lightbox img { max-height: 76vh; margin: 0 auto; }

/* ---------- footer ---------- */
.site-footer { background: var(--ink); color: #c9c9d2; padding: 64px 0 32px; margin-top: 24px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 32px; }
.footer-brand p { margin: 14px 0; max-width: 34ch; }
.footer-ebay { display: inline-block; color: #fff; border: 2px solid #3a3a45; border-radius: 999px; padding: 6px 14px; text-decoration: none; font-size: .88rem; font-weight: 600; }
.footer-ebay:hover { border-color: var(--yellow); }
.footer-h { font: 700 .72rem var(--sans); text-transform: uppercase; letter-spacing: .14em; color: var(--yellow); margin: 0 0 12px; }
.footer-grid > div:not(.footer-brand) a { display: block; color: #e6e6ea; text-decoration: none; padding: 4px 0; font-size: .95rem; }
.footer-grid > div:not(.footer-brand) a:hover { color: var(--yellow); }
.footer-base { margin-top: 44px; padding-top: 24px; border-top: 1px solid #2c2c36; font-size: .84rem; }
.footer-base p { margin: 0 0 8px; }
.disclaimer { color: #8d8d99; font-size: .78rem; }

/* ---------- checkout page ---------- */
.checkout { padding: 32px 0 96px; }
.checkout h1 { font-size: clamp(2.4rem, 4.6vw, 3.8rem); margin-bottom: .6em; }
.co-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(340px, 1fr); gap: clamp(24px, 4vw, 64px); align-items: start; }
.co-steps { display: grid; gap: 20px; }
.co-step { background: var(--surface); border: 2px solid var(--ink); border-radius: 24px; padding: clamp(20px, 2.4vw, 32px); transition: opacity .3s, border-color .3s; }
.co-step.is-locked { border-color: var(--line); }
.co-step.is-locked .step-title { color: var(--muted); }
.co-step.is-locked .step-dot { background: var(--tint); border-color: var(--line); color: var(--muted); }
.co-step .step-title { font: 800 1.45rem var(--display); letter-spacing: -.02em; margin-bottom: 16px; }
.co-step .step-dot { width: 36px; height: 36px; border-radius: 11px; font-size: 1rem; }
.co-hint { margin: 0; }
.co-step .inline { max-width: 520px; }
.co-step .inline .btn { white-space: nowrap; }
.co-step .address-form { gap: 14px; }
.co-step #pay-btn { margin-top: 6px; box-shadow: var(--hard); font-size: 1.08rem; padding: 18px 28px; }
.co-summary { position: sticky; top: 96px; background: var(--surface); border: 2px solid var(--ink); border-radius: 24px; padding: clamp(20px, 2.2vw, 30px); box-shadow: 8px 8px 0 var(--yellow); }
.co-summary h2 { font-size: 1.6rem; margin-bottom: .3em; }
.co-rows { display: grid; gap: 10px; margin-top: 18px; }
.co-rows .total { margin-top: 4px; }
.co-rows p { margin: 0; }
.co-trust { list-style: none; margin: 20px 0 14px; padding: 16px 0 0; border-top: 1px solid var(--line); display: grid; gap: 8px; font-size: .92rem; font-weight: 600; }
.co-trust li { padding-left: 30px; position: relative; }
.co-trust li::before { content: ""; position: absolute; left: 0; top: 1px; width: 20px; height: 20px; border-radius: 6px; background: var(--yellow); border: 2px solid var(--ink); }
.co-trust li::after { content: ""; position: absolute; left: 6px; top: 7px; width: 8px; height: 4px; border-left: 2.5px solid var(--ink); border-bottom: 2.5px solid var(--ink); transform: rotate(-45deg); }
.co-empty { max-width: 640px; margin: 24px auto 0; }

/* ---------- section transitions ---------- */
/* scrolling strip */
.ticker { background: var(--ink); color: #fff; overflow: hidden; border-block: 2px solid var(--ink); transform: rotate(-1.2deg) scale(1.02); margin: 12px 0; }
.ticker-alt { background: var(--yellow); color: var(--ink); transform: rotate(1.2deg) scale(1.02); }
.ticker-track { display: flex; align-items: center; gap: 28px; width: max-content; padding: 14px 0; animation: ticker 38s linear infinite; }
.ticker-alt .ticker-track { animation-direction: reverse; }
.ticker span { font: 800 clamp(1.05rem, 1.6vw, 1.5rem)/1 var(--display); letter-spacing: -.01em; text-transform: uppercase; white-space: nowrap; }
.ticker i { font-style: normal; color: var(--yellow); font-size: 1.1rem; }
.ticker-alt i { color: var(--purple); }
@keyframes ticker { to { transform: translateX(-25%); } }

/* product cards and reviews rise in one after another */
.reveal:not(.in) .grid .card, .reveal:not(.in) .reviews .review, .reveal:not(.in) .steps li, .reveal:not(.in) .set-tile, .reveal:not(.in) .promo { opacity: 0; }
.reveal.in .grid .card, .reveal.in .reviews .review, .reveal.in .steps li, .reveal.in .set-tile, .reveal.in .promo { animation: rise .65s var(--ease) backwards; }
.reveal.in :is(.grid .card, .reviews .review, .steps li, .set-tile, .promo):nth-child(2) { animation-delay: .08s; }
.reveal.in :is(.grid .card, .reviews .review, .steps li, .set-tile, .promo):nth-child(3) { animation-delay: .16s; }
.reveal.in :is(.grid .card, .reviews .review, .steps li, .set-tile, .promo):nth-child(4) { animation-delay: .24s; }
.reveal.in :is(.grid .card, .reviews .review, .steps li):nth-child(5) { animation-delay: .32s; }
.reveal.in :is(.grid .card, .reviews .review, .steps li):nth-child(6) { animation-delay: .4s; }
.reveal.in :is(.grid .card, .reviews .review, .steps li):nth-child(n+7) { animation-delay: .48s; }
@keyframes rise { from { opacity: 0; transform: translateY(34px) rotate(-1.5deg); } }

/* hero pieces settle into place on load */
.hero-copy > * { animation: rise .7s var(--ease) backwards; }
.hero-copy > :nth-child(2) { animation-delay: .06s; }
.hero-copy > :nth-child(3) { animation-delay: .12s; }
.hero-copy > :nth-child(4) { animation-delay: .18s; }
.hero-copy > :nth-child(5) { animation-delay: .24s; }
.hero-product { animation: drop-card .8s var(--ease) .15s backwards; }
.proof { animation: drop-card .8s var(--ease) .3s backwards; }
.hero-quote { animation: drop-card .8s var(--ease) .45s backwards; }
@keyframes drop-card { from { opacity: 0; transform: translateY(-40px) rotate(12deg) scale(.9); } }

/* ================= set banners ================= */
.set-banner { position: relative; isolation: isolate; overflow: hidden; }
.set-pattern, .set-burst, .set-ghost { position: absolute; pointer-events: none; z-index: -1; }
/* drifting pattern: sets without their own artwork get dots in the set colour */
.set-pattern { inset: 0; background-image: radial-gradient(color-mix(in srgb, var(--set-accent) 45%, transparent) 2px, transparent 3px); background-size: 28px 28px; animation: pattern-drift 50s linear infinite; -webkit-mask: linear-gradient(100deg, rgba(0,0,0,.3) 0%, rgba(0,0,0,.45) 40%, #000 75%); mask: linear-gradient(100deg, rgba(0,0,0,.3) 0%, rgba(0,0,0,.45) 40%, #000 75%); }
.set-30th-anniversary .set-pattern { background-image: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' width='140' height='140'><g fill='%23ffffff' fill-opacity='.8'><path d='M20 12l3 9 9 3-9 3-3 9-3-9-9-3 9-3z'/><path d='M100 78l2 6 6 2-6 2-2 6-2-6-6-2 6-2z'/></g><g fill='none' stroke='%23d9a50f' stroke-width='3' stroke-opacity='.5'><circle cx='92' cy='26' r='11'/><circle cx='34' cy='98' r='7'/></g><g fill='%23d9a50f' fill-opacity='.55'><rect x='58' y='52' width='14' height='5' rx='2.5' transform='rotate(-30 65 54)'/><rect x='112' y='116' width='14' height='5' rx='2.5' transform='rotate(40 119 118)'/><circle cx='64' cy='122' r='4'/><circle cx='128' cy='58' r='3'/></g><g fill='%232b2100' fill-opacity='.14'><circle cx='12' cy='60' r='2.5'/><circle cx='78' cy='14' r='2'/><circle cx='122' cy='96' r='2.5'/></g></svg>"); background-size: 140px 140px; }
.set-delta-reign .set-pattern { background-image: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><g fill='none' stroke-width='3' stroke-linejoin='round'><path d='M30 44l16-28 16 28z' stroke='%23b6ff3c' stroke-opacity='.5'/><path d='M112 132l12-21 12 21z' stroke='%239d8fff' stroke-opacity='.8'/><path d='M96 52l9-16 9 16z' stroke='%23ffd338' stroke-opacity='.5'/></g><g stroke-linecap='round' stroke-width='4'><path d='M20 120l26-14' stroke='%23ff7ac3' stroke-opacity='.45'/><path d='M124 20l22-12' stroke='%23b6ff3c' stroke-opacity='.4'/><path d='M60 86l18-10' stroke='%239d8fff' stroke-opacity='.7'/></g><g fill='%23ffffff' fill-opacity='.75'><circle cx='76' cy='24' r='1.8'/><circle cx='144' cy='84' r='2.2'/><circle cx='14' cy='72' r='1.5'/><circle cx='88' cy='140' r='1.8'/><path d='M50 140l1.5 4.5 4.5 1.5-4.5 1.5-1.5 4.5-1.5-4.5-4.5-1.5 4.5-1.5z'/></g></svg>"); background-size: 160px 160px; }
.set-delta-reign.set-banner { background: radial-gradient(120% 90% at 85% 10%, #5b3fc4 0%, transparent 55%), radial-gradient(90% 80% at 10% 100%, #0f6b63 0%, transparent 60%), linear-gradient(135deg, #14113a, #2c1f66); }
.set-30th-anniversary.set-banner { background: radial-gradient(110% 90% at 85% 15%, #fff3b8 0%, transparent 55%), radial-gradient(80% 80% at 5% 100%, #ffc93a 0%, transparent 60%), linear-gradient(135deg, #fff6d8, #ffd966); }
@keyframes pattern-drift { to { background-position: 560px 280px; } }
/* slow sunburst behind the products */
.set-burst { right: -12%; top: 50%; width: min(78%, 60rem); aspect-ratio: 1; translate: 0 -50%; border-radius: 50%;
  background: repeating-conic-gradient(from 0deg, color-mix(in srgb, var(--set-accent) 60%, transparent) 0 7deg, transparent 7deg 14deg);
  -webkit-mask: radial-gradient(circle, #000 12%, transparent 66%); mask: radial-gradient(circle, #000 12%, transparent 66%);
  animation: spin 80s linear infinite; }
@keyframes spin { to { rotate: 360deg; } }
/* the set name in giant outline letters, sliding past */
.set-ghost { left: 0; bottom: -.16em; white-space: nowrap; font: 800 clamp(5rem, 15vw, 17rem)/1 var(--display); letter-spacing: -.04em; color: transparent; -webkit-text-stroke: 2px color-mix(in srgb, var(--set-ink) 15%, transparent); animation: ghost 60s linear infinite; }
@keyframes ghost { to { transform: translateX(-50%); } }
.set-banner .set-tile-text, .set-banner .set-fan, .set-banner .wrap { position: relative; z-index: 1; }
.set-tile .set-fan { height: clamp(220px, 25vw, 460px); display: block; }
.set-tile .fan-tile { transition: translate .5s var(--ease), rotate .5s var(--ease); }
.set-tile:hover .fan-tile:nth-child(1) { translate: 0 -6%; }
.set-tile:hover .fan-tile:nth-child(2) { translate: -9% -3%; rotate: -4deg; }
.set-tile:hover .fan-tile:nth-child(3) { translate: 9% -3%; rotate: 4deg; }

/* calm backdrop artwork behind the products */
.set-backdrop { position: absolute; inset: 0 0 0 42%; z-index: -1; pointer-events: none; display: grid; place-items: center; }
.set-backdrop img { width: 100%; height: 118%; object-fit: contain; }
.set-hero .set-backdrop { inset: 0 0 0 46%; }

/* banners built on the set's own artwork */
.set-art { position: absolute; inset: 0; z-index: -1; overflow: hidden; }
.set-art img { width: 100%; height: 100%; object-fit: cover; object-position: 78% 50%; }
@keyframes kenburns { from { transform: scale(1.01); } to { transform: scale(1.07) translate(-1%, -1%); } }
.set-art-fade { position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, color-mix(in srgb, var(--set-bg) 55%, transparent) 0%, color-mix(in srgb, var(--set-bg) 30%, transparent) 28%, transparent 46%); }
.set-banner.has-art { background: var(--set-bg); }
.set-delta-reign.has-art { --set-bg: #0e1d48; }
.set-30th-anniversary.has-art { --set-bg: #fdf1d3; }
.set-30th-anniversary .sw-1 { background: linear-gradient(180deg, #e2b33a, #b07c0c); -webkit-background-clip: text; background-clip: text; color: transparent; }
.set-delta-reign .sw-2 { background: linear-gradient(180deg, #e3f0ff, #7fb8ff); -webkit-background-clip: text; background-clip: text; color: transparent; }
.has-art .set-tile-kicker, .has-art .set-kicker { display: flex; align-items: center; gap: 14px; }
.has-art .set-tile-kicker::after, .has-art .set-kicker::after { content: ""; width: 64px; height: 1px; background: currentColor; opacity: .6; }
.set-emblem { width: clamp(64px, 7vw, 130px); height: auto; margin-bottom: 14px; animation: bob 4s ease-in-out infinite alternate; filter: drop-shadow(4px 4px 0 var(--ink)); }
.has-art .set-tile-name, .set-hero.has-art h1 { max-width: none; }
.set-art-space { min-height: clamp(60px, 8vw, 160px); display: block; }
.set-hero.has-art { padding: clamp(36px, 4vw, 72px) 0 clamp(44px, 5vw, 88px); }
.set-stack .set-tile.has-art { min-height: min(54vh, 30rem); }
.set-tile.has-art { min-height: clamp(260px, 22vw, 360px); }
.set-tile.has-art:hover .set-art img { animation-play-state: paused; }
.set-tile-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.set-tile-chips span { border: 2px solid color-mix(in srgb, var(--set-ink) 55%, transparent); border-radius: 999px; padding: 4px 13px; font-weight: 700; font-size: .84rem; background: color-mix(in srgb, var(--set-bg) 70%, transparent); }
.set-tile-cta { box-shadow: 4px 4px 0 var(--ink); transition: transform .25s var(--ease), box-shadow .25s var(--ease); font-size: 1rem; padding: 11px 20px; }
.set-tile:hover .set-tile-cta { transform: translate(-2px, -2px); box-shadow: 7px 7px 0 var(--ink); }
.set-hero { padding: clamp(40px, 5vw, 96px) 0 clamp(64px, 7vw, 130px); }
.set-hero .set-fan { height: clamp(300px, 30vw, 520px); }

/* characters */
.mon { height: auto; pointer-events: none; filter: drop-shadow(0 10px 12px rgba(14, 14, 18, .28)); }
.mon-gengar { image-rendering: pixelated; }
/* Pikachu hops beside the hero cards */
.mon-hero { position: absolute; left: -2%; bottom: -3%; z-index: 4; width: clamp(84px, 9vw, 180px); transform-origin: 50% 100%; animation: hop 2.6s ease-in-out infinite; }
@keyframes hop { 0%, 55%, 100% { transform: translateY(0) rotate(-3deg); } 22% { transform: translateY(-16%) rotate(5deg); } 40% { transform: translateY(0) scale(1.04, .94) rotate(-1deg); } }
/* Charizard flies across the page above the strip */
.flyby { position: relative; height: 0; z-index: 6; pointer-events: none; }
.flyby-move { position: absolute; left: 0; top: -44px; display: block; animation: fly 18s linear infinite; }
.mon-fly { display: block; width: clamp(96px, 11vw, 200px); transform-origin: 50% 70%; animation: flap .55s ease-in-out infinite alternate; }
@keyframes fly { 0% { transform: translate(105vw, 0); } 25% { transform: translate(72vw, -26px); } 50% { transform: translate(40vw, 6px); } 75% { transform: translate(8vw, -22px); } 100% { transform: translate(-30vw, 0); } }
@keyframes flap { from { transform: scaleY(1) rotate(-2deg); } to { transform: scaleY(.93) rotate(2deg) translateY(-4px); } }
/* Gengar rises out of the bulk panel */
.promo-bulk { position: relative; overflow: hidden; }
.mon-peek { position: absolute; right: 5%; bottom: 0; width: clamp(72px, 8vw, 150px); animation: peek 8s ease-in-out infinite; }
.promo-bulk:hover .mon-peek { animation-play-state: paused; transform: translateY(12%); }
@keyframes peek { 0%, 45% { transform: translateY(108%); } 55%, 88% { transform: translateY(12%) rotate(-3deg); } 60%, 80% { transform: translateY(8%) rotate(3deg); } 100% { transform: translateY(108%); } }
/* Charizard on the bulk page */
.bulk-head { position: relative; overflow: hidden; }
.mon-bulk { position: absolute; right: 6%; bottom: 8%; width: clamp(110px, 15vw, 260px); animation: bob 3.4s ease-in-out infinite alternate; }
/* Pikachu waving / Gengar floating above a message */
.mon-stand { display: flex; justify-content: center; margin-bottom: 14px; }
.mon-wave { width: clamp(96px, 9vw, 150px); transform-origin: 50% 100%; animation: hop 2.6s ease-in-out infinite; }
.mon-ghost { width: clamp(96px, 9vw, 140px); animation: ghost-float 3.2s ease-in-out infinite alternate; }
@keyframes ghost-float { from { transform: translateY(-8px) rotate(-4deg); opacity: .85; } to { transform: translateY(8px) rotate(4deg); opacity: 1; } }

/* product photos float gently */
.fan-tile img, .hero-product img { animation: bob 4.6s ease-in-out infinite alternate; }
.fan-tile:nth-child(2) img { animation-delay: -1.5s; animation-duration: 5.4s; }
.fan-tile:nth-child(3) img { animation-delay: -3s; animation-duration: 5s; }
@keyframes bob { from { transform: translateY(-3.5%) rotate(-1.6deg) scale(1.02); } to { transform: translateY(3.5%) rotate(1.6deg) scale(1.06); } }

/* moving line of product photos */
.parade { overflow: hidden; padding: 26px 0 40px; }
.parade-track { display: flex; width: max-content; animation: parade 60s linear infinite; }
.parade:hover .parade-track { animation-play-state: paused; }
@keyframes parade { to { transform: translateX(-50%); } }
.parade a { display: block; flex: none; width: clamp(140px, 14vw, 260px); margin-right: clamp(14px, 1.8vw, 32px); background: #fff; border: 2px solid var(--ink); border-radius: 18px; box-shadow: 5px 5px 0 var(--set-accent, var(--ink)); overflow: hidden; rotate: -3deg; transition: transform .3s var(--ease), box-shadow .3s var(--ease); }
.parade a:nth-child(even) { rotate: 3deg; margin-top: 16px; }
.parade a:nth-child(3n) { rotate: -1deg; margin-top: 6px; }
.parade a:hover { transform: translateY(-10px) scale(1.08); box-shadow: 9px 9px 0 var(--set-accent, var(--ink)); z-index: 1; position: relative; }
.parade img { width: 100%; aspect-ratio: 4 / 3; object-fit: contain; padding: 8px; animation: bob 3.8s ease-in-out infinite alternate; }
.parade a:nth-child(even) img { animation-delay: -1.9s; }

/* ================= motion ================= */
/* 1. Page-to-page: pages cross-fade and a product's photo glides from its card to its own page */
@view-transition { navigation: auto; }
::view-transition-group(*) { animation-duration: .5s; animation-timing-function: cubic-bezier(.22, 1, .36, 1); }
::view-transition-old(root) { animation: vt-out .28s cubic-bezier(.4, 0, 1, 1) both; }
::view-transition-new(root) { animation: vt-in .5s cubic-bezier(.22, 1, .36, 1) both; }
@keyframes vt-out { to { opacity: 0; transform: translateY(-14px) scale(.985); } }
@keyframes vt-in { from { opacity: 0; transform: translateY(22px) scale(.985); } }
.top-bar { view-transition-name: top-bar; }
.site-header { view-transition-name: site-header; }

/* 2. Headings rise out of a mask, one word after another */
.w { display: inline-block; overflow: hidden; vertical-align: bottom; padding: .06em .05em .16em; margin: -.06em -.05em -.16em; }
.wi { display: inline-block; transform: translateY(115%) rotate(4deg); transform-origin: left bottom; transition: transform 1s cubic-bezier(.16, 1, .3, 1); transition-delay: calc(var(--i, 0) * 55ms); }
.words-in .wi { transform: none; }

.page-head h1, .set-hero h1, .checkout h1, .product-info h1 { animation: rise .8s var(--ease) backwards; }
.page-head .lede, .set-hero .lede, .product-detail { animation: rise .8s var(--ease) .08s backwards; }
.set-fan .fan-tile { animation: drop-card .8s var(--ease) backwards; }
.set-fan .fan-tile:nth-child(2) { animation-delay: .1s; }
.set-fan .fan-tile:nth-child(3) { animation-delay: .2s; }

/* 3. Panels grow into place as they scroll in (--p runs 0 to 1, set by app.js) */
[data-lift] { transform: scale(calc(.88 + .12 * var(--p, 1))); opacity: calc(.35 + .65 * var(--p, 1)); transform-origin: 50% 100%; will-change: transform; }

/* 4. Layers drift at different speeds while scrolling */
[data-parallax] { translate: 0 var(--py, 0px); will-change: translate; }

/* 5. The strips lean with how fast you scroll */
.ticker { transform: rotate(-1.2deg) scale(1.02) skewX(calc(var(--vel, 0) * -9deg)); transition: transform .25s ease-out; }
.ticker-alt { transform: rotate(1.2deg) scale(1.02) skewX(calc(var(--vel, 0) * 9deg)); }

/* 6. Sets stack: each panel pins and the next slides over it */
.set-stack { display: block; }
.set-stack .set-tile { position: sticky; top: 6.5rem; min-height: min(70vh, 44rem); margin-bottom: 1.75rem; grid-template-columns: 1.1fr 1fr; padding: clamp(28px, 4.5vw, 88px); box-shadow: 0 -18px 50px rgba(14, 14, 18, .14); }
.set-stack .set-tile:nth-child(2) { top: 8rem; }
.set-stack .set-tile-name { font-size: clamp(2.4rem, 6vw, 7rem); }
.set-stack .set-tile-tag { font-size: clamp(1rem, 1.3vw, 1.4rem); max-width: 34ch; }
.set-stack .set-tile-art { max-width: 46rem; justify-self: center; width: 100%; }

/* 7. Product cards tilt toward the cursor with a moving foil glare */
[data-tilt] { --rx: 0deg; --ry: 0deg; --mx: 50%; --my: 50%; }
.card[data-tilt]:hover { transform: perspective(900px) rotateX(var(--rx)) rotateY(var(--ry)) translate(-3px, -3px) scale(1.015); transition-duration: .12s; }
.card-media::after, .product-frame::after { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity .3s;
  background: radial-gradient(circle at var(--mx) var(--my), rgba(255, 255, 255, .7), rgba(255, 255, 255, 0) 42%),
              linear-gradient(115deg, rgba(255, 122, 195, .16), rgba(255, 211, 56, .16) 35%, rgba(15, 191, 159, .16) 65%, rgba(107, 77, 255, .16));
  mix-blend-mode: soft-light; }
[data-tilt]:hover .card-media::after, .product-frame[data-tilt]:hover::after { opacity: 1; }
.product-frame { position: relative; transition: transform .2s ease-out; }
.product-frame[data-tilt]:hover { transform: perspective(1100px) rotateX(var(--rx)) rotateY(var(--ry)); }
.badge { z-index: 1; }

/* 8. The page lifts away at the bottom to uncover the footer */
@media (min-width: 861px) and (min-height: 720px) {
  main { position: relative; z-index: 1; background: var(--paper); border-radius: 0 0 clamp(28px, 3vw, 56px) clamp(28px, 3vw, 56px); box-shadow: 0 30px 60px rgba(14, 14, 18, .35); }
  .site-footer { position: sticky; bottom: 0; z-index: 0; margin-top: 0; padding-top: clamp(80px, 7vw, 130px); }
}

/* ---------- responsive ---------- */
@media (max-width: 1160px) {
  .nav a, .nav-drop-btn { padding: 8px 9px; font-size: .9rem; }
  .cart-label { display: none; }
  .cart-btn { padding: 0 13px; }
}
@media (max-width: 960px) {
  .nav { display: none; }
  .menu-btn { display: inline-grid; }
  .logo { margin-right: auto; }
}
@media (max-width: 860px) {
  .hero-grid, .set-hero-grid, .product, .bulk-layout, .set-foot, .co-grid { grid-template-columns: 1fr; }
  .co-summary { position: static; order: -1; box-shadow: 5px 5px 0 var(--yellow); }
  .hero-grid { gap: 40px; }
  .hero-art { max-width: 560px; }
  .product { gap: 32px; }
  .product-media { position: static; }
  .trust-strip, .steps { grid-template-columns: 1fr 1fr; }
  .promo-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .set-fan { height: 260px; max-width: 480px; }
  .set-tile .set-fan { height: clamp(200px, 44vw, 320px); max-width: none; }
}
@media (max-width: 640px) {
  .wrap { padding: 0 16px; }
  .top-more, .cart-label { display: none; }
  .top-bar { font-size: .78rem; }
  .top-bar-inner { gap: 10px; }
  .header-inner { height: 64px; gap: 8px; }
  .logo-word { font-size: .84rem; letter-spacing: .07em; }
  .logo-mark { width: 40px; }
  .cart-btn { padding: 0 12px; }
  .hero { padding: 36px 0 40px; }
  .section { padding: 60px 0; }
  .section-flush { padding-top: 0; }
  .hero-cta .btn { flex: 1; padding: 14px 16px; white-space: nowrap; font-size: .95rem; }
  .top-bar a, .hero-chip { white-space: nowrap; }
  .hero-art { height: auto; display: grid; grid-template-columns: 1fr 1fr; gap: 14px; align-items: center; padding: 6px 6px 10px 0; }
  .proof, .hero-product, .hero-quote { position: static; width: auto; }
  .proof { padding: 16px; box-shadow: 5px 5px 0 var(--ink); }
  .proof-m { display: none; }
  .hero-product { box-shadow: 5px 5px 0 var(--purple); }
  .hero-quote { grid-column: 1 / -1; box-shadow: 5px 5px 0 var(--teal); transform: rotate(-.6deg); }
  .trust-strip { grid-template-columns: 1fr; margin-top: 40px; gap: 10px; }
  .steps { grid-template-columns: 1fr; }
  .grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .card-media { border-top-width: 5px; }
  .card-media img { padding: 8px; }
  .card-body { padding: 12px 12px 14px; }
  .card h3 { font-size: 1rem; margin-bottom: 10px; }
  .card-foot { flex-direction: column; align-items: stretch; gap: 10px; }
  .price { font-size: 1.25rem; }
  .badge { top: 8px; left: 8px; font-size: .66rem; padding: 3px 8px; }
  .set-tiles { grid-template-columns: 1fr; }
  .set-tile, .set-stack .set-tile { grid-template-columns: 1fr; padding: 24px; min-height: 0; }
  .set-stack .set-tile { top: 4.75rem; }
  .set-stack .set-tile:nth-child(2) { top: 5.5rem; }
  .set-tile-art { max-width: 240px; margin: 14px 0 6px 8px; }
  .toolbar { flex-wrap: wrap; }
  .tb-search { flex: 1 1 100%; }
  .tb-btn, .tb-sort { flex: 1; }
  .tb-sort select { width: 100%; }
  .promo { padding: 26px; }
  .product-media { padding: 14px; border-radius: 22px; box-shadow: 5px 5px 0 var(--ink); }
  .product-frame img { padding: 12px; }
  .product-price { font-size: 2.5rem; }
  .bulk-builder { padding: 20px; }
  .two { grid-template-columns: 1fr; }
  .co-step .inline { flex-direction: column; }
  .ticker { margin: 4px 0; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px 20px; }
  .footer-brand { grid-column: 1 / -1; }
  .notice { padding: 36px 22px; }
  .trust-go { margin-left: 0; }
  .set-backdrop, .set-hero .set-backdrop { inset: 34% 0 0 0; opacity: .8; }
  .set-art { inset: 0 0 auto 0; height: 52vw; }
  .set-art img { object-position: 92% 50%; }
  .set-art-fade { background: linear-gradient(180deg, transparent 0, transparent 34vw, var(--set-bg) 52vw); }
  .set-tile.has-art, .set-stack .set-tile.has-art { padding-top: 54vw; }
  .set-hero.has-art { padding-top: 54vw; }
  .set-hero.has-art .crumbs { display: none; }
  .set-art-space { display: none; }
  .mon-bulk { opacity: .9; right: 2%; bottom: 2%; width: 96px; }
  .mon-hero { left: auto; right: 0; bottom: -22px; top: auto; width: 78px; }
  .bulk-head { padding-bottom: 130px; }
  .flyby-move { top: -30px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
  .wi { transform: none; }
  [data-lift] { transform: none; opacity: 1; }
  [data-parallax] { translate: none; }
  .mon, .mon-fly, .flyby-move, .set-art img, .set-emblem, .set-pattern, .set-burst, .set-ghost, .parade-track, .parade img, .fan-tile img, .hero-product img { animation: none !important; }
  @view-transition { navigation: none; }
}
