:root {
  --ink: #141211;
  --ink-soft: #242120;
  --graphite: #343638;
  --steel: #7c8589;
  --gold: #b19d57;
  --gold-2: #bdad76;
  --ivory: #f7f4eb;
  --white: #ffffff;
  --mist: #e9ece8;
  --teal: #5e8f8a;
  --line: rgba(255, 255, 255, 0.18);
  --shadow: 0 22px 70px rgba(0, 0, 0, 0.28);
  --max: 1180px;
  font-family: "Manrope", "IBM Plex Sans Arabic", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--ivory);
  font-size: 16px;
  line-height: 1.7;
  letter-spacing: 0;
}

body.nav-open {
  overflow: hidden;
}

body[dir="rtl"] {
  font-family: "IBM Plex Sans Arabic", "Manrope", system-ui, sans-serif;
}

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

a {
  color: inherit;
}

button,
input,
textarea {
  font: inherit;
}

.skip-link {
  position: fixed;
  inset-inline-start: 16px;
  top: 14px;
  z-index: 100;
  transform: translateY(-140%);
  background: var(--gold);
  color: var(--ink);
  padding: 8px 12px;
  border-radius: 6px;
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
  min-height: 82px;
  padding: 14px 34px;
  color: var(--white);
  background: rgba(20, 18, 17, 0.72);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(18px);
}

.site-header.is-scrolled {
  background: rgba(20, 18, 17, 0.93);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.18);
}

.brand-link {
  display: flex;
  align-items: center;
  width: 84px;
  height: 54px;
  overflow: hidden;
  text-decoration: none;
}

.brand-link img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 26px;
}

.site-nav a {
  position: relative;
  text-decoration: none;
  color: rgba(255, 255, 255, 0.82);
  font-weight: 600;
  font-size: 0.9rem;
}

.site-nav a::after {
  content: "";
  position: absolute;
  inset-inline: 0;
  bottom: -8px;
  height: 2px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 180ms ease;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--white);
}

.site-nav a:hover::after,
.site-nav a:focus-visible::after {
  transform: scaleX(1);
}

.language-switch {
  display: inline-grid;
  grid-template-columns: 1fr 1fr;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 8px;
  overflow: hidden;
}

.language-switch button {
  width: 44px;
  min-height: 38px;
  border: 0;
  color: rgba(255, 255, 255, 0.72);
  background: transparent;
  cursor: pointer;
  font-weight: 800;
  font-size: 0.82rem;
}

.language-switch button[aria-pressed="true"] {
  color: var(--ink);
  background: var(--gold);
}

.menu-button {
  display: none;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 8px;
  background: transparent;
  color: var(--white);
  min-height: 40px;
  padding: 0 14px;
  cursor: pointer;
}

.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  align-items: center;
  overflow: hidden;
  color: var(--white);
  background:
    linear-gradient(110deg, rgba(20, 18, 17, 0.95), rgba(20, 18, 17, 0.78) 58%, rgba(36, 33, 32, 0.96)),
    radial-gradient(circle at 74% 24%, rgba(94, 143, 138, 0.3), transparent 28%),
    var(--ink);
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 160px;
  background: linear-gradient(0deg, var(--ivory), rgba(247, 244, 235, 0));
  pointer-events: none;
}

.hero-bg {
  position: absolute;
  inset: 0;
  opacity: 0.75;
}

.hero-bg::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  background-size: 96px 96px;
  mask-image: linear-gradient(90deg, rgba(0, 0, 0, 0.7), transparent 75%);
}

.line {
  position: absolute;
  display: block;
  height: 2px;
  width: 46vw;
  min-width: 560px;
  background: linear-gradient(90deg, transparent, var(--gold), rgba(255, 255, 255, 0.85), transparent);
  transform-origin: left center;
}

.line-a {
  top: 24%;
  left: -10%;
  transform: rotate(-24deg);
}

.line-b {
  top: 44%;
  left: -6%;
  transform: rotate(-17deg);
}

.line-c {
  bottom: 26%;
  left: -12%;
  transform: rotate(-10deg);
}

.hero-inner {
  position: relative;
  z-index: 2;
  width: min(var(--max), calc(100% - 48px));
  margin: 0 auto;
  padding: 144px 0 190px;
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--gold-2);
  font-size: 0.88rem;
  font-weight: 800;
  text-transform: uppercase;
}

body[dir="rtl"] .eyebrow {
  text-transform: none;
}

.hero h1 {
  max-width: 760px;
  margin: 0;
  font-size: 5.75rem;
  line-height: 0.96;
  font-weight: 800;
}

.hero-copy {
  max-width: 650px;
  margin: 28px 0 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 1.18rem;
}

.hero-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 36px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border-radius: 8px;
  border: 1px solid transparent;
  text-decoration: none;
  font-weight: 800;
  cursor: pointer;
}

.button.primary {
  background: var(--gold);
  color: var(--ink);
  border-color: var(--gold);
}

.button.secondary {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.04);
}

.button:hover,
.button:focus-visible {
  transform: translateY(-1px);
}

.hero-mark {
  position: absolute;
  z-index: 1;
  width: 420px;
  max-width: 34vw;
  inset-inline-end: 7%;
  top: 21%;
  opacity: 0.23;
  filter: saturate(0.88);
}

.hero-facts {
  position: absolute;
  z-index: 2;
  inset-inline: 0;
  bottom: 52px;
  width: min(var(--max), calc(100% - 48px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid rgba(255, 255, 255, 0.22);
}

.hero-facts div {
  min-height: 88px;
  padding: 20px 22px;
  border-inline-end: 1px solid rgba(255, 255, 255, 0.14);
}

.hero-facts div:last-child {
  border-inline-end: 0;
}

.hero-facts dt {
  color: rgba(255, 255, 255, 0.56);
  font-weight: 700;
  font-size: 0.82rem;
}

.hero-facts dd {
  margin: 6px 0 0;
  color: var(--white);
  font-weight: 800;
  font-size: 1.3rem;
}

.section {
  padding: 104px 0;
}

.section-head,
.intro-grid,
.direction-grid,
.companies-grid,
.service-list,
.legacy-content,
.legacy-strip,
.updates-grid,
.contact-section {
  width: min(var(--max), calc(100% - 48px));
  margin: 0 auto;
}

.section-head {
  display: grid;
  grid-template-columns: minmax(160px, 280px) minmax(0, 1fr);
  gap: 48px;
  align-items: start;
  margin-bottom: 48px;
}

.section-head.narrow {
  display: block;
  max-width: 760px;
  margin-inline: auto;
  text-align: center;
}

.section h2,
.contact-section h2 {
  margin: 0;
  font-size: 3.1rem;
  line-height: 1.05;
  font-weight: 800;
}

.intro-section {
  background: var(--ivory);
}

.intro-grid {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 46px;
  align-items: stretch;
}

.intro-copy {
  font-size: 1.1rem;
  color: rgba(20, 18, 17, 0.76);
}

.intro-copy p {
  margin: 0 0 20px;
}

.leadership-panel {
  border-radius: 8px;
  padding: 36px;
  color: var(--white);
  background:
    linear-gradient(135deg, rgba(177, 157, 87, 0.18), rgba(94, 143, 138, 0.12)),
    var(--ink-soft);
  box-shadow: var(--shadow);
}

.quote {
  margin: 0;
  font-size: 1.65rem;
  line-height: 1.35;
  font-weight: 700;
}

.quote-by {
  margin: 28px 0 0;
  color: rgba(255, 255, 255, 0.62);
  font-weight: 700;
}

.direction-section {
  color: var(--white);
  background:
    linear-gradient(180deg, #1d1a19, #12100f),
    var(--ink);
}

.direction-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.direction-item {
  min-height: 320px;
  padding: 34px;
  background: #191615;
}

.direction-item span,
.service-list span {
  color: var(--gold);
  font-weight: 800;
}

.direction-item h3,
.service-list h3,
.updates-grid h3 {
  margin: 28px 0 14px;
  font-size: 1.35rem;
  line-height: 1.25;
}

.direction-item p,
.service-list p,
.updates-grid p {
  margin: 0;
  color: rgba(255, 255, 255, 0.68);
}

.companies-section {
  background: #f2eee4;
}

.companies-grid {
  display: grid;
  gap: 18px;
}

.company-card {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 34px;
  align-items: center;
  min-height: 280px;
  padding: 30px;
  border-radius: 8px;
  background: var(--white);
  border: 1px solid rgba(20, 18, 17, 0.08);
  box-shadow: 0 16px 48px rgba(20, 18, 17, 0.08);
}

.company-logo {
  display: grid;
  place-items: center;
  min-height: 220px;
  padding: 20px;
  border-radius: 8px;
  background: linear-gradient(145deg, #191615, #262221);
}

.company-logo img {
  width: 220px;
  max-height: 150px;
  object-fit: contain;
}

.company-card:first-child .company-logo img {
  width: 210px;
  max-height: 155px;
}

.company-content {
  max-width: 720px;
}

.company-kicker {
  margin: 0 0 8px;
  color: var(--teal);
  font-weight: 800;
  font-size: 0.88rem;
  text-transform: uppercase;
}

body[dir="rtl"] .company-kicker {
  text-transform: none;
}

.company-content h3 {
  margin: 0;
  font-size: 2.05rem;
  line-height: 1.1;
}

.company-content p {
  margin: 14px 0 18px;
  color: rgba(20, 18, 17, 0.72);
}

.company-content ul {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.company-content li {
  position: relative;
  padding-inline-start: 18px;
  color: rgba(20, 18, 17, 0.78);
  font-weight: 700;
}

.company-content li::before {
  content: "";
  position: absolute;
  inset-inline-start: 0;
  top: 0.72em;
  width: 7px;
  height: 7px;
  border-radius: 2px;
  background: var(--gold);
}

.services-section {
  color: var(--white);
  background:
    linear-gradient(140deg, rgba(177, 157, 87, 0.08), rgba(94, 143, 138, 0.14)),
    #151312;
}

.service-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  border-inline-start: 1px solid rgba(255, 255, 255, 0.16);
}

.service-list article {
  min-height: 260px;
  padding: 30px;
  border-inline-end: 1px solid rgba(255, 255, 255, 0.16);
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
}

.legacy-section {
  background: var(--ivory);
}

.legacy-content {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 56px;
  align-items: start;
}

.legacy-content p:last-child {
  margin: 0;
  color: rgba(20, 18, 17, 0.74);
  font-size: 1.1rem;
}

.legacy-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 40px;
}

.legacy-strip span {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 0 14px;
  border-radius: 8px;
  background: #e5dfd1;
  color: #36302c;
  font-weight: 800;
}

.updates-section {
  background: #ebe8de;
}

.updates-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.updates-grid article {
  min-height: 230px;
  padding: 28px;
  border-radius: 8px;
  background: var(--white);
  border: 1px solid rgba(20, 18, 17, 0.08);
}

.updates-grid h3 {
  color: var(--ink);
}

.updates-grid p {
  color: rgba(20, 18, 17, 0.72);
}

.contact-section {
  display: grid;
  grid-template-columns: 0.9fr 1fr;
  gap: 26px;
  padding: 104px 0;
}

.contact-copy {
  color: var(--white);
  background:
    linear-gradient(140deg, rgba(177, 157, 87, 0.2), rgba(94, 143, 138, 0.12)),
    var(--ink);
  border-radius: 8px;
  padding: 38px;
  min-height: 460px;
}

.contact-copy p:not(.eyebrow) {
  color: rgba(255, 255, 255, 0.72);
}

.email-link {
  display: inline-flex;
  margin-top: 24px;
  color: var(--gold-2);
  font-size: 1.35rem;
  font-weight: 800;
  text-decoration: none;
}

.contact-form {
  display: grid;
  gap: 16px;
  border-radius: 8px;
  padding: 28px;
  background: var(--white);
  border: 1px solid rgba(20, 18, 17, 0.08);
}

.contact-form label {
  display: grid;
  gap: 7px;
  font-weight: 800;
  color: #2d2927;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid #d5d0c4;
  border-radius: 8px;
  padding: 12px 14px;
  background: #fbfaf5;
  color: var(--ink);
  outline: none;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 4px rgba(177, 157, 87, 0.18);
}

.form-button {
  width: 100%;
}

.map-panel {
  grid-column: 1 / -1;
  position: relative;
  min-height: 390px;
  border-radius: 8px;
  overflow: hidden;
  background: #d8d6cd;
  border: 1px solid rgba(20, 18, 17, 0.1);
}

.map-panel iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  filter: grayscale(0.2) contrast(1.04);
}

.map-link {
  position: absolute;
  inset-inline-end: 16px;
  bottom: 16px;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 16px;
  border-radius: 8px;
  background: var(--ink);
  color: var(--white);
  text-decoration: none;
  font-weight: 800;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 28px 34px;
  color: rgba(255, 255, 255, 0.72);
  background: var(--ink);
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.site-footer p {
  margin: 0;
  font-weight: 800;
  color: var(--gold-2);
}

.footer-actions {
  display: flex;
  gap: 12px;
}

.footer-actions button {
  border: 0;
  padding: 0;
  color: rgba(255, 255, 255, 0.72);
  background: transparent;
  cursor: pointer;
  font-weight: 700;
}

.footer-actions button:hover,
.footer-actions button:focus-visible {
  color: var(--white);
}

.legal-dialog {
  max-width: 620px;
  width: calc(100% - 32px);
  padding: 0;
  border: 0;
  border-radius: 8px;
  color: var(--ink);
  background: var(--white);
  box-shadow: var(--shadow);
}

.legal-dialog::backdrop {
  background: rgba(0, 0, 0, 0.62);
}

.dialog-inner {
  position: relative;
  padding: 34px;
}

.dialog-inner h2 {
  margin: 0 0 12px;
}

.dialog-inner p {
  margin: 0;
  color: rgba(20, 18, 17, 0.72);
}

.dialog-close {
  position: absolute;
  top: 14px;
  inset-inline-end: 14px;
  width: 36px;
  height: 36px;
  border: 1px solid rgba(20, 18, 17, 0.12);
  border-radius: 8px;
  background: #f4f0e7;
  cursor: pointer;
  font-size: 1.3rem;
}

@media (max-width: 980px) {
  .site-header {
    grid-template-columns: auto auto auto;
    justify-content: space-between;
    gap: 12px;
    min-height: 72px;
    padding: 12px 20px;
  }

  .brand-link {
    width: 72px;
    height: 46px;
  }

  .menu-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .site-nav {
    position: fixed;
    inset: 72px 14px auto;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 10px;
    border-radius: 8px;
    background: rgba(20, 18, 17, 0.97);
    box-shadow: var(--shadow);
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav a {
    padding: 14px 10px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }

  .site-nav a:last-child {
    border-bottom: 0;
  }

  .site-nav a::after {
    display: none;
  }

  .hero h1 {
    font-size: 4.2rem;
  }

  .hero-mark {
    width: 300px;
    max-width: 46vw;
    top: 17%;
    opacity: 0.16;
  }

  .hero-facts,
  .direction-grid,
  .service-list,
  .updates-grid {
    grid-template-columns: 1fr;
  }

  .hero-facts {
    position: relative;
    bottom: auto;
    margin-top: -140px;
    margin-bottom: 48px;
  }

  .hero-facts div {
    border-inline-end: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  }

  .hero-facts div:last-child {
    border-bottom: 0;
  }

  .section {
    padding: 78px 0;
  }

  .section-head,
  .intro-grid,
  .legacy-content,
  .contact-section {
    grid-template-columns: 1fr;
  }

  .section h2,
  .contact-section h2 {
    font-size: 2.4rem;
  }

  .company-card {
    grid-template-columns: 1fr;
  }

  .company-logo {
    min-height: 190px;
  }
}

@media (max-width: 620px) {
  body {
    font-size: 15px;
  }

  .site-header {
    padding: 10px 14px;
  }

  .language-switch button {
    width: 38px;
    min-height: 36px;
  }

  .hero {
    min-height: auto;
  }

  .hero-inner {
    width: min(var(--max), calc(100% - 30px));
    padding: 118px 0 180px;
  }

  .hero h1 {
    font-size: 3.05rem;
  }

  .hero-copy {
    font-size: 1rem;
  }

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .hero-mark {
    inset-inline-end: -40px;
    top: 120px;
    max-width: 70vw;
  }

  .hero-facts,
  .section-head,
  .intro-grid,
  .direction-grid,
  .companies-grid,
  .service-list,
  .legacy-content,
  .legacy-strip,
  .updates-grid,
  .contact-section {
    width: min(var(--max), calc(100% - 30px));
  }

  .hero-facts {
    margin-top: -126px;
  }

  .section h2,
  .contact-section h2 {
    font-size: 2rem;
  }

  .leadership-panel,
  .direction-item,
  .company-card,
  .contact-copy,
  .contact-form {
    padding: 22px;
  }

  .quote {
    font-size: 1.28rem;
  }

  .company-logo {
    min-height: 170px;
  }

  .company-logo img {
    width: 190px;
  }

  .company-content h3 {
    font-size: 1.65rem;
  }

  .service-list article,
  .updates-grid article {
    min-height: 0;
    padding: 22px;
  }

  .map-panel {
    min-height: 320px;
  }

  .site-footer {
    flex-direction: column;
    align-items: flex-start;
    padding: 24px 18px;
  }
}
