/* =====================================================================
   NOIR — premium audio storefront
   Pure static CSS. Tokens in :root, BEM naming, mobile-first.
   Breakpoints: 480 / 768 / 1024 / 1280
   ===================================================================== */

/* ---- Self-hosted variable fonts -------------------------------------- */
@font-face {
  font-family: "Sora";
  src: url("../assets/fonts/sora-var.woff2") format("woff2");
  font-weight: 400 800; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Manrope";
  src: url("../assets/fonts/manrope-var.woff2") format("woff2");
  font-weight: 400 700; font-style: normal; font-display: swap;
}

/* ---- Design tokens --------------------------------------------------- */
:root {
  /* Warm near-black ground — deliberately NOT blue (distinct identity) */
  --ground:      #0b0a08;
  --ground-2:    #121009;
  --surface:     #17140d;   /* elevated wells */
  --surface-2:   #1f1b12;
  --line:        #2a251a;   /* hairline */
  --line-strong: #3a3323;

  /* Warm inks — all cleared against --ground for WCAG AA */
  --ink:         #f5f1e8;
  --ink-2:       #d8d2c4;
  --muted:       #a49b86;   /* AA on ground */
  --faint:       #6f6857;

  /* Single owned accent: brass */
  --brass:       #c8a253;
  --brass-hi:    #e2c579;
  --brass-deep:  #8f6f2f;
  --ember:       #b5563d;   /* used only inside imagery/limited badge */

  /* Type */
  --font-display: "Sora", system-ui, sans-serif;
  --font-body:    "Manrope", system-ui, sans-serif;
  --font-mono:    ui-monospace, "SF Mono", "Cascadia Code", Consolas, monospace;

  /* Shape system — two values, each with a job */
  --r-structural: 2px;      /* cards, inputs, wells */
  --r-pill:       999px;    /* primary CTA only */
  --chamfer:      14px;     /* signature 45° cut on media frames */

  /* Rhythm */
  --maxw: 1280px;
  --gutter: clamp(20px, 5vw, 64px);
  --section-y: clamp(72px, 11vw, 160px);

  --ease: cubic-bezier(.22, .61, .36, 1);
  --dur: .5s;
}

/* ---- Reset / base ---------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  background: var(--ground);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; background: none; border: none; }
input, select { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--brass); outline-offset: 3px; border-radius: 1px; }

/* Faint engineered grid — reads "hand-built", ties to audio-engineering brand */
body::before {
  content: ""; position: fixed; inset: 0; z-index: 0; pointer-events: none;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 64px 64px;
  opacity: .16;
  -webkit-mask-image: radial-gradient(120% 90% at 50% 0%, #000 40%, transparent 100%);
          mask-image: radial-gradient(120% 90% at 50% 0%, #000 40%, transparent 100%);
}

/* ---- Layout helpers -------------------------------------------------- */
.shell { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.section { position: relative; z-index: 1; padding-block: var(--section-y); }
.stack > * + * { margin-top: 1rem; }

/* Section marker — mono metadata, the "furniture" that repeats */
.eyebrow {
  font-family: var(--font-mono);
  font-size: .72rem; letter-spacing: .28em; text-transform: uppercase;
  color: var(--brass); display: inline-flex; align-items: center; gap: .7em;
}
.eyebrow::before {
  content: ""; width: 26px; height: 1px; background: var(--brass); opacity: .7;
}

/* ---- Type scale ------------------------------------------------------ */
.display {
  font-family: var(--font-display); font-weight: 700;
  line-height: .98; letter-spacing: -.03em; color: var(--ink);
  font-size: clamp(2.6rem, 8vw, 6.5rem);
}
.h2 {
  font-family: var(--font-display); font-weight: 600;
  line-height: 1.02; letter-spacing: -.025em;
  font-size: clamp(2rem, 4.6vw, 3.6rem);
}
.h3 {
  font-family: var(--font-display); font-weight: 600;
  letter-spacing: -.02em; font-size: clamp(1.3rem, 2.4vw, 1.7rem); line-height: 1.1;
}
.lead { font-size: clamp(1.05rem, 1.5vw, 1.28rem); color: var(--ink-2); max-width: 46ch; }
.measure { max-width: 62ch; color: var(--ink-2); }

/* =====================================================================
   Buttons
   ===================================================================== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6em;
  font-weight: 600; font-size: .95rem; letter-spacing: .01em;
  padding: .95em 1.7em; border-radius: var(--r-pill);
  transition: transform .3s var(--ease), background .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease);
  will-change: transform;
}
.btn:active { transform: translateY(1px) scale(.99); }
.btn--primary { background: var(--brass); color: #1a1408; }
.btn--primary:hover { background: var(--brass-hi); }
.btn--ghost { border: 1px solid var(--line-strong); color: var(--ink); border-radius: var(--r-structural); }
.btn--ghost:hover { border-color: var(--brass); color: var(--brass); }
.btn--block { width: 100%; }
.btn svg { width: 1.05em; height: 1.05em; }

.link-arrow {
  display: inline-flex; align-items: center; gap: .55em; font-weight: 600;
  color: var(--ink); border-bottom: 1px solid transparent; padding-bottom: 2px;
  transition: color .3s var(--ease), gap .3s var(--ease), border-color .3s var(--ease);
}
.link-arrow svg { width: 1em; height: 1em; transition: transform .3s var(--ease); }
.link-arrow:hover { color: var(--brass); gap: .85em; border-color: var(--brass); }

/* =====================================================================
   Header / nav
   ===================================================================== */
.header {
  position: sticky; top: 0; z-index: 50;
  border-bottom: 1px solid transparent;
  transition: background .4s var(--ease), border-color .4s var(--ease), backdrop-filter .4s var(--ease);
}
.header.is-stuck {
  background: color-mix(in srgb, var(--ground) 82%, transparent);
  -webkit-backdrop-filter: blur(14px) saturate(1.2);
          backdrop-filter: blur(14px) saturate(1.2);
  border-bottom-color: var(--line);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 70px; }
.nav__links { display: none; gap: 2.2rem; }
.nav__link {
  font-size: .92rem; font-weight: 500; color: var(--ink-2);
  position: relative; padding-block: 4px; transition: color .3s var(--ease);
}
.nav__link::after {
  content: ""; position: absolute; left: 0; bottom: 0; height: 1px; width: 0;
  background: var(--brass); transition: width .3s var(--ease);
}
.nav__link:hover, .nav__link[aria-current="page"] { color: var(--ink); }
.nav__link:hover::after, .nav__link[aria-current="page"]::after { width: 100%; }
.nav__right { display: flex; align-items: center; gap: .5rem; }

/* Wordmark + resonance mark (signature motif) */
.brand { display: inline-flex; align-items: center; gap: .6rem; }
.brand__mark { width: 26px; height: 26px; flex: none; }
.brand__ring { fill: none; stroke: var(--brass); stroke-width: 1.4; transform-origin: center; }
.brand__name {
  font-family: var(--font-display); font-weight: 700; font-size: 1.22rem;
  letter-spacing: .18em; color: var(--ink);
}

.icon-btn {
  position: relative; width: 42px; height: 42px; display: inline-flex;
  align-items: center; justify-content: center; border-radius: var(--r-structural);
  color: var(--ink); transition: background .3s var(--ease), color .3s var(--ease);
}
.icon-btn:hover { background: var(--surface); color: var(--brass); }
.icon-btn svg { width: 20px; height: 20px; }
.cart-count {
  position: absolute; top: 3px; right: 3px; min-width: 17px; height: 17px; padding: 0 4px;
  background: var(--brass); color: #1a1408; font-family: var(--font-mono);
  font-size: .64rem; font-weight: 700; border-radius: var(--r-pill);
  display: grid; place-items: center; transform: scale(0); transition: transform .35s var(--ease);
}
.cart-count.is-visible { transform: scale(1); }
.cart-count.is-bumped { animation: countbump .45s var(--ease); }
@keyframes countbump { 0%{transform:scale(1)} 40%{transform:scale(1.5)} 100%{transform:scale(1)} }

.nav__toggle { display: inline-flex; }
@media (min-width: 1024px) {
  .nav__links { display: flex; }
  .nav__toggle { display: none; }
}

/* Mobile menu */
.mobile-menu {
  position: fixed; inset: 0; z-index: 60; background: var(--ground-2);
  display: flex; flex-direction: column; padding: var(--gutter);
  transform: translateY(-100%); transition: transform .45s var(--ease); visibility: hidden;
}
.mobile-menu.is-open { transform: translateY(0); visibility: visible; }
.mobile-menu__top { display: flex; justify-content: space-between; align-items: center; }
.mobile-menu__links { display: flex; flex-direction: column; gap: 1.3rem; margin-top: 18vh; }
.mobile-menu__links a { font-family: var(--font-display); font-size: 2.2rem; font-weight: 600; letter-spacing: -.02em; }
.mobile-menu__links a:hover { color: var(--brass); }

/* =====================================================================
   Hero
   ===================================================================== */
.hero { position: relative; z-index: 1; padding-top: clamp(40px, 7vw, 90px); overflow: hidden; }
.hero__grid {
  display: grid; gap: clamp(28px, 5vw, 48px); align-items: center;
  grid-template-columns: 1fr;
}
.hero__copy { position: relative; z-index: 2; }
.hero__title { margin-top: 1.1rem; }
.hero__title em { font-style: normal; color: var(--brass); }
.hero__lead { margin-top: 1.5rem; }
.hero__actions { display: flex; flex-wrap: wrap; gap: .9rem; margin-top: 2.2rem; }
.hero__stats { display: flex; gap: clamp(1.5rem, 4vw, 3rem); margin-top: 3rem; flex-wrap: wrap; }
.hero__stat .n { font-family: var(--font-display); font-size: 1.7rem; font-weight: 600; color: var(--ink); letter-spacing: -.02em; }
.hero__stat .k { font-family: var(--font-mono); font-size: .68rem; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }

/* Product media frame — signature 45° chamfered corner */
.media-frame {
  position: relative; overflow: hidden; background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-structural);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - var(--chamfer)), calc(100% - var(--chamfer)) 100%, 0 100%);
}
.media-frame img { width: 100%; height: 100%; object-fit: cover; }
.hero__media { position: relative; }
.hero__media .media-frame { aspect-ratio: 4 / 5; }
.hero__media-tag {
  position: absolute; left: 16px; bottom: 16px; z-index: 3;
  font-family: var(--font-mono); font-size: .7rem; letter-spacing: .14em; text-transform: uppercase;
  color: var(--ink); background: color-mix(in srgb, var(--ground) 70%, transparent);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  border: 1px solid var(--line); padding: .5em .9em; border-radius: var(--r-structural);
}
/* Brass glow behind hero product */
.hero__media::after {
  content: ""; position: absolute; inset: -12% -8% -8% -12%; z-index: -1;
  background: radial-gradient(60% 55% at 60% 40%, color-mix(in srgb, var(--brass) 26%, transparent), transparent 70%);
  filter: blur(30px);
}
@media (min-width: 900px) {
  .hero__grid { grid-template-columns: 1.05fr .95fr; }
}

/* Materials line — quiet, static, editorial (replaces the marquee) */
.matline { display: flex; flex-wrap: wrap; align-items: baseline; gap: .5rem 1.4rem; padding-block: 1.3rem; border-block: 1px solid var(--line); position: relative; z-index: 1; }
.matline__lead { font-family: var(--font-mono); font-size: .68rem; letter-spacing: .22em; text-transform: uppercase; color: var(--brass); }
.matline__list { list-style: none; display: flex; flex-wrap: wrap; gap: .4rem 1.3rem; padding: 0; margin: 0; }
.matline__list li { font-family: var(--font-mono); font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); display: inline-flex; align-items: center; }
.matline__list li:not(:last-child)::after { content: "/"; color: var(--line-strong); margin-left: 1.3rem; }

/* =====================================================================
   Product cards / grid
   ===================================================================== */
.grid-products {
  display: grid; gap: clamp(14px, 2vw, 24px);
  grid-template-columns: repeat(2, 1fr);
}
@media (min-width: 768px) { .grid-products { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1100px) { .grid-products.is-four { grid-template-columns: repeat(4, 1fr); } }

.card { position: relative; display: flex; flex-direction: column; }
.card__media {
  position: relative; aspect-ratio: 1 / 1; overflow: hidden;
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--r-structural);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - var(--chamfer)), calc(100% - var(--chamfer)) 100%, 0 100%);
}
.card__media img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .7s var(--ease), filter .5s var(--ease);
}
.card:hover .card__media img { transform: scale(1.06); }
.card__badge {
  position: absolute; top: 12px; left: 12px; z-index: 2;
  font-family: var(--font-mono); font-size: .62rem; letter-spacing: .16em; text-transform: uppercase;
  padding: .4em .7em; border-radius: var(--r-structural);
  background: color-mix(in srgb, var(--ground) 68%, transparent);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  border: 1px solid var(--line-strong); color: var(--ink);
}
.card__badge[data-badge="Limited"] { color: var(--ember); border-color: color-mix(in srgb, var(--ember) 50%, var(--line)); }
.card__badge[data-badge="New"] { color: var(--brass); border-color: var(--brass-deep); }

/* Quick-add — slides up on hover, always tappable on touch */
.card__quickadd {
  position: absolute; left: 12px; right: 12px; bottom: 12px; z-index: 2;
  display: flex; align-items: center; justify-content: space-between; gap: .5rem;
  padding: .7em 1em; border-radius: var(--r-structural);
  background: color-mix(in srgb, var(--ground) 78%, transparent);
  -webkit-backdrop-filter: blur(12px) saturate(1.3); backdrop-filter: blur(12px) saturate(1.3);
  border: 1px solid var(--line-strong); color: var(--ink);
  font-weight: 600; font-size: .85rem;
  transform: translateY(140%); opacity: 0;
  transition: transform .4s var(--ease), opacity .4s var(--ease), border-color .3s var(--ease), color .3s var(--ease);
}
.card:hover .card__quickadd, .card:focus-within .card__quickadd { transform: translateY(0); opacity: 1; }
.card__quickadd:hover { border-color: var(--brass); color: var(--brass); }
.card__quickadd svg { width: 1.1em; height: 1.1em; }
@media (hover: none) { .card__quickadd { transform: translateY(0); opacity: 1; } }

.card__body { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; padding-top: .95rem; }
.card__name { font-family: var(--font-display); font-weight: 600; font-size: 1.08rem; letter-spacing: -.01em; }
.card__line { font-family: var(--font-mono); font-size: .68rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-top: .25rem; }
.card__price { font-family: var(--font-display); font-weight: 600; font-size: 1.02rem; color: var(--ink); white-space: nowrap; }
.card__price::before { content: "$"; color: var(--muted); font-size: .8em; margin-right: 1px; }
.card__link { position: absolute; inset: 0; z-index: 1; }
.card:hover .card__name { color: var(--brass); }
.card__name { transition: color .3s var(--ease); }

/* Swatches on card */
.swatches { display: flex; gap: 5px; margin-top: .55rem; }
.swatch { width: 12px; height: 12px; border-radius: var(--r-pill); border: 1px solid var(--line-strong); }

/* Rating */
.rating { display: inline-flex; align-items: center; gap: .4em; font-family: var(--font-mono); font-size: .72rem; color: var(--muted); }
.rating__stars { color: var(--brass); letter-spacing: .05em; }

/* =====================================================================
   Editorial / feature band
   ===================================================================== */
.feature {
  position: relative; z-index: 1; overflow: hidden;
  border-block: 1px solid var(--line);
}
.feature__bg { position: absolute; inset: 0; z-index: 0; }
.feature__bg img { width: 100%; height: 100%; object-fit: cover; opacity: .3; }
.feature__bg::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, var(--ground) 8%, color-mix(in srgb, var(--ground) 55%, transparent) 60%, transparent);
}
.feature__inner { position: relative; z-index: 1; max-width: 52ch; padding-block: clamp(64px, 10vw, 130px); }

.split { display: grid; gap: clamp(28px, 5vw, 56px); align-items: center; grid-template-columns: 1fr; }
@media (min-width: 900px) { .split { grid-template-columns: 1fr 1fr; } .split--flip .split__media { order: -1; } }
.split__media .media-frame { aspect-ratio: 5 / 4; }

/* Spec chips */
.spec-list { display: grid; gap: 0; border: 1px solid var(--line); border-radius: var(--r-structural); overflow: hidden; }
.spec-list__row { display: flex; justify-content: space-between; gap: 1rem; padding: .85em 1.1em; border-bottom: 1px solid var(--line); font-size: .9rem; }
.spec-list__row:last-child { border-bottom: 0; }
.spec-list__row:nth-child(odd) { background: color-mix(in srgb, var(--surface) 40%, transparent); }
.spec-list__k { font-family: var(--font-mono); font-size: .74rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.spec-list__v { color: var(--ink); font-weight: 500; text-align: right; }

/* =====================================================================
   "Why NOIR" — editorial ledger (asymmetric, no icon cards / no 01-02-03)
   ===================================================================== */
.ledger { display: grid; gap: clamp(28px, 5vw, 64px); grid-template-columns: 1fr; }
@media (min-width: 900px) {
  .ledger { grid-template-columns: .8fr 1.2fr; }
  .ledger__head { position: sticky; top: 100px; align-self: start; }
}
.ledger__rows { display: flex; flex-direction: column; }
.ledger__row {
  display: grid; grid-template-columns: auto 1fr; gap: clamp(1.2rem, 3.5vw, 3rem);
  padding: clamp(1.5rem, 3vw, 2.4rem) 0; border-top: 1px solid var(--line); align-items: baseline;
}
.ledger__row:last-child { border-bottom: 1px solid var(--line); }
.ledger__val {
  font-family: var(--font-display); font-weight: 600; letter-spacing: -.02em; color: var(--brass);
  font-size: clamp(1.9rem, 3.2vw, 2.7rem); line-height: 1; white-space: nowrap; min-width: 3.2ch;
}
.ledger__val span {
  display: block; font-family: var(--font-mono); font-weight: 400; color: var(--muted);
  font-size: .58rem; letter-spacing: .16em; text-transform: uppercase; margin-top: .45rem;
}
.ledger__title { font-family: var(--font-display); font-weight: 600; font-size: 1.22rem; letter-spacing: -.01em; }
.ledger__text p { color: var(--ink-2); margin-top: .55rem; max-width: 50ch; }

/* =====================================================================
   Newsletter
   ===================================================================== */
.news { text-align: center; }
.news__form { display: flex; gap: .6rem; max-width: 460px; margin: 1.8rem auto 0; flex-wrap: wrap; }
.field {
  flex: 1 1 220px; display: flex; align-items: center; background: var(--surface);
  border: 1px solid var(--line-strong); border-radius: var(--r-structural);
  padding: 0 .4rem 0 1rem; transition: border-color .3s var(--ease);
}
.field:focus-within { border-color: var(--brass); }
.field input { flex: 1; background: none; border: none; padding: .9em .4em; outline: none; min-width: 0; }
.field input::placeholder { color: var(--faint); }

/* =====================================================================
   Footer
   ===================================================================== */
.footer { position: relative; z-index: 1; border-top: 1px solid var(--line); padding-block: clamp(48px, 6vw, 80px) 2.2rem; }
.footer__grid { display: grid; gap: 2.5rem; grid-template-columns: 1fr; }
@media (min-width: 768px) { .footer__grid { grid-template-columns: 1.6fr repeat(3, 1fr); } }
.footer__col h4 { font-family: var(--font-mono); font-size: .7rem; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); margin-bottom: 1rem; }
.footer__col ul { list-style: none; padding: 0; display: flex; flex-direction: column; gap: .7rem; }
.footer__col a { color: var(--ink-2); font-size: .92rem; transition: color .3s var(--ease); }
.footer__col a:hover { color: var(--brass); }
.footer__brandtext { color: var(--muted); font-size: .92rem; max-width: 34ch; margin-top: 1rem; }
.footer__bottom { display: flex; flex-wrap: wrap; gap: 1rem; justify-content: space-between; align-items: center;
  margin-top: 3rem; padding-top: 1.6rem; border-top: 1px solid var(--line); color: var(--faint); font-size: .82rem; }
.footer__bottom .font-mono { font-family: var(--font-mono); letter-spacing: .05em; }

/* =====================================================================
   Cart drawer
   ===================================================================== */
.drawer-scrim {
  position: fixed; inset: 0; z-index: 70; background: rgba(4,3,1,.6);
  -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px);
  opacity: 0; visibility: hidden; transition: opacity .4s var(--ease), visibility .4s var(--ease);
}
.drawer-scrim.is-open { opacity: 1; visibility: visible; }
.drawer {
  position: fixed; top: 0; right: 0; bottom: 0; z-index: 71; width: min(420px, 92vw);
  background: var(--ground-2); border-left: 1px solid var(--line);
  display: flex; flex-direction: column; transform: translateX(100%);
  transition: transform .5s var(--ease); box-shadow: -30px 0 60px rgba(0,0,0,.4);
}
.drawer.is-open { transform: translateX(0); }
.drawer__head { display: flex; align-items: center; justify-content: space-between; padding: 1.3rem var(--gutter); border-bottom: 1px solid var(--line); }
.drawer__title { font-family: var(--font-display); font-weight: 600; font-size: 1.2rem; }
.drawer__title span { font-family: var(--font-mono); font-size: .8rem; color: var(--muted); }
.drawer__body { flex: 1; overflow-y: auto; padding: 1rem var(--gutter); }
.drawer__foot { border-top: 1px solid var(--line); padding: 1.3rem var(--gutter) calc(1.3rem + env(safe-area-inset-bottom)); }

.line-item { display: grid; grid-template-columns: 64px 1fr auto; gap: 1rem; padding: 1rem 0; border-bottom: 1px solid var(--line); }
.line-item__media { width: 64px; height: 64px; border-radius: var(--r-structural); overflow: hidden; border: 1px solid var(--line); background: var(--surface); }
.line-item__media img { width: 100%; height: 100%; object-fit: cover; }
.line-item__name { font-family: var(--font-display); font-weight: 600; font-size: .98rem; }
.line-item__meta { font-family: var(--font-mono); font-size: .68rem; color: var(--muted); text-transform: uppercase; letter-spacing: .1em; margin-top: .2rem; }
.line-item__price { font-weight: 600; }
.line-item__remove { font-family: var(--font-mono); font-size: .7rem; color: var(--faint); margin-top: .5rem; transition: color .3s var(--ease); }
.line-item__remove:hover { color: var(--ember); }

.qty { display: inline-flex; align-items: center; border: 1px solid var(--line-strong); border-radius: var(--r-structural); margin-top: .5rem; }
.qty button { width: 26px; height: 26px; display: grid; place-items: center; color: var(--ink-2); transition: color .3s var(--ease); }
.qty button:hover { color: var(--brass); }
.qty span { min-width: 26px; text-align: center; font-family: var(--font-mono); font-size: .85rem; }

.summary-row { display: flex; justify-content: space-between; margin-bottom: .7rem; color: var(--ink-2); font-size: .92rem; }
.summary-row--total { color: var(--ink); font-weight: 700; font-size: 1.15rem; font-family: var(--font-display); margin-top: 1rem; padding-top: 1rem; border-top: 1px solid var(--line); }

.cart-empty { text-align: center; padding: 3rem 1rem; color: var(--muted); }
.cart-empty svg { width: 46px; height: 46px; color: var(--line-strong); margin: 0 auto 1rem; }

/* Fly-to-cart clone */
.fly-clone {
  position: fixed; z-index: 80; border-radius: var(--r-structural); overflow: hidden;
  pointer-events: none; border: 1px solid var(--brass);
  will-change: transform, opacity; object-fit: cover;
}

/* =====================================================================
   Reveal-on-scroll (one purposeful motion; reduced-motion falls back)
   ===================================================================== */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
[data-delay="1"] { transition-delay: .08s; }
[data-delay="2"] { transition-delay: .16s; }
[data-delay="3"] { transition-delay: .24s; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* =====================================================================
   Shop page — filter bar
   ===================================================================== */
.shop-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 1.5rem; }
.filters { display: flex; flex-wrap: wrap; gap: .5rem; align-items: center; }
.chip {
  font-family: var(--font-mono); font-size: .74rem; letter-spacing: .1em; text-transform: uppercase;
  padding: .55em 1em; border: 1px solid var(--line-strong); border-radius: var(--r-pill);
  color: var(--ink-2); transition: all .3s var(--ease);
}
.chip:hover { border-color: var(--brass); color: var(--ink); }
.chip[aria-pressed="true"] { background: var(--brass); border-color: var(--brass); color: #1a1408; }
.select-wrap { position: relative; display: inline-flex; align-items: center; }
.select-wrap select {
  appearance: none; -webkit-appearance: none; background: var(--surface);
  border: 1px solid var(--line-strong); border-radius: var(--r-structural);
  padding: .6em 2.4em .6em 1em; font-family: var(--font-mono); font-size: .74rem;
  letter-spacing: .08em; text-transform: uppercase; color: var(--ink-2); cursor: pointer;
}
.select-wrap svg { position: absolute; right: .8em; width: 14px; height: 14px; pointer-events: none; color: var(--muted); }
.result-count { font-family: var(--font-mono); font-size: .78rem; color: var(--muted); }

/* =====================================================================
   Product detail page
   ===================================================================== */
.pdp { display: grid; gap: clamp(28px, 4vw, 56px); grid-template-columns: 1fr; align-items: start; }
@media (min-width: 900px) { .pdp { grid-template-columns: 1.1fr .9fr; } }
.pdp__gallery { position: relative; }
.gallery__main {
  aspect-ratio: 4 / 5; overflow: hidden; background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--r-structural);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - var(--chamfer)), calc(100% - var(--chamfer)) 100%, 0 100%);
}
.gallery__main img { width: 100%; height: 100%; object-fit: cover; transition: opacity .4s var(--ease); }
.gallery__thumbs { display: flex; gap: .6rem; margin-top: .8rem; }
.gallery__thumb {
  width: 72px; height: 72px; overflow: hidden; border: 1px solid var(--line);
  border-radius: var(--r-structural); background: var(--surface); opacity: .6; transition: opacity .3s var(--ease), border-color .3s var(--ease);
}
.gallery__thumb img { width: 100%; height: 100%; object-fit: cover; }
.gallery__thumb.is-active, .gallery__thumb:hover { opacity: 1; border-color: var(--brass); }
@media (min-width: 900px) { .pdp__info { position: sticky; top: 92px; } }

.pdp__price { font-family: var(--font-display); font-weight: 600; font-size: 1.9rem; }
.pdp__price::before { content: "$"; color: var(--muted); font-size: .6em; vertical-align: .25em; margin-right: 2px; }

.opt-group { margin-top: 1.6rem; }
.opt-group__label { font-family: var(--font-mono); font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); display: flex; justify-content: space-between; }
.opt-group__label b { color: var(--ink); font-weight: 600; }
.color-opts { display: flex; gap: .7rem; margin-top: .8rem; }
.color-opt { width: 34px; height: 34px; border-radius: var(--r-pill); border: 1px solid var(--line-strong); position: relative; transition: transform .25s var(--ease); }
.color-opt::after { content: ""; position: absolute; inset: -5px; border-radius: var(--r-pill); border: 1px solid transparent; transition: border-color .25s var(--ease); }
.color-opt:hover { transform: scale(1.08); }
.color-opt.is-active::after { border-color: var(--brass); }

.pdp__buy { display: flex; gap: .7rem; margin-top: 2rem; }
.pdp__buy .btn--primary { flex: 1; }

.accordion__item { border-top: 1px solid var(--line); }
.accordion__item:last-child { border-bottom: 1px solid var(--line); }
.accordion__head { width: 100%; display: flex; justify-content: space-between; align-items: center; padding: 1.1em 0; text-align: left; font-family: var(--font-display); font-weight: 600; font-size: 1.02rem; }
.accordion__head svg { width: 18px; height: 18px; color: var(--brass); transition: transform .35s var(--ease); flex: none; }
.accordion__item.is-open .accordion__head svg { transform: rotate(45deg); }
.accordion__panel { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .4s var(--ease); }
.accordion__item.is-open .accordion__panel { grid-template-rows: 1fr; }
.accordion__inner { overflow: hidden; }
.accordion__body { padding-bottom: 1.2rem; color: var(--ink-2); }

.trust { display: flex; flex-wrap: wrap; gap: 1.2rem; margin-top: 1.8rem; }
.trust__item { display: inline-flex; align-items: center; gap: .5em; font-size: .82rem; color: var(--muted); }
.trust__item svg { width: 16px; height: 16px; color: var(--brass); }

/* =====================================================================
   Cart / checkout page
   ===================================================================== */
.checkout { display: grid; gap: clamp(28px, 4vw, 48px); grid-template-columns: 1fr; align-items: start; }
@media (min-width: 900px) { .checkout { grid-template-columns: 1.5fr .9fr; } }
.checkout__panel { border: 1px solid var(--line); border-radius: var(--r-structural); padding: clamp(20px, 3vw, 32px); }
.cart-row { display: grid; grid-template-columns: 88px 1fr auto; gap: 1.2rem; padding: 1.3rem 0; border-bottom: 1px solid var(--line); align-items: start; }
.cart-row:first-child { padding-top: 0; }
.cart-row__media { width: 88px; height: 88px; border-radius: var(--r-structural); overflow: hidden; border: 1px solid var(--line); background: var(--surface); }
.cart-row__media img { width: 100%; height: 100%; object-fit: cover; }
.cart-row__name { font-family: var(--font-display); font-weight: 600; font-size: 1.1rem; }
.cart-row__price { font-family: var(--font-display); font-weight: 600; }

.summary { position: sticky; top: 92px; }
.promo { display: flex; gap: .5rem; margin: 1.2rem 0; }
.steps { display: flex; gap: .5rem; margin-bottom: 2rem; }
.step { flex: 1; text-align: center; font-family: var(--font-mono); font-size: .68rem; letter-spacing: .1em; text-transform: uppercase; color: var(--faint); padding-bottom: .7rem; border-bottom: 2px solid var(--line); }
.step.is-active { color: var(--brass); border-color: var(--brass); }
.step .n { display: block; font-size: 1rem; color: inherit; margin-bottom: .2rem; }

/* Toast */
.toast {
  position: fixed; left: 50%; bottom: 26px; z-index: 90; transform: translate(-50%, 140%);
  background: var(--surface-2); border: 1px solid var(--brass-deep); color: var(--ink);
  padding: .85em 1.3em; border-radius: var(--r-structural); font-size: .9rem; font-weight: 500;
  display: inline-flex; align-items: center; gap: .6em; transition: transform .5s var(--ease);
  box-shadow: 0 20px 40px rgba(0,0,0,.4);
}
.toast.is-show { transform: translate(-50%, 0); }
.toast svg { width: 18px; height: 18px; color: var(--brass); }

/* Utilities */
.center { text-align: center; }
.mono { font-family: var(--font-mono); }
.muted { color: var(--muted); }
.mt-1 { margin-top: .5rem; } .mt-2 { margin-top: 1rem; } .mt-3 { margin-top: 1.5rem; } .mt-4 { margin-top: 2.5rem; }
.hidden { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0; }

/* =====================================================================
   v2 — "come alive" components
   ===================================================================== */

/* Ensure content sits above the ambient layer. Not .header: its own rule is already above it
   (sticky, z-index 50), and position: relative here is what had stopped it sticking. */
main, .footer, .ticker, .announce { position: relative; z-index: 1; }

/* --- Announcement bar --- */
.announce {
  background: var(--surface); border-bottom: 1px solid var(--line);
  overflow: hidden;
}
.announce__inner {
  display: flex; align-items: center; justify-content: center; gap: .9rem;
  min-height: 40px; padding: .4rem var(--gutter);
  font-family: var(--font-mono); font-size: .72rem; letter-spacing: .14em; text-transform: uppercase;
  color: var(--ink-2);
}
.announce .eq { color: var(--brass); }
.announce__msg { position: relative; height: 1.4em; line-height: 1.4em; overflow: hidden; display: inline-flex; }
.announce__msg b { color: var(--brass); font-weight: 700; }
.announce__slide { display: block; transition: transform .55s var(--ease), opacity .55s var(--ease); }
.announce__slide.is-out { transform: translateY(-110%); opacity: 0; }
.announce__slide.is-in-prep { transform: translateY(110%); opacity: 0; transition: none; }

/* --- Pointer-reactive warm glow behind hero product --- */
.hero__media { --mx: 60%; --my: 40%; }
.hero__media::after {
  background: radial-gradient(46% 42% at var(--mx) var(--my), color-mix(in srgb, var(--brass) 30%, transparent), transparent 70%);
  transition: background .25s ease-out;
}

/* --- Sticky add-to-cart bar (PDP) --- */
.stickybuy {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 55;
  background: color-mix(in srgb, var(--ground) 88%, transparent);
  -webkit-backdrop-filter: blur(16px) saturate(1.3); backdrop-filter: blur(16px) saturate(1.3);
  border-top: 1px solid var(--line);
  transform: translateY(110%); transition: transform .45s var(--ease);
}
.stickybuy.is-show { transform: translateY(0); }
.stickybuy__inner { display: flex; align-items: center; gap: 1rem; padding: .8rem var(--gutter); }
.stickybuy__media { width: 44px; height: 44px; border-radius: var(--r-structural); overflow: hidden; border: 1px solid var(--line); flex: none; }
.stickybuy__media img { width: 100%; height: 100%; object-fit: cover; }
.stickybuy__name { font-family: var(--font-display); font-weight: 600; font-size: .98rem; line-height: 1.1; }
.stickybuy__price { font-family: var(--font-mono); font-size: .78rem; color: var(--muted); }
.stickybuy__spacer { flex: 1; }
.stickybuy .btn { white-space: nowrap; }
@media (max-width: 560px) { .stickybuy__meta { display: none; } .stickybuy__spacer { display: none; } .stickybuy .btn { flex: 1; } }

/* --- Free-shipping progress meter (drawer) --- */
.ship-meter { padding: .2rem 0 1rem; }
.ship-meter__label { font-family: var(--font-mono); font-size: .68rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-bottom: .5rem; }
.ship-meter__label b { color: var(--brass); }
.ship-meter__track { height: 4px; background: var(--surface-2); border-radius: var(--r-pill); overflow: hidden; border: 1px solid var(--line); }
.ship-meter__fill { height: 100%; width: 0; background: linear-gradient(90deg, var(--brass-deep), var(--brass)); border-radius: var(--r-pill); transition: width .7s var(--ease); }
.ship-meter.is-unlocked .ship-meter__fill { background: linear-gradient(90deg, var(--brass), var(--brass-hi)); }

/* --- Interactive card swatches --- */
.swatches { position: relative; z-index: 2; width: max-content; }
.swatch { cursor: pointer; transition: transform .2s var(--ease), border-color .2s var(--ease); }
.swatch:hover, .swatch.is-active { transform: scale(1.35); border-color: var(--brass); }

/* --- Easy-on-the-eyes refinements --- */
body::before { opacity: .1; }                 /* softer engineered grid */
.lead, .measure { line-height: 1.7; }
.card__media, .media-frame, .gallery__main { box-shadow: 0 1px 0 color-mix(in srgb, #fff 4%, transparent) inset; }

/* =====================================================================
   v3 — Payment / checkout page
   ===================================================================== */
.checkout-header { border-bottom: 1px solid var(--line); position: relative; z-index: 1; }
.checkout-header__inner { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.secure-tag { display: inline-flex; align-items: center; gap: .5em; font-family: var(--font-mono); font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.secure-tag svg { width: 15px; height: 15px; color: var(--brass); }

.pay { display: grid; gap: clamp(32px, 5vw, 64px); grid-template-columns: 1fr; align-items: start; }
@media (min-width: 960px) { .pay { grid-template-columns: 1.4fr .9fr; } }

.pay__section { padding-top: 2.2rem; }
.pay__section:first-child { padding-top: 0; }
.pay__section-title { display: flex; align-items: center; gap: .7rem; font-family: var(--font-display); font-weight: 600; font-size: 1.18rem; margin-bottom: 1.1rem; }
.pay__step-num { width: 26px; height: 26px; border: 1px solid var(--brass-deep); color: var(--brass); border-radius: var(--r-pill); display: grid; place-items: center; font-family: var(--font-mono); font-size: .74rem; flex: none; }

/* form fields */
.form-grid { display: grid; gap: 1rem; }
.form-row { display: grid; gap: 1rem; grid-template-columns: 1fr 1fr; }
.form-field { display: flex; flex-direction: column; gap: .45rem; }
.form-field label { font-family: var(--font-mono); font-size: .64rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.input-wrap { position: relative; display: flex; align-items: center; background: var(--surface); border: 1px solid var(--line-strong); border-radius: var(--r-structural); transition: border-color .3s var(--ease); }
.input-wrap:focus-within { border-color: var(--brass); }
.input-wrap input, .input-wrap select { flex: 1; background: none; border: none; outline: none; padding: .85em 1em; min-width: 0; color: var(--ink); }
.input-wrap input::placeholder { color: var(--faint); }
.input-wrap select { appearance: none; -webkit-appearance: none; cursor: pointer; }
.card-scheme { display: flex; gap: 4px; padding-right: .6em; }
.card-scheme .paylogo { width: 30px; height: 20px; }

/* accepted-payment logos */
.paylogos { display: flex; gap: .5rem; flex-wrap: wrap; align-items: center; }
.paylogo { width: 44px; height: 30px; border: 1px solid var(--line-strong); border-radius: 4px; background: #fff; display: grid; place-items: center; overflow: hidden; transition: opacity .25s var(--ease), filter .25s var(--ease), transform .25s var(--ease), box-shadow .25s var(--ease); }
.paylogo svg { width: 100%; height: 100%; display: block; }
.paylogos.detecting .paylogo:not(.is-active),
.card-scheme.detecting .paylogo:not(.is-active) { opacity: .28; filter: grayscale(1); }
.paylogo.is-active { transform: translateY(-2px); box-shadow: 0 0 0 2px var(--brass); }

/* live card preview */
.card-preview { perspective: 1200px; margin-bottom: 1.5rem; }
.card-preview__inner { position: relative; aspect-ratio: 1.586; max-width: 350px; transform-style: preserve-3d; transition: transform .6s var(--ease); }
.card-preview.is-flipped .card-preview__inner { transform: rotateY(180deg); }
.card-face { position: absolute; inset: 0; -webkit-backface-visibility: hidden; backface-visibility: hidden; border-radius: 14px; padding: 1.2rem 1.4rem; display: flex; flex-direction: column; justify-content: space-between; background: linear-gradient(135deg, #201d14, #0c0b08); border: 1px solid var(--line-strong); overflow: hidden; }
.card-face::before { content: ""; position: absolute; inset: 0; background: radial-gradient(75% 60% at 115% -15%, color-mix(in srgb, var(--brass) 34%, transparent), transparent 60%); pointer-events: none; }
.card-face > * { position: relative; z-index: 1; }
.card-face--back { transform: rotateY(180deg); padding: 0; }
.card-top { display: flex; justify-content: space-between; align-items: flex-start; }
.card-chip { width: 40px; height: 30px; border-radius: 6px; background: linear-gradient(135deg, var(--brass-hi), var(--brass-deep)); }
.card-brand { width: 54px; height: 34px; }
.card-brand svg { width: 100%; height: 100%; display: block; border-radius: 4px; }
.card-num { font-family: var(--font-mono); font-size: 1.2rem; letter-spacing: .1em; color: var(--ink); }
.card-bottom { display: flex; justify-content: space-between; align-items: flex-end; gap: 1rem; }
.card-bottom small { display: block; font-family: var(--font-mono); font-size: .55rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: .25rem; }
.card-bottom span { font-family: var(--font-mono); font-size: .82rem; color: var(--ink-2); text-transform: uppercase; letter-spacing: .06em; }
.card-strip { position: absolute; left: 0; right: 0; top: 26px; height: 40px; background: #000; z-index: 1; }
.card-cvc-row { position: absolute; z-index: 2; right: 1.2rem; top: 80px; display: flex; flex-direction: column; align-items: flex-end; gap: .3rem; }
.card-cvc-row small { font-family: var(--font-mono); font-size: .55rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.card-cvc { background: #efece3; color: #111; font-family: var(--font-mono); padding: .35em .8em; border-radius: 3px; letter-spacing: .1em; }

/* delivery radio cards */
.radio-card { display: flex; align-items: center; gap: .9rem; padding: 1em 1.1em; border: 1px solid var(--line-strong); border-radius: var(--r-structural); cursor: pointer; transition: border-color .25s var(--ease), background .25s var(--ease); }
.radio-card + .radio-card { margin-top: .6rem; }
.radio-card.is-active { border-color: var(--brass); background: color-mix(in srgb, var(--brass) 6%, transparent); }
.radio-card__dot { width: 18px; height: 18px; border-radius: 50%; border: 1px solid var(--line-strong); position: relative; flex: none; }
.radio-card.is-active .radio-card__dot { border-color: var(--brass); }
.radio-card.is-active .radio-card__dot::after { content: ""; position: absolute; inset: 4px; border-radius: 50%; background: var(--brass); }
.radio-card__title { font-weight: 600; }
.radio-card__sub { font-size: .8rem; color: var(--muted); }
.radio-card__price { margin-left: auto; font-family: var(--font-display); font-weight: 600; }

/* pay summary */
.pay-summary { border: 1px solid var(--line); border-radius: var(--r-structural); padding: clamp(20px, 3vw, 28px); }
@media (min-width: 960px) { .pay-summary { position: sticky; top: 88px; } }
.pay-line { display: flex; gap: 1rem; padding: .8rem 0; border-bottom: 1px solid var(--line); align-items: center; }
.pay-line__media { width: 54px; height: 54px; border-radius: var(--r-structural); overflow: hidden; border: 1px solid var(--line); flex: none; position: relative; }
.pay-line__media img { width: 100%; height: 100%; object-fit: cover; }
.pay-line__qty { position: absolute; top: -7px; right: -7px; width: 20px; height: 20px; background: var(--brass); color: #1a1408; border-radius: 50%; font-family: var(--font-mono); font-size: .64rem; font-weight: 700; display: grid; place-items: center; }
.pay-line__name { font-family: var(--font-display); font-weight: 600; font-size: .95rem; }
.pay-line__meta { font-family: var(--font-mono); font-size: .64rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin-top: .15rem; }
.pay-line__price { margin-left: auto; font-weight: 600; white-space: nowrap; }

.pay-btn-note { display: flex; align-items: center; justify-content: center; gap: .5em; margin-top: 1rem; font-family: var(--font-mono); font-size: .66rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.pay-btn-note svg { width: 14px; height: 14px; color: var(--brass); }

/* express-checkout buttons (Apple Pay / Google Pay / PayPal) */
.express { display: flex; gap: .6rem; flex-wrap: wrap; }
.xpay { flex: 1 1 30%; min-width: 130px; height: 48px; border-radius: 8px; display: inline-flex; align-items: center; justify-content: center; gap: .45em; font-weight: 600; font-size: 1rem; transition: transform .18s var(--ease), filter .18s var(--ease); }
.xpay:hover { filter: brightness(1.09); }
.xpay:active { transform: translateY(1px); }
.xpay:focus-visible { outline: 2px solid var(--brass); outline-offset: 3px; }
.xpay--apple { background: #000; color: #fff; border: 1px solid #2b2b2b; }
.xpay--google { background: #000; color: #fff; border: 1px solid #2b2b2b; }
.xpay--paypal { background: #ffc439; color: #003087; }
.xpay svg { height: 19px; width: auto; display: block; }
.xpay--google svg { height: 20px; }
.xpay--paypal svg { height: 17px; }
.xpay__label { font-weight: 500; }

.pay-divider { display: flex; align-items: center; gap: 1rem; margin: 1.5rem 0; }
.pay-divider::before, .pay-divider::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.pay-divider span { font-family: var(--font-mono); font-size: .66rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }

/* 3-D Secure style modal + success */
.pay-modal { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 1.2rem; background: rgba(4,3,1,.72); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); opacity: 0; visibility: hidden; transition: opacity .35s var(--ease), visibility .35s var(--ease); }
.pay-modal.is-open { opacity: 1; visibility: visible; }
.pay-modal__box { width: min(430px, 94vw); background: var(--ground-2); border: 1px solid var(--line-strong); border-radius: var(--r-structural); padding: clamp(1.8rem, 4vw, 2.6rem); text-align: center; transform: translateY(14px); transition: transform .35s var(--ease); }
.pay-modal.is-open .pay-modal__box { transform: none; }
.spinner { width: 46px; height: 46px; border-radius: 50%; border: 3px solid var(--line-strong); border-top-color: var(--brass); margin: 0 auto 1.4rem; animation: spin .9s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.pay-bank { display: inline-flex; align-items: center; gap: .5em; font-family: var(--font-mono); font-size: .66rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-top: 1.1rem; }
.pay-bank svg { width: 14px; height: 14px; color: var(--brass); }
.pay-success__check { width: 62px; height: 62px; border-radius: 50%; background: color-mix(in srgb, var(--brass) 16%, transparent); border: 1px solid var(--brass); display: grid; place-items: center; margin: 0 auto 1.4rem; }
.pay-success__check svg { width: 30px; height: 30px; color: var(--brass); }
@media (prefers-reduced-motion: reduce) { .spinner { animation: none; } .card-preview__inner { transition: none; } }


/* =====================================================================
   Persistent demo label
   Not NOIR's furniture — ExVisio's. It stays on screen so the storefront
   can never be mistaken for a live shop, including while it is running
   inside the laptop frame on a case-study page. The xv- prefix marks it as
   foreign to the storefront's own BEM namespace. It sits above everything,
   the payment modal included, because that is when the label matters most.
   ===================================================================== */
.xv-demo-ribbon {
  position: fixed; right: 1rem; bottom: 1rem; z-index: 9999;
  display: inline-flex; align-items: center;
  padding: .5em .85em;
  border: 1px solid var(--line-strong); border-radius: var(--r-structural);
  background: color-mix(in srgb, var(--ground) 82%, transparent);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  font-family: var(--font-mono); font-size: .62rem; letter-spacing: .16em;
  text-transform: uppercase; color: var(--muted); text-decoration: none;
  white-space: nowrap;
  transition: color .3s var(--ease), border-color .3s var(--ease);
}
.xv-demo-ribbon:hover,
.xv-demo-ribbon:focus-visible { color: var(--brass); border-color: var(--brass-deep); }

/* The PDP's sticky add-to-cart bar claims the same corner once it slides up,
   so step over it rather than sit on top of a blurred bar. */
.stickybuy.is-show ~ .xv-demo-ribbon { bottom: calc(1rem + 80px); }
