/* V-Pergola — site styles (RTL-first with logical properties) */
:root {
  --ink: #141414; --ink-2: #2a2826; --mute: #5d5850; --line: rgba(20, 20, 20, .12);
  --bronze: #B08A55; --bronze-d: #7E5B2A; --bronze-l: #d9c3a0;
  --ivory: #F4EFE7; --paper: #FAF7F2; --white: #fff;
  --r: 18px; --r-lg: 28px;
  --wrap: 1320px; --gut: clamp(16px, 4vw, 40px);
  --ease: cubic-bezier(.22, .8, .2, 1);
  --f-en: 'Jost', system-ui, sans-serif;
  --f-ar-h: 'Noto Kufi Arabic', 'IBM Plex Sans Arabic', system-ui, sans-serif;
  --f-ar: 'IBM Plex Sans Arabic', 'Noto Kufi Arabic', system-ui, sans-serif;
  --f-body: var(--f-ar); --f-head: var(--f-ar-h);
  --hdr-h: 84px;
}
.lang-en { --f-body: var(--f-en); --f-head: var(--f-en); }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 90px; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--f-body); font-size: 17px; line-height: 1.75; overflow-x: hidden; -webkit-font-smoothing: antialiased; }
.lang-en body, body.lang-en { line-height: 1.65; }
img, video, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
h1, h2, h3 { font-family: var(--f-head); font-weight: 600; margin: 0; line-height: 1.25; letter-spacing: -.005em; }
.lang-en h1, .lang-en h2, .lang-en h3 { font-weight: 500; letter-spacing: -.02em; line-height: 1.1; }
p { margin: 0; }
[lang="en"] { font-family: var(--f-en); }
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gut); }
.skip { position: absolute; inset-inline-start: -999px; top: 8px; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 10px; z-index: 100; }
.skip:focus { inset-inline-start: 8px; }
:focus-visible { outline: 2px solid var(--bronze); outline-offset: 3px; border-radius: 6px; }
section { position: relative; }

/* type helpers */
.kicker { font-family: var(--f-en); font-size: 13px; letter-spacing: .22em; text-transform: uppercase; color: var(--bronze-d); font-weight: 500; display: inline-flex; align-items: center; gap: 12px; }
.lang-ar .kicker { font-family: var(--f-ar); letter-spacing: 0; font-size: 15px; font-weight: 500; text-transform: none; }
.kicker::before { content: ""; width: 28px; height: 1px; background: currentColor; opacity: .7; }
.kicker-light { color: var(--bronze-l); }
.ttl { margin-block-end: clamp(28px, 4vw, 52px); max-width: 860px; }
.ttl h2 { font-size: clamp(32px, 5.2vw, 68px); margin-block-start: 14px; }
.ttl-sm h2 { font-size: clamp(26px, 3.4vw, 44px); }
.h-sm { font-size: clamp(22px, 2.4vw, 30px); margin-block-end: 22px; }
.lead { font-size: clamp(17px, 1.5vw, 20px); color: var(--mute); max-width: 640px; }
.ic { width: 22px; height: 22px; flex: none; }
[dir="rtl"] .ic-dir { transform: scaleX(-1); }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 26px; border-radius: 999px; border: 1px solid transparent; font-weight: 500; font-size: 16px; transition: background .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease), transform .25s var(--ease); white-space: nowrap; }
.btn:active { transform: scale(.98); }
.btn-sm { min-height: 42px; padding: 0 18px; font-size: 14.5px; }
.btn-bronze { background: var(--bronze); color: #fff; }
.btn-bronze:hover { background: var(--bronze-d); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: #000; }
.btn-light { background: #fff; color: var(--ink); }
.btn-light:hover { background: var(--ivory); }
.btn-ghost-light { border-color: rgba(255, 255, 255, .55); color: #fff; backdrop-filter: blur(6px); }
.btn-ghost-light:hover { background: rgba(255, 255, 255, .14); border-color: #fff; }

/* header */
.hdr { position: fixed; inset-inline: 0; top: 0; z-index: 50; padding: 14px var(--gut); transition: transform .45s var(--ease); }
.hdr-in { max-width: calc(var(--wrap) - 40px); margin-inline: auto; display: flex; align-items: center; gap: 22px; padding: 8px 10px 8px 18px; border-radius: 999px; transition: background .35s var(--ease), box-shadow .35s var(--ease), border-color .35s; border: 1px solid transparent; }
[dir="rtl"] .hdr-in { padding: 8px 18px 8px 10px; }
.hdr.solid .hdr-in { background: rgba(250, 247, 242, .86); backdrop-filter: blur(16px) saturate(1.4); -webkit-backdrop-filter: blur(16px) saturate(1.4); border-color: var(--line); box-shadow: 0 10px 40px -18px rgba(20, 20, 20, .25); }
.hdr.hide { transform: translateY(-120%); }
.logo { position: relative; display: block; width: 116px; height: 84px; flex: none; }
.logo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; transition: opacity .3s; }
.logo-w { filter: drop-shadow(0 1px 10px rgba(0, 0, 0, .55)); }
.logo-c { opacity: 0; }
.hdr.solid .logo-c, .hdr.dark .logo-c { opacity: 1; }
.hdr.solid .logo-w, .hdr.dark .logo-w { opacity: 0; }
.nav { display: flex; gap: 4px; margin-inline: auto; }
.nav-link { padding: 10px 16px; border-radius: 999px; color: #fff; font-size: 15.5px; transition: background .2s, color .2s; }
.nav-link:hover { background: rgba(255, 255, 255, .14); }
.hdr.solid .nav-link, .hdr.dark .nav-link { color: var(--ink); }
.hdr.solid .nav-link:hover, .hdr.dark .nav-link:hover { background: rgba(20, 20, 20, .06); }
.hdr-act { display: flex; align-items: center; gap: 10px; }
.lang { min-width: 42px; height: 42px; display: grid; place-items: center; border-radius: 999px; color: #fff; border: 1px solid rgba(255, 255, 255, .45); font-family: var(--f-en); font-weight: 500; font-size: 14px; }
.lang-en .lang { font-family: var(--f-ar); font-size: 16px; }
.hdr.solid .lang, .hdr.dark .lang { color: var(--ink); border-color: var(--line); }
.burger { display: none; width: 44px; height: 44px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .45); background: transparent; color: #fff; place-items: center; }
.hdr.solid .burger, .hdr.dark .burger { color: var(--ink); border-color: var(--line); }
.drawer { position: fixed; inset: 0; background: rgba(250, 247, 242, .98); backdrop-filter: blur(10px); z-index: -1; padding: 110px var(--gut) 40px; overflow: auto; }
.drawer-in { display: grid; gap: 28px; max-width: 560px; margin-inline: auto; }
.drawer nav { display: grid; }
.drawer nav a { font-family: var(--f-head); font-size: 28px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.drawer-prod { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.drawer-prod a { padding: 12px 14px; border-radius: 14px; background: var(--ivory); display: grid; line-height: 1.35; }
.drawer-prod span { font-family: var(--f-en); font-size: 14px; font-weight: 500; }
.drawer-prod small { color: var(--mute); font-size: 13px; }
.lang-en .drawer-prod small { display: none; }
body.menu-open { overflow: hidden; }
body.menu-open .hdr .hdr-in { background: transparent; box-shadow: none; border-color: transparent; }
body.menu-open .logo-c { opacity: 1; } body.menu-open .logo-w { opacity: 0; }
body.menu-open .lang, body.menu-open .burger { color: var(--ink); border-color: var(--line); }

/* hero */
.hero { min-height: 100svh; display: flex; align-items: flex-end; color: #fff; overflow: hidden; isolation: isolate; }
.hero-media { position: absolute; inset: 0; z-index: -1; background: #1d1c1a; }
.hero-video { width: 100%; height: 100%; object-fit: cover; }
.hero-shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10, 10, 10, .42) 0%, rgba(10, 10, 10, 0) 24%, rgba(10, 10, 10, .08) 50%, rgba(10, 10, 10, .78) 100%), linear-gradient(var(--shade-dir, 270deg), rgba(10, 10, 10, .62) 0%, rgba(10, 10, 10, 0) 60%); }
[dir="ltr"] .hero-shade { --shade-dir: 90deg; }
.hero-in { padding-block: 160px clamp(70px, 11vh, 120px); }
.hero-h { font-size: clamp(42px, 7.4vw, 112px); max-width: 15ch; margin-block: 28px 22px; text-wrap: balance; }
.lang-ar .hero-h { font-size: clamp(34px, 5vw, 76px); max-width: 17ch; line-height: 1.35; }
.hero-h, .hero-in [data-hero-in] { animation: heroIn 1.2s var(--ease) both; }
.hero-h { animation-delay: .1s; }
.hero-sub { animation-delay: .3s !important; }
.hero-cta { animation-delay: .45s !important; }
@keyframes heroIn { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }
.hero-sub { font-size: clamp(17px, 1.6vw, 21px); max-width: 620px; color: rgba(255, 255, 255, .86); }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-block-start: 34px; }
.hero-scroll { position: absolute; bottom: 28px; inset-inline-end: var(--gut); display: flex; flex-direction: column; align-items: center; gap: 10px; font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: rgba(255, 255, 255, .75); font-family: var(--f-en); }
.lang-ar .hero-scroll { letter-spacing: 0; font-family: var(--f-ar); font-size: 13px; }
.hero-scroll span { width: 1px; height: 54px; background: linear-gradient(rgba(255, 255, 255, 0), #fff); position: relative; overflow: hidden; }
.hero-scroll span::after { content: ""; position: absolute; inset-inline: 0; top: -40%; height: 40%; background: var(--bronze-l); animation: drip 2.2s var(--ease) infinite; }
@keyframes drip { to { top: 110%; } }
.hero-prod { min-height: 88svh; }
/* hero: chapter product name, engineers link */
.chap-p { display: block; margin-block-start: 3px; font-size: 12px; color: rgba(255, 255, 255, .72); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.story-cap a { color: var(--bronze-l); font-size: .82em; white-space: nowrap; display: inline-flex; align-items: center; gap: 4px; text-decoration: underline; text-underline-offset: 4px; }
.story-cap a .ic { width: 14px; height: 14px; }
.hero-eng { display: inline-flex; align-items: center; gap: 8px; margin-block-start: 18px; font-size: 14px; color: rgba(255, 255, 255, .8); text-decoration: underline; text-underline-offset: 4px; animation-delay: .55s !important; }
.hero-eng .ic { width: 16px; height: 16px; }
.hero-cta .btn .ic { width: 20px; height: 20px; }

/* start from your space */
.start { padding-block: clamp(70px, 8vw, 120px); background: var(--paper); }
.stabs { display: flex; flex-wrap: wrap; gap: 10px; margin-block-end: 26px; }
.stab { min-height: 46px; padding: 0 20px; border-radius: 999px; border: 1px solid #d8d1c6; background: #fff; font: inherit; font-size: 15px; cursor: pointer; transition: background .25s, color .25s, border-color .25s; }
.stab:hover { border-color: var(--ink); }
.stab.on { background: var(--ink); color: #fff; border-color: var(--ink); }
.spane { display: none; }
.spane.on { display: block; animation: heroIn .6s var(--ease) both; }
.spane > p { font-size: clamp(17px, 1.5vw, 20px); max-width: 720px; margin-block-end: 22px; }
.minis { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.mini { display: grid; grid-template-columns: 120px 1fr; gap: 14px; align-items: center; background: #fff; border-radius: 18px; padding: 10px; box-shadow: 0 1px 0 var(--line); transition: box-shadow .3s, transform .3s; }
.mini:hover { box-shadow: 0 20px 40px -26px rgba(20, 20, 20, .4); transform: translateY(-3px); }
.mini img { width: 120px; height: 92px; object-fit: cover; border-radius: 12px; }
.mini b { display: block; font-size: 16px; line-height: 1.35; }
.mini small { display: block; color: var(--mute); font-size: 13.5px; line-height: 1.5; margin-block-start: 4px; }
.mini-doc { display: flex; align-items: center; gap: 10px; background: #fff; border-radius: 14px; padding: 14px 16px; box-shadow: 0 1px 0 var(--line); font-size: 14.5px; }
.mini-doc .ic { width: 20px; height: 20px; color: var(--bronze-d); flex: none; }

/* products grouped: roofs (2 large) · facades (4) */
.pgroup { font-size: clamp(22px, 2.2vw, 28px); margin-block: 46px 18px; display: flex; align-items: center; gap: 14px; }
.pgroup::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.pgrid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.pgrid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.pcard-big .pcard-img { aspect-ratio: 16 / 10; }
.pgrid-4 .pcard-body { padding: 18px 20px 22px; }
.pgrid-4 .pcard h3 { font-size: 19px; }
.pcard-mv { font-size: 13px; color: var(--bronze-d); font-weight: 500; }
.groof-line { margin-block-start: 16px; color: var(--mute); font-size: 15px; }

/* facades: how each opens */
.motion { padding-block: clamp(80px, 9vw, 130px); background: var(--paper); }
.mvgrid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; margin-block-start: 34px; }
.mv { background: #fff; border-radius: var(--r-lg); padding: 22px 22px 24px; box-shadow: 0 1px 0 var(--line); display: flex; flex-direction: column; gap: 6px; transition: box-shadow .3s, transform .3s; }
.mv:hover { box-shadow: 0 24px 48px -30px rgba(20, 20, 20, .4); transform: translateY(-4px); }
.mv h3 { font-size: 19px; margin-block-start: 10px; }
.mv-dir { color: var(--bronze-d); font-weight: 500; font-size: 14.5px; }
.mv-spec { color: var(--mute); font-size: 13.5px; }
.mv-fig { background: linear-gradient(#f6f1e8, #efe7da); border-radius: 16px; padding: 14px 18px; }
.mv-fig svg { width: 100%; height: auto; display: block; }
.mv-frame { fill: none; stroke: #2b2d30; stroke-width: 3; }
.mv-glass { fill: rgba(150, 190, 205, .38); stroke: #2b2d30; stroke-width: 1.6; }
.mv-fixed { fill: rgba(150, 190, 205, .5); }
.mv-box, .mv-rail { fill: #2b2d30; }
.mv-fab { fill: rgba(176, 138, 85, .55); stroke: #7E5B2A; stroke-width: 1; }
.mv-fig g { transform-box: view-box; }
.mv-prof { fill: #2b2d30; }
.mv-alt { fill: rgba(120, 165, 182, .5); }
.mv-plan line { stroke: #b9ab95; stroke-width: 1; }
.mv-pp { fill: #2b2d30; }
.mv-fp { fill: none; stroke: #2b2d30; stroke-width: 2.6; stroke-linejoin: round; }
.mv-pano .mv-a { animation: mvPanoA 6s var(--ease) infinite; }
.mv-pano .mv-b { animation: mvPanoB 6s var(--ease) infinite; }
@keyframes mvPanoA { 0%, 15% { transform: none; } 45%, 65% { transform: translateY(46px); } 95%, 100% { transform: none; } }
@keyframes mvPanoB { 0%, 15% { transform: none; } 45%, 65% { transform: translateY(23px); } 95%, 100% { transform: none; } }
.mv-sun .mv-a { transform-origin: 60px 12px; animation: mvSun 6s var(--ease) infinite; }
.mv-sun .mv-bar { animation: mvSunBar 6s var(--ease) infinite; }
@keyframes mvSun { 0%, 12% { transform: scaleY(0); } 45%, 68% { transform: scaleY(1); } 95%, 100% { transform: scaleY(0); } }
@keyframes mvSunBar { 0%, 12% { transform: translateY(-70px); } 45%, 68% { transform: none; } 95%, 100% { transform: translateY(-70px); } }
.mv-sld .mv-a { animation: mvSldA 6s var(--ease) infinite; }
.mv-sld .mv-b { animation: mvSldB 6s var(--ease) infinite; }
@keyframes mvSldA { 0%, 15% { transform: none; } 45%, 65% { transform: translateX(66px); } 95%, 100% { transform: none; } }
@keyframes mvSldB { 0%, 15% { transform: none; } 45%, 65% { transform: translateX(33px); } 95%, 100% { transform: none; } }
.mv-fold .mv-f { animation: 6s var(--ease) infinite; }
.mv-f0 { transform-origin: 12px 47px; animation-name: mvF0 !important; }
.mv-f1 { transform-origin: 36px 47px; animation-name: mvF1 !important; }
.mv-f2 { transform-origin: 60px 47px; animation-name: mvF2 !important; }
.mv-f3 { transform-origin: 84px 47px; animation-name: mvF3 !important; }
@keyframes mvF0 { 0%, 15%, 95%, 100% { transform: none; } 45%, 65% { transform: scaleX(.125); } }
@keyframes mvF1 { 0%, 15%, 95%, 100% { transform: none; } 45%, 65% { transform: translateX(-21px) scaleX(.125); } }
@keyframes mvF2 { 0%, 15%, 95%, 100% { transform: none; } 45%, 65% { transform: translateX(-42px) scaleX(.125); } }
@keyframes mvF3 { 0%, 15%, 95%, 100% { transform: none; } 45%, 65% { transform: translateX(-63px) scaleX(.125); } }
[dir="rtl"] .mv-fig svg { transform: scaleX(-1); }

/* systems used in a season / project */
.sused { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-block-start: 14px; font-size: 14px; }
.sused span { color: var(--mute); }
.sused a { padding: 5px 12px; border-radius: 999px; background: var(--ivory); border: 1px solid #e3dccf; font-size: 13.5px; transition: background .25s, color .25s; }
.sused a:hover { background: var(--ink); color: #fff; }
.proj-txt .sused a { background: #fff; }

/* phone: fixed contact bar */
.mbar { display: none; }
/* hero story: chapter bar */
.story { margin-block-start: 30px; max-width: 660px; animation-delay: .38s !important; }
.story-caps { display: grid; min-height: 3.2em; }
.story-cap { grid-area: 1 / 1; margin: 0; align-self: end; font-size: clamp(17px, 1.55vw, 21px); font-weight: 500; line-height: 1.55; color: #fff; opacity: 0; transform: translateY(8px); transition: opacity .5s var(--ease), transform .5s var(--ease); text-shadow: 0 1px 14px rgba(0, 0, 0, .35); }
.story-cap.on { opacity: 1; transform: none; }
.chaps { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 10px; margin-block-start: 16px; }
.story { max-width: 760px; }
.cap-l { display: none; }
.hero-cta .sm { display: none; }
.chap { appearance: none; background: none; border: 0; padding: 6px 0 4px; color: #fff; font: inherit; cursor: pointer; text-align: start; opacity: .62; transition: opacity .3s; -webkit-tap-highlight-color: transparent; }
.chap:hover, .chap.on { opacity: 1; }
.chap:focus-visible { outline: 2px solid var(--bronze-l); outline-offset: 4px; border-radius: 4px; }
.chap-bar { display: block; height: 3px; border-radius: 3px; background: rgba(255, 255, 255, .28); overflow: hidden; }
.chap-bar i { display: block; height: 100%; background: #fff; transform: scaleX(var(--p, 0)); transform-origin: left; }
[dir="rtl"] .chap-bar i { transform-origin: right; }
.chap-l { display: flex; align-items: center; gap: 7px; margin-block-start: 10px; font-size: 14px; font-weight: 500; }
.chap-l .ic { width: 18px; height: 18px; flex: none; }
.crumbs { display: flex; gap: 10px; font-size: 14px; color: rgba(255, 255, 255, .7); margin-block-end: 18px; }
.crumbs a:hover { color: #fff; }
.prod-en { font-size: 15px; letter-spacing: .14em; }

/* statement */
.statement { padding-block: clamp(90px, 14vw, 190px); background: var(--paper); }
.statement-p { font-family: var(--f-head); font-size: clamp(26px, 3.6vw, 52px); line-height: 1.45; font-weight: 500; max-width: 1100px; }
.lang-en .statement-p { line-height: 1.25; font-weight: 400; letter-spacing: -.015em; }
.w { opacity: .14; transition: opacity .35s linear; }
.w.on { opacity: 1; }

/* products: filterable grid */
.products { background: var(--ivory); padding-block: clamp(80px, 9vw, 130px); }
.products-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 420px); gap: 24px 60px; align-items: end; }
.products-head .ttl { margin-block-end: 0; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin-block: 40px 28px; }
.chip { min-height: 44px; padding: 0 20px; border-radius: 999px; border: 1px solid #d8d1c6; background: transparent; font-size: 15px; display: inline-flex; align-items: center; gap: 8px; transition: background .25s, color .25s, border-color .25s; }
.chip small { font-family: var(--f-en); font-size: 12px; color: var(--mute); background: rgba(20, 20, 20, .06); border-radius: 999px; min-width: 22px; height: 22px; display: inline-grid; place-items: center; }
.chip:hover { border-color: var(--ink); }
.chip.on { background: var(--ink); color: #fff; border-color: var(--ink); }
.chip.on small { color: #fff; background: rgba(255, 255, 255, .18); }
.pgrid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.pcard { position: relative; background: var(--white); border-radius: var(--r-lg); overflow: hidden; display: flex; flex-direction: column; box-shadow: 0 1px 0 var(--line); transition: box-shadow .45s var(--ease), transform .45s var(--ease); }
.pcard.out { display: none; }
.pcard:hover { box-shadow: 0 30px 60px -32px rgba(20, 20, 20, .38); transform: translateY(-6px); }
.pcard-img { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: #e9e3d9; }
.pcard-img img { transition: transform 1.1s var(--ease); }
.pcard:hover .pcard-img img { transform: scale(1.05); }
.pcard-tag { position: absolute; top: 16px; inset-inline-start: 16px; padding: 6px 14px; border-radius: 999px; background: rgba(255, 255, 255, .9); backdrop-filter: blur(8px); font-size: 13px; font-weight: 500; }
.cover { width: 100%; height: 100%; object-fit: cover; }
.contain { width: 100%; height: 100%; object-fit: contain; }
.pcard-body { padding: 22px 26px 26px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.pcard-no { font-size: 13px; color: var(--bronze-d); font-family: var(--f-en); letter-spacing: .08em; }
.pcard h3 { display: grid; gap: 2px; font-size: 24px; }
.en-name { font-family: var(--f-en); font-weight: 500; letter-spacing: -.01em; }
.lang-ar .en-name { font-size: 14.5px; color: var(--mute); letter-spacing: .04em; order: -1; }
.ar-name { font-size: 24px; }
.pcard p { color: var(--mute); font-size: 15.5px; line-height: 1.7; }
.pcard-go { margin-block-start: auto; padding-block-start: 12px; display: inline-flex; align-items: center; gap: 8px; font-weight: 500; color: var(--ink); }
.pcard-go .ic { transition: transform .3s var(--ease); }
.pcard:hover .pcard-go .ic { transform: translateX(5px); }
[dir="rtl"] .pcard:hover .pcard-go .ic { transform: scaleX(-1) translateX(5px); }

/* downloads */
.downloads { padding-block: clamp(80px, 9vw, 120px); background: var(--ivory); }
.downloads-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 420px); gap: 24px 60px; align-items: end; margin-block-end: 36px; }
.downloads-head .ttl { margin-block-end: 0; }
.dgrid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.dcard { display: grid; grid-template-rows: auto 1fr auto; gap: 18px; padding: 22px; background: #fff; border-radius: var(--r); border: 1px solid var(--line); min-height: 190px; transition: border-color .25s, transform .35s var(--ease), box-shadow .35s var(--ease); }
.dcard:hover { border-color: var(--bronze); transform: translateY(-3px); box-shadow: 0 20px 40px -30px rgba(20, 20, 20, .4); }
.dcard-ic { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--ink); color: var(--bronze-l); }
.dcard-t { display: grid; gap: 2px; line-height: 1.35; }
.dcard-t b { font-weight: 500; font-size: 17px; }
.dcard-t i { font-style: normal; color: var(--mute); font-size: 14.5px; }
.dcard-m { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding-block-start: 14px; border-top: 1px solid var(--line); font-size: 13.5px; color: var(--bronze-d); }
.dcard-m small { color: var(--mute); font-family: var(--f-en); }

/* seasons */
.seasons { padding-block: clamp(90px, 10vw, 140px); background: linear-gradient(180deg, var(--paper), #fff 40%); }
.seasons-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(28px, 4vw, 64px); align-items: center; }
.sbtns { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 16px 10px; margin-block: 36px 26px; max-width: 560px; }
.sbtn { display: grid; justify-items: center; gap: 10px; background: none; border: 0; padding: 0; color: var(--mute); }
.sbtn-ic { width: 66px; height: 66px; border-radius: 50%; display: grid; place-items: center; border: 1.5px solid #d9d4cc; background: #fff; color: var(--ink); transition: background .35s var(--ease), color .35s var(--ease), border-color .35s, transform .35s var(--ease), box-shadow .35s; }
.sbtn-ic .ic { width: 28px; height: 28px; }
.sbtn:hover .sbtn-ic { border-color: var(--ink); transform: translateY(-3px); }
.sbtn.on .sbtn-ic { background: var(--ink); color: #fff; border-color: var(--ink); box-shadow: 0 16px 30px -14px rgba(20, 20, 20, .6); }
.sbtn.on .sbtn-l { color: var(--ink); font-weight: 500; }
.sbtn-l { font-size: 15px; }
.scaps { position: relative; min-height: 150px; }
.scap { position: absolute; inset: 0; opacity: 0; transform: translateY(10px); transition: opacity .5s var(--ease), transform .5s var(--ease); pointer-events: none; }
.scap.on { opacity: 1; transform: none; pointer-events: auto; }
.scap h3 { font-size: clamp(22px, 2.2vw, 28px); margin-block-end: 8px; }
.scap p { color: var(--mute); max-width: 520px; }
.seasons-stage { position: relative; aspect-ratio: 5 / 4; border-radius: var(--r-lg); overflow: hidden; background: #fbf6ee; box-shadow: 0 40px 80px -50px rgba(20, 20, 20, .45); }
.real { padding-block: clamp(64px, 9vw, 120px) 0; }
.real-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: clamp(12px, 2vw, 24px); margin-top: clamp(24px, 3vw, 40px); }
.real-it { margin: 0; }
.real-v { display: block; width: 100%; aspect-ratio: 9 / 16; object-fit: cover; border-radius: var(--r-lg); background: #1d1c1a; }
.real-it figcaption { margin-top: 12px; font-size: .95rem; color: var(--mute); }
@media (max-width: 760px) {
  .real-grid { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 72%; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 6px; }
  .real-it { scroll-snap-align: start; }
}
.svid { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; background: #e9e4dc; }
.stage3d { position: absolute; inset: 0; }
.stage-fallback { width: 100%; height: 100%; object-fit: cover; }
.stage3d canvas + .stage-fallback, .stage3d.ready .stage-fallback { display: none; }
.stage3d canvas { cursor: grab; }
.stage3d canvas:active { cursor: grabbing; }
.g-arc { fill: none; stroke: #cfc7bb; stroke-width: 2; stroke-dasharray: 3 5; }
.g-blade { transform-origin: 60px 60px; transition: transform .2s linear; }
.g-blade rect { fill: var(--ink); }
.stage-hint { position: absolute; top: 18px; inset-inline-end: 16px; display: flex; align-items: center; gap: 6px; font-size: 13px; color: var(--mute); background: rgba(255, 255, 255, .78); padding: 6px 12px; border-radius: 999px; backdrop-filter: blur(8px); }
.stage-hint .ic { width: 16px; height: 16px; }
.seasons.is-night .stage-hint { background: rgba(20, 26, 36, .7); color: #dbe3ef; border-color: rgba(255, 255, 255, .1); }
.seasons.is-night .g-blade rect { fill: #fff; }

/* frame colour swatches */
.swatches { position: absolute; bottom: 16px; inset-inline-start: 16px; display: flex; align-items: center; gap: 8px; padding: 7px 12px 7px 8px; background: rgba(255, 255, 255, .82); backdrop-filter: blur(10px); border-radius: 999px; border: 1px solid var(--line); }
.swatches span { font-size: 12.5px; color: var(--mute); padding-inline: 4px; }
.sw { width: 26px; height: 26px; border-radius: 50%; background: var(--c); border: 2px solid #fff; box-shadow: 0 0 0 1px rgba(20, 20, 20, .18); padding: 0; transition: transform .2s var(--ease), box-shadow .2s; }
.sw:hover { transform: scale(1.1); }
.sw.on { box-shadow: 0 0 0 2px var(--ink); }
.seasons.is-night .swatches { background: rgba(20, 26, 36, .7); border-color: rgba(255, 255, 255, .1); }
.seasons.is-night .swatches span { color: #a8b4c5; }

/* louvre scrub */
.louvre { background: var(--ink); color: #fff; }
.louvre-pin { padding-block: clamp(90px, 10vw, 140px); }
.louvre-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(30px, 5vw, 80px); align-items: center; }
.louvre .kicker { color: var(--bronze-l); }
.lsteps { display: grid; gap: 6px; }
.lstep { padding: 18px 0 18px; border-top: 1px solid rgba(255, 255, 255, .14); opacity: .35; transition: opacity .5s var(--ease); display: grid; grid-template-columns: 46px 1fr; column-gap: 8px; }
.lstep.on { opacity: 1; }
.lstep-no { grid-row: span 2; font-family: var(--f-en); color: var(--bronze-l); font-size: 15px; padding-top: 4px; }
.lstep h3 { font-size: 24px; }
.lstep p { color: rgba(255, 255, 255, .7); font-size: 16px; }
.louvre-vis { display: grid; gap: 22px; }
.louvre-photo { aspect-ratio: 16 / 10; border-radius: var(--r-lg); overflow: hidden; }
.louvre-photo img { transform: scale(1.12); }
.louvre-svg { width: 100%; height: auto; }
.lbeam { fill: #5a5650; }
.lb rect { fill: #d9d1c4; }
.lrays { opacity: 0; mix-blend-mode: screen; }

/* details */
.details { padding-block: clamp(90px, 10vw, 140px); }
.why-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.why { padding: 30px 28px 32px; background: #fff; border-radius: var(--r-lg); border: 1px solid var(--line); transition: border-color .3s, transform .4s var(--ease), box-shadow .4s var(--ease); }
.why:hover { border-color: var(--bronze-l); transform: translateY(-4px); box-shadow: 0 24px 50px -36px rgba(20, 20, 20, .4); }
.why-ic { width: 54px; height: 54px; border-radius: 16px; display: grid; place-items: center; background: var(--ivory); color: var(--bronze-d); margin-block-end: 22px; }
.why-ic .ic { width: 26px; height: 26px; }
.why h3 { font-size: 21px; margin-block-end: 8px; }
.why p { color: var(--mute); font-size: 15.5px; }
.drain { margin-block-start: clamp(70px, 9vw, 120px); }
.drain-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; counter-reset: d; }
.dstep { margin: 0; background: #fff; border-radius: var(--r-lg); border: 1px solid var(--line); overflow: hidden; }
.dstep-img { aspect-ratio: 1; padding: 24px; background: linear-gradient(180deg, #f6f3ee, #fff); }
.dstep figcaption { padding: 18px 22px 22px; display: flex; gap: 12px; align-items: baseline; font-size: 16px; }
.dstep figcaption span { font-family: var(--f-en); color: #fff; background: var(--ink); width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; font-size: 13px; flex: none; }

/* projects */
.projects { padding-block: clamp(90px, 10vw, 140px); background: var(--ivory); }
.proj-list { display: grid; gap: clamp(50px, 7vw, 110px); }
.proj { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: clamp(24px, 4vw, 64px); align-items: center; }
.proj-r .proj-img { order: 2; }
.proj-img { aspect-ratio: 3 / 2; border-radius: var(--r-lg); overflow: hidden; }
.proj-img img { height: 118%; margin-top: -9%; }
.proj-no { font-family: var(--f-en); font-size: 15px; color: var(--bronze-d); }
.proj-txt h3 { font-size: clamp(24px, 2.4vw, 32px); margin-block: 10px 14px; }
.proj-txt p { color: var(--mute); }

/* glass roof band */
.groof { min-height: 80svh; display: flex; align-items: flex-end; color: #fff; overflow: hidden; isolation: isolate; }
.groof-img { position: absolute; inset: 0; z-index: -1; }
.groof-img img { height: 120%; margin-top: -10%; }
.groof::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(0, 0, 0, 0) 30%, rgba(0, 0, 0, .7)); }
.groof-in { padding-block: 80px; max-width: 760px; margin-inline: 0; }
.wrap.groof-in { margin-inline: auto; max-width: var(--wrap); }
.groof-in h2 { font-size: clamp(30px, 4vw, 54px); margin-block: 12px 14px; }
.groof-in p:last-child { max-width: 560px; color: rgba(255, 255, 255, .86); }

/* sectors marquee */
.sectors { padding-block: clamp(80px, 9vw, 120px) clamp(60px, 7vw, 90px); overflow: hidden; }
.sectors .lead { margin-block-start: 16px; }
.marquee { margin-block-start: 40px; overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee-in { display: flex; gap: 0; width: max-content; animation: marq 40s linear infinite; }
[dir="rtl"] .marquee-in { animation-name: marq-rtl; }
.marquee span { font-family: var(--f-head); font-size: clamp(30px, 4.6vw, 64px); padding-inline: 34px; white-space: nowrap; display: flex; align-items: center; gap: 68px; }
.marquee span::after { content: ""; width: 12px; height: 12px; background: var(--bronze); transform: rotate(45deg); flex: none; }
@keyframes marq { to { transform: translateX(-50%); } }
@keyframes marq-rtl { to { transform: translateX(50%); } }

/* process */
.process { padding-block: clamp(80px, 9vw, 120px); background: var(--paper); border-top: 1px solid var(--line); }
.psteps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.pstep { padding: 30px 28px; border-radius: var(--r-lg); background: #fff; border: 1px solid var(--line); }
.pstep span { font-family: var(--f-en); font-size: 44px; font-weight: 300; color: var(--bronze); line-height: 1; }
.pstep h3 { font-size: 22px; margin-block: 18px 8px; }
.pstep p { color: var(--mute); }

/* contact */
.contact { padding-block: clamp(90px, 10vw, 140px) 0; background: #fff; }
.contact-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(30px, 5vw, 80px); }
.clist { list-style: none; padding: 0; margin: 36px 0 0; display: grid; gap: 16px; }
.clist li { display: flex; gap: 16px; align-items: center; }
.clist li > span { width: 48px; height: 48px; border-radius: 50%; background: var(--ivory); color: var(--bronze-d); display: grid; place-items: center; flex: none; }
.clist div { display: grid; line-height: 1.4; }
.clist small { color: var(--mute); font-size: 13.5px; }
.clist a { font-size: 17px; font-weight: 500; }
.clist a:hover { color: var(--bronze-d); }
[dir="rtl"] .clist a[dir="ltr"] { text-align: right; }
.qform { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; padding: clamp(22px, 3vw, 38px); background: var(--paper); border-radius: var(--r-lg); border: 1px solid var(--line); align-self: start; }
.qform label { display: grid; gap: 6px; font-size: 14px; color: var(--mute); }
.qform .full { grid-column: 1 / -1; }
.qform input, .qform select, .qform textarea { font: inherit; font-size: 16px; color: var(--ink); background: #fff; border: 1px solid #dcd6cc; border-radius: 14px; padding: 13px 16px; min-height: 52px; width: 100%; transition: border-color .2s, box-shadow .2s; }
.qform textarea { resize: vertical; min-height: 110px; }
.qform input:focus, .qform select:focus, .qform textarea:focus { outline: none; border-color: var(--bronze); box-shadow: 0 0 0 4px rgba(176, 138, 85, .16); }
.qform .err { border-color: #b4412f !important; }
.qform .btn { margin-block-start: 6px; }
.qnote { font-size: 13.5px; color: var(--mute); text-align: center; }
.map { position: relative; margin-block-start: clamp(60px, 7vw, 100px); padding: 0; max-width: none; }
.map iframe { width: 100%; height: 420px; border: 0; display: block; filter: grayscale(.35) contrast(1.02); }
.map-btn { position: absolute; bottom: 24px; inset-inline-start: var(--gut); }

/* footer */
.ftr { background: var(--ink); color: #d8d2c8; padding-block: 80px 30px; }
.ftr-grid { display: grid; grid-template-columns: 1.4fr 1fr 1.2fr; gap: 40px; }
.ftr-brand img { width: 120px; height: auto; margin-block-end: 18px; }
.ftr-brand p { color: #a9a296; max-width: 300px; }
.ftr h3 { font-size: 15px; color: #fff; margin-block-end: 18px; font-weight: 500; }
.ftr ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.ftr a:hover { color: #fff; }
.ftr-contact a { display: flex; gap: 10px; align-items: center; }
.ftr-contact .ic { color: var(--bronze); width: 18px; height: 18px; }
.ftr-bot { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin-block-start: 60px; padding-block-start: 24px; border-top: 1px solid rgba(255, 255, 255, .1); font-size: 14px; color: #8f887d; }
.ftr-fam span + span::before { content: " · "; }
.wa-float { position: fixed; bottom: 22px; inset-inline-end: 22px; z-index: 40; width: 58px; height: 58px; border-radius: 50%; background: #1f9d55; color: #fff; display: grid; place-items: center; box-shadow: 0 14px 30px -10px rgba(0, 0, 0, .45); transition: transform .3s var(--ease); }
.wa-float:hover { transform: scale(1.07); }
.wa-float.off { transform: scale(.6); opacity: 0; pointer-events: none; }
.wa-float { transition: transform .3s var(--ease), opacity .3s var(--ease); }
.wa-float .ic { width: 28px; height: 28px; }

/* product page */
.pintro { padding-block: clamp(80px, 9vw, 130px); }
.pintro-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(30px, 6vw, 100px); }
.pdesc { font-family: var(--f-head); font-size: clamp(22px, 2.6vw, 36px); line-height: 1.55; margin-block-start: 18px; font-weight: 500; }
.lang-en .pdesc { line-height: 1.3; font-weight: 400; }
.feats { list-style: none; padding: 0; margin: 0; display: grid; gap: 4px; }
.feats li { display: flex; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.feats .ic { color: var(--bronze); margin-top: 4px; }
.psys { padding-block: clamp(60px, 7vw, 100px); background: var(--ivory); }
.psys-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(30px, 5vw, 80px); align-items: center; }
.psys-img { background: #fff; border-radius: var(--r-lg); padding: clamp(18px, 3vw, 40px); aspect-ratio: 4 / 3.2; }
.specs { margin: 0; display: grid; }
.spec { display: flex; justify-content: space-between; gap: 20px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.spec dt { color: var(--mute); }
.spec dd { margin: 0; font-weight: 500; text-align: end; }
.dl { margin-block-start: 30px; display: flex; gap: 16px; align-items: center; padding: 18px 22px; background: var(--ink); color: #fff; border-radius: 18px; transition: background .25s; }
.dl:hover { background: #000; }
.dl .ic { color: var(--bronze-l); width: 26px; height: 26px; }
.dl span { display: grid; line-height: 1.35; }
.dl small { color: #a9a296; font-size: 13px; }
[dir="rtl"] .dl small { text-align: right; }
.pgal { padding-block: clamp(70px, 8vw, 120px); }
.gal { display: grid; gap: 14px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.gal-3 { grid-template-columns: 2fr 1fr; grid-template-rows: auto auto; }
.gal-3 .gitem:first-child { grid-row: span 2; }
.gal-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.gitem { display: block; border-radius: var(--r); overflow: hidden; aspect-ratio: 4 / 3; background: var(--ivory); }
.gal-3 .gitem:first-child { aspect-ratio: auto; }
.gitem img { transition: transform .9s var(--ease); }
.gitem:hover img { transform: scale(1.04); }
.pmore { padding-block: 20px clamp(70px, 8vw, 110px); }
.others { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; }
.ocard { display: grid; gap: 12px; }
.ocard img { aspect-ratio: 1; border-radius: var(--r); object-fit: cover; transition: transform .5s var(--ease); }
.ocard:hover img { transform: translateY(-4px); }
.ocard span { display: grid; line-height: 1.35; }
.ocard b { font-weight: 500; font-size: 15px; }
.ocard i { font-style: normal; color: var(--mute); font-size: 14px; }
.lb { position: fixed; inset: 0; z-index: 90; background: rgba(12, 12, 12, .92); display: grid; place-items: center; padding: 40px; }
.lb[hidden] { display: none; }
.lb img { max-height: 90vh; width: auto; border-radius: 12px; }
.lb-x { position: absolute; top: 20px; inset-inline-end: 20px; width: 48px; height: 48px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .3); background: transparent; color: #fff; display: grid; place-items: center; }

/* reveal (JS adds .rv-ready on <html> so content stays visible without JS) */
.rv-ready [data-rv] { opacity: 0; transform: translateY(28px); }
.rv-ready [data-rv].in { opacity: 1; transform: none; transition: opacity 1s var(--ease), transform 1s var(--ease); }
.split-l { display: block; overflow: hidden; padding-block: .14em .2em; margin-block: -.14em -.2em; }
.split-l > span { display: block; transform: translateY(105%); transition: transform 1.3s var(--ease); }
.split-in .split-l > span { transform: none; }

/* responsive */
@media (max-width: 1100px) {
  .nav { display: none; }
  .burger { display: grid; }
  .hdr-act .btn { display: none; }
  .hdr-act { margin-inline-start: auto; }
  .seasons-grid, .louvre-grid, .contact-grid, .pintro-grid, .psys-grid { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .seasons-txt { display: contents; }
  .seasons-grid { gap: 22px; }
  .seasons-stage { order: 1; aspect-ratio: 5 / 4; }
  .seasons .sbtns { order: 2; margin-block: 6px 4px; }
  .seasons .scaps { order: 3; }
  .dgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .products-head, .downloads-head { grid-template-columns: 1fr; }
  .others { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 1100px) {
  .pgrid-4, .mvgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .minis { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  body { font-size: 16px; }
  :root { --hdr-h: 70px; }
  .hdr { padding: 10px 12px; }
  .logo { width: 92px; height: 66px; }
  .pgrid { grid-template-columns: 1fr; gap: 16px; }
  .pcard-img { aspect-ratio: 16 / 11; }
  .pcard-body { padding: 18px 20px 22px; }
  .chips { flex-wrap: nowrap; overflow-x: auto; margin-inline: calc(-1 * var(--gut)); padding-inline: var(--gut); scrollbar-width: none; margin-block: 28px 20px; }
  .chips::-webkit-scrollbar { display: none; }
  .chip { flex: none; }
  .dgrid { grid-template-columns: 1fr; }
  .dcard { min-height: 0; grid-template-columns: auto 1fr; grid-template-rows: auto auto; align-items: center; }
  .dcard-m { grid-column: 1 / -1; }
  .sbtns { gap: 12px 6px; }
  .sbtn-ic { width: 50px; height: 50px; }
  .sbtn-l { font-size: 12.5px; line-height: 1.35; text-align: center; }
  .sbtn-ic .ic { width: 23px; height: 23px; }
  .seasons-stage { aspect-ratio: 5 / 4; }
  .scaps { min-height: 175px; }
  .why-grid, .drain-grid, .psteps { grid-template-columns: 1fr; }
  .proj, .proj-r { grid-template-columns: 1fr; }
  .proj-r .proj-img { order: 0; }
  .qform { grid-template-columns: 1fr; }
  .ftr-grid { grid-template-columns: 1fr; }
  .map iframe { height: 320px; }
  .gal, .gal-3, .gal-4 { grid-template-columns: 1fr; }
  .gal-3 .gitem:first-child { grid-row: auto; aspect-ratio: 4 / 3; }
  .others { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero-scroll { display: none; }
  .hero-story .hero-in { padding-block: 120px 34px; }
  .hero-story .hero-sub { display: none; }
  .hero-story .hero-h { margin-block: 14px 0; }
  .lang-ar .hero-story .hero-h { font-size: 33px; }
  .story { margin-block-start: 14px; }
  .story-caps { min-height: 5.4em; }
  .story-cap { font-size: 16.5px; }
  .chaps { gap: 8px; margin-block-start: 12px; }
  .chap-l { flex-direction: column; align-items: flex-start; gap: 5px; font-size: 13px; }
  .hero-story .hero-cta { margin-block-start: 22px; }
  .hero-story .hero-cta .btn { flex: 1 1 0; justify-content: center; padding-inline: 12px; }
  .louvre-pin { padding-block: 80px; }
  .dstep-img { aspect-ratio: 16 / 10; padding: 14px; }
  .groof { min-height: 0; flex-direction: column; align-items: stretch; background: var(--ink); }
  .groof::after { display: none; }
  .groof-img { position: relative; inset: auto; z-index: 0; height: 62vw; overflow: hidden; }
  .groof-img img { height: 100%; margin-top: 0; }
  .groof-in { padding-block: 34px 50px; }
  .wa-float { width: 52px; height: 52px; bottom: 16px; inset-inline-end: 16px; }
  .wa-float { display: none; }
  .mbar { display: grid; grid-template-columns: 1.35fr 1fr; gap: 8px; position: fixed; inset-inline: 10px; bottom: 10px; z-index: 45; padding: 8px; border-radius: 22px; background: rgba(250, 247, 242, .92); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); box-shadow: 0 16px 40px -18px rgba(20, 20, 20, .45); transform: translateY(140%); transition: transform .45s var(--ease); }
  .mbar.show { transform: none; }
  .mbar.show.away { transform: translateY(140%); }
  .mbar .btn { min-height: 46px; font-size: 14.5px; padding: 0 10px; gap: 6px; }
  .mbar .ic { width: 18px; height: 18px; }
  body { padding-bottom: 74px; }
  .hero-eng { margin-block-start: 14px; font-size: 13px; }
  .chap-p { display: none; }
  .chap-l { display: none; }
  .chap { padding-block: 12px; }
  .chaps { gap: 6px; margin-block-start: 6px; }
  .hero-story .kicker-light { display: none; }
  .hero-cta .lg { display: none; } .hero-cta .sm { display: inline; }
  .hero-story .hero-cta { flex-wrap: nowrap; margin-block-start: 16px; }
  .lang-ar .hero-story .hero-h { font-size: 30px; }
  .cap-l { display: flex; align-items: center; gap: 6px; font-size: 13px; color: var(--bronze-l); font-weight: 500; margin-block-end: 4px; }
  .cap-l .ic { width: 16px; height: 16px; }
  .stabs { flex-wrap: nowrap; overflow-x: auto; margin-inline: calc(-1 * var(--gut)); padding-inline: var(--gut); scrollbar-width: none; }
  .stabs::-webkit-scrollbar { display: none; }
  .stab { flex: none; }
  .minis { grid-template-columns: 1fr; gap: 10px; }
  .mini { grid-template-columns: 96px 1fr; }
  .mini img { width: 96px; height: 76px; }
  .pgrid-2, .pgrid-4 { grid-template-columns: 1fr; }
  .pgrid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .pgrid-4 .pcard-img { aspect-ratio: 1 / 1; }
  .pgrid-4 .pcard-body { padding: 12px 14px 16px; gap: 4px; }
  .pgrid-4 .pcard h3 { font-size: 15.5px; }
  .pgrid-4 .pcard p { display: none; }
  .pgrid-4 .pcard-mv { font-size: 12px; }
  .pgrid-4 .pcard-go { display: none; }
  .pcard-big .pcard-img { aspect-ratio: 16 / 10; }
  .mvgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .mv { padding: 12px 12px 16px; }
  .mv-fig { padding: 8px 10px; }
  .mv h3 { font-size: 15px; margin-block-start: 6px; }
  .mv-dir { font-size: 12.5px; } .mv-spec { display: none; }
  .pgroup { margin-block: 32px 14px; }
  /* shorter lower half on phones */
  .details, .projects, .downloads, .motion, .products, .start { padding-block: 64px; }
  .why-grid { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; gap: 10px; }
  .why { padding: 16px 14px 18px; border-radius: 18px; }
  .why-ic { width: 40px; height: 40px; border-radius: 12px; margin-block-end: 12px; }
  .why-ic .ic { width: 20px; height: 20px; }
  .why h3 { font-size: 15.5px; line-height: 1.45; }
  .why p { font-size: 13px; line-height: 1.6; }
  .drain-grid { grid-template-columns: repeat(3, minmax(0, 1fr)) !important; gap: 8px; }
  .dstep-img { aspect-ratio: 1 !important; padding: 8px !important; }
  .dstep figcaption { padding: 10px; font-size: 12.5px; flex-direction: column; gap: 6px; }
  .dstep figcaption span { width: 22px; height: 22px; font-size: 11px; }
  .proj-list { gap: 40px; }
  .proj-img { aspect-ratio: 16 / 10; }
  .proj-txt h3 { font-size: 21px; margin-block: 6px 8px; }
  .proj-txt p { font-size: 14.5px; }
  .dgrid { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; gap: 8px; }
  .dcard { min-height: 0; padding: 14px; gap: 10px; display: flex !important; flex-direction: column; }
  .dcard-ic { width: 34px; height: 34px; border-radius: 10px; }
  .dcard-t b { font-size: 14px; } .dcard-t i { font-size: 13px; }
  .dcard-m { flex-direction: column; align-items: flex-start; gap: 2px; padding-block-start: 8px; font-size: 12px; }
  .map iframe { height: 240px; }
  .pgrid-4 .ar-name { font-size: 18px; line-height: 1.4; }
  .pgrid-4 .en-name { font-size: 11.5px !important; }

}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .w { opacity: 1; }
}

/* hero split (Ashraf 1/11): the copy sits on its own panel and never over the film */
.hero-split { display: grid; grid-template-columns: minmax(0, 42fr) minmax(0, 58fr); align-items: stretch; background: #151412; }
.hero-split .hero-media { position: relative; inset: auto; z-index: 0; grid-column: 2; grid-row: 1; min-height: 100%; background: #151412; }
.hero-split .hero-video { position: absolute; inset: 0; }
.hero-split .hero-shade { background: linear-gradient(180deg, rgba(10, 10, 10, .34) 0%, rgba(10, 10, 10, 0) 15%); }
.hero-split .hero-in { grid-column: 1; grid-row: 1; width: auto; max-width: none; margin: 0; padding-inline: clamp(24px, 4vw, 72px) clamp(20px, 2.6vw, 44px); padding-block: 130px 44px; display: flex; flex-direction: column; justify-content: center; }
[dir="ltr"] .hero-split .hero-in { padding-inline: clamp(24px, 4vw, 72px) clamp(20px, 2.6vw, 44px); }
.hero-split .hero-h { font-size: clamp(34px, 3.9vw, 66px); max-width: none; margin-block: 16px 14px; }
.lang-ar .hero-split .hero-h { font-size: clamp(30px, 3.3vw, 56px); max-width: none; line-height: 1.3; }
.hero-split .hero-sub { font-size: clamp(15px, 1.15vw, 18px); max-width: none; }
.hero-split .story { margin-block-start: 22px; max-width: none; }
.hero-split .story-caps { min-height: 5.1em; }
.hero-split .story-cap { font-size: clamp(15px, 1.2vw, 18px); text-shadow: none; }
.hero-split .cap-l { display: flex; align-items: center; gap: 6px; font-size: 13px; color: var(--bronze-l); font-weight: 500; margin-block-end: 4px; }
.hero-split .cap-l .ic { width: 16px; height: 16px; }
.hero-split .chaps { gap: 7px; }
.hero-split .chap-p { display: none; }
.hero-split .chap-l { font-size: clamp(11px, .85vw, 13px); line-height: 1.25; flex-direction: column; align-items: flex-start; gap: 4px; white-space: normal; }
.hero-split .hero-cta { margin-block-start: 22px; }
@media (max-width: 1000px) {
  .hero-split { grid-template-columns: minmax(0, 1fr); min-height: 0; }
  .hero-split .hero-media { grid-column: 1; grid-row: 1; aspect-ratio: 5 / 4; min-height: 0; }
  .hero-split .hero-in { grid-column: 1; grid-row: 2; padding-inline: var(--gut); padding-block: 26px 34px; }
  .lang-ar .hero-story.hero-split .hero-h { font-size: clamp(28px, 7vw, 40px); }
  .hero-story.hero-split .hero-sub { display: block; }
  .hero-split .story-caps { min-height: 6.2em; }
}
@media (max-width: 760px) {
  .hero-story.hero-split .hero-sub { display: none; }
  .hero-split .chap-l { display: none; }
}

/* brand band + partners */
.brandband { position: relative; overflow: hidden; display: grid; place-items: center; padding-block: clamp(56px, 7vw, 96px); background: #F4EFE7; }
.bb-logo { position: relative; width: clamp(210px, 24vw, 340px); height: auto; }
.bb-mark { position: absolute; top: 50%; left: 50%; width: clamp(420px, 56vw, 820px); height: auto; transform: translate(-50%, -50%); opacity: .09; pointer-events: none; }
.partners { padding-block: clamp(64px, 8vw, 104px); background: #fff; border-top: 1px solid var(--line); text-align: center; }
.partners-h { margin: 0 0 clamp(28px, 3.5vw, 44px); font-family: var(--f-head); font-size: clamp(1.6rem, 2.6vw, 2.25rem); }
.partner { display: inline-flex; flex-direction: column; align-items: center; gap: 16px; margin: 0; }
.partner figcaption { font-size: 1.05rem; font-weight: 600; color: var(--ink, #141414); }
.partner img { display: block; width: clamp(190px, 22vw, 300px); height: auto; }
.preal { padding-block: 0 clamp(60px, 7vw, 100px); }
.preal-in { text-align: center; }
.preal-it { max-width: min(380px, 78vw); margin: clamp(20px, 2.5vw, 32px) auto 0; }
