/* ── 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;
}
img:focus-visible{
  outline: none !important;
}
body::-webkit-scrollbar {
  display: none;
}
html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  background: var(--black);
  color: var(--white);
  overflow-x: hidden !important;
  cursor: none;
  -webkit-font-smoothing: antialiased;
  font-family: var(--font) !important;
}

img {
  display: block;
  max-width: 100%;
}

a {
  text-decoration: none;
  color: inherit;
}

button {
  cursor: none;
  border: none;
  outline: none;
}

input,
textarea,
select {
  outline: none;
}

.c-dot {
  position: fixed;
  z-index: 999999;
  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: 999998;
  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 ───────────────────────────────────────── */

/* ── 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: sticky;
  top: 0;
  width: 100%;
  /* height: 100vh; */
  height: 927px;
  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) 40%,
      rgba(12, 12, 12, 0.65) 100%);
}

.hero-bottom {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 2;
  padding: 0 59px 36px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
}

.hero-title {
  font-size: 44px;
  font-weight: 500;
  letter-spacing: -0.01em;
  line-height: 1.25;
  color: var(--white);
  max-width: 420px;
  margin-bottom: 20px;
}

.hero-bg-reveal {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: var(--black);
  opacity: 0;
  transition: opacity 0.05s linear;
  pointer-events: none;
}

/* ── Section Head (shared) ────────────────────────────── */
.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;
  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);
}

/* ── About ────────────────────────────────────────────── */
#about {
  position: relative;
  z-index: 1;
  background: #fff;
}

.about-inner {

  max-width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.withp .about-text {
  padding-bottom: 157px;

}
.about-text {
  font-size: 36px;
  max-width: 1168px;
  padding-top: 73px;
  /* padding-left: 376px; */
  /* padding-right: 365px; */
  font-weight: 300;
  /* line-height: 1.75; */
  color: black;
  margin-bottom: 66px;
  /* letter-spacing: 0.01em; */
  word-spacing: 0.2em;
}

.about-img-link {
  display: block;
  text-decoration: none;
  display: flex;
  justify-content: center;
}

.about-img-wrap {
  position: relative;
  overflow: hidden;
}

.about-img-wrap img {
  width: 1507px;
  height: 793px;
  object-fit: cover;
  display: block;
  transition: transform 0.8s var(--soft);
}

.about-img-link:hover .about-img-wrap img {
  transform: scale(1.03);
}

.about-img-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.35) 0%, rgba(0, 0, 0, 0) 50%);
  pointer-events: none;
}

.about-img-label {
  position: absolute;
  bottom: 24px;
  left: 28px;
  font-size: 40px;
  font-weight: 400;
  letter-spacing: 0.04em;
  color: #fff;
}

/* ── Projects Strip ───────────────────────────────────── */
#proj-strip {
  padding-top: 131px;
  position: relative;
  z-index: 1;
  background: white;
}
.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;
    padding-bottom: 10px;

  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) {
  .nl-input { margin-top: 25px !important; }

  .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-cat {
  font-size: 18px;
  font-weight: 500; /* سمك الخط مطابق للصورة (نصف سميك) */
  color: #000;
  margin-top: 16px;    width: fit-content;
  margin-bottom: 6px;
}

/* اسم الدولة */
.pstrip-name {
  font-size: 18px;
  font-weight: 400; /* سمك الخط عادي */
  color: #000;    margin-top: 8px;
  margin-bottom: 14px;
  line-height: 1.4;    width: fit-content;
  /* font-family: sans-serif; */
}

/* رقم الهاتف */
.pstrip-loc {
  font-size: 15px;    width: fit-content;
  font-weight: 400;
  color: #7f7f7f; /* لون رمادي فاتح كما في الصورة */
  /* font-family: akzidenz,light; */
}

/* تحسين للشاشات الصغيرة (الجوال) */
@media (max-width: 768px) {
  .pstrip-card {
    flex: 100%; /* كل كارت يأخذ عرض الصفحة كاملة */
    border-right: none; /* إزالة الخط العمودي */
    border-bottom: 1px solid #e0e0e0; /* إضافة خط سفلي بين الكروت */
    margin-bottom: 20px;
  }
  
  .pstrip-grid {
    border-bottom: none; /* إزالة الخط السفلي الرئيسي */
  }
  
  .pstrip-card:last-child {
    border-bottom: none; /* إزالة الخط من آخر عنصر */
  }
}
/* ─── Offices Grid ─── */
.pstrip-grid-white {
  display: grid;
  grid-template-columns: repeat(3, 582px);
  padding: 0 59px;
  justify-content: space-between;
  padding-bottom: 66px;
}

.pstrip-grid-white .pstrip-card {
  width: 582px;
  height: auto;
  background: #ffffff;
}

.pstrip-grid-white .pstrip-card::after { display: none; }

.pstrip-grid-white .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 * 582px - 118px) / 4));
}

.pstrip-grid-white .pstrip-card-img { overflow: hidden; }

.pstrip-grid-white .pstrip-card-img img {
  width: 100%;
  height: 360px;
  object-fit: cover;
  display: block;
}

/* ─── padding تتضيق ─── */
@media (max-width: 1923px) {
  .pstrip-grid-white { padding: 0 30px; }
  .pstrip-grid-white .pstrip-card:not(:nth-child(3n))::after {
    transform: translateX(calc((100vw - 3 * 582px - 60px) / 4));
  }
}
@media (max-width: 1863px) {
  .pstrip-grid-white { padding: 0 10px; }
  .pstrip-grid-white .pstrip-card:not(:nth-child(3n))::after {
    transform: translateX(calc((100vw - 3 * 582px - 20px) / 4));
  }
}

/* ─── 2 columns ─── */
@media (max-width: 1823px) {
  .pstrip-grid-white {
    grid-template-columns: repeat(2, 582px);
    padding: 0 59px;
  }
  .pstrip-grid-white .pstrip-card:not(:nth-child(3n))::after { display: none; }
  .pstrip-grid-white .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 * 582px - 118px) / 2));
  }
}
@media (max-width: 1281px) {
  .pstrip-grid-white { padding: 0 20px; }
  .pstrip-grid-white .pstrip-card:not(:nth-child(2n))::after {
    transform: translateX(calc((100vw - 2 * 582px - 40px) / 2));
  }
}
@media (max-width: 1224px) {
  .pstrip-grid-white { padding: 0; }
  .pstrip-grid-white .pstrip-card:not(:nth-child(2n))::after {
    transform: translateX(calc((100vw - 2 * 582px) / 2));
  }
}

/* ─── 1 column ─── */
@media (max-width: 1164px) {
  .pstrip-grid-white {
    grid-template-columns: 582px;
    padding: 0 20px;
    justify-content: center;
  }
  .pstrip-grid-white .pstrip-card::after,
  .pstrip-grid-white .pstrip-card:not(:nth-child(3n))::after,
  .pstrip-grid-white .pstrip-card:not(:nth-child(2n))::after { display: none !important; }
}

/* ─── fluid ─── */
@media (max-width: 620px) {
  .pstrip-grid-white {
    grid-template-columns: 1fr;
    padding: 0 16px;
  }
  .pstrip-grid-white .pstrip-card { width: 100%; }
  .pstrip-grid-white .pstrip-card-img img { height: 260px; }
}

/* ─── Office Locations Grid (Studio page) ──────────────────
   Dedicated classes, isolated from .pstrip-grid/.pstrip-card
   used elsewhere for 4-card sections — do not merge with them.
   The divider sits in its own 1fr grid track between cards, so
   it's always exactly centered regardless of viewport width
   (no viewport-width math needed, unlike the .pstrip-* version). */
.office-grid {
  display: grid;
  grid-template-columns: 582px 1fr 582px 1fr 582px;
  align-items: start;
  padding: 0 59px 66px;
}
.office-card {
  display: block;
  position: relative;
  width: 582px;
  height: auto;
  background: #ffffff;
}
.office-divider {
  align-self: stretch;
  justify-self: center;
  width: 1px;
  background: #3a3a3a;
}
.office-card-img { overflow: hidden; }
.office-card-img img {
  width: 100%;
  height: 360px;
  object-fit: cover;
  display: block;
}
.office-cat {
  font-size: 18px;
  font-weight: 500;
  color: #000;
  margin-top: 16px;
  width: fit-content;
  margin-bottom: 6px;
}
.office-name {
  font-size: 18px;
  font-weight: 400;
  color: #000;
  margin-top: 8px;
  margin-bottom: 14px;
  line-height: 1.4;
  width: fit-content;
}
.office-loc {
  font-size: 15px;
  width: fit-content;
  font-weight: 400;
  color: #7f7f7f;
}

@media (max-width: 1823px) {
  /* Card 3 wraps to its own row here. Only the divider between
     card 1 and card 2 (still side by side) stays visible and
     centered — the divider after card 2 is hidden since card 2
     and card 3 are no longer on the same row. */
  .office-grid {
    grid-template-columns: 582px 1fr 582px;
    row-gap: 40px;
    justify-content: start;
    padding: 0 59px 66px;
  }
  .office-card:nth-child(1) { grid-column: 1; grid-row: 1; }
  .office-divider:nth-child(2) { grid-column: 2; grid-row: 1; }
  .office-card:nth-child(3) { grid-column: 3; grid-row: 1; }
  .office-divider:nth-child(4) { display: none; }
  .office-card:nth-child(5) { grid-column: 1; grid-row: 2; }
}
@media (max-width: 1281px) {
  .office-grid { padding: 0 20px 66px; }
}
@media (max-width: 1224px) {
  .office-grid { padding: 0 0 66px; }
}
@media (max-width: 1164px) {
  .office-grid {
    grid-template-columns: 582px;
    justify-content: center;
    padding: 0 20px 66px;
  }
  .office-card:nth-child(1) { grid-column: 1; grid-row: 1; }
  .office-card:nth-child(3) { grid-column: 1; grid-row: 2; }
  .office-card:nth-child(5) { grid-column: 1; grid-row: 3; }
  .office-divider { display: none; }
}
@media (max-width: 620px) {
  .office-grid { grid-template-columns: 1fr; padding: 0 16px 66px; }
  .office-card { width: 100%; }
  .office-card-img img { height: 260px; }
}
/* ── 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; }


/* ── 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-bottom: 105px;
  padding-left: 0px;

  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;
  font-family: var(--font) !important;
  color: #6d6f71;
  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;
}

/* ── 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;
}

@media (max-width: 1100px) {
  .footer        { grid-template-columns: 1fr 1fr; }
}

/* ── Responsive ───────────────────────────────────────── */
@media (max-width: 1100px) {
  .pstrip-grid {
    grid-template-columns: repeat(2, 1fr);
    padding: 24px 24px 48px;
    gap: 20px;
  }
}

@media (max-width: 900px) {
  .about-text {
    max-width: 100%;
    font-size: 20px;
  }

  #nav {
    padding: 0 24px;
  }

  .hero-bottom {
    padding: 0 24px 28px;
  }

  .hero-title {
    font-size: clamp(16px, 4vw, 24px);
    max-width: 280px;
  }

  .section-head {
    padding: 40px 24px 24px;
  }

  .pstrip-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  #newsletter {
    grid-template-columns: 1fr;
    padding: 64px 24px;
  }

  footer {
    padding: 36px 24px 28px;
  }

  .f-nav-row a {
    font-size: 10px;
  }

  .about-inner {
    padding: 48px 26px 0;
  }

  .about-img-wrap img {
    height: 340px;
  }

  .contact-layout {
    grid-template-columns: 1fr;
  }

  .contact-left {
    padding: 48px 24px 32px;
    border-right: none;
    border-bottom: 1px solid #d8d3ce;
  }

  .contact-right {
    padding: 40px 24px 64px;
  }
}

@media (max-width: 600px) {
  .about-text {
    max-width: 100%;
    font-size: 20px;
  }
.f-logo{
    width: 150px;
  }
  .pstrip-grid {
    grid-template-columns: 1fr;
    padding: 20px 20px 40px;
    gap: 16px;
  }

  .hero-title {
    font-size: clamp(14px, 4vw, 20px);
  }

  .f-nav-row {
    flex-wrap: wrap;
  }

  .f-nav-row a {
    flex: none;
    width: fit-content;
    text-align: left;
    padding: 14px 0;
  }
}
.carrer-job-cont{
  position: relative;
background-color: #000 !important;
     padding: 20px 59px;

}
.carrer-desc-parent{
  border-bottom: 1px solid var(--border);
  padding-bottom: 40px;
  padding-top: 40px;
}
.carrer-desc{
color: white;
font-size: 20px;
    width: 70%;
    font-weight: 100;
  font-family: var(--font);

}
.pp-select-arrow {
    width: 16px;
    height: 16px;
    stroke: rgba(255,255,255,0.7); /* لون السهم */
    fill: none;
    stroke-width: 2;
    transition: transform var(--fast); /* لإضافة حركة الانعكاس */
  }

  /* تأثير انعكاس السهم عند التركيز على القائمة */
  .pp-select:focus + .pp-select-arrow-wrap .pp-select-arrow {
    transform: rotate(180deg); /* تدوير السهم 180 درجة */
  }

  /* تأثير الدائرة عند التركيز */
  .pp-select:focus + .pp-select-arrow-wrap {
    background: rgba(255,255,255,0.15); /* تفتيح الدائرة قليلاً */
  }

  /* قائمة الوظائف */
  .jobs-desc {
    padding: 20px 40px;
    display: flex;
    flex-direction: column;
    gap: 12px;
  }

.ccf-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); 
}

.ccf-arrow svg {
  width: 28px;
  height: 28px;
}

/* عندما يتم الضغط على الـ select، السهم المالي له مباشرة يلف 180 درجة */
.ccf-select:focus ~ .ccf-arrow {
  transform: translate(0, -50%) rotate(180deg);
}
/* العناوين والخطوط الرئيسية */
.fitler-title {
  margin-top: 30px;
  margin-bottom: 20px;
  font-size: 30px;
  font-family: var(--font);
  font-weight: 700;
}

/* شريط الفلتر كاملاً */
.pp-filter-bar {
  display: flex;
  align-items: center;
  gap: 14px;
  background: var(--black);
  padding: 20px 0 30px 0; /* تم تصفير البادنج الجانبي ليتطابق الهيكل بالكامل عمودياً */
  position: relative;
  border-bottom: 1px solid var(--border);
}

/* حقل البحث */
.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 {
  flex: 1;
  background: none;
  border: none;
  outline: none;
  font-family: var(--font);
  font-size: 15px;
  font-weight: 400;
  letter-spacing: 0;
  color: var(--white);
}
.pp-search::placeholder { 
  color: rgba(255, 255, 255, 0.7); 
}

/* غلاف الـ Select */
.pp-select-wrap {
  position: relative;
  display: flex;
  align-items: center;
}

/* عنصر الـ Select نفسه */
.pp-select {
  background: #1a1a1a;
  border: 1px solid #3a3a3a;
  border-radius: 38px;
  padding: 14px 55px 14px 24px; /* مساحة يمين كافية لحماية الدائرة والسهم */
  font-family: var(--font);
  font-size: 15px;
  font-weight: 400;
  color: var(--white);
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
  min-width: 250px;
  outline: none;
  transition: border-color var(--fast);
}
.pp-select option { 
  background: var(--black); 
  color: var(--white);
}
.pp-select:focus {
  border-color: rgba(255, 255, 255, 0.5);
}

/* الدائرة حول السهم */
.pp-select-arrow-bg {
  position: absolute;
  right: 14px;
  pointer-events: none;
  width: 28px;
  height: 28px;
  /* background: rgba(255, 255, 255, 0.1); خلفية الدائرة الهادئة */
  border: 1px solid #3a3a3a;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--fast);
}

/* أيقونة السهم داخل الدائرة */
.pp-select-arrow {
  width: 14px;
  height: 14px;
  stroke: rgba(242, 237, 232, 0.7);
  fill: none;
  stroke-width: 2;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

/* تأثير قلب السهم وتفتيح الدائرة عند الفتح (:focus) */
.pp-select:focus + .pp-select-arrow-bg {
  /* background: rgba(255, 255, 255, 0.2); */
}
.pp-select:focus + .pp-select-arrow-bg .pp-select-arrow {
  transform: rotate(180deg);
}

/* حاوية قائمة الوظائف */
.jobs-desc {
  display: flex;
  flex-direction: column;
  gap: 0;
  padding: 10px 0;
}

/* عناصر الوظيفة المفردة */
.job {
  display: flex;
  align-items: center;
  gap: 14px; /* متطابق تماماً مع الفلتر */
  padding: 24px 0;
  width: 100%;
  border-bottom: 1px solid rgba(58, 58, 58, 0.3);
}

/* محاذاة عناصر الوظيفة لتطابق الفلتر */
.job-title {
  flex: 1; /* يأخذ نفس توزيع عرض البحث */
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  font-weight: 500;
  color: var(--white); /* أو var(--black) حسب ثيم الصفحة لديك */
}

.job-type, .job-location {
  min-width: 250px; /* نفس عرض الـ select بالظبط */
  margin: 0;
  padding-left: 24px; /* تبدأ محاذاة النص مع الكلمة الفوقية */
  font-family: var(--font);
  font-size: 15px;
  color: rgba(255, 255, 255, 0.6);
  box-sizing: border-box;
}

/* قسم حديثي التخرج */
.early-carrer {
  margin: 60px 0;
  padding: 40px 0;
  border-top: 1px solid var(--border);
}

.title-ec {
  font-family: var(--font);
  font-size: 20px;
  font-weight: 300;
  color: var(--white);
  line-height: 1.5;
  width: 70%;
}

/* زر التسجيل */
.Registerbtncarrer {
  margin-top: 30px;
  background: #1a1a1a;
  border: 1px solid #3a3a3a;
  border-radius: 38px;
  padding: 14px 32px;
  color: white;
  font-family: var(--font);
  font-size: 16px;
  font-weight: 500;
  cursor: pointer;
  width: auto; /* يفضل جعله auto أو نسبة متناسقة للحفاظ على شكله الدائري */
  min-width: 160px;
  transition: background var(--fast), border-color var(--fast);
}

.Registerbtncarrer:hover {
  /* background: #252525; */
  /* border-color: rgba(255, 255, 255, 0.3); */
}/* ── Jobs Pagination Arrows ── */
.jobs-pagination-arrows {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 14px;
  padding: 18px 0 10px;
  border-top: none;
}

.jobs-arrow-btn {
  -webkit-appearance: none;
  appearance: none;
  width: 22px;
  height: 22px;
  border-radius: 50% !important;
  border: none !important;
  background: rgba(255, 255, 255, 0.35);
  color: rgba(255, 255, 255, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  padding: 0;
  margin: 0;
  outline: none;
  transition: background 0.25s, border-color 0.25s, opacity 0.25s;
}

.jobs-arrow-btn:hover:not(:disabled) {
  background: rgba(255, 255, 255, 0.15);
  /* border-color: rgba(255, 255, 255, 0.6) !important; */
}

.jobs-arrow-btn:disabled {
  opacity: 0.25;
  cursor: not-allowed;
}

.jobs-arrow-btn svg {
  width: 20px;
  height: 20px;
  stroke: rgb(27, 27, 27);
  fill: none;
  flex-shrink: 0;
}

/* ══════════════════════════════════════════════════════════════════════
   RESPONSIVE OVERHAUL — Tablet (≤1024px) & Phone (≤600px) ONLY
   Pages: About, Studio, Careers. Desktop (≥1025px) left untouched.
   Appended last to override the older fixed-pixel rules
   (1507px about image, 582px office cards, fixed-width job rows).
   ══════════════════════════════════════════════════════════════════════ */
@media (max-width: 1024px) {

  /* ── Nav ── */
  #nav { padding: 0 28px; }

  /* ── Hero ── */
  #hero { height: 78vh; min-height: 440px; }
  .hero-bottom { padding: 0 28px 34px; }
  .hero-title { font-size: clamp(22px, 4.4vw, 34px); max-width: 70%; }

  /* ── Section heads ── */
  .section-head { padding: 44px 28px 22px; }

  /* ── About (text + image) ── */
  .about-inner { padding: 0 28px; }
  .about-text { font-size: clamp(20px, 3.2vw, 30px); max-width: 100%; padding-top: 56px; margin-bottom: 48px; }
  .withp .about-text { padding-bottom: 64px; }
  .about-img-link { width: 100%; }
  .about-img-wrap { width: 100%; }
  .about-img-wrap img { width: 100%; height: auto; max-height: 70vh; }
  .about-img-label { font-size: clamp(24px, 4vw, 36px); bottom: 18px; left: 20px; }

  /* ── Studio: offices grid → clean single column, no fixed widths/dividers ── */
  .pstrip-grid.pstrip-grid-white {
    grid-template-columns: 1fr;
    padding: 0 28px;
    justify-content: stretch;
    gap: 28px;
  }
  .pstrip-grid-white .pstrip-card { width: 100%; }
  .pstrip-grid-white .pstrip-card::after { display: none !important; }
  .pstrip-grid-white .pstrip-card-img img { height: 50vw; max-height: 380px; }
 
  /* ── Contact ── */
  .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); }

  /* ── 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; }

  /* ── Careers ── */
  .carrer-job-cont { padding: 20px 28px; }
  .carrer-desc { width: 100%; font-size: clamp(16px, 2.6vw, 20px); }
  .fitler-title { font-size: clamp(22px, 4vw, 30px); }
  .pp-filter-bar { flex-wrap: wrap; gap: 12px; }
  .pp-search-wrap { flex: 1 1 100%; }
  .pp-select-wrap { flex: 1 1 100%; }
  .pp-select { width: 100%; min-width: 0; }
  .job { flex-wrap: wrap; gap: 4px 16px; padding: 20px 0; }
  .job-title { flex: 1 1 100%; }
  .job-type,
  .job-location { min-width: 0; padding-left: 0; flex: 0 0 auto; }
  .title-ec { width: 100%; }
}

@media (max-width: 600px) {

  /* ── Nav ── */
  #nav { padding: 0 20px; }
  .nav-logo img { width: 150px; }
  .nav-actions { gap: 24px; }

  /* ── Hero ── */
  #hero { height: 84vh; min-height: 420px; }
  .hero-bottom { padding: 0 20px 28px; }
  .hero-title { font-size: clamp(18px, 6vw, 26px); max-width: 80%; }

  /* ── About ── */
  .about-inner { padding: 0 20px; }
  .about-text { padding-top: 44px; margin-bottom: 36px; }
  .about-img-label { left: 16px; bottom: 14px; }

  /* ── Studio offices ── */
  .pstrip-grid.pstrip-grid-white { padding: 0 20px; gap: 24px; }

  /* ── Contact ── */
  .contact-left { padding: 48px 20px 20px !important; }
  .contact-right { padding: 20px 20px 64px !important; }

  /* ── Section heads ── */
  .section-head { padding: 36px 20px 18px; }

  /* ── Newsletter / Footer ── */
  #newsletter { padding: 52px 20px; }
  footer { padding: 44px 20px; gap: 36px; }

  /* ── Careers ── */
  .carrer-job-cont { padding: 16px 20px; }
  .early-carrer { margin: 40px 0; padding: 32px 0; }
  .Registerbtncarrer { width: 100%; }
}

/* ══════════════════════════════════════════════════════════════════════
   NATIVE <select> DROPDOWN — option readability fix (all viewports)
   Explicit background + colour on every <option> so the OS-native list
   stays readable (Careers filter is dark, Studio contact form is light).
   Colour/contrast only — no layout change.
   ══════════════════════════════════════════════════════════════════════ */
/* 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; }   /* Careers filter — dark popup */
.cf-select { color-scheme: light; }  /* Contact form — light popup */

.pp-select option {            /* Careers filter — dark control */
  background-color: #1a1a1a;
  color: #F2EDE8;
}
.cf-select option {            /* Contact form — light control */
  background-color: #ffffff;
  color: #1a1a1a;
}