@font-face {
  font-family: "Frutiger LT Arabic";
  src: url("../assets/fonts/FrutigerLTArabic45Light.ttf") format("truetype");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Frutiger LT Arabic";
  src: url("../assets/fonts/FrutigerLTArabic55Roman.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Frutiger LT Arabic";
  src: url("../assets/fonts/FrutigerLTArabic65Bold.ttf") format("truetype");
  font-weight: 500 800;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Frutiger LT Arabic";
  src: url("../assets/fonts/frutigerltarabic75black.ttf") format("truetype");
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --orange: #f47721;
  --orange-deep: #d46312;
  --ink: #202020;
  --paper: #f4f1ec;
  --white: #fff;
  --muted: #757575;
  --line: rgba(32, 32, 32, 0.12);
  --wrap: 1360px;
  --header: 78px;
  --font: "Manrope", "Segoe UI", sans-serif;
  --display: "Barlow Condensed", "Arial Narrow", Impact, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.65;
}
img { max-width: 100%; display: block; }
button, input, textarea, select { font: inherit; color: inherit; }
a { color: inherit; }
h1, h2, h3, p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }

.skip {
  position: absolute;
  inset-inline-start: 16px;
  top: -48px;
  background: var(--ink);
  color: white;
  padding: 8px 12px;
  z-index: 40;
}
.skip:focus { top: 12px; }
#about, #projects, #services, #contact { scroll-margin-top: calc(var(--header) + 16px); }

.wrap {
  width: min(var(--wrap), 100%);
  margin-inline: auto;
  padding-inline: clamp(20px, 4vw, 64px);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  height: var(--header);
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--line);
}
.header-inner, .nav, .brand, .contact-links, .social, .footer-top, .footer-bottom {
  display: flex;
  align-items: center;
}
.header-inner { height: 100%; justify-content: space-between; gap: 24px; }
.brand img { height: 52px; width: auto; }
.nav { gap: 18px; }
.nav a {
  text-decoration: none;
  font-size: 14px;
  font-weight: 700;
  white-space: nowrap;
}
.nav a:hover,
.nav a[aria-current="page"] { color: #9a4308; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  background: var(--orange);
  color: #202020;
  text-decoration: none;
  font-weight: 800;
  border: 1px solid var(--orange);
  cursor: pointer;
}
.btn:hover { background: #d46312; border-color: #d46312; color: #202020; }
.btn-ghost {
  background: transparent;
  color: white;
  border-color: rgba(255, 255, 255, 0.7);
}
.btn-ghost:hover { background: white; color: var(--ink); border-color: white; }
.btn-line {
  background: transparent;
  color: var(--ink);
  border-color: var(--ink);
}
.btn-line:hover { background: var(--ink); color: white; }
.lang {
  text-decoration: none;
  font-weight: 800;
  font-size: 13px;
  border: 1px solid var(--ink);
  padding: 6px 9px;
}
.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  background: white;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  position: relative;
  z-index: 32;
}
.nav-toggle span { display: block; width: 18px; height: 2px; background: var(--ink); }

.hero {
  position: relative;
  width: 100%;
  aspect-ratio: 1920 / 970;
  height: auto;
  min-height: 0;
  max-height: none;
  background: #111;
  color: white;
  overflow: hidden;
}
.hero video {
  position: absolute;
  top: 0;
  left: 0;
  display: block;
  width: 100%;
  height: auto;
  max-height: none;
  object-fit: contain;
  transform: translateY(-5.556%);
  background: #111;
}
.hero-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.72) 0%, rgba(0, 0, 0, 0.42) 42%, rgba(0, 0, 0, 0.12) 100%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.05) 20%, rgba(0, 0, 0, 0.35) 100%);
}
html[dir="rtl"] .hero-shade {
  background:
    linear-gradient(270deg, rgba(0, 0, 0, 0.72) 0%, rgba(0, 0, 0, 0.42) 42%, rgba(0, 0, 0, 0.12) 100%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.05) 20%, rgba(0, 0, 0, 0.35) 100%);
}
.hero-copy {
  position: absolute;
  z-index: 1;
  inset: 0;
  width: min(var(--wrap), 100%);
  height: auto;
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding-bottom: clamp(36px, 6vh, 72px);
  max-width: 920px;
}
.hero h1 {
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(64px, 9vw, 124px);
  line-height: 0.86;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  max-width: 11ch;
}
.hero p {
  margin-top: 18px;
  max-width: 38ch;
  font-size: 18px;
  color: rgba(255, 255, 255, 0.9);
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

.section { padding: clamp(72px, 9vw, 128px) 0; }
.kicker {
  color: #9a4308;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-bottom: 14px;
}
.display, .section-head h2, .about h2, .vm h3, .contact-copy h2, .footer-brand p:first-child {
  font-family: var(--display);
  font-weight: 600;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  line-height: 0.92;
}
.section-head {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  align-items: end;
  gap: 24px 40px;
  margin-bottom: 36px;
}
.section-head h1,
.section-head h2, .about h2, .contact-copy h2 {
  font-size: clamp(48px, 6vw, 84px);
}
.lede { color: var(--muted); max-width: 42ch; justify-self: end; font-size: 17px; }

.about-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(28px, 4vw, 64px);
  align-items: center;
}
.about-copy p { margin-top: 16px; color: #3f3f3f; font-size: 17px; max-width: 58ch; }
.about-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.about-mark { display: grid; place-items: center; }
.about-mark img { width: min(320px, 78%); height: auto; }

.vm {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-top: 18px;
}
.vm article { background: white; }
.vm img { width: 100%; height: 280px; object-fit: cover; }
.vm div { padding: 28px; }
.vm h2, .vm h3 { font-size: clamp(26px, 2.4vw, 36px); line-height: 1.2; margin-bottom: 12px; }
.vm p { color: var(--muted); }

.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 22px; }
.filters button {
  border: 1px solid var(--line);
  background: transparent;
  min-height: 40px;
  padding: 0 14px;
  cursor: pointer;
  font-weight: 700;
  font-size: 14px;
}
.filters button[aria-pressed="true"] {
  background: var(--ink);
  color: white;
  border-color: var(--ink);
}

.portfolio {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.project {
  position: relative;
  display: block;
  padding: 0;
  border: 0;
  background: #ddd;
  cursor: zoom-in;
  overflow: hidden;
  text-align: start;
  color: white;
}
.project-feature,
.featured-portfolio .project:nth-child(4) { grid-column: 1 / -1; }
.project img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.project-feature img { aspect-ratio: 2.15 / 1; max-height: 620px; }
.project-meta {
  position: absolute;
  inset-inline: 0;
  bottom: 0;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  padding: 48px 20px 18px;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.72));
}
.project-meta strong {
  display: block;
  font-family: var(--display);
  font-size: clamp(26px, 3vw, 40px);
  font-weight: 600;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  line-height: 0.95;
}
.project-cat, .project-where { display: block; font-size: 13px; font-weight: 700; }
.project-cat { color: #ffc089; margin-bottom: 6px; }
.project-arrow {
  flex: none;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255, 255, 255, 0.7);
  display: grid;
  place-items: center;
  font-size: 20px;
}
.project:hover img, .project:focus-visible img { transform: scale(1.04); }
.project.is-hidden { display: none; }
.portfolio-more { margin-top: 28px; }

.lightbox {
  border: 0;
  padding: 0;
  background: transparent;
  max-width: min(1100px, 94vw);
  color: white;
}
.lightbox::backdrop { background: rgba(12, 12, 12, 0.88); }
.lightbox img { width: 100%; height: auto; }
.lightbox-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  margin-bottom: 8px;
}
.lightbox-bar p { font-weight: 700; }
.lightbox button {
  background: white;
  color: var(--ink);
  border: 0;
  width: 40px;
  height: 40px;
  cursor: pointer;
  font-size: 22px;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.service {
  background: white;
  padding: 28px 24px 32px;
  min-height: 230px;
  transition: transform 0.25s ease;
}
.service:hover { transform: translateY(-4px); }
.service span {
  display: block;
  color: #c45a0c;
  font-family: var(--display);
  font-size: 28px;
  font-weight: 600;
  margin-bottom: 18px;
}
.service h3 { font-size: 22px; line-height: 1.2; margin-bottom: 10px; }
.service p { color: var(--muted); font-size: 15px; }

.numbers { background: white; }
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 42px 24px;
}
.stat strong {
  display: block;
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(52px, 6vw, 88px);
  line-height: 0.85;
  color: #c45a0c;
}
.stat span { display: block; margin-top: 10px; font-weight: 700; max-width: 16ch; }

.contact-band { background: var(--ink); color: white; }
.contact-band .kicker { color: #ffb068; }
.contact-grid {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  gap: clamp(28px, 4vw, 64px);
  align-items: start;
}
.contact-copy p { margin: 16px 0 22px; color: #d7d3cd; max-width: 32ch; font-size: 18px; }
.contact-links { flex-wrap: wrap; gap: 14px 22px; }
.contact-links a, .social a { text-decoration: none; font-weight: 700; }
.contact-links a { color: #ffb068; }
.contact-form { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.contact-form label { display: grid; gap: 6px; font-size: 13px; font-weight: 700; }
.contact-form .wide { grid-column: 1 / -1; }
.contact-form input,
.contact-form textarea,
.contact-form select {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.06);
  color: white;
  padding: 13px 14px;
}
.contact-form select option { color: var(--ink); }
.contact-form textarea { min-height: 130px; resize: vertical; }
.contact-form .btn { justify-self: start; }
.captcha { min-height: 78px; }
.form-note { grid-column: 1 / -1; margin: 0; color: #ffb068; }
.form-note.is-error { color: #ffb4a8; }
.map { margin-top: 36px; }
.map iframe { display: block; width: 100%; height: 260px; border: 0; filter: grayscale(0.35); }

.site-footer { background: #171717; color: #eee; padding: 64px 0 28px; }
.footer-top {
  align-items: flex-start;
  justify-content: space-between;
  gap: 36px 48px;
  flex-wrap: wrap;
  padding-bottom: 36px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}
.footer-brand { max-width: 320px; }
.footer-brand img { height: 48px; width: auto; }
.footer-brand p { margin-top: 16px; color: #c8c4be; }
.footer-col { display: grid; gap: 8px; }
.footer-col strong { margin-bottom: 6px; }
.footer-col a { text-decoration: none; color: #ddd; }
.footer-col a:hover { color: white; }
.footer-bottom {
  justify-content: space-between;
  gap: 16px;
  padding-top: 22px;
  color: #bdb8b2;
  font-size: 14px;
}
.social { gap: 16px; }
.social svg, .wa svg { fill: currentColor; display: block; width: 20px; height: 20px; }
.wa {
  position: fixed;
  z-index: 25;
  bottom: 22px;
  inset-inline-end: 22px;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #61ce70;
  color: white;
  display: grid;
  place-items: center;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.18);
}
.wa svg { width: 30px; height: 30px; }

.js .reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.js .reveal.is-in { opacity: 1; transform: none; }

a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible {
  outline: 3px solid #1c84d9;
  outline-offset: 2px;
}

html[lang="ar"] {
  --font: "Frutiger LT Arabic", "Segoe UI", Tahoma, sans-serif;
  --display: "Frutiger LT Arabic", "Segoe UI", Tahoma, sans-serif;
}
html[lang="ar"] .kicker { letter-spacing: 0; text-transform: none; font-size: 14px; }
html[lang="ar"] .hero h1,
html[lang="ar"] .display,
html[lang="ar"] .section-head h2,
html[lang="ar"] .about h2,
html[lang="ar"] .vm h3,
html[lang="ar"] .contact-copy h2,
html[lang="ar"] .project-meta strong,
html[lang="ar"] .stat strong {
  text-transform: none;
  letter-spacing: 0;
  line-height: 1.05;
}
html[lang="ar"] .hero h1 { max-width: 14ch; font-size: clamp(38px, 5.2vw, 64px); line-height: 1.15; }
html[lang="ar"] .section-head h1,
html[lang="ar"] .section-head h2,
html[lang="ar"] .about h2,
html[lang="ar"] .contact-copy h2,
html[lang="ar"] .about-copy h1 {
  font-size: clamp(32px, 4vw, 52px);
  line-height: 1.2;
}
html[lang="ar"] .vm h2,
html[lang="ar"] .vm h3 { font-size: clamp(22px, 2vw, 30px); line-height: 1.35; }
html[lang="ar"] .subhead { font-size: clamp(24px, 2.6vw, 34px); }
html[lang="ar"] .service-detail h2 { font-size: clamp(22px, 2.4vw, 30px); }
html[lang="ar"] .project-arrow { transform: scaleX(-1); }
html[lang="ar"] .meta-row small { letter-spacing: 0; text-transform: none; font-size: 14px; }

picture { display: block; }
.more { color: #9a4308; font-weight: 800; text-decoration: none; display: inline-block; margin-top: 14px; }
.more:hover { text-decoration: underline; }
.hp { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); border: 0; }
.profile-link { margin-top: 14px; }
.profile-link a { color: #9a4308; font-weight: 800; }

.service-detail {
  display: grid;
  grid-template-columns: 88px 1fr;
  gap: 12px 28px;
  padding: 36px 0;
  border-top: 1px solid var(--line);
}
.service-detail h2 { font-size: clamp(28px, 3vw, 40px); line-height: 1.05; margin-bottom: 12px; }
.service-detail p + p { margin-top: 12px; }
.service-detail p { color: #3f3f3f; max-width: 75ch; }
.service-detail span {
  font-family: var(--display);
  font-size: 40px;
  font-weight: 600;
  color: #c45a0c;
  line-height: 1;
}

.project-hero {
  width: min(var(--wrap), 100%);
  margin: 28px auto 0;
  padding-inline: clamp(20px, 4vw, 64px);
}
.project-hero img, .project-hero picture { width: 100%; max-height: 72vh; object-fit: cover; aspect-ratio: 2.15 / 1; }
.meta-row { display: flex; flex-wrap: wrap; gap: 18px 32px; margin: 22px 0; }
.meta-row div { min-width: 120px; }
.meta-row small {
  display: block;
  color: #9a4308;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 4px;
}
.meta-row strong { font-size: 18px; }
.scope { max-width: 62ch; font-size: 18px; margin-bottom: 28px; }
.subhead { font-size: clamp(32px, 4vw, 48px); margin: 48px 0 18px; }

@media (max-width: 980px) {
  .hero { height: auto; min-height: 0; max-height: none; }
  .vm, .contact-grid, .services-grid { grid-template-columns: 1fr 1fr; }
  .stats { grid-template-columns: 1fr 1fr; }
  .services-grid .service:last-child { grid-column: 1 / -1; }
}
@media (max-width: 860px) {
  .nav-toggle { display: flex; }
  .nav {
    display: none;
    position: fixed;
    inset: 0;
    background: var(--paper);
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 22px;
    padding: 96px 32px;
  }
  .nav.is-open { display: flex; z-index: 31; }
  .nav a { font-size: 28px; }
  .nav .btn, .nav .lang { font-size: 16px; }
}
@media (max-width: 720px) {
  .hero { height: auto; min-height: 0; max-height: none; }
  .portfolio, .services-grid, .vm, .about-grid, .contact-grid, .contact-form, .service-detail { grid-template-columns: 1fr; }
  .about-mark img { width: min(180px, 48%); }
  .project-feature,
  .featured-portfolio .project:nth-child(4) { grid-column: auto; }
  .section-head { grid-template-columns: 1fr; }
  .lede { justify-self: start; }
  .services-grid .service:last-child { grid-column: auto; }
  .footer-bottom { align-items: flex-start; flex-direction: column; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .project img, .service { transition: none; }
}
