:root {
  color-scheme: light;
  /* Museum Minimal on LOCKED brand tokens — gallery-ivory bone ground,
     Midnight Navy ink, Desert Gold accents (no terracotta). */
  --ivory: #FAF6EE;
  --ivory-deep: #F2EBDD;
  --ivory-panel: #FBF8F1;
  --paper: #FBF8F1;
  --navy: #1A2B4A;
  --navy-soft: rgba(26, 43, 74, 0.75);
  --navy-faint: rgba(26, 43, 74, 0.58);
  --ink-mute: rgba(26, 43, 74, 0.70);
  --gold: #C9A961;
  --gold-text: #8A6A2E;
  --gold-display: #A88B47;
  --hair: #DCD4C2;
  --hair-soft: #E7E1D3;
  --line: rgba(138, 106, 46, 0.28);
  --line-soft: rgba(26, 43, 74, 0.12);
  --on-dark: rgba(250, 246, 238, 0.80);
  --on-dark-soft: rgba(250, 246, 238, 0.62);
  --on-dark-line: rgba(250, 246, 238, 0.14);
  --font-display: "Cormorant Garamond", Georgia, serif;
  --font-ui: "Montserrat", system-ui, sans-serif;
  --font-ar-display: "Reem Kufi", "Tajawal", serif;
  --font-ar: "Tajawal", system-ui, sans-serif;
  --gutter: clamp(20px, 5vw, 72px);
  --maxw: 1320px;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-curtain: cubic-bezier(0.76, 0, 0.24, 1);
}
* { box-sizing: border-box; }
body {
  margin: 0;
  font-family: var(--font-ui);
  font-size: 15px;
  color: var(--navy);
  background: var(--ivory);
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
/* Subtle gallery paper grain — pure CSS, GPU-cheap (option-c body::before),
 * tinted navy/gold instead of indigo/terracotta. */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.5;
  background:
    radial-gradient(circle at 18% 22%, rgba(26,43,74,0.035), transparent 42%),
    radial-gradient(circle at 84% 76%, rgba(201,169,97,0.05), transparent 46%);
}
::selection { background: var(--navy); color: var(--ivory); }
main, header.site, footer.site { position: relative; z-index: 1; }
h1, h2, h3 { font-family: var(--font-display); font-weight: 500; line-height: 1.08; letter-spacing: 0.005em; }
h1 em, h2 em { font-style: italic; font-weight: 500; color: var(--gold-text); }
html[lang="ar"] body { font-family: var(--font-ar); }
html[lang="ar"] h1, html[lang="ar"] h2, html[lang="ar"] h3 { font-family: var(--font-ar-display); }
a { color: inherit; }
svg { max-width: 100%; }
/* ---------- Exhibition micro-label (option-c .label/.idx pattern) ----------
 * Montserrat emulates the preview's mono at the same tiny size / tracking /
 * uppercase — no mono font exists in the brand guideline. */
.label { font-family: var(--font-ui); font-size: 11px; font-weight: 600; letter-spacing: 0.32em;
  text-transform: uppercase; color: var(--ink-mute); display: inline-flex; align-items: center; gap: 12px; }
.label .idx { color: var(--gold); letter-spacing: 0.2em; }
.label::before { content: ""; width: 26px; height: 1px; background: var(--hair); display: inline-block; flex: none; }
html[lang="ar"] .label { letter-spacing: 0.06em; font-family: var(--font-ar); }
/* ---------- Display headings ---------- */
.display { font-family: var(--font-display); font-weight: 500; line-height: 1.02;
  letter-spacing: -0.01em; color: var(--navy); margin: 0; }
.display em { font-style: italic; color: var(--gold-text); font-weight: 500; }
/* Large display surfaces only — lighter gold passes AA at display sizes. */
.home-hero .display em, .cta-band .display em { color: var(--gold-display); }
html[lang="ar"] .display { font-family: var(--font-ar-display); line-height: 1.25; letter-spacing: 0; }
/* SAD-342 I6 — header is a flex row so the lang toggle sits opposite the brand.
 * Museum Minimal: translucent ivory bar over a hairline, quiet lockup. */
header.site { position: sticky; top: 0; z-index: 60; padding: 0 var(--gutter); border-bottom: 1px solid var(--hair-soft);
  background: rgba(250, 246, 238, 0.86); backdrop-filter: saturate(140%) blur(14px);
  -webkit-backdrop-filter: saturate(140%) blur(14px); min-height: 78px;
  display: flex; align-items: center; justify-content: space-between; gap: 16px; }
/* SAD-342 I4 — logical alignment: LTR left-aligned, RTL right-aligned with no override needed. */
header.site .brand a { display: inline-flex; flex-direction: row; align-items: center; gap: 14px; text-decoration: none; }
header.site .brand .frond-mark { width: 30px; height: 39px; flex: none; }
header.site .brand .brand-names { display: inline-flex; flex-direction: column; align-items: start; line-height: 1; gap: 4px; }
header.site .brand .brand-latin { font-family: var(--font-display); font-weight: 600; font-size: 19px;
  letter-spacing: 0.16em; text-transform: uppercase; color: var(--navy); }
header.site .brand .brand-ar { font-family: var(--font-ar-display); font-weight: 500; font-size: 13px;
  letter-spacing: 0.02em; color: var(--gold-text); }
/* SAD-342 I6 — language toggle. 36 px + 16 px (8 × 2) padding gives a ≥44 px tap target.
 * Museum Minimal: hairline pill, letterspaced Montserrat micro-type. */
.lang-toggle { min-height: 36px; padding: 8px 16px; border-radius: 100px; border: 1px solid var(--hair);
  background: transparent; cursor: pointer; font-family: var(--font-ui); font-size: 11.5px; font-weight: 500;
  letter-spacing: 0.14em; color: var(--navy); display: inline-flex; align-items: center; gap: 6px;
  transition: border-color .35s var(--ease-out), background .35s var(--ease-out); }
.lang-toggle:hover { background: var(--ivory-deep); border-color: var(--gold-text); }
.lang-toggle .lt-sep { color: var(--gold); }
.lang-toggle .lt-ar { font-family: var(--font-ar-display); }
html[lang="ar"] .lang-toggle .lt-ar { font-weight: 700; color: var(--gold-text); }
html[lang="en"] .lang-toggle .lt-en, html:not([lang]) .lang-toggle .lt-en { font-weight: 600; color: var(--gold-text); }
main { max-width: var(--maxw); margin: 0 auto; padding: clamp(48px, 7vw, 84px) var(--gutter); }
h1 { font-size: clamp(34px, 4.6vw, 56px); margin: 0 0 16px; }
p.lede { color: var(--navy-soft); max-width: 60ch; margin: 0; font-size: 16px; line-height: 1.7; }
/* Legacy eyebrow rides the .label system (kept for the shop page hook). */
.eyebrow { font-family: var(--font-ui); font-size: 11px; font-weight: 600; letter-spacing: 0.32em;
  text-transform: uppercase; color: var(--ink-mute); margin: 0 0 6px;
  display: inline-flex; align-items: center; gap: 12px; }
.eyebrow::before { content: ""; width: 26px; height: 1px; background: var(--hair); }
.eyebrow .idx { color: var(--gold); letter-spacing: 0.2em; }
html[lang="ar"] .eyebrow { letter-spacing: 0.06em; }
/* ---------- Section scaffold (option-c .sec-head) ---------- */
.sec-head { display: grid; grid-template-columns: auto 1fr auto; align-items: end; gap: 28px;
  padding-bottom: 42px; border-bottom: 1px solid var(--hair); margin-bottom: clamp(36px, 5vw, 64px); }
.sec-head .label, .sec-head .eyebrow { grid-column: 1 / -1; margin: 0; }
.sec-head h2, .sec-head h1 { grid-column: 1 / 2; font-size: clamp(30px, 4.4vw, 52px); margin: 0; }
.sec-head .meta { grid-column: 3 / 4; justify-self: end; text-align: end; max-width: 30ch;
  color: var(--navy-soft); font-size: 14px; line-height: 1.6; margin: 0; }
/* ---------- Buttons (option-c .btn-primary / .btn-text) ---------- */
.btn-primary { position: relative; isolation: isolate; overflow: hidden;
  background: var(--navy); color: var(--ivory); border: 1px solid var(--navy);
  padding: 16px 32px; border-radius: 100px; cursor: pointer; text-decoration: none;
  font-family: var(--font-ui); font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase; font-weight: 600;
  display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-height: 44px;
  transition: transform .5s var(--ease-out), box-shadow .5s var(--ease-out), color .45s var(--ease-out);
  box-shadow: 0 1px 0 rgba(26,43,74,0.05); }
.btn-primary::before { content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(120deg, var(--gold), var(--gold-display));
  transform: translateY(101%); transition: transform .55s var(--ease-curtain); }
.btn-primary:hover, .btn-primary:focus-visible { transform: translateY(-2px); color: var(--navy);
  box-shadow: 0 14px 34px rgba(26,43,74,0.22); }
.btn-primary:hover::before, .btn-primary:focus-visible::before { transform: translateY(0); }
.btn-primary svg { transition: transform .45s var(--ease-out); flex: none; }
.btn-primary:hover svg { transform: translateX(5px); }
html[dir="rtl"] .btn-primary svg { transform: scaleX(-1); }
html[dir="rtl"] .btn-primary:hover svg { transform: scaleX(-1) translateX(5px); }
.btn-text { display: inline-flex; align-items: center; gap: 10px; background: none; border: 0; cursor: pointer;
  font-family: var(--font-ui); font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; font-weight: 600;
  color: var(--navy); padding: 6px 0; position: relative; text-decoration: none; }
.btn-text .underline { position: relative; }
.btn-text .underline::after { content: ""; position: absolute; inset-inline-start: 0; bottom: -3px; height: 1px; width: 100%;
  background: var(--navy); transform: scaleX(0); transform-origin: var(--tx-origin, left);
  transition: transform .45s var(--ease-out); }
html[dir="rtl"] .btn-text .underline::after { --tx-origin: right; }
.btn-text:hover .underline::after, .btn-text:focus-visible .underline::after { transform: scaleX(1); }
/* ---------- Museum artwork frame (option-c .artframe > .mat > .plate) ----------
 * Thin ink frame in navy, wide ivory mat, artwork plate, micro caption,
 * glass-glare sweep on hover. */
.artframe { position: relative; overflow: hidden; background: linear-gradient(160deg, #24365B, #131F38);
  padding: clamp(9px, 1.2vw, 14px); border-radius: 3px;
  box-shadow: 0 1px 2px rgba(26,43,74,0.10), 0 24px 48px -18px rgba(26,43,74,0.42); }
.artframe .mat { background: var(--paper); padding: clamp(14px, 2.2vw, 28px); position: relative; overflow: hidden; }
.artframe .plate { aspect-ratio: 3 / 4; position: relative; overflow: hidden;
  background: linear-gradient(180deg, #FCFAF4, #F4EEE0); }
.artframe .plate svg, .artframe .plate img { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.artframe .plate img { object-fit: cover; }
.artframe .plate .plate-blank { position: absolute; inset: 0; background: linear-gradient(170deg, #F6F0E2, #EFE6D2); }
.artframe .caption { margin-top: clamp(12px, 1.8vw, 18px); display: flex; justify-content: space-between;
  align-items: baseline; gap: 12px; font-family: var(--font-ui); font-size: 9.5px; font-weight: 500;
  letter-spacing: 0.18em; color: var(--ink-mute); text-transform: uppercase; }
.artframe .caption .ttl { color: var(--navy); }
.artframe .glare { position: absolute; inset: 0; pointer-events: none; z-index: 5;
  background: linear-gradient(115deg, transparent 38%, rgba(255,255,255,0.42) 50%, transparent 62%);
  transform: translateX(-130%); mix-blend-mode: screen; }
.artframe-mini { padding: 7px; }
.artframe-mini .mat { padding: 10px; }
/* ---------- Frond halo / graticule motif (decorative, aria-hidden) ---------- */
.frond-halo { position: absolute; z-index: 0; top: 50%; inset-inline-start: 50%;
  width: min(110vh, 920px); height: min(110vh, 920px);
  transform: translate(-50%, -50%); pointer-events: none; opacity: 0.55; }
html[dir="rtl"] .frond-halo { transform: translate(50%, -50%); }
.frond-halo svg { width: 100%; height: 100%; transform-origin: 50% 50%; }
@media (prefers-reduced-motion: no-preference) {
  .frond-halo svg { animation: haloSpin 240s linear infinite; }
}
@keyframes haloSpin { to { transform: rotate(360deg); } }
.grid { display: grid; gap: clamp(22px, 3vw, 38px); grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); margin-top: clamp(32px, 5vw, 52px); }
/* Museum gallery card (option-c .card): numbered micro-label, framed plate
 * with lift + glare, quiet serif foot. */
.card { position: relative; display: flex; flex-direction: column; gap: 18px; isolation: isolate;
  text-decoration: none; color: inherit; }
.card .num { font-family: var(--font-ui); font-size: 10px; font-weight: 600; letter-spacing: 0.24em;
  color: var(--ink-mute); text-transform: uppercase; }
.card .frame-wrap { position: relative; transition: transform .6s var(--ease-out); will-change: transform; }
.card:hover .frame-wrap, .card:focus-within .frame-wrap { transform: translateY(-10px); }
.card:hover .artframe, .card:focus-within .artframe {
  box-shadow: 0 2px 4px rgba(26,43,74,0.12), 0 40px 70px -26px rgba(26,43,74,0.5), 0 0 0 1px rgba(201,169,97,0.16); }
.card:hover .artframe .glare, .card:focus-within .artframe .glare {
  transition: transform 1.1s var(--ease-out); transform: translateX(130%); }
.card .body { display: flex; flex-direction: column; gap: 6px; }
.card h3 { margin: 0; font-family: var(--font-display); font-size: 23px; font-weight: 600; line-height: 1.1; }
html[lang="ar"] .card h3 { font-size: 20px; font-family: var(--font-ar-display); }
.card p { margin: 0; color: var(--navy-soft); font-size: 13px; line-height: 1.55; }
.card .price { margin: 6px 0 0; font-family: var(--font-ui); font-weight: 600; font-size: 11px;
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold-text); }
.card .view { display: inline-flex; align-items: center; gap: 8px; margin-top: 4px; font-size: 11px;
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--navy); font-weight: 600; }
.card .view svg { transition: transform .4s var(--ease-out); }
.card:hover .view svg, .card:focus-within .view svg { transform: translateX(5px); }
html[dir="rtl"] .card .view svg { transform: scaleX(-1); }
html[dir="rtl"] .card:hover .view svg { transform: scaleX(-1) translateX(5px); }
/* Runtime-only card for an admin-added product whose static PDP shell is
 * not built yet — non-link, dimmed art, "Coming to the gallery soon". */
.card.card-soon { cursor: default; }
.card.card-soon:hover .frame-wrap { transform: none; }
.card.card-soon:hover .artframe { box-shadow: 0 1px 2px rgba(26,43,74,0.10), 0 24px 48px -18px rgba(26,43,74,0.42); }
.card.card-soon:hover .artframe .glare { transform: translateX(-130%); }
.card.card-soon .plate { opacity: 0.6; }
.card.card-soon .soon-pill { display: inline-block; margin-top: 8px; padding: 5px 14px; align-self: start;
  border: 1px solid var(--hair); border-radius: 100px; font-size: 10px; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--gold-text); }
/* ---------- PDP — option-c two-column: sticky artframe left, dossier right. */
.pdp { display: grid; grid-template-columns: 1.02fr 0.98fr; gap: clamp(40px, 6vw, 88px); align-items: start; }
.pdp .pdp-stage { position: sticky; top: 110px; }
.pdp .pdp-stage .artframe { max-width: 520px; margin-inline: auto; }
.pdp h1 { margin: 14px 0 0; font-size: clamp(34px, 4vw, 52px); }
/* SAD-352 — locked PDP subtitle node, CEO lock SAD-208. Exhibition micro-label. */
.pdp p.pdp-subtitle { font-family: var(--font-ui); font-size: 11px; font-weight: 600; text-transform: uppercase;
  letter-spacing: 0.26em; color: var(--gold-text); margin: 10px 0 0; }
html[lang="ar"] .pdp p.pdp-subtitle { letter-spacing: 0.04em; }
.pdp p.desc { color: var(--navy-soft); margin: 18px 0 0; max-width: 52ch; line-height: 1.7; }
/* Quiet spec line — replaces the V1 material toggle (metal is V2). */
.pdp .spec-line { margin: 14px 0 0; padding-top: 14px; border-top: 1px solid var(--hair-soft);
  font-family: var(--font-ui); font-size: 11px; font-weight: 500; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--ink-mute); }
html[lang="ar"] .pdp .spec-line { letter-spacing: 0.04em; }
.choice-group { margin-top: 30px; }
.choice-group h4 { font-family: var(--font-ui); font-size: 11px; text-transform: uppercase;
  letter-spacing: 0.26em; color: var(--ink-mute); font-weight: 600; margin: 0 0 12px;
  display: inline-flex; align-items: center; gap: 12px; }
.choice-group h4::before { content: ""; width: 26px; height: 1px; background: var(--hair); }
html[lang="ar"] .choice-group h4 { letter-spacing: 0.04em; }
.choice-row { display: flex; flex-wrap: wrap; gap: 8px; }
.choice-row button { padding: 12px 20px; min-height: 44px; border-radius: 100px; border: 1px solid var(--hair);
  background: transparent; cursor: pointer; font-family: var(--font-ui); font-size: 13px; font-weight: 500;
  color: var(--navy); transition: border-color .35s var(--ease-out), background .35s var(--ease-out), color .35s var(--ease-out); }
.choice-row button:hover:not([disabled]):not([aria-pressed="true"]) { border-color: var(--gold-text); }
.choice-row button[aria-pressed="true"] { background: var(--navy); color: var(--ivory); border-color: var(--navy); }
.choice-row button[disabled] { color: var(--navy-faint); background: var(--ivory-deep); border-style: dashed; cursor: not-allowed; }
/* SAD-342 I4 — logical inline-start replaces direction-locked margin-left so AR mirrors automatically. */
.choice-row button .dim { color: var(--navy-faint); font-weight: 400; margin-inline-start: 4px; }
.choice-row button[aria-pressed="true"] .dim { color: var(--gold); }
.choice-row button .soon { display: inline-block; margin-inline-start: 6px; font-size: 10px; text-transform: uppercase; letter-spacing: 0.16em; color: var(--gold-text); }
/* Summary — quiet hairline block, museum register (no boxed panel). */
.summary { margin-top: 34px; padding-top: 24px; border-top: 1px solid var(--hair); }
.summary .total-label { font-family: var(--font-ui); font-size: 11px; font-weight: 600; letter-spacing: 0.26em; text-transform: uppercase; color: var(--ink-mute); }
html[lang="ar"] .summary .total-label { letter-spacing: 0.04em; }
.summary .total { font-family: var(--font-display); font-size: 42px; font-weight: 600; letter-spacing: 0; margin: 4px 0 0; color: var(--navy); }
.summary .hint { font-size: 12px; color: var(--navy-faint); margin-top: 12px; }
.summary .actions { margin-top: 20px; display: flex; gap: 8px; flex-direction: column; align-items: stretch; }
.summary button.primary { position: relative; isolation: isolate; overflow: hidden;
  background: var(--navy); color: var(--ivory); border: 1px solid var(--navy);
  border-radius: 100px; padding: 16px 24px; font-family: var(--font-ui); font-size: 12px; font-weight: 600;
  letter-spacing: 0.18em; text-transform: uppercase; cursor: pointer; min-height: 52px;
  transition: color .45s var(--ease-out), box-shadow .5s var(--ease-out), transform .5s var(--ease-out); }
.summary button.primary::before { content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(120deg, var(--gold), var(--gold-display));
  transform: translateY(101%); transition: transform .55s var(--ease-curtain); }
.summary button.primary:hover:not(:disabled), .summary button.primary:focus-visible:not(:disabled) {
  color: var(--navy); transform: translateY(-2px); box-shadow: 0 14px 34px rgba(26,43,74,0.22); }
.summary button.primary:hover:not(:disabled)::before, .summary button.primary:focus-visible:not(:disabled)::before { transform: translateY(0); }
.summary button.primary:disabled { opacity: 0.5; cursor: not-allowed; }
.summary .err { color: #9d2235; font-size: 13px; margin-top: 12px; min-height: 18px; }
/* Breadcrumb as exhibition micro-label (SHOP · DUBAI SKYLINE). */
nav.crumb { font-family: var(--font-ui); font-size: 11px; font-weight: 600; letter-spacing: 0.24em;
  text-transform: uppercase; color: var(--ink-mute); margin: 0;
  display: inline-flex; align-items: center; gap: 10px; }
nav.crumb::before { content: ""; width: 26px; height: 1px; background: var(--hair); flex: none; }
nav.crumb a { text-decoration: none; color: var(--gold-text); padding-bottom: 2px; border-bottom: 1px solid transparent;
  transition: border-color .35s var(--ease-out); }
nav.crumb a:hover { border-color: var(--gold-text); }
html[lang="ar"] nav.crumb { letter-spacing: 0.04em; }
/* Order-success — quiet gallery card. */
.success { max-width: 520px; margin: clamp(40px, 8vw, 96px) auto; text-align: center; }
.success .success-art { width: 132px; margin: 0 auto 28px; }
.success .check { width: 52px; height: 52px; border-radius: 50%; background: var(--navy); color: var(--gold); display: inline-flex; align-items: center; justify-content: center; }
.success p { color: var(--navy-soft); margin: 12px 0 0; }
.success .ref { font-family: var(--font-ui); font-size: 11px; letter-spacing: 0.06em; color: var(--navy-faint); word-break: break-all; margin-top: 16px; }
.success a.back { display: inline-flex; align-items: center; gap: 10px; margin-top: 28px; padding: 13px 26px; border: 1px solid var(--navy); border-radius: 100px;
  text-decoration: none; font-family: var(--font-ui); font-size: 12px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--navy);
  transition: border-color .35s var(--ease-out), background .35s var(--ease-out), color .35s var(--ease-out); }
.success a.back:hover { background: var(--navy); color: var(--ivory); }
/* Trust strip — three hairline cells with numbered micro-labels. */
.trust-strip { margin-top: 36px; display: flex; flex-direction: column; gap: 0; }
.trust-strip .trust-item { display: flex; flex-direction: column; gap: 10px; border-top: 1px solid var(--hair); padding: 16px 0 14px; }
.trust-strip .t-idx { font-family: var(--font-ui); font-size: 10px; font-weight: 600; letter-spacing: 0.24em; color: var(--gold); }
.trust-strip .trust-body { font-size: 12px; color: var(--navy-soft); line-height: 1.5; }
.trust-strip .trust-body strong { display: block; color: var(--navy); font-weight: 600; margin-bottom: 2px; }
/* SAD-342 I4 — removed RTL row-reverse rule; cells stay in source order so AR mirrors via grid direction. */
/* SAD-342 I5 — 3-up trust strip at ≥720, single column below. */
@media (min-width: 721px) {
  .trust-strip { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
}

/* SAD-346 — focus-visible outlines for keyboard a11y. Gold rings per the
 * brand guideline (#8A6A2E — AA on ivory; light gold on the navy footer). */
a:focus-visible, button:focus-visible, summary:focus-visible, input:focus-visible {
  outline: 2px solid var(--gold-text);
  outline-offset: 3px;
  border-radius: 2px;
}
footer.site a:focus-visible { outline-color: var(--gold); }
.summary button.primary:focus-visible { outline-color: var(--gold-text); outline-offset: 3px; }

/* SAD-346 — skeleton shimmer for PDP total before JS hydrates. */
.skeleton { display: inline-block; width: 140px; height: 34px; border-radius: 4px;
  background: linear-gradient(90deg, #EDE5D4 0%, #F7F2E7 50%, #EDE5D4 100%);
  background-size: 200% 100%; animation: shimmer 1.4s ease-in-out infinite;
  vertical-align: middle; }
@keyframes shimmer { 0% { background-position: 200% 0; } 100% { background-position: -200% 0; } }

/* SAD-346 — card lift disabled under reduced motion (lift itself is defined
 * on .card above). */
@media (prefers-reduced-motion: reduce) {
  .card { transition: none; }
  .card:hover { transform: none; }
  .skeleton { animation: none; }
}

/* SAD-342 I7 — homepage, Museum Minimal rhythm: 01 hero + artframe
 * set-piece over the frond halo, 02 featured gallery, craft strip, CTA band. */
.home-hero { position: relative; padding: clamp(28px, 5vw, 64px) 0 clamp(48px, 7vw, 96px); overflow: visible; }
.home-hero .hero-grid { position: relative; z-index: 2; display: grid; grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(32px, 6vw, 90px); align-items: center; }
.home-hero h1 { margin: 22px 0 0; font-size: clamp(40px, 5.6vw, 78px); max-width: 14ch; }
.home-hero .sub-hed { font-family: var(--font-ar-display); font-size: clamp(19px, 2.4vw, 26px); color: var(--gold-text); margin: 18px 0 0; }
.home-hero .lede { margin-top: 16px; }
.home-hero .hero-actions { display: flex; align-items: center; gap: 26px; margin-top: 40px; flex-wrap: wrap; }
.home-hero .hero-stage { position: relative; z-index: 2; display: flex; align-items: center; justify-content: center; }
.home-hero .hero-stage .artframe { width: clamp(240px, 30vw, 380px); }
/* Craft strip — quiet hairline cells (existing trust/i18n content, museum
 * .feat treatment: hairline top, numbered micro-label, serif heading). */
.reassure-row { margin-top: clamp(56px, 9vw, 120px); display: grid; gap: clamp(20px, 3vw, 40px);
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); padding: 0; }
.reassure-row .vp { display: flex; flex-direction: column; gap: 8px; border-top: 1px solid var(--hair); padding-top: 24px; }
.reassure-row .vp-eyebrow { font-family: var(--font-ui); font-size: 10px; text-transform: uppercase; letter-spacing: 0.26em; color: var(--gold-text); font-weight: 600; }
html[lang="ar"] .reassure-row .vp-eyebrow { letter-spacing: 0.04em; }
.reassure-row .vp h3 { margin: 4px 0 0; font-family: var(--font-display); font-size: 22px; font-weight: 600; color: var(--navy); letter-spacing: 0; }
.reassure-row .vp p { margin: 0; font-size: 13px; color: var(--navy-soft); line-height: 1.65; }
.featured-section { margin-top: clamp(64px, 10vw, 140px); }
/* CTA band — option-c "Hang the place that made you." with Arabic echo. */
.cta-band { margin-top: clamp(72px, 11vw, 150px); text-align: center; }
.cta-band .label { justify-content: center; }
.cta-band h2 { font-size: clamp(36px, 6vw, 72px); max-width: 16ch; margin: 26px auto 0; }
.cta-band .ar { display: block; font-family: var(--font-ar-display); direction: rtl;
  color: var(--gold-display); font-size: clamp(20px, 3vw, 34px); margin-top: 18px; font-style: normal; }
html[lang="ar"] .cta-band .ar { display: none; }
.cta-band .actions { margin-top: 44px; display: flex; justify-content: center; gap: 22px; flex-wrap: wrap; }

/* SAD-350 I9 — 3-column footer, Museum Minimal: navy gallery wall, quiet
 * columns, micro-label headings, hairline base row. Brand column leads with
 * AR per plan §J ("brand lockup — AR primary, Latin secondary").
 * Conditional UAE licence row sits in the base row and only renders when
 * UAE_LICENCE_NUMBER is defined at build time. */
footer.site { margin-top: clamp(72px, 11vw, 150px); padding: clamp(56px, 8vw, 96px) var(--gutter) 40px;
  border-top: 1px solid var(--hair);
  background: var(--navy); color: var(--on-dark-soft); font-size: 13px; }
footer.site .footer-inner { max-width: var(--maxw); margin: 0 auto;
  display: grid; gap: 40px; grid-template-columns: 1.4fr 1fr 1fr; }
footer.site .footer-col { display: flex; flex-direction: column; gap: 8px; }
footer.site .footer-col h4 { font-family: var(--font-ui); font-size: 10.5px; text-transform: uppercase; letter-spacing: 0.22em;
  color: var(--gold); font-weight: 600; margin: 4px 0 14px; }
html[lang="ar"] footer.site .footer-col h4 { letter-spacing: 0.04em; }
footer.site .footer-frond { width: 34px; height: 44px; margin-bottom: 18px; }
footer.site .footer-brand-lockup { display: inline-flex; flex-direction: column; line-height: 1.1; gap: 4px;
  align-items: start; text-decoration: none; }
footer.site .footer-brand-lockup .brand-ar { font-family: var(--font-ar-display);
  font-weight: 600; color: var(--gold); font-size: 19px; }
footer.site .footer-brand-lockup .brand-latin { font-family: var(--font-display);
  font-weight: 600; color: var(--ivory); font-size: 14px; letter-spacing: 0.16em; text-transform: uppercase; }
footer.site .footer-tagline { color: var(--on-dark-soft); font-size: 13px; line-height: 1.65; margin: 14px 0 0; max-width: 34ch; }
footer.site nav.footer-nav { display: flex; flex-direction: column; gap: 4px; }
footer.site nav.footer-nav a { color: var(--on-dark); text-decoration: none; padding: 6px 0; min-height: 22px;
  transition: color .35s var(--ease-out), transform .35s var(--ease-out); }
footer.site nav.footer-nav a:hover { color: var(--gold); transform: translateX(4px); }
html[dir="rtl"] footer.site nav.footer-nav a:hover { transform: translateX(-4px); }
footer.site .footer-base { max-width: var(--maxw); margin: clamp(40px, 6vw, 72px) auto 0; padding-top: 26px;
  border-top: 1px solid var(--on-dark-line); display: flex; justify-content: space-between; align-items: center;
  gap: 18px; flex-wrap: wrap; font-family: var(--font-ui); font-size: 11px; letter-spacing: 0.08em; color: var(--on-dark-soft); }
footer.site .footer-fine { color: var(--on-dark-soft); font-size: 11px; line-height: 1.6;
  display: flex; gap: 18px; flex-wrap: wrap; align-items: baseline; }
footer.site .footer-fine p { margin: 0; }
/* SAD-350 / L3 — show the licence row for the active locale only. Default
 * (no lang attr / lang="en") shows EN; lang="ar" shows AR. */
footer.site .footer-licence-ar { display: none; }
html[lang="ar"] footer.site .footer-licence-en { display: none; }
html[lang="ar"] footer.site .footer-licence-ar { display: block; }
@media (max-width: 720px) {
  footer.site .footer-inner { grid-template-columns: 1fr; gap: 24px; }
}

/* SAD-350 I10 — collapsible PDP details. Native <details>; zero JS. */
.details-stack { margin-top: 28px; border-top: 1px solid var(--line); }
.details-stack details { border-bottom: 1px solid var(--line-soft); padding: 14px 0; }
.details-stack summary { cursor: pointer; font-weight: 600; font-size: 13px; letter-spacing: 0.04em; color: var(--navy);
  list-style: none; padding: 4px 0; min-height: 32px; display: flex; align-items: center;
  justify-content: space-between; gap: 12px; }
.details-stack summary::-webkit-details-marker { display: none; }
.details-stack summary::after { content: "+"; font-weight: 400; font-size: 18px; color: var(--gold-text);
  line-height: 1; transition: transform .15s ease; }
.details-stack details[open] summary::after { content: "−"; }
.details-stack .details-body { padding: 10px 0 6px; font-size: 13px; color: var(--navy-soft); line-height: 1.6; }
.details-stack .details-body p { margin: 0 0 8px; }
.details-stack .details-body p:last-child { margin-bottom: 0; }
.details-stack .details-body ul { margin: 0; padding-inline-start: 20px; }
.details-stack .details-body li { margin-bottom: 4px; }

/* SAD-350 I13 — notify-me inline form. Anchored to the Metal "Coming soon"
 * affordance: when the customer taps Metal, the form unhides below the
 * material row. */
.notify-row { margin-top: 14px; padding: 14px; background: var(--ivory-deep); border: 1px solid var(--line);
  border-radius: 2px; display: none; }
.notify-row.is-open { display: block; }
.notify-row p.notify-lede { margin: 0 0 10px; font-size: 13px; color: var(--navy-soft); line-height: 1.45; }
.notify-row form { display: flex; gap: 8px; flex-wrap: wrap; }
.notify-row input[type="email"] { flex: 1 1 220px; min-height: 44px; padding: 10px 16px;
  border-radius: 999px; border: 1px solid var(--line); background: var(--ivory-panel); font: inherit; font-size: 14px; color: var(--navy); }
.notify-row input[type="email"]:focus-visible { outline: 2px solid var(--navy); outline-offset: 1px; }
.notify-row button { min-height: 44px; padding: 10px 20px; border-radius: 999px; border: 1px solid var(--navy);
  background: var(--navy); color: var(--ivory); font-family: var(--font-ui); font-size: 12px; font-weight: 600;
  letter-spacing: 0.14em; text-transform: uppercase; cursor: pointer; }
.notify-row button:disabled { opacity: 0.5; cursor: not-allowed; }
.notify-row .notify-msg { margin: 10px 0 0; font-size: 13px; min-height: 18px; }
.notify-row .notify-msg.is-ok { color: #2C6E49; }
.notify-row .notify-msg.is-err { color: #9d2235; }

/* Store-admin layer — discount-code input inside the summary panel. Styled
 * to match the notify-me form controls (same radii, heights, focus ring). */
.promo-row { display: flex; gap: 8px; flex-wrap: wrap; margin: 14px 0 0; }
.promo-row input[type="text"] { flex: 1 1 160px; min-height: 44px; padding: 10px 16px;
  border-radius: 999px; border: 1px solid var(--line); background: var(--ivory); font: inherit; font-size: 13px;
  letter-spacing: 0.08em; color: var(--navy); text-transform: uppercase; }
.promo-row input[type="text"]::placeholder { text-transform: none; letter-spacing: 0; color: var(--navy-faint); }
.promo-row input[type="text"]:focus-visible { outline: 2px solid var(--navy); outline-offset: 1px; }
.promo-row button { min-height: 44px; padding: 10px 20px; border-radius: 999px;
  border: 1px solid var(--navy); background: transparent; color: var(--navy); font-family: var(--font-ui); font-size: 12px;
  font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; cursor: pointer;
  transition: background .35s var(--ease-out), color .35s var(--ease-out); }
.promo-row button:hover:not(:disabled) { background: var(--navy); color: var(--ivory); }
.promo-row button:disabled { opacity: 0.5; cursor: not-allowed; }
.promo-msg { margin: 8px 0 0; font-size: 13px; min-height: 0; }
.promo-msg.is-ok { color: #2C6E49; }
.promo-msg.is-err { color: #9d2235; }
.promo-line { display: flex; justify-content: space-between; margin-top: 8px;
  font-size: 14px; color: #2C6E49; }
.promo-line[hidden] { display: none; }

/* SAD-350 I14 — pure-CSS spinner inside Buy-now (and the sticky CTA). The
 * keyframes ride alongside the SAD-346 skeleton @keyframes shimmer; reduced
 * motion is honoured below. */
.spinner { display: inline-block; width: 14px; height: 14px; border-radius: 50%;
  border: 2px solid currentColor; border-right-color: transparent;
  animation: spin .7s linear infinite; vertical-align: -2px; margin-inline-end: 8px; }
@keyframes spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .spinner { animation: none; } }

/* SAD-350 I15 — size-vs-sofa accordion. Placeholder silhouette ships until
 * UXDesigner's calibrated SVG lands (tracked as a child blocker). */
.size-sofa { margin-top: 14px; }
.size-sofa summary { font-weight: 500; font-size: 14px; cursor: pointer; padding: 6px 0; min-height: 32px;
  display: flex; align-items: center; gap: 8px; }
.size-sofa summary::-webkit-details-marker { display: none; }
.size-sofa summary::after { content: "+"; font-weight: 400; font-size: 18px; color: var(--gold-text);
  margin-inline-start: auto; line-height: 1; }
.size-sofa[open] summary::after { content: "−"; }
.size-sofa .sofa-body { margin-top: 8px; padding: 14px; background: var(--ivory-deep); border: 1px solid var(--line-soft);
  border-radius: 2px; }
.size-sofa svg { display: block; width: 100%; height: auto; max-height: 180px; }
.size-sofa .sofa-caption { margin: 8px 0 0; font-size: 12px; color: var(--navy-faint); line-height: 1.5; }

/* SAD-346 — friendlier PDP error state. */
.summary .err { display: flex; align-items: flex-start; gap: 8px; padding: 0; }
.summary .err:empty { display: none; }
.summary .err::before { content: ""; }
.summary .err.has-msg { padding: 10px 12px; background: #FBEFEA; border: 1px solid rgba(157,34,53,0.3); border-radius: 2px; }

/* SAD-346 — visually hidden helper for screen readers. */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

/* SAD-342 I11 — order-success v2: 3-step timeline. */
.success .timeline { margin: 24px 0 0; padding: 0; list-style: none; display: grid; gap: 12px; text-align: start; }
.success .timeline li { display: flex; gap: 12px; align-items: flex-start; padding: 12px;
  background: var(--ivory-deep); border: 1px solid var(--line-soft); border-radius: 2px; font-size: 13px; color: var(--navy-soft); line-height: 1.45; }
.success .timeline li > span:first-child { flex: 0 0 24px; height: 24px; border-radius: 50%; background: var(--navy);
  color: var(--gold); font-size: 12px; font-weight: 600; display: inline-flex; align-items: center; justify-content: center; }
.success .timeline li > span:last-child { flex: 1 1 auto; min-width: 0; }

/* SAD-342 I1 — sticky mobile CTA. Only visible <720; main gets bottom padding so content clears the bar. */
@media (max-width: 720px) {
  .pdp-sticky-cta { position: fixed; bottom: 0; left: 0; right: 0; background: rgba(250,246,238,0.96);
    backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
    border-top: 1px solid var(--line); padding: 12px 16px env(safe-area-inset-bottom);
    display: grid; grid-template-columns: 1fr 1fr auto; gap: 12px; align-items: center;
    z-index: 50; box-shadow: 0 -8px 16px rgba(26,43,74,.06); }
  .pdp-sticky-cta .sb-size { font-size: 12px; color: var(--navy-faint); }
  .pdp-sticky-cta .sb-price { font-family: var(--font-display); font-size: 18px; font-weight: 600; color: var(--navy); text-align: end; }
  .pdp-sticky-cta button { min-height: 44px; padding: 0 20px; border-radius: 999px;
    background: var(--navy); color: var(--ivory); border: none; font-family: var(--font-ui); font-weight: 600;
    font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; cursor: pointer; }
  .pdp-sticky-cta button:disabled { opacity: 0.5; cursor: not-allowed; }
  /* clear sticky bar */
  body main { padding-bottom: 96px; }
}
@media (min-width: 721px) { .pdp-sticky-cta { display: none; } }

/* Quiet notify-me trigger (metal waitlist) — btn-text register. */
.notify-trigger { display: inline-flex; align-items: center; gap: 10px; margin-top: 26px; background: none; border: 0;
  cursor: pointer; padding: 6px 0; font-family: var(--font-ui); font-size: 11px; font-weight: 600;
  letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold-text); }
.notify-trigger::before { content: ""; width: 26px; height: 1px; background: var(--hair); flex: none; }
.notify-trigger .underline { position: relative; }
.notify-trigger .underline::after { content: ""; position: absolute; inset-inline-start: 0; bottom: -3px; height: 1px;
  width: 100%; background: var(--gold-text); transform: scaleX(0); transform-origin: var(--tx-origin, left);
  transition: transform .45s var(--ease-out); }
html[dir="rtl"] .notify-trigger .underline::after { --tx-origin: right; }
.notify-trigger:hover .underline::after, .notify-trigger:focus-visible .underline::after { transform: scaleX(1); }
html[lang="ar"] .notify-trigger { letter-spacing: 0.04em; }

/* SAD-346 — responsive tightening (Museum Minimal breakpoints). */
@media (max-width: 960px) {
  .home-hero .hero-grid { grid-template-columns: 1fr; gap: 44px; }
  .home-hero .hero-stage { order: -1; }
  .home-hero .hero-stage .artframe { width: clamp(220px, 56vw, 320px); }
  .frond-halo { width: min(120vw, 640px); height: min(120vw, 640px); }
  .sec-head { grid-template-columns: 1fr; gap: 18px; }
  .sec-head .meta { grid-column: 1; justify-self: start; text-align: start; }
  .pdp { grid-template-columns: 1fr; gap: 36px; }
  .pdp .pdp-stage { position: static; }
}
@media (max-width: 720px) {
  .summary .total { font-size: 30px; }
  .grid { gap: 28px; margin-top: 28px; }
  h1 { font-size: clamp(28px, 8vw, 38px); }
  .home-hero .hero-actions .btn-primary { flex: 1 1 auto; }
  footer.site .footer-inner { grid-template-columns: 1fr; gap: 28px; }
}
@media (max-width: 420px) {
  .choice-row button { padding: 12px 14px; font-size: 13px; }
}

/* Reduced motion — settled fallback for every transition / sweep / spin
 * (option-c pattern; spinner + skeleton already opt out above). */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important; scroll-behavior: auto !important; }
  .artframe .glare { display: none; }
  .card:hover .frame-wrap, .card:focus-within .frame-wrap { transform: none; }
  .btn-primary:hover, .btn-primary:focus-visible,
  .summary button.primary:hover:not(:disabled), .summary button.primary:focus-visible:not(:disabled) { transform: none; }
  .frond-halo svg { animation: none; }
}
