/* ==========================================================================
   UṢŪL — Usul Collective
   Brand colours come from the Usul Brand Guide (Usul_Rebrand.pdf). Type,
   square edges, the clay announcement bar, the pine header and the product
   page layout follow the owner's Ṣumūd product design (see README).
   ========================================================================== */

:root {
  /* Brand Guide colours */
  --pine: #263530;    /* deep green — primary dark */
  --olive: #577343;   /* mid green */
  --leaf: #688C4F;    /* light green */
  --cream: #F2E9CE;   /* cream */
  --clay: #A67C49;    /* warm brown */
  --sand: #e2d9bd;    /* cream one step darker, behind product photos */

  --ink: var(--pine);
  --muted: rgba(38, 53, 48, .68);       /* secondary text on cream */
  --muted-on-pine: rgba(242, 233, 206, .62);
  --rule: rgba(38, 53, 48, .16);        /* hairlines on cream */
  --rule-on-pine: rgba(166, 124, 73, .35);

  /* Helvetica for Latin text and Snaga Arabic Text for Arabic (Brand Guide);
     Marcellus, Roman inscriptional capitals with the same even stroke as Reem Kufi, for headings and the wordmark;
     Reem Kufi for Arabic display lines. */
  --sans: "Helvetica Neue", Helvetica, Arial, sans-serif;
  --display: "Marcellus", "Trajan Pro", "Cormorant Garamond", Georgia, serif;
  --arabic: "snaga-arabic-text", "Snaga Arabic Text", "IBM Plex Sans Arabic", "Geeza Pro", sans-serif;
  --kufi: "Reem Kufi", var(--arabic);

  --gutter: clamp(18px, 2.8vw, 40px);
  --gap: clamp(14px, 1.6vw, 22px);
  --section: clamp(56px, 6vw, 80px);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
:focus-visible { outline: 2px solid var(--clay); outline-offset: 3px; }
[hidden] { display: none !important; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.ar { font-family: var(--kufi); direction: rtl; unicode-bidi: isolate; letter-spacing: 0 !important; text-transform: none !important; }
h1, h2, h3 { text-wrap: balance; }

/* ---------- Type primitives ---------- */
.caps { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; }
.micro { font-size: 11px; }
.muted { color: var(--muted); }
.display { font-family: var(--display); font-weight: 400; }
.eyebrow { font-size: 11.5px; letter-spacing: .18em; text-transform: uppercase; }

.link {
  display: inline-block; font-size: 12px; letter-spacing: .14em; text-transform: uppercase;
  padding-bottom: 3px; border-bottom: 1px solid currentColor; transition: color .2s, opacity .2s;
}
.link:hover { opacity: .65; }

/* The UṢŪL wordmark */
.brand { display: inline-flex; align-items: center; line-height: 1; }
.wordmark { font-family: var(--display); font-weight: 400; font-size: 27px; letter-spacing: .3em; margin-inline-end: -.3em; }
/* Marcellus has no Ṣ, so the dotted S in UṢŪL and ṢUMŪD is a plain S with the dot drawn beneath it. */
.dot { position: relative; display: inline-block; line-height: 1; }
.dot::after { content: ""; position: absolute; left: 50%; top: .9em; width: .11em; height: .11em; margin-left: -.055em; border-radius: 50%; background: currentColor; }
.brand__mark { fill: currentColor; }

/* ---------- Announcement (scrolling) ---------- */
.announce { overflow: hidden; background: var(--clay); color: var(--pine); height: 34px; display: flex; align-items: center; font-size: 11px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; }
.announce__track { display: flex; width: max-content; animation: usul-marquee 34s linear infinite; }
.announce__group { display: flex; flex: none; gap: 56px; padding-inline-end: 56px; white-space: nowrap; }
@keyframes usul-marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
[dir="rtl"] .announce__track { animation-name: usul-marquee-rtl; }
@keyframes usul-marquee-rtl { from { transform: translateX(0); } to { transform: translateX(50%); } }

/* ---------- Header ---------- */
.header { position: sticky; top: 0; z-index: 30; background: var(--pine); color: var(--cream); }
.header__row { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 24px; min-height: 76px; padding: 0 var(--gutter); }
.header .brand { justify-self: center; }
.nav, .utility { display: flex; align-items: center; gap: 28px; font-size: 12.5px; }
.utility { justify-content: flex-end; gap: 22px; }
.nav a, .utility a, .utility button { transition: color .2s; }
.nav a:hover, .utility a:hover, .utility button:hover { color: var(--clay); }
.bag-btn { border: 1px solid rgba(166, 124, 73, .6); color: var(--clay); padding: 9px 16px; white-space: nowrap; }
.utility .bag-btn:hover { background: var(--clay); color: var(--pine); }
.lang-toggle { font-family: var(--arabic); font-size: 14px; letter-spacing: 0; text-transform: none; }

.menu-toggle { display: none; width: 24px; height: 14px; position: relative; }
.menu-toggle::before, .menu-toggle::after { content: ""; position: absolute; inset-inline: 0; height: 1.5px; background: currentColor; transition: transform .3s; }
.menu-toggle::before { top: 2px; } .menu-toggle::after { bottom: 2px; }
.menu-open .menu-toggle::before { transform: translateY(4px) rotate(45deg); }
.menu-open .menu-toggle::after { transform: translateY(-4px) rotate(-45deg); }
.mobile-nav { display: none; background: var(--pine); color: var(--cream); padding: 4px var(--gutter) 28px; border-top: 1px solid var(--rule-on-pine); }
.mobile-nav a { display: flex; justify-content: space-between; align-items: baseline; padding: 16px 0; border-bottom: 1px solid var(--rule-on-pine); }
.mobile-nav a .ar { font-size: 16px; color: var(--clay); }
.menu-open .mobile-nav { display: block; }

/* ---------- Image plates ---------- */
.plate { position: relative; overflow: hidden; background: var(--sand); color: var(--cream); }
.plate > img, .plate > svg.art { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
/* Drawn stand-ins are grey; tone them to sit with the photography */
.plate > svg.art { filter: sepia(.75) saturate(1.05) brightness(.97); }
.plate--light > svg.art { filter: sepia(.4) saturate(.9); }
.plate--shade::after { /* soft vignette so cream type holds on imagery */
  content: ""; position: absolute; inset: 0; pointer-events: none; z-index: 1;
  background: linear-gradient(180deg, rgba(20, 28, 25, .35) 0%, rgba(20, 28, 25, 0) 28%, rgba(20, 28, 25, 0) 55%, rgba(20, 28, 25, .6) 100%);
}
.img-zoom, .art { transition: transform 1.6s cubic-bezier(.2, .7, .2, 1); }
a:hover :is(.img-zoom, .art) { transform: scale(1.03); }

.caption { position: absolute; z-index: 2; left: 0; right: 0; bottom: clamp(28px, 5vh, 56px); display: flex; flex-direction: column; align-items: center; gap: 12px; text-align: center; padding: 0 var(--gutter); }
.caption h2, .caption h3 { margin: 0; font-family: var(--display); font-weight: 400; font-size: clamp(30px, 3vw, 44px); line-height: 1.12; }

/* ---------- Hero ---------- */
.hero { height: calc(100vh - 110px); min-height: 560px; }
.hero > img { object-position: 62% 50%; }
.hero .caption { top: 50%; bottom: auto; transform: translateY(-40%); gap: 18px; }
.hero h1 { margin: 0; font-family: var(--display); font-weight: 400; font-size: clamp(44px, 6.6vw, 104px); line-height: 1.06; color: var(--cream); }
.hero__ar { font-family: var(--kufi); font-size: clamp(20px, 2vw, 28px); color: var(--cream); }
.hero__ctas { display: flex; gap: 14px; flex-wrap: wrap; justify-content: center; margin-top: 10px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 52px; padding: 0 28px; font-size: 12px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; transition: background .2s, color .2s, border-color .2s; }
.btn--clay { background: var(--clay); color: var(--pine); }
.btn--clay:hover { background: var(--cream); }
.btn--ghost { border: 1px solid rgba(242, 233, 206, .7); color: var(--cream); }
.btn--ghost:hover { background: var(--cream); color: var(--pine); }
.btn--pine { background: var(--pine); color: var(--cream); }
.btn--pine:hover { background: var(--olive); }
.btn--outline { border: 1px solid var(--pine); color: var(--pine); }
.btn--outline:hover { background: var(--pine); color: var(--cream); }

/* ---------- Full-bleed panels ---------- */
.panel { padding: clamp(56px, 7vw, 104px) var(--gutter); }
.panel--cream { background: var(--cream); color: var(--pine); }
.panel--pine { background: var(--pine); color: var(--cream); }
.panel--olive { background: var(--olive); color: var(--cream); }
.panel h2 { font-family: var(--display); font-weight: 400; font-size: clamp(38px, 4.6vw, 64px); line-height: 1.08; margin: 0 0 28px; }

/* Who We Are */
.who { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.who__lead { font-family: var(--display); font-weight: 400; font-size: clamp(22px, 2.2vw, 30px); line-height: 1.35; margin: 0; }
.who__body p { font-size: 16.5px; line-height: 1.75; margin: 0 0 18px; max-width: 58ch; }
.who__body .closing { font-family: var(--display); font-size: 21px; line-height: 1.45; margin-top: 28px; }
.who__ar { font-family: var(--kufi); font-size: 22px; color: var(--clay); margin: 22px 0 0; }

/* Follow. Learn. Share. */
.process__head { display: flex; justify-content: space-between; align-items: end; gap: 24px; flex-wrap: wrap; margin-bottom: 48px; }
.process__head h2 { margin: 0; }
.process__head .link { color: var(--clay); }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--rule-on-pine); }
.step { padding: 28px 28px 8px 0; }
.step + .step { padding-inline-start: 28px; border-inline-start: 1px solid var(--rule-on-pine); }
.step__num { font-family: var(--display); color: var(--clay); font-size: 20px; }
.step h3 { font-family: var(--display); font-weight: 400; font-size: 30px; margin: 10px 0 10px; }
.step h3 .ar { display: block; font-size: 18px; color: var(--clay); margin-top: 6px; }
html[dir="ltr"] .step h3 .ar { text-align: left; }
.step p { margin: 0; color: rgba(242, 233, 206, .8); line-height: 1.7; }

/* ---------- Two houses ---------- */
.houses { display: grid; grid-template-columns: 1fr 1fr; }
.houses .plate { aspect-ratio: 4 / 5; max-height: 92vh; width: 100%; }

/* ---------- Section header & product tiles ---------- */
.section-head { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: var(--section) var(--gutter) 30px; }
.section-head h2 { margin: 0; font-family: var(--display); font-weight: 400; font-size: clamp(32px, 3vw, 42px); line-height: 1.05; }
.section-head h2 .ar { display: block; font-size: 18px; color: var(--clay); margin-top: 8px; }
html[dir="ltr"] .section-head h2 .ar { text-align: left; }
.section-head .link { color: var(--olive); }
.tabs { display: flex; gap: 28px; }
.tabs button { color: var(--muted); padding-bottom: 3px; border-bottom: 1px solid transparent; transition: color .2s; }
.tabs button[aria-selected="true"] { color: var(--pine); border-color: var(--clay); }

.products { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--gap); padding: 0 var(--gutter) var(--section); }
.products--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.tile { display: block; color: inherit; }
.tile .plate { aspect-ratio: 4 / 5; }
.tile__meta { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; padding-top: 14px; }
.tile__name { font-family: var(--sans); font-weight: 400; font-size: 15px; line-height: 1.35; margin: 0; }
.tile__name .ar { display: block; font-size: 15px; color: var(--clay); margin-top: 4px; }
html[dir="ltr"] .tile__name .ar { text-align: left; }
.tile__sub { margin: 4px 0 0; color: var(--muted); font-size: 13px; }
.tile__price { white-space: nowrap; font-size: 15px; color: var(--clay); }
.panel--pine .tile__sub { color: var(--muted-on-pine); }

/* ---------- Quote over painting ---------- */
.quote { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); }
.quote .plate { min-height: min(86vh, 820px); }
.quote .plate > img { object-position: 50% 30%; }
.quote__text { background: var(--pine); color: var(--cream); display: flex; flex-direction: column; justify-content: center; padding: clamp(40px, 6vw, 96px); }
.quote blockquote { margin: 0; font-family: var(--display); font-weight: 400; font-size: clamp(30px, 3.4vw, 52px); line-height: 1.18; }
.quote__ar { font-family: var(--kufi); font-size: 24px; color: var(--clay); margin: 28px 0 36px; line-height: 1.7; }

/* ---------- Stories (courtyard) ---------- */
.stories-hero { height: 86vh; min-height: 520px; }
.stories-hero > img { object-position: 50% 40%; }
.stories-hero .caption h2 { max-width: 22ch; }
.chapters { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--pine); }
.chapter { padding: 28px 28px 8px 0; }
.chapter + .chapter { padding-inline-start: 28px; border-inline-start: 1px solid var(--rule); }
.chapter h3 { font-family: var(--display); font-weight: 400; font-size: 26px; margin: 12px 0 4px; line-height: 1.15; }
.chapter .ar { display: block; font-size: 17px; color: var(--clay); margin-bottom: 12px; }
html[dir="ltr"] .chapter .ar { text-align: left; }
.chapter p { margin: 0; line-height: 1.7; }
.panel .follow { margin-top: 48px; display: flex; gap: 20px; align-items: center; flex-wrap: wrap; }

/* ---------- Newsletter ---------- */
.letter { text-align: center; }
.letter .brand__mark { width: 30px; height: 53px; margin: 0 auto 24px; color: var(--clay); }
.letter p { margin: 0 auto 32px; max-width: 46ch; color: rgba(242, 233, 206, .8); }
.field { display: flex; max-width: 520px; margin: 0 auto; border: 1px solid rgba(242, 233, 206, .4); transition: border-color .2s; }
.field:focus-within { border-color: var(--clay); }
.field input { flex: 1; min-width: 0; border: 0; background: none; font: inherit; color: var(--cream); padding: 16px 18px; }
.field input:focus { outline: none; }
.field input::placeholder { color: rgba(242, 233, 206, .55); }
.field button { padding: 0 24px; background: var(--clay); color: var(--pine); font-weight: 700; transition: background .2s; }
.field button:hover { background: var(--cream); }
.form-note { min-height: 1.5em; margin-top: 16px; font-size: 13px; color: rgba(242, 233, 206, .8); }

/* ---------- Trust strip ---------- */
.trust { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); background: var(--cream); border-bottom: 1px solid var(--rule); }
.trust > div { padding: 26px var(--gutter); text-align: center; color: var(--muted); }
.trust > div + div { border-inline-start: 1px solid var(--rule); }

/* ---------- Footer ---------- */
.footer { background: var(--pine); color: var(--cream); padding: 56px var(--gutter) 30px; border-top: 1px solid rgba(166, 124, 73, .3); }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; }
.footer .wordmark { font-size: 26px; }
.footer__brand p { max-width: 34ch; color: rgba(242, 233, 206, .7); margin: 16px 0 0; font-size: 14px; line-height: 1.7; }
.footer h4 { margin: 0 0 14px; color: var(--clay); font-weight: 400; font-size: 11px; letter-spacing: .2em; }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; font-size: 13.5px; }
.footer li a { color: rgba(242, 233, 206, .8); transition: color .2s; }
.footer li a:hover { color: var(--clay); }
.footer__base { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; margin-top: 48px; padding-top: 22px; border-top: 1px solid var(--rule-on-pine); color: rgba(242, 233, 206, .5); }

/* ==========================================================================
   Product page
   ========================================================================== */
.pdp { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: start; }

/* Gallery */
.gallery { background: var(--sand); padding: 26px 26px 26px var(--gutter); display: grid; grid-template-columns: 78px minmax(0, 1fr); gap: 18px; position: sticky; top: 76px; }
.gallery--single { grid-template-columns: minmax(0, 1fr); }
.gallery--single .gallery__thumbs { display: none; }
.gallery__thumbs { display: flex; flex-direction: column; gap: 12px; }
.gallery__thumbs button { position: relative; height: 104px; background: #d6ccae; border: 1px solid rgba(38, 53, 48, .2); overflow: hidden; }
.gallery__thumbs button img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .75; transition: opacity .2s; }
.gallery__thumbs button[aria-current="true"] { border-color: var(--clay); outline: 2px solid rgba(166, 124, 73, .35); }
.gallery__thumbs button[aria-current="true"] img, .gallery__thumbs button:hover img { opacity: 1; }
.gallery__main { position: relative; height: min(820px, calc(100vh - 160px)); min-height: 520px; overflow: hidden; background: #d6ccae; }
.gallery__main img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.badge { position: absolute; top: 18px; inset-inline-start: 18px; z-index: 1; background: var(--clay); color: var(--pine); font-size: 10px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; padding: 7px 12px; }
.shot-label { position: absolute; bottom: 18px; inset-inline-end: 18px; z-index: 1; background: rgba(38, 53, 48, .82); color: var(--cream); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; padding: 9px 14px; }

/* Buy box */
.buybox { background: var(--pine); color: var(--cream); padding: 64px clamp(24px, 4.4vw, 64px) 64px clamp(24px, 3.9vw, 56px); min-height: calc(100vh - 110px); }
.crumbs { color: rgba(242, 233, 206, .5); margin-bottom: 26px; }
.crumbs a:hover { color: var(--clay); }
.pdp__ar { font-family: var(--kufi); font-size: 24px; color: var(--clay); margin: 0 0 10px; }
.pdp__title { font-family: var(--display); font-weight: 400; font-size: clamp(44px, 4vw, 58px); line-height: 1.05; margin: 0 0 14px; }
.pdp__meta { display: flex; align-items: baseline; flex-wrap: wrap; gap: 18px; margin-bottom: 26px; }
.pdp__price { font-size: 22px; color: var(--clay); }
.stars { color: var(--clay); letter-spacing: .1em; }
.pdp__rating { font-size: 12.5px; letter-spacing: .1em; color: var(--muted-on-pine); }
.pdp__desc { font-size: 16.5px; line-height: 1.75; color: rgba(242, 233, 206, .8); margin: 0 0 34px; max-width: 46ch; text-wrap: pretty; }

fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
.opt { margin-bottom: 30px; }
.opt__head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 12px; color: rgba(242, 233, 206, .6); }
.opt__head .link { color: var(--clay); border: 0; padding: 0; }
.opt legend { padding: 0; float: left; width: 100%; margin-bottom: 12px; }
.opt__head.eyebrow { margin-bottom: 0; }
.choices { clear: both; display: flex; gap: 10px; flex-wrap: wrap; }
.choices label { position: relative; }
.choices input { position: absolute; inset: 0; opacity: 0; cursor: pointer; margin: 0; width: 100%; height: 100%; }
.choices input:focus-visible + span { outline: 2px solid var(--clay); outline-offset: 3px; }
.size .choices input + span { display: inline-block; min-width: 48px; text-align: center; padding: 12px 16px; border: 1px solid rgba(242, 233, 206, .35); font-size: 13px; transition: background .2s, border-color .2s, color .2s; }
.size input:checked + span { background: var(--clay); border-color: var(--clay); color: var(--pine); }
.size input:hover + span { border-color: var(--clay); }
.swatch .choices input + span { display: block; width: 30px; height: 30px; border: 1px solid rgba(242, 233, 206, .3); background: var(--c); }
.swatch input:checked + span { border-color: var(--clay); outline: 2px solid rgba(166, 124, 73, .45); outline-offset: 2px; }

.buy-row { display: flex; gap: 14px; margin-bottom: 18px; }
.qty { display: flex; align-items: center; border: 1px solid rgba(242, 233, 206, .35); }
.qty button { width: 52px; height: 58px; font-size: 18px; color: var(--cream); }
.qty button:hover { color: var(--clay); }
.qty output { min-width: 28px; text-align: center; font-size: 15px; }
.add { flex: 1; height: 58px; background: var(--clay); color: var(--pine); font-weight: 700; font-size: 12.5px; letter-spacing: .16em; text-transform: uppercase; transition: background .2s; }
.add:hover { background: var(--cream); }
.ship-line { font-size: 12.5px; color: var(--muted-on-pine); margin: 0 0 36px; }

.acc { border-top: 1px solid var(--rule-on-pine); }
.acc details { border-bottom: 1px solid var(--rule-on-pine); }
.acc summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; padding: 20px 0; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; }
.acc summary::-webkit-details-marker { display: none; }
.acc summary::after { content: "+"; color: var(--clay); font-size: 16px; }
.acc details[open] summary::after { content: "−"; }
.acc p { margin: 0 0 22px; font-size: 14.5px; line-height: 1.75; color: rgba(242, 233, 206, .75); max-width: 52ch; }

/* Story */
.story { display: grid; grid-template-columns: 1fr 1fr; background: var(--olive); color: var(--cream); }
.story .plate { min-height: 520px; }
.story__text { padding: clamp(48px, 5.6vw, 80px) clamp(24px, 4.4vw, 64px); display: flex; flex-direction: column; justify-content: center; }
.story__text .eyebrow { color: rgba(242, 233, 206, .7); margin-bottom: 18px; }
.story__text h2 { font-family: var(--display); font-weight: 400; font-size: clamp(32px, 3.1vw, 44px); line-height: 1.1; margin: 0 0 20px; }
.story__text p { font-size: 16.5px; line-height: 1.75; color: rgba(242, 233, 206, .88); margin: 0 0 16px; max-width: 48ch; text-wrap: pretty; }
.story__text p:last-child { margin-bottom: 0; }

/* Specs */
.block { padding: clamp(48px, 5vw, 72px) var(--gutter); }
.block h2 { font-family: var(--display); font-weight: 400; font-size: clamp(28px, 2.8vw, 40px); margin: 0; }
.block__head { display: flex; align-items: baseline; justify-content: space-between; flex-wrap: wrap; gap: 12px; margin-bottom: 34px; }
.specs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px; background: var(--rule); border: 1px solid var(--rule); }
.specs > div { background: var(--cream); padding: 28px; }
.specs dt { font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: var(--clay); margin-bottom: 10px; }
.specs dd { margin: 0; font-size: 16px; line-height: 1.5; }

/* Reviews */
.reviews__summary { font-size: 12.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--clay); }
.reviews { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.review { border: 1px solid var(--rule-on-pine); padding: 30px; margin: 0; }
.review .stars { margin-bottom: 12px; }
.review blockquote { margin: 0 0 18px; font-size: 16px; line-height: 1.7; color: rgba(242, 233, 206, .85); }
.review figcaption { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: rgba(242, 233, 206, .5); }

/* Pairs well with */
.pairs { grid-template-columns: repeat(4, minmax(0, 1fr)); padding: 0; }

/* Mobile add bar */
.sticky-add { display: none; }

/* Added-to-bag dialog */
.upsell { width: min(760px, calc(100% - 32px)); max-height: calc(100% - 48px); margin: 96px auto auto; padding: 0; border: 0; background: var(--cream); color: var(--pine); box-shadow: 0 30px 80px rgba(0, 0, 0, .45); }
.upsell::backdrop { background: rgba(20, 29, 26, .72); }
.upsell__bar { display: flex; align-items: center; justify-content: space-between; padding: 22px 30px; background: var(--pine); color: var(--cream); position: sticky; top: 0; z-index: 1; }
.upsell__bar span { color: var(--clay); }
.upsell__bar button { color: rgba(242, 233, 206, .7); }
.upsell__bar button:hover { color: var(--cream); }
.upsell__item { display: flex; gap: 18px; align-items: center; padding: 26px 30px; border-bottom: 1px solid var(--rule); }
.upsell__thumb { position: relative; width: 82px; height: 100px; flex: none; background: var(--sand); overflow: hidden; }
.upsell__thumb img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.upsell__name { font-family: var(--display); font-size: 24px; }
.upsell__total { margin-top: 6px; font-size: 15px; color: var(--clay); }
.upsell__ship { width: 220px; flex: none; }
.upsell__ship p { font-size: 12px; letter-spacing: .04em; color: var(--muted); margin: 0 0 8px; }
.meter { height: 4px; background: rgba(38, 53, 48, .15); }
.meter span { display: block; height: 100%; width: 0; background: var(--clay); transition: width .3s ease; }
.upsell__recs { padding: 26px 30px 30px; }
.upsell__recs .eyebrow { color: var(--clay); margin-bottom: 16px; }
.recs { display: flex; flex-direction: column; gap: 14px; list-style: none; margin: 0; padding: 0; }
.rec { display: flex; gap: 16px; align-items: center; border: 1px solid var(--rule); padding: 14px; }
.rec .upsell__thumb { width: 64px; height: 72px; }
.rec__info { flex: 1; min-width: 0; }
.rec__name { font-size: 16px; }
.rec__note { margin-top: 4px; font-size: 12.5px; color: rgba(38, 53, 48, .55); }
.rec__price { font-size: 15.5px; color: var(--clay); }
.rec button { font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; padding: 12px 18px; white-space: nowrap; border: 1px solid var(--pine); background: var(--pine); color: var(--cream); }
.rec button:disabled { border-color: rgba(38, 53, 48, .3); background: transparent; color: rgba(38, 53, 48, .5); cursor: default; }
.upsell__actions { display: flex; gap: 14px; margin-top: 26px; }
.upsell__actions > * { flex: 1; }

/* ---------- Toast ---------- */
.toast { position: fixed; z-index: 50; left: 50%; bottom: 24px; transform: translate(-50%, 16px); background: var(--pine); color: var(--cream); padding: 14px 24px; opacity: 0; pointer-events: none; transition: opacity .3s, transform .3s; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(14px); transition: opacity 1.1s ease, transform 1.1s cubic-bezier(.2, .7, .2, 1); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .img-zoom { transition: none; }
  .announce__track { animation: none; }
  html { scroll-behavior: auto; }
}

/* ---------- Arabic / RTL ---------- */
[dir="rtl"] body { font-family: var(--arabic); font-size: 16px; }
[dir="rtl"] :is(.caps, .link, .add, .btn, .eyebrow, .micro, .announce, .acc summary, .badge, .shot-label, .crumbs, .specs dt, .review figcaption, .reviews__summary, .pdp__rating, .footer h4, .rec button) { font-family: var(--arabic); letter-spacing: 0; text-transform: none; }
[dir="rtl"] :is(h1, h2, h3, blockquote, .who__lead, .closing, .upsell__name) { font-family: var(--kufi); letter-spacing: 0; line-height: 1.4; }
[dir="rtl"] .hero__ar { display: none; }
[dir="rtl"] .hero h1 { font-size: clamp(40px, 6vw, 88px); line-height: 1.3; }
[dir="rtl"] .toast { left: auto; right: 50%; transform: translate(50%, 16px); }
[dir="rtl"] .toast.show { transform: translate(50%, 0); }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .products, .pairs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .chapters { grid-template-columns: 1fr 1fr; }
  .chapter:nth-child(3) { padding-inline-start: 0; border-inline-start: 0; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .specs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .reviews { grid-template-columns: 1fr; }
}
@media (max-width: 820px) {
  .nav, .utility .hide-sm { display: none; }
  .menu-toggle { display: block; }
  .header__row { min-height: 60px; gap: 12px; }
  .wordmark { font-size: 22px; }
  .bag-btn { border: 0; padding: 0; }
  .utility { gap: 16px; font-size: 11px; }
  .announce { height: 30px; font-size: 10px; }
  .who, .houses, .quote, .pdp, .story { grid-template-columns: minmax(0, 1fr); }
  .houses .plate { aspect-ratio: 3 / 4; }
  .quote .plate { min-height: 0; aspect-ratio: 4 / 5; }
  .steps { grid-template-columns: 1fr; }
  .step, .step + .step { padding: 24px 0; border-inline-start: 0; border-bottom: 1px solid var(--rule-on-pine); }
  .products--3 { grid-template-columns: 1fr 1fr; }
  .section-head { flex-direction: column; align-items: flex-start; }
  .trust { grid-template-columns: 1fr; }
  .trust > div + div { border-inline-start: 0; border-top: 1px solid var(--rule); }
  .trust > div { padding: 16px var(--gutter); }

  /* Product page, as in the mobile frame of the design */
  .gallery { position: static; display: flex; flex-direction: column-reverse; padding: 0; gap: 0; }
  .gallery__main { height: 470px; min-height: 0; }
  .gallery__thumbs { flex-direction: row; overflow-x: auto; padding: 10px var(--gutter) 14px; gap: 10px; }
  .gallery__thumbs button { flex: 0 0 74px; height: 88px; }
  .badge { font-size: 9px; top: 14px; inset-inline-start: 14px; padding: 6px 10px; }
  .shot-label { display: none; }
  .buybox { min-height: 0; padding: 26px var(--gutter) 30px; }
  .pdp__ar { font-size: 18px; margin-bottom: 6px; }
  .pdp__title { font-size: 40px; margin-bottom: 10px; }
  .pdp__desc { font-size: 15px; margin-bottom: 26px; }
  .size .choices { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 4px; scrollbar-width: none; }
  .size .choices::-webkit-scrollbar { display: none; }
  .story .plate { min-height: 280px; }
  .pairs { display: flex; overflow-x: auto; scrollbar-width: none; }
  .pairs::-webkit-scrollbar { display: none; }
  .pairs .tile { flex: none; width: 180px; }
  .sticky-add { position: sticky; bottom: 0; z-index: 20; display: flex; align-items: center; gap: 12px; padding: 12px var(--gutter); background: rgba(38, 53, 48, .96); border-top: 1px solid rgba(166, 124, 73, .4); color: var(--cream); }
  .sticky-add__info { flex: 1; font-size: 13px; }
  .sticky-add__info span { display: block; font-size: 12.5px; color: var(--clay); }
  .sticky-add .add { flex: none; height: auto; padding: 15px 24px; font-size: 11px; }

  .upsell { width: 100%; max-width: none; margin: auto 0 0; max-height: 88%; }
  .upsell__bar { padding: 16px var(--gutter); }
  .upsell__item { flex-wrap: wrap; padding: 18px var(--gutter); gap: 14px; }
  .upsell__thumb { width: 60px; height: 74px; }
  .upsell__name { font-size: 19px; }
  .upsell__ship { width: 100%; }
  .upsell__recs { padding: 20px var(--gutter) 22px; }
  .rec { padding: 10px; gap: 12px; }
  .rec .upsell__thumb { width: 52px; height: 62px; }
  .rec__note { display: none; }
  .upsell__actions { flex-direction: column-reverse; gap: 10px; }
}
@media (max-width: 560px) {
  .chapters { grid-template-columns: 1fr; }
  .chapter, .chapter + .chapter { padding: 24px 0; border-inline-start: 0; border-bottom: 1px solid var(--rule); }
  .footer__brand { grid-column: 1 / -1; }
  .specs { grid-template-columns: 1fr; }
  .specs > div { padding: 20px; }
  .lang-toggle { font-size: 13px; }
}
