/* ==========================================================================
   Mamé by Mama · styles
   Mobile-first. Logical properties throughout so RTL mirrors automatically.
   ========================================================================== */

/* ---------- Tokens ---------- */
:root {
  /* base: light, fresh, warm */
  --paper: #FFF7EE;          /* warm cream */
  --mascarpone: #FFFCF7;     /* card / lightest cream */
  --peach: #FCE3D2;          /* peach blush */
  --apricot-soft: #F9C9A4;   /* soft apricot */

  /* sunset accents (fills, glows, large display only; never small text on cream) */
  --sunset: #EE7B3A;         /* primary accent */
  --apricot: #F4A261;
  --golden: #F6C453;
  --coral: #EA6A5A;
  --dusk-rose: #C8506A;      /* sparingly */

  /* ink */
  --cocoa: #3B2218;          /* body text */
  --espresso: #24150E;
  --espresso-deep: #1B0F0A;
  --plum: #2A1420;           /* evening sky */
  --cocoa-dust: #8F4522;     /* warm small caps / eyebrows (>=4.9:1 on every light bg) */
  --heart: #B4441F;          /* accent text, any size (5.2:1 on cream) */
  --heart-display: #C9481F;  /* large display script only (4.5:1 on cream) */
  --muted: #6F4A36;
  --error: #9A3322;

  /* legacy name kept for decorative strokes, now apricot */
  --caramel: var(--apricot);

  /* gradients */
  --grad-sunset: linear-gradient(115deg, var(--golden), var(--apricot) 35%, var(--sunset) 68%, var(--coral));
  --grad-cta: linear-gradient(115deg, #C64B1F 0%, #C94340 45%, #B83A55 75%, #C64B1F 100%); /* white text >= 4.7:1 at every stop */
  --grad-dusk: linear-gradient(180deg, var(--plum) 0%, #3B1D24 38%, #5E2A2A 72%, #7A3326 100%);
  --glow-horizon: radial-gradient(ellipse 85% 42% at 50% 104%, rgba(238, 123, 58, .5), rgba(234, 106, 90, .18) 55%, transparent 75%);
  --shadow-warm: 0 16px 30px -14px rgba(201, 67, 31, .65);

  --line: rgba(59, 34, 24, .14);
  --line-strong: rgba(59, 34, 24, .28);
  --line-light: rgba(251, 246, 238, .2);
  --line-sun: rgba(238, 123, 58, .45);

  --font-script: "Great Vibes", "Allura", cursive;
  --font-display: "Cormorant Garamond", "Cormorant", Georgia, "Times New Roman", serif;
  --font-sans: "Jost", "Segoe UI", system-ui, -apple-system, sans-serif;
  --font-body: var(--font-display);

  --ease-out: cubic-bezier(.22, 1, .36, 1);
  --ease-in-out: cubic-bezier(.65, 0, .35, 1);
  --radius: 24px;
  --gutter: 16px;
  --header-h: 64px;

  --grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .23 0 0 0 0 .13 0 0 0 0 .09 0 0 0 .55 -.17'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  /* chocolate hero */
  --hero-cream: #F7E6D2;     /* body text on chocolate (>= 8:1) */
  --hero-muted: #D8BFA8;     /* secondary text on chocolate (>= 5.8:1) */
  --cocoa-speck: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='190' height='190'%3E%3Cfilter id='s'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.82' numOctaves='2' seed='4' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .64 0 0 0 0 .43 0 0 0 0 .3 7 0 0 0 -4.8'/%3E%3C/filter%3E%3Crect width='100%' height='100%' filter='url(%23s)'/%3E%3C/svg%3E");
  --cocoa-speck-dark: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='150' height='150'%3E%3Cfilter id='s'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' seed='11' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .06 0 0 0 0 .03 0 0 0 0 .02 9 0 0 0 -5.8'/%3E%3C/filter%3E%3Crect width='100%' height='100%' filter='url(%23s)'/%3E%3C/svg%3E");
  --cream-dust: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='600' height='80' viewBox='0 0 600 80'%3E%3Cdefs%3E%3ClinearGradient id='c' x1='0' y1='0' x2='0' y2='1'%3E%3Cstop offset='0' stop-color='%23FFF8EF'/%3E%3Cstop offset='1' stop-color='%23FBEFE2'/%3E%3C/linearGradient%3E%3ClinearGradient id='h' x1='0' y1='0' x2='0' y2='1'%3E%3Cstop offset='.1' stop-color='%236B3F26' stop-opacity='.7'/%3E%3Cstop offset='.2' stop-color='%236B3F26' stop-opacity='.4'/%3E%3Cstop offset='.34' stop-color='%237A4A2E' stop-opacity='.12'/%3E%3Cstop offset='.5' stop-color='%237A4A2E' stop-opacity='0'/%3E%3C/linearGradient%3E%3ClinearGradient id='f' x1='0' y1='0' x2='0' y2='1'%3E%3Cstop offset='0' stop-color='%23fff'/%3E%3Cstop offset='.22' stop-color='%23fff' stop-opacity='.9'/%3E%3Cstop offset='.52' stop-color='%23fff' stop-opacity='.32'/%3E%3Cstop offset='.85' stop-color='%23fff' stop-opacity='0'/%3E%3C/linearGradient%3E%3Cmask id='m'%3E%3Crect width='600' height='80' fill='url(%23f)'/%3E%3C/mask%3E%3CclipPath id='k'%3E%3Cpath d='M0 12C40 18 110 16 170 11S280 5 340 12S460 17 520 10S580 9 600 12V80H0Z'/%3E%3C/clipPath%3E%3Cfilter id='a' x='0' y='0' width='100%' height='100%'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' seed='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .353 0 0 0 0 .204 0 0 0 0 .129 22 0 0 0 -14.1'/%3E%3C/filter%3E%3Cfilter id='b' x='0' y='0' width='100%' height='100%'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.42' numOctaves='2' seed='8' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .478 0 0 0 0 .29 0 0 0 0 .18 22 0 0 0 -14.6'/%3E%3C/filter%3E%3Cfilter id='d' x='0' y='0' width='100%' height='100%'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='1.3' numOctaves='2' seed='13' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .231 0 0 0 0 .133 0 0 0 0 .094 22 0 0 0 -13.9'/%3E%3C/filter%3E%3C/defs%3E%3Cpath d='M0 12C40 18 110 16 170 11S280 5 340 12S460 17 520 10S580 9 600 12V80H0Z' fill='url(%23c)'/%3E%3Cg clip-path='url(%23k)'%3E%3Crect width='600' height='80' fill='url(%23h)'/%3E%3Cg mask='url(%23m)'%3E%3Crect width='600' height='80' filter='url(%23b)'/%3E%3Crect width='600' height='80' filter='url(%23a)'/%3E%3Crect width='600' height='80' filter='url(%23d)'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  --grain-light: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .98 0 0 0 0 .95 0 0 0 0 .9 0 0 0 .4 -.14'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

:root:lang(ar) {
  --font-script: "Aref Ruqaa", "Noto Naskh Arabic", serif;
  --font-display: "Aref Ruqaa", "Noto Naskh Arabic", serif;
  --font-body: "Noto Naskh Arabic", "Tajawal", "Segoe UI", Tahoma, sans-serif;
  --font-sans: "Noto Naskh Arabic", "Tajawal", "Segoe UI", Tahoma, sans-serif;
}

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

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 12px);
}

body {
  margin: 0;
  min-height: 100vh;
  overflow-x: hidden;
  overflow-x: clip;
  background: var(--grain), var(--paper);
  color: var(--cocoa);
  font-family: var(--font-body);
  font-size: 1.125rem;
  font-weight: 500;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
:lang(ar) body, body:lang(ar) { font-size: 1.0625rem; font-weight: 400; line-height: 1.85; }

img, svg, video, canvas { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 3px; }
button { font: inherit; color: inherit; cursor: pointer; }
h1, h2, h3, p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
em { font-style: normal; }

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

::selection { background: var(--apricot-soft); color: var(--espresso); }

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.ltr { direction: ltr; unicode-bidi: isolate; display: inline-block; }

.container {
  width: 100%;
  max-width: 1180px;
  margin-inline: auto;
  padding-inline: var(--gutter);
}
@media (min-width: 600px) { :root { --gutter: 24px; } }
@media (min-width: 1024px) { :root { --gutter: 32px; } }

.skip-link {
  position: fixed;
  inset-block-start: 8px;
  inset-inline-start: 8px;
  z-index: 200;
  padding: 10px 16px;
  border-radius: 999px;
  background: var(--cocoa);
  color: var(--mascarpone);
  font: 500 .9rem var(--font-sans);
  transform: translateY(-150%);
  transition: transform .2s;
}
.skip-link:focus { transform: none; }

.icon { width: 1.25em; height: 1.25em; flex: none; }
[dir="rtl"] .icon--dir { transform: scaleX(-1); }

/* ---------- Type helpers ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-block-end: 14px;
  color: var(--cocoa-dust);
  font: 500 .74rem/1.2 var(--font-sans);
  letter-spacing: .32em;
  text-transform: uppercase;
}
:lang(ar) .eyebrow { letter-spacing: 0; font-size: 1rem; font-weight: 500; }
.eyebrow--light { color: var(--apricot); }

.laurel { width: 46px; height: 17px; color: var(--cocoa); flex: none; overflow: visible; }
.eyebrow--light .laurel { color: var(--peach); }
.laurel--flip { transform: scaleX(-1); }
[dir="rtl"] .laurel { transform: scaleX(-1); }
[dir="rtl"] .laurel--flip { transform: none; }

.section-title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(2.3rem, 7.5vw, 3.7rem);
  line-height: 1.05;
  letter-spacing: -.01em;
  color: var(--espresso);
  text-wrap: balance;
}
.section-title em {
  font-family: var(--font-script);
  font-weight: 400;
  font-size: 1.18em;
  color: var(--heart-display);
  letter-spacing: 0;
  padding-inline: .06em;
}
:lang(ar) .section-title { font-weight: 700; line-height: 1.35; letter-spacing: 0; font-size: clamp(2rem, 7vw, 3.2rem); }
:lang(ar) .section-title em { font-size: 1em; font-weight: 700; }
.section-title--light { color: var(--mascarpone); }
.section-title--light em { color: var(--apricot); }

.lead {
  font-size: 1.28rem;
  line-height: 1.55;
  color: var(--cocoa);
  max-width: 38ch;
}
:lang(ar) .lead { font-size: 1.12rem; line-height: 1.9; max-width: 44ch; }

.section { padding-block: clamp(80px, 13vw, 150px); position: relative; }
.section-head { text-align: center; max-width: 660px; margin-inline: auto; margin-block-end: clamp(36px, 6vw, 60px); }
.section-head .lead { margin: 18px auto 0; }

/* Freehand divider: wavy line, a sunset heart and two little sprigs (symbol #mk-divider) */
.divider { width: 220px; max-width: 76%; color: var(--cocoa); }
.divider svg { width: 100%; height: auto; overflow: visible; }
.divider--start { margin-block: 14px 18px; margin-inline: auto; }

/* ---------- Buttons ---------- */
.btn {
  --mx: 0px; --my: 0px;
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .65em;
  min-height: 54px;
  padding: 0 1.6em;
  border: 1px solid transparent;
  border-radius: 999px;
  font: 500 .8rem/1 var(--font-sans);
  letter-spacing: .16em;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
  overflow: hidden;
  isolation: isolate;
  transform: translate(var(--mx), var(--my));
  transition: transform .35s var(--ease-out), background-color .3s, color .3s, border-color .3s, box-shadow .3s;
  -webkit-tap-highlight-color: transparent;
}
:lang(ar) .btn { letter-spacing: 0; font-size: 1rem; font-weight: 500; }
.btn .icon { width: 1.35em; height: 1.35em; }
.btn--small { min-height: 44px; padding: 0 1.15em; font-size: .72rem; }
:lang(ar) .btn--small { font-size: .95rem; }
.btn--block { width: 100%; }

.btn--primary {
  background: var(--grad-cta);
  background-size: 220% 100%;
  background-position: 0% 50%;
  color: #FFFFFF;
  box-shadow: var(--shadow-warm), inset 0 1px 0 rgba(255, 236, 200, .35);
  transition: transform .35s var(--ease-out), background-position .7s var(--ease-out), box-shadow .3s, color .3s;
}
.btn--primary::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(110deg, transparent 30%, rgba(255, 226, 170, .3) 50%, transparent 70%);
  transform: translateX(-120%);
  transition: transform .8s var(--ease-out);
}
.btn--primary:hover { background-position: 100% 50%; box-shadow: 0 20px 36px -14px rgba(200, 80, 106, .6), 0 0 0 4px rgba(246, 196, 83, .22); }
.btn--primary:hover::after { transform: translateX(120%); }
.btn--ghost { border-color: var(--line-strong); color: var(--cocoa); background: rgba(255, 252, 247, .55); }
.btn--ghost:hover { border-color: var(--sunset); background: var(--mascarpone); }
.btn--ghost .icon--dir { transition: transform .3s var(--ease-out); }
.btn--ghost:hover .icon--dir { transform: translateX(4px); }
[dir="rtl"] .btn--ghost:hover .icon--dir { transform: scaleX(-1) translateX(4px); }
.btn--light { background: var(--mascarpone); color: var(--espresso); box-shadow: 0 14px 30px -16px rgba(238, 123, 58, .8); }
.btn--light:hover { background: linear-gradient(115deg, var(--golden), var(--apricot)); }
.btn:active { transform: translate(var(--mx), var(--my)) scale(.97); }

/* ---------- Preloader ---------- */
/* The freehand mark draws itself: stems grow, leaves pop in one by one,
   the heart outline is inked, the sunset fill blooms and it gives one heartbeat. */
.preloader {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: grid;
  place-content: center;
  justify-items: center;
  gap: 4px;
  background: radial-gradient(circle at 50% 44%, rgba(238, 123, 58, .26), rgba(234, 106, 90, .1) 32%, transparent 62%), var(--cocoa-speck), linear-gradient(180deg, var(--espresso-deep), var(--espresso) 55%, #2C1911);
  box-shadow: 0 6px 40px rgba(238, 123, 58, .35);
  animation: curtain .5s var(--ease-in-out) 1.55s forwards;
}
.preloader__art { width: 170px; height: auto; overflow: visible; color: var(--hero-cream); }
.preloader .pl-reveal { stroke-dasharray: 1; stroke-dashoffset: 1; opacity: 0; animation: inkdraw .55s var(--ease-out) both; }
.preloader #plInk .pl-reveal { animation-duration: .6s; animation-delay: .62s; }
.pl-leaf { transform-box: fill-box; transform-origin: 50% 50%; opacity: 0; transform: scale(.2) rotate(-25deg); animation: leafpop .38s var(--ease-out) forwards; animation-delay: calc(.12s + var(--k) * 38ms); }
.pl-heart { transform-box: fill-box; transform-origin: 50% 60%; animation: heartbeat .5s ease-in-out 1.12s; }
.pl-heart__fill { opacity: 0; animation: fadein .35s ease .9s forwards; }
.preloader__word { font: 400 2rem/1 "Great Vibes", cursive; color: var(--hero-cream); opacity: 0; animation: fadein .45s ease .45s forwards; }
.preloader__word span { font-size: .8em; color: var(--apricot); }
@keyframes inkdraw { 0% { stroke-dashoffset: 1; opacity: 0; } 2% { opacity: 1; } 100% { stroke-dashoffset: 0; opacity: 1; } }
@keyframes leafpop { to { opacity: 1; transform: none; } }
@keyframes fadein { to { opacity: 1; } }
@keyframes heartbeat { 0%, 100% { transform: scale(1); } 30% { transform: scale(1.14); } 55% { transform: scale(.97); } 75% { transform: scale(1.06); } }
@keyframes curtain {
  0% { transform: translateY(0); border-radius: 0; }
  100% { transform: translateY(-105%); border-end-start-radius: 50% 12%; border-end-end-radius: 50% 12%; visibility: hidden; }
}
html.is-returning .preloader,
html:not(.js) .preloader { display: none; }

/* ---------- Progress bar ---------- */
.progress { position: fixed; inset-block-start: 0; inset-inline: 0; height: 3px; z-index: 70; pointer-events: none; }
.progress__bar {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, var(--golden), var(--sunset) 55%, var(--coral));
  box-shadow: 0 0 10px rgba(238, 123, 58, .55);
  transform: scaleX(var(--progress, 0));
  transform-origin: left center;
  will-change: transform;
}
[dir="rtl"] .progress__bar { transform-origin: right center; background: linear-gradient(-90deg, var(--golden), var(--sunset) 55%, var(--coral)); }

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  inset-block-start: 0;
  inset-inline: 0;
  z-index: 60;
  transition: background-color .35s, box-shadow .35s, backdrop-filter .35s;
}
.site-header.is-scrolled {
  background: rgba(255, 247, 238, .86);
  -webkit-backdrop-filter: blur(12px) saturate(1.2);
  backdrop-filter: blur(12px) saturate(1.2);
  box-shadow: 0 1px 0 var(--line);
}
.site-header__inner { display: flex; align-items: center; gap: 12px; min-height: var(--header-h); }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; margin-inline-end: auto; min-width: 0; }
.brand__badge { position: relative; flex: none; width: 46px; height: 46px; }
.brand__logo { width: 46px; height: 46px; border-radius: 50%; box-shadow: 0 0 0 2px rgba(246, 196, 83, .55), 0 4px 12px -6px rgba(201, 67, 31, .7); transition: transform .5s var(--ease-out); }
.brand:hover .brand__logo { transform: rotate(-10deg) scale(1.05); }
.brand__heart { position: absolute; width: 19px; height: auto; inset-block-end: -3px; inset-inline-end: -6px; color: var(--cocoa); transform: rotate(12deg); filter: drop-shadow(0 2px 3px rgba(201, 67, 31, .35)); overflow: visible; }
[dir="rtl"] .brand__heart { transform: rotate(-12deg); }
.brand:hover .brand__heart { animation: beat .9s ease-in-out; }
.brand__mark { display: none; width: 30px; height: 25px; margin-inline-start: 6px; vertical-align: -2px; color: var(--cocoa); overflow: visible; }
@media (min-width: 600px) { .brand__mark { display: inline-block; } }
.brand__text { display: flex; flex-direction: column; line-height: 1; min-width: 0; }
.brand__name { font: 400 1.55rem/1 "Great Vibes", cursive; color: var(--espresso); white-space: nowrap; }
.brand__sub { font: 500 .56rem/1 "Jost", sans-serif; letter-spacing: .3em; text-transform: uppercase; color: var(--cocoa-dust); margin-block-start: 4px; }
:lang(ar) .brand__sub { font-family: var(--font-sans); letter-spacing: 0; font-size: .72rem; }
@media (max-width: 389px) { .brand__name { font-size: 1.36rem; } .site-header__inner { gap: 8px; } }
@media (max-width: 359px) { .brand__sub { display: none; } }

.site-nav { display: none; }
.site-nav ul { display: flex; gap: 30px; }
.site-nav a {
  position: relative;
  font: 500 .74rem/1 var(--font-sans);
  letter-spacing: .2em;
  text-transform: uppercase;
  text-decoration: none;
  padding-block: 10px;
}
:lang(ar) .site-nav a { letter-spacing: 0; font-size: .98rem; }
.site-nav a::after {
  content: "";
  position: absolute;
  inset-inline: 0;
  inset-block-end: 2px;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--golden), var(--sunset), var(--coral));
  transform: scaleX(0);
  transform-origin: right;
  transition: transform .4s var(--ease-out);
}
.site-nav a:hover::after, .site-nav a.is-current::after { transform: scaleX(1); transform-origin: left; }
@media (min-width: 920px) { .site-nav { display: block; margin-inline-end: 22px; } }

.site-header__actions { display: flex; align-items: center; gap: 8px; }
.lang-toggle {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  background: rgba(251, 246, 238, .6);
  display: grid;
  place-items: center;
  overflow: hidden;
  transition: background-color .3s, border-color .3s, transform .3s var(--ease-out);
}
.lang-toggle:hover { background: var(--mascarpone); border-color: var(--sunset); transform: rotate(-8deg); }
.lang-toggle__inner { font: 700 1.2rem/1 "Aref Ruqaa", serif; transform: translateY(-1px); }
:lang(ar) .lang-toggle__inner { font: 500 .78rem/1 "Jost", sans-serif; letter-spacing: .08em; transform: none; }

/* Header while it sits over the chocolate hero: transparent, cream + orange ink.
   Scrolled a little: a dark cocoa glass. Past the hero (class removed by main.js): the light style above. */
.brand__name, .brand__sub, .brand__mark, .brand__heart, .site-nav a { transition: color .35s; }
.lang-toggle { transition: background-color .3s, border-color .3s, color .35s, transform .3s var(--ease-out); }
.site-header.on-dark.is-scrolled {
  background: rgba(27, 15, 10, .72);
  box-shadow: 0 1px 0 rgba(246, 196, 83, .16);
}
.on-dark .brand__name { color: #FCEBD5; }
.on-dark .brand__sub { color: var(--golden); }
.on-dark .brand__mark { color: #FCEBD5; }
.on-dark .brand__heart { color: #FFF1DE; }
.on-dark .brand__logo { box-shadow: 0 0 0 2px rgba(246, 196, 83, .7), 0 0 14px rgba(238, 123, 58, .4); }
.on-dark .site-nav a { color: var(--hero-cream); }
.on-dark .lang-toggle { border-color: rgba(246, 196, 83, .5); background: rgba(255, 236, 210, .07); color: #FCEBD5; }
.on-dark .lang-toggle:hover { background: rgba(238, 123, 58, .2); border-color: var(--sunset); }
.on-dark .btn--primary { box-shadow: 0 10px 24px -12px rgba(238, 123, 58, .8), 0 0 0 1px rgba(246, 196, 83, .3); }
.on-dark :focus-visible { outline-color: var(--golden); }

/* ---------- Entrance (hero) ---------- */
html.js .enter { animation: rise 1s var(--ease-out) both; animation-delay: calc(1.7s + var(--i, 0) * 90ms); }
html.js.is-returning .enter { animation-delay: calc(.05s + var(--i, 0) * 90ms); }
html.js .enter--photo { animation-name: rise-photo; animation-duration: 1.3s; }
html.js .enter--pop { animation-name: pop; animation-duration: 1.1s; }
html.js .enter.divider { animation-name: wipe; animation-duration: 1.2s; }
@keyframes rise { from { opacity: 0; transform: translateY(28px); } to { opacity: 1; transform: none; } }
@keyframes rise-photo { from { opacity: 0; transform: translateY(40px) scale(.96); clip-path: inset(18% 0 0 0 round 200px 200px 24px 24px); } to { opacity: 1; transform: none; clip-path: inset(0 0 0 0 round 0); } }
@keyframes wipe { from { opacity: 0; clip-path: inset(0 50% 0 50%); } 30% { opacity: 1; } to { opacity: 1; clip-path: inset(-20% -5% -20% -5%); } }
@keyframes pop { 0% { opacity: 0; transform: scale(.4) rotate(-30deg); } 70% { opacity: 1; transform: scale(1.06) rotate(4deg); } 100% { opacity: 1; transform: none; } }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  padding-block: calc(var(--header-h) + 28px) 128px;
  display: flex;
  align-items: center;
  overflow: hidden;
  isolation: isolate;
  color: var(--hero-cream);
  /* a tiramisu cut in half, in chocolate: deep espresso on top, easing into cocoa and
     milk chocolate, with soft light seams where the layers meet and a mascarpone glow low down */
  background:
    radial-gradient(ellipse 130% 5% at 50% 31%, rgba(214, 150, 98, .09), transparent 70%),
    radial-gradient(ellipse 130% 6% at 50% 57%, rgba(214, 150, 98, .1), transparent 70%),
    radial-gradient(ellipse 130% 7% at 50% 81%, rgba(232, 170, 112, .11), transparent 70%),
    linear-gradient(0deg, rgba(255, 206, 160, .12) 0, rgba(255, 206, 160, .04) 60px, transparent 140px),
    radial-gradient(ellipse 70% 40% at 80% 42%, rgba(238, 123, 58, .1), transparent 70%),
    linear-gradient(180deg, var(--espresso-deep) 0%, var(--espresso) 16%, #2C1911 32%, var(--cocoa) 50%, #472A1C 68%, #553322 84%, #62392A 100%);
}
/* cocoa dusting: fine speckle, heaviest at the top like the sifted cocoa on a tiramisu */
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image: var(--cocoa-speck), var(--cocoa-speck-dark);
  background-size: 190px 190px, 150px 150px;
  -webkit-mask-image: linear-gradient(180deg, #000 0%, rgba(0, 0, 0, .75) 35%, rgba(0, 0, 0, .45) 80%, rgba(0, 0, 0, .2) 100%);
  mask-image: linear-gradient(180deg, #000 0%, rgba(0, 0, 0, .75) 35%, rgba(0, 0, 0, .45) 80%, rgba(0, 0, 0, .2) 100%);
}
/* the tiramisu top: the chocolate meets a spread-cream (mascarpone) layer, sifted with cocoa at its edge */
.hero::after {
  content: "";
  position: absolute;
  inset-inline: 0;
  inset-block-end: -1px;
  height: 80px;
  z-index: 2;
  pointer-events: none;
  background: var(--cream-dust) 50% 100% / 600px 80px repeat-x;
}
.hero__dust { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 0; }
.hero__grid { position: relative; z-index: 1; display: grid; gap: 56px; align-items: center; }
.hero .eyebrow { color: var(--golden); }
.hero .laurel { color: var(--apricot); }
.hero .divider { color: var(--hero-cream); }
.hero :focus-visible { outline-color: var(--golden); }
.hero__copy { text-align: center; }
.hero__copy .eyebrow { justify-content: center; }
.hero__title {
  font-family: var(--font-script);
  font-weight: 400;
  font-size: clamp(3.3rem, 14.5vw, 6.6rem);
  line-height: .98;
  color: var(--apricot);
  text-wrap: balance;
  filter: drop-shadow(0 4px 18px rgba(238, 123, 58, .22));
}
.hero__title em { color: var(--sunset); }
@supports ((-webkit-background-clip: text) or (background-clip: text)) {
  /* sunset ink on chocolate: golden-apricot for the line, a deeper, glowing orange on "Homemade".
     generous padding keeps the script swashes inside the painted box */
  .hero__title {
    padding: .12em .3em .18em;
    margin: -.12em -.3em -.18em;
    background: linear-gradient(172deg, #FFD978 0%, var(--golden) 22%, var(--apricot) 62%, #F28E4A 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
  }
  .hero__title em {
    display: inline-block;
    padding: .1em .26em .16em;
    margin: -.1em -.26em -.16em;
    background: linear-gradient(100deg, #FF9A4D 5%, var(--sunset) 40%, #F2704A 70%, var(--coral) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
  }
}
:lang(ar) .hero__title { font-weight: 700; font-size: clamp(2.7rem, 12vw, 5.2rem); line-height: 1.4; }
.hero__sub { font-size: 1.3rem; line-height: 1.5; max-width: 32ch; margin-inline: auto; color: var(--hero-cream); }
:lang(ar) .hero__sub { font-size: 1.12rem; line-height: 1.9; max-width: 38ch; }
.hero__ctas { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-block-start: 28px; }
.hero__ctas .btn { flex: 1 1 220px; max-width: 320px; }
.hero__note {
  max-width: 34em;
  margin-inline: auto;
  margin-block-start: 22px;
  text-wrap: balance;
  font: 400 .84rem/1.5 var(--font-sans);
  color: var(--hero-muted);
}
:lang(ar) .hero__note { font-size: .95rem; }
.hero__note .icon { display: inline-block; width: 1.2em; height: 1.2em; margin-inline-end: 6px; vertical-align: -.24em; color: var(--sunset); }

/* buttons on chocolate */
.hero .btn--primary { box-shadow: 0 18px 36px -14px rgba(238, 123, 58, .75), 0 0 0 1px rgba(246, 196, 83, .28), inset 0 1px 0 rgba(255, 236, 200, .4); }
.hero .btn--primary:hover { box-shadow: 0 22px 44px -14px rgba(238, 123, 58, .85), 0 0 0 4px rgba(246, 196, 83, .28); }
.hero .btn--ghost { border-color: rgba(246, 196, 83, .55); color: var(--hero-cream); background: rgba(255, 236, 210, .05); }
.hero .btn--ghost .icon { color: var(--apricot); }
.hero .btn--ghost:hover { border-color: var(--sunset); color: #FFF3E2; background: rgba(238, 123, 58, .16); }

.hero__visual { position: relative; width: min(76vw, 420px); margin-inline: auto; margin-block: 0 24px; }
.hero__arch-wrap { will-change: transform; }
/* the sun: a warm radial glow drifting slowly behind the photo */
.hero__sun {
  position: absolute;
  z-index: -1;
  inset: -34% -40% -22%;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(246, 196, 83, .62) 0%, rgba(244, 162, 97, .42) 28%, rgba(238, 123, 58, .22) 55%, rgba(234, 106, 90, .07) 78%, rgba(234, 106, 90, 0) 100%);
  pointer-events: none;
  animation: sundrift 16s ease-in-out infinite alternate;
}
@keyframes sundrift { 0% { transform: translate(-4%, 3%) scale(.96); } 50% { transform: translate(3%, -3%) scale(1.04); opacity: .9; } 100% { transform: translate(5%, 2%) scale(1); } }
.hero__arch-wrap { position: relative; z-index: 0; }
.hero__arch {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: 999px 999px 26px 26px;
  overflow: hidden;
  background: var(--cocoa);
  box-shadow: 0 40px 70px -34px rgba(10, 4, 2, .8), 0 0 0 1px rgba(246, 196, 83, .3), 0 0 60px -10px rgba(238, 123, 58, .35);
}
.hero__arch-wrap::before {
  content: "";
  position: absolute;
  inset: -12px;
  border: 1.5px solid rgba(246, 196, 83, .42);
  border-radius: 999px 999px 34px 34px;
  pointer-events: none;
}
.hero__photo, .hero__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%; }
.hero__video { opacity: 0; transition: opacity 1s ease; }
.hero__video.is-playing { opacity: 1; }

/* the logo badge is a hero element in the copy column, between the paragraph and the CTAs */
.hero__badge-wrap { position: relative; width: 172px; margin: 22px auto 0; }
.hero__badge { position: relative; aspect-ratio: 1; }
.hero__ring { position: absolute; inset: 0; width: 100%; height: 100%; animation: spin 26s linear infinite; overflow: visible; }
.hero__ring text { font: 500 12.5px var(--font-sans); letter-spacing: 3.4px; text-transform: uppercase; fill: var(--golden); }
:lang(ar) .hero__ring text { font: 700 19.5px "Aref Ruqaa", serif; letter-spacing: 0; }
/* keep the ring laid out from the path start in RTL too (the Arabic still shapes right-to-left), otherwise it falls off the path */
.hero__ring text { direction: ltr; }
.hero__logo {
  position: absolute;
  inset: 17%;
  width: 66%;
  height: 66%;
  border-radius: 50%;
  box-shadow: 0 0 0 3px rgba(255, 247, 238, .92), 0 0 0 5px rgba(246, 196, 83, .75), 0 14px 34px -10px rgba(0, 0, 0, .6), 0 0 34px rgba(238, 123, 58, .35);
}
/* freehand laurels hugging the bottom of the badge + an oversized sunset heart at its edge */
.hero__laurels { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; color: var(--hero-cream); pointer-events: none; }
.hero__heart {
  position: absolute;
  width: 24%;
  height: auto;
  inset-block-end: -3%;
  inset-inline-end: -3%;
  color: #FFF1DE;
  transform: rotate(14deg);
  filter: drop-shadow(0 6px 10px rgba(0, 0, 0, .45)) drop-shadow(0 0 12px rgba(238, 123, 58, .45));
  overflow: visible;
}
[dir="rtl"] .hero__heart { transform: rotate(-14deg); }
html.js .hero__heart { animation: beat 2.6s ease-in-out 3s infinite; }
@keyframes beat { 0%, 60%, 100% { scale: 1; } 12% { scale: 1.12; } 24% { scale: .98; } 36% { scale: 1.07; } }
@keyframes spin { to { transform: rotate(360deg); } }
[dir="rtl"] .hero__ring { animation-direction: reverse; }

.hero__scroll {
  position: absolute;
  inset-block-end: 66px;
  inset-inline-start: 50%;
  translate: -50% 0;
  z-index: 1;
  display: none;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  font: 500 .64rem/1 var(--font-sans);
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--hero-muted);
  text-decoration: none;
}
[dir="rtl"] .hero__scroll { translate: 50% 0; }
:lang(ar) .hero__scroll { letter-spacing: 0; font-size: .85rem; }
.hero__scroll-line { width: 2px; height: 38px; border-radius: 2px; background: linear-gradient(var(--golden), var(--sunset) 60%, transparent); transform-origin: top; animation: scrollline 2.2s var(--ease-in-out) infinite; }
@keyframes scrollline { 0% { transform: scaleY(0); } 50% { transform: scaleY(1); transform-origin: top; } 51% { transform-origin: bottom; } 100% { transform: scaleY(0); transform-origin: bottom; } }

@media (min-width: 960px) {
  .hero { padding-block: calc(var(--header-h) + 36px) 120px; }
  .hero__grid { grid-template-columns: 1.08fr .92fr; gap: 64px; }
  .hero__copy { text-align: start; }
  .hero__copy .eyebrow { justify-content: flex-start; }
  .hero__title { font-size: 5.9rem; }
  :lang(ar) .hero__title { font-size: 4.8rem; }
  .hero__sub { margin-inline: 0; }
  .hero__ctas { justify-content: flex-start; }
  .hero__ctas .btn { flex: 0 0 auto; }
  .hero__note { margin-inline: 0; }
  .divider--start { margin-inline: 0; }
  .hero__visual { width: min(100%, 420px); margin-inline-start: auto; margin-inline-end: 6%; }
  .hero__copy { display: grid; grid-template-columns: auto auto; column-gap: 34px; align-items: center; justify-content: start; }
  .hero__copy > * { grid-column: 1 / -1; }
  .hero__copy > .eyebrow { justify-self: start; }
  .hero__copy > .hero__sub { grid-column: 1; }
  .hero__copy > .hero__badge-wrap { grid-column: 2; width: 150px; margin: 0; }
  .hero__scroll { display: flex; }
}
@media (min-height: 700px) and (min-width: 600px) and (max-width: 959px) { .hero__scroll { display: none; } }

/* ---------- Marquee ---------- */
.marquee {
  position: relative;
  background: var(--grain-light), var(--grad-sunset);
  color: var(--espresso);
  overflow: hidden;
  padding-block: 18px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .35), inset 0 -1px 0 rgba(122, 51, 38, .18);
}
.marquee::before, .marquee::after {
  content: "";
  position: absolute;
  inset-block: 0;
  width: 48px;
  z-index: 1;
  pointer-events: none;
}
.marquee::before { left: 0; background: linear-gradient(to right, var(--golden), rgba(246, 196, 83, 0)); }
.marquee::after { right: 0; background: linear-gradient(to left, var(--coral), rgba(234, 106, 90, 0)); }
.marquee__track { display: flex; width: max-content; animation: marquee 36s linear infinite; }
[dir="rtl"] .marquee__track { animation-name: marquee-rtl; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__group { display: flex; align-items: center; gap: 26px; padding-inline-end: 26px; flex: none; }
.marquee__group li { display: inline-flex; align-items: center; gap: 12px; white-space: nowrap; font: italic 500 1.4rem/1 var(--font-display); }
:lang(ar) .marquee__group li { font: 400 1.25rem/1.3 "Aref Ruqaa", serif; }
.marquee__group .icon { width: 26px; height: 26px; color: var(--espresso); }
.marquee__sep .icon { width: 13px; height: 13px; color: #FFF7EE; opacity: .95; filter: drop-shadow(0 1px 1px rgba(122, 51, 38, .35)); }
@keyframes marquee { to { transform: translateX(-50%); } }
@keyframes marquee-rtl { to { transform: translateX(50%); } }

/* ---------- Layer-by-layer story ---------- */
.story {
  position: relative;
  overflow: hidden;
  padding-block: clamp(64px, 8vw, 104px);
  background: var(--grain-light), var(--glow-horizon), var(--grad-dusk);
  background-color: var(--plum);
  color: var(--mascarpone);
}
.story__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 18px;
  justify-items: center;
}
.story__head { text-align: center; }
.story__head .section-title { font-size: clamp(2rem, 7.5vw, 3.4rem); }
.story__head .eyebrow { margin-block-end: 6px; justify-content: center; }
.story__art { display: flex; justify-content: center; width: 100%; }
.cup { display: block; width: min(100%, 280px, 42vh); height: auto; overflow: visible; }
.cup__sieve-shake { transform-box: fill-box; transform-origin: 50% 50%; }
.story.is-dusting .cup__sieve-shake { animation: sieve .38s ease-in-out infinite alternate; }
@keyframes sieve { from { transform: translateX(-3px) rotate(-1.5deg); } to { transform: translateX(3px) rotate(1.5deg); } }

/* Mobile: one caption at a time, crossfading in a single grid cell (no layout shift) */
.story__captions { max-width: 460px; width: 100%; text-align: center; }
.story__steps { display: grid; }
.story__step {
  grid-area: 1 / 1;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity .55s var(--ease-out), transform .65s var(--ease-out);
  pointer-events: none;
  cursor: pointer;
}
.story__step.is-active { opacity: 1; transform: none; pointer-events: auto; }
.story__num { display: block; font: 400 1.7rem/1 "Great Vibes", cursive; color: var(--golden); }
.story__step h3 { font: 500 1.55rem/1.15 var(--font-display); margin-block: 2px 6px; }
:lang(ar) .story__step h3 { font-weight: 700; font-size: 1.35rem; line-height: 1.5; }
.story__step p { color: rgba(251, 246, 238, .86); font-size: 1.05rem; line-height: 1.5; }
:lang(ar) .story__step p { font-size: 1rem; line-height: 1.85; }

/* Step indicator (4 tappable bars) + replay */
.story__controls { display: flex; align-items: center; justify-content: center; gap: 10px; margin-block-start: 10px; }
.story__meter { display: flex; }
.story__dot {
  display: grid;
  place-items: center;
  width: 46px;
  height: 40px;
  padding: 0;
  background: none;
  border: 0;
  border-radius: 8px;
}
.story__dot span { position: relative; display: block; width: 34px; height: 3px; border-radius: 3px; background: rgba(251, 246, 238, .18); overflow: hidden; transition: height .3s var(--ease-out); }
.story__dot:hover span, .story__dot.is-active span { height: 4px; }
.story__dot span::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, var(--golden), var(--sunset));
  transform: scaleX(var(--p, 0));
  transform-origin: left;
}
[dir="rtl"] .story__dot span::after { transform-origin: right; }
.story__replay {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  padding: 0;
  border-radius: 50%;
  background: rgba(251, 246, 238, .06);
  border: 1px solid rgba(251, 246, 238, .22);
  color: var(--mascarpone);
  transition: background-color .3s, border-color .3s, color .3s;
}
.story__replay:hover { background: rgba(238, 123, 58, .18); border-color: var(--apricot); color: var(--golden); }
.story__replay .icon { width: 18px; height: 18px; }
.story__replay:active .icon { transform: rotate(-40deg); transition: transform .2s; }

/* Desktop: cup and captions side by side; all four captions listed, the current one lit */
@media (min-width: 900px) {
  .story__grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    grid-template-areas: "head art" "caps art";
    grid-template-rows: auto 1fr;
    column-gap: 64px;
    row-gap: 26px;
    justify-items: stretch;
    align-items: start;
  }
  .story__head { grid-area: head; align-self: end; text-align: start; }
  .story__head .eyebrow { justify-content: flex-start; }
  .story__art { grid-area: art; align-self: center; }
  .cup { width: min(100%, 400px, 66vh); }
  .story__captions { grid-area: caps; text-align: start; max-width: 480px; }
  .story__steps { gap: 4px; }
  .story__step {
    grid-area: auto;
    display: grid;
    grid-template-columns: 2.6rem minmax(0, 1fr);
    column-gap: 10px;
    padding: 8px 14px;
    border-inline-start: 2px solid rgba(251, 246, 238, .14);
    opacity: .42;
    transform: none;
    pointer-events: auto;
    transition: opacity .5s var(--ease-out), border-color .5s var(--ease-out), background-color .5s var(--ease-out);
  }
  .story__step:hover { opacity: .72; }
  .story__step.is-active { opacity: 1; border-color: var(--sunset); background: linear-gradient(90deg, rgba(238, 123, 58, .12), rgba(251, 246, 238, .02)); }
  .story__num { grid-row: span 2; font-size: 1.6rem; padding-block-start: 4px; }
  .story__step h3 { font-size: 1.45rem; margin-block: 0 4px; }
  :lang(ar) .story__step h3 { font-size: 1.25rem; }
  .story__step p { font-size: 1rem; }
  .story__controls { justify-content: flex-start; margin-block-start: 16px; margin-inline-start: 4px; }
}

/* Static fallback: no JS or reduced motion (finished cup, every caption visible) */
html:not(.js) .story__steps, .story.is-static .story__steps { gap: 22px; }
html:not(.js) .story__step, .story.is-static .story__step { grid-area: auto; opacity: 1; transform: none; cursor: default; }
html:not(.js) .story__controls, .story.is-static .story__controls { display: none; }
@media (min-width: 900px) {
  html:not(.js) .story__steps, .story.is-static .story__steps { gap: 4px; }
  .story.is-static .story__step { border-color: rgba(251, 246, 238, .14); background: none; }
}

/* ---------- Product ---------- */
.product__grid { display: grid; gap: 52px; align-items: center; }
@media (min-width: 960px) { .product__grid { grid-template-columns: 1.1fr .9fr; gap: 80px; } }
.product__copy { display: flex; flex-direction: column; align-items: flex-start; }
.product__copy .lead { margin-block-start: 18px; }
.script-quote {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-block: 24px 26px;
  font: 400 2.05rem/1.1 var(--font-script);
  color: var(--heart-display);
}
:lang(ar) .script-quote { font-size: 1.55rem; line-height: 1.5; }
.promises { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 18px; margin-block-end: 32px; width: 100%; }
.promises li { display: flex; align-items: center; gap: 12px; font: 500 .76rem/1.3 var(--font-sans); letter-spacing: .12em; text-transform: uppercase; }
:lang(ar) .promises li { letter-spacing: 0; font-size: 1rem; }
.promises__icon {
  flex: none;
  display: grid;
  place-items: center;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  border: 1px solid rgba(238, 123, 58, .45);
  background: radial-gradient(circle at 30% 25%, #FFFFFF, var(--peach));
  color: var(--heart);
  box-shadow: 0 8px 18px -12px rgba(238, 123, 58, .8);
  transition: transform .5s var(--ease-out), background-color .3s;
}
.promises__icon svg { width: 26px; height: 26px; }
.promises li:hover .promises__icon { transform: rotate(-12deg) scale(1.06); background: radial-gradient(circle at 30% 25%, #FFFFFF, var(--apricot-soft)); }

/* Gallery */
.gallery { width: 100%; max-width: 580px; margin-inline: auto; }
.gallery__stage {
  --rx: 0deg; --ry: 0deg;
  position: relative;
  border-radius: 28px;
  overflow: hidden;
  background: var(--mascarpone);
  box-shadow: 0 50px 80px -50px rgba(122, 51, 38, .75), 0 0 0 1px rgba(238, 123, 58, .15);
  transform: perspective(1000px) rotateX(var(--rx)) rotateY(var(--ry));
  transition: transform .5s var(--ease-out);
}
.gallery__stage.is-tilting { transition: transform .12s linear; }
.gallery__track {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  overscroll-behavior-x: contain;
  -webkit-overflow-scrolling: touch;
  cursor: grab;
}
.gallery__track::-webkit-scrollbar { display: none; }
.gallery__track.is-dragging { cursor: grabbing; scroll-snap-type: none; user-select: none; }
.gallery__track:focus-visible { outline-offset: -4px; }
.gallery__slide {
  position: relative;
  flex: 0 0 100%;
  margin: 0;
  aspect-ratio: 4 / 3;
  scroll-snap-align: center;
  overflow: hidden;
}
.gallery__slide img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.08); transition: transform 6s var(--ease-out); }
.gallery__slide.is-active img { transform: scale(1); }
.gallery__slide figcaption {
  position: absolute;
  inset-block-end: 14px;
  inset-inline-start: 14px;
  padding: 7px 16px 9px;
  border-radius: 999px;
  background: rgba(255, 247, 238, .93);
  color: var(--espresso);
  font: 400 1.35rem/1 var(--font-script);
  box-shadow: 0 8px 20px -12px rgba(201, 67, 31, .55), inset 0 -2px 0 rgba(238, 123, 58, .35);
  opacity: 0;
  transform: translateY(10px);
  transition: opacity .5s ease .2s, transform .6s var(--ease-out) .2s;
}
:lang(ar) .gallery__slide figcaption { font-size: 1.05rem; line-height: 1.4; padding: 6px 16px 8px; }
.gallery__slide.is-active figcaption { opacity: 1; transform: none; }
.gallery__controls { display: flex; align-items: center; justify-content: center; gap: 10px; margin-block-start: 18px; }
.gallery__btn {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  background: rgba(255, 252, 247, .7);
  transition: background-color .3s, border-color .3s, transform .3s var(--ease-out);
}
.gallery__btn:hover { background: var(--mascarpone); border-color: var(--sunset); }
.gallery__btn svg { width: 20px; height: 20px; }
.gallery__btn--prev svg { transform: scaleX(-1); }
[dir="rtl"] .gallery__btn--prev svg { transform: none; }
[dir="rtl"] .gallery__btn--next svg { transform: scaleX(-1); }
.gallery__dots { display: flex; gap: 2px; }
.gallery__dot { width: 30px; height: 44px; border: 0; background: none; padding: 0; display: grid; place-items: center; }
.gallery__dot::before { content: ""; width: 8px; height: 8px; border-radius: 99px; background: rgba(59, 34, 24, .25); transition: width .4s var(--ease-out), background-color .3s; }
.gallery__dot[aria-current="true"]::before { width: 24px; background: linear-gradient(90deg, var(--golden), var(--sunset), var(--coral)); }

/* ---------- Order builder ---------- */
.order { background: radial-gradient(ellipse 60% 40% at 100% 0%, rgba(246, 196, 83, .16), transparent 70%), radial-gradient(ellipse 55% 45% at 0% 100%, rgba(234, 106, 90, .09), transparent 70%), var(--grain), var(--mascarpone); }
/* keep the ticket notches (which poke 12px past the ticket) from widening the page on narrow phones */
.order { overflow-x: hidden; overflow-x: clip; }
.order::before {
  content: "";
  position: absolute;
  inset-block-start: 0;
  inset-inline: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--apricot), var(--sunset), var(--apricot), transparent);
}
.order__form { display: grid; gap: 28px; max-width: 1040px; margin-inline: auto; }
@media (min-width: 900px) {
  .order__form { grid-template-columns: 1.25fr 1fr; gap: 48px; align-items: start; }
  .order__summary { position: sticky; top: calc(var(--header-h) + 24px); }
}
.form-alert {
  margin-block-end: 18px;
  padding: 12px 16px;
  border-radius: 14px;
  background: rgba(154, 51, 34, .08);
  color: var(--error);
  font: 500 .95rem/1.4 var(--font-sans);
}
.field { border: 0; margin: 0 0 24px; padding: 0; min-width: 0; }
.field__label {
  display: block;
  padding: 0;
  margin-block-end: 10px;
  font: 500 .74rem/1.2 var(--font-sans);
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--cocoa);
}
:lang(ar) .field__label { letter-spacing: 0; font-size: 1rem; font-weight: 600; }
.field__hint { margin-block-start: 8px; font: 400 .88rem/1.45 var(--font-sans); color: var(--muted); }
:lang(ar) .field__hint { font-size: .95rem; }
.field__error { margin-block-start: 8px; font: 500 .9rem/1.4 var(--font-sans); color: var(--error); animation: nudge .4s var(--ease-out); }
:lang(ar) .field__error { font-size: .95rem; }
@keyframes nudge { 0% { transform: translateX(0); } 25% { transform: translateX(-6px); } 50% { transform: translateX(5px); } 75% { transform: translateX(-3px); } 100% { transform: none; } }

.input {
  width: 100%;
  min-height: 54px;
  padding: 12px 18px;
  border: 1px solid var(--line-strong);
  border-radius: 16px;
  background: #FFFDF9;
  color: var(--espresso);
  font: 500 1.1rem/1.4 var(--font-body);
  transition: border-color .25s, box-shadow .25s, background-color .25s;
  appearance: none;
  -webkit-appearance: none;
}
:lang(ar) .input { font-size: 1.02rem; }
.input::placeholder { color: rgba(111, 74, 54, .7); }
.input:hover { border-color: var(--apricot); }
.input:focus { outline: none; border-color: var(--sunset); box-shadow: 0 0 0 4px rgba(246, 196, 83, .35); background: #fff; }
.input[aria-invalid="true"] { border-color: var(--error); box-shadow: 0 0 0 4px rgba(154, 51, 34, .12); }
.input--area { resize: vertical; min-height: 110px; }
.input--date { font-family: var(--font-sans); font-size: 1.05rem; min-height: 54px; display: block; }
.input--date::-webkit-date-and-time-value { text-align: start; }
.input--date::-webkit-calendar-picker-indicator { opacity: .6; cursor: pointer; }

.field--address { display: grid; grid-template-rows: 1fr; transition: grid-template-rows .45s var(--ease-out), opacity .35s, margin .45s; }
.field--address > * { min-height: 0; }
.field--address.is-collapsed { grid-template-rows: 0fr; opacity: 0; margin-block-end: 0; pointer-events: none; }
.field--address .field__inner { overflow: hidden; padding: 4px; margin: -4px; }

.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip { position: relative; }
.chip input { position: absolute; opacity: 0; width: 1px; height: 1px; pointer-events: none; }
.chip span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 50px;
  padding: 0 24px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: #FFFDF9;
  font: 600 1.18rem/1 var(--font-display);
  cursor: pointer;
  transition: background-color .3s, color .3s, border-color .3s, transform .3s var(--ease-out);
}
:lang(ar) .chip span { font-family: var(--font-body); font-weight: 500; font-size: 1.05rem; }
.chip span::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: 1px solid currentColor;
  transition: background-color .3s, transform .3s var(--ease-out);
}
.chip:hover span { border-color: var(--sunset); }
.chip input:checked + span { background: var(--grad-cta); background-size: 220% 100%; border-color: transparent; color: #FFFFFF; box-shadow: 0 10px 20px -12px rgba(201, 67, 31, .8); }
.chip input:checked + span::before { background: var(--golden); border-color: var(--golden); transform: scale(1.25); }
.chip input:focus-visible + span { outline: 2px solid var(--heart); outline-offset: 3px; }
.chip input:active + span { transform: scale(.97); }

.stepper { display: flex; align-items: center; gap: 14px; }
.stepper__btn {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  background: #FFFDF9;
  transition: background-color .25s, color .25s, border-color .25s, transform .25s var(--ease-out);
}
.stepper__btn svg { width: 22px; height: 22px; }
.stepper__btn:hover:not([aria-disabled="true"]) { background: var(--grad-cta); background-size: 220% 100%; color: #FFFFFF; border-color: transparent; }
.stepper__btn:active:not([aria-disabled="true"]) { transform: scale(.9); }
.stepper__btn[aria-disabled="true"] { opacity: .35; cursor: not-allowed; }
.stepper__value { display: inline-flex; align-items: baseline; gap: 8px; min-width: 6.5ch; justify-content: center; }
.stepper__num {
  position: relative;
  display: inline-block;
  height: 1.15em;
  min-width: 1.4ch;
  overflow: hidden;
  font: 600 2.6rem/1.15 "Cormorant Garamond", Georgia, serif;
  color: var(--espresso);
  text-align: center;
}
.stepper__digit { display: block; }
.stepper__digit.is-out { position: absolute; inset-inline: 0; inset-block-start: 0; }
.stepper__digit.up-in { animation: upIn .38s var(--ease-out) both; }
.stepper__digit.up-out { animation: upOut .38s var(--ease-out) both; }
.stepper__digit.down-in { animation: downIn .38s var(--ease-out) both; }
.stepper__digit.down-out { animation: downOut .38s var(--ease-out) both; }
@keyframes upIn { from { transform: translateY(100%); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes upOut { to { transform: translateY(-100%); opacity: 0; } }
@keyframes downIn { from { transform: translateY(-100%); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes downOut { to { transform: translateY(100%); opacity: 0; } }
.stepper__unit { font: 500 .8rem/1 var(--font-sans); letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
:lang(ar) .stepper__unit { letter-spacing: 0; font-size: 1rem; }

.ticket {
  position: relative;
  padding: 28px 24px 24px;
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(252, 227, 210, .55), transparent 40%), var(--grain), var(--paper);
  border: 1px solid rgba(238, 123, 58, .22);
  box-shadow: 0 30px 60px -40px rgba(201, 67, 31, .55);
}
.ticket::before, .ticket::after {
  content: "";
  position: absolute;
  inset-block-start: 50%;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--mascarpone);
  border: 1px solid rgba(238, 123, 58, .22);
}
.ticket::before { inset-inline-start: -12px; clip-path: inset(0 0 0 50%); }
.ticket::after { inset-inline-end: -12px; clip-path: inset(0 50% 0 0); }
[dir="rtl"] .ticket::before { clip-path: inset(0 50% 0 0); }
[dir="rtl"] .ticket::after { clip-path: inset(0 0 0 50%); }
.ticket__title { text-align: center; font: 400 2.2rem/1 var(--font-script); color: var(--heart-display); }
:lang(ar) .ticket__title { font-size: 1.7rem; line-height: 1.4; }
.ticket .divider { margin: 8px auto 12px; width: 170px; }
.ticket__list { margin: 0 0 16px; }
.ticket__list div { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding-block: 11px; border-block-end: 1px dashed var(--line-strong); }
.ticket__list dt { font: 500 .72rem/1.3 var(--font-sans); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
:lang(ar) .ticket__list dt { letter-spacing: 0; font-size: .95rem; }
.ticket__list dd { margin: 0; font: 600 1.15rem/1.3 var(--font-body); text-align: end; color: var(--espresso); }
:lang(ar) .ticket__list dd { font-size: 1.02rem; }
.ticket__list dd.is-bump { animation: bump .45s var(--ease-out); }
@keyframes bump { 0% { transform: scale(1); } 40% { transform: scale(1.12); color: var(--heart); } 100% { transform: scale(1); } }
.ticket__note { font: 400 .86rem/1.45 var(--font-sans); color: var(--muted); text-align: center; margin-block-end: 18px; }
:lang(ar) .ticket__note { font-size: .95rem; }
.ticket__or { display: flex; align-items: center; gap: 12px; margin-block: 12px; font: italic 500 1.05rem/1 var(--font-display); color: var(--muted); }
.ticket__or::before, .ticket__or::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.ticket__status { min-height: 1.4em; margin-block-start: 12px; text-align: center; font: 500 .9rem/1.4 var(--font-sans); color: var(--heart); }

/* ---------- Find us ---------- */
.places { display: grid; gap: 20px; }
@media (min-width: 680px) { .places { grid-template-columns: 1fr 1fr; gap: 26px; } }
.place {
  position: relative;
  padding: 34px 28px 30px;
  border-radius: var(--radius);
  background: var(--mascarpone);
  border: 1px solid var(--line);
  overflow: hidden;
  transition: transform .5s var(--ease-out), box-shadow .5s var(--ease-out);
}
.place::after {
  content: "";
  position: absolute;
  inset-block-start: -40%;
  inset-inline-end: -30%;
  width: 70%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(246, 196, 83, .3), rgba(238, 123, 58, .08) 45%, transparent 70%);
  pointer-events: none;
}
.place:hover { transform: translateY(-6px); box-shadow: 0 30px 50px -34px rgba(201, 67, 31, .6); }
.place__pin { position: relative; width: 44px; height: 68px; margin-block-end: 14px; color: var(--sunset); }
.pin { width: 44px; height: 58px; overflow: visible; stroke-dasharray: 170; stroke-dashoffset: 0; }
html.js .place .pin { stroke-dashoffset: 170; transform: translateY(-30px); opacity: 0; }
html.js .place.is-in .pin { animation: pinDrop .9s var(--ease-out) forwards, pinDraw 1.4s var(--ease-out) .2s forwards, pinBob 3.2s ease-in-out 1.6s infinite; }
@keyframes pinDrop { 0% { transform: translateY(-30px); opacity: 0; } 60% { transform: translateY(4px); opacity: 1; } 80% { transform: translateY(-3px); } 100% { transform: none; opacity: 1; } }
@keyframes pinDraw { to { stroke-dashoffset: 0; } }
@keyframes pinBob { 0%, 100% { transform: none; opacity: 1; stroke-dashoffset: 0; } 50% { transform: translateY(-4px); opacity: 1; stroke-dashoffset: 0; } }
.place__ripple {
  position: absolute;
  inset-block-end: 2px;
  inset-inline-start: 50%;
  width: 34px;
  height: 9px;
  margin-inline-start: -17px;
  border: 1.5px solid var(--apricot);
  border-radius: 50%;
  opacity: 0;
}
.place.is-in .place__ripple { animation: ripple 2.4s ease-out 1s infinite; }
html:not(.js) .place__ripple { opacity: .6; }
@keyframes ripple { 0% { transform: scale(.3); opacity: .9; } 100% { transform: scale(1.8); opacity: 0; } }
.place__name { font: 500 2.4rem/1 var(--font-display); color: var(--espresso); }
:lang(ar) .place__name { font-weight: 700; font-size: 2rem; line-height: 1.4; }
.place__region { margin-block: 8px 14px; font: 500 .72rem/1.3 var(--font-sans); letter-spacing: .2em; text-transform: uppercase; color: var(--cocoa-dust); }
:lang(ar) .place__region { letter-spacing: 0; font-size: .95rem; }
.place__text { margin-block-end: 18px; font-size: 1.15rem; }
:lang(ar) .place__text { font-size: 1.02rem; }
.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  font: 500 .76rem/1 var(--font-sans);
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--heart);
  text-decoration: none;
}
:lang(ar) .link-arrow { letter-spacing: 0; font-size: 1rem; }
.link-arrow .icon { transition: transform .35s var(--ease-out); }
.link-arrow:hover .icon { transform: translateX(5px); }
[dir="rtl"] .link-arrow:hover .icon { transform: scaleX(-1) translateX(5px); }

.delivery {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-block-start: 22px;
  padding: 20px 24px;
  border: 1.5px dashed rgba(238, 123, 58, .6);
  border-radius: 20px;
  background: linear-gradient(100deg, rgba(252, 227, 210, .7), rgba(255, 252, 247, .6));
}
.delivery__icon { width: 58px; height: 44px; flex: none; color: var(--sunset); }
.delivery.is-in .delivery__icon { animation: ride 2.6s ease-in-out infinite; }
[dir="rtl"] .delivery__icon { transform: scaleX(-1); }
[dir="rtl"] .delivery.is-in .delivery__icon { animation-name: ride-rtl; }
@keyframes ride { 0%, 100% { transform: translateX(0); } 50% { transform: translateX(6px) translateY(-1px); } }
@keyframes ride-rtl { 0%, 100% { transform: scaleX(-1); } 50% { transform: scaleX(-1) translateX(6px) translateY(-1px); } }
.delivery__title { font: 500 1.5rem/1.1 var(--font-display); color: var(--espresso); }
:lang(ar) .delivery__title { font-weight: 700; font-size: 1.3rem; line-height: 1.5; }
.delivery__text { font-size: 1.08rem; color: var(--cocoa); }
:lang(ar) .delivery__text { font-size: 1rem; }

/* ---------- About ---------- */
.about { background: radial-gradient(ellipse 50% 45% at 12% 40%, rgba(246, 196, 83, .16), transparent 70%), linear-gradient(180deg, transparent, var(--peach)); }
.about__grid { display: grid; gap: 56px; align-items: center; }
@media (min-width: 900px) { .about__grid { grid-template-columns: .85fr 1.15fr; gap: 88px; } }
.about__photo {
  position: relative;
  margin: 0 auto;
  width: min(84%, 420px);
  padding: 12px 12px 48px;
  background: #FFFDF8;
  box-shadow: 0 30px 60px -36px rgba(122, 51, 38, .6), 0 0 0 1px rgba(59, 34, 24, .06);
  transform: rotate(-3deg);
}
[dir="rtl"] .about__photo { transform: rotate(3deg); }
.about__photo::before {
  content: "";
  position: absolute;
  inset-block-start: -14px;
  inset-inline-start: 50%;
  width: 110px;
  height: 30px;
  margin-inline-start: -55px;
  background: rgba(244, 162, 97, .55);
  transform: rotate(4deg);
  box-shadow: 0 1px 2px rgba(36, 21, 14, .1);
}
.about__photo img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.about__copy { display: flex; flex-direction: column; align-items: flex-start; gap: 18px; }
.about__copy .eyebrow { margin: 0; }
.about__copy p:not(.eyebrow):not(.about__sign) { font-size: 1.28rem; line-height: 1.6; max-width: 40ch; }
:lang(ar) .about__copy p:not(.eyebrow):not(.about__sign) { font-size: 1.1rem; line-height: 1.95; }
.about__sign { display: flex; align-items: center; gap: 10px; font: 400 2rem/1.2 var(--font-script); color: var(--heart-display); }
:lang(ar) .about__sign { font-size: 1.5rem; line-height: 1.6; }

/* ---------- Instagram ---------- */
.ig {
  position: relative;
  padding-block: clamp(80px, 12vw, 130px);
  background: var(--grain-light), radial-gradient(ellipse 60% 50% at 85% 100%, rgba(246, 196, 83, .28), transparent 70%), var(--glow-horizon), var(--grad-dusk);
  background-color: var(--plum);
  color: var(--mascarpone);
  overflow: hidden;
}
.ig__grid { display: grid; gap: 48px; align-items: center; }
@media (min-width: 900px) { .ig__grid { grid-template-columns: 1.05fr .95fr; } }
.ig__copy { display: flex; flex-direction: column; align-items: flex-start; }
.ig__handle { font: 400 clamp(3rem, 12vw, 5.6rem)/1.05 "Great Vibes", cursive; margin-block: 6px 16px; direction: ltr; }
.ig__handle a { text-decoration: none; background: linear-gradient(90deg, var(--golden), var(--sunset)) no-repeat 0 92% / 0 2px; transition: background-size .6s var(--ease-out), color .3s; }
.ig__handle a:hover { background-size: 100% 2px; color: #FFE9CF; }
.ig__text { max-width: 36ch; margin-block-end: 28px; font-size: 1.25rem; color: rgba(251, 246, 238, .88); }
:lang(ar) .ig__text { font-size: 1.08rem; line-height: 1.9; }
.moments { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; max-width: 500px; width: 100%; margin-inline: auto; padding-block-end: 32px; }
.moment {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border-radius: 999px 999px 18px 18px;
  background: #4A2226;
  box-shadow: 0 30px 50px -30px #000, 0 0 0 1px rgba(246, 196, 83, .25);
}
.moment:nth-child(2) { translate: 0 32px; }
.moment img, .moment__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.moment--zoom img, .moment--zoom .moment__video { transform: scale(1.1); }
.moment__video { opacity: 0; transition: opacity .8s ease; }
.moment__video.is-playing { opacity: 1; }
@media (min-width: 600px) { .moments { gap: 16px; } }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--grain-light), radial-gradient(ellipse 70% 60% at 50% 0%, rgba(238, 123, 58, .2), transparent 70%), linear-gradient(180deg, var(--plum), var(--espresso-deep));
  color: rgba(251, 246, 238, .88);
  padding-block: 64px calc(28px + env(safe-area-inset-bottom));
  border-block-start: 2px solid transparent;
  border-image: linear-gradient(90deg, var(--golden), var(--sunset), var(--coral), var(--dusk-rose)) 1;
}
.footer__grid { display: grid; gap: 40px; }
@media (min-width: 760px) { .footer__grid { grid-template-columns: 1.2fr 1fr; } }
.footer__brand { display: flex; align-items: center; gap: 18px; }
.footer__logo { width: 88px; height: 88px; border-radius: 50%; flex: none; box-shadow: 0 0 0 3px rgba(246, 196, 83, .45), 0 12px 30px -10px rgba(238, 123, 58, .6); }
.footer__name { display: flex; flex-direction: column; align-items: flex-start; font: 400 2.2rem/1 "Great Vibes", cursive; color: var(--mascarpone); }
.footer__mark { width: 64px; height: 54px; margin-block-end: 4px; color: var(--peach); overflow: visible; }
.footer__ar { font: 400 1.1rem/1.4 "Aref Ruqaa", serif; color: var(--apricot); margin-block: 4px 6px; }
.footer__tagline { font: italic 500 1.15rem/1.4 var(--font-display); color: rgba(251, 246, 238, .78); }
:lang(ar) .footer__tagline { font-style: normal; font-size: 1rem; }
.footer__heading { font: 500 .72rem/1 var(--font-sans); letter-spacing: .3em; text-transform: uppercase; color: var(--apricot); margin-block-end: 12px; }
:lang(ar) .footer__heading { letter-spacing: 0; font-size: 1rem; }
.footer__links { display: grid; gap: 2px; }
.footer__links a { display: inline-flex; align-items: center; gap: 12px; min-height: 44px; text-decoration: none; font: 400 1rem/1.3 var(--font-sans); transition: color .25s; }
.footer__links a:hover { color: var(--golden); }
.footer__links .icon { color: var(--apricot); }
.footer__where { margin-block-start: 10px; font: 400 .9rem/1.4 var(--font-sans); color: rgba(251, 246, 238, .7); }
.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-block-start: 48px;
  padding-block-start: 20px;
  border-block-start: 1px solid var(--line-light);
  font: 400 .85rem/1.4 var(--font-sans);
  color: rgba(251, 246, 238, .7);
}
.footer__top { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; text-decoration: none; }
.footer__top .icon { transform: rotate(-90deg); transition: transform .3s var(--ease-out); }
.footer__top:hover .icon { transform: rotate(-90deg) translateX(4px); }
.footer__top:hover { color: var(--golden); }

/* ---------- Floating WhatsApp ---------- */
.fab {
  position: fixed;
  inset-block-end: calc(18px + env(safe-area-inset-bottom));
  inset-inline-end: 18px;
  z-index: 55;
  display: grid;
  place-items: center;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--grad-cta);
  background-size: 220% 100%;
  color: #FFFFFF;
  box-shadow: 0 16px 30px -10px rgba(201, 67, 31, .7);
  transition: opacity .4s, transform .5s var(--ease-out), visibility .4s, background-position .6s var(--ease-out);
}
.fab svg { width: 30px; height: 30px; position: relative; z-index: 1; }
.fab::before, .fab::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid var(--sunset);
  animation: pulse 2.8s ease-out infinite;
}
.fab::after { animation-delay: 1.4s; }
.fab:hover { background-position: 100% 50%; transform: scale(1.06); }
.fab.is-hidden { opacity: 0; visibility: hidden; transform: scale(.5) translateY(24px); pointer-events: none; }
@keyframes pulse { 0% { transform: scale(1); opacity: .8; } 100% { transform: scale(1.7); opacity: 0; } }

/* ---------- Scroll reveal ---------- */
html.js [data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .9s var(--ease-out) var(--d, 0s), transform 1s var(--ease-out) var(--d, 0s);
}
html.js [data-reveal].is-in { opacity: 1; transform: none; }
html.js .gallery[data-reveal] { transform: translateY(40px) scale(.97); }
html.js .gallery[data-reveal].is-in { transform: none; }
html.js .about__photo[data-reveal] { transform: rotate(-8deg) translateY(40px); }
html.js .about__photo[data-reveal].is-in { transform: rotate(-3deg); }
html.js[dir="rtl"] .about__photo[data-reveal] { transform: rotate(8deg) translateY(40px); }
html.js[dir="rtl"] .about__photo[data-reveal].is-in { transform: rotate(3deg); }

/* ---------- Language switch fade ---------- */
html.lang-switching main,
html.lang-switching .site-header__inner,
html.lang-switching .site-footer,
html.lang-switching .fab { opacity: 0; transition: opacity .18s ease; }
main, .site-header__inner, .site-footer { transition: opacity .28s ease; }

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    animation-delay: 0s !important;
    transition-duration: .001ms !important;
    transition-delay: 0s !important;
  }
  .preloader { display: none; }
  .hero__dust { display: none; }
  .marquee__track { animation: none !important; transform: none !important; flex-wrap: wrap; width: auto; justify-content: center; }
  .marquee__track .marquee__group + .marquee__group { display: none; }
  .marquee__group { flex-wrap: wrap; justify-content: center; row-gap: 10px; padding-inline: 16px; }
  .marquee::before, .marquee::after { display: none; }
  .hero__ring { animation: none !important; }
  .gallery__slide img { transform: none; }
  html.js [data-reveal] { opacity: 1; transform: none; }
  html.js .place .pin { stroke-dashoffset: 0; transform: none; opacity: 1; }
  .fab::before, .fab::after { display: none; }
  .hero__sun, html.js .hero__heart, .brand:hover .brand__heart { animation: none !important; }
  html.js .enter.divider { clip-path: none; }
}

/* ---------- 404 ---------- */
.nf {
  min-height: 100vh;
  min-height: 100svh;
  display: grid;
  place-items: center;
  padding: calc(var(--header-h) + 24px) var(--gutter) 48px;
  text-align: center;
  background: radial-gradient(circle at 50% 28%, rgba(246, 196, 83, .45), rgba(244, 162, 97, .2) 30%, transparent 60%), linear-gradient(180deg, #FFE3A3 0%, var(--peach) 45%, var(--paper) 100%);
}
.nf__inner { display: flex; flex-direction: column; align-items: center; gap: 16px; max-width: 560px; }
.nf__badge { position: relative; width: 132px; }
.nf__badge img { border-radius: 50%; box-shadow: 0 0 0 3px rgba(255, 247, 238, .9), 0 0 0 5px rgba(246, 196, 83, .6), 0 20px 40px -20px rgba(201, 67, 31, .7); animation: spin 40s linear infinite; }
.nf__heart { position: absolute; width: 46px; height: auto; inset-block-end: -6px; inset-inline-end: -14px; color: var(--cocoa); transform: rotate(14deg); overflow: visible; animation: beat 2.6s ease-in-out 1.5s infinite; }
.nf__code { font: 400 clamp(4.5rem, 20vw, 8rem)/.9 "Great Vibes", cursive; color: var(--heart-display); }
.nf .lead { margin-inline: auto; }
.nf .divider { margin-inline: auto; }
@media (prefers-reduced-motion: reduce) { .nf__badge img, .nf__heart { animation: none; } }
