/* ==========================================================
   Dr. Farah Merhi — Sample 2 · Light editorial
   Palette: paper / stone / sand / bronze / sea
   ========================================================== */

:root {
  --paper: #f4efe6;
  --paper-2: #fbf8f2;
  --stone: #e8e0d0;
  --sand: #d8c8aa;
  --ink: #1b1915;
  --ink-soft: #3a362f;
  --muted: #776f62;
  --bronze: #8b6a3a;
  --bronze-2: #b08d57;
  --sea: #c9ddd9;
  --sea-deep: #5f8a85;
  --line: rgba(27, 25, 21, 0.12);
  --line-strong: rgba(27, 25, 21, 0.22);

  --f-display: "Instrument Serif", "Times New Roman", serif;
  --f-body: "Geist", system-ui, sans-serif;

  --gutter: clamp(16px, 4vw, 64px);
  --max: 1360px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --nav-h: 84px;
  --radius: 30px;
}

html[lang="ar"] {
  --f-display: "Noto Naskh Arabic", serif;
  --f-body: "IBM Plex Sans Arabic", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }

body {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--f-body);
  font-size: 16px;
  line-height: 1.6;
  font-weight: 400;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  font-variant-numeric: lining-nums;
}
body.is-loading { overflow: hidden; }

a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { background: none; border: 0; cursor: pointer; }
em { font-style: italic; color: var(--bronze); }
html[lang="ar"] em { font-style: normal; }
::selection { background: var(--ink); color: var(--paper); }
:focus-visible { outline: 1px solid var(--bronze); outline-offset: 4px; }

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }

/* ---------- Canvas ---------- */
#webgl { position: fixed; inset: 0; width: 100%; height: 100%; display: block; z-index: 0; }
.no-webgl #webgl { display: none; }
.no-webgl .story-sticky { background: radial-gradient(70% 60% at 50% 40%, var(--sea), var(--paper) 70%); }

/* ---------- Cursor ---------- */
.cursor {
  position: fixed;
  top: 0; left: 0;
  z-index: 100;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s;
}
.cursor span {
  display: block;
  width: 34px; height: 34px;
  margin: -17px 0 0 -17px;
  border: 1px solid var(--ink);
  border-radius: 50%;
  transition: transform 0.45s var(--ease), background 0.3s, border-color 0.3s;
}
.cursor.is-visible { opacity: 1; }
.cursor.is-hover span { transform: scale(1.8); background: rgba(139, 106, 58, 0.12); border-color: var(--bronze); }
@media (hover: none), (pointer: coarse) { .cursor { display: none; } }

/* ---------- Loader ---------- */
.loader {
  position: fixed;
  inset: 0;
  z-index: 90;
  background: var(--paper-2);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: var(--gutter);
  clip-path: inset(0 0 0% 0);
}
.loader-name {
  display: flex;
  gap: 0.25em;
  font-family: "Instrument Serif", serif;
  font-size: clamp(3.4rem, 11vw, 9rem);
  line-height: 1;
  overflow: hidden;
}
.loader-word { display: inline-block; transform: translateY(110%); }
.loader-foot {
  position: absolute;
  bottom: 32px;
  left: var(--gutter);
  right: var(--gutter);
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  font-variant-numeric: lining-nums tabular-nums;
}

/* ---------- Type ---------- */
.kicker {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--bronze);
  margin-bottom: 24px;
}
.kicker::before { content: ""; width: 28px; height: 1px; background: currentColor; }
.kicker.center { display: flex; justify-content: center; }
html[lang="ar"] .kicker { letter-spacing: 0; font-size: 14px; text-transform: none; }

.display {
  font-family: var(--f-display);
  font-weight: 400;
  font-size: clamp(3rem, 8.4vw, 9rem);
  line-height: 0.92;
  letter-spacing: -0.025em;
}
.display-md {
  font-family: var(--f-display);
  font-weight: 400;
  font-size: clamp(2.6rem, 5.6vw, 5.6rem);
  line-height: 0.95;
  letter-spacing: -0.02em;
}
.h2 {
  font-family: var(--f-display);
  font-weight: 400;
  font-size: clamp(2.6rem, 6vw, 6rem);
  line-height: 0.95;
  letter-spacing: -0.02em;
}
html[lang="ar"] .display,
html[lang="ar"] .display-md,
html[lang="ar"] .h2 { letter-spacing: 0; line-height: 1.25; font-weight: 500; }
html[lang="ar"] .display { font-size: clamp(2.5rem, 6.6vw, 6.8rem); }

.mask { overflow: hidden; padding-bottom: 0.1em; }
.mask > span { display: inline-block; }

.head { margin-bottom: clamp(56px, 7vw, 110px); }
.head.center { text-align: center; }
.head.split { display: grid; grid-template-columns: 1.2fr 1fr; gap: 40px; align-items: end; }
.head-sub { max-width: 30rem; color: var(--muted); font-size: 1.06rem; font-weight: 300; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 17px 30px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.01em;
  transition: background 0.4s var(--ease), color 0.4s var(--ease), border-color 0.4s var(--ease);
  will-change: transform;
}
.btn-sm { padding: 11px 20px; font-size: 13px; }
.btn-lg { width: 100%; padding: 20px 32px; font-size: 15px; }
.btn-ink { background: var(--ink); color: var(--paper); }
.btn-ink:hover { background: var(--bronze); }
.btn-line { border: 1px solid var(--line-strong); }
.btn-line:hover { border-color: var(--ink); background: rgba(27, 25, 21, 0.04); }
html[dir="rtl"] .btn svg { transform: scaleX(-1); }

/* ---------- Nav ---------- */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  height: var(--nav-h);
  padding: 0 var(--gutter);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 20px;
  transition: transform 0.6s var(--ease);
}
.nav.is-hidden { transform: translateY(-160%); }
.brand-sig { font-family: "Instrument Serif", serif; font-size: 26px; line-height: 1; letter-spacing: -0.01em; }

.pill {
  display: flex;
  gap: 4px;
  padding: 6px;
  border-radius: 999px;
  background: rgba(251, 248, 242, 0.62);
  border: 1px solid rgba(255, 255, 255, 0.7);
  box-shadow: 0 10px 30px rgba(60, 45, 20, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(16px) saturate(1.3);
  -webkit-backdrop-filter: blur(16px) saturate(1.3);
}
.pill a {
  padding: 9px 16px;
  border-radius: 999px;
  font-size: 13px;
  color: var(--ink-soft);
  transition: background 0.35s var(--ease), color 0.35s;
}
.pill a:hover, .pill a.is-active { background: var(--ink); color: var(--paper); }

.nav-actions { display: flex; align-items: center; justify-content: flex-end; gap: 12px; }
.lang {
  display: inline-flex;
  padding: 4px;
  border-radius: 999px;
  background: rgba(251, 248, 242, 0.62);
  border: 1px solid var(--line);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.lang-opt { padding: 6px 11px; border-radius: 999px; font-size: 12px; color: var(--muted); transition: background 0.3s, color 0.3s; }
.lang-ar { font-family: "IBM Plex Sans Arabic", sans-serif; }
html[lang="en"] .lang-en, html[lang="ar"] .lang-ar { background: var(--ink); color: var(--paper); }

.burger {
  display: none;
  width: 44px; height: 44px;
  border-radius: 50%;
  position: relative;
  background: rgba(251, 248, 242, 0.7);
  border: 1px solid var(--line);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.burger span { position: absolute; left: 13px; right: 13px; height: 1px; background: var(--ink); transition: transform 0.5s var(--ease), top 0.5s var(--ease); }
.burger span:first-child { top: 18px; }
.burger span:last-child { top: 25px; }
.menu-open .burger span:first-child { top: 21.5px; transform: rotate(45deg); }
.menu-open .burger span:last-child { top: 21.5px; transform: rotate(-45deg); }

.menu {
  position: fixed;
  inset: 0;
  z-index: 45;
  background: var(--paper-2);
  padding: calc(var(--nav-h) + 24px) var(--gutter) 32px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  clip-path: circle(0% at calc(100% - 40px) 40px);
  transition: clip-path 0.9s var(--ease);
  visibility: hidden;
}
html[dir="rtl"] .menu { clip-path: circle(0% at 40px 40px); }
.menu-open .menu { clip-path: circle(150% at calc(100% - 40px) 40px); visibility: visible; }
html[dir="rtl"] .menu-open .menu { clip-path: circle(150% at 40px 40px); }
.menu-links { display: flex; flex-direction: column; }
.menu-links a {
  display: flex;
  align-items: baseline;
  gap: 16px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  font-family: var(--f-display);
  font-size: clamp(2.2rem, 9vw, 3.4rem);
  line-height: 1.1;
}
.menu-links small { font-family: var(--f-body); font-size: 12px; color: var(--bronze); }
.menu-foot { font-size: 13px; color: var(--muted); }

/* ---------- Story ---------- */
.story { position: relative; height: 580vh; }
.story-sticky { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; }
.story-wash {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(70% 45% at 50% 22%, rgba(244, 239, 230, 0.55), transparent 70%),
    linear-gradient(0deg, rgba(244, 239, 230, 0.85) 0%, transparent 30%);
}

.chapter { position: absolute; opacity: 0; visibility: hidden; }
.chapter.is-first { opacity: 1; visibility: visible; }

.chapter-hero {
  left: 0; right: 0;
  top: calc(var(--nav-h) + clamp(32px, 8vh, 90px));
  text-align: center;
  padding: 0 var(--gutter);
}
.chapter-hero .kicker { justify-content: center; }
.hero-meta {
  list-style: none;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 34px;
}
.hero-meta li {
  padding: 9px 16px;
  border-radius: 999px;
  font-size: 13px;
  background: rgba(251, 248, 242, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.chapter-side {
  inset-inline-start: var(--gutter);
  top: 0;
  bottom: 0;
  margin-block: auto;
  height: fit-content;
  width: min(560px, calc(100% - var(--gutter) * 2));
  padding: clamp(28px, 3vw, 44px);
  border-radius: var(--radius);
  background: rgba(251, 248, 242, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.85);
  box-shadow: 0 30px 80px rgba(60, 45, 20, 0.12), inset 0 1px 0 #fff;
  backdrop-filter: blur(20px) saturate(1.2);
  -webkit-backdrop-filter: blur(20px) saturate(1.2);
}
.chapter-side.is-right { inset-inline-start: auto; inset-inline-end: var(--gutter); }
.chapter-num {
  position: absolute;
  top: clamp(24px, 3vw, 40px);
  inset-inline-end: clamp(28px, 3vw, 44px);
  font-family: "Instrument Serif", serif;
  font-size: 1.4rem;
  color: var(--bronze);
}
.chapter-text { margin-top: 20px; color: var(--ink-soft); font-weight: 300; font-size: 1.05rem; max-width: 26rem; }

.chapter-end {
  left: 0; right: 0;
  bottom: clamp(110px, 18vh, 170px);
  text-align: center;
  padding: 0 var(--gutter);
}
.chapter-end .kicker { justify-content: center; }
.chapter-actions { display: flex; justify-content: center; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.chapter-end .btn-line { background: rgba(251, 248, 242, 0.6); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }

.chapters-bar {
  position: absolute;
  left: var(--gutter);
  right: var(--gutter);
  bottom: 28px;
}
.chapters-track { height: 1px; background: var(--line-strong); position: relative; overflow: hidden; }
.chapters-fill { position: absolute; inset: 0; background: var(--ink); transform: scaleX(0); transform-origin: left; }
html[dir="rtl"] .chapters-fill { transform-origin: right; }
.chapters-labels {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  margin-top: 12px;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}
html[lang="ar"] .chapters-labels { letter-spacing: 0; font-size: 13px; text-transform: none; }
.chapters-labels li { transition: color 0.4s; }
.chapters-labels li.is-active { color: var(--ink); }

/* ---------- Content sections (above canvas) ---------- */
main > *:not(.story) { position: relative; z-index: 2; }
.statement, .services, .why, .record, .areas, .process, .about, .contact, .footer { background: var(--paper); }

/* Statement */
.statement { padding: clamp(110px, 16vw, 230px) 0 clamp(90px, 12vw, 170px); border-top: 1px solid var(--line); }
.statement-text {
  max-width: 1100px;
  margin: 0 auto;
  text-align: center;
  font-family: var(--f-display);
  font-size: clamp(2rem, 4.4vw, 4.4rem);
  line-height: 1.12;
  letter-spacing: -0.015em;
}
html[lang="ar"] .statement-text { letter-spacing: 0; line-height: 1.6; font-size: clamp(1.7rem, 3.4vw, 3.4rem); }
.statement-text .w { opacity: 0.14; transition: none; }
.statement-text .w.is-em { font-style: italic; color: var(--bronze); }
html[lang="ar"] .statement-text .w.is-em { font-style: normal; }
.statement-sign { margin-top: 56px; display: flex; flex-direction: column; align-items: center; gap: 6px; }
.sig { font-family: "Instrument Serif", serif; font-style: italic; font-size: 2.2rem; line-height: 1; color: var(--ink); }
.statement-sign small { font-size: 13px; color: var(--muted); }

/* Services — stacking cards */
.services { padding: clamp(100px, 12vw, 180px) 0 clamp(60px, 8vw, 120px); }
.stack { display: flex; flex-direction: column; gap: 28px; }
.stack-card {
  position: sticky;
  top: calc(var(--nav-h) + 24px);
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: clamp(24px, 4vw, 64px);
  min-height: min(68vh, 600px);
  padding: clamp(26px, 3.6vw, 56px);
  border-radius: var(--radius);
  background: var(--paper-2);
  border: 1px solid var(--line);
  box-shadow: 0 -10px 60px rgba(60, 45, 20, 0.06);
  transform-origin: 50% 0%;
  will-change: transform;
}
.stack-card:nth-child(2) { top: calc(var(--nav-h) + 40px); background: #f7f1e6; }
.stack-card:nth-child(3) { top: calc(var(--nav-h) + 56px); background: #f2ebdd; }
.stack-card:nth-child(4) { top: calc(var(--nav-h) + 72px); background: #ede4d3; }
.stack-card:nth-child(5) { top: calc(var(--nav-h) + 88px); background: var(--ink); color: var(--paper); border-color: transparent; }
.stack-card:nth-child(5) p, .stack-card:nth-child(5) li { color: rgba(244, 239, 230, 0.72); }
.stack-card:nth-child(5) li { border-color: rgba(244, 239, 230, 0.16); }
.stack-copy { display: flex; flex-direction: column; justify-content: space-between; }
.stack-num { font-size: 13px; color: var(--bronze); letter-spacing: 0.08em; font-variant-numeric: lining-nums tabular-nums; }
.stack-card h3 {
  font-family: var(--f-display);
  font-weight: 400;
  font-size: clamp(2.4rem, 4.6vw, 4.6rem);
  line-height: 0.95;
  letter-spacing: -0.02em;
  margin-top: auto;
  padding-top: 40px;
}
html[lang="ar"] .stack-card h3 { letter-spacing: 0; line-height: 1.25; }
.stack-card p { margin-top: 18px; max-width: 30rem; color: var(--muted); font-weight: 300; font-size: 1.04rem; }
.stack-card ul { list-style: none; margin-top: 28px; display: flex; flex-wrap: wrap; gap: 8px; }
.stack-card li { padding: 7px 14px; border-radius: 999px; border: 1px solid var(--line); font-size: 13px; color: var(--ink-soft); }

.stack-art { position: relative; border-radius: 22px; overflow: hidden; min-height: 260px; }
.art-arches { background: linear-gradient(180deg, var(--sea), #e6eeea); display: flex; align-items: flex-end; justify-content: center; gap: 6%; padding: 0 10%; }
.art-arches i { flex: 1; border-radius: 999px 999px 0 0; background: var(--paper-2); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.8); }
.art-arches i:nth-child(1) { height: 52%; }
.art-arches i:nth-child(2) { height: 78%; background: linear-gradient(180deg, #fff, var(--stone)); }
.art-arches i:nth-child(3) { height: 40%; }
.art-rings { background: radial-gradient(circle at 50% 120%, var(--sand), var(--stone) 70%); }
.art-rings i { position: absolute; top: 50%; width: 46%; aspect-ratio: 1; border-radius: 50%; border: 1px solid var(--bronze); transform: translateY(-50%); }
.art-rings i:first-child { left: 18%; background: rgba(251, 248, 242, 0.4); }
.art-rings i:last-child { right: 18%; background: rgba(176, 141, 87, 0.12); }
.art-curve { background: linear-gradient(180deg, #f8f4ec, var(--stone)); }
.art-curve svg { position: absolute; inset: 12% 8%; width: 84%; height: 76%; }
.art-curve path { fill: none; stroke: var(--bronze); stroke-width: 2; vector-effect: non-scaling-stroke; }
.art-dots {
  background:
    radial-gradient(circle, var(--bronze) 0 3px, transparent 4px) 0 0 / 34px 34px,
    linear-gradient(180deg, var(--paper-2), var(--sand));
  -webkit-mask: radial-gradient(circle at 50% 50%, #000 35%, transparent 72%);
          mask: radial-gradient(circle at 50% 50%, #000 35%, transparent 72%);
}
.art-window { background: linear-gradient(180deg, #2a2620, #12100d); }
.art-window i { position: absolute; inset: 14% 22% 0; border-radius: 999px 999px 0 0; background: linear-gradient(180deg, var(--sea), var(--sand)); opacity: 0.9; }

/* Why — bento */
.why { padding: clamp(100px, 12vw, 180px) 0; }
.bento {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-areas:
    "hero hero own visa"
    "hero hero yld visa"
    "cmp  cmp  cmp cmp";
  grid-auto-rows: minmax(220px, auto);
  gap: 16px;
}
.bento > :nth-child(1) { grid-area: hero; }
.bento > :nth-child(2) { grid-area: own; }
.bento > :nth-child(3) { grid-area: visa; }
.bento > :nth-child(4) { grid-area: yld; }
.bento > :nth-child(5) { grid-area: cmp; }
.tile {
  position: relative;
  padding: 28px;
  border-radius: var(--radius);
  background: var(--paper-2);
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.tile-hero { background: linear-gradient(160deg, #fff 0%, var(--stone) 100%); }
.tile-sea { background: linear-gradient(160deg, #e3eeeb, var(--sea)); }
.tile-ink { background: var(--ink); color: var(--paper); border-color: transparent; }
.tile-label { font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); }
html[lang="ar"] .tile-label { letter-spacing: 0; font-size: 14px; text-transform: none; }
.tile-ink .tile-label { color: rgba(244, 239, 230, 0.6); }
.tile-big, .tile-num {
  font-family: "Instrument Serif", serif;
  line-height: 0.85;
  letter-spacing: -0.04em;
  margin-top: auto;
  direction: ltr;
  text-align: start;
}
html[dir="rtl"] .tile-big, html[dir="rtl"] .tile-num { text-align: right; }
.tile-big { font-size: clamp(9rem, 22vw, 20rem); }
.tile-num { font-size: clamp(4rem, 7vw, 6.4rem); }
.tile sup { font-size: 0.32em; vertical-align: top; position: relative; top: 0.25em; margin-left: 4px; color: var(--bronze); letter-spacing: 0; }
html[lang="ar"] .tile sup { font-family: "IBM Plex Sans Arabic", sans-serif; }
.tile p { margin-top: 14px; color: var(--muted); font-size: 0.95rem; font-weight: 300; }

.compare { margin-top: auto; display: flex; flex-direction: column; gap: 14px; padding-top: 24px; }
.compare-row { display: grid; grid-template-columns: 120px 1fr 50px; align-items: center; gap: 16px; font-size: 14px; color: rgba(244, 239, 230, 0.75); }
.compare-row b { font-family: "Instrument Serif", serif; font-weight: 400; font-size: 1.5rem; text-align: end; color: var(--paper); }
.compare-bar { height: 8px; border-radius: 999px; background: rgba(244, 239, 230, 0.08); overflow: hidden; }
.compare-bar i { display: block; height: 100%; width: 0; border-radius: inherit; background: rgba(244, 239, 230, 0.4); }
.compare-row.is-gold, .compare-row.is-gold b { color: var(--bronze-2); }
.compare-row.is-gold i { background: var(--bronze-2); }
.footnote { margin-top: 22px; font-size: 12px; color: var(--muted); }

/* Track record */
.record { padding: clamp(80px, 10vw, 150px) 0; }
.record-grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(40px, 6vw, 100px); align-items: center; }
.feature { border-radius: var(--radius); overflow: hidden; background: var(--paper-2); border: 1px solid var(--line); }
.feature-media {
  position: relative;
  aspect-ratio: 5 / 4;
  background: linear-gradient(180deg, #dce9e6 0%, #efe7d8 70%, var(--sand) 100%);
  overflow: hidden;
}
.feature-tower { position: absolute; left: 50%; bottom: 0; width: 34%; height: 88%; transform: translateX(-50%); display: flex; align-items: flex-end; gap: 6%; }
.feature-tower i { flex: 1; background: linear-gradient(90deg, #fff, #e8e0d0); border-radius: 6px 6px 0 0; box-shadow: inset -1px 0 0 rgba(27, 25, 21, 0.08); }
.feature-tower i:nth-child(1) { height: 70%; }
.feature-tower i:nth-child(2) { height: 100%; background: linear-gradient(90deg, #fff, #ddd2bd); }
.feature-tower i:nth-child(3) { height: 82%; }
.feature-stamp {
  position: absolute;
  top: 24px;
  inset-inline-start: 24px;
  padding: 10px 18px;
  border-radius: 999px;
  background: var(--ink);
  color: var(--paper);
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
html[lang="ar"] .feature-stamp { letter-spacing: 0; text-transform: none; }
.feature-copy { padding: clamp(24px, 3vw, 40px); }
.feature-copy .kicker { margin-bottom: 14px; }
.feature-copy h3 { font-family: var(--f-display); font-weight: 400; font-size: clamp(1.9rem, 3vw, 2.8rem); line-height: 1.05; }
.feature-copy p { margin-top: 12px; color: var(--muted); font-weight: 300; }

.awards { list-style: none; margin-top: 44px; border-top: 1px solid var(--line); }
.awards li { display: grid; grid-template-columns: 110px 1fr; gap: 20px; align-items: baseline; padding: 22px 0; border-bottom: 1px solid var(--line); }
.award-year { font-family: "Instrument Serif", serif; font-size: 1.6rem; color: var(--bronze); }
html[lang="ar"] .award-year { font-family: var(--f-body); font-size: 1.1rem; }
.awards b { display: block; font-weight: 500; font-size: 1.05rem; }
.awards small { color: var(--muted); font-size: 0.9rem; }

/* Areas + map */
.areas { padding: clamp(100px, 12vw, 180px) 0; }
.areas-grid { display: grid; grid-template-columns: 1fr 1.25fr; gap: clamp(32px, 5vw, 80px); align-items: center; }
.area-list { list-style: none; border-top: 1px solid var(--line); }
.area-btn {
  width: 100%;
  display: grid;
  grid-template-columns: 34px 1fr auto;
  gap: 14px;
  align-items: baseline;
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
  text-align: start;
  transition: color 0.3s;
}
.area-btn .n { font-size: 12px; color: var(--muted); font-variant-numeric: lining-nums tabular-nums; }
.area-btn .name {
  font-family: var(--f-display);
  font-size: clamp(1.7rem, 2.8vw, 2.6rem);
  line-height: 1.05;
  transition: transform 0.6s var(--ease), color 0.3s;
}
.area-btn .tag { font-size: 12px; color: var(--muted); }
.area-btn:hover .name, .area-btn.is-active .name { color: var(--bronze); transform: translateX(10px); }
html[dir="rtl"] .area-btn:hover .name, html[dir="rtl"] .area-btn.is-active .name { transform: translateX(-10px); }

.map { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); background: var(--sea); }
.map svg { display: block; width: 100%; height: auto; }
.map-sea { fill: #d6e6e3; }
.map-land { fill: url(#landGrad); }
.map-coastline { fill: none; stroke: var(--bronze-2); stroke-width: 1.4; stroke-dasharray: 4 6; }
.map-island { fill: #e9e0cd; stroke: rgba(139, 106, 58, 0.4); }
.map-palm rect, .map-palm path { fill: #efe7d6; stroke: var(--bronze-2); stroke-width: 1.4; stroke-linecap: round; }
.map-palm path { fill: none; }
.map-city { font-family: "Geist", sans-serif; font-size: 13px; letter-spacing: 0.3em; fill: var(--muted); }
.map-gulf { font-family: "Instrument Serif", serif; font-style: italic; font-size: 26px; fill: var(--sea-deep); opacity: 0.8; }
html[lang="ar"] .map-city, html[lang="ar"] .map-gulf { font-family: "IBM Plex Sans Arabic", sans-serif; letter-spacing: 0; font-style: normal; }
.marker { cursor: pointer; }
.marker .ring { fill: none; stroke: var(--bronze); stroke-width: 1; opacity: 0; transform-box: fill-box; transform-origin: center; }
.marker .dot { fill: var(--ink); transition: fill 0.3s; }
.marker .label {
  font-family: "Geist", sans-serif;
  font-size: 13px;
  fill: var(--ink);
  opacity: 0;
  transition: opacity 0.35s;
  paint-order: stroke;
  stroke: rgba(244, 239, 230, 0.9);
  stroke-width: 4px;
}
html[lang="ar"] .marker .label { font-family: "IBM Plex Sans Arabic", sans-serif; }
.marker.is-active .dot { fill: var(--bronze); }
.marker.is-active .label { opacity: 1; }
.marker.is-active .ring { animation: pulse 1.8s var(--ease) infinite; }
@keyframes pulse { 0% { opacity: 0.9; transform: scale(0.6); } 100% { opacity: 0; transform: scale(2.6); } }

/* Process */
.process { padding: clamp(90px, 11vw, 170px) 0; border-top: 1px solid var(--line); }
.steps { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line-strong); }
.steps li { padding: 34px 26px 0 0; position: relative; }
.steps li + li { padding-inline-start: 26px; border-inline-start: 1px solid var(--line); }
.step-n { font-family: "Instrument Serif", serif; font-size: 3rem; line-height: 1; color: var(--bronze); }
.steps h3 { font-family: var(--f-display); font-weight: 400; font-size: clamp(1.7rem, 2.4vw, 2.2rem); margin: 28px 0 10px; line-height: 1.1; }
.steps p { color: var(--muted); font-weight: 300; font-size: 0.98rem; }

/* About */
.about { padding: clamp(100px, 12vw, 180px) 0; background: var(--stone); }
.about-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: clamp(40px, 7vw, 120px); align-items: center; }
.about-lead { margin-top: 28px; font-family: var(--f-display); font-size: clamp(1.5rem, 2.3vw, 2.1rem); line-height: 1.25; max-width: 34rem; }
.about-text { margin-top: 22px; color: var(--ink-soft); font-weight: 300; max-width: 34rem; }
.about-sign { margin-top: 40px; display: flex; align-items: center; gap: 28px; flex-wrap: wrap; }
.link-arrow { font-size: 14px; border-bottom: 1px solid var(--line-strong); padding-bottom: 3px; transition: border-color 0.3s, color 0.3s; }
.link-arrow:hover { color: var(--bronze); border-color: var(--bronze); }
.portrait { position: relative; }
.portrait-frame {
  aspect-ratio: 4 / 5;
  border-radius: 999px 999px var(--radius) var(--radius);
  overflow: hidden;
  background: linear-gradient(180deg, var(--paper-2), var(--sand));
  display: grid;
  place-items: center;
  box-shadow: 0 40px 90px rgba(60, 45, 20, 0.18);
}
.portrait-frame img { width: 100%; height: 100%; object-fit: cover; }
.portrait-mono { font-family: "Instrument Serif", serif; font-size: clamp(6rem, 14vw, 12rem); color: rgba(139, 106, 58, 0.35); font-style: italic; }
.portrait figcaption { margin-top: 18px; font-size: 13px; color: var(--muted); text-align: center; }

/* Contact */
.contact { padding: clamp(100px, 12vw, 180px) 0; }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 100px); align-items: start; }
.contact-copy .head-sub { margin-top: 26px; }
.contact-meta { margin-top: 44px; display: grid; gap: 18px; }
.contact-meta div { display: grid; grid-template-columns: 110px 1fr; gap: 16px; padding-bottom: 18px; border-bottom: 1px solid var(--line); font-size: 14px; }
.contact-meta dt { color: var(--muted); }

.form {
  padding: clamp(24px, 3.4vw, 44px);
  border-radius: var(--radius);
  background: var(--paper-2);
  border: 1px solid var(--line);
  box-shadow: 0 40px 90px rgba(60, 45, 20, 0.08);
  display: flex;
  flex-direction: column;
  gap: 26px;
}
.chips { border: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.chips legend { width: 100%; margin-bottom: 12px; font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); }
html[lang="ar"] .chips legend, html[lang="ar"] .field > span { letter-spacing: 0; text-transform: none; font-size: 14px; }
.chips label { position: relative; }
.chips input { position: absolute; opacity: 0; pointer-events: none; }
.chips span {
  display: inline-block;
  padding: 10px 16px;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  font-size: 14px;
  cursor: pointer;
  transition: background 0.3s, color 0.3s, border-color 0.3s;
}
.chips label:hover span { border-color: var(--ink); }
.chips input:checked + span { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.chips input:focus-visible + span { outline: 1px solid var(--bronze); outline-offset: 3px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field > span { font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); }
.field input, .field textarea {
  width: 100%;
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--line-strong);
  padding: 10px 0 12px;
  font-size: 1.05rem;
  border-radius: 0;
  transition: border-color 0.3s;
}
.field textarea { resize: vertical; min-height: 60px; }
.field input:focus, .field textarea:focus { outline: none; border-bottom-color: var(--ink); }
.form-error { min-height: 1.2em; font-size: 13px; color: #a5452c; }

/* Footer */
.footer { padding: clamp(70px, 9vw, 130px) 0 30px; border-top: 1px solid var(--line); overflow: hidden; }
.footer-top { display: flex; justify-content: space-between; align-items: baseline; gap: 20px; flex-wrap: wrap; }
.footer-line { font-family: var(--f-display); font-size: clamp(1.6rem, 3vw, 2.6rem); }
.to-top { font-size: 14px; color: var(--muted); }
.to-top:hover { color: var(--ink); }
.footer-sig {
  margin: clamp(30px, 5vw, 70px) 0;
  font-family: "Instrument Serif", serif;
  font-size: clamp(4.4rem, 19vw, 21rem);
  line-height: 0.82;
  letter-spacing: -0.045em;
  white-space: nowrap;
  text-align: center;
  direction: ltr;
}
.footer-bar { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; padding-top: 22px; border-top: 1px solid var(--line); font-size: 12px; color: var(--muted); }
.footer-bar a:hover { color: var(--ink); }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .pill { display: none; }
  .burger { display: block; }
  .nav { grid-template-columns: 1fr auto; }
  .bento {
    grid-template-columns: repeat(2, 1fr);
    grid-template-areas: "hero hero" "own visa" "yld visa" "cmp cmp";
  }
  .tile-hero { min-height: 340px; }
  .steps { grid-template-columns: repeat(2, 1fr); row-gap: 40px; }
  .steps li:nth-child(3) { padding-inline-start: 0; border-inline-start: 0; }
}

@media (max-width: 899px) {
  .head.split, .record-grid, .areas-grid, .about-grid, .contact-grid { grid-template-columns: 1fr; }
  .stack-card { grid-template-columns: 1fr; min-height: 0; }
  .stack-card h3 { padding-top: 24px; }
  .stack-art { min-height: 200px; order: -1; }
  .chapter-side, .chapter-side.is-right {
    inset-inline-start: var(--gutter);
    inset-inline-end: var(--gutter);
    top: auto;
    bottom: 84px;
    margin-block: 0;
    width: auto;
  }
  .portrait { max-width: 420px; }
  .areas-grid .map { order: -1; }
}

@media (max-width: 640px) {
  :root { --nav-h: 70px; --radius: 24px; }
  .nav-cta { display: none; }
  .brand-sig { font-size: 22px; }
  .chapter-hero { top: calc(var(--nav-h) + 28px); }
  .kicker.center::before, .chapter-hero .kicker::before, .chapter-end .kicker::before { display: none; }
  .hero-meta { margin-top: 24px; }
  .hero-meta li { font-size: 12px; padding: 7px 12px; }
  .chapter-end { bottom: 92px; }
  .chapter-actions .btn { flex: 1 1 100%; }
  .chapters-labels { display: none; }
  .bento { grid-template-columns: 1fr; grid-template-areas: "hero" "own" "visa" "yld" "cmp"; }
  .tile-big { font-size: 9rem; }
  .compare-row { grid-template-columns: 1fr 44px; gap: 8px 12px; }
  .compare-bar { grid-column: 1 / -1; grid-row: 2; }
  .steps { grid-template-columns: 1fr; }
  .steps li, .steps li + li { padding: 28px 0 0; border-inline-start: 0; }
  .awards li { grid-template-columns: 84px 1fr; }
  .contact-meta div { grid-template-columns: 1fr; gap: 4px; }
  .area-btn .tag { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  * { transition-duration: 0.01ms !important; animation: none !important; }
}
