/* ==========================================================================
   Al Azaizy Developments — "Quiet Luxury, Built Solid"
   ========================================================================== */

:root {
  --ink: #0c0b09;
  --ink-2: #13110d;
  --ink-3: #1b1813;
  --ink-4: #26221b;
  --gold: #caad62;
  --gold-2: #e2cb8d;
  --gold-3: #a88a45;
  --champ: #e9dcb8;
  --ivory: #f6f2ea;
  --paper: #eee7da;
  --stone: #8d877b;
  --text-d: rgba(246, 242, 234, 0.9);
  --muted-d: rgba(246, 242, 234, 0.58);
  --line-d: rgba(202, 173, 98, 0.22);
  --text-l: #1a1712;
  --muted-l: rgba(26, 23, 18, 0.62);
  --line-l: rgba(26, 23, 18, 0.14);

  --serif: "Cormorant Garamond", "Amiri", Georgia, serif;
  --sans: "Manrope", "IBM Plex Sans Arabic", system-ui, -apple-system, sans-serif;

  --pad: clamp(20px, 5vw, 80px);
  --max: 1520px;
  --header-h: 92px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-io: cubic-bezier(0.76, 0, 0.24, 1);
}

html[dir="rtl"] {
  --serif: "Amiri", "Cormorant Garamond", serif;
  --sans: "IBM Plex Sans Arabic", "Manrope", system-ui, sans-serif;
}

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

body {
  margin: 0;
  background: var(--ink);
  color: var(--text-d);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.7;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
body.is-loading { overflow: hidden; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; padding: 0; }
ul { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, h4, p { margin: 0; }
::selection { background: var(--gold); color: var(--ink); }

/* film grain */
body::after {
  content: "";
  position: fixed; inset: 0;
  pointer-events: none;
  z-index: 9000;
  opacity: 0.05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

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

/* ---------- Type ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 14px;
  font-family: var(--sans);
  font-size: 11.5px; font-weight: 600;
  letter-spacing: 0.32em; text-transform: uppercase;
  color: var(--gold);
}
.eyebrow::before { content: ""; width: 36px; height: 1px; background: currentColor; opacity: 0.7; }
html[dir="rtl"] .eyebrow { letter-spacing: 0; font-size: 14px; font-weight: 500; }

.display {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(46px, 7.4vw, 132px);
  line-height: 0.98;
  letter-spacing: -0.02em;
}
.h2 {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(38px, 5.2vw, 88px);
  line-height: 1.02;
  letter-spacing: -0.015em;
}
.h3 { font-family: var(--serif); font-weight: 400; font-size: clamp(26px, 2.4vw, 38px); line-height: 1.15; }
html[dir="rtl"] .display, html[dir="rtl"] .h2, html[dir="rtl"] .h3 { letter-spacing: 0; font-weight: 400; line-height: 1.35; }
html[dir="rtl"] .display { font-size: clamp(42px, 6.4vw, 112px); }
html[dir="rtl"] .h2 { font-size: clamp(34px, 4.6vw, 76px); }
.display em, .h2 em, .h3 em { font-style: italic; color: var(--gold); font-weight: 300; }
html[dir="rtl"] .display em, html[dir="rtl"] .h2 em { font-style: normal; font-weight: 700; }
.lead { font-size: clamp(17px, 1.35vw, 20px); line-height: 1.75; color: var(--muted-d); max-width: 46ch; }
.light .lead { color: var(--muted-l); }

/* line masks for headline reveals */
.line { display: block; overflow: hidden; padding-bottom: 0.06em; margin-bottom: -0.06em; }
.line > span { display: block; will-change: transform; }
html[dir="rtl"] .line { padding-bottom: 0.14em; margin-bottom: -0.14em; }

/* ---------- Sections ---------- */
section { position: relative; }
.sec { padding-block: clamp(96px, 13vw, 200px); }
.light { background: var(--ivory); color: var(--text-l); }
.light .eyebrow { color: var(--gold-3); }
.light .display em, .light .h2 em { color: var(--gold-3); }
.paper { background: var(--paper); color: var(--text-l); }
.dark-2 { background: var(--ink-2); }

.sec-head { display: grid; gap: 28px; margin-bottom: clamp(56px, 7vw, 110px); }
.sec-head--split { grid-template-columns: 1.2fr 1fr; align-items: end; gap: 40px 80px; }
@media (max-width: 900px) { .sec-head--split { grid-template-columns: 1fr; } }

.hairline { height: 1px; background: var(--line-d); border: 0; margin: 0; }
.light .hairline { background: var(--line-l); }

/* ---------- Buttons ---------- */
.btn {
  position: relative;
  display: inline-flex; align-items: center; gap: 14px;
  height: 58px; padding-inline: 30px;
  font-size: 12px; font-weight: 600; letter-spacing: 0.22em; text-transform: uppercase;
  border: 1px solid rgba(202, 173, 98, 0.55);
  color: var(--ivory);
  overflow: hidden; isolation: isolate;
  transition: color 0.6s var(--ease), border-color 0.6s var(--ease);
  white-space: nowrap;
}
html[dir="rtl"] .btn { letter-spacing: 0; font-size: 15px; font-weight: 500; }
.btn::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: var(--gold);
  transform: scaleY(0); transform-origin: bottom;
  transition: transform 0.6s var(--ease);
}
.btn:hover { color: var(--ink); border-color: var(--gold); }
.btn:hover::before { transform: scaleY(1); }
.btn .arr { width: 18px; height: 1px; background: currentColor; position: relative; transition: width 0.5s var(--ease); }
.btn .arr::after { content: ""; position: absolute; inset-inline-end: 0; top: -3px; width: 7px; height: 7px; border-top: 1px solid currentColor; border-inline-end: 1px solid currentColor; transform: rotate(45deg); }
html[dir="rtl"] .btn .arr::after { transform: rotate(-45deg); }
.btn:hover .arr { width: 28px; }
.btn--gold { background: var(--gold); color: var(--ink); border-color: var(--gold); }
.btn--gold::before { background: var(--ivory); }
.btn--gold:hover { color: var(--ink); border-color: var(--ivory); }
.light .btn { color: var(--text-l); border-color: rgba(26, 23, 18, 0.3); }
.light .btn::before { background: var(--ink); }
.light .btn:hover { color: var(--ivory); border-color: var(--ink); }

.link-u {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: 12px; font-weight: 600; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--gold);
  padding-bottom: 6px;
  background: linear-gradient(currentColor, currentColor) no-repeat 0 100% / 100% 1px;
  transition: background-size 0.6s var(--ease);
}
.link-u:hover { background-size: 0 1px; background-position: 100% 100%; }
html[dir="rtl"] .link-u { letter-spacing: 0; font-size: 15px; }
.light .link-u { color: var(--gold-3); }

/* ---------- Preloader ---------- */
#preloader {
  position: fixed; inset: 0; z-index: 10000;
  display: grid; place-items: center;
  pointer-events: all;
}
#preloader .pl-panel { position: absolute; inset-inline: 0; height: 50.5%; background: var(--ink); }
#preloader .pl-panel.top { top: 0; }
#preloader .pl-panel.bot { bottom: 0; }
#preloader .pl-inner { position: relative; z-index: 2; display: grid; justify-items: center; gap: 26px; }
#preloader .pl-mark { width: 92px; height: 92px; overflow: hidden; clip-path: inset(100% 0 0 0); }
#preloader .pl-mark img { width: 100%; height: 100%; object-fit: cover; }
#preloader .pl-tag { font-family: var(--serif); font-style: italic; font-size: 22px; color: var(--champ); opacity: 0; }
html[dir="rtl"] #preloader .pl-tag { font-style: normal; }
#preloader .pl-count {
  position: absolute; z-index: 2; bottom: 40px; inset-inline-end: var(--pad);
  font-family: var(--serif); font-size: clamp(56px, 8vw, 120px); font-weight: 300; line-height: 1; color: var(--gold);
  font-variant-numeric: tabular-nums;
}
#preloader .pl-bar { position: absolute; z-index: 2; bottom: 0; inset-inline-start: 0; height: 2px; width: 100%; background: var(--gold); transform: scaleX(0); transform-origin: left; }
html[dir="rtl"] #preloader .pl-bar { transform-origin: right; }
.no-js #preloader, .reduced #preloader { display: none; }

/* ---------- Cursor ---------- */
.cursor { position: fixed; top: 0; left: 0; z-index: 9500; pointer-events: none; mix-blend-mode: normal; }
.cursor-dot { position: fixed; top: 0; left: 0; width: 6px; height: 6px; margin: -3px 0 0 -3px; border-radius: 50%; background: var(--gold); pointer-events: none; z-index: 9501; }
.cursor-ring {
  position: fixed; top: 0; left: 0; width: 40px; height: 40px; margin: -20px 0 0 -20px;
  border: 1px solid rgba(202, 173, 98, 0.6); border-radius: 50%;
  display: grid; place-items: center;
  pointer-events: none; z-index: 9500;
  transition: width 0.45s var(--ease), height 0.45s var(--ease), margin 0.45s var(--ease), background-color 0.45s var(--ease), border-color 0.45s var(--ease);
}
.cursor-ring span { font-size: 10px; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; color: var(--ink); opacity: 0; transition: opacity 0.3s; }
html[dir="rtl"] .cursor-ring span { letter-spacing: 0; font-size: 13px; }
.cursor-ring.is-hover { width: 64px; height: 64px; margin: -32px 0 0 -32px; border-color: var(--gold); background: rgba(202, 173, 98, 0.08); }
.cursor-ring.is-view { width: 104px; height: 104px; margin: -52px 0 0 -52px; background: var(--gold); border-color: var(--gold); }
.cursor-ring.is-view span { opacity: 1; }
@media (hover: none), (pointer: coarse) { .cursor-dot, .cursor-ring { display: none; } }

/* ---------- Header ---------- */
.site-header {
  position: fixed; top: 0; inset-inline: 0; z-index: 900;
  height: var(--header-h);
  transition: transform 0.7s var(--ease), background-color 0.6s var(--ease), height 0.6s var(--ease), border-color 0.6s;
  border-bottom: 1px solid transparent;
}
.site-header.is-scrolled {
  --header-h: 76px;
  background: rgba(12, 11, 9, 0.72);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  border-color: var(--line-d);
}
.site-header.is-hidden { transform: translateY(-100%); }
.site-header .container { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 32px; }
.brand { display: flex; align-items: center; flex: none; }
.brand img { height: 52px; width: auto; transition: height 0.6s var(--ease); }
.is-scrolled .brand img { height: 44px; }
.nav { display: flex; gap: clamp(20px, 2.6vw, 44px); }
.nav a {
  position: relative; font-size: 12px; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase;
  color: rgba(246, 242, 234, 0.78); padding-block: 8px; transition: color 0.4s;
}
html[dir="rtl"] .nav a { letter-spacing: 0; font-size: 15px; font-weight: 500; }
.nav a::after { content: ""; position: absolute; inset-inline: 0; bottom: 0; height: 1px; background: var(--gold); transform: scaleX(0); transition: transform 0.6s var(--ease); }
.nav a:hover, .nav a.is-active { color: var(--ivory); }
.nav a:hover::after, .nav a.is-active::after { transform: scaleX(1); }
.head-actions { display: flex; align-items: center; gap: 18px; }
.lang-btn {
  height: 44px; min-width: 44px; padding-inline: 12px;
  display: grid; place-items: center;
  border: 1px solid var(--line-d); border-radius: 50px;
  font-family: "Amiri", "Cormorant Garamond", serif; font-size: 18px; color: var(--champ);
  transition: border-color 0.4s, color 0.4s, background-color 0.4s;
}
html[dir="rtl"] .lang-btn { font-family: "Manrope", sans-serif; font-size: 12px; font-weight: 700; letter-spacing: 0.1em; }
.lang-btn:hover { border-color: var(--gold); color: var(--ink); background: var(--gold); }
.site-header .btn { height: 46px; padding-inline: 22px; font-size: 11px; }
html[dir="rtl"] .site-header .btn { font-size: 14px; }
.burger { display: none; width: 46px; height: 46px; border: 1px solid var(--line-d); border-radius: 50%; place-items: center; }
.burger span { display: block; width: 18px; height: 1px; background: var(--ivory); position: relative; }
.burger span::before, .burger span::after { content: ""; position: absolute; inset-inline: 0; height: 1px; background: var(--ivory); transition: transform 0.5s var(--ease); }
.burger span::before { top: -6px; }
.burger span::after { top: 6px; }
@media (max-width: 1080px) {
  .nav, .site-header .btn { display: none; }
  .burger { display: grid; }
}

/* Mobile / overlay menu */
.menu {
  position: fixed; inset: 0; z-index: 890;
  background: var(--ink-2);
  clip-path: inset(0 0 100% 0);
  visibility: hidden;
  display: flex; flex-direction: column; justify-content: center;
  padding: calc(var(--header-h) + 20px) var(--pad) 40px;
}
.menu.is-open { visibility: visible; }
.menu-links a { display: block; overflow: hidden; }
.menu-links a span { display: block; font-family: var(--serif); font-size: clamp(42px, 10vw, 84px); font-weight: 300; line-height: 1.15; color: var(--ivory); transition: color 0.4s; }
.menu-links a:hover span { color: var(--gold); font-style: italic; }
.menu-links small { font-family: var(--sans); font-size: 12px; color: var(--gold); margin-inline-end: 16px; vertical-align: super; letter-spacing: 0.1em; }
.menu-foot { margin-top: 48px; display: flex; flex-wrap: wrap; gap: 20px 40px; color: var(--muted-d); font-size: 14px; }
.menu-foot a { color: var(--champ); }
body.menu-open .burger span { background: transparent; }
body.menu-open .burger span::before { transform: translateY(6px) rotate(45deg); }
body.menu-open .burger span::after { transform: translateY(-6px) rotate(-45deg); }

/* ---------- Hero (home) ---------- */
.hero { position: relative; height: 100vh; height: 100svh; min-height: 640px; overflow: hidden; background: var(--ink); }
.hero-slides { position: absolute; inset: 0; }
.hero-slide { position: absolute; inset: 0; opacity: 0; }
.hero-slide.is-active { opacity: 1; }
.hero-slide img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform-origin: 50% 60%; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: 2;
  background:
    linear-gradient(180deg, rgba(12, 11, 9, 0.55) 0%, rgba(12, 11, 9, 0.05) 30%, rgba(12, 11, 9, 0.25) 60%, rgba(12, 11, 9, 0.92) 100%),
    linear-gradient(90deg, rgba(12, 11, 9, 0.55) 0%, transparent 60%);
}
html[dir="rtl"] .hero::before {
  background:
    linear-gradient(180deg, rgba(12, 11, 9, 0.55) 0%, rgba(12, 11, 9, 0.05) 30%, rgba(12, 11, 9, 0.25) 60%, rgba(12, 11, 9, 0.92) 100%),
    linear-gradient(270deg, rgba(12, 11, 9, 0.55) 0%, transparent 60%);
}
.hero-content {
  position: absolute; z-index: 3; inset-inline: 0; bottom: clamp(120px, 17vh, 190px);
}
.hero-content .eyebrow { margin-bottom: 30px; }
.hero h1 { max-width: 15ch; color: var(--ivory); }
.hero-sub { margin-top: 30px; max-width: 44ch; color: rgba(246, 242, 234, 0.78); font-size: clamp(16px, 1.25vw, 19px); }
.hero-ctas { margin-top: 40px; display: flex; flex-wrap: wrap; gap: 14px; }
.hero-bar {
  position: absolute; z-index: 3; inset-inline: 0; bottom: 0;
  border-top: 1px solid rgba(246, 242, 234, 0.14);
}
.hero-bar .container { display: grid; grid-template-columns: auto 1fr; align-items: stretch; }
.hero-scroll { display: flex; align-items: center; gap: 14px; padding-inline-end: 40px; font-size: 11px; letter-spacing: 0.3em; text-transform: uppercase; color: var(--muted-d); }
html[dir="rtl"] .hero-scroll { letter-spacing: 0; font-size: 13px; }
.hero-scroll i { width: 1px; height: 38px; background: rgba(246, 242, 234, 0.2); position: relative; overflow: hidden; }
.hero-scroll i::after { content: ""; position: absolute; inset-inline: 0; top: -40%; height: 40%; background: var(--gold); animation: drip 2.2s var(--ease-io) infinite; }
@keyframes drip { to { top: 100%; } }
.hero-tabs { display: grid; grid-template-columns: repeat(3, 1fr); border-inline-start: 1px solid rgba(246, 242, 234, 0.14); }
.hero-tab { position: relative; text-align: start; padding: 22px 26px 26px; border-inline-end: 1px solid rgba(246, 242, 234, 0.14); color: var(--muted-d); transition: color 0.4s, background-color 0.4s; }
.hero-tab:hover { background: rgba(246, 242, 234, 0.04); }
.hero-tab b { display: block; font-family: var(--serif); font-weight: 400; font-size: 21px; color: var(--ivory); line-height: 1.2; }
.hero-tab small { font-size: 12px; letter-spacing: 0.06em; }
.hero-tab .prog { position: absolute; top: -1px; inset-inline: 0; height: 2px; background: var(--gold); transform: scaleX(0); transform-origin: left; }
html[dir="rtl"] .hero-tab .prog { transform-origin: right; }
.hero-tab.is-active { color: var(--champ); }
@media (max-width: 820px) {
  .hero-tabs { grid-template-columns: repeat(3, 1fr); }
  .hero-tab { padding: 16px 12px 18px; }
  .hero-tab b { font-size: 15px; }
  .hero-tab small { display: none; }
  .hero-scroll { display: none; }
  .hero-bar .container { grid-template-columns: 1fr; padding-inline: 0; }
  .hero-tabs { border-inline-start: 0; }
}

/* ---------- Page hero (inner pages) ---------- */
.phero { position: relative; min-height: 88vh; display: flex; align-items: flex-end; overflow: hidden; padding-bottom: clamp(60px, 9vw, 120px); padding-top: calc(var(--header-h) + 80px); }
.phero-bg { position: absolute; inset: 0; }
.phero-bg img { width: 100%; height: 115%; object-fit: cover; }
.phero::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(12, 11, 9, 0.6) 0%, rgba(12, 11, 9, 0.2) 40%, rgba(12, 11, 9, 0.95) 100%); }
.phero .container { position: relative; z-index: 2; }
.phero .eyebrow { margin-bottom: 28px; }
.phero .lead { margin-top: 32px; color: rgba(246, 242, 234, 0.78); }
.phero--plain { min-height: 70vh; background: var(--ink); }
.phero--plain::before { display: none; }

/* breadcrumbs */
.crumbs { display: flex; gap: 10px; align-items: center; font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted-d); margin-bottom: 26px; }
html[dir="rtl"] .crumbs { letter-spacing: 0; font-size: 14px; }
.crumbs a:hover { color: var(--gold); }
.crumbs i { width: 18px; height: 1px; background: var(--line-d); }

/* ---------- Manifesto ---------- */
.manifesto-grid { display: grid; grid-template-columns: 260px 1fr; gap: 40px 80px; }
.manifesto-aside { display: grid; align-content: start; gap: 34px; }
.monogram { width: 76px; height: 76px; overflow: hidden; }
.monogram img { width: 100%; height: 100%; object-fit: cover; }
.manifesto-text { font-family: var(--serif); font-weight: 300; font-size: clamp(30px, 3.7vw, 60px); line-height: 1.18; color: var(--text-l); letter-spacing: -0.01em; }
html[dir="rtl"] .manifesto-text { font-weight: 400; line-height: 1.6; font-size: clamp(26px, 3.1vw, 50px); letter-spacing: 0; }
.manifesto-text .w { opacity: 0.16; transition: none; }
.manifesto-foot { margin-top: clamp(48px, 6vw, 90px); display: grid; grid-template-columns: 1fr auto; gap: 30px 60px; align-items: end; }
.manifesto-foot p { max-width: 62ch; color: var(--muted-l); }
@media (max-width: 900px) {
  .manifesto-grid { grid-template-columns: 1fr; }
  .manifesto-aside { grid-auto-flow: column; justify-content: space-between; align-items: center; }
  .manifesto-foot { grid-template-columns: 1fr; }
}

/* ---------- Stats ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line-d); }
.stat { padding: 46px 30px 10px; border-inline-end: 1px solid var(--line-d); }
.stat:last-child { border-inline-end: 0; }
.stat-n { font-family: var(--serif); font-weight: 300; font-size: clamp(60px, 7vw, 116px); line-height: 1; color: var(--ivory); font-variant-numeric: lining-nums tabular-nums; display: flex; align-items: flex-start; }
.stat-n sup { font-size: 0.4em; color: var(--gold); margin-top: 0.2em; }
.stat p { margin-top: 18px; color: var(--muted-d); font-size: 14.5px; max-width: 24ch; }
@media (max-width: 900px) {
  .stats { grid-template-columns: 1fr 1fr; }
  .stat:nth-child(2) { border-inline-end: 0; }
  .stat:nth-child(n+3) { border-top: 1px solid var(--line-d); }
}

/* ---------- Horizontal projects ---------- */
.hz { position: relative; overflow: hidden; }
.hz-head { padding-top: clamp(96px, 12vw, 180px); }
.hz-pin { height: 100vh; display: flex; align-items: center; overflow: hidden; }
.hz-track { display: flex; gap: clamp(20px, 3vw, 48px); padding-inline: var(--pad); will-change: transform; }
.hz-intro { flex: none; width: min(520px, 80vw); display: grid; align-content: center; gap: 30px; padding-inline-end: 40px; }
.pcard { flex: none; width: min(64vw, 960px); position: relative; color: var(--ivory); }
.pcard-media { position: relative; overflow: hidden; aspect-ratio: 16 / 10.5; background: var(--ink-3); }
.pcard-media img { position: absolute; inset: -6% 0; width: 100%; height: 112%; object-fit: cover; transition: transform 1.4s var(--ease); }
.pcard:hover .pcard-media img { transform: scale(1.05); }
.pcard-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 50%, rgba(12, 11, 9, 0.7)); }
.pcard-no { position: absolute; z-index: 2; top: 24px; inset-inline-start: 28px; font-family: var(--serif); font-size: 18px; color: var(--champ); }
.pcard-tag { position: absolute; z-index: 2; top: 24px; inset-inline-end: 28px; font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase; padding: 8px 14px; border: 1px solid rgba(246, 242, 234, 0.35); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
html[dir="rtl"] .pcard-tag { letter-spacing: 0; font-size: 13px; }
.pcard-body { display: flex; justify-content: space-between; align-items: end; gap: 24px; padding-top: 26px; }
.pcard-body h3 { font-family: var(--serif); font-weight: 300; font-size: clamp(32px, 3.4vw, 56px); line-height: 1.05; }
.pcard-body p { color: var(--muted-d); font-size: 14px; margin-top: 8px; letter-spacing: 0.04em; }
.pcard-go { flex: none; width: 64px; height: 64px; border-radius: 50%; border: 1px solid var(--line-d); display: grid; place-items: center; transition: background-color 0.5s var(--ease), border-color 0.5s; }
.pcard-go svg { width: 18px; transition: transform 0.5s var(--ease); }
html[dir="rtl"] .pcard-go svg { transform: scaleX(-1); }
.pcard:hover .pcard-go { background: var(--gold); border-color: var(--gold); color: var(--ink); }
.pcard:hover .pcard-go svg { transform: rotate(-45deg); }
html[dir="rtl"] .pcard:hover .pcard-go svg { transform: scaleX(-1) rotate(-45deg); }
.hz-progress { position: absolute; bottom: 48px; inset-inline: var(--pad); height: 1px; background: var(--line-d); }
.hz-progress i { position: absolute; inset: 0; background: var(--gold); transform: scaleX(0); transform-origin: left; }
html[dir="rtl"] .hz-progress i { transform-origin: right; }
.hz-end { flex: none; width: min(420px, 70vw); display: grid; place-items: center; }
@media (max-width: 900px) {
  .hz-pin { height: auto; display: block; padding-bottom: 90px; }
  .hz-track { flex-direction: column; gap: 64px; }
  .hz-intro { width: 100%; padding: 0; }
  .pcard { width: 100%; }
  .hz-progress, .hz-end { display: none; }
}

/* ---------- Builders / journey ---------- */
.builders { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 7vw, 120px); align-items: start; }
.builders-media { position: relative; }
.builders-media .frame { overflow: hidden; aspect-ratio: 4 / 5; }
.builders-media .frame img { width: 100%; height: 120%; object-fit: cover; }
.builders-media .frame-sm { position: absolute; width: 46%; aspect-ratio: 1; bottom: -12%; inset-inline-end: -10%; overflow: hidden; border: 10px solid var(--ivory); }
.builders-media .frame-sm img { width: 100%; height: 100%; object-fit: cover; }
.builders-copy { display: grid; gap: 30px; padding-top: 40px; }
.builders-copy p { color: var(--muted-l); max-width: 54ch; }
.journey { margin-top: 30px; border-top: 1px solid var(--line-l); counter-reset: j; }
.journey li { display: grid; grid-template-columns: 60px 1fr auto; align-items: center; padding-block: 22px; border-bottom: 1px solid var(--line-l); font-family: var(--serif); font-size: clamp(22px, 2vw, 30px); color: var(--text-l); }
.journey li::before { counter-increment: j; content: "0" counter(j); font-family: var(--sans); font-size: 12px; color: var(--gold-3); letter-spacing: 0.1em; }
.journey li::after { content: ""; width: 9px; height: 9px; border-radius: 50%; border: 1px solid var(--gold-3); }
.journey li:last-child::after { background: var(--gold-3); box-shadow: 0 0 0 6px rgba(202, 173, 98, 0.2); }
@media (max-width: 900px) {
  .builders { grid-template-columns: 1fr; }
  .builders-media .frame-sm { inset-inline-end: 0; bottom: -8%; }
  .builders-copy { padding-top: 60px; }
}

/* ---------- Marquee ---------- */
.marquee { overflow: hidden; padding-block: clamp(50px, 6vw, 90px); border-block: 1px solid var(--line-d); background: var(--ink); }
.marquee-track { display: flex; width: max-content; gap: 0; }
.marquee-item { display: flex; align-items: center; gap: clamp(30px, 4vw, 70px); padding-inline-end: clamp(30px, 4vw, 70px); flex: none; font-family: var(--serif); font-weight: 300; font-size: clamp(48px, 7vw, 120px); line-height: 1.2; white-space: nowrap; color: transparent; -webkit-text-stroke: 1px rgba(202, 173, 98, 0.6); }
.marquee-item:nth-child(odd) { color: var(--ivory); -webkit-text-stroke: 0; font-style: italic; }
html[dir="rtl"] .marquee-item:nth-child(odd) { font-style: normal; }
.marquee-item svg { width: clamp(22px, 2.4vw, 40px); flex: none; color: var(--gold); }

/* ---------- Why cards ---------- */
.why-grid { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line-d); }
.why-card { position: relative; padding: 48px 34px 56px; border-inline-end: 1px solid var(--line-d); min-height: 380px; display: flex; flex-direction: column; overflow: hidden; }
.why-card:last-child { border-inline-end: 0; }
.why-card::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(202, 173, 98, 0.12), transparent 70%); opacity: 0; transition: opacity 0.6s var(--ease); }
.why-card::after { content: ""; position: absolute; top: -1px; inset-inline: 0; height: 2px; background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform 0.8s var(--ease); }
html[dir="rtl"] .why-card::after { transform-origin: right; }
.why-card:hover::before { opacity: 1; }
.why-card:hover::after { transform: scaleX(1); }
.why-no { font-family: var(--serif); font-size: 15px; color: var(--gold); }
.why-card h3 { margin-top: auto; font-family: var(--serif); font-weight: 400; font-size: clamp(26px, 2.2vw, 34px); line-height: 1.15; }
.why-card p { margin-top: 16px; color: var(--muted-d); font-size: 15px; }
.why-icon { width: 46px; height: 46px; margin-top: 36px; margin-bottom: 60px; color: var(--gold); }
@media (max-width: 1080px) { .why-grid { grid-template-columns: 1fr 1fr; } .why-card:nth-child(2) { border-inline-end: 0; } .why-card:nth-child(n+3) { border-top: 1px solid var(--line-d); } }
@media (max-width: 620px) { .why-grid { grid-template-columns: 1fr; } .why-card { border-inline-end: 0; border-top: 1px solid var(--line-d); min-height: 0; } .why-icon { margin-bottom: 30px; } }

/* ---------- Map ---------- */
.map-grid { display: grid; grid-template-columns: 0.9fr 1.3fr; gap: clamp(40px, 6vw, 100px); align-items: center; }
.map-list { margin-top: 44px; border-top: 1px solid var(--line-l); }
.map-list li { border-bottom: 1px solid var(--line-l); }
.map-list button, .map-list a.row { width: 100%; display: grid; grid-template-columns: 34px 1fr auto; gap: 14px; align-items: center; padding: 20px 0; text-align: start; transition: padding 0.5s var(--ease); }
.map-list .n { font-size: 12px; color: var(--gold-3); }
.map-list b { display: block; font-family: var(--serif); font-weight: 400; font-size: 25px; line-height: 1.2; color: var(--text-l); }
.map-list small { color: var(--muted-l); font-size: 13.5px; }
.map-list .dot { width: 10px; height: 10px; border-radius: 50%; border: 1px solid var(--gold-3); transition: background-color 0.4s, box-shadow 0.4s; }
.map-list li.is-on .dot { background: var(--gold-3); box-shadow: 0 0 0 6px rgba(202, 173, 98, 0.22); }
.map-list li.is-on button, .map-list li.is-on a.row { padding-inline-start: 10px; }
.map-svg { width: 100%; height: auto; overflow: visible; }
.map-svg .road { fill: none; stroke: rgba(26, 23, 18, 0.12); stroke-width: 1; }
.map-svg .ring { fill: none; stroke: rgba(26, 23, 18, 0.18); stroke-width: 1.2; stroke-dasharray: 3 6; }
.map-svg .nile { fill: none; stroke: rgba(168, 138, 69, 0.55); stroke-width: 6; stroke-linecap: round; }
.map-svg .nile-glow { fill: none; stroke: rgba(202, 173, 98, 0.18); stroke-width: 26; stroke-linecap: round; }
.map-svg .lbl { font-family: var(--sans); font-size: 13px; letter-spacing: 0.22em; text-transform: uppercase; fill: rgba(26, 23, 18, 0.45); }
html[dir="rtl"] .map-svg .lbl { letter-spacing: 0; font-size: 14px; }
.map-svg .lbl-nile { font-family: var(--serif); font-style: italic; font-size: 18px; fill: var(--gold-3); letter-spacing: 0; text-transform: none; }
.map-svg .zone { fill: rgba(202, 173, 98, 0.12); stroke: rgba(168, 138, 69, 0.3); stroke-width: 1; stroke-dasharray: 2 4; }
.map-pin { cursor: pointer; }
.map-pin .halo { fill: rgba(202, 173, 98, 0.18); transform-box: fill-box; transform-origin: center; animation: halo 2.6s var(--ease) infinite; }
.map-pin .core { fill: var(--ivory); stroke: var(--gold-3); stroke-width: 2; transition: r 0.4s; }
.map-pin.is-on .core { fill: var(--gold-3); }
.map-pin text { font-family: var(--serif); font-size: 26px; paint-order: stroke; stroke: var(--paper); stroke-width: 6px; fill: var(--text-l); }
.map-pin .tag-bg { fill: var(--ivory); stroke: var(--line-l); }
@keyframes halo { 0% { transform: scale(0.4); opacity: 1; } 100% { transform: scale(2.2); opacity: 0; } }
@media (max-width: 900px) { .map-grid { grid-template-columns: 1fr; } }

/* ---------- Partner ---------- */
.partner { position: relative; overflow: hidden; min-height: 92vh; display: flex; align-items: center; }
.partner-bg { position: absolute; inset: 0; }
.partner-bg img { width: 100%; height: 120%; object-fit: cover; }
.partner::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, rgba(12, 11, 9, 0.94) 0%, rgba(12, 11, 9, 0.75) 45%, rgba(12, 11, 9, 0.15) 100%); }
html[dir="rtl"] .partner::before { background: linear-gradient(270deg, rgba(12, 11, 9, 0.94) 0%, rgba(12, 11, 9, 0.75) 45%, rgba(12, 11, 9, 0.15) 100%); }
.partner .container { position: relative; z-index: 2; }
.partner-box { max-width: 640px; display: grid; gap: 30px; }
.partner-badge { display: inline-flex; align-items: center; gap: 18px; padding: 14px 22px; border: 1px solid var(--line-d); width: max-content; font-size: 12px; letter-spacing: 0.24em; text-transform: uppercase; color: var(--champ); }
html[dir="rtl"] .partner-badge { letter-spacing: 0; font-size: 14px; }
.partner-badge img { width: 30px; height: 30px; object-fit: cover; }
.partner-badge b { font-family: var(--serif); font-size: 22px; letter-spacing: 0.04em; color: var(--ivory); font-weight: 500; }

/* ---------- Progress strip ---------- */
.strip-head { display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 30px; margin-bottom: 60px; }
.strip { display: flex; gap: 22px; padding-inline: var(--pad); width: max-content; cursor: grab; }
.strip:active { cursor: grabbing; }
.strip-wrap { overflow: hidden; }
.strip figure { margin: 0; flex: none; width: clamp(240px, 26vw, 400px); }
.strip figure.wide { width: clamp(320px, 40vw, 620px); }
.strip .ph { overflow: hidden; height: clamp(320px, 36vw, 540px); background: var(--ink-3); }
.strip .ph img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease), filter 1.2s var(--ease); filter: grayscale(0.35) contrast(1.05); pointer-events: none; }
.strip figure:hover .ph img { transform: scale(1.05); filter: none; }
.strip figcaption { margin-top: 14px; font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted-d); display: flex; justify-content: space-between; }
html[dir="rtl"] .strip figcaption { letter-spacing: 0; font-size: 14px; }
@media (max-width: 700px) { .strip-head { grid-template-columns: 1fr; } }

/* ---------- CTA ---------- */
.cta { position: relative; min-height: 100vh; display: flex; align-items: center; justify-content: center; text-align: center; overflow: hidden; }
.cta-bg { position: absolute; inset: 0; }
.cta-bg img { width: 100%; height: 100%; object-fit: cover; }
.cta::before { content: ""; position: absolute; inset: 0; z-index: 1; background: radial-gradient(ellipse at center, rgba(12, 11, 9, 0.55) 0%, rgba(12, 11, 9, 0.88) 75%); }
.cta .container { position: relative; z-index: 2; display: grid; justify-items: center; gap: 32px; }
.cta .lead { margin-inline: auto; color: rgba(246, 242, 234, 0.75); }
.cta-actions { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; margin-top: 10px; }
.cta-phone { font-family: var(--serif); font-size: clamp(22px, 2vw, 30px); color: var(--champ); direction: ltr; unicode-bidi: isolate; }

/* ---------- Footer ---------- */
.site-footer { position: relative; background: var(--ink); border-top: 1px solid var(--line-d); padding-top: clamp(80px, 10vw, 140px); overflow: hidden; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 0.8fr 0.9fr 1.1fr 1.3fr; gap: 50px 40px; }
.foot-brand img { height: 64px; width: auto; }
.foot-brand p { margin-top: 26px; color: var(--muted-d); font-size: 14.5px; max-width: 36ch; }
.foot-col h4 { font-size: 11px; font-weight: 700; letter-spacing: 0.28em; text-transform: uppercase; color: var(--gold); margin-bottom: 24px; }
html[dir="rtl"] .foot-col h4 { letter-spacing: 0; font-size: 14px; }
.foot-col li + li { margin-top: 12px; }
.foot-col a, .foot-col li { color: var(--text-d); font-size: 15px; transition: color 0.3s; }
.foot-col a:hover { color: var(--gold); }
.foot-col .ltr { direction: ltr; unicode-bidi: isolate; display: inline-block; }
.foot-col address { font-style: normal; color: var(--muted-d); font-size: 14.5px; line-height: 1.7; }
.news-form { margin-top: 18px; display: flex; border-bottom: 1px solid var(--line-d); }
.news-form input { flex: 1; min-width: 0; background: transparent; border: 0; color: var(--ivory); font: inherit; font-size: 15px; padding: 14px 0; outline: none; }
.news-form input::placeholder { color: rgba(246, 242, 234, 0.4); }
.news-form button { font-size: 11px; font-weight: 700; letter-spacing: 0.22em; text-transform: uppercase; color: var(--gold); padding-inline-start: 16px; }
html[dir="rtl"] .news-form button { letter-spacing: 0; font-size: 14px; }
.news-ok { margin-top: 12px; color: var(--gold); font-size: 13.5px; display: none; }
.socials { margin-top: 26px; display: flex; gap: 10px; }
.socials a { width: 42px; height: 42px; border: 1px solid var(--line-d); border-radius: 50%; display: grid; place-items: center; transition: background-color 0.4s, border-color 0.4s, color 0.4s; }
.socials a:hover { background: var(--gold); border-color: var(--gold); color: var(--ink); }
.socials svg { width: 16px; height: 16px; }
.foot-word { margin-top: clamp(70px, 9vw, 130px); font-family: var(--serif); font-weight: 300; font-size: clamp(64px, 15.2vw, 270px); line-height: 0.82; letter-spacing: -0.03em; white-space: nowrap; text-align: center; color: transparent; -webkit-text-stroke: 1px rgba(202, 173, 98, 0.35); user-select: none; }
.foot-word span { display: inline-block; }
html[dir="rtl"] .foot-word { font-family: "Amiri", serif; letter-spacing: 0; line-height: 1.2; font-size: clamp(64px, 14vw, 250px); }
.foot-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px 30px; padding-block: 30px; margin-top: 24px; border-top: 1px solid var(--line-d); font-size: 13px; color: var(--muted-d); }
.to-top { display: inline-flex; align-items: center; gap: 10px; color: var(--champ); }
.to-top:hover { color: var(--gold); }
@media (max-width: 1180px) { .foot-grid { grid-template-columns: 1fr 1fr 1fr; } .foot-brand { grid-column: 1 / -1; } }
@media (max-width: 700px) { .foot-grid { grid-template-columns: 1fr 1fr; } .foot-news { grid-column: 1 / -1; } }

/* ---------- Floating WhatsApp ---------- */
.fab {
  position: fixed; z-index: 800; bottom: 26px; inset-inline-end: 26px;
  width: 60px; height: 60px; border-radius: 50%;
  background: var(--gold); color: var(--ink);
  display: grid; place-items: center;
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.45);
  transition: transform 0.5s var(--ease);
}
.fab::before { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 1px solid var(--gold); animation: fab 2.4s var(--ease) infinite; }
@keyframes fab { from { transform: scale(1); opacity: 0.9; } to { transform: scale(1.7); opacity: 0; } }
.fab:hover { transform: scale(1.08); }
.fab svg { width: 26px; height: 26px; }

/* ---------- Reveal helpers ---------- */
.clip-reveal { overflow: hidden; }
.img-zoom img { transform-origin: center; }

/* ---------- About ---------- */
.intro-grid { display: grid; grid-template-columns: 1fr 1.25fr; gap: clamp(40px, 7vw, 120px); }
.intro-grid .copy { display: grid; gap: 26px; color: var(--muted-l); font-size: 17px; }
.intro-grid .copy p:first-child { font-family: var(--serif); font-size: clamp(24px, 2.2vw, 34px); line-height: 1.35; color: var(--text-l); }
html[dir="rtl"] .intro-grid .copy p:first-child { line-height: 1.7; }
@media (max-width: 900px) { .intro-grid { grid-template-columns: 1fr; } }

.timeline { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; margin-top: 20px; }
.timeline::before { content: ""; position: absolute; top: 9px; inset-inline: 0; height: 1px; background: var(--line-d); }
.timeline .tl-line { position: absolute; top: 9px; inset-inline: 0; height: 1px; background: var(--gold); transform: scaleX(0); transform-origin: left; }
html[dir="rtl"] .timeline .tl-line { transform-origin: right; }
.tl-item { position: relative; padding-top: 50px; padding-inline-end: 36px; }
.tl-item::before { content: ""; position: absolute; top: 0; inset-inline-start: 0; width: 19px; height: 19px; border-radius: 50%; background: var(--ink); border: 1px solid var(--gold); }
.tl-item::after { content: ""; position: absolute; top: 6px; inset-inline-start: 6px; width: 7px; height: 7px; border-radius: 50%; background: var(--gold); }
.tl-item b { display: block; font-family: var(--serif); font-weight: 300; font-size: clamp(40px, 4vw, 64px); line-height: 1; color: var(--ivory); }
.tl-item p { margin-top: 18px; color: var(--muted-d); font-size: 15px; max-width: 30ch; }
@media (max-width: 900px) {
  .timeline { grid-template-columns: 1fr; gap: 50px; padding-inline-start: 40px; }
  .timeline::before, .timeline .tl-line { top: 0; bottom: 0; inset-inline-start: 9px; inset-inline-end: auto; width: 1px; height: auto; transform-origin: top; }
  .tl-item { padding-top: 0; }
  .tl-item::before { inset-inline-start: -40px; }
  .tl-item::after { inset-inline-start: -34px; }
}

.vm { display: grid; grid-template-columns: 1fr 1fr; }
.vm-card { position: relative; padding: clamp(50px, 6vw, 100px) clamp(30px, 5vw, 80px); min-height: 520px; display: flex; flex-direction: column; justify-content: flex-end; overflow: hidden; color: var(--ivory); }
.vm-card .bg { position: absolute; inset: 0; z-index: 0; }
.vm-card .bg img { width: 100%; height: 115%; object-fit: cover; }
.vm-card::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(12, 11, 9, 0.35), rgba(12, 11, 9, 0.92)); }
.vm-card > *:not(.bg) { position: relative; z-index: 2; }
.vm-card h3 { font-family: var(--serif); font-weight: 300; font-size: clamp(40px, 4vw, 64px); line-height: 1; margin: 24px 0 22px; }
html[dir="rtl"] .vm-card h3 { line-height: 1.4; }
.vm-card p { color: rgba(246, 242, 234, 0.8); max-width: 48ch; font-size: 16.5px; }
@media (max-width: 900px) { .vm { grid-template-columns: 1fr; } .vm-card { min-height: 440px; } }

.values-list { border-top: 1px solid var(--line-l); }
.values-list li { display: grid; grid-template-columns: 80px 1.1fr 1fr; gap: 20px; align-items: baseline; padding-block: 34px; border-bottom: 1px solid var(--line-l); transition: background-color 0.5s; position: relative; }
.values-list li:hover { background: rgba(202, 173, 98, 0.08); }
.values-list .n { font-size: 13px; color: var(--gold-3); padding-inline-start: 6px; }
.values-list h3 { font-family: var(--serif); font-weight: 400; font-size: clamp(28px, 3vw, 46px); line-height: 1.1; color: var(--text-l); }
.values-list p { color: var(--muted-l); }
@media (max-width: 800px) { .values-list li { grid-template-columns: 50px 1fr; } .values-list p { grid-column: 2; } }

.quote { text-align: center; }
.quote blockquote { margin: 0 auto; max-width: 22ch; font-family: var(--serif); font-weight: 300; font-size: clamp(34px, 4.4vw, 74px); line-height: 1.12; color: var(--ivory); }
html[dir="rtl"] .quote blockquote { line-height: 1.6; max-width: 26ch; font-size: clamp(28px, 3.6vw, 58px); }
.quote blockquote::before { content: "\201C"; display: block; font-size: 2em; line-height: 0.6; color: var(--gold); margin-bottom: 20px; }
.quote cite { display: block; margin-top: 40px; font-style: normal; font-size: 12px; letter-spacing: 0.3em; text-transform: uppercase; color: var(--gold); }
html[dir="rtl"] .quote cite { letter-spacing: 0; font-size: 15px; }

/* ---------- Projects index ---------- */
.filters { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 70px; }
.filters button { height: 46px; padding-inline: 24px; border: 1px solid var(--line-d); border-radius: 50px; font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted-d); transition: all 0.4s var(--ease); }
html[dir="rtl"] .filters button { letter-spacing: 0; font-size: 15px; }
.filters button:hover { color: var(--ivory); border-color: var(--gold); }
.filters button.is-on { background: var(--gold); border-color: var(--gold); color: var(--ink); }
.plist { display: grid; gap: clamp(90px, 11vw, 170px); }
.prow { display: grid; grid-template-columns: 1.35fr 1fr; gap: clamp(30px, 6vw, 100px); align-items: center; }
.prow:nth-child(even) .prow-media { order: 2; }
.prow-media { position: relative; overflow: hidden; aspect-ratio: 5 / 4; display: block; }
.prow-media img { width: 100%; height: 115%; object-fit: cover; transition: transform 1.4s var(--ease); }
.prow-media:hover img { transform: scale(1.04); }
.prow-copy { display: grid; gap: 22px; }
.prow-copy .no { font-family: var(--serif); font-size: 18px; color: var(--gold); }
.prow-copy h2 { font-family: var(--serif); font-weight: 300; font-size: clamp(44px, 5vw, 84px); line-height: 1; }
html[dir="rtl"] .prow-copy h2 { line-height: 1.3; }
.prow-copy .meta { display: flex; flex-wrap: wrap; gap: 10px 28px; font-size: 13px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--champ); }
html[dir="rtl"] .prow-copy .meta { letter-spacing: 0; font-size: 15px; }
.prow-copy p { color: var(--muted-d); max-width: 46ch; }
.prow.is-hidden { display: none; }
@media (max-width: 900px) { .prow { grid-template-columns: 1fr; } .prow:nth-child(even) .prow-media { order: 0; } }

/* ---------- Project detail ---------- */
.pd-hero { position: relative; height: 100vh; height: 100svh; min-height: 640px; overflow: hidden; display: flex; align-items: flex-end; }
.pd-hero .bg { position: absolute; inset: 0; }
.pd-hero .bg img { width: 100%; height: 100%; object-fit: cover; }
.pd-hero::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(12, 11, 9, 0.55), rgba(12, 11, 9, 0.1) 35%, rgba(12, 11, 9, 0.95)); }
.pd-hero .container { position: relative; z-index: 2; padding-bottom: clamp(50px, 7vw, 90px); }
.pd-hero h1 { font-size: clamp(56px, 10vw, 180px); }
html[dir="rtl"] .pd-hero h1 { font-size: clamp(50px, 8.6vw, 150px); }
.pd-hero .tagline { margin-top: 24px; font-family: var(--serif); font-style: italic; font-size: clamp(20px, 2vw, 30px); color: var(--champ); }
html[dir="rtl"] .pd-hero .tagline { font-style: normal; }
.pd-facts { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid rgba(246, 242, 234, 0.18); margin-top: 50px; }
.pd-facts div { padding: 22px 24px 0 0; }
html[dir="rtl"] .pd-facts div { padding: 22px 0 0 24px; }
.pd-facts small { display: block; font-size: 11px; letter-spacing: 0.26em; text-transform: uppercase; color: var(--gold); margin-bottom: 8px; }
html[dir="rtl"] .pd-facts small { letter-spacing: 0; font-size: 13px; }
.pd-facts span { font-size: 15.5px; color: var(--ivory); }
@media (max-width: 800px) { .pd-facts { grid-template-columns: 1fr 1fr; } }

.pd-over { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 7vw, 120px); }
.pd-over .big { font-family: var(--serif); font-weight: 300; font-size: clamp(28px, 2.9vw, 46px); line-height: 1.25; color: var(--text-l); }
html[dir="rtl"] .pd-over .big { line-height: 1.7; font-weight: 400; }
.pd-over .copy { display: grid; gap: 30px; align-content: start; color: var(--muted-l); font-size: 17px; }
.hl-list { border-top: 1px solid var(--line-l); }
.hl-list li { display: flex; gap: 18px; align-items: center; padding-block: 18px; border-bottom: 1px solid var(--line-l); color: var(--text-l); font-size: 16.5px; }
.hl-list li::before { content: ""; width: 8px; height: 8px; transform: rotate(45deg); border: 1px solid var(--gold-3); flex: none; }
.pd-actions { display: flex; flex-wrap: wrap; gap: 12px; }
@media (max-width: 900px) { .pd-over { grid-template-columns: 1fr; } }

.gallery { columns: 3 320px; column-gap: 20px; }
.gallery a { display: block; margin-bottom: 20px; overflow: hidden; break-inside: avoid; position: relative; background: var(--ink-3); }
.gallery img { width: 100%; height: auto; transition: transform 1.2s var(--ease); }
.gallery a:hover img { transform: scale(1.05); }
.gallery a::after { content: ""; position: absolute; inset: 0; background: rgba(12, 11, 9, 0.25); opacity: 0; transition: opacity 0.5s; }
.gallery a:hover::after { opacity: 1; }

.pd-loc { display: grid; grid-template-columns: 1fr 1.4fr; gap: clamp(30px, 5vw, 80px); align-items: stretch; }
.pd-map { min-height: 460px; filter: grayscale(1) invert(0.92) contrast(0.85) sepia(0.25); border: 1px solid var(--line-d); }
.pd-map iframe { width: 100%; height: 100%; border: 0; min-height: 460px; }
@media (max-width: 900px) { .pd-loc { grid-template-columns: 1fr; } }

.next-proj { position: relative; display: block; height: 80vh; min-height: 520px; overflow: hidden; }
.next-proj img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.6s var(--ease); }
.next-proj:hover img { transform: scale(1.05); }
.next-proj::before { content: ""; position: absolute; inset: 0; z-index: 1; background: rgba(12, 11, 9, 0.6); transition: background-color 0.8s; }
.next-proj:hover::before { background: rgba(12, 11, 9, 0.45); }
.next-proj .container { position: relative; z-index: 2; height: 100%; display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center; gap: 22px; }

/* Lightbox */
.lb { position: fixed; inset: 0; z-index: 9200; background: rgba(12, 11, 9, 0.97); display: none; align-items: center; justify-content: center; }
.lb.is-open { display: flex; }
.lb img { max-width: 88vw; max-height: 84vh; object-fit: contain; box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6); }
.lb button { position: absolute; width: 56px; height: 56px; border: 1px solid var(--line-d); border-radius: 50%; display: grid; place-items: center; color: var(--ivory); transition: background-color 0.3s, color 0.3s; }
.lb button:hover { background: var(--gold); color: var(--ink); }
.lb .lb-close { top: 26px; inset-inline-end: 26px; }
.lb .lb-prev { left: 26px; top: 50%; margin-top: -28px; }
.lb .lb-next { right: 26px; top: 50%; margin-top: -28px; }
.lb .lb-count { position: absolute; bottom: 30px; left: 50%; transform: translateX(-50%); font-family: var(--serif); font-size: 18px; color: var(--champ); direction: ltr; }
.lb svg { width: 20px; height: 20px; }

/* ---------- Forms ---------- */
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 30px 26px; }
.form .full { grid-column: 1 / -1; }
.field { position: relative; display: grid; gap: 10px; }
.field label { font-size: 11px; font-weight: 600; letter-spacing: 0.24em; text-transform: uppercase; color: var(--gold-3); }
html[dir="rtl"] .field label { letter-spacing: 0; font-size: 14px; }
.dark-form .field label { color: var(--gold); }
.field input, .field select, .field textarea {
  width: 100%; background: transparent; border: 0; border-bottom: 1px solid var(--line-l);
  padding: 12px 0 14px; font: inherit; font-size: 17px; color: var(--text-l); outline: none; border-radius: 0;
  transition: border-color 0.4s;
  -webkit-appearance: none; appearance: none;
}
.dark-form .field input, .dark-form .field select, .dark-form .field textarea { color: var(--ivory); border-color: var(--line-d); }
.dark-form .field select option { color: var(--ink); }
.field select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23caad62' stroke-width='1.3'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 2px center; padding-inline-end: 24px; }
html[dir="rtl"] .field select { background-position: left 2px center; }
.field textarea { resize: vertical; min-height: 110px; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--gold); }
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chips label { cursor: pointer; position: relative; }
.chips input { position: absolute; left: 0; top: 0; width: 1px; height: 1px; margin: 0; opacity: 0; pointer-events: none; }
.chips span { display: inline-block; padding: 10px 18px; border: 1px solid var(--line-l); border-radius: 50px; font-size: 14px; letter-spacing: 0; text-transform: none; color: var(--text-l); transition: all 0.35s; }
.dark-form .chips span { border-color: var(--line-d); color: var(--text-d); }
.chips input:checked + span { background: var(--gold); border-color: var(--gold); color: var(--ink); }
.chips input:focus-visible + span { outline: 2px solid var(--gold); outline-offset: 2px; }
.form-err { color: #b5523b; font-size: 14px; display: none; }
.form-ok { display: none; text-align: start; padding: 40px 0; }
.form-ok h3 { font-family: var(--serif); font-weight: 300; font-size: clamp(40px, 4vw, 64px); }
.form-ok p { margin-top: 14px; color: var(--muted-l); }
.dark-form .form-ok p { color: var(--muted-d); }
@media (max-width: 700px) { .form { grid-template-columns: 1fr; } }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 0.9fr 1.3fr; gap: clamp(40px, 7vw, 120px); align-items: start; }
.c-info { display: grid; gap: 0; border-top: 1px solid var(--line-l); }
.c-info a, .c-info div.ci { display: grid; grid-template-columns: 52px 1fr; gap: 18px; align-items: center; padding-block: 28px; border-bottom: 1px solid var(--line-l); transition: padding 0.5s var(--ease); }
.c-info a:hover { padding-inline-start: 10px; }
.c-ico { width: 52px; height: 52px; border-radius: 50%; border: 1px solid rgba(168, 138, 69, 0.4); display: grid; place-items: center; color: var(--gold-3); }
.c-ico svg { width: 20px; height: 20px; }
.c-info small { display: block; font-size: 11px; letter-spacing: 0.24em; text-transform: uppercase; color: var(--gold-3); margin-bottom: 6px; }
html[dir="rtl"] .c-info small { letter-spacing: 0; font-size: 13px; }
.c-info b { font-family: var(--serif); font-weight: 400; font-size: 24px; line-height: 1.3; color: var(--text-l); }
.c-info .addr { font-size: 15.5px; color: var(--muted-l); }
.c-info .ltr { direction: ltr; unicode-bidi: isolate; display: inline-block; }
.c-form-box { background: var(--paper); padding: clamp(30px, 5vw, 70px); }
.map-full { height: 70vh; min-height: 420px; filter: grayscale(1) invert(0.92) contrast(0.85) sepia(0.25); }
.map-full iframe { width: 100%; height: 100%; border: 0; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }

/* ---------- Progress page ---------- */
.journal { columns: 3 300px; column-gap: 22px; }
.journal figure { margin: 0 0 22px; break-inside: avoid; }
.journal .ph { overflow: hidden; background: var(--ink-3); cursor: pointer; }
.journal img { width: 100%; height: auto; transition: transform 1.2s var(--ease); }
.journal figure:hover img { transform: scale(1.05); }
.journal figcaption { padding-top: 12px; display: flex; justify-content: space-between; gap: 12px; font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted-d); }
html[dir="rtl"] .journal figcaption { letter-spacing: 0; font-size: 14px; }
.journal figcaption a { color: var(--gold); }

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
}

/* ---------- Framed hero mode (for portrait / lower-res imagery) ---------- */
.hero-slide.framed .blur, .pd-hero.framed .blur {
  position: absolute; inset: -60px; width: calc(100% + 120px); height: calc(100% + 120px);
  object-fit: cover; filter: blur(46px) brightness(0.42) saturate(1.15);
}
.hero-slide.framed .frame, .pd-hero.framed .frame {
  position: absolute; z-index: 1; margin: 0;
  top: calc(var(--header-h) + 36px); bottom: 150px;
  inset-inline-end: var(--pad);
  width: min(34vw, 540px);
  overflow: hidden;
  outline: 1px solid rgba(202, 173, 98, 0.45); outline-offset: 14px;
}
.pd-hero.framed .frame { bottom: 60px; width: min(36vw, 600px); }
.hero-slide.framed .frame img, .pd-hero.framed .frame img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 820px) {
  .hero-slide.framed .blur, .pd-hero.framed .blur { display: none; }
  .hero-slide.framed .frame, .pd-hero.framed .frame { inset: 0; width: auto; outline: 0; top: 0; bottom: 0; }
}

/* ---------- Partner (split) ---------- */
.partner { min-height: 0; display: block; padding-block: clamp(96px, 13vw, 200px); background: var(--ink-2); }
.partner::before { display: none; }
.partner-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 7vw, 120px); align-items: center; }
.partner-media { position: relative; }
.partner-media .pm-main { overflow: hidden; aspect-ratio: 4 / 4.4; }
.partner-media .pm-main img { width: 100%; height: 118%; object-fit: cover; }
.partner-media .pm-sm { position: absolute; width: 52%; aspect-ratio: 16 / 10; bottom: -9%; inset-inline-start: -9%; overflow: hidden; border: 10px solid var(--ink-2); }
.partner-media .pm-sm img { width: 100%; height: 100%; object-fit: cover; }
.partner-media::after { content: ""; position: absolute; top: -22px; inset-inline-end: -22px; width: 46%; height: 46%; border-top: 1px solid var(--gold); border-inline-end: 1px solid var(--gold); opacity: 0.6; pointer-events: none; }
@media (max-width: 900px) { .partner-grid { grid-template-columns: 1fr; } .partner-media { order: -1; margin-bottom: 40px; } .partner-media .pm-sm { inset-inline-start: 0; } }

/* misc */
.ltr { direction: ltr; unicode-bidi: isolate; }
.hz-track > .pcard:first-of-type { margin-inline-start: 0; }

/* hero headline sized by both width and height so it never collides with the header */
.hero h1 { font-size: clamp(44px, min(6.2vw, 10.5vh), 120px); max-width: 16ch; }
html[dir="rtl"] .hero h1 { font-size: clamp(40px, min(5.6vw, 9.5vh), 104px); }
@media (max-height: 760px) and (min-width: 821px) { .hero-sub { display: none; } }

/* stronger scrim on inner-page heroes (bright daytime renders) */
.phero::before {
  background:
    linear-gradient(180deg, rgba(12, 11, 9, 0.7) 0%, rgba(12, 11, 9, 0.35) 35%, rgba(12, 11, 9, 0.75) 70%, rgba(12, 11, 9, 0.97) 100%),
    linear-gradient(90deg, rgba(12, 11, 9, 0.6) 0%, transparent 70%);
}
html[dir="rtl"] .phero::before {
  background:
    linear-gradient(180deg, rgba(12, 11, 9, 0.7) 0%, rgba(12, 11, 9, 0.35) 35%, rgba(12, 11, 9, 0.75) 70%, rgba(12, 11, 9, 0.97) 100%),
    linear-gradient(270deg, rgba(12, 11, 9, 0.6) 0%, transparent 70%);
}
.hero::before {
  background:
    linear-gradient(180deg, rgba(12, 11, 9, 0.6) 0%, rgba(12, 11, 9, 0.1) 30%, rgba(12, 11, 9, 0.35) 60%, rgba(12, 11, 9, 0.94) 100%),
    linear-gradient(90deg, rgba(12, 11, 9, 0.7) 0%, rgba(12, 11, 9, 0.2) 55%, transparent 75%);
}
html[dir="rtl"] .hero::before {
  background:
    linear-gradient(180deg, rgba(12, 11, 9, 0.6) 0%, rgba(12, 11, 9, 0.1) 30%, rgba(12, 11, 9, 0.35) 60%, rgba(12, 11, 9, 0.94) 100%),
    linear-gradient(270deg, rgba(12, 11, 9, 0.7) 0%, rgba(12, 11, 9, 0.2) 55%, transparent 75%);
}

/* ---------- Full logo in preloader & light sections ---------- */
#preloader .pl-mark { width: clamp(180px, 22vw, 260px); height: auto; clip-path: inset(0% 100% 0% 0%); }
html[dir="rtl"] #preloader .pl-mark { clip-path: inset(0% 0% 0% 100%); }
#preloader .pl-mark img { width: 100%; height: auto; object-fit: contain; }
.logo-mark { width: 190px; }
.logo-mark img { width: 100%; height: auto; }
.brand img { height: 50px; }
.is-scrolled .brand img { height: 42px; }
.foot-brand img { height: 70px; }
.partner-badge img { width: 34px; height: 35px; object-fit: cover; }

/* ---------- Readability: soft shadows on text over imagery ---------- */
.hero-content, .phero .container, .pd-hero .container, .cta .container,
.vm-card, .next-proj .container, .hero-tab, .pcard-tag, .pcard-no {
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.45), 0 4px 28px rgba(0, 0, 0, 0.55);
}
.hero-content .btn, .phero .btn, .cta .btn, .pd-hero .btn { text-shadow: none; }
.btn--gold { text-shadow: none !important; }
.hero .eyebrow, .phero .eyebrow, .pd-hero .eyebrow, .cta .eyebrow, .vm-card .eyebrow { color: var(--gold-2); }
.hero-sub, .phero .lead, .cta .lead { color: rgba(246, 242, 234, 0.9) !important; }
.site-header:not(.is-scrolled) .nav a, .site-header:not(.is-scrolled) .lang-btn { text-shadow: 0 1px 10px rgba(0, 0, 0, 0.6); }
.site-header:not(.is-scrolled)::before {
  content: ""; position: absolute; inset: 0 0 -40px; z-index: -1; pointer-events: none;
  background: linear-gradient(180deg, rgba(12, 11, 9, 0.55), transparent);
}

/* project hero: keep imagery under the scrim, stronger bottom-weighted scrim */
.pd-hero .bg { z-index: 0; }
.pd-hero::before {
  background:
    linear-gradient(180deg, rgba(12, 11, 9, 0.6) 0%, rgba(12, 11, 9, 0.15) 30%, rgba(12, 11, 9, 0.7) 62%, rgba(12, 11, 9, 0.97) 100%),
    linear-gradient(90deg, rgba(12, 11, 9, 0.55) 0%, transparent 65%);
}
html[dir="rtl"] .pd-hero::before {
  background:
    linear-gradient(180deg, rgba(12, 11, 9, 0.6) 0%, rgba(12, 11, 9, 0.15) 30%, rgba(12, 11, 9, 0.7) 62%, rgba(12, 11, 9, 0.97) 100%),
    linear-gradient(270deg, rgba(12, 11, 9, 0.55) 0%, transparent 65%);
}
.pd-facts small { color: var(--gold-2); }
