/* ==========================================================================
   Ahlam Alqamar: site styles (Arabic RTL and English LTR)
   Derived once (2026-11-04) from the reference design in
   references/home-collections/ahlam (css/styles.css): its tokens, layout and
   motion, with the store rules dropped and the brand's own type (Alexandria
   for Arabic, Figtree for English) in place of the reference's serifs.
   Edited directly since. Direction-sensitive rules use logical properties
   (inline-start/end), so one stylesheet serves both languages.
   ========================================================================== */

:root {
  --bg: #faf7f3;
  --band: #f3eee8;
  --card: #f1ebe4;
  --card-2: #ece5dc;
  --white: #fffdfb;
  --ink: #2a2a24;
  --ink-soft: #4b4a43;
  --muted: #7d776d;
  --line: #e4ddd3;
  --olive: #3d4633;
  --olive-2: #4b5641;
  --olive-accent: #5a6548;
  --olive-ink: #eef0e8;

  --font: "Figtree", system-ui, -apple-system, "Segoe UI", sans-serif;
  --display-weight: 500;
  --track: -.02em;
  --track-tight: -.03em;
  --eyebrow-track: .14em;

  --radius: 16px;
  --radius-sm: 12px;
  --shadow: 0 18px 40px -18px rgba(60, 50, 35, .25);
  --shadow-sm: 0 6px 18px -8px rgba(60, 50, 35, .22);
  --ease: cubic-bezier(.22, .61, .36, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --container: 1240px;
  --gutter: clamp(16px, 4vw, 48px);
  --dir: 1; /* multiply horizontal motion by this; -1 in RTL */
}

/* Arabic: Alexandria throughout, no letter-spacing (it breaks joined letters) */
:root[lang="ar"] {
  --font: "Alexandria", "Figtree", system-ui, sans-serif;
  --track: 0;
  --track-tight: 0;
  --eyebrow-track: 0;
  --dir: -1;
}
:root[dir="rtl"] { --origin-start: right; --origin-end: left; }
:root[dir="ltr"] { --origin-start: left; --origin-end: right; }

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 15px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
:root[lang="ar"] body { font-size: 15px; line-height: 1.85; font-weight: 300; }
:root[lang="ar"] strong, :root[lang="ar"] b { font-weight: 500; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; padding: 0; }
h1, h2, h3, h4, p, dl, dd, figure { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
svg { width: 1em; height: 1em; flex: none; }
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
:focus-visible { outline: 2px solid var(--olive-accent); outline-offset: 3px; border-radius: 6px; }
.skip-link {
  position: fixed; inset-inline-start: 16px; top: -60px; z-index: 130; background: var(--olive); color: #fff;
  padding: 10px 18px; border-radius: 999px; transition: top .3s var(--ease);
}
.skip-link:focus { top: 12px; }
bdi { unicode-bidi: isolate; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.container.narrow { max-width: 860px; }
.section { padding: clamp(56px, 7vw, 88px) 0; }
.section-tight { padding: clamp(14px, 1.6vw, 20px) 0; }
.section-gap { height: clamp(40px, 5vw, 64px); }

/* ---------- Type ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 9px;
  font-size: 11px; font-weight: 600; letter-spacing: var(--eyebrow-track); text-transform: uppercase;
  color: var(--ink-soft); margin-bottom: 18px;
}
:root[lang="ar"] .eyebrow { font-size: 13px; font-weight: 500; }
.eyebrow svg { width: 7px; height: 7px; color: var(--olive-accent); }
.eyebrow.light { color: rgba(255, 255, 255, .8); }
.eyebrow.light svg { color: #c9cfb9; }

.h2 {
  display: block; font-weight: var(--display-weight);
  font-size: clamp(26px, 2.4vw, 34px); line-height: 1.18; letter-spacing: var(--track);
  color: var(--ink);
}
:root[lang="ar"] .h2 { font-size: clamp(24px, 2.2vw, 31px); line-height: 1.5; }
.h3 { font-weight: var(--display-weight); font-size: 21px; line-height: 1.3; letter-spacing: var(--track); }
.muted { color: var(--muted); }
.small { font-size: 13px; line-height: 1.7; }

/* ---------- Buttons & links ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  height: 50px; padding: 0 26px; border-radius: 999px;
  font-size: 14px; font-weight: 500; white-space: nowrap;
  transition: background .35s var(--ease), transform .35s var(--ease), box-shadow .35s var(--ease), color .35s, border-color .35s;
}
:root[lang="ar"] .btn { font-size: 14.5px; }
.btn svg { width: 17px; height: 17px; transition: transform .35s var(--ease); }
.btn:hover svg { transform: translateX(calc(4px * var(--dir))); }
.btn-dark { background: var(--olive); color: #fff; }
.btn-dark:hover { background: #2f3727; box-shadow: 0 10px 24px -10px rgba(47, 55, 39, .6); transform: translateY(-1px); }
.btn-light { background: #fff; color: var(--olive); }
.btn-light:hover { background: var(--band); transform: translateY(-1px); }
.btn-ghost { border: 1px solid var(--line); background: var(--white); color: var(--ink); }
.btn-ghost:hover { border-color: var(--olive-accent); }
.btn-sm { height: 40px; padding: 0 20px; font-size: 13px; }
.btn-block { width: 100%; }
.btn-grow { flex: 1 1 auto; } /* auto basis: a basis of 0 collapsed the button's height in a column */

.text-link {
  position: relative; display: inline-flex; align-items: center; gap: 14px;
  font-size: 13px; font-weight: 500; color: var(--ink);
}
:root[lang="ar"] .text-link { font-size: 14px; }
.text-link::after {
  content: ""; position: absolute; inset-inline-start: 0; bottom: -3px; height: 1px;
  width: calc(100% - 31px); background: currentColor; transform-origin: var(--origin-start);
  transition: transform .45s var(--ease);
}
.text-link:hover::after { transform: scaleX(.35); }
.text-link svg { width: 17px; height: 17px; transition: transform .35s var(--ease); }
.text-link:hover svg { transform: translateX(calc(5px * var(--dir))); }
.text-link.light { color: #fff; }

.round-btn {
  width: 40px; height: 40px; border-radius: 50%;
  display: grid; place-items: center;
  transition: background .3s var(--ease), color .3s var(--ease), transform .3s var(--ease), border-color .3s;
}
.round-btn svg { width: 18px; height: 18px; }
.round-btn.outline-light { border: 1px solid rgba(255, 255, 255, .55); color: #fff; background: rgba(40, 46, 34, .28); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.round-btn.outline-light:hover { background: #fff; color: var(--olive); }
.round-btn:active { transform: scale(.92); }

.icon-btn { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 50%; position: relative; transition: background .3s, color .3s; }
.icon-btn svg { width: 20px; height: 20px; }
.icon-btn:hover { background: rgba(0, 0, 0, .05); }

.chip {
  display: inline-flex; align-items: center; gap: 8px;
  height: 38px; padding: 0 18px; border-radius: 999px; border: 1px solid var(--line); background: var(--white);
  font-size: 13px; font-weight: 500; color: var(--ink-soft); white-space: nowrap;
  transition: background .3s, color .3s, border-color .3s, transform .3s var(--ease);
}
:root[lang="ar"] .chip { font-size: 13.5px; }
.chip:hover { border-color: var(--olive-accent); color: var(--ink); }
.chip.is-active { background: var(--olive); border-color: var(--olive); color: #fff; }
.chip-n { font-size: 11px; color: var(--muted); font-variant-numeric: tabular-nums; }
.chip.is-active .chip-n { color: rgba(255, 255, 255, .7); }

/* ---------- Logo ---------- */
/* the logo is the company name, set as text, with no symbol (owner,
   2026-11-05): the name in a heavier weight, "للتجارة / TRADING" lighter */
.logo { display: inline-flex; align-items: baseline; gap: 9px; flex: none; color: var(--ink); white-space: nowrap; line-height: 1.2; }
.logo-name { font-size: 15px; font-weight: 700; letter-spacing: .14em; }
.logo-sub { font-size: 15px; font-weight: 400; letter-spacing: .14em; color: var(--ink-soft); }
:root[lang="ar"] .logo { gap: 7px; }
:root[lang="ar"] .logo-name { font-size: 22px; font-weight: 600; letter-spacing: 0; }
:root[lang="ar"] .logo-sub { font-size: 22px; font-weight: 300; letter-spacing: 0; }
/* the footer shows the full company name, in the header logo's style */
.logo-full .logo-name { text-transform: uppercase; }
.logo-full { white-space: normal; }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 50;
  transition: background .4s var(--ease), box-shadow .4s var(--ease), padding .4s var(--ease);
  padding: 14px 0;
}
.site-header.is-scrolled {
  background: rgba(250, 247, 243, .9);
  backdrop-filter: saturate(1.4) blur(14px);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  box-shadow: 0 1px 0 var(--line), 0 10px 30px -20px rgba(0, 0, 0, .25);
  padding: 8px 0;
}
.header-inner { display: flex; align-items: center; gap: 24px; }

.main-nav { display: flex; gap: clamp(18px, 2.2vw, 34px); margin: 0 auto; }
.main-nav a {
  position: relative; font-size: 14px; font-weight: 500; color: var(--ink-soft); padding: 6px 0;
  transition: color .3s; white-space: nowrap;
}
:root[lang="ar"] .main-nav a { font-size: 14.5px; font-weight: 400; }
.main-nav a::after {
  content: ""; position: absolute; inset-inline: 0; bottom: 0; height: 1.5px; border-radius: 2px;
  background: var(--olive); transform: scaleX(0); transform-origin: var(--origin-end); transition: transform .45s var(--ease);
}
.main-nav a:hover, .main-nav a.is-active { color: var(--ink); }
.main-nav a:hover::after, .main-nav a.is-active::after { transform: scaleX(1); transform-origin: var(--origin-start); }

.header-actions { display: flex; align-items: center; gap: 4px; }
.header-cta { margin-inline-start: 10px; }
.lang-switch {
  display: grid; place-items: center; min-width: 38px; height: 38px; padding: 0 8px; border-radius: 99px;
  font-size: 13px; font-weight: 600; color: var(--ink-soft); border: 1px solid var(--line);
  transition: background .3s, color .3s, border-color .3s;
}
.lang-switch:lang(ar) { font-family: "Alexandria", sans-serif; font-size: 15px; line-height: 1; }
.lang-switch:lang(en) { font-family: "Figtree", sans-serif; }
.lang-switch:hover { background: var(--olive); border-color: var(--olive); color: #fff; }
.menu-toggle { display: none; }

/* Drawer */
.drawer { position: fixed; inset: 0; z-index: 80; background: rgba(30, 30, 25, .35); opacity: 0; visibility: hidden; transition: opacity .35s, visibility .35s; }
.drawer.is-open { opacity: 1; visibility: visible; }
.drawer-panel {
  overscroll-behavior: contain;
  position: absolute; inset-inline-end: 0; top: 0; bottom: 0; width: min(340px, 88vw); background: var(--bg);
  padding: 24px 26px 28px; display: flex; flex-direction: column; gap: 22px; overflow-y: auto;
  transform: translateX(calc(100% * var(--dir))); transition: transform .5s var(--ease-out);
}
.drawer.is-open .drawer-panel { transform: none; }
.drawer-panel .logo { align-self: flex-start; }
.drawer nav { display: flex; flex-direction: column; margin-top: 8px; }
.drawer nav a { font-size: 22px; font-weight: 500; letter-spacing: var(--track); padding: 10px 0; border-bottom: 1px solid var(--line); }
.drawer nav a[aria-current] { color: var(--olive-accent); }
.drawer-close { position: absolute; top: 22px; inset-inline-end: 18px; }
.drawer .btn { margin-top: auto; }

/* drawer language switch: both languages as a segmented pill, current one in
   olive; fixed order in both languages (العربية right, English left), so
   switching moves the highlight, not the words */
.lang-seg { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; padding: 4px; border-radius: 999px; background: var(--card); direction: rtl; }
.lang-seg a {
  display: grid; place-items: center; height: 44px; border-radius: 999px;
  font-size: 15px; font-weight: 500; color: var(--ink-soft); transition: background-color .25s, color .25s;
}
.lang-seg a:not(.is-active):hover { background: var(--card-2); color: var(--ink); }
.lang-seg a.is-active { background: var(--olive); color: #fff; }
.lang-seg a[lang="ar"] { font-family: "Alexandria", system-ui, sans-serif; }
.lang-seg a[lang="en"] { font-family: "Figtree", system-ui, sans-serif; }

/* Search overlay */
.search-overlay { position: fixed; inset: 0; z-index: 85; background: rgba(30, 30, 25, .4); opacity: 0; visibility: hidden; transition: opacity .35s, visibility .35s; }
.search-overlay.is-open { opacity: 1; visibility: visible; }
.search-panel {
  background: var(--bg); padding: 28px 0 32px; box-shadow: var(--shadow); max-height: 85vh; max-height: 85dvh; overflow-y: auto; overscroll-behavior: contain;
  transform: translateY(-30px); transition: transform .5s var(--ease-out);
}
.search-overlay.is-open .search-panel { transform: none; }
.search-bar { display: flex; align-items: center; gap: 14px; border-bottom: 1.5px solid var(--ink); padding-bottom: 10px; }
.search-bar > svg { width: 22px; height: 22px; color: var(--muted); }
.search-bar input {
  flex: 1; min-width: 0; border: 0; background: none; font: inherit; font-weight: 400;
  font-size: clamp(20px, 2.4vw, 28px); letter-spacing: var(--track); color: var(--ink); outline: none; padding: 6px 0;
}
.search-bar input::-webkit-search-cancel-button { display: none; }
.search-hint { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 16px; font-size: 13px; color: var(--muted); }
.search-hint button { padding: 4px 12px; border-radius: 99px; background: var(--card); color: var(--ink-soft); transition: background .3s; }
.search-hint button:hover { background: var(--card-2); }
.search-results:not(:empty) { margin-top: 24px; }
.search-label { font-size: 12px; text-transform: uppercase; letter-spacing: var(--eyebrow-track); color: var(--muted); margin-bottom: 12px; }
.search-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 10px; }
.search-item { display: flex; align-items: center; gap: 14px; padding: 8px; border-radius: 12px; transition: background .3s; animation: rise .5s var(--ease-out) both; }
.search-item:hover, .search-item:focus-visible { background: var(--card); }
.search-thumb { width: 64px; height: 64px; border-radius: 10px; overflow: hidden; background: var(--card); flex: none; }
.search-thumb img { width: 100%; height: 100%; object-fit: cover; }
.search-item > span:last-child { display: flex; flex-direction: column; }
.search-item strong { font-weight: 500; }
.search-item small { color: var(--muted); font-size: 12.5px; }
.search-empty { color: var(--muted); }

/* ---------- Product photos ----------
   A photo whose border is mostly light (build.py: is-cutout) is a product
   card or studio shot: it is shown whole, and the rest of its frame takes the
   photo's own background tone (--edge, sampled by build.py), so it fills the
   frame without its text or badges being cropped. Real photos (is-photo)
   fill their frame by cropping. */
img.is-cutout { object-fit: contain !important; background-color: var(--edge, #fff); }

/* ---------- Home: hero ---------- */
.hero { position: relative; }
.hero-grid {
  display: grid; grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr);
  align-items: stretch; min-height: min(820px, 100vh);
  padding-inline-start: max(var(--gutter), calc((100vw - var(--container)) / 2 + var(--gutter)));
}
.hero-copy { padding-block: 150px 60px; padding-inline-end: 44px; align-self: center; min-width: 0; }
.hero-title {
  font-weight: var(--display-weight);
  font-size: clamp(36px, 3.5vw, 58px); line-height: 1.08; letter-spacing: var(--track-tight);
  margin-bottom: 26px;
}
:root[lang="ar"] .hero-title { line-height: 1.38; font-size: clamp(36px, 4.2vw, 62px); font-weight: 500; }
.hero-title .line { display: block; overflow: hidden; padding-bottom: .06em; }
/* Arabic dots below the line (ي ج) hang under the line box: room for them inside the clip, taken back from the spacing */
:root[lang="ar"] .hero-title .line { padding-bottom: .28em; margin-bottom: -.22em; }
.hero-title .line > span { display: inline-block; }
.hero-title .accent { color: var(--olive-accent); }
.hero-text { color: var(--ink-soft); font-size: 15.5px; line-height: 1.75; margin-bottom: 18px; max-width: 42ch; }
.hero-note {
  display: flex; align-items: flex-start; gap: 10px; max-width: 46ch; margin-bottom: 30px;
  padding: 12px 16px; border-radius: 14px; background: var(--card); color: var(--ink-soft); font-size: 13.5px; line-height: 1.7;
}
.hero-note svg { width: 18px; height: 18px; color: var(--olive-accent); margin-top: 3px; }
:root[lang="ar"] .hero-note { font-size: 13.5px; line-height: 1.85; }
:root[lang="ar"] .hero-text { font-size: 16px; line-height: 1.95; }
.hero-ctas { display: flex; align-items: center; gap: 26px; flex-wrap: wrap; margin-bottom: 48px; }
.play-link { display: inline-flex; align-items: center; gap: 12px; font-size: 13.5px; font-weight: 500; }
.play-circle {
  width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--ink); display: grid; place-items: center;
  position: relative; transition: background .35s var(--ease), color .35s var(--ease), border-color .35s;
}
.play-circle svg { width: 18px; height: 18px; }
.play-circle::after {
  content: ""; position: absolute; inset: -1px; border-radius: 50%; border: 1px solid var(--ink);
  animation: pulse 2.6s var(--ease) infinite;
}
@keyframes pulse { 0% { transform: scale(1); opacity: .55; } 80%, 100% { transform: scale(1.7); opacity: 0; } }
.play-link:hover .play-circle { background: var(--olive); color: #fff; border-color: var(--olive); }

/* the range, where the reference shows its "trusted by" row */
.hero-ranges p { font-size: 13px; color: var(--ink-soft); margin-bottom: 12px; }
.range-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.range-chips .chip { height: 32px; padding: 0 14px; font-size: 12.5px; }

.hero-media { position: relative; min-height: 420px; }
/* the photo starts below the header (the reference runs it to the top, but
   the nav cannot be read over a darker photo) and keeps the bleed to the
   page edge; its two inner corners are rounded */
.hero-img-wrap { position: absolute; inset: 86px 0 0 0; overflow: hidden; border-start-start-radius: 28px; border-end-start-radius: 28px; background: var(--card); }
.hero-img-wrap img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 55%; }
.collection-card {
  position: absolute; inset-inline-end: clamp(16px, 3vw, 40px); bottom: clamp(16px, 3vw, 36px); z-index: 2;
  display: flex; align-items: center; gap: 22px;
  background: rgba(255, 253, 251, .96); border-radius: 22px; padding: 16px; padding-inline-start: 24px;
  box-shadow: var(--shadow);
  transition: transform .5s var(--ease), box-shadow .5s var(--ease);
}
.collection-card:hover { transform: translateY(-6px); box-shadow: 0 28px 50px -22px rgba(60, 50, 35, .4); }
.cc-copy { display: flex; flex-direction: column; align-items: flex-start; }
.cc-kicker { font-size: 11.5px; color: var(--muted); margin-bottom: 6px; }
.cc-title { font-size: 20px; font-weight: var(--display-weight); line-height: 1.2; letter-spacing: var(--track); margin-bottom: 14px; max-width: 10em; }
.cc-link { display: inline-flex; align-items: center; gap: 10px; font-size: 12.5px; font-weight: 500; }
.cc-link svg { width: 15px; height: 15px; transition: transform .35s var(--ease); }
.collection-card:hover .cc-link svg { transform: translateX(calc(4px * var(--dir))); }
.cc-img { width: 96px; height: 96px; border-radius: 50%; overflow: hidden; background: var(--card); flex: none; transition: transform .8s var(--ease); }
.cc-img img { width: 100%; height: 100%; object-fit: cover; }
.collection-card:hover .cc-img { transform: rotate(-6deg) scale(1.05); }

/* ---------- Feature strip ---------- */
.features-strip { background: var(--band); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.strip-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; padding-top: 34px; padding-bottom: 34px; align-items: start; }
.strip-item { display: flex; align-items: flex-start; gap: 16px; justify-content: center; }
.strip-item > div { padding-top: 4px; }
.strip-icon {
  width: 46px; height: 46px; border-radius: 50%; background: var(--white); display: grid; place-items: center; flex: none;
  color: var(--ink-soft); transition: transform .5s var(--ease), background .4s, color .4s;
}
.strip-icon svg { width: 22px; height: 22px; }
.strip-item:hover .strip-icon, .contact-tile:hover .strip-icon { transform: rotate(-12deg) scale(1.08); background: var(--olive); color: #fff; }
.strip-item h3 { font-size: 13.5px; font-weight: 600; line-height: 1.3; }
.strip-item p { font-size: 12.5px; color: var(--muted); }
:root[lang="ar"] .strip-item h3 { font-size: 14px; font-weight: 500; }
:root[lang="ar"] .strip-item p { font-size: 12.5px; }

/* ---------- Collection cards (the reference's room cards) ---------- */
/* the intro sits above the cards at every width (beside them, ten cards were
   too narrow for the longer Arabic names): heading and "view all" share a
   row, the description runs under them */
.rooms-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: clamp(22px, 2.6vw, 32px); }
.rooms-intro { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; column-gap: 24px; }
.rooms-intro .eyebrow { flex-basis: 100%; }
.rooms-intro .h2 { order: 1; margin-bottom: 0; }
.rooms-intro .text-link { order: 2; }
.rooms-intro .muted { order: 3; flex-basis: 100%; margin: 10px 0 0; }
/* every collection shows on desktop (five to a row); phones swipe a row */
.room-cards { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: clamp(12px, 1.4vw, 18px); }
.room-cards::-webkit-scrollbar { display: none; }
.room-card {
  position: relative; display: block; aspect-ratio: .8; border-radius: var(--radius); overflow: hidden;
  isolation: isolate; box-shadow: var(--shadow-sm); background: var(--card); scroll-snap-align: start;
}
.room-card img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease); }
.room-card::after {
  content: ""; position: absolute; inset: 40% 0 0; z-index: 1;
  background: linear-gradient(to top, rgba(28, 24, 18, .62), rgba(28, 24, 18, 0));
}
.room-card:hover img { transform: scale(1.08); }
.room-label {
  position: absolute; inset-inline: 16px 58px; bottom: 16px; z-index: 2; color: #fff;
  display: flex; flex-direction: column; line-height: 1.3; transition: transform .5s var(--ease);
}
.room-label strong { font-size: 14.5px; font-weight: 600; }
.room-label small { font-size: 12px; opacity: .8; }
:root[lang="ar"] .room-label strong { font-weight: 500; }
.room-arrow {
  position: absolute; inset-inline-end: 14px; bottom: 14px; z-index: 2; width: 36px; height: 36px; border-radius: 50%;
  background: #fff; color: var(--ink); display: grid; place-items: center;
  transition: transform .5s var(--ease), background .4s, color .4s;
}
.room-arrow svg { width: 16px; height: 16px; }
.room-card:hover .room-arrow { transform: rotate(calc(-45deg * var(--dir))); background: var(--olive); color: #fff; }
.room-card:hover .room-label { transform: translateY(-4px); }

/* ---------- Crafted: one product from the catalogue ---------- */
.crafted {
  display: grid; grid-template-columns: 1fr 1.15fr 1fr; border-radius: 20px; overflow: hidden;
  background: var(--card); min-height: 420px;
}
.crafted-copy { padding: clamp(32px, 4vw, 52px); align-self: center; }
.crafted-copy .h2 { margin-bottom: 18px; }
.crafted-copy .muted { font-size: 13.5px; line-height: 1.8; margin-bottom: 28px; max-width: 32ch; }
.crafted-media { display: block; background: #ede6de; overflow: hidden; position: relative; min-height: 320px; }
.crafted-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.crafted:hover .crafted-media img { transform: scale(1.04); }
.crafted-product { background: #f6f1eb; padding: clamp(32px, 4vw, 52px); display: flex; flex-direction: column; justify-content: center; align-items: stretch; gap: 22px; }
.product-name { font-weight: var(--display-weight); font-size: 22px; line-height: 1.25; letter-spacing: var(--track); }
.mini-specs div { display: flex; justify-content: space-between; gap: 14px; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 13px; }
.mini-specs dt { color: var(--muted); }
.mini-specs dd { font-weight: 500; text-align: end; }
.crafted-btns { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }

/* ---------- Olive slider / collection banner ----------
   The reference fades the photo into the olive with mask-image; masks inside
   clipped, animated boxes misrender on iOS Safari, so a gradient overlay
   above the photo does the same job. */
.arrival { position: relative; background: var(--olive-2); color: var(--olive-ink); border-radius: 20px; overflow: hidden; min-height: 320px; }
.arrival::before { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; background: radial-gradient(120% 90% at 0% 0%, rgba(255, 255, 255, .07), transparent 60%); }
.arrival-slides { display: grid; }
.arrival-slide {
  grid-area: 1 / 1; display: grid; grid-template-columns: 1.1fr 1.7fr; align-items: stretch;
  opacity: 0; visibility: hidden; transition: opacity .8s var(--ease), visibility .8s;
}
.arrival-slide.is-active { opacity: 1; visibility: visible; }
.arrival-copy { padding: clamp(32px, 4vw, 52px); align-self: center; position: relative; z-index: 3; }
.arrival-copy .h2 { color: #fff; margin-bottom: 14px; }
.arrival-copy p:not(.eyebrow) { font-size: 14px; line-height: 1.75; color: rgba(238, 240, 232, .82); margin-bottom: 30px; max-width: 36ch; }
.arrival-copy > * { transform: translateY(18px); opacity: 0; transition: transform .8s var(--ease-out), opacity .8s var(--ease); }
.arrival-slide.is-active .arrival-copy > * { transform: none; opacity: 1; }
.arrival-slide.is-active .arrival-copy > :nth-child(2) { transition-delay: .08s; }
.arrival-slide.is-active .arrival-copy > :nth-child(3) { transition-delay: .16s; }
.arrival-slide.is-active .arrival-copy > :nth-child(4) { transition-delay: .24s; }
.arrival-media { position: relative; overflow: hidden; min-height: 320px; }
.arrival-media img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 55%;
  transform: scale(1.08); transition: transform 6s linear;
}
.arrival-slide.is-active .arrival-media img { transform: scale(1.04); } /* trims thin light borders in some client photos */
.arrival-media img.is-cutout, .arrival-slide.is-active .arrival-media img.is-cutout { transform: none; }
.arrival-media::after {
  content: ""; position: absolute; inset: 0; z-index: 2; pointer-events: none;
  background: linear-gradient(to right, var(--olive-2) 0, rgba(75, 86, 65, .55) 16%, rgba(75, 86, 65, 0) 40%);
}
:root[dir="rtl"] .arrival-media::after { background: linear-gradient(to left, var(--olive-2) 0, rgba(75, 86, 65, .55) 16%, rgba(75, 86, 65, 0) 40%); }
.arrival-arrows { position: absolute; top: 22px; inset-inline-end: 24px; z-index: 4; display: flex; gap: 10px; }
.arrival-dots { position: absolute; inset-inline-start: clamp(32px, 4vw, 52px); bottom: 22px; z-index: 4; display: flex; gap: 6px; }
.arrival-dots button { width: 18px; height: 3px; border-radius: 3px; background: rgba(255, 255, 255, .3); transition: width .4s var(--ease), background .4s; }
.arrival-dots button.is-active { width: 34px; background: #fff; }
.banner-hero { padding-top: 104px; }
.banner-card { min-height: 380px; }
.banner-card .arrival-slide { grid-template-columns: 1fr 1.5fr; }
.banner-card .arrival-media { min-height: 380px; }
.banner-title { font-size: clamp(30px, 3.4vw, 46px); }
:root[lang="ar"] .banner-title { font-size: clamp(28px, 3vw, 42px); }

/* ---------- How it works (the reference's "why" grid) ---------- */
.why { padding-bottom: clamp(40px, 5vw, 64px); }
.why-grid { display: grid; grid-template-columns: 270px 1fr; gap: clamp(28px, 4vw, 56px); align-items: center; }
.why-items { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; counter-reset: step; }
.why-item { display: flex; flex-direction: column; gap: 14px; align-items: flex-start; position: relative; padding-top: 18px; border-top: 1px solid var(--line); }
.why-num { position: absolute; top: 14px; inset-inline-end: 0; font-size: 12px; font-weight: 600; color: var(--muted); font-variant-numeric: tabular-nums; }
.why-icon { width: 34px; height: 34px; color: var(--ink-soft); transition: transform .6s var(--ease), color .4s; }
.why-item:hover .why-icon { transform: translateY(-4px) rotate(-8deg); color: var(--olive-accent); }
.why-item h3 { font-size: 14px; font-weight: 600; margin-bottom: 6px; }
.why-item p { font-size: 12.5px; line-height: 1.65; color: var(--muted); max-width: 24ch; }
:root[lang="ar"] .why-item h3 { font-size: 15px; font-weight: 500; }
:root[lang="ar"] .why-item p { font-size: 13px; }

/* ---------- Partners panel (the reference's newsletter panel) ---------- */
.partners-section { padding-bottom: clamp(40px, 5vw, 64px); }
.newsletter {
  position: relative; display: grid; grid-template-columns: 1.15fr auto 1fr; align-items: center; gap: 32px;
  background: var(--card-2); border-radius: 20px; overflow: hidden; min-height: 230px;
  padding-inline-start: clamp(28px, 4vw, 52px);
}
.nl-copy { padding-block: 32px; }
.nl-copy .h2 { font-size: clamp(24px, 2.2vw, 30px); margin-bottom: 10px; }
.nl-copy .muted { max-width: 44ch; }
.nl-actions { display: flex; flex-direction: column; gap: 10px; }
.nl-media { align-self: stretch; position: relative; min-height: 230px; }
.nl-media img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 55%;
  border-start-start-radius: 200px 100%; transition: transform 1.2s var(--ease);
}
.newsletter:hover .nl-media img { transform: scale(1.04); }

/* ---------- Footer ---------- */
.site-footer { padding: clamp(40px, 5vw, 60px) 0 24px; border-top: 1px solid var(--line); }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1.3fr; gap: 32px; }
.footer-brand .logo { margin-bottom: 12px; }
.footer-brand .muted { max-width: 32ch; font-size: 13.5px; }
.footer-col { display: flex; flex-direction: column; gap: 9px; }
.site-footer h4 { font-size: 13.5px; font-weight: 600; margin-bottom: 8px; }
:root[lang="ar"] .site-footer h4 { font-weight: 500; }
.footer-col a, .footer-col span { font-size: 13px; color: var(--muted); transition: color .3s, transform .3s var(--ease); width: fit-content; }
:root[lang="ar"] .footer-col a, :root[lang="ar"] .footer-col span { font-size: 13.5px; }
.footer-col a:hover { color: var(--ink); transform: translateX(calc(3px * var(--dir))); }
.footer-bottom {
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  margin-top: 44px; padding-top: 20px; border-top: 1px solid var(--line); font-size: 12px; color: var(--muted);
}
.footer-legal { display: flex; flex-wrap: wrap; gap: 8px 18px; }
.footer-legal a { text-decoration: underline; text-underline-offset: 3px; }
.footer-legal a:hover { color: var(--ink); }

/* ==========================================================================
   Inner pages
   ========================================================================== */
.page-hero { padding: 124px 0 clamp(36px, 5vw, 64px); background: linear-gradient(var(--band), var(--bg)); }
.page-hero.compact { padding-bottom: clamp(24px, 3vw, 40px); }
.page-hero-grid { display: grid; grid-template-columns: 1fr; gap: clamp(28px, 4vw, 64px); align-items: center; }
.page-hero.has-image .page-hero-grid { grid-template-columns: 1fr 1.05fr; }
.page-title {
  font-weight: var(--display-weight); font-size: clamp(36px, 4.4vw, 60px);
  line-height: 1.06; letter-spacing: var(--track-tight); margin-bottom: 16px;
}
:root[lang="ar"] .page-title { line-height: 1.4; font-size: clamp(32px, 3.8vw, 52px); }
.page-lead { color: var(--ink-soft); font-size: 16px; line-height: 1.75; max-width: 56ch; }
:root[lang="ar"] .page-lead { font-size: 16px; line-height: 1.95; }
.page-hero-media { position: relative; border-radius: 24px; overflow: hidden; aspect-ratio: 1.35; box-shadow: var(--shadow); background: var(--card); }
.page-hero-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; animation: heroZoom 2.4s var(--ease-out) both; }

/* The brand panel: the company name and slogan on olive with a soft light,
   where a page has no fitting photo. Absolutely positioned: iOS Safari does
   not stretch a grid row to a height that comes from aspect-ratio. */
.brand-panel {
  position: absolute; inset: 0; overflow: hidden; color: var(--band);
  background: radial-gradient(90% 90% at 50% 45%, #56614a 0%, var(--olive-2) 45%, var(--olive) 100%);
}
.brand-panel-text {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 86%;
  display: flex; flex-direction: column; align-items: center; gap: 12px; text-align: center;
}
.bp-name { font-size: clamp(26px, 3vw, 40px); font-weight: 600; line-height: 1.3; color: #fff; letter-spacing: .06em; text-transform: uppercase; }
.bp-name span { font-weight: 300; }
:root[lang="ar"] .bp-name { letter-spacing: 0; }
.bp-slogan { font-size: clamp(13px, 1.2vw, 16px); color: rgba(238, 240, 232, .82); }
.bp-slogan::before { content: ""; display: block; width: 40px; height: 1px; margin: 0 auto 12px; background: rgba(238, 240, 232, .45); }

.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: 12.5px; color: var(--muted); margin-bottom: 22px; }
.crumbs a { transition: color .3s; }
.crumbs a:hover { color: var(--ink); }
.crumbs [aria-current] { color: var(--ink-soft); }
.crumb-sep { opacity: .5; }

.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 28px; flex-wrap: wrap; }
.section-head .eyebrow { margin-bottom: 10px; }
.lead-text { font-size: clamp(18px, 1.8vw, 22px); font-weight: 400; line-height: 1.65; color: var(--ink-soft); text-align: center; padding: clamp(28px, 4vw, 52px) 0; letter-spacing: var(--track); }
:root[lang="ar"] .lead-text { font-weight: 300; line-height: 1.95; }

/* ---------- Product cards / grid ---------- */
.product-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(14px, 2vw, 24px); }
.product-grid.is-refreshing .product-card:not([hidden]) { animation: rise .6s var(--ease-out) both; }
.product-card { display: flex; flex-direction: column; background: var(--white); border-radius: var(--radius); overflow: hidden; box-shadow: 0 1px 0 var(--line); transition: box-shadow .5s var(--ease), transform .5s var(--ease); }
.product-card:hover { box-shadow: var(--shadow); transform: translateY(-4px); }
.pc-media { position: relative; display: block; aspect-ratio: 1; overflow: hidden; background: var(--card); }
.pc-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease); }
.product-card:hover .pc-media img { transform: scale(1.06); }
.pc-body { padding: 16px 18px 18px; display: flex; flex-direction: column; flex: 1; }
.pc-cat { font-size: 11.5px; color: var(--muted); margin-bottom: 4px; }
.pc-name { font-weight: var(--display-weight); font-size: 17px; line-height: 1.3; letter-spacing: var(--track); margin-bottom: 14px; flex: 1; }
:root[lang="ar"] .pc-name { font-size: 15.5px; line-height: 1.6; }
.pc-name a { transition: color .3s; }
.pc-name a:hover { color: var(--olive-accent); }
.pc-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.pc-detail { font-size: 12px; color: var(--ink-soft); min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pc-actions { display: flex; gap: 6px; flex: none; }
.pc-btn {
  width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--line); display: grid; place-items: center;
  transition: background .3s, color .3s, border-color .3s, transform .4s var(--ease);
}
.pc-btn svg { width: 17px; height: 17px; }
.pc-btn:hover { background: var(--olive); color: #fff; border-color: var(--olive); }
.pc-btn-dark { background: var(--olive); border-color: var(--olive); color: #fff; }
.pc-btn-dark:hover { background: #2f3727; }

/* ---------- Products page: collection chips ---------- */
.shop { padding-bottom: clamp(32px, 4vw, 56px); }
.shop-cats-wrap { position: relative; margin-bottom: 18px; border-bottom: 1px solid var(--line); }
.shop-cats { display: flex; gap: 8px; overflow-x: auto; overflow-y: hidden; overscroll-behavior-x: contain; scrollbar-width: none; padding: 4px 2px 18px; }
.shop-cats::-webkit-scrollbar { display: none; }
/* Edge fades say there are more chips that way (set by site.js: can-prev,
   can-next). Gradients on pseudo-elements, not mask-image (iOS). */
.shop-cats-wrap::before, .shop-cats-wrap::after {
  content: ""; position: absolute; top: 0; bottom: 14px; width: 72px; pointer-events: none;
  opacity: 0; transition: opacity .25s;
}
.shop-cats-wrap::before { inset-inline-start: 0; background: linear-gradient(to right, var(--bg) 30%, rgba(250, 247, 243, 0)); }
.shop-cats-wrap::after { inset-inline-end: 0; background: linear-gradient(to left, var(--bg) 30%, rgba(250, 247, 243, 0)); }
[dir="rtl"] .shop-cats-wrap::before { background: linear-gradient(to left, var(--bg) 30%, rgba(250, 247, 243, 0)); }
[dir="rtl"] .shop-cats-wrap::after { background: linear-gradient(to right, var(--bg) 30%, rgba(250, 247, 243, 0)); }
.shop-cats-wrap.can-prev::before, .shop-cats-wrap.can-next::after { opacity: 1; }
.cats-arrow {
  position: absolute; top: 3px; z-index: 1; width: 40px; height: 40px;
  background: var(--white); border: 1px solid var(--line); color: var(--ink); box-shadow: var(--shadow-sm);
  opacity: 0; visibility: hidden; transition: opacity .25s, visibility .25s, background .3s, color .3s;
}
.cats-arrow:hover { background: var(--olive); border-color: var(--olive); color: #fff; }
.cats-prev { inset-inline-start: 0; }
.cats-next { inset-inline-end: 0; }
@media (hover: hover) and (pointer: fine) {
  .shop-cats-wrap.can-prev .cats-prev, .shop-cats-wrap.can-next .cats-next { opacity: 1; visibility: visible; }
  .shop-cats.is-dragging { cursor: grabbing; user-select: none; }
}
.shop-coll-link { margin-top: 28px; text-align: center; }
.soon { margin-top: clamp(32px, 4vw, 56px); }
.soon .eyebrow { margin-bottom: 14px; }
.soon-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.soon-list li {
  display: flex; justify-content: space-between; align-items: center; gap: 12px;
  padding: 18px 20px; border-radius: 14px; background: var(--card); font-size: 14.5px; font-weight: 500;
}
:root[lang="ar"] .soon-list li { font-weight: 400; }
.soon-tag { font-size: 11.5px; font-weight: 500; color: var(--muted); background: var(--white); border-radius: 999px; padding: 4px 11px; }

/* ---------- Product page ---------- */
.product-page { padding: 104px 0 20px; }
.pdp { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(28px, 5vw, 72px); align-items: start; }
.pdp-gallery { position: sticky; top: 92px; }
.pdp-main { position: relative; aspect-ratio: 1; border-radius: 22px; overflow: hidden; background: var(--card); }
.pdp-slide { position: absolute; inset: 0; background: var(--card); }
.pdp-slide img { width: 100%; height: 100%; object-fit: cover; cursor: zoom-in; animation: fadeIn .6s var(--ease) both; }
.pdp-slide figcaption {
  position: absolute; top: 16px; inset-inline-start: 16px; z-index: 2; background: var(--white);
  border-radius: 999px; padding: 5px 13px; font-size: 12px; font-weight: 500; box-shadow: var(--shadow-sm);
}
.lb-open {
  position: absolute; top: 14px; inset-inline-end: 14px; z-index: 3;
  background: var(--white); box-shadow: var(--shadow-sm);
}
.lb-open:hover { background: var(--olive); color: #fff; }
.pdp-nav { position: absolute; bottom: 14px; inset-inline-end: 14px; z-index: 3; display: flex; gap: 8px; }
.pdp-nav .round-btn { background: var(--white); box-shadow: var(--shadow-sm); }
.pdp-nav .round-btn:hover { background: var(--olive); color: #fff; }
.pdp-thumbs { display: flex; gap: 10px; margin-top: 12px; overflow-x: auto; overflow-y: hidden; overscroll-behavior-x: contain; scrollbar-width: none; padding: 3px; }
.pdp-thumb { width: 84px; height: 84px; flex: none; border-radius: 12px; overflow: hidden; background: var(--card); opacity: .6; outline: 1.5px solid transparent; outline-offset: 2px; transition: opacity .3s, outline-color .3s; }
.pdp-thumb img { width: 100%; height: 100%; object-fit: cover; }
.pdp-thumb:hover { opacity: .9; }
.pdp-thumb.is-active { opacity: 1; outline-color: var(--ink); }
.pdp-info { padding-top: 8px; }
.pdp-collection { display: inline-block; font-size: 12px; font-weight: 600; letter-spacing: var(--eyebrow-track); text-transform: uppercase; color: var(--olive-accent); margin-bottom: 10px; }
:root[lang="ar"] .pdp-collection { font-size: 13px; font-weight: 500; }
.pdp-title { font-weight: var(--display-weight); font-size: clamp(30px, 3.4vw, 46px); line-height: 1.12; letter-spacing: var(--track-tight); margin-bottom: 14px; }
:root[lang="ar"] .pdp-title { line-height: 1.45; font-size: clamp(26px, 2.8vw, 38px); }
.pdp-short { color: var(--ink-soft); line-height: 1.75; margin-bottom: 26px; max-width: 46ch; }
.pdp-label { font-size: 12px; font-weight: 600; letter-spacing: var(--eyebrow-track); text-transform: uppercase; color: var(--muted); margin-bottom: 6px; }
:root[lang="ar"] .pdp-label { font-size: 13px; font-weight: 500; }
.pd-specs { border-top: 1px solid var(--line); }
.pd-specs div { display: flex; justify-content: space-between; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.pd-specs dt { color: var(--muted); }
.pd-specs dd { font-weight: 500; text-align: end; }
:root[lang="ar"] .pd-specs dd { font-weight: 400; }
.pdp-cta { display: flex; gap: 12px; margin-top: 26px; }
.pdp-note { display: flex; gap: 12px; align-items: flex-start; margin-top: 18px; padding: 16px 18px; border-radius: 14px; background: var(--card); font-size: 13px; color: var(--ink-soft); line-height: 1.7; }
.pdp-note svg { width: 18px; height: 18px; color: var(--olive-accent); margin-top: 3px; }

/* ---------- Collections ---------- */
.collection-list { display: grid; gap: clamp(18px, 2.4vw, 28px); }
.collection-row { display: grid; grid-template-columns: 1.4fr 1fr; background: var(--card); border-radius: 22px; overflow: hidden; min-height: 340px; transition: box-shadow .5s var(--ease); }
.collection-row.flip { grid-template-columns: 1fr 1.4fr; }
.collection-row.flip .cr-media { order: 2; }
.collection-row:hover { box-shadow: var(--shadow); }
.cr-media { position: relative; overflow: hidden; background: #ede6de; min-height: 300px; }
.cr-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.collection-row:hover .cr-media img { transform: scale(1.05); }
.cr-copy { padding: clamp(28px, 4vw, 56px); align-self: center; display: flex; flex-direction: column; align-items: flex-start; }
.cr-copy .h2 { margin-bottom: 12px; font-size: clamp(26px, 2.6vw, 36px); }
.cr-copy .muted { margin-bottom: 26px; max-width: 40ch; }
.collection-row:hover .text-link svg { transform: translateX(calc(5px * var(--dir))); }
.mini-collections { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.mini-collection { position: relative; display: block; border-radius: var(--radius); overflow: hidden; aspect-ratio: 1.6; isolation: isolate; background: var(--card); }
.mini-collection img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.mini-collection::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(28, 24, 18, .62), transparent 60%); }
.mini-collection span { position: absolute; inset-inline: 18px; bottom: 16px; z-index: 2; color: #fff; font-size: 18px; font-weight: 500; display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.mini-collection span svg { width: 18px; height: 18px; transition: transform .4s var(--ease); }
.mini-collection:hover img { transform: scale(1.07); }
.mini-collection:hover span svg { transform: translateX(calc(5px * var(--dir))); }

/* ---------- About ---------- */
.split { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(28px, 5vw, 72px); align-items: center; }
.split-media { position: relative; border-radius: 22px; overflow: hidden; aspect-ratio: 1.3; background: var(--card); }
.split-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.split:hover .split-media img { transform: scale(1.04); }
.split-copy .h2 { margin-bottom: 14px; }
.split-copy .muted { margin-bottom: 22px; line-height: 1.85; }
.cta-band {
  display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap;
  background: var(--olive-2); color: var(--olive-ink); border-radius: 20px; padding: clamp(28px, 4vw, 48px);
  position: relative; overflow: hidden;
}
.cta-band::before { content: ""; position: absolute; inset: 0; background: radial-gradient(90% 120% at 100% 0%, rgba(255, 255, 255, .08), transparent 60%); pointer-events: none; }
.cta-band > * { position: relative; }
.cta-band .h2 { color: #fff; margin-bottom: 6px; }
.cta-band p { color: rgba(238, 240, 232, .82); max-width: 60ch; }

/* ---------- Contact ---------- */
.contact { display: grid; grid-template-columns: 1.5fr 1fr; gap: clamp(20px, 3vw, 36px); align-items: stretch; }
.contact-tiles { display: grid; grid-template-columns: 1fr 1fr; grid-auto-rows: 1fr; gap: 14px; height: 100%; }
.contact-tile {
  display: flex; align-items: center; gap: 16px; padding: 22px; border-radius: 18px; background: var(--white);
  box-shadow: 0 1px 0 var(--line); transition: box-shadow .4s var(--ease), transform .4s var(--ease);
}
a.contact-tile:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.contact-tile .strip-icon { background: var(--card); }
.ct-copy { display: flex; flex-direction: column; min-width: 0; flex: 1; }
.ct-copy strong { font-size: 14px; font-weight: 600; }
:root[lang="ar"] .ct-copy strong { font-weight: 500; }
.ct-copy span { color: var(--ink-soft); font-size: 14px; overflow-wrap: anywhere; }
.contact-tile.is-pending .ct-copy span { color: var(--muted); }
.ct-arrow { width: 18px; height: 18px; color: var(--muted); transition: transform .4s var(--ease); }
a.contact-tile:hover .ct-arrow { transform: translateX(calc(4px * var(--dir))); color: var(--olive); }
.contact-card { background: var(--card); border-radius: 22px; overflow: hidden; position: sticky; top: 92px; }
.brand-panel-card { position: relative; height: 200px; }
.brand-panel-card .bp-name { font-size: clamp(22px, 2.2vw, 28px); }
.contact-card-copy { padding: 24px; display: grid; gap: 12px; justify-items: start; }
.contact-card-copy .muted { line-height: 1.8; }

/* ---------- 404 ---------- */
.picker-page { min-height: 100vh; display: grid; place-items: center; background: linear-gradient(var(--band), var(--bg)); padding: 24px 16px; }
.picker { text-align: center; display: grid; justify-items: center; gap: 22px; }
.notfound .nf-code { font-size: clamp(90px, 16vw, 160px); font-weight: 600; line-height: 1; color: var(--olive-accent); opacity: .3; font-family: "Figtree", sans-serif; letter-spacing: -.04em; }
.nf-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; max-width: 760px; }
.nf-cols > div { display: grid; justify-items: center; gap: 14px; }
.nf-cols [lang="en"] { font-family: "Figtree", sans-serif; font-weight: 400; }

/* ==========================================================================
   Quick view and gallery preview
   ========================================================================== */
.modal { position: fixed; inset: 0; z-index: 110; background: rgba(28, 26, 20, .55); display: grid; place-items: center; padding: 16px; opacity: 0; visibility: hidden; transition: opacity .35s, visibility 0s .4s; }
.modal.is-open { opacity: 1; visibility: visible; transition-delay: 0s; }
.modal-panel {
  /* dvh: on iPhones vh includes the area behind Safari's toolbars, which hid
     the bottom of the panel (the enquire button) */
  position: relative; width: min(940px, 100%); max-height: calc(100vh - 32px); max-height: calc(100dvh - 32px);
  overflow-y: auto; overscroll-behavior: contain; -webkit-overflow-scrolling: touch;
  background: var(--bg); border-radius: 22px; padding: 18px;
  transform: translateY(30px) scale(.97); transition: transform .6s var(--ease-out);
}
.modal.is-open .modal-panel { transform: none; }
.modal-close { position: absolute; top: 14px; inset-inline-end: 14px; z-index: 4; background: var(--white); }
.qv { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.qv-media { display: flex; flex-direction: column; gap: 10px; }
.qv-img { position: relative; aspect-ratio: 4 / 5; border-radius: 16px; overflow: hidden; background: var(--card); }
.qv-frame { position: absolute; inset: 0; cursor: zoom-in; }
.qv-frame img { width: 100%; height: 100%; object-fit: cover; animation: fadeIn .5s var(--ease) both; }
.qv-img .lb-open { top: auto; bottom: 12px; }
.qv-info { display: flex; flex-direction: column; gap: 14px; padding: 30px 6px 8px; }
.qv-info .eyebrow { margin: 0; }
.qv-title { font-size: clamp(24px, 2.4vw, 32px); font-weight: var(--display-weight); letter-spacing: var(--track-tight); line-height: 1.15; }
:root[lang="ar"] .qv-title { line-height: 1.45; }
.qv-thumbs { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; }
.qv-thumb { aspect-ratio: 1; border-radius: 10px; overflow: hidden; background: var(--card); opacity: .55; outline: 1.5px solid transparent; outline-offset: -1.5px; transition: opacity .3s, outline-color .3s; }
.qv-thumb img { width: 100%; height: 100%; object-fit: cover; }
.qv-thumb:hover { opacity: .85; }
.qv-thumb.is-active { opacity: 1; outline-color: var(--ink); }
.qv-label { font-size: 12.5px; color: var(--muted); min-height: 1.4em; }
.qv-actions { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; margin-top: auto; padding-top: 8px; }
.qv-actions .btn { width: 100%; }

.lightbox { z-index: 120; padding: 0; background: rgba(20, 20, 16, .93); }
.lb-panel { position: relative; width: 100%; height: 100%; display: grid; place-items: center; padding: 64px clamp(64px, 7vw, 104px) 22px; }
.lb-stage { margin: 0; display: flex; flex-direction: column; align-items: center; gap: 14px; max-width: 100%; }
.lb-frame { display: flex; justify-content: center; max-width: 100%; }
.lb-frame img {
  width: auto; height: auto; max-width: min(1200px, 100%); max-height: calc(100vh - 150px); max-height: calc(100dvh - 150px);
  border-radius: 14px; animation: fadeIn .5s var(--ease) both;
}
.lb-frame img.is-cutout { padding: 3%; }
.lb-frame img.is-photo { object-fit: contain; }
.lb-meta { display: flex; gap: 14px; align-items: center; color: rgba(255, 255, 255, .85); font-size: 13.5px; min-height: 1.4em; }
.lb-count { color: rgba(255, 255, 255, .55); direction: ltr; unicode-bidi: isolate; }
.lightbox .lb-close { top: 16px; inset-inline-end: 16px; }
.lb-nav { position: absolute; top: 50%; transform: translateY(-50%); width: 48px; height: 48px; background: rgba(255, 255, 255, .14); color: #fff; }
.lb-nav svg { width: 22px; height: 22px; }
.lb-nav:hover { background: #fff; color: var(--ink); }
.lb-prev { inset-inline-start: clamp(10px, 2vw, 28px); }
.lb-next { inset-inline-end: clamp(10px, 2vw, 28px); }

/* ==========================================================================
   Motion
   ========================================================================== */
.load-in { opacity: 0; transform: translateY(26px); animation: rise 1s var(--ease-out) forwards; animation-delay: var(--d, 0s); }
.hero-title .load-in { transform: translateY(105%); opacity: 1; animation-name: slideUp; animation-duration: 1.1s; }
@keyframes rise { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }
@keyframes slideUp { to { transform: none; } }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

.hero-img-wrap img { animation: heroZoom 2.4s var(--ease-out) both; }
@keyframes heroZoom { from { transform: scale(1.12); filter: brightness(1.08); } to { transform: scale(1); } }
.hero-img-wrap { animation: reveal-clip 1.4s var(--ease-out) .05s both; }
@keyframes reveal-clip { from { clip-path: inset(0 0 0 100%); } to { clip-path: inset(0 0 0 0); } }
@keyframes reveal-clip-rtl { from { clip-path: inset(0 100% 0 0); } to { clip-path: inset(0 0 0 0); } }
:root[dir="rtl"] .hero-img-wrap { animation-name: reveal-clip-rtl; }
.collection-card { animation: rise 1s var(--ease-out) 1.1s both; }

/* scroll reveal: only once the script runs (.js), so a page without it
   still shows everything */
.js [data-reveal] { opacity: 0; transform: translateY(34px); transition: opacity 1s var(--ease), transform 1.1s var(--ease-out); transition-delay: var(--d, 0s); }
.js [data-reveal].is-in { opacity: 1; transform: none; }
.js .product-card[data-reveal].is-in:hover { transform: translateY(-4px); transition-delay: 0s; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-delay: 0s !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .js [data-reveal], .load-in { opacity: 1 !important; transform: none !important; }
  .play-circle::after { display: none; }
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1180px) {
  .main-nav { display: none; }
  .menu-toggle { display: grid; }
  .header-actions { margin-inline-start: auto; }
  .why-grid { grid-template-columns: 1fr; }
  .why-intro { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; column-gap: 24px; }
  .why-intro .eyebrow { flex-basis: 100%; }
  .room-cards { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: 1.3fr 1fr 1.3fr; }
  .product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .newsletter { grid-template-columns: 1fr 1fr; padding-inline-end: clamp(28px, 4vw, 52px); row-gap: 0; }
  .nl-actions { flex-direction: row; flex-wrap: wrap; padding-bottom: 32px; grid-row: 2; }
  .nl-media { grid-row: 1 / span 2; grid-column: 2; margin-inline-end: calc(-1 * clamp(28px, 4vw, 52px)); }
  .soon-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; min-height: 0; padding-inline: var(--gutter); }
  .hero-copy { padding: 116px 0 36px; }
  .hero-grid { padding-bottom: 28px; }
  .hero-media { min-height: 440px; }
  /* stacked under the copy, the photo no longer needs to clear the header */
  .hero-img-wrap { inset: 0; border-radius: 22px; }
  .strip-grid { grid-template-columns: repeat(2, 1fr); row-gap: 26px; }
  .strip-item { justify-content: flex-start; }
  .crafted { grid-template-columns: 1fr 1fr; }
  .crafted-copy { grid-column: span 2; }
  .arrival-slide, .banner-card .arrival-slide { grid-template-columns: 1fr; }
  .arrival-media, .banner-card .arrival-media { min-height: 240px; order: -1; }
  .arrival-media::after, :root[dir="rtl"] .arrival-media::after { background: linear-gradient(to top, var(--olive-2) 0, rgba(75, 86, 65, 0) 35%); }
  .arrival-copy { padding-bottom: 56px; }
  .why-items { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .newsletter { grid-template-columns: minmax(0, 1fr); padding: 0 28px; }
  .nl-copy { padding-bottom: 18px; }
  .nl-actions { grid-row: auto; }
  .nl-media { grid-row: auto; grid-column: auto; min-height: 200px; margin: 0 -28px; }
  .nl-media img { border-radius: 0; }
  .page-hero.has-image .page-hero-grid, .pdp, .split, .collection-row, .collection-row.flip, .contact { grid-template-columns: 1fr; }
  .page-hero-media { aspect-ratio: auto; height: 240px; }
  .collection-row.flip .cr-media { order: 0; }
  .cr-media { min-height: 0; aspect-ratio: 1.6; }
  .pdp-gallery, .contact-card { position: static; }
  .mini-collections { grid-template-columns: 1fr 1fr; }
  .room-cards {
    display: flex; overflow-x: auto; overflow-y: hidden; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scrollbar-width: none; gap: 14px;
    margin: 0 calc(-1 * var(--gutter)); padding: 6px var(--gutter) 16px; scroll-padding-inline: var(--gutter);
  }
  .room-card { flex: 0 0 34%; }
  /* in the swipe row the cards fade in without the rise: the cards still off
     to the side wait unrevealed, 34px low, which gave the row vertical scroll */
  .js .room-cards [data-reveal] { transform: none; }
  .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .qv { grid-template-columns: 1fr; gap: 12px; }
  .qv-img { aspect-ratio: 4 / 3; }
  .qv-info { padding: 6px; }
  .nf-cols { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .header-cta { display: none; }
  .header-inner { gap: 10px; }
  .logo-name, .logo-sub { font-size: 12.5px; letter-spacing: .1em; }
  :root[lang="ar"] .logo-name, :root[lang="ar"] .logo-sub { font-size: 19px; }
  .hero-title { font-size: clamp(38px, 11vw, 52px); }
  :root[lang="ar"] .hero-title { font-size: clamp(32px, 9vw, 44px); }
  .hero-media { min-height: 380px; }
  .collection-card { inset-inline: 14px; justify-content: space-between; padding: 12px; padding-inline-start: 18px; gap: 14px; }
  .cc-img { width: 72px; height: 72px; }
  .cc-title { font-size: 17px; margin-bottom: 10px; }
  .strip-grid { gap: 20px 12px; padding-top: 26px; padding-bottom: 26px; }
  .strip-item { flex-direction: column; align-items: flex-start; gap: 10px; }
  .room-cards {
    display: flex; overflow-x: auto; overflow-y: hidden; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scrollbar-width: none; gap: 12px;
    margin: 0 calc(-1 * var(--gutter)); padding: 6px var(--gutter) 16px; scroll-padding-inline: var(--gutter);
  }
  .room-card { flex: 0 0 62%; }
  .crafted { grid-template-columns: 1fr; }
  .crafted-copy { grid-column: auto; }
  .crafted-media { min-height: 300px; }
  .why-items { grid-template-columns: 1fr; gap: 22px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 24px; }
  .footer-brand { grid-column: span 2; }
  .product-grid { gap: 10px; }
  .pc-body { padding: 12px; }
  .pc-name { font-size: 14.5px; margin-bottom: 10px; }
  :root[lang="ar"] .pc-name { font-size: 14px; }
  .pc-detail { display: none; }
  .pc-foot { justify-content: flex-end; }
  .pc-btn { width: 34px; height: 34px; }
  .mini-collections, .soon-list, .contact-tiles { grid-template-columns: 1fr; }
  .pdp-cta { flex-direction: column; }
  .lb-panel { padding: 64px 12px 84px; }
  .lb-frame img { max-height: calc(100vh - 190px); max-height: calc(100dvh - 190px); }
  .lb-nav { top: auto; bottom: 18px; transform: none; }
  .lb-prev { inset-inline-start: calc(50% - 58px); }
  .lb-next { inset-inline-end: calc(50% - 58px); }
}
