/* LUMÉA — Skin, Refined · static one-page site */
:root {
  --ink: #1D1917;
  --ink-2: #2A2420;
  --cream: #F6F1EA;
  --beige: #E8DED2;
  --warm: #FCFAF7;
  --accent: #B79B7A;
  --accent-2: #9C7F5E;
  --muted: #81766D;
  --line: rgba(29, 25, 23, .12);
  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --radius: 22px;
  --pad: clamp(16px, 4vw, 40px);
}
html[lang="ar"] {
  --serif: "Tajawal", "Cormorant Garamond", serif;
  --sans: "Tajawal", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--warm);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { margin: 0; font-weight: 400; }
p { margin: 0 0 1em; }
button { font: inherit; color: inherit; cursor: pointer; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }

.container { width: 100%; max-width: 1240px; margin-inline: auto; padding-inline: var(--pad); }
.skip { position: absolute; inset-inline-start: -999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 14px; z-index: 100; border-radius: 8px; }
.skip:focus { inset-inline-start: 8px; }

/* Type helpers */
.eyebrow {
  font-size: 11px; letter-spacing: .32em; text-transform: uppercase;
  color: var(--accent-2); margin-bottom: 18px; display: flex; align-items: center; gap: 12px;
}
.eyebrow::before { content: ""; width: 28px; height: 1px; background: currentColor; opacity: .7; }
.eyebrow--light { color: var(--accent); }
html[lang="ar"] .eyebrow { letter-spacing: 0; font-size: 14px; }
em { font-style: italic; color: var(--accent-2); }
html[lang="ar"] em { font-style: normal; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 15px 28px; border-radius: 999px; font-size: 14px; font-weight: 500; letter-spacing: .02em;
  border: 1px solid transparent; transition: transform .4s var(--ease), background .3s, color .3s, border-color .3s;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn--dark { background: var(--ink); color: var(--cream); }
.btn--dark:hover { background: var(--accent-2); }
.btn--ghost { border-color: var(--line); background: rgba(255,255,255,.5); }
.btn--ghost:hover { border-color: var(--ink); }
.btn--light { background: var(--cream); color: var(--ink); }
.btn--light:hover { background: var(--accent); color: #fff; }
.btn--sm { padding: 10px 20px; font-size: 13px; }

/* Header */
.header {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  transition: background .4s, box-shadow .4s, padding .4s; padding-block: 18px;
}
.header.is-scrolled { background: rgba(252, 250, 247, .86); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); box-shadow: 0 1px 0 var(--line); padding-block: 10px; }
.header__inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.logo { display: flex; flex-direction: column; line-height: 1; }
.logo__name { font-family: "Cormorant Garamond", Georgia, serif; font-size: 26px; letter-spacing: .28em; font-weight: 500; }
.logo__tag { font-size: 8.5px; letter-spacing: .42em; color: var(--muted); margin-top: 6px; }
.logo--light .logo__tag { color: var(--accent); }
.nav { display: flex; gap: 34px; font-size: 14px; }
.nav a { position: relative; padding-block: 6px; color: var(--ink-2); }
.nav a::after { content: ""; position: absolute; inset-inline: 0; bottom: 0; height: 1px; background: var(--accent); transform: scaleX(0); transition: transform .4s var(--ease); }
.nav a:hover::after { transform: scaleX(1); }
.header__actions { display: flex; align-items: center; gap: 12px; }
.lang { background: none; border: 1px solid var(--line); border-radius: 999px; padding: 8px 14px; font-size: 13px; font-family: "Tajawal", var(--sans); }
.lang:hover { border-color: var(--ink); }
.burger { display: none; width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--line); background: none; position: relative; }
.burger span { position: absolute; left: 12px; right: 12px; height: 1.5px; background: var(--ink); transition: transform .35s var(--ease), top .35s var(--ease); }
.burger span:first-child { top: 16px; }
.burger span:last-child { top: 24px; }
.burger[aria-expanded="true"] span:first-child { top: 20px; transform: rotate(45deg); }
.burger[aria-expanded="true"] span:last-child { top: 20px; transform: rotate(-45deg); }

/* Hero */
.hero {
  position: relative; min-height: 100vh; min-height: 100svh; display: flex; align-items: center;
  padding: 120px 0 70px; overflow: hidden;
  background: radial-gradient(120% 90% at 75% 30%, var(--cream) 0%, var(--beige) 100%);
}
.hero::after { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .35; mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.25'/%3E%3C/svg%3E"); }
.hero__grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.05fr 1fr; gap: 40px; align-items: center; }
.hero__title { font-family: var(--serif); font-size: clamp(56px, 9vw, 132px); line-height: .92; letter-spacing: -.01em; margin-bottom: 28px; font-weight: 300; }
.hero__title span, .hero__title em { display: block; }
html[lang="ar"] .hero__title { line-height: 1.15; font-weight: 500; font-size: clamp(48px, 7.5vw, 104px); }
.hero__lead { font-size: clamp(16px, 1.4vw, 18px); color: var(--muted); max-width: 46ch; margin-bottom: 34px; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; }

.hero__art { position: relative; aspect-ratio: 1 / 1.05; width: 100%; max-width: 560px; justify-self: center; }
.orb { position: absolute; border-radius: 50%; filter: blur(2px); }
.orb--1 { width: 78%; aspect-ratio: 1; inset-inline-start: 11%; top: 8%; background: radial-gradient(circle at 35% 30%, #fff 0%, #F1E7DA 55%, #E3D3BF 100%); box-shadow: 0 40px 80px -30px rgba(120, 90, 60, .35); }
.orb--2 { width: 16%; aspect-ratio: 1; inset-inline-end: 4%; top: 6%; background: var(--accent); opacity: .5; animation: float 7s ease-in-out infinite; }
.hero__stage { position: absolute; inset: 0; }
.hero__item { position: absolute; bottom: 10%; filter: drop-shadow(0 24px 30px rgba(60, 40, 20, .18)); animation: float 8s ease-in-out infinite; }
.hero__item--a { width: 38%; inset-inline-start: 2%; animation-delay: -2s; }
.hero__item--b { width: 44%; inset-inline-start: 28%; bottom: 13%; z-index: 2; }
.hero__item--c { width: 40%; inset-inline-end: 0; animation-delay: -4s; }
.hero__badge { position: absolute; inset-inline-start: 0; top: 18%; background: rgba(255,255,255,.75); backdrop-filter: blur(8px); border: 1px solid rgba(255,255,255,.9); padding: 12px 18px; border-radius: 999px; font-size: 13px; color: var(--muted); box-shadow: 0 10px 30px -12px rgba(0,0,0,.15); }
.hero__badge b { font-family: "Cormorant Garamond", serif; font-size: 18px; color: var(--ink); font-style: italic; font-weight: 500; }
@keyframes float { 50% { transform: translateY(-12px); } }

/* Marquee */
.marquee { background: var(--ink); color: var(--cream); overflow: hidden; padding: 18px 0; }
.marquee__track { display: flex; gap: 36px; width: max-content; animation: marquee 32s linear infinite; font-family: "Cormorant Garamond", serif; font-size: 26px; font-style: italic; align-items: center; }
.marquee i { color: var(--accent); font-style: normal; font-size: 14px; }
@keyframes marquee { to { transform: translateX(-50%); } }
html[dir="rtl"] .marquee__track { animation-direction: reverse; }

/* Sections */
.section { padding: clamp(72px, 10vw, 130px) 0; position: relative; }
.section--cream { background: var(--cream); }
.section--dark { background: var(--ink); color: var(--cream); }
.section--dark em { color: var(--accent); }
.section__head { max-width: 680px; margin-bottom: clamp(36px, 5vw, 60px); }
.section__head--row { max-width: none; display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.section__title { font-family: var(--serif); font-size: clamp(38px, 5.2vw, 68px); line-height: 1.02; font-weight: 300; }
html[lang="ar"] .section__title { line-height: 1.25; font-weight: 500; font-size: clamp(32px, 4.4vw, 56px); }
.section__lead { margin-top: 20px; color: var(--muted); font-size: 17px; max-width: 54ch; }
.section--dark .section__lead { color: rgba(246, 241, 234, .65); }

/* Categories */
.cats { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; }
.cat {
  background: var(--cream); border: 1px solid transparent; border-radius: var(--radius); padding: 26px 18px 22px;
  text-align: center; transition: transform .5s var(--ease), border-color .3s, background .3s;
}
.cat:hover { transform: translateY(-6px); border-color: var(--line); background: #fff; }
.cat__icon { width: 64px; height: 64px; margin: 0 auto 16px; border-radius: 50%; display: grid; place-items: center; background: #fff; color: var(--accent-2); }
.cat:hover .cat__icon { background: var(--cream); }
.cat__icon svg { width: 28px; height: 28px; }
.cat h3 { font-family: var(--serif); font-size: 22px; line-height: 1.1; }
html[lang="ar"] .cat h3 { font-size: 19px; font-weight: 500; }
.cat p { font-size: 12.5px; color: var(--muted); margin: 6px 0 0; }

/* Ingredients */
.ings { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: rgba(246, 241, 234, .12); border-radius: var(--radius); overflow: hidden; }
.ing { background: var(--ink); padding: 36px 30px; transition: background .4s; }
.ing:hover { background: var(--ink-2); }
.ing h3 { font-family: var(--serif); font-size: 30px; margin: 0 0 10px; }
html[lang="ar"] .ing h3 { font-size: 24px; font-weight: 500; }
.ing p { color: rgba(246, 241, 234, .62); font-size: 14.5px; margin: 0; }
.ing__benefit { display: inline-block; margin-top: 18px; font-size: 12px; border: 1px solid rgba(183, 155, 122, .4); color: var(--accent); padding: 5px 12px; border-radius: 999px; }

/* Ritual */
.ritual { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(40px, 7vw, 100px); align-items: center; }
.ritual__art { background: radial-gradient(circle at 50% 40%, #fff, var(--beige)); border-radius: 32px; aspect-ratio: 4 / 5; display: grid; place-items: center; position: relative; overflow: hidden; }
.ritual__art::before { content: ""; position: absolute; width: 70%; aspect-ratio: 1; border-radius: 50%; border: 1px solid rgba(183, 155, 122, .4); }
.ritual__card { width: 58%; filter: drop-shadow(0 30px 30px rgba(60, 40, 20, .2)); transform: rotate(-8deg); }
.steps { list-style: none; padding: 0; margin: 36px 0 0; }
.steps li { display: flex; gap: 24px; padding: 24px 0; border-top: 1px solid var(--line); }
.steps li:last-child { border-bottom: 1px solid var(--line); }
.steps__n { color: var(--accent); font-size: 14px; min-width: 20px; padding-top: 10px; }
.steps h3 { font-family: var(--serif); font-size: 28px; margin-bottom: 4px; }
html[lang="ar"] .steps h3 { font-size: 22px; font-weight: 500; }
.steps p { color: var(--muted); margin: 0; }

/* Testimonials */
.quotes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.quote { background: var(--warm); border-radius: var(--radius); padding: 34px 30px; display: flex; flex-direction: column; }
.quote__stars { color: var(--accent); letter-spacing: 4px; font-size: 14px; margin-bottom: 18px; }
.quote blockquote { margin: 0 0 26px; font-family: var(--serif); font-size: 22px; line-height: 1.4; font-style: italic; }
html[lang="ar"] .quote blockquote { font-style: normal; font-size: 18px; line-height: 1.8; }
.quote figcaption { margin-top: auto; display: flex; align-items: center; gap: 12px; font-size: 14px; }
.quote__av { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--beige); font-family: "Cormorant Garamond", serif; font-size: 18px; }
.quote figcaption small { display: block; color: var(--muted); font-size: 12px; }

/* About */
.about { display: grid; grid-template-columns: 1.2fr 1fr; gap: clamp(40px, 7vw, 100px); align-items: center; }
.about__copy p:not(.eyebrow) { color: var(--muted); font-size: 17px; max-width: 56ch; }
.about__copy .section__title { margin-bottom: 26px; }
.about__art { background: radial-gradient(circle at 50% 40%, #fff, var(--beige)); border-radius: 32px; aspect-ratio: 1; display: grid; place-items: center; position: relative; overflow: hidden; }
.about__art::before { content: ""; position: absolute; width: 72%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #fff 0%, #F1E7DA 60%, #E3D3BF 100%); }
.about__item { position: relative; width: 52%; filter: drop-shadow(0 30px 30px rgba(60, 40, 20, .2)); }

/* Contact */
.contact__inner { display: grid; grid-template-columns: 1.2fr 1fr; gap: clamp(40px, 6vw, 80px); align-items: center; }
.contact .hero__cta { margin-top: 32px; }
.contact__list { list-style: none; padding: 0; margin: 0; }
.contact__list li { display: flex; flex-direction: column; padding: 22px 0; border-top: 1px solid rgba(246, 241, 234, .14); }
.contact__list li:last-child { border-bottom: 1px solid rgba(246, 241, 234, .14); }
.contact__list span { font-size: 12px; letter-spacing: .18em; text-transform: uppercase; color: var(--accent); }
html[lang="ar"] .contact__list span { letter-spacing: 0; font-size: 14px; }
.contact__list a { font-family: "Cormorant Garamond", serif; font-size: clamp(24px, 2.6vw, 32px); transition: color .3s; direction: ltr; unicode-bidi: isolate; overflow-wrap: anywhere; }
html[dir="rtl"] .contact__list a { text-align: right; }
.contact__list a:hover { color: var(--accent); }

/* Footer */
.footer { background: #141110; color: rgba(246, 241, 234, .7); padding: 44px 0; font-size: 13px; }
.footer .logo__name { color: var(--cream); font-size: 22px; }
.footer__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.footer__nav { display: flex; gap: 24px; flex-wrap: wrap; }
.footer__nav a:hover { color: var(--cream); }
.footer__copy { margin: 0; }

.totop { position: fixed; inset-inline-end: 20px; bottom: 20px; width: 46px; height: 46px; border-radius: 50%; background: var(--ink); color: var(--cream); display: grid; place-items: center; z-index: 40; opacity: 0; transform: translateY(16px); pointer-events: none; transition: all .4s var(--ease); }
.totop.is-visible { opacity: 1; transform: none; pointer-events: auto; }

/* Reveal on scroll */
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; }

/* Responsive */
@media (max-width: 1080px) {
  .cats { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 900px) {
  .nav {
    position: fixed; inset: 0; background: var(--warm); flex-direction: column; align-items: center; justify-content: center;
    gap: 22px; font-size: 26px; font-family: var(--serif); opacity: 0; pointer-events: none; transition: opacity .4s var(--ease); z-index: -1;
  }
  .nav.is-open { opacity: 1; pointer-events: auto; }
  .header.menu-open { backdrop-filter: none; -webkit-backdrop-filter: none; }
  .burger { display: block; }
  .hide-sm { display: none; }
  .hero { padding-top: 110px; }
  .hero__grid, .ritual, .about, .contact__inner { grid-template-columns: 1fr; }
  .hero__art { max-width: 340px; order: -1; margin-bottom: -20px; }
  .ings { grid-template-columns: repeat(2, 1fr); }
  .quotes { grid-template-columns: 1fr; max-width: 560px; }
  .ritual__art, .about__art { max-width: 420px; aspect-ratio: 1; width: 100%; }
}
@media (max-width: 560px) {
  .cats { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .ings { grid-template-columns: 1fr; }
      .hero__cta .btn { flex: 1 1 auto; }
  .footer__inner { flex-direction: column; align-items: flex-start; }
  .logo__name { font-size: 22px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal { opacity: 1; transform: none; }
}
