/* V · Vinyl. An independent record shop for 3D-printed things.
   Record black, cream sleeve, warm walnut, and one label color per product. Phone first. */

:root {
  --black: #141111;
  --ink: #141111;
  --cream: #f2e8d5;
  --paper: #f8f2e6;
  --walnut: #4a2c1d;
  --walnut-2: #5c3826;
  --walnut-3: #2e1a10;
  --tomato: #e4572e;
  --mustard: #e7b33a;
  --teal: #2f8f88;
  --lilac: #b9a3e3;
  --tomato-ink: #b8381a;   /* tomato for text on cream (4.8:1) */
  --muted: #6b5a4c;        /* secondary text on cream (5.4:1) */
  --muted-d: #c4b7a5;      /* secondary text on black (9:1) */
  --line: rgba(20, 17, 17, .16);
  --line-d: rgba(242, 232, 213, .18);
  --focus: var(--mustard);
  --font: 'Familjen Grotesk', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --display: 'Shrikhand', 'Familjen Grotesk', Georgia, serif;
  --hdr: 60px;
  --gut: 16px;
  --ease: cubic-bezier(.2, .75, .2, 1);
  --label: var(--tomato);

  /* Shared room viewer (prototypes/shared/room-view) */
  --rv-bg: #141111;
  --rv-surface: #221c1b;
  --rv-text: #f2e8d5;
  --rv-muted: #c4b7a5;
  --rv-line: rgba(242, 232, 213, .2);
  --rv-accent: #e7b33a;
  --rv-accent-text: #141111;
  --rv-radius: 14px;
  --rv-font: 'Familjen Grotesk', 'Noto Sans Arabic', system-ui, sans-serif;
  --rv-font-display: 'Shrikhand', 'Marhey', serif;
}
:root:lang(ar) {
  --font: 'Familjen Grotesk', 'Noto Sans Arabic', system-ui, sans-serif;
  --display: 'Shrikhand', 'Marhey', 'Noto Sans Arabic', serif;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: calc(var(--hdr) + 12px); }
html:not(.rm) { scroll-behavior: smooth; }
html.is-locked { overflow: hidden; }
body {
  margin: 0; min-width: 320px;
  background: var(--cream); color: var(--ink);
  font: 400 1rem/1.55 var(--font);
  -webkit-font-smoothing: antialiased;
  -webkit-tap-highlight-color: transparent;
}
html:lang(ar) { font-size: 109.375%; } /* Arabic text runs ~17.5px wherever English is 16px */
:lang(ar) body { line-height: 1.7; }
:lang(ar) *, :lang(ar) *::before, :lang(ar) *::after { letter-spacing: 0 !important; text-transform: none !important; }
img, svg, canvas { display: block; max-width: 100%; }
h1, h2, h3 { margin: 0; text-wrap: balance; }
p { margin: 0; }
a { color: inherit; }
button, input, select { font: inherit; color: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.wrap { width: min(100% - 2 * var(--gut), 1320px); margin-inline: auto; }
.ico { width: 24px; height: 24px; flex: none; }
[data-ico] { display: inline-grid; place-items: center; width: 24px; height: 24px; flex: none; }
[dir="rtl"] .ico--dir { transform: scaleX(-1); }
@media (min-width: 700px) { :root { --gut: 24px; } }
@media (min-width: 1080px) { :root { --gut: 40px; --hdr: 72px; } }

.skip {
  position: absolute; inset-inline-start: 12px; top: -80px; z-index: 200;
  display: inline-flex; align-items: center; min-height: 48px; padding: 0 18px;
  background: var(--mustard); color: var(--black); border-radius: 12px; font-weight: 700; text-decoration: none;
}
.skip:focus { top: 8px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 24px; border-radius: 999px; border: 2px solid transparent;
  font: 700 1.0625rem/1.1 var(--font); text-decoration: none; text-align: center;
  transition: transform .15s var(--ease), background-color .2s, color .2s, border-color .2s, box-shadow .2s;
  -webkit-user-select: none; user-select: none;
}
.btn:active { transform: translateY(1px) scale(.97); }
.btn--primary { background: var(--tomato); color: var(--black); box-shadow: 0 6px 0 -2px rgba(0, 0, 0, .35); }
.btn--primary:hover { background: #f06a42; }
.btn--ghost { border-color: rgba(242, 232, 213, .7); color: var(--cream); background: transparent; }
.btn--ghost:hover { background: var(--cream); color: var(--black); border-color: var(--cream); }
.btn--ink { background: var(--black); color: var(--cream); }
.btn--ink:hover { background: #2a2322; }
.btn--ghost-dark { border-color: var(--black); color: var(--black); background: transparent; }
.btn--ghost-dark:hover { background: var(--black); color: var(--cream); }
.btn--label { background: var(--label); color: var(--black); }
.btn--label:hover { filter: brightness(1.08); }
.btn--block { width: 100%; }
.btn[aria-disabled="true"] { opacity: .55; cursor: not-allowed; }
.btn.is-loading { pointer-events: none; }
.btn.is-loading .ico { animation: spin .7s linear infinite; }
.btn .ico { transition: transform .2s var(--ease); }
.btn:hover .ico--dir { transform: translateX(3px); }
[dir="rtl"] .btn:hover .ico--dir { transform: scaleX(-1) translateX(3px); }

.icon-btn {
  display: inline-grid; place-items: center; width: 44px; height: 44px; flex: none;
  border: 0; border-radius: 999px; background: transparent; color: inherit;
  transition: background-color .2s;
}
.icon-btn:hover { background: rgba(242, 232, 213, .12); }
.btn-text { border: 0; background: none; padding: 0 6px; min-height: 44px; min-width: 44px; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.btn-chip {
  display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 10px 0 16px;
  border: 1.5px solid var(--black); border-radius: 999px; background: transparent; font-weight: 700;
}
.btn-chip:hover { background: var(--black); color: var(--cream); }
.btn-chip .ico { width: 18px; height: 18px; }

.lang { display: inline-flex; padding: 3px; gap: 2px; border: 1.5px solid currentColor; border-radius: 999px; }
.lang button {
  min-width: 52px; min-height: 40px; padding: 0 12px; border: 0; border-radius: 999px;
  background: transparent; font-weight: 700; font-size: .9375rem;
}
.lang button[lang="ar"] { font-family: 'Noto Sans Arabic', var(--font); }
.lang button[aria-pressed="true"] { background: var(--cream); color: var(--black); }
.lang--big button { min-height: 48px; min-width: 72px; font-size: 1.0625rem; }

/* ---------- Header ---------- */
.hdr {
  position: sticky; top: 0; z-index: 50; height: var(--hdr);
  background: var(--black); color: var(--cream);
  border-bottom: 1px solid transparent; transition: border-color .2s;
}
.hdr.is-scrolled { border-bottom-color: var(--line-d); }
.hdr__bar { height: 100%; display: flex; align-items: center; gap: 6px; }
.brand { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; color: var(--cream); text-decoration: none; flex: none; }
.brand__mark { width: 30px; height: auto; transition: transform .6s var(--ease); }
.brand:hover .brand__mark { transform: rotate(-14deg); }
.brand__word { font-family: 'Shrikhand', var(--display); font-size: 1.25rem; line-height: 1; white-space: nowrap; letter-spacing: .005em; }
.hdr__nav, .hdr__search, .hdr__lang { display: none; }
.hdr__tools { margin-inline-start: auto; display: flex; align-items: center; gap: 4px; }
.cart-btn {
  position: relative; display: inline-grid; place-items: center; width: 44px; height: 44px;
  border: 0; border-radius: 999px; background: transparent; color: inherit;
}
.cart-btn:hover { background: rgba(242, 232, 213, .12); }
.cart-btn__n {
  position: absolute; top: 2px; inset-inline-end: 0; min-width: 20px; height: 20px; padding: 0 5px;
  display: grid; place-items: center; border-radius: 999px;
  background: var(--tomato); color: var(--black); font-size: .75rem; font-weight: 700; line-height: 1;
}
.cart-btn__n.is-zero { background: #4a403e; color: var(--cream); }
.cart-btn.is-bump .cart-btn__n { animation: bump .5s var(--ease); }
@keyframes bump { 0% { transform: scale(1); } 35% { transform: scale(1.5); } 100% { transform: scale(1); } }
@media (max-width: 379px) { .brand__word { font-size: 1.0625rem; } .brand__mark { width: 26px; } }

@media (min-width: 1080px) {
  .hdr__bar { gap: 12px; }
  .brand__word { font-size: 1.5rem; }
  .hdr__nav { display: block; margin-inline-start: 18px; }
  .hdr__nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 2px; }
  .hdr__nav a {
    display: inline-flex; align-items: center; min-height: 44px; padding: 0 12px; border-radius: 999px;
    color: var(--cream); text-decoration: none; font-weight: 600; white-space: nowrap;
  }
  .hdr__nav a:hover { background: rgba(242, 232, 213, .1); }
  .hdr__nav a[aria-current="page"] { background: var(--cream); color: var(--black); }
  .hdr__search { display: block; position: relative; margin-inline-start: auto; width: clamp(200px, 20vw, 300px); }
  .hdr__tools { margin-inline-start: 0; gap: 8px; }
  .hdr__lang { display: inline-flex; }
  .hdr__searchbtn, .hdr__menubtn { display: none; }
}

/* Search field + results */
.sbox { position: relative; display: flex; align-items: center; }
.sbox__ico { position: absolute; inset-inline-start: 12px; pointer-events: none; color: var(--muted-d); }
.sbox input {
  width: 100%; min-height: 44px; padding-block: 0; padding-inline: 44px 14px;
  border: 1.5px solid var(--line-d); border-radius: 999px; background: rgba(242, 232, 213, .08); color: var(--cream);
  font-size: 1rem;
}
.sbox input::placeholder { color: var(--muted-d); opacity: 1; }
.sbox input:focus { outline: none; border-color: var(--mustard); background: rgba(242, 232, 213, .12); }
.sbox input::-webkit-search-cancel-button { filter: invert(1); }
.sresults {
  position: absolute; top: calc(100% + 10px); inset-inline-end: 0; width: min(440px, 80vw); max-height: min(70vh, 560px); overflow: auto;
  padding: 8px; background: var(--cream); color: var(--ink); border-radius: 18px;
  box-shadow: 0 24px 60px -12px rgba(0, 0, 0, .55), 0 0 0 1px var(--line);
  --focus: var(--black);
}
.sres-status { padding: 8px 10px; color: var(--muted); font-size: .9375rem; }
.sresults ul, .ssheet__results ul { list-style: none; margin: 0; padding: 0; }
.sres {
  display: grid; grid-template-columns: 52px 1fr auto; align-items: center; gap: 12px;
  min-height: 64px; padding: 6px 10px; border-radius: 12px; text-decoration: none;
}
.sres:hover { background: rgba(20, 17, 17, .07); }
.sres:focus-visible { outline-offset: -3px; }
.sres__art { width: 52px; height: 52px; border-radius: 4px; overflow: hidden; box-shadow: 0 0 0 1px var(--line); }
.sres__art .cover { width: 100%; height: 100%; }
.sres__txt { display: flex; flex-direction: column; min-width: 0; }
.sres__name { font-weight: 700; line-height: 1.25; }
.sres__by { color: var(--muted); font-size: .875rem; }
.sres__price { font-weight: 700; white-space: nowrap; }

/* ---------- Dialogs ---------- */
dialog { padding: 0; border: 0; max-width: none; max-height: none; color: inherit; background: transparent; }
dialog::backdrop { background: rgba(20, 17, 17, .6); }
.menu, .ssheet {
  width: 100%; height: 100%; margin: 0; inset: 0;
  background: var(--black); color: var(--cream); --focus: var(--mustard);
  opacity: 0; transition: opacity .25s;
}
.menu.is-in, .ssheet.is-in { opacity: 1; }
.menu__panel { min-height: 100%; display: flex; flex-direction: column; padding: 0 var(--gut) calc(24px + env(safe-area-inset-bottom)); }
.menu__top { height: var(--hdr); display: flex; align-items: center; justify-content: space-between; }
.brand--static .brand__word { font-size: 1.25rem; }
.menu__nav { list-style: none; margin: 24px 0 0; padding: 0; }
.menu__nav a {
  display: flex; align-items: center; gap: 16px; min-height: 68px; border-bottom: 1px solid var(--line-d);
  color: var(--cream); text-decoration: none; font-size: 1.75rem; font-weight: 700;
  transform: translateY(10px); opacity: 0; transition: transform .4s var(--ease), opacity .4s;
}
.menu.is-in .menu__nav a { transform: none; opacity: 1; }
.menu.is-in .menu__nav li:nth-child(2) a { transition-delay: .04s; }
.menu.is-in .menu__nav li:nth-child(3) a { transition-delay: .08s; }
.menu.is-in .menu__nav li:nth-child(4) a { transition-delay: .12s; }
.menu__no { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; font-size: .875rem; background: radial-gradient(circle, var(--mustard) 0 52%, #2a2322 53%); color: var(--black); }
.menu__lang { margin-top: auto; padding-top: 32px; display: flex; align-items: center; justify-content: space-between; gap: 16px; font-weight: 700; }
.ssheet__panel { min-height: 100%; display: flex; flex-direction: column; padding: 10px var(--gut) calc(24px + env(safe-area-inset-bottom)); }
.sbox--sheet { gap: 8px; }
.sbox--sheet input { min-height: 52px; font-size: 1.0625rem; }
.ssheet__results { margin-top: 12px; }
.ssheet .sres-status { color: var(--muted-d); }
.ssheet .sres:hover { background: rgba(242, 232, 213, .08); }
.ssheet .sres__by { color: var(--muted-d); }

.drawer {
  position: fixed; inset-block: 0; inset-inline-end: 0; inset-inline-start: auto; margin: 0;
  width: min(440px, 100%); height: 100dvh; max-height: 100dvh;
  background: var(--cream); color: var(--ink); --focus: var(--black);
  transform: translateX(100%); transition: transform .32s var(--ease);
}
[dir="rtl"] .drawer { transform: translateX(-100%); }
.drawer.is-in, [dir="rtl"] .drawer.is-in { transform: none; }
.drawer__panel { min-height: 100%; display: flex; flex-direction: column; gap: 14px; padding: 0 20px calc(20px + env(safe-area-inset-bottom)); }
.drawer__top { min-height: 64px; display: flex; align-items: center; justify-content: space-between; border-bottom: 2px solid var(--black); }
.drawer__top h2 { font-family: var(--display); font-weight: 400; font-size: 1.75rem; }
.drawer .icon-btn:hover { background: rgba(20, 17, 17, .08); }
.cart__empty { padding: 24px 0; color: var(--muted); font-size: 1.0625rem; }
.cart__list { list-style: none; margin: 0; padding: 0; }
.citem { display: grid; grid-template-columns: 56px 1fr auto; grid-template-areas: "art txt price" "art txt rm"; gap: 0 12px; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--line); }
.citem__art { grid-area: art; width: 56px; height: 56px; border-radius: 4px; overflow: hidden; }
.citem__art .cover { width: 100%; height: 100%; }
.citem__txt { grid-area: txt; display: flex; flex-direction: column; min-width: 0; }
.citem__name { font-weight: 700; line-height: 1.25; }
.citem__meta { color: var(--muted); font-size: .9375rem; }
.citem__price { grid-area: price; font-weight: 700; text-align: end; }
.citem__rm { grid-area: rm; justify-self: end; color: var(--tomato-ink); }
.cart__foot { margin-top: auto; display: grid; gap: 10px; }
.cart__sum { display: flex; justify-content: space-between; font-size: 1.25rem; font-weight: 700; padding-top: 6px; }
.cart__note { color: var(--muted); font-size: .9375rem; }

/* ---------- Shared type ---------- */
.eyebrow { font-size: .875rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--tomato-ink); margin-bottom: 10px; }
.h2 { font-family: var(--display); font-weight: 400; font-size: clamp(2.1rem, 8vw, 3.75rem); line-height: 1.04; margin-bottom: 14px; }
:lang(ar) .h2 { line-height: 1.35; font-size: clamp(2rem, 7.4vw, 3.4rem); }
.lede { font-size: 1.0625rem; color: var(--muted); max-width: 58ch; }
.sec { padding-block: 56px; }
.sec__head { margin-bottom: 28px; }
.sec__head--row { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 18px; }
.sec--cream { background: var(--cream); color: var(--ink); --focus: var(--black); }
.sec--walnut { background: var(--walnut); color: var(--cream); --focus: var(--mustard); }
.sec--walnut .eyebrow, .sec--black .eyebrow { color: var(--mustard); }
.sec--walnut .lede { color: #e2d3bc; }
.sec--black { background: var(--black); color: var(--cream); --focus: var(--mustard); }
.sec--black .lede { color: var(--muted-d); }
@media (min-width: 1080px) { .sec { padding-block: 104px; } .sec__head { margin-bottom: 40px; } }

/* ---------- Equalizer + spin ---------- */
.eq { display: inline-flex; align-items: flex-end; gap: 2px; height: 14px; flex: none; }
.eq i { width: 3px; height: 100%; background: currentColor; border-radius: 1px; transform-origin: bottom; animation: eq .9s ease-in-out infinite alternate; }
.eq i:nth-child(2) { animation-delay: -.3s; animation-duration: .7s; }
.eq i:nth-child(3) { animation-delay: -.6s; animation-duration: 1.1s; }
.eq i:nth-child(4) { animation-delay: -.15s; animation-duration: .8s; }
.is-paused .eq i { animation-play-state: paused; }
@keyframes eq { from { transform: scaleY(.25); } to { transform: scaleY(1); } }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- Hero: the turntable ---------- */
.hero {
  position: relative; overflow: clip; color: var(--cream); --focus: var(--mustard);
  background:
    radial-gradient(90% 60% at 50% 62%, rgba(124, 70, 38, .55), transparent 70%),
    var(--black);
  padding-block: 14px 28px;
}
.hero__inner { display: grid; grid-template-columns: minmax(0, 1fr); grid-template-areas: "copy" "deck" "card"; gap: 10px; }
.hero__copy { grid-area: copy; }
.chip {
  display: inline-flex; align-items: center; gap: 8px; min-height: 30px; padding: 3px 12px;
  border: 1px solid var(--line-d); border-radius: 999px; font-size: .875rem; font-weight: 600; color: var(--muted-d);
}
.chip__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--tomato); box-shadow: 0 0 0 3px rgba(228, 87, 46, .25); }
.headline { font-family: var(--display); font-weight: 400; font-size: clamp(2.45rem, 10.6vw, 4.2rem); line-height: 1.02; margin: 12px 0 10px; letter-spacing: -.005em; }
.headline > span { display: block; }
.hero__t2 { color: var(--mustard); }
:lang(ar) .headline { line-height: 1.3; font-size: clamp(2.2rem, 9.6vw, 4rem); }
.hero__sub { font-size: 1.0625rem; color: var(--muted-d); max-width: 36ch; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
.hero__ctas .btn { flex: 1 1 auto; }

.hero__deck { grid-area: deck; position: relative; margin-inline: calc(-1 * var(--gut)); }
.tt {
  position: relative; width: 100%; aspect-ratio: 10 / 8.6; max-height: 70svh;
  touch-action: pan-y; -webkit-user-select: none; user-select: none; cursor: grab;
}
.tt:active { cursor: grabbing; }
.tt__poster, .tt__canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.tt__poster { transition: opacity .5s; }
.tt__label { fill: var(--label); transition: fill .4s; }
.tt__canvas { opacity: 0; transition: opacity .6s; touch-action: pan-y; }
.tt.is-live .tt__canvas { opacity: 1; }
.tt.is-live .tt__poster { opacity: 0; }
.tt__hint {
  position: absolute; bottom: 6px; inset-inline-start: var(--gut);
  display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 999px;
  background: rgba(20, 17, 17, .72); color: var(--muted-d); font-size: .8125rem; pointer-events: none;
}
.tt__hint-ico { font-size: 1rem; line-height: 1; }

/* Now spinning card */
.ns {
  grid-area: card; position: relative; z-index: 2;
  background: var(--cream); color: var(--ink); border-radius: 20px; padding: 16px 16px 14px;
  box-shadow: 0 24px 50px -24px rgba(0, 0, 0, .8); --focus: var(--black);
}
.ns::after {
  content: ""; position: absolute; top: 14px; inset-inline-end: 14px; width: 34px; height: 34px; border-radius: 50%;
  background: radial-gradient(circle, var(--cream) 0 9%, var(--label) 10% 46%, var(--black) 47% 100%);
  animation: spin 1.8s linear infinite;
}
.ns.is-paused::after { animation-play-state: paused; }
.ns__head { display: flex; align-items: center; gap: 8px; padding-inline-end: 44px; color: var(--tomato-ink); }
.ns__label { font-size: .8125rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.ns__side { margin-inline-start: auto; font-weight: 700; font-size: .875rem; color: var(--muted); }
.ns__body { margin-top: 2px; }
.ns__name { font-size: 1.375rem; line-height: 1.2; font-weight: 700; }
.ns__name a { display: block; padding-block: 8px 2px; text-decoration: none; min-height: 44px; }
.ns__name a:hover { text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 2px; }
.ns__by { color: var(--muted); font-size: .9375rem; }
.ns__buy { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 12px; }
.ns__price { font-size: 1.5rem; font-weight: 700; white-space: nowrap; }
.ns__buy .btn { min-height: 48px; padding: 0 18px; }
.ns__deck { direction: ltr; display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 14px; padding-top: 14px; border-top: 1.5px dashed var(--line); }
.transport { display: flex; gap: 8px; }
.tbtn {
  display: inline-grid; place-items: center; width: 48px; height: 48px; border: 0; border-radius: 50%;
  background: var(--black); color: var(--cream); transition: transform .15s, background-color .2s;
}
.tbtn:hover { background: #352c2a; }
.tbtn:active { transform: scale(.92); }
.tbtn--main { background: var(--label); color: var(--black); }
.tbtn--main:hover { background: var(--label); filter: brightness(1.08); }
.ns__tracks { display: none; gap: 6px; margin-inline-start: auto; }
.trk {
  min-width: 44px; height: 44px; border-radius: 12px; border: 1.5px solid var(--line); background: transparent;
  font-weight: 700; font-size: .875rem; transition: background-color .2s, border-color .2s;
}
.trk:hover { border-color: var(--black); }
.trk[aria-pressed="true"] { background: var(--tl); border-color: var(--black); }
@media (min-width: 700px) { .ns__tracks { display: flex; } }

@media (min-width: 700px) {
  .hero { padding-block: 24px 40px; }
  .hero__deck { margin-inline: 0; }
  .tt { max-width: 760px; margin-inline: auto; max-height: none; }
  .ns { width: 100%; max-width: 640px; justify-self: center; }
  .tt__hint { inset-inline-start: 12px; }
}
@media (min-width: 1080px) {
  .hero { padding-block: 20px 40px; min-height: calc(100svh - var(--hdr)); display: grid; align-items: center;
    background: radial-gradient(70% 70% at 68% 62%, rgba(124, 70, 38, .55), transparent 70%), var(--black); }
  .hero__inner { grid-template-columns: minmax(0, 6fr) minmax(0, 9fr); grid-template-areas: "copy deck" "card deck"; column-gap: 40px; row-gap: 28px; align-content: center; }
  .hero__copy { align-self: end; }
  .hero__deck { align-self: center; }
  .headline { font-size: clamp(3.1rem, 4.3vw, 4.6rem); }
  :lang(ar) .headline { font-size: clamp(3rem, 4.6vw, 4.8rem); }
  .hero__sub { font-size: 1.1875rem; }
  .hero__ctas .btn { flex: 0 0 auto; }
  .tt { aspect-ratio: 1.12; max-width: none; max-height: calc(100svh - var(--hdr) - 60px); }
  .ns { align-self: start; justify-self: start; width: min(100%, 440px); border-radius: 22px; }
  .ns .tbtn { width: 46px; height: 46px; }
  .ns__deck { gap: 10px; }
  .tt__hint { bottom: 10px; }
}
@media (min-width: 1080px) and (max-height: 760px) {
  .tt { aspect-ratio: 1.3; }
  .ns__deck { margin-top: 10px; padding-top: 10px; }
}

/* ---------- Side A: tracklist ---------- */
.how__grid { display: grid; gap: 24px; }
.how__label { width: 132px; height: 132px; margin-top: 18px; }
.how__spin { transform-origin: 100px 100px; transform-box: view-box; animation: spin 9s linear infinite; }
.tracklist { list-style: none; margin: 0; padding: 0; border-top: 3px solid var(--black); }
.track { display: grid; grid-template-columns: 52px 1fr; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.track__no {
  width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center;
  background: radial-gradient(circle, var(--label) 0 56%, var(--black) 57%); color: var(--black);
  font-weight: 700; font-size: .9375rem;
}
.track h3 { font-size: 1.25rem; line-height: 1.25; margin-bottom: 4px; }
.track p { color: var(--muted); }
@media (min-width: 1080px) {
  .how__grid { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 72px; align-items: start; }
  .how__label { width: 200px; height: 200px; margin-top: 32px; }
  .track { grid-template-columns: 64px 1fr; padding: 24px 0; align-items: center; }
  .track__no { width: 60px; height: 60px; font-size: 1rem; }
  .track__txt { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); gap: 24px; align-items: baseline; }
  .track h3 { font-size: 1.375rem; }
}

/* ---------- Sleeves (product cards) ---------- */
.sleeve { list-style: none; position: relative; }
.sleeve__card { position: relative; height: 100%; display: flex; flex-direction: column; }
.sleeve__art { position: relative; aspect-ratio: 1; }
.sleeve__cover {
  position: relative; z-index: 1; width: 100%; height: 100%; border-radius: 3px; overflow: hidden;
  box-shadow: 0 14px 28px -14px rgba(0, 0, 0, .6), inset 0 0 0 1px rgba(255, 255, 255, .06);
}
.sleeve__cover .cover { width: 100%; height: 100%; }
.sleeve__cover::after { /* sleeve sheen */
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(115deg, rgba(255, 255, 255, .16), transparent 38%, transparent 70%, rgba(0, 0, 0, .12));
}
.sleeve__disc {
  position: absolute; inset: 3%; border-radius: 50%; z-index: 0;
  background:
    radial-gradient(circle, var(--cream) 0 2.5%, var(--label) 3% 21%, #0c0a0a 21.5% 23%, transparent 23.5%),
    repeating-radial-gradient(circle, #1b1717 0 2px, #141111 2px 4px);
  transition: transform .5s var(--ease);
}
.sleeve__card:hover .sleeve__disc, .sleeve__card:focus-within .sleeve__disc, .sleeve.is-front .sleeve__disc { transform: translateY(-17%); }
.sticker {
  position: absolute; top: 8px; inset-inline-start: 8px; z-index: 2;
  display: grid; place-items: center; min-width: 44px; height: 26px; padding: 0 8px; border-radius: 999px;
  background: var(--cream); color: var(--black); font-size: .75rem; font-weight: 700; letter-spacing: .04em;
  box-shadow: 0 2px 6px rgba(0, 0, 0, .25);
}
.sleeve__info { display: flex; flex-direction: column; gap: 2px; padding-top: 12px; flex: 1; }
.sleeve__name { font-size: 1.0625rem; line-height: 1.25; font-weight: 700; }
.sleeve__link { position: absolute; inset: 0; z-index: 1; border-radius: 6px; }
.sleeve__link:focus-visible { outline-offset: 4px; }
.sleeve__card:hover .sleeve__name { text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 2px; }
.sleeve__by { font-size: .9375rem; color: var(--muted); }
.sleeve__desc { font-size: 1rem; color: var(--muted); margin-top: 4px; }
.sleeve__meta { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: auto; padding-top: 8px; }
.price { font-weight: 700; font-size: 1.125rem; white-space: nowrap; }
.sleeve__add {
  position: relative; z-index: 2; display: inline-grid; place-items: center; width: 44px; height: 44px; flex: none;
  border: 0; border-radius: 50%; background: var(--black); color: var(--cream);
  transition: transform .15s, background-color .2s;
}
.sleeve__add:hover { background: var(--label); color: var(--black); }
.sleeve__add:active { transform: scale(.9); }
.sleeve__add.is-done { background: var(--teal); color: var(--black); }

/* Shelf: Our Collection on walnut */
.shelf { background: linear-gradient(180deg, #553321, var(--walnut) 40%); }
.shelf__grid { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.sleeve--shelf .sleeve__card {
  display: grid; grid-template-columns: 116px 1fr; gap: 16px; align-items: start;
  padding: 12px; border-radius: 16px; background: var(--walnut-3);
}
.sleeve--shelf .sleeve__info { padding-top: 2px; }
.sleeve--shelf .sleeve__by, .sleeve--shelf .sleeve__desc { color: #e2d3bc; }
.sleeve--shelf .sleeve__add { background: var(--cream); color: var(--black); }
.sleeve--shelf .sleeve__add:hover { background: var(--label); }
.sleeve--shelf .sleeve__card:hover .sleeve__disc,
.sleeve--shelf .sleeve__card:focus-within .sleeve__disc { transform: translateY(-12%); }
.sleeve--shelf .sticker { display: none; }
@media (min-width: 700px) {
  .shelf__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
}
@media (min-width: 1080px) {
  .shelf__grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; padding-top: 30px; position: relative; }
  .sleeve--shelf .sleeve__card { display: flex; padding: 0; background: none; border-radius: 0; }
  .sleeve--shelf .sleeve__art { border-bottom: 14px solid var(--walnut-3); padding-bottom: 0; }
  .sleeve--shelf .sleeve__info { padding-top: 16px; }
  .sleeve--shelf .sticker { display: grid; }
  .sleeve--shelf .sleeve__card:hover .sleeve__disc,
  .sleeve--shelf .sleeve__card:focus-within .sleeve__disc { transform: translateY(-20%); }
  .sleeve--shelf .sleeve__name { font-size: 1.1875rem; }
}

/* Crate: trending sellers */
.crate-sec { padding-bottom: 40px; }
.crate__tools { display: flex; align-items: center; gap: 10px; }
.seg { display: inline-flex; padding: 3px; border: 1.5px solid var(--black); border-radius: 999px; }
.seg button {
  display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 14px 0 10px;
  border: 0; border-radius: 999px; background: transparent; font-weight: 700;
}
.seg button .ico { width: 20px; height: 20px; }
.seg button[aria-pressed="true"] { background: var(--black); color: var(--cream); }
.arrows { display: none; gap: 8px; }
.rbtn {
  display: inline-grid; place-items: center; width: 48px; height: 48px; border-radius: 50%;
  border: 1.5px solid var(--black); background: transparent; transition: background-color .2s, color .2s, opacity .2s;
}
.rbtn:hover:not(:disabled) { background: var(--black); color: var(--cream); }
.rbtn:disabled { opacity: .3; cursor: default; }
@media (min-width: 1080px) { .arrows { display: flex; } }
.crate-sec[data-view="list"] .arrows { display: none; }
.crate__filter { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; margin: -8px 0 8px; font-weight: 700; font-size: 1.0625rem; }
.crate { position: relative; }
.crate::before { /* the walnut crate behind the sleeves */
  content: ""; position: absolute; inset-inline: 0; top: 42%; bottom: 0; z-index: 0;
  background:
    repeating-linear-gradient(180deg, transparent 0 46px, rgba(0, 0, 0, .22) 46px 48px),
    linear-gradient(180deg, var(--walnut-2), var(--walnut));
  box-shadow: inset 0 10px 18px -8px rgba(0, 0, 0, .5);
}
.crate__front { position: absolute; inset-inline: 0; bottom: 0; height: 14px; background: var(--walnut-3); z-index: 0; }
.crate__track {
  --cw: min(64vw, 272px);
  position: relative; z-index: 1; list-style: none; margin: 0;
  display: flex; gap: 16px; overflow-x: auto; overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory; scrollbar-width: none;
  padding: 52px calc(50% - var(--cw) / 2) 32px;
}
.crate__track::-webkit-scrollbar { display: none; }
.crate__track:focus-visible { outline-offset: -4px; }
.crate__track > .sleeve { flex: 0 0 var(--cw); scroll-snap-align: center; }
.crate-sec .sleeve__card {
  transform: perspective(900px) rotateY(calc(var(--d, 0) * var(--tilt, -26deg))) scale(calc(1 - var(--ad, 0) * var(--shrink, .07)));
  transition: transform .18s ease-out;
}
.crate-sec .sleeve__info { background: var(--paper); padding: 12px 12px 12px; border-radius: 0 0 10px 10px; box-shadow: 0 14px 24px -16px rgba(0, 0, 0, .7); }
.crate-sec .sleeve__cover { border-radius: 3px 3px 0 0; }
@media (max-width: 699px) { /* gentler tilt on phones keeps every add button at least 44px wide */
  .crate-sec { --tilt: -14deg; --shrink: 0; }
  .crate-sec .sleeve__add { width: 48px; height: 48px; }
}
.crate-sec[data-view="list"] .crate::before { top: auto; height: 0; }
.crate-sec[data-view="list"] .crate__track {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 12px; overflow: visible;
  scroll-snap-type: none; width: min(100% - 2 * var(--gut), 1320px); margin-inline: auto; padding: 36px 0 8px;
}
.crate-sec[data-view="list"] .sleeve__card { transform: none; }
.crate-sec[data-view="list"] .sleeve.is-front .sleeve__disc { transform: none; }
.crate-sec[data-view="list"] .sleeve__card:hover .sleeve__disc { transform: translateY(-12%); }
@media (min-width: 700px) {
  .crate__track { --cw: 260px; gap: 22px; }
  .crate-sec[data-view="list"] .crate__track { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px 20px; }
}
@media (min-width: 1080px) {
  .crate__track { --cw: 290px; gap: 26px; padding-top: 64px; }
  .crate-sec[data-view="list"] .crate__track { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 40px 28px; }
}

/* ---------- Genre dividers ---------- */
.genres__list { list-style: none; margin: 0; padding: 26px 0 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px 12px; }
.divider {
  position: relative; width: 100%; min-height: 128px; display: flex; flex-direction: column; justify-content: flex-end; gap: 4px;
  padding: 16px 14px 14px; border: 0; border-radius: 4px 4px 12px 12px; text-align: start;
  background: var(--cream); color: var(--ink); border-top: 8px solid var(--label);
  transition: transform .3s var(--ease), box-shadow .3s; --focus: var(--mustard);
}
.divider__tab {
  position: absolute; bottom: calc(100% + 8px); inset-inline-start: calc(var(--i, 0) * 22%);
  min-width: 52px; height: 30px; padding: 0 12px; display: grid; place-items: center;
  border-radius: 10px 10px 0 0; background: var(--label); color: var(--black); font-weight: 700; font-size: .875rem;
}
.divider__covers { display: flex; margin-bottom: auto; padding-bottom: 14px; }
.dc { width: 52px; height: 52px; flex: none; border-radius: 3px; overflow: hidden; box-shadow: 0 6px 14px -6px rgba(0, 0, 0, .6); transform: rotate(-5deg); }
.dc + .dc { margin-inline-start: -16px; transform: rotate(4deg) translateY(4px); }
.dc + .dc + .dc { transform: rotate(-2deg) translateY(-2px); }
.dc .cover { width: 100%; height: 100%; }
.divider:hover .dc { transform: none; }
.divider__name { font-size: 1.125rem; font-weight: 700; line-height: 1.2; }
.divider__n { font-size: .9375rem; color: var(--muted); display: flex; align-items: center; justify-content: space-between; gap: 6px; }
.divider__n .ico { width: 20px; height: 20px; }
.divider:hover, .divider[aria-pressed="true"] { transform: translateY(-10px); box-shadow: 0 18px 30px -16px rgba(0, 0, 0, .9); }
.divider[aria-pressed="true"] { outline: 3px solid var(--label); outline-offset: 3px; }
@media (min-width: 700px) { .genres__list { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1080px) {
  .genres__list { grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 16px; padding-top: 34px; }
  .divider { min-height: 236px; padding: 20px 16px 16px; }
  .dc { width: 64px; height: 64px; }
  .divider__name { font-size: 1.25rem; }
  .divider__tab { inset-inline-start: calc(var(--i, 0) * 10%); }
}

/* ---------- Seller band ---------- */
.band { background: var(--tomato); color: var(--black); padding-block: 56px; overflow: clip; --focus: var(--black); }
.band__grid { display: grid; gap: 28px; align-items: center; }
.eyebrow--ink { color: var(--black); }
.band__title { font-family: var(--display); font-weight: 400; font-size: clamp(2.5rem, 10vw, 5.25rem); line-height: 1; margin-bottom: 16px; }
:lang(ar) .band__title { line-height: 1.3; }
.band__text { font-size: 1.1875rem; max-width: 44ch; font-weight: 500; }
.band__ctas { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.band__art svg { width: 100%; max-width: 440px; margin-inline: auto; overflow: visible; }
.band__disc { transform-origin: 212px 120px; transform-box: view-box; animation: spin 14s linear infinite; }
.band__art:hover .band__disc { animation-duration: 3s; }
@media (min-width: 1080px) { .band { padding-block: 96px; } .band__grid { grid-template-columns: 7fr 5fr; gap: 56px; } }

/* ---------- Liner notes (trust) ---------- */
.notes__paper {
  background: var(--paper); border-radius: 6px; padding: 28px 20px;
  box-shadow: 0 30px 50px -36px rgba(74, 44, 29, .55), 0 0 0 1px var(--line);
}
.notes__grid { display: grid; gap: 22px; margin: 0; }
.note dt { display: flex; align-items: baseline; gap: 12px; font-weight: 700; font-size: 1.125rem; line-height: 1.3; }
.note__no { font-family: var(--display); color: var(--tomato-ink); font-size: 1.25rem; flex: none; }
.note dd { margin: 6px 0 0; color: var(--muted); padding-inline-start: 38px; }
@media (min-width: 700px) { .notes__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 36px; } .notes__paper { padding: 40px; } }
@media (min-width: 1080px) {
  .notes__paper { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 9fr); gap: 48px; padding: 56px; }
  .notes__grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; }
  .note { padding-inline: 20px; border-inline-start: 1px solid var(--line); }
  .note dt { flex-direction: column; gap: 8px; }
  .note dd { padding-inline-start: 0; }
}

/* ---------- Footer ---------- */
.foot { background: var(--black); color: var(--cream); padding-block: 48px calc(28px + env(safe-area-inset-bottom)); --focus: var(--mustard); }
.foot__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px 20px; }
.foot__brand { grid-column: 1 / -1; }
.foot__word { font-family: 'Shrikhand', var(--display); font-size: 1.75rem; line-height: 1.1; margin-bottom: 6px; }
.foot__brand p:not(.foot__word) { color: var(--muted-d); }
.foot__domain { font-weight: 700; color: var(--mustard) !important; margin-top: 4px; }
.foot h2 { font-size: .8125rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--mustard); margin-bottom: 4px; }
.foot ul { list-style: none; margin: 0; padding: 0; }
.foot nav a { display: flex; align-items: center; min-height: 44px; text-decoration: none; color: var(--cream); }
.foot nav a:hover { text-decoration: underline; text-underline-offset: 4px; }
.foot__base { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 28px; margin-top: 36px; padding-top: 22px; border-top: 1px solid var(--line-d); color: var(--muted-d); font-size: .9375rem; }
.foot__lang { display: flex; align-items: center; gap: 12px; font-weight: 700; color: var(--cream); }
.foot__lang .lang button { min-height: 44px; }
@media (min-width: 700px) { .foot__grid { grid-template-columns: 1.4fr repeat(3, 1fr); } .foot__brand { grid-column: auto; } }
@media (min-width: 1080px) { .foot__base { justify-content: space-between; } }

/* ---------- "Now playing" cart bar ---------- */
.np {
  position: fixed; z-index: 60; inset-inline: 10px; bottom: calc(10px + env(safe-area-inset-bottom));
  display: flex; align-items: center; gap: 10px; min-height: 60px; padding: 6px; padding-inline-start: 10px;
  background: var(--black); color: var(--cream); border-radius: 999px; --focus: var(--mustard);
  box-shadow: 0 16px 40px -12px rgba(0, 0, 0, .7), 0 0 0 1px rgba(242, 232, 213, .16);
  transform: translateY(160%); transition: transform .45s var(--ease), bottom .3s var(--ease);
}
.np.is-in { transform: none; }
.np.is-pulse .np__disc { animation: spin 1.2s linear infinite, pop .5s var(--ease); }
@keyframes pop { 40% { scale: 1.25; } }
.np__disc { width: 42px; height: 42px; border-radius: 50%; flex: none; background: radial-gradient(circle, var(--cream) 0 6%, var(--tomato) 7% 36%, #0c0a0a 37% 40%, transparent 41%), repeating-radial-gradient(circle, #2a2322 0 1.5px, #141111 1.5px 3px); animation: spin 2.4s linear infinite; }
.eq--np { color: var(--mustard); height: 16px; }
.np__text { flex: 1; min-width: 0; display: flex; flex-direction: column; line-height: 1.25; }
.np__k { font-size: .75rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--mustard); }
.np__v { font-weight: 700; font-size: .9375rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.np__open {
  display: inline-flex; align-items: center; gap: 6px; min-height: 48px; padding: 0 14px; border: 0; border-radius: 999px;
  background: var(--cream); color: var(--black); font-weight: 700; white-space: nowrap;
}
.np__open .ico { width: 20px; height: 20px; }
.np__x { display: inline-grid; place-items: center; width: 44px; height: 44px; border: 0; border-radius: 50%; background: transparent; color: var(--cream); flex: none; }
.np__x:hover { background: rgba(242, 232, 213, .12); }
.np__x .ico { width: 20px; height: 20px; }
html.np-on .foot { padding-bottom: calc(112px + env(safe-area-inset-bottom)); }
@media (max-width: 479px) { .eq--np, .np__open [data-ico] { display: none; } .np__disc { width: 36px; height: 36px; } .np { gap: 8px; } .np__open { padding: 0 14px; } .np__v { font-size: .875rem; } }
@media (min-width: 700px) {
  .np { inset-inline: auto; left: 50%; width: min(600px, calc(100% - 32px)); transform: translate(-50%, 160%); }
  .np.is-in { transform: translate(-50%, 0); }
}

/* ---------- Product page ---------- */
.crumbs ol { list-style: none; margin: 0; padding: 4px 0; display: flex; flex-wrap: wrap; align-items: center; font-size: .9375rem; color: var(--muted); }
.crumbs li { display: flex; align-items: center; }
.crumbs li + li::before { content: "/"; margin-inline: 6px; color: var(--muted); }
.crumbs a { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; min-width: 44px; padding-inline: 2px; text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(20, 17, 17, .35); }
.crumbs a:hover { text-decoration-color: currentColor; }
.crumbs [aria-current] { color: var(--ink); font-weight: 600; }
.pdp { --focus: var(--black); }
.pdp__grid { display: grid; gap: 22px; padding-bottom: 40px; }
.viewer { position: relative; margin-inline: calc(-1 * var(--gut)); }
.viewer__stage {
  position: relative; aspect-ratio: 1 / 1.02; max-height: 66svh; width: 100%; overflow: hidden;
  background: radial-gradient(80% 70% at 50% 58%, #4b2a1a, var(--black) 72%);
  touch-action: pan-y; cursor: grab; -webkit-user-select: none; user-select: none; --focus: var(--mustard);
}
.viewer__stage:active { cursor: grabbing; }
.viewer__stage:focus-visible { outline-offset: -4px; }
.viewer__poster, .viewer__canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.viewer__poster { transition: opacity .5s; }
.viewer__canvas { opacity: 0; transition: opacity .6s; touch-action: pan-y; }
.viewer.is-live .viewer__canvas { opacity: 1; }
.viewer.is-live .viewer__poster { opacity: 0; }
.viewer__poster .lamp { fill: var(--lamp, #d6bc90); transition: fill .3s; }
.viewer__no3d { position: absolute; inset-inline: 12px; bottom: 12px; padding: 8px 12px; border-radius: 10px; background: rgba(20, 17, 17, .8); color: var(--cream); font-size: .9375rem; }
.viewer__bar {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px;
  padding: 10px var(--gut); background: var(--black); color: var(--cream); --focus: var(--mustard);
}
.speed { display: flex; align-items: center; gap: 0; margin: 0; padding: 3px; border: 1.5px solid var(--line-d); border-radius: 999px; min-inline-size: 0; }
.speed legend { padding: 0; }
.speed label {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-width: 48px; min-height: 44px; padding: 0 12px;
  border-radius: 999px; font-weight: 700; cursor: pointer; transition: background-color .2s, color .2s;
}
.speed label small { font-size: .75rem; font-weight: 600; opacity: .85; }
@media (max-width: 439px) { .speed label { padding: 0 10px; } .speed label small { display: none; } .viewer__tools { gap: 4px; } }
@media (max-width: 399px) { .speed .speed__stop { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); } }
.speed label .ico { width: 16px; height: 16px; }
.speed input:checked + label { background: var(--mustard); color: var(--black); }
.speed input:focus-visible + label { outline: 3px solid var(--mustard); outline-offset: 2px; }
.speed label:hover { background: rgba(242, 232, 213, .1); }
.viewer__tools { display: flex; gap: 6px; }
.vbtn {
  display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 50%;
  border: 1.5px solid var(--line-d); background: transparent; color: var(--cream); transition: background-color .2s;
}
.vbtn:hover { background: rgba(242, 232, 213, .12); }
.vbtn[aria-pressed="true"] { background: var(--mustard); color: var(--black); border-color: var(--mustard); }
.viewer__hint { padding: 0 var(--gut) 12px; background: var(--black); color: var(--muted-d); font-size: .875rem; }

.buy { display: flex; flex-direction: column; gap: 16px; }
.buy__head .eyebrow { margin-bottom: 6px; }
.buy__title { font-family: var(--display); font-weight: 400; font-size: clamp(2.2rem, 9vw, 3.5rem); line-height: 1.05; }
:lang(ar) .buy__title { line-height: 1.3; }
.buy__by { margin-top: 6px; color: var(--muted); }
.buy__by strong { color: var(--ink); }
.buy__price { font-size: 2rem; font-weight: 700; line-height: 1; }
.buy__mat { display: grid; grid-template-columns: auto 1fr; gap: 4px 12px; align-items: center; padding: 14px; border-radius: 14px; background: var(--paper); box-shadow: 0 0 0 1px var(--line); }
.mat-badge { grid-row: span 2; display: grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; font-weight: 700; font-size: .9375rem; background: radial-gradient(circle, var(--teal) 0 52%, var(--black) 53%); color: var(--black); }
.buy__mat-k { color: var(--muted); }
.buy__mat-k b { color: var(--ink); }
.buy__mat p { grid-column: 2; color: var(--muted); font-size: 1rem; }
.buy__mat a { grid-column: 2; display: inline-flex; align-items: center; min-height: 44px; font-weight: 700; text-underline-offset: 3px; width: fit-content; }
.swatches { margin: 0; padding: 0; border: 0; min-inline-size: 0; }
.swatches legend { padding: 0; font-weight: 700; margin-bottom: 10px; }
.swatches legend span { font-weight: 400; color: var(--muted); }
.swatch-row { display: flex; flex-wrap: wrap; gap: 8px; }
.swatch {
  display: inline-flex; align-items: center; gap: 8px; min-height: 48px; padding: 0 14px 0 6px;
  border: 1.5px solid var(--line); border-radius: 999px; cursor: pointer; font-weight: 600; transition: border-color .2s, box-shadow .2s;
}
.swatch__dot { width: 34px; height: 34px; border-radius: 50%; background: var(--c); box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .2); position: relative; }
.swatch__dot::after { content: ""; position: absolute; inset: 12px; border-radius: 50%; background: var(--black); opacity: 0; transition: opacity .2s; }
.swatch:hover { border-color: var(--black); }
.swatches input:checked + .swatch { border-color: var(--black); box-shadow: inset 0 0 0 1.5px var(--black); }
.swatches input:checked + .swatch .swatch__dot::after { opacity: .85; }
.swatches input:focus-visible + .swatch { outline: 3px solid var(--black); outline-offset: 2px; }
.pod { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-radius: 12px; background: var(--black); color: var(--cream); font-weight: 600; }
.pod .eq { color: var(--mustard); }
.buy__row { display: flex; gap: 10px; align-items: stretch; }
.qty { display: inline-flex; align-items: center; border: 1.5px solid var(--black); border-radius: 999px; flex: none; }
.qty button { display: inline-grid; place-items: center; width: 48px; height: 52px; border: 0; background: transparent; border-radius: 999px; }
.qty button:hover { background: rgba(20, 17, 17, .07); }
.qty output { min-width: 28px; text-align: center; font-weight: 700; font-size: 1.125rem; }
.buy__row .btn { flex: 1; }
.buy__room { display: grid; gap: 6px; }
.buy__room p { font-size: .9375rem; color: var(--muted); text-align: center; }

.pdp-notes { padding-block: 48px; border-top: 1px solid var(--line); }
.pdp-notes__grid { display: grid; gap: 28px; }
.pdp-notes__copy p { font-size: 1.0625rem; max-width: 62ch; margin-bottom: 12px; }
.specs { margin: 0; display: grid; grid-template-columns: 1fr; border-top: 3px solid var(--black); }
.specs div { display: flex; justify-content: space-between; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.specs dt { color: var(--muted); }
.specs dd { margin: 0; font-weight: 700; text-align: end; }
.specs-title { font-size: 1.25rem; margin-bottom: 10px; }
.more { padding-block: 48px 64px; background: var(--black); color: var(--cream); --focus: var(--mustard); }
.more .eyebrow { color: var(--mustard); }
.more .lede { color: var(--muted-d); }
.row__track {
  list-style: none; margin: 0; display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain;
  scrollbar-width: none; padding: 40px var(--gut) 8px; scroll-padding-inline: var(--gut);
}
.row__track::-webkit-scrollbar { display: none; }
.row__track > .sleeve { flex: 0 0 min(66vw, 270px); scroll-snap-align: start; }
.more .sleeve__by { color: var(--muted-d); }
.more .sleeve__add { background: var(--cream); color: var(--black); }
.more .sleeve__add:hover { background: var(--label); }
@media (min-width: 1080px) {
  .row__track { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; overflow: visible; width: min(100% - 2 * var(--gut), 1320px); margin-inline: auto; padding-inline: 0; }
  .more .arrows { display: none; }
}

.buybar {
  position: fixed; z-index: 55; inset-inline: 0; bottom: 0;
  display: flex; align-items: center; gap: 10px; padding: 10px var(--gut) calc(10px + env(safe-area-inset-bottom));
  background: var(--black); color: var(--cream); --focus: var(--mustard);
  box-shadow: 0 -12px 30px -16px rgba(0, 0, 0, .6);
  transform: translateY(110%); visibility: hidden; transition: transform .3s var(--ease), visibility 0s .3s;
}
.buybar.is-on { transform: none; visibility: visible; transition: transform .3s var(--ease), visibility 0s; }
.buybar__txt { display: flex; flex-direction: column; line-height: 1.2; min-width: 0; margin-inline-end: auto; }
.buybar__name { font-size: .8125rem; color: var(--muted-d); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.buybar__price { font-weight: 700; font-size: 1.1875rem; }
.buybar .btn { min-height: 48px; padding: 0 16px; white-space: nowrap; flex: none; }
.buybar .vbtn { width: 48px; height: 48px; }
.page-product .foot { padding-bottom: calc(104px + env(safe-area-inset-bottom)); }
html.np-on .page-product .foot { padding-bottom: calc(178px + env(safe-area-inset-bottom)); }
html.buybar-on .np { bottom: calc(80px + env(safe-area-inset-bottom)); }

@media (min-width: 700px) {
  .viewer { margin-inline: 0; border-radius: 22px; overflow: hidden; }
  .viewer__stage { aspect-ratio: 1.25; max-height: none; }
}
@media (min-width: 1080px) {
  .pdp__grid { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 48px; align-items: start; padding-bottom: 72px; }
  .viewer { position: sticky; top: calc(var(--hdr) + 16px); }
  .viewer__stage { aspect-ratio: 1.05; max-height: calc(100svh - var(--hdr) - 150px); }
  .buy { padding-top: 8px; }
  .buybar { display: none; }
  .page-product .foot { padding-bottom: calc(28px + env(safe-area-inset-bottom)); }
  html.np-on .page-product .foot { padding-bottom: calc(112px + env(safe-area-inset-bottom)); }
  html.buybar-on .np { bottom: calc(10px + env(safe-area-inset-bottom)); }
  .pdp-notes { padding-block: 80px; }
  .pdp-notes__grid { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 64px; }
}

/* ---------- Sell page ---------- */
.shero { background: var(--black); color: var(--cream); padding-block: 28px 48px; overflow: clip; --focus: var(--mustard); }
.shero__grid { display: grid; gap: 24px; align-items: center; }
.shero .eyebrow { color: var(--mustard); }
.sell-headline { font-family: var(--display); font-weight: 400; font-size: clamp(2.4rem, 10.4vw, 5rem); line-height: 1.02; margin-bottom: 14px; }
.sell-headline > span { display: block; }
.sell-headline > span + span { color: var(--mustard); }
:lang(ar) .sell-headline { line-height: 1.3; }
.shero__text { font-size: 1.125rem; color: var(--muted-d); max-width: 46ch; }
.nos { list-style: none; margin: 18px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.nos li { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 14px 0 8px; border-radius: 999px; border: 1px solid var(--line-d); font-weight: 600; }
.nos .ico { width: 22px; height: 22px; color: var(--tomato); }
.shero__ctas { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.shero__note { margin-top: 10px; font-size: .9375rem; color: var(--muted-d); }
.shero__art svg { width: min(100%, 420px); margin-inline: auto; }
.shero__disc { transform-origin: 160px 160px; transform-box: view-box; animation: spin 10s linear infinite; }
@media (min-width: 1080px) { .shero { padding-block: 64px 96px; } .shero__grid { grid-template-columns: 7fr 5fr; gap: 56px; } }

.sideb { counter-reset: none; }
.sideb__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; border-top: 3px solid var(--black); }
@media (min-width: 700px) { .sideb__list { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 32px; } }
@media (min-width: 1080px) { .sideb__list { grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: 48px; } .sideb .track { align-items: start; } }

.calc-sec { background: var(--paper); }
.calc { display: grid; grid-template-columns: minmax(0, 1fr); gap: 20px; }
.calc__panel { background: var(--cream); border-radius: 20px; padding: 18px; box-shadow: 0 0 0 1px var(--line); }
.calc__step { margin: 0 0 22px; padding: 0; border: 0; min-inline-size: 0; }
.calc__step legend, .calc__lbl { display: flex; align-items: center; gap: 10px; padding: 0; font-weight: 700; font-size: 1.0625rem; margin-bottom: 10px; }
.calc__n { display: inline-grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--black); color: var(--cream); font-size: .8125rem; }
.drop {
  display: flex; align-items: center; gap: 12px; padding: 14px; margin-bottom: 10px; border: 2px dashed rgba(20, 17, 17, .35); border-radius: 14px; color: var(--muted);
}
.drop .ico { color: var(--ink); }
.drop strong { display: block; color: var(--ink); }
.files { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.file {
  display: flex; align-items: center; gap: 10px; min-height: 64px; padding: 8px 10px; border: 1.5px solid var(--line); border-radius: 14px;
  background: var(--paper); cursor: pointer; font-weight: 600; line-height: 1.2; transition: border-color .2s, box-shadow .2s;
}
.file__disc { width: 36px; height: 36px; border-radius: 50%; flex: none; background: radial-gradient(circle, var(--cream) 0 7%, var(--fc) 8% 38%, var(--black) 39%); }
.file small { display: block; font-weight: 400; color: var(--muted); font-size: .875rem; margin-top: 2px; }
.file:hover { border-color: var(--black); }
.files input:checked + .file { border-color: var(--black); box-shadow: inset 0 0 0 1.5px var(--black); background: #fffaf0; }
.files input:checked + .file .file__disc { animation: spin 2s linear infinite; }
.files input:focus-visible + .file, .matpick input:focus-visible + label { outline: 3px solid var(--black); outline-offset: 2px; }
.est { display: flex; gap: 10px; align-items: flex-start; margin-top: 10px; padding: 12px 14px; border-radius: 12px; background: var(--black); color: var(--cream); font-size: 1rem; }
.est .ico { color: var(--mustard); flex: none; margin-top: 1px; }
.matpick { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.matpick label {
  display: flex; flex-direction: column; justify-content: center; min-height: 64px; padding: 8px 14px; border: 1.5px solid var(--line); border-radius: 14px;
  background: var(--paper); cursor: pointer; transition: border-color .2s, box-shadow .2s;
}
.matpick label b { font-size: 1.125rem; }
.matpick label span { font-size: .875rem; color: var(--muted); }
.matpick label:hover { border-color: var(--black); }
.matpick input:checked + label { border-color: var(--black); box-shadow: inset 0 0 0 1.5px var(--black); background: #fffaf0; }
.calc__guide { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; margin-top: 4px; font-weight: 700; text-underline-offset: 3px; }
.pricebox { display: flex; align-items: stretch; border: 2px solid var(--black); border-radius: 14px; overflow: hidden; background: #fff; }
.pricebox span { display: grid; place-items: center; padding: 0 14px; background: var(--black); color: var(--cream); font-weight: 700; }
.pricebox input { flex: 1; min-width: 0; min-height: 56px; padding: 0 14px; border: 0; font-size: 1.375rem; font-weight: 700; background: transparent; color: var(--ink); }
.pricebox input:focus { outline: none; }
.pricebox:focus-within { outline: 3px solid var(--black); outline-offset: 2px; }
.pricebox.is-bad { border-color: var(--tomato-ink); }
.pricebox.is-bad span { background: var(--tomato-ink); }
.calc__msg { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; margin-top: 10px; font-weight: 600; min-height: 24px; }
.calc__msg .ico { flex: none; }
.calc__msg.is-ok { color: var(--teal-ink, #1f6b65); }
.calc__msg.is-bad { color: var(--tomato-ink); padding: 10px 12px; border-radius: 12px; background: #fde9e2; border: 1.5px solid var(--tomato-ink); }
.calc__msg .btn-chip { border-color: var(--tomato-ink); color: var(--tomato-ink); min-height: 44px; padding: 0 14px; }
.calc__msg .btn-chip:hover { background: var(--tomato-ink); color: #fff; }

.result { background: var(--black); color: var(--cream); border-radius: 20px; padding: 20px; --focus: var(--mustard); }
.result__top { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 16px; }
.result__top h3 { font-size: 1.125rem; }
.rates { display: inline-flex; align-items: center; min-height: 28px; padding: 0 10px; border-radius: 999px; background: var(--mustard); color: var(--black); font-size: .8125rem; font-weight: 700; }
.result__label { display: grid; grid-template-columns: 116px 1fr; gap: 18px; align-items: center; }
.rlabel { width: 116px; height: 116px; }
.rlabel .rl-spin { transform-origin: 60px 60px; transform-box: view-box; animation: spin 4s linear infinite; }
.result__big { display: flex; flex-direction: column; gap: 2px; }
.result__big small { color: var(--muted-d); font-size: .9375rem; }
.result__big strong { font-size: 2.25rem; line-height: 1.05; color: var(--mustard); }
.result.is-bad .result__big strong { color: var(--muted-d); text-decoration: line-through; text-decoration-thickness: 2px; }
.rlist { margin: 18px 0 0; display: grid; }
.rlist div { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line-d); }
.rlist dt { color: var(--muted-d); }
.rlist dd { margin: 0; font-weight: 700; }
.rlist .is-strong dd { color: var(--mustard); }
.split { display: flex; height: 14px; border-radius: 999px; overflow: hidden; margin-top: 16px; background: #2a2322; }
.split i { display: block; height: 100%; transition: flex-grow .35s var(--ease); }
.split .s-min { background: #6b5a4c; }
.split .s-you { background: var(--mustard); }
.split .s-us { background: var(--tomato); }
.legend { display: flex; flex-wrap: wrap; gap: 6px 14px; margin-top: 8px; font-size: .875rem; color: var(--muted-d); }
.legend span { display: inline-flex; align-items: center; gap: 6px; }
.legend span::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--c); }
.breakdown { margin-top: 16px; border-top: 1px solid var(--line-d); }
.breakdown summary { display: flex; align-items: center; justify-content: space-between; min-height: 48px; font-weight: 700; cursor: pointer; list-style: none; }
.breakdown summary::-webkit-details-marker { display: none; }
.breakdown summary::after { content: "+"; font-size: 1.5rem; line-height: 1; }
.breakdown[open] summary::after { content: "−"; }
.breakdown dl { margin: 0 0 6px; }
.breakdown div { display: flex; justify-content: space-between; padding: 6px 0; color: var(--muted-d); }
.breakdown dd { margin: 0; color: var(--cream); font-weight: 600; }
.breakdown .b-total { border-top: 1px solid var(--line-d); margin-top: 4px; padding-top: 10px; color: var(--cream); font-weight: 700; }
.howest { margin-top: 16px; padding: 16px; border-radius: 16px; background: var(--cream); box-shadow: 0 0 0 1px var(--line); }
.howest h3 { display: flex; align-items: center; gap: 10px; font-size: 1.125rem; margin-bottom: 6px; }
.howest p { color: var(--muted); }

.cstrip {
  position: sticky; bottom: calc(8px + env(safe-area-inset-bottom)); z-index: 20; margin-top: 16px;
  display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 16px; border-radius: 16px;
  background: var(--black); color: var(--cream); box-shadow: 0 12px 30px -12px rgba(0, 0, 0, .6);
}
.cstrip div { display: flex; flex-direction: column; line-height: 1.2; }
.cstrip small { font-size: .8125rem; color: var(--muted-d); }
.cstrip b { font-size: 1.1875rem; }
.cstrip .is-earn b { color: var(--mustard); }
.cstrip.is-bad .is-earn b { color: #ff9b7d; font-size: 1rem; }
html.np-on .cstrip { bottom: calc(80px + env(safe-area-inset-bottom)); }
@media (min-width: 1080px) {
  .calc { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 32px; align-items: start; }
  .calc__panel { padding: 28px; }
  .calc__side { position: sticky; top: calc(var(--hdr) + 20px); }
  .files { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .cstrip { display: none; }
}

/* Material guide */
.guide__table { width: 100%; border-collapse: separate; border-spacing: 0; }
.guide__table caption { text-align: start; }
.guide__table th, .guide__table td { text-align: start; vertical-align: top; padding: 14px 12px; border-bottom: 1px solid var(--line); }
.guide__table thead th { padding-top: 0; border-bottom: 3px solid var(--black); }
.mhead { display: flex; align-items: center; gap: 12px; }
.mhead__disc { width: 52px; height: 52px; border-radius: 50%; flex: none; background: radial-gradient(circle, var(--cream) 0 7%, var(--mc) 8% 44%, var(--black) 45%); }
.mhead b { font-size: 1.5rem; display: block; line-height: 1.1; }
.mhead span { font-size: .875rem; color: var(--muted); font-weight: 400; }
.guide__table tbody th { font-weight: 700; color: var(--ink); width: 22%; }
.guide__table td { color: var(--ink); }
.guide__table tr.is-key td { font-weight: 700; font-size: 1.0625rem; }
@media (max-width: 699px) {
  .guide__table thead tr, .guide__table tbody tr { display: grid; grid-template-columns: 1fr 1fr; column-gap: 12px; }
  .guide__table thead td { display: none; }
  .guide__table tbody th { grid-column: 1 / -1; width: auto; padding: 16px 0 4px; border-bottom: 0; font-size: .875rem; letter-spacing: .1em; text-transform: uppercase; color: var(--tomato-ink); }
  .guide__table tbody td { padding: 4px 0 14px; }
  .guide__table thead th { padding: 0 0 12px; }
  .mhead { flex-direction: column; align-items: flex-start; gap: 6px; }
  .mhead__disc { width: 44px; height: 44px; }
}
.guide__notes { display: grid; gap: 12px; margin-top: 22px; }
.gnote { display: flex; gap: 12px; padding: 16px; border-radius: 16px; background: var(--paper); box-shadow: 0 0 0 1px var(--line); }
.gnote .ico { flex: none; color: var(--tomato-ink); }
.gnote b { display: block; margin-bottom: 2px; }
@media (min-width: 700px) { .guide__notes { grid-template-columns: 1fr 1fr; } }

/* Rules */
.rules__grid { display: grid; gap: 24px; }
.banned { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.banned li { display: flex; align-items: center; gap: 12px; min-height: 56px; padding: 10px 14px; border-radius: 14px; background: #221c1b; font-weight: 600; }
.banned .ico { color: var(--tomato); flex: none; }
.rules__k { font-size: .875rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--mustard); margin-bottom: 10px; }
@media (min-width: 1080px) { .rules__grid { grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; } }

.scta { text-align: center; }
.scta .band__title { margin-inline: auto; max-width: 18ch; }
.scta .band__text { margin-inline: auto; }
.scta .band__ctas { justify-content: center; }
.scta__note { margin-top: 12px; font-size: .9375rem; }

/* ---------- Reduced motion: a still, composed state ---------- */
html.rm *, html.rm *::before, html.rm *::after {
  animation-duration: .001ms !important; animation-iteration-count: 1 !important;
  transition-duration: .001ms !important; transition-delay: 0s !important; scroll-behavior: auto !important;
}
html.rm .crate-sec .sleeve__card { transform: none; }

.is-flash { animation: flash 1.1s var(--ease); border-radius: 8px; }
@keyframes flash { 0%, 100% { background: transparent; } 25% { background: rgba(231, 179, 58, .35); } }
[dir="rtl"] .file small { text-align: right; }

/* ---------- Extra hover states ---------- */
.seg button:hover:not([aria-pressed="true"]) { background: rgba(20, 17, 17, .08); }
.lang button:hover:not([aria-pressed="true"]) { background: rgba(242, 232, 213, .14); }
.np__open:hover { background: var(--mustard); }
.citem__rm:hover { color: var(--black); }
.sres:hover .sres__name { text-decoration: underline; text-underline-offset: 3px; }
.trk:active, .seg button:active, .lang button:active, .swatch:active, .file:active, .matpick label:active { transform: scale(.97); }
.divider:active { transform: translateY(-6px) scale(.98); }
