/* =========================================================
   Dev Crow Egg — Direction B "Oasis"
   Sand, bone, terracotta, deep teal ink and brass.
   ========================================================= */

:root {
  --bone: #F4EBDC;
  --bone-2: #EEE2CD;
  --paper: #F8F2E7;
  --sand: #E3CDA9;
  --dune: #C9A277;
  --clay: #B0532E;
  --clay-deep: #8A3A1C;
  --clay-band: #9A4524;
  --ink: #123638;
  --ink-2: #1D4A4A;
  --night: #0C2527;
  --brass: #B08D4C;
  --brass-lt: #D8B873;
  --text: #17302F;
  --muted: #56625E;
  --line: rgba(23, 48, 47, .16);
  --line-strong: rgba(23, 48, 47, .3);

  --f-display: 'Cormorant Garamond', 'Amiri', Georgia, serif;
  --f-body: 'Jost', 'IBM Plex Sans Arabic', system-ui, sans-serif;

  --fs-hero: clamp(3rem, 1.3rem + 4.6vw, 5.4rem);
  --fs-h2: clamp(2.5rem, 1.3rem + 3.5vw, 4.9rem);
  --fs-h3: clamp(1.5rem, 1.2rem + .8vw, 2rem);
  --fs-lede: clamp(1.1rem, 1rem + .35vw, 1.3rem);

  --gutter: clamp(20px, 4.2vw, 64px);
  --maxw: 1360px;
  --section: clamp(96px, 11vw, 184px);
  --header-h: 84px;

  --ease: cubic-bezier(.22, .61, .36, 1);
  --ease-soft: cubic-bezier(.32, .72, 0, 1);
  --radius: 28px;
}

html[lang="ar"] {
  --f-display: 'Amiri', 'Cormorant Garamond', serif;
  --f-body: 'IBM Plex Sans Arabic', 'Jost', system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--bone);
  color: var(--text);
  font: 400 1.0625rem/1.65 var(--f-body);
  -webkit-font-smoothing: antialiased;
  font-variant-numeric: lining-nums;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
html[lang="ar"] body { line-height: 1.85; }

/* fine paper grain, painted into section backgrounds (no fixed overlay layer to composite) */
:root {
  --grain: none; /* replaced at runtime by a PNG noise tile (js/common.js) */
}
body { background-image: var(--grain); }

img, svg, canvas { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
h1, h2, h3, h4, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
em { font-style: italic; }

:focus-visible { outline: 2px solid var(--clay-deep); outline-offset: 4px; border-radius: 6px; }
.on-dark :focus-visible, .cats :focus-visible, .band :focus-visible, .site-footer :focus-visible { outline-color: var(--brass-lt); }

.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; }
.skip { position: absolute; inset-inline-start: 16px; top: -60px; z-index: 200; background: var(--ink); color: var(--bone); padding: 10px 16px; border-radius: 999px; transition: top .3s var(--ease); }
.skip:focus { top: 12px; }

.wrap { width: min(100% - var(--gutter) * 2, var(--maxw)); margin-inline: auto; }

/* ---------- type ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .7em;
  font: 500 .78rem/1.2 var(--f-body);
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--clay-deep);
}
/* eight-point khatam star from two squares (no clip-path, cheap to raster) */
.eyebrow { position: relative; padding-inline-start: 20px; }
.eyebrow::before, .eyebrow::after {
  content: '';
  position: absolute;
  inset-inline-start: 2px;
  top: 50%;
  width: 8px; height: 8px;
  margin-top: -4px;
  background: currentColor;
}
.eyebrow::after { transform: rotate(45deg); }
html[lang="ar"] .eyebrow { letter-spacing: 0; text-transform: none; font-size: .95rem; font-weight: 500; }

.h2 {
  font: 500 var(--fs-h2)/.98 var(--f-display);
  letter-spacing: -.012em;
  text-wrap: balance;
}
.h2 em, .hero__title em, .band__title em { font-weight: 400; color: var(--clay); }
html[lang="ar"] .h2 { font-weight: 400; line-height: 1.3; letter-spacing: 0; font-size: calc(var(--fs-h2) * .82); }
html[lang="ar"] .h2 em, html[lang="ar"] .hero__title em { font-style: normal; }

.lede { font-size: var(--fs-lede); line-height: 1.6; color: var(--muted); max-width: 40ch; text-wrap: pretty; }

/* ---------- buttons ---------- */
.btn {
  --btn-bg: var(--ink);
  --btn-fg: var(--bone);
  --ic-bg: var(--brass-lt);
  --ic-fg: var(--ink);
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  min-height: 56px;
  padding-block: 7px;
  padding-inline: 1.6rem 7px;
  border-radius: 999px;
  background: var(--btn-bg);
  color: var(--btn-fg);
  font: 500 1rem/1 var(--f-body);
  letter-spacing: .01em;
  transition: transform .7s var(--ease-soft), background-color .5s var(--ease), color .5s var(--ease), box-shadow .7s var(--ease-soft);
  box-shadow: 0 1px 0 rgba(255, 255, 255, .08) inset, 0 12px 24px -16px rgba(18, 54, 56, .5);
}
.btn__icon {
  width: 42px; height: 42px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--ic-bg);
  color: var(--ic-fg);
  transition: transform .7s var(--ease-soft);
  flex: none;
}
.btn__icon svg { width: 18px; height: 18px; }
html[dir="rtl"] .btn__icon svg, html[dir="rtl"] .flip-rtl { transform: scaleX(-1); }
.btn:hover .btn__icon { transform: translateX(4px) scale(1.04); }
html[dir="rtl"] .btn:hover .btn__icon { transform: translateX(-4px) scale(1.04); }
.btn:active { transform: scale(.98); }
.btn--ghost {
  --btn-bg: transparent;
  --btn-fg: var(--ink);
  --ic-bg: rgba(18, 54, 56, .08);
  --ic-fg: var(--ink);
  box-shadow: inset 0 0 0 1px var(--line-strong);
}
.btn--ghost:hover { --btn-bg: rgba(18, 54, 56, .05); }
.btn--brass { --btn-bg: var(--brass-lt); --btn-fg: var(--night); --ic-bg: var(--night); --ic-fg: var(--brass-lt); box-shadow: none; }
.btn--light-ghost { --btn-bg: transparent; --btn-fg: var(--bone); --ic-bg: rgba(244, 235, 220, .14); --ic-fg: var(--bone); box-shadow: inset 0 0 0 1px rgba(244, 235, 220, .4); }

.link-arrow {
  display: inline-flex; align-items: center; gap: .55em;
  font-weight: 500;
  border-bottom: 1px solid currentColor;
  padding-bottom: 2px;
  transition: gap .6s var(--ease-soft), color .4s var(--ease);
}
.link-arrow::after { content: '→'; font-family: var(--f-body); }
html[dir="rtl"] .link-arrow::after { content: '←'; }
.link-arrow:hover { gap: .9em; color: var(--clay-deep); }

/* =========================================================
   Header
   ========================================================= */
.site-header {
  position: fixed;
  inset-inline: 0;
  top: 0;
  z-index: 60;
  padding-top: 12px;
  transition: padding .6s var(--ease-soft);
}
.site-header__inner {
  width: min(100% - var(--gutter) * 2 + 24px, var(--maxw) + 24px);
  margin-inline: auto;
  display: flex;
  align-items: center;
  gap: clamp(16px, 2.4vw, 40px);
  height: 64px;
  padding-inline: 12px;
  border-radius: 999px;
  transition: background-color .6s var(--ease), box-shadow .6s var(--ease), backdrop-filter .6s var(--ease);
}
.site-header.is-scrolled .site-header__inner {
  background: rgba(248, 242, 231, .82);
  backdrop-filter: blur(14px) saturate(1.2);
  -webkit-backdrop-filter: blur(14px) saturate(1.2);
  box-shadow: inset 0 0 0 1px rgba(23, 48, 47, .1), 0 20px 40px -30px rgba(40, 24, 10, .45);
}

.brand { display: inline-flex; align-items: center; gap: 10px; flex: none; }
.brand__mark { width: 30px; height: 36px; color: var(--clay); }
.brand__word { font: 600 1.42rem/1 var(--f-display); letter-spacing: .005em; white-space: nowrap; }
.brand__word i { font-weight: 500; color: var(--clay); }
html[lang="ar"] .brand__word { font-family: 'Cormorant Garamond', serif; }

.nav { display: flex; gap: clamp(14px, 2vw, 32px); margin-inline-start: auto; }
.nav a {
  position: relative;
  font-size: .95rem;
  font-weight: 450;
  padding-block: 6px;
  white-space: nowrap;
}
.nav a::after {
  content: '';
  position: absolute;
  inset-inline: 0;
  bottom: 0;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform .6s var(--ease-soft);
}
html[dir="rtl"] .nav a::after { transform-origin: left; }
.nav a:hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); transform-origin: left; }
html[dir="rtl"] .nav a:hover::after, html[dir="rtl"] .nav a[aria-current="page"]::after { transform-origin: right; }

.tools { display: flex; align-items: center; gap: 10px; }
.search {
  position: relative;
  display: flex;
  align-items: center;
}
.search svg { position: absolute; inset-inline-start: 14px; width: 17px; height: 17px; color: var(--muted); pointer-events: none; }
.search input {
  width: 190px;
  height: 42px;
  border-radius: 999px;
  border: 0;
  background: rgba(23, 48, 47, .06);
  padding-inline: 40px 14px;
  font-size: .92rem;
  transition: background-color .4s var(--ease), width .6s var(--ease-soft), box-shadow .4s var(--ease);
}
.search input::placeholder { color: #66716D; }
.search input:focus { outline: none; background: var(--paper); box-shadow: inset 0 0 0 1.5px var(--ink); width: 230px; }
.search input::-webkit-search-cancel-button { display: none; }

.lang {
  display: inline-flex;
  padding: 3px;
  border-radius: 999px;
  box-shadow: inset 0 0 0 1px var(--line-strong);
}
.lang button {
  min-width: 44px;
  height: 36px;
  padding-inline: 10px;
  border-radius: 999px;
  font-size: .85rem;
  font-weight: 500;
  color: var(--muted);
  transition: background-color .5s var(--ease), color .5s var(--ease);
}
.lang button[lang="ar"] { font-family: 'IBM Plex Sans Arabic', sans-serif; font-size: .9rem; }
.lang button[aria-pressed="true"] { background: var(--ink); color: var(--bone); }
.lang button:not([aria-pressed="true"]):hover { color: var(--ink); background: rgba(23, 48, 47, .06); }

.cart {
  position: relative;
  width: 44px; height: 44px;
  border-radius: 50%;
  display: grid; place-items: center;
  transition: background-color .4s var(--ease);
}
.cart:hover { background: rgba(23, 48, 47, .07); }
.cart svg { width: 22px; height: 22px; }
.cart__count {
  position: absolute;
  top: 2px;
  inset-inline-end: 0;
  min-width: 19px; height: 19px;
  padding-inline: 5px;
  border-radius: 999px;
  background: var(--paper);
  color: var(--ink);
  box-shadow: inset 0 0 0 1px var(--line-strong);
  font: 600 .7rem/19px var(--f-body);
  text-align: center;
  transition: background-color .5s var(--ease), color .5s var(--ease);
}
.cart.has-items .cart__count { background: var(--clay); color: #fff; box-shadow: none; }

.lang-mini {
  display: none;
  min-width: 44px; height: 40px;
  padding-inline: 10px;
  border-radius: 999px;
  box-shadow: inset 0 0 0 1px var(--line-strong);
  font: 500 .85rem/1 var(--f-body);
}
.lang-mini[lang="ar"] { font-family: 'IBM Plex Sans Arabic', sans-serif; font-size: .9rem; }
.menu-btn { display: none; width: 44px; height: 44px; border-radius: 50%; position: relative; }
.menu-btn span {
  position: absolute; left: 12px; right: 12px; height: 1.5px; background: var(--ink);
  transition: transform .6s var(--ease-soft), top .6s var(--ease-soft);
}
.menu-btn span:first-child { top: 17px; }
.menu-btn span:last-child { top: 26px; }
.menu-open .menu-btn span:first-child { top: 21.5px; transform: rotate(45deg); }
.menu-open .menu-btn span:last-child { top: 21.5px; transform: rotate(-45deg); }

.drawer {
  position: fixed;
  inset: 0;
  z-index: 55;
  background: var(--paper);
  padding: calc(var(--header-h) + 24px) var(--gutter) 40px;
  display: flex;
  flex-direction: column;
  gap: 32px;
  opacity: 0;
  visibility: hidden;
  transition: opacity .6s var(--ease), visibility 0s linear .6s;
  overflow-y: auto;
}
.menu-open .drawer { opacity: 1; visibility: visible; transition: opacity .6s var(--ease), visibility 0s; }
.drawer__nav a {
  display: block;
  font: 500 clamp(2.4rem, 9vw, 3.6rem)/1.15 var(--f-display);
  padding-block: 6px;
  border-bottom: 1px solid var(--line);
  transform: translateY(18px);
  opacity: 0;
  transition: transform .8s var(--ease-soft), opacity .8s var(--ease);
}
.menu-open .drawer__nav a { transform: none; opacity: 1; }
.menu-open .drawer__nav a:nth-child(2) { transition-delay: .06s; }
.menu-open .drawer__nav a:nth-child(3) { transition-delay: .12s; }
.menu-open .drawer__nav a:nth-child(4) { transition-delay: .18s; }
.drawer .search input { width: 100%; height: 52px; }
.drawer .search { width: 100%; }
.drawer__row { display: flex; align-items: center; justify-content: space-between; gap: 16px; }

/* =========================================================
   Hero
   ========================================================= */
.hero {
  position: relative;
  padding-top: calc(var(--header-h) + clamp(24px, 4vh, 56px));
  padding-bottom: clamp(48px, 7vh, 88px);
  background:
    radial-gradient(120% 80% at 0% 0%, #E9D7BA 0%, transparent 55%),
    linear-gradient(180deg, #EFE2CB 0%, var(--bone) 78%);
  overflow: hidden;
  isolation: isolate;
}
.hero__dapple {
  position: absolute;
  z-index: -1;
  top: -6%;
  inset-inline-start: -4%;
  width: 72%;
  height: 112%;
  color: #FFF8EA;
  opacity: .62;
  transform-origin: 0 0;
  pointer-events: none;
}
.dapple__light {
  position: absolute;
  inset: 0;
  background-size: 100% 100%;
  background-repeat: no-repeat;
}
html[dir="rtl"] .dapple__light { transform: scaleX(-1); }

.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(0, .82fr);
  gap: clamp(32px, 4vw, 72px);
  align-items: center;
}
.hero__copy { padding-bottom: clamp(8px, 3vh, 40px); }
.hero__title {
  margin-top: 26px;
  font: 500 var(--fs-hero)/.94 var(--f-display);
  letter-spacing: -.022em;
}
.hero__title .ln { display: block; }
.hero__title .ln:last-child { padding-inline-start: .4em; }
html[lang="ar"] .hero__title { font-size: calc(var(--fs-hero) * .74); line-height: 1.32; letter-spacing: 0; font-weight: 400; }
html[lang="ar"] .hero__title .ln:last-child { padding-inline-start: .6em; }
.hero__sub { margin-top: 30px; max-width: 46ch; font-size: var(--fs-lede); line-height: 1.6; color: var(--muted); }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
.hero__note {
  display: flex; align-items: center; gap: 12px;
  margin-top: clamp(40px, 7vh, 72px);
  font: italic 400 1.35rem/1.3 var(--f-display);
  color: var(--ink-2);
}
.hero__note::before { content: ''; width: 48px; height: 1px; background: var(--brass); }
html[lang="ar"] .hero__note { font-style: normal; font-size: 1.25rem; }

.hero__stage {
  position: relative;
  height: clamp(520px, calc(100svh - var(--header-h) - 90px), 780px);
  margin-inline-start: 14px;
}
.arch-outline {
  position: absolute;
  left: -14px;
  top: -14px;
  fill: none;
  stroke: var(--brass);
  stroke-width: 1;
  pointer-events: none;
  overflow: visible;
}
.niche {
  position: absolute;
  inset: 0;
  border-radius: 999px 999px 0 0 / 40% 40% 0 0;
  background:
    radial-gradient(60% 46% at 50% 62%, #E7B577 0%, transparent 70%),
    linear-gradient(180deg, #B98F63, #9D7651);
  overflow: hidden;
  box-shadow: inset 0 -40px 60px -30px rgba(40, 22, 8, .35);
}
.niche canvas { width: 100% !important; height: 100% !important; opacity: 0; transition: opacity 1.2s var(--ease); }
.niche.is-live canvas { opacity: 1; }
.niche.is-live .niche__fallback { opacity: 0; }
.niche__fallback { position: absolute; inset: 0; display: grid; place-items: end center; transition: opacity .8s var(--ease); }
.niche__fallback svg { width: 82%; height: auto; }

.hero__label {
  position: absolute;
  inset-inline-start: -40px;
  bottom: 36px;
  display: grid;
  gap: 2px;
  min-width: 230px;
  padding: 18px 22px 20px;
  background: var(--paper);
  border-radius: 4px 22px 4px 4px;
  box-shadow: 0 30px 60px -36px rgba(40, 24, 10, .55), inset 0 0 0 1px rgba(23, 48, 47, .08);
}
html[dir="rtl"] .hero__label { border-radius: 22px 4px 4px 4px; }
.hero__label-k { font-size: .7rem; letter-spacing: .2em; text-transform: uppercase; color: var(--clay-deep); font-weight: 500; }
html[lang="ar"] .hero__label-k { letter-spacing: 0; font-size: .85rem; }
.hero__label-name { font: 500 1.55rem/1.15 var(--f-display); margin-top: 6px; }
.hero__label-meta { font-size: .85rem; color: var(--muted); }
.hero__label-row { display: flex; justify-content: space-between; align-items: baseline; gap: 18px; margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--line); }
.hero__label-price { font-weight: 500; font-variant-numeric: lining-nums tabular-nums; }
.hero__label .link-arrow { font-size: .88rem; }

/* =========================================================
   Sections
   ========================================================= */
.section { padding-block: var(--section); position: relative; }
.section-head { display: grid; gap: 22px; margin-bottom: clamp(48px, 6vw, 96px); }
.section-head--split {
  grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr);
  align-items: end;
  column-gap: clamp(32px, 6vw, 120px);
}
.section-head--split .eyebrow { grid-column: 1 / -1; }
.section-head--split .lede { justify-self: end; }

/* ---------- How it works: the arcade ---------- */
.how { background: var(--grain), var(--bone); }
.arcade {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(14px, 1.6vw, 24px);
  counter-reset: bay;
}
.arcade__bay {
  position: relative;
  counter-increment: bay;
  isolation: isolate;
  padding: clamp(92px, 9vw, 132px) clamp(20px, 2vw, 34px) 36px;
  min-height: 460px;
  display: flex;
  flex-direction: column;
}
.arcade__arch {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  fill: none;
  stroke: var(--brass);
  stroke-width: 1;
  overflow: visible;
}
.arcade__arch { z-index: -1; }
.arcade__arch .fill { fill: rgba(227, 205, 169, .32); stroke: none; }
.arcade__num {
  font: italic 400 1.15rem/1 var(--f-display);
  color: var(--clay-deep);
  display: flex; align-items: center; gap: 10px;
}
.arcade__num::before { content: counter(bay, decimal-leading-zero); font-size: 2.6rem; font-style: normal; font-weight: 400; color: var(--clay); }
html[lang="ar"] .arcade__num::before { content: counter(bay, arabic-indic); }
.arcade__icon { width: 64px; height: 64px; margin-block: 26px 22px; color: var(--ink); fill: none; stroke: currentColor; stroke-width: 1.3; stroke-linecap: round; stroke-linejoin: round; }
.arcade__bay h3 { font: 500 var(--fs-h3)/1.1 var(--f-display); }
html[lang="ar"] .arcade__bay h3 { font-weight: 700; font-size: 1.45rem; line-height: 1.4; }
.arcade__bay p { margin-top: 12px; color: var(--muted); font-size: 1rem; }
.arcade__bay::after {
  content: '';
  position: absolute;
  inset-inline-end: calc(clamp(14px, 1.6vw, 24px) / -2 - 4px);
  top: 50%;
  width: 8px; height: 8px;
  transform: rotate(45deg);
  background: var(--brass);
}
.arcade__bay:last-child::after { display: none; }

/* ---------- Collection ---------- */
.collection { background: var(--grain), linear-gradient(180deg, #E6D3B2, #E0C9A3); }
.collection .lede { color: #4E5753; }
.collection__grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: clamp(36px, 4vw, 64px) clamp(20px, 2.4vw, 40px);
  align-items: start;
}
.ccard { position: relative; }
.ccard__plate { position: relative; aspect-ratio: 4 / 5; overflow: hidden; border-radius: 999px 999px 0 0 / 40% 40% 0 0; }
.ccard--lantern { grid-column: 1 / span 6; grid-row: 1 / span 2; }
.ccard--nameplate { grid-column: 7 / span 3; }
.ccard--egg { grid-column: 10 / span 3; margin-top: clamp(40px, 6vw, 110px); }
.ccard--hex {
  grid-column: 7 / span 6;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(20px, 2.4vw, 40px);
  align-items: end;
}
.ccard__meta { padding-top: 22px; display: grid; gap: 6px; }
.ccard--hex .ccard__meta { padding-bottom: 8px; }
.ccard__cat { font-size: .78rem; letter-spacing: .16em; text-transform: uppercase; color: var(--clay-deep); font-weight: 500; }
html[lang="ar"] .ccard__cat { letter-spacing: 0; font-size: .9rem; }
.ccard__name { font: 500 clamp(1.6rem, 1.2rem + 1vw, 2.2rem)/1.05 var(--f-display); }
.ccard--lantern .ccard__name { font-size: clamp(2.2rem, 1.4rem + 2vw, 3.4rem); }
.ccard__sub { font-style: italic; font-weight: 400; color: var(--muted); font-size: .7em; }
.ccard__desc { color: #4E5753; max-width: 38ch; }
.ccard__price { margin-top: 6px; font-weight: 500; font-size: 1.05rem; font-variant-numeric: lining-nums tabular-nums; }
.ccard--lantern .ccard__meta { grid-template-columns: 1fr auto; column-gap: 24px; }
.ccard--lantern .ccard__meta > * { grid-column: 1; }
.ccard--lantern .ccard__price { grid-column: 2; grid-row: 2; align-self: end; font: 500 1.6rem/1 var(--f-display); }

/* ---------- product plates (shared) ---------- */
.card__art { position: absolute; inset: 0; }
.card__art svg { width: 100%; height: 100%; }
[data-arch]::after {
  content: '';
  position: absolute;
  inset-inline: 0;
  bottom: 0;
  height: 18%;
  background: linear-gradient(180deg, rgba(0, 0, 0, .07), rgba(0, 0, 0, 0) 70%);
  pointer-events: none;
}
.tone-night { background: radial-gradient(70% 55% at 50% 58%, #2C5653 0%, #143B3C 55%, #0C2527 100%); }
.tone-sand { background: linear-gradient(180deg, #EEDDC0, #E4CDA8); }
.tone-dune { background: linear-gradient(180deg, #DDC29B, #CFAF84); }
.tone-bone { background: linear-gradient(180deg, #F6EEE1, #EADDC8); }
.tone-clay { background: linear-gradient(180deg, #D49374, #C47A57); }
.tone-teal { background: linear-gradient(180deg, #4F7E79, #3A6763); }
.tone-ink { background: linear-gradient(180deg, #2D5A58, #1F4846); }
.card__link::after { content: ''; position: absolute; inset: 0; z-index: 1; }
.card__link:focus-visible { outline: none; }
.card:has(.card__link:focus-visible), .ccard:has(.card__link:focus-visible) { outline: 2px solid var(--clay-deep); outline-offset: 8px; border-radius: 12px; }
.ccard:hover .card__art, .card:hover .card__art { transform: translateY(-6px) scale(1.025); }
.card__art { transition: transform 1.2s var(--ease-soft); }

/* ---------- Trending ---------- */
.trending { background: var(--grain), var(--bone); }
.section-head--row { grid-template-columns: minmax(0, 1fr) auto; align-items: end; column-gap: 40px; }
.section-head--row .eyebrow, .section-head--row .h2, .section-head--row .lede { grid-column: 1; }
.section-head--row .link-arrow { grid-column: 2; grid-row: 1 / span 3; align-self: end; margin-bottom: 8px; }
.cards {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(40px, 4vw, 64px) clamp(16px, 2vw, 32px);
}
.cards > :nth-child(4n + 2), .cards > :nth-child(4n + 4) { margin-top: clamp(32px, 5vw, 80px); }
.card { position: relative; container-type: inline-size; }
.card__plate { position: relative; aspect-ratio: 4 / 5; overflow: hidden; border-radius: 999px 999px 0 0 / 40% 40% 0 0; }
.card__mat {
  position: absolute;
  inset-inline-start: 14px;
  bottom: 14px;
  z-index: 1;
  padding: 5px 10px;
  border-radius: 999px;
  background: rgba(248, 242, 231, .92);
  color: var(--ink);
  font: 600 .68rem/1 var(--f-body);
  letter-spacing: .14em;
}
.card__add {
  position: absolute;
  z-index: 2;
  inset-inline-end: 12px;
  top: calc(125cqw - 56px);
  width: 44px; height: 44px;
  border-radius: 50%;
  display: grid; place-items: center;
  background: var(--paper);
  color: var(--ink);
  box-shadow: 0 10px 24px -14px rgba(40, 24, 10, .6);
  transition: background-color .5s var(--ease), color .5s var(--ease), transform .7s var(--ease-soft);
}
.card__add svg { width: 20px; height: 20px; transition: transform .7s var(--ease-soft); }
.card__add:hover { background: var(--ink); color: var(--bone); }
.card__add:hover svg { transform: rotate(90deg); }
.card__add:active { transform: scale(.94); }
.card__meta { padding-top: 18px; display: grid; gap: 4px; }
.card__seller { font-size: .76rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); font-weight: 500; }
html[lang="ar"] .card__seller { letter-spacing: 0; text-transform: none; font-size: .85rem; }
.card__name { font: 500 1.5rem/1.1 var(--f-display); text-wrap: balance; }
html[lang="ar"] .card__name { font-family: 'Cormorant Garamond', serif; }
.card__price { font-weight: 500; font-variant-numeric: lining-nums tabular-nums; margin-top: 4px; }

/* ---------- Categories ---------- */
.cats { background: var(--ink); color: var(--bone); overflow: hidden; }
.cats .eyebrow { color: var(--brass-lt); }
.cats .h2 em { color: var(--brass-lt); }
.cats__lattice {
  position: absolute;
  inset-inline-end: -120px;
  top: -80px;
  width: 560px;
  height: 560px;
  color: var(--brass-lt);
  opacity: .1;
  pointer-events: none;
}
.cats__list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: clamp(32px, 5vw, 96px);
  border-top: 1px solid rgba(244, 235, 220, .2);
}
.cats__list li { border-bottom: 1px solid rgba(244, 235, 220, .2); }
.cat {
  position: relative;
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr) auto;
  align-items: center;
  column-gap: 22px;
  padding-block: clamp(22px, 2.4vw, 34px);
}
.cat__glyph { grid-row: 1 / span 2; width: 52px; height: 52px; color: var(--brass-lt); fill: none; stroke: currentColor; stroke-width: 1.2; stroke-linecap: round; stroke-linejoin: round; transition: transform 1s var(--ease-soft); }
.cat__name { font: 500 clamp(1.8rem, 1.3rem + 1.4vw, 2.7rem)/1.05 var(--f-display); transition: transform .8s var(--ease-soft), color .5s var(--ease); }
html[lang="ar"] .cat__name { font-weight: 400; line-height: 1.4; font-size: clamp(1.6rem, 1.2rem + 1vw, 2.2rem); }
.cat__desc { grid-column: 2; font-size: .95rem; color: rgba(244, 235, 220, .7); }
.cat__arrow {
  grid-column: 3; grid-row: 1 / span 2;
  width: 46px; height: 46px; border-radius: 50%;
  display: grid; place-items: center;
  box-shadow: inset 0 0 0 1px rgba(244, 235, 220, .3);
  transition: background-color .6s var(--ease), color .6s var(--ease), transform .8s var(--ease-soft);
}
.cat__arrow svg { width: 18px; height: 18px; }
.cat:hover .cat__name { transform: translateX(10px); color: var(--brass-lt); }
html[dir="rtl"] .cat:hover .cat__name { transform: translateX(-10px); }
.cat:hover .cat__glyph { transform: rotate(45deg); }
.cat:hover .cat__arrow { background: var(--brass-lt); color: var(--night); }

/* ---------- Seller band ---------- */
.band { background: var(--grain), var(--clay-band); color: var(--bone); overflow: hidden; }
.band__lattice { position: absolute; inset: 0; color: #E9B98F; opacity: .13; pointer-events: none; }
.band__lattice svg { width: 100%; height: 100%; }
.band__grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
  gap: clamp(40px, 6vw, 120px);
  align-items: center;
}
.band .eyebrow { color: #F2CFA6; }
.band__title { font: 500 clamp(3rem, 1.6rem + 5vw, 7rem)/.92 var(--f-display); letter-spacing: -.02em; }
.band__title em { color: #F6D7AE !important; }
html[lang="ar"] .band__title { font-weight: 400; line-height: 1.25; letter-spacing: 0; font-size: clamp(2.6rem, 1.6rem + 3.6vw, 5rem); }
.band__p { margin-top: 26px; font-size: var(--fs-lede); max-width: 40ch; color: rgba(255, 244, 228, .92); }
.band__ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
.split {
  position: relative;
  padding: clamp(24px, 3vw, 40px);
  border-radius: var(--radius);
  background: rgba(30, 10, 2, .18);
  box-shadow: inset 0 0 0 1px rgba(255, 230, 200, .18);
}
.split__k { font: italic 400 1.6rem/1.2 var(--f-display); }
html[lang="ar"] .split__k { font-style: normal; }
.split__bar { display: flex; height: 64px; margin-top: 22px; border-radius: 12px; overflow: hidden; gap: 3px; }
.split__bar span { display: block; height: 100%; transform-origin: left center; }
html[dir="rtl"] .split__bar span { transform-origin: right center; }
.split__min { flex: 73 1 0; background: rgba(255, 238, 214, .26); }
.split__you { flex: 24.3 1 0; background: #F2CB8E; }
.split__us { flex: 2.7 1 0; min-width: 8px; background: var(--bone); }
.split__legend { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 24px; margin-top: 26px; }
.split__legend div { display: grid; gap: 2px; padding-top: 12px; border-top: 1px solid rgba(255, 230, 200, .22); }
.split__legend dt { font-size: .82rem; color: rgba(255, 244, 228, .78); display: flex; align-items: center; gap: 8px; }
.split__legend dt i { width: 10px; height: 10px; border-radius: 3px; flex: none; }
.split__legend dd { font: 500 1.9rem/1.1 var(--f-display); font-variant-numeric: lining-nums tabular-nums; }
.split__note { margin-top: 18px; font-size: .82rem; color: rgba(255, 244, 228, .72); }

/* ---------- Trust ---------- */
.trust { background: var(--grain), var(--bone); padding-block: clamp(64px, 8vw, 120px); }
.trust__list { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.trust__list li { padding-inline: clamp(16px, 2.4vw, 40px); border-inline-start: 1px solid var(--line); display: grid; gap: 10px; align-content: start; }
.trust__list li:first-child { border-inline-start: 0; padding-inline-start: 0; }
.trust__list svg { width: 40px; height: 40px; color: var(--clay); fill: none; stroke: currentColor; stroke-width: 1.3; stroke-linecap: round; stroke-linejoin: round; margin-bottom: 8px; }
.trust__list h3 { font: 500 1.45rem/1.15 var(--f-display); }
html[lang="ar"] .trust__list h3 { font-weight: 700; font-size: 1.25rem; line-height: 1.5; }
.trust__list p { color: var(--muted); font-size: .96rem; }

/* =========================================================
   Footer
   ========================================================= */
.site-footer { position: relative; background: var(--night); color: var(--bone); padding-top: clamp(80px, 9vw, 140px); margin-top: 28px; }
.site-footer::before {
  content: '';
  position: absolute;
  inset-inline: 0;
  top: -27px;
  height: 28px;
  background: var(--night);
  -webkit-mask: radial-gradient(circle at 50% 100%, #000 27px, transparent 27.5px) 0 0 / 60px 28px repeat-x;
  mask: radial-gradient(circle at 50% 100%, #000 27px, transparent 27.5px) 0 0 / 60px 28px repeat-x;
}
.footer__grid { display: grid; grid-template-columns: minmax(0, 1.3fr) repeat(3, minmax(0, .6fr)); gap: clamp(32px, 4vw, 64px); }
.footer__brand p { margin-top: 18px; color: rgba(244, 235, 220, .7); max-width: 30ch; font: italic 400 1.35rem/1.35 var(--f-display); }
html[lang="ar"] .footer__brand p { font-style: normal; font-size: 1.2rem; }
.footer__brand .brand__mark { width: 40px; height: 48px; color: var(--brass-lt); }
.site-footer h2 { font: 500 .78rem/1.2 var(--f-body); letter-spacing: .2em; text-transform: uppercase; color: var(--brass-lt); margin-bottom: 18px; }
html[lang="ar"] .site-footer h2 { letter-spacing: 0; font-size: .95rem; }
.site-footer ul { display: grid; gap: 10px; }
.site-footer ul a { color: rgba(244, 235, 220, .82); transition: color .4s var(--ease); }
.site-footer ul a:hover { color: var(--bone); text-decoration: underline; text-underline-offset: 4px; }
.footer__word {
  margin-top: clamp(64px, 8vw, 120px);
  font: 500 clamp(3.2rem, 11.6vw, 11.5rem)/.8 'Cormorant Garamond', serif;
  letter-spacing: -.03em;
  color: transparent;
  -webkit-text-stroke: 1px rgba(216, 184, 115, .55);
  white-space: nowrap;
  text-align: center;
  overflow: hidden;
  user-select: none;
}
.footer__base {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px;
  padding-block: 28px 36px;
  margin-top: 28px;
  border-top: 1px solid rgba(244, 235, 220, .14);
  font-size: .88rem;
  color: rgba(244, 235, 220, .7);
}
.site-footer .lang { box-shadow: inset 0 0 0 1px rgba(244, 235, 220, .3); }
.site-footer .lang button { color: rgba(244, 235, 220, .75); }
.site-footer .lang button[aria-pressed="true"] { background: var(--brass-lt); color: var(--night); }
.site-footer .lang button:not([aria-pressed="true"]):hover { background: rgba(244, 235, 220, .1); color: var(--bone); }
.footer__lang { display: flex; align-items: center; gap: 14px; }

/* toast */
.toast {
  position: fixed;
  z-index: 90;
  inset-inline-end: 24px;
  bottom: 24px;
  padding: 14px 20px;
  border-radius: 999px;
  background: var(--ink);
  color: var(--bone);
  font-size: .95rem;
  box-shadow: 0 24px 50px -24px rgba(12, 37, 39, .7);
  transform: translateY(16px);
  opacity: 0;
  pointer-events: none;
  transition: transform .7s var(--ease-soft), opacity .5s var(--ease);
}
.toast.is-on { transform: none; opacity: 1; }

/* =========================================================
   Product page
   ========================================================= */
.pd { padding-top: calc(var(--header-h) + 28px); padding-bottom: var(--section); background: linear-gradient(180deg, #EFE2CB 0, var(--bone) 640px); }
.crumbs { display: flex; flex-wrap: wrap; gap: 10px; font-size: .88rem; color: var(--muted); margin-bottom: 28px; }
.crumbs a:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.crumbs li + li::before { content: '/'; margin-inline-end: 10px; color: var(--dune); }
.pd__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr);
  gap: clamp(32px, 5vw, 96px);
  align-items: start;
}
.viewer-wrap { position: relative; }
.viewer {
  position: relative;
  height: clamp(460px, 78svh, 820px);
  border-radius: 999px 999px 24px 24px / 34% 34% 24px 24px;
  background: radial-gradient(60% 50% at 50% 60%, #F0D5A8, #D9C3A1 70%);
  overflow: hidden;
  touch-action: none;
  cursor: grab;
}
.viewer:active { cursor: grabbing; }
.viewer canvas { width: 100% !important; height: 100% !important; opacity: 0; transition: opacity 1.2s var(--ease); }
.viewer.is-live canvas { opacity: 1; }
.viewer.is-live .niche__fallback { opacity: 0; }
.viewer__ui {
  position: absolute;
  inset-inline: 20px;
  bottom: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  pointer-events: none;
}
.viewer__ui > * { pointer-events: auto; }
.viewer__hint {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 10px 16px;
  border-radius: 999px;
  background: rgba(248, 242, 231, .9);
  font-size: .85rem;
  color: var(--ink);
}
.viewer__hint svg { width: 18px; height: 18px; }
.lamp-toggle {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 8px 8px 8px 16px;
  padding-inline: 16px 8px;
  border-radius: 999px;
  background: var(--ink);
  color: var(--bone);
  font-size: .85rem;
  font-weight: 500;
}
.lamp-toggle__dot { width: 28px; height: 28px; border-radius: 50%; background: #FFC877; box-shadow: 0 0 0 4px rgba(255, 200, 119, .25), 0 0 18px #FFB466; transition: background-color .5s var(--ease), box-shadow .5s var(--ease); }
.lamp-toggle[aria-pressed="false"] .lamp-toggle__dot { background: #55615E; box-shadow: none; }

.buy { position: sticky; top: calc(var(--header-h) + 20px); display: grid; gap: 22px; }
.buy__title { font: 500 clamp(2.8rem, 1.6rem + 3vw, 4.6rem)/.95 var(--f-display); letter-spacing: -.015em; margin-top: 12px; }
html[lang="ar"] .buy__title { font-family: 'Cormorant Garamond', serif; }
.buy__maker { color: var(--muted); }
.buy__maker strong { color: var(--ink); font-weight: 500; }
.buy__price { font: 500 2.4rem/1 var(--f-display); font-variant-numeric: lining-nums tabular-nums; }
.buy__row { padding-top: 20px; border-top: 1px solid var(--line); display: grid; gap: 12px; }
.buy__label { display: flex; justify-content: space-between; gap: 12px; font-size: .78rem; letter-spacing: .16em; text-transform: uppercase; font-weight: 500; color: var(--muted); }
.buy__label [data-color-name] { letter-spacing: .02em; text-transform: none; color: var(--ink); font-size: .95rem; }
html[lang="ar"] .buy__label { letter-spacing: 0; font-size: .95rem; }
.chip { display: inline-flex; align-items: center; gap: 10px; padding: 8px 14px; border-radius: 999px; background: rgba(23, 48, 47, .07); font-weight: 600; letter-spacing: .08em; width: max-content; }
.chip svg { width: 16px; height: 16px; color: var(--clay); }
.buy__note { font-size: .9rem; color: var(--muted); }
.swatches { display: flex; gap: 12px; flex-wrap: wrap; }
.swatch {
  position: relative;
  width: 48px; height: 48px;
  border-radius: 50%;
  background: var(--c);
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .12), inset 0 8px 14px -8px rgba(255, 255, 255, .5);
  transition: transform .6s var(--ease-soft);
}
.swatch::after {
  content: '';
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  box-shadow: inset 0 0 0 1.5px var(--ink);
  opacity: 0;
  transform: scale(.85);
  transition: opacity .5s var(--ease), transform .6s var(--ease-soft);
}
.swatch[aria-checked="true"]::after { opacity: 1; transform: none; }
.swatch:hover { transform: translateY(-2px); }
.pod {
  display: flex; align-items: center; gap: 14px;
  padding: 16px 18px;
  border-radius: 18px;
  background: rgba(176, 141, 76, .12);
  box-shadow: inset 0 0 0 1px rgba(176, 141, 76, .3);
  font-weight: 500;
  color: var(--ink);
}
.pod svg { width: 28px; height: 28px; flex: none; color: var(--clay); fill: none; stroke: currentColor; stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }
.buy__actions { display: flex; gap: 12px; align-items: stretch; }
.qty { display: inline-flex; align-items: center; border-radius: 999px; box-shadow: inset 0 0 0 1px var(--line-strong); padding: 4px; }
.qty button { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; transition: background-color .4s var(--ease); }
.qty button:hover { background: rgba(23, 48, 47, .07); }
.qty button svg { width: 16px; height: 16px; }
.qty output { min-width: 34px; text-align: center; font-weight: 500; font-variant-numeric: lining-nums tabular-nums; }
.buy__actions .btn { flex: 1; justify-content: space-between; }

.pd-about { padding-block: var(--section); background: var(--grain), var(--paper); }
.about__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(40px, 7vw, 140px); }
.about__text p { font: 400 clamp(1.5rem, 1.2rem + .9vw, 2.05rem)/1.35 var(--f-display); color: var(--ink); text-wrap: pretty; }
html[lang="ar"] .about__text p { font-size: 1.35rem; line-height: 1.9; }
.about__text p + p { margin-top: 22px; font: 400 var(--fs-lede)/1.6 var(--f-body); color: var(--muted); }
.about__text .h2 { margin-bottom: 30px; }
.specs { display: grid; margin-top: 8px; }
.specs div { display: flex; justify-content: space-between; gap: 24px; padding-block: 18px; border-bottom: 1px solid var(--line); }
.specs div:first-child { border-top: 1px solid var(--line); }
.specs dt { color: var(--muted); }
.specs dd { font-weight: 500; text-align: end; }
.specs-art { margin-top: 36px; color: var(--brass); }

.more { padding-block: var(--section); }
.more .cards { grid-template-columns: repeat(4, minmax(0, 1fr)); }

/* =========================================================
   Sell page
   ========================================================= */
.sell-hero {
  position: relative;
  padding-top: calc(var(--header-h) + clamp(32px, 6vh, 72px));
  padding-bottom: clamp(64px, 9vw, 140px);
  background: radial-gradient(90% 70% at 100% 0%, #E7D2B1, transparent 60%), linear-gradient(180deg, #EFE2CB, var(--bone));
  overflow: hidden;
  isolation: isolate;
}
.sell-hero .hero__dapple { inset-inline-start: auto; inset-inline-end: -6%; width: 60%; opacity: .4; }
.sell-hero__grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(32px, 5vw, 96px); align-items: center; }
.astro { position: relative; aspect-ratio: 1; width: 100%; max-width: 600px; justify-self: end; }
.astro svg { width: 100%; height: 100%; overflow: visible; }
.astro__caption { margin-top: 8px; text-align: center; font: italic 400 1.15rem/1.3 var(--f-display); color: var(--muted); }
html[lang="ar"] .astro__caption { font-style: normal; }
.astro .ring { fill: none; stroke: var(--brass); stroke-width: 1; }
.astro .ring--dash { stroke-dasharray: 2 6; }
.astro .route { fill: none; stroke: var(--clay); stroke-width: 1.3; stroke-linecap: round; }
.astro .city text { font: 500 13px var(--f-body); fill: var(--ink); letter-spacing: .06em; paint-order: stroke; stroke: #EFE4D1; stroke-width: 5px; stroke-linejoin: round; }
.astro .city circle { fill: var(--paper); stroke: var(--clay); stroke-width: 1.4; }
.astro .hub { fill: var(--ink); }
.astro .hub-ring { fill: none; stroke: var(--ink); stroke-width: 1; }
.astro .hub-label { font: 600 12px var(--f-body); letter-spacing: .2em; fill: var(--bone); }
.astro .tick { stroke: var(--brass); stroke-width: 1; }

.nos { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; margin-top: clamp(56px, 7vw, 110px); border-top: 1px solid var(--line-strong); }
.nos li { padding-block: 28px 8px; padding-inline: 0 clamp(16px, 3vw, 48px); }
.nos li + li { padding-inline-start: clamp(16px, 3vw, 48px); border-inline-start: 1px solid var(--line); }
.nos h2 { font: italic 500 clamp(1.8rem, 1.3rem + 1.4vw, 2.7rem)/1.05 var(--f-display); color: var(--clay); }
html[lang="ar"] .nos h2 { font-style: normal; font-weight: 700; font-size: 1.8rem; line-height: 1.4; }
.nos p { margin-top: 10px; color: var(--muted); max-width: 32ch; }

.steps { background: var(--grain), var(--paper); }
.steps__list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--line-strong); counter-reset: st; }
.steps__list li {
  counter-increment: st;
  position: relative;
  padding: 34px clamp(16px, 2.4vw, 40px) 44px 0;
  padding-inline: 0 clamp(16px, 2.4vw, 40px);
  border-bottom: 1px solid var(--line);
  display: grid;
  grid-template-columns: auto 1fr;
  column-gap: 20px;
  align-content: start;
}
.steps__list li:nth-child(3n + 2), .steps__list li:nth-child(3n + 3) { padding-inline-start: clamp(16px, 2.4vw, 40px); border-inline-start: 1px solid var(--line); }
.steps__list li::before {
  content: counter(st);
  grid-row: 1 / span 2;
  font: 400 4.2rem/.8 var(--f-display);
  color: var(--clay);
  min-width: 1.1ch;
}
html[lang="ar"] .steps__list li::before { content: counter(st, arabic-indic); }
.steps__list h3 { font: 500 1.6rem/1.1 var(--f-display); }
html[lang="ar"] .steps__list h3 { font-weight: 700; font-size: 1.3rem; line-height: 1.5; }
.steps__list p { margin-top: 10px; color: var(--muted); }
.steps__list .pay { display: inline-flex; gap: 8px; margin-top: 12px; }
.steps__list .pay span { padding: 4px 10px; border-radius: 999px; box-shadow: inset 0 0 0 1px var(--line-strong); font-size: .8rem; font-weight: 500; }

/* calculator */
.calc-sec { background: var(--grain), linear-gradient(180deg, #E6D3B2, #DFC7A0); }
.calc {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  border-radius: 36px;
  padding: 8px;
  background: rgba(255, 250, 240, .4);
  box-shadow: inset 0 0 0 1px rgba(23, 48, 47, .1), 0 50px 90px -60px rgba(60, 30, 10, .5);
  gap: 8px;
}
.calc__in, .calc__out { border-radius: 30px; padding: clamp(24px, 3.4vw, 52px); }
.calc__in { background: var(--paper); display: grid; grid-template-columns: minmax(0, 1fr); gap: 30px; align-content: start; min-width: 0; }
.calc__out { min-width: 0; }
.calc__out { background: var(--ink); color: var(--bone); display: grid; gap: 18px; align-content: start; }
.rates-tag { display: inline-flex; align-items: center; gap: 8px; width: max-content; padding: 6px 12px; border-radius: 999px; background: rgba(176, 83, 46, .1); color: var(--clay-deep); font-size: .78rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; }
html[lang="ar"] .rates-tag { letter-spacing: 0; font-size: .9rem; }
.field { display: grid; gap: 12px; border: 0; padding: 0; margin: 0; min-width: 0; }
.field__top { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.field label, .field legend { font-size: .8rem; letter-spacing: .16em; text-transform: uppercase; font-weight: 500; color: var(--muted); padding: 0; }
html[lang="ar"] .field label, html[lang="ar"] .field legend { letter-spacing: 0; font-size: .95rem; }
.field output { font: 500 1.8rem/1 var(--f-display); font-variant-numeric: lining-nums tabular-nums; color: var(--ink); }
.seg { display: grid; grid-template-columns: 1fr 1fr; padding: 4px; border-radius: 999px; background: rgba(23, 48, 47, .07); }
.seg input { position: absolute; opacity: 0; pointer-events: none; }
.seg label { text-align: center; padding: 12px; border-radius: 999px; font-size: 1rem; letter-spacing: .06em; text-transform: none; color: var(--muted); cursor: pointer; transition: background-color .5s var(--ease), color .5s var(--ease); font-weight: 500; }
.seg label small { display: block; font-size: .74rem; letter-spacing: 0; opacity: .8; font-weight: 400; }
.seg input:checked + label { background: var(--ink); color: var(--bone); }
.seg input:focus-visible + label { outline: 2px solid var(--clay-deep); outline-offset: 2px; }
.price-input { display: flex; align-items: center; gap: 10px; height: 64px; padding-inline: 20px; border-radius: 18px; background: #fff; box-shadow: inset 0 0 0 1px var(--line-strong); transition: box-shadow .4s var(--ease); }
.price-input:focus-within { box-shadow: inset 0 0 0 2px var(--ink); }
.price-input span { color: var(--muted); font-weight: 500; }
.price-input input { flex: 1; width: 100%; min-width: 0; height: 100%; border: 0; background: transparent; font: 500 1.9rem/1 var(--f-display); font-variant-numeric: lining-nums tabular-nums; }
.price-input input:focus { outline: none; }
.price-input.is-bad { box-shadow: inset 0 0 0 2px #C2410C; }
.calc__msg { font-size: .95rem; min-height: 1.6em; color: var(--muted); }
.calc__msg.is-bad { color: #9A2E0B; font-weight: 500; }
.calc__msg.is-bad::before { content: '!'; display: inline-grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; background: #9A2E0B; color: #fff; font-size: .75rem; margin-inline-end: 8px; vertical-align: 1px; }

.calc__out .eyebrow { color: var(--brass-lt); }
.receipt { display: grid; }
.receipt div { display: flex; align-items: baseline; gap: 10px; padding-block: 9px; }
.receipt dt { color: rgba(244, 235, 220, .78); font-size: .95rem; }
.receipt dt small { color: rgba(244, 235, 220, .55); font-size: .8rem; margin-inline-start: 6px; }
.receipt div::after { content: ''; order: 2; flex: 1; border-bottom: 1px dotted rgba(244, 235, 220, .28); transform: translateY(-4px); }
.receipt dd { order: 3; font-variant-numeric: lining-nums tabular-nums; font-weight: 500; }
.receipt .sub { border-top: 1px solid rgba(244, 235, 220, .2); margin-top: 4px; padding-top: 14px; }
.min-box { display: flex; justify-content: space-between; align-items: end; gap: 16px; padding: 20px 22px; border-radius: 20px; background: rgba(244, 235, 220, .08); box-shadow: inset 0 0 0 1px rgba(216, 184, 115, .35); }
.min-box p { font-size: .82rem; letter-spacing: .14em; text-transform: uppercase; color: var(--brass-lt); font-weight: 500; }
html[lang="ar"] .min-box p { letter-spacing: 0; font-size: .95rem; }
.min-box small { display: block; margin-top: 6px; font-size: .78rem; letter-spacing: 0; text-transform: none; color: rgba(244, 235, 220, .6); font-weight: 400; }
.min-box output { font: 500 clamp(2.6rem, 2rem + 2vw, 3.6rem)/.9 var(--f-display); font-variant-numeric: lining-nums tabular-nums; color: var(--bone); white-space: nowrap; }
.earn { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.earn div { padding: 16px 18px; border-radius: 18px; background: rgba(244, 235, 220, .06); }
.earn div.is-you { background: var(--brass-lt); color: var(--night); }
.earn dt { font-size: .82rem; opacity: .85; }
.earn dd { font: 500 2rem/1.1 var(--f-display); font-variant-numeric: lining-nums tabular-nums; margin-top: 4px; }
.earn .markup { grid-column: 1 / -1; display: flex; justify-content: space-between; align-items: baseline; }
.earn .markup dd { font-size: 1.5rem; margin: 0; }
.sbar { display: flex; height: 14px; border-radius: 999px; overflow: hidden; gap: 2px; background: rgba(244, 235, 220, .06); }
.sbar span { height: 100%; transition: flex-grow .9s var(--ease-soft); }
.sbar .s-min { background: rgba(244, 235, 220, .3); }
.sbar .s-you { background: var(--brass-lt); }
.sbar .s-us { background: var(--clay); min-width: 3px; }
.sbar-legend { display: flex; flex-wrap: wrap; gap: 8px 18px; font-size: .8rem; color: rgba(244, 235, 220, .75); }
.sbar-legend span { display: inline-flex; align-items: center; gap: 7px; }
.sbar-legend i { width: 10px; height: 10px; border-radius: 3px; }

/* calculator header: title + the "how we estimate" note beside it */
.calc-head { align-items: start; }
.calc-head__lede { margin-top: 22px; }
.calc-head .lede { justify-self: start; }
.materials + .rules { padding-top: clamp(32px, 4vw, 64px); }
.how-note {
  position: relative;
  justify-self: end;
  max-width: 460px;
  padding: 26px 28px 28px;
  padding-inline-start: 88px;
  border-radius: 6px 28px 6px 6px;
  background: rgba(248, 242, 231, .7);
  box-shadow: inset 0 0 0 1px rgba(176, 141, 76, .35);
}
html[dir="rtl"] .how-note { border-radius: 28px 6px 6px 6px; }
.how-note__icon {
  position: absolute;
  inset-inline-start: 26px;
  top: 28px;
  width: 42px; height: 42px;
  fill: none; stroke: var(--clay); stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round;
}
.how-note h3 { font: 500 1.45rem/1.15 var(--f-display); color: var(--ink); }
html[lang="ar"] .how-note h3 { font-weight: 700; font-size: 1.25rem; line-height: 1.5; }
.how-note p { margin-top: 10px; font-size: .95rem; line-height: 1.65; color: #4E5753; }

/* numbered inputs: file → material → price */
.step-n {
  display: inline-grid;
  place-items: center;
  width: 22px; height: 22px;
  margin-inline-end: 10px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--bone);
  font: 600 .72rem/1 var(--f-body);
  letter-spacing: 0;
  vertical-align: 1px;
}
.field > legend { display: flex; align-items: center; margin-bottom: 2px; }
.field > label[for="price"] { display: flex; align-items: center; }

/* file drop area: an arch-topped, dashed niche */
.drop {
  position: relative;
  display: grid;
  justify-items: center;
  gap: 4px;
  padding: 30px 20px 22px;
  border: 1.5px dashed rgba(176, 141, 76, .7);
  border-radius: 999px 999px 18px 18px / 120px 120px 18px 18px;
  background: radial-gradient(70% 90% at 50% 100%, rgba(227, 205, 169, .45), rgba(248, 242, 231, 0));
  text-align: center;
  transition: background-color .5s var(--ease), border-color .5s var(--ease), transform .7s var(--ease-soft);
}
.drop.is-over { border-color: var(--clay); background-color: rgba(176, 83, 46, .08); transform: scale(1.01); }
.drop__icon { width: 34px; height: 34px; fill: none; stroke: var(--clay); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.drop__title { font: 500 1.35rem/1.2 var(--f-display); color: var(--ink); margin-top: 6px; }
html[lang="ar"] .drop__title { font-weight: 700; font-size: 1.15rem; line-height: 1.5; }
.drop__proto { font-size: .85rem; color: var(--muted); }
.drop.is-note .drop__proto { color: var(--clay-deep); font-weight: 500; }

.samples { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.samples input { position: absolute; opacity: 0; pointer-events: none; }
.samples label {
  position: relative;
  display: grid;
  gap: 2px;
  padding: 12px 14px 12px 40px;
  padding-inline: 40px 14px;
  border-radius: 14px;
  background: rgba(23, 48, 47, .05);
  color: var(--ink);
  font-size: 1rem;
  letter-spacing: 0;
  text-transform: none;
  cursor: pointer;
  transition: background-color .5s var(--ease), color .5s var(--ease), box-shadow .5s var(--ease);
}
.samples label::before {
  /* a little file glyph with a folded corner */
  content: '';
  position: absolute;
  inset-inline-start: 14px;
  top: 14px;
  width: 15px; height: 19px;
  border-radius: 2px;
  background: linear-gradient(225deg, transparent 5px, currentColor 5px);
  opacity: .55;
}
.samples label:hover { background: rgba(23, 48, 47, .09); }
.samples input:checked + label { background: var(--ink); color: var(--bone); box-shadow: 0 12px 24px -18px rgba(12, 37, 39, .8); }
.samples input:checked + label::before { opacity: 1; background: linear-gradient(225deg, transparent 5px, var(--brass-lt) 5px); }
.samples input:focus-visible + label { outline: 2px solid var(--clay-deep); outline-offset: 2px; }
.samples__name { font-weight: 500; font-size: .95rem; line-height: 1.25; }
.samples__file { font-size: .74rem; opacity: .7; direction: ltr; text-align: start; overflow-wrap: anywhere; }

.est {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  min-height: 3.4em;
  padding: 14px 16px;
  border-radius: 14px;
  background: rgba(176, 141, 76, .12);
  box-shadow: inset 0 0 0 1px rgba(176, 141, 76, .3);
  font-size: .95rem;
  line-height: 1.55;
  color: var(--ink);
}
.est__dot { flex: none; width: 10px; height: 10px; margin-top: .45em; border-radius: 50%; background: var(--brass); box-shadow: 0 0 0 4px rgba(176, 141, 76, .22); }
.est.is-reading .est__dot { animation: est-pulse 1s var(--ease) infinite; }
@keyframes est-pulse { 50% { transform: scale(.55); opacity: .5; } }
.est__k { color: var(--muted); }
.est strong { font-weight: 600; }
.est small { display: block; font-size: .8rem; color: var(--muted); }
.link-arrow--down::after { content: '↓'; }
html[dir="rtl"] .link-arrow--down::after { content: '↓'; }
.calc-guide-link { justify-self: start; width: max-content; font-size: .9rem; }

/* =========================================================
   Material guide
   ========================================================= */
.materials { background: var(--grain), var(--bone); }
.mat {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  table-layout: fixed;
}
.mat__corner { width: 22%; }
.mat thead th { padding: 0 clamp(8px, 1.4vw, 18px) 0; vertical-align: bottom; font-weight: inherit; }
.mat__plate {
  max-width: 300px;
  margin-inline: auto;
  position: relative;
  height: clamp(150px, 15vw, 210px);
  display: grid;
  place-items: end center;
  padding-bottom: 22px;
  border-radius: 999px 999px 0 0 / 60% 60% 0 0;
  overflow: hidden;
}
.mat__plate--pla { background: linear-gradient(180deg, #C9744C, #A9512E); color: #FBEBDC; }
.mat__plate--petg { background: linear-gradient(180deg, #3F7C78, #24524F); color: #E5F3EF; }
.mat__name { position: relative; z-index: 1; font: 500 clamp(2.4rem, 1.6rem + 2.4vw, 3.8rem)/1 var(--f-display); letter-spacing: .02em; }
html[lang="ar"] .mat__name { font-family: 'Cormorant Garamond', serif; }
.mat__glyph {
  position: absolute;
  top: 26%;
  left: 50%;
  width: 54px; height: 54px;
  transform: translateX(-50%);
  fill: rgba(255, 255, 255, .14);
  stroke: rgba(255, 255, 255, .55);
  stroke-width: 1.4;
}
.mat__glyph .f1 { fill: rgba(255, 255, 255, .22); stroke: none; }
.mat__glyph .f2 { fill: rgba(0, 0, 0, .14); stroke: none; }
.mat__glyph .gloss { fill: none; stroke: rgba(255, 255, 255, .9); stroke-width: 3; stroke-linecap: round; }
.mat tbody th, .mat tbody td { padding: 20px clamp(12px, 1.6vw, 24px); text-align: start; vertical-align: top; border-top: 1px solid var(--line); }
.mat tbody th {
  padding-inline-start: 0;
  font: 500 .78rem/1.5 var(--f-body);
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--clay-deep);
}
html[lang="ar"] .mat tbody th { letter-spacing: 0; font-size: .95rem; text-transform: none; }
.mat tbody td { font-size: 1rem; line-height: 1.6; color: var(--text); }
.mat tbody td:nth-child(2) { background: rgba(176, 83, 46, .07); }
.mat tbody td:nth-child(3) { background: rgba(47, 100, 97, .08); }
.mat tbody tr:last-child td { padding-bottom: 28px; }
.mat tbody tr:last-child td:nth-child(2), .mat tbody tr:last-child td:nth-child(3) { border-radius: 0 0 18px 18px; }
.mat tbody td + td { border-inline-start: 10px solid var(--bone); }
.mat thead th + th { border-inline-start: 10px solid transparent; }
.mat__lead td { font: italic 400 clamp(1.3rem, 1.1rem + .6vw, 1.65rem)/1.3 var(--f-display) !important; color: var(--ink) !important; padding-top: 24px !important; }
html[lang="ar"] .mat__lead td { font-style: normal !important; font-size: 1.2rem !important; line-height: 1.6 !important; }
.mat__price { font-weight: 600; font-variant-numeric: lining-nums tabular-nums; }
.gauge {
  position: relative;
  display: block;
  height: 6px;
  margin-top: 14px;
  margin-bottom: 18px;
  border-radius: 999px;
  background: rgba(23, 48, 47, .1);
}
.gauge i {
  position: absolute;
  inset-block: 0;
  inset-inline-start: 0;
  width: calc(var(--t) * 100%);
  border-radius: inherit;
  background: linear-gradient(90deg, #E9B865, #C0532A);
}
html[dir="rtl"] .gauge i { background: linear-gradient(270deg, #E9B865, #C0532A); }
.gauge b { position: absolute; top: 10px; font: 500 .7rem/1 var(--f-body); color: var(--muted); }
.gauge b:first-of-type { inset-inline-start: 0; }
.gauge b:last-of-type { inset-inline-end: 0; }

.mat-notes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-top: clamp(28px, 3vw, 44px); }
.mat-note {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 20px 22px;
  border-radius: 18px;
  background: var(--paper);
  box-shadow: inset 0 0 0 1px var(--line);
  color: #4E5753;
}
.mat-note svg { flex: none; width: 30px; height: 30px; fill: none; stroke: var(--clay); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.mat-note strong { color: var(--ink); font-weight: 600; }

/* rules */
.rules__grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(40px, 6vw, 120px); align-items: start; }
.rules__grid .lede { margin-top: 26px; }
.banned { padding: clamp(24px, 3vw, 44px); border-radius: var(--radius); background: var(--paper); box-shadow: inset 0 0 0 1px var(--line); }
.banned h3 { font: 500 .8rem/1.2 var(--f-body); letter-spacing: .2em; text-transform: uppercase; color: var(--clay-deep); }
html[lang="ar"] .banned h3 { letter-spacing: 0; font-size: 1rem; }
.banned ul { margin-top: 14px; }
.banned li { display: flex; align-items: center; gap: 16px; padding-block: 18px; border-bottom: 1px solid var(--line); font: 500 1.5rem/1.2 var(--f-display); }
html[lang="ar"] .banned li { font-weight: 700; font-size: 1.2rem; line-height: 1.5; }
.banned li:last-child { border-bottom: 0; }
.banned li svg { width: 30px; height: 30px; flex: none; color: var(--clay); fill: none; stroke: currentColor; stroke-width: 1.4; stroke-linecap: round; }

.cta-band { background: var(--ink); color: var(--bone); text-align: center; overflow: hidden; }
.cta-band .band__title em { color: var(--brass-lt) !important; }
.cta-band p { margin: 22px auto 0; color: rgba(244, 235, 220, .8); font-size: var(--fs-lede); }
.cta-band .band__ctas { justify-content: center; }
.cta-band .band__lattice { color: var(--brass-lt); opacity: .08; }

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 1240px) {
  .search input { width: 150px; }
  .search input:focus { width: 180px; }
  .nav { gap: 18px; }
}
@media (max-width: 1080px) {
  .nav, .site-header .search { display: none; }
  .menu-btn { display: block; }
  .tools { margin-inline-start: auto; }
  .hero__grid { grid-template-columns: minmax(0, 1fr) minmax(0, .9fr); }
  .arcade { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 28px; }
  .arcade__bay:nth-child(2)::after { display: none; }
  .cards, .more .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cards > :nth-child(4n + 2), .cards > :nth-child(4n + 4) { margin-top: 0; }
  .cards > :nth-child(even) { margin-top: 48px; }
  .collection__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ccard--lantern { grid-column: 1 / -1; grid-row: auto; }
  .ccard--lantern .ccard__plate { aspect-ratio: 5 / 4; border-radius: 999px 999px 0 0 / 50% 50% 0 0; }
  .ccard--nameplate, .ccard--egg { grid-column: auto; }
  .ccard--hex { grid-column: 1 / -1; }
  .band__grid, .sell-hero__grid, .rules__grid, .about__grid { grid-template-columns: minmax(0, 1fr); }
  .astro { justify-self: center; max-width: 520px; }
  .footer__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .footer__brand { grid-column: 1 / -1; }
  .pd__grid { grid-template-columns: minmax(0, 1fr); }
  .buy { position: static; }
  .calc { grid-template-columns: minmax(0, 1fr); }
  .steps__list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps__list li:nth-child(3n + 2), .steps__list li:nth-child(3n + 3) { padding-inline-start: 0; border-inline-start: 0; }
  .steps__list li:nth-child(even) { padding-inline-start: clamp(16px, 2.4vw, 40px); border-inline-start: 1px solid var(--line); }
}
@media (max-width: 760px) {
  :root { --header-h: 72px; }
  .site-header { padding-top: 8px; }
  .site-header__inner { height: 56px; padding-inline: 8px; gap: 8px; width: calc(100% - 16px); }
  .brand__word { font-size: 1.2rem; }
  .brand__mark { width: 24px; height: 30px; }
  .site-header .lang { display: none; }
  .lang-mini { display: inline-block; }
  .hero__grid { grid-template-columns: minmax(0, 1fr); }
  .hero__title .ln:last-child { padding-inline-start: 0; }
  .hero__stage { height: auto; aspect-ratio: 4 / 5; margin-inline: 14px; margin-top: 32px; margin-bottom: 96px; }
  .hero__label { inset-inline: 14px; bottom: -78px; min-width: 0; z-index: 2; }
  .hero__note { margin-top: 32px; font-size: 1.2rem; }
  .hero__dapple { width: 140%; }
  .section-head--split, .section-head--row { grid-template-columns: minmax(0, 1fr); }
  .section-head--split .lede { justify-self: start; }
  .section-head--row .link-arrow { grid-column: 1; grid-row: auto; justify-self: start; }
  .arcade { grid-template-columns: minmax(0, 1fr); }
  .arcade__bay { min-height: 0; padding-top: 110px; }
  .arcade__bay::after { display: none; }
  .collection__grid { grid-template-columns: minmax(0, 1fr); }
  .ccard--egg { margin-top: 0; }
  .ccard--hex { grid-template-columns: minmax(0, 1fr); }
  .cards, .more .cards { gap: 36px 14px; }
  .cards > :nth-child(even) { margin-top: 36px; }
  .card__name { font-size: 1.22rem; }
  .card__seller { font-size: .66rem; letter-spacing: .08em; }
  .card__mat { inset-inline-start: 8px; bottom: 8px; font-size: .6rem; padding: 4px 8px; }
  .card__add { width: 40px; height: 40px; inset-inline-end: 6px; top: calc(125cqw - 46px); }
  .cats__list { grid-template-columns: minmax(0, 1fr); }
  .cat { grid-template-columns: 40px minmax(0, 1fr) auto; column-gap: 14px; }
  .cat__glyph { width: 40px; height: 40px; }
  .cat__arrow { width: 40px; height: 40px; }
  .trust__list { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 36px; }
  .trust__list li { padding-inline: 16px 8px; }
  .trust__list li:nth-child(odd) { border-inline-start: 0; padding-inline-start: 0; }
  .split__legend dd { font-size: 1.5rem; }
  .footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .nos { grid-template-columns: minmax(0, 1fr); }
  .nos li + li { padding-inline-start: 0; border-inline-start: 0; border-top: 1px solid var(--line); }
  .steps__list { grid-template-columns: minmax(0, 1fr); }
  .steps__list li:nth-child(even) { padding-inline-start: 0; border-inline-start: 0; }
  .earn { grid-template-columns: minmax(0, 1fr); }
  .how-note { justify-self: stretch; max-width: none; padding-inline-start: 76px; }
  .how-note__icon { inset-inline-start: 20px; width: 38px; height: 38px; }
  .mat-notes { grid-template-columns: minmax(0, 1fr); }
  .mat, .mat thead, .mat tbody { display: block; }
  .mat tr { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: 8px; }
  .mat__corner { display: none; }
  .mat__plate { height: 116px; padding-bottom: 14px; }
  .mat__glyph { width: 36px; height: 36px; top: 22%; }
  .mat thead th + th { border-inline-start: 0; }
  .mat tbody th { grid-column: 1 / -1; padding: 18px 0 8px; }
  .mat tbody td { border-top: 0; padding: 12px 12px 14px; font-size: .92rem; border-radius: 12px; }
  .mat tbody td + td { border-inline-start: 0; }
  .mat thead th { padding: 0; }
  .mat tbody tr:last-child td:nth-child(2), .mat tbody tr:last-child td:nth-child(3) { border-radius: 12px; }
  .gauge b { display: none; }
  .gauge { margin-bottom: 4px; }
  .viewer { height: 470px; border-radius: 999px 999px 20px 20px / 30% 30% 20px 20px; }
  .viewer__hint span { display: none; }
  .buy__actions { flex-direction: column; }
  .qty { justify-content: space-between; }
  .toast { inset-inline: 16px; text-align: center; }
}
@media (max-width: 400px) {
  .brand__word { font-size: 1.08rem; }
}

/* Reduced motion: no transitions or ambient movement; JS also skips intros, reveals and the lantern loop */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    transition-duration: .01ms !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
  }
  .card:hover .card__art, .ccard:hover .card__art { transform: none; }
}
@media (max-width: 480px) {
  .samples { grid-template-columns: minmax(0, 1fr); }
}

/* ---------- see it in your room (shared module: ../shared/room-view) ---------- */
:root {
  --rv-bg: #F4EBDC;
  --rv-surface: #F8F2E7;
  --rv-text: #17302F;
  --rv-muted: #56625E;
  --rv-line: rgba(23, 48, 47, .16);
  --rv-accent: #123638;
  --rv-accent-text: #F4EBDC;
  --rv-radius: 24px;
  --rv-font: var(--f-body);
  --rv-font-display: var(--f-display);
}
.room-cta { display: grid; gap: 8px; }
.btn--room { width: 100%; justify-content: space-between; }
.room-cta__note { font-size: .82rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); text-align: center; }
html[lang="ar"] .room-cta__note { letter-spacing: 0; text-transform: none; font-size: .9rem; }
