/* ── Custom Fonts ─────────────────────────────────────── */
@font-face {
  font-family: 'AkzidGroSt';
  src: url('fonts/AkzidGroStdBol.otf') format('opentype');
  font-weight: 700;
  font-display: swap;
}
@font-face {
  font-family: 'AkzidGroSt';
  src: url('fonts/AkzidGroStdReg.otf') format('opentype');
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: 'AkzidGroSt';
  src: url('fonts/AkzidGroStdLig.otf') format('opentype');
  font-weight: 300;
  font-display: swap;
}
@font-face {
  font-family: 'AkzidGroSt';
  src: url('fonts/AkzidGroStdLigIta.otf') format('opentype');
  font-weight: 300;
  font-style: italic;
  font-display: swap;
}

/* ── Variables ────────────────────────────────────────── */
:root {
  --black:  #000000;
  --off:    #000000;
  --dark:   #1C1C1C;
  --white:  #F2EDE8;
  --muted:  rgba(242, 237, 232, 0.842);
  --faint:  rgba(242,237,232,0.10);
  --border: rgba(242,237,232,0.10);
  --font:   'AkzidGroSt', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  --ease:   cubic-bezier(0.16,1,0.3,1);
  --soft:   cubic-bezier(0.25,0.46,0.45,0.94);
  --fast:   0.25s ease;
  --mid:    0.5s var(--soft);
  --slow:   0.8s var(--soft);
}

/* ── Reset ────────────────────────────────────────────── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { font-size: 16px; scroll-behavior: smooth; }
body {
    /* scrollbar-width: none !important;  */
      /* -ms-overflow-style: none;  */

  font-family: var(--font) !important;
  background: var(--black);
  color: var(--white);
  overflow-x: hidden !important;
  cursor: none;
  -webkit-font-smoothing: antialiased;
}
body::-webkit-scrollbar {
  display: none;
}
img  { display: block; max-width: 100%; }
a    { text-decoration: none; color: inherit; }
button { font-family: var(--font); cursor: none; border: none; outline: none; }
input, textarea, select { font-family: var(--font); outline: none; }
.mt-5{
  margin-top: 40px;
}
/* ── Page Loader ──────────────────────────────────────── */
#page-loader {
  position: fixed; inset: 0; z-index: 100000;
  background: var(--black);
  display: flex; align-items: center; justify-content: center;
  transition: opacity 1s var(--ease), visibility 1s;
}
#page-loader.done {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}
.ld-scene {
  position: relative;
  display: flex; align-items: center; justify-content: center;
  width: 6px; height: 6px;
}
.ld-dot {
  width: 6px; height: 6px;
  background: var(--white);
  border-radius: 50%;
  position: relative; z-index: 2;
  flex-shrink: 0;
}
.ld-ring {
  position: absolute;
  top: 50%; left: 50%;
  width: 32px; height: 32px;
  margin: -16px 0 0 -16px;
  border: 1px solid rgba(242,237,232,0.65);
  border-radius: 50%;
  opacity: 0;
  animation: ldRipple 2.4s cubic-bezier(0.16,1,0.3,1) infinite;
}
.ld-ring:nth-child(2) { animation-delay: 0s; }
.ld-ring:nth-child(3) { animation-delay: 0.8s; }
.ld-ring:nth-child(4) { animation-delay: 1.6s; }
@keyframes ldRipple {
  0%   { transform: scale(1);   opacity: 0.7; }
  75%  { transform: scale(5.5); opacity: 0;   }
  100% { transform: scale(5.5); opacity: 0;   }
}

/* ── Custom Cursor ────────────────────────────────────── */
.c-dot {
  position: fixed;
  z-index: 99999;
  width: 5px;
  height: 5px;
  background: #ffffff;
  border-radius: 50%;
  pointer-events: none;
  transform: translate(-50%, -50%);
  transition: width 0.2s, height 0.2s;
  mix-blend-mode: difference;
}

.c-ring {
  position: fixed;
  z-index: 99998;
  width: 32px;
  height: 32px;
  border: 1px solid #ffffff;
  border-radius: 50%;
  pointer-events: none;
  transform: translate(-50%, -50%);
  transition: width 0.35s var(--ease), height 0.35s var(--ease);
  mix-blend-mode: difference;
}

body.c-hover .c-ring {
  width: 64px;
  height: 64px;
}

body.c-click .c-dot {
  width: 8px;
  height: 8px;
}
/* ── Navigation ───────────────────────────────────────── */
#nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 900;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 59px;
  border-bottom: 1px solid transparent;
  background: rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: background 0.4s ease, border-color 0.4s ease;
}
#nav.scrolled {
  background: rgba(0, 0, 0, 0.35);
  /* background: rgba(12, 12, 12, 0.96); */
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom-color: var(--border);
}
.nav-logo img { height: auto; width: 183px; display: block; }
.nav-logo { opacity: 1; transition: opacity var(--fast); }
.nav-logo:hover { opacity: 0.65; }

.nav-links {
  display: flex; align-items: center; gap: 32px;
  list-style: none;
}
.nav-links a {
  font-size: 12px; font-weight: 400; letter-spacing: 0.08em;
  text-transform: uppercase; color: rgba(242,237,232,0.72);
  transition: color var(--fast);
}
.nav-links a:hover { color: var(--white); }

.nav-actions { display: flex; align-items: center; gap: 41px; }
.nav-search-btn {
  background: none; padding: 36px 0; color: rgba(242,237,232,0.72);
  display: flex; align-items: center;
  transition: color var(--fast);
}
.nav-search-btn:hover { color: var(--white); }
.nav-search-btn svg { width: 19px; height: 19px; stroke: currentColor; fill: none; stroke-width: 1.75; }

.nav-links { display: none; }

.nav-hamburger {
  display: flex; flex-direction: column; gap: 5px;
  background: none; padding: 39px 0;
}
.nav-hamburger span {
  display: block; width: 22px; height: 1px;
  background: var(--white);
  transition: transform 0.3s var(--ease), opacity 0.3s;
}
.nav-hamburger.open span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ── Mobile Menu ──────────────────────────────────────── */
.mob-menu {
  position: fixed; inset: 0; z-index: 800;
  background: var(--black);
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  opacity: 0; pointer-events: none;
  transition: opacity 0.5s ease;
}
.mob-menu.open { opacity: 1; pointer-events: all; }
.mob-menu ul { list-style: none; text-align: center; }
.mob-menu ul li { overflow: hidden; margin-bottom: 8px; }
.mob-menu ul a {
  display: block;
  font-size: clamp(22px, 4.5vw, 42px);
  font-weight: 700; text-transform: uppercase;
  letter-spacing: -0.02em; color: var(--white);
  transform: translateY(110%);
  transition: transform 0.7s var(--ease), color var(--fast);
  line-height: 1.1;
}
.mob-menu.open ul a { transform: translateY(0); }
.mob-menu ul a:hover { color: var(--muted); }
.mob-menu ul li:nth-child(1) a { transition-delay: 0.05s; }
.mob-menu ul li:nth-child(2) a { transition-delay: 0.10s; }
.mob-menu ul li:nth-child(3) a { transition-delay: 0.15s; }
.mob-menu ul li:nth-child(4) a { transition-delay: 0.20s; }
.mob-menu ul li:nth-child(5) a { transition-delay: 0.25s; }
.mob-menu ul li:nth-child(6) a { transition-delay: 0.30s; }

/* ── Search Overlay ───────────────────────────────────── */
.search-overlay {
  position: fixed; inset: 0; z-index: 950;
  background: rgba(12,12,12,0.98);
  backdrop-filter: blur(24px);
  display: flex; flex-direction: column;
  padding: 120px 48px 60px;
  opacity: 0; pointer-events: none;
  transition: opacity 0.3s ease;
}
.search-overlay.open { opacity: 1; pointer-events: all; }
.search-wrap {
  display: flex; align-items: center; gap: 16px;
  border-bottom: 1px solid var(--faint); padding-bottom: 24px; margin-bottom: 40px;
}
.search-wrap svg { width: 20px; height: 20px; stroke: var(--muted); fill: none; stroke-width: 1.75; flex-shrink: 0; }
#searchInput {
  flex: 1; background: none; border: none;
  font-size: clamp(20px, 3.5vw, 40px); font-weight: 300;
  letter-spacing: -0.02em; color: var(--white);
  caret-color: var(--white);
}
#searchInput::placeholder { color: rgba(242,237,232,0.2); }
.search-esc {
  background: none; border: 1px solid var(--border);
  color: var(--muted); font-size: 10px; letter-spacing: 0.2em;
  text-transform: uppercase; padding: 8px 14px;
  transition: color var(--fast), border-color var(--fast);
}
.search-esc:hover { color: var(--white); border-color: rgba(242,237,232,0.4); }
.search-results-wrap { flex: 1; overflow-y: auto; }
.search-grp-label {
  font-size: 9px; font-weight: 500; letter-spacing: 0.4em;
  text-transform: uppercase; color: var(--muted);
  margin-bottom: 16px; padding-bottom: 12px; border-bottom: 1px solid var(--border);
}
.search-grp { margin-bottom: 36px; }
.search-item {
  display: flex; align-items: baseline; gap: 16px;
  padding: 14px 0; border-bottom: 1px solid var(--border);
  transition: padding-left var(--fast);
}
.search-item:hover { padding-left: 10px; }
.s-name { font-size: 15px; font-weight: 400; }
.s-meta { font-size: 11px; color: var(--muted); }
.search-empty { font-size: 12px; color: var(--muted); letter-spacing: 0.1em; }

/* ── Hero ─────────────────────────────────────────────── */
#hero {
  position: relative;
  /* margin-top: 91px; */
  width: 100%; height:927px; min-height: 600px;
  overflow: hidden; background: var(--black);
  display: flex; flex-direction: column;
  z-index: 0;
}
.hero-slides {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
}
.hero-slide {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  opacity: 0; transition: opacity 1.2s var(--soft);
}
.hero-slide.active { opacity: 1; }
.hero-slide img {
  width: 100%; height: 100%;
object-fit: cover; 
  object-position: center;
  display: block;
}
.hero-overlay {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(
    to bottom,
    rgba(12,12,12,0.10) 0%,
    rgba(12,12,12,0.00) 35%,
    rgba(12,12,12,0.75) 100%
  );
}
/* ── Hero Bottom ──────────────────────────────────────── */
.hero-bottom {
  position: absolute; bottom: 0; left: 0; right: 0; z-index: 10;
  padding: 0 59px 55px;
}
/* Pause/play button — bottom-right of hero */
.hero-pause {
  position: absolute; right: 59px; bottom: 47px; z-index: 11;
  width: 36px; height: 36px;
  border: 1px solid rgba(242,237,232,0.55);
  border-radius: 50%;
  background: none;
  display: flex; align-items: center; justify-content: center;
  color: var(--white);
  transition: border-color var(--fast), background var(--fast);
}
.hero-pause:hover {
  border-color: var(--white);
  background: rgba(242,237,232,0.08);
}
.hero-pause svg {
  width: 12px; height: 12px;
  fill: var(--white);
  flex-shrink: 0;
}
.hero-bottom-left {
  display: flex; flex-direction: column; align-items: flex-start;
}
.hero-eyebrow {
  font-size: 14px; font-weight: 700;
  letter-spacing: 0; font-stretch: normal;
  text-transform: none; color: var(--white);
  margin-bottom: 16px;
  font-family: var(--font);
  text-shadow: 0 1px 12px rgba(0,0,0,0.55);
}
.hero-title {
  font-size: 40px; font-weight: 300;
  letter-spacing: 0; font-stretch: normal; text-transform: none;
  color: var(--white);
  max-width: 709px;
  margin-bottom: 50px;
  /* text-shadow: 0 2px 20px rgba(0,0,0,0.45); */
  font-family: var(--font);
}

/* ── Hero Dots with progress ring ── */
.hero-dots {
  display: flex;
  align-items: center;
  gap: 24px;          /* exact spec: 24px between dots */
}
.hero-dot {
  position: relative;
  width: 11px; height: 11px;
  background: none; border: none; padding: 0;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
/* The small solid core — 5.5px per spec */
.hd-core {
  display: block;
  width: 5.5px; height: 5.5px;
  border-radius: 50%;
  background: rgba(242,237,232,0.32);
  transition: background 0.35s ease;
  position: relative; z-index: 1;
  flex-shrink: 0;
}
.hero-dot.on .hd-core {
  background: var(--white);
}
/* SVG ring: r=7 → circumference = 2π×7 ≈ 43.98 */
.hd-ring {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  transform: rotate(-90deg);   /* start fill from 12 o'clock */
  overflow: visible;
}
.hd-track {
  fill: none;
  stroke: rgba(242,237,232,0.2);
  stroke-width: 1;
}
.hd-fill {
  fill: none;
  stroke: transparent;
  stroke-width: 1;
  stroke-linecap: round;
  stroke-dasharray: 28.27;
  stroke-dashoffset: 28.27;
}
.hero-dot.on .hd-fill {
  stroke: var(--white);
  animation: hdSpin 5s linear forwards;
}
@keyframes hdSpin {
  from { stroke-dashoffset: 28.27; }
  to   { stroke-dashoffset: 0; }
}
.hero-bg-reveal {
  position: absolute; inset: 0; z-index: 0;
  background: var(--black);
  opacity: 0;
  transition: opacity 0.05s linear;
  pointer-events: none;
}

/* ── Recent Strip ─────────────────────────────────────── */
#recent {
  background: rgba(0, 0, 0, 0.144);
  padding: 85px 0 0;
  position: relative;
  z-index: 1;
}
.section-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 59px 30px;
}
.section-label {
  font-family: var(--font) !important;
  font-size: 14px ;
  font-weight: bold;
  /* font-stretch: normal; */
  /* letter-spacing: 0; */
  color: var(--white);
}
.section-link {
  font-size: 11px; font-weight: 400; letter-spacing: 0.1em;
  color: var(--muted); transition: color var(--fast);
  display: flex; align-items: center; gap: 6px;
}
.section-link:hover { color: var(--white); }

.recent-card:hover .recent-card-img img { transform: scale(1.04); filter: brightness(0.90); }
.recent-info {
  padding: 25px 14px 73px;
}
.recent-cat  { font-family: 'AkzidGroSt', 'Helvetica Neue', Arial, sans-serif; font-size: 14px; font-weight: 700; font-stretch: normal; letter-spacing: 0; color: var(--white); margin-bottom: 16px; }
.recent-name { font-family: 'AkzidGroSt', 'Helvetica Neue', Arial, sans-serif; font-size: 18px; font-weight: 300; font-stretch: normal; letter-spacing: 0; line-height: 40px; margin-bottom: 12px; color: var(--white); }
.recent-date { font-family: 'AkzidGroSt', 'Helvetica Neue', Arial, sans-serif; font-size: 15px; font-weight: 300; font-stretch: normal; letter-spacing: 0; color: #585653; }

/* keep aliases for backward compat on other pages */
.feat-grid  { display: grid; grid-template-columns: repeat(4,1fr); gap: 2px; border-top: 1px solid var(--border); }
.feat-card  { position: relative; overflow: hidden; display: block; }
.feat-card img { width: 100%; aspect-ratio: 4/3; object-fit: cover; filter: brightness(0.80); transition: transform 0.7s var(--soft), filter 0.5s ease; display: block; }
.feat-card:hover img { transform: scale(1.04); filter: brightness(0.90); }
.feat-info  { padding: 16px 20px 20px; background: var(--off); border-top: 1px solid var(--border); }
.feat-cat   { font-size: 9px; font-weight: 400; letter-spacing: 0.35em; text-transform: uppercase; color: var(--muted); margin-bottom: 6px; }
.feat-name  { font-size: 13px; font-weight: 600; letter-spacing: -0.01em; line-height: 1.25; }
.feat-sub   { font-size: 10px; color: var(--muted); margin-top: 5px; letter-spacing: 0.05em; }

/* ── Vision / Statement 2-col ─────────────────────────── */
#vision {
  position: relative; z-index: 1;
  background: var(--black);
  padding: 0;
  margin-top: 73px;
}
.vision-inner {
  display: grid; grid-template-columns: 501px 1fr;
  gap: 0; min-height: 0;
}
.vision-left {
  padding: 0 32px 36px 59px;
  display: flex; flex-direction: column; justify-content: flex-start;
}
.vision-label {
  font-family: 'AkzidGroSt', 'Helvetica Neue', Arial, sans-serif;
  font-size: 14px; font-weight: bold;
  font-stretch: normal; letter-spacing: 0;
  color: var(--white);
}
.vision-stats { display: flex; flex-direction: column; gap: 32px; margin-top: 40px; }
.stat-num { font-size: 44px; font-weight: 700; letter-spacing: -0.04em; line-height: 1; }
.stat-lbl { font-size: 9px; font-weight: 400; letter-spacing: 0.3em; text-transform: uppercase; color: var(--muted); margin-top: 6px; }
.vision-right {
  padding: 0 59px 36px 0;
  display: flex; align-items: center;
}
.vision-text {
  font-family: 'AkzidGroSt', 'Helvetica Neue', Arial, sans-serif;
  font-size: 62px; font-weight: 300;
  font-stretch: normal; letter-spacing: 0;
  line-height: 1.2;
  color: var(--white);
  width: 100%;
  max-width: 1300px;
}
.vision-text .word {
  display: inline-block;
  opacity: 0; transform: translateY(14px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}
.vision-text .word.in { opacity: 1; transform: translateY(0); }

/* legacy alias */
#purpose { background: var(--black); border-top: 1px solid var(--border); padding: 120px 64px; }
.purpose-text { font-size: clamp(26px, 3.5vw, 52px); font-weight: 300; line-height: 1.35; letter-spacing: -0.02em; max-width: 960px; color: var(--white); }
.stats-row { display: flex; gap: 80px; margin-top: 80px; padding-top: 64px; border-top: 1px solid var(--border); flex-wrap: wrap; }

/* ── Expertise ────────────────────────────────────────── */
#expertise {
  position: relative; z-index: 1;
  background: var(--black);
}
/* Override inline style from HTML */
#expertise .section-head {
  padding: 50px 30px 63px 59px;
}
#expertise .section-head .section-label{
  font-size: 14px;
}
.exp-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  column-gap: 28px;
  row-gap: 51px;
  padding: 0 30px 40px 30px;
}
.exp-card {
  position: relative; display: block;
  background: var(--dark);
  width: 582px;
  height: 718px;
}
.exp-card:not(:nth-child(3n))::after {
  content: "";
  position: absolute;
  top: 0; bottom: 0;
  right: calc(-28px / 2);
  width: 1px;
  background: #3a3a3a;
  z-index: 10;
}
.exp-card img {
  width: 100%; height: 718px; object-fit: cover;
  clip-path: inset(0);
  filter: brightness(0.65);
  transition: transform 0.8s var(--soft), filter 0.5s ease;
  display: block;
}
.exp-card:hover img { transform: scale(1.05); filter: brightness(0.82); }
.exp-label {
  position: absolute; bottom: 0; left: 0; right: 0;
  padding: 80px 21px 24px;
  background: linear-gradient(to top, rgba(12,12,12,0.92) 0%, rgba(12,12,12,0.0) 100%);
}
.exp-title {
  font-family: 'AkzidGroSt', 'Helvetica Neue', Arial, sans-serif;
  font-size: 34px; font-weight: 300;
  font-stretch: normal; letter-spacing: 0;
  line-height: 1.1; color: var(--white);
}
.exp-sub   { font-size: 10px; font-weight: 400; letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted); margin-top: 6px; }

/* ── Projects Strip ───────────────────────────────────── */
#proj-strip {
  position: relative; z-index: 1;
  background: var(--black);
  padding: 85px 0 0;
}
#proj-strip .section-head {
  padding: 50px 30px 30px 59px;
}/* ─── Projects Grid ─── */
/* ─── Default: 3 columns ─── */
/* ─── Default: 4 columns ─── */
.pstrip-grid {
  display: grid;
  grid-template-columns: repeat(4, 428px);
  padding: 0 59px 40px;
  gap: 20px;
  justify-content: space-between;
}

.pstrip-card {
  display: block;
  background: var(--off);
  position: relative;
  width: 428px;
}

.pstrip-card-img { overflow: hidden; }

.pstrip-card-img img {
  width: 100%; height: 321px; object-fit: cover;
  filter: brightness(0.80);
  transition: transform 0.7s var(--soft), filter 0.5s ease;
  display: block;
}

.pstrip-card:hover .pstrip-card-img img {
  transform: scale(1.04);
  filter: brightness(0.90);
}

/* ── Divider مساعد ── */
.pstrip-card::after { display: none; }

/* ─── 4 columns divider ─── */
.pstrip-card:not(:nth-child(4n))::after {
  content: "";
  display: block;
  position: absolute;
  top: 0; bottom: 0; width: 1px;
  background: #3a3a3a;
  z-index: 2;
  left: 100%;
  transform: translateX(calc((100vw - 4 * 428px - 118px) / 6));
}

/* ─── padding تتضيق قبل ما يقفز لـ 3 ─── */
@media (max-width: 1829px) {
  .pstrip-grid { padding: 0 30px 40px; }
  .pstrip-card:not(:nth-child(4n))::after {
    transform: translateX(calc((100vw - 4 * 428px - 60px) / 6));
  }
}
@media (max-width: 1772px) {
  .pstrip-grid { padding: 0 10px 40px; }
  .pstrip-card:not(:nth-child(4n))::after {
    transform: translateX(calc((100vw - 4 * 428px - 20px) / 6));
  }
}

/* ─── 3 columns ─── */
@media (max-width: 1732px) {
  .pstrip-grid {
    grid-template-columns: repeat(3, 428px);
    padding: 0 59px 40px;
    justify-content: space-between;
  }
  .pstrip-card:not(:nth-child(4n))::after { display: none; }
  .pstrip-card:not(:nth-child(3n))::after {
    content: "";
    display: block;
    position: absolute;
    top: 0; bottom: 0; width: 1px;
    background: #3a3a3a;
    z-index: 2;
    left: 100%;
    transform: translateX(calc((100vw - 3 * 428px - 118px) / 4));
  }
}
@media (max-width: 1401px) {
  .pstrip-grid { padding: 0 30px 40px; }
  .pstrip-card:not(:nth-child(3n))::after {
    transform: translateX(calc((100vw - 3 * 428px - 60px) / 4));
  }
}
@media (max-width: 1344px) {
  .pstrip-grid { padding: 0 10px 40px; }
  .pstrip-card:not(:nth-child(3n))::after {
    transform: translateX(calc((100vw - 3 * 428px - 20px) / 4));
  }
}

/* ─── 2 columns ─── */
@media (max-width: 1304px) {
  .pstrip-grid {
    grid-template-columns: repeat(2, 428px);
    padding: 0 59px 40px;
    justify-content: space-between;
  }
  .pstrip-card:not(:nth-child(4n))::after,
  .pstrip-card:not(:nth-child(3n))::after { display: none; }
  .pstrip-card:not(:nth-child(2n))::after {
    content: "";
    display: block;
    position: absolute;
    top: 0; bottom: 0; width: 1px;
    background: #3a3a3a;
    z-index: 2;
    left: 100%;
    transform: translateX(calc((100vw - 2 * 428px - 118px) / 2));
  }
}
@media (max-width: 973px) {
  .pstrip-grid { padding: 0 20px 40px; }
  .pstrip-card:not(:nth-child(2n))::after {
    transform: translateX(calc((100vw - 2 * 428px - 40px) / 2));
  }
}
@media (max-width: 916px) {
  .pstrip-grid { padding: 0 0 40px; }
  .pstrip-card:not(:nth-child(2n))::after {
    transform: translateX(calc((100vw - 2 * 428px) / 2));
  }
}

/* ─── 1 column ─── */
@media (max-width: 856px) {
  .pstrip-grid {
    grid-template-columns: 428px;
    padding: 0 20px 40px;
    justify-content: center;
  }
  .pstrip-card::after,
  .pstrip-card:not(:nth-child(4n))::after,
  .pstrip-card:not(:nth-child(3n))::after,
  .pstrip-card:not(:nth-child(2n))::after { display: none !important; }
}

/* ─── fluid ─── */
@media (max-width: 468px) {
  .pstrip-grid {
    grid-template-columns: 1fr;
    padding: 0 16px 40px;
  }
  .pstrip-card { width: 100%; }
  .pstrip-card-img img { height: 240px; }
}
.pstrip-info { padding: 25px 14px 17px; }
.pstrip-cat  { font-family: 'AkzidGroSt', 'Helvetica Neue', Arial, sans-serif; font-size: 14px; font-weight: 700; font-stretch: normal; letter-spacing: 0; color: var(--white); margin-bottom: 16px; }
.pstrip-name { font-family: 'AkzidGroSt', 'Helvetica Neue', Arial, sans-serif; font-size: 18px; font-weight: 300; font-stretch: normal; letter-spacing: 0; line-height: 40px; margin-bottom: 12px; color: var(--white); }
.pstrip-loc  { font-family: 'AkzidGroSt', 'Helvetica Neue', Arial, sans-serif; font-size: 15px; font-weight: 300; font-stretch: normal; letter-spacing: 0; color: #585653; }

/* ── News ─────────────────────────────────────────────── */
#news { background: var(--black); border-top: 1px solid var(--border); }
.news-layout {
  display: grid; grid-template-columns: 1.6fr 1fr; gap: 2px;
  margin: 0 64px;
}
.news-feat {
  position: relative; overflow: hidden; display: block;
}
.news-feat img {
  width: 100%; height: 520px; object-fit: cover; filter: brightness(0.55);
  transition: transform 0.7s var(--soft);
  display: block;
}
.news-feat:hover img { transform: scale(1.03); }
.news-feat-info { position: absolute; bottom: 0; left: 0; right: 0; padding: 40px; }
.n-tag { font-size: 9px; font-weight: 500; letter-spacing: 0.4em; text-transform: uppercase; color: var(--muted); margin-bottom: 12px; }
.n-title { font-size: clamp(18px, 2.2vw, 26px); font-weight: 700; letter-spacing: -0.02em; text-transform: uppercase; line-height: 1.15; }
.n-date  { font-size: 10px; color: rgba(242,237,232,0.38); letter-spacing: 0.12em; margin-top: 14px; }

.news-stack { display: flex; flex-direction: column; gap: 2px; }
.news-card { background: var(--off); padding: 32px; flex: 1; display: flex; flex-direction: column; transition: background var(--fast); }
.news-card:hover { background: var(--dark); }
.nc-title { font-size: 16px; font-weight: 600; letter-spacing: -0.01em; text-transform: uppercase; line-height: 1.2; margin: 10px 0 12px; }
.nc-exc   { font-size: 12px; font-weight: 300; line-height: 1.75; color: var(--muted); flex: 1; }

/* ── Studio ───────────────────────────────────────────── */
#studio {
  position: relative; z-index: 1;
  background: var(--off);
  border-top: 1px solid var(--border);
  padding: 0;
}
.studio-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  min-height: 520px;
}
.studio-text-col {
  padding: 80px 64px;
  display: flex; flex-direction: column; justify-content: center;
}
.studio-h { font-size: clamp(28px, 3.5vw, 48px); font-weight: 700; letter-spacing: -0.03em; text-transform: uppercase; line-height: 1.05; margin-bottom: 28px; }
.studio-p { font-size: 14px; font-weight: 300; line-height: 2; color: var(--muted); max-width: 420px; margin-bottom: 40px; }
.studio-img-col { overflow: hidden; }
.studio-img-col img { width: 100%; height: 100%; object-fit: cover; min-height: 420px; filter: brightness(0.85); transition: transform 0.8s var(--soft); }
.studio-img-col:hover img { transform: scale(1.03); }

.btn-text {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 11px; font-weight: 500; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--white); border-bottom: 1px solid var(--faint); padding-bottom: 3px;
  transition: border-color var(--fast), gap var(--fast);
}
.btn-text:hover { border-color: var(--white); gap: 14px; }

/* ── Offices ──────────────────────────────────────────── */
#offices {
  background: var(--black);
  padding: 80px 59px 80px;
  border-top: 1px solid var(--border);
}
.offices-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.office-card { display: block; }
.office-img-wrap {
  overflow: hidden;
  width: 100%;
  aspect-ratio: 4 / 3;
}
.office-img-wrap img {
  width: 100%; height: 100%;
  object-fit: cover; display: block;
  filter: brightness(0.85);
  transition: transform 0.7s var(--soft), filter 0.5s ease;
}
.office-card:hover .office-img-wrap img {
  transform: scale(1.04); filter: brightness(0.95);
}
.office-info { padding: 16px 0 0; }
.office-city {
  font-size: 18px; font-weight: 300;
  letter-spacing: 0; font-stretch: normal;
  color: var(--white); line-height: 1.3;
  font-family: var(--font);
  margin-bottom: 4px;
}
.office-country {
  font-size: 14px; font-weight: 300;
  letter-spacing: 0; font-stretch: normal;
  color: var(--white);
  font-family: var(--font);
  margin-bottom: 6px;
}
.office-phone {
  font-size: 14px; font-weight: 300;
  letter-spacing: 0; font-stretch: normal;
  color: rgba(242,237,232,0.55);
  font-family: var(--font);
}

/* ── Culture ──────────────────────────────────────────── */
#culture {
  background: var(--black);
  padding: 95px 59px 70px;
  position: relative; z-index: 1;
}
.culture-h {
  font-size: 40px; font-weight: 300;
  letter-spacing: 0; font-stretch: normal;
  line-height: 1.1; color: var(--white);
  margin-bottom: 45px;
  font-family: var(--font);
}
.culture-p {
  font-size: 24px; font-weight: 300;
   color: var(--white);
  max-width: 974px; letter-spacing: 0;
  font-stretch: normal; font-family: var(--font);
}
.culture-divider { margin-top: 36px; }

/* ── Newsletter ───────────────────────────────────────── */
#newsletter {
  position: relative; z-index: 1;
  background: var(--black);
  border-top: 1px solid #3a3a3a;
  padding: 62px 59px 54px;
  display: grid; grid-template-columns: 1fr 1fr;  align-items: start;
}
.nl-head {
  font-family: var(--font);
  font-size: 40px; font-weight: 300;
  font-stretch: normal; letter-spacing: 0;
  line-height: 1.2; color: var(--white);
  max-width: 499px;
  max-height: 83px;

}
.nl-form { display: flex; flex-direction: column; gap: 0; padding-top: 0; align-items: flex-start;}
.nl-input {
  background: #3a3a3a;
  border: 1px solid #3a3a3a;
  border-radius: 38px;
      height: 46px;
  padding: 16px 24px 16px 26px;
  font-size: 20px; font-weight: bold;
   font-stretch: normal;
  letter-spacing: 0;
  color: var(--white);
  /* max-width: 903px; */
  font-weight: bold;
  width:100%;
  font-family: var(--font);
  transition: border-color var(--fast);
}
.nl-input::placeholder {
  color: var(--white);
  font-size: 20px;
  font-stretch: normal;
  letter-spacing: 0;
  font-family: var(--font);
}
.nl-input:focus { border-color: rgba(242,237,232,0.5); outline: none; }
.nl-btn {
    margin-top: 31px;
    background: rgba(0,0,0,0.04);
    color: var(--muted);
    font-size: 20px;
    width: 100%;
    font-weight: 400;
    height: 46px;
  /* max-width: 903px; */
    letter-spacing: 0;
    font-stretch: normal;
    padding: 0;
    cursor: pointer;
    border: none;
    font-family: var(--font);
    transition: opacity var(--fast);
}
.nl-btn:hover { opacity: 0.55; }
/* ── Footer ───────────────────────────────────────────── */
footer {
  position: relative; z-index: 1;
  background: var(--black);
  border-top: 1px solid #3a3a3a;
  padding: 62px 59px 72px;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: flex-end;
}
.f-top {
  display: flex;
  flex-direction: column;
  gap: 36px;
}
.f-brand {
  font-size: 21px; font-weight: 300;
  letter-spacing: 0; font-stretch: normal;
  color: var(--white); line-height: 1;
  font-family: var(--font);
}
.f-logo { width: 183px; height: auto; display: block; object-fit: contain; }
.f-nav-row {
  display: flex; gap: 17px; flex-wrap: wrap;
}
.f-nav-row a {
  display: block;
  font-size: 14px; font-weight: 400;
  color: var(--white); letter-spacing: 0;
  font-stretch: normal; font-family: var(--font);
  transition: color var(--fast);
  text-decoration: none;
  padding: 0;
}
.f-nav-row a:hover { color: var(--muted); }

/* ── Footer right column ── */
.f-bottom {
  display: flex; flex-direction: column;
  align-items: flex-end; justify-content: flex-end;
  gap: 29px;
}
.f-socials {
  display: flex; gap: 16px; align-items: center;
}
.f-soc {
  display: flex; align-items: center; justify-content: center;
  color: var(--white);
  transition: color var(--fast), transform 0.2s ease;
}
.f-soc svg { width: 22px; height: 22px; fill: currentColor; }
.f-soc:hover { color: var(--muted); transform: translateY(-2px); }
.f-copy {
  font-size: 14px; font-weight: 400;
  color: var(--white); letter-spacing: 0;
  font-family: var(--font); font-stretch: normal;
}
/* ── Projects Page (pp-) ─────────────────────────────── */
.pp-hero {
  position: relative;
  /* margin-top: 91px; */
  width: 100%;
  height: 927px;
  min-height: 600px;
  overflow: hidden;
  background: var(--black);
}
.pp-hero-top {
  position: absolute; top: 0; left: 0; right: 0; z-index: 10;
  padding: 24px 59px;
}
.pp-breadcrumb {
  font-family: var(--font);
  font-size: 12px; font-weight: 400; font-stretch: normal;
  letter-spacing: 0; color: rgba(242,237,232,0.7);
  text-shadow: 0 1px 12px rgba(0,0,0,0.55);
}
.pp-hero-bottom {
  position: absolute; bottom: 0; left: 0; right: 0; z-index: 10;
  padding: 0 59px 55px;
}
.pp-page-title {
  font-family: var(--font);
  font-size: 48px; font-weight: 300; font-stretch: normal;
  letter-spacing: 0; line-height: 1.1; color: var(--white);
  text-shadow: 0 2px 20px rgba(0,0,0,0.45);
}

/* Filter Bar */
.pp-filter-bar {
  display: flex; align-items: center; gap: 14px;
  background: var(--black);
  padding: 50px 59px;
  /* margin: 30px 0; */
  margin-bottom: 20px;
  position: relative;
}
.pp-filter-bar::after {
  position: absolute; left: 59px; right: 59px; bottom: 0;
  padding: 0 59px;
  content: ""; flex: 1; height: 1px; background: #3a3a3a8a;
}
.pp-search-wrap {
  flex: 1; display: flex; align-items: center; gap: 12px;
  background: #1a1a1a;
  border: 1px solid #3a3a3a;
  border-radius: 38px; padding: 14px 24px;
}
.pp-search-icon {
  width: 16px; height: 16px;
  stroke: rgba(242,237,232,0.45); fill: none; stroke-width: 1.5;
  flex-shrink: 0;
}
.pp-search {
  flex: 1; background: none; border: none;
  font-family: var(--font); font-size: 15px; font-weight: 400;
  font-stretch: normal; letter-spacing: 0; color: var(--white);
}
.pp-search::placeholder { color: rgba(242,237,232,0.5); }
.pp-select-wrap {
  position: relative; display: flex; align-items: center;
}
.pp-select {
  background: #1a1a1a; border: 1px solid #3a3a3a;
  border-radius: 38px; padding: 14px 44px 14px 24px;
  font-family: var(--font); font-size: 15px; font-weight: 400;
  font-stretch: normal; letter-spacing: 0; color: var(--white);
  appearance: none; cursor: pointer; min-width: 180px;
}
.pp-select-arrow {
  position: absolute; right: 18px; pointer-events: none;
  width: 14px; height: 14px;
  stroke: rgba(242,237,232,0.45); fill: none; stroke-width: 2;
}

/* Grid — reuses homepage .pstrip-card styles */
.pp-strip-grid { padding: 20px 59px; }

/* Contact section — white background */
.pp-contact {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 60px; padding: 80px 59px;
  background: white;
}
.pp-contact-h {
  font-family: var(--font); font-size: 48px; font-weight: 300;
  font-stretch: normal; letter-spacing: 0;
  line-height: 1.1; color: var(--black);
}
.pp-form { display: flex; flex-direction: column; gap: 14px; }

.pp-input {
  background: rgba(0,0,0,0.04);
  border: 1px solid rgba(0,0,0,0.14);
  border-radius: 38px;
  height: 46px;
  padding: 0 26px;
  font-family: var(--font); font-size: 16px; font-weight: 400;
  letter-spacing: 0; color: var(--black); width: 100%;
  transition: border-color var(--fast);
  box-sizing: border-box;
}

.pp-input::placeholder { color: rgba(0,0,0,0.45); }
.pp-input:focus { border-color: rgba(0,0,0,0.4); outline: none; }

.pp-textarea { 
  border-radius: 22px; 
  min-height: 264px; 
  resize: none; 
  padding: 16px 26px;
}


.pp-select-wrap2 {
  position: relative;
  width: 100%;
}

.pp-select2 {
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
  padding-right: 52px;
  background: rgba(0,0,0,0.04);
  border: 1px solid rgba(0,0,0,0.14);
  border-radius: 38px;
  height: 46px;
  padding: 0 52px 0 26px;
  font-family: var(--font); font-size: 16px; font-weight: 400;
  color: rgba(0,0,0,0.45);
  width: 100%;
  box-sizing: border-box;
  transition: border-color var(--fast);
  outline: none;
}

.pp-select2:focus { border-color: rgba(0,0,0,0.4); }

.pp-select-arrow2 {
  position: absolute;
  right: 6px;
  top: 50%;
  transform: translateY(-50%);
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid rgba(0,0,0,0.14);
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  color: var(--black);
}


.pp-submit {
  margin-top: 26px; align-self: center;
  height: 46px;
  width: 100%;
  background: rgba(0,0,0,0.04);
 border: 1px solid rgba(0,0,0,0.14);
  border-radius: 38px;
  letter-spacing: 0;
  cursor: pointer;
  transition: opacity var(--fast);
    font-family: var(--font); font-size: 16px; font-weight: 400;
  color: rgba(0,0,0,0.45);
  width: 100%;
  box-sizing: border-box;
  transition: border-color var(--fast);
  outline: none;
}
.pp-submit:hover { opacity: 0.85; }
/* ─── Default: 4 columns ─── */
.recent-grid {
  display: grid;
  grid-template-columns: repeat(4, 428px);
  padding: 0 59px;
  gap: 20px;
  justify-content: space-between;
}

.recent-card {
  position: relative;
  display: block;
  background: var(--off);
  width: 428px;
  height: 442px;
}

.recent-card-img { overflow: hidden; }

.recent-card-img img {
  width: 100%; height: 321px; object-fit: cover;
  filter: brightness(0.80);
  transition: transform 0.7s var(--soft), filter 0.5s ease;
  display: block;
}

/* ── Divider ── */
.recent-card::after { display: none; }

.recent-card:not(:nth-child(4n))::after {
  content: "";
  display: block;
  position: absolute;
  top: 0; bottom: 0; width: 1px;
  background: #3a3a3a;
  z-index: 2;
  left: 100%;
  transform: translateX(calc((100vw - 4 * 428px - 118px) / 6));
}

/* ─── padding تتضيق قبل ما يقفز لـ 3 ─── */
@media (max-width: 1829px) {
  .recent-grid { padding: 0 30px; }
  .recent-card:not(:nth-child(4n))::after {
    transform: translateX(calc((100vw - 4 * 428px - 60px) / 6));
  }
}
@media (max-width: 1772px) {
  .recent-grid { padding: 0 10px; }
  .recent-card:not(:nth-child(4n))::after {
    transform: translateX(calc((100vw - 4 * 428px - 20px) / 6));
  }
}

/* ─── 3 columns ─── */
@media (max-width: 1732px) {
  .recent-grid {
    grid-template-columns: repeat(3, 428px);
    padding: 0 59px;
    justify-content: space-between;
  }
  .recent-card:not(:nth-child(4n))::after { display: none; }
  .recent-card:not(:nth-child(3n))::after {
    content: "";
    display: block;
    position: absolute;
    top: 0; bottom: 0; width: 1px;
    background: #3a3a3a;
    z-index: 2;
    left: 100%;
    transform: translateX(calc((100vw - 3 * 428px - 118px) / 4));
  }
}
@media (max-width: 1401px) {
  .recent-grid { padding: 0 30px; }
  .recent-card:not(:nth-child(3n))::after {
    transform: translateX(calc((100vw - 3 * 428px - 60px) / 4));
  }
}
@media (max-width: 1344px) {
  .recent-grid { padding: 0 10px; }
  .recent-card:not(:nth-child(3n))::after {
    transform: translateX(calc((100vw - 3 * 428px - 20px) / 4));
  }
}

/* ─── 2 columns ─── */
@media (max-width: 1304px) {
  .recent-grid {
    grid-template-columns: repeat(2, 428px);
    padding: 0 59px;
    justify-content: space-between;
  }
  .recent-card:not(:nth-child(4n))::after,
  .recent-card:not(:nth-child(3n))::after { display: none; }
  .recent-card:not(:nth-child(2n))::after {
    content: "";
    display: block;
    position: absolute;
    top: 0; bottom: 0; width: 1px;
    background: #3a3a3a;
    z-index: 2;
    left: 100%;
    transform: translateX(calc((100vw - 2 * 428px - 118px) / 2));
  }
}
@media (max-width: 973px) {
  .recent-grid { padding: 0 20px; }
  .recent-card:not(:nth-child(2n))::after {
    transform: translateX(calc((100vw - 2 * 428px - 40px) / 2));
  }
}
@media (max-width: 916px) {
  .recent-grid { padding: 0; }
  .recent-card:not(:nth-child(2n))::after {
    transform: translateX(calc((100vw - 2 * 428px) / 2));
  }
}

/* ─── 1 column ─── */
@media (max-width: 856px) {
  .recent-grid {
    grid-template-columns: 428px;
    padding: 0 20px;
    justify-content: center;
  }
  .recent-card::after,
  .recent-card:not(:nth-child(4n))::after,
  .recent-card:not(:nth-child(3n))::after,
  .recent-card:not(:nth-child(2n))::after { display: none !important; }
}

/* ─── fluid ─── */
@media (max-width: 468px) {
  .recent-grid {
    grid-template-columns: 1fr;
    padding: 0 16px;
  }
  .recent-card { width: 100%; height: auto; }
  .recent-card-img img { height: 240px; }
}
/* ── Projects Gallery Page ────────────────────────────── */
.page-header {
  padding: 120px 64px 40px;
  border-bottom: 1px solid var(--border);
}
.page-title {
  font-size: clamp(48px, 8vw, 120px); font-weight: 700;
  letter-spacing: -0.05em; text-transform: uppercase; line-height: 0.88;
}
.page-sub { font-size: 13px; font-weight: 300; color: var(--muted); margin-top: 20px; letter-spacing: 0.05em; }

.filter-bar {
  display: flex; align-items: center; gap: 0;
  border-bottom: 1px solid var(--border); padding: 0 64px;
  overflow-x: auto; scrollbar-width: none;
}
.filter-bar::-webkit-scrollbar { display: none; }
.filter-btn {
  background: none; padding: 20px 24px; white-space: nowrap;
  font-size: 11px; font-weight: 400; letter-spacing: 0.15em; text-transform: uppercase;
  color: var(--muted); border-bottom: 2px solid transparent; margin-bottom: -1px;
  transition: color var(--fast), border-color var(--fast);
}
.filter-btn:hover  { color: var(--white); }
.filter-btn.active { color: var(--white); border-bottom-color: var(--white); }

.proj-count { padding: 16px 64px; font-size: 11px; color: var(--muted); letter-spacing: 0.1em; }

.proj-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 2px; padding: 0 0 80px;
}
.proj-card { position: relative; overflow: hidden; display: block; }
.proj-card img {
  width: 100%; aspect-ratio: 5/4; object-fit: cover;
  filter: brightness(0.75);
  transition: transform 0.7s var(--soft), filter 0.5s ease; display: block;
}
.proj-card:hover img { transform: scale(1.04); filter: brightness(0.88); }
.proj-card-info {
  padding: 14px 18px 18px;
  background: var(--off); border-top: 1px solid var(--border);
}
.pc-cat  { font-size: 9px; font-weight: 400; letter-spacing: 0.35em; text-transform: uppercase; color: var(--muted); margin-bottom: 5px; }
.pc-name { font-size: 13px; font-weight: 600; letter-spacing: -0.01em; text-transform: uppercase; line-height: 1.25; }
.pc-sub  { font-size: 10px; color: var(--muted); margin-top: 4px; }

/* ── Project Detail Page ──────────────────────────────── */
.pd-hero {
  position: relative; width: 100%; height: 90vh; min-height: 560px; overflow: hidden;
}
.pd-hero-bg { position: absolute; inset: 0; background: center/cover no-repeat; }
.pd-hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to bottom, rgba(12,12,12,0.15) 0%, rgba(12,12,12,0.0) 40%, rgba(12,12,12,0.6) 100%);
}
.pd-hero-bottom {
  position: absolute; bottom: 0; left: 0; right: 0; z-index: 2;
  padding: 0 59px 28px;
}
.pd-hero-name {
  font-size: 40px; font-weight: 400; letter-spacing: 0.01em;
  color: var(--white);
}

/* Gallery pair */
.pd-pair {
  display: grid; grid-template-columns: 60fr 826px; gap: 2px;
  background: var(--black); border-top: 1px solid var(--border);
  position: relative;
}
.pd-pair img {
  width: 100%; height: 420px; object-fit: cover;
  display: block; filter: brightness(1);
    transform: scale(0.85);
  opacity: 0.4;
  transition: transform 0.9s cubic-bezier(0.16, 1, 0.3, 1),
              opacity 0.9s ease;
  will-change: transform, opacity;
}
.pd-pair img.in-view {
  transform: scale(1);
  opacity: 1;
}
#pd-gallery-name{
  position: absolute;
  top: 779px;
  left: 90px;
  font-size: 30px;
}

.pd-pair .pd-image-container2  {
  display: flex;
  justify-content: flex-end;
  /* width: ; */
}
.pd-pair .pd-image-container2 {
  width: 100% ;
}
.pd-pair .pd-image-container2 img{
   height: 888px; object-fit: cover;
  display: block; filter: brightness(1);
  /* position: absolute; */
  right: 0; bottom: 0;
}
.pd-pair .pd-image-container1 img{
  margin-left: 90px;
  margin-top: 90px;
  width: 847px; 
  height: 475px; object-fit: cover;
  display: block; filter: brightness(1);
}
/* Overview */
.pd-overview {
  margin: 79px 59px 75px 59px;

  display: grid; grid-template-columns: 364px 60fr; gap: 0;
  /* border-top: 1px solid var(--border); */
  background: var(--black);
}
.pd-ov-left {
  /* padding: 20px 20px 20px 20px; */
  flex-shrink: 0;              /* يمنع الكلمة من الانضغاط أو الالتواء */
  /* border-right: 1px solid var(--border); */
  background: var(--black);
}
.pd-ov-title {
  font-size: 15px; font-weight: 500; letter-spacing: -0.01em;
  line-height: 1.3; color: var(--white); margin-bottom: 14px;
  padding-bottom: 14px; border-bottom: 1px solid var(--border);
}
.pd-meta-list { display: flex; flex-direction: column; }
.pd-meta-row {
  display: flex; 
   /* gap: 3%; */
  padding: 6px 0;
   /* border-bottom: 1px solid var(--border); */
}
.pd-meta-row:nth-child(1) {
  margin-bottom: 36px;
}
.pd-meta-row:nth-child(2) {
  margin-bottom: 57px;
}

.pd-meta-row:nth-child(3) {
  margin-bottom: 30px;
}


.f-socials-pd {
 display: flex; 
  gap: 16px; /* مسافة بين الأيقونات */
  align-items: center; 
  margin-top: 12px;
  
}
.pd-meta-lbl {
  width: 60px;                /* حل السحر: عرض ثابت يضمن محاذاة جميع القيم بدقة */
  flex-shrink: 0;              /* يمنع الكلمة من الانضغاط أو الالتواء */
      letter-spacing: 0 !important;

  font-size: 14px;
  color: white;         /* لون أبيض واضح للمحتوى الأساسي */
  font-weight: bold;

  letter-spacing: 0.1em;
} .pd-meta-val {
  flex-grow: 1;
  color: var(--muted);         /* لون رمادي خافت أو مائل للشفافية */
  font-size: 14px;
  padding-left: 10px;          /* مسافة أمان صغيرة بعد العنوان */
}
.pd-ov-right {
  padding: 0;
  padding-left: 107px;
  background: var(--black);
}
.pd-brief {
  font-size: 36px; font-weight: 300; 
  color: white;
}

/* Content section */
.pd-content {
  padding: 64px 59px 71px;
  display: grid; grid-template-columns:364px 100fr; gap: 0;
  border-top: 1px solid var(--border);
  background: var(--black);
  padding-top: 2%;

}
.pd-fact-row:nth-child(1) .pd-fact-lbl {
  font-size: 15px !important;
  margin-bottom: 38px !important;
}
.pd-fact-row:nth-child(1) .pd-fact-val {
  display: none !important;
}
.pd-fact-row:nth-child(2) .pd-fact-val {
  display: none !important;
}
.pd-fact-row:nth-child(2) .pd-fact-lbl {
  margin-bottom: 55px;
}
.pd-facts-col {
  /* padding: 36px 28px 48px 48px; */
  border-right: 1px solid var(--border);
  background: var(--black);
  position: sticky;
top: 10%;
align-self: start;    /* ضروري عشان الـ grid يسمح بالـ sticky */
max-height: 100vh;
overflow-y: auto;     /* لو المحتوى أطول من الشاشة يتسكرول */
}
.pd-fact-row { 
  margin-bottom: 24px;
 }
.pd-fact-lbl {
  font-size: 14px;
   font-weight: bold;
   /* letter-spacing: 0.28em; */
  /* text-transform: uppercase; */
  color: white; 
  margin-bottom: 10px;
}
.pd-fact-val {
  font-size: 12px; font-weight: 300;
  color: #aeb0b2; 
  line-height: 1.55;

}
.pd-body-col {
  padding: 36px 64px 64px 48px;
  background: var(--black);
}
.pd-body-h {
  font-size: clamp(18px, 2vw, 35px); font-weight: 400;
  letter-spacing: -0.02em; line-height: 1.25;
  color: var(--white); margin-bottom: 24px;
}
.pd-body-p {
    font-size: 15px;
    font-weight: 400;
    line-height: 1.85;
    color: rgb(242 237 232 / 86%);
    margin-bottom: 36px;
}
.pd-body-img { margin: 0 -48px 0 0; }
.pd-body-img img {
  /* width: 100%; height: auto; max-height: 640px; */
  object-fit: cover; display: block; filter: brightness(0.95);
}
.pd-body-cap {
  font-size: 12px; 
   color: white;
   padding: 8px 0 36px;
   font-family: var(--font);
}

/* More grid */
.more-work { background: #ffffff; border-top: 1px solid rgba(0,0,0,0.08); padding: 0; }
.more-work .section-head { border-bottom:none; }
.more-work .section-label {
   color: black;
  font-size: 40px;
  margin-top: 68px;
  }
.more-work .section-link  { color: rgba(0,0,0,0.4); }
.more-work .section-link:hover { color: #000; }
.pd-more-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 16px; padding: 68px 59px;
  padding-top: 0;
  /* border-top: 1px solid rgba(0,0,0,0.08); */
  background: #ffffff;
}

.pd-more-card { display: block; 
position: relative;}
.pd-more-card:not(:nth-child(4n))::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 1px;
  background: rgba(0, 0, 0, 0.486);
  z-index: 2;

  /* ── الحل السحري هنا ── */
  /* بنقوله أقف على الحافة اليمين للكارت (100%) وزود عليها نص مسافة الـ gap بالظبط */
  left: calc(100% + 8px); 
}
.pd-more-img { overflow: hidden; }
.pd-more-img img {
  width: 100%; aspect-ratio: 4/3; object-fit: cover; filter: brightness(1);
  transition: transform 0.7s var(--soft), filter 0.5s; display: block;
}
.pd-more-card:hover .pd-more-img img { transform: scale(1.04); }
.pd-more-info { padding: 10px 0 4px; border-top: 1px solid rgba(0,0,0,0.08); margin-top: 1px; }
.pd-more-cat  { font-size: 13px; font-weight: 600;
  color: black; margin-bottom: 4px; }
.pd-more-name { font-size: 14px; font-weight: 300; letter-spacing: -0.01em; line-height: 1.3; margin-bottom: 3px; color: #000; }
.pd-more-loc  { font-size: 12px; color: rgba(0,0,0,0.65); }

/* ── News Page ────────────────────────────────────────── */
.news-featured {
  display: grid; grid-template-columns: 1fr 1fr;
  min-height: 540px; border-bottom: 1px solid var(--border);
  margin: 0 64px;
}
.nf-img { overflow: hidden; }
.nf-img img { width: 100%; height: 100%; object-fit: cover; filter: brightness(0.85); transition: transform 0.7s var(--soft); min-height: 480px; display: block; }
.news-featured:hover .nf-img img { transform: scale(1.03); }
.nf-body { padding: 64px 56px; display: flex; flex-direction: column; justify-content: center; background: var(--off); }
.nf-tag  { font-size: 9px; font-weight: 500; letter-spacing: 0.4em; text-transform: uppercase; color: var(--muted); margin-bottom: 20px; }
.nf-h    { font-size: clamp(22px, 2.8vw, 38px); font-weight: 700; letter-spacing: -0.02em; text-transform: uppercase; line-height: 1.1; margin-bottom: 20px; }
.nf-exc  { font-size: 14px; font-weight: 300; line-height: 1.8; color: var(--muted); flex: 1; margin-bottom: 32px; }
.nf-date { font-size: 10px; font-weight: 300; letter-spacing: 0.15em; color: rgba(242,237,232,0.35); }

.news-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 2px; margin: 2px 64px 80px;
}
.news-article { display: block; background: var(--off); overflow: hidden; }
.na-img { overflow: hidden; }
.na-img img { width: 100%; aspect-ratio: 16/9; object-fit: cover; filter: brightness(0.8); transition: transform 0.7s var(--soft); display: block; }
.news-article:hover .na-img img { transform: scale(1.04); }
.na-body { padding: 24px 24px 28px; }
.na-tag  { font-size: 9px; font-weight: 500; letter-spacing: 0.4em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; }
.na-h    { font-size: 15px; font-weight: 600; letter-spacing: -0.01em; text-transform: uppercase; line-height: 1.2; margin-bottom: 10px; }
.na-exc  { font-size: 12px; font-weight: 300; line-height: 1.75; color: var(--muted); }
.na-date { font-size: 10px; color: rgba(242,237,232,0.32); letter-spacing: 0.1em; margin-top: 12px; }

/* ── Careers Page ─────────────────────────────────────── */
.careers-intro-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 2px;
  margin: 2px 0 0; border-top: 1px solid var(--border);
  min-height: 480px;
}
.ci-text { padding: 80px 64px; background: var(--off); display: flex; flex-direction: column; justify-content: center; }
.ci-h { font-size: clamp(24px, 3vw, 40px); font-weight: 700; letter-spacing: -0.03em; text-transform: uppercase; line-height: 1.05; margin-bottom: 24px; }
.ci-p { font-size: 14px; font-weight: 300; line-height: 2; color: var(--muted); max-width: 400px; }
.ci-img { overflow: hidden; }
.ci-img img { width: 100%; height: 100%; object-fit: cover; filter: brightness(0.82); min-height: 420px; display: block; transition: transform 0.8s var(--soft); }
.ci-img:hover img { transform: scale(1.03); }

.jobs-section { padding: 0 64px 80px; }
.jobs-list { border-top: 1px solid var(--border); }
.job-row {
  display: grid; grid-template-columns: 1fr 200px 200px 40px;
  align-items: center; gap: 24px; padding: 28px 0;
  border-bottom: 1px solid var(--border);
  transition: padding-left 0.3s var(--ease);
}
.job-row:hover { padding-left: 16px; }
.job-title { font-size: 16px; font-weight: 600; letter-spacing: -0.01em; text-transform: uppercase; }
.job-dept  { font-size: 10px; font-weight: 400; letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted); }
.job-loc   { font-size: 12px; font-weight: 300; color: var(--muted); letter-spacing: 0.06em; }
.job-arrow { font-size: 16px; color: rgba(242,237,232,0.28); text-align: right; transition: color var(--fast), transform var(--fast); }
.job-row:hover .job-arrow { color: var(--white); transform: translateX(4px); }
.no-jobs { padding: 60px 0; font-size: 14px; color: var(--muted); letter-spacing: 0.1em; text-align: center; }

/* ── Contact Page ─────────────────────────────────────── */
.contact-layout {
  display: grid; grid-template-columns: 1fr 1fr;
  margin: 2px 0; border-top: 1px solid var(--border);
}
.offices { padding: 80px 64px; background: var(--off); }
.offices-h { font-size: clamp(28px, 3.5vw, 48px); font-weight: 700; letter-spacing: -0.03em; text-transform: uppercase; line-height: 1.0; margin-bottom: 56px; }
.offices-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.office-card {}
.office-city { font-size: 14px; font-weight: 600; letter-spacing: -0.01em; text-transform: uppercase; margin-bottom: 14px; padding-bottom: 14px; border-bottom: 1px solid var(--border); }
.office-detail { font-size: 12px; font-weight: 300; line-height: 2; color: var(--muted); }
.office-detail a { color: var(--muted); transition: color var(--fast); }
.office-detail a:hover { color: var(--white); }

.contact-form-col { padding: 80px 64px; background: var(--black); }
.cf-h { font-size: 20px; font-weight: 600; letter-spacing: -0.02em; text-transform: uppercase; margin-bottom: 40px; }
.cf-form { display: flex; flex-direction: column; gap: 0; }
.cf-field { border-bottom: 1px solid var(--border); padding: 20px 0; position: relative; }
.cf-field:first-of-type { border-top: 1px solid var(--border); }
.cf-label { font-size: 9px; font-weight: 500; letter-spacing: 0.38em; text-transform: uppercase; color: rgba(242,237,232,0.4); margin-bottom: 8px; display: block; transition: color 0.25s; }
.cf-field:focus-within .cf-label { color: var(--white); }
.cf-input, .cf-textarea, .cf-select {
  background: none; border: none; width: 100%;
  font-size: 14px; font-weight: 300; color: var(--white);
  letter-spacing: 0.01em; resize: none;
  -webkit-appearance: none;
}
.cf-input::placeholder, .cf-textarea::placeholder { font-family: var(--font) !important; }
.cf-textarea { min-height: 100px; }
.cf-select option { background: #1a1a1a; }
.cf-field::after {
  content: ''; position: absolute; bottom: -1px; left: 0;
  width: 0; height: 1px; background: var(--white);
  transition: width 0.45s var(--ease);
}
.cf-field:focus-within::after { width: 100%; }
.cf-submit {
  margin-top: 32px; align-self: flex-start;
  background: var(--white); color: var(--black);
  font-size: 10px; font-weight: 600;
  padding: 14px 40px; cursor: pointer;
  transition: background var(--fast), color var(--fast);
  border: 1px solid var(--white);
}
.cf-submit:hover { background: transparent; color: var(--white); }
.cf-success { margin-top: 20px; font-size: 12px; color: rgba(242,237,232,0.6); letter-spacing: 0.08em; display: none; }
.cf-success.show { display: block; }

/* ── Responsive ───────────────────────────────────────── */
@media (max-width: 1100px) {
  .feat-grid     { grid-template-columns: repeat(2,1fr); }
  .exp-grid      { grid-template-columns: repeat(2,1fr); padding: 0 32px 48px; gap: 20px; }
  .pstrip-grid   { grid-template-columns: repeat(2,1fr); padding: 24px 32px 48px; gap: 20px; }
  .more-grid     { grid-template-columns: repeat(2,1fr); }
  .footer        { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 900px) {
  .pd-facts-col{
    position: relative;
    padding: 28px 59px;
  }
  .pd-body-col{
    padding: 64px 59px !important;
  }
.pd-pair {
  display: flex; flex-direction: column; gap: 10%;
  align-items: center;
  background: var(--black); border-top: 1px solid var(--border);
  position: relative;
}
.pd-pair img {
  width: 100%; height: 420px; object-fit: cover;
  display: block; filter: brightness(1);
    transform: scale(0.85);
  opacity: 0.4;
  transition: transform 0.9s cubic-bezier(0.16, 1, 0.3, 1),
              opacity 0.9s ease;
  will-change: transform, opacity;
}
#pd-gallery-name {
    position: relative;
    top: 10px;
    /* bottom: 0; */
    left: -40%;
    font-size: 25px;
}
.pd-pair .pd-image-container1  img,.pd-pair .pd-image-container1  {
  width: auto; height: 200px; object-fit: cover;
  display: block; filter: brightness(1);
    margin-left: 0px;
  margin-top:20px;
}
.pd-pair .pd-image-container2 img ,.pd-pair .pd-image-container2  {
  margin-left: 0px;
  margin-top:20px;
  width: fit-content  ; 
  height: 150px; object-fit: cover;
  display: block; filter: brightness(1);
}
  #nav           { padding: 0 24px 0 24px; height: 72px; }
  .hero-bottom   { padding: 0 24px 32px; }
  .hero-title    { font-size: clamp(20px, 4.5vw, 32px); max-width: 85%; margin-bottom: 32px; }
  .section-head  { padding: 40px 24px 24px; }
  .feat-grid     { grid-template-columns: repeat(2,1fr); }
  .vision-inner  { grid-template-columns: 1fr; }
  #vision        { margin-top: 60px; }
  .vision-left   { padding: 48px 24px 32px; border-right: none; border-bottom: 1px solid var(--border); }
  .vision-right  { padding: 48px 24px 64px; }
  .vision-text   { font-size: clamp(28px, 5vw, 48px); }
  .vision-stats  { flex-direction: row; gap: 40px; margin-top: 24px; }
  #purpose       { padding: 80px 24px; }
  .stats-row     { gap: 40px; }
  .exp-grid      { grid-template-columns: repeat(2,1fr); }
  .exp-card img  { height: 480px; }
  .pstrip-grid   { grid-template-columns: repeat(2,1fr); }
  .news-layout   { grid-template-columns: 1fr; margin: 0 24px; }
  .news-feat img { height: 360px; }
  .studio-grid   { grid-template-columns: 1fr; }
  .studio-img-col { display: none; }
  .studio-text-col { padding: 64px 24px; }
  #culture       { padding: 72px 24px 60px; }
  .culture-h     { font-size: 28px; }
  .culture-p     { font-size: 16px; max-width: 100%; }
  #newsletter    { grid-template-columns: 1fr;  padding: 64px 24px; }
  .nl-head       { font-size: 28px; max-width: 100%; }
  .nl-form       { padding-top: 0; }
  footer         { padding: 48px 24px; flex-direction: column; align-items: flex-start; gap: 48px; }
  .f-top         { width: auto; }
  .f-bottom      { align-items: flex-start; }
  .f-nav-row a   { font-size: 12px; padding-right: 14px; }
  .page-header   { padding: 120px 24px 48px; }
  .filter-bar    { padding: 0 24px; }
  .proj-count    { padding: 12px 24px; }
  .proj-grid     { grid-template-columns: repeat(2,1fr); padding-bottom: 60px; }
  .pd-pair       { grid-template-columns: 1fr; }
  .pd-pair img   { height: 260px; }
  .pd-overview   { grid-template-columns: 1fr; }
  .pd-ov-left    {  border-right: none; border-bottom: 1px solid var(--border); }
  .pd-ov-right   { padding: 28px 24px; }
  .pd-content    { grid-template-columns: 1fr; }
  .pd-facts-col  { padding: 28px 24px; border-right: none; border-bottom: 1px solid var(--border); }
  .pd-body-col   { padding: 28px 24px 48px; }
  .pd-body-img   { margin: 0; }
  .pd-more-grid  { grid-template-columns: repeat(2,1fr); padding: 16px 24px 32px; }
  .pd-more-grid  { grid-template-columns: 1fr; }
  .news-featured { grid-template-columns: 1fr; margin: 0 24px; }
  .nf-body       { padding: 40px 32px; }
  .news-grid     { grid-template-columns: 1fr; margin: 2px 24px 60px; }
  .careers-intro-grid { grid-template-columns: 1fr; }
  .ci-img        { display: none; }
  .ci-text       { padding: 64px 24px; }
  .jobs-section  { padding: 0 24px 60px; }
  .job-row       { grid-template-columns: 1fr auto; }
  .job-dept, .job-loc { display: none; }
  .contact-layout { grid-template-columns: 1fr; }
  .offices       { padding: 64px 24px; }
  .contact-form-col { padding: 64px 24px; }
  .offices-grid  { grid-template-columns: 1fr; gap: 32px; }
}

@media (max-width: 600px) {
  .pstrip-grid   { grid-template-columns: 1fr; padding: 20px 20px 40px; gap: 16px; }
  .feat-grid     { grid-template-columns: 1fr; }
  .exp-grid      { grid-template-columns: 1fr; padding: 0 20px 40px; gap: 16px; }
  .exp-card img  { height: 360px; }
  .more-grid     { grid-template-columns: 1fr; }
  .news-grid     { grid-template-columns: 1fr; }
  .hero-title    { font-size: clamp(18px, 5.5vw, 28px); }
  .proj-title    { font-size: clamp(32px, 10vw, 56px); }
  .f-nav-row     { flex-wrap: wrap; }
  .f-nav-row a   { flex: none; padding-right: 12px; font-size: 12px; }
  .gal-pair      { grid-template-columns: 1fr; }
  .proj-grid     { grid-template-columns: 1fr; }
  .section-label { font-size: 12px; }
  .recent-cat    { font-size: 12px; }
  .recent-name   { font-size: 15px; }
  .recent-date   { font-size: 13px; }
  .pstrip-cat    { font-size: 12px; }
  .pstrip-name   { font-size: 15px; }
  .pstrip-loc    { font-size: 13px; }
  .nl-head       { font-size: 24px; }
  .nl-btn        { font-size: 16px; }
  .culture-h     { font-size: 24px; }
  .culture-p     { font-size: 14px; }
}

/* 2. خدعة الـ CSS لترتيب الـ Size (الأسطر 6 و 7 و 8) */
/* السطر رقم 6 (Site Area) سنتركه يظهر ونلغي الهامش السفلي منه */
.pd-facts-col .pd-fact-row:nth-child(6) {
  margin-bottom: 4px;
}
/* السطر رقم 7 (Gross Area): سنخفي العنوان ونترك القيمة فقط تندمج تحت السطر السابق */
.pd-facts-col .pd-fact-row:nth-child(7) {
  margin-bottom: 4px;
}
.pd-facts-col .pd-fact-row:nth-child(7) .pd-fact-lbl {
  display: none;
}
.pd-facts-col .pd-fact-row:nth-child(7) .pd-fact-val::before {
  content: "Gross Area: "; /* إضافة التمييز بالـ CSS */
}
.pd-facts-col .pd-fact-row:nth-child(6) .pd-fact-val::before {
  content: "Site Area: ";
}
/* السطر رقم 8 (Stories): نخفي العنوان ونترك القيمة */
.pd-facts-col .pd-fact-row:nth-child(8) {
  margin-bottom: 24px; /* نرجع الهامش الطبيعي بعد انتهاء تجميعة الـ Size */
}
.pd-facts-col .pd-fact-row:nth-child(8) .pd-fact-lbl {
  display: none;
}
.pd-facts-col .pd-fact-row:nth-child(8) .pd-fact-val::before {
  content: "Stories: ";
}

/* 3. خدعة الـ CSS لحل تكرار الـ Collaborators (الأسطر 11 و 12 و 13) */
/* السطور 11 و 12 مكررة وبها قيم مفردة، سنقوم بإخفائها تماماً بالـ CSS */
.pd-facts-col .pd-fact-row:nth-child(11),
.pd-facts-col .pd-fact-row:nth-child(12) {
  display: none;
}

/* السطر رقم 13 يحتوي على القائمة الكاملة المجمعة بداخلها <br>، سننسقها لتظهر كقائمة عمودية */
.pd-facts-col .pd-fact-row:nth-child(13) .pd-fact-val {
  line-height: 1.7; /* إعطاء مساحة مريحة بين الأسطر المكسورة بـ <br> */
}


/* ── العمود الأيمن (النص والصور) ── */
.pd-body-col {
  padding: 0px;
  padding-left: 107px; 
  background: var(--black);
}

.pd-body-h {
  font-size: 44px; 
  /* font-weight: 400; */
  /* letter-spacing: -0.01em;  */
  /* line-height: 1.2; */
  color: var(--white); 
  margin-bottom: 45px;
}

.pd-body-p {
  font-size: 22px; 
  font-weight: 100; 
  /* line-height: 1.75; */
  color: white; 
  margin-bottom: 68px;
}

.pd-body-img { 
  margin: 68px 0 114px 0; /* إلغاء المارجن السالب لجعل الصور تحاذي الهامش الأيمن النظيف */
}

.pd-body-img img {
  width: 1330px; 
  height: 1662px; 
  display: block; 
  filter: brightness(0.95);
}

.pd-body-cap {
  font-size: 12px; 
  font-weight: 300; 
  color: white;
}
.custom-copyright {
  color: #aeb0b2;       /* تغيير اللون لرمادي مثلاً */
  /* font-weight: bold;     جعل الخط عريض */
  font-size: 12px;      /* تصغير الحجم قليلاً */
  margin-left: 8px;      /* مسافة بينها وبين الكلام اللي قبلها */
  display: inline-block; /* عشان تضمن إنها تظهر بشكل مظبوط */
}
.last-gallery-img-2 {
  width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding:71px 59px;
}
.last-gallery-img-2 img{
width: 100%;
}.last-gallery-img-2 {
  grid-column: 1 / -1; /* يخلي الصورة تفرش من أول الشاشة لآخرها تحت العمودين */
  width: 100%;
}
/* حاوية الأسهم الكبيرة العائمة */
.jobs-pagination-overlay {
  position: absolute;
  top: 55%;
  left: 0;
  right: 0;
  transform: translateY(-50%);
  pointer-events: none; /* عشان تضغط على الوظائف عادي من تحتها */
  z-index: 10;
}

/* شكل أزرار الأسهم الدائرية الشفافة */
.job-nav-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: auto; /* تفعيل الضغط على السهم نفسه */
  background: rgba(255, 255, 255, 0.08); /* خلفية شفافة أنيقة */
  border: none;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
}

/* سهم الشمال (السابق) */
.job-nav-arrow.prev {
  left: -60px; /* بيطلع بره حاوية الوظائف على الشمال تماماً زي الصورة */
}

/* سهم اليمين (التالي) */
.job-nav-arrow.next {
  right: -60px; /* بيطلع بره حاوية الوظائف على اليمين تماماً زي الصورة */
}

/* مقاس ولون السهم جوه الدائرة */
.job-nav-arrow svg {
  width: 24px;
  height: 24px;
  stroke: #ffffff; /* لون السهم أبيض */
  stroke-width: 2;
  fill: none;
}

/* تأثير تمرير الماوس فوق السهم */
.job-nav-arrow:hover:not(:disabled) {
  background: rgba(255, 255, 255, 0.2);
}

/* إخفاء السهم تماماً لما يوصل لأول صفحة أو آخر صفحة بشكل مريح للعين */
.job-nav-arrow:disabled {
  opacity: 0;
  pointer-events: none;
}
.job-nav-arrow.prev{
width: 50px;
height: 50px;
}
/* لتأمين عدم خروج الأسهم خارج الشاشة في الموبايل */
@media (max-width: 1200px) {
  .job-nav-arrow.prev { left: 10px; }
  .job-nav-arrow.next { right: 10px; }
  .jobs-pagination-overlay { top: 40%; }
}

/* ── Contact Section ──────────────────────────────────── */
#contact {
  position: relative;
  z-index: 1;
  background: white;
  border-top: 1px solid #d8d3ce;
}

.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.contact-left {
  padding: 55px 59px;
  padding-top: 58px;

  /* border-right: 1px solid #d8d3ce; */
  display: flex;
  align-items: flex-start;
}

.contact-title {
  font-size: 40px;
  font-weight: 100;
  letter-spacing: -0.03em;
  color: #1a1a1a;
  line-height: 1.1;
}

.contact-right {
  padding: 55px 59px;
  padding-left: 0px;
  padding-bottom: 105px;
  background: #fff;
}

.cf-form {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.cf-row {
  /* border-bottom: 1px solid #d8d3ce; */
  position: relative;
}


.cf-input,
.cf-select,
.cf-textarea {
  display: block;
  width: 100%;
  background: #f4f4f4;
  border: none;
  border-radius: 30px;
  margin-bottom: 37px;
  font-size: 20px;
  font-weight: 300;
  color: #6d6f71;
  font-family: var(--font) !important;
  padding: 18px 0;
  letter-spacing: 0.01em;
  resize: none;
  -webkit-appearance: none;
  padding: 26px      20px;
}

.cf-input::placeholder,
.cf-textarea::placeholder {
  color:  #6d6f71 !important;
  font-weight: 300;
  font-size: 20px !important;
   font-family: var(--font) !important;
}


.cf-select {
  font-family: var(--font);
  color: #6d6f71;
  font-size: 20px;

}

.cf-select.filled  {
  color: #1a1a1a;
  font-weight: 300;

}

.cf-select option {
  font-weight: 300;
  color: #6d6f71;
}
.cf-row-select ,.ccf-row-select {
  display: flex;
  align-items: center;
}

.cf-arrow {
  position: absolute;
  display: flex;
  right: 10px;
  transform: translate(0, -50%);
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  color: #aaa;
  pointer-events: none;
  margin-right: 4px;
  
  /* جعل حركة لف السهم ناعمة وسلسة */
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1); 
}

.cf-arrow svg {
  width: 28px;
  height: 28px;
}

/* عندما يتم الضغط على الـ select، السهم المالي له مباشرة يلف 180 درجة */
.cf-select:focus ~ .cf-arrow {
  transform: translate(0, -50%) rotate(180deg);
}
.cf-row-textarea .cf-textarea {
  min-height: 264px;
  padding-top: 18px;
  /* width: 904px; */
}

/* .cf-row::after {
  content: ''; position: absolute; bottom: -1px; left: 0;
  width: 0; height: 1px; background: #1a1a1a;
  transition: width 0.45s var(--ease);
} */
/* .cf-row:focus-within::after { width: 100%; } */
.cf-row-submit {
  border: none;
  /* padding-top: 37px; */
  margin-bottom: 25px;
}

.cf-row-submit::after {
  display: none;
}

.cf-submit {
  background: #f4f4f4;
  font-weight: 500;
  padding: 14px 0;
  width: 100%;
  cursor: pointer;
  border-radius: 30px;
  border: none;
  transition: background var(--fast), color var(--fast), border-color var(--fast);
   /* color: #a4a4a4; */
  font-size: 20px;
  color:  #a4a4a4 !important;

}

.cf-submit:hover {
  background: #1a1a1a;
  color: #ffffff;
  border-color: #1a1a1a;
}

.cf-success {
  margin-top: 16px;
  font-size: 12px;
  color: #666;
  letter-spacing: 0.08em;
  display: none;
}

.cf-success.show {
  display: block;
}

/* ══════════════════════════════════════════════════════════════════════
   RESPONSIVE OVERHAUL — Tablet (≤1024px) & Phone (≤600px) ONLY
   Desktop (≥1025px) is intentionally left exactly as it was.
   Appended last so it cleanly overrides the older fixed-pixel rules
   (428px / 582px / 1330px cards & images) that caused horizontal overflow.
   Inspiration: clean, generous, image-led layout (Foster + Partners).
   ══════════════════════════════════════════════════════════════════════ */
@media (max-width: 1024px) {

  /* ── Nav ── */
  #nav { padding: 0 28px; }

  /* ── Hero ── */
  #hero { height: 80vh; min-height: 460px; }
  .hero-bottom { padding: 0 28px 40px; }
  .hero-pause { right: 28px; bottom: 34px; }
  .hero-eyebrow { margin-bottom: 12px; }
  .hero-title { font-size: clamp(26px, 4.4vw, 38px); max-width: 90%; margin-bottom: 38px; }

  /* ── Section heads ── */
  .section-head,
  #expertise .section-head,
  #proj-strip .section-head { padding: 44px 28px 22px; }

  /* ── Project card grids (Recent + Strip): fluid 2-up, no fixed widths/dividers ── */
  .recent-grid,
  .pstrip-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 26px 18px;
    padding: 0 28px 8px;
    justify-content: stretch;
  }
  .recent-card,
  .pstrip-card { width: 100%; height: auto; }
  .recent-card::after,
  .pstrip-card::after { display: none !important; }
  .recent-card-img img,
  .pstrip-card-img img { height: 30vw; max-height: 320px; min-height: 180px; }
  .recent-info { padding: 22px 6px 8px; }

  /* ── Expertise: full-width, image-led stack ── */
  .exp-grid { padding: 0 28px 32px; column-gap: 18px; row-gap: 28px; }
  .exp-card { width: 100%; height: auto; }
  .exp-card::after { display: none !important; }
  .exp-card img { height: 60vw; max-height: 560px; }
  .exp-label { padding: 64px 20px 22px; }
  .exp-title { font-size: clamp(24px, 4.4vw, 32px); }

  /* ── Vision ── */
  #vision { margin-top: 8px; }
  .vision-inner { grid-template-columns: 1fr; }
  .vision-left { padding: 48px 28px 14px; }
  .vision-right { padding: 4px 28px 56px; }
  .vision-text { font-size: clamp(28px, 5vw, 46px); max-width: 100%; }

  /* ── Culture ── */
  #culture { padding: 64px 28px 56px; }
  .culture-h { font-size: clamp(26px, 4vw, 34px); margin-bottom: 28px; }
  .culture-p { font-size: clamp(17px, 2.4vw, 22px); max-width: 100%; }

  /* ── Newsletter ── */
  #newsletter { grid-template-columns: 1fr; padding: 56px 28px; }
  .nl-head { font-size: clamp(24px, 4.5vw, 34px); max-width: 100%; }
  .nl-form { align-items: stretch; }

  /* ── Footer ── */
  footer { padding: 48px 28px; flex-direction: column; align-items: flex-start; gap: 40px; }
  .f-bottom { align-items: flex-start; }
  .f-nav-row { flex-wrap: wrap; gap: 14px 22px; }

  /* ── Projects page (pp-) ── */
  .pp-hero { height: 66vh; min-height: 400px; }
  .pp-hero-top { padding: 20px 28px; }
  .pp-hero-bottom { padding: 0 28px 40px; }
  .pp-page-title { font-size: clamp(30px, 6vw, 48px); }
  .pp-filter-bar { flex-wrap: wrap; padding: 28px; gap: 12px; }
  .pp-filter-bar::after { left: 28px; right: 28px; }
  .pp-search-wrap { flex: 1 1 100%; }
  .pp-select-wrap { flex: 1 1 100%; }
  .pp-select { width: 100%; min-width: 0; }
  .pp-strip-grid { padding: 16px 28px; }

  /* ── Contact section (studio.html#pstripGrid / projects.html) ── */
  .contact-layout { grid-template-columns: 1fr !important; }
  .contact-left { padding: 52px 28px 22px !important; }
  .contact-right { padding: 22px 28px 72px !important; }
  .contact-title { font-size: clamp(28px, 5.5vw, 40px); }

  /* ── Project detail (pd-) ── */
  .pd-hero { height: 70vh; min-height: 420px; }
  .pd-hero-bottom { padding: 0 28px 26px; }
  .pd-hero-name { font-size: clamp(26px, 5vw, 40px); }

  .pd-pair { display: flex !important; flex-direction: column; align-items: stretch; gap: 16px; padding: 0 28px; }
  .pd-pair img,
  .pd-pair .pd-image-container1 img,
  .pd-pair .pd-image-container2 img { width: 100% !important; height: auto !important; margin: 0 !important; transform: none; opacity: 1; }
  .pd-pair .pd-image-container1,
  .pd-pair .pd-image-container2 { width: 100% !important; margin: 0 !important; }
  #pd-gallery-name { position: relative; top: auto; left: 0 !important; font-size: 22px; padding: 12px 28px 0; }

  .pd-overview { grid-template-columns: 1fr; margin: 48px 28px; }
  .pd-ov-left { border-right: none; }
  .pd-ov-right { padding: 24px 0 0; }
  .pd-brief { font-size: clamp(22px, 3.6vw, 32px); }

  .pd-content { grid-template-columns: 1fr; padding: 40px 28px; }
  .pd-facts-col { position: relative; top: auto; max-height: none; overflow: visible; border-right: none; border-bottom: 1px solid var(--border); padding: 0 0 28px; }
  .pd-body-col { padding: 32px 0 0 !important; }
  .pd-body-h { font-size: clamp(26px, 4.4vw, 38px); margin-bottom: 24px; }
  .pd-body-p { font-size: clamp(16px, 2.4vw, 20px); margin-bottom: 40px; }
  .pd-body-img { margin: 32px 0 56px !important; }
  .pd-body-img img { width: 100% !important; height: auto !important; }

  .last-gallery-img-2 { padding: 40px 28px; }
  .pd-more-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; padding: 24px 28px 48px; }
  .pd-more-card::after,
  .pd-more-card:not(:nth-child(4n))::after { display: none !important; }
  .nl-input { margin-top: 25px !important; }

}
@media (max-width: 600px) {
  .f-logo{
    width: 150px;
  }
  /* ── Nav ── */
  #nav { padding: 0 20px; }
  .nav-logo img { width: 150px; }
  .nav-actions { gap: 24px; }

  /* ── Hero ── */
  #hero { height: 86vh; min-height: 440px; }
  .hero-bottom { padding: 0 20px 30px; }
  .hero-pause { right: 20px; bottom: 26px; width: 32px; height: 32px; }
  .hero-eyebrow { font-size: 12px; margin-bottom: 10px; }
  .hero-title { font-size: clamp(20px, 6vw, 28px); margin-bottom: 26px; }
  .hero-dots { gap: 16px; }

  /* ── Section heads ── */
  .section-head,
  #expertise .section-head,
  #proj-strip .section-head { padding: 36px 20px 18px; }

  /* ── Project cards → single column (phone width, as designed) ── */
  .recent-grid,
  .pstrip-grid { grid-template-columns: 1fr; gap: 30px; padding: 0 20px 8px; }
  .recent-card-img img,
  .pstrip-card-img img { height: 64vw; max-height: 380px; }

  /* ── Expertise ── */
  .exp-grid { padding: 0 20px 28px; row-gap: 22px; }
  .exp-card img { height: 86vw; max-height: 460px; }

  /* ── Vision ── */
  .vision-left { padding: 44px 20px 12px; }
  .vision-right { padding: 2px 20px 48px; }

  /* ── Culture / Newsletter / Footer ── */
  #culture { padding: 56px 20px 48px; }
  #newsletter { padding: 52px 20px; }
  .nl-input { margin-top: 25px; }
  footer { padding: 44px 20px; gap: 36px; }

  /* ── Projects page ── */
  .pp-hero-top { padding: 18px 20px; }
  .pp-hero-bottom { padding: 0 20px 34px; }
  .pp-filter-bar { padding: 24px 20px; }
  .pp-filter-bar::after { left: 20px; right: 20px; }
  .pp-strip-grid { padding: 12px 20px; }

  /* ── Contact ── */
  .contact-left { padding: 48px 20px 20px !important; }
  .contact-right { padding: 20px 20px 64px !important; }

  /* ── Project detail ── */
  .pd-hero-bottom { padding: 0 20px 22px; }
  .pd-pair { padding: 0 20px; }
  #pd-gallery-name { padding: 12px 20px 0; }
  .pd-overview { margin: 40px 20px; }
  .pd-content { padding: 36px 20px; }
  .last-gallery-img-2 { padding: 32px 20px; }
  .pd-more-grid { grid-template-columns: 1fr; padding: 20px 20px 44px; }
}

/* ══════════════════════════════════════════════════════════════════════
   NATIVE <select> DROPDOWN — option readability fix (all viewports)
   The OS-native option list ignores inherited colour, so set BOTH the
   background and the text colour explicitly on every <option>, themed to
   its control. Without this the Projects filter (dark) and the Contact
   form (light) rendered black text on a black panel = invisible options.
   This is a colour/contrast fix only — it does not alter any layout.
   ══════════════════════════════════════════════════════════════════════ */
/* color-scheme makes the OS-native popup paint in the right theme on the
   FIRST frame — this removes the white-flash-then-black when opening the
   dark dropdowns. */
.pp-select { color-scheme: dark; }   /* Projects filter — dark popup */
.cf-select { color-scheme: light; }  /* Contact form — light popup */

.pp-select option {            /* Projects filter — dark control */
  background-color: #1a1a1a;
  color: #F2EDE8;
}
.cf-select option {            /* Contact form — light control */
  background-color: #ffffff;
  color: #1a1a1a;
}