/* ============================================================
   WASM | وسم — Brand Website
   site.css — mobile-first, fully responsive (no fixed canvas)
   ============================================================ */

/* ---------- Fonts ---------- */
@font-face {
  font-family: 'Cormorant Garamond';
  src: url('../assets/fonts/CormorantGaramond-Variable.ttf') format('truetype');
  font-weight: 300 700; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Cormorant Garamond';
  src: url('../assets/fonts/CormorantGaramond-Italic-Variable.ttf') format('truetype');
  font-weight: 300 700; font-style: italic; font-display: swap;
}
@font-face {
  font-family: 'Jost';
  src: url('../assets/fonts/Jost-Variable.ttf') format('truetype');
  font-weight: 200 700; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Amiri';
  src: url('../assets/fonts/Amiri-Bold.ttf') format('truetype');
  font-weight: 700; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Noto Kufi Arabic';
  src: url('../assets/fonts/NotoKufiArabic-Variable.ttf') format('truetype');
  font-weight: 400 700; font-style: normal; font-display: swap;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}
body { margin: 0; }
img { display: block; max-width: 100%; height: auto; }
svg { display: block; }
h1, h2, h3, h4, p, figure, ul { margin: 0; padding: 0; }
ul { list-style: none; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: none; cursor: pointer; }

/* ---------- Tokens ---------- */
:root {
  --c-navy-950: #070F18;
  --c-navy-900: #0A1826;
  --c-navy-800: #122336;
  --c-ivory: #F6F1E7;
  --c-ivory-deep: #EEE4D3;
  --c-stone: #DCD0BC;
  --c-walnut: #4A3123;
  --c-taupe: #7B6A57;
  --c-gold: #A9793A;
  --c-gold-deep: #8C5F27; /* AA-safe (4.93:1) gold for small text on light backgrounds */
  --c-gold-light: #CFAE72;
  --c-gold-pale: #E4CFA1;
  --c-ink: #1B160F;
  --c-ink-soft: #4A4234;
  --c-white: #FFFFFF;

  --font-display: 'Cormorant Garamond', 'Times New Roman', serif;
  --font-body: 'Jost', 'Helvetica Neue', Arial, sans-serif;
  --font-arabic: 'Amiri', 'Times New Roman', serif;
  --font-body-ar: 'Noto Kufi Arabic', 'Tahoma', sans-serif;

  --container-w: 1360px;
  --pad-inline: clamp(20px, 5vw, 96px);
  --section-pad-y: clamp(56px, 9vw, 128px);

  --nav-h: 78px;
}

html, body {
  overflow-x: hidden;
}
body {
  font-family: var(--font-body);
  font-weight: 300;
  color: var(--c-ink);
  background: var(--c-ivory);
  line-height: 1.55;
}

.container {
  max-width: var(--container-w);
  margin-inline: auto;
  padding-inline: var(--pad-inline);
}

section { position: relative; }

/* ---------- Typography ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--font-body); font-weight: 600;
  font-size: 13px; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--c-gold-deep);
}
.eyebrow--light { color: var(--c-gold-light); }
.eyebrow::before { content: ""; width: 30px; height: 1px; background: currentColor; opacity: 0.8; }

h1, .h1 {
  font-family: var(--font-display); font-weight: 500;
  font-size: clamp(2.7rem, 7.4vw, 6.4rem);
  line-height: 0.98; letter-spacing: -0.015em;
}
h2, .h2 {
  font-family: var(--font-display); font-weight: 500;
  font-size: clamp(2.1rem, 4.6vw, 3.6rem);
  line-height: 1.06;
}
h3, .h3 {
  font-family: var(--font-body); font-weight: 500;
  font-size: clamp(1.05rem, 1.4vw, 1.25rem);
  letter-spacing: 0.01em;
}
.lead {
  font-family: var(--font-display); font-style: italic; font-weight: 400;
  font-size: clamp(1.05rem, 1.6vw, 1.4rem);
  line-height: 1.6; color: var(--c-ink-soft);
}
p { font-size: clamp(0.95rem, 1vw, 1.05rem); color: var(--c-ink-soft); }
.text-ivory { color: var(--c-ivory); }
.text-ivory-soft { color: rgba(246,241,231,0.75); }
.text-gold { color: var(--c-gold); }

.arabic-word {
  font-family: var(--font-arabic); font-weight: 700;
  direction: rtl; unicode-bidi: isolate;
}

/* ---------- WASM logo lockup ---------- */
.mark { display: inline-flex; flex-direction: column; align-items: flex-start; align-self: flex-start; gap: 4px; }
.mark > * { align-self: flex-start; }
.mark__ar { font-family: var(--font-arabic); font-weight: 700; direction: rtl; unicode-bidi: isolate; line-height: 0.85; }
.mark__lat { font-family: var(--font-body); font-weight: 500; letter-spacing: 0.42em; text-indent: 0.42em; }
.mark__tag { font-family: var(--font-body); font-weight: 400; letter-spacing: 0.2em; text-transform: uppercase; }
.mark--nav .mark__ar { font-size: 26px; } .mark--nav .mark__lat { font-size: 10.5px; letter-spacing: 0.36em; text-indent: 0.36em; }
.mark--hero .mark__ar { font-size: clamp(62px, 10.5vw, 128px); }
.mark--hero .mark__lat { font-size: clamp(15px, 1.9vw, 25px); }
.mark--hero .mark__tag { font-size: clamp(10px, 1vw, 13px); margin-top: 4px; }
.mark--foot .mark__ar { font-size: 44px; } .mark--foot .mark__lat { font-size: 15px; } .mark--foot .mark__tag { font-size: 11px; }
.mark--gold .mark__ar, .mark--gold .mark__lat { color: var(--c-gold); }
.mark--gold .mark__tag { color: var(--c-gold-light); }
.mark--ivory .mark__ar, .mark--ivory .mark__lat { color: var(--c-ivory); }
.mark--ivory .mark__tag { color: rgba(246,241,231,0.7); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 15px 30px;
  font-family: var(--font-body); font-weight: 500; font-size: 13px;
  letter-spacing: 0.14em; text-transform: uppercase;
  border: 1px solid currentColor;
  transition: background-color 0.25s ease, color 0.25s ease, border-color 0.25s ease;
  white-space: nowrap;
}
.btn--gold { color: var(--c-navy-950); background: var(--c-gold); border-color: var(--c-gold); }
.btn--gold:hover { background: var(--c-gold-light); border-color: var(--c-gold-light); }
.btn--outline-ivory { color: var(--c-ivory); border-color: rgba(246,241,231,0.55); }
.btn--outline-ivory:hover { background: rgba(246,241,231,0.12); border-color: var(--c-ivory); }
.btn--outline-ink { color: var(--c-ink); border-color: rgba(27,22,15,0.3); }
.btn--outline-ink:hover { background: var(--c-ink); color: var(--c-ivory); border-color: var(--c-ink); }
.icon { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }
.icon--lg { width: 34px; height: 34px; }

/* ============================================================
   NAV
   ============================================================ */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  height: var(--nav-h);
  display: flex; align-items: center;
  background: transparent;
  transition: background-color 0.35s ease, box-shadow 0.35s ease, backdrop-filter 0.35s ease;
}
.nav.is-scrolled {
  background: rgba(7, 15, 24, 0.86);
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 24px rgba(0,0,0,0.25);
}
.nav__inner { width: 100%; display: flex; align-items: center; justify-content: space-between; }
.nav__links { display: none; align-items: center; gap: clamp(20px, 2.6vw, 40px); }
.nav__links a {
  font-size: 12.5px; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--c-ivory); opacity: 0.85; transition: opacity 0.2s ease;
}
.nav__links a:hover { opacity: 1; color: var(--c-gold-light); }
.nav__cta { display: none; }
.nav__toggle {
  display: flex; flex-direction: column; justify-content: center; gap: 5px;
  width: 40px; height: 40px; align-items: center;
}
.nav__toggle span { width: 22px; height: 1.4px; background: var(--c-ivory); transition: transform 0.25s ease, opacity 0.25s ease; }
.nav__toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6.4px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav__toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6.4px) rotate(-45deg); }

.nav__mobile {
  position: fixed; inset: 0; z-index: 99;
  background: var(--c-navy-950);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 30px;
  opacity: 0; visibility: hidden; transform: translateY(-8px);
  transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s;
}
.nav__mobile.is-open { opacity: 1; visibility: visible; transform: translateY(0); }
.nav__mobile a { font-family: var(--font-display); font-size: 1.9rem; color: var(--c-ivory); }
.nav__mobile a:hover { color: var(--c-gold-light); }
.nav__mobile a.btn { font-family: var(--font-body); font-size: 13px; }

@media (min-width: 900px) {
  .nav__links { display: flex; }
  .nav__cta { display: inline-flex; }
  .nav__toggle { display: none; }
  .nav__mobile { display: none; }
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex; flex-direction: column; justify-content: flex-end;
  color: var(--c-ivory);
  overflow: hidden;
}
.hero__media { position: absolute; inset: -6% 0 0 0; overflow: hidden; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: 68% 40%; will-change: transform; }
.hero__scrim {
  position: absolute; inset: 0;
  background:
    linear-gradient(100deg, rgba(6,13,21,0.92) 0%, rgba(6,13,21,0.62) 34%, rgba(6,13,21,0.18) 60%, rgba(6,13,21,0.55) 100%),
    linear-gradient(0deg, rgba(6,13,21,0.88) 0%, rgba(6,13,21,0.5) 32%, rgba(6,13,21,0) 55%);
}
.hero__content {
  position: relative; z-index: 2;
  padding: calc(var(--nav-h) + 40px) var(--pad-inline) clamp(48px, 8vw, 96px);
  animation: hero-in 1s ease both;
  text-shadow: 0 2px 20px rgba(0,0,0,0.5);
}
@media (max-width: 640px) {
  .hero__media img { object-position: 80% 62%; }
  /* Narrow portrait screens have no "clear side" to push the bottle into —
     the text column spans nearly the full width, so fall back to a strong,
     even wash instead of relying on corner gradients to dodge the photo. */
  .hero__scrim {
    background: linear-gradient(180deg, rgba(6,13,21,0.72) 0%, rgba(6,13,21,0.8) 40%, rgba(6,13,21,0.96) 100%);
  }
}
@keyframes hero-in { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: translateY(0); } }
.hero__sub {
  max-width: 620px; margin-top: 26px;
  font-size: clamp(1rem, 1.3vw, 1.15rem);
  border-inline-start: 1px solid rgba(207,174,114,0.5); padding-inline-start: 22px;
}
.hero__actions { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 40px; }
.hero__scrolldown {
  position: absolute; bottom: 28px; left: 50%; transform: translateX(-50%);
  z-index: 2; display: none; flex-direction: column; align-items: center; gap: 8px;
  font-size: 10px; letter-spacing: 0.2em; text-transform: uppercase; color: rgba(246,241,231,0.65);
}
@media (min-height: 720px) and (min-width: 480px) {
  .hero__scrolldown { display: flex; }
}
.hero__scrolldown .line { width: 1px; height: 34px; background: linear-gradient(rgba(246,241,231,0.7), transparent); animation: scrolldown 1.8s ease-in-out infinite; }
@keyframes scrolldown { 0% { transform: scaleY(0); transform-origin: top; } 50% { transform: scaleY(1); transform-origin: top; } 51% { transform-origin: bottom; } 100% { transform: scaleY(0); transform-origin: bottom; } }

/* ============================================================
   SECTION SCAFFOLDING
   ============================================================ */
.section { padding-block: var(--section-pad-y); }
.section--dark { background: var(--c-navy-950); color: var(--c-ivory); }
.section--stone { background: var(--c-ivory-deep); }
.section__head { max-width: 760px; }
.section__head .lead { margin-top: 18px; }
.section--dark .lead { color: rgba(246,241,231,0.78); }

/* ---------- About / meaning ---------- */
.about-grid { display: grid; gap: clamp(32px, 6vw, 64px); margin-top: clamp(36px, 6vw, 60px); align-items: center; }
.about-grid__media { aspect-ratio: 4 / 5; overflow: hidden; }
.about-grid__media img { width: 100%; height: 100%; object-fit: cover; }
.meaning-list { display: flex; flex-direction: column; gap: 22px; margin-top: 28px; }
.meaning-item { display: grid; grid-template-columns: 34px 1fr; gap: 16px; }
.meaning-item__num { font-family: var(--font-display); color: var(--c-gold); font-size: 22px; }
.meaning-item h3 { margin-bottom: 4px; color: var(--c-ink); }

@media (min-width: 860px) {
  .about-grid { grid-template-columns: 0.85fr 1.15fr; }
  .about-grid--rev { grid-template-columns: 1.15fr 0.85fr; }
  .about-grid--rev .about-grid__media { order: 2; }
}

/* ---------- Positioning strip ---------- */
.positioning { display: flex; flex-direction: column; gap: 40px; margin-top: clamp(32px,5vw,52px); }
.positioning__scale { display: flex; flex-direction: column; gap: 20px; align-items: center; text-align: center; }
.positioning__track { position: relative; width: 100%; max-width: 620px; height: 1px; background: rgba(255,255,255,0.2); }
.positioning__track .dot { position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%); width: 8px; height: 8px; background: var(--c-gold); border-radius: 50%; }
.positioning__ends { display: flex; justify-content: space-between; width: 100%; max-width: 620px; font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; color: rgba(246,241,231,0.6); }
.stat-row { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.stat-row .stat { text-align: center; padding: 26px 18px; border: 1px solid rgba(255,255,255,0.14); }
.stat__value { font-family: var(--font-display); font-size: clamp(1.8rem, 3vw, 2.6rem); color: var(--c-gold); }
.stat__label { font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; color: rgba(246,241,231,0.78); margin-top: 6px; }
.value-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; margin-top: 10px; }
@media (min-width: 640px) { .stat-row { grid-template-columns: repeat(4, 1fr); } }
@media (min-width: 720px) { .value-grid { grid-template-columns: repeat(4, 1fr); } }
.feature { display: flex; flex-direction: column; gap: 10px; }
.feature__title { font-family: var(--font-body); font-weight: 500; font-size: 14.5px; letter-spacing: 0.04em; text-transform: uppercase; }
.feature__text { font-size: 13.5px; color: rgba(246,241,231,0.68); }

/* ---------- Products ---------- */
.product-grid { display: grid; grid-template-columns: 1fr; gap: 18px; margin-top: clamp(32px,5vw,52px); }
.product-card { padding: 26px; border: 1px solid rgba(27,22,15,0.12); background: var(--c-ivory); transition: box-shadow 0.25s ease, transform 0.25s ease; }
.product-card:hover { box-shadow: 0 18px 40px rgba(20,14,6,0.12); transform: translateY(-3px); }
.product-card .icon { color: var(--c-gold); margin-bottom: 16px; }
.product-card__sub { font-size: 12.5px; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; color: var(--c-gold-deep); margin: 4px 0 10px; }
.product-card p { font-size: 13.5px; }
@media (min-width: 640px) { .product-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1080px) { .product-grid { grid-template-columns: repeat(4, 1fr); } }

.future-note { margin-top: 30px; padding: 18px 22px; border: 1px dashed rgba(27,22,15,0.25); display: flex; flex-wrap: wrap; gap: 10px 22px; align-items: center; font-size: 12.5px; color: var(--c-ink-soft); }
.future-note b { color: var(--c-ink); }

/* ---------- Collection gallery ---------- */
.collection-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; margin-top: clamp(32px,5vw,52px); }
.scent-card { position: relative; overflow: hidden; background: var(--c-navy-900); aspect-ratio: 3 / 4; }
.scent-card img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.scent-card:hover img { transform: scale(1.06); }
.scent-card__info {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 18px;
  background: linear-gradient(0deg, rgba(6,13,21,0.92), rgba(6,13,21,0));
  color: var(--c-ivory);
}
.scent-card__name { font-family: var(--font-display); font-size: clamp(1.2rem, 2vw, 1.6rem); }
.scent-card__mood { font-size: 11.5px; letter-spacing: 0.06em; color: rgba(246,241,231,0.75); margin-top: 2px; }
@media (min-width: 640px) { .collection-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1080px) { .collection-grid { grid-template-columns: repeat(6, 1fr); } }

/* ---------- Experience / journey ---------- */
.experience { position: relative; color: var(--c-ivory); }
.experience__media { position: absolute; inset: 0; }
.experience__media img { width: 100%; height: 100%; object-fit: cover; object-position: center 35%; }
.experience__scrim { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(6,13,21,0.86) 0%, rgba(6,13,21,0.9) 40%, rgba(6,13,21,0.94) 100%); }
.experience__inner { position: relative; z-index: 2; text-shadow: 0 2px 16px rgba(0,0,0,0.5); }
.journey { display: grid; grid-template-columns: 1fr; gap: 26px; margin-top: clamp(36px,6vw,56px); counter-reset: step; }
.journey__step { display: flex; gap: 18px; }
.journey__num { font-family: var(--font-display); font-size: 1.9rem; color: var(--c-gold); line-height: 1; min-width: 40px; }
@media (min-width: 780px) { .journey { grid-template-columns: repeat(5, 1fr); } .journey__step { flex-direction: column; gap: 10px; } }

/* ---------- Materials ---------- */
.material-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; margin-top: clamp(32px,5vw,52px); }
.material-card { position: relative; aspect-ratio: 1; overflow: hidden; }
.material-card img { width: 100%; height: 100%; object-fit: cover; }
.material-card figcaption {
  position: absolute; left: 0; bottom: 0; right: 0; padding: 12px 14px;
  background: linear-gradient(0deg, rgba(6,13,21,0.92), rgba(6,13,21,0.1) 70%, rgba(6,13,21,0));
  color: var(--c-ivory); font-size: 12px; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase;
}
.swatches { display: flex; flex-wrap: wrap; gap: 28px; margin-top: 40px; }
.swatch { display: flex; flex-direction: column; align-items: center; gap: 10px; }
.swatch__chip { width: 56px; height: 56px; border-radius: 50%; border: 1px solid rgba(27,22,15,0.15); }
.swatch__name { font-size: 12px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--c-ink-soft); }
@media (min-width: 640px) { .material-grid { grid-template-columns: repeat(4, 1fr); } }

/* ---------- Personality band ---------- */
.trait-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 26px; margin-top: clamp(32px,5vw,52px); }
@media (min-width: 720px) { .trait-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1080px) { .trait-grid { grid-template-columns: repeat(6, 1fr); } }
.trait { text-align: left; }
.trait .icon { color: var(--c-gold); margin-bottom: 10px; }
.trait__title { font-family: var(--font-body); font-weight: 500; font-size: 13.5px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--c-ink); }
.trait__text { font-size: 12.5px; margin-top: 4px; }

/* ---------- Download band ---------- */
.download-band {
  background: var(--c-walnut); color: var(--c-ivory);
  padding-block: clamp(44px, 7vw, 72px);
}
.download-band__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; }
.download-band h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); }

/* ---------- Footer ---------- */
.footer { background: var(--c-navy-950); color: var(--c-ivory); padding-block: clamp(48px, 7vw, 80px) 30px; }
.footer__top { display: grid; grid-template-columns: 1fr; gap: 36px; }
.footer__contact { display: flex; flex-direction: column; gap: 16px; }
.footer__contact-item { display: flex; align-items: center; gap: 12px; }
.footer__contact-item .icon { color: var(--c-gold); }
.footer__contact-item span { font-size: 14px; }
.footer__bottom { margin-top: 48px; padding-top: 22px; border-top: 1px solid rgba(246,241,231,0.12); display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; font-size: 11.5px; letter-spacing: 0.06em; color: rgba(246,241,231,0.55); }
@media (min-width: 780px) { .footer__top { grid-template-columns: 1.2fr 1fr 1fr; } }

/* ============================================================
   PRELOADER
   ============================================================ */
.preloader {
  position: fixed; inset: 0; z-index: 999;
  background: var(--c-navy-950);
  display: flex; align-items: center; justify-content: center;
  transition: opacity 0.7s ease, visibility 0.7s ease;
}
.preloader__mark { opacity: 0; animation: preloader-in 1.1s ease 0.15s forwards; }
.preloader__mark .mark__ar { font-size: 54px; }
@keyframes preloader-in { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }
html.is-loaded .preloader { opacity: 0; visibility: hidden; pointer-events: none; }
html:not(.js) .preloader { display: none; }

/* ============================================================
   SCROLL REVEAL (progressive — everything is visible without JS
   or with prefers-reduced-motion; JS only adds the entrance)
   ============================================================ */
[data-reveal] { opacity: 1; transform: none; }
html.js [data-reveal] {
  opacity: 0; transform: translateY(28px);
  transition: opacity 0.9s cubic-bezier(0.16,0.8,0.24,1), transform 0.9s cubic-bezier(0.16,0.8,0.24,1);
  transition-delay: var(--reveal-delay, 0s);
}
html.js [data-reveal].is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html.js [data-reveal] { opacity: 1; transform: none; transition: none; }
}

/* ============================================================
   MARQUEE TICKER
   ============================================================ */
.marquee {
  position: relative; overflow: hidden;
  background: var(--c-navy-950); color: var(--c-gold-light);
  border-top: 1px solid rgba(207,174,114,0.18); border-bottom: 1px solid rgba(207,174,114,0.18);
  padding-block: 16px;
}
.marquee__track {
  display: flex; width: max-content;
  animation: marquee 34s linear infinite;
}
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__item {
  display: flex; align-items: center; gap: 20px;
  padding-inline: 20px;
  font-family: var(--font-body); font-size: 13px; letter-spacing: 0.2em; text-transform: uppercase;
  white-space: nowrap;
}
.marquee__item .spark { color: var(--c-gold); }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .marquee__track { animation: none; } }

/* ============================================================
   GRAIN TEXTURE (dark sections)
   ============================================================ */
:root {
  --grain-svg: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='180' height='180'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/><feColorMatrix type='saturate' values='0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
}
.grain { position: absolute; inset: 0; background-image: var(--grain-svg); opacity: 0.05; mix-blend-mode: overlay; pointer-events: none; }

/* ============================================================
   STICKY EDITORIAL LAYOUT (About)
   ============================================================ */
.sticky-feature { display: flex; flex-direction: column; gap: 40px; margin-top: clamp(40px,6vw,64px); }
.sticky-feature__media { aspect-ratio: 4/5; overflow: hidden; }
.sticky-feature__media img { width: 100%; height: 100%; object-fit: cover; }
.sticky-feature__col { display: flex; flex-direction: column; gap: clamp(40px,6vw,64px); }
@media (min-width: 900px) {
  .sticky-feature { flex-direction: row; align-items: flex-start; gap: 64px; }
  .sticky-feature__media { flex: 0 0 42%; position: sticky; top: calc(var(--nav-h) + 32px); aspect-ratio: 3/4; }
  .sticky-feature__col { flex: 1; }
}

/* ============================================================
   MICRO-INTERACTIONS: nav underline, button shine, image hover
   ============================================================ */
.nav__links a { position: relative; }
.nav__links a::after {
  content: ""; position: absolute; left: 0; right: 100%; bottom: -6px; height: 1px;
  background: var(--c-gold-light); transition: right 0.3s cubic-bezier(0.16,0.8,0.24,1);
}
.nav__links a:hover::after { right: 0; }

.btn { position: relative; overflow: hidden; }
.btn__shine {
  position: absolute; top: 0; left: -60%; width: 40%; height: 100%;
  background: linear-gradient(115deg, transparent, rgba(255,255,255,0.35), transparent);
  transform: skewX(-18deg); transition: left 0.65s ease;
}
.btn:hover .btn__shine { left: 130%; }

.about-grid__media, .sticky-feature__media { position: relative; }
.about-grid__media::after, .sticky-feature__media::after {
  content: ""; position: absolute; inset: 0; border: 1px solid rgba(207,174,114,0.35);
  pointer-events: none;
}

/* ============================================================
   SECTION DIVIDERS (subtle angled seams between select sections)
   ============================================================ */
.section--angled-top { clip-path: polygon(0 22px, 100% 0, 100% 100%, 0 100%); margin-top: -22px; }
@media (max-width: 640px) { .section--angled-top { clip-path: polygon(0 12px, 100% 0, 100% 100%, 0 100%); margin-top: -12px; } }

/* ============================================================
   DECORATIVE FIXED SIDE MARK (desktop only)
   ============================================================ */
.side-mark {
  position: fixed; right: 18px; top: 50%; transform: translateY(-50%) rotate(90deg);
  transform-origin: center; z-index: 40;
  font-size: 10px; letter-spacing: 0.32em; text-transform: uppercase;
  color: rgba(246,241,231,0.55); white-space: nowrap;
  display: none; pointer-events: none;
  mix-blend-mode: difference;
}
@media (min-width: 1080px) and (min-height: 640px) { .side-mark { display: block; } }

/* ============================================================
   SCROLL PROGRESS LINE
   ============================================================ */
.scroll-progress {
  position: fixed; top: 0; left: 0; height: 2px; width: 0%;
  background: linear-gradient(90deg, var(--c-gold), var(--c-gold-light));
  z-index: 101; transition: width 0.1s linear;
}

/* ============================================================
   KEN BURNS — slow cinematic drift on full-bleed photography.
   Lives on the *media wrapper*, independent of any transform the
   parallax script sets on the <img> itself, so the two never fight.
   ============================================================ */
@keyframes kenburns {
  0%   { transform: scale(1) translate3d(0,0,0); }
  100% { transform: scale(1.09) translate3d(-1%, -1%, 0); }
}
.kenburns { animation: kenburns 22s ease-in-out infinite alternate; }
@media (prefers-reduced-motion: reduce) { .kenburns { animation: none; } }

/* ============================================================
   HEADLINE CURTAIN REVEAL — [data-mask] wraps its text in a span
   at runtime (site.js); the outer stays overflow:hidden and the
   inner span slides up from below. Safe without JS: text is a
   normal inline flow with no wrapper, fully visible.
   ============================================================ */
html.js [data-mask] { overflow: hidden; display: block; }
html.js [data-mask] .mask__inner {
  display: inline-block; transform: translateY(112%);
  transition: transform 1s cubic-bezier(0.16,0.8,0.24,1);
  transition-delay: var(--reveal-delay, 0s);
}
html.js [data-mask].is-in .mask__inner { transform: translateY(0); }
@media (prefers-reduced-motion: reduce) {
  html.js [data-mask] .mask__inner { transform: none; transition: none; }
}

/* ============================================================
   CURSOR GLOW + "VIEW" AFFORDANCE (desktop, fine-pointer only)
   ============================================================ */
.cursor-glow {
  position: fixed; top: 0; left: 0; width: 46px; height: 46px;
  margin: -23px 0 0 -23px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(207,174,114,0.55) 0%, rgba(207,174,114,0) 70%);
  pointer-events: none; z-index: 90;
  opacity: 0; transform: translate3d(-100px,-100px,0) scale(1);
  transition: opacity 0.3s ease, transform 0.08s linear, width 0.35s ease, height 0.35s ease, margin 0.35s ease;
  display: none;
  mix-blend-mode: screen;
  align-items: center; justify-content: center;
}
.cursor-glow__label {
  opacity: 0; font-size: 10px; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--c-ivory); transition: opacity 0.25s ease;
}
.cursor-glow.is-visible { opacity: 1; }
.cursor-glow.is-view {
  width: 84px; height: 84px; margin: -42px 0 0 -42px;
  background: rgba(6,13,21,0.72);
  border: 1px solid rgba(207,174,114,0.5);
}
.cursor-glow.is-view .cursor-glow__label { opacity: 1; }
@media (min-width: 900px) and (pointer: fine) {
  .cursor-glow { display: flex; }
}
@media (prefers-reduced-motion: reduce) { .cursor-glow { display: none !important; } }

/* ============================================================
   IMAGE CLIP REVEAL — richer than a plain fade for hero photography
   inside grids (about media, materials, collection gallery).
   ============================================================ */
/* IMPORTANT: the hide/reveal state lives on a ::before curtain and on
   the <img>'s own transform — never on clip-path of the observed
   [data-reveal-img] element itself. Clipping the observed element
   would make IntersectionObserver compute it as permanently
   non-intersecting (clipped-to-zero area is clipped-to-zero
   intersection), which deadlocks the reveal: it can never be seen,
   so it can never be told to stop being hidden. */
html.js [data-reveal-img] { position: relative; overflow: hidden; }
html.js [data-reveal-img]::before {
  content: ""; position: absolute; inset: 0; z-index: 2;
  background: var(--c-navy-900);
  transform: scaleX(1); transform-origin: right center;
  transition: transform 0.95s cubic-bezier(0.16,0.8,0.24,1);
  transition-delay: var(--reveal-delay, 0s);
  pointer-events: none;
}
html.js [data-reveal-img].is-in::before { transform: scaleX(0); }
html.js [data-reveal-img] img {
  transition: transform 1.15s cubic-bezier(0.16,0.8,0.24,1);
  transition-delay: var(--reveal-delay, 0s);
  transform: scale(1.15);
}
html.js [data-reveal-img].is-in img { transform: scale(1); }
@media (prefers-reduced-motion: reduce) {
  html.js [data-reveal-img]::before { transform: scaleX(0); transition: none; }
  html.js [data-reveal-img] img { transform: none !important; transition: none; }
}

/* ============================================================
   BILINGUAL (EN / AR) + RTL
   Grid/flex layouts using logical start/end already mirror
   themselves automatically once the page dir flips; this block
   only covers the font swap and the handful of physical-direction
   properties (border/padding-left, fixed positioning) that don't.
   ============================================================ */
.lang-switch {
  display: inline-flex; align-items: center; justify-content: center;
  width: 40px; height: 40px;
  font-family: var(--font-body); font-weight: 600; font-size: 12px; letter-spacing: 0.02em;
  border: 1px solid rgba(246,241,231,0.35); border-radius: 50%;
  color: var(--c-ivory); transition: border-color 0.2s ease, color 0.2s ease, background-color 0.2s ease;
}
.lang-switch:hover { border-color: var(--c-gold-light); color: var(--c-gold-light); background: rgba(207,174,114,0.08); }
.nav__mobile .lang-switch {
  width: auto; height: auto; border-radius: 999px; padding: 10px 22px;
  font-size: 13px; letter-spacing: 0.12em; text-transform: uppercase;
}

html[dir="rtl"] body {
  font-family: var(--font-body-ar);
}
html[dir="rtl"] h1, html[dir="rtl"] .h1,
html[dir="rtl"] h2, html[dir="rtl"] .h2,
html[dir="rtl"] .lead {
  font-family: var(--font-body-ar);
}
html[dir="rtl"] h1, html[dir="rtl"] .h1 { font-weight: 700; letter-spacing: 0; }
html[dir="rtl"] h2, html[dir="rtl"] .h2 { font-weight: 700; letter-spacing: 0; }
html[dir="rtl"] .lead { font-style: normal; font-weight: 500; }
html[dir="rtl"] .eyebrow,
html[dir="rtl"] .nav__links a,
html[dir="rtl"] .btn,
html[dir="rtl"] .feature__title,
html[dir="rtl"] .trait__title,
html[dir="rtl"] .product-card__sub,
html[dir="rtl"] .scent-card__name,
html[dir="rtl"] .stat__label,
html[dir="rtl"] .swatch__name,
html[dir="rtl"] figcaption,
html[dir="rtl"] .mark__tag,
html[dir="rtl"] .side-mark {
  font-family: var(--font-body-ar);
  letter-spacing: 0;
  text-transform: none; /* Arabic has no upper/lowercase; keep natural */
}
html[dir="rtl"] .mark--hero .mark__tag,
html[dir="rtl"] .mark--foot .mark__tag {
  letter-spacing: 0.04em;
}

/* the WASM lockup itself stays a fixed, unmirrored brand asset */
html[dir="rtl"] .mark { direction: ltr; }
html[dir="rtl"] .nav__inner .mark,
html[dir="rtl"] .footer__top .mark { align-items: flex-start; }

/* marquee ticker: keep the strip direction-neutral */
html[dir="rtl"] .marquee__item { direction: rtl; }

/* eyebrow divider + icon-row gaps read fine mirrored automatically via
   flex; only the meaning-item / journey-step number columns need to
   stay numeral-LTR so "01/02/03" doesn't reverse to "10/20/30" reading */
html[dir="rtl"] .meaning-item__num,
html[dir="rtl"] .journey__num {
  direction: ltr; unicode-bidi: isolate;
}

@media (prefers-reduced-motion: no-preference) {
  .lang-switch, .nav__links a, .btn { transition-property: border-color, color, background-color, opacity; }
}
