/* ==========================================================================
   SALEHABAD ONLINE - brand system
   Built from BrandKit01.md + BrandKit01.png
   Metaphor: "the lid is the arch"

   SHAPE LOCK       buttons + chips = pill (999px), cards + media = 14px, inputs = 12px
   COLOR LOCK       only the four brand hexes. Everything else is a tint/shade.
   THEME            light (ivory) base page with deliberate charcoal colour blocks
                    (hero, heritage, footer). Full dark-mode variant below.
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. TOKENS
   -------------------------------------------------------------------------- */
:root {
  /* brand, exact, from BrandKit01 */
  --ink:        #1C1A18;
  --saffron:    #E0A030;
  --turquoise:  #2E8F8A;
  --ivory:      #F2EBDF;

  /* derived surfaces - shades of the four, no new hues */
  --ink-raised: #262320;
  --ivory-warm: #EAE1D2;
  --ivory-deep: #DED3C0;

  /* accessible variants.
     #2E8F8A on ivory is 3.4:1 and fails AA for body text, so small text on
     light surfaces uses the darkened same-hue variant instead. */
  --turquoise-deep: #256E6A;
  --saffron-deep:   #A9701A;

  /* semantic */
  --surface:        var(--ivory);
  --surface-2:      var(--ivory-warm);
  --surface-dark:   var(--ink);
  --text:           var(--ink);
  --text-muted:     #5C544B;
  --text-on-dark:   var(--ivory);
  --text-on-dark-muted: #A79D8E;
  --hairline:       rgb(28 26 24 / .12);
  --hairline-dark:  rgb(242 235 223 / .14);

  --r-pill:  999px;
  --r-card:  14px;
  --r-input: 12px;

  --gutter: clamp(1.25rem, 4vw, 3.5rem);
  --section-y: clamp(3.5rem, 6vw, 5.5rem);
  --maxw: 1400px;

  --ease: cubic-bezier(.16, 1, .3, 1);

  /* documented z-scale, nothing freelances */
  --z-grain: 60;
  --z-drawer: 55;
  --z-header: 50;

  color-scheme: light;
}

/* Whole page deepens together. Charcoal blocks stay charcoal, ivory surfaces
   become charcoal, accent is unchanged so the brand stays recognisable. */
@media (prefers-color-scheme: dark) {
  :root {
    --surface:      #141210;
    --surface-2:    #1C1A18;
    --text:         var(--ivory);
    --text-muted:   #A79D8E;
    --hairline:     rgb(242 235 223 / .12);
    --ivory-warm:   #1C1A18;
    --ivory-deep:   #262320;
    --turquoise-deep: #47ABA5;
    --saffron-deep:   #E0A030;
    color-scheme: dark;
  }
}

/* --------------------------------------------------------------------------
   2. RESET + BASE
   -------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  font-family: Vazirmatn, ui-sans-serif, system-ui, "Segoe UI", sans-serif;
  background: var(--surface);
  color: var(--text);
  line-height: 1.7;
  font-size: 15px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}

/* Author display rules beat the UA [hidden] rule regardless of specificity,
   so any component with an explicit display (.chip is inline-flex) would
   stay visible when the mode switch hides it. This puts [hidden] back on top. */
[hidden] { display: none !important; }

img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
button, input, select, textarea { font: inherit; color: inherit; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; padding: 0; }
s { text-decoration-thickness: 1px; }

:focus-visible { outline: 2px solid var(--saffron); outline-offset: 3px; border-radius: 4px; }

.skip-link {
  position: absolute; inset-inline-start: 1rem; top: -100px;
  background: var(--saffron); color: var(--ink);
  padding: .75rem 1.25rem; border-radius: var(--r-pill);
  font-weight: 700; z-index: 999; transition: top .2s var(--ease);
}
.skip-link:focus { top: 1rem; }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0;
  margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap;
}

/* NOTE on paper grain.
   The brief asks for subtle paper grain. Three implementations were measured
   here and all three stall paint on a page this tall: a fixed full-viewport
   feTurbulence overlay, the same noise tiled as a body background, and a
   hairline repeating-gradient body background. Any page-wide texture layer
   costs a rasterisation pass across the whole 6000px document.
   The warmth is carried by the tonal surfaces instead (--ivory / --ivory-warm
   / --ivory-deep and the .media grounds). If real grain is wanted later, put
   it on individual section boxes, never on body or a fixed overlay. */
.grain { display: none; }

/* --------------------------------------------------------------------------
   3. LAYOUT PRIMITIVES
   -------------------------------------------------------------------------- */
.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--section-y); }
.section--dark { background: var(--surface-dark); color: var(--text-on-dark); }
.section--warm { background: var(--surface-2); }
.section--tight { padding-block: clamp(3rem, 6vw, 5rem); }

.section-head { margin-bottom: clamp(2rem, 4vw, 3.5rem); }
.section-head h2 {
  font-size: clamp(1.75rem, 3.6vw, 2.9rem);
  line-height: 1.25; font-weight: 700; letter-spacing: -.02em; max-width: 22ch;
}
.section-head p { margin-top: .85rem; color: var(--text-muted); max-width: 52ch; font-size: 1rem; }
.section--dark .section-head p { color: var(--text-on-dark-muted); }

.head-row { display: flex; flex-wrap: wrap; gap: 1.25rem; align-items: flex-end; justify-content: space-between; }

.eyebrow {
  display: inline-block; font-size: .72rem; font-weight: 700;
  letter-spacing: .22em; text-transform: uppercase;
  color: var(--saffron-deep); margin-bottom: 1rem;
}
.section--dark .eyebrow { color: var(--saffron); }

/* --------------------------------------------------------------------------
   4. LOGO
   Reproduced from BrandKit01: wide domed lid, flat lift-tab knob, clear base
   line, two-step stacked-container negative space. Never redrawn.
   -------------------------------------------------------------------------- */
.mark { width: 3.25rem; height: auto; color: var(--saffron); }

.wordmark { display: flex; align-items: center; gap: .85rem; }
.wordmark__type { display: grid; gap: .12rem; line-height: 1; }
.wordmark__name { font-size: .98rem; font-weight: 700; letter-spacing: .26em; text-transform: uppercase; }
.wordmark__sub {
  font-size: .58rem; font-weight: 500; letter-spacing: .42em;
  text-transform: uppercase; color: var(--saffron-deep);
}
.section--dark .wordmark__sub, .site-header--dark .wordmark__sub { color: var(--saffron); }

/* --------------------------------------------------------------------------
   5. BUTTONS + CHIPS
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: .55rem; white-space: nowrap;
  padding: .85rem 1.75rem; border-radius: var(--r-pill);
  font-weight: 700; font-size: .95rem;
  border: 1.5px solid transparent; cursor: pointer;
  transition: transform .18s var(--ease), background-color .18s var(--ease),
              border-color .18s var(--ease), color .18s var(--ease);
}
.btn i { font-size: 1.15em; }
.btn:active { transform: translateY(1px) scale(.985); }

.btn--primary { background: var(--saffron); color: var(--ink); }      /* 8.5:1 */
.btn--primary:hover { background: #EBAE45; }

.btn--ghost { background: transparent; color: var(--text); border-color: var(--hairline); }
.btn--ghost:hover { border-color: var(--text); }
.section--dark .btn--ghost, .hero .btn--ghost, .btn--ghost-dark {
  color: var(--text-on-dark); border-color: var(--hairline-dark);
}
.section--dark .btn--ghost:hover, .hero .btn--ghost:hover, .btn--ghost-dark:hover {
  border-color: var(--ivory); background: rgb(242 235 223 / .07);
}

.btn--wholesale { background: var(--turquoise); color: #08201F; }     /* 8.9:1 */
.btn--wholesale:hover { background: #359E99; }

.btn--sm { padding: .6rem 1.2rem; font-size: .85rem; }

.chip {
  display: inline-flex; align-items: center; gap: .4rem;
  padding: .3rem .8rem; border-radius: var(--r-pill);
  font-size: .74rem; font-weight: 700;
}
.chip--wholesale { background: rgb(46 143 138 / .14); color: var(--turquoise-deep); }
.chip--retail    { background: rgb(28 26 24 / .07);  color: var(--text-muted); }
.chip--save      { background: rgb(224 160 48 / .20); color: var(--saffron-deep); }
@media (prefers-color-scheme: dark) {
  .chip--retail { background: rgb(242 235 223 / .09); }
  .chip--wholesale { background: rgb(46 143 138 / .22); }
}

/* --------------------------------------------------------------------------
   6. HEADER - single line at desktop, 72px, search is prominent
   -------------------------------------------------------------------------- */
.site-header {
  position: sticky; top: 0; z-index: var(--z-header);
  background: color-mix(in srgb, var(--surface) 88%, transparent);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  border-bottom: 1px solid var(--hairline);
  transition: box-shadow .3s var(--ease);
}
.site-header--dark {
  background: color-mix(in srgb, var(--ink) 88%, transparent);
  color: var(--text-on-dark); border-bottom-color: var(--hairline-dark);
}
.site-header.is-stuck { box-shadow: 0 10px 34px rgb(28 26 24 / .10); }
@media (prefers-reduced-transparency: reduce) {
  .site-header { background: var(--surface); backdrop-filter: none; }
  .site-header--dark { background: var(--ink); }
}

.header-bar { height: 72px; display: flex; align-items: center; gap: clamp(.9rem, 2.2vw, 2rem); }
.header-bar .mark { width: 2.35rem; }

.nav { display: flex; align-items: center; gap: clamp(.85rem, 1.6vw, 1.5rem); }
.nav a { font-size: .92rem; font-weight: 500; white-space: nowrap; padding-block: .3rem; position: relative; }
.nav a::after {
  content: ""; position: absolute; inset-inline: 0; bottom: -2px; height: 1.5px;
  background: var(--saffron); transform: scaleX(0); transform-origin: inline-end;
  transition: transform .3s var(--ease);
}
.nav a:hover::after, .nav a[aria-current]::after { transform: scaleX(1); transform-origin: inline-start; }

.search { flex: 1; min-width: 0; position: relative; display: flex; align-items: center; }
.search i { position: absolute; inset-inline-start: .95rem; font-size: 1.2rem; color: var(--text-muted); pointer-events: none; }
.search input {
  width: 100%; padding: .7rem 1rem; padding-inline-start: 2.8rem;
  border-radius: var(--r-input); border: 1.5px solid var(--hairline);
  background: color-mix(in srgb, var(--surface-2) 70%, transparent);
  transition: border-color .2s var(--ease), background-color .2s var(--ease);
}
.search input::placeholder { color: var(--text-muted); opacity: 1; }
.search input:focus { border-color: var(--saffron); background: var(--surface); outline: none; }
.site-header--dark .search input { background: rgb(242 235 223 / .07); border-color: var(--hairline-dark); color: var(--ivory); }
.site-header--dark .search i, .site-header--dark .search input::placeholder { color: var(--text-on-dark-muted); }

/* the dual purchasing model, made a real control */
.mode {
  display: inline-flex; padding: 3px; gap: 2px;
  background: color-mix(in srgb, var(--surface-2) 85%, transparent);
  border: 1px solid var(--hairline); border-radius: var(--r-pill);
}
.site-header--dark .mode { background: rgb(242 235 223 / .07); border-color: var(--hairline-dark); }
.mode button {
  border: 0; background: transparent; cursor: pointer;
  padding: .4rem 1rem; border-radius: var(--r-pill);
  font-size: .82rem; font-weight: 700; white-space: nowrap; color: var(--text-muted);
  transition: background-color .22s var(--ease), color .22s var(--ease);
}
.site-header--dark .mode button { color: var(--text-on-dark-muted); }
.mode button[aria-pressed="true"] { background: var(--ink); color: var(--ivory); }
.site-header--dark .mode button[aria-pressed="true"] { background: var(--ivory); color: var(--ink); }
.mode button[aria-pressed="true"][data-mode="wholesale"] { background: var(--turquoise); color: #08201F; }

.icon-actions { display: flex; align-items: center; gap: .3rem; }
.icon-btn {
  position: relative; display: grid; place-items: center;
  width: 42px; height: 42px; border: 0; border-radius: var(--r-pill);
  background: transparent; cursor: pointer; font-size: 1.35rem;
  transition: background-color .2s var(--ease);
}
.icon-btn:hover { background: color-mix(in srgb, var(--surface-2) 90%, transparent); }
.site-header--dark .icon-btn:hover { background: rgb(242 235 223 / .09); }
.icon-btn__count {
  position: absolute; top: 3px; inset-inline-end: 3px;
  min-width: 18px; height: 18px; padding-inline: 4px;
  display: grid; place-items: center;
  background: var(--saffron); color: var(--ink);
  border-radius: var(--r-pill); font-size: .68rem; font-weight: 800; line-height: 1;
}

.burger { display: none; }
@media (max-width: 1180px) { .nav { display: none; } .burger { display: grid; } }
@media (max-width: 760px) {
  .header-bar { height: auto; flex-wrap: wrap; padding-block: .7rem; row-gap: .7rem; gap: .45rem; }
  .mode, [data-hide-sm] { display: none; }
  .search { order: 10; flex-basis: 100%; }
}

.drawer {
  position: fixed; inset: 0; z-index: var(--z-drawer);
  background: var(--surface); padding: var(--gutter);
  display: grid; align-content: start; gap: .2rem;
  transform: translateX(-100%); visibility: hidden;
  transition: transform .38s var(--ease), visibility .38s;
}
.drawer[data-open="true"] { transform: translateX(0); visibility: visible; }
.drawer__top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 1.5rem; }
.drawer a { font-size: 1.3rem; font-weight: 600; padding-block: .75rem; border-bottom: 1px solid var(--hairline); }
.drawer .btn { margin-top: 1.5rem; }

/* --------------------------------------------------------------------------
   7. MEDIA WRAPPER
   Tonal art-directed ground, so a slot without a photo still reads as
   designed rather than as a broken box.
   -------------------------------------------------------------------------- */
.media {
  display: block;              /* product media is an <a>, which is inline by default */
  position: relative; overflow: hidden; border-radius: var(--r-card);
  background:
    radial-gradient(120% 90% at 70% 12%, var(--ivory-warm), transparent 62%),
    var(--ivory-deep);
  isolation: isolate;
}
.media::after {
  content: ""; position: absolute; inset: 0; z-index: 0;
  background: url("../img/mark-watermark.svg") center / 36% no-repeat;
  opacity: .08;
}
.media > img { position: relative; z-index: 1; width: 100%; height: 100%; object-fit: cover; }
.media--dark { background: linear-gradient(160deg, var(--ink-raised), var(--ink)); }
.media img { transition: transform .7s var(--ease); }
.media-hover:hover img { transform: scale(1.035); }

/* --------------------------------------------------------------------------
   8. HERO - asymmetric split, charcoal colour block
   -------------------------------------------------------------------------- */
/* top padding capped well under pt-24 so the content never floats mid-viewport */
.hero { background: var(--ink); color: var(--text-on-dark); padding-block: clamp(2rem, 3.5vw, 3.25rem) clamp(3rem, 5vw, 4.5rem); overflow: hidden; }
.hero__grid { display: grid; gap: clamp(2rem, 4vw, 3.5rem); grid-template-columns: 1fr; align-items: center; }
@media (min-width: 920px) { .hero__grid { grid-template-columns: 1.05fr .95fr; } }
.hero h1 {
  font-size: clamp(2rem, 5vw, 3.8rem);
  line-height: 1.2; font-weight: 800; letter-spacing: -.025em; max-width: 15ch;
}
.hero h1 em { font-style: normal; color: var(--saffron); }
.hero__sub { margin-top: 1.25rem; font-size: clamp(1rem, 1.4vw, 1.1rem); color: var(--text-on-dark-muted); max-width: 40ch; }
.hero__cta { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 2rem; }

/* 3D lid. The brand metaphor made physical, and the page's one signature
   moment, so it gets the depth budget. Small angles, calm easing. */
.lid-stage { position: relative; perspective: 1100px; perspective-origin: 50% 45%; display: grid; place-items: center; min-height: clamp(270px, 36vw, 400px); }
.lid-stage__inner {
  position: relative; transform-style: preserve-3d;
  transform: rotateX(var(--rx, 12deg)) rotateY(var(--ry, -15deg));
  transition: transform .9s var(--ease); will-change: transform;
}
.lid-stage__layer {
  position: absolute; inset: 0; display: grid; place-items: center;
  transform: translateZ(calc(var(--i) * 7px));
  color: var(--saffron); opacity: calc(.10 + (var(--i) * .11));
}
.lid-stage__layer:last-child { position: relative; opacity: 1; }
.lid-stage svg { width: clamp(185px, 25vw, 290px); height: auto; }
.lid-stage::after {
  content: ""; position: absolute; bottom: 13%; width: 44%; height: 16px;
  border-radius: 50%; filter: blur(20px); background: rgb(224 160 48 / .24);
}
@media (prefers-reduced-motion: reduce) {
  .lid-stage__inner { transform: rotateX(12deg) rotateY(-15deg) !important; transition: none; }
}

/* hero variant: the still life and the mark are one object that tilts together */
.hero-stage { perspective: 1400px; min-height: 0; }
.hero-stage .lid-stage__inner {
  --rx: 3deg; --ry: -5deg; width: 100%;
  transform: rotateX(var(--rx)) rotateY(var(--ry));
}
.hero-stage::after { display: none; }

/* Height is capped, not just proportioned, so the hero always clears the
   fold with the CTAs visible. */
.hero-photo {
  aspect-ratio: 5 / 4; max-height: 56vh; transform: translateZ(0);
}
@media (min-width: 920px) { .hero-photo { aspect-ratio: 4 / 3.4; max-height: 60vh; } }

/* straddles the photo corner so it reads as one object with the still life,
   not a tile floating beside it */
.hero-lid {
  position: absolute; bottom: 7%; inset-inline-start: -7%;
  width: clamp(96px, 12vw, 140px); aspect-ratio: 3 / 2;
  transform: translateZ(64px); transform-style: preserve-3d;
  background: var(--ink); border-radius: var(--r-card);
  padding: .6rem .55rem;
  box-shadow: 0 18px 40px rgb(12 10 9 / .55);
}
.hero-lid .lid-stage__layer { color: var(--saffron); }
.hero-lid .lid-stage__layer:last-child { position: absolute; }
.hero-lid svg { width: 100%; height: auto; }

@media (prefers-reduced-motion: reduce) {
  .hero-stage .lid-stage__inner { transform: rotateX(3deg) rotateY(-5deg) !important; }
}

/* tagline band - brandkit panel 4, immediately below the hero */
.tagline-band { background: var(--ink); border-top: 1px solid var(--hairline-dark); color: var(--text-on-dark); }
.tagline-band__inner {
  display: flex; align-items: center; justify-content: center;
  gap: 1.25rem; padding-block: clamp(1.75rem, 3vw, 2.75rem); text-align: center; flex-wrap: wrap;
}
.tagline-band p { font-size: clamp(1.1rem, 2.4vw, 1.85rem); font-weight: 300; }
.tagline-band .mark { width: 2.5rem; }

/* --------------------------------------------------------------------------
   9. TRUST STRIP - icon row
   -------------------------------------------------------------------------- */
.trust {
  display: grid; gap: 1px; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  background: var(--hairline); border-block: 1px solid var(--hairline);
}
.trust li { background: var(--surface); padding: 1.6rem 1.25rem; display: flex; align-items: center; gap: .9rem; }
.trust i { font-size: 1.7rem; color: var(--saffron-deep); flex: none; }
.trust b { display: block; font-size: .95rem; font-weight: 700; }
.trust span { font-size: .82rem; color: var(--text-muted); }

/* --------------------------------------------------------------------------
   10. CATEGORY RAIL - scroll-snap on mobile, grid at desktop
   -------------------------------------------------------------------------- */
.rail {
  display: grid; grid-auto-flow: column; grid-auto-columns: minmax(205px, 1fr);
  gap: 1rem; overflow-x: auto; scroll-snap-type: x mandatory;
  padding-bottom: 1rem; scrollbar-width: thin;
  margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter);
}
.rail > * { scroll-snap-align: start; }
@media (min-width: 1020px) {
  .rail { grid-auto-flow: row; grid-template-columns: repeat(4, 1fr); overflow: visible; margin-inline: 0; padding-inline: 0; }
}

/* depth-lift, not a drop shadow: tiles behave like objects on a shelf */
.cat {
  display: grid; gap: .85rem; padding: 1.5rem 1.35rem;
  border: 1.5px solid var(--hairline); border-radius: var(--r-card);
  background: var(--surface);
  transition: transform .35s var(--ease), border-color .35s var(--ease), background-color .35s var(--ease);
}
.cat:hover { transform: translateY(-6px); border-color: var(--saffron); background: var(--surface-2); }
.cat i { font-size: 2.1rem; color: var(--saffron-deep); }
.cat b { font-size: 1.02rem; font-weight: 700; }
.cat span { font-size: .82rem; color: var(--text-muted); }
@media (prefers-reduced-motion: reduce) { .cat:hover { transform: none; } }

/* --------------------------------------------------------------------------
   11. PRODUCT CARDS - tactile tilt. These products are vessels; they should
   feel like objects you could pick up.
   -------------------------------------------------------------------------- */
.products { display: grid; gap: clamp(1rem, 2vw, 1.75rem); grid-template-columns: repeat(auto-fill, minmax(min(100%, 245px), 1fr)); }
.card { perspective: 900px; }
.card__inner {
  height: 100%; display: grid; grid-template-rows: auto 1fr; gap: 1rem;
  padding: .7rem .7rem 1.2rem; background: var(--surface);
  border: 1.5px solid var(--hairline); border-radius: var(--r-card);
  transform-style: preserve-3d;
  transition: transform .35s var(--ease), border-color .3s var(--ease);
  will-change: transform;
}
.card:hover .card__inner { border-color: var(--text); }
.card__media { aspect-ratio: 4 / 5; transform: translateZ(22px); }
.card__body { display: grid; align-content: start; gap: .5rem; padding-inline: .5rem; transform: translateZ(12px); }
.card__title { font-size: .97rem; font-weight: 600; line-height: 1.55; }
.card__meta { font-size: .8rem; color: var(--text-muted); }
.card__price { display: flex; align-items: baseline; gap: .6rem; margin-top: .1rem; }
.card__price b { font-size: 1.1rem; font-weight: 800; }
.card__price s { font-size: .85rem; color: var(--text-muted); }
.card__tags { display: flex; flex-wrap: wrap; gap: .4rem; }
.card__actions { display: flex; gap: .5rem; margin-top: .4rem; }
.card__actions .btn { flex: 1; padding: .6rem 1rem; font-size: .85rem; }
.card__fav {
  width: 40px; flex: none; display: grid; place-items: center;
  border: 1.5px solid var(--hairline); border-radius: var(--r-pill);
  background: transparent; cursor: pointer; font-size: 1.15rem;
  transition: color .2s var(--ease), border-color .2s var(--ease);
}
.card__fav:hover { border-color: var(--saffron); }
.card__fav[aria-pressed="true"] { color: var(--saffron-deep); border-color: var(--saffron); }
@media (prefers-reduced-motion: reduce) { .card__inner { transform: none !important; } }

/* --------------------------------------------------------------------------
   12. DUAL MODEL - one system, turquoise marks every wholesale affordance
   -------------------------------------------------------------------------- */
.paths { display: grid; gap: 1.25rem; grid-template-columns: 1fr; }
@media (min-width: 880px) { .paths { grid-template-columns: 1fr 1fr; } }
.path {
  display: grid; align-content: start; gap: 1.1rem;
  padding: clamp(1.75rem, 3vw, 2.75rem);
  border-radius: var(--r-card); border: 1.5px solid var(--hairline-dark);
  background: var(--ink-raised);
}
.path--wholesale { border-color: rgb(46 143 138 / .45); }
.path h3 { font-size: 1.45rem; font-weight: 700; }
.path > p { color: var(--text-on-dark-muted); font-size: .95rem; max-width: 38ch; }
.path ul { display: grid; gap: .7rem; margin-top: .2rem; }
.path li { display: flex; gap: .65rem; align-items: flex-start; font-size: .92rem; }
.path li i { color: var(--saffron); font-size: 1.1rem; margin-top: .22rem; flex: none; }
.path--wholesale li i { color: var(--turquoise); }
.path .btn { justify-self: start; margin-top: .5rem; }

/* --------------------------------------------------------------------------
   13. HERITAGE - scroll-driven parallax depth. Architectural rhythm only,
   no ornament, no mosque imagery.
   -------------------------------------------------------------------------- */
.heritage { position: relative; overflow: hidden; background: var(--ink); color: var(--text-on-dark); }
.heritage__bg { position: absolute; inset: -8% 0; z-index: 0; }
.heritage__bg img { width: 100%; height: 100%; object-fit: cover; opacity: .38; }
.heritage__scrim {
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(to left, rgb(28 26 24 / .96) 14%, rgb(28 26 24 / .55) 66%, rgb(28 26 24 / .92));
}
.heritage__inner { position: relative; z-index: 2; padding-block: clamp(5rem, 10vw, 9rem); }
.heritage__copy { max-width: 46ch; }
.heritage__copy h2 { font-size: clamp(1.8rem, 3.8vw, 3rem); line-height: 1.25; font-weight: 700; letter-spacing: -.02em; }
.heritage__copy p { margin-top: 1.25rem; color: var(--text-on-dark-muted); font-size: 1.02rem; }

/* A row of arch outlines was tried here and cut: the brief explicitly bans
   ornamental arches and mosque imagery, and five arch shapes in a row is
   exactly that ornament. The heritage reads through the copy and the
   photography instead, which is what "implicit and intelligent" asks for. */
.arch-rhythm { display: none; }

.heritage__bg { transform: scale(1.04); }

/* --------------------------------------------------------------------------
   14. PROMO BAND - one calm saffron module, large sparse copy
   -------------------------------------------------------------------------- */
.promo {
  background: var(--saffron); color: var(--ink);
  border-radius: var(--r-card); overflow: hidden;
  display: grid; gap: 2rem; align-items: center;
  padding: clamp(2rem, 4.5vw, 3.5rem); grid-template-columns: 1fr;
}
@media (min-width: 900px) { .promo { grid-template-columns: 1.3fr .7fr; } }
.promo h2 { font-size: clamp(1.55rem, 3.4vw, 2.5rem); line-height: 1.3; font-weight: 800; letter-spacing: -.02em; max-width: 18ch; }
.promo p { margin-top: .9rem; font-size: 1rem; max-width: 42ch; color: #4A3712; }
.promo .btn--primary { background: var(--ink); color: var(--ivory); }
.promo .btn--primary:hover { background: #35302B; }
.promo__mark { display: grid; place-items: center; }
.promo__mark svg { width: min(210px, 62%); color: var(--ink); opacity: .17; }

/* --------------------------------------------------------------------------
   15. INSPIRATION BENTO - exact cell count, mixed backgrounds
   -------------------------------------------------------------------------- */
.bento { display: grid; gap: 1rem; grid-template-columns: 1fr; }
@media (min-width: 800px) {
  .bento { grid-template-columns: repeat(4, 1fr); grid-auto-rows: 205px; }
  .bento__a { grid-column: span 2; grid-row: span 2; }
  .bento__b { grid-column: span 2; }
  .bento__c { grid-column: span 1; }
  .bento__d { grid-column: span 1; }
}
.bento > * { border-radius: var(--r-card); overflow: hidden; position: relative; min-height: 205px; }
.bento figcaption {
  position: absolute; inset-inline: 0; bottom: 0; z-index: 2;
  padding: 1.5rem 1.35rem 1.25rem;
  background: linear-gradient(to top, rgb(28 26 24 / .9), transparent);
  color: var(--ivory);
}
.bento figcaption b { display: block; font-size: 1.05rem; font-weight: 700; }
.bento figcaption span { font-size: .84rem; color: rgb(242 235 223 / .78); }
.bento__note { background: var(--ink); color: var(--text-on-dark); display: grid; align-content: center; gap: .7rem; padding: clamp(1.5rem, 3vw, 2.25rem); }
.bento__note b { font-size: clamp(1.1rem, 2vw, 1.45rem); font-weight: 700; line-height: 1.45; }
.bento__note span { color: var(--text-on-dark-muted); font-size: .9rem; }
.bento__swatch { background: var(--turquoise); color: #062120; display: grid; align-content: center; gap: .5rem; padding: clamp(1.5rem, 3vw, 2.25rem); }
.bento__swatch b { font-size: clamp(1.1rem, 2vw, 1.4rem); font-weight: 800; line-height: 1.45; }
.bento__swatch span { font-size: .88rem; color: rgb(6 33 32 / .8); }

/* --------------------------------------------------------------------------
   16. FOOTER
   -------------------------------------------------------------------------- */
.site-footer { background: var(--ink); color: var(--text-on-dark); }
.footer-grid { display: grid; gap: clamp(2rem, 4vw, 3rem); grid-template-columns: 1fr; padding-block: clamp(3.5rem, 6vw, 5rem); }
@media (min-width: 780px) { .footer-grid { grid-template-columns: 1.5fr 1fr 1fr 1fr; } }
.footer-brand p { margin-top: 1.25rem; color: var(--text-on-dark-muted); font-size: .93rem; max-width: 34ch; }
.footer-col h3 { font-size: .78rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--saffron); margin-bottom: 1.1rem; }
.footer-col li { margin-bottom: .6rem; }
.footer-col a { font-size: .92rem; color: var(--text-on-dark-muted); transition: color .2s var(--ease); }
.footer-col a:hover { color: var(--ivory); }
.footer-bottom {
  border-top: 1px solid var(--hairline-dark); padding-block: 1.5rem;
  display: flex; flex-wrap: wrap; gap: 1rem; align-items: center;
  justify-content: space-between; font-size: .84rem; color: var(--text-on-dark-muted);
}
.footer-social { display: flex; gap: .4rem; }
.footer-social a {
  width: 40px; height: 40px; display: grid; place-items: center;
  border: 1px solid var(--hairline-dark); border-radius: var(--r-pill);
  font-size: 1.15rem; transition: border-color .2s var(--ease), color .2s var(--ease);
}
.footer-social a:hover { border-color: var(--saffron); color: var(--saffron); }

/* --------------------------------------------------------------------------
   17. REVEAL - IntersectionObserver driven, never a scroll listener
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: no-preference) {
  [data-reveal] {
    opacity: 0; transform: translateY(22px);
    transition: opacity .7s var(--ease), transform .7s var(--ease);
    transition-delay: calc(var(--d, 0) * 70ms);
  }
  [data-reveal].is-in { opacity: 1; transform: none; }
}

/* --------------------------------------------------------------------------
   18. STATES - skeleton, empty, form
   -------------------------------------------------------------------------- */
.skeleton { border-radius: var(--r-card); background: linear-gradient(100deg, var(--ivory-warm) 20%, var(--ivory-deep) 40%, var(--ivory-warm) 60%); background-size: 220% 100%; }
@media (prefers-reduced-motion: no-preference) {
  .skeleton { animation: shimmer 1.5s linear infinite; }
  @keyframes shimmer { to { background-position: -220% 0; } }
}
.skeleton--media { aspect-ratio: 4 / 5; }
.skeleton--line { height: .8rem; margin-top: .6rem; border-radius: 4px; }
.skeleton--line.is-short { width: 55%; }

.empty-state {
  display: grid; justify-items: center; gap: 1rem; text-align: center;
  padding: clamp(3rem, 7vw, 5.5rem) 1.5rem;
  border: 1.5px dashed var(--hairline); border-radius: var(--r-card);
}
.empty-state svg { width: 4.5rem; color: var(--saffron); opacity: .6; }
.empty-state b { font-size: 1.15rem; font-weight: 700; }
.empty-state p { color: var(--text-muted); max-width: 40ch; }

.field { display: grid; gap: .5rem; }
.field label { font-size: .88rem; font-weight: 600; }
.field input, .field select, .field textarea {
  padding: .8rem 1rem; border-radius: var(--r-input);
  border: 1.5px solid var(--hairline); background: var(--surface); color: var(--text);
}
.field input::placeholder { color: var(--text-muted); opacity: 1; }
.field input:focus, .field textarea:focus, .field select:focus { border-color: var(--saffron); outline: none; }
.field .hint { font-size: .8rem; color: var(--text-muted); }
.field .error { font-size: .82rem; color: #B23C12; font-weight: 600; }
.field[data-invalid="true"] input { border-color: #B23C12; }

/* dark-surface form variant, contrast checked */
.path .field input, .section--dark .field input, .section--dark .field textarea {
  background: rgb(242 235 223 / .08); border-color: var(--hairline-dark); color: var(--ivory);
}
.path .field label, .section--dark .field label { color: var(--ivory); }
.path .field input::placeholder, .section--dark .field input::placeholder { color: var(--text-on-dark-muted); }
.path .field .hint, .section--dark .field .hint { color: var(--text-on-dark-muted); }

/* --------------------------------------------------------------------------
   19. SHOP + WHOLESALE PIECES
   -------------------------------------------------------------------------- */
.page-head { padding-block: clamp(2.5rem, 5vw, 4rem) clamp(1.5rem, 3vw, 2.5rem); }
.crumbs { display: flex; gap: .5rem; align-items: center; font-size: .84rem; color: var(--text-muted); margin-bottom: 1rem; }
.crumbs i { font-size: .9rem; }
.page-head h1 { font-size: clamp(1.85rem, 4vw, 2.9rem); font-weight: 800; letter-spacing: -.025em; }
.page-head p { margin-top: .85rem; color: var(--text-muted); max-width: 54ch; }
.section--dark .page-head p, .page-head--dark p { color: var(--text-on-dark-muted); }

.shop-layout { display: grid; gap: clamp(1.5rem, 3vw, 2.5rem); grid-template-columns: 1fr; align-items: start; }
@media (min-width: 1020px) { .shop-layout { grid-template-columns: 245px 1fr; } }

.filters { display: grid; gap: 1.75rem; }
@media (min-width: 1020px) { .filters { position: sticky; top: 96px; } }
.filter-group h3 { font-size: .78rem; letter-spacing: .16em; text-transform: uppercase; color: var(--text-muted); margin-bottom: .9rem; }
.filter-group li { margin-bottom: .5rem; }
.filter-group label { display: flex; gap: .6rem; align-items: center; font-size: .92rem; cursor: pointer; }
.filter-group input[type="checkbox"] { accent-color: var(--saffron); width: 1.05rem; height: 1.05rem; }
.filter-group .count { margin-inline-start: auto; font-size: .8rem; color: var(--text-muted); }

.toolbar {
  display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; justify-content: space-between;
  padding-bottom: 1.25rem; border-bottom: 1px solid var(--hairline); margin-bottom: 1.75rem;
}
.toolbar .result-count { font-size: .9rem; color: var(--text-muted); }
.toolbar select { padding: .55rem 1rem; border-radius: var(--r-input); border: 1.5px solid var(--hairline); background: var(--surface); }

/* volume pricing - grouped cards, not a hairline-per-row table */
.tiers { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(175px, 1fr)); }
.tier {
  padding: 1.5rem 1.35rem; border-radius: var(--r-card);
  border: 1.5px solid var(--hairline-dark); background: var(--ink-raised);
  display: grid; gap: .3rem; align-content: start;
}
.tier--best { border-color: var(--turquoise); }
.tier__qty { font-size: .82rem; color: var(--text-on-dark-muted); }
.tier__price { font-size: clamp(1.3rem, 2.6vw, 1.8rem); font-weight: 800; color: var(--saffron); }
.tier__note { font-size: .82rem; color: var(--turquoise); font-weight: 600; }

.steps { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(225px, 1fr)); }
.step {
  padding: 1.75rem 1.5rem; border-radius: var(--r-card);
  border: 1.5px solid var(--hairline); background: var(--surface);
  display: grid; gap: .55rem; align-content: start;
}
.step i { font-size: 2rem; color: var(--turquoise-deep); }
.step b { font-size: 1.05rem; font-weight: 700; }
.step span { font-size: .9rem; color: var(--text-muted); }

/* --------------------------------------------------------------------------
   20. PRODUCT DETAIL
   -------------------------------------------------------------------------- */
.pdp { display: grid; gap: clamp(1.75rem, 4vw, 3.5rem); grid-template-columns: 1fr; align-items: start; }
@media (min-width: 940px) { .pdp { grid-template-columns: 1.05fr .95fr; } }

.gallery { display: grid; gap: .8rem; }
.gallery__main { aspect-ratio: 4 / 5; }
.gallery__thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: .8rem; }
.gallery__thumbs button {
  padding: 0; border: 1.5px solid var(--hairline); border-radius: var(--r-card);
  background: none; cursor: pointer; overflow: hidden; aspect-ratio: 1;
  transition: border-color .2s var(--ease);
}
.gallery__thumbs button[aria-current="true"] { border-color: var(--saffron); }
.gallery__thumbs img { width: 100%; height: 100%; object-fit: cover; }

.pdp__head { display: grid; gap: .6rem; }
.pdp__sku { font-size: .82rem; color: var(--text-muted); letter-spacing: .04em; }
.pdp h1 { font-size: clamp(1.5rem, 3vw, 2.2rem); line-height: 1.35; font-weight: 700; letter-spacing: -.015em; }
.pdp__price { display: flex; align-items: baseline; gap: .75rem; flex-wrap: wrap; margin-top: .35rem; }
.pdp__price b { font-size: clamp(1.5rem, 3vw, 2rem); font-weight: 800; }
.pdp__price s { color: var(--text-muted); }
.pdp__price small { font-size: .85rem; color: var(--text-muted); }

.pdp__block { display: grid; gap: .75rem; padding-block: 1.5rem; border-top: 1px solid var(--hairline); }
.pdp__block > h2 { font-size: .78rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--text-muted); }

.opts { display: flex; flex-wrap: wrap; gap: .55rem; }
.opts button {
  padding: .6rem 1.1rem; border-radius: var(--r-pill);
  border: 1.5px solid var(--hairline); background: transparent; cursor: pointer;
  font-size: .9rem; font-weight: 600;
  transition: border-color .2s var(--ease), background-color .2s var(--ease), color .2s var(--ease);
}
.opts button:hover { border-color: var(--text); }
.opts button[aria-pressed="true"] { background: var(--ink); color: var(--ivory); border-color: var(--ink); }
@media (prefers-color-scheme: dark) {
  .opts button[aria-pressed="true"] { background: var(--ivory); color: var(--ink); border-color: var(--ivory); }
}

/* colour swatches stay inside the brand family plus the real product colours */
.swatches { display: flex; gap: .6rem; flex-wrap: wrap; }
.swatches button {
  width: 40px; height: 40px; border-radius: var(--r-pill); cursor: pointer;
  border: 1.5px solid var(--hairline); position: relative;
  transition: transform .2s var(--ease), border-color .2s var(--ease);
}
.swatches button:hover { transform: translateY(-2px); }
.swatches button[aria-pressed="true"] { border-color: var(--saffron); border-width: 2.5px; }

.qty { display: inline-flex; align-items: center; border: 1.5px solid var(--hairline); border-radius: var(--r-pill); overflow: hidden; }
.qty button { width: 44px; height: 44px; border: 0; background: transparent; cursor: pointer; font-size: 1.2rem; }
.qty button:hover { background: var(--surface-2); }
.qty input { width: 56px; height: 44px; border: 0; text-align: center; font-weight: 700; background: transparent; }
.qty input::-webkit-inner-spin-button { appearance: none; }

.pdp__buy { display: flex; flex-wrap: wrap; gap: .7rem; align-items: center; margin-top: .35rem; }
.pdp__buy .btn { flex: 1; min-width: 190px; }

.spec { display: grid; gap: .9rem; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); }
.spec div { display: grid; gap: .2rem; }
.spec dt { font-size: .8rem; color: var(--text-muted); }
.spec dd { margin: 0; font-size: .95rem; font-weight: 600; }

.sticky-bar {
  position: fixed; inset-inline: 0; bottom: 0; z-index: var(--z-header);
  display: none; gap: .6rem;
  padding: .7rem var(--gutter) calc(.7rem + env(safe-area-inset-bottom));
  background: color-mix(in srgb, var(--surface) 94%, transparent);
  backdrop-filter: blur(14px); border-top: 1px solid var(--hairline);
}
.sticky-bar .btn { flex: 1; }
@media (max-width: 760px) { .sticky-bar { display: flex; } body { padding-bottom: 76px; } }
