/* Universal Furniture — Apple-style edition
   Principles: system type with size-specific tracking, translucent chrome,
   instant press feedback, spring-driven (interruptible) motion, reduced-transparency /
   high-contrast fallbacks. Light design with dark accent sections; motion is always on (by request). */

:root {
  /* Light, whatever the visitor's system appearance; .dark sections switch these locally */
  --bg: #faf9f6;
  --bg-alt: #f3f0ea;
  --surface: #ffffff;
  --text: #1c1b19;
  --text-2: #6f6a62;
  --hair: rgba(28, 27, 25, 0.09);
  --fill: rgba(120, 110, 95, 0.12);
  --link: #7a5f14;
  --gold: #bba95e;
  --gold-hi: #d4c27b;
  --danger: #d70015;
  --shadow-card: 0 2px 6px rgba(0, 0, 0, 0.04), 0 12px 32px rgba(0, 0, 0, 0.06);

  --ink: #0b0a09;
  --ink-2: #161617;
  --on-ink: #f5f5f7;
  --on-ink-2: #a1a1a6;

  --r-lg: 28px;
  --r-md: 20px;
  --r-sm: 12px;
  --wrap: 1180px;
  --gutter: 22px;
  --nav-h: 52px;
  /* Height of the soft blend where one section melts into the next */
  --feather: clamp(48px, 6.5vw, 104px);

  /* Gloock for English and French headlines, Hanken Grotesk for text (self-hosted: assets/fonts/fonts.css).
     Gloock has a single weight, so headlines stay at 400 rather than a fake bold. */
  --font: "Hanken Grotesk", -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, Roboto, Arial, sans-serif;
  --font-display: "Gloock", Georgia, "Times New Roman", serif;
  --display-weight: 400;

  /* Tracking is size-specific: tight for display, neutral for body */
  --ls-hero: -0.025em;
  --ls-head: -0.02em;
  --ls-title: -0.01em;
  --ls-small: 0.008em;
  --lh-head: 1.06;

  /* Mirrored curves: what enters with ease-out leaves with its inverse */
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-in: cubic-bezier(0.64, 0, 0.78, 0);

  color-scheme: light;
}

/* Arabic: no tracking, taller leading for ascenders/descenders */
html[lang="ar"] {
  --font: "Cairo", "Hanken Grotesk", "Segoe UI", Tahoma, system-ui, sans-serif;
  --font-display: "Noto Naskh Arabic", "Cairo", "Gloock", serif;
  --display-weight: 700;
  --ls-hero: 0;
  --ls-head: 0;
  --ls-title: 0;
  --ls-small: 0;
  --lh-head: 1.35;
}

*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: var(--nav-h);
  transition: background-color 0.4s ease;
}
html.menu-open body { overflow: hidden; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 1.0625rem/1.5 var(--font);
  font-optical-sizing: auto;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

img, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; -webkit-tap-highlight-color: transparent; }
h1, h2, h3, p, figure, ul { margin: 0; }
ul { padding: 0; list-style: none; }

:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 6px; }

.skip-link {
  position: fixed; inset-inline-start: 12px; top: 12px; z-index: 100;
  padding: 10px 16px; border-radius: 999px; background: var(--text); color: var(--bg);
  transform: translateY(-160%);
}
.skip-link:focus { transform: none; }

.wrap { width: min(100% - 2 * var(--gutter), var(--wrap)); margin-inline: auto; }
.wrap.narrow { --wrap: 860px; }

/* ---------- Type ---------- */
.display-hero, .headline, .title {
  font-family: var(--font-display);
  font-weight: var(--display-weight);
  text-wrap: balance;
}
.display-hero {
  font-size: clamp(2.9rem, 1.4rem + 6vw, 6.4rem);
  line-height: 1.02;
  letter-spacing: var(--ls-hero);
}
.headline {
  font-size: clamp(2.1rem, 1.35rem + 3.1vw, 3.9rem);
  line-height: var(--lh-head);
  letter-spacing: var(--ls-head);
}
.title {
  font-size: clamp(1.3rem, 1.1rem + 0.7vw, 1.75rem);
  line-height: 1.18;
  letter-spacing: var(--ls-title);
}
.eyebrow {
  display: inline-flex; align-items: center; gap: 14px;
  font-size: 0.8125rem; font-weight: 600;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--link);
  margin-bottom: 12px;
}
.eyebrow::before, .section-head.center .eyebrow::after {
  content: ""; width: 28px; height: 1px; background: currentColor;
  transform-origin: var(--rule-from, left) center;
  transition: transform 1.1s var(--ease-out) 0.25s;
}
.section-head.center .eyebrow::after { --rule-from: right; }
[dir="rtl"] .eyebrow::before { --rule-from: right; }
[dir="rtl"] .section-head.center .eyebrow::after { --rule-from: left; }
.js .reveal .eyebrow::before, .js .reveal .eyebrow::after, .js .reveal.eyebrow::before { transform: scaleX(0); }
.js .reveal.in .eyebrow::before, .js .reveal.in .eyebrow::after { transform: none; }
html[lang="ar"] .eyebrow { letter-spacing: 0; text-transform: none; font-size: 0.9375rem; }
.lead {
  font-size: clamp(1.1rem, 1rem + 0.45vw, 1.375rem);
  line-height: 1.45;
  color: var(--text-2);
  text-wrap: pretty;
}
html[lang="ar"] .lead, html[lang="ar"] body { line-height: 1.75; }

/* ---------- Controls ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 46px; padding: 12px 24px;
  border: 0; border-radius: 999px;
  font-size: 1.0625rem; font-weight: 500; letter-spacing: var(--ls-small);
  transition: transform 120ms ease-out, background-color 200ms ease, filter 200ms ease;
  user-select: none;
}
/* Feedback lives on the press: instant, not on release */
.btn:active, .round-btn:active, .glass-round:active, .lang a:active { transform: scale(0.96); transition-duration: 60ms; }
.btn-sm { min-height: 30px; padding: 5px 14px; font-size: 0.8125rem; }
.btn-gold { background: var(--gold); color: #17140b; }
.btn-gold:hover { background: var(--gold-hi); }
.btn-dark { background: var(--text); color: var(--bg); }
.btn-dark:hover { filter: brightness(1.15); }
.btn-block { width: 100%; }
.btn-icon { width: 14px; height: 14px; fill: currentColor; }

.link-more {
  display: inline-flex; align-items: baseline; gap: 4px;
  color: var(--link); font-size: 1.0625rem; font-weight: 500;
}
.link-more:hover span:first-child { text-decoration: underline; text-underline-offset: 3px; }
.link-more.on-dark { color: var(--gold-hi); }
.chev { display: inline-block; font-size: 1.25em; line-height: 0; transition: transform 200ms var(--ease-out); }
.link-more:hover .chev { transform: translateX(3px); }
[dir="rtl"] .chev, [dir="rtl"] .row-chev { transform: scaleX(-1); }
[dir="rtl"] .link-more:hover .chev { transform: scaleX(-1) translateX(3px); }

.glass-round {
  display: grid; place-items: center;
  width: 40px; height: 40px; padding: 0;
  border: 0; border-radius: 50%;
  background: rgba(255, 255, 255, 0.16);
  -webkit-backdrop-filter: blur(16px) saturate(170%);
  backdrop-filter: blur(16px) saturate(170%);
  color: #fff;
  transition: transform 120ms ease-out, background-color 200ms ease;
}
.glass-round:hover { background: rgba(255, 255, 255, 0.26); }
.glass-round svg { width: 16px; height: 16px; fill: currentColor; stroke: currentColor; }

/* ---------- Navigation: translucent material, content scrolls under ---------- */
.nav {
  position: fixed; inset: 0 0 auto; z-index: 50;
  height: var(--nav-h);
  background: rgba(250, 249, 246, 0.72);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  backdrop-filter: saturate(180%) blur(20px);
  color: var(--text);
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.06);
}
.nav-inner {
  display: flex; align-items: center; gap: 24px;
  height: 100%;
  width: min(100% - 2 * var(--gutter), 1240px); margin-inline: auto;
}
.nav-brand img { height: 38px; width: auto; }
.nav-links { display: flex; gap: 26px; margin-inline-start: auto; }
.nav-links a {
  font-size: 0.8125rem; letter-spacing: 0.01em;
  color: rgba(29, 29, 31, 0.8);
  transition: color 160ms ease;
}
.nav-links a:hover { color: #000; }
.nav-actions { display: flex; align-items: center; gap: 12px; margin-inline-start: auto; }

.lang { display: flex; padding: 2px; border-radius: 999px; background: rgba(0, 0, 0, 0.06); }
.lang a {
  display: grid; place-items: center;
  min-width: 34px; height: 26px; padding: 0 8px;
  border: 0; border-radius: 999px; background: transparent;
  font-size: 0.75rem; font-weight: 600; color: rgba(29, 29, 31, 0.6);
  transition: background-color 200ms ease, color 200ms ease, transform 120ms ease-out;
}
.lang a:hover { color: #000; }
.lang a[aria-current="page"] { background: #1d1d1f; color: #fff; }

.menu-toggle {
  display: none; position: relative;
  width: 40px; height: 40px; padding: 0; border: 0; background: transparent;
}
.menu-toggle i {
  position: absolute; left: 12px; width: 16px; height: 1.5px; border-radius: 2px;
  background: var(--text);
  transition: transform 320ms var(--ease-out);
}
.menu-toggle i:first-child { top: 16px; }
.menu-toggle i:last-child { top: 22px; }
.menu-toggle[aria-expanded="true"] i:first-child { transform: translateY(3px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] i:last-child { transform: translateY(-3px) rotate(-45deg); }

/* Menu sheet: drops from the nav, leaves along the same path */
.menu-sheet {
  position: fixed; inset: var(--nav-h) 0 0; z-index: 49;
  padding: 24px var(--gutter) 40px;
  background: rgba(250, 249, 246, 0.92);
  -webkit-backdrop-filter: saturate(180%) blur(24px);
  backdrop-filter: saturate(180%) blur(24px);
  color: var(--text);
  opacity: 0; visibility: hidden;
  transform: translateY(-14px);
  transition: opacity 260ms var(--ease-in), transform 260ms var(--ease-in), visibility 0s linear 260ms;
}
.menu-sheet.open {
  opacity: 1; visibility: visible; transform: none;
  transition: opacity 380ms var(--ease-out), transform 480ms var(--ease-out), visibility 0s;
}
.menu-sheet nav { display: grid; gap: 6px; }
.menu-sheet a {
  padding: 6px 0;
  font: var(--display-weight) 1.75rem/1.25 var(--font-display); letter-spacing: var(--ls-title);
}
.menu-sheet.open a { animation: menu-in 480ms var(--ease-out) both; }
.menu-sheet.open a:nth-child(2) { animation-delay: 25ms; }
.menu-sheet.open a:nth-child(3) { animation-delay: 50ms; }
.menu-sheet.open a:nth-child(4) { animation-delay: 75ms; }
.menu-sheet.open a:nth-child(5) { animation-delay: 100ms; }
.menu-sheet.open a:nth-child(6) { animation-delay: 125ms; }
.menu-sheet.open a:nth-child(7) { animation-delay: 150ms; }
@keyframes menu-in { from { opacity: 0; transform: translateY(-8px); } }
.menu-meta { margin-top: 32px; font-size: 0.75rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-2); }

/* ---------- Hero ---------- */
.hero {
  position: relative; isolation: isolate;
  display: grid; align-items: end; justify-items: center;
  min-height: 100vh; min-height: 100svh;
  padding: calc(var(--nav-h) + 80px) var(--gutter) clamp(72px, 11vh, 128px);
  overflow: hidden;
  background: #000; color: #fff; text-align: center;
}
.hero-video { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; }
.hero-scrim {
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(180deg, rgba(0,0,0,0.45) 0%, rgba(0,0,0,0.08) 28%, rgba(0,0,0,0.42) 52%, rgba(0,0,0,0.82) 100%);
}
.hero-copy { max-width: 920px; display: grid; justify-items: center; gap: 22px; }
.hero-eyebrow { font-size: clamp(1rem, 0.9rem + 0.3vw, 1.1875rem); font-weight: 600; color: var(--gold-hi); }
.display-hero span { display: block; }
.hero-accent { color: var(--gold-hi); }
.hero-lead {
  max-width: 640px;
  font-size: clamp(1.1rem, 1rem + 0.4vw, 1.3125rem); line-height: 1.45;
  color: rgba(255, 255, 255, 0.84);
}
.cta-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 14px 28px; margin-top: 6px; }
.video-toggle { position: absolute; top: calc(var(--nav-h) + 16px); inset-inline-end: 24px; }
.video-toggle .i-play { display: none; }
.video-toggle.is-paused .i-play { display: block; }
.video-toggle.is-paused .i-pause { display: none; }

.js .hero-copy > * { animation: rise 1s var(--ease-out) both; animation-delay: calc(var(--i, 0) * 90ms + 120ms); }
@keyframes rise { from { opacity: 0; transform: translateY(22px); filter: blur(12px); } }

/* ---------- Sections ---------- */
.section { position: relative; padding-block: clamp(56px, 7vw, 96px); background: var(--bg); --section-bg: var(--bg); }
.section.alt { background: var(--bg-alt); --section-bg: var(--bg-alt); }
.section.dark, .dark {
  background: var(--ink); color: var(--on-ink); --section-bg: var(--ink);
  --text: var(--on-ink); --text-2: var(--on-ink-2); --link: var(--gold-hi);
  --surface: #3a3a3c; --fill: rgba(118, 118, 128, 0.28); --hair: rgba(255, 255, 255, 0.12);
}
.section-head { display: grid; gap: 18px; margin-bottom: clamp(32px, 4vw, 52px); }
.section-head.center { justify-items: center; text-align: center; max-width: 900px; }
.section-head .lead { max-width: 680px; }
.section-head .eyebrow, .carousel-head .eyebrow { margin-bottom: -6px; }

.tile { position: relative; overflow: hidden; border-radius: var(--r-lg); background: var(--bg-alt); }
.media img, .media video { width: 100%; height: 100%; object-fit: cover; }

/* Vibrancy chip: legible over changing imagery */
.glass-chip {
  position: absolute; inset-inline-start: 16px; bottom: 16px;
  padding: 8px 14px; border-radius: 999px;
  background: rgba(20, 20, 20, 0.38);
  -webkit-backdrop-filter: blur(18px) saturate(170%);
  backdrop-filter: blur(18px) saturate(170%);
  color: #fff; font-size: 0.875rem; font-weight: 600; letter-spacing: var(--ls-small);
}

/* Reveal on scroll (only when JS is running) */
.js .reveal { opacity: 0; translate: 0 28px; transition: opacity 0.9s var(--ease-out), translate 1.1s var(--ease-out); transition-delay: calc(var(--d, 0) * 90ms); }
.js .reveal.in { opacity: 1; translate: none; }

/* Story */
.story-grid { display: grid; grid-template-columns: 1.65fr 1fr; gap: 20px; }
.story-grid .tile { aspect-ratio: 16 / 11; }
.story-grid .tile:last-child { aspect-ratio: auto; }

/* Figures */
.figures { position: relative; background: var(--bg); --section-bg: var(--bg); padding-bottom: clamp(56px, 7vw, 96px); }
.figures-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.figure { display: grid; gap: 10px; align-content: start; padding: 28px 26px 30px; border-radius: var(--r-md); background: var(--bg-alt); }
.figure strong {
  font: var(--display-weight) clamp(2.4rem, 1.7rem + 2.2vw, 3.6rem)/1 var(--font-display);
  letter-spacing: -0.03em;
}
.figure small { font-size: 0.4em; letter-spacing: 0; color: var(--text-2); }
.figure span { font-size: 0.9375rem; line-height: 1.4; color: var(--text-2); }

/* Capabilities */
.film-tile { aspect-ratio: 16 / 9; background: #111; }
.chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 28px; }
.chips li { padding: 9px 16px; border-radius: 999px; background: rgba(255, 255, 255, 0.08); font-size: 0.9375rem; color: var(--on-ink); }

/* ---------- Sector carousel ---------- */
.carousel-head { margin-bottom: clamp(28px, 3.5vw, 44px); }
.carousel-head > div { display: grid; gap: 18px; max-width: 760px; }
.carousel { position: relative; }
.carousel-viewport {
  overflow: hidden; overflow: clip;
  touch-action: pan-y;
  cursor: grab;
  padding-block: 8px 24px;
}
.carousel.is-dragging .carousel-viewport { cursor: grabbing; }
.carousel-track {
  display: flex; gap: 20px;
  padding-inline: max(var(--gutter), calc((100% - var(--wrap)) / 2));
  will-change: transform;
}
.card {
  flex: 0 0 clamp(280px, 36vw, 440px);
  display: flex; flex-direction: column;
  border-radius: var(--r-lg); overflow: hidden;
  background: var(--surface); box-shadow: var(--shadow-card);
  user-select: none; -webkit-user-select: none; -webkit-user-drag: none;
  transition: transform 160ms ease-out;
}
.card:active { transform: scale(0.98); transition-duration: 80ms; }
.carousel.is-dragging .card { transform: none; pointer-events: none; }
.card-media { aspect-ratio: 4 / 3; overflow: hidden; }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 900ms var(--ease-out); }
@media (hover: hover) { .card:hover .card-media img { transform: scale(1.035); } }
.card-body { display: grid; gap: 8px; padding: 24px 26px 28px; flex: 1; align-content: start; }
.card-body p { color: var(--text-2); font-size: 1rem; line-height: 1.45; }
.card-body .link-more { margin-top: 6px; font-size: 1rem; }

.carousel-controls { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 8px; }
.carousel-dots { display: flex; gap: 8px; min-width: 0; overflow: hidden; padding: 10px 14px; border-radius: 999px; background: var(--fill); }
.carousel-dots button { flex: none; }
.carousel-dots button {
  width: 8px; height: 8px; padding: 0; border: 0; border-radius: 999px;
  background: var(--text-2); opacity: 0.45;
  transition: width 420ms var(--ease-out), opacity 300ms ease;
}
.carousel-dots button[aria-current="true"] { width: 24px; opacity: 1; background: var(--text); }
.carousel-arrows { display: flex; gap: 12px; }
.round-btn {
  display: grid; place-items: center;
  width: 44px; height: 44px; padding: 0; border: 0; border-radius: 50%;
  background: var(--fill); color: var(--text);
  transition: transform 120ms ease-out, opacity 200ms ease, background-color 200ms ease;
}
.round-btn:hover:not(:disabled) { background: rgba(118, 118, 128, 0.22); }
.round-btn:disabled { opacity: 0.35; cursor: default; }
.round-btn svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
[dir="rtl"] .round-btn svg { transform: scaleX(-1); }

/* Sectors: workplace and hospitality side by side */
#sectors .section-head > * { max-width: 760px; }
.sector-pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.sector-pair .card { flex: none; }
.sector-pair .card-media { aspect-ratio: 3 / 2; }

/* Gallery: fixed-height shots, width follows each photo's own proportions */
.gallery .carousel-track { align-items: flex-end; }
.shot {
  position: relative; flex: none;
  height: clamp(340px, 44vw, 560px);
  max-width: calc(100vw - 2 * var(--gutter) - 28px);
  border-radius: var(--r-lg); overflow: hidden;
  background: #1c1c1e;
  user-select: none; -webkit-user-select: none;
}
/* The build writes each photo's width/height, so the shot takes the photo's own proportions */
.shot img { width: auto; height: 100%; object-fit: cover; pointer-events: none; }
#gallery .seg-scroll { margin-bottom: 28px; }

/* Details */
.detail-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.detail { aspect-ratio: 3 / 4; }
.detail img { transition: transform 1.2s var(--ease-out); }
@media (hover: hover) { .detail:hover img { transform: scale(1.04); } }

/* ---------- Projects: segmented control + inset grouped list ---------- */
.seg-scroll { display: flex; justify-content: center; overflow-x: auto; scrollbar-width: none; margin-bottom: 28px; padding: 2px; }
.seg-scroll::-webkit-scrollbar { display: none; }
.seg { position: relative; display: inline-flex; padding: 3px; border-radius: 999px; background: var(--fill); flex: none; }
.seg-pill {
  position: absolute; top: 3px; bottom: 3px; left: 0;
  border-radius: 999px; background: var(--surface);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12), 0 3px 10px rgba(0, 0, 0, 0.06);
  will-change: transform, width;
}
.seg button {
  position: relative; z-index: 1;
  padding: 8px 18px; border: 0; border-radius: 999px; background: transparent;
  font-size: 0.9375rem; font-weight: 500; color: var(--text-2); white-space: nowrap;
  transition: color 200ms ease, opacity 100ms ease;
}
.seg button:active { opacity: 0.6; }
.seg button[aria-pressed="true"] { color: var(--text); font-weight: 600; }
.no-js .seg button[aria-pressed="true"] { background: var(--surface); }

.group-list { border-radius: var(--r-md); background: var(--surface); overflow: hidden; box-shadow: var(--shadow-card); }
.project-row {
  position: relative;
  display: grid; grid-template-columns: 1fr auto auto; align-items: center; gap: 16px;
  padding: 18px 22px;
  transition: background-color 120ms ease;
}
.project-row::before, .group-list li + li::before {
  content: ""; position: absolute; top: 0; inset-inline: 22px 0;
  height: 1px; background: var(--hair);
}
.project-row.first::before { display: none; }
.project-row:hover { background: rgba(118, 118, 128, 0.06); }
.project-row:active { background: rgba(118, 118, 128, 0.14); transition-duration: 0ms; }
.project-row h3 { font-size: 1.1875rem; font-weight: 600; letter-spacing: var(--ls-title); line-height: 1.25; }
.project-row small, .group-list small { display: block; margin-top: 3px; font-size: 0.875rem; color: var(--text-2); }
.tag { padding: 4px 10px; border-radius: 999px; background: var(--fill); font-size: 0.75rem; font-weight: 600; color: var(--text-2); }
.row-chev { color: var(--text-2); opacity: 0.6; font-size: 1.5rem; line-height: 1; }
.project-list.refresh { animation: list-in 320ms var(--ease-out); }
@keyframes list-in { from { opacity: 0.35; } }
.footnote { margin-top: 18px; text-align: center; font-size: 0.8125rem; color: var(--text-2); }

/* ---------- Export ---------- */
.export { position: relative; isolation: isolate; padding-block: clamp(72px, 9vw, 120px); }
.export-bg { position: absolute; inset: 0; z-index: -2; overflow: hidden; }
.export-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.export-shade { position: absolute; inset: 0; background: linear-gradient(180deg, var(--ink) 0%, rgba(11,10,9,0.62) 22%, rgba(11,10,9,0.55) 55%, rgba(11,10,9,0.8) 85%, var(--ink) 100%); }
.export-content { display: grid; gap: 40px; }
.export-content > .reveal:first-child { display: grid; gap: 18px; max-width: 720px; }
.export .headline span { display: block; }
.export .accent { color: var(--gold-hi); }
.benefits { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.glass-card {
  display: grid; gap: 6px; align-content: start;
  padding: 24px 24px 26px; border-radius: var(--r-md);
  background: rgba(255, 255, 255, 0.08);
  -webkit-backdrop-filter: blur(22px) saturate(160%);
  backdrop-filter: blur(22px) saturate(160%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.16);
}
.glass-card strong { font-size: 1.1875rem; font-weight: 600; letter-spacing: var(--ls-title); }
.glass-card p { font-size: 0.9375rem; line-height: 1.45; color: rgba(245, 245, 247, 0.78); }

/* ---------- Catalog ---------- */
.catalog-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.catalog-photo { aspect-ratio: 4 / 5; }
.catalog-copy { display: grid; gap: 18px; justify-items: start; }
.catalog-copy .eyebrow { margin-bottom: -6px; }
.badge { padding: 6px 12px; border-radius: 999px; background: var(--fill); font-size: 0.8125rem; font-weight: 600; color: var(--text-2); }
.catalog-copy .group-list { width: 100%; margin-block: 6px 8px; }
.group-list li { position: relative; padding: 15px 22px; }
.group-list strong { font-size: 1.0625rem; font-weight: 600; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(32px, 5vw, 72px); align-items: start; }
.contact-intro { display: grid; gap: 18px; }
.contact-intro .eyebrow { margin-bottom: -6px; }
.contact-list { margin-top: 10px; }
.contact-list li { padding: 0; }
.contact-list a, .contact-list li > div {
  display: grid; grid-template-columns: 1fr auto; align-items: center; column-gap: 12px;
  padding: 14px 22px;
}
.contact-list small { grid-column: 1; margin: 0; }
.contact-list strong { grid-column: 1; }
.contact-list .row-chev { grid-column: 2; grid-row: 1 / span 2; }
.contact-list a:hover { background: rgba(118, 118, 128, 0.06); }
.contact-list a:active { background: rgba(118, 118, 128, 0.14); }

.form-card { display: grid; gap: 22px; padding: clamp(24px, 3.5vw, 40px); border-radius: var(--r-lg); background: var(--surface); box-shadow: var(--shadow-card); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: grid; gap: 6px; align-content: start; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: 0.8125rem; font-weight: 600; color: var(--text-2); letter-spacing: var(--ls-small); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 48px; padding: 12px 14px;
  border: 1px solid transparent; border-radius: var(--r-sm);
  background: var(--bg-alt); color: var(--text);
  font-size: 1rem;
  transition: border-color 160ms ease, box-shadow 160ms ease, background-color 160ms ease;
}
.field textarea { resize: vertical; min-height: 120px; }
.field select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--text-2) 50%), linear-gradient(135deg, var(--text-2) 50%, transparent 50%); background-position: calc(100% - 20px) 21px, calc(100% - 15px) 21px; background-size: 5px 5px; background-repeat: no-repeat; }
[dir="rtl"] .field select { background-position: 20px 21px, 15px 21px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 4px rgba(187, 169, 94, 0.25); background: var(--surface); }
.field.invalid input, .field.invalid select, .field.invalid textarea { border-color: var(--danger); }
.field-error { min-height: 0; font-size: 0.8125rem; color: var(--danger); }
.field-error:empty { display: none; }
.form-note { font-size: 0.8125rem; color: var(--text-2); text-align: center; margin-top: -8px; }
.form-status { font-size: 0.9375rem; font-weight: 600; color: var(--link); text-align: center; }
.form-status:empty { display: none; }

/* ---------- Footer ---------- */
.footer { position: relative; --section-bg: var(--bg-alt); background: var(--bg-alt); border-top: 1px solid var(--hair); padding-block: 44px 36px; font-size: 0.8125rem; color: var(--text-2); }
.footer-top { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-bottom: 24px; border-bottom: 1px solid var(--hair); }
.footer-top p { max-width: 440px; text-align: end; }
.footer-logo img { height: 40px; width: auto; }
.logo-on-light { display: none; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding-top: 18px; }
.footer-links { display: flex; gap: 22px; }
.footer-links a:hover { color: var(--text); }

/* ---------- Film sheet ---------- */
.film {
  width: 100%; height: 100%; max-width: none; max-height: none;
  margin: 0; padding: 0; border: 0;
  background: transparent; overflow: hidden;
}
.film[open] { display: grid; place-items: center; }
.film::backdrop { background: transparent; }
.film-scrim {
  position: absolute; inset: 0;
  background: rgba(0, 0, 0, 0.74);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  opacity: 0;
}
.film-panel {
  position: relative;
  width: min(1100px, 100% - 32px);
  border-radius: 22px; overflow: hidden;
  background: #000;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5);
  opacity: 0;
  will-change: transform, opacity;
}
.film-bar {
  position: relative; display: flex; align-items: center; justify-content: flex-end;
  height: 48px; padding-inline: 12px;
  touch-action: none; cursor: grab;
}
.film-panel.is-dragging .film-bar { cursor: grabbing; }
.grabber { position: absolute; left: 50%; top: 10px; width: 38px; height: 5px; margin-left: -19px; border-radius: 3px; background: rgba(255, 255, 255, 0.35); }
.film-close { width: 30px; height: 30px; }
.film-close svg { width: 12px; height: 12px; fill: none; stroke-width: 2; stroke-linecap: round; }
.film video { width: 100%; aspect-ratio: 16 / 9; background: #000; }

/* ---------- Responsive ---------- */
@media (max-width: 1020px) {
  .nav-links { display: none; }
  .menu-toggle { display: block; }
  .nav-actions { margin-inline-start: auto; }
  .figures-grid { grid-template-columns: repeat(2, 1fr); }
  .benefits { grid-template-columns: 1fr; }
  .catalog-grid, .contact-grid { grid-template-columns: 1fr; }
  .catalog-photo { aspect-ratio: 4 / 3; }
}
@media (max-width: 720px) {
  :root { --gutter: 16px; --r-lg: 22px; }
  .nav-cta { display: none; }
  .story-grid, .detail-grid { grid-template-columns: 1fr; }
  .story-grid .tile:last-child { aspect-ratio: 4 / 3; }
  .detail { aspect-ratio: 4 / 3; }
  .sector-pair { grid-template-columns: 1fr; }
  .gallery .carousel-dots { visibility: hidden; }
  .form-grid { grid-template-columns: 1fr; }
  .project-row { grid-template-columns: 1fr auto; padding: 16px 18px; }
  .project-row .tag { display: none; }
  .footer-top { flex-direction: column; align-items: flex-start; }
  .footer-top p { text-align: start; }
  .video-toggle { top: calc(var(--nav-h) + 12px); inset-inline-end: 16px; }
  .film-panel { width: 100%; border-radius: 18px 18px 0 0; align-self: end; }
}
@media (max-width: 380px) {
  .figure { padding: 22px 18px; }
  .lang a { min-width: 30px; padding: 0 6px; }
}

/* ---------- Accessibility preferences ---------- */
@media (prefers-reduced-transparency: reduce) {
  .nav, .menu-sheet { background: #faf9f6; -webkit-backdrop-filter: none; backdrop-filter: none; }
  .glass-chip { background: rgba(0, 0, 0, 0.82); -webkit-backdrop-filter: none; backdrop-filter: none; }
  .glass-card { background: #1c1c1e; -webkit-backdrop-filter: none; backdrop-filter: none; }
  .glass-round { background: rgba(0, 0, 0, 0.7); -webkit-backdrop-filter: none; backdrop-filter: none; }
  .film-scrim { background: rgba(0, 0, 0, 0.9); -webkit-backdrop-filter: none; backdrop-filter: none; }
}

@media (prefers-contrast: more) {
  :root { --text-2: #3a3a3c; --hair: rgba(0, 0, 0, 0.3); }
  .nav { background: #fff; box-shadow: 0 1px 0 #000; }
  .glass-chip, .glass-card { background: #000; border: 1px solid #fff; }
  .group-list, .card, .form-card { box-shadow: 0 0 0 1px var(--hair); }
}

/* ---------- Project photographs (real Universal Furniture projects) ---------- */
.project-row.has-photos { grid-template-columns: auto 1fr auto auto; }
.row-thumb { width: 64px; height: 48px; border-radius: 10px; object-fit: cover; background: var(--bg-alt); }
.project-row .row-count { color: var(--link); font-weight: 600; }

.photos .film-panel { width: min(1180px, 100% - 32px); }
.photos .film-bar { height: auto; min-height: 48px; padding: 22px 14px 12px 22px; justify-content: space-between; gap: 16px; }
[dir="rtl"] .photos .film-bar { padding: 22px 22px 12px 14px; }
.photos .grabber { top: 8px; }
.photo-head { display: grid; gap: 2px; min-width: 0; }
.photo-head .title { font-size: clamp(1.15rem, 1rem + 0.6vw, 1.5rem); color: var(--on-ink); }
.photo-count { font-size: 0.875rem; color: var(--on-ink-2); }
.photo-carousel .carousel-viewport { padding-block: 0; }
.photo-carousel .carousel-track { padding-inline: 0; gap: 0; }
.photo-slide {
  flex: 0 0 100%; margin: 0;
  height: min(68vh, 720px);
  display: flex; align-items: center; justify-content: center;
  background: #000; user-select: none; -webkit-user-select: none;
}
.photo-slide img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; pointer-events: none; }
.photo-carousel .carousel-controls { margin: 0; padding: 14px 16px 18px; }

@media (max-width: 720px) {
  .project-row.has-photos { grid-template-columns: auto 1fr auto; }
  .row-thumb { width: 52px; height: 40px; border-radius: 8px; }
  .photo-slide { height: min(58vh, 520px); }
}

/* Confidential project: a lock where the cover photo would be, and no viewer */
.project-row.is-confidential:hover, .project-row.is-confidential:active { background: none; }
.confidential-thumb { display: grid; place-items: center; background: var(--fill); }
.confidential-thumb svg { width: 20px; height: 20px; fill: none; stroke: var(--link); stroke-width: 1.7; stroke-linecap: round; }
.row-count.confidential-label { text-transform: uppercase; letter-spacing: 0.06em; }
html[lang="ar"] .row-count.confidential-label { letter-spacing: 0; }

/* ---------- More motion (scroll-linked + staggered reveals) ---------- */
.hero-copy, .hero-video, .film-tile, .story-grid .tile img, .catalog-photo img, .export-photo { will-change: transform; }
.film-tile { transform-origin: 50% 30%; }
.figure strong { font-variant-numeric: tabular-nums; }

/* Headline words rise in sequence once their block is revealed */
.js .headline .w {
  display: inline-block;
  opacity: 0; transform: translateY(0.5em);
  transition: opacity 0.7s var(--ease-out), transform 0.9s var(--ease-out);
  transition-delay: calc(var(--wi, 0) * 45ms + 120ms);
}
.js .reveal.in .headline .w { opacity: 1; transform: none; }

/* Lists arrive one item after another */
.js .chips li, .js .catalog-copy .group-list li, .js .contact-list li {
  opacity: 0; transform: translateY(14px);
  transition: opacity 0.6s var(--ease-out), transform 0.8s var(--ease-out);
}
.js .chips.in li, .js .catalog-copy.in .group-list li, .js .contact-intro.in .contact-list li { opacity: 1; transform: none; }
.chips li:nth-child(2), .group-list li:nth-child(2) { transition-delay: 70ms; }
.chips li:nth-child(3), .group-list li:nth-child(3) { transition-delay: 140ms; }
.chips li:nth-child(4), .group-list li:nth-child(4) { transition-delay: 210ms; }
.group-list li:nth-child(5) { transition-delay: 280ms; }

/* Sector cards lift toward the pointer */
@media (hover: hover) {
  .sector-pair .card { transition: opacity 0.9s var(--ease-out), translate 1.1s var(--ease-out), box-shadow 0.45s var(--ease-out), scale 120ms ease-out; }
  .sector-pair .card:hover { box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06), 0 28px 56px rgba(0, 0, 0, 0.14); }
}

/* ---------- Type: gold second lines (upright; Gloock has no italic) ---------- */
.hero-accent, .export .accent { font-style: normal; }
html[lang="ar"] .hero-accent, html[lang="ar"] .export .accent { font-style: normal; }

/* ---------- Motion, part 2 ---------- */

/* Thin gold reading-progress line under the menu bar (driven by scroll in site.js) */
.scroll-progress {
  position: absolute; inset: auto 0 0; height: 2px;
  background: linear-gradient(90deg, var(--gold), var(--gold-hi));
  transform-origin: left center; transform: scaleX(0);
}
[dir="rtl"] .scroll-progress { transform-origin: right center; }

/* Photos unveil from a slightly cropped frame as they appear */
.js .tile.media.reveal {
  clip-path: inset(7% 7% 7% 7% round var(--r-lg));
  transition: opacity 0.9s var(--ease-out), translate 1.1s var(--ease-out), clip-path 1.4s var(--ease-out);
  transition-delay: calc(var(--d, 0) * 90ms);
}
.js .tile.media.reveal.in { clip-path: inset(0 round var(--r-lg)); }

/* Scroll-lit paragraphs: words brighten one by one as the text rises up the screen */
.lead-lit { color: var(--text); }
.lead-lit .lw { opacity: 0.2; transition: opacity 0.35s ease; }
.lead-lit .lw.on { opacity: 1; }

/* Sector cards lean toward the pointer (values set by site.js), with a soft light sheen */
.sector-pair .card {
  position: relative;
  transform: perspective(1000px) translateY(var(--lift, 0px)) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
  transform-style: preserve-3d;
}
.sector-pair .card::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  background: radial-gradient(circle at var(--gx, 50%) var(--gy, 0%), rgba(255, 255, 255, 0.35), transparent 55%);
  opacity: var(--sheen, 0);
}
.sector-pair .card:active { scale: 0.98; transition-duration: 80ms; }

/* Project rows: thumbnail eases in, arrow nudges toward its direction */
.project-row .row-thumb { transition: transform 0.6s var(--ease-out); }
.project-row .row-chev { transition: translate 0.3s var(--ease-out); }
@media (hover: hover) {
  .project-row.has-photos:not(.is-confidential):hover .row-thumb { transform: scale(1.08); }
  .project-row:not(.is-confidential):hover .row-chev { translate: 3px 0; }
  [dir="rtl"] .project-row:not(.is-confidential):hover .row-chev { translate: -3px 0; }
}
.row-thumb { overflow: hidden; }

/* ---------- Premium pass: blended sections, shimmer, banner, spotlight ---------- */

/* Each section bleeds upward into the one before it, with an eased (not linear) blend,
   so light and dark sections fade into each other instead of meeting at a hard edge. */
.section::before, .figures::before, .marquee::before, .export::before, .footer::before {
  content: ""; position: absolute; inset-inline: 0; bottom: 100%; z-index: 1;
  height: var(--feather); pointer-events: none;
  background: linear-gradient(to bottom,
    transparent 0%,
    color-mix(in srgb, var(--section-bg) 8%, transparent) 22%,
    color-mix(in srgb, var(--section-bg) 28%, transparent) 45%,
    color-mix(in srgb, var(--section-bg) 62%, transparent) 70%,
    color-mix(in srgb, var(--section-bg) 88%, transparent) 88%,
    var(--section-bg) 100%);
}
.footer { border-top: 0; }

/* A slow gold light passes across "Built to last." */
.hero-accent {
  background: linear-gradient(100deg, var(--gold-hi) 0%, var(--gold-hi) 38%, #f6ebc4 50%, var(--gold-hi) 62%, var(--gold-hi) 100%);
  background-size: 260% 100%; background-position: 130% 0;
  -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: sheen 7s ease-in-out 1.8s infinite;
}
@keyframes sheen { 0% { background-position: 130% 0; } 55%, 100% { background-position: -30% 0; } }

/* Moving banner: large serif words that drift, speeding up with the scroll (site.js) */
.marquee {
  position: relative; --section-bg: var(--bg); background: var(--bg);
  overflow: hidden; overflow: clip;
  /* Extra room below: the dark section underneath melts up into this space */
  padding-block: clamp(18px, 3vw, 40px) calc(var(--feather) + clamp(8px, 1.5vw, 20px));
  border-top: 1px solid var(--hair);
}
.marquee-track { display: flex; width: max-content; will-change: transform; }
.marquee-group { display: flex; align-items: center; flex: none; }
.marquee-group span {
  padding-inline: clamp(18px, 2.4vw, 36px);
  font: var(--display-weight) clamp(2rem, 1.2rem + 3.4vw, 4.4rem)/1.1 var(--font-display);
  letter-spacing: var(--ls-head); white-space: nowrap; color: var(--text);
}
.marquee-group span:nth-child(4n + 3) { color: var(--link); }
.marquee-group i { font-style: normal; font-size: clamp(0.9rem, 0.7rem + 0.8vw, 1.4rem); color: var(--gold); }

/* A soft gold spotlight follows the pointer across the dark sections (site.js sets --mx/--my) */
@property --spot { syntax: "<number>"; inherits: true; initial-value: 0; }
.section.dark {
  background:
    radial-gradient(720px circle at var(--mx, 50%) var(--my, -30%), rgba(212, 194, 123, calc(0.11 * var(--spot))), transparent 65%),
    var(--ink);
  transition: --spot 0.6s ease;
}

/* Gallery photos ease forward under the pointer */
.shot img { transition: transform 1s var(--ease-out); }
@media (hover: hover) { .shot:hover img { transform: scale(1.045); } }

/* Buttons lean toward the pointer (site.js) and keep their press feedback */
.btn, .round-btn, .video-toggle { will-change: translate; }

/* ---------- Fixes: clipped gold headline, banner ampersand, Arabic figures ---------- */

/* The gold shimmer paints only inside the text's box, so give tall letters (l, t, f) and
   deep Arabic letters room inside it; the negative margin keeps the layout unchanged. */
.hero-accent { padding: 0.12em 0.14em 0.24em; margin: -0.12em -0.14em -0.24em; }
html[lang="ar"] .hero-accent { padding-block: 0.3em 0.55em; margin-block: -0.3em -0.55em; }

/* "&" stays a plain, readable ampersand even inside the italic banner words */
.marquee-group .amp { font-style: normal; font-weight: inherit; }

/* The figures use Latin digits, so keep the English serif for them on the Arabic page too */
html[lang="ar"] .figure strong { font-family: "Gloock", Georgia, serif; font-weight: 400; }
