/* ============================================================
   AYJA — Natural Beauty & Cosmetics
   Implemented from the Claude Design source:
     AYJA.dc.html  ·  AYJA Links.dc.html
   ============================================================ */

:root {
  /* creams */
  --cream:        #F7F0E4;
  --cream-deep:   #EFE3D0;
  --cream-light:  #FFFBF2;
  --sand:         #F5EAD8;
  --sand-deep:    #EADCC2;
  /* inks */
  --ink:          #3D2F1F;
  --ink-soft:     #4A3826;
  --muted:        #7A6748;
  /* golds */
  --gold:         #B98C4A;
  --gold-soft:    #D9B26A;
  --gold-pale:    #E0BE84;
  --gold-mist:    #F0DDB4;
  --gold-deep:    #8A6431;
  /* dark band */
  --bark:         #6B5334;
  --bark-deep:    #5A4429;
  --on-bark:      #FFF9EE;
  /* type */
  --display: 'Cormorant Garamond', Georgia, serif;
  --ui:      'Marcellus', Georgia, serif;
  --arabic:  'Amiri', 'Cormorant Garamond', serif;
  /* motion */
  --ease: cubic-bezier(.16, 1, .3, 1);
}

/* ------------------------------------------------------------
   base
   ------------------------------------------------------------ */
* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--ui);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a { color: var(--gold-deep); text-decoration: none; }
a:hover { color: var(--ink); }

::selection { background: var(--gold-soft); color: var(--ink); }

img { max-width: 100%; display: block; }

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

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

/* Letter-spacing on centred text pushes the optical centre left;
   the trailing space is compensated with an equal left pad. */
.tracked { letter-spacing: .42em; padding-left: .42em; }

/* ------------------------------------------------------------
   keyframes
   ------------------------------------------------------------ */
@keyframes ajDraw   { to { stroke-dashoffset: 0; } }

@keyframes ajBloom {
  0%   { opacity: 0; filter: drop-shadow(0 0 0 rgba(185,140,74,0)); }
  60%  { opacity: 1; filter: drop-shadow(0 0 24px rgba(185,140,74,.55)); }
  100% { opacity: 1; filter: drop-shadow(0 0 12px rgba(185,140,74,.3)); }
}

@keyframes ajPulse {
  0%, 100% { filter: drop-shadow(0 0 6px rgba(185,140,74,.25)); }
  50%      { filter: drop-shadow(0 0 16px rgba(185,140,74,.5)); }
}

@keyframes ajRise {
  0%   { opacity: 0; transform: translateY(34px); filter: blur(10px); }
  100% { opacity: 1; transform: translateY(0);    filter: blur(0); }
}

@keyframes ajRiseSm {
  0%   { opacity: 0; transform: translateY(28px); filter: blur(8px); }
  100% { opacity: 1; transform: translateY(0);    filter: blur(0); }
}

@keyframes ajFadeUp {
  0%   { opacity: 0; transform: translateY(18px); }
  100% { opacity: 1; transform: translateY(0); }
}

@keyframes ajRule   { 0% { transform: scaleX(0); } 100% { transform: scaleX(1); } }

@keyframes ajSettle { 0% { opacity: 0; transform: scale(1.1); } 100% { opacity: 1; transform: scale(1); } }

@keyframes ajFloat  { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-9px); } }

@keyframes ajDust {
  0%, 100% { transform: translate(0, 0);       opacity: 0; }
  15%      { opacity: .6; }
  50%      { transform: translate(14px, -46px); opacity: .28; }
  85%      { opacity: .5; }
}

@keyframes ajRay {
  0%, 78% { transform: translateX(-140%) skewX(-18deg); opacity: 0; }
  84%     { opacity: .55; }
  92%     { opacity: .35; }
  100%    { transform: translateX(240%) skewX(-18deg); opacity: 0; }
}

@keyframes ajSway {
  0%, 100% { transform: rotate(-1.5deg) translateY(0); }
  50%      { transform: rotate(1.5deg) translateY(-6px); }
}

@keyframes ajDot {
  0%   { transform: translateY(0);    opacity: 0; }
  15%  { opacity: 1; }
  85%  { opacity: 1; }
  100% { transform: translateY(40px); opacity: 0; }
}

@keyframes ajShimmer { 0% { background-position: 130% 0; } 100% { background-position: -130% 0; } }

/* ------------------------------------------------------------
   shared atoms
   ------------------------------------------------------------ */

/* gold "wipe" button — background slides in from the right on hover */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 34px;
  border: 1px solid var(--gold);
  border-radius: 999px;
  font-family: var(--ui);
  font-size: 12px;
  letter-spacing: .26em;
  padding-left: calc(34px + .26em);
  color: var(--gold-deep);
  background: linear-gradient(90deg, var(--gold) 0 50%, rgba(0,0,0,0) 50.1% 100%);
  background-size: 210% 100%;
  background-position: 99% 0;
  cursor: pointer;
  transition: background-position .6s var(--ease), color .5s ease;
}
.btn:hover,
.btn:focus-visible { background-position: 0 0; color: var(--cream-light); }

.btn--sm { min-height: 44px; padding: 0 26px; font-size: 12px; letter-spacing: .24em; padding-left: calc(26px + .24em); }
.btn--block { width: 100%; }

/* underlined text link */
.link-rule {
  display: inline-flex;
  align-items: flex-end;
  min-height: 44px;
  padding-bottom: 6px;
  font-size: 12px;
  letter-spacing: .26em;
  color: var(--gold-deep);
  border-bottom: 1px solid rgba(185,140,74,.5);
  transition: color .4s ease, border-color .4s ease;
}
.link-rule:hover { color: var(--ink); border-color: var(--ink); }

/* section eyebrow + heading */
.eyebrow {
  font-size: 12px;
  letter-spacing: .42em;
  padding-left: .42em;
  color: var(--gold-deep);
}

.h2 {
  margin: 14px 0 0;
  font-family: var(--display);
  font-weight: 500;
  font-size: clamp(30px, 5vw, 52px);
  line-height: 1.15;
  color: var(--ink);
}
.h2 em { color: var(--gold); }

.center { text-align: center; }

.shell { max-width: 1240px; margin: 0 auto; }
.shell--wide { max-width: 1360px; }

.section { padding: clamp(70px, 10vw, 130px) clamp(20px, 5vw, 72px); }
.section--cream { background: var(--cream); }
.section--deep  { background: var(--cream-deep); }

/* scroll reveal — JS adds .is-in */
[data-reveal] {
  opacity: 0;
  transform: translateY(32px);
}
[data-reveal].is-in {
  opacity: 1;
  transform: translateY(0);
  transition: opacity .9s var(--ease), transform .9s var(--ease);
}

/* the gold icon medallion used across categories, benefits, links */
.medallion {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 58px; height: 58px;
  border: 1px solid rgba(185,140,74,.5);
  border-radius: 50%;
  flex: 0 0 auto;
}

.ar { font-family: var(--arabic); color: var(--muted); }

/* ------------------------------------------------------------
   nav
   ------------------------------------------------------------ */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 60;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px clamp(20px, 4vw, 56px);
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: background .5s ease, border-color .5s ease, backdrop-filter .5s ease;
}
.nav.is-scrolled {
  background: rgba(255,251,242,.82);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom-color: rgba(185,140,74,.45);
}

.brand { display: flex; align-items: center; gap: 11px; }
.brand svg { animation: ajPulse 5s ease-in-out infinite; }
.brand-word {
  font-family: var(--display);
  font-weight: 600;
  font-size: 22px;
  letter-spacing: .3em;
  padding-left: .3em;
  color: var(--ink);
}

.nav-links { display: flex; align-items: center; gap: clamp(18px, 2.6vw, 38px); }
.nav-links a {
  font-size: 12.5px;
  letter-spacing: .22em;
  color: var(--ink-soft);
  transition: color .4s ease;
}
.nav-links a:hover { color: var(--gold); }

.nav-actions { display: flex; align-items: center; gap: 16px; }

.icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px; height: 44px;
  border-radius: 50%;
  color: var(--gold-deep);
  transition: background-color .4s ease;
}
.icon-btn:hover { background: rgba(185,140,74,.14); }

.burger {
  display: none;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 6px;
  width: 44px; height: 44px;
  padding: 0;
  background: none;
  border: none;
  cursor: pointer;
}
.burger span { display: block; width: 24px; height: 1.5px; background: var(--gold); }
.burger span:last-child { width: 16px; align-self: flex-end; margin-right: 10px; }

@media (max-width: 900px) {
  .nav-links { display: none; }
  .burger    { display: flex; }
  .nav .btn--sm { display: none; }
}

/* mobile menu overlay */
.menu {
  position: fixed;
  inset: 0;
  z-index: 70;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: rgba(247,240,228,.97);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  opacity: 0;
  pointer-events: none;
  transition: opacity .5s ease;
}
.menu.is-open { opacity: 1; pointer-events: auto; }

.menu-close {
  position: absolute;
  top: 16px; right: 20px;
  width: 44px; height: 44px;
  background: none;
  border: none;
  color: var(--gold-deep);
  font-family: var(--display);
  font-size: 26px;
  cursor: pointer;
}

.menu a[data-mlink] {
  font-family: var(--display);
  font-size: clamp(30px, 7vw, 44px);
  letter-spacing: .14em;
  padding: 8px 20px;
  color: var(--ink);
}
.menu [data-mlink] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .6s var(--ease), transform .6s var(--ease);
}
.menu.is-open [data-mlink] { opacity: 1; transform: translateY(0); }

.menu-ar { margin-top: 18px; font-family: var(--arabic); color: var(--gold-deep); font-size: 19px; }

/* ------------------------------------------------------------
   hero
   ------------------------------------------------------------ */
.hero {
  position: relative;
  min-height: 100svh;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(120% 90% at 68% 22%, var(--cream-light) 0%, var(--sand) 42%, var(--sand-deep) 100%);
}

.hero-backdrop {
  position: absolute;
  inset: -4%;
  opacity: .4;
  animation: ajSettle 2.6s var(--ease) 1.9s both;
}
.hero-backdrop-veil {
  position: absolute;
  inset: 0;
  background: radial-gradient(85% 80% at 50% 45%, rgba(255,251,242,.35) 0%, rgba(245,234,216,.8) 60%, var(--sand-deep) 100%);
  pointer-events: none;
}

.leaf {
  position: absolute;
  opacity: .22;
  pointer-events: none;
}
.leaf--tr {
  top: -30px; right: -30px;
  width: clamp(180px, 26vw, 340px);
  transform-origin: top right;
  animation: ajSway 11s ease-in-out infinite;
}
.leaf--bl {
  bottom: -40px; left: -40px;
  width: clamp(150px, 22vw, 290px);
  opacity: .18;
  transform-origin: bottom left;
  animation: ajSway 13s ease-in-out 1s infinite;
}

.hero-ray {
  position: absolute;
  top: -10%; bottom: -10%; left: 20%;
  width: 22%;
  background: linear-gradient(90deg, rgba(255,251,242,0), rgba(255,251,242,.75), rgba(255,251,242,0));
  animation: ajRay 8s ease-in-out 3s infinite;
  pointer-events: none;
}

.particles { position: absolute; inset: 0; overflow: hidden; pointer-events: none; z-index: 3; }
.particles span {
  position: absolute;
  border-radius: 50%;
  background: radial-gradient(circle, #C9A15C 0%, rgba(201,161,92,0) 70%);
  opacity: 0;
}

.hero-content {
  position: relative;
  z-index: 5;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 96px 20px 120px;
  max-width: 900px;
}

.hero-mark { animation: ajBloom 1.4s ease .2s both, ajPulse 6s ease-in-out 3.5s infinite; }
.hero-mark .stroke-a {
  stroke-dasharray: 200; stroke-dashoffset: 200;
  animation: ajDraw 1.3s var(--ease) .25s forwards;
}
.hero-mark .leaf-fill  { animation: ajFadeUp .8s ease 1.1s both; }
.hero-mark .leaf-stem  {
  stroke-dasharray: 20; stroke-dashoffset: 20;
  animation: ajDraw 1s ease 1.2s forwards;
}

/* gold-foil wordmark */
.wordmark {
  display: flex;
  gap: .04em;
  margin: 26px 0 0;
  font-family: var(--display);
  font-weight: 500;
  font-size: clamp(56px, 13vw, 140px);
  letter-spacing: .2em;
  padding-left: .2em;
  line-height: 1;
  background: linear-gradient(120deg, var(--gold-deep) 12%, var(--gold-pale) 34%, var(--gold) 52%, var(--gold-mist) 68%, var(--gold-deep) 88%);
  background-size: 200% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: ajShimmer 9s linear 2.6s infinite;
}
.wordmark span { animation: ajRise .9s var(--ease) both; }
.wordmark span:nth-child(1) { animation-delay: .85s; }
.wordmark span:nth-child(2) { animation-delay: .97s; }
.wordmark span:nth-child(3) { animation-delay: 1.09s; }
.wordmark span:nth-child(4) { animation-delay: 1.21s; }

.hero-pillars {
  margin-top: 18px;
  font-size: clamp(10px, 2vw, 13px);
  letter-spacing: .5em;
  padding-left: .5em;
  color: var(--gold-deep);
  animation: ajFadeUp .9s ease 1.5s both;
}

.hero-tagline {
  margin: 22px 0 0;
  font-family: var(--display);
  font-style: italic;
  font-size: clamp(24px, 4.6vw, 40px);
  color: var(--ink);
  animation: ajFadeUp 1s ease 1.75s both;
}
.hero-tagline span { color: var(--gold); }

.rule {
  width: min(200px, 40vw);
  height: 1px;
  margin: 26px auto 0;
  background: linear-gradient(90deg, rgba(185,140,74,0), var(--gold), rgba(185,140,74,0));
  animation: ajRule 1.1s var(--ease) 2s both;
}

.hero-ar {
  margin: 18px 0 0;
  font-family: var(--arabic);
  font-size: clamp(17px, 3vw, 22px);
  color: var(--muted);
  animation: ajFadeUp 1s ease 2.15s both;
}

.hero-cta { margin-top: 34px; animation: ajFadeUp 1s ease 2.3s both; }

.hero-product {
  position: absolute;
  right: clamp(2%, 6vw, 9%);
  bottom: 8%;
  width: clamp(90px, 14vw, 190px);
  z-index: 4;
  animation: ajSettle 2s var(--ease) 2.1s both;
}
.hero-product-float { animation: ajFloat 7s ease-in-out 4s infinite; }
.hero-product-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 2 / 5;
}
/* the source put a box-shadow on the frame, which reads as a floating panel
   behind a transparent bottle — a drop-shadow tracks the silhouette instead */
.hero-product-frame svg {
  width: 100%;
  height: 100%;
  display: block;
  filter: drop-shadow(0 26px 44px rgba(122,103,72,.3));
}

@media (max-width: 640px) { .hero-product { display: none; } }

.scroll-cue {
  position: absolute;
  bottom: 26px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 5;
  display: flex;
  align-items: center;
  gap: 14px;
  animation: ajFadeUp 1s ease 2.6s both;
}
.scroll-cue-label { font-size: 10px; letter-spacing: .4em; padding-left: .4em; color: var(--gold-deep); }
.scroll-track {
  position: relative;
  display: block;
  width: 1px; height: 56px;
  background: rgba(185,140,74,.4);
  overflow: hidden;
}
.scroll-track i {
  position: absolute;
  top: 0; left: -1.5px;
  width: 4px; height: 10px;
  border-radius: 2px;
  background: var(--gold);
  animation: ajDot 2.6s ease-in-out infinite;
}

.hero-fade {
  position: absolute;
  left: 0; right: 0; bottom: -1px;
  height: 120px;
  background: linear-gradient(180deg, rgba(239,227,208,0), var(--cream-deep));
  pointer-events: none;
}

/* ------------------------------------------------------------
   category strip
   ------------------------------------------------------------ */
.cat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  margin-top: clamp(40px, 6vw, 64px);
}

.cat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  padding: 44px 24px;
  border: 1px solid rgba(185,140,74,.35);
  border-radius: 2px;
  background: rgba(255,251,242,.6);
  transition: border-color .5s ease, box-shadow .6s ease, transform .6s var(--ease);
}
.cat:hover {
  border-color: var(--gold);
  box-shadow: 0 18px 44px rgba(122,103,72,.16), inset 0 0 24px rgba(217,178,106,.12);
  transform: translateY(-5px);
}
.cat-name {
  font-size: 13px;
  letter-spacing: .3em;
  padding-left: .3em;
  color: var(--ink);
  text-align: center;
}
.cat .ar { font-size: 15px; }

/* ------------------------------------------------------------
   products
   ------------------------------------------------------------ */
.shop-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

/* The collection is five items — a prime number, so auto-fit lands on a
   lonely 5th card at most desktop widths. Explicit steps keep the rows even:
   5-up, then 3-up, 2-up, 1-up. */
.product-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 22px;
  margin-top: clamp(40px, 6vw, 64px);
}
@media (min-width: 560px)  { .product-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 900px)  { .product-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1180px) { .product-grid { grid-template-columns: repeat(5, 1fr); } }

.product {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--cream-light);
  border: 1px solid rgba(185,140,74,.2);
  border-radius: 3px;
  overflow: hidden;
  transition: transform .7s var(--ease), box-shadow .7s ease, border-color .5s ease;
}
.product:hover {
  transform: translateY(-8px);
  border-color: var(--gold);
  box-shadow: 0 26px 60px rgba(122,103,72,.2), 0 6px 26px rgba(217,178,106,.22);
}

.product-media {
  position: relative;
  aspect-ratio: 4 / 5;
  background: linear-gradient(180deg, var(--sand), var(--sand-deep));
  overflow: hidden;
}

.product-body {
  padding: 22px 22px 26px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}
.product-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
}
.product-name {
  margin: 0;
  font-family: var(--display);
  font-weight: 600;
  font-size: 24px;
  color: var(--ink);
}
.product-price { font-size: 14px; letter-spacing: .08em; color: var(--gold-deep); }
.product-sub   { font-size: 11px; letter-spacing: .28em; color: var(--gold-deep); }
.product-rich  { font-family: var(--display); font-size: 15px; color: var(--muted); }
.product .btn  { margin-top: auto; padding-top: 10px; }
.product-cta   { margin-top: 10px; min-height: 44px; padding: 0 20px; font-size: 11px; }

/* --- the product visual: an AYJA label rendered in the brand system.
       Sized with container units so it scales in any card width.      --- */
.pv {
  container-type: inline-size;
  position: absolute;
  inset: 0;
  background:
    radial-gradient(120% 80% at 50% 0%, #FFFDF7 0%, #F6ECD9 55%, #EFE0C6 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.pv-photo { width: 100%; height: 100%; object-fit: cover; object-position: center; }

.pv-leaves {
  position: absolute;
  inset: -10%;
  opacity: .5;
  filter: blur(1.5px);
  pointer-events: none;
}
.pv-leaves svg { width: 100%; height: 100%; }

.pv-inner {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 8cqi 6cqi;
  width: 100%;
  height: 100%;
  justify-content: center;
  gap: 0;
}
.pv-mark { width: 13cqi; height: auto; display: block; }
.pv-word {
  margin-top: 2cqi;
  font-family: var(--display);
  font-weight: 600;
  font-size: 12cqi;
  line-height: 1;
  letter-spacing: .18em;
  padding-left: .18em;
  background: linear-gradient(120deg, var(--gold-deep) 10%, var(--gold-pale) 38%, var(--gold) 56%, var(--gold-mist) 72%, var(--gold-deep) 92%);
  background-size: 200% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.pv-diamond { margin-top: 1.5cqi; color: var(--gold); font-size: 3.4cqi; line-height: 1; }
.pv-name {
  margin-top: 7cqi;
  font-family: var(--display);
  font-weight: 500;
  font-size: 7.6cqi;
  letter-spacing: .16em;
  padding-left: .16em;
  color: #6E5330;
}
.pv-tag {
  margin-top: 1.6cqi;
  font-family: var(--display);
  font-size: 4.4cqi;
  color: var(--muted);
  white-space: nowrap;
}
.pv-rich {
  margin-top: 9cqi;
  display: flex;
  flex-direction: column;
  gap: 1.4cqi;
}
.pv-rich-label { font-size: 2.9cqi; letter-spacing: .34em; padding-left: .34em; color: var(--muted); }
.pv-rich b {
  font-family: var(--ui);
  font-weight: 400;
  font-size: 3.6cqi;
  letter-spacing: .1em;
  color: #5C4526;
}
.pv-vol {
  margin-top: 7cqi;
  font-size: 3.6cqi;
  letter-spacing: .12em;
  color: #5C4526;
}

/* compact variant for the links-page shelf — the small tile drops the
   ingredient block, so the remaining marks are scaled up to fill it */
.pv--mini .pv-inner { padding: 6cqi 4cqi; }
.pv--mini .pv-leaves { opacity: .7; }
.pv--mini .pv-mark  { width: 17cqi; }
.pv--mini .pv-word  { font-size: 16cqi; margin-top: 3cqi; }
.pv--mini .pv-name  { margin-top: 6cqi; font-size: 9cqi; }
.pv--mini .pv-rich, .pv--mini .pv-vol, .pv--mini .pv-tag { display: none; }

/* ------------------------------------------------------------
   brand story
   ------------------------------------------------------------ */
.story {
  position: relative;
  overflow: hidden;
}
.story-flourish {
  position: absolute;
  right: -40px; top: -40px;
  width: 280px;
  opacity: .2;
  pointer-events: none;
}
.story-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(340px, 100%), 1fr));
  gap: clamp(32px, 6vw, 80px);
  align-items: center;
}
.story-figure {
  position: relative;
  margin: 0;
  aspect-ratio: 4 / 5;
  border-radius: 3px;
  overflow: hidden;
  box-shadow: 0 30px 70px rgba(122,103,72,.22);
}
.story-figure img { width: 100%; height: 100%; object-fit: cover; }
.story-figure::after {
  content: '';
  position: absolute;
  inset: 0;
  box-shadow: inset 0 0 0 1px rgba(185,140,74,.4);
  pointer-events: none;
}
.story-body p {
  margin: 24px 0 0;
  font-family: var(--display);
  font-size: clamp(17px, 2vw, 20px);
  line-height: 1.8;
  color: var(--ink-soft);
}
.story-body .story-ar { margin: 16px 0 0; font-size: 18px; text-align: left; }
.story-body .story-motto { margin: 18px 0 0; font-style: italic; color: var(--gold); }
.story-body .link-rule { margin-top: 26px; }

/* ------------------------------------------------------------
   benefits band
   ------------------------------------------------------------ */
.benefits {
  background: linear-gradient(180deg, var(--bark), var(--bark-deep));
  color: var(--on-bark);
  padding: clamp(56px, 8vw, 96px) clamp(20px, 5vw, 72px);
}
.benefits-grid {
  max-width: 1140px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr));
  gap: clamp(28px, 5vw, 56px);
}
.benefit {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 16px;
}
.benefit .medallion { width: 64px; height: 64px; border-color: rgba(240,221,180,.55); }
.benefit-name { font-size: 13px; letter-spacing: .28em; padding-left: .28em; color: var(--on-bark); }
.benefit .ar  { font-size: 16px; color: rgba(240,221,180,.85); }
.benefit p {
  margin: 0;
  font-family: var(--display);
  font-size: 17px;
  line-height: 1.7;
  color: rgba(255,249,238,.78);
  max-width: 300px;
}

/* ------------------------------------------------------------
   ritual
   ------------------------------------------------------------ */
.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr));
  gap: clamp(24px, 4vw, 48px);
  margin-top: clamp(44px, 6vw, 72px);
}
.step { position: relative; padding: 12px 8px 0; }
.step-num {
  font-family: var(--display);
  font-size: clamp(72px, 9vw, 110px);
  line-height: 1;
  background: linear-gradient(110deg, var(--gold-deep) 20%, var(--gold-pale) 40%, var(--gold) 60%, var(--gold-deep) 80%);
  background-size: 260% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: ajShimmer 7s linear infinite;
}
.step h3 {
  margin: 14px 0 0;
  font-family: var(--display);
  font-weight: 600;
  font-size: 26px;
  color: var(--ink);
}
.step-rule { width: 44px; height: 1px; background: var(--gold); margin: 14px 0; }
.step p {
  margin: 0;
  font-family: var(--display);
  font-size: 18px;
  line-height: 1.75;
  color: var(--ink-soft);
}

/* ------------------------------------------------------------
   testimonials
   ------------------------------------------------------------ */
.quotes {
  max-width: 820px;
  margin: 0 auto;
  text-align: center;
  position: relative;
}
.quote-glyph {
  font-family: var(--display);
  font-size: 110px;
  line-height: .6;
  color: var(--gold);
  opacity: .6;
}
.quote-stack { position: relative; margin-top: 8px; }
.quote-stack blockquote {
  position: absolute;
  inset: 0;
  margin: 0;
  opacity: 0;
  transition: opacity 1.2s ease;
}
.quote-stack blockquote.is-active { opacity: 1; }
.quote-stack p {
  margin: 0;
  font-family: var(--display);
  font-style: italic;
  font-size: clamp(21px, 3.4vw, 30px);
  line-height: 1.6;
  color: var(--ink);
}
.quote-stack footer { margin-top: 22px; font-size: 11px; letter-spacing: .32em; color: var(--gold-deep); }
/* invisible tallest quote reserves the height so the stack never jumps */
.quote-sizer { visibility: hidden; }

/* ------------------------------------------------------------
   badges
   ------------------------------------------------------------ */
.badges {
  background: var(--cream-deep);
  padding: 0 clamp(20px, 5vw, 72px) clamp(70px, 9vw, 110px);
}
.badges-row {
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  justify-content: center;
  gap: clamp(24px, 6vw, 72px);
  flex-wrap: wrap;
}
.badge { display: flex; flex-direction: column; align-items: center; gap: 12px; }
.badge .medallion {
  width: 88px; height: 88px;
  border-color: rgba(185,140,74,.6);
  box-shadow: inset 0 0 0 5px var(--cream-deep), inset 0 0 0 6px rgba(185,140,74,.35);
}
.badge-name {
  font-size: 10.5px;
  letter-spacing: .3em;
  padding-left: .3em;
  color: var(--ink-soft);
  text-align: center;
}

/* ------------------------------------------------------------
   newsletter
   ------------------------------------------------------------ */
.newsletter {
  background: linear-gradient(180deg, var(--cream), var(--sand-deep));
  border-top: 1px solid rgba(185,140,74,.28);
  padding: clamp(80px, 11vw, 140px) clamp(20px, 5vw, 72px);
  text-align: center;
}
.newsletter-inner { max-width: 640px; margin: 0 auto; }
.newsletter h2 {
  margin: 0;
  font-family: var(--display);
  font-style: italic;
  font-weight: 500;
  font-size: clamp(30px, 5.4vw, 54px);
  line-height: 1.25;
  color: var(--ink);
}
.newsletter h2 span { color: var(--gold); }
.newsletter-lede { margin: 20px 0 0; font-family: var(--display); font-size: 18px; color: var(--ink-soft); }

.subscribe {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  margin-top: 36px;
  flex-wrap: wrap;
}
.subscribe input {
  flex: 1 1 260px;
  min-height: 48px;
  background: transparent;
  border: none;
  border-bottom: 1px solid rgba(185,140,74,.55);
  color: var(--ink);
  font-family: var(--display);
  font-size: 18px;
  padding: 8px 4px;
  outline: none;
  transition: border-color .4s ease;
}
.subscribe input::placeholder { color: rgba(122,103,72,.7); }
.subscribe input:focus { border-bottom-color: var(--gold); }
.subscribe button {
  min-height: 48px;
  padding: 0 26px;
  background: none;
  border: none;
  border-bottom: 1px solid var(--gold);
  color: var(--gold-deep);
  font-family: var(--ui);
  font-size: 12px;
  letter-spacing: .28em;
  padding-left: calc(26px + .28em);
  cursor: pointer;
  transition: color .4s ease;
}
.subscribe button:hover { color: var(--ink); }

.subscribed {
  margin-top: 18px;
  font-family: var(--display);
  font-style: italic;
  font-size: 17px;
  color: var(--gold-deep);
  opacity: 0;
  transition: opacity .8s ease;
}
.subscribed.is-shown { opacity: 1; }

/* ------------------------------------------------------------
   footer
   ------------------------------------------------------------ */
.footer {
  background: var(--bark-deep);
  color: var(--on-bark);
  border-top: 1px solid rgba(185,140,74,.5);
  padding: clamp(56px, 8vw, 88px) clamp(20px, 5vw, 72px) 40px;
}
.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr));
  gap: clamp(32px, 5vw, 64px);
}
.footer .brand-word { color: var(--on-bark); letter-spacing: .28em; padding-left: .28em; }
.footer-blurb {
  margin: 18px 0 0;
  font-family: var(--display);
  font-size: 16px;
  line-height: 1.7;
  color: rgba(255,249,238,.72);
  max-width: 280px;
}
.footer-ar { margin: 12px 0 0; font-family: var(--arabic); font-size: 15px; color: rgba(240,221,180,.75); text-align: left; }
.footer-head { font-size: 11px; letter-spacing: .32em; color: var(--gold-pale); margin-bottom: 20px; }
.footer-col { display: flex; flex-direction: column; gap: 12px; }
.footer-col a {
  font-family: var(--display);
  font-size: 17px;
  color: rgba(255,249,238,.8);
  transition: color .4s ease;
}
.footer-col a:hover { color: var(--gold-pale); }
.footer-base {
  max-width: 1240px;
  margin: 56px auto 0;
  padding-top: 24px;
  border-top: 1px solid rgba(240,221,180,.25);
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 11px;
  letter-spacing: .2em;
  color: rgba(255,249,238,.55);
}

/* ============================================================
   links page
   ============================================================ */
.links-page {
  position: relative;
  min-height: 100svh;
  overflow: hidden;
  background: radial-gradient(115% 80% at 50% 0%, var(--cream-light) 0%, var(--sand) 46%, var(--sand-deep) 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: clamp(38px, 7vw, 72px) clamp(18px, 5vw, 32px) 40px;
}
.links-page .leaf--tr {
  top: -24px; right: -34px;
  width: clamp(150px, 32vw, 280px);
  opacity: .2;
  animation-duration: 12s;
}
.links-page .leaf--bl {
  bottom: -40px; left: -40px;
  width: clamp(130px, 28vw, 240px);
  opacity: .16;
  animation-duration: 14s;
}

.links-shell {
  position: relative;
  z-index: 3;
  width: 100%;
  max-width: 440px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.links-shell .hero-mark { animation: ajBloom 1.3s ease .1s both, ajPulse 6s ease-in-out 3s infinite; }
.links-shell .hero-mark .stroke-a { animation-duration: 1.2s; animation-delay: .2s; }
.links-shell .hero-mark .leaf-fill { animation-delay: .95s; }
.links-shell .hero-mark .leaf-stem { animation-duration: .9s; animation-delay: 1.05s; }

.links-shell .wordmark {
  margin: 18px 0 0;
  font-size: clamp(44px, 13vw, 64px);
  letter-spacing: .24em;
  padding-left: .24em;
  animation-delay: 2.2s;
}
.links-shell .wordmark span { animation-name: ajRiseSm; animation-duration: .8s; }
.links-shell .wordmark span:nth-child(1) { animation-delay: .7s; }
.links-shell .wordmark span:nth-child(2) { animation-delay: .8s; }
.links-shell .wordmark span:nth-child(3) { animation-delay: .9s; }
.links-shell .wordmark span:nth-child(4) { animation-delay: 1s; }

.links-pillars {
  margin-top: 14px;
  font-size: clamp(9px, 2.4vw, 11px);
  letter-spacing: .46em;
  padding-left: .46em;
  color: var(--gold-deep);
  animation: ajFadeUp .9s ease 1.25s both;
}
.links-tagline {
  margin: 14px 0 0;
  font-family: var(--display);
  font-style: italic;
  font-size: clamp(19px, 5vw, 24px);
  color: var(--ink);
  animation: ajFadeUp .9s ease 1.4s both;
}
.links-tagline span { color: var(--gold); }
.links-ar {
  margin: 8px 0 0;
  font-family: var(--arabic);
  font-size: clamp(15px, 4vw, 18px);
  color: var(--muted);
  animation: ajFadeUp .9s ease 1.5s both;
}
.links-rule {
  width: min(160px, 44vw);
  margin: 22px auto 0;
  animation: ajRule 1s var(--ease) 1.6s both;
}

.link-stack {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%;
  margin-top: 30px;
}
.link-card {
  display: flex;
  align-items: center;
  gap: 16px;
  min-height: 64px;
  padding: 14px 20px;
  border: 1px solid rgba(185,140,74,.4);
  border-radius: 999px;
  background: rgba(255,251,242,.72);
  transition: transform .55s var(--ease), box-shadow .55s ease, border-color .45s ease, background-color .45s ease;
}
.link-card:hover {
  transform: translateY(-3px);
  border-color: var(--gold);
  background: var(--cream-light);
  box-shadow: 0 16px 34px rgba(122,103,72,.16), 0 3px 14px rgba(217,178,106,.22);
}
.link-card .medallion { width: 42px; height: 42px; border-color: rgba(185,140,74,.45); }
.link-text { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.link-label { font-size: 12px; letter-spacing: .24em; color: var(--ink); }
.link-sub   { font-family: var(--display); font-size: 15px; color: var(--muted); }
.link-arrow { margin-left: auto; font-family: var(--display); font-size: 20px; color: var(--gold); }

.shelf {
  width: 100%;
  margin-top: 26px;
  padding: 22px 20px 24px;
  border: 1px solid rgba(185,140,74,.35);
  border-radius: 14px;
  background: linear-gradient(180deg, rgba(255,251,242,.85), rgba(239,227,208,.7));
}
.shelf-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
}
.shelf-eyebrow { font-size: 10px; letter-spacing: .4em; padding-left: .4em; color: var(--gold-deep); }
.shelf-all {
  font-size: 10px;
  letter-spacing: .24em;
  color: var(--gold-deep);
  border-bottom: 1px solid rgba(185,140,74,.5);
  padding-bottom: 3px;
  transition: color .4s ease, border-color .4s ease;
}
.shelf-all:hover { color: var(--ink); border-color: var(--ink); }
.shelf-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 16px; }
.shelf-item {
  display: flex;
  flex-direction: column;
  gap: 8px;
  transition: transform .55s var(--ease);
}
.shelf-item:hover { transform: translateY(-4px); }
.shelf-media {
  position: relative;
  display: block;
  aspect-ratio: 3 / 4;
  border-radius: 6px;
  overflow: hidden;
  background: linear-gradient(180deg, var(--sand), var(--sand-deep));
  box-shadow: 0 10px 22px rgba(122,103,72,.14);
}
.shelf-name {
  font-family: var(--display);
  font-weight: 600;
  font-size: 15px;
  color: var(--ink);
  text-align: center;
}

.pill-row {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 26px;
}
.pill {
  white-space: nowrap;
  padding: 8px 13px;
  padding-left: calc(13px + .26em);
  border: 1px solid rgba(185,140,74,.35);
  border-radius: 999px;
  font-size: 9.5px;
  letter-spacing: .26em;
  color: var(--muted);
}

.links-site {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  margin-top: 26px;
  font-size: 11px;
  letter-spacing: .28em;
  padding-left: .28em;
  color: var(--gold-deep);
}
.links-site:hover { color: var(--ink); }
.links-copy { margin-top: 6px; font-size: 9.5px; letter-spacing: .2em; color: rgba(122,103,72,.7); }

/* ------------------------------------------------------------
   reduced motion
   ------------------------------------------------------------ */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,
  *::before,
  *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .2s !important;
  }
  [data-reveal] { opacity: 1; transform: none; }
  .particles { display: none; }
}
