﻿/* ==========================================================================
   ROAYA Contracting & Finishing — Official Website
   01. Tokens · 02. Base · 03. Buttons · 04. Header · 05. Hero
   ========================================================================== */

/* ============================== 01. TOKENS ============================== */
:root {
  --gold: #d8c28a;
  --gold-strong: #e6d3a3;
  --gold-deep: #b99a5c;
  --gold-text: #e2ce9c;
  --gold-soft: rgba(216, 194, 138, 0.1);
  --gold-line: rgba(216, 194, 138, 0.32);
  --burgundy: #710d24;
  --charcoal: #252326;
  --deep-green: #252d29;
  --off-white: #f5f2ea;

  --bg: #131215;
  --bg-alt: #191a17;
  --bg-elevated: #1b1a1e;
  --surface: #1c1b1f;
  --surface-2: #232226;
  --surface-3: #2a292e;
  --input-bg: #161518;

  --ink: #f5f2ea;
  --ink-2: #d8d3c7;
  --ink-3: #a8a297;
  --muted: #8b857b;
  --line: rgba(245, 242, 234, 0.1);
  --line-strong: rgba(245, 242, 234, 0.18);

  --btn-gold-bg: #d8c28a;
  --btn-gold-hover: #e7d5a6;
  --btn-gold-fg: #17161a;
  --whatsapp: #1f8a56;
  --whatsapp-hover: #25a366;
  --error: #e39898;
  --success: #87c9a2;

  --header-bg: rgba(19, 18, 21, 0.88);
  --nav-fg: var(--ink);
  --nav-soft: var(--ink-3);

  --container: 1260px;
  --gutter: clamp(1.15rem, 4vw, 2.75rem);
  --section-y: clamp(4.5rem, 9vw, 8.5rem);
  --header-h: 88px;

  --r-xs: 2px;
  --r-sm: 3px;
  --r-md: 5px;
  --r-lg: 10px;

  --font-ar-display: "Cairo", "Tajawal", "Segoe UI", Tahoma, sans-serif;
  --font-ar-body: "Tajawal", "Cairo", "Segoe UI", Tahoma, sans-serif;
  --font-en-display: "Poppins", "Inter", "Segoe UI", sans-serif;
  --font-en-body: "Inter", "Segoe UI", sans-serif;

  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --dur: 0.45s;
  --dur-slow: 0.8s;

  --shadow-sm: 0 8px 24px rgba(0, 0, 0, 0.18);
  --shadow-md: 0 22px 48px rgba(0, 0, 0, 0.28);
  --shadow-lg: 0 40px 90px rgba(0, 0, 0, 0.38);
}

[data-theme="light"] {
  --bg: #f5f2ea;
  --bg-alt: #ede8dd;
  --bg-elevated: #f9f6f0;
  --surface: #fbf9f4;
  --surface-2: #ffffff;
  --surface-3: #f1ece1;
  --input-bg: #ffffff;

  --ink: #201e21;
  --ink-2: #3f3a35;
  --ink-3: #625b52;
  --muted: #7a7369;
  --line: rgba(37, 35, 38, 0.12);
  --line-strong: rgba(37, 35, 38, 0.22);

  --gold: #b4924f;
  --gold-strong: #a17f3c;
  --gold-deep: #8c6b2e;
  --gold-text: #7e612a;
  --gold-soft: rgba(180, 146, 79, 0.1);
  --gold-line: rgba(140, 107, 46, 0.35);

  --btn-gold-bg: #cfb476;
  --btn-gold-hover: #dcc48c;
  --btn-gold-fg: #1a181b;
  --whatsapp: #1c7a4c;
  --whatsapp-hover: #15603b;
  --error: #a33a3a;
  --success: #26714a;

  --header-bg: rgba(245, 242, 234, 0.9);
  --nav-fg: #201e21;
  --nav-soft: #625b52;
  --shadow-sm: 0 8px 24px rgba(58, 47, 30, 0.08);
  --shadow-md: 0 22px 48px rgba(58, 47, 30, 0.12);
  --shadow-lg: 0 40px 90px rgba(58, 47, 30, 0.16);
}

/* Sections that stay dark in both themes keep the bright champagne gold. */
.hero,
.why,
.site-footer,
.site-header:not(.is-scrolled) {
  --gold: #d8c28a;
  --gold-strong: #e6d3a3;
  --gold-deep: #b99a5c;
  --gold-text: #e2ce9c;
  --gold-soft: rgba(216, 194, 138, 0.1);
  --gold-line: rgba(216, 194, 138, 0.32);
  --btn-gold-bg: #d8c28a;
  --btn-gold-hover: #e7d5a6;
  --btn-gold-fg: #17161a;
}

/* =========================== 02. BASE & UTILS =========================== */
*,
*::before,
*::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-ar-body);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.85;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  transition: background-color 0.4s var(--ease), color 0.4s var(--ease);
}

body.is-locked { overflow: hidden; }

h1, h2, h3, h4, h5 {
  margin: 0;
  font-family: var(--font-ar-display);
  font-weight: 700;
  line-height: 1.3;
  color: var(--ink);
}

p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }

img, svg { max-width: 100%; }
img { display: block; height: auto; }

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.3s var(--ease), border-color 0.3s var(--ease);
}

button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  cursor: pointer;
}

input, select, textarea {
  font: inherit;
  color: inherit;
}

fieldset { border: 0; margin: 0; padding: 0; }

::selection {
  background: var(--gold);
  color: #17161a;
}

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

::-webkit-scrollbar { width: 11px; height: 11px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb {
  background: var(--surface-3);
  border: 3px solid var(--bg);
  border-radius: 8px;
}
::-webkit-scrollbar-thumb:hover { background: var(--gold-deep); }

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

.section {
  position: relative;
  padding-block: var(--section-y);
}

.section--alt {
  background: var(--bg-alt);
  border-block: 1px solid var(--line);
}

.svg-sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.icon {
  width: 1.25rem;
  height: 1.25rem;
  flex: none;
  display: inline-block;
  vertical-align: middle;
  fill: none;
}

.icon--inline { width: 1.05em; height: 1.05em; }

.sr-only {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  top: -100%;
  inset-inline-start: 1rem;
  z-index: 999;
  padding: 0.8rem 1.25rem;
  background: var(--gold);
  color: #17161a;
  font-family: var(--font-ar-display);
  font-weight: 600;
  border-radius: var(--r-xs);
  transition: top 0.25s var(--ease);
}
.skip-link:focus { top: 1rem; }

.text-gold { color: var(--gold-text); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  font-family: var(--font-en-body);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--gold-text);
}

.eyebrow__line {
  width: 34px;
  height: 1px;
  background: currentColor;
  opacity: 0.65;
}

.section-head { max-width: 780px; }

.section-head--center {
  margin-inline: auto;
  text-align: center;
}

.section-head--center .eyebrow { justify-content: center; }

.section-title {
  margin-top: 0.6rem;
  font-size: clamp(2rem, 4.2vw, 3.5rem);
  font-weight: 800;
  line-height: 1.22;
  letter-spacing: -0.01em;
}

.section-head__en {
  margin-top: 0.65rem;
  font-family: var(--font-en-display);
  font-size: 0.78rem;
  font-weight: 400;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--muted);
}

.section-head__lead {
  margin-top: 1.3rem;
  max-width: 66ch;
  margin-inline: auto;
  color: var(--ink-3);
  font-size: 1.02rem;
  line-height: 1.95;
}

.section-head--start .section-head__lead { margin-inline: 0; }

/* ========================= 03. BUTTONS & LINKS ========================= */
.btn {
  --btn-pad-y: 0.95rem;
  --btn-pad-x: 1.6rem;
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  min-height: 48px;
  padding: var(--btn-pad-y) var(--btn-pad-x);
  border: 1px solid transparent;
  border-radius: var(--r-xs);
  font-family: var(--font-ar-display);
  font-size: 0.94rem;
  font-weight: 600;
  line-height: 1.3;
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  cursor: pointer;
  transition: background-color 0.35s var(--ease), color 0.35s var(--ease),
              border-color 0.35s var(--ease), transform 0.35s var(--ease),
              box-shadow 0.35s var(--ease);
}

.btn .icon { transition: transform 0.35s var(--ease); }

.btn--gold {
  background: var(--btn-gold-bg);
  border-color: var(--btn-gold-bg);
  color: var(--btn-gold-fg);
}

.btn--gold::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, transparent 20%, rgba(255, 255, 255, 0.35) 50%, transparent 80%);
  transform: translateX(-120%);
  transition: transform 0.7s var(--ease);
}

.btn--gold:hover { background: var(--btn-gold-hover); border-color: var(--btn-gold-hover); transform: translateY(-2px); box-shadow: var(--shadow-sm); }
.btn--gold:hover::after { transform: translateX(120%); }

.btn--ghost {
  border-color: rgba(245, 242, 234, 0.28);
  color: #f5f2ea;
  background: rgba(20, 19, 22, 0.18);
  backdrop-filter: blur(6px);
}
.btn--ghost:hover { border-color: var(--gold); color: var(--gold-strong); background: rgba(20, 19, 22, 0.35); transform: translateY(-2px); }

.btn--outline {
  border-color: var(--gold-line);
  color: var(--gold-text);
  background: transparent;
}
.btn--outline:hover { border-color: var(--gold); background: var(--gold-soft); transform: translateY(-2px); }

.btn--whatsapp {
  background: var(--whatsapp);
  border-color: var(--whatsapp);
  color: #ffffff;
}
.btn--whatsapp:hover { background: var(--whatsapp-hover); border-color: var(--whatsapp-hover); transform: translateY(-2px); box-shadow: var(--shadow-sm); }

.btn--sm { --btn-pad-y: 0.68rem; --btn-pad-x: 1.15rem; min-height: 42px; font-size: 0.84rem; }
.btn--block { width: 100%; }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding-bottom: 0.2rem;
  border-bottom: 1px solid transparent;
  color: var(--gold-text);
  font-family: var(--font-ar-display);
  font-size: 0.92rem;
  font-weight: 600;
}
.link-arrow .icon { width: 1.05rem; height: 1.05rem; transition: transform 0.35s var(--ease); }
.link-arrow:hover { border-bottom-color: currentColor; }
.link-arrow:hover .icon { transform: translateX(-5px); }

.icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line-strong);
  border-radius: var(--r-xs);
  color: inherit;
  background: transparent;
  transition: color 0.3s var(--ease), border-color 0.3s var(--ease), background-color 0.3s var(--ease);
}
.icon-btn:hover { color: var(--gold-text); border-color: var(--gold-line); background: var(--gold-soft); }

/* ======================= 04. HEADER & NAVIGATION ======================= */
.site-header {
  position: fixed;
  inset-inline: 0;
  top: 0;
  z-index: 100;
  color: var(--nav-fg);
  border-bottom: 1px solid transparent;
  transition: background-color 0.4s var(--ease), border-color 0.4s var(--ease),
              backdrop-filter 0.4s var(--ease), height 0.4s var(--ease);
}

.site-header:not(.is-scrolled) {
  --nav-fg: #f5f2ea;
  --nav-soft: rgba(245, 242, 234, 0.72);
  background: linear-gradient(to bottom, rgba(10, 10, 12, 0.55), rgba(10, 10, 12, 0));
}

.site-header.is-scrolled {
  background: var(--header-bg);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
  border-bottom-color: var(--line);
}

.header__inner {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 3vw, 2.5rem);
  height: var(--header-h);
  transition: height 0.4s var(--ease);
}

.site-header.is-scrolled .header__inner { height: 74px; }

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  flex: none;
  color: var(--nav-fg);
}

.brand__mark {
  width: 46px;
  height: 46px;
  color: var(--gold);
  flex: none;
}
.site-header.is-scrolled .brand__mark { width: 42px; height: 42px; }

.brand__text { display: flex; flex-direction: column; gap: 0.12rem; line-height: 1; }

.brand__name {
  font-family: var(--font-en-display);
  font-size: 1.24rem;
  font-weight: 500;
  letter-spacing: 0.3em;
  color: var(--nav-fg);
}

.brand__sub {
  font-family: var(--font-en-body);
  font-size: 0.48rem;
  font-weight: 400;
  letter-spacing: 0.26em;
  color: var(--gold);
  white-space: nowrap;
}

.brand__name--sm { font-size: 1.05rem; letter-spacing: 0.24em; }

.primary-nav { margin-inline-start: auto; }

.primary-nav__list {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 2.2vw, 2rem);
}

.primary-nav__link {
  position: relative;
  display: inline-block;
  padding: 0.4rem 0;
  font-family: var(--font-ar-display);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--nav-soft);
  white-space: nowrap;
}

.primary-nav__link::after {
  content: "";
  position: absolute;
  bottom: 0;
  inset-inline-start: 0;
  width: 100%;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.35s var(--ease);
}

.primary-nav__link:hover { color: var(--nav-fg); }
.primary-nav__link:hover::after { transform: scaleX(0.5); }
.primary-nav__link.is-active { color: var(--gold-text); }
.primary-nav__link.is-active::after { transform: scaleX(1); }

.header__actions {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-inline-start: 1.25rem;
}

.theme-toggle .icon { width: 1.15rem; height: 1.15rem; }
[data-theme="dark"] .theme-toggle .icon--moon { display: none; }
[data-theme="light"] .theme-toggle .icon--sun { display: none; }

.menu-toggle { display: none; }

/* Mobile navigation */
.mobile-nav {
  position: fixed;
  inset: 0;
  z-index: 200;
  visibility: hidden;
  pointer-events: none;
}

.mobile-nav__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(8, 8, 10, 0.7);
  -webkit-backdrop-filter: blur(5px);
  backdrop-filter: blur(5px);
  opacity: 0;
  transition: opacity 0.4s var(--ease);
}

.mobile-nav__panel {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: min(430px, 90vw);
  display: flex;
  flex-direction: column;
  padding: 1.5rem clamp(1.25rem, 5vw, 2rem) 2rem;
  background: var(--bg-elevated);
  border-inline-end: 1px solid var(--gold-line);
  box-shadow: var(--shadow-lg);
  transform: translateX(-100%);
  transition: transform 0.55s var(--ease-out);
  overflow-y: auto;
  overscroll-behavior: contain;
}

.mobile-nav.is-open { visibility: visible; pointer-events: auto; }
.mobile-nav.is-open .mobile-nav__backdrop { opacity: 1; }
.mobile-nav.is-open .mobile-nav__panel { transform: translateX(0); }

.mobile-nav__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--line);
}
.mobile-nav__head .brand__name { color: var(--ink); }

.mobile-nav__list {
  display: flex;
  flex-direction: column;
  padding-block: 1.5rem;
}

.mobile-nav__list li {
  opacity: 0;
  transform: translateX(-18px);
  transition: opacity 0.45s var(--ease), transform 0.45s var(--ease);
}
.mobile-nav.is-open .mobile-nav__list li { opacity: 1; transform: none; }
.mobile-nav.is-open .mobile-nav__list li:nth-child(1) { transition-delay: 0.08s; }
.mobile-nav.is-open .mobile-nav__list li:nth-child(2) { transition-delay: 0.13s; }
.mobile-nav.is-open .mobile-nav__list li:nth-child(3) { transition-delay: 0.18s; }
.mobile-nav.is-open .mobile-nav__list li:nth-child(4) { transition-delay: 0.23s; }
.mobile-nav.is-open .mobile-nav__list li:nth-child(5) { transition-delay: 0.28s; }
.mobile-nav.is-open .mobile-nav__list li:nth-child(6) { transition-delay: 0.33s; }

.mobile-nav__list a {
  display: flex;
  align-items: baseline;
  gap: 1rem;
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--line);
  font-family: var(--font-ar-display);
  font-size: 1.22rem;
  font-weight: 600;
  color: var(--ink-2);
}
.mobile-nav__list a span {
  font-family: var(--font-en-body);
  font-size: 0.66rem;
  letter-spacing: 0.16em;
  color: var(--gold-text);
}
.mobile-nav__list a:hover { color: var(--gold-text); }

.mobile-nav__foot { margin-top: auto; padding-top: 1.5rem; }
.mobile-nav__label {
  font-size: 0.76rem;
  letter-spacing: 0.05em;
  color: var(--muted);
  margin-bottom: 0.5rem;
}
.mobile-nav__phone {
  display: block;
  font-family: var(--font-en-body);
  font-size: 1.05rem;
  letter-spacing: 0.06em;
  color: var(--ink);
  padding-block: 0.2rem;
}
.mobile-nav__phone:hover { color: var(--gold-text); }
.mobile-nav__social { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-top: 1.25rem; }

/* ============================== 05. HERO ============================== */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  color: #f5f2ea;
  isolation: isolate;
}

.hero__media {
  position: absolute;
  inset: 0;
  z-index: -2;
}

.hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 34% center;
  animation: heroZoom 18s var(--ease) forwards;
}

.hero__veil {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(270deg, rgba(11, 10, 13, 0.94) 0%, rgba(11, 10, 13, 0.78) 34%, rgba(11, 10, 13, 0.3) 66%, rgba(11, 10, 13, 0.55) 100%),
    linear-gradient(to top, rgba(11, 10, 13, 0.94) 0%, rgba(11, 10, 13, 0.2) 42%, rgba(11, 10, 13, 0.1) 70%, rgba(11, 10, 13, 0.55) 100%);
}

.hero__inner {
  flex: 1;
  display: flex;
  align-items: center;
  padding-top: calc(var(--header-h) + clamp(2rem, 8vh, 5rem));
  padding-bottom: clamp(2rem, 6vh, 4rem);
}

.hero__content {
  max-width: 700px;
  margin-inline-start: auto;
  text-align: right;
}

.hero__eyebrow { color: var(--gold-strong); }

.hero__title {
  margin-top: 1.1rem;
  font-size: clamp(2.65rem, 6.1vw, 5.4rem);
  font-weight: 800;
  line-height: 1.14;
  letter-spacing: -0.015em;
  color: #f8f5ee;
  text-shadow: 0 18px 50px rgba(0, 0, 0, 0.25);
}

.hero__en {
  margin-top: 1.1rem;
  font-family: var(--font-en-display);
  font-size: clamp(0.95rem, 1.5vw, 1.25rem);
  font-weight: 300;
  letter-spacing: 0.22em;
  color: var(--gold-strong);
  text-transform: uppercase;
}

.hero__lead {
  margin-top: 1.6rem;
  max-width: 54ch;
  padding-inline-start: 1.4rem;
  border-inline-start: 1px solid rgba(216, 194, 138, 0.45);
  color: rgba(245, 242, 234, 0.82);
  font-size: clamp(1rem, 1.4vw, 1.1rem);
  line-height: 2;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 2.2rem;
}

.hero__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding-block: 1.6rem;
  border-top: 1px solid rgba(245, 242, 234, 0.14);
}

.hero__capabilities {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(1rem, 3vw, 2.5rem);
}

.hero__capabilities li {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-family: var(--font-ar-display);
  font-size: 0.86rem;
  font-weight: 500;
  color: rgba(245, 242, 234, 0.78);
}

.hero__cap-index {
  font-family: var(--font-en-body);
  font-size: 0.64rem;
  letter-spacing: 0.14em;
  color: var(--gold-strong);
  border: 1px solid rgba(216, 194, 138, 0.35);
  border-radius: 50%;
  width: 26px;
  height: 26px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: none;
}

.hero__location {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-en-body);
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(245, 242, 234, 0.6);
  white-space: nowrap;
}

.hero__location-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 4px rgba(216, 194, 138, 0.14);
}

.hero__scroll {
  position: absolute;
  inset-inline-end: clamp(1.25rem, 3vw, 2.5rem);
  bottom: 7.5rem;
  z-index: 2;
  display: none;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border: 1px solid rgba(245, 242, 234, 0.22);
  border-radius: 50%;
  color: rgba(245, 242, 234, 0.75);
  transition: color 0.3s var(--ease), border-color 0.3s var(--ease);
}
.hero__scroll:hover { color: var(--gold); border-color: var(--gold-line); }
.hero__scroll .icon { width: 1.1rem; height: 1.1rem; }

@keyframes heroZoom {
  from { transform: scale(1.06); }
  to { transform: scale(1); }
}

@media (min-width: 1024px) {
  .hero__scroll { display: inline-flex; }
}

/* ============================== 06. ABOUT ============================== */
.about { background: var(--bg); }

.about__grid {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: clamp(2.5rem, 6vw, 5.5rem);
  align-items: center;
}

.about__media { order: 2; position: relative; }
.about__content { order: 1; }

.frame {
  position: relative;
  margin: 0;
  border: 1px solid var(--line);
  overflow: hidden;
  background: var(--surface);
}

.frame img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  transition: transform 1.2s var(--ease-out);
}

.frame:hover img { transform: scale(1.035); }

.frame::after {
  content: "";
  position: absolute;
  inset: 0;
  border: 1px solid rgba(216, 194, 138, 0.22);
  pointer-events: none;
}

.frame__caption {
  position: absolute;
  inset-inline: 0;
  bottom: 0;
  padding: 1.1rem 1.25rem;
  background: linear-gradient(to top, rgba(10, 10, 12, 0.82), transparent);
  color: rgba(245, 242, 234, 0.72);
  font-family: var(--font-en-body);
  font-size: 0.64rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}

.about__stamp {
  position: absolute;
  bottom: -1.5rem;
  inset-inline-end: -1.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 120px;
  height: 120px;
  background: var(--bg);
  border: 1px solid var(--gold-line);
  color: var(--gold-text);
  text-align: center;
  z-index: 2;
}
.about__stamp span {
  font-family: var(--font-en-display);
  font-size: 1.05rem;
  letter-spacing: 0.3em;
  padding-inline-start: 0.3em;
}
.about__stamp small {
  margin-top: 0.2rem;
  font-family: var(--font-en-body);
  font-size: 0.46rem;
  letter-spacing: 0.32em;
  color: var(--muted);
}

.about__text { margin-top: 1.75rem; }
.about__text p {
  margin-bottom: 1rem;
  color: var(--ink-3);
  font-size: 1.02rem;
  line-height: 2.05;
}
.about__text strong { color: var(--ink); font-weight: 600; }

.about__pillars {
  display: grid;
  gap: 0;
  margin-top: 1.75rem;
  border-top: 1px solid var(--line);
}

.about__pillars li {
  display: flex;
  gap: 1rem;
  padding-block: 1.1rem;
  border-bottom: 1px solid var(--line);
}

.about__pillar-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  flex: none;
  border: 1px solid var(--gold-line);
  color: var(--gold-text);
  background: var(--gold-soft);
}

.about__pillars h3 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.2rem;
}
.about__pillars p {
  color: var(--ink-3);
  font-size: 0.88rem;
  line-height: 1.85;
}

.about__quote {
  position: relative;
  margin: 1.75rem 0 1.5rem;
  padding: 1.25rem 1.5rem;
  background: var(--surface);
  border-inline-start: 2px solid var(--burgundy);
  display: flex;
  gap: 0.9rem;
  align-items: flex-start;
}
.about__quote p {
  font-family: var(--font-ar-display);
  font-size: 1rem;
  font-weight: 500;
  color: var(--ink-2);
  line-height: 1.9;
}
.about__quote-icon {
  width: 1.5rem;
  height: 1.5rem;
  color: var(--gold-text);
  opacity: 0.65;
  margin-top: 0.15rem;
}

/* ============================= 07. SERVICES ============================= */
.services {
  background:
    radial-gradient(60% 60% at 85% 0%, rgba(216, 194, 138, 0.06), transparent 70%),
    var(--bg-alt);
  border-block: 1px solid var(--line);
}

.services__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin-top: clamp(2.5rem, 5vw, 4rem);
}

.service-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 1.9rem 1.6rem 1.5rem;
  background: var(--surface);
  border: 1px solid var(--line);
  overflow: hidden;
  transition: transform 0.45s var(--ease), border-color 0.45s var(--ease), box-shadow 0.45s var(--ease);
}

.service-card::before {
  content: "";
  position: absolute;
  top: 0;
  inset-inline: 0;
  height: 2px;
  background: linear-gradient(to left, var(--gold), transparent);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.55s var(--ease);
}

.service-card:hover {
  transform: translateY(-6px);
  border-color: var(--gold-line);
  box-shadow: var(--shadow-md);
}
.service-card:hover::before { transform: scaleX(1); }

.service-card__index {
  position: absolute;
  top: 1.35rem;
  inset-inline-end: 1.5rem;
  font-family: var(--font-en-body);
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  color: var(--gold-text);
  opacity: 0.6;
}

.service-card__emblem {
  position: absolute;
  top: -3.5rem;
  inset-inline-end: -4rem;
  width: 15rem;
  height: 15rem;
  opacity: 0.14;
  pointer-events: none;
  transition: opacity 0.5s var(--ease), transform 0.8s var(--ease);
}
.service-card:hover .service-card__emblem { opacity: 0.22; transform: rotate(-4deg) scale(1.04); }

[data-theme="light"] .service-card__emblem { opacity: 0.2; }
[data-theme="light"] .service-card:hover .service-card__emblem { opacity: 0.3; }

.service-card__icon {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  margin-bottom: 1.35rem;
  border: 1px solid var(--gold-line);
  background: var(--gold-soft);
  color: var(--gold-text);
  transition: background-color 0.4s var(--ease), color 0.4s var(--ease);
}
.service-card:hover .service-card__icon { background: var(--gold); color: #17161a; border-color: var(--gold); }

.service-card__title {
  position: relative;
  font-size: 1.24rem;
  font-weight: 700;
  line-height: 1.45;
  padding-inline-end: 2rem;
}

.service-card__en {
  font-family: var(--font-en-body);
  font-size: 0.62rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 0.45rem;
}

.service-card__desc {
  position: relative;
  margin-top: 1rem;
  color: var(--ink-3);
  font-size: 0.9rem;
  line-height: 1.9;
}

.service-card__list {
  display: grid;
  gap: 0.45rem;
  margin-top: 1.2rem;
  padding-top: 1.1rem;
  border-top: 1px solid var(--line);
}

.service-card__list li {
  position: relative;
  padding-inline-start: 0.95rem;
  color: var(--ink-2);
  font-size: 0.85rem;
  line-height: 1.7;
}

.service-card__list li::before {
  content: "";
  position: absolute;
  inset-inline-start: 0;
  top: 0.68em;
  width: 5px;
  height: 5px;
  border: 1px solid var(--gold);
  transform: rotate(45deg);
  opacity: 0.7;
}

.service-card__link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  margin-top: auto;
  padding-top: 1.35rem;
  color: var(--gold-text);
  font-family: var(--font-ar-display);
  font-size: 0.8rem;
  font-weight: 500;
}
.service-card__link .icon { width: 0.95rem; height: 0.95rem; transition: transform 0.35s var(--ease); }
.service-card__link:hover .icon { transform: translate(-3px, -3px); }

.services__note {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  flex-wrap: wrap;
  margin-top: 2rem;
  padding: 1.4rem 1.6rem;
  border: 1px solid var(--line);
  background: var(--surface);
}

.services__note-mark {
  width: 6px;
  height: 6px;
  flex: none;
  background: var(--burgundy);
  transform: rotate(45deg);
}
.services__note p { color: var(--ink-3); font-size: 0.9rem; }
.services__note .link-arrow { margin-inline-start: auto; }

/* ============================= 08. PROJECTS ============================= */
.projects { background: var(--bg); }

.projects__toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  flex-wrap: wrap;
  margin-top: 2.5rem;
  padding-bottom: 1.1rem;
  border-bottom: 1px solid var(--line);
}

.filters { display: flex; flex-wrap: wrap; gap: 0.4rem; }

.filter {
  padding: 0.5rem 1.05rem;
  border: 1px solid var(--line);
  border-radius: var(--r-xs);
  color: var(--ink-3);
  font-family: var(--font-ar-display);
  font-size: 0.84rem;
  font-weight: 500;
  transition: color 0.3s var(--ease), border-color 0.3s var(--ease), background-color 0.3s var(--ease);
}
.filter:hover { color: var(--gold-text); border-color: var(--gold-line); }
.filter.is-active { background: var(--gold); border-color: var(--gold); color: #17161a; }

.projects__count {
  font-family: var(--font-en-body);
  font-size: 0.74rem;
  letter-spacing: 0.12em;
  color: var(--muted);
}

.projects__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin-top: 1.75rem;
}

.project-card {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--line);
  overflow: hidden;
  transition: border-color 0.4s var(--ease), transform 0.4s var(--ease), box-shadow 0.4s var(--ease), opacity 0.3s var(--ease);
}

.project-card:hover { border-color: var(--gold-line); transform: translateY(-4px); box-shadow: var(--shadow-md); }

.project-card.is-hiding { opacity: 0; transform: scale(0.97); }
.project-card[hidden] { display: none; }

.project-card__link { display: block; color: inherit; }

.project-card__media {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--surface-2);
}
.project-card__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10, 10, 12, 0.45), transparent 55%);
  opacity: 0.6;
  transition: opacity 0.4s var(--ease);
}
.project-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1s var(--ease-out);
}
.project-card:hover .project-card__media img { transform: scale(1.05); }
.project-card:hover .project-card__media::after { opacity: 0.25; }

.project-card__badge {
  position: absolute;
  top: 0.9rem;
  inset-inline-end: 0.9rem;
  z-index: 2;
  padding: 0.28rem 0.7rem;
  border: 1px solid rgba(216, 194, 138, 0.34);
  background: rgba(12, 11, 14, 0.55);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  color: var(--gold-strong);
  font-family: var(--font-ar-display);
  font-size: 0.68rem;
  line-height: 1.6;
}

.project-card__expand {
  position: absolute;
  bottom: 0.9rem;
  inset-inline-start: 0.9rem;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: var(--gold);
  color: #17161a;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.35s var(--ease), transform 0.35s var(--ease);
}
.project-card:hover .project-card__expand { opacity: 1; transform: none; }
.project-card__expand .icon { width: 1rem; height: 1rem; }

.project-card__body { padding: 1.35rem 1.35rem 1.25rem; }

.project-card__cat {
  font-family: var(--font-ar-display);
  font-size: 0.72rem;
  font-weight: 500;
  color: var(--gold-text);
}
.project-card__cat span {
  font-family: var(--font-en-body);
  font-size: 0.6rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-inline-start: 0.3rem;
}

.project-card h3 {
  margin-top: 0.35rem;
  font-size: 1.12rem;
  font-weight: 600;
  transition: color 0.3s var(--ease);
}
.project-card:hover h3 { color: var(--gold-text); }

.project-card__type {
  margin-top: 0.25rem;
  color: var(--ink-3);
  font-size: 0.82rem;
}

.project-card__cta {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: 1rem;
  padding-top: 0.9rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-family: var(--font-ar-display);
  font-size: 0.75rem;
  transition: color 0.3s var(--ease);
}
.project-card__cta .icon { width: 0.9rem; height: 0.9rem; transition: transform 0.3s var(--ease); }
.project-card:hover .project-card__cta { color: var(--gold-text); }
.project-card:hover .project-card__cta .icon { transform: translateX(-4px); }

.projects__disclaimer {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  margin-top: 2.25rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.8rem;
  line-height: 1.9;
}
.projects__disclaimer .icon { width: 1rem; height: 1rem; color: var(--gold-text); margin-top: 0.3rem; }

/* ========================== 09. FOUNDERS & TEAM ========================== */
.team {
  background:
    radial-gradient(50% 50% at 15% 10%, rgba(216, 194, 138, 0.05), transparent 70%),
    var(--bg-alt);
  border-block: 1px solid var(--line);
}

.founders {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin-top: clamp(2.5rem, 5vw, 4rem);
}

.founder {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  background: var(--surface);
  border: 1px solid var(--line);
  overflow: hidden;
  transition: border-color 0.45s var(--ease), box-shadow 0.45s var(--ease), transform 0.45s var(--ease);
}
.founder:hover { border-color: var(--gold-line); box-shadow: var(--shadow-md); transform: translateY(-4px); }

.founder__media {
  position: relative;
  overflow: hidden;
  background: var(--surface-2);
  min-height: 100%;
}
.founder__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 18%;
  transition: transform 1.1s var(--ease-out);
}
.founder:hover .founder__media img { transform: scale(1.045); }

.founder__badge {
  position: absolute;
  top: 0.9rem;
  inset-inline-start: 0.9rem;
  padding: 0.25rem 0.6rem;
  background: rgba(12, 11, 14, 0.6);
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
  border: 1px solid rgba(216, 194, 138, 0.28);
  color: var(--gold-strong);
  font-family: var(--font-ar-display);
  font-size: 0.62rem;
  white-space: nowrap;
}

.founder__corner {
  position: absolute;
  bottom: 0;
  inset-inline-end: 0;
  width: 46px;
  height: 46px;
  border-top: 1px solid var(--gold-line);
  border-inline-start: 1px solid var(--gold-line);
  pointer-events: none;
  transition: width 0.5s var(--ease), height 0.5s var(--ease);
}
.founder:hover .founder__corner { width: 70px; height: 70px; }

.founder__body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(1.25rem, 2.5vw, 2rem);
}

.founder__role {
  font-family: var(--font-ar-display);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--gold-text);
}
.founder__name {
  margin-top: 0.4rem;
  font-size: clamp(1.3rem, 2vw, 1.65rem);
  font-weight: 700;
  line-height: 1.4;
}
.founder__en {
  margin-top: 0.3rem;
  font-family: var(--font-en-display);
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
}
.founder__bio {
  margin-top: 0.9rem;
  padding-top: 0.9rem;
  border-top: 1px solid var(--line);
  color: var(--ink-3);
  font-size: 0.84rem;
  line-height: 1.9;
}

.team-strip {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 2rem;
  align-items: center;
  margin-top: 1.5rem;
  padding: clamp(1.5rem, 3vw, 2.25rem);
  border: 1px solid var(--gold-line);
  background: var(--gold-soft);
}

.team-strip__intro h3 { font-size: 1.2rem; font-weight: 700; }
.team-strip__intro p {
  margin-top: 0.5rem;
  color: var(--ink-3);
  font-size: 0.88rem;
  line-height: 1.9;
}

.team-roles {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
}
.team-roles li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.7rem 0.8rem;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--ink-2);
  font-size: 0.78rem;
  line-height: 1.4;
}
.team-roles .icon { width: 1rem; height: 1rem; color: var(--gold-text); }

/* ============================= 10. WHY ROAYA ============================= */
.why {
  position: relative;
  color: #f5f2ea;
  background:
    radial-gradient(70% 90% at 90% 0%, rgba(216, 194, 138, 0.12), transparent 60%),
    radial-gradient(60% 80% at 0% 100%, rgba(113, 13, 36, 0.22), transparent 70%),
    linear-gradient(155deg, #141316 0%, #1c211d 55%, #121412 100%);
  overflow: hidden;
}

.why::before {
  content: "";
  position: absolute;
  inset-inline-start: 38%;
  top: 0;
  bottom: 0;
  width: 1px;
  background: linear-gradient(to bottom, transparent, rgba(216, 194, 138, 0.16), transparent);
  pointer-events: none;
}

.why .eyebrow { color: var(--gold-strong); }
.why .section-title { color: #f8f5ee; }
.why .text-gold { color: var(--gold-strong); }
.why .section-head__en { color: rgba(245, 242, 234, 0.42); }

.why__grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(2.5rem, 6vw, 5.5rem);
  align-items: start;
}

.why__lead {
  margin-top: 1.4rem;
  color: rgba(245, 242, 234, 0.72);
  font-size: 1rem;
  line-height: 2;
}

.why__intro .btn { margin-top: 1.8rem; }
.why__intro .btn--outline { color: var(--gold-strong); border-color: rgba(216, 194, 138, 0.4); }
.why__intro .btn--outline:hover { background: rgba(216, 194, 138, 0.1); }

.why__signature {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  margin-top: 2.5rem;
  font-family: var(--font-en-body);
  font-size: 0.6rem;
  letter-spacing: 0.24em;
  color: rgba(245, 242, 234, 0.4);
}
.why__signature-line { width: 30px; height: 1px; background: rgba(216, 194, 138, 0.5); }

.why__list { display: grid; }

.why-item {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 1rem;
  padding: 1.05rem 0;
  border-top: 1px solid rgba(245, 242, 234, 0.12);
  transition: padding 0.35s var(--ease), background-color 0.35s var(--ease);
}
.why-item:last-child { border-bottom: 1px solid rgba(245, 242, 234, 0.12); }
.why-item:hover { background: rgba(245, 242, 234, 0.025); }

.why-item__num {
  font-family: var(--font-en-body);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  color: var(--gold-strong);
  padding-top: 0.25rem;
}

.why-item h3 {
  font-size: 1.02rem;
  font-weight: 600;
  color: #f5f2ea;
}
.why-item p {
  margin-top: 0.2rem;
  color: rgba(245, 242, 234, 0.6);
  font-size: 0.84rem;
  line-height: 1.8;
}

/* ============================== 11. PROCESS ============================== */
.process { background: var(--bg-alt); border-block: 1px solid var(--line); }

.process__list {
  position: relative;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: clamp(0.75rem, 2vw, 1.75rem);
  margin-top: clamp(2.75rem, 5vw, 4rem);
}

.step {
  position: relative;
  padding-top: 2.25rem;
  border-top: 1px solid var(--line-strong);
}

.step::before {
  content: "";
  position: absolute;
  top: -4px;
  inset-inline-start: 0;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--bg-alt);
  border: 1px solid var(--gold);
  transition: background-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.step:hover::before { background: var(--gold); box-shadow: 0 0 0 4px var(--gold-soft); }

.step__num {
  display: block;
  font-family: var(--font-en-body);
  font-size: 0.68rem;
  letter-spacing: 0.2em;
  color: var(--gold-text);
  opacity: 0.75;
}

.step__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  margin-top: 1.1rem;
  border: 1px solid var(--line-strong);
  color: var(--gold-text);
  transition: border-color 0.35s var(--ease), background-color 0.35s var(--ease), color 0.35s var(--ease);
}
.step:hover .step__icon { border-color: var(--gold-line); background: var(--gold-soft); }

.step__title { margin-top: 1rem; font-size: 1.02rem; font-weight: 600; line-height: 1.5; }
.step__en {
  font-family: var(--font-en-body);
  font-size: 0.56rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 0.2rem;
}
.step__desc {
  margin-top: 0.6rem;
  color: var(--ink-3);
  font-size: 0.8rem;
  line-height: 1.85;
}

/* =============================== 12. MEDIA =============================== */
.media { background: var(--bg); }

.media .section-head { max-width: 820px; }
.media .section-head__lead { margin-inline: 0; }

.media__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
  margin-top: clamp(2.5rem, 5vw, 3.5rem);
}

.media-card { border: 1px solid var(--line); background: var(--surface); overflow: hidden; }
.media-card > a { display: block; color: inherit; }

.media-card__poster {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--surface-2);
}
.media-card__poster img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease-out); }
.media-card__poster::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10, 10, 12, 0.65), rgba(10, 10, 12, 0.15));
  transition: opacity 0.4s var(--ease);
}
.media-card:hover .media-card__poster img { transform: scale(1.04); }
.media-card:hover .media-card__poster::after { opacity: 0.85; }

.media-card__play {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 62px;
  height: 62px;
  border: 1px solid rgba(245, 242, 234, 0.45);
  border-radius: 50%;
  background: rgba(14, 13, 16, 0.42);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  color: #f5f2ea;
  transform: translate(-50%, -50%);
  transition: background-color 0.35s var(--ease), color 0.35s var(--ease), border-color 0.35s var(--ease), transform 0.35s var(--ease);
}
.media-card__play .icon { width: 1.35rem; height: 1.35rem; margin-inline-start: 0.15rem; }
.media-card:hover .media-card__play { background: var(--gold); border-color: var(--gold); color: #17161a; transform: translate(-50%, -50%) scale(1.06); }

.media-card__platform {
  position: absolute;
  top: 0.9rem;
  inset-inline-start: 0.9rem;
  z-index: 2;
  padding: 0.28rem 0.65rem;
  border: 1px solid rgba(245, 242, 234, 0.22);
  background: rgba(12, 11, 14, 0.45);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  color: rgba(245, 242, 234, 0.85);
  font-family: var(--font-en-body);
  font-size: 0.58rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.media-card__body { padding: 1.2rem 1.35rem 1.35rem; }
.media-card__body h3 { font-size: 1.1rem; font-weight: 600; transition: color 0.3s var(--ease); }
.media-card:hover .media-card__body h3 { color: var(--gold-text); }
.media-card__body p { margin-top: 0.25rem; color: var(--muted); font-size: 0.8rem; }

.media__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
}
.media__foot p { max-width: 60ch; color: var(--muted); font-size: 0.82rem; line-height: 1.9; }

/* ============================== 13. CONTACT ============================== */
.contact {
  background:
    radial-gradient(50% 60% at 100% 0%, rgba(216, 194, 138, 0.07), transparent 65%),
    var(--bg);
}

.contact__grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: clamp(2rem, 5vw, 4rem);
  margin-top: clamp(2.5rem, 5vw, 4rem);
  align-items: start;
}

.contact-list { border-top: 1px solid var(--line); }

.contact-card {
  display: flex;
  gap: 1.1rem;
  padding: 1.4rem 0;
  border-bottom: 1px solid var(--line);
}

.contact-card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  flex: none;
  border: 1px solid var(--gold-line);
  background: var(--gold-soft);
  color: var(--gold-text);
}

.contact-card h3 { font-size: 0.95rem; font-weight: 600; margin-bottom: 0.25rem; }
.contact-card p { color: var(--ink-3); font-size: 0.88rem; line-height: 1.9; }

.contact-card__phones { display: flex; flex-wrap: wrap; gap: 0.4rem 1.25rem; }
.contact-card__phones a {
  font-family: var(--font-en-body);
  font-size: 1.02rem;
  letter-spacing: 0.04em;
  color: var(--ink);
}
.contact-card__phones a:hover { color: var(--gold-text); }

.contact-card__hint { display: block; margin-top: 0.35rem; color: var(--muted); font-size: 0.72rem; }

.contact-card__link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-top: 0.45rem;
  color: var(--gold-text);
  font-family: var(--font-en-body);
  font-size: 0.78rem;
  letter-spacing: 0.03em;
  word-break: break-word;
}
.contact-card__link .icon { width: 0.8rem; height: 0.8rem; }
.contact-card__link:hover { text-decoration: underline; text-underline-offset: 3px; }

.contact__actions { display: flex; flex-wrap: wrap; gap: 0.65rem; margin-top: 1.5rem; }

.map {
  position: relative;
  margin: 2rem 0 0;
  border: 1px solid var(--line);
  overflow: hidden;
  background: var(--surface);
}
.map img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  filter: saturate(0.85);
  transition: transform 1s var(--ease-out);
}
.map:hover img { transform: scale(1.02); }
.map figcaption {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.8rem 1rem;
  border-top: 1px solid var(--line);
  background: var(--surface);
  font-size: 0.74rem;
  color: var(--muted);
}
.map figcaption a {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  color: var(--gold-text);
  font-family: var(--font-ar-display);
  font-size: 0.76rem;
  white-space: nowrap;
}
.map figcaption .icon { width: 0.8rem; height: 0.8rem; }

/* Form */
.contact__form-wrap {
  position: relative;
  padding: clamp(1.4rem, 3vw, 2.5rem);
  background: var(--surface);
  border: 1px solid var(--line);
}
.contact__form-wrap::before {
  content: "";
  position: absolute;
  inset-inline: 0;
  top: 0;
  height: 2px;
  background: linear-gradient(to left, var(--gold), rgba(216, 194, 138, 0.15));
}

.form-head { display: flex; align-items: flex-start; gap: 1rem; margin-bottom: 1.75rem; }
.form-head__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  flex: none;
  border: 1px solid var(--gold-line);
  color: var(--gold-text);
}
.form-head h3 { font-size: 1.4rem; font-weight: 700; }
.form-head p { margin-top: 0.3rem; color: var(--ink-3); font-size: 0.86rem; line-height: 1.8; }

.form { display: grid; gap: 1.1rem; }

.form__row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.1rem;
}

.field { display: grid; gap: 0.4rem; align-content: start; }

.field label {
  font-family: var(--font-ar-display);
  font-size: 0.84rem;
  font-weight: 500;
  color: var(--ink-2);
}
.field label span { color: var(--gold-text); }

.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 48px;
  padding: 0.8rem 0.95rem;
  background: var(--input-bg);
  border: 1px solid var(--line-strong);
  border-radius: var(--r-xs);
  color: var(--ink);
  font-family: var(--font-ar-body);
  font-size: 0.94rem;
  line-height: 1.6;
  transition: border-color 0.3s var(--ease), box-shadow 0.3s var(--ease), background-color 0.3s var(--ease);
}

.field textarea { resize: vertical; min-height: 120px; }

.field input::placeholder,
.field textarea::placeholder { color: var(--muted); opacity: 0.7; }

.field input:hover,
.field select:hover,
.field textarea:hover { border-color: var(--gold-line); }

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px var(--gold-soft);
}

.field input[aria-invalid="true"],
.field select[aria-invalid="true"],
.field textarea[aria-invalid="true"] { border-color: var(--error); }

.select-wrap { position: relative; }
.select-wrap select {
  appearance: none;
  -webkit-appearance: none;
  padding-inline-end: 2.6rem;
  cursor: pointer;
}
.select-wrap__icon {
  position: absolute;
  top: 50%;
  inset-inline-end: 0.9rem;
  width: 1rem;
  height: 1rem;
  transform: translateY(-50%);
  color: var(--muted);
  pointer-events: none;
}

.field__error {
  min-height: 1.05rem;
  color: var(--error);
  font-size: 0.74rem;
  line-height: 1.4;
}

.form__note {
  padding-top: 1rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.75rem;
  line-height: 1.9;
}
.form__status {
  min-height: 1.2rem;
  color: var(--success);
  font-size: 0.82rem;
  line-height: 1.7;
}

/* ============================== 14. FOOTER ============================== */
.site-footer {
  background: #0f0e11;
  color: rgba(245, 242, 234, 0.72);
  border-top: 1px solid rgba(216, 194, 138, 0.18);
}

[data-theme="light"] .site-footer { background: #17161a; }

.footer__top {
  display: grid;
  grid-template-columns: 1.45fr 0.8fr 1fr 1.15fr;
  gap: clamp(1.75rem, 4vw, 3rem);
  padding-block: clamp(3rem, 6vw, 4.5rem) 3rem;
}

.brand--footer { color: #f5f2ea; }
.brand--footer .brand__mark { color: var(--gold); }
.brand--footer .brand__name { color: #f5f2ea; }

.footer__desc {
  margin-top: 1.2rem;
  max-width: 38ch;
  color: rgba(245, 242, 234, 0.56);
  font-size: 0.87rem;
  line-height: 1.95;
}

.footer__tagline {
  margin-top: 0.9rem;
  color: var(--gold);
  font-family: var(--font-ar-display);
  font-size: 0.88rem;
  opacity: 0.85;
}

.footer__social { display: flex; gap: 0.5rem; margin-top: 1.4rem; }
.footer__social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: 1px solid rgba(245, 242, 234, 0.16);
  color: rgba(245, 242, 234, 0.7);
  transition: color 0.3s var(--ease), border-color 0.3s var(--ease), background-color 0.3s var(--ease);
}
.footer__social a:hover { color: var(--gold); border-color: rgba(216, 194, 138, 0.45); background: rgba(216, 194, 138, 0.08); }
.footer__social .icon { width: 1.05rem; height: 1.05rem; }

.footer__title {
  font-family: var(--font-ar-display);
  font-size: 0.92rem;
  font-weight: 600;
  color: #f5f2ea;
  margin-bottom: 1.15rem;
  position: relative;
  padding-bottom: 0.6rem;
}
.footer__title::after {
  content: "";
  position: absolute;
  bottom: 0;
  inset-inline-start: 0;
  width: 26px;
  height: 1px;
  background: var(--gold);
  opacity: 0.6;
}

.footer__links { display: grid; gap: 0.15rem; }
.footer__links a {
  display: inline-block;
  padding-block: 0.28rem;
  color: rgba(245, 242, 234, 0.56);
  font-size: 0.83rem;
  transition: color 0.3s var(--ease), transform 0.3s var(--ease);
}
.footer__links a:hover { color: var(--gold); transform: translateX(-4px); }

.footer__contact { display: grid; gap: 0.9rem; }
.footer__contact li {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  color: rgba(245, 242, 234, 0.56);
  font-size: 0.82rem;
  line-height: 1.8;
}
.footer__contact .icon { width: 0.95rem; height: 0.95rem; color: var(--gold); margin-top: 0.28rem; }
.footer__contact a { color: rgba(245, 242, 234, 0.72); }
.footer__contact a:hover { color: var(--gold); }
.footer__phones { display: flex; flex-direction: column; }

.footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  padding-block: 1.25rem;
  border-top: 1px solid rgba(245, 242, 234, 0.1);
  color: rgba(245, 242, 234, 0.4);
  font-size: 0.74rem;
}
.footer__copy { font-family: var(--font-en-body); letter-spacing: 0.02em; }
.footer__credit { color: rgba(245, 242, 234, 0.34); }

.back-to-top {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: rgba(245, 242, 234, 0.6);
  font-family: var(--font-ar-display);
  font-size: 0.76rem;
  transition: color 0.3s var(--ease);
}
.back-to-top:hover { color: var(--gold); }
.back-to-top .icon { width: 0.95rem; height: 0.95rem; }

.to-top {
  position: fixed;
  bottom: 1.5rem;
  inset-inline-start: 1.5rem;
  z-index: 90;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border: 1px solid var(--gold-line);
  background: var(--gold);
  color: #17161a;
  border-radius: var(--r-xs);
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity 0.35s var(--ease), transform 0.35s var(--ease), visibility 0.35s, background-color 0.3s var(--ease);
  box-shadow: var(--shadow-sm);
}
.to-top.is-visible { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { background: var(--gold-strong); }
.to-top .icon { width: 1.05rem; height: 1.05rem; }

/* =========================== 15. PROJECT MODAL =========================== */
.project-modal {
  width: min(1140px, 94vw);
  max-width: none;
  max-height: 92svh;
  margin: auto;
  padding: 0;
  border: 1px solid var(--gold-line);
  border-radius: var(--r-xs);
  background: var(--surface);
  color: var(--ink);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.project-modal::backdrop {
  background: rgba(8, 8, 10, 0.82);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}

.project-modal[open] { animation: dialogIn 0.45s var(--ease-out); }

@keyframes dialogIn {
  from { opacity: 0; transform: translateY(20px) scale(0.985); }
  to { opacity: 1; transform: none; }
}

.project-modal__inner {
  position: relative;
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  max-height: 92svh;
}

.project-modal__close {
  position: absolute;
  top: 0.9rem;
  inset-inline-end: 0.9rem;
  z-index: 6;
  width: 40px;
  height: 40px;
  background: rgba(14, 13, 16, 0.6);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  border-color: rgba(245, 242, 234, 0.25);
  color: #f5f2ea;
}

.project-modal__body { order: 1; padding: clamp(1.5rem, 3.2vw, 2.75rem); overflow-y: auto; }
.project-modal__media { order: 2; background: var(--bg); border-inline-end: 1px solid var(--line); }

.project-modal__cat {
  font-family: var(--font-ar-display);
  font-size: 0.76rem;
  color: var(--gold-text);
}

.project-modal__title {
  margin-top: 0.5rem;
  font-size: clamp(1.6rem, 2.6vw, 2.15rem);
  font-weight: 700;
  line-height: 1.35;
}

.project-modal__type { margin-top: 0.3rem; color: var(--muted); font-size: 0.86rem; }

.project-modal__desc {
  margin-top: 1.25rem;
  color: var(--ink-3);
  font-size: 0.94rem;
  line-height: 2;
}

.project-modal__meta {
  display: grid;
  gap: 0;
  margin: 1.5rem 0 0;
  border-top: 1px solid var(--line);
}
.project-modal__meta > div {
  display: grid;
  grid-template-columns: 8.5rem 1fr;
  gap: 1rem;
  padding: 0.8rem 0;
  border-bottom: 1px solid var(--line);
}
.project-modal__meta dt { color: var(--muted); font-size: 0.78rem; }
.project-modal__meta dd { margin: 0; color: var(--ink-2); font-size: 0.86rem; line-height: 1.8; }

.status-pill {
  display: inline-block;
  padding: 0.18rem 0.6rem;
  border: 1px solid var(--gold-line);
  background: var(--gold-soft);
  color: var(--gold-text);
  font-size: 0.72rem;
}

.project-modal__note {
  margin-top: 1.25rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.78rem;
  line-height: 1.85;
}

.project-modal__actions { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-top: 1.5rem; }

.project-modal__stage {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
}
.project-modal__stage img { width: 100%; height: 100%; object-fit: cover; }

.project-modal__nav {
  position: absolute;
  top: 50%;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(245, 242, 234, 0.3);
  background: rgba(12, 11, 14, 0.55);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  color: #f5f2ea;
  transform: translateY(-50%);
  transition: background-color 0.3s var(--ease), color 0.3s var(--ease), border-color 0.3s var(--ease);
}
.project-modal__nav:hover { background: var(--gold); border-color: var(--gold); color: #17161a; }
.project-modal__nav--prev { inset-inline-start: 0.8rem; }
.project-modal__nav--next { inset-inline-end: 0.8rem; }
.project-modal__nav--prev .icon { transform: rotate(180deg); }
.project-modal__nav .icon { width: 1.05rem; height: 1.05rem; }

.project-modal__counter {
  position: absolute;
  bottom: 0.8rem;
  inset-inline-start: 0.8rem;
  z-index: 3;
  padding: 0.2rem 0.6rem;
  border: 1px solid rgba(245, 242, 234, 0.2);
  background: rgba(12, 11, 14, 0.55);
  color: rgba(245, 242, 234, 0.85);
  font-family: var(--font-en-body);
  font-size: 0.66rem;
  letter-spacing: 0.1em;
}

.project-modal__thumbs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.5rem;
  padding: 0.75rem;
}

.project-modal__thumbs button {
  padding: 0;
  border: 1px solid transparent;
  opacity: 0.55;
  transition: opacity 0.3s var(--ease), border-color 0.3s var(--ease);
}
.project-modal__thumbs button:hover { opacity: 0.85; }
.project-modal__thumbs button.is-active { opacity: 1; border-color: var(--gold); }
[data-theme="light"] .project-modal__thumbs button { opacity: 0.8; }
[data-theme="light"] .project-modal__thumbs button:hover { opacity: 0.9; }
[data-theme="light"] .project-modal__thumbs button.is-active { opacity: 1; }
.project-modal__thumbs img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }

/* ======================= 16. MOTION & ACCESSIBILITY ======================= */
.reveal {
  opacity: 0;
  translate: 0 30px;
  transition: opacity 0.85s var(--ease), translate 0.85s var(--ease);
  transition-delay: var(--delay, 0ms);
}

.reveal.is-visible { opacity: 1; translate: 0 0; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .reveal { opacity: 1; translate: none; }
  .hero__media img { animation: none; }
}

/* ============================ 17. RESPONSIVE ============================ */
@media (max-width: 1180px) {
  .primary-nav__list { gap: 1.1rem; }
  .primary-nav__link { font-size: 0.85rem; }
  .header__actions { margin-inline-start: 0.75rem; }
  .header__cta { --btn-pad-x: 1rem; font-size: 0.8rem; }
}

@media (max-width: 1100px) {
  .primary-nav { display: none; }
  .menu-toggle { display: inline-flex; }
  .header__actions { margin-inline-start: auto; }
  .services__grid { grid-template-columns: repeat(2, 1fr); }
  .projects__grid { grid-template-columns: repeat(2, 1fr); }
  .footer__top { grid-template-columns: 1.4fr 1fr 1fr; }
  .footer__col--contact { grid-column: 1 / -1; }
  .footer__contact { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 1024px) {
  :root { --header-h: 78px; }
  .about__grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .about__content { order: 1; }
  .about__media { order: 2; max-width: 560px; width: 100%; margin-inline: auto; }
  .about__stamp { inset-inline-end: -0.75rem; bottom: -1rem; width: 96px; height: 96px; }
  .about__stamp span { font-size: 0.9rem; }
  .why__grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .why::before { display: none; }
  .process__list { grid-template-columns: 1fr; gap: 0; margin-top: 2.5rem; }
  .step {
    padding: 0 0 1.75rem 0;
    padding-inline-start: 2.25rem;
    border-top: 0;
    border-inline-start: 1px solid var(--line-strong);
    margin-inline-start: 0.5rem;
  }
  .step:last-child { padding-bottom: 0; }
  .step::before { top: 0.15rem; inset-inline-start: -4px; background: var(--bg-alt); }
  .step__icon { margin-top: 0.75rem; }
  .contact__grid { grid-template-columns: 1fr; }
  .contact__form-wrap { order: 1; }
  .contact__info { order: 2; }
  .founders { grid-template-columns: 1fr; }
  .founder__media { aspect-ratio: 4 / 5; min-height: 0; }
  .founder__media img { position: absolute; inset: 0; height: 100%; }
  .team-strip { grid-template-columns: 1fr; }
  .team-roles { grid-template-columns: repeat(3, 1fr); }
  .footer__top { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }
}

@media (min-width: 1025px) {
  .about__media .frame img { aspect-ratio: 4 / 5; }
}

@media (max-width: 860px) {
  .hero__content { max-width: 100%; margin-inline-start: 0; }
  .hero__inner { padding-top: calc(var(--header-h) + 3rem); }
  .hero__foot { flex-direction: column; align-items: flex-start; gap: 1rem; }
  .hero__capabilities { gap: 1rem 1.5rem; }
  .hero__location { display: none; }
  .section-head--center .section-head__lead { text-align: right; }
  .project-modal__inner { grid-template-columns: 1fr; overflow-y: auto; }
  .project-modal__body { order: 2; overflow-y: visible; }
  .project-modal__media { order: 1; border-inline-end: 0; border-bottom: 1px solid var(--line); }
  .project-modal__close { background: rgba(14, 13, 16, 0.7); }
  .footer__contact { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  :root { --section-y: clamp(3.5rem, 9vw, 5.5rem); }
  .header__cta { display: none; }
  .brand__mark { width: 42px; height: 42px; }
  .brand__name { font-size: 1.08rem; letter-spacing: 0.24em; }
  .brand__sub { font-size: 0.42rem; letter-spacing: 0.2em; }
  .hero { min-height: 100svh; }
  .hero__media img { object-position: 42% center; }
  .hero__title { font-size: clamp(2.35rem, 8.6vw, 3.4rem); }
  .hero__lead { font-size: 0.95rem; padding-inline-start: 1rem; }
  .hero__capabilities li { font-size: 0.78rem; }
  .hero__cap-index { width: 24px; height: 24px; font-size: 0.58rem; }
  .about__stamp { display: none; }
  .services__note { flex-direction: column; align-items: flex-start; }
  .services__note .link-arrow { margin-inline-start: 0; }
  .projects__toolbar { align-items: flex-start; }
  .projects__count { display: none; }
  .filters { width: 100%; overflow-x: auto; flex-wrap: nowrap; padding-bottom: 0.35rem; scrollbar-width: none; }
  .filters::-webkit-scrollbar { display: none; }
  .filter { flex: none; }
  .founder { grid-template-columns: 1fr; }
  .founder__media { aspect-ratio: 4 / 3; }
  .founder__media img { object-position: 50% 26%; }
  .founder__body { padding: 1.4rem; }
  .team-roles { grid-template-columns: repeat(2, 1fr); }
  .media__grid { grid-template-columns: 1fr; }
  .media__foot { flex-direction: column; align-items: flex-start; }
  .contact__form-wrap { padding: 1.4rem; }
  .form__row { grid-template-columns: 1fr; }
  .footer__top { grid-template-columns: 1fr; gap: 2rem; }
  .footer__brand { grid-column: auto; }
  .footer__bottom { flex-direction: column; align-items: flex-start; }
  .footer__copy { order: 2; }
  .to-top { width: 42px; height: 42px; bottom: 1rem; inset-inline-start: 1rem; }
  .project-modal__meta > div { grid-template-columns: 1fr; gap: 0.2rem; }
}

@media (max-width: 640px) {
  .services__grid { grid-template-columns: 1fr; }
  .projects__grid { grid-template-columns: 1fr; }
  .hero__actions { flex-direction: column; align-items: stretch; }
  .hero__actions .btn { width: 100%; }
  .section-head--center { text-align: right; }
  .section-head--center .eyebrow { justify-content: flex-start; }
  .section-head__lead { margin-inline: 0; }
  .about__quote { padding: 1rem 1.1rem; }
  .about__quote p { font-size: 0.92rem; }
  .team-roles { grid-template-columns: 1fr; }
  .contact__actions .btn { flex: 1 1 100%; }
  .map figcaption { flex-direction: column; align-items: flex-start; gap: 0.4rem; }
  .media-card__play { width: 54px; height: 54px; }
  .project-modal { width: 96vw; max-height: 94svh; }
  .project-modal__inner { max-height: 94svh; }
  .project-modal__thumbs { gap: 0.35rem; padding: 0.5rem; }
  .project-modal__actions .btn { flex: 1 1 auto; }
  .project-modal__body { padding: 1.35rem; }
}

@media (max-width: 420px) {
  .container { width: calc(100% - 2rem); }
  .hero__eyebrow { font-size: 0.58rem; letter-spacing: 0.22em; }
  .hero__title { font-size: 2.15rem; }
  .hero__en { font-size: 0.78rem; letter-spacing: 0.16em; }
  .hero__lead { font-size: 0.9rem; line-height: 1.95; }
  .hero__capabilities { display: grid; gap: 0.6rem; }
  .about__stamp { display: none; }
  .service-card { padding: 1.5rem 1.25rem 1.2rem; }
  .service-card__title { font-size: 1.12rem; }
  .contact__form-wrap { padding: 1.1rem; }
  .project-modal__title { font-size: 1.4rem; }
  .footer__bottom { font-size: 0.68rem; }
}

@media (min-width: 1600px) {
  :root { --container: 1340px; --section-y: clamp(5rem, 8vw, 9.5rem); }
  .hero__content { max-width: 760px; }
}

@media print {
  .site-header, .mobile-nav, .to-top, .hero__scroll, .project-modal, .map { display: none !important; }
  body { background: #fff; color: #000; }
  .section { padding-block: 1.5rem; }
  .reveal { opacity: 1 !important; translate: none !important; }
  a[href^="http"]::after { content: " (" attr(href) ")"; font-size: 0.7em; }
}

/* ======================= 18. FACEBOOK VIDEO MODAL ======================== */
.video-modal {
  width: min(960px, 94vw);
  max-width: none;
  max-height: 92svh;
  margin: auto;
  padding: 0;
  border: 1px solid var(--gold-line);
  border-radius: var(--r-xs);
  background: var(--surface);
  color: var(--ink);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.video-modal::backdrop {
  background: rgba(8, 8, 10, 0.84);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}

.video-modal[open] { animation: dialogIn 0.45s var(--ease-out); }

.video-modal__inner { position: relative; max-height: 92svh; overflow-y: auto; }

.video-modal__stage { background: #0b0a0d; }

.video-modal__frame {
  position: relative;
  aspect-ratio: 16 / 9;
  width: 100%;
  overflow: hidden;
  background: #0b0a0d;
  background-size: cover;
  background-position: center;
}

.video-modal__frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  background: #0b0a0d;
}

.video-modal__loading {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  margin: 0;
  padding: 1rem;
  color: rgba(245, 242, 234, 0.6);
  font-family: var(--font-ar-display);
  font-size: 0.84rem;
  text-align: center;
}

.video-modal__body { padding: clamp(1.25rem, 3vw, 1.9rem) clamp(1.25rem, 3vw, 2rem) clamp(1.5rem, 3vw, 2rem); }

.video-modal__eyebrow {
  font-family: var(--font-en-body);
  font-size: 0.62rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--gold-text);
}

.video-modal__title { margin-top: 0.35rem; font-size: clamp(1.25rem, 2.4vw, 1.65rem); font-weight: 700; }

.video-modal__note {
  margin-top: 0.65rem;
  max-width: 75ch;
  color: var(--ink-3);
  font-size: 0.84rem;
  line-height: 1.9;
}

.video-modal__actions { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-top: 1.25rem; }

@media (max-width: 640px) {
  .video-modal { width: 96vw; max-height: 94svh; }
  .video-modal__inner { max-height: 94svh; }
  .video-modal__frame { aspect-ratio: 4 / 3; }
  .video-modal__actions .btn { flex: 1 1 auto; }
}

/* ------------------------- filtered card entrance ------------------------ */
.project-card.is-entering { animation: cardEnter 0.5s var(--ease); }

@keyframes cardEnter {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  .project-card.is-entering { animation: none; }
}

