/* ===================================================================
   TwinHeart — twinheart.shop (main site)
   Same family as discover.twinheart.shop: ivory paper, wine ink, gold
   hairlines — editorial gift publishing, never SaaS. The books and the
   customers carry the colour; the page steps back.
   Rule zero (operator, 2026-09-23): CLEAR AND SIMPLE. Motion supports the
   reading, it never decorates for its own sake.
   Mobile-first. RTL is handled with logical properties (inline-start/end).
   =================================================================== */

:root {
  --ivory: #FBF7F2;
  --paper: #F5EDE3;
  --paper-deep: #EDE0CF;
  --ink: #2A1A16;
  --ink-soft: #6B564E;
  --ink-faint: #9C8880;
  --wine: #8E1D3C;
  --wine-deep: #6E1430;
  --rose: #E8386F;
  --coral: #F4633F;
  --gold: #C29A55;
  --gold-soft: #E7C98E;
  --night: #15112A;
  --night-2: #241a42;
  --line: rgba(42, 26, 22, .1);

  --radius: 18px;
  --radius-lg: 28px;
  --sh-sm: 0 2px 8px rgba(76, 42, 30, .07);
  --sh-md: 0 14px 34px -14px rgba(76, 42, 30, .26);
  --sh-lg: 0 40px 80px -30px rgba(60, 30, 22, .45);

  --wrap: 1200px;
  --gut: 20px;
  --head-h: 68px;
  --ease: cubic-bezier(.22, .61, .36, 1);
  --spring: cubic-bezier(.34, 1.56, .64, 1);

  --f-display: "Fraunces", Georgia, serif;
  --f-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
}
[dir="rtl"] {
  --f-display: "El Messiri", "IBM Plex Sans Arabic", serif;
  --f-body: "IBM Plex Sans Arabic", "Segoe UI", Tahoma, sans-serif;
}

/* Smooth cross-page fades (Chrome/Edge/Safari 18); ignored elsewhere. */
@view-transition { navigation: auto; }
::view-transition-old(root) { animation: vt-out .28s var(--ease) both; }
::view-transition-new(root) { animation: vt-in .42s var(--ease) both; }
@keyframes vt-out { to { opacity: 0; transform: translateY(-8px); } }
@keyframes vt-in { from { opacity: 0; transform: translateY(10px); } }

/* ------------------------------------------------------------------ */
/*  Base                                                               */
/* ------------------------------------------------------------------ */
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--head-h) + 16px); }
body {
  margin: 0;
  background: var(--ivory);
  color: var(--ink);
  font-family: var(--f-body);
  font-size: 17px;
  line-height: 1.62;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
  background-image:
    radial-gradient(1100px 620px at 82% -8%, rgba(244, 99, 63, .07), transparent 62%),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='180' height='180' filter='url(%23n)' opacity='.035'/%3E%3C/svg%3E");
}
[dir="rtl"] body { font-size: 17.5px; line-height: 1.8; }
/* height:auto matters: the width/height attributes (kept for layout stability)
   would otherwise pin the height while max-width shrinks the width → stretched. */
img, video { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
button { font: inherit; color: inherit; }
h1, h2, h3, h4 { margin: 0; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
.center { text-align: center; }
.muted { color: var(--ink-faint); }

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

.skip { position: absolute; inset-inline-start: 12px; top: -60px; z-index: 200; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 10px; }
.skip:focus { top: 12px; }
:focus-visible { outline: 3px solid var(--rose); outline-offset: 3px; border-radius: 6px; }

/* ------------------------------------------------------------------ */
/*  Type                                                               */
/* ------------------------------------------------------------------ */
.display {
  font-family: var(--f-display);
  font-weight: 500;
  font-size: clamp(2rem, 5.4vw, 3.4rem);
  line-height: 1.08;
  letter-spacing: -.02em;
  font-variation-settings: "opsz" 120;
  text-wrap: balance;
}
[dir="rtl"] .display { letter-spacing: 0; line-height: 1.35; font-weight: 600; }
.display em {
  font-style: italic;
  font-weight: 400;
  background: linear-gradient(100deg, var(--wine) 10%, var(--rose) 55%, var(--coral) 95%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  padding-inline-end: .06em;
}
[dir="rtl"] .display em { font-style: normal; font-weight: 700; }
.eyebrow {
  font-size: .78rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase;
  color: var(--wine); margin: 0 0 14px; display: inline-flex; align-items: center; gap: 10px;
}
[dir="rtl"] .eyebrow { letter-spacing: 0; font-size: .92rem; }
.eyebrow::before { content: ""; width: 22px; height: 1px; background: currentColor; opacity: .6; }
.eyebrow.gold, .light .eyebrow { color: var(--gold-soft); }
.sub { font-size: 1.08rem; color: var(--ink-soft); max-width: 640px; }
.lede { font-size: clamp(1.06rem, 2.2vw, 1.22rem); color: var(--ink-soft); max-width: 560px; }
.lede strong { color: var(--ink); }

.sec-head { text-align: center; margin: 0 auto clamp(34px, 6vw, 60px); max-width: 780px; }
.sec-head .sub { margin-inline: auto; margin-top: 16px; }
.sec-head.left { text-align: start; margin-inline: 0; }
.sec-head.left .sub { margin-inline: 0; }
.sec-head.light .display, .light .display { color: #fff; }
.sec-head.light .sub, .sub.light { color: rgba(255, 255, 255, .72); }

/* ------------------------------------------------------------------ */
/*  Buttons                                                            */
/* ------------------------------------------------------------------ */
.btn {
  --bg: var(--wine);
  position: relative; isolation: isolate; overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 24px; border-radius: 999px; border: 0; cursor: pointer;
  background: var(--bg); color: #fff; text-decoration: none; font-weight: 600; font-size: 1rem;
  box-shadow: 0 10px 24px -10px rgba(142, 29, 60, .7), inset 0 1px 0 rgba(255, 255, 255, .18);
  transition: transform .35s var(--spring), box-shadow .35s var(--ease), background .3s;
  -webkit-tap-highlight-color: transparent;
}
.btn::after { /* travelling sheen */
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(105deg, transparent 35%, rgba(255, 255, 255, .28) 50%, transparent 65%);
  transform: translateX(-120%); transition: transform .8s var(--ease);
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 18px 34px -12px rgba(142, 29, 60, .75); }
.btn:hover::after { transform: translateX(120%); }
.btn:active { transform: translateY(0) scale(.98); }
.btn .arr { font-style: normal; transition: transform .35s var(--spring); }
.btn:hover .arr { transform: translateX(4px); }
[dir="rtl"] .btn:hover .arr { transform: translateX(-4px); }
.btn-lg { padding: 17px 30px; font-size: 1.06rem; }
.btn-sm { padding: 9px 16px; font-size: .9rem; box-shadow: none; }
.btn-block { width: 100%; }
.btn-ghost { --bg: transparent; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--line); background: rgba(255, 255, 255, .55); backdrop-filter: blur(6px); }
.btn-ghost:hover { box-shadow: inset 0 0 0 1.5px var(--wine); }
.btn-light { --bg: #fff; color: var(--wine-deep); box-shadow: 0 16px 40px -12px rgba(0, 0, 0, .5); }
.btn-gold { --bg: linear-gradient(135deg, #F2D59A, #C9974A); color: #2b1a05; box-shadow: 0 12px 30px -10px rgba(226, 180, 90, .6); }
.btn svg { flex: none; }
.pulse-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--rose); box-shadow: 0 0 0 0 rgba(232, 56, 111, .6); animation: pulse 2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 10px rgba(232, 56, 111, 0); } 100% { box-shadow: 0 0 0 0 rgba(232, 56, 111, 0); } }

.link-arrow { display: inline-flex; gap: 8px; align-items: center; font-weight: 600; color: var(--wine); text-decoration: none; }
.link-arrow i { font-style: normal; transition: transform .3s var(--spring); }
.link-arrow:hover i, a:hover .link-arrow i { transform: translateX(5px); }
[dir="rtl"] .link-arrow:hover i, [dir="rtl"] a:hover .link-arrow i { transform: translateX(-5px); }
.link-arrow.light { color: var(--gold-soft); margin-top: 22px; }

.tag { display: inline-block; font-size: .78rem; font-weight: 700; color: var(--wine); background: rgba(142, 29, 60, .08); padding: 2px 9px; border-radius: 999px; white-space: nowrap; }

/* ------------------------------------------------------------------ */
/*  Header                                                             */
/* ------------------------------------------------------------------ */
.site-head {
  position: fixed; inset: 0 0 auto; z-index: 60; height: var(--head-h);
  transition: background .35s, box-shadow .35s, transform .45s var(--ease);
}
.site-head.stuck { background: rgba(251, 247, 242, .86); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px); box-shadow: 0 1px 0 var(--line); }
.site-head.hide { transform: translateY(-100%); }
.head-in { height: 100%; display: flex; align-items: center; gap: 18px; }
.brand img { height: 44px; width: auto; }
.main-nav { display: none; margin-inline-start: auto; gap: 4px; }
.main-nav a {
  position: relative; text-decoration: none; font-size: .93rem; font-weight: 500; color: var(--ink-soft);
  padding: 8px 12px; border-radius: 999px; transition: color .2s, background .2s;
}
.main-nav a:hover { color: var(--ink); background: rgba(142, 29, 60, .06); }
.main-nav a[aria-current="page"] { color: var(--wine); }
.main-nav a[aria-current="page"]::after { content: ""; position: absolute; inset-inline: 14px; bottom: 3px; height: 2px; border-radius: 2px; background: var(--wine); }
.nav-badge { font-style: normal; font-size: .62rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: #fff; background: linear-gradient(135deg, var(--rose), var(--coral)); padding: 2px 6px; border-radius: 999px; margin-inline-start: 6px; vertical-align: 2px; }
.head-actions { margin-inline-start: auto; display: flex; align-items: center; gap: 10px; }
.main-nav + .head-actions { margin-inline-start: 8px; }
.lang-switch { text-decoration: none; font-weight: 600; font-size: .9rem; padding: 7px 12px; border-radius: 999px; box-shadow: inset 0 0 0 1.5px var(--line); transition: box-shadow .2s, color .2s; }
.lang-switch:hover { box-shadow: inset 0 0 0 1.5px var(--wine); color: var(--wine); }
.lang-switch[lang="ar"] { font-family: "IBM Plex Sans Arabic", sans-serif; }
.head-actions .btn-sm { display: none; }
.burger { width: 44px; height: 44px; border: 0; background: transparent; border-radius: 12px; cursor: pointer; display: grid; place-content: center; gap: 6px; }
.burger span { display: block; width: 22px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .35s var(--ease); }
.burger[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
.burger[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }
.scroll-progress { position: absolute; inset-inline-start: 0; bottom: 0; height: 2px; width: 100%; transform-origin: left; transform: scaleX(var(--p, 0)); background: linear-gradient(90deg, var(--wine), var(--rose), var(--gold)); }
[dir="rtl"] .scroll-progress { transform-origin: right; }

.mobile-menu {
  position: fixed; inset: var(--head-h) 0 0; z-index: 59; background: var(--ivory);
  display: flex; flex-direction: column; justify-content: space-between; padding: 24px var(--gut) calc(24px + env(safe-area-inset-bottom));
  overflow-y: auto; animation: mm-in .35s var(--ease);
}
@keyframes mm-in { from { opacity: 0; transform: translateY(-10px); } }
.mobile-menu nav { display: flex; flex-direction: column; }
.mobile-menu nav a {
  font-family: var(--f-display); font-size: 1.7rem; text-decoration: none; padding: 10px 0; border-bottom: 1px solid var(--line);
  opacity: 0; transform: translateY(12px); animation: mm-item .5s var(--ease) forwards; animation-delay: calc(var(--i) * 40ms + 80ms);
}
@keyframes mm-item { to { opacity: 1; transform: none; } }
.mm-foot { display: grid; gap: 14px; margin-top: 24px; text-align: center; }
.mm-lang { font-weight: 600; color: var(--wine); }
body.menu-open { overflow: hidden; }
body.menu-open .site-head { background: var(--ivory); }

@media (min-width: 640px) {
  .head-actions .btn-sm { display: inline-flex; }
}
@media (min-width: 1100px) {
  :root { --head-h: 76px; }
  .main-nav { display: flex; }
  .burger { display: none; }
  .head-actions { margin-inline-start: 6px; }
  .brand img { height: 50px; }
}

/* ------------------------------------------------------------------ */
/*  Sections                                                           */
/* ------------------------------------------------------------------ */
.section { position: relative; padding: clamp(70px, 11vw, 130px) 0; }
.band-paper { background: linear-gradient(180deg, var(--paper), var(--ivory)); }
.band-ink { background: radial-gradient(1200px 700px at 80% -10%, #3a1330 0%, transparent 60%), linear-gradient(180deg, #1f1216, #2a1519); color: #fff; }
.band-ink .sub { color: rgba(255, 255, 255, .7); }

/* ------------------------------------------------------------------ */
/*  Reveal + split-word animation                                      */
/* ------------------------------------------------------------------ */
.js [data-reveal] { opacity: 0; transform: translateY(26px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: calc(var(--d, 0) * 110ms); }
.js [data-reveal].in { opacity: 1; transform: none; }
.split-w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .08em; margin-bottom: -.08em; }
.split-w > span { display: inline-block; transform: translateY(105%); transition: transform 1s var(--ease); transition-delay: calc(var(--w) * 55ms); }
.split-in .split-w > span { transform: none; }
[dir="rtl"] .split-w { padding-bottom: .2em; margin-bottom: -.2em; }
/* em inside a split heading: each word carries the gradient itself */
.display em .split-w, .display em .split-w > span { background: inherit; -webkit-background-clip: text; background-clip: text; color: transparent; }
.display em { display: inline; }
.hero-in { opacity: 0; transform: translateY(18px); animation: hero-in 1s var(--ease) forwards; animation-delay: calc(var(--d) * 120ms + 150ms); }
@keyframes hero-in { to { opacity: 1; transform: none; } }

/* ------------------------------------------------------------------ */
/*  HERO                                                               */
/* ------------------------------------------------------------------ */
.hero { position: relative; padding: calc(var(--head-h) + 28px) 0 70px; min-height: 100svh; display: flex; align-items: center; overflow: hidden; }
.hero-glow {
  position: absolute; inset: 0; pointer-events: none; z-index: -1;
  background:
    radial-gradient(520px 420px at 78% 38%, rgba(232, 56, 111, .16), transparent 70%),
    radial-gradient(460px 380px at 88% 78%, rgba(194, 154, 85, .2), transparent 70%),
    radial-gradient(600px 460px at 5% 10%, rgba(244, 99, 63, .09), transparent 70%);
  animation: glow 16s ease-in-out infinite alternate;
}
@keyframes glow { to { transform: translate3d(-3%, 2%, 0) scale(1.06); } }
.hero-sparkles { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 0; }
.hero-grid { position: relative; z-index: 1; display: grid; gap: 44px; align-items: center; }
.hero-title { font-size: clamp(2.35rem, 7.4vw, 4.4rem); margin-bottom: 20px; }
.hero-steps {
  list-style: none; padding: 0; margin: 26px 0 28px; display: grid; gap: 10px; max-width: 520px;
}
.hero-steps li {
  display: flex; align-items: center; gap: 14px; font-size: 1.02rem; color: var(--ink);
  background: rgba(255, 255, 255, .7); border: 1px solid var(--line); border-radius: 16px; padding: 10px 16px 10px 10px;
  box-shadow: var(--sh-sm); backdrop-filter: blur(6px);
}
[dir="rtl"] .hero-steps li { padding: 10px 10px 10px 16px; }
.hero-steps li span {
  flex: none; width: 32px; height: 32px; border-radius: 10px; display: grid; place-items: center;
  font-weight: 700; color: #fff; background: linear-gradient(135deg, var(--wine), var(--rose));
}
.hero-steps b { color: var(--wine); }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-fine { margin-top: 20px; font-size: .92rem; color: var(--ink-soft); }
.hero-fine b { color: var(--ink); }

.hero-stage { position: relative; height: clamp(420px, 110vw, 560px); max-width: 520px; width: 100%; margin-inline: auto; perspective: 1200px; }
.hs-card { position: absolute; margin: 0; border-radius: 22px; overflow: hidden; box-shadow: var(--sh-lg); background: #ddd; will-change: transform; transition: transform .6s var(--ease); }
.hs-card img, .hs-card video { width: 100%; height: 100%; object-fit: cover; }
.hs-main { width: 58%; aspect-ratio: 3 / 4; inset-inline-start: 21%; top: 6%; z-index: 3; border: 6px solid #fff; transform: translate3d(var(--mx, 0), var(--my, 0), 0) rotate(-1.5deg); }
.hs-main .media-frame { border-radius: 16px; height: 100%; aspect-ratio: auto; }
.hs-left { width: 44%; aspect-ratio: 3 / 4; inset-inline-start: 0; top: 24%; z-index: 2; transform: translate3d(var(--mx, 0), var(--my, 0), 0) rotate(-9deg); border: 5px solid #fff; animation: float-a 7s ease-in-out infinite; }
.hs-right { width: 44%; aspect-ratio: 3 / 4; inset-inline-end: 0; top: 30%; z-index: 2; transform: translate3d(var(--mx, 0), var(--my, 0), 0) rotate(8deg); border: 5px solid #fff; animation: float-b 8s ease-in-out infinite; }
@keyframes float-a { 50% { translate: 0 -10px; } }
@keyframes float-b { 50% { translate: 0 12px; } }
.hs-chip {
  position: absolute; z-index: 4; display: inline-flex; align-items: center; gap: 8px; white-space: nowrap;
  background: rgba(255, 255, 255, .92); backdrop-filter: blur(10px); border-radius: 999px; padding: 9px 15px;
  font-size: .86rem; font-weight: 600; box-shadow: var(--sh-md); transform: translate3d(var(--mx, 0), var(--my, 0), 0);
}
.hs-chip-a { top: 2%; inset-inline-end: 0; animation: float-b 6s ease-in-out infinite; }
.hs-chip-b { bottom: 4%; inset-inline-start: 2%; animation: float-a 7s ease-in-out infinite; }
.stars-mini { color: #E7A93B; letter-spacing: 1px; }
.chip-ico { font-size: 1rem; }
.scroll-cue { position: absolute; bottom: 22px; left: 50%; translate: -50% 0; width: 26px; height: 42px; border-radius: 14px; border: 1.5px solid var(--ink-faint); display: none; }
.scroll-cue span { position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: var(--wine); animation: cue 1.8s var(--ease) infinite; }
@keyframes cue { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }

@media (min-width: 960px) {
  .hero-grid { grid-template-columns: 1.05fr .95fr; gap: 40px; }
  .hero-stage { height: 600px; max-width: none; }
  .scroll-cue { display: block; }
}

/* ------------------------------------------------------------------ */
/*  Theme ribbon                                                       */
/* ------------------------------------------------------------------ */
.ribbon { padding: 20px 0; background: var(--wine-deep); color: #fff; overflow: hidden; transform: rotate(-1.2deg) scale(1.03); box-shadow: 0 20px 40px -20px rgba(110, 20, 48, .5); position: relative; z-index: 2; }
.ribbon-track { display: flex; width: max-content; animation: ribbon 55s linear infinite; }
[dir="rtl"] .ribbon-track { animation-name: ribbon-rtl; }
.ribbon:hover .ribbon-track { animation-play-state: paused; }
.ribbon-row { display: flex; align-items: center; gap: 26px; padding-inline-end: 26px; }
.ribbon-row span { font-family: var(--f-display); font-size: clamp(1.2rem, 2.6vw, 1.6rem); font-style: italic; white-space: nowrap; }
[dir="rtl"] .ribbon-row span { font-style: normal; }
.ribbon-row i { color: var(--gold-soft); font-style: normal; }
@keyframes ribbon { to { transform: translateX(-50%); } }
@keyframes ribbon-rtl { to { transform: translateX(50%); } }

/* ------------------------------------------------------------------ */
/*  Media frames                                                       */
/* ------------------------------------------------------------------ */
.media-frame { position: relative; overflow: hidden; border-radius: var(--radius); background: #1c1412; }
.media-frame.portrait { aspect-ratio: 3 / 4; }
.media-frame.phone { aspect-ratio: 9 / 16; border-radius: 26px; border: 7px solid #111; }
.media-frame video { width: 100%; height: 100%; object-fit: cover; }

/* ------------------------------------------------------------------ */
/*  Product trio                                                       */
/* ------------------------------------------------------------------ */
.trio { display: grid; gap: 22px; }
.trio-card {
  position: relative; display: flex; flex-direction: column; text-decoration: none; background: #fff;
  border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--sh-md); border: 1px solid var(--line);
  transform-style: preserve-3d; transition: transform .5s var(--ease), box-shadow .5s var(--ease);
}
.trio-card:hover { box-shadow: var(--sh-lg); }
.trio-card figure { margin: 0; aspect-ratio: 4 / 3.4; overflow: hidden; background: var(--paper); }
.trio-card img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.trio-card:hover img { transform: scale(1.06); }
.trio-copy { padding: 22px 24px 26px; }
.trio-copy h3 { font-family: var(--f-display); font-size: 1.55rem; font-weight: 500; margin-bottom: 8px; }
.trio-copy p:not(.eyebrow) { color: var(--ink-soft); font-size: .98rem; }
.trio-copy .eyebrow { margin-bottom: 8px; }
.trio-best { position: absolute; top: 16px; inset-inline-start: 16px; background: #fff; color: var(--wine); font-size: .78rem; font-weight: 700; padding: 6px 12px; border-radius: 999px; box-shadow: var(--sh-md); }
@media (min-width: 820px) { .trio { grid-template-columns: repeat(3, 1fr); } }

/* ------------------------------------------------------------------ */
/*  Transformation (photo → book)                                      */
/* ------------------------------------------------------------------ */
.morph { display: grid; grid-template-columns: .8fr auto 1fr; align-items: center; gap: clamp(8px, 3vw, 40px); max-width: 700px; margin: 0 auto; }
.morph figure { margin: 0; position: relative; }
.morph-photo img { border-radius: 20px; border: 6px solid #fff; box-shadow: var(--sh-lg); rotate: -4deg; }
.morph-tag { position: absolute; top: -14px; inset-inline-start: 50%; translate: -50% 0; z-index: 2; background: #fff; border: 1px solid var(--line); padding: 5px 14px; border-radius: 999px; font-size: .82rem; font-weight: 700; box-shadow: var(--sh-sm); white-space: nowrap; }
[dir="rtl"] .morph-tag { translate: 50% 0; }
.morph-tag.gold { background: linear-gradient(135deg, #F2D59A, #C9974A); border: 0; color: #2b1a05; }
.book3d { position: relative; perspective: 1000px; filter: drop-shadow(0 30px 40px rgba(60, 30, 22, .35)); }
.book3d img { border-radius: 4px 12px 12px 4px; }
.shine { position: absolute; inset: 0; border-radius: inherit; background: linear-gradient(115deg, transparent 30%, rgba(255, 255, 255, .55) 45%, transparent 60%); transform: translateX(-100%); mix-blend-mode: soft-light; }
.morph-wand { color: var(--gold); position: relative; display: grid; place-items: center; }
.morph-wand svg { width: clamp(40px, 9vw, 120px); height: auto; }
[dir="rtl"] .morph-wand svg { transform: scaleX(-1); }
.wand-spark { position: absolute; color: var(--gold); font-size: 1rem; opacity: 0; }
.s1 { top: -14px; left: 40%; } .s2 { bottom: -10px; left: 20%; } .s3 { top: 0; right: 0; }
/* The sequence plays once when the block scrolls in (site.js adds .play) */
.js .morph .morph-photo { opacity: 0; transform: translateX(-40px) rotate(-6deg); }
[dir="rtl"].js .morph .morph-photo, .js[dir="rtl"] .morph .morph-photo { transform: translateX(40px) rotate(6deg); }
.js .morph .morph-book { opacity: 0; transform: perspective(1000px) rotateY(-35deg) scale(.9); }
.js .morph .wand-path { stroke-dashoffset: 120; }
.morph.play .morph-photo { opacity: 1; transform: none; transition: all 1s var(--ease); }
.morph.play .wand-path { stroke-dashoffset: 0; transition: stroke-dashoffset 1.2s .5s var(--ease); }
.morph.play .wand-spark { animation: spark 1.6s 1s var(--ease) infinite; }
.morph.play .s2 { animation-delay: 1.3s; } .morph.play .s3 { animation-delay: 1.6s; }
.morph.play .morph-book { opacity: 1; transform: none; transition: opacity .8s 1.1s, transform 1.4s 1.1s var(--spring); }
.morph.play .shine { animation: shine 2.4s 2.2s var(--ease) infinite; }
@keyframes spark { 0% { opacity: 0; transform: scale(.4) translateY(6px); } 40% { opacity: 1; } 100% { opacity: 0; transform: scale(1.3) translateY(-12px) rotate(40deg); } }
@keyframes shine { 0% { transform: translateX(-100%); } 45%, 100% { transform: translateX(110%); } }

.note-row { list-style: none; padding: 0; margin: 50px auto 0; display: grid; gap: 12px; max-width: 980px; }
.note-row li { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 14px 18px; font-size: .97rem; color: var(--ink-soft); box-shadow: var(--sh-sm); }
.note-row b { color: var(--ink); }
@media (min-width: 760px) { .note-row { grid-template-columns: repeat(3, 1fr); } }

/* ------------------------------------------------------------------ */
/*  Video reel                                                         */
/* ------------------------------------------------------------------ */
.reel-sec { position: relative; }
.reel-sticky { padding: clamp(70px, 10vw, 110px) 0; overflow: hidden; }
.reel-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 20px; margin-bottom: 36px; }
.reel-head .sec-head { margin-bottom: 0; }
.reel-nav { display: flex; align-items: center; gap: 14px; color: rgba(255, 255, 255, .7); font-variant-numeric: tabular-nums; }
.reel-count b { color: #fff; font-size: 1.3rem; }
.reel-bar { width: 120px; height: 2px; background: rgba(255, 255, 255, .15); border-radius: 2px; overflow: hidden; }
.reel-bar i { display: block; height: 100%; width: 100%; background: var(--gold-soft); transform-origin: left; transform: scaleX(var(--rp, .12)); }
[dir="rtl"] .reel-bar i { transform-origin: right; }
.reel-track {
  display: flex; gap: 18px; padding-inline: max(var(--gut), calc((100vw - var(--wrap)) / 2 + var(--gut)));
  overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; -webkit-overflow-scrolling: touch;
}
.reel-track::-webkit-scrollbar { display: none; }
.reel-card { flex: none; width: min(68vw, 300px); margin: 0; scroll-snap-align: center; cursor: zoom-in; position: relative; transition: transform .5s var(--ease); }
.reel-card:hover { transform: translateY(-6px); }
.reel-card .media-frame { border-radius: 22px; box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .8); }
.reel-card figcaption { margin-top: 12px; display: flex; gap: 10px; align-items: baseline; color: rgba(255, 255, 255, .85); font-size: .95rem; }
.rc-num { font-family: var(--f-display); font-style: italic; color: var(--gold-soft); }
.rc-zoom { position: absolute; top: 12px; inset-inline-end: 12px; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: rgba(0, 0, 0, .35); backdrop-filter: blur(6px); color: #fff; opacity: 0; transition: opacity .3s; }
.reel-card:hover .rc-zoom, .reel-card:focus-visible .rc-zoom { opacity: 1; }
/* Desktop: the section pins and vertical scroll drives the track sideways. */
/* JS only sets .is-pinned on wide screens without reduced motion. */
@media (min-width: 960px) {
  .reel-pin.is-pinned { height: var(--pin-h, 300vh); }
  .reel-pin.is-pinned .reel-sticky { position: sticky; top: 0; height: 100vh; display: flex; flex-direction: column; justify-content: center; }
  .reel-pin.is-pinned .reel-track { overflow: visible; scroll-snap-type: none; transform: translate3d(var(--rx, 0), 0, 0); will-change: transform; }
  .reel-card { width: 280px; }
}

/* ------------------------------------------------------------------ */
/*  How it works                                                       */
/* ------------------------------------------------------------------ */
.how-grid { display: grid; gap: 50px; align-items: start; }
.steps { list-style: none; padding: 0; margin: 0 0 30px; position: relative; }
.steps::before { content: ""; position: absolute; inset-inline-start: 23px; top: 10px; bottom: 10px; width: 2px; background: var(--line); }
.steps::after { content: ""; position: absolute; inset-inline-start: 23px; top: 10px; width: 2px; height: calc(var(--sp, 0) * (100% - 20px)); background: linear-gradient(var(--wine), var(--rose)); transition: height .3s linear; }
.steps li { display: flex; gap: 20px; padding: 14px 0; position: relative; z-index: 1; }
.step-n {
  flex: none; width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center;
  font-family: var(--f-display); font-weight: 600; background: var(--ivory); border: 2px solid var(--line); color: var(--ink-faint);
  transition: all .5s var(--ease);
}
.steps li.lit .step-n { background: linear-gradient(135deg, var(--wine), var(--rose)); border-color: transparent; color: #fff; transform: scale(1.08); box-shadow: 0 10px 20px -8px rgba(142, 29, 60, .6); }
.steps h3 { font-size: 1.15rem; margin: 10px 0 6px; }
.steps p { color: var(--ink-soft); font-size: .98rem; }
.phone { position: relative; width: min(300px, 78vw); margin: 0 auto; aspect-ratio: 9 / 19; border-radius: 44px; background: #0c0c12; padding: 11px; box-shadow: 0 50px 90px -40px rgba(40, 10, 30, .7), inset 0 0 0 2px #2b2b35; }
.phone-notch { position: absolute; top: 18px; left: 50%; translate: -50% 0; width: 86px; height: 22px; border-radius: 20px; background: #000; z-index: 3; }
.phone-screen { position: relative; width: 100%; height: 100%; border-radius: 34px; overflow: hidden; background: #0d111c; }
.film-poster, .film { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border: 0; }
.film { opacity: 0; transition: opacity .6s; }
.film.ready { opacity: 1; }
.phone-cap { text-align: center; margin-top: 16px; color: var(--ink-soft); font-size: .92rem; }
.how-media { position: relative; }
.how-media::before { content: ""; position: absolute; inset: 10% -10%; background: radial-gradient(closest-side, rgba(232, 56, 111, .18), transparent); z-index: -1; }
.rec-row { margin-top: clamp(70px, 10vw, 110px); }
.rec-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; max-width: 560px; margin: 0 auto; }
.rec-grid figure { margin: 0; }
.rec-grid figcaption { text-align: center; margin-top: 10px; font-weight: 600; }
@media (min-width: 960px) {
  .how-grid { grid-template-columns: 1.1fr .9fr; gap: 80px; }
  .how-media { position: sticky; top: calc(var(--head-h) + 30px); }
}

/* ------------------------------------------------------------------ */
/*  Night band — audiobook                                             */
/* ------------------------------------------------------------------ */
.night { background: radial-gradient(900px 600px at 85% 10%, #3b2a6b 0%, transparent 60%), radial-gradient(700px 500px at 0% 100%, #4a1d44 0%, transparent 60%), linear-gradient(180deg, var(--night), #1b1436); color: #fff; overflow: hidden; }
.night .sub { color: rgba(255, 255, 255, .75); }
.night .display { color: #fff; }
.night .display em { background: linear-gradient(100deg, #F2D59A, #FFB1C8); -webkit-background-clip: text; background-clip: text; }
.stars { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.moon { position: absolute; top: 60px; inset-inline-end: 8%; width: 90px; height: 90px; border-radius: 50%; background: radial-gradient(circle at 35% 35%, #fff8e4, #f2d59a 60%, #c9974a); box-shadow: 0 0 80px 20px rgba(242, 213, 154, .25); opacity: .9; }
.moon::after { content: ""; position: absolute; inset: -6px -20px 6px 20px; border-radius: 50%; background: #221a42; }
[dir="rtl"] .moon::after { inset: -6px 20px 6px -20px; }
.ab-grid { position: relative; display: grid; gap: 50px; align-items: center; }
.new-pill { background: linear-gradient(135deg, var(--rose), var(--coral)); color: #fff; padding: 3px 10px; border-radius: 999px; font-size: .7rem; letter-spacing: .08em; }
.eyebrow.gold .new-pill + * { color: var(--gold-soft); }
.ab-points { list-style: none; padding: 0; margin: 30px 0; display: grid; gap: 14px; }
.ab-points li { display: flex; gap: 14px; align-items: flex-start; background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .08); border-radius: 16px; padding: 14px 16px; }
.ab-points li > span { font-size: 1.4rem; line-height: 1; margin-top: 2px; }
.ab-points b { display: block; margin-bottom: 2px; }
.ab-points div { color: rgba(255, 255, 255, .72); font-size: .95rem; }
.ab-points div b { color: #fff; }
.ab-price { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 20px; padding: 18px; border-radius: 22px; background: linear-gradient(135deg, rgba(242, 213, 154, .14), rgba(255, 177, 200, .08)); border: 1px solid rgba(242, 213, 154, .3); }
.abp-tag { display: flex; align-items: baseline; gap: 4px; font-family: var(--f-display); color: var(--gold-soft); }
.abp-tag b { font-size: 2.6rem; line-height: 1; }
.abp-copy { flex: 1; min-width: 180px; display: grid; gap: 2px; }
.abp-copy span { color: rgba(255, 255, 255, .65); font-size: .9rem; }
@media (min-width: 960px) { .ab-grid { grid-template-columns: 1fr 1fr; gap: 70px; } }

/* The player */
.ab-visual { position: relative; }
.ab-player {
  position: relative; overflow: hidden; isolation: isolate; border-radius: 30px; padding: 22px;
  background: linear-gradient(160deg, rgba(255, 255, 255, .12), rgba(255, 255, 255, .04)); border: 1px solid rgba(255, 255, 255, .14);
  backdrop-filter: blur(18px); box-shadow: 0 50px 100px -40px rgba(0, 0, 0, .8); max-width: 460px; margin: 0 auto;
}
.ab-aura { position: absolute; inset: -30%; z-index: -1; background: conic-gradient(from 0deg, rgba(232, 56, 111, .25), rgba(242, 213, 154, .2), rgba(120, 90, 255, .25), rgba(232, 56, 111, .25)); filter: blur(60px); animation: aura 14s linear infinite; opacity: .6; }
.ab-player.playing .ab-aura { opacity: 1; animation-duration: 6s; }
@keyframes aura { to { transform: rotate(360deg); } }
.ab-top { display: flex; gap: 16px; align-items: center; }
.ab-cover { width: 84px; height: auto; aspect-ratio: 848 / 1264; object-fit: cover; border-radius: 6px 10px 10px 6px; box-shadow: 0 14px 30px -10px rgba(0, 0, 0, .7); }
.ab-eyebrow { font-size: .74rem; text-transform: uppercase; letter-spacing: .14em; color: var(--gold-soft); margin: 0 0 4px; }
[dir="rtl"] .ab-eyebrow { letter-spacing: 0; font-size: .85rem; }
.ab-meta h3 { font-family: var(--f-display); font-weight: 500; font-size: 1.35rem; margin-bottom: 10px; }
.ab-langs { display: inline-flex; background: rgba(0, 0, 0, .25); border-radius: 999px; padding: 3px; }
.ab-langs button { border: 0; background: transparent; color: rgba(255, 255, 255, .7); padding: 5px 12px; border-radius: 999px; font-size: .82rem; cursor: pointer; transition: all .25s; }
.ab-langs button[aria-pressed="true"] { background: #fff; color: var(--night); font-weight: 600; }
.ab-text { margin: 20px 0; min-height: 212px; font-family: var(--f-display); font-size: 1.12rem; line-height: 1.6; color: rgba(255, 255, 255, .38); }
.ab-text[dir="rtl"] { font-family: "El Messiri", "IBM Plex Sans Arabic", serif; line-height: 1.9; }
.ab-text[dir="ltr"] { font-family: "Fraunces", Georgia, serif; }
.ab-text p { margin: 0 0 10px; transition: color .4s; }
.ab-text p.cur { color: rgba(255, 255, 255, .7); }
.ab-text .w { transition: color .25s, text-shadow .25s; }
.ab-text .w.on { color: #fff; text-shadow: 0 0 18px rgba(242, 213, 154, .55); }
.ab-controls { display: flex; align-items: center; gap: 14px; }
.ab-play { flex: none; width: 58px; height: 58px; border-radius: 50%; border: 0; cursor: pointer; display: grid; place-items: center; color: var(--night); background: linear-gradient(135deg, #fff8e4, #F2D59A); box-shadow: 0 0 0 0 rgba(242, 213, 154, .5); animation: pulse-gold 2.4s infinite; transition: transform .3s var(--spring); }
.ab-play:hover { transform: scale(1.06); }
.ab-play .i-pause, .ab-player.playing .ab-play .i-play { display: none; }
.ab-player.playing .ab-play .i-pause { display: block; }
.ab-player.playing .ab-play { animation: none; }
@keyframes pulse-gold { 70% { box-shadow: 0 0 0 16px rgba(242, 213, 154, 0); } 100% { box-shadow: 0 0 0 0 rgba(242, 213, 154, 0); } }
.ab-wave { flex: 1; height: 40px; display: flex; align-items: center; gap: 3px; cursor: pointer; }
.ab-wave i { flex: 1; height: calc(var(--h) * 100%); border-radius: 3px; background: rgba(255, 255, 255, .22); transition: background .2s; }
.ab-wave i.done { background: linear-gradient(var(--gold-soft), #FFB1C8); }
.ab-player.playing .ab-wave i { animation: wave 1s ease-in-out infinite alternate; animation-delay: calc(var(--h) * -1s); }
@keyframes wave { to { transform: scaleY(.6); } }
.ab-time { font-variant-numeric: tabular-nums; font-size: .85rem; color: rgba(255, 255, 255, .7); min-width: 36px; }
.ab-hint { margin: 14px 0 0; font-size: .84rem; color: rgba(255, 255, 255, .55); text-align: center; }
.ab-scan { position: absolute; bottom: -34px; inset-inline-start: -10px; display: none; flex-direction: column; align-items: center; gap: 6px; transform: rotate(-6deg); }
.scan-page { position: relative; width: 96px; height: 96px; border-radius: 16px; background: #fff; display: grid; place-items: center; color: var(--night); box-shadow: 0 20px 40px -14px rgba(0, 0, 0, .7); overflow: hidden; }
.scan-qr svg { width: 62px; height: 62px; }
.scan-line { position: absolute; inset-inline: 8px; top: 10px; height: 2px; background: var(--rose); box-shadow: 0 0 12px 2px rgba(232, 56, 111, .6); animation: scan 2.2s ease-in-out infinite; }
@keyframes scan { 50% { top: 82px; } }
.ab-scan p { margin: 0; font-size: .78rem; font-weight: 600; color: var(--gold-soft); }
@media (min-width: 640px) { .ab-scan { display: flex; } }
.page-audio .night { padding-top: calc(var(--head-h) + 60px); }

/* ------------------------------------------------------------------ */
/*  Quality                                                            */
/* ------------------------------------------------------------------ */
.q-grid { display: grid; gap: 40px; align-items: center; }
.seg { position: relative; display: inline-grid; grid-auto-flow: column; grid-auto-columns: 1fr; background: var(--paper); border-radius: 999px; padding: 4px; border: 1px solid var(--line); }
.seg button { position: relative; z-index: 1; border: 0; background: transparent; padding: 10px 18px; border-radius: 999px; font-weight: 600; font-size: .92rem; cursor: pointer; color: var(--ink-soft); transition: color .3s; white-space: nowrap; }
.seg button[aria-selected="true"], .seg button[aria-pressed="true"] { color: #fff; }
.seg-pill { position: absolute; z-index: 0; top: 4px; bottom: 4px; border-radius: 999px; background: linear-gradient(135deg, var(--wine), var(--rose)); box-shadow: 0 6px 14px -6px rgba(142, 29, 60, .6); transition: inset-inline-start .45s var(--spring), width .45s var(--spring); }
.q-demo { text-align: center; }
.q-stage { position: relative; margin: 22px auto 0; max-width: 380px; aspect-ratio: 3 / 4; }
.q-vid { position: absolute; inset: 0; opacity: 0; transform: scale(.94) rotate(-2deg); transition: opacity .6s var(--ease), transform .8s var(--ease); pointer-events: none; }
.q-vid.is-on { opacity: 1; transform: none; pointer-events: auto; }
.q-vid .media-frame { height: 100%; box-shadow: var(--sh-lg); border-radius: 24px; }
.q-card { background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: 22px 24px; box-shadow: var(--sh-sm); margin-bottom: 16px; }
.q-card h3 { font-family: var(--f-display); font-weight: 500; font-size: 1.4rem; margin-bottom: 10px; }
.q-card p { color: var(--ink-soft); font-size: .98rem; margin-bottom: 8px; }
.q-card p b { color: var(--ink); }
.sizes { display: flex; align-items: flex-end; gap: 14px; margin: 6px 0 14px; height: 96px; }
.size { border: 2px solid var(--wine); border-radius: 6px; display: grid; place-content: center; text-align: center; color: var(--wine); background: rgba(142, 29, 60, .04); }
.size span { font-weight: 700; } .size small { font-size: .7rem; color: var(--ink-faint); }
.size.a5 { width: 48px; height: 68px; } .size.a4 { width: 68px; height: 96px; background: rgba(142, 29, 60, .08); }
.spec-row { list-style: none; padding: 0; margin: 20px 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.spec-row li { font-size: .85rem; font-weight: 600; padding: 7px 13px; border-radius: 999px; background: var(--paper); border: 1px solid var(--line); }
@media (min-width: 900px) { .q-grid { grid-template-columns: .9fr 1.1fr; gap: 70px; } }

/* ------------------------------------------------------------------ */
/*  Emotion / photos                                                   */
/* ------------------------------------------------------------------ */
.emotion-grid, .proches-grid { display: grid; gap: 50px; align-items: center; }
.emotion-media, .proches-media { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.photo { margin: 0; border-radius: 20px; overflow: hidden; border: 6px solid #fff; box-shadow: var(--sh-lg); translate: 0 var(--par, 0); }
.photo img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 3 / 4; }
.tilt-a { rotate: -3deg; } .tilt-b { rotate: 3deg; margin-top: 50px; }
.pull { margin: 30px 0 0; padding: 20px 24px; border-inline-start: 3px solid var(--gold); background: rgba(255, 255, 255, .6); border-radius: 0 16px 16px 0; }
[dir="rtl"] .pull { border-radius: 16px 0 0 16px; }
.pull .ar { font-family: "El Messiri", serif; font-size: 1.5rem; margin: 0 0 6px; color: var(--wine); }
.pull cite { font-style: normal; color: var(--ink-soft); font-size: .92rem; }
@media (min-width: 900px) { .emotion-grid, .proches-grid { grid-template-columns: 1fr 1fr; gap: 80px; } }

/* ------------------------------------------------------------------ */
/*  Reactions + WhatsApp marquee                                       */
/* ------------------------------------------------------------------ */
.reactions { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; max-width: 700px; margin: 0 auto; }
.reactions.three { max-width: 1000px; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
.reaction { margin: 0; }
.reaction .media-frame { border-radius: 22px; box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .8); }
.reaction figcaption { margin-top: 12px; text-align: center; color: rgba(255, 255, 255, .8); font-size: .92rem; }
.play-btn { position: absolute; inset: 0; margin: auto; width: 72px; height: 72px; border-radius: 50%; border: 0; cursor: pointer; display: grid; place-items: center; background: rgba(255, 255, 255, .92); color: var(--wine); box-shadow: 0 0 0 0 rgba(255, 255, 255, .5); animation: pulse-w 2.2s infinite; transition: transform .3s var(--spring), opacity .3s; }
.play-btn:hover { transform: scale(1.08); }
.play-btn svg { margin-inline-start: 4px; }
@keyframes pulse-w { 70% { box-shadow: 0 0 0 18px rgba(255, 255, 255, 0); } 100% { box-shadow: 0 0 0 0 rgba(255, 255, 255, 0); } }
.reaction.playing .play-btn { opacity: 0; pointer-events: none; }
.marquee { margin-top: 60px; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee-track { display: flex; gap: 14px; width: max-content; animation: ribbon 70s linear infinite; direction: ltr; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-track img { height: 260px; width: auto; border-radius: 14px; box-shadow: 0 16px 30px -16px rgba(0, 0, 0, .8); }

/* ------------------------------------------------------------------ */
/*  Reviews                                                            */
/* ------------------------------------------------------------------ */
.rating-summary { display: inline-flex; align-items: center; gap: 12px; margin-top: 16px; background: #fff; padding: 10px 18px; border-radius: 999px; box-shadow: var(--sh-sm); border: 1px solid var(--line); }
.stars { color: #E7A93B; letter-spacing: 2px; }
.stars-lg { font-size: 1.2rem; }
.rating-summary b { font-size: 1.3rem; font-family: var(--f-display); }
.rating-count { color: var(--ink-soft); font-size: .9rem; }
.reviews { columns: 1; column-gap: 18px; }
.review { break-inside: avoid; margin: 0 0 18px; background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 22px; box-shadow: var(--sh-sm); transition: transform .4s var(--ease), box-shadow .4s; }
.review:hover { transform: translateY(-4px); box-shadow: var(--sh-md); }
.review blockquote { margin: 10px 0 14px; font-size: 1rem; line-height: 1.6; }
.review figcaption { font-size: .85rem; color: var(--ink-faint); }
@media (min-width: 700px) { .reviews { columns: 2; } }
@media (min-width: 1040px) { .reviews { columns: 3; } }
.review-form { max-width: 560px; margin: 50px auto 0; background: #fff; border-radius: 26px; padding: 28px; box-shadow: var(--sh-md); border: 1px solid var(--line); }
.review-form h3 { font-family: var(--f-display); font-size: 1.6rem; font-weight: 500; }
.rf-sub { color: var(--ink-soft); }
.rf-stars { border: 0; padding: 0; margin: 0 0 14px; }
.rf-stars legend { font-weight: 600; margin-bottom: 6px; }
.star-picker button { border: 0; background: none; font-size: 2rem; color: #ddd; cursor: pointer; padding: 0 2px; transition: color .2s, transform .2s var(--spring); }
.star-picker button.on { color: #E7A93B; }
.star-picker button:hover { transform: scale(1.15); }
.rf-field { display: grid; gap: 6px; margin-bottom: 14px; font-weight: 600; font-size: .92rem; }
.rf-field i { font-weight: 400; color: var(--ink-faint); }
.rf-field input, .rf-field textarea { font: inherit; font-weight: 400; padding: 12px 14px; border-radius: 12px; border: 1.5px solid var(--line); background: var(--ivory); transition: border-color .2s; }
.rf-field input:focus, .rf-field textarea:focus { outline: none; border-color: var(--wine); }
.rf-field textarea.invalid { border-color: var(--rose); }
.rf-trap { position: absolute; left: -9999px; }
.rf-status { min-height: 1.4em; margin: 10px 0 0; font-weight: 600; }
.rf-status.ok { color: #1f7a4d; } .rf-status.err { color: var(--rose); }
.rf-note { font-size: .82rem; color: var(--ink-faint); }

/* ------------------------------------------------------------------ */
/*  Price calculator                                                   */
/* ------------------------------------------------------------------ */
.big-price { white-space: nowrap; background: linear-gradient(100deg, var(--wine), var(--rose)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.calc { display: grid; gap: 22px; max-width: 980px; margin: 0 auto; }
.calc-opts { background: #fff; border-radius: 26px; padding: 22px; box-shadow: var(--sh-md); border: 1px solid var(--line); display: grid; gap: 20px; }
.calc-row { display: grid; gap: 8px; }
.calc-label { font-weight: 600; font-size: .92rem; }
.calc .seg { display: grid; width: 100%; }
.calc .seg button { padding: 11px 8px; }
.calc-toggle { display: flex; align-items: center; gap: 14px; cursor: pointer; padding: 14px; border-radius: 18px; background: linear-gradient(135deg, rgba(36, 26, 66, .05), rgba(232, 56, 111, .05)); border: 1px dashed rgba(142, 29, 60, .3); }
.calc-toggle input { position: absolute; opacity: 0; }
.tg { flex: none; width: 50px; height: 30px; border-radius: 999px; background: #d9cfc4; position: relative; transition: background .3s; }
.tg::after { content: ""; position: absolute; top: 3px; inset-inline-start: 3px; width: 24px; height: 24px; border-radius: 50%; background: #fff; box-shadow: 0 2px 6px rgba(0, 0, 0, .2); transition: inset-inline-start .35s var(--spring); }
.calc-toggle input:checked + .tg { background: linear-gradient(135deg, var(--wine), var(--rose)); }
.calc-toggle input:checked + .tg::after { inset-inline-start: 23px; }
.calc-toggle input:focus-visible + .tg { outline: 3px solid var(--rose); outline-offset: 3px; }
.tg-copy { display: grid; }
.tg-copy b { display: inline-flex; align-items: center; gap: 8px; }
.tg-copy b svg { color: var(--wine); width: 18px; height: 18px; }
.tg-copy small { color: var(--ink-soft); }
.calc-out { position: relative; overflow: hidden; background: linear-gradient(160deg, var(--wine-deep), #3b0f24); color: #fff; border-radius: 26px; padding: 26px; box-shadow: var(--sh-lg); }
.calc-out::before { content: ""; position: absolute; width: 300px; height: 300px; top: -120px; inset-inline-end: -100px; border-radius: 50%; background: radial-gradient(rgba(242, 213, 154, .35), transparent 70%); }
.calc-k { margin: 0; color: rgba(255, 255, 255, .7); font-size: .9rem; }
.calc-total { margin: 4px 0 12px; font-family: var(--f-display); }
.calc-total b { font-size: 3.6rem; line-height: 1; font-variant-numeric: tabular-nums; }
.calc-total span { font-size: 1.3rem; color: var(--gold-soft); }
.calc-lines { list-style: none; padding: 0; margin: 0 0 12px; font-size: .9rem; color: rgba(255, 255, 255, .8); }
.calc-lines li { display: flex; justify-content: space-between; padding: 5px 0; border-bottom: 1px dashed rgba(255, 255, 255, .15); animation: line-in .4s var(--ease); }
@keyframes line-in { from { opacity: 0; transform: translateY(-4px); } }
.calc-ship { font-size: .88rem; color: rgba(255, 255, 255, .7); margin-bottom: 18px; }
.calc-out .btn { --bg: #fff; color: var(--wine-deep); }
.calc-note { margin: 12px 0 0; font-size: .8rem; color: rgba(255, 255, 255, .6); text-align: center; }
.bump { animation: bump .45s var(--spring); display: inline-block; }
@keyframes bump { 40% { transform: scale(1.12); } }
@media (min-width: 860px) { .calc { grid-template-columns: 1.3fr 1fr; align-items: stretch; } }

/* ------------------------------------------------------------------ */
/*  Delivery                                                           */
/* ------------------------------------------------------------------ */
.ship-grid { display: grid; gap: 50px; align-items: center; }
.ship-media { margin: 0; max-width: 420px; justify-self: center; width: 100%; translate: 0 var(--par, 0); }
.ship-media .media-frame { border-radius: 28px; box-shadow: var(--sh-lg); }
.facts { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.facts li { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 16px 20px; box-shadow: var(--sh-sm); display: grid; gap: 2px; }
.facts b { font-size: 1.08rem; }
.facts span { color: var(--ink-soft); font-size: .95rem; }
@media (min-width: 900px) { .ship-grid { grid-template-columns: .85fr 1.15fr; gap: 80px; } }

/* ------------------------------------------------------------------ */
/*  FAQ                                                                */
/* ------------------------------------------------------------------ */
.faq-wrap { max-width: 860px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 22px 0; font-weight: 600; font-size: 1.08rem; transition: color .2s; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: var(--wine); }
.faq summary i { flex: none; width: 30px; height: 30px; border-radius: 50%; background: var(--paper); position: relative; transition: background .3s, transform .45s var(--spring); }
.faq summary i::before, .faq summary i::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 2px; margin: -1px 0 0 -6px; background: var(--wine); border-radius: 2px; transition: transform .35s var(--ease); }
.faq summary i::after { transform: rotate(90deg); }
.faq details[open] summary i { background: var(--wine); transform: rotate(180deg); }
.faq details[open] summary i::before, .faq details[open] summary i::after { background: #fff; }
.faq details[open] summary i::after { transform: rotate(0); }
.faq-a { overflow: hidden; }
.faq-a p { color: var(--ink-soft); padding-bottom: 22px; }
.faq-a b { color: var(--ink); }
.faq-more { text-align: center; margin-top: 30px; color: var(--ink-soft); }
.faq-more a { color: var(--wine); font-weight: 600; }

/* ------------------------------------------------------------------ */
/*  Final CTA                                                          */
/* ------------------------------------------------------------------ */
.final { position: relative; overflow: hidden; padding: clamp(90px, 14vw, 160px) 0; color: #fff; text-align: center; }
.final-bg { position: absolute; inset: 0; background: radial-gradient(800px 500px at 50% 0%, #a3244a 0%, transparent 60%), linear-gradient(160deg, #5b0f2a, #2a0b1c 60%, #1b1436); }
.final-in { position: relative; max-width: 820px; }
.final .display { color: #fff; margin-bottom: 18px; }
.final .display em { background: linear-gradient(100deg, #F2D59A, #FFB1C8); -webkit-background-clip: text; background-clip: text; }
.final .sub { margin: 0 auto 32px; }
.cta-note { margin-top: 14px; font-size: .9rem; }
.cta-note.light { color: rgba(255, 255, 255, .65); }

/* ------------------------------------------------------------------ */
/*  Sub-page hero                                                      */
/* ------------------------------------------------------------------ */
.page-hero { position: relative; overflow: hidden; padding: calc(var(--head-h) + 50px) 0 60px; }
.ph-grid { display: grid; gap: 40px; align-items: center; }
.ph-grid.solo { text-align: center; max-width: 860px; }
.ph-grid.solo .lede { margin-inline: auto; }
.ph-grid.solo .hero-ctas { justify-content: center; }
.page-hero h1 { font-size: clamp(2.2rem, 6.4vw, 3.9rem); margin-bottom: 18px; }
.ph-photo { margin: 0 auto; max-width: 380px; border-radius: 24px; overflow: hidden; border: 7px solid #fff; box-shadow: var(--sh-lg); rotate: 2.5deg; transition: transform .6s var(--ease); }
.ph-photo img { width: 100%; height: auto; }
.page-hero .hero-ctas { margin-top: 26px; }
@media (min-width: 900px) { .ph-grid:not(.solo) { grid-template-columns: 1.15fr .85fr; gap: 70px; } }

/* ------------------------------------------------------------------ */
/*  Gallery, paths, numbers, values, steps, contact                    */
/* ------------------------------------------------------------------ */
.masonry { columns: 2; column-gap: 14px; }
.mz { break-inside: avoid; margin: 0 0 14px; position: relative; border-radius: 18px; overflow: hidden; cursor: zoom-in; box-shadow: var(--sh-md); }
.mz img { width: 100%; height: auto; transition: transform 1s var(--ease); }
.mz:hover img { transform: scale(1.05); }
.mz figcaption { position: absolute; inset: auto 0 0; padding: 30px 14px 12px; color: #fff; font-weight: 600; font-size: .9rem; background: linear-gradient(transparent, rgba(0, 0, 0, .65)); }
@media (min-width: 860px) { .masonry { columns: 3; column-gap: 20px; } .mz { margin-bottom: 20px; } }

.two-paths { display: grid; gap: 18px; max-width: 960px; margin: 0 auto; }
.path { position: relative; background: #fff; border-radius: 24px; padding: 30px; border: 1px solid var(--line); box-shadow: var(--sh-sm); overflow: hidden; }
.path-num { position: absolute; top: -10px; inset-inline-end: 14px; font-family: var(--f-display); font-size: 5.5rem; font-style: italic; color: rgba(142, 29, 60, .07); line-height: 1; }
.path h3 { font-family: var(--f-display); font-weight: 500; font-size: 1.5rem; margin-bottom: 10px; }
.path p { color: var(--ink-soft); }
@media (min-width: 760px) { .two-paths { grid-template-columns: 1fr 1fr; } }
.occasions { text-align: center; margin-top: 50px; }
.occ-label { font-weight: 600; color: var(--ink-soft); }
.occasions ul { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.occasions li { background: #fff; border: 1px solid var(--line); padding: 8px 16px; border-radius: 999px; font-size: .93rem; transition: transform .3s var(--spring), border-color .3s; }
.occasions li:hover { transform: translateY(-3px) rotate(-2deg); border-color: var(--wine); }

.numbers { padding: 60px 0; background: var(--wine-deep); color: #fff; }
.num-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 30px 20px; text-align: center; }
.num-grid b { display: block; font-family: var(--f-display); font-size: clamp(2.4rem, 6vw, 3.6rem); font-weight: 500; color: var(--gold-soft); line-height: 1.1; }
.num-grid span { color: rgba(255, 255, 255, .75); font-size: .95rem; }
@media (min-width: 860px) { .num-grid { grid-template-columns: repeat(4, 1fr); } }

.mini-steps { display: grid; gap: 18px; margin-bottom: 36px; }
.mini-steps > div { background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: 26px; box-shadow: var(--sh-sm); }
.mini-steps span { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 14px; background: linear-gradient(135deg, var(--wine), var(--rose)); color: #fff; font-weight: 700; margin-bottom: 14px; }
.mini-steps h3 { font-size: 1.15rem; margin-bottom: 6px; }
.mini-steps p { color: var(--ink-soft); }
@media (min-width: 820px) { .mini-steps { grid-template-columns: repeat(3, 1fr); } }

.values { display: grid; gap: 18px; }
.value { background: #fff; border-radius: 22px; padding: 26px; border: 1px solid var(--line); box-shadow: var(--sh-sm); transition: transform .4s var(--ease); }
.value:hover { transform: translateY(-4px); }
.value span { font-size: 1.8rem; }
.value h3 { font-family: var(--f-display); font-weight: 500; font-size: 1.3rem; margin: 10px 0 6px; }
.value p { color: var(--ink-soft); font-size: .96rem; }
@media (min-width: 760px) { .values { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1040px) { .values { grid-template-columns: repeat(3, 1fr); } }

.contact-grid { display: grid; gap: 16px; }
.c-card { display: grid; gap: 4px; text-decoration: none; background: #fff; border: 1px solid var(--line); border-radius: 24px; padding: 26px; box-shadow: var(--sh-sm); transition: transform .4s var(--spring), box-shadow .4s; }
.c-card:hover { transform: translateY(-5px); box-shadow: var(--sh-md); }
.c-ico { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: var(--paper); color: var(--wine); margin-bottom: 8px; }
.c-card h3 { font-size: 1.1rem; }
.c-card p { margin: 0; font-weight: 600; color: var(--wine); word-break: break-word; }
.c-card small { color: var(--ink-soft); }
.c-wa { background: linear-gradient(135deg, #1f8f5a, #25D366); color: #fff; border: 0; }
.c-wa .c-ico { background: rgba(255, 255, 255, .2); color: #fff; }
.c-wa p, .c-wa small { color: #fff; }
@media (min-width: 700px) { .contact-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1040px) { .contact-grid { grid-template-columns: repeat(4, 1fr); } }
.social-big { text-align: center; margin-top: 50px; }
.social-big p { font-weight: 600; color: var(--ink-soft); }
.social-big div { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.social-big a { display: inline-flex; align-items: center; gap: 8px; padding: 10px 18px; border-radius: 999px; background: #fff; border: 1px solid var(--line); text-decoration: none; font-weight: 600; transition: all .3s; }
.social-big a:hover { background: var(--wine); color: #fff; border-color: var(--wine); }

.prose { max-width: 780px; }
.prose h2 { font-family: var(--f-display); font-weight: 500; font-size: clamp(1.5rem, 3.4vw, 2rem); margin: 1.6em 0 .5em; }
.prose h2:first-child { margin-top: 0; }
.prose p, .prose li { color: var(--ink-soft); font-size: 1.04rem; }
.prose p.big { font-size: 1.25rem; color: var(--ink); }
.prose b { color: var(--ink); }
.prose a { color: var(--wine); }
.legal { padding-top: 20px; }

/* ------------------------------------------------------------------ */
/*  Footer                                                             */
/* ------------------------------------------------------------------ */
.site-foot { position: relative; background: #1d1113; color: rgba(255, 255, 255, .72); padding: 70px 0 110px; }
.foot-top { display: grid; gap: 34px; }
.foot-brand img { height: 56px; width: auto; filter: brightness(0) invert(1); opacity: .95; margin-bottom: 14px; }
.foot-brand p { font-size: .95rem; max-width: 340px; }
.socials { display: flex; gap: 10px; margin-top: 16px; }
.socials a { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, .07); transition: background .3s, transform .3s var(--spring); }
.socials a:hover { background: var(--rose); color: #fff; transform: translateY(-3px); }
.foot-col h4 { color: #fff; font-size: .92rem; margin-bottom: 12px; }
.foot-col ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.foot-col a { text-decoration: none; font-size: .93rem; transition: color .2s; }
.foot-col a:hover { color: #fff; }
.foot-contact a, .foot-contact .addr { display: inline-flex; align-items: center; gap: 10px; }
.foot-contact svg { flex: none; color: var(--gold-soft); }
.foot-bottom { margin-top: 44px; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, .1); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; font-size: .85rem; }
.foot-bottom p { margin: 0; }
@media (min-width: 760px) { .foot-top { grid-template-columns: 1.5fr 1fr 1fr; } }
@media (min-width: 1100px) { .foot-top { grid-template-columns: 1.6fr 1fr 1fr 1fr 1.4fr; } .site-foot { padding-bottom: 60px; } }

/* ------------------------------------------------------------------ */
/*  WhatsApp dock, sticky CTA, lightbox                                */
/* ------------------------------------------------------------------ */
.wa-dock { position: fixed; inset-inline-end: 16px; bottom: calc(86px + env(safe-area-inset-bottom)); z-index: 70; display: flex; flex-direction: column; align-items: flex-end; gap: 10px; }
.wa-fab { width: 56px; height: 56px; border-radius: 50%; border: 0; cursor: pointer; display: grid; place-items: center; color: #fff; background: #25D366; box-shadow: 0 12px 26px -8px rgba(18, 140, 70, .6); transition: transform .35s var(--spring); }
.wa-fab:hover { transform: scale(1.07); }
.wa-fab svg { width: 28px; height: 28px; }
.wa-x { display: none; }
.wa-fab.open { background: var(--ink); }
.wa-fab.open .wa-i { display: none; } .wa-fab.open .wa-x { display: block; }
.wa-menu { width: min(300px, calc(100vw - 32px)); background: #fff; border-radius: 20px; padding: 14px; box-shadow: var(--sh-lg); border: 1px solid var(--line); display: grid; gap: 6px; transform-origin: bottom right; animation: pop .35s var(--spring); }
[dir="rtl"] .wa-menu { transform-origin: bottom left; }
@keyframes pop { from { opacity: 0; transform: scale(.85) translateY(10px); } }
.wa-menu-head { margin: 0 0 4px; font-weight: 700; }
.wa-menu button { text-align: start; border: 0; background: var(--ivory); padding: 11px 14px; border-radius: 12px; cursor: pointer; font-size: .92rem; transition: background .2s; }
.wa-menu button:hover { background: #e7f8ee; }
.sticky-cta { position: fixed; inset: auto 0 0; z-index: 65; padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); background: rgba(251, 247, 242, .94); backdrop-filter: blur(12px); box-shadow: 0 -10px 30px -12px rgba(60, 30, 22, .25); transform: translateY(110%); transition: transform .5s var(--ease); }
.sticky-cta.show { transform: none; }
.sticky-in { display: flex; align-items: center; justify-content: space-between; gap: 12px; max-width: 560px; margin: 0 auto; }
.sticky-text { display: grid; line-height: 1.25; }
.sticky-text span { font-size: .82rem; color: var(--ink-soft); }
@media (min-width: 1100px) { .sticky-cta { display: none; } .wa-dock { bottom: 24px; } }

.lightbox { position: fixed; inset: 0; z-index: 100; background: rgba(15, 8, 10, .9); backdrop-filter: blur(10px); display: grid; place-items: center; padding: 20px; animation: fade .3s; }
@keyframes fade { from { opacity: 0; } }
.lb-stage { max-width: min(92vw, 520px); max-height: 88vh; animation: pop .45s var(--spring); }
.lb-stage video, .lb-stage img { max-height: 88vh; width: auto; border-radius: 18px; }
.lb-close { position: absolute; top: 18px; inset-inline-end: 18px; width: 48px; height: 48px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .12); color: #fff; cursor: pointer; display: grid; place-items: center; }
.lb-close:hover { background: rgba(255, 255, 255, .25); }

/* ------------------------------------------------------------------ */
/*  Motion off                                                         */
/* ------------------------------------------------------------------ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .js [data-reveal], .hero-in, .split-w > span, .js .morph .morph-photo, .js .morph .morph-book { opacity: 1 !important; transform: none !important; }
}
.hero-steps li p { margin: 0; }
.hs-back { background: transparent; box-shadow: 0 30px 50px -20px rgba(60, 30, 22, .45); }
.hs-back img { object-fit: contain; background: transparent; }
.hs-left, .hs-right { border: 0; border-radius: 6px 12px 12px 6px; aspect-ratio: auto; overflow: visible; }
.hs-left img, .hs-right img { height: auto; border-radius: 6px 12px 12px 6px; }

/* The audiobook page opens on the night band: until the header turns solid,
   its controls must be light. */
.page-audio .site-head:not(.stuck) .burger span { background: #fff; }
.page-audio .site-head:not(.stuck) .lang-switch { color: #fff; box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .3); }
.page-audio .site-head:not(.stuck) .main-nav a { color: rgba(255, 255, 255, .78); }
.page-audio .site-head:not(.stuck) .main-nav a[aria-current="page"] { color: var(--gold-soft); }
.page-audio .site-head:not(.stuck) .main-nav a[aria-current="page"]::after { background: var(--gold-soft); }
.eyebrow { flex-wrap: wrap; }
.page-audio.menu-open .site-head .burger span { background: var(--ink); }
.page-audio.menu-open .site-head .lang-switch { color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--line); }

/* Phones: the moon sat on top of the "+99 Dh" eyebrow. Keep it small and
   tucked into the corner above the copy, behind the text. */
@media (max-width: 959px) {
  .moon { top: 18px; inset-inline-end: 18px; width: 54px; height: 54px; opacity: .55; z-index: 0; }
  .moon::after { inset: -4px -12px 4px 12px; }
  [dir="rtl"] .moon::after { inset: -4px 12px 4px -12px; }
  .night .ab-grid { padding-top: 40px; }
}
.ab-grid { z-index: 1; }
.page-audio .moon { top: calc(var(--head-h) + 14px); }
