/* Shwehdi Brothers Company: quiet and editorial, serif display type, gold used sparingly, hairlines instead of cards.
   Built by build.py; edit freely. */
:root {
  --bg: #ffffff;
  --paper: #f6f3ed;
  --cream: #f6f3ed;
  --ink: #111214;
  --text: #2a2d33;
  --mute: #6b6e75;
  --line: #e2ddd2;
  --line-dark: rgba(255, 255, 255, .14);
  --gold: #c8962e;          /* lines, numbers, accents */
  --gold-deep: #94680f;     /* gold text on white (readable) */
  --gold-soft: #fbefd2;
  --shadow-lg: 0 24px 60px rgba(17, 18, 20, .12);
  --font: 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --serif: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  --wrap: 1240px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  color-scheme: light;
}
[lang="ar"] { --font: 'Cairo', system-ui, sans-serif; --serif: 'Cairo', system-ui, sans-serif; font-size: 106.25%; }  /* Cairo reads small at 16px */

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; }
body { margin: 0; background: var(--bg); color: var(--text); font: 400 1rem/1.7 var(--font); overflow-x: hidden; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--gold-deep); }
h1, h2, h3 { font-family: var(--font); font-weight: 600; line-height: 1.15; margin: 0 0 .5em; color: var(--ink); letter-spacing: -.015em; }
h2 { font-family: var(--serif); font-weight: 400; font-size: clamp(2.5rem, 5vw, 4.2rem); line-height: 1.02; letter-spacing: -.01em; }
h3 { font-size: 1.15rem; }
[lang="ar"] h1, [lang="ar"] h2, [lang="ar"] h3 { letter-spacing: 0; line-height: 1.4; }
[lang="ar"] h2 { font-weight: 500; font-size: clamp(2rem, 4vw, 3.1rem); }
p { margin: 0 0 1em; }
.wrap { width: min(var(--wrap), 100% - 32px); margin-inline: auto; }
.skip { position: absolute; inset-inline-start: 8px; top: -60px; z-index: 50; background: var(--ink); color: #fff; padding: 8px 14px; }
.skip:focus { top: 8px; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

.kicker { display: inline-flex; align-items: center; gap: 12px; font: 600 .72rem/1 var(--font); letter-spacing: .22em; text-transform: uppercase; color: var(--mute); margin: 0 0 1.8em; }
.kicker::before { content: ''; width: 28px; height: 1px; background: var(--gold); }
[lang="ar"] .kicker { letter-spacing: 0; font-size: .95rem; }
.label { font: 600 .7rem/1.5 var(--font); letter-spacing: .2em; text-transform: uppercase; color: var(--gold-deep); margin: 0 0 16px; }
[lang="ar"] .label { letter-spacing: 0; font-size: .92rem; }
.lead { font-size: 1.1rem; line-height: 1.75; color: var(--mute); max-width: 54ch; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 12px; height: 52px; padding: 0 30px; background: var(--ink); color: #fff; border: 0; border-radius: 2px; font: 600 .88rem/1 var(--font); letter-spacing: .02em; text-decoration: none; cursor: pointer; transition: background .25s, color .25s; }
.btn:hover { background: var(--gold); }
.btn.line { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
.btn.line:hover { background: var(--ink); color: #fff; }
.tlink { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font-weight: 600; font-size: .9rem; letter-spacing: .02em; padding-bottom: 6px; border-bottom: 1px solid var(--gold); }
.tlink span, .btn span { display: inline-block; transition: transform .25s; }
.tlink:hover span, .btn:hover span { transform: translateX(4px); }
[dir="rtl"] .tlink span, [dir="rtl"] .btn span { transform: scaleX(-1); }
[dir="rtl"] .tlink:hover span, [dir="rtl"] .btn:hover span { transform: scaleX(-1) translateX(4px); }

/* header */
.top { position: fixed; inset: 0 0 auto; z-index: 20; transition: background .4s, box-shadow .4s; }
.top.solid { background: rgba(255, 255, 255, .86); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px); box-shadow: 0 1px 0 var(--line), 0 6px 24px rgba(21, 23, 27, .05); }
.top-in { display: flex; align-items: center; justify-content: space-between; height: 76px; gap: 16px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font-weight: 800; font-size: 1.02rem; letter-spacing: -.01em; }
.brand img { width: 42px; height: 42px; }
#nav { display: flex; align-items: center; gap: 6px; }
#nav a { color: var(--text); text-decoration: none; font-size: .92rem; font-weight: 600; padding: 9px 14px; border-radius: 999px; transition: background .25s, color .25s; }
#nav a:hover { background: rgba(21, 23, 27, .05); }
#nav a.on { background: none; color: var(--gold-deep); }
#nav .lang { margin-inline-start: 8px; background: var(--ink); color: #fff; }
#nav .lang:hover { background: #000; }
/* home page: header sits on the photo in white, and turns back to normal once solid */
.brand .logo-w { display: none; }
.top.dark:not(.solid):not(:has(#nav.open)) .logo-w { display: block; }
.top.dark:not(.solid):not(:has(#nav.open)) .logo-c { display: none; }
.top.dark:not(.solid):not(:has(#nav.open)) .brand { color: #fff; font-weight: 600; }
.top.dark:not(.solid):not(:has(#nav.open)) .top-in { border-bottom: 1px solid rgba(255, 255, 255, .18); }
.top.dark:not(.solid):not(:has(#nav.open)) #nav a { color: rgba(255, 255, 255, .82); }
.top.dark:not(.solid):not(:has(#nav.open)) #nav a:hover, .top.dark:not(.solid):not(:has(#nav.open)) #nav a.on { background: rgba(255, 255, 255, .12); color: #fff; }
.top.dark:not(.solid):not(:has(#nav.open)) #nav .lang { background: #fff; color: var(--ink); }
.top.dark:not(.solid):not(:has(#nav.open)) .menu-btn { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .45); }
.menu-btn { display: none; background: #fff; border: 1.5px solid var(--line); color: var(--ink); border-radius: 999px; padding: 8px 18px; font: inherit; font-weight: 700; font-size: .88rem; cursor: pointer; }

/* hero: full-bleed photo of Tripoli under a dark wash, white type, numbers along the foot */
.hero { position: relative; min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; justify-content: flex-end; color: #fff; overflow: hidden; isolation: isolate; background: #0e0f11; }
.hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 50%; filter: saturate(.9) contrast(1.05) brightness(1.05); transform: scale(1.06); animation: drift 20s var(--ease) forwards; z-index: -2; }
.hero::after { content: ''; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(90deg, rgba(14, 15, 17, .82) 0%, rgba(14, 15, 17, .55) 38%, rgba(14, 15, 17, 0) 64%),
              linear-gradient(0deg, rgba(14, 15, 17, .75) 0%, rgba(14, 15, 17, 0) 34%),
              linear-gradient(180deg, rgba(14, 15, 17, .6) 0%, rgba(14, 15, 17, 0) 18%); }
[dir="rtl"] .hero::after { background: linear-gradient(270deg, rgba(14, 15, 17, .85) 0%, rgba(14, 15, 17, .6) 38%, rgba(14, 15, 17, 0) 64%),
              linear-gradient(0deg, rgba(14, 15, 17, .75) 0%, rgba(14, 15, 17, 0) 34%),
              linear-gradient(180deg, rgba(14, 15, 17, .6) 0%, rgba(14, 15, 17, 0) 18%); }
@keyframes drift { to { transform: scale(1); } }
.hero-live { pointer-events: none; }  /* the moving cars, laid over the photo (site.js) */
.hero-in { padding: 180px 0 88px; text-shadow: 0 1px 18px rgba(0, 0, 0, .55); }
.hero .meta { display: flex; align-items: center; gap: 12px; margin: 0 0 28px; font-size: .74rem; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; color: #fff; text-shadow: 0 1px 10px rgba(0, 0, 0, .6); }
.hero .meta::before { content: ''; width: 28px; height: 2px; background: var(--gold); }
[lang="ar"] .hero .meta { letter-spacing: 0; font-size: 1rem; font-weight: 600; }
.hero h1 { margin: 0; color: #fff; font-weight: 300; font-size: clamp(3rem, 8.4vw, 7.4rem); line-height: .95; letter-spacing: -.045em; }
.hero h1 span, .hero h1 strong { display: block; }
.hero h1 strong { font-weight: 600; }
[lang="ar"] .hero h1 { letter-spacing: 0; line-height: 1.25; font-weight: 300; font-size: clamp(2.8rem, 6.6vw, 5.8rem); }
[lang="ar"] .hero h1 strong { font-weight: 700; }
[lang="ar"] .hero-in { padding-top: 150px; }
.tagline { margin: 32px 0 44px; max-width: 34ch; font-size: clamp(1.05rem, 1.5vw, 1.25rem); font-weight: 300; line-height: 1.55; color: rgba(255, 255, 255, .8); }
[lang="ar"] .tagline { font-weight: 400; margin: 28px 0 40px; max-width: 44ch; line-height: 1.8; text-wrap: balance; }
.ctas { display: flex; flex-wrap: wrap; align-items: center; gap: 32px; margin: 0; }
.hbtn { display: inline-flex; align-items: center; height: 52px; padding: 0 30px; background: #fff; color: var(--ink); text-decoration: none; font-size: .88rem; font-weight: 600; letter-spacing: .02em; border-radius: 2px; text-shadow: none; transition: background .25s, color .25s; }
.hbtn:hover { background: var(--gold); color: #fff; }
.hlink { color: #fff; text-decoration: none; font-size: .88rem; font-weight: 500; letter-spacing: .02em; padding-bottom: 4px; border-bottom: 1px solid rgba(255, 255, 255, .5); transition: border-color .25s; }
.hlink:hover { border-color: var(--gold); }
.hlink span { display: inline-block; margin-inline-start: 8px; transition: transform .25s; }
.hlink:hover span { transform: translateX(4px); }
[dir="rtl"] .hlink span { transform: scaleX(-1); }
[dir="rtl"] .hlink:hover span { transform: scaleX(-1) translateX(4px); }
.credit { position: absolute; bottom: 10px; inset-inline-end: 16px; margin: 0; font-size: .66rem; color: rgba(255, 255, 255, .45); }
.credit a { color: inherit; }

/* numbers: one thin row across the foot of the hero */
.stats { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid rgba(255, 255, 255, .18); }
.stats li { padding: 32px 0 40px; padding-inline-start: 28px; border-inline-start: 1px solid rgba(255, 255, 255, .18); }
.stats li:first-child { padding-inline-start: 0; border-inline-start: 0; }
.stats b { display: block; color: #fff; font-size: clamp(1.8rem, 3vw, 2.6rem); font-weight: 300; line-height: 1; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.stats span { display: block; margin-top: 12px; font-size: .72rem; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; color: var(--gold); }
[lang="ar"] .stats b { letter-spacing: 0; font-weight: 400; }
[lang="ar"] .stats span { letter-spacing: 0; font-size: .9rem; }

/* sections */
.section { padding: clamp(96px, 12vw, 168px) 0; }
.head-split { display: grid; grid-template-columns: 1.25fr 1fr; gap: clamp(32px, 6vw, 110px); align-items: end; margin-bottom: clamp(56px, 7vw, 96px); }
.head-split h2 { margin: 0; max-width: 18ch; }
.head-split .lead { margin: 0; }

/* introduction: a large statement, the founders, and mission and vision */
.intro h2.display { font-size: clamp(3rem, 7vw, 6rem); line-height: .98; max-width: 13ch; margin: 0 0 clamp(56px, 7vw, 96px); }
[lang="ar"] .intro h2.display { font-size: clamp(2.4rem, 5.4vw, 4.4rem); line-height: 1.3; max-width: 16ch; }
.intro-grid { display: grid; grid-template-columns: 1fr 1.7fr; gap: clamp(40px, 6vw, 110px); padding-top: 40px; border-top: 1px solid var(--line); }
.intro-grid .lead { font-size: clamp(1.1rem, 1.45vw, 1.28rem); color: var(--text); margin: 0; max-width: 54ch; }
.founders { list-style: none; margin: 0; padding: 0; }
.founders li { margin-bottom: 18px; }
.founders b { display: block; font-family: var(--serif); font-size: 1.75rem; font-weight: 500; line-height: 1.2; color: var(--ink); }
[lang="ar"] .founders b { font-size: 1.35rem; font-weight: 600; }
.founders span { font-size: .85rem; color: var(--mute); }
.mv { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 110px); margin-top: clamp(80px, 10vw, 130px); }
.mv article { padding-top: 28px; border-top: 1px solid var(--ink); }
.mv p:last-child { font-family: var(--serif); font-size: clamp(1.35rem, 2vw, 1.75rem); line-height: 1.4; color: var(--ink); margin: 0; }
[lang="ar"] .mv p:last-child { font-size: 1.2rem; line-height: 1.9; }

/* heritage: dark, with the old Tripoli seafront faintly behind */
.heritage { position: relative; isolation: isolate; overflow: hidden; background: var(--ink); color: #fff; padding: clamp(96px, 12vw, 160px) 0 clamp(72px, 9vw, 120px); }
.heritage-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.1); opacity: .2; z-index: -2; }
.heritage::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(17, 18, 20, .55) 0%, rgba(17, 18, 20, .92) 60%, var(--ink) 100%); }
.heritage .kicker { color: rgba(255, 255, 255, .6); }
.heritage h2 { color: #fff; margin: 0; max-width: 14ch; }
.heritage-head { display: grid; grid-template-columns: auto 1fr; gap: clamp(32px, 7vw, 120px); align-items: end; }
.big-years { margin: 0; }
.big-years b { display: block; font: 300 clamp(7rem, 17vw, 14rem)/.8 var(--serif); color: var(--gold); letter-spacing: -.03em; font-variant-numeric: lining-nums; }
[lang="ar"] .big-years b { font-weight: 300; line-height: 1; letter-spacing: 0; }
.big-years span { display: block; margin-top: 20px; font-size: .72rem; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; color: rgba(255, 255, 255, .6); }
[lang="ar"] .big-years span { letter-spacing: 0; font-size: .95rem; }
.timeline { list-style: none; margin: clamp(72px, 9vw, 120px) 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); column-gap: clamp(28px, 4vw, 64px); }
.timeline li { position: relative; padding: 28px 0 48px; border-top: 1px solid var(--line-dark); }
.timeline li::before { content: ''; position: absolute; top: -4px; inset-inline-start: 0; width: 7px; height: 7px; border-radius: 50%; background: var(--gold); }
.timeline .when { display: block; font: 400 2.4rem/1 var(--serif); color: var(--gold); margin-bottom: 16px; font-variant-numeric: lining-nums; }
[lang="ar"] .timeline .when { font-size: 1.7rem; font-weight: 400; }
.timeline h3 { color: #fff; font-size: 1.05rem; margin-bottom: 6px; }
.timeline p { color: rgba(255, 255, 255, .62); margin: 0; font-size: .95rem; max-width: 36ch; }

/* brands: every logo on one hairline grid, in grey until you point at it */
.wall { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); border-inline-start: 1px solid var(--line); }
.wall li { position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; padding: 24px 20px 28px; border-bottom: 1px solid var(--line); border-inline-end: 1px solid var(--line); background: #fff; transition: background .4s; }
.wall img { width: 64%; aspect-ratio: 1; object-fit: contain; transition: filter .5s, opacity .5s, transform .7s var(--ease); }
.wall b { font-size: .95rem; font-weight: 600; color: var(--ink); }
.wall span { font-size: .78rem; color: var(--mute); line-height: 1.5; }
.wall em { position: absolute; top: 16px; inset-inline-start: 18px; font: 600 .62rem/1 var(--font); letter-spacing: .16em; text-transform: uppercase; color: var(--gold-deep); }
[lang="ar"] .wall em { letter-spacing: 0; font-size: .8rem; }
@media (hover: hover) {
  .wall img { filter: grayscale(1) contrast(1.1); opacity: .72; }
  .wall li:hover { background: var(--paper); }
  .wall li:hover img { filter: none; opacity: 1; transform: scale(1.04); }
}

/* main brands: one editorial row each, alternating sides */
.featured { background: var(--paper); }
.rows { display: grid; gap: clamp(80px, 10vw, 140px); }
.row { display: grid; grid-template-columns: 1.45fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
.row:nth-child(even) figure { order: 2; }
.row figure { margin: 0; overflow: hidden; background: #fff; }
.row figure img { width: 100%; transition: transform 1.4s var(--ease); }
.row:hover figure img { transform: scale(1.025); }
.row .logo-only { width: 60%; margin: 8% auto; }
.row .num { display: block; font: 400 1.1rem/1 var(--serif); color: var(--gold-deep); margin-bottom: 28px; }
.row h3 { font: 400 clamp(2.6rem, 4.6vw, 4rem)/1 var(--serif); letter-spacing: -.01em; margin: 0 0 12px; }
[lang="ar"] .row h3 { font-weight: 500; font-size: clamp(2rem, 3.6vw, 3rem); line-height: 1.3; }
.row .cat { color: var(--mute); font-size: .9rem; margin: 0 0 24px; padding-bottom: 24px; border-bottom: 1px solid var(--line); }
.row .desc { font-size: 1.05rem; color: var(--text); margin: 0; max-width: 42ch; }
.ranges { margin-top: 20px; }
.ranges span { display: block; font-size: .78rem; font-weight: 600; color: var(--mute); margin-bottom: 8px; }
.ranges ul { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 6px 18px; }
.ranges li { font-weight: 600; font-size: .9rem; color: var(--ink); }

/* quote */
.quote { margin: 0; padding: clamp(100px, 12vw, 170px) 0; background: #fff; text-align: center; }
.quote .wrap::before { content: ''; display: block; width: 1px; height: 64px; background: var(--gold); margin: 0 auto 48px; }
.quote p { font: italic 400 clamp(1.9rem, 3.8vw, 3.1rem)/1.25 var(--serif); color: var(--ink); max-width: 24em; margin: 0 auto 36px; }
[lang="ar"] .quote p { font-style: normal; font-size: clamp(1.4rem, 2.6vw, 2.1rem); line-height: 1.8; }
.quote footer { font-size: .72rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--mute); }
[lang="ar"] .quote footer { letter-spacing: 0; font-size: .95rem; }

/* distribution and partnership */
.partner { background: var(--paper); }
.proof { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); column-gap: clamp(28px, 4vw, 64px); }
.proof li { padding-top: 32px; border-top: 1px solid var(--ink); }
.proof b { display: block; font: 400 clamp(2.6rem, 4.4vw, 3.8rem)/1 var(--serif); color: var(--ink); margin-bottom: 16px; font-variant-numeric: lining-nums; }
[lang="ar"] .proof b { font-weight: 500; font-size: clamp(2rem, 3.4vw, 2.8rem); line-height: 1.2; }
.proof span { display: block; color: var(--mute); max-width: 30ch; }
.band { margin: clamp(72px, 9vw, 120px) 0 0; overflow: hidden; }
.band img { width: 100%; aspect-ratio: 21 / 9; object-fit: cover; filter: grayscale(1) contrast(1.05); }
.how { display: grid; grid-template-columns: 1fr 2.6fr; gap: clamp(32px, 6vw, 110px); margin-top: clamp(72px, 9vw, 120px); }
.how .sub { font: 400 clamp(2rem, 3.2vw, 2.8rem)/1.05 var(--serif); margin: 0; }
[lang="ar"] .how .sub { font-weight: 500; font-size: 2rem; line-height: 1.3; }
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 48px clamp(28px, 4vw, 64px); }
.steps li { padding-top: 24px; border-top: 1px solid var(--line); }
.steps .n { display: block; font: 400 1.15rem/1 var(--serif); color: var(--gold-deep); margin-bottom: 14px; }
.steps h3 { font-size: 1.1rem; margin-bottom: 8px; }
.steps p { color: var(--mute); margin: 0; }
.aud { display: grid; grid-template-columns: 1fr 1fr; margin-top: clamp(80px, 10vw, 130px); background: var(--ink); color: #fff; }
.aud > div { padding: clamp(36px, 5vw, 64px); display: flex; flex-direction: column; align-items: flex-start; }
.aud > div + div { border-inline-start: 1px solid var(--line-dark); }
.aud h3 { font: 400 clamp(1.9rem, 3vw, 2.5rem)/1.1 var(--serif); color: #fff; margin-bottom: 16px; }
[lang="ar"] .aud h3 { font-weight: 500; font-size: 1.7rem; line-height: 1.4; }
.aud p { color: rgba(255, 255, 255, .7); max-width: 42ch; flex: 1; margin-bottom: 32px; }
.aud .tlink { color: #fff; }
.coverage { margin-top: 22px; }
.coverage span { display: block; font-weight: 600; font-size: .85rem; color: var(--mute); margin-bottom: 10px; }
.coverage ul { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 6px 18px; }
.coverage li { font-weight: 600; }
.ops { list-style: none; padding: 0; margin: 56px 0 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); column-gap: 40px; }
.ops li { padding-top: 24px; border-top: 1px solid var(--line); }
.ops b { display: block; font: 400 2.6rem/1 var(--serif); color: var(--ink); margin-bottom: 10px; }
.ops span { color: var(--mute); }

/* inside the company (own photos) */
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.gallery figure { margin: 0; overflow: hidden; position: relative; background: var(--paper); }
.gallery figure:first-child { grid-column: span 2; grid-row: span 2; }
.gallery img { width: 100%; height: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.gallery figcaption { position: absolute; inset-inline-start: 0; bottom: 0; background: #fff; padding: 8px 14px; font-weight: 600; font-size: .82rem; }

/* contact: dark, details beside the form */
.contact-s { background: var(--ink); color: #fff; }
.contact-s .kicker { color: rgba(255, 255, 255, .6); }
.contact-s h2 { color: #fff; font-size: clamp(3rem, 7vw, 6rem); line-height: .98; margin-bottom: 28px; }
[lang="ar"] .contact-s h2 { font-size: clamp(2.4rem, 5.4vw, 4.4rem); line-height: 1.3; }
.contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(48px, 7vw, 120px); align-items: start; }
.contact-intro { color: rgba(255, 255, 255, .7); font-size: 1.1rem; max-width: 40ch; }
.contact { list-style: none; padding: 0; margin: 48px 0 0; border-top: 1px solid var(--line-dark); }
.contact li { display: grid; grid-template-columns: 9.5rem 1fr; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--line-dark); }
.contact span { font-size: .7rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: rgba(255, 255, 255, .5); padding-top: 4px; }
[lang="ar"] .contact span { letter-spacing: 0; font-size: .9rem; padding-top: 0; }
.contact a, .contact p { color: #fff; text-decoration: none; margin: 0; font-weight: 500; }
.contact a:hover { color: var(--gold); }
.contact p a { color: var(--gold); font-size: .88rem; }
.contact [dir="ltr"] { unicode-bidi: isolate; justify-self: start; }
.follow { margin: 36px 0 0; display: flex; align-items: center; gap: 10px; }
.follow span { margin-inline-end: 8px; font-size: .7rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: rgba(255, 255, 255, .5); }
[lang="ar"] .follow span { letter-spacing: 0; font-size: .9rem; }
.follow a { width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--line-dark); display: grid; place-items: center; transition: border-color .25s, background .25s; }
.follow a:hover { border-color: var(--gold); background: rgba(200, 150, 46, .12); }
.follow svg { width: 18px; height: 18px; fill: #fff; }
.enquiry { display: grid; grid-template-columns: 1fr 1fr; gap: 30px 28px; padding: clamp(28px, 4vw, 52px); border: 1px solid var(--line-dark); background: rgba(255, 255, 255, .03); }
.enquiry h3 { grid-column: 1 / -1; font: 400 2.1rem/1.1 var(--serif); color: #fff; margin: 0 0 4px; }
[lang="ar"] .enquiry h3 { font-weight: 500; font-size: 1.6rem; line-height: 1.4; }
.enquiry .full { grid-column: 1 / -1; margin: 0; }
.enquiry label { display: grid; gap: 4px; font-size: .68rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: rgba(255, 255, 255, .55); }
[lang="ar"] .enquiry label { letter-spacing: 0; font-size: .88rem; }
.enquiry input, .enquiry select, .enquiry textarea { font: 400 1rem/1.5 var(--font); letter-spacing: 0; text-transform: none; color: #fff; background: transparent; border: 0; border-bottom: 1px solid rgba(255, 255, 255, .28); border-radius: 0; padding: 10px 0; width: 100%; transition: border-color .25s; }
.enquiry select { -webkit-appearance: none; appearance: none; cursor: pointer; padding-inline-end: 28px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23c8962e' stroke-width='1.5'/%3E%3C/svg%3E") no-repeat right 2px center; }
[dir="rtl"] .enquiry select { background-position: left 2px center; }
.enquiry select option { color: var(--ink); }
.enquiry input:focus, .enquiry select:focus, .enquiry textarea:focus { outline: none; border-bottom-color: var(--gold); }
.enquiry textarea { resize: vertical; min-height: 96px; }
.enquiry .btn { background: var(--gold); color: var(--ink); }
.enquiry .btn:hover { background: #fff; }
.enquiry .small { color: rgba(255, 255, 255, .45); }

/* privacy page */
.doc { padding-top: 140px; }
.doc .wrap { max-width: 760px; }
.doc h1 { font-family: var(--serif); font-weight: 400; font-size: clamp(2.8rem, 6vw, 4.4rem); }
.doc h2 { font-family: var(--font); font-weight: 600; font-size: 1.2rem; margin-top: 1.8em; }
.doc p { color: var(--text); }

/* draft preview only: reminders of what to fill in */
.draft-bar { position: fixed; inset: auto 0 0; z-index: 40; background: #b42318; color: #fff; text-align: center; font: 700 .85rem/1.4 var(--font); padding: 8px 12px; }
.todo { border: 2px dashed #d0451b; background: #fff4ef; color: #8a2a0c; border-radius: 10px; padding: 12px 14px; margin-top: 14px; font-size: .88rem; font-weight: 600; text-align: start; letter-spacing: 0; text-transform: none; }
.todo b { display: block; font-size: .7rem; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 4px; color: #d0451b; }
.todo.inline { display: inline-block; margin: 6px 0 0; padding: 4px 10px; }
.todo-card { background: transparent !important; padding: 0 !important; }
.todo-card .todo { margin: 0; height: 100%; min-height: 120px; display: flex; flex-direction: column; justify-content: center; }
.todo-li { display: block !important; padding: 12px 0 !important; }
.todo-li .todo { margin: 0; }

/* footer */
.foot { background: var(--ink); color: rgba(255, 255, 255, .5); border-top: 1px solid var(--line-dark); padding: 32px 0; }
.foot-in { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; }
.foot-brand { display: flex; align-items: center; gap: 12px; margin: 0; font-size: .74rem; font-weight: 600; letter-spacing: .2em; color: #fff; }
.small { margin: 0; font-size: .82rem; }
.foot .small { color: rgba(255, 255, 255, .5); }
.small a { color: inherit; text-decoration: none; font-weight: 600; }
.small a:hover { color: var(--gold); }

/* 404 */
.center { min-height: 100vh; display: grid; place-items: center; text-align: center; }
.center p { display: flex; gap: 12px; justify-content: center; }

/* reveal on scroll (only when site.js runs) */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }
.timeline .reveal:nth-child(3n+2), .wall .reveal:nth-child(4n+2), .steps .reveal:nth-child(2), .proof .reveal:nth-child(2) { transition-delay: .08s; }
.timeline .reveal:nth-child(3n), .wall .reveal:nth-child(4n+3), .steps .reveal:nth-child(3), .proof .reveal:nth-child(3) { transition-delay: .16s; }
.wall .reveal:nth-child(4n), .steps .reveal:nth-child(4) { transition-delay: .24s; }

@media (max-width: 1000px) {
  .wall { grid-template-columns: repeat(3, 1fr); }
  .timeline { grid-template-columns: 1fr 1fr; }
  .how { grid-template-columns: 1fr; }
}
@media (max-width: 860px) {
  .menu-btn { display: block; }
  #nav { position: absolute; top: 76px; inset-inline: 12px; flex-direction: column; align-items: stretch; gap: 2px; background: #fff; border-radius: 4px; box-shadow: var(--shadow-lg); padding: 10px; display: none; }
  #nav.open { display: flex; }
  #nav a { padding: 13px 16px; font-size: 1rem; }
  #nav .lang { margin: 8px 0 0; text-align: center; }
  .top:has(#nav.open) { background: rgba(255, 255, 255, .95); }
  /* phones: text over the photo, darker wash, numbers in two rows */
  /* text starts just under the header and the numbers follow straight after: the photo is only as tall as its content */
  .hero { justify-content: flex-start; min-height: 0; }
  .hero-in, [lang="ar"] .hero-in { padding: 124px 0 36px; }
  .hero-bg, [dir="rtl"] .hero-bg { object-position: 60% 50%; }  /* phones: the hotel, the road and the towers */
  .hero::after, [dir="rtl"] .hero::after { background: linear-gradient(0deg, rgba(14, 15, 17, .8) 0%, rgba(14, 15, 17, .5) 50%, rgba(14, 15, 17, .55) 100%); }
  .stats { grid-template-columns: 1fr 1fr; }
  .stats li { padding: 24px 0 28px; padding-inline-start: 20px; }
  .stats li:nth-child(odd) { padding-inline-start: 0; border-inline-start: 0; }
  .stats li:nth-child(n+3) { border-top: 1px solid rgba(255, 255, 255, .18); }
  /* the photo credit sits under the numbers instead of over them */
  .credit { position: static; text-align: end; padding: 0 16px 10px; }
  /* the next section starts close under the photo, so the page clearly carries on */
  .section { padding: 72px 0; }
  .intro { padding-top: 40px; }
  .intro .kicker.reveal, .intro h2.display.reveal { opacity: 1; transform: none; }
  .head-split, .intro-grid, .mv, .heritage-head, .row, .proof, .aud, .contact-grid { grid-template-columns: 1fr; }
  .proof { row-gap: 40px; }
  .row:nth-child(even) figure { order: 0; }
  .row { gap: 28px; }
  .aud > div + div { border-inline-start: 0; border-top: 1px solid var(--line-dark); }
  /* phones: the timeline becomes a row you swipe */
  .timeline { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 28px; margin-inline: -16px; padding-inline: 16px; scrollbar-width: none; }
  .timeline::-webkit-scrollbar { display: none; }
  .timeline li { flex: 0 0 78%; scroll-snap-align: start; }
  .gallery { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .brand span { font-size: .92rem; }
  .wall { grid-template-columns: 1fr 1fr; }
  .wall li { padding: 18px 12px 20px; }
  .steps { grid-template-columns: 1fr; gap: 32px; }
  .enquiry { grid-template-columns: 1fr; }
  .contact li { grid-template-columns: 1fr; gap: 2px; }
  .gallery { grid-template-columns: 1fr; }
  .gallery figure:first-child { grid-column: auto; grid-row: auto; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-bg { animation: none; transform: none; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
}
