/* ==========================================================================
   RAPHAYA — Company Profile
   Palette derived from the RAPHAYA logo: gold → ink gradient on ivory.
   ========================================================================== */

/* ---------- Fonts (self-hosted, latin subset) ---------- */
@font-face {
  font-family: "Lora";
  src: url("../assets/fonts/lora-var.woff") format("woff");
  font-weight: 400 700; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Poppins";
  src: url("../assets/fonts/poppins-300.woff") format("woff");
  font-weight: 300; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Poppins";
  src: url("../assets/fonts/poppins-400.woff") format("woff");
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Poppins";
  src: url("../assets/fonts/poppins-500.woff") format("woff");
  font-weight: 500; font-style: normal; font-display: swap;
}

/* ---------- Tokens ---------- */
:root {
  /* Brand (from logo) */
  --gold-100: #F6EBD2;
  --gold-200: #EBD3A0;
  --gold-300: #E7C67F;
  --gold-500: #C9952E;   /* primary brand gold */
  --gold-700: #9A6B1C;
  --gold-900: #5A3C0C;
  --ink:      #0E0B08;   /* logo black, warm */
  --ink-2:    #1A1612;
  --ink-3:    #2A241D;

  /* Neutrals */
  --ivory:    #FBF8F2;
  --sand:     #F3ECDF;
  --line:     #E4D9C6;
  --text:     #2B251E;
  --muted:    #6F655A;
  --on-dark:  #EFE7DA;
  --on-dark-muted: #B4A894;

  --grad-gold: linear-gradient(180deg, #E2B456 0%, #C9952E 45%, #7A5210 100%);
  --grad-logo: linear-gradient(180deg, #D6A23A 0%, #B27E1E 38%, #3A2706 72%, #0E0B08 100%);
  --grad-sheen: linear-gradient(110deg, #8A5E14 0%, #C9952E 30%, #E2B456 50%, #C9952E 70%, #8A5E14 100%);

  /* Type */
  --font-display: "Lora", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  --font-body: "Poppins", "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  --font-ar: "Segoe UI", "SF Arabic", "Geeza Pro", "Noto Kufi Arabic", "Noto Sans Arabic", Tahoma, system-ui, sans-serif;

  --fs-display: clamp(2.1rem, 1.3rem + 3.2vw, 3.9rem);
  --fs-hero: clamp(2.7rem, 1.4rem + 5.4vw, 5.6rem);
  --fs-lead: clamp(1.08rem, 1rem + .4vw, 1.3rem);

  /* Layout */
  --container: 1200px;
  --gutter: clamp(1.25rem, .6rem + 2.6vw, 2.5rem);
  --section-y: clamp(5rem, 3rem + 7vw, 9rem);
  --radius: 18px;
  --radius-lg: 28px;
  --header-h: 92px;

  /* Motion */
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --ease-in-out: cubic-bezier(.65, 0, .35, 1);
  --dur: .9s;

  --shadow-soft: 0 30px 60px -30px rgba(14, 11, 8, .28);
  --shadow-gold: 0 18px 40px -18px rgba(154, 107, 28, .55);
}

/* ---------- Reset / 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) - 1px); }
body {
  margin: 0; font-family: var(--font-body); font-weight: 300; font-size: 1.0625rem; line-height: 1.75;
  color: var(--text); background: var(--ivory);
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; height: auto; }
h1, h2, h3, p, ul, ol, figure { margin: 0; }
ul[role="list"], ol { list-style: none; padding: 0; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; background: none; border: 0; padding: 0; }
::selection { background: var(--gold-300); color: var(--ink); }
:focus-visible { outline: 2px solid var(--gold-500); outline-offset: 3px; border-radius: 6px; }
[hidden] { display: none !important; }

.container { width: min(100% - 2 * var(--gutter), var(--container)); margin-inline: auto; }
.section { padding-block: var(--section-y); position: relative; }
.section--sand { background: var(--sand); }
.section--dark { background: var(--ink); color: var(--on-dark); }
.section--dark p { color: var(--on-dark-muted); }

p + p { margin-top: 1.05em; }

.skip-link {
  position: absolute; inset-inline-start: 1rem; top: -100px; z-index: 200;
  background: var(--ink); color: var(--gold-200); padding: .7rem 1.1rem; border-radius: 10px;
  transition: top .3s var(--ease-out);
}
.skip-link:focus { top: 1rem; }

/* ---------- Scroll progress ---------- */
.progress { position: fixed; inset: 0 0 auto 0; height: 2px; z-index: 120; pointer-events: none; }
.progress__bar { display: block; height: 100%; background: var(--grad-sheen); transform-origin: left center; transform: scaleX(0); }
[dir="rtl"] .progress__bar { transform-origin: right center; }

/* ---------- Typography helpers ---------- */
.display {
  font-family: var(--font-display); font-weight: 500; font-size: var(--fs-display);
  line-height: 1.08; letter-spacing: -.015em; color: var(--ink); margin-bottom: .55em;
  text-wrap: balance;
}
.display--light { color: var(--on-dark); }

.kicker {
  display: inline-flex; align-items: center; gap: .85rem; margin-bottom: 1.3rem;
  font-size: .78rem; font-weight: 500; letter-spacing: .22em; text-transform: uppercase; color: var(--gold-700);
}
.kicker::after { content: ""; width: 42px; height: 1px; background: currentColor; opacity: .6; }
.kicker__num { font-family: var(--font-display); font-size: .95rem; letter-spacing: 0; color: var(--gold-500); }
.kicker--light { color: var(--gold-300); }

.eyebrow {
  display: inline-flex; align-items: center; gap: .7rem; font-weight: 500; font-size: .82rem;
  letter-spacing: .38em; text-transform: uppercase; color: var(--gold-700);
}
.eyebrow__star {
  width: 14px; height: 14px; background: var(--grad-gold);
  clip-path: polygon(50% 0, 61% 39%, 100% 50%, 61% 61%, 50% 100%, 39% 61%, 0 50%, 39% 39%);
}

.signature {
  margin-top: 2rem; font-family: var(--font-display); font-size: 1.25rem; font-weight: 500;
  background: var(--grad-sheen); background-size: 200% 100%;
  -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: sheen 8s linear infinite;
}
.signature--center { text-align: center; margin-top: 4rem; }
@keyframes sheen { to { background-position: -200% 0; } }

.block-title {
  font-family: var(--font-body); font-size: .8rem; font-weight: 500; letter-spacing: .2em;
  text-transform: uppercase; color: var(--ink); margin-bottom: 1rem;
}
.block-title--center { text-align: center; }
.note { margin-top: 1rem; font-size: .9rem; font-style: italic; color: var(--muted); }
.note--center { text-align: center; }

.section-head { max-width: 780px; margin-bottom: clamp(2.5rem, 2rem + 2vw, 4rem); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head--center .kicker::before { content: ""; width: 42px; height: 1px; background: currentColor; opacity: .6; }

/* ---------- Buttons ---------- */
.btn {
  --bg: var(--ink);
  position: relative; display: inline-flex; align-items: center; gap: .75rem;
  padding: 1.05rem 1.8rem; border-radius: 999px; overflow: hidden; isolation: isolate;
  font-weight: 500; font-size: .95rem; letter-spacing: .04em;
  transition: transform .5s var(--ease-out), box-shadow .5s var(--ease-out), color .4s;
}
.btn--primary { background: var(--ink); color: var(--gold-100); box-shadow: var(--shadow-soft); }
.btn--primary::before {
  content: ""; position: absolute; inset: 0; z-index: -1; background: var(--grad-gold);
  transform: translateY(101%); transition: transform .55s var(--ease-out);
}
.btn--primary:hover { color: var(--ink); transform: translateY(-2px); box-shadow: var(--shadow-gold); }
.btn--primary:hover::before { transform: translateY(0); }
.btn__arrow { transition: transform .45s var(--ease-out); }
.btn:hover .btn__arrow, .feature-card:hover .btn__arrow { transform: translateX(4px); }
[dir="rtl"] .btn__arrow { transform: scaleX(-1); }
[dir="rtl"] .btn:hover .btn__arrow, [dir="rtl"] .feature-card:hover .btn__arrow { transform: scaleX(-1) translateX(4px); }

/* ==========================================================================
   Header / Navigation
   ========================================================================== */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100; height: var(--header-h);
  transition: background-color .45s, box-shadow .45s, transform .55s var(--ease-out), height .45s var(--ease-out);
}
.site-header.is-scrolled {
  background: rgba(251, 248, 242, .86);
  -webkit-backdrop-filter: saturate(1.4) blur(14px); backdrop-filter: saturate(1.4) blur(14px);
  box-shadow: 0 1px 0 rgba(14, 11, 8, .06);
  --header-h: 72px;
}
.site-header.is-hidden { transform: translateY(-100%); }
.site-header__inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; }

.brand { display: inline-flex; align-items: center; flex-shrink: 0; }
.brand__mark { width: auto; height: 68px; transition: height .45s var(--ease-out); }
.is-scrolled .brand__mark { height: 54px; }

.nav__list { display: flex; align-items: center; gap: clamp(1rem, .4rem + 1.4vw, 2.2rem); list-style: none; padding: 0; margin: 0; }
.nav__link {
  position: relative; font-size: .9rem; font-weight: 400; color: var(--text); padding-block: .4rem;
  transition: color .3s;
}
.nav__link::after {
  content: ""; position: absolute; inset-inline: 0; bottom: 0; height: 1px; background: var(--gold-500);
  transform: scaleX(0); transform-origin: center; transition: transform .45s var(--ease-out);
}
.nav__link:hover, .nav__link.is-active { color: var(--gold-700); }
.nav__link:hover::after, .nav__link.is-active::after { transform: scaleX(1); }

.header-actions { display: flex; align-items: center; gap: .6rem; }
.lang-toggle {
  display: inline-flex; align-items: center; gap: .45rem; padding: .5rem .95rem;
  border: 1px solid var(--line); border-radius: 999px; font-size: .88rem; color: var(--ink);
  background: rgba(255, 255, 255, .5); transition: border-color .3s, background-color .3s, color .3s;
}
.lang-toggle:hover { border-color: var(--gold-500); color: var(--gold-700); }
.lang-toggle__label { font-family: var(--font-ar); }
html[lang="ar"] .lang-toggle__label { font-family: var(--font-body); }

.menu-toggle { display: none; width: 44px; height: 44px; border-radius: 50%; position: relative; }
.menu-toggle span {
  position: absolute; inset-inline-start: 12px; width: 20px; height: 1.5px; background: var(--ink);
  transition: transform .45s var(--ease-out), top .45s var(--ease-out);
}
.menu-toggle span:nth-child(1) { top: 17px; }
.menu-toggle span:nth-child(2) { top: 25px; }
.menu-toggle[aria-expanded="true"] span:nth-child(1) { top: 21px; transform: rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { top: 21px; transform: rotate(-45deg); }

/* ==========================================================================
   1. Hero
   ========================================================================== */
.hero {
  position: relative; min-height: 100svh; display: flex; align-items: center; overflow: hidden;
  padding-block: calc(var(--header-h) + 3rem) 5rem;
  background:
    radial-gradient(60% 50% at 85% 30%, rgba(231, 198, 127, .28), transparent 70%),
    radial-gradient(40% 40% at 10% 90%, rgba(201, 149, 46, .10), transparent 70%),
    var(--ivory);
}
.hero__glow {
  position: absolute; inset: auto -10% -30% auto; width: 60vw; aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(circle, rgba(201, 149, 46, .12), transparent 60%); pointer-events: none;
}
.hero__grid { display: grid; grid-template-columns: 1.05fr .95fr; align-items: center; gap: clamp(2rem, 1rem + 4vw, 5rem); }
.hero__copy { max-width: 600px; }
.hero__title {
  margin-block: 1.2rem .9rem; font-family: var(--font-display); font-weight: 500;
  font-size: var(--fs-hero); line-height: 1.02; letter-spacing: -.025em;
  background: var(--grad-logo); -webkit-background-clip: text; background-clip: text; color: transparent;
  padding-bottom: .08em;
}
.hero__subtitle {
  font-size: .95rem; font-weight: 500; letter-spacing: .24em; text-transform: uppercase; color: var(--ink);
  display: flex; align-items: center; gap: .9rem;
}
.hero__line { display: block; }
.hero__subtitle::before { content: ""; width: 34px; height: 1px; background: var(--gold-500); }
.hero__lead { margin-top: 1.8rem; font-size: var(--fs-lead); color: var(--ink); font-weight: 400; line-height: 1.6; }
.hero__text { color: var(--muted); max-width: 52ch; }
.hero__actions { margin-top: 2.4rem; }

.hero__visual { position: relative; justify-self: center; width: min(100%, 470px); }
.hero__frame {
  position: relative; border-radius: 240px 240px var(--radius-lg) var(--radius-lg); overflow: hidden;
  aspect-ratio: 3 / 4; box-shadow: 0 50px 90px -40px rgba(14, 11, 8, .45);
  animation: frameIn 1.6s var(--ease-out) .25s both;
}
.hero__frame img { width: 100%; height: 100%; object-fit: cover; animation: imgIn 2.2s var(--ease-out) .25s both; }
.hero__frame::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  box-shadow: inset 0 0 0 1px rgba(231, 198, 127, .35);
}
.hero__orbit {
  position: absolute; inset: -18% -32%; width: 164%; max-width: none; height: auto; z-index: 2; pointer-events: none;
}
.hero__orbit ellipse { stroke-dasharray: 1400; stroke-dashoffset: 1400; animation: draw 2.6s var(--ease-in-out) .9s forwards; }
.hero__star {
  position: absolute; z-index: 3; top: -4%; inset-inline-end: -6%; width: 64px; height: 64px;
  background: var(--grad-gold);
  clip-path: polygon(50% 0, 58% 40%, 100% 50%, 58% 60%, 50% 100%, 42% 60%, 0 50%, 42% 40%);
  filter: drop-shadow(0 6px 14px rgba(154, 107, 28, .35));
  animation: starIn 1.2s var(--ease-out) 1.4s both, twinkle 5s ease-in-out 2.6s infinite;
}
.hero__dot {
  position: absolute; z-index: 3; bottom: 16%; inset-inline-start: -5%; width: 22px; height: 22px; border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #F6E2AE, #C9952E 55%, #7A5210);
  animation: starIn 1s var(--ease-out) 1.8s both, float 6s ease-in-out 3s infinite;
}
.scroll-cue {
  position: absolute; bottom: 1.6rem; left: 50%; translate: -50% 0; width: 26px; height: 42px;
  border: 1px solid rgba(14, 11, 8, .25); border-radius: 20px; display: grid; justify-items: center; padding-top: 8px;
}
.scroll-cue span { width: 3px; height: 8px; border-radius: 3px; background: var(--gold-500); animation: cue 2s var(--ease-in-out) infinite; }

/* Hero load sequence (pure CSS: works without JS) */
.hero__anim { animation: rise 1.1s var(--ease-out) both; }
.hero__anim--1 { animation-delay: .15s; }
.hero__anim--2 { animation-delay: .3s; }
.hero__anim--3 { animation-delay: .48s; }
.hero__anim--4 { animation-delay: .62s; }
.hero__anim--5 { animation-delay: .8s; }

@keyframes rise { from { opacity: 0; transform: translateY(28px); } to { opacity: 1; transform: none; } }
@keyframes frameIn { from { clip-path: inset(100% 0 0 0 round 240px 240px 28px 28px); } to { clip-path: inset(0 0 0 0 round 240px 240px 28px 28px); } }
@keyframes imgIn { from { transform: scale(1.18); } to { transform: scale(1); } }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes starIn { from { opacity: 0; transform: scale(.2) rotate(-90deg); } to { opacity: 1; transform: none; } }
@keyframes twinkle { 0%, 100% { transform: scale(1) rotate(0); } 50% { transform: scale(.82) rotate(45deg); } }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@keyframes cue { 0% { transform: translateY(0); opacity: 1; } 70% { transform: translateY(14px); opacity: 0; } 100% { opacity: 0; } }

/* ---------- Brand introduction ---------- */
.intro { padding-block: clamp(5rem, 3rem + 6vw, 8rem); position: relative; overflow: hidden; }
.intro::before {
  content: ""; position: absolute; inset: auto auto -40% -10%; width: 50vw; aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(circle, rgba(201, 149, 46, .16), transparent 62%);
}
.intro__grid { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 1rem + 5vw, 6rem); align-items: start; }
.intro .display { font-size: clamp(2.4rem, 1.4rem + 3.6vw, 4.4rem); margin: 0; }
.intro__quote {
  font-family: var(--font-display); font-size: clamp(1.35rem, 1.1rem + .9vw, 1.85rem); line-height: 1.4;
  color: var(--gold-300) !important; margin-bottom: 1.6rem; padding-inline-start: 1.4rem;
  border-inline-start: 1px solid rgba(231, 198, 127, .45);
}

/* ==========================================================================
   2. About
   ========================================================================== */
.about__grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(2.5rem, 1rem + 6vw, 7rem); align-items: center; }
.about__copy p:not(.kicker):not(.signature) { color: var(--muted); max-width: 58ch; }
.logo-card {
  position: relative; aspect-ratio: 1; border-radius: var(--radius-lg); display: grid; place-items: center;
  padding: 12%; background: linear-gradient(160deg, #fff, var(--sand)); box-shadow: var(--shadow-soft);
  overflow: hidden;
}
.logo-card::before {
  content: ""; position: absolute; inset: 14px; border-radius: calc(var(--radius-lg) - 10px);
  border: 1px solid rgba(201, 149, 46, .28); pointer-events: none;
}
.logo-card::after {
  content: ""; position: absolute; inset: -50%; pointer-events: none;
  background: linear-gradient(115deg, transparent 42%, rgba(255, 255, 255, .7) 50%, transparent 58%);
  transform: translateX(-60%); transition: transform 1.4s var(--ease-out);
}
.about__visual.is-visible .logo-card::after { transform: translateX(60%); }
.logo-card img { width: 100%; }

/* ==========================================================================
   3. Story
   ========================================================================== */
.story__grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(2rem, 1rem + 5vw, 6rem); align-items: start; }
.story__year { position: sticky; top: calc(var(--header-h) + 2rem); }
.story__year-num {
  display: block; font-family: var(--font-display); font-weight: 600; line-height: .9;
  font-size: clamp(5rem, 3rem + 9vw, 10.5rem); letter-spacing: -.04em;
  background: var(--grad-logo); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.story__year-place { display: block; margin-top: 1rem; font-size: .85rem; letter-spacing: .26em; text-transform: uppercase; color: var(--gold-700); }

.timeline { position: relative; padding-inline-start: 2.2rem; }
.timeline::before {
  content: ""; position: absolute; inset-block: .6rem; inset-inline-start: 0; width: 1px;
  background: linear-gradient(var(--gold-500), rgba(201, 149, 46, .15));
}
.timeline__item { position: relative; padding-bottom: 2.6rem; }
.timeline__item:last-child { padding-bottom: 0; }
.timeline__item::before {
  content: ""; position: absolute; inset-inline-start: calc(-2.2rem - 6px); top: .55rem; width: 13px; height: 13px;
  border-radius: 50%; background: var(--sand); border: 1px solid var(--gold-500);
  transition: background-color .6s .3s, box-shadow .6s .3s;
}
.timeline__item.is-visible::before { background: var(--gold-500); box-shadow: 0 0 0 6px rgba(201, 149, 46, .14); }
.timeline__tag {
  display: inline-block; margin-bottom: .5rem; font-family: var(--font-display); font-size: 1.15rem; font-weight: 500; color: var(--ink);
}
.timeline__item p { color: var(--muted); max-width: 58ch; }

/* ==========================================================================
   4. Philosophy
   ========================================================================== */
.pillars { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem; }
.pillar {
  position: relative; padding: 2.2rem 1.8rem 2.4rem; border-radius: var(--radius); background: #fff;
  border: 1px solid var(--line); overflow: hidden; isolation: isolate;
  transition: transform .6s var(--ease-out), box-shadow .6s var(--ease-out), border-color .6s, opacity var(--dur) var(--ease-out);
}
.pillar::before {
  content: ""; position: absolute; inset: 0; z-index: -1; background: var(--ink);
  clip-path: circle(0% at 100% 0%); transition: clip-path .8s var(--ease-out);
}
[dir="rtl"] .pillar::before { clip-path: circle(0% at 0% 0%); }
.pillar:hover { transform: translateY(-6px); box-shadow: var(--shadow-soft); border-color: transparent; }
.pillar:hover::before { clip-path: circle(150% at 100% 0%); }
[dir="rtl"] .pillar:hover::before { clip-path: circle(150% at 0% 0%); }
.pillar__icon { display: grid; place-items: center; width: 58px; height: 58px; border-radius: 50%; color: var(--gold-700); background: var(--gold-100); margin-bottom: 1.6rem; transition: background-color .6s, color .6s; }
.pillar__icon svg { width: 30px; height: 30px; }
.pillar h3 { font-family: var(--font-display); font-weight: 500; font-size: 1.5rem; color: var(--ink); margin-bottom: .6rem; transition: color .6s; }
.pillar p { font-size: .97rem; color: var(--muted); transition: color .6s; }
.pillar:hover .pillar__icon { background: rgba(231, 198, 127, .14); color: var(--gold-300); }
.pillar:hover h3 { color: var(--gold-200); }
.pillar:hover p { color: var(--on-dark-muted); }

/* ---------- Marquee ---------- */
.marquee { overflow: hidden; background: var(--ink); border-bottom: 1px solid rgba(231, 198, 127, .12); padding-block: 1.6rem; }
.marquee__track { display: flex; width: max-content; animation: marquee 38s linear infinite; }
.marquee span {
  flex-shrink: 0; padding-inline-end: 2.4rem; white-space: nowrap;
  font-family: var(--font-display); font-size: clamp(1.6rem, 1.1rem + 2vw, 2.8rem); font-weight: 500;
  color: transparent; -webkit-text-stroke: 1px rgba(231, 198, 127, .55);
}
[dir="rtl"] .marquee__track { animation-name: marquee-rtl; }
@keyframes marquee { to { transform: translateX(-50%); } }
@keyframes marquee-rtl { to { transform: translateX(50%); } }

/* ==========================================================================
   5. Collection
   ========================================================================== */
.collection { padding-top: clamp(4rem, 2.5rem + 5vw, 7rem); }
.collection__grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(2rem, 1rem + 5vw, 6rem); align-items: center; }
.collection__copy p:not(.kicker) { max-width: 50ch; }

.feature-card {
  position: relative; display: block; border-radius: var(--radius-lg); overflow: hidden; background: var(--ink-2);
  box-shadow: 0 40px 80px -40px rgba(0, 0, 0, .8); isolation: isolate;
}
.feature-card__media { display: block; aspect-ratio: 3 / 2; overflow: hidden; }
.feature-card__media img { width: 100%; height: 112%; object-fit: cover; transform: translateY(var(--py, 0)) scale(1.02); transition: scale 1.2s var(--ease-out); will-change: transform; }
.feature-card:hover .feature-card__media img { scale: 1.05; }
.feature-card__body {
  position: absolute; inset: auto 0 0 0; display: grid; gap: .3rem; padding: 2rem 2rem 1.8rem;
  background: linear-gradient(to top, rgba(14, 11, 8, .92) 10%, rgba(14, 11, 8, 0));
}
.feature-card__label { font-size: .75rem; letter-spacing: .24em; text-transform: uppercase; color: var(--gold-300); font-weight: 500; }
.feature-card__title { font-family: var(--font-display); font-size: clamp(1.5rem, 1.1rem + 1.4vw, 2.2rem); color: #fff; line-height: 1.15; }
.feature-card__cta { display: inline-flex; align-items: center; gap: .5rem; margin-top: .6rem; font-size: .9rem; color: var(--gold-200); }

/* ==========================================================================
   6. Product
   ========================================================================== */
.product__grid { display: grid; grid-template-columns: .95fr 1.05fr; gap: clamp(2.5rem, 1rem + 6vw, 7rem); align-items: start; }
.product__media { position: sticky; top: calc(var(--header-h) + 1.5rem); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-soft); aspect-ratio: 3 / 4; }
.product__media img { width: 100%; height: 100%; object-fit: cover; }
.product__badge {
  position: absolute; top: 1.2rem; inset-inline-start: 1.2rem; padding: .45rem 1rem; border-radius: 999px;
  background: rgba(251, 248, 242, .88); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  font-size: .78rem; letter-spacing: .18em; text-transform: uppercase; font-weight: 500; color: var(--gold-700);
}
.product__sub { font-family: var(--font-display); font-size: var(--fs-lead); color: var(--gold-700) !important; margin-top: -.8rem; margin-bottom: 1.4rem; }
.product__info > p:not(.kicker):not(.product__sub) { color: var(--muted); max-width: 56ch; }
.product__block { margin-top: 2.6rem; padding-top: 2.2rem; border-top: 1px solid var(--line); }

.checklist { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .8rem 1.6rem; list-style: none; padding: 0; }
.checklist li { position: relative; padding-inline-start: 1.9rem; color: var(--text); font-weight: 400; font-size: .98rem; }
.checklist li::before {
  content: ""; position: absolute; inset-inline-start: 0; top: .42em; width: 18px; height: 18px; border-radius: 50%;
  background: var(--gold-100) no-repeat center / 10px
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 10'%3E%3Cpath d='M1 5l3.5 3.5L11 1' fill='none' stroke='%239A6B1C' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

.swatches { display: grid; grid-template-columns: repeat(auto-fill, minmax(118px, 1fr)); gap: .9rem; }
.swatch {
  display: flex; align-items: center; gap: .7rem; padding: .55rem .8rem .55rem .55rem; border-radius: 999px;
  border: 1px solid var(--line); background: #fff; font-size: .85rem; line-height: 1.25;
  transition: transform .45s var(--ease-out), border-color .4s, box-shadow .45s;
}
.swatch:hover { transform: translateY(-3px); border-color: var(--gold-300); box-shadow: 0 10px 22px -14px rgba(14, 11, 8, .4); }
.swatch__chip { flex-shrink: 0; width: 30px; height: 30px; border-radius: 50%; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .08), 0 2px 6px rgba(0, 0, 0, .12); }
.swatch--black .swatch__chip { background: #0D0D0D; }
.swatch--dark-grey .swatch__chip { background: #595959; }
.swatch--light-grey .swatch__chip { background: #AEAEAE; }
.swatch--deep-blue .swatch__chip { background: #153D64; }
.swatch--light-blue .swatch__chip { background: #849AB6; }
.swatch--white .swatch__chip { background: #F2F2F2; }
.swatch--green .swatch__chip { background: #95B1A3; }
.swatch--dusty-rose .swatch__chip { background: #A57B7B; }

/* ==========================================================================
   7. Why
   ========================================================================== */
.why__grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(2.5rem, 1rem + 6vw, 7rem); align-items: start; }
.why__head { position: sticky; top: calc(var(--header-h) + 2rem); }
.why__image { margin-top: 1.4rem; border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 4 / 3; box-shadow: var(--shadow-soft); }
.why__image img { width: 100%; height: 115%; object-fit: cover; transform: translateY(var(--py, 0)); will-change: transform; }
.reasons { display: grid; }
.reason {
  display: grid; grid-template-columns: auto 1fr; gap: 1.6rem; padding-block: 2.1rem;
  border-top: 1px solid var(--line); transition: padding .5s var(--ease-out), opacity var(--dur) var(--ease-out), transform var(--dur) var(--ease-out);
}
.reason:last-child { border-bottom: 1px solid var(--line); }
.reason__num { font-family: var(--font-display); font-size: 1rem; color: var(--gold-500); padding-top: .35rem; min-width: 2ch; transition: color .4s; }
.reason h3 { font-family: var(--font-display); font-weight: 500; font-size: clamp(1.35rem, 1.15rem + .7vw, 1.75rem); color: var(--ink); margin-bottom: .35rem; transition: color .4s; }
.reason p { color: var(--muted); }
.reason:hover h3 { color: var(--gold-700); }
@media (hover: hover) { .reason:hover { padding-inline-start: .8rem; } }

/* ==========================================================================
   8. Markets
   ========================================================================== */
.markets { overflow: hidden; }
.markets__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 1rem + 5vw, 6rem); align-items: center; }
.markets__copy p:not(.kicker) { max-width: 52ch; }
.route { position: relative; aspect-ratio: 520 / 300; border-radius: var(--radius-lg); background:
  radial-gradient(rgba(231, 198, 127, .12) 1px, transparent 1.2px) 0 0 / 18px 18px,
  linear-gradient(160deg, var(--ink-2), var(--ink)); border: 1px solid rgba(231, 198, 127, .14); }
.route__svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.route__path { animation: dash 2.4s linear infinite; }
.route__pulse { fill: rgba(231, 198, 127, .25); transform-origin: 110px 190px; animation: pulse 2.4s var(--ease-out) infinite; }
@keyframes dash { to { stroke-dashoffset: -28; } }
@keyframes pulse { from { transform: scale(.6); opacity: 1; } to { transform: scale(3); opacity: 0; } }
.route__point { position: absolute; display: grid; gap: .15rem; }
.route__point--eg { left: 21%; top: 69%; transform: translate(-50%, 0); text-align: center; }
.route__point--sa { left: 79%; top: 56%; transform: translate(-50%, 0); text-align: center; }
.route__name { font-family: var(--font-display); font-size: clamp(1rem, .9rem + .5vw, 1.3rem); color: #fff; }
.route__status { font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--on-dark-muted); white-space: nowrap; }
.route__status--live { color: var(--gold-300); }
.route__status--live::before { content: ""; display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: var(--gold-300); margin-inline-end: .4rem; vertical-align: middle; }

/* ==========================================================================
   9. Size guide
   ========================================================================== */
.size__head { max-width: 640px; margin-bottom: 2.4rem; }
.size__head p:not(.kicker) { color: var(--muted); }
.size-table-wrap { max-width: 860px; overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.size-table { width: 100%; border-collapse: collapse; text-align: center; font-variant-numeric: tabular-nums; }
.size-table thead th { background: var(--ink); color: var(--gold-200); font-weight: 500; font-size: .74rem; letter-spacing: .1em; text-transform: uppercase; padding: .9rem .7rem; line-height: 1.4; }
.size-table tbody th, .size-table td { padding: .8rem .7rem; border-top: 1px solid var(--line); font-size: .95rem; }
.size-table tbody th { font-family: var(--font-display); font-weight: 600; font-size: 1.05rem; color: var(--gold-700); }
.size-table tbody tr:nth-child(even) { background: #FCF9F4; }
.size-table tbody tr { transition: background-color .3s; }
.size-table tbody tr:hover { background: var(--gold-100); }
html[lang="ar"] .size-table thead th { letter-spacing: 0; text-transform: none; font-size: .85rem; }
@media (max-width: 600px) {
  .size-table thead th { font-size: .62rem; letter-spacing: .04em; padding: .7rem .35rem; }
  .size-table tbody th, .size-table td { padding: .7rem .35rem; font-size: .85rem; white-space: nowrap; }
}

/* ==========================================================================
   10. Contact
   ========================================================================== */
.contact .section-head p:not(.kicker) { color: var(--muted); }
.contact-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.1rem; list-style: none; padding: 0; }
.contact-item {
  display: grid; justify-items: center; text-align: center; gap: .4rem; padding: 2.2rem 1.2rem; border-radius: var(--radius);
  background: #fff; border: 1px solid var(--line);
  transition: transform .5s var(--ease-out), box-shadow .5s var(--ease-out), border-color .4s, opacity var(--dur) var(--ease-out);
}
.contact-item:hover { transform: translateY(-4px); box-shadow: var(--shadow-soft); border-color: var(--gold-200); }
.contact-item__icon { display: grid; place-items: center; width: 54px; height: 54px; border-radius: 50%; background: var(--ink); color: var(--gold-300); margin-bottom: .6rem; }
.contact-item__icon svg { width: 24px; height: 24px; }
.contact-item__label { font-size: .78rem; letter-spacing: .18em; text-transform: uppercase; font-weight: 500; color: var(--ink); }
.contact-item__value { color: var(--muted); font-size: .97rem; overflow-wrap: anywhere; }
.contact-item__value a { color: var(--gold-700); border-bottom: 1px solid transparent; transition: border-color .3s; }
.contact-item__value a:hover { border-color: currentColor; }
.is-pending { font-style: italic; opacity: .75; }

.follow { margin-top: 3.6rem; }
.social { display: flex; flex-wrap: wrap; justify-content: center; gap: .8rem; list-style: none; padding: 0; }
.social__link {
  display: inline-flex; align-items: center; gap: .55rem; padding: .75rem 1.5rem; border-radius: 999px;
  border: 1px solid var(--line); background: #fff; font-size: .92rem; color: var(--ink);
  transition: background-color .4s, color .4s, border-color .4s, transform .45s var(--ease-out);
}
a.social__link:hover { background: var(--ink); color: var(--gold-200); border-color: var(--ink); transform: translateY(-2px); }
.social__link.is-pending { opacity: .6; font-style: normal; cursor: default; }

/* ==========================================================================
   12. Footer
   ========================================================================== */
.site-footer { background: var(--ink); color: var(--on-dark-muted); padding-top: clamp(4rem, 3rem + 4vw, 6rem); font-size: .95rem; }
.footer__grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 2.5rem; padding-bottom: 3.5rem; border-bottom: 1px solid rgba(231, 198, 127, .14); }
.footer__logo { width: 190px; margin-bottom: 1.2rem; }
.footer__tagline { font-family: var(--font-display); font-size: 1.3rem; color: var(--gold-200); margin-bottom: 1rem; }
.footer__facts { display: grid; gap: .25rem; list-style: none; padding: 0; }
.footer__title { font-size: .78rem; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; color: var(--gold-300); margin-bottom: 1.2rem; }
.footer__col ul { display: grid; gap: .6rem; list-style: none; padding: 0; }
.footer__col a { transition: color .3s; }
.footer__col a:hover { color: var(--gold-200); }
.footer__contact li { display: grid; gap: .1rem; }
.footer__k { font-size: .75rem; letter-spacing: .14em; text-transform: uppercase; color: var(--on-dark); }
.footer__bottom { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-block: 1.6rem; font-size: .85rem; }
.to-top { display: inline-flex; align-items: center; gap: .45rem; color: var(--gold-200); }
.to-top svg { transition: transform .4s var(--ease-out); }
.to-top:hover svg { transform: translateY(-3px); }

/* ==========================================================================
   Scroll reveal (only when JS is active — html.js)
   ========================================================================== */
.js [data-reveal] {
  opacity: 0; transform: translateY(34px);
  transition: opacity var(--dur) var(--ease-out), transform var(--dur) var(--ease-out), clip-path 1.2s var(--ease-out);
}
.js [data-reveal="left"] { transform: translateX(-40px); }
[dir="rtl"].js [data-reveal="left"] { transform: translateX(40px); }
.js [data-reveal="scale"] { transform: scale(.94); }
.js [data-reveal="mask"] { opacity: 1; transform: none; clip-path: inset(12% 6% 12% 6% round var(--radius-lg)); }
.js [data-reveal="mask"] img { transform: scale(1.12); transition: transform 1.6s var(--ease-out); }
.js [data-reveal].is-visible { opacity: 1; transform: none; }
.js [data-reveal="mask"].is-visible { clip-path: inset(0 0 0 0 round var(--radius-lg)); }
.js [data-reveal="mask"].is-visible img { transform: translateY(var(--py, 0)); }

/* Language switch cross-fade */
main, .site-footer, .nav__list { transition: opacity .28s ease; }
.is-switching main, .is-switching .site-footer, .is-switching .nav__list { opacity: 0; }

/* ==========================================================================
   Arabic / RTL
   ========================================================================== */
html[lang="ar"] body { font-family: var(--font-ar); font-weight: 400; line-height: 1.95; }
html[lang="ar"] .display,
html[lang="ar"] .hero__title,
html[lang="ar"] .intro__quote,
html[lang="ar"] .timeline__tag,
html[lang="ar"] .pillar h3,
html[lang="ar"] .reason h3,
html[lang="ar"] .feature-card__title,
html[lang="ar"] .route__name,
html[lang="ar"] .product__sub,
html[lang="ar"] .footer__tagline,
html[lang="ar"] .signature,
html[lang="ar"] .marquee span { font-family: var(--font-ar); font-weight: 700; letter-spacing: 0; }
html[lang="ar"] .display { line-height: 1.3; }
html[lang="ar"] .hero__title { line-height: 1.25; }
html[lang="ar"] .kicker, html[lang="ar"] .eyebrow, html[lang="ar"] .hero__subtitle,
html[lang="ar"] .block-title, html[lang="ar"] .feature-card__label, html[lang="ar"] .footer__title,
html[lang="ar"] .contact-item__label, html[lang="ar"] .route__status, html[lang="ar"] .story__year-place,
html[lang="ar"] .product__badge, html[lang="ar"] .footer__k { letter-spacing: 0; text-transform: none; font-size: .95rem; }
html[lang="ar"] .note { font-style: normal; }
html[lang="ar"] .kicker__num, html[lang="ar"] .reason__num, html[lang="ar"] .story__year-num { font-family: var(--font-display); }
/* Markets map keeps geographic orientation (Egypt west, Saudi Arabia east) in both languages */

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1080px) {
  .pillars { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: repeat(2, 1fr); }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 960px) {
  :root { --header-h: 76px; }
  .menu-toggle { display: inline-block; }
  .nav { position: fixed; inset: 0; z-index: -1; pointer-events: none; }
  .nav__list {
    position: absolute; inset: 0; flex-direction: column; justify-content: center; gap: 1.6rem;
    background: var(--ivory); opacity: 0; visibility: hidden;
    clip-path: circle(0% at calc(100% - 44px) 38px);
    transition: clip-path .7s var(--ease-out), opacity .3s, visibility 0s .7s;
  }
  [dir="rtl"] .nav__list { clip-path: circle(0% at 44px 38px); }
  .nav.is-open { pointer-events: auto; }
  .nav.is-open .nav__list { opacity: 1; visibility: visible; clip-path: circle(150% at calc(100% - 44px) 38px); transition: clip-path .8s var(--ease-out), opacity .2s, visibility 0s; }
  [dir="rtl"] .nav.is-open .nav__list { clip-path: circle(150% at 44px 38px); }
  .nav__link { font-family: var(--font-display); font-size: 1.9rem; font-weight: 500; }
  html[lang="ar"] .nav__link { font-family: var(--font-ar); font-weight: 700; }
  .menu-open { overflow: hidden; }
  .menu-open .site-header { background: transparent; box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none; transform: none; }

  .hero { min-height: auto; padding-top: calc(var(--header-h) + 2.5rem); }
  .hero__grid, .intro__grid, .about__grid, .story__grid, .collection__grid,
  .product__grid, .why__grid, .markets__grid { grid-template-columns: 1fr; }
  .hero__visual { width: min(84%, 420px); margin-top: 1rem; }
  .scroll-cue { display: none; }
  .about__visual { max-width: 460px; }
  .story__year, .product__media, .why__head { position: static; }
  .story__year-num { font-size: clamp(4.5rem, 3rem + 10vw, 7rem); }
  .product__media { max-width: 560px; }
}

@media (max-width: 600px) {
  body { font-size: 1rem; }
  .pillars, .contact-grid { grid-template-columns: 1fr; }
  .checklist { grid-template-columns: 1fr; }
  .lang-toggle { padding: .45rem .75rem; }
  .lang-toggle svg { display: none; }
  .brand__mark { height: 56px; }
  .is-scrolled .brand__mark { height: 48px; }
  .feature-card__body { position: static; background: var(--ink-2); padding: 1.4rem 1.4rem 1.6rem; }
  .route__status { font-size: .62rem; letter-spacing: .08em; }
  .footer__grid { grid-template-columns: 1fr; }
  .footer__bottom { flex-direction: column; text-align: center; }
  .hero__star { width: 46px; height: 46px; }
  .hero__subtitle { letter-spacing: .16em; font-size: .85rem; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .js [data-reveal] { opacity: 1; transform: none; clip-path: none; }
  .marquee__track { animation: none; }
}

/* ---------- Print ---------- */
@media print {
  .site-header, .progress, .scroll-cue, .marquee, .menu-toggle, .lang-toggle { display: none !important; }
  .section--dark, .site-footer { background: #fff; color: #000; }
  .js [data-reveal] { opacity: 1 !important; transform: none !important; clip-path: none !important; }
}
