/* ==========================================================================
   Kaiga — Perfume atelier, Dubai
   Design tokens are derived from the Kaiga brand identity (Sand, Paper,
   Amber, Resin, Oud). Every layout rule uses logical properties so the same
   stylesheet serves English (LTR) and Arabic (RTL).
   ========================================================================== */

:root {
  /* Brand palette */
  --sand: #F3EEE6;
  --paper: #FCFAF6;
  --amber: #CF9A55;
  --amber-soft: #E7C690;
  --amber-deep: #B8843F;
  --resin: #8A5A2E;
  --oud: #2B231E;
  --oud-2: #3A2F28;

  /* Semantic tokens */
  --bg: var(--sand);
  --surface: var(--paper);
  --ink: var(--oud);
  --ink-70: rgba(43, 35, 30, .72);
  --ink-55: rgba(43, 35, 30, .7);
  --line: rgba(43, 35, 30, .16);
  --line-strong: rgba(43, 35, 30, .38);
  --on-dark: var(--sand);
  --on-dark-70: rgba(243, 238, 230, .72);
  --line-dark: rgba(243, 238, 230, .18);
  --focus: var(--resin);

  /* Type */
  --font-display: 'Instrument Serif', Georgia, 'Times New Roman', serif;
  --font-body: 'Hanken Grotesk', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-mono: 'IBM Plex Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
  --font-ar: 'IBM Plex Sans Arabic', system-ui, 'Segoe UI', Tahoma, sans-serif;
  --font-ar-display: 'Amiri', 'IBM Plex Sans Arabic', serif;

  /* Layout */
  --max: 1280px;
  --gutter: clamp(20px, 5vw, 56px);
  --section: clamp(88px, 12vw, 168px);
  --nav-h: 72px;

  /* Spacing scale (4pt) */
  --s-1: 4px;  --s-2: 8px;   --s-3: 12px;  --s-4: 16px;  --s-5: 24px;
  --s-6: 32px; --s-7: 48px;  --s-8: 64px;  --s-9: 96px;  --s-10: 128px;

  /* Motion tokens */
  --ease: cubic-bezier(.22, 1, .36, 1);
  --ease-in-out: cubic-bezier(.65, 0, .35, 1);
  --fast: 160ms;
  --base: 320ms;
  --slow: 640ms;

  /* Direction multiplier: flips x-motion in RTL */
  --dirx: 1;

  /* z-index scale */
  --z-float: 30;
  --z-nav: 40;
  --z-menu: 50;
  --z-toast: 60;
  --z-loader: 100;

  interpolate-size: allow-keywords;
  color-scheme: light;
}

html[dir="rtl"] { --dirx: -1; }

/* --------------------------------------------------------------------------
   Base
   -------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: calc(var(--nav-h) + 16px);
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

html.is-loading, html.menu-open { overflow: hidden; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}

html[lang="ar"] body {
  font-family: var(--font-ar);
  line-height: 1.85;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; color: inherit; }
p { margin: 0; text-wrap: pretty; }
h1, h2, h3, h4 { margin: 0; font-weight: 400; }
ul, ol { margin: 0; padding: 0; list-style: none; }
fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
legend { padding: 0; }
address { font-style: normal; }

::selection { background: var(--amber); color: var(--oud); }

:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 3px;
  border-radius: 4px;
}
.on-dark :focus-visible, .nav--dark :focus-visible { outline-color: var(--amber); }

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap; border: 0;
}

.skip-link {
  position: fixed;
  inset-inline-start: 16px;
  top: 16px;
  z-index: calc(var(--z-loader) + 1);
  padding: 12px 18px;
  background: var(--oud);
  color: var(--sand);
  border-radius: 999px;
  text-decoration: none;
  font-weight: 500;
  transform: translateY(-200%);
  transition: transform var(--fast) var(--ease);
}
.skip-link:focus { transform: none; }

.wrap {
  width: 100%;
  max-width: var(--max);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.ltr { direction: ltr; unicode-bidi: isolate; display: inline-block; }

/* --------------------------------------------------------------------------
   Typography
   -------------------------------------------------------------------------- */
.display {
  font-family: var(--font-display);
  font-weight: 400;
  letter-spacing: -.02em;
  line-height: 1;
  text-wrap: balance;
}
.display i, .display em { font-style: italic; }
.display-xl { font-size: clamp(2.9rem, 8.4vw, 7.4rem); line-height: .95; }
.display-lg { font-size: clamp(2.25rem, 5.2vw, 4.4rem); line-height: 1.02; }
.display-md { font-size: clamp(1.75rem, 3.2vw, 2.75rem); line-height: 1.08; }
.display-sm { font-size: clamp(1.375rem, 2.2vw, 1.875rem); line-height: 1.15; }

html[lang="ar"] .display {
  font-family: var(--font-ar-display);
  font-weight: 700;
  letter-spacing: 0;
}
html[lang="ar"] .display i, html[lang="ar"] .display em { font-style: normal; color: var(--resin); }
.on-dark.display i, .on-dark .display i { color: inherit; }
html[lang="ar"] .on-dark .display i { color: var(--amber); }
html[lang="ar"] .display-xl { font-size: clamp(2.6rem, 7.2vw, 6.2rem); line-height: 1.15; }
html[lang="ar"] .display-lg { font-size: clamp(2.1rem, 4.6vw, 3.9rem); line-height: 1.25; }
html[lang="ar"] .display-md { font-size: clamp(1.65rem, 2.9vw, 2.5rem); line-height: 1.3; }
html[lang="ar"] .display-sm { font-size: clamp(1.3rem, 2vw, 1.7rem); line-height: 1.35; }

.lead {
  font-size: clamp(1.125rem, 1.55vw, 1.375rem);
  line-height: 1.5;
  color: var(--ink-70);
  max-width: 34em;
}
.on-dark .lead { color: var(--on-dark-70); }
html[lang="ar"] .lead { line-height: 1.8; }

.label {
  font-family: var(--font-mono);
  font-size: .75rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--resin);
}
html[lang="ar"] .label {
  font-family: var(--font-ar);
  font-weight: 500;
  font-size: .8125rem;
  letter-spacing: 0;
  text-transform: none;
}
.on-dark .label { color: var(--amber); }

.mono {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  letter-spacing: .02em;
}

.muted { color: var(--ink-70); }
.on-dark .muted { color: var(--on-dark-70); }

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: var(--s-5);
}
.kicker::before {
  content: "";
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--amber);
  flex: none;
}

.section-head {
  display: grid;
  gap: var(--s-5);
  margin-bottom: clamp(40px, 6vw, 72px);
  align-items: end;
}
@media (min-width: 1024px) {
  .section-head { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
  .section-head > .lead { justify-self: end; }
}

/* --------------------------------------------------------------------------
   Wordmark
   -------------------------------------------------------------------------- */
.wordmark {
  font-family: var(--font-display);
  letter-spacing: -.02em;
  line-height: 1;
  text-decoration: none;
  direction: ltr;
  unicode-bidi: isolate;
  display: inline-block;
}
.wordmark__i { position: relative; display: inline-block; }
.wordmark__drop {
  position: absolute;
  left: 50%;
  top: .04em;
  width: .14em; height: .14em;
  border-radius: 50%;
  background: var(--amber);
  transform: translateX(-50%);
}

/* --------------------------------------------------------------------------
   Buttons & chips
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 50px;
  padding: 0 24px;
  border-radius: 999px;
  border: 1px solid transparent;
  background: transparent;
  font-family: var(--font-body);
  font-size: .9375rem;
  font-weight: 500;
  line-height: 1;
  text-decoration: none;
  cursor: pointer;
  white-space: nowrap;
  touch-action: manipulation;
  transition: background-color var(--base) var(--ease), color var(--base) var(--ease), border-color var(--base) var(--ease), transform var(--fast) var(--ease);
}
html[lang="ar"] .btn { font-family: var(--font-ar); }
.btn:active { transform: scale(.98); }
.btn .ico { width: 18px; height: 18px; flex: none; }
.btn .ico--arrow {
  transform: scaleX(var(--dirx));
  transition: transform var(--base) var(--ease);
}
.btn:hover .ico--arrow { transform: translateX(calc(3px * var(--dirx))) scaleX(var(--dirx)); }

.btn--primary { background: var(--oud); color: var(--sand); }
.btn--primary:hover { background: var(--resin); }
.btn--ghost { border-color: var(--line-strong); color: var(--ink); }
.btn--ghost:hover { background: var(--paper); border-color: var(--ink); }
.btn--amber { background: var(--amber); color: var(--oud); }
.btn--amber:hover { background: var(--amber-soft); }
.btn--sand { background: var(--sand); color: var(--oud); }
.btn--sand:hover { background: var(--paper); }
.btn--outline-light { border-color: var(--line-dark); color: var(--sand); }
.btn--outline-light:hover { border-color: var(--sand); background: rgba(243, 238, 230, .08); }
.btn--sm { min-height: 44px; padding: 0 18px; font-size: .875rem; }
.btn[disabled], .btn[aria-disabled="true"] { opacity: .45; cursor: not-allowed; }

.chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 18px;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  background: transparent;
  font-size: .9375rem;
  font-weight: 500;
  cursor: pointer;
  touch-action: manipulation;
  transition: background-color var(--base) var(--ease), color var(--base) var(--ease), border-color var(--base) var(--ease), transform var(--fast) var(--ease);
}
.chip:hover { border-color: var(--ink); background: var(--paper); }
.chip:active { transform: scale(.97); }
.chip[aria-pressed="true"], .chip.is-selected {
  background: var(--oud);
  color: var(--sand);
  border-color: var(--oud);
}

.tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: .6875rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  border: 1px solid var(--line);
  color: var(--ink-70);
}
html[lang="ar"] .tag { font-family: var(--font-ar); letter-spacing: 0; text-transform: none; font-size: .75rem; }
.tag--amber { background: var(--amber); color: var(--oud); border-color: var(--amber); }
.tag--light { border-color: var(--line-dark); color: var(--on-dark-70); }

/* --------------------------------------------------------------------------
   Preloader
   -------------------------------------------------------------------------- */
.loader {
  position: fixed;
  inset: 0;
  z-index: var(--z-loader);
  display: grid;
  place-items: center;
  background: var(--sand);
  color: var(--oud);
}
.loader__mark {
  font-size: clamp(64px, 14vw, 160px);
  position: relative;
}
.loader__drop {
  position: absolute;
  left: 50%;
  top: .04em;
  width: .14em; height: .14em;
  border-radius: 50%;
  background: var(--amber);
  transform: translateX(-50%);
}
.loader__bar {
  position: absolute;
  inset-inline: 0;
  bottom: 0;
  height: 2px;
  background: var(--amber);
  transform-origin: 0 50%;
  transform: scaleX(0);
}

/* --------------------------------------------------------------------------
   Navigation
   -------------------------------------------------------------------------- */
.nav {
  position: fixed;
  inset-inline: 0;
  top: 0;
  z-index: var(--z-nav);
  height: var(--nav-h);
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: transform var(--base) var(--ease), background-color var(--base) var(--ease), border-color var(--base) var(--ease);
}
.nav.is-scrolled {
  background: rgba(243, 238, 230, .94);
  border-bottom-color: var(--line);
}
.nav.is-hidden { transform: translateY(-100%); }
.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-4);
  height: 100%;
}
.nav .wordmark { font-size: 30px; padding: 8px 0; }

.nav__links { display: none; }
@media (min-width: 1100px) {
  .nav__links { display: flex; gap: 2px; }
}
.nav__link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 14px;
  border-radius: 999px;
  font-size: .9rem;
  font-weight: 500;
  color: var(--ink-70);
  text-decoration: none;
  transition: background-color var(--base) var(--ease), color var(--base) var(--ease);
}
.nav__link:hover, .nav__link[aria-current="true"] { background: var(--paper); color: var(--ink); }

.nav__actions { display: flex; align-items: center; gap: 8px; }
.nav__cta { display: none; }
@media (min-width: 640px) { .nav__cta { display: inline-flex; } }

.lang-toggle {
  min-height: 44px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  background: transparent;
  font-family: var(--font-ar);
  font-size: .9375rem;
  font-weight: 500;
  cursor: pointer;
  transition: background-color var(--base) var(--ease), border-color var(--base) var(--ease);
}
html[lang="ar"] .lang-toggle { font-family: var(--font-mono); letter-spacing: .06em; }
.lang-toggle:hover { background: var(--paper); border-color: var(--ink); }

.burger {
  display: inline-grid;
  place-items: center;
  width: 44px; height: 44px;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  background: transparent;
  cursor: pointer;
}
@media (min-width: 1100px) { .burger { display: none; } }
.burger svg { width: 20px; height: 20px; }
.burger .ico-close { display: none; }

/* Full-screen menu */
.menu {
  position: fixed;
  inset: 0;
  z-index: var(--z-menu);
  background: var(--oud);
  color: var(--sand);
  display: flex;
  flex-direction: column;
  padding: calc(var(--nav-h) + 16px) var(--gutter) 32px;
  transform: translateY(-100%);
  visibility: hidden;
  transition: transform var(--slow) var(--ease), visibility 0s linear var(--slow);
}
.menu.is-open {
  transform: none;
  visibility: visible;
  transition: transform var(--slow) var(--ease), visibility 0s;
}
.menu__close {
  position: absolute;
  top: 14px;
  inset-inline-end: var(--gutter);
  width: 44px; height: 44px;
  border-radius: 50%;
  border: 1px solid var(--line-dark);
  background: transparent;
  color: var(--sand);
  display: grid; place-items: center;
  cursor: pointer;
}
.menu__close svg { width: 20px; height: 20px; }
.menu__links { display: grid; gap: 4px; margin-top: var(--s-6); }
.menu__link {
  display: flex;
  align-items: baseline;
  gap: 16px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line-dark);
  font-family: var(--font-display);
  font-size: clamp(2rem, 7vw, 3.25rem);
  line-height: 1.05;
  text-decoration: none;
  letter-spacing: -.02em;
}
html[lang="ar"] .menu__link { font-family: var(--font-ar-display); font-weight: 700; letter-spacing: 0; line-height: 1.3; }
.menu__link .mono { font-size: .75rem; color: var(--amber); }
.menu__foot {
  margin-top: auto;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
  padding-top: var(--s-5);
  font-size: .875rem;
  color: var(--on-dark-70);
}

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  padding-top: calc(var(--nav-h) + clamp(32px, 7vw, 88px));
  padding-bottom: clamp(40px, 7vw, 88px);
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.hero__grid {
  display: grid;
  gap: clamp(40px, 6vw, 72px);
  align-items: center;
}
@media (min-width: 1024px) {
  .hero__grid { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
}
.hero__title { margin-block: var(--s-4) var(--s-5); }
.hero__title .line { display: block; overflow: hidden; padding-block: .05em; }
.hero__title .line > span { display: inline-block; }
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: var(--s-6);
}
.hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  margin-top: var(--s-7);
  color: var(--ink-55);
  font-size: .8125rem;
}
.hero__meta li { display: inline-flex; align-items: center; gap: 8px; }
.hero__meta li::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--amber); }

.hero__scene { position: relative; }
.scene { width: 100%; height: auto; overflow: visible; direction: ltr; unicode-bidi: isolate; }
.bottle { direction: ltr; unicode-bidi: isolate; }
.scene text { font-family: var(--font-mono); }
.scene .sc-serif { font-family: var(--font-display); }
.sc-note-line { stroke: var(--resin); stroke-width: 1; stroke-dasharray: 2 3; }

/* Marquee */
.marquee {
  overflow: hidden;
  border-block: 1px solid var(--line);
  padding: 14px 0;
  -webkit-mask-image: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent);
}
.marquee__track {
  display: flex;
  gap: 40px;
  width: max-content;
  animation: marquee 48s linear infinite;
}
.marquee__group { display: flex; gap: 40px; flex: none; }
.marquee__item {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 2.2vw, 1.75rem);
  white-space: nowrap;
}
html[lang="ar"] .marquee__item { font-family: var(--font-ar-display); font-weight: 700; }
.marquee__item .mono { font-size: .75rem; color: var(--resin); }
.marquee__item::after { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--amber); margin-inline-start: 24px; }
.marquee:hover .marquee__track, .marquee:focus-within .marquee__track { animation-play-state: paused; }
html[dir="rtl"] .marquee__track { animation-direction: reverse; }
@keyframes marquee { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) {
  .marquee { mask-image: none; -webkit-mask-image: none; }
  .marquee__track { animation: none; width: auto; flex-wrap: wrap; gap: 12px 32px; }
  .marquee__group--dup { display: none; }
}

/* --------------------------------------------------------------------------
   Sections
   -------------------------------------------------------------------------- */
.section { padding-block: var(--section); position: relative; }
.section--paper { background: var(--paper); }
.section--oud { background: var(--oud); color: var(--sand); }
.section--amber { background: var(--amber); color: var(--oud); }
.on-dark { color: var(--sand); }

/* Story */
.story { display: grid; gap: clamp(28px, 4vw, 56px); margin-bottom: clamp(40px, 6vw, 72px); }
@media (min-width: 1024px) { .story { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); align-items: start; } }
.story__text { display: grid; gap: 20px; max-width: 60ch; }
.story__text p { font-size: clamp(1.0625rem, 1.3vw, 1.25rem); line-height: 1.7; color: var(--ink-70); }
html[lang="ar"] .story__text p { line-height: 1.95; }
.pillars { display: grid; gap: 2px; border-top: 1px solid var(--line); }
@media (min-width: 800px) { .pillars { grid-template-columns: repeat(3, 1fr); } }
.pillar { padding: var(--s-5) 0; border-bottom: 1px solid var(--line); display: grid; gap: 8px; align-content: start; }
.pillar::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--amber); margin-bottom: 6px; }
@media (min-width: 800px) {
  .pillar { padding: var(--s-6) var(--s-6) var(--s-6) 0; border-bottom: 0; border-inline-end: 1px solid var(--line); }
  .pillar:last-child { border-inline-end: 0; }
  .pillar + .pillar { padding-inline-start: var(--s-6); }
}
.pillar p { color: var(--ink-70); font-size: .9375rem; }

/* Steps */
.steps {
  display: grid;
  gap: 2px;
  border-top: 1px solid var(--line);
}
@media (min-width: 800px) { .steps { grid-template-columns: repeat(3, 1fr); } }
.step {
  padding: var(--s-6) 0 var(--s-6);
  border-bottom: 1px solid var(--line);
  display: grid;
  gap: var(--s-4);
  align-content: start;
}
@media (min-width: 800px) {
  .step { padding: var(--s-7) var(--s-6) var(--s-7) 0; border-bottom: 0; border-inline-end: 1px solid var(--line); }
  .step:last-child { border-inline-end: 0; }
  .step + .step { padding-inline-start: var(--s-6); }
}
.step__num {
  font-family: var(--font-display);
  font-size: clamp(3rem, 6vw, 5rem);
  line-height: .9;
  color: var(--amber);
  letter-spacing: -.03em;
}
.step p { color: var(--ink-70); max-width: 30em; }

/* Box cards */
.boxes {
  display: grid;
  gap: 16px;
}
@media (min-width: 900px) { .boxes { grid-template-columns: repeat(3, 1fr); } }
.box-card {
  position: relative;
  display: grid;
  gap: var(--s-4);
  padding: clamp(24px, 3vw, 36px);
  border: 1px solid var(--line);
  background: var(--paper);
  border-radius: 6px;
  transition: transform var(--base) var(--ease), box-shadow var(--base) var(--ease);
}
@media (hover: hover) {
  .box-card:hover { transform: translateY(-4px); box-shadow: 0 30px 50px -30px rgba(43, 35, 30, .35); }
}
.box-card--featured {
  background: var(--oud);
  color: var(--sand);
  border-color: var(--oud);
}
.box-card__top { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.box-card__count {
  font-family: var(--font-display);
  font-size: clamp(5rem, 9vw, 7.5rem);
  line-height: .85;
  letter-spacing: -.04em;
  display: flex;
  align-items: baseline;
  gap: 12px;
}
.box-card__count small {
  font-family: var(--font-body);
  font-size: 1rem;
  letter-spacing: 0;
  color: var(--ink-70);
}
html[lang="ar"] .box-card__count small { font-family: var(--font-ar); }
.box-card--featured .box-card__count small { color: var(--on-dark-70); }
.box-card__name { font-size: 1.375rem; }
.box-card p { color: var(--ink-70); }
.box-card--featured p { color: var(--on-dark-70); }
.box-card__price {
  margin-top: var(--s-2);
  padding-top: var(--s-4);
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  font-size: .9375rem;
}
.box-card--featured .box-card__price { border-top-color: var(--line-dark); }
.box-card__price strong { font-family: var(--font-mono); font-weight: 400; font-size: 1.125rem; }
html[lang="ar"] .box-card__price strong { font-family: var(--font-ar); font-weight: 500; letter-spacing: 0; font-size: 1rem; }
.box-card .btn { justify-self: start; margin-top: var(--s-2); }
.box-card__list { display: grid; gap: 8px; font-size: .9rem; color: var(--ink-70); margin-top: 4px; }
.box-card__list li { position: relative; padding-inline-start: 18px; line-height: 1.5; }
.box-card__list li::before { content: ""; position: absolute; inset-inline-start: 0; top: .55em; width: 6px; height: 6px; border-radius: 50%; background: var(--amber); }
.box-card--featured .box-card__list { color: var(--on-dark-70); }
.box-card__per { font-family: var(--font-body); font-size: .8125rem; color: var(--on-dark-70); margin-inline-start: 6px; white-space: nowrap; }
html[lang="ar"] .box-card__per { font-family: var(--font-ar); }
.box-card--soon { border-style: dashed; background: transparent; }
.box-card--soon .box-card__count { color: var(--ink-55); }
.boxes__note { margin-top: var(--s-5); font-size: .9375rem; color: var(--ink-70); max-width: 62ch; }
html[lang="ar"] .inside__qty { font-family: var(--font-ar); letter-spacing: 0; }

.inside {
  margin-top: clamp(48px, 7vw, 96px);
  display: grid;
  gap: clamp(32px, 5vw, 64px);
}
@media (min-width: 1024px) { .inside { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); align-items: start; } }
.inside__list {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--line);
}
@media (min-width: 640px) and (max-width: 1023px), (min-width: 1280px) {
  .inside__list { grid-template-columns: 1fr 1fr; column-gap: var(--s-6); }
}
.inside__item {
  display: grid;
  grid-template-columns: 36px 1fr auto;
  gap: 12px;
  align-items: baseline;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}
.inside__item .mono { font-size: .75rem; color: var(--resin); }
.inside__item small { display: block; color: var(--ink-55); font-size: .875rem; }
.inside__qty { font-family: var(--font-mono); font-size: .8125rem; white-space: nowrap; }
.inside__note {
  margin-top: var(--s-5);
  padding: var(--s-4) var(--s-5);
  background: var(--sand);
  border-inline-start: 2px solid var(--amber);
  font-size: .9375rem;
}

/* --------------------------------------------------------------------------
   Pyramid (pinned storytelling)
   -------------------------------------------------------------------------- */
.pyramid { background: var(--oud); color: var(--sand); }
.pyramid__stage {
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding-block: var(--section);
}
.pyramid__grid {
  display: grid;
  gap: clamp(40px, 6vw, 80px);
  align-items: center;
  width: 100%;
}
@media (min-width: 1024px) { .pyramid__grid { grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); } }
.layers { display: grid; gap: 0; margin-top: var(--s-6); border-top: 1px solid var(--line-dark); }
.layer-row {
  display: grid;
  grid-template-columns: 56px 1fr auto;
  gap: 16px;
  align-items: start;
  padding: 20px 0;
  border-bottom: 1px solid var(--line-dark);
  transition: opacity var(--base) var(--ease);
  opacity: .55;
}
.layer-row.is-active, .pyramid--static .layer-row { opacity: 1; }
.layer-row__dot {
  width: 40px; height: 40px;
  border-radius: 50%;
  display: grid; place-items: center;
  font-family: var(--font-mono);
  font-size: .75rem;
  color: var(--oud);
  background: var(--amber-soft);
}
.layer-row--heart .layer-row__dot { background: var(--amber); }
.layer-row--base .layer-row__dot { background: var(--amber-deep); }
.layer-row h3 { font-size: 1.25rem; font-family: var(--font-body); font-weight: 500; }
html[lang="ar"] .layer-row h3 { font-family: var(--font-ar); }
.layer-row p { color: var(--on-dark-70); margin-top: 4px; }
.layer-row__drops {
  font-family: var(--font-mono);
  font-size: .8125rem;
  color: var(--amber);
  white-space: nowrap;
  padding-top: 10px;
}
.rule {
  margin-top: var(--s-5);
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 12px 18px;
  border: 1px solid var(--line-dark);
  border-radius: 999px;
  font-size: .9375rem;
}
.rule .mono { font-size: 1.125rem; color: var(--amber); }

.bottle-wrap { display: grid; place-items: center; }
.bottle { width: min(100%, 360px); height: auto; overflow: visible; }
.bottle .layer { transform-box: fill-box; transform-origin: 50% 100%; }
.bottle .drop { transform-box: fill-box; }

/* --------------------------------------------------------------------------
   Oils
   -------------------------------------------------------------------------- */
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: var(--s-6); }
.oils {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
}
.oil {
  display: grid;
  gap: 10px;
  align-content: start;
  padding: 22px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 6px;
  min-height: 220px;
  transition: border-color var(--base) var(--ease), transform var(--base) var(--ease);
}
@media (hover: hover) { .oil:hover { border-color: var(--amber); transform: translateY(-2px); } }
.oil__top { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.oil__no { font-family: var(--font-mono); font-size: .75rem; color: var(--resin); }
.oil__vial { width: 22px; height: 44px; }
.oil__name { font-size: 1.625rem; }
.oil__family { font-size: .8125rem; color: var(--ink-55); }
.oil p { font-size: .9375rem; color: var(--ink-70); }
.oil__strength {
  display: flex; gap: 4px; margin-top: auto; padding-top: 6px;
}
.oil__strength i {
  width: 8px; height: 8px; border-radius: 50%;
  border: 1px solid var(--amber-deep);
}
.oil__strength i.on { background: var(--amber); border-color: var(--amber); }
.oil[hidden] { display: none; }

/* --------------------------------------------------------------------------
   Consultation quiz
   -------------------------------------------------------------------------- */
.consult { display: grid; gap: clamp(32px, 5vw, 64px); }
@media (min-width: 1024px) { .consult { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); align-items: start; } }
.quiz {
  background: var(--sand);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: clamp(24px, 3.5vw, 44px);
  position: relative;
}
.quiz__progress {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: var(--s-5);
}
.quiz__bar { flex: 1; height: 2px; background: var(--line); overflow: hidden; }
.quiz__bar span {
  display: block; height: 100%; width: 25%;
  background: var(--amber);
  transition: width var(--slow) var(--ease);
}
.quiz__step { display: none; }
.quiz__step.is-current { display: block; }
.quiz__step legend { font-size: clamp(1.5rem, 2.6vw, 2.125rem); margin-bottom: var(--s-5); }
.quiz__options { display: flex; flex-wrap: wrap; gap: 10px; }
.quiz__options input { position: absolute; opacity: 0; pointer-events: none; }
.quiz__options input:focus-visible + label { outline: 2px solid var(--focus); outline-offset: 3px; }
.quiz__options input:checked + label { background: var(--oud); color: var(--sand); border-color: var(--oud); }
.quiz__nav {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-top: var(--s-6);
}
.quiz__result { display: none; }
.quiz__result.is-current { display: block; }
.quiz__summary {
  display: grid;
  gap: 10px;
  margin: var(--s-5) 0;
  padding: var(--s-4) 0;
  border-block: 1px solid var(--line);
}
.quiz__summary li { display: grid; grid-template-columns: 110px 1fr; gap: 12px; font-size: .9375rem; }
.quiz__summary li span:first-child { color: var(--ink-55); }
.quiz__actions { display: flex; flex-wrap: wrap; gap: 10px; }
.consult__aside { display: grid; gap: var(--s-5); }
.consult__aside .lead { max-width: 28em; }
.fact { display: grid; grid-template-columns: auto 1fr; gap: 14px; align-items: start; font-size: .9375rem; color: var(--ink-70); }
.fact .mono { color: var(--resin); font-size: .75rem; padding-top: 5px; }

/* --------------------------------------------------------------------------
   Workshops
   -------------------------------------------------------------------------- */
.section--amber .kicker::before { background: var(--oud); }
.section--amber .label, .section--amber .mono { color: var(--oud); }
.section--amber .lead { color: rgba(43, 35, 30, .78); }
.ws { display: grid; gap: clamp(32px, 5vw, 64px); }
@media (min-width: 1024px) { .ws { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); align-items: start; } }
.ws__offer {
  background: var(--oud);
  color: var(--sand);
  border-radius: 8px;
  padding: clamp(24px, 3.5vw, 40px);
  display: grid;
  gap: var(--s-4);
}
.ws__offer :focus-visible { outline-color: var(--amber); }
.ws__price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px 14px; }
.ws__amount {
  font-family: var(--font-display);
  font-size: clamp(3rem, 6vw, 4.75rem);
  line-height: .9;
  letter-spacing: -.03em;
  color: var(--amber);
  white-space: nowrap;
}
html[lang="ar"] .ws__amount { font-family: var(--font-ar-display); font-weight: 700; letter-spacing: 0; line-height: 1.1; font-size: clamp(2.5rem, 5vw, 4rem); }
.ws__for { font-size: 1rem; color: var(--on-dark-70); }
.ws__extra { font-size: .9375rem; color: var(--on-dark-70); padding-bottom: var(--s-4); border-bottom: 1px solid var(--line-dark); }
.ws__terms { display: grid; gap: 8px; font-size: .9rem; color: var(--on-dark-70); }
.ws__terms li { position: relative; padding-inline-start: 18px; line-height: 1.5; }
.ws__terms li::before { content: ""; position: absolute; inset-inline-start: 0; top: .55em; width: 6px; height: 6px; border-radius: 50%; background: var(--amber); }
.ws__offer .btn { justify-self: start; margin-top: var(--s-2); }
.ws__list { display: grid; border-top: 1px solid rgba(43, 35, 30, .3); }
.ws__list li {
  display: grid;
  grid-template-columns: 36px 1fr;
  gap: 12px;
  padding: 14px 0;
  border-bottom: 1px solid rgba(43, 35, 30, .22);
  font-size: 1rem;
  line-height: 1.5;
  color: rgba(43, 35, 30, .88);
}
.ws__list .mono { font-size: .75rem; color: var(--oud); padding-top: 4px; }
.ws__tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: var(--s-5); }
.section--amber .tag { border-color: rgba(43, 35, 30, .35); color: var(--oud); }

/* --------------------------------------------------------------------------
   Book
   -------------------------------------------------------------------------- */
.book { display: grid; gap: clamp(40px, 6vw, 80px); align-items: center; }
@media (min-width: 1024px) { .book { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); } }
.book-cover {
  width: min(100%, 380px);
  aspect-ratio: 148 / 210;
  margin-inline: auto;
  background: var(--oud-2);
  padding: 16px;
  box-shadow: 0 50px 80px -40px rgba(0, 0, 0, .7), inset 0 0 0 1px rgba(243, 238, 230, .06);
  transform: perspective(1200px) rotateY(calc(-8deg * var(--dirx)));
  transition: transform var(--slow) var(--ease);
}
@media (hover: hover) { .book-cover:hover { transform: perspective(1200px) rotateY(0); } }
.book-cover__inner {
  height: 100%;
  border: 1px solid rgba(207, 154, 85, .55);
  padding: clamp(18px, 3vw, 28px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.book-cover__top { display: flex; justify-content: space-between; font-family: var(--font-mono); font-size: .625rem; letter-spacing: .08em; color: var(--amber); }
html[lang="ar"] .book-cover__top { font-family: var(--font-ar); letter-spacing: 0; font-size: .75rem; }
.book-cover__title-ar { font-family: var(--font-ar-display); font-weight: 700; font-size: clamp(2.75rem, 6vw, 4.25rem); line-height: 1.05; direction: rtl; }
.book-cover__title-en { font-family: var(--font-display); font-style: italic; font-size: 1.25rem; color: var(--amber); margin-top: 12px; direction: ltr; }
.book-cover__foot { display: flex; justify-content: space-between; align-items: flex-end; }
.book-cover__foot .wordmark { font-size: 32px; }
.book-cover__foot .mono { font-size: .625rem; color: var(--on-dark-70); }
.book__stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-block: 1px solid var(--line-dark);
  margin: var(--s-6) 0;
}
.book__stats div { padding: 18px 0; }
.book__stats div + div { padding-inline-start: 18px; border-inline-start: 1px solid var(--line-dark); }
.book__stats strong { display: block; font-family: var(--font-display); font-weight: 400; font-size: clamp(2.25rem, 4vw, 3.25rem); line-height: 1; color: var(--amber); }
.book__stats span { font-size: .875rem; color: var(--on-dark-70); }
.book__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.bundle {
  margin-top: var(--s-6);
  padding: clamp(20px, 3vw, 28px);
  border: 1px solid var(--line-dark);
  border-radius: 8px;
  display: grid;
  gap: 10px;
  justify-items: start;
  background: rgba(243, 238, 230, .04);
}
.bundle__price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 10px; font-size: .9375rem; color: var(--on-dark-70); }
.bundle__price strong { font-family: var(--font-mono); font-weight: 400; font-size: 1.75rem; color: var(--amber); }
html[lang="ar"] .bundle__price strong { font-family: var(--font-ar-display); font-weight: 700; }
.bundle__price s { text-decoration-thickness: 1px; }
.bundle .btn { margin-top: 6px; }
.book__price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 10px; font-size: 1rem; }
.book__price strong { font-family: var(--font-mono); font-weight: 400; font-size: 1.75rem; color: var(--amber); }
html[lang="ar"] .book__price strong { font-family: var(--font-ar-display); font-weight: 700; }

/* --------------------------------------------------------------------------
   Recipes
   -------------------------------------------------------------------------- */
.recipes { display: grid; gap: 12px; }
@media (min-width: 700px) { .recipes { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1100px) { .recipes { grid-template-columns: repeat(4, 1fr); } }
.recipe {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 24px;
  display: grid;
  gap: 14px;
  align-content: start;
}
.recipe__head { display: flex; gap: 14px; align-items: flex-end; }
.recipe__no { font-family: var(--font-display); font-size: 3rem; line-height: .8; color: var(--amber); letter-spacing: -.03em; }
.recipe__mood { font-size: .75rem; color: var(--resin); font-family: var(--font-mono); }
html[lang="ar"] .recipe__mood { font-family: var(--font-ar); }
.recipe h3 { font-size: 1.5rem; }
.recipe__bar { display: flex; height: 6px; gap: 2px; }
.recipe__bar span:nth-child(1) { flex: 3; background: var(--amber-soft); }
.recipe__bar span:nth-child(2) { flex: 5; background: var(--amber); }
.recipe__bar span:nth-child(3) { flex: 2; background: var(--oud); }
.recipe__oils { display: grid; gap: 6px; font-size: .9375rem; }
.recipe__oils li { display: flex; justify-content: space-between; gap: 8px; border-bottom: 1px solid var(--line); padding-bottom: 6px; }
.recipe__oils .mono { font-size: .8125rem; color: var(--ink-70); }
.recipe__desc { font-size: .9375rem; color: var(--ink-70); }
.recipes__note { margin-top: var(--s-5); font-size: .875rem; color: var(--ink-55); }

/* --------------------------------------------------------------------------
   FAQ
   -------------------------------------------------------------------------- */
.faq { max-width: 820px; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 22px 0;
  font-size: 1.125rem;
  font-weight: 500;
  min-height: 44px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary .faq__icon {
  flex: none;
  width: 32px; height: 32px;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  display: grid; place-items: center;
  transition: transform var(--base) var(--ease), background-color var(--base) var(--ease);
}
.faq summary .faq__icon svg { width: 14px; height: 14px; }
.faq details[open] summary .faq__icon { transform: rotate(45deg); background: var(--oud); color: var(--sand); border-color: var(--oud); }
.faq details::details-content {
  block-size: 0;
  overflow: hidden;
  transition: block-size var(--base) var(--ease), content-visibility var(--base) allow-discrete;
}
.faq details[open]::details-content { block-size: auto; }
.faq__body { padding: 0 0 24px; color: var(--ink-70); max-width: 60ch; }

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */
.footer {
  background: var(--oud);
  color: var(--sand);
  padding-top: var(--section);
  padding-bottom: 96px; /* room for the floating WhatsApp button */
  overflow: hidden;
}
.footer__cta {
  display: grid;
  gap: var(--s-6);
  padding-bottom: clamp(48px, 7vw, 96px);
  border-bottom: 1px solid var(--line-dark);
}
@media (min-width: 900px) { .footer__cta { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); align-items: end; } }
.footer__cta .btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
@media (min-width: 900px) { .footer__cta .btn-row { justify-content: flex-end; } }

.code-banner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 24px;
  margin-top: clamp(32px, 5vw, 56px);
  padding: 18px 24px;
  background: var(--amber);
  color: var(--oud);
  border-radius: 6px;
}
.code-banner .mono { font-size: 1.125rem; letter-spacing: .12em; }
.code-banner button { background: var(--oud); color: var(--sand); }
.code-banner button:hover { background: var(--resin); }

.footer__grid {
  display: grid;
  gap: var(--s-6);
  padding-block: clamp(40px, 6vw, 72px);
}
@media (min-width: 800px) { .footer__grid { grid-template-columns: 2fr 1fr 1.5fr 1fr; } }
.footer__col .ltr { white-space: nowrap; }
.footer__col h3 { font-family: var(--font-mono); font-size: .75rem; letter-spacing: .1em; text-transform: uppercase; color: var(--amber); margin-bottom: 14px; }
html[lang="ar"] .footer__col h3 { font-family: var(--font-ar); letter-spacing: 0; text-transform: none; font-size: .8125rem; }
.footer__col ul { display: grid; gap: 8px; }
.footer__col a { text-decoration: none; color: var(--on-dark-70); transition: color var(--base) var(--ease); }
.footer__col a:hover { color: var(--sand); }
.footer__col p { color: var(--on-dark-70); max-width: 30em; }
.footer__mark { font-size: clamp(88px, 19vw, 300px); line-height: .8; margin-block: 24px -0.08em; }
.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
  justify-content: space-between;
  padding-top: 20px;
  border-top: 1px solid var(--line-dark);
  font-size: .8125rem;
  color: var(--on-dark-70);
}

/* --------------------------------------------------------------------------
   Floating WhatsApp
   -------------------------------------------------------------------------- */
.wa-float {
  position: fixed;
  inset-inline-end: 18px;
  bottom: max(18px, env(safe-area-inset-bottom));
  z-index: var(--z-float);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 18px 0 14px;
  border-radius: 999px;
  background: var(--oud);
  color: var(--sand);
  text-decoration: none;
  font-size: .9375rem;
  font-weight: 500;
  box-shadow: 0 20px 40px -20px rgba(0, 0, 0, .5);
  transition: transform var(--base) var(--ease), background-color var(--base) var(--ease);
}
html[dir="rtl"] .wa-float { padding: 0 14px 0 18px; }
.wa-float:hover { background: var(--resin); transform: translateY(-2px); }
.wa-float svg { width: 22px; height: 22px; }
.wa-float span { display: none; }
@media (min-width: 640px) { .wa-float span { display: inline; } }
html.menu-open .wa-float { visibility: hidden; }

/* Toast */
.toast {
  position: fixed;
  inset-inline-start: 50%;
  bottom: 24px;
  z-index: var(--z-toast);
  transform: translate(calc(-50% * var(--dirx)), 16px);
  padding: 12px 18px;
  background: var(--oud);
  color: var(--sand);
  border-radius: 999px;
  font-size: .875rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--base) var(--ease), transform var(--base) var(--ease), visibility 0s linear var(--base);
}
.toast.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translate(calc(-50% * var(--dirx)), 0);
  transition: opacity var(--base) var(--ease), transform var(--base) var(--ease), visibility 0s;
}

/* --------------------------------------------------------------------------
   Micro-interactions
   -------------------------------------------------------------------------- */

/* Cursor follower (created by JS on mouse devices only) */
.cursor {
  position: fixed;
  left: 0; top: 0;
  z-index: 70;
  pointer-events: none;
  will-change: transform;
  transition: opacity var(--base) var(--ease);
}
.cursor.is-hidden { opacity: 0; }
.cursor__dot {
  position: absolute;
  left: 0; top: 0;
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--amber);
  transform: translate(-50%, -50%);
  transition: transform var(--base) var(--ease), opacity var(--base) var(--ease);
}
.cursor.is-small .cursor__dot { transform: translate(-50%, -50%) scale(.4); opacity: .6; }
.cursor.is-active .cursor__dot { transform: translate(-50%, -50%) scale(2.4); opacity: .9; }
.cursor__label {
  position: absolute;
  left: 20px; top: 12px;
  padding: 7px 13px;
  border-radius: 999px;
  background: var(--oud);
  color: var(--sand);
  font-family: var(--font-body);
  font-size: .8125rem;
  font-weight: 500;
  line-height: 1;
  white-space: nowrap;
  opacity: 0;
  transform: translateY(6px) scale(.92);
  transition: opacity var(--fast) var(--ease), transform var(--base) var(--ease);
}
html[lang="ar"] .cursor__label { font-family: var(--font-ar); }
html[dir="rtl"] .cursor__label { left: auto; right: 20px; }
.cursor.is-active .cursor__label { opacity: 1; transform: none; }

/* Elements the cursor explains get a quiet pointer */
html.has-pointer [data-cursor] { cursor: default; }

/* Oil cards: GSAP owns the transform on mouse devices */
html.has-pointer .oil { transition: border-color var(--base) var(--ease); }
html.has-pointer .oil:hover { transform: none; }

/* Pyramid: hovered row lights its layer */
.bottle .layer { transition: opacity var(--base) var(--ease); }
.bottle[data-focus] .layer { opacity: .35; }
.bottle[data-focus="top"] .layer--top,
.bottle[data-focus="heart"] .layer--heart,
.bottle[data-focus="base"] .layer--base { opacity: 1; }
html.has-pointer .layer-row { cursor: default; }

/* Scroll hint at the bottom of the hero */
.scroll-hint {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-top: var(--s-7);
  font-family: var(--font-mono);
  font-size: .75rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--ink-55);
  text-decoration: none;
  transition: opacity var(--slow) var(--ease), transform var(--slow) var(--ease);
}
html[lang="ar"] .scroll-hint { font-family: var(--font-ar); letter-spacing: 0; text-transform: none; font-size: .8125rem; }
.scroll-hint__line {
  width: 48px; height: 1px;
  background: var(--line-strong);
  position: relative;
  overflow: hidden;
}
.scroll-hint__line::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--amber);
  transform-origin: 0 50%;
  animation: hint-sweep 2.2s var(--ease-in-out) infinite;
}
html[dir="rtl"] .scroll-hint__line::after { transform-origin: 100% 50%; }
@keyframes hint-sweep {
  0% { transform: scaleX(0); }
  45% { transform: scaleX(1); transform-origin: 0 50%; }
  46% { transform-origin: 100% 50%; }
  90%, 100% { transform: scaleX(0); transform-origin: 100% 50%; }
}
.scroll-hint.is-gone { opacity: 0; transform: translateY(6px); pointer-events: none; }

/* The logo's drop drips on hover */
@media (hover: hover) {
  .wordmark:hover .wordmark__drop { animation: drip .9s var(--ease); }
}
@keyframes drip {
  0% { transform: translateX(-50%) scaleY(1); }
  35% { transform: translateX(-50%) translateY(.28em) scaleY(1.35); }
  65% { transform: translateX(-50%) translateY(0) scaleY(.85); }
  100% { transform: translateX(-50%) scaleY(1); }
}

/* Recipe bars redraw on hover */
@media (hover: hover) {
  .recipe:hover .recipe__bar span { animation: bar-grow .7s var(--ease) both; transform-origin: 0 50%; }
  html[dir="rtl"] .recipe:hover .recipe__bar span { transform-origin: 100% 50%; }
  .recipe:hover .recipe__bar span:nth-child(2) { animation-delay: .08s; }
  .recipe:hover .recipe__bar span:nth-child(3) { animation-delay: .16s; }
}
@keyframes bar-grow { from { transform: scaleX(0); } to { transform: scaleX(1); } }

/* Soft ring on the WhatsApp button */
.wa-float::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 999px;
  border: 1px solid var(--amber);
  opacity: 0;
  animation: wa-ring 7s ease-out infinite;
  pointer-events: none;
}
@keyframes wa-ring {
  0% { transform: scale(1); opacity: .8; }
  18% { transform: scale(1.45); opacity: 0; }
  100% { transform: scale(1.45); opacity: 0; }
}

/* --------------------------------------------------------------------------
   Reduced motion
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
  .loader { display: none; }
  .layer-row { opacity: 1; }
  .cursor, .scroll-hint__line::after, .wa-float::after { display: none; }
}

/* --------------------------------------------------------------------------
   Print
   -------------------------------------------------------------------------- */
@media print {
  .nav, .menu, .wa-float, .loader, .marquee, .toast { display: none !important; }
  .section { padding-block: 32px; }
  body { background: #fff; color: #000; }
}
