* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
:root {
  --teal: #3e8a8a;
  --teal-dark: #2a5f5f;
  --sand: #d25a30;
  --cream: #f7f3ee;
  --charcoal: #1a1a1a;
  --mid: #4a4a4a;
  --navy: #0d2233;
  --font-en: var(--wp--preset--font-family--manrope);
  --font-ar: var(--wp--preset--font-family--tajawal);
}
html {
  scroll-behavior: smooth;
}
body {
  font-family: var(--font-en);
  background: #fff;
  color: var(--charcoal);
  overflow-x: hidden;
}
:lang(ar) {
  font-family: var(--font-ar);
}
[lang='ar'] {
  font-family: var(--font-ar);
  font-weight: 500;
  letter-spacing: 0;
  line-height: 1.7;
}
a {
  text-decoration: none;
  color: inherit;
}

img {
  max-width: 100%;
  height: auto;
}

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

button {
  color: inherit;
}

#main-content {
  min-height: 100vh;
}

/* WordPress admin bar offset */
body.admin-bar #sitenav {
  top: 32px;
}

@media (max-width: 782px) {
  body.admin-bar #sitenav {
    top: 46px;
  }

  body.admin-bar .nav-links {
    top: 114px;
    max-height: calc(100vh - 114px);
  }
}

/* WordPress custom logo */
.nav-logo .custom-logo-link {
  display: block;
  line-height: 0;
}

.nav-logo .custom-logo {
  display: block;
  width: auto;
  max-width: 180px;
  max-height: 48px;
  object-fit: contain;
}

/* WordPress accessibility helper */
.screen-reader-text {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.screen-reader-text:focus {
  top: 8px;
  left: 8px;
  z-index: 100000;
  width: auto;
  height: auto;
  padding: 12px 16px;
  clip: auto !important;
  background: #fff;
  color: var(--charcoal);
}

/* Standard WordPress content alignment classes */
.alignleft {
  float: left;
  margin: 0 1.5rem 1rem 0;
}

.alignright {
  float: right;
  margin: 0 0 1rem 1.5rem;
}

.aligncenter {
  display: block;
  margin-right: auto;
  margin-left: auto;
}

.wp-caption,
.gallery-caption {
  max-width: 100%;
}

.wp-caption-text {
  margin-top: 8px;
  color: var(--mid);
  font-size: 12px;
  line-height: 1.6;
}

.sticky,
.bypostauthor {
  display: initial;
}

/* ── CURSOR ── */
#cursor {
  position: fixed;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--sand);
  pointer-events: none;
  z-index: 9998;
  transform: translate(-50%, -50%);
  transition:
    transform 0.1s,
    width 0.3s,
    height 0.3s,
    background 0.3s;
  mix-blend-mode: difference;
}
#cursor-ring {
  position: fixed;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(196, 149, 106, 0.6);
  pointer-events: none;
  z-index: 9997;
  transform: translate(-50%, -50%);
  transition:
    left 0.12s ease,
    top 0.12s ease,
    width 0.3s,
    height 0.3s,
    opacity 0.3s;
}
body:hover #cursor {
  opacity: 1;
}

/* ── LOADER ── */
/* ==================================================
   RIWAQ TEXT FILL LOADER
================================================== */

#loader {
  position: fixed;
  inset: 0;
  z-index: 999999;

  display: flex;
  align-items: center;
  justify-content: center;

  overflow: hidden;

  background: #071f2f;

  visibility: visible;
  opacity: 1;

  transition:
    visibility 0.5s ease,
    opacity 0.5s ease;
}

#loader.out {
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
}

.loader-content {
  display: flex;
  flex-direction: column;
  align-items: center;

  width: 100%;
  padding: 25px;

  text-align: center;
}

.loader-logo {
  position: relative;

  display: grid;
  place-items: center;

  max-width: 100%;

  font-family: var(--font-en), serif;
  font-size: clamp(65px, 10vw, 135px);
  font-weight: 500;
  line-height: 1;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  white-space: nowrap;
}

/*
 * Both words occupy exactly the same position
 */
.loader-logo-outline,
.loader-logo-fill {
  grid-area: 1 / 1;

  display: block;

  padding-left: 0.16em;
}

/* Empty outlined word */

.loader-logo-outline {
  color: transparent;

  -webkit-text-stroke: 1px rgba(255, 255, 255, 0.25);
}

/* White filling word */

.loader-logo-fill {
  color: #fff;

  clip-path: inset(0 100% 0 0);

  animation: loaderTextFill 1.5s cubic-bezier(0.65, 0, 0.35, 1) forwards;
}

@keyframes loaderTextFill {
  from {
    clip-path: inset(0 100% 0 0);
  }

  to {
    clip-path: inset(0 0 0 0);
  }
}
.loader-drawing-logo {
  width: min(320px, 70vw);
}

.loader-logo-svg {
  display: block;
  width: 100%;
  height: auto;
  overflow: visible;
}

.loader-logo-svg path,
.loader-logo-svg polygon {
  fill: transparent;

  stroke: #fff;
  stroke-width: 1;
  stroke-linecap: round;
  stroke-linejoin: round;

  stroke-dasharray: 1;
  stroke-dashoffset: 1;

  vector-effect: non-scaling-stroke;

  animation:
    loaderLogoDraw 1.6s cubic-bezier(0.65, 0, 0.35, 1) forwards,
    loaderLogoFill 0.65s ease 1.6s forwards;
}

@keyframes loaderLogoDraw {
  from {
    stroke-dashoffset: 1;
  }

  to {
    stroke-dashoffset: 0;
  }
}

@keyframes loaderLogoFill {
  from {
    fill: transparent;
    stroke: #fff;
  }

  to {
    fill: #fff;
    stroke: transparent;
  }
}

.loader-subtitle {
    position: relative;
    margin-top: 15px;
    padding: 0 22px;
    color: #ffffff;
    font-size: 16px;
    font-weight: 600;
    line-height: 1;
    letter-spacing: 0.42em;
    text-transform: uppercase;
    visibility: hidden;
    opacity: 0;
    transform: translateY(9px);
    animation: loaderSubtitleReveal 0.55s cubic-bezier(0.2, 0.75, 0.3, 1) 1.9s forwards;
}
/* 
.loader-subtitle::before,
.loader-subtitle::after {
  position: absolute;
  top: 50%;

  width: 40px;
  height: 1px;

  content: '';
  background: rgba(201, 149, 99, 0.6);

  transform: scaleX(0);

  animation: loaderSubtitleLine 0.4s ease 2.1s forwards;
}

.loader-subtitle::before {
  right: 100%;
  transform-origin: right;
}

.loader-subtitle::after {
  left: 100%;
  transform-origin: left;
}
 */
@keyframes loaderSubtitleReveal {
  from {
    visibility: visible;
    opacity: 0;
    transform: translateY(8px);
  }

  to {
    visibility: visible;
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes loaderSubtitleLine {
  to {
    transform: scaleX(1);
  }
}


@keyframes loaderSubtitleReveal {
  from {
    visibility: visible;
    opacity: 0;
    letter-spacing: 0.6em;
    transform: translateY(9px);
  }

  to {
    visibility: visible;
    opacity: 1;
    letter-spacing: 0.42em;
    transform: translateY(0);
  }
}

@keyframes loaderSubtitleLine {
  to {
    transform: scaleX(1);
  }
}

/* ── PROGRESS ── */
/* #prog {
  position: fixed;
  top: 0;
  left: 0;
  height: 2px;
  background: var(--sand);
  width: 0%;
  z-index: 9999;
  box-shadow: 0 0 6px rgba(196, 149, 106, 0.5);
} */

/* ── NAV ── */
#sitenav {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 10000;

  display: flex;
  align-items: center;
  justify-content: space-between;

  width: 100%;
  height: var(--header-height);
  padding: 0 clamp(30px, 5vw, 85px);

  border-bottom: 1px solid rgba(255, 255, 255, 0.09);

  color: #fff;
  background: linear-gradient(to bottom, rgba(5, 25, 39, 0.65), transparent);

  transition:
    height 0.4s ease,
    padding 0.4s ease,
    background-color 0.4s ease,
    border-color 0.4s ease,
    box-shadow 0.4s ease,
    backdrop-filter 0.4s ease;
}

/* Other pages */

#sitenav.solid {
  background: rgba(7, 31, 47, 0.96);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);

  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

/* Homepage after scrolling */

#sitenav.scrolled {
  height: 78px;

  background: rgba(7, 31, 47, 0.94);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.1);

  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

#sitenav.solid {
  background: var(--navy);
}
.nav-logo {
  cursor: pointer;
  transition: opacity 0.2s;
}
.nav-logo:hover {
  opacity: 0.75;
}
.nav-logo .en {
  font-family: var(--font-en);
  font-size: clamp(16px, 2vw, 20px);
  font-weight: 300;
  letter-spacing: 4px;
  color: #fff;
  text-transform: uppercase;
}
.nav-logo .ar {
  font-size: 11px;
  letter-spacing: 2px;
  color: rgba(255, 255, 255, 0.4);
}
.nav-links {
  display: flex;
  gap: clamp(16px, 2.5vw, 32px);
  list-style: none;
}
.nav-links a {
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.65);
  transition: color 0.25s;
  cursor: pointer;
  position: relative;
  padding-bottom: 4px;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--sand);
  transition: width 0.3s ease;
}
.nav-links a:hover::after,
.nav-links .current-menu-item > a::after,
.nav-links .current_page_item > a::after,
.nav-links .current-menu-parent > a::after,
.nav-links .current-menu-ancestor > a::after,
.nav-links .current_page_ancestor > a::after {
  width: 100%;
}

.nav-links a:hover,
.nav-links .current-menu-item > a,
.nav-links .current_page_item > a,
.nav-links .current-menu-parent > a,
.nav-links .current-menu-ancestor > a,
.nav-links .current_page_ancestor > a {
  color: #fff;
}

.nav-burger {
  display: flex;
  flex-direction: column;
  padding: 0;
  background: transparent;
  justify-content: center;
  gap: 5px;
  cursor: pointer;
  width: 36px;
  height: 36px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  align-items: center;
  flex-shrink: 0;
  transition: border-color 0.3s;
}
.nav-burger:hover {
  border-color: var(--sand);
}
.nav-burger span {
  display: block;
  width: 18px;
  height: 1px;
  background: #fff;
  transition: transform 0.3s;
}
@media (max-width: 768px) {
  .nav-links {
    position: fixed;
    top: 68px;
    left: 0;
    right: 0;
    z-index: 499;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
    max-height: calc(100vh - 68px);
    padding: 32px 5vw;
    overflow-y: auto;
    background: var(--navy);
    border-top: 1px solid rgba(196, 149, 106, 0.15);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-16px);
    transition:
      opacity 0.3s ease,
      visibility 0.3s ease,
      transform 0.3s ease;
  }

  .nav-links.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
  }

  .nav-links li {
    width: 100%;
  }

  .nav-links a {
    display: block;
    width: 100%;
    padding: 6px 0;
  }

  .nav-burger[aria-expanded='true'] span:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
  }

  .nav-burger[aria-expanded='true'] span:nth-child(2) {
    opacity: 0;
  }

  .nav-burger[aria-expanded='true'] span:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
  }

  body.menu-open {
    overflow: hidden;
  }
}

/* ── WORDPRESS PAGE WRAPPER ── */
/* Each WordPress request renders one real page, so pages must not be hidden. */
.page {
  display: block;
  width: 100%;
}

/* ── SHARED HERO BANNER ── */
.page-hero {
  position: relative;
  height: 58vh;
  min-height: 400px;
  display: flex;
  align-items: flex-end;
  padding: 0 5vw 64px;
  overflow: hidden;
}
.page-hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  z-index: 0;
  transform: scale(1.08);
  transition: transform 6s ease;
}
.page-hero.ready .page-hero-bg {
  transform: scale(1);
}
.page-hero-ov {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(13, 34, 51, 0.92) 0%,
    rgba(13, 34, 51, 0.45) 55%,
    rgba(13, 34, 51, 0.2) 100%
  );
  z-index: 1;
}
.page-hero-content {
  position: relative;
  z-index: 2;
}
.page-hero-eyebrow {
  font-size: 11px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--sand);
  margin-bottom: 14px;
  opacity: 0;
  transform: translateY(20px);
  transition:
    opacity 0.7s 0.15s,
    transform 0.7s 0.15s;
}
.page-hero.ready .page-hero-eyebrow {
  opacity: 1;
  transform: none;
}
.page-hero-title {
  font-family: var(--font-en);
  font-size: clamp(40px, 7vw, 80px);
  font-weight: 300;
  line-height: 1;
  color: #fff;
  opacity: 0;
  transform: translateY(30px);
  transition:
    opacity 0.8s 0.3s,
    transform 0.8s 0.3s;
}
.page-hero.ready .page-hero-title {
  opacity: 1;
  transform: none;
}
.page-hero-title em {
  font-style: normal;
  color: var(--sand);
}
.page-hero-ar {
  font-size: clamp(16px, 2.5vw, 22px);
  letter-spacing: 2px;
  color: #565f67;
  margin-top: 10px;
  opacity: 0;
  transform: translateY(20px);
  transition:
    opacity 0.8s 0.5s,
    transform 0.8s 0.5s;
}
.page-hero.ready .page-hero-ar {
  opacity: 1;
  transform: none;
}

/* ── SECTION DIVIDER ── */
.s-div {
  display: flex;
  align-items: center;
  padding: 0 5vw;
  height: 1px;
  overflow: visible;
  z-index: 999;
  position: relative;
}
.s-div-inner {
  display: flex;
  align-items: center;
  width: 100%;
}
.sdl {
  flex: 1;
  height: 1px;
  background: rgba(196, 149, 106, 0.22);
}
.sdd {
  width: 7px;
  height: 7px;
  background: var(--sand);
  transform: rotate(45deg);
  flex-shrink: 0;
  margin: 0 12px;
  opacity: 0.6;
}

/* ── SEC LABEL ── */
.sec-label {
  font-size: 10px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 28px;
  display: flex;
  align-items: center;
  gap: 14px;
}
.sec-label::before {
  content: '';
  display: block;
  width: 0;
  height: 1px;
  background: var(--teal);
  transition: width 0.9s ease;
}
.sec-label.v::before {
  width: 30px;
}

/* ── SCROLL REVEALS ── */
.r {
  opacity: 0;
  transform: translateY(50px);
  transition:
    opacity 0.9s cubic-bezier(0.23, 1, 0.32, 1),
    transform 0.9s cubic-bezier(0.23, 1, 0.32, 1);
}
.rl {
  opacity: 0;
  transform: translateX(-60px);
  transition:
    opacity 0.9s cubic-bezier(0.23, 1, 0.32, 1),
    transform 0.9s cubic-bezier(0.23, 1, 0.32, 1);
}
.rr {
  opacity: 0;
  transform: translateX(60px);
  transition:
    opacity 0.9s cubic-bezier(0.23, 1, 0.32, 1),
    transform 0.9s cubic-bezier(0.23, 1, 0.32, 1);
}
.rs {
  opacity: 0;
  transform: scale(0.92);
  transition:
    opacity 0.9s cubic-bezier(0.23, 1, 0.32, 1),
    transform 0.9s cubic-bezier(0.23, 1, 0.32, 1);
}
.r.v,
.rl.v,
.rr.v,
.rs.v {
  opacity: 1;
  transform: none;
}
.d1 {
  transition-delay: 0.1s;
}
.d2 {
  transition-delay: 0.22s;
}
.d3 {
  transition-delay: 0.34s;
}
.d4 {
  transition-delay: 0.48s;
}
.d5 {
  transition-delay: 0.62s;
}

/* ── MAGNETIC BTN ── */
.mag-btn {
  position: relative;
  display: inline-block;
  transition: transform 0.3s cubic-bezier(0.23, 1, 0.32, 1);
}

/* ── GLITCH TEXT ── */
@keyframes glitch1 {
  0%,
  100% {
    clip-path: inset(0 0 95% 0);
    transform: translate(-2px, 0);
  }
  50% {
    clip-path: inset(80% 0 0 0);
    transform: translate(2px, 0);
  }
}
@keyframes glitch2 {
  0%,
  100% {
    clip-path: inset(50% 0 30% 0);
    transform: translate(2px, 0);
  }
  50% {
    clip-path: inset(20% 0 60% 0);
    transform: translate(-2px, 0);
  }
}

/* ── FLOATING PARTICLES ── */
#particles {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  opacity: 0;
  transition: opacity 1s;
}
#particles.show {
  opacity: 1;
}

/* ══════════ HOME ══════════ */
.hero {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 560px;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  padding: 0 5vw 10vh;
}
.hero video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}
.hero-fb {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: linear-gradient(160deg, #0d2233 0%, #1a3a3a 50%, #2a5f5f 100%);
}
.hero-ov {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(to top, rgba(13, 34, 51, 0.9) 0%, rgba(13, 34, 51, 0.2) 60%, rgba(13, 34, 51, 0.08) 100%);
}
.hero-pyr {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 2;
  pointer-events: none;
  line-height: 0;
}
.hero-pyr svg {
  display: block;
  width: 100%;
}
.ps {
  stroke-dasharray: 900;
  stroke-dashoffset: 900;
  animation: pyrDraw1 8s 0.6s cubic-bezier(0.23, 1, 0.32, 1) infinite;
}
.ps2 {
  stroke-dasharray: 700;
  stroke-dashoffset: 700;
  animation: pyrDraw2 8s 1s cubic-bezier(0.23, 1, 0.32, 1) infinite;
}
.ps3 {
  stroke-dasharray: 550;
  stroke-dashoffset: 550;
  animation: pyrDraw3 8s 1.4s cubic-bezier(0.23, 1, 0.32, 1) infinite;
}
.pf {
  opacity: 0;
  animation: pyrFill 8s 2.2s ease-in-out infinite;
}
@keyframes pyrDraw1 {
  0% {
    stroke-dashoffset: 900;
    opacity: 0;
  }
  4% {
    opacity: 1;
  }
  38% {
    stroke-dashoffset: 0;
    opacity: 1;
  }
  63% {
    stroke-dashoffset: 0;
    opacity: 1;
  }
  79% {
    stroke-dashoffset: 0;
    opacity: 0;
  }
  80% {
    stroke-dashoffset: 900;
    opacity: 0;
  }
  100% {
    stroke-dashoffset: 900;
    opacity: 0;
  }
}
@keyframes pyrDraw2 {
  0% {
    stroke-dashoffset: 700;
    opacity: 0;
  }
  4% {
    opacity: 1;
  }
  38% {
    stroke-dashoffset: 0;
    opacity: 1;
  }
  63% {
    stroke-dashoffset: 0;
    opacity: 1;
  }
  79% {
    stroke-dashoffset: 0;
    opacity: 0;
  }
  80% {
    stroke-dashoffset: 700;
    opacity: 0;
  }
  100% {
    stroke-dashoffset: 700;
    opacity: 0;
  }
}
@keyframes pyrDraw3 {
  0% {
    stroke-dashoffset: 550;
    opacity: 0;
  }
  4% {
    opacity: 1;
  }
  38% {
    stroke-dashoffset: 0;
    opacity: 1;
  }
  63% {
    stroke-dashoffset: 0;
    opacity: 1;
  }
  79% {
    stroke-dashoffset: 0;
    opacity: 0;
  }
  80% {
    stroke-dashoffset: 550;
    opacity: 0;
  }
  100% {
    stroke-dashoffset: 550;
    opacity: 0;
  }
}
@keyframes pyrFill {
  0%,
  10% {
    opacity: 0;
  }
  22%,
  55% {
    opacity: 1;
  }
  75%,
  100% {
    opacity: 0;
  }
}
.hero-content {
  position: relative;
  z-index: 3;
  max-width: min(640px, 90vw);
}
.hero-eyebrow {
  font-size: 11px;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--sand);
  margin-bottom: 20px;
  opacity: 0;
  animation: heroIn 0.8s 0.3s cubic-bezier(0.23, 1, 0.32, 1) forwards;
}
.hero-title {
  font-family: var(--font-en);
  font-size: clamp(44px, 7.5vw, 82px);
  text-transform: capitalize;
  font-weight: 300;
  line-height: 1.02;
  color: #fff;
  margin-bottom: 12px;
  opacity: 0;
  animation: heroIn 0.9s 0.5s cubic-bezier(0.23, 1, 0.32, 1) forwards;
  overflow: hidden;
}
.hero-title em {
  font-style: normal;
  color: var(--sand);
}
.hero-ar {
  font-size: clamp(16px, 2.5vw, 22px);
  letter-spacing: 2px;
  color: #565f67;
  margin-bottom: 38px;
  opacity: 0;
  animation: heroIn 0.9s 0.75s cubic-bezier(0.23, 1, 0.32, 1) forwards;
}
.hero-sc {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.45);
  opacity: 0;
  animation: heroIn 0.9s 1s cubic-bezier(0.23, 1, 0.32, 1) forwards;
  cursor: pointer;
}
.sc-line {
  width: 0;
  height: 1px;
  background: var(--teal);
  animation: scLine 1s 1.4s ease forwards;
}
@keyframes heroIn {
  from {
    opacity: 0;
    transform: translateY(32px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
@keyframes scLine {
  to {
    width: 50px;
  }
}

/* scroll indicator */
.scroll-indicator {
  position: absolute;
  bottom: 32px;
  right: 5vw;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  opacity: 0;
  animation: heroIn 0.8s 1.4s forwards;
}
.scroll-indicator span {
  font-size: 9px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: #565f67;
  writing-mode: vertical-lr;
}
.scroll-dot {
  width: 1px;
  height: 50px;
  background: rgba(255, 255, 255, 0.15);
  position: relative;
  overflow: hidden;
}
.scroll-dot::after {
  content: '';
  position: absolute;
  top: -100%;
  left: 0;
  right: 0;
  height: 50%;
  background: var(--sand);
  animation: scrollDot 1.8s 1.8s ease-in-out infinite;
}
@keyframes scrollDot {
  0% {
    top: -100%;
  }
  100% {
    top: 200%;
  }
}

/* ── ABOUT (HOME) ── */
.about {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 600px;
}
@media (max-width: 768px) {
  .about {
    grid-template-columns: 1fr;
  }
}
.about-img {
  position: relative;
  overflow: hidden;
  min-height: 450px;
}
.about-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.2s cubic-bezier(0.23, 1, 0.32, 1);
}
.about-img:hover img {
  transform: scale(1.06);
}
.about-img-glow {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 55%;
  background: linear-gradient(to top, #072030, transparent);
}
.about-img-line {
  position: absolute;
  top: 40px;
  right: 0;
  width: 3px;
  height: 0;
  background: var(--sand);
  transition: height 1.2s cubic-bezier(0.23, 1, 0.32, 1);
}
.about-img.v .about-img-line {
  height: calc(100% - 80px);
}
.about-text {
  padding: clamp(50px, 8vw, 100px) clamp(32px, 5vw, 70px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: #fff;
}
.about-title {
  font-family: var(--font-en);
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 300;
  line-height: 1.12;
  margin-bottom: 8px;
}
.about-title em {
  color: var(--sand);
  font-style: normal;
}
.about-ar {
  font-size: 16px;
  color: rgba(0, 0, 0, 0.22);
  margin-bottom: 26px;
  letter-spacing: 1px;
}
.about-body {
  font-size: 15px;
  line-height: 1.9;
  color: var(--mid);
  max-width: 390px;
  margin-bottom: 38px;
}
.about-lnk {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--sand);
  border-bottom: 1px solid rgba(196, 149, 106, 0.18);
  padding-bottom: 5px;
  transition:
    gap 0.35s,
    color 0.2s;
  cursor: pointer;
}
.about-lnk:hover {
  gap: 22px;
  color: var(--teal-dark);
}
.about-lnk::after {
  font-family: var(--font-en);
  content: '→';
}

/* ── TAGLINE BAND ── */
.tagline-band {
  background: var(--navy);
  padding: clamp(50px, 7vw, 80px) 5vw;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 14px;
  position: relative;
  overflow: hidden;
}
.tagline-band::before {
  content: '';
  position: absolute;
  left: -100%;
  top: 0;
  bottom: 0;
  width: 100%;
  background: linear-gradient(to right, transparent, rgba(255, 255, 255, 0.06), transparent);
  animation: shimmer 4s 2s ease infinite;
}
@keyframes shimmer {
  0% {
    left: -100%;
  }
  100% {
    left: 200%;
  }
}
.tagline-band::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  transform: scaleX(0);
  transition: transform 1.4s cubic-bezier(0.23, 1, 0.32, 1);
}
.tagline-band.v::after {
  transform: scaleX(1);
}
.tag-en {
  font-family: var(--font-en);
  font-size: clamp(22px, 3.5vw, 34px);
  font-style: normal;
  font-weight: 300;
  color: #fff;
}
.tag-ar {
  font-size: clamp(15px, 2vw, 20px);
  color: #565f67;
}
.tag-by {
  font-size: 11px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.38);
  margin-top: 6px;
}

/* ── PROJECTS (HOME) ── */
.projects {
  padding: clamp(60px, 8vw, 100px) 5vw;
  background: var(--cream);
}
.sec-hdr {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: clamp(36px, 5vw, 64px);
}
.proj-title {
  font-family: var(--font-en);
  font-size: clamp(36px, 5vw, 54px);
  font-weight: 300;
  line-height: 1;
}
.proj-title em {
  color: var(--sand);
  font-style: normal;
}
.stay-lbl {
  font-family: var(--font-en);
  font-size: clamp(18px, 2.5vw, 28px);
  font-weight: 300;
  color: #ccc;
  font-style: normal;
  text-align: right;
  line-height: 1.2;
}
.pgrid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  grid-template-rows: 300px 300px;
  gap: 3px;
}
@media (max-width: 900px) {
  .pgrid {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto;
  }
}
@media (max-width: 600px) {
  .pgrid {
    grid-template-columns: 1fr;
  }
}
.pcard {
  position: relative;
  overflow: hidden;
  cursor: pointer;
}

.pcard > a,
.proj-item > a {
  display: block;
  width: 100%;
  height: 100%;
}
.pcard:first-child {
  grid-row: span 2;
}
@media (max-width: 900px) {
  .pcard:first-child {
    grid-row: span 1;
  }
}
.pcard img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 220px;
  transition: transform 1s cubic-bezier(0.23, 1, 0.32, 1);
}
.pcard:hover img {
  transform: scale(1.1);
}
.pcard-ov {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(13, 34, 51, 0.85) 0%, transparent 55%);
  transition: background 0.5s;
}
.pcard:hover .pcard-ov {
  background: linear-gradient(to top, rgba(13, 34, 51, 0.92) 0%, rgba(42, 95, 95, 0.28) 100%);
}
.pcard-info {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 22px 24px;
  transform: translateY(8px);
  transition: transform 0.4s cubic-bezier(0.23, 1, 0.32, 1);
}
.pcard:hover .pcard-info {
  transform: none;
}
.pcard-sub {
  font-family: var(--font-ar);
  font-size: 10px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 5px;
}
.pcard-name {
  font-family: var(--font-en);
  font-size: clamp(18px, 2vw, 24px);
  font-weight: 300;
  color: #fff;
  line-height: 1.2;
}
.pcard-tag {
  display: inline-block;
  margin-top: 8px;
  font-size: 10px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--sand);
  border: 1px solid rgba(196, 149, 106, 0.4);
  padding: 3px 10px;
  opacity: 0;
  transform: translateY(8px);
  transition:
    opacity 0.3s 0.1s,
    transform 0.3s 0.1s;
}
.pcard:hover .pcard-tag {
  opacity: 1;
  transform: none;
}

/* ── STATS ── */
.stats {
  padding: clamp(60px, 8vw, 96px) 5vw;
  background: var(--charcoal);
  position: relative;
  overflow: hidden;
}
.stats-bg-txt {
  position: absolute;
  right: -20px;
  top: 50%;
  transform: translateY(-50%);
  font-family: var(--font-en);
  font-size: clamp(80px, 14vw, 180px);
  font-weight: 300;
  color: rgba(255, 255, 255, 0.018);
  letter-spacing: 10px;
  pointer-events: none;
  white-space: nowrap;
}
.stats::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: linear-gradient(to bottom, transparent, var(--sand), transparent);
}
.stats-label {
  font-size: 11px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--sand);
  margin-bottom: 48px;
  display: flex;
  align-items: center;
  gap: 14px;
}
.stats-label::before {
  content: '';
  display: block;
  width: 30px;
  height: 1px;
  background: var(--sand);
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(20px, 4vw, 44px);
}
@media (max-width: 700px) {
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
.stat-item {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 24px;
}
.stat-num {
  font-family: var(--font-en);
  font-size: clamp(42px, 6vw, 66px);
  font-weight: 300;
  color: #fff;
  line-height: 1;
  margin-bottom: 8px;
  overflow: hidden;
}
.stat-num span {
  font-size: clamp(22px, 3vw, 34px);
  color: var(--sand);
}
.stat-lbl {
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.32);
}
.stat-bar {
  height: 1px;
  background: rgba(255, 255, 255, 0.06);
  margin-top: 16px;
  overflow: hidden;
}
.stat-bar-fill {
  height: 100%;
  /* background: var(--sand); */
  width: 0;
  transition: width 1.8s cubic-bezier(0.23, 1, 0.32, 1);
}
.stat-item.v .stat-bar-fill {
  width: var(--bw);
}

/* ── CONTACT STRIP ── */
.contact-wrap {
  padding: clamp(60px, 8vw, 100px) 5vw;
  background: var(--cream);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: start;
}
@media (max-width: 768px) {
  .contact-wrap {
    grid-template-columns: 1fr;
  }
}
.contact-left h2 {
  font-family: var(--font-en);
  font-size: clamp(34px, 5vw, 52px);
  font-weight: 300;
  line-height: 1.1;
  margin-bottom: 8px;
}
.contact-left h2 em {
  color: var(--teal);
  font-style: normal;
}
.contact-left p {
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--mid);
  margin-bottom: 26px;
}
.c-detail {
  font-size: 14px;
  color: var(--mid);
  line-height: 2.2;
  border-top: 1px solid rgba(0, 0, 0, 0.09);
  padding-top: 18px;
}
.c-detail a {
  color: var(--teal);
  transition: color 0.2s;
}
.c-detail a:hover {
  color: var(--teal-dark);
}
.cform {
  display: flex;
  flex-direction: column;
}
.frow {
  display: grid;
  grid-template-columns: 1fr 1fr;
}
.ff {
  border-bottom: 1px solid rgba(0, 0, 0, 0.11);
  padding: 13px 0;
  position: relative;
}
.ff::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--teal);
  transition: width 0.45s cubic-bezier(0.23, 1, 0.32, 1);
}
.ff:focus-within::after {
  width: 100%;
}
.ff input,
.ff textarea,
.ff select {
  width: 100%;
  background: transparent;
  border: none;
  outline: none;
  font-family: var(--font-ar);
  font-size: 13px;
  color: var(--charcoal);
}
.ff input::placeholder,
.ff textarea::placeholder {
  color: rgba(0, 0, 0, 0.28);
  font-size: 12px;
  letter-spacing: 1px;
  text-transform: uppercase;
}
.ff textarea {
  resize: none;
  min-height: 80px;
}
.ff.fl {
  border-right: 1px solid rgba(0, 0, 0, 0.11);
  padding-right: 14px;
}
.ff.fr {
  padding-left: 14px;
}
/* Hide Contact Form 7 default response box */
.cform .wpcf7-response-output {
  display: none !important;
}

/* Toast */
.contact-toast {
  position: fixed;
  top: 32px;
  right: 32px;
  z-index: 99999;

  display: flex;
  align-items: flex-start;
  gap: 14px;

  width: min(420px, calc(100% - 40px));
  padding: 20px 48px 20px 20px;

  background: #f7f2eb;
  border: 1px solid rgba(20, 20, 20, 0.12);
  box-shadow: 0 20px 50px rgba(20, 20, 20, 0.16);

  opacity: 0;
  visibility: hidden;
  pointer-events: none;

  transform: translateY(-20px);
  transition:
    opacity 0.3s ease,
    visibility 0.3s ease,
    transform 0.3s ease;
}

.contact-toast.is-visible {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}

.contact-toast-icon {
  position: relative;
  flex: 0 0 34px;

  width: 34px;
  height: 34px;

  border: 1px solid currentColor;
  border-radius: 50%;
}

.contact-toast-icon::before {
  position: absolute;
  top: 8px;
  left: 11px;

  width: 8px;
  height: 13px;

  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;

  content: '';
  transform: rotate(45deg);
}

.contact-toast-content {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding-top: 1px;
}

.contact-toast-title {
  color: #171717;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.contact-toast-message {
  color: rgba(23, 23, 23, 0.7);
  font-size: 13px;
  line-height: 1.6;
}

.contact-toast-close {
  position: absolute;
  top: 11px;
  right: 13px;

  padding: 4px;

  color: inherit;
  font: inherit;
  font-size: 24px;
  line-height: 1;

  background: transparent;
  border: 0;
  cursor: pointer;

  opacity: 0.55;
}

.contact-toast-close:hover {
  opacity: 1;
}

/* Success */
.contact-toast.is-success {
  color: #3f8f8d;
  border-left: 4px solid #3f8f8d;
}

/* Error */
.contact-toast.is-error {
  color: #a44b45;
  border-left: 4px solid #a44b45;
}

.contact-toast.is-error .contact-toast-icon::before {
  top: 8px;
  left: 15px;

  width: 2px;
  height: 16px;

  background: currentColor;
  border: 0;

  transform: rotate(45deg);
}

.contact-toast.is-error .contact-toast-icon::after {
  position: absolute;
  top: 8px;
  left: 15px;

  width: 2px;
  height: 16px;

  background: currentColor;

  content: '';
  transform: rotate(-45deg);
}

@media (max-width: 767px) {
  .contact-toast {
    top: 20px;
    right: 20px;
    left: 20px;

    width: auto;
  }
}
.fsub {
  margin-top: 26px;
  align-self: flex-start;
  background: var(--teal);
  color: #fff;
  border: none;
  padding: 13px 44px;
  font-family: var(--font-ar);
  font-size: 11px;
  letter-spacing: 3px;
  text-transform: uppercase;
  cursor: pointer;
  transition:
    background 0.3s,
    transform 0.3s cubic-bezier(0.23, 1, 0.32, 1),
    box-shadow 0.3s;
}
.fsub:hover {
  background: var(--teal-dark);
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(42, 95, 95, 0.25);
}

/* ── FOOTER ── */
footer {
  background: var(--navy);
  padding: clamp(50px, 6vw, 70px) 5vw 36px;
  color: rgba(255, 255, 255, 0.5);
  position: relative;
  overflow: hidden;
}
.ftop {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: clamp(20px, 3vw, 40px);
  margin-bottom: 50px;
}
@media (max-width: 900px) {
  .ftop {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 600px) {
  .ftop {
    grid-template-columns: 1fr;
  }
}
.footer-legal-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-legal-links a {
  color: rgba(255, 255, 255, 0.55);
  font-size: 11px;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-legal-links a:hover {
  color: #fff;
}
.fbrand .en {
  font-family: var(--font-en);
  font-size: clamp(20px, 3vw, 28px);
  font-weight: 300;
  color: #fff;
  letter-spacing: 4px;
  text-transform: uppercase;
}
.fbrand .ar {
  font-size: 13px;
  letter-spacing: 2px;
  color: rgba(255, 255, 255, 0.25);
  margin-bottom: 14px;
}
.fbrand p {
  font-size: 13px;
  line-height: 1.7;
  max-width: 260px;
}
.fcol h4 {
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--sand);
  margin-bottom: 16px;
}
.fcol ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 9px;
  font-size: 13px;
}
.fcol ul li a {
  cursor: pointer;
  transition: color 0.2s;
  display: inline-block;
}
.fcol ul li a:hover {
  color: #fff;
  transform: translateX(4px);
  transition:
    color 0.2s,
    transform 0.2s;
}
.fbot {
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  padding-top: 22px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}
.fbot p {
  font-size: 12px;
}
.fsoc ul.footer-social-links {
  display: flex;
  gap: 20px;
  list-style: none;
}
.fsoc a {
  font-size: 12px;
  letter-spacing: 1px;
  color: rgba(255, 255, 255, 0.3);
  transition:
    color 0.25s,
    transform 0.25s;
  display: inline-block;
}
.fsoc a:hover {
  color: var(--teal);
  transform: translateY(-2px);
}
.fwm {
  writing-mode: vertical-lr;
  font-family: var(--font-en);
  font-size: clamp(50px, 8vw, 80px);
  font-weight: 300;
  color: rgba(255, 255, 255, 0.02);
  letter-spacing: 10px;
  position: absolute;
  right: 5vw;
  bottom: 36px;
  text-transform: uppercase;
  pointer-events: none;
}
.footer-widget {
  margin: 0;
}

.footer-widget + .footer-widget {
  margin-top: 18px;
}

.footer-widget .wp-block-image img {
  height: 66px;
}
.footer-widget ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-widget li {
  margin: 0 0 0px;
}

.footer-widget p {
  margin: 0;
}

.footer-widget a {
  color: inherit;
  text-decoration: none;
}

/* ══════════ OUR STORY ══════════ */
.story-intro {
  padding: clamp(60px, 8vw, 100px) 5vw;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: start;
  background: #fff;
}
@media (max-width: 768px) {
  .story-intro {
    grid-template-columns: 1fr;
  }
}
.story-big-title {
  font-family: var(--font-en);
  font-size: clamp(36px, 6vw, 64px);
  font-weight: 300;
  line-height: 1.1;
}
.story-big-title em {
  color: var(--sand);
  font-style: normal;
}
.story-big-ar {
  font-size: 18px;
  color: rgba(0, 0, 0, 0.22);
  margin-top: 10px;
  letter-spacing: 1px;
}
.story-body p {
  font-size: 15px;
  line-height: 1.9;
  color: var(--mid);
  margin-bottom: 20px;
}
.story-video-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--navy);
}
.story-video-wrap video {
  width: 100%;
  display: block;
  opacity: 0.7;
  transition: opacity 0.4s;
}
.story-video-wrap:hover video {
  opacity: 0.85;
}
.story-video-wrap::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(13, 34, 51, 0.65), transparent 50%);
}
.story-video-label {
  position: absolute;
  bottom: clamp(20px, 4vw, 44px);
  left: clamp(24px, 4vw, 50px);
  z-index: 2;
  font-family: var(--font-en);
  font-size: clamp(20px, 3.5vw, 38px);
  font-style: normal;
  font-weight: 300;
  color: #fff;
  max-width: 600px;
  line-height: 1.3;
}
.story-video-label span {
  color: var(--sand);
}
.story-pillars {
  padding: clamp(60px, 8vw, 100px) 5vw;
  background: var(--cream);
}
.pillars-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  margin-top: 48px;
}
@media (max-width: 768px) {
  .pillars-grid {
    grid-template-columns: 1fr;
  }
}
.pillar {
  background: #fff;
  padding: clamp(32px, 4vw, 52px) clamp(24px, 3vw, 40px);
  border-top: 2px solid transparent;
  transition:
    border-color 0.4s,
    transform 0.4s cubic-bezier(0.23, 1, 0.32, 1),
    box-shadow 0.4s;
}
.pillar:hover {
  border-color: var(--sand);
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.08);
}

.pillar-num {
  font-family: var(--font-en);
  font-size: 58px;
  font-weight: 300;
  color: rgba(62, 138, 138, 0.1);
  line-height: 1;
  margin-bottom: 16px;
  transition:
    border-color 0.4s,
    transform 0.4s cubic-bezier(0.23, 1, 0.32, 1),
    box-shadow 0.4s;
}
.pillar:hover .pillar-num {
  color: var(--sand);
}
.pillar-title {
  font-family: var(--font-en);
  font-size: clamp(22px, 3vw, 30px);
  font-weight: 300;
  margin-bottom: 14px;
}
.pillar-body {
  font-size: 14px;
  line-height: 1.8;
  color: var(--mid);
}
.story-quote {
  padding: clamp(60px, 8vw, 100px) 5vw;
  background: var(--navy);
  text-align: center;
}
.story-quote blockquote {
  font-family: var(--font-en);
  font-size: clamp(22px, 4vw, 46px);
  font-style: normal;
  font-weight: 300;
  color: #fff;
  max-width: 820px;
  margin: 0 auto 20px;
  line-height: 1.4;
}
.story-quote blockquote em {
  color: var(--sand);
}
.story-quote cite {
  font-size: 12px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.38);
}

/* ══════════ PARTNERS ══════════ */
.partners-intro {
  padding: clamp(60px, 8vw, 100px) 5vw;
  background: #fff;
}
.partners-intro-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: start;
}
@media (max-width: 768px) {
  .partners-intro-grid {
    grid-template-columns: 1fr;
  }
}
.partners-intro h2 {
  font-family: var(--font-en);
  font-size: clamp(32px, 5vw, 52px);
  font-weight: 300;
  line-height: 1.15;
  margin-bottom: 24px;
}
.partners-intro h2 em {
  color: var(--teal);
  font-style: normal;
}
.partners-intro p {
  font-size: 15px;
  line-height: 1.9;
  color: var(--mid);
  margin-bottom: 18px;
}
.partners-board {
  padding: clamp(60px, 8vw, 100px) 5vw;
  background: var(--cream);
}
.board-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3px;
  margin-top: 48px;
}
@media (max-width: 768px) {
  .board-grid {
    grid-template-columns: 1fr;
  }
}
.board-card {
  background: #fff;
  overflow: hidden;
  transition:
    transform 0.5s cubic-bezier(0.23, 1, 0.32, 1),
    box-shadow 0.5s;
}
.board-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
}
.board-card-img {
  position: relative;
  aspect-ratio: 4/5;
  overflow: hidden;
}
.board-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1s cubic-bezier(0.23, 1, 0.32, 1);
}
.board-card:hover .board-card-img img {
  transform: scale(1.06);
}
.board-card-img-ov {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(13, 34, 51, 0.8) 0%, transparent 50%);
}
.board-card-info {
  padding: clamp(24px, 3vw, 42px);
}
.board-card-role {
  font-size: 10px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 10px;
}
.board-card-name {
  font-family: var(--font-en);
  font-size: clamp(24px, 3vw, 36px);
  font-weight: 300;
  margin-bottom: 5px;
}
.board-card-ar {
  font-size: 15px;
  color: rgba(0, 0, 0, 0.25);
  margin-bottom: 18px;
}
.board-card-bio {
  font-size: 14px;
  line-height: 1.8;
  color: var(--mid);
}
.board-card-tag {
  display: inline-block;
  margin-top: 16px;
  font-size: 10px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--sand);
  border: 1px solid rgba(196, 149, 106, 0.38);
  padding: 4px 12px;
}
.partners-values {
  padding: clamp(60px, 8vw, 100px) 5vw;
  background: var(--charcoal);
}
.values-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  margin-top: 48px;
}
@media (max-width: 900px) {
  .values-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 500px) {
  .values-grid {
    grid-template-columns: 1fr;
  }
}
.value-item {
  background: rgba(255, 255, 255, 0.025);
  padding: clamp(28px, 4vw, 46px) clamp(20px, 3vw, 34px);
  border-left: 1px solid rgba(255, 255, 255, 0.05);
  transition:
    background 0.4s,
    transform 0.4s cubic-bezier(0.23, 1, 0.32, 1);
}
.value-item:hover {
  background: rgba(62, 138, 138, 0.12);
  transform: translateY(-4px);
}
.value-icon {
  font-size: 28px;
  margin-bottom: 18px;
  color: var(--sand);
}
.value-title {
  font-family: var(--font-en);
  font-size: clamp(20px, 2.5vw, 26px);
  font-weight: 300;
  color: #fff;
  margin-bottom: 10px;
}
.value-body {
  font-size: 13px;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.4);
}

/* ══════════ PROJECTS PAGE ══════════ */
.proj-filters {
  padding: clamp(40px, 5vw, 60px) 5vw 0;
  background: var(--cream);
}
.filter-bar {
  display: flex;
  gap: clamp(8px, 1.5vw, 18px);
  flex-wrap: wrap;
  margin-top: 20px;
}
.filter-btn {
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 10px 22px;
  border: 1px solid rgba(0, 0, 0, 0.14);
  background: transparent;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.23, 1, 0.32, 1);
  font-family: var(--font-ar);
  color: var(--mid);
}
.filter-btn.active,
.filter-btn:hover {
  background: var(--teal);
  color: #fff;
  border-color: var(--teal);
  transform: translateY(-2px);
}
.proj-full-grid {
  padding: clamp(36px, 5vw, 60px) 5vw clamp(60px, 8vw, 100px);
  background: var(--cream);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3px;
}
@media (max-width: 900px) {
  .proj-full-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 600px) {
  .proj-full-grid {
    grid-template-columns: 1fr;
  }
}
.proj-item {
  position: relative;
  overflow: hidden;
  cursor: pointer;
  aspect-ratio: 1;
}

.proj-item.is-hidden {
  display: none;
}
.proj-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1s cubic-bezier(0.23, 1, 0.32, 1);
}
.proj-item:hover img {
  transform: scale(1.1);
}
.proj-item-ov {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(13, 34, 51, 0.88) 0%, transparent 55%);
  opacity: 0;
  transition: opacity 0.45s;
}
.proj-item:hover .proj-item-ov {
  opacity: 1;
}
.proj-item-info {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 22px 24px;
  transform: translateY(100%);
  transition: transform 0.45s cubic-bezier(0.23, 1, 0.32, 1);
}
.proj-item:hover .proj-item-info {
  transform: none;
}
.proj-item-cat {
  font-size: 10px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--sand);
  margin-bottom: 6px;
}
.proj-item-name {
  font-family: var(--font-en);
  font-size: 22px;
  font-weight: 300;
  color: #fff;
}
.proj-item-loc {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.5);
  margin-top: 4px;
}
.proj-item-tag {
  display: inline-block;
  margin-top: 8px;
  font-size: 10px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--sand);
  border: 1px solid rgba(196, 149, 106, 0.4);
  padding: 3px 9px;
}

/* ══════════ CONTACT PAGE ══════════ */
.contact-full {
  padding: clamp(60px, 8vw, 100px) 5vw;
  background: #fff;
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: start;
}
@media (max-width: 768px) {
  .contact-full {
    grid-template-columns: 1fr;
  }
}
.contact-info h2 {
  font-family: var(--font-en);
  font-size: clamp(34px, 5vw, 56px);
  font-weight: 300;
  line-height: 1.1;
  margin-bottom: 8px;
}
.contact-info h2 em {
  color: var(--teal);
  font-style: normal;
}
.contact-info-ar {
  font-size: 16px;
  color: rgba(0, 0, 0, 0.22);
  margin-bottom: 40px;
  letter-spacing: 1px;
}
.contact-block {
  margin-bottom: 28px;
}
.contact-block-label {
  font-size: 10px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 10px;
}
.contact-block-val {
  font-size: 15px;
  line-height: 1.9;
  color: var(--mid);
}
.contact-block-val a {
  color: var(--charcoal);
  transition: color 0.2s;
}
.contact-block-val a:hover {
  color: var(--teal);
}
.contact-map {
  width: 100%;
  aspect-ratio: 16/9;
  background: var(--cream);
  overflow: hidden;
  margin-top: 36px;
}
.contact-map iframe {
  width: 100%;
  height: 100%;
  border: none;
  filter: saturate(0.45) opacity(0.8);
}
.contact-form-wrap h3 {
  font-family: var(--font-en);
  font-size: clamp(26px, 3.5vw, 40px);
  font-weight: 300;
  margin-bottom: 6px;
}
.contact-form-wrap h3 em {
  color: var(--teal);
  font-style: normal;
}
.contact-form-wrap p {
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--mid);
  margin-bottom: 6px;
}
.cf {
  display: flex;
  flex-direction: column;
}
.cf .frow {
  display: grid;
  grid-template-columns: 1fr 1fr;
}
.cf .ff {
  border-bottom: 1px solid rgba(0, 0, 0, 0.11);
  padding: 14px 0;
  position: relative;
}
.cf .ff::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--teal);
  transition: width 0.45s cubic-bezier(0.23, 1, 0.32, 1);
}
.cf .ff:focus-within::after {
  width: 100%;
}
.cf .ff input,
.cf .ff textarea,
.cf .ff select {
  width: 100%;
  background: transparent;
  border: none;
  outline: none;
  font-family: var(--font-ar);
  font-size: 13px;
  color: var(--charcoal);
}
.cf .ff input::placeholder,
.cf .ff textarea::placeholder {
  color: rgba(0, 0, 0, 0.28);
  font-size: 12px;
  letter-spacing: 1px;
  text-transform: uppercase;
}
.cf .ff select {
  color: rgba(0, 0, 0, 0.38);
  font-size: 12px;
  letter-spacing: 0.5px;
  cursor: pointer;
}
.cf .ff textarea {
  resize: none;
  min-height: 90px;
}
.cf .ff.fl {
  border-right: 1px solid rgba(0, 0, 0, 0.11);
  padding-right: 14px;
}
.cf .ff.fr {
  padding-left: 14px;
}
.cf .fsub {
  margin-top: 28px;
  align-self: flex-start;
  background: var(--teal);
  color: #fff;
  border: none;
  padding: 14px 44px;
  font-family: var(--font-ar);
  font-size: 11px;
  letter-spacing: 3px;
  text-transform: uppercase;
  cursor: pointer;
  transition:
    background 0.3s,
    transform 0.3s cubic-bezier(0.23, 1, 0.32, 1),
    box-shadow 0.3s;
}
.cf .fsub:hover {
  background: var(--teal-dark);
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(42, 95, 95, 0.22);
}
.contact-social {
  padding: clamp(50px, 6vw, 80px) 5vw;
  background: var(--cream);
  text-align: center;
}
.social-title {
  font-family: var(--font-en);
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 300;
  margin-bottom: 8px;
}
.social-title em {
  color: var(--sand);
  font-style: normal;
}
.social-sub {
  font-size: 13px;
  color: var(--mid);
  margin-bottom: 36px;
}
.social-links {
  display: flex;
  justify-content: center;
  gap: clamp(16px, 3vw, 32px);
  flex-wrap: wrap;
}
.social-link {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--mid);
  transition:
    color 0.3s,
    transform 0.3s cubic-bezier(0.23, 1, 0.32, 1);
}
.social-link:hover {
  color: var(--teal);
  transform: translateY(-4px);
}
.social-link-icon {
  width: 52px;
  height: 52px;
  border: 1px solid rgba(0, 0, 0, 0.13);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  font-weight: 500;
  transition:
    border-color 0.3s,
    background 0.3s;
}
.social-link:hover .social-link-icon {
  border-color: var(--teal);
  background: rgba(62, 138, 138, 0.07);
}

/* ── PYRAMID RIWAQ LETTERS ── */
.pyr-riwaq {
  position: absolute;
  bottom: 5vh;
  left: 50%;
  transform: translateX(-50%);
  z-index: 4;
  pointer-events: none;
  display: flex;
  flex-direction: row-reverse;
  gap: 3px;
  white-space: nowrap;
}
.prl {
  font-family: var(--font-en);
  font-size: clamp(20px, 2.2vw, 30px);
  font-weight: 300;
  color: rgba(196, 149, 106, 0.92);
  display: inline-block;
  animation: pyrLetterFloat 3.6s var(--d, 0s) ease-in-out infinite;
}
@keyframes pyrLetterFloat {
  0%,
  100% {
    opacity: 1;
    transform: translateY(0);
  }
  38% {
    opacity: 0;
    transform: translateY(-16px);
  }
  39% {
    opacity: 0;
    transform: translateY(16px);
  }
  78% {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ── TEXT SPLIT ANIMATION ── */
.split-word {
  display: inline-block;
  overflow: hidden;
  vertical-align: bottom;
}
.split-char {
  display: inline-block;
  opacity: 0;
  transform: translateY(100%);
  transition:
    opacity 0.6s cubic-bezier(0.23, 1, 0.32, 1),
    transform 0.6s cubic-bezier(0.23, 1, 0.32, 1);
}
.split-char.v {
  opacity: 1;
  transform: none;
}

/* ── COUNT UP ── */
.count-num {
  display: inline-block;
}

/* ── MARQUEE ── */
.marquee-wrap {
  overflow: hidden;
  background: var(--teal);
  padding: 14px 0;
}
.marquee-track {
  display: flex;
  gap: 0;
  white-space: nowrap;
  animation: marqueeRun 22s linear infinite;
}
.marquee-item {
  font-family: var(--font-en);
  font-size: 18px;
  font-weight: 300;
  color: #fff;
  letter-spacing: 3px;
  text-transform: uppercase;
  padding: 0 40px;
  opacity: 0.85;
}
.marquee-item span {
  color: rgba(255, 255, 255, 0.45);
  padding: 0 16px;
}
@keyframes marqueeRun {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

/* ── PAGE TRANSITION ── */
#page-wipe {
  position: fixed;
  inset: 0;
  background: var(--navy);
  z-index: 8000;
  transform: scaleY(0);
  transform-origin: bottom;
  pointer-events: none;
}
#page-wipe.wipe-in {
  animation: wipeIn 0.4s cubic-bezier(0.83, 0, 0.17, 1) forwards;
}
#page-wipe.wipe-out {
  animation: wipeOut 0.4s cubic-bezier(0.83, 0, 0.17, 1) forwards;
}
@keyframes wipeIn {
  to {
    transform: scaleY(1);
  }
}
@keyframes wipeOut {
  from {
    transform: scaleY(1);
    transform-origin: top;
  }
  to {
    transform: scaleY(0);
    transform-origin: top;
  }
}

/* ── NEWS section ── */
.news {
  padding: clamp(60px, 8vw, 100px) 5vw;
  background: #fff;
}
.news-title {
  font-family: var(--font-en);
  font-size: clamp(36px, 5vw, 52px);
  font-weight: 300;
  color: var(--charcoal);
}
.news-title em {
  color: var(--sand);
  font-style: normal;
}

#particles-canvas {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
  opacity: 0;
  transition: opacity 1s ease;
}

#particles-canvas.show {
  opacity: 0.45;
}

/* ==================================================
   SINGLE PROJECT
================================================== */

.project-single-hero {
  position: relative;
  min-height: min(720px, 82vh);
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background: var(--navy, #0b2538);
}

.project-single-hero-bg {
  position: absolute;
  inset: 0;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  transform: scale(1.03);
}

.project-single-hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(7, 29, 44, 0.92) 0%, rgba(7, 29, 44, 0.6) 48%, rgba(7, 29, 44, 0.2) 100%),
    linear-gradient(0deg, rgba(7, 29, 44, 0.78) 0%, transparent 55%);
}

.project-single-hero-content {
  position: relative;
  z-index: 2;
  width: min(1180px, calc(100% - 10vw));
  margin: 0 auto;
  padding: 160px 0 100px;
  color: #fff;
}

.project-single-eyebrow {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
  color: var(--sand, #c99563);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}

.project-single-eyebrow::before {
  width: 30px;
  height: 1px;
  content: '';
  background: currentColor;
}

.project-single-title {
  max-width: 900px;
  margin: 0;
  font-family: var(--font-en), serif;
  font-size: clamp(45px, 2vw, 113px);
  font-weight: 300;
  line-height: 0.9;
  letter-spacing: -0.035em;
}

.project-single-meta {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-top: 34px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.project-single-meta-divider {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--sand, #c99563);
}

.project-single-scroll {
  position: absolute;
  right: 5vw;
  bottom: 70px;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 14px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-decoration: none;
  text-transform: uppercase;
  transform: rotate(90deg);
  transform-origin: right center;
}

.project-single-scroll-line {
  display: block;
  width: 48px;
  height: 1px;
  background: var(--sand, #c99563);
}

/* Overview */

.project-overview {
  display: grid;
  grid-template-columns: minmax(280px, 0.85fr) minmax(350px, 1.15fr);
  gap: clamp(60px, 9vw, 150px);
  padding: clamp(90px, 11vw, 170px) max(5vw, calc((100% - 1180px) / 2));
  background: #f7f4ef;
}

.project-overview-title,
.project-gallery-title {
  margin: 28px 0 0;
  font-weight: 300;
  font-size: clamp(56px, 3.5vw, 110px);
  line-height: 0.95;
  letter-spacing: -0.03em;
  font-family: var(--wp--preset--font-family--manrope);
}

.project-overview-title em,
.project-gallery-title em {
  color: var(--sand, #c99563);
  font-weight: 300;
  font-style: normal;
}

.project-overview-content {
  padding-top: 40px;
}

.project-introduction {
  margin: 0 0 35px;
  color: #172b3a;
  font-family: var(--wp--preset--font-family--manrope);
  font-size: clamp(17px, 1vw, 22px);
  line-height: 1.95;
}

.project-description {
  max-width: 670px;
  color: #60666a;
  font-size: 15px;
  line-height: 1.9;
}

.project-description p:first-child {
  margin-top: 0;
}

.project-description p:last-child {
  margin-bottom: 0;
}

/* Details */

.project-details {
  padding: 0 max(5vw, calc((100% - 1180px) / 2)) clamp(90px, 11vw, 150px);
  background: #f7f4ef;
}

.project-details-inner {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  border-top: 1px solid rgba(11, 37, 56, 0.14);
  border-bottom: 1px solid rgba(11, 37, 56, 0.14);
}

.project-detail {
  position: relative;
  min-height: 190px;
  padding: 35px 28px;
  border-right: 1px solid rgba(11, 37, 56, 0.14);
}

.project-detail:last-child {
  border-right: 0;
}

.project-detail-number {
  display: block;
  margin-bottom: 40px;
  color: rgba(47, 146, 148, 0.35);
  font-family: var(--font-en), serif;
  font-size: 30px;
}

.project-detail-label {
  display: block;
  margin-bottom: 10px;
  color: var(--teal, #348f91);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.project-detail-value {
  display: block;
  color: #142b3b;
  font-family: var(--font-en), serif;
  font-size: 23px;
  font-weight: 500;
}

/* Statement */

.project-statement {
  position: relative;
  overflow: hidden;
  padding: clamp(90px, 12vw, 170px) 10vw;
  color: #fff;
  text-align: center;
  background: var(--navy, #0b2538);
}

.project-statement::before,
.project-statement::after {
  position: absolute;
  width: 280px;
  height: 280px;
  border: 1px solid rgba(201, 149, 99, 0.12);
  content: '';
  transform: rotate(45deg);
}

.project-statement::before {
  top: -200px;
  left: -100px;
}

.project-statement::after {
  right: -100px;
  bottom: -200px;
}

.project-statement-mark {
  height: 55px;
  color: var(--sand, #c99563);
  font-family: var(--font-en), serif;
  font-size: 90px;
  line-height: 1;
}

.project-statement-text {
  position: relative;
  z-index: 1;
  max-width: 950px;
  margin: 10px auto 35px;
  font-family: var(--font-en), serif;
  font-size: clamp(35px, 2vw, 62px);
  font-weight: 300;
  line-height: 1.16;
}

.project-statement-label {
  color: var(--sand, #c99563);
  font-size: 9px;
  letter-spacing: 0.26em;
  text-transform: uppercase;
}

/* Gallery */

.project-gallery {
  padding: clamp(90px, 11vw, 160px) max(5vw, calc((100% - 1180px) / 2));
  background: #f7f4ef;
}

.project-gallery-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 50px;
  margin-bottom: 70px;
}

.project-gallery-count {
  display: flex;
  align-items: flex-end;
  gap: 12px;
  padding-bottom: 8px;
}

.project-gallery-count strong {
  color: var(--sand, #c99563);
  font-family: var(--font-en), serif;
  font-size: 52px;
  font-weight: 300;
  line-height: 0.8;
}

.project-gallery-count span {
  color: #74787a;
  font-size: 9px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.project-gallery-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-auto-rows: 230px;
  gap: 3px;
}

.project-gallery-item {
  position: relative;
  grid-column: span 4;
  overflow: hidden;
  background: #0b2538;
}

.project-gallery-item:nth-child(1) {
  grid-column: span 8;
  grid-row: span 2;
}

.project-gallery-item:nth-child(2),
.project-gallery-item:nth-child(3) {
  grid-column: span 4;
}

.project-gallery-item:nth-child(4),
.project-gallery-item:nth-child(5),
.project-gallery-item:nth-child(6) {
  grid-column: span 4;
  grid-row: span 2;
}

.project-gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition:
    transform 0.8s cubic-bezier(0.2, 0.75, 0.3, 1),
    opacity 0.5s ease;
}

.project-gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(7, 29, 44, 0.72), transparent 55%);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.project-gallery-index,
.project-gallery-view {
  position: absolute;
  z-index: 2;
  bottom: 25px;
  color: #fff;
  opacity: 0;
  transition:
    opacity 0.4s ease,
    transform 0.4s ease;
}

.project-gallery-index {
  left: 25px;
  color: var(--sand, #c99563);
  font-family: var(--font-en), serif;
  font-size: 28px;
  transform: translateY(10px);
}

.project-gallery-view {
  right: 25px;
  font-size: 9px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  transform: translateY(10px);
}

.project-gallery-item:hover img {
  transform: scale(1.045);
}

.project-gallery-item:hover .project-gallery-overlay,
.project-gallery-item:hover .project-gallery-index,
.project-gallery-item:hover .project-gallery-view {
  opacity: 1;
  transform: translateY(0);
}

/* Navigation */

.project-navigation {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  min-height: 220px;
  background: var(--navy, #0b2538);
}

.project-navigation-item {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 220px;
  padding: 50px max(5vw, calc((100vw - 1180px) / 2));
  color: #fff;
  text-decoration: none;
  transition: background-color 0.35s ease;
}

.project-navigation-item + .project-navigation-item {
  border-left: 1px solid rgba(255, 255, 255, 0.12);
}

.project-navigation-next {
  text-align: right;
}

.project-navigation-label {
  display: block;
  margin-bottom: 14px;
  color: var(--sand, #c99563);
  font-size: 9px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.project-navigation-item strong {
  font-family: var(--font-en), serif;
  font-size: clamp(27px, 3vw, 42px);
  font-weight: 300;
  text-transform: capitalize;
}

.project-navigation-item:hover {
  background: rgba(255, 255, 255, 0.045);
}

/* Responsive */

@media (max-width: 1000px) {
  .project-overview {
    grid-template-columns: 1fr;
    gap: 35px;
  }

  .project-overview-content {
    padding-top: 0;
  }

  .project-details-inner {
    grid-template-columns: repeat(3, 1fr);
  }

  .project-detail:nth-child(3) {
    border-right: 0;
  }

  .project-detail:nth-child(n + 4) {
    border-top: 1px solid rgba(11, 37, 56, 0.14);
  }
}

@media (max-width: 767px) {
  .project-single-hero {
    min-height: 620px;
  }

  .project-single-hero-content {
    width: calc(100% - 40px);
    padding-bottom: 70px;
  }

  .project-single-scroll {
    display: none;
  }

  .project-overview,
  .project-details,
  .project-gallery {
    padding-right: 20px;
    padding-left: 20px;
  }

  .project-details-inner {
    grid-template-columns: repeat(2, 1fr);
  }

  .project-detail,
  .project-detail:nth-child(3) {
    border-right: 1px solid rgba(11, 37, 56, 0.14);
    border-bottom: 1px solid rgba(11, 37, 56, 0.14);
  }

  .project-detail:nth-child(even) {
    border-right: 0;
  }

  .project-detail:last-child {
    border-bottom: 0;
  }

  .project-gallery-header {
    display: block;
    margin-bottom: 45px;
  }

  .project-gallery-count {
    margin-top: 30px;
  }

  .project-gallery-grid {
    display: block;
  }

  .project-gallery-item {
    display: block;
    height: 340px;
    margin-bottom: 3px;
  }

  .project-gallery-overlay,
  .project-gallery-index,
  .project-gallery-view {
    opacity: 1;
    transform: none;
  }

  .project-navigation {
    grid-template-columns: 1fr;
  }

  .project-navigation-item + .project-navigation-item {
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    border-left: 0;
  }
}

@media (max-width: 520px) {
  .project-single-title {
    font-size: 52px;
  }

  .project-details-inner {
    grid-template-columns: 1fr;
  }

  .project-detail,
  .project-detail:nth-child(even),
  .project-detail:nth-child(3) {
    min-height: 150px;
    border-right: 0;
  }

  .project-detail-number {
    margin-bottom: 25px;
  }

  .project-navigation {
    grid-template-columns: 1fr;
  }

  .project-navigation-next {
    text-align: left;
  }
}
/* =========================================
   PROJECT LIGHTBOX
========================================= */

body.project-lightbox-open {
  overflow: hidden !important;
}

.project-lightbox {
  position: fixed !important;
  inset: 0 !important;
  z-index: 999999 !important;

  display: flex !important;
  align-items: center;
  justify-content: center;

  padding: 60px 100px;

  visibility: hidden;
  opacity: 0;
  pointer-events: none;

  transition:
    opacity 0.3s ease,
    visibility 0.3s ease;
}

.project-lightbox.is-open {
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
}

.project-lightbox-backdrop {
  position: absolute;
  inset: 0;
  z-index: 1;

  background: rgba(5, 20, 31, 0.97);
  backdrop-filter: blur(7px);
}

.project-lightbox-content {
  position: relative;
  z-index: 2;

  display: flex;
  flex-direction: column;

  width: min(1200px, 100%);
  height: min(780px, calc(100vh - 120px));
}

.project-lightbox-image-wrapper {
  display: flex;
  flex: 1;
  align-items: center;
  justify-content: center;

  min-width: 0;
  min-height: 0;
  overflow: hidden;
}

.project-lightbox-image {
  display: block;

  width: auto;
  max-width: 100%;

  height: auto;
  max-height: 100%;

  object-fit: contain;

  opacity: 1;
  transform: scale(1);

  transition:
    opacity 0.2s ease,
    transform 0.3s ease;
}

.project-lightbox-image.is-changing {
  opacity: 0;
  transform: scale(0.98);
}

.project-lightbox-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;

  min-height: 65px;
  padding-top: 18px;

  color: #fff;
}

.project-lightbox-caption {
  margin: 0;

  color: rgba(255, 255, 255, 0.65);

  font-family: var(--font-en), serif;
  font-size: 19px;
}

.project-lightbox-counter {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  gap: 12px;

  color: rgba(255, 255, 255, 0.45);

  font-size: 11px;
  letter-spacing: 0.15em;
}

.project-lightbox-counter [data-lightbox-current] {
  color: var(--sand, #c99563);

  font-family: var(--font-en), serif;
  font-size: 27px;
}

.project-lightbox-counter-line {
  display: block;

  width: 35px;
  height: 1px;

  background: rgba(255, 255, 255, 0.25);
}

/* Close button */

.project-lightbox-close {
  position: absolute;
  top: 25px;
  right: 30px;
  z-index: 4;

  width: 48px;
  height: 48px;
  padding: 0;

  border: 1px solid rgba(255, 255, 255, 0.25);

  background: transparent;
  cursor: pointer;
}

.project-lightbox-close span {
  position: absolute;
  top: 50%;
  left: 50%;

  display: block;

  width: 20px;
  height: 1px;

  background: #fff;
}

.project-lightbox-close span:first-child {
  transform: translate(-50%, -50%) rotate(45deg);
}

.project-lightbox-close span:last-child {
  transform: translate(-50%, -50%) rotate(-45deg);
}

.project-lightbox-close:hover {
  border-color: var(--sand, #c99563);
}

/* Previous and next buttons */

.project-lightbox-arrow {
  position: absolute;
  top: 50%;
  z-index: 4;

  display: flex;
  align-items: center;
  justify-content: center;

  width: 55px;
  height: 55px;
  padding: 0 0 6px;

  border: 1px solid rgba(255, 255, 255, 0.25);

  color: #fff;
  background: transparent;

  font-family: var(--font-en), serif;
  font-size: 42px;
  line-height: 1;

  cursor: pointer;
  transform: translateY(-50%);
}

.project-lightbox-prev {
  left: 28px;
}

.project-lightbox-next {
  right: 28px;
}

.project-lightbox-arrow:hover {
  color: var(--sand, #c99563);
  border-color: var(--sand, #c99563);
}

/* Gallery button reset */

button.project-gallery-item {
  display: block;
  width: 100%;
  padding: 0;

  border: 0;

  color: inherit;
  background: transparent;

  font: inherit;
  text-align: inherit;

  cursor: pointer;
  appearance: none;
}

/* Mobile */

@media (max-width: 767px) {
  .project-lightbox {
    padding: 70px 20px 90px;
  }

  .project-lightbox-content {
    height: calc(100vh - 160px);
  }

  .project-lightbox-close {
    top: 16px;
    right: 20px;

    width: 43px;
    height: 43px;
  }

  .project-lightbox-arrow {
    top: auto;
    bottom: 20px;

    width: 46px;
    height: 46px;

    font-size: 34px;
    transform: none;
  }

  .project-lightbox-prev {
    left: 20px;
  }

  .project-lightbox-next {
    right: 20px;
  }

  .project-lightbox-footer {
    justify-content: center;
    padding-top: 15px;
  }

  .project-lightbox-caption {
    display: none;
  }
}
/* ==================================================
   MODERN RESPONSIVE HEADER
================================================== */

:root {
  --header-height: 96px;
  --header-navy: #092538;
  --header-sand: #d25a30;
  --header-teal: #4d9999;
}

/* Header */
body:not(.home) #main-content {
  padding-top: var(--header-height);
}

body.single-project #main-content,
body.post-type-archive-project #main-content,
body.page-template-page-story #main-content,
body.page-template-page-partners #main-content {
  padding-top: 0;
}
#sitenav {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 10000;

  display: flex;
  align-items: center;
  justify-content: space-between;

  width: 100%;
  height: var(--header-height);
  padding: 0 clamp(30px, 5vw, 85px);

  border-bottom: 0;

  color: #fff;
  background: linear-gradient(to bottom, rgba(5, 25, 39, 0.65), transparent);

  transition:
    height 0.4s ease,
    padding 0.4s ease,
    background-color 0.4s ease,
    border-color 0.4s ease,
    box-shadow 0.4s ease,
    backdrop-filter 0.4s ease;
}

/* Inner pages */

#sitenav.solid {
  /* position: relative; */
  background: var(--header-navy);
}

/* Scrolled homepage header */

#sitenav.scrolled {
  position: fixed;
  height: 78px;

  border-bottom-color: rgba(255, 255, 255, 0.08);

  background: rgba(7, 31, 47, 0.93);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.1);

  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);

  animation: headerSlideDown 0.45s ease both;
}

@keyframes headerSlideDown {
  from {
    opacity: 0;
    transform: translateY(-100%);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* WordPress admin bar */

.admin-bar #sitenav {
  top: 32px;
}

@media screen and (max-width: 782px) {
  .admin-bar #sitenav {
    top: 46px;
  }
}

/* Logo */

.nav-logo {
  position: relative;
  z-index: 10002;

  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;

  flex-shrink: 0;

  color: #fff;
  text-decoration: none;

  transition:
    opacity 0.3s ease,
    transform 0.3s ease;
}

.nav-logo:hover {
  opacity: 0.85;
  transform: translateY(-1px);
}

.nav-logo-image {
  display: block;

  width: auto;
  max-width: 145px;
  height: 52px;

  object-fit: contain;
}

.nav-logo-en {
  display: block;

  font-family: var(--font-en), serif;
  font-size: 25px;
  font-weight: 500;
  line-height: 0.9;
  letter-spacing: 0.17em;
  text-transform: uppercase;
}

.nav-logo-ar {
  display: block;

  margin-top: 8px;

  color: #565f67;

  font-size: 8px;
  letter-spacing: 0.18em;
}

/* Desktop navigation */

.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(25px, 3vw, 48px);

  margin: 0;
  padding: 0;

  list-style: none;
}

.nav-links li {
  position: relative;
  margin: 0;
  padding: 0;
}

.nav-links a {
  position: relative;

  display: inline-flex;
  align-items: center;

  padding: 12px 0;

  color: rgba(255, 255, 255, 0.72);

  font-size: 10px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0.2em;
  text-decoration: none;
  text-transform: uppercase;

  transition:
    color 0.3s ease,
    opacity 0.3s ease;
}

.nav-links a::before {
  position: absolute;
  right: 0;
  bottom: 3px;
  left: 0;

  height: 1px;

  content: '';

  background: var(--header-sand);

  transform: scaleX(0);
  transform-origin: right center;

  transition: transform 0.4s cubic-bezier(0.2, 0.75, 0.3, 1);
}

.nav-links a:hover,
.nav-links .current-menu-item > a,
.nav-links .current_page_item > a,
.nav-links .current-menu-ancestor > a {
  color: #fff;
}

.nav-links a:hover::before,
.nav-links .current-menu-item > a::before,
.nav-links .current_page_item > a::before,
.nav-links .current-menu-ancestor > a::before {
  transform: scaleX(1);
  transform-origin: left center;
}

/* Burger */

.nav-burger {
  position: relative;
  z-index: 10002;

  display: none;

  width: 52px;
  height: 52px;
  padding: 0;

  border: 1px solid rgba(255, 255, 255, 0.2);

  color: #fff;
  background: rgba(255, 255, 255, 0.02);

  cursor: pointer;

  transition:
    border-color 0.3s ease,
    background-color 0.3s ease;
}

.nav-burger:hover {
  border-color: var(--header-sand);
  background: rgba(255, 255, 255, 0.05);
}

.nav-burger span {
  position: absolute;
  left: 50%;

  display: block;

  width: 21px;
  height: 1px;

  background: currentColor;

  transform: translateX(-50%);

  transition:
    top 0.35s ease,
    width 0.35s ease,
    transform 0.35s ease,
    opacity 0.25s ease;
}

.nav-burger span:nth-child(1) {
  top: 18px;
}

.nav-burger span:nth-child(2) {
  top: 25px;
  width: 15px;
}

.nav-burger span:nth-child(3) {
  top: 32px;
}

.nav-burger[aria-expanded='true'] span:nth-child(1) {
  top: 25px;
  transform: translateX(-50%) rotate(45deg);
}

.nav-burger[aria-expanded='true'] span:nth-child(2) {
  width: 0;
  opacity: 0;
}

.nav-burger[aria-expanded='true'] span:nth-child(3) {
  top: 25px;
  transform: translateX(-50%) rotate(-45deg);
}

/* ==================================================
   TABLET AND MOBILE MENU
================================================== */

@media (max-width: 900px) {
  :root {
    --header-height: 82px;
  }

  #sitenav,
  #sitenav.scrolled {
    position: fixed;

    height: var(--header-height);
    padding: 0 24px;

    background: rgba(7, 31, 47, 0.96);
    border-bottom-color: rgba(255, 255, 255, 0.09);
    box-shadow: none;

    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
  }

  .nav-logo-image {
    max-width: 125px;
    height: 45px;
  }

  .nav-logo-en {
    font-size: 21px;
  }

  .nav-burger {
    display: block;
  }

  /*
   * Full-screen mobile menu
   */
  .nav-links {
    position: fixed;
    inset: 0;
    z-index: 10001;

    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 0;

    width: 100%;
    min-height: 100dvh;
    margin: 0;
    padding: calc(var(--header-height) + 50px) clamp(28px, 9vw, 75px) 50px;

    overflow-y: auto;

    visibility: hidden;
    opacity: 0;
    overflow: hidden;
    background:
      radial-gradient(circle at 85% 15%, rgba(201, 149, 99, 0.12), transparent 28%),
      radial-gradient(circle at 5% 90%, rgba(77, 153, 153, 0.09), transparent 30%), var(--header-navy);

    transform: translateY(-15px);

    pointer-events: none;

    transition:
      visibility 0.45s ease,
      opacity 0.4s ease,
      transform 0.45s cubic-bezier(0.2, 0.75, 0.3, 1);
  }

  /*
   * Decorative architectural lines
   */
  .nav-links::before,
  .nav-links::after {
    position: fixed;

    width: 270px;
    height: 270px;

    border: 1px solid rgba(201, 149, 99, 0.1);

    content: '';

    pointer-events: none;

    transform: rotate(45deg);
  }

  .nav-links::before {
    top: -190px;
    right: -90px;
  }

  .nav-links::after {
    bottom: -200px;
    left: -100px;
  }

  .nav-links.is-open {
    visibility: visible;
    opacity: 1;

    transform: translateY(0);

    pointer-events: auto;
  }

  .nav-links li {
    width: 100%;

    border-bottom: 1px solid rgba(255, 255, 255, 0.09);

    opacity: 0;
    transform: translateY(22px);

    transition:
      opacity 0.4s ease,
      transform 0.45s ease;
  }

  .nav-links.is-open li {
    opacity: 1;
    transform: translateY(0);
  }

  .nav-links.is-open li:nth-child(1) {
    transition-delay: 0.08s;
  }

  .nav-links.is-open li:nth-child(2) {
    transition-delay: 0.13s;
  }

  .nav-links.is-open li:nth-child(3) {
    transition-delay: 0.18s;
  }

  .nav-links.is-open li:nth-child(4) {
    transition-delay: 0.23s;
  }

  .nav-links.is-open li:nth-child(5) {
    transition-delay: 0.28s;
  }

  .nav-links.is-open li:nth-child(6) {
    transition-delay: 0.33s;
  }

  .nav-links a {
    display: flex;
    align-items: center;
    justify-content: space-between;

    width: 100%;
    padding: 19px 0;

    color: rgba(255, 255, 255, 0.72);

    font-family: var(--font-en), serif;
    font-size: clamp(30px, 7vw, 47px);
    font-weight: 300;
    line-height: 1;
    letter-spacing: -0.01em;
    text-transform: none;
  }

  .nav-links a::before {
    top: 50%;
    right: 0;
    bottom: auto;
    left: auto;

    width: 25px;
    height: 1px;

    background: var(--header-sand);

    transform: scaleX(0);
    transform-origin: right center;
  }

  .nav-links a::after {
    color: var(--header-sand);

    content: '↗';

    font-family: Arial, sans-serif;
    font-size: 16px;
    font-weight: 300;

    opacity: 0;
    transform: translate(-12px, 8px);

    transition:
      opacity 0.3s ease,
      transform 0.3s ease;
  }

  .nav-links a:hover,
  .nav-links .current-menu-item > a,
  .nav-links .current_page_item > a {
    color: #fff;
  }

  .nav-links a:hover::before {
    transform: scaleX(1);
  }

  .nav-links a:hover::after,
  .nav-links .current-menu-item > a::after,
  .nav-links .current_page_item > a::after {
    opacity: 1;
    transform: translate(0);
  }

  body.menu-open {
    overflow: hidden;
  }

  body.menu-open #sitenav {
    background: transparent;
    border-bottom-color: rgba(255, 255, 255, 0.08);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }
}

@media (max-width: 480px) {
  :root {
    --header-height: 74px;
  }

  #sitenav,
  #sitenav.scrolled {
    padding: 0 18px;
  }

  .nav-logo-image {
    max-width: 108px;
    height: 39px;
  }

  .nav-logo-en {
    font-size: 19px;
  }

  .nav-logo-ar {
    margin-top: 6px;
    font-size: 7px;
  }

  .nav-burger {
    width: 46px;
    height: 46px;
  }

  .nav-burger span:nth-child(1) {
    top: 15px;
  }

  .nav-burger span:nth-child(2) {
    top: 22px;
  }

  .nav-burger span:nth-child(3) {
    top: 29px;
  }

  .nav-burger[aria-expanded='true'] span:nth-child(1),
  .nav-burger[aria-expanded='true'] span:nth-child(3) {
    top: 22px;
  }

  .nav-links {
    padding: calc(var(--header-height) + 35px) 22px 35px;
  }

  .nav-links a {
    padding: 17px 0;
    font-size: 31px;
  }
}

/* Reduced motion */

@media (prefers-reduced-motion: reduce) {
  #sitenav,
  .nav-links,
  .nav-links li,
  .nav-links a,
  .nav-burger span {
    animation: none !important;
    transition-duration: 0.01ms !important;
  }
}
.nav-logo {
  position: relative;
  z-index: 10002;

  display: flex;
  align-items: center;
  flex-shrink: 0;

  text-decoration: none;
}

.nav-logo-image {
  display: block;

  width: auto;
  max-width: 155px;
  height: 54px;

  object-fit: contain;

  transition:
    opacity 0.3s ease,
    transform 0.3s ease;
}

.nav-logo:hover .nav-logo-image {
  opacity: 0.85;
  transform: translateY(-1px);
}

@media (max-width: 900px) {
  .nav-logo-image {
    max-width: 130px;
    height: 46px;
  }
}

@media (max-width: 480px) {
  .nav-logo-image {
    max-width: 110px;
    height: 40px;
  }
}
/* ==================================================
   COLLAPSIBLE FLOATING CONTACT
================================================== */

.floating-contact {
  position: fixed;
  right: clamp(20px, 2.8vw, 45px);
  bottom: clamp(20px, 3vw, 45px);
  z-index: 9000;

  display: flex;
  align-items: center;
  justify-content: flex-end;

  width: 64px;
  height: 64px;
  padding: 7px;

  overflow: hidden;

  border: 1px solid rgba(201, 149, 99, 0.45);
  border-radius: 32px;

  color: #fff;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.07), transparent 55%), rgba(7, 31, 47, 0.96);

  box-shadow:
    0 15px 35px rgba(4, 24, 37, 0.3),
    inset 0 1px rgba(255, 255, 255, 0.05);

  text-decoration: none;

  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);

  transition:
    width 0.55s cubic-bezier(0.2, 0.8, 0.25, 1),
    border-color 0.35s ease,
    box-shadow 0.35s ease,
    transform 0.35s ease;
}

/* Expanded state */

.floating-contact:hover,
.floating-contact:focus-visible {
  width: 235px;

  border-color: var(--sand, #c99563);

  box-shadow:
    0 20px 45px rgba(4, 24, 37, 0.38),
    inset 0 1px rgba(255, 255, 255, 0.07);

  transform: translateY(-4px);
}

/* Text */

.floating-contact-text {
  display: flex;
  flex: 1;
  flex-direction: column;
  align-items: flex-start;

  min-width: 0;
  padding-right: 17px;
  padding-left: 13px;

  visibility: hidden;
  opacity: 0;

  white-space: nowrap;

  transform: translateX(18px);

  transition:
    visibility 0.25s ease,
    opacity 0.3s ease,
    transform 0.45s cubic-bezier(0.2, 0.8, 0.25, 1);
}

.floating-contact:hover .floating-contact-text,
.floating-contact:focus-visible .floating-contact-text {
  visibility: visible;
  opacity: 1;

  transform: translateX(0);

  transition-delay: 0.12s;
}

.floating-contact-text small {
  display: block;

  margin-bottom: 6px;

  color: rgba(255, 255, 255, 0.48);

  font-size: 8px;
  font-weight: 500;
  line-height: 1;
  letter-spacing: 0.16em;
  text-transform: uppercase;

  transition: color 0.3s ease;
}

.floating-contact-text strong {
  display: block;

  color: #fff;

  font-family: var(--font-en), serif;
  font-size: 19px;
  font-weight: 400;
  line-height: 1;
}

.floating-contact:hover .floating-contact-text small {
  color: var(--sand, #c99563);
}

/* Call center icon */

.floating-contact-icon {
  position: relative;
  z-index: 2;

  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;

  width: 48px;
  height: 48px;

  border: 1px solid rgba(201, 149, 99, 0.5);
  border-radius: 50%;

  color: var(--header-navy, #092538);
  background: var(--sand, #c99563);

  transition:
    color 0.35s ease,
    background-color 0.35s ease,
    transform 0.45s cubic-bezier(0.2, 0.8, 0.25, 1);
}

.floating-contact-icon svg {
  width: 22px;
  height: 22px;
}

.floating-contact:hover .floating-contact-icon {
  color: var(--sand, #c99563);
  background: rgba(255, 255, 255, 0.05);

  transform: rotate(-6deg);
}

/* Pulse behind the circle */

.floating-contact-pulse {
  position: absolute;
  right: 7px;
  bottom: 7px;
  z-index: -1;

  width: 48px;
  height: 48px;

  border: 1px solid rgba(201, 149, 99, 0.45);
  border-radius: 50%;

  animation: floatingContactPulse 2.5s ease-out infinite;

  pointer-events: none;
}

.floating-contact:hover .floating-contact-pulse {
  animation-play-state: paused;
  opacity: 0;
}

@keyframes floatingContactPulse {
  0% {
    opacity: 0.7;
    transform: scale(0.9);
  }

  70%,
  100% {
    opacity: 0;
    transform: scale(1.65);
  }
}

/* Keyboard focus */

.floating-contact:focus-visible {
  outline: 2px solid var(--sand, #c99563);
  outline-offset: 5px;
}

/* Hide behind opened overlays */

body.menu-open .floating-contact,
body.project-lightbox-open .floating-contact {
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
}

/* Mobile */

@media (max-width: 767px) {
  .floating-contact {
    right: 18px;
    bottom: 18px;

    width: 58px;
    height: 58px;
    padding: 6px;

    border-radius: 50%;

    transform: none;
  }

  /*
   * Touch devices don't have a real hover,
   * so keep it circular and make it directly clickable.
   */
  .floating-contact:hover,
  .floating-contact:focus-visible {
    width: 58px;
    transform: none;
  }

  .floating-contact-text {
    display: none;
  }

  .floating-contact-icon {
    width: 44px;
    height: 44px;
  }

  .floating-contact-icon svg {
    width: 20px;
    height: 20px;
  }

  .floating-contact:hover .floating-contact-icon {
    color: var(--header-navy, #092538);
    background: var(--sand, #c99563);
    transform: none;
  }

  .floating-contact-pulse {
    right: 6px;
    bottom: 6px;

    width: 44px;
    height: 44px;
  }
}

/* Reduced motion */

@media (prefers-reduced-motion: reduce) {
  .floating-contact,
  .floating-contact-text,
  .floating-contact-icon,
  .floating-contact-pulse {
    animation: none !important;
    transition-duration: 0.01ms !important;
  }
}
/* ==================================================
   ARCHITECTURAL CORNER SHAPES
================================================== */

.architectural-section {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.architectural-section > *:not(.architectural-shape) {
  position: relative;
  z-index: 2;
}

.architectural-shape {
  position: absolute;
  z-index: 0;

  display: block;

  width: 320px;
  height: 320px;

  border: 1px solid rgba(201, 149, 99, 0.18);

  transform: rotate(45deg);

  pointer-events: none;
}

/* الجزء الظاهر أعلى الشمال */

.architectural-shape-top {
  top: -245px;
  left: -160px;
}

.architectural-shape-bottom {
  right: -160px;
  bottom: -245px;
}
/* ==================================================
   CONTACT MAP
================================================== */

.contact-map-section {
  position: relative;

  min-height: 650px;
  padding: clamp(70px, 8vw, 125px) max(5vw, calc((100% - 1180px) / 2));

  overflow: hidden;

  background: #f7f4ef;
}

.contact-map-frame {
  width: 78%;
  height: 510px;

  overflow: hidden;

  background: #e4e2dd;
}

.contact-map-frame iframe {
  display: block;

  width: 100%;
  height: 100%;

  border: 0;

  filter: grayscale(0.35) saturate(0.75) contrast(0.92);

  transition: filter 0.5s ease;
}

.contact-map-frame:hover iframe {
  filter: grayscale(0) saturate(1) contrast(1);
}

.contact-map-card {
  position: absolute;
  top: 50%;
  right: max(5vw, calc((100% - 1180px) / 2));

  width: min(420px, 35%);
  padding: clamp(40px, 5vw, 70px);

  color: #fff;

  background: linear-gradient(135deg, rgba(255, 255, 255, 0.04), transparent 50%), var(--navy, #0b2538);

  box-shadow: 0 25px 70px rgba(8, 29, 43, 0.2);

  transform: translateY(-50%);
}

.contact-map-title {
  margin: 28px 0 22px;

  font-family: var(--font-en), serif;
  font-size: clamp(34px, 4vw, 50px);
  font-weight: 300;
  line-height: 1;
}

.contact-map-address {
  margin: 0;

  color: rgba(255, 255, 255, 0.62);

  font-size: 14px;
  line-height: 1.8;
}

.contact-map-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;

  margin-top: 35px;
  padding-top: 20px;

  border-top: 1px solid rgba(255, 255, 255, 0.15);

  color: var(--sand, #c99563);

  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-decoration: none;
  text-transform: uppercase;
}

.contact-map-link svg {
  width: 20px;
  height: 20px;

  transition: transform 0.35s ease;
}

.contact-map-link:hover svg {
  transform: translate(4px, -4px);
}

/* ==================================================
   CONTACT SOCIALS
================================================== */

.contact-socials {
  position: relative;

  padding: clamp(90px, 10vw, 150px) max(5vw, calc((100% - 1180px) / 2));

  overflow: hidden;

  background: #f7f4ef;
}

.contact-socials-heading {
  max-width: 700px;
  margin: 0 auto 65px;

  text-align: center;
}

.contact-socials-heading .sec-label {
  justify-content: center;
}

.contact-socials-title {
  margin: 25px 0 10px;

  color: #171b1d;

  font-family: var(--font-en), serif;
  font-size: clamp(45px, 6vw, 70px);
  font-weight: 300;
  line-height: 1;
}

.contact-socials-title em {
  color: var(--sand, #c99563);
  font-weight: 300;
}

.contact-socials-description {
  margin: 0;

  color: #707477;

  font-size: 14px;
}

.contact-socials-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);

  max-width: 1000px;
  margin: 0 auto;

  border-top: 1px solid rgba(11, 37, 56, 0.13);
  border-bottom: 1px solid rgba(11, 37, 56, 0.13);
}

.contact-social-item {
  position: relative;

  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;

  min-height: 190px;
  padding: 30px 15px;

  border-right: 1px solid rgba(11, 37, 56, 0.13);

  color: #172b3a;
  text-align: center;
  text-decoration: none;

  transition:
    color 0.4s ease,
    background-color 0.4s ease;
}

.contact-social-item:last-child {
  border-right: 0;
}

.contact-social-icon {
  display: flex;
  align-items: center;
  justify-content: center;

  width: 54px;
  height: 54px;

  border: 1px solid rgba(11, 37, 56, 0.15);

  transition:
    color 0.4s ease,
    border-color 0.4s ease,
    background-color 0.4s ease,
    transform 0.4s ease;
}

.contact-social-icon svg {
  width: 21px;
  height: 21px;
}

.contact-social-name {
  margin-top: 20px;

  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.contact-social-arrow {
  position: absolute;
  top: 15px;
  right: 17px;

  color: var(--sand, #c99563);

  font-size: 14px;

  opacity: 0;

  transform: translate(-7px, 7px);

  transition:
    opacity 0.3s ease,
    transform 0.3s ease;
}

.contact-social-item:hover {
  color: #fff;
  background: var(--navy, #0b2538);
}

.contact-social-item:hover .contact-social-icon {
  color: var(--navy, #0b2538);

  border-color: var(--sand, #c99563);
  background: var(--sand, #c99563);

  transform: translateY(-6px);
}

.contact-social-item:hover .contact-social-arrow {
  opacity: 1;
  transform: translate(0);
}

/* ==================================================
   RESPONSIVE
================================================== */

@media (max-width: 900px) {
  .contact-map-section {
    min-height: auto;
  }

  .contact-map-frame {
    width: 100%;
    height: 450px;
  }

  .contact-map-card {
    position: relative;
    top: auto;
    right: auto;

    width: calc(100% - 50px);
    margin: -80px auto 0;

    transform: none;
  }

  .contact-socials-list {
    grid-template-columns: repeat(3, 1fr);
  }

  .contact-social-item:nth-child(3) {
    border-right: 0;
  }

  .contact-social-item:nth-child(n + 4) {
    border-top: 1px solid rgba(11, 37, 56, 0.13);
  }
}

@media (max-width: 600px) {
  .contact-map-section,
  .contact-socials {
    padding-right: 20px;
    padding-left: 20px;
  }

  .contact-map-frame {
    height: 380px;
  }

  .contact-map-card {
    width: calc(100% - 24px);
    margin-top: -45px;
    padding: 35px 28px;
  }

  .contact-socials-heading {
    margin-bottom: 45px;
  }

  .contact-socials-list {
    grid-template-columns: 1fr;
  }

  .contact-social-item,
  .contact-social-item:nth-child(3) {
    min-height: 105px;

    flex-direction: row;
    justify-content: flex-start;
    gap: 22px;

    padding: 20px;

    border-top: 1px solid rgba(11, 37, 56, 0.13);
    border-right: 0;
  }

  .contact-social-item:first-child {
    border-top: 0;
  }

  .contact-social-icon {
    width: 48px;
    height: 48px;
  }

  .contact-social-name {
    margin-top: 0;
  }
}
.quote-accent {
  color: var(--sand) !important;
  font-style: normal;
}
