/* =====================================================================
   HOGAR CONSTRUCTIONS — website styles
   Brand: Deep Crimson #7A2426 · Red #DF3931 · Charcoal #262B2A · Ivory #FCF9F5 · Stone #DAD6CE
   Type: 29LT Zarid Text (→ Source Serif 4 / Noto Naskh Arabic), DIN Next Arabic (→ Barlow / IBM Plex Sans Arabic)
   ===================================================================== */
:root {
  --crimson: #7A2426; --red: #DF3931; --charcoal: #262B2A; --ink: #1A1E1D; --ivory: #FCF9F5; --stone: #DAD6CE;
  --stone-2: #EEEAE3; --muted: #6F726E; --line: rgba(38, 43, 42, .14); --line-light: rgba(252, 249, 245, .18);
  --serif: 'Source Serif 4', 'Noto Naskh Arabic', Georgia, serif;
  --sans: 'Barlow', 'IBM Plex Sans Arabic', system-ui, sans-serif;
  --ease: cubic-bezier(.16, 1, .3, 1);
  --gutter: clamp(16px, 4vw, 64px);
  --max: 1520px;
  --header-h: 84px;
  color-scheme: light;
}
html[lang="ar"] {
  --serif: 'Noto Naskh Arabic', 'Source Serif 4', serif;
  --sans: 'IBM Plex Sans Arabic', 'Barlow', 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(--ivory); color: var(--charcoal); font-family: var(--sans); font-size: 17px; line-height: 1.6;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; padding: 0; }
::selection { background: var(--red); color: var(--ivory); }
:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; }
.container { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- type ---------- */
.eyebrow {
  font-family: var(--sans); font-size: 12px; font-weight: 500; letter-spacing: .28em; text-transform: uppercase;
  display: inline-flex; align-items: center; gap: 14px; margin: 0 0 28px; color: var(--muted);
}
html[lang="ar"] .eyebrow { letter-spacing: 0; font-size: 14px; }
.eyebrow::before { content: ''; width: 28px; height: 1px; background: currentColor; }
.display {
  font-family: var(--serif); font-weight: 300; font-size: clamp(42px, 6.4vw, 112px); line-height: .98; letter-spacing: -.015em;
  margin: 0; text-transform: uppercase;
}
.h2 { font-family: var(--serif); font-weight: 300; font-size: clamp(34px, 4.4vw, 72px); line-height: 1.02; margin: 0; letter-spacing: -.01em; }
html[lang="ar"] .display, html[lang="ar"] .h2 { text-transform: none; letter-spacing: 0; line-height: 1.25; font-weight: 400; }
.lead { font-size: clamp(18px, 1.4vw, 22px); line-height: 1.55; color: var(--muted); max-width: 46ch; }
.line { display: block; overflow: hidden; padding-bottom: .06em; margin-bottom: -.06em; }
.line__in { display: block; will-change: transform; }

/* ---------- logo (masked SVG, recolourable) ---------- */
.logo { display: block; background: currentColor; -webkit-mask: var(--logo) no-repeat center / contain; mask: var(--logo) no-repeat center / contain; }
.logo--en { --logo: url(/img/brand/logo-en.svg); aspect-ratio: 444 / 86; width: 168px; }
.logo--ar { --logo: url(/img/brand/logo-ar.svg); aspect-ratio: 452 / 94; width: 170px; }
.logo--xl { width: min(420px, 80vw); }
.mark { display: inline-block; background: currentColor; -webkit-mask: url(/img/brand/mark.svg) no-repeat center / contain; mask: url(/img/brand/mark.svg) no-repeat center / contain; aspect-ratio: 121 / 86; width: 28px; }
html[dir="rtl"] .mark { transform: scaleX(-1); }

/* ---------- buttons ---------- */
.btn {
  --bg: transparent; --fg: currentColor;
  display: inline-flex; align-items: center; gap: 14px; height: 56px; padding: 0 28px; border-radius: 0;
  font-size: 13px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; background: var(--bg); color: var(--fg);
  position: relative; overflow: hidden; isolation: isolate; transition: color .5s var(--ease), border-color .5s var(--ease);
}
html[lang="ar"] .btn { letter-spacing: 0; font-size: 15px; }
.btn::before { content: ''; position: absolute; inset: 0; background: var(--red); transform: scaleY(0); transform-origin: bottom; transition: transform .6s var(--ease); z-index: -1; }
.btn:hover::before { transform: scaleY(1); }
.btn .arrow { width: 20px; height: 20px; transition: transform .5s var(--ease); }
html[dir="rtl"] .btn .arrow { transform: scaleX(-1); }
.btn:hover .arrow { transform: translateX(5px); }
html[dir="rtl"] .btn:hover .arrow { transform: scaleX(-1) translateX(5px); }
.btn--solid { --bg: var(--crimson); --fg: var(--ivory); }
.btn--light { --bg: var(--ivory); --fg: var(--charcoal); }
.btn--light:hover { color: var(--ivory); }
.btn--ghost { border: 1px solid currentColor; }
.btn--ghost:hover { border-color: var(--red); color: var(--ivory); }
.btn:disabled { opacity: .6; pointer-events: none; }
.link-arrow { display: inline-flex; gap: 12px; align-items: center; font-size: 13px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; border-bottom: 1px solid currentColor; padding-bottom: 6px; }
html[lang="ar"] .link-arrow { letter-spacing: 0; font-size: 15px; }
.link-arrow .arrow { width: 18px; height: 18px; transition: transform .5s var(--ease); }
html[dir="rtl"] .link-arrow .arrow { transform: scaleX(-1); }
.link-arrow:hover .arrow { transform: translateX(6px); }

/* ---------- header ---------- */
.header {
  position: fixed; inset: 0 0 auto; z-index: 60; height: var(--header-h); display: flex; align-items: center; justify-content: space-between;
  gap: 24px; padding-inline: var(--gutter); color: var(--ivory); transition: background .6s var(--ease), color .6s var(--ease), transform .8s var(--ease), height .6s var(--ease);
}
.header.is-solid { background: rgba(26, 30, 29, .82); backdrop-filter: blur(14px) saturate(1.2); -webkit-backdrop-filter: blur(14px); height: 68px; }
body[data-theme="light"] .header:not(.is-solid) { color: var(--charcoal); }
.header__logo .logo { width: 150px; }
.header__logo .logo--ar { width: 150px; }
.header__nav { display: flex; gap: clamp(20px, 2.6vw, 44px); font-size: 13px; letter-spacing: .16em; text-transform: uppercase; font-weight: 500; }
html[lang="ar"] .header__nav { letter-spacing: 0; font-size: 16px; }
.header__nav a { position: relative; padding: 6px 0; opacity: .86; transition: opacity .3s; }
.header__nav a::after { content: ''; position: absolute; inset: auto 0 0; height: 1px; background: var(--red); transform: scaleX(0); transform-origin: right; transition: transform .6s var(--ease); }
.header__nav a:hover, .header__nav a.is-active { opacity: 1; }
.header__nav a:hover::after, .header__nav a.is-active::after { transform: scaleX(1); transform-origin: left; }
.header__tools { display: flex; align-items: center; gap: 18px; }
.header__cta { height: 44px; padding: 0 20px; font-size: 12px; }
.lang { font-size: 13px; font-weight: 600; letter-spacing: .08em; padding: 8px 4px; opacity: .9; }
.burger { display: none; width: 40px; height: 40px; position: relative; }
.burger span { position: absolute; left: 8px; right: 8px; height: 1.5px; background: currentColor; transition: transform .5s var(--ease); }
.burger span:first-child { top: 16px; } .burger span:last-child { top: 24px; }
.menu-open .burger span:first-child { transform: translateY(4px) rotate(45deg); }
.menu-open .burger span:last-child { transform: translateY(-4px) rotate(-45deg); }
.menu {
  position: fixed; inset: 0; z-index: 55; background: var(--ink); color: var(--ivory); display: flex; flex-direction: column; justify-content: center;
  padding: 120px var(--gutter) 40px; clip-path: inset(0 0 100% 0); transition: clip-path .9s var(--ease); visibility: hidden;
}
.menu-open .menu { clip-path: inset(0 0 0 0); visibility: visible; }
.menu nav { display: grid; gap: 6px; }
.menu nav a { font-family: var(--serif); font-size: clamp(40px, 11vw, 72px); line-height: 1.1; font-weight: 300; display: flex; gap: 16px; align-items: baseline; opacity: 0; transform: translateY(30px); transition: opacity .7s var(--ease), transform .7s var(--ease); transition-delay: calc(.15s + var(--i) * .06s); }
.menu nav a small { font-family: var(--sans); font-size: 12px; color: var(--red); letter-spacing: .1em; }
.menu-open .menu nav a { opacity: 1; transform: none; }
.menu__foot { margin-top: auto; display: flex; justify-content: space-between; font-size: 14px; opacity: .7; }
.menu-open .header { color: var(--ivory); background: transparent; backdrop-filter: none; }

/* ---------- page transition ---------- */
.wipe { position: fixed; inset: 0; z-index: 200; background: var(--crimson); display: grid; place-items: center; pointer-events: none; transform: translateY(0); transition: transform 1s var(--ease) .1s; }
.wipe .mark { width: 64px; color: var(--ivory); opacity: 1; transition: opacity .4s; }
body.is-loaded .wipe { transform: translateY(-100%); }
body.is-loaded .wipe .mark { opacity: 0; }
body.is-leaving .wipe { transform: translateY(0); transition: transform .6s var(--ease); }
body.is-leaving .wipe .mark { opacity: 1; transition-delay: .3s; }
body[data-page="home"] .wipe { display: none; }

/* ---------- cursor ---------- */
.cursor { position: fixed; top: 0; left: 0; z-index: 300; pointer-events: none; mix-blend-mode: normal; opacity: 0; transition: opacity .3s; }
.cursor.is-on { opacity: 1; }
.cursor span {
  position: absolute; width: 10px; height: 10px; margin: -5px 0 0 -5px; border-radius: 50%; background: var(--red);
  display: grid; place-items: center; font-size: 0; color: var(--ivory); letter-spacing: .14em; text-transform: uppercase; font-weight: 600;
  transition: width .5s var(--ease), height .5s var(--ease), margin .5s var(--ease), font-size .3s, background .3s;
}
.cursor.is-link span { width: 44px; height: 44px; margin: -22px 0 0 -22px; background: rgba(223, 57, 49, .18); border: 1px solid var(--red); }
.cursor.is-view span { width: 96px; height: 96px; margin: -48px 0 0 -48px; font-size: 11px; background: var(--red); }

/* =====================================================================
   INTRO — cinematic filmstrip → hero
   ===================================================================== */
.intro { position: fixed; inset: 0; z-index: 100; background: var(--ink); color: var(--ivory); overflow: hidden; }
.intro__brand { position: absolute; inset: 0; display: grid; place-items: center; z-index: 3; pointer-events: none; }
.intro__logo { display: flex; align-items: center; gap: clamp(14px, 1.6vw, 26px); direction: ltr; }
.intro__bars { position: relative; width: clamp(72px, 8vw, 128px); aspect-ratio: 121 / 86; }
.intro__bars i { position: absolute; inset: 0; background: var(--ivory); -webkit-mask: var(--m) no-repeat center / contain; mask: var(--m) no-repeat center / contain; }
.intro__bars i:nth-child(1) { --m: url(/img/brand/mark-1.svg); }
.intro__bars i:nth-child(2) { --m: url(/img/brand/mark-2.svg); background: var(--red); }
.intro__bars i:nth-child(3) { --m: url(/img/brand/mark-3.svg); }
.intro__word { width: clamp(190px, 20vw, 316px); aspect-ratio: 298 / 86; background: var(--ivory); -webkit-mask: url(/img/brand/wordmark-en.svg) no-repeat center / contain; mask: url(/img/brand/wordmark-en.svg) no-repeat center / contain; }
.intro__strip { position: absolute; top: 50%; left: 0; display: flex; gap: clamp(14px, 1.6vw, 28px); will-change: transform; z-index: 2; }
.intro__card { flex: none; width: clamp(220px, 24vw, 420px); aspect-ratio: 4 / 5; overflow: hidden; position: relative; background: #111; transform: translateY(-50%); }
.intro__card img { position: absolute; inset: -6% -14%; width: 128%; height: 112%; object-fit: cover; will-change: transform; }
.intro__card::after { content: ''; position: absolute; inset: 0; background: rgba(0, 0, 0, .3); }
.intro__meta { position: absolute; inset: auto var(--gutter) clamp(22px, 4vh, 40px); display: flex; justify-content: space-between; align-items: flex-end; z-index: 4; font-size: 12px; letter-spacing: .24em; text-transform: uppercase; }
.intro__count { font-family: 'Source Serif 4', serif; font-size: clamp(36px, 4vw, 64px); letter-spacing: 0; line-height: 1; font-variant-numeric: tabular-nums; }
.intro__count small { font-size: .35em; opacity: .6; margin-inline-start: 6px; vertical-align: top; }
.intro__caption { opacity: .7; max-width: 32ch; text-align: end; }
.intro__skip { position: absolute; top: 28px; inset-inline-end: var(--gutter); z-index: 5; font-size: 12px; letter-spacing: .22em; text-transform: uppercase; opacity: .7; padding: 10px 0; border-bottom: 1px solid currentColor; }
.intro__skip:hover { opacity: 1; color: var(--red); }
.intro__progress { position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--red); transform-origin: left; transform: scaleX(0); z-index: 4; }
.intro__expand { position: fixed; z-index: 6; overflow: hidden; }
.intro__expand img { width: 100%; height: 100%; object-fit: cover; }
.intro__expand::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(26, 30, 29, .55), rgba(26, 30, 29, .2) 40%, rgba(26, 30, 29, .7)); opacity: var(--shade, 0); }
body.intro-running { overflow: hidden; }

/* =====================================================================
   HERO
   ===================================================================== */
.hero { position: relative; height: 100svh; min-height: 640px; color: var(--ivory); overflow: hidden; background: var(--ink); }
.hero__media { position: absolute; inset: 0; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; transform-origin: center; }
.hero__shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(26, 30, 29, .55), rgba(26, 30, 29, .2) 40%, rgba(26, 30, 29, .7)); }
.hero__content { position: relative; z-index: 2; height: 100%; display: flex; flex-direction: column; justify-content: flex-end; padding-bottom: clamp(110px, 16vh, 170px); }
.hero .eyebrow { color: rgba(252, 249, 245, .8); }
.hero__title { font-size: clamp(52px, 9vw, 168px); max-width: 14ch; }
.hero__row { display: flex; justify-content: space-between; align-items: flex-end; gap: 40px; margin-top: clamp(28px, 4vh, 48px); flex-wrap: wrap; }
.hero__sub { margin: 0; max-width: 40ch; font-size: clamp(16px, 1.25vw, 20px); color: rgba(252, 249, 245, .82); }
.hero__ctas { display: flex; gap: 14px; flex-wrap: wrap; }
.hero__foot { position: absolute; z-index: 2; inset: auto var(--gutter) 28px; display: flex; justify-content: space-between; align-items: center; font-size: 12px; letter-spacing: .24em; text-transform: uppercase; color: rgba(252, 249, 245, .7); }
html[lang="ar"] .hero__foot { letter-spacing: 0; font-size: 14px; }
.scrollcue { display: flex; align-items: center; gap: 14px; }
.scrollcue i { width: 1px; height: 46px; background: rgba(252, 249, 245, .3); position: relative; overflow: hidden; }
.scrollcue i::after { content: ''; position: absolute; inset: 0; background: var(--ivory); animation: cue 2.2s var(--ease) infinite; }
@keyframes cue { 0% { transform: translateY(-100%); } 60%, 100% { transform: translateY(100%); } }
.hero__places span + span::before { content: '·'; margin: 0 12px; color: var(--red); }

/* =====================================================================
   SECTIONS
   ===================================================================== */
.section { padding-block: clamp(96px, 14vw, 200px); position: relative; }
.section--dark { background: var(--ink); color: var(--ivory); }
.section--dark .eyebrow, .section--dark .lead { color: rgba(252, 249, 245, .62); }
.section--stone { background: var(--stone-2); }
.section__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 40px; margin-bottom: clamp(48px, 7vw, 96px); flex-wrap: wrap; }

/* statement */
.statement { display: grid; grid-template-columns: minmax(180px, 1fr) 3fr; gap: 40px; }
.statement__text { font-family: var(--serif); font-weight: 300; font-size: clamp(28px, 3.5vw, 58px); line-height: 1.18; margin: 0; letter-spacing: -.01em; }
html[lang="ar"] .statement__text { line-height: 1.6; letter-spacing: 0; }
.statement__text .word { display: inline-block; opacity: .16; transition: opacity .2s; }
.no-anim .statement__text .word { opacity: 1; }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); margin-top: clamp(80px, 10vw, 140px); }
.stat { padding: 36px 24px 0 0; border-inline-end: 1px solid var(--line); }
.stat:last-child { border: 0; }
.stat + .stat { padding-inline-start: 28px; }
.stat__num { font-family: 'Source Serif 4', serif; font-weight: 300; font-size: clamp(54px, 6vw, 104px); line-height: 1; letter-spacing: -.02em; display: flex; align-items: baseline; }
.stat__num sup { font-size: .42em; color: var(--red); margin-inline-start: 4px; top: 0; }
.stat__label { margin-top: 14px; color: var(--muted); font-size: 14px; letter-spacing: .08em; text-transform: uppercase; }
html[lang="ar"] .stat__label { letter-spacing: 0; font-size: 16px; }

/* featured projects — pinned horizontal */
.featured { background: var(--ink); color: var(--ivory); overflow: hidden; padding-top: clamp(96px, 12vw, 160px); }
.featured .eyebrow { color: rgba(252, 249, 245, .6); }
.featured__pin { position: relative; }
.featured__track { display: flex; gap: clamp(20px, 2.4vw, 40px); padding-inline: var(--gutter); padding-bottom: clamp(80px, 10vw, 140px); will-change: transform; }
.pcard { flex: none; width: clamp(300px, 38vw, 620px); display: block; position: relative; }
.pcard:nth-child(3n+2) { margin-top: clamp(40px, 8vh, 110px); }
.pcard__media { position: relative; aspect-ratio: 4 / 5; overflow: hidden; background: #111; }
.pcard__media > img, .pcard__media > .brandcover { position: absolute; inset: -8% 0; width: 100%; height: 116%; object-fit: cover; transition: transform 1.4s var(--ease); }
.pcard:hover .pcard__media > img, .pcard:hover .pcard__media > .brandcover { transform: scale(1.06); }
.pcard__media::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 50%, rgba(0, 0, 0, .55)); }
.pcard__num { position: absolute; top: 20px; inset-inline-start: 22px; z-index: 2; font-family: 'Source Serif 4', serif; font-size: 15px; color: var(--ivory); }
.pcard__status { position: absolute; top: 18px; inset-inline-end: 18px; z-index: 2; font-size: 11px; letter-spacing: .16em; text-transform: uppercase; padding: 7px 12px; border: 1px solid rgba(252, 249, 245, .5); color: var(--ivory); backdrop-filter: blur(6px); }
.pcard__status.is-live { background: var(--red); border-color: var(--red); }
html[lang="ar"] .pcard__status { letter-spacing: 0; font-size: 13px; }
.pcard__body { padding-top: 22px; display: flex; justify-content: space-between; gap: 20px; }
.pcard__title { font-family: var(--serif); font-weight: 400; font-size: clamp(24px, 2.2vw, 36px); line-height: 1.1; margin: 0 0 8px; }
.pcard__loc { margin: 0; font-size: 14px; opacity: .6; }
.pcard__year { font-family: 'Source Serif 4', serif; font-size: 18px; opacity: .6; white-space: nowrap; }
.featured__end { flex: none; width: clamp(280px, 30vw, 460px); display: flex; flex-direction: column; justify-content: center; gap: 28px; }
.featured__end p { font-family: var(--serif); font-size: clamp(26px, 2.6vw, 42px); line-height: 1.15; margin: 0; font-weight: 300; }
.featured__progress { position: absolute; inset: auto var(--gutter) 40px; height: 1px; background: var(--line-light); }
.featured__progress i { position: absolute; inset: 0; background: var(--red); transform-origin: left; transform: scaleX(0); }
html[dir="rtl"] .featured__progress i { transform-origin: right; }

/* pinned reel mode (desktop) — cards sized to the viewport height */
.reel .featured { padding-top: 0; }
.reel .featured__pin { height: 100vh; display: flex; flex-direction: column; justify-content: center; padding-top: var(--header-h); }
.reel .featured__pin .section__head { margin-bottom: 4vh; }
.reel .featured__track { align-items: flex-start; padding-bottom: 0; }
.reel .pcard { width: calc(min(54vh, 620px) * .8); margin-top: 0 !important; }
.reel .pcard:nth-child(2n) { width: calc(min(54vh, 620px) * 1.3); margin-top: 6vh !important; }
.reel .pcard__media { aspect-ratio: auto; height: min(54vh, 620px); }
.reel .pcard:nth-child(2n) .pcard__media { height: min(46vh, 520px); }
.reel .featured__end { align-self: center; }

/* brand cover (projects without photography) */
.brandcover { display: block; overflow: hidden; color: var(--ivory); background: var(--charcoal); --slab: var(--red); }
.brandcover--v1 { background: var(--crimson); --slab: rgba(252, 249, 245, .16); }
.brandcover--v2 { background: var(--stone); color: var(--charcoal); --slab: var(--crimson); }
.brandcover__slabs { position: absolute; inset-inline: -12% -4%; bottom: 6%; height: 52%; background: var(--slab); transform: rotate(-3deg);
  -webkit-mask: url(/img/brand/slabs.svg) no-repeat 0 0 / 100% 100%; mask: url(/img/brand/slabs.svg) no-repeat 0 0 / 100% 100%; }
html[dir="rtl"] .brandcover__slabs { transform: scaleX(-1) rotate(-3deg); }
.brandcover--v0::before { content: ''; position: absolute; inset: 0; background: radial-gradient(120% 80% at 20% 0%, rgba(255, 255, 255, .07), transparent 60%); }
.brandcover__tag { position: absolute; inset-inline-start: 8%; top: 9%; font-family: 'Barlow', var(--sans); font-size: 11px; letter-spacing: .26em; text-transform: uppercase; opacity: .7; }
html[lang="ar"] .brandcover__tag { letter-spacing: 0; font-size: 13px; }
.brandcover__name { position: absolute; inset-inline-start: 8%; top: 17%; inset-inline-end: 10%; font-family: var(--serif); font-size: clamp(28px, 3vw, 52px); line-height: 1.02; font-weight: 300; text-transform: uppercase; }
html[lang="ar"] .brandcover__name { text-transform: none; line-height: 1.4; }

/* services */
.services { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); }
.service { padding: 44px 36px 52px 0; border-inline-end: 1px solid var(--line); position: relative; }
.service + .service { padding-inline-start: 36px; }
.service:last-child { border: 0; }
.service__no { font-family: 'Source Serif 4', serif; color: var(--red); font-size: 15px; }
.service h3 { font-family: var(--serif); font-weight: 400; font-size: clamp(26px, 2.3vw, 38px); margin: 64px 0 18px; line-height: 1.1; }
.service p { color: var(--muted); margin: 0 0 24px; }
.service ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; font-size: 15px; }
.service li { display: flex; gap: 12px; align-items: baseline; }
.service li::before { content: ''; flex: none; width: 14px; height: 1px; background: var(--crimson); transform: translateY(-4px); }
.services__visual { margin-top: clamp(60px, 8vw, 120px); position: relative; aspect-ratio: 21 / 9; overflow: hidden; }
.services__visual img { position: absolute; inset: -12% 0; width: 100%; height: 124%; object-fit: cover; }
.services__visual::after { content: ''; position: absolute; inset: 0; background: rgba(0, 0, 0, .3); }
.services__quote { position: absolute; z-index: 2; inset: auto var(--gutter) clamp(28px, 5vw, 64px); color: var(--ivory); font-family: var(--serif); font-size: clamp(26px, 3.4vw, 56px); line-height: 1.1; font-weight: 300; max-width: 22ch; margin: 0; }

/* clients marquee */
.clients { border-block: 1px solid var(--line); padding-block: 28px; overflow: hidden; background: var(--ivory); }
.clients__label { text-align: center; font-size: 12px; letter-spacing: .26em; text-transform: uppercase; color: var(--muted); margin: 0 0 22px; }
html[lang="ar"] .clients__label { letter-spacing: 0; font-size: 14px; }
.marquee { display: flex; width: max-content; animation: marquee 48s linear infinite; }
html[dir="rtl"] .marquee { animation-direction: reverse; }
.marquee:hover { animation-play-state: paused; }
.marquee span { font-family: var(--serif); font-size: clamp(22px, 2.2vw, 34px); font-weight: 300; padding-inline: 34px; white-space: nowrap; display: inline-flex; align-items: center; gap: 68px; }
.marquee span::after { content: ''; width: 22px; aspect-ratio: 121 / 86; background: var(--red); -webkit-mask: url(/img/brand/mark.svg) no-repeat center / contain; mask: url(/img/brand/mark.svg) no-repeat center / contain; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* spotlight */
.spotlight { display: grid; grid-template-columns: 1.15fr 1fr; min-height: 100svh; background: var(--crimson); color: var(--ivory); }
.spotlight__media { position: relative; overflow: hidden; min-height: 60vh; }
.spotlight__media > img, .spotlight__media > .brandcover { position: absolute; inset: -10% 0; width: 100%; height: 120%; object-fit: cover; }
.spotlight__body { padding: clamp(60px, 8vw, 120px) var(--gutter); display: flex; flex-direction: column; justify-content: center; gap: 28px; }
.spotlight__badge { align-self: flex-start; display: inline-flex; gap: 10px; align-items: center; font-size: 12px; letter-spacing: .22em; text-transform: uppercase; padding: 9px 14px; background: var(--red); }
html[lang="ar"] .spotlight__badge { letter-spacing: 0; font-size: 14px; }
.spotlight__badge::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: var(--ivory); animation: pulse 1.6s ease-in-out infinite; }
@keyframes pulse { 50% { opacity: .25; } }
.spotlight h2 { font-family: var(--serif); font-weight: 300; font-size: clamp(48px, 6vw, 104px); line-height: .95; margin: 0; text-transform: uppercase; }
html[lang="ar"] .spotlight h2 { text-transform: none; line-height: 1.3; }
.spotlight__loc { opacity: .8; margin: 0; }
.spotlight__text { margin: 0; color: rgba(252, 249, 245, .82); max-width: 48ch; }
.spotlight__facts { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line-light); }
.spotlight__facts div { padding: 22px 16px 0 0; }
.spotlight__facts b { display: block; font-family: 'Source Serif 4', serif; font-weight: 300; font-size: clamp(34px, 3.4vw, 56px); line-height: 1; }
.spotlight__facts small { display: block; margin-top: 8px; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; opacity: .72; }
html[lang="ar"] .spotlight__facts small { letter-spacing: 0; font-size: 14px; }

/* news */
.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 2.4vw, 40px); }
.ncard { display: flex; flex-direction: column; gap: 18px; }
.ncard__media { aspect-ratio: 3 / 2; overflow: hidden; position: relative; background: var(--stone); }
.ncard__media img, .ncard__media .brandcover { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.ncard:hover .ncard__media img { transform: scale(1.05); }
.ncard__meta { display: flex; gap: 14px; font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
html[lang="ar"] .ncard__meta { letter-spacing: 0; font-size: 14px; }
.ncard__meta b { color: var(--crimson); font-weight: 600; }
.ncard h3 { font-family: var(--serif); font-weight: 400; font-size: clamp(22px, 1.8vw, 30px); line-height: 1.2; margin: 0; transition: color .3s; }
.ncard:hover h3 { color: var(--crimson); }
.ncard p { margin: 0; color: var(--muted); font-size: 15px; }
.ncard--lead { grid-column: span 2; }
.ncard--lead .ncard__media { aspect-ratio: 16 / 9; }
.ncard--lead h3 { font-size: clamp(28px, 3vw, 48px); }

/* contact */
.contact { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(40px, 8vw, 140px); }
.contact__info { display: grid; gap: 34px; align-content: start; margin-top: 48px; }
.contact__info h4 { margin: 0 0 8px; font-size: 12px; letter-spacing: .22em; text-transform: uppercase; color: rgba(252, 249, 245, .5); font-weight: 500; }
html[lang="ar"] .contact__info h4 { letter-spacing: 0; font-size: 14px; }
.contact__info p { margin: 0; font-size: 18px; }
.contact__info a:hover { color: var(--red); }
.form { display: grid; gap: 8px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.field { position: relative; padding-top: 22px; }
.field input, .field textarea, .field select {
  width: 100%; background: transparent; border: 0; border-bottom: 1px solid var(--line-light); color: inherit; font: inherit; font-size: 18px;
  padding: 12px 0; border-radius: 0; outline: none; transition: border-color .4s; resize: vertical; appearance: none;
}
.field select { cursor: pointer; }
.field select option { color: var(--charcoal); }
.field--select::after { content: ''; position: absolute; inset-inline-end: 4px; bottom: 22px; width: 8px; height: 8px; border: solid currentColor; border-width: 0 1px 1px 0; transform: rotate(45deg); opacity: .6; pointer-events: none; }
.field label { position: absolute; inset-inline-start: 0; top: 34px; font-size: 16px; color: rgba(252, 249, 245, .55); pointer-events: none; transition: transform .4s var(--ease), font-size .4s var(--ease), top .4s var(--ease); }
.field input:focus, .field textarea:focus, .field select:focus { border-color: var(--red); }
.field input:focus + label, .field input:not(:placeholder-shown) + label,
.field textarea:focus + label, .field textarea:not(:placeholder-shown) + label, .field--select label { top: 0; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; }
html[lang="ar"] .field label { letter-spacing: 0 !important; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.form__foot { display: flex; align-items: center; gap: 24px; margin-top: 28px; flex-wrap: wrap; }
.form__msg { margin: 0; font-size: 15px; }
.form__msg.is-ok { color: #9fd8b1; }
.form__msg.is-error { color: #ff8a80; }
.form--light .field input, .form--light .field textarea, .form--light .field select { border-color: var(--line); }
.form--light .field label { color: var(--muted); }

/* footer */
.footer { background: var(--ink); color: var(--ivory); padding-top: clamp(80px, 10vw, 140px); border-top: 1px solid var(--line-light); }
.footer__top { display: grid; grid-template-columns: 1.1fr 2fr; gap: 60px; padding-bottom: 80px; }
.footer__tag { font-family: var(--serif); font-size: clamp(24px, 2.4vw, 40px); line-height: 1.15; margin: 40px 0 0; font-weight: 300; opacity: .9; }
.footer__cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 36px; }
.footer h4 { margin: 0 0 18px; font-size: 12px; letter-spacing: .22em; text-transform: uppercase; color: rgba(252, 249, 245, .45); font-weight: 500; }
html[lang="ar"] .footer h4 { letter-spacing: 0; font-size: 14px; }
.footer p { margin: 0 0 10px; font-size: 15px; opacity: .85; }
.footer a:hover { color: var(--red); }
.footer__bottom { display: flex; justify-content: space-between; align-items: center; padding-block: 26px; border-top: 1px solid var(--line-light); font-size: 13px; opacity: .6; }
.footer__mark .mark { color: var(--red); width: 26px; }

/* =====================================================================
   INNER PAGES
   ===================================================================== */
.pagehead { padding-top: calc(var(--header-h) + clamp(60px, 10vw, 140px)); padding-bottom: clamp(48px, 6vw, 80px); }
.pagehead .display { max-width: 16ch; }
.pagehead .lead { margin: 28px 0 0; }
.filters { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 48px; }
.chip { height: 42px; padding: 0 18px; border: 1px solid var(--line); font-size: 13px; letter-spacing: .1em; text-transform: uppercase; transition: all .4s var(--ease); }
html[lang="ar"] .chip { letter-spacing: 0; font-size: 15px; }
.chip:hover { border-color: var(--charcoal); }
.chip.is-active { background: var(--charcoal); color: var(--ivory); border-color: var(--charcoal); }
.chip sup { margin-inline-start: 6px; opacity: .6; }
.pgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(28px, 3vw, 48px) clamp(20px, 2.4vw, 40px); padding-bottom: 140px; }
.pgrid .pcard { width: auto; margin: 0 !important; }
.pgrid .pcard__media { aspect-ratio: 4 / 4.6; }
.pgrid .pcard__body { color: var(--charcoal); }
.pgrid .pcard__loc, .pgrid .pcard__year { opacity: .7; color: var(--muted); }
.pgrid .pcard.is-hidden { display: none; }
.pgrid .pcard:nth-child(3n+2) { transform: translateY(60px); }
.empty { padding: 60px 0; color: var(--muted); }

/* project detail */
.phero { position: relative; height: 92svh; min-height: 560px; color: var(--ivory); overflow: hidden; background: var(--ink); }
.phero__media { position: absolute; inset: 0; }
.phero__media > img, .phero__media > .brandcover { position: absolute; inset: -6% 0; width: 100%; height: 112%; object-fit: cover; }
.phero::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(26, 30, 29, .5), rgba(26, 30, 29, .15) 45%, rgba(26, 30, 29, .78)); }
.phero__content { position: relative; z-index: 2; height: 100%; display: flex; flex-direction: column; justify-content: flex-end; padding-bottom: clamp(48px, 8vh, 96px); }
.phero .eyebrow { color: rgba(252, 249, 245, .8); }
.phero h1 { font-size: clamp(48px, 8vw, 140px); }
.pmeta { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); }
.pmeta div { padding: 26px 20px 26px 0; border-bottom: 1px solid var(--line); }
.pmeta dt { font-size: 12px; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; }
html[lang="ar"] .pmeta dt { letter-spacing: 0; font-size: 14px; }
.pmeta dd { margin: 0; font-family: var(--serif); font-size: 20px; line-height: 1.3; }
.pbody { display: grid; grid-template-columns: 1fr 1.6fr; gap: clamp(40px, 8vw, 140px); }
.pbody__summary { font-family: var(--serif); font-size: clamp(26px, 2.6vw, 40px); line-height: 1.2; margin: 0; font-weight: 300; }
.prose p { margin: 0 0 1.3em; font-size: 18px; line-height: 1.75; color: #3f4442; }
.prose p:first-child::first-letter { font-family: var(--serif); float: inline-start; font-size: 4.4em; line-height: .82; padding-inline-end: 12px; padding-top: 6px; color: var(--crimson); }
html[lang="ar"] .prose p:first-child::first-letter { float: none; font-size: inherit; padding: 0; color: inherit; }
.pgallery { display: grid; grid-template-columns: repeat(12, 1fr); gap: 16px; }
.pgallery figure { margin: 0; overflow: hidden; position: relative; cursor: zoom-in; aspect-ratio: 16 / 10; }
.pgallery figure:nth-child(3n+1) { grid-column: span 12; aspect-ratio: 21 / 9; }
.pgallery figure:nth-child(3n+2), .pgallery figure:nth-child(3n+3) { grid-column: span 6; }
.pgallery img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.pgallery figure:hover img { transform: scale(1.04); }
.pnext { display: block; position: relative; height: 70vh; min-height: 420px; overflow: hidden; color: var(--ivory); background: var(--ink); }
.pnext__media { position: absolute; inset: 0; opacity: .55; transition: opacity .8s var(--ease), transform 1.6s var(--ease); }
.pnext__media > img, .pnext__media > .brandcover { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.pnext:hover .pnext__media { opacity: .8; transform: scale(1.04); }
.pnext__content { position: relative; z-index: 2; height: 100%; display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center; gap: 16px; }
.pnext .eyebrow { color: rgba(252, 249, 245, .75); margin: 0; }
.lightbox { position: fixed; inset: 0; z-index: 150; background: rgba(15, 17, 17, .96); display: grid; place-items: center; opacity: 0; pointer-events: none; transition: opacity .5s var(--ease); }
.lightbox.is-open { opacity: 1; pointer-events: auto; }
.lightbox img { max-width: 92vw; max-height: 86vh; object-fit: contain; }
.lightbox button { position: absolute; color: var(--ivory); font-size: 13px; letter-spacing: .2em; text-transform: uppercase; padding: 16px; }
.lightbox [data-close] { top: 18px; inset-inline-end: 18px; }
.lightbox [data-prev] { left: 12px; top: 50%; } .lightbox [data-next] { right: 12px; top: 50%; }

/* article */
.article-head { padding-top: calc(var(--header-h) + clamp(60px, 9vw, 120px)); padding-bottom: 48px; max-width: 1100px; }
.article-head h1 { font-family: var(--serif); font-weight: 300; font-size: clamp(38px, 5vw, 80px); line-height: 1.05; margin: 0; }
html[lang="ar"] .article-head h1 { line-height: 1.35; }
.article-head .ncard__meta { margin-bottom: 28px; }
.article-cover { aspect-ratio: 21 / 9; overflow: hidden; position: relative; margin-bottom: clamp(48px, 7vw, 100px); }
.article-cover > img, .article-cover > .brandcover { position: absolute; inset: -10% 0; width: 100%; height: 120%; object-fit: cover; }
.article-body { max-width: 760px; margin-inline: auto; padding-bottom: clamp(80px, 10vw, 140px); }
.article-body .excerpt { font-family: var(--serif); font-size: clamp(22px, 2vw, 30px); line-height: 1.35; margin: 0 0 40px; color: var(--charcoal); }

/* no-JS / reduced-motion fallbacks */
.no-anim [data-reveal] { opacity: 1 !important; transform: none !important; }

/* =====================================================================
   RESPONSIVE
   ===================================================================== */
@media (max-width: 1100px) {
  .header__nav, .header__cta { display: none; }
  .burger { display: block; }
  .header__tools > .lang { display: none; }
  .news-grid { grid-template-columns: 1fr 1fr; }
  .ncard--lead { grid-column: span 2; }
  .pgrid { grid-template-columns: 1fr 1fr; }
  .pgrid .pcard:nth-child(3n+2) { transform: none; }
  .pgrid .pcard:nth-child(2n) { transform: translateY(48px); }
  .pmeta { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
  .statement, .contact, .pbody, .footer__top, .spotlight { grid-template-columns: 1fr; }
  .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); margin-top: 32px; }
  .stat:nth-child(3) { padding-inline-start: 0; }
  .services { grid-template-columns: 1fr; }
  .service, .service + .service { padding: 36px 0 40px; border-inline-end: 0; border-bottom: 1px solid var(--line); }
  .service h3 { margin-top: 28px; }
  .featured__track { overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
  .featured__track::-webkit-scrollbar { display: none; }
  .pcard { width: 78vw; scroll-snap-align: start; }
  .pcard:nth-child(3n+2) { margin-top: 0; }
  .featured__end { width: 70vw; }
  .featured__progress { display: none; }
  .spotlight__media { min-height: 56vh; }
}
@media (max-width: 640px) {
  :root { --header-h: 70px; }
  body { font-size: 16px; }
  .header__logo .logo { width: 124px; }
  .hero__foot .hero__places { display: none; }
  .hero__ctas .btn { flex: 1; justify-content: center; }
  .field-row, .news-grid, .pgrid { grid-template-columns: 1fr; }
  .ncard--lead { grid-column: auto; }
  .pgrid .pcard:nth-child(2n) { transform: none; }
  .pmeta { grid-template-columns: 1fr; }
  .pgallery figure, .pgallery figure:nth-child(3n+1) { grid-column: span 12; aspect-ratio: 4 / 3; }
  .spotlight__facts { grid-template-columns: 1fr 1fr; }
  .intro__meta .intro__caption { display: none; }
  .stat__num { font-size: 52px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
