/* ============ خط Delight (الخط الإنجليزي للموقع) ============ */
@font-face { font-family: "Delight"; src: url("fonts/Delight-Light.otf") format("opentype"); font-weight: 300; font-display: swap; }
@font-face { font-family: "Delight"; src: url("fonts/Delight-Regular.otf") format("opentype"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Delight"; src: url("fonts/Delight-Medium.otf") format("opentype"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Delight"; src: url("fonts/Delight-Bold.otf") format("opentype"); font-weight: 700; font-display: swap; }

/* ============ Base ============ */
:root {
  /* ألوان هوية Curated by Batool */
  --bg: #e6e5da;        /* بيج رمادي هادئ — لون الخلفية لكل الصفحات */
  --ink: #1c1a17;
  --muted: #7a776b;
  --line: #cfcdbf;
  --tile: #d9d7cb;
  --accent: #c8564a;    /* أحمر مرجاني */
  --gutter: clamp(16px, 4.5vw, 64px);
  --font: "Delight", "Helvetica Neue", Helvetica, Arial, system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 13px;
  line-height: 1.45;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }

.wrap {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 var(--gutter);
}

/* ============ Header ============ */
.site-header {
  max-width: 1280px;
  margin: 0 auto;
  padding: clamp(20px, 3vw, 36px) var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
/* الشعار النصي: Curated by Batool بالأحمر المرجاني */
.brand {
  color: var(--accent);
  font-weight: 700;
  font-size: clamp(15px, 1.5vw, 18px);
  letter-spacing: -.03em;
  white-space: nowrap;
  transition: opacity .2s;
}
.brand:hover { opacity: .75; }
.nav { display: flex; gap: clamp(18px, 3vw, 40px); }
.nav a {
  font-size: 11px; letter-spacing: .08em; text-transform: uppercase;
  position: relative; padding: 4px 0; color: var(--ink);
}
.nav a:hover { color: var(--muted); }
.nav a.is-active::before,
.filters button.is-active::before {
  content: ""; position: absolute; left: -10px; top: 50%;
  width: 5px; height: 5px; border-radius: 50%;
  background: var(--accent); transform: translateY(-50%);
}

/* ============ Title + filters ============ */
.page-title {
  margin: clamp(24px, 5vw, 64px) 0 clamp(18px, 2.5vw, 28px);
  font-size: clamp(40px, 6vw, 72px);
  font-weight: 700;
  letter-spacing: -.03em;
  line-height: 1;
}
.filters {
  display: flex; flex-wrap: wrap;
  gap: 10px clamp(18px, 2.5vw, 32px);
  padding-left: 10px;
  margin-bottom: clamp(28px, 4vw, 48px);
}
.filters button {
  position: relative;
  font-size: 11px; letter-spacing: .08em; text-transform: uppercase;
  color: var(--muted); padding: 4px 0;
  transition: color .2s;
}
.filters button:hover,
.filters button.is-active { color: var(--ink); }

/* ============ Grid ============ */
.grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  column-gap: clamp(12px, 1.6vw, 24px);
  row-gap: clamp(48px, 6vw, 88px);
  align-items: start;
  padding-bottom: clamp(60px, 8vw, 120px);
}
.card {
  grid-column: var(--c, auto);
  opacity: 0; transform: translateY(12px);
  animation: rise .6s ease forwards;
  animation-delay: calc(var(--i, 0) * 50ms);
}
.card__media {
  aspect-ratio: 1 / 1;                            /* كل الأغلفة مربعة وبنفس المقاس */
  background: var(--tile);
  overflow: hidden;
}
.card__media img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .8s cubic-bezier(.2,.7,.2,1), opacity .3s;
}
.card:hover .card__media img { transform: scale(1.03); }
.card__cap {
  display: flex; justify-content: space-between; align-items: baseline; gap: 12px;
  margin-top: 10px; font-size: 11.5px;
}
.card__title { max-width: 70%; }
.card__tag { color: var(--muted); font-size: 10px; white-space: nowrap; }

.empty { grid-column: 1 / -1; color: var(--muted); padding: 40px 0; }

@keyframes rise { to { opacity: 1; transform: none; } }

/* ============ Project page ============ */
.back {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 11px; letter-spacing: .08em; text-transform: uppercase;
  margin-top: clamp(12px, 3vw, 32px);
  color: var(--muted); transition: color .2s, gap .2s;
}
.back:hover { color: var(--ink); gap: 12px; }

.project__head {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: 24px 48px;
  align-items: end;
  margin: clamp(20px, 4vw, 48px) 0 clamp(32px, 5vw, 64px);
}
.project__title {
  margin: 0;
  font-size: clamp(34px, 5.2vw, 64px);
  font-weight: 700; letter-spacing: -.03em; line-height: 1.02;
}
.project__meta {
  display: flex; flex-wrap: wrap; gap: 6px 24px;
  margin-top: 16px; font-size: 11px; color: var(--muted);
  text-transform: uppercase; letter-spacing: .08em;
}
.project__desc { margin: 0; font-size: 14px; line-height: 1.6; max-width: 46ch; color: #3b3834; }

/* نطاق العمل + رابط الموقع (اختياريان لكل مشروع) */
.project__side { display: flex; flex-direction: column; gap: 18px; }
.project__scope { display: flex; gap: 16px; align-items: baseline; max-width: 46ch; }
.project__scope-label,
.project__link {
  font-size: 10.5px; letter-spacing: .08em; text-transform: uppercase;
}
.project__scope-label { color: var(--muted); min-width: 52px; }
.project__scope ul { list-style: none; margin: 0; padding: 0; font-size: 13px; line-height: 1.7; }
.project__scope li::before { content: "— "; color: var(--accent); }
.project__link { color: var(--accent); align-self: flex-start; border-bottom: 1px solid currentColor; padding-bottom: 2px; }
.project__link:hover { opacity: .7; }

.gallery { display: flex; flex-direction: column; gap: clamp(12px, 1.6vw, 24px); }
.gallery__row {
  display: grid;
  grid-template-columns: repeat(var(--n, 2), minmax(0, 1fr));
  gap: clamp(12px, 1.6vw, 24px);
}
.gallery figure { margin: 0; background: var(--tile); }
.gallery img { width: 100%; height: auto; }
.gallery__row img { height: 100%; object-fit: cover; }

/* تخطيط الكولاج: كل صورة بمقاسها الأصلي (بدون قص) */
.gallery.gallery--collage {
  display: block;
  columns: 3;
  column-gap: clamp(12px, 1.6vw, 24px);
}
.gallery--collage figure {
  break-inside: avoid;
  margin-bottom: clamp(12px, 1.6vw, 24px);
  background: none;
}
.gallery--collage img { width: 100%; height: auto; }

.next {
  display: flex; justify-content: space-between; align-items: center; gap: 24px;
  border-top: 1px solid var(--line);
  margin-top: clamp(48px, 7vw, 96px);
  padding: 28px 0 clamp(40px, 6vw, 80px);
  font-size: 11px; letter-spacing: .08em; text-transform: uppercase;
}
.next a { color: var(--muted); transition: color .2s; }
.next a:hover { color: var(--ink); }
.next__title { display: block; margin-top: 6px; font-size: clamp(18px, 2.4vw, 26px); letter-spacing: -.01em; text-transform: none; color: var(--ink); font-weight: 600; }

/* ============ Footer ============ */
.site-footer {
  max-width: 1280px; margin: 0 auto;
  padding: 0 var(--gutter) 32px;
  font-size: 10.5px; color: var(--muted); letter-spacing: .04em;
}
.site-footer__bottom { padding-top: 20px; }

/* قسم التواصل أسفل كل صفحة */
.contact {
  border-top: 1px solid var(--line);
  padding: clamp(36px, 6vw, 72px) 0 clamp(28px, 4vw, 48px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr);
  gap: 24px 48px;
  align-items: start;
  color: var(--ink);
  letter-spacing: 0;
}
html { scroll-behavior: smooth; }
.contact__title {
  margin: 0;
  font-size: clamp(26px, 3.6vw, 44px);
  font-weight: 700; letter-spacing: -.03em; line-height: 1.05;
}
.contact__list { list-style: none; margin: 0; padding: 0; }
.contact__list li {
  display: flex; justify-content: space-between; align-items: baseline; gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  font-size: 14px;
}
.contact__list li:first-child { padding-top: 4px; }
.contact__label {
  font-size: 10.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted);
}
.contact__list a { transition: color .2s; word-break: break-all; text-align: right; }
.contact__list a:hover { color: var(--accent); }

/* ============ Mobile ============ */
@media (max-width: 760px) {
  .grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    row-gap: 36px;
  }
  /* الجوال: عمودان مع فراغات متدرجة (المكان يُحسب في main.js) */
  .card { grid-column: var(--mc, auto); grid-row: var(--mr, auto); }
  .card__cap { flex-direction: column; gap: 2px; }
  .card__title { max-width: none; }

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

  /* صور المشروع على الجوال: عمودان مثل شبكة إنستغرام */
  .gallery {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }
  .gallery__row { display: contents; }
  .gallery > figure { grid-column: 1 / -1; }   /* الصورة المنفردة تبقى بعرض كامل */
  .gallery.gallery--collage { display: block; columns: 2; column-gap: 10px; }
  .gallery--collage figure { margin-bottom: 10px; }
}

@media (prefers-reduced-motion: reduce) {
  .card { animation: none; opacity: 1; transform: none; }
  .card__media img { transition: none; }
}

/* ============ الصفحة الرئيسية (تعريف · خدمات · مجاني) ============ */
.ar {
  font-family: "IBM Plex Sans Arabic", "Geeza Pro", "SF Arabic", system-ui, sans-serif;
  direction: rtl; text-align: right;
}

.landing { padding-bottom: clamp(40px, 6vw, 80px); }

/* البداية */
.hero { padding: clamp(36px, 8vw, 110px) 0 clamp(20px, 4vw, 40px); }
.hero__title {
  margin: 0; max-width: 14ch;
  font-size: clamp(40px, 7.4vw, 104px);
  font-weight: 700; letter-spacing: -.035em; line-height: .98;
}
.hero__ar {
  margin: clamp(18px, 2.4vw, 28px) 0 0;
  font-size: clamp(20px, 2.6vw, 32px); font-weight: 500; line-height: 1.5;
  color: var(--accent);
}
.hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: clamp(28px, 4vw, 44px); }

/* الأزرار */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 20px;
  border: 1px solid var(--ink);
  font-size: 11px; letter-spacing: .1em; text-transform: uppercase;
  transition: background .2s, color .2s, border-color .2s;
}
.btn:hover { background: var(--ink); color: var(--bg); }
.btn--solid { background: var(--accent); border-color: var(--accent); color: #fff8ee; }
.btn--solid:hover { background: var(--ink); border-color: var(--ink); }
.btn--small { padding: 10px 14px; font-size: 10.5px; }

/* الأقسام */
.block {
  border-top: 1px solid var(--line);
  margin-top: clamp(56px, 9vw, 120px);
  padding-top: clamp(22px, 3vw, 32px);
}
.block__label {
  display: flex; justify-content: space-between; align-items: baseline;
  margin-bottom: clamp(24px, 4vw, 48px);
  font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted);
}
.block__label span:first-child { position: relative; padding-left: 12px; color: var(--ink); }
.block__label span:first-child::before {
  content: ""; position: absolute; left: 0; top: 50%; transform: translateY(-50%);
  width: 5px; height: 5px; border-radius: 50%; background: var(--accent);
}
.block__label .ar { font-size: 14px; letter-spacing: 0; text-transform: none; }

/* عني: إنجليزي يسار، عربي يمين */
.bi { display: grid; grid-template-columns: 1fr 1fr; gap: 24px clamp(32px, 6vw, 88px); }
.bi p { margin: 0; }
.bi__en { font-size: clamp(17px, 1.7vw, 21px); line-height: 1.6; letter-spacing: -.01em; }
.bi__ar { font-size: clamp(17px, 1.7vw, 21px); line-height: 1.9; }

/* الخدمات */
.services { list-style: none; margin: 0; padding: 0; }
.services__item {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr) minmax(0, 1.3fr);
  gap: 10px clamp(20px, 4vw, 56px);
  padding: clamp(20px, 2.6vw, 30px) 0;
  border-bottom: 1px solid var(--line);
}
.services__item:first-child { padding-top: 0; }
.services__num { font-size: 11px; letter-spacing: .08em; color: var(--accent); padding-top: 8px; }
.services__name h3 {
  margin: 0; font-size: clamp(22px, 2.6vw, 32px); font-weight: 700; letter-spacing: -.025em; line-height: 1.1;
}
.services__ar { margin: 6px 0 0; font-size: 16px; color: var(--muted); text-align: left; }
.services__text p { margin: 0 0 8px; font-size: 14px; line-height: 1.65; color: #3b3834; }
.services__text .ar { font-size: 15px; line-height: 1.85; }

/* المجاني */
.free { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(12px, 1.6vw, 24px); }
.free__card {
  display: flex; flex-direction: column; gap: 10px;
  padding: clamp(22px, 2.4vw, 32px);
  background: #dcdacd;
}
.free__tag { font-size: 10px; letter-spacing: .1em; text-transform: uppercase; color: var(--accent); }
.free__card h3 { margin: 6px 0 0; font-size: clamp(20px, 2vw, 26px); font-weight: 700; letter-spacing: -.02em; line-height: 1.15; }
.free__ar { margin: 0; font-size: 16px; font-weight: 500; text-align: left; }
.free__text { margin: 0; font-size: 13.5px; line-height: 1.65; color: #3b3834; }
.free__card .ar.free__text { font-size: 14.5px; line-height: 1.85; }
.free__card .btn, .free__soon { margin-top: auto; align-self: flex-start; }
.free__card > :nth-last-child(1) { margin-top: auto; }
.free__soon { font-size: 10.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); padding-top: 12px; }

/* أعمال مختارة */
.featured { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(12px, 1.6vw, 24px); }
.featured__item:hover .card__media img { transform: scale(1.03); }
.all-work {
  display: inline-block; margin-top: clamp(24px, 3vw, 36px);
  font-size: 11px; letter-spacing: .1em; text-transform: uppercase;
  border-bottom: 1px solid currentColor; padding-bottom: 2px;
}
.all-work:hover { color: var(--accent); }

@media (max-width: 760px) {
  .bi { grid-template-columns: 1fr; }
  .services__item { grid-template-columns: 36px minmax(0, 1fr); }
  .services__text { grid-column: 2; }
  .free { grid-template-columns: 1fr; }
  .featured { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* العرض المميز (جلسة التوجيه البصري) */
.offer {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
  gap: clamp(28px, 5vw, 72px);
  padding: clamp(28px, 4.5vw, 64px);
  background: var(--ink);
  color: #f1eadb;
}
.offer .ar { color: inherit; }
.offer__tag, .offer__label {
  font-size: 10.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--accent);
}
.offer__title {
  margin: 14px 0 0;
  font-size: clamp(30px, 4.4vw, 58px); font-weight: 700; letter-spacing: -.035em; line-height: 1;
}
.offer__ar { margin: 10px 0 0; font-size: clamp(18px, 2vw, 24px); font-weight: 500; text-align: left; color: #e7b9ad !important; }
.offer__text { margin: 22px 0 0; font-size: 15px; line-height: 1.7; color: #d9d0bf; max-width: 52ch; }
.offer__main .ar.offer__text { margin-top: 12px; font-size: 16px; line-height: 1.9; text-align: left; }
.offer__side { display: flex; flex-direction: column; gap: 16px; }
.offer__list { list-style: none; margin: 0; padding: 0; }
.offer__list li {
  display: flex; justify-content: space-between; align-items: baseline; gap: 16px;
  padding: 14px 0; border-bottom: 1px solid rgba(241, 234, 219, .18);
  font-size: 14px;
}
.offer__list li .ar { font-size: 14px; color: #bfb5a3; }
.offer__price { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding-top: 6px; font-size: 13px; color: #d9d0bf; }
.offer__price strong { font-size: 14px; font-weight: 500; letter-spacing: 0; color: #d9d0bf; }   /* السعر هادئ وصغير */
.offer .btn { align-self: flex-start; margin-top: 6px; }
.offer .btn--solid:hover { background: #f1eadb; border-color: #f1eadb; color: var(--ink); }

@media (max-width: 760px) {
  .offer { grid-template-columns: 1fr; }
}

/* زر الطلب تحت كل خدمة */
.services__cta {
  display: inline-block; margin-top: 6px;
  font-size: 10.5px; letter-spacing: .1em; text-transform: uppercase;
  color: var(--accent); border-bottom: 1px solid currentColor; padding-bottom: 2px;
}
.services__cta:hover { opacity: .7; }

/* صفحة طلب الخدمة */
.request { padding-bottom: clamp(48px, 7vw, 96px); }
.request__head { max-width: 640px; }
.request .page-title { margin-bottom: 10px; }
.request__ar { margin: 0 0 18px; font-size: clamp(20px, 2.4vw, 28px); font-weight: 500; color: var(--accent); text-align: left; }
.request__intro { margin: 0 0 6px; font-size: 15px; line-height: 1.7; color: #3b3834; }
.request .ar.request__intro { text-align: left; font-size: 16px; }

.form {
  max-width: 640px;
  margin-top: clamp(28px, 4vw, 48px);
  display: flex; flex-direction: column; gap: 18px;
}
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form__hidden { display: none; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field__label {
  display: flex; justify-content: space-between; align-items: baseline; gap: 12px;
  font-size: 10.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted);
}
.field__label .ar { font-size: 13px; letter-spacing: 0; text-transform: none; }
.field input, .field select, .field textarea {
  width: 100%;
  font: inherit; font-size: 16px;           /* 16px يمنع التكبير التلقائي في الآيفون */
  color: var(--ink);
  background: #efeee6;
  border: 1px solid var(--line);
  border-radius: 0;
  padding: 13px 14px;
  appearance: none; -webkit-appearance: none;
}
.field select {
  background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%);
  background-position: calc(100% - 20px) 55%, calc(100% - 15px) 55%;
  background-size: 5px 5px; background-repeat: no-repeat;
  padding-right: 36px;
}
.field textarea { resize: vertical; line-height: 1.6; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--accent); background: #f4f3ec;
}
.form__submit { align-self: flex-start; margin-top: 6px; cursor: pointer; font: inherit; font-size: 11px; letter-spacing: .1em; }

@media (max-width: 760px) {
  .form__row { grid-template-columns: 1fr; }
  .form__submit { align-self: stretch; justify-content: center; }
}

/* =====================================================================
   الواجهة الفنية للرئيسية (body[data-variant="art"])
   ===================================================================== */
body[data-variant="art"] {
  --navy: #0e3558;
  --mist: #c9d3dd;
  --cream: #f4f0da;
  --display: "Inter Tight", "Helvetica Neue", Arial, sans-serif;
  overflow-x: hidden;
}

/* الرأس فوق البنر */
body[data-variant="art"] .site-header {
  position: absolute; top: 0; left: 0; right: 0; z-index: 10; max-width: none;
}
body[data-variant="art"] .site-header .brand,
body[data-variant="art"] .site-header .nav a { color: var(--cream); }
body[data-variant="art"] .site-header .brand { font-family: var(--display); font-weight: 800; }
body[data-variant="art"] .nav a.is-active::before { background: var(--cream); }

/* البنر */
.ah-hero {
  position: relative; overflow: hidden;
  min-height: min(100svh, 820px);
  display: flex; align-items: center;
  padding: 110px clamp(16px, 5vw, 72px) 80px;
  background: #4a5a44 center 45% / cover no-repeat;
}
.ah-hero::after { content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg, rgba(10,20,15,.28), rgba(10,20,15,.05) 40%, rgba(10,20,15,.28)); }
.ah-title {
  position: relative; z-index: 2; width: 100%; margin: 0;
  color: var(--cream); font-family: var(--display);
  font-weight: 900; text-transform: uppercase;
  font-size: clamp(40px, 8.6vw, 128px); line-height: .9; letter-spacing: -.045em;
}
.ah-title span { display: block; overflow-x: visible; overflow-y: clip; white-space: nowrap; padding-bottom: .04em; }
.ah-title i { display: inline-block; font-style: normal; transform: translateY(105%); animation: ah-up 1s cubic-bezier(.2,.8,.2,1) forwards; }
.ah-title span:nth-child(1) i { animation-delay: .1s; }
.ah-title span:nth-child(2) { padding-left: 24%; } .ah-title span:nth-child(2) i { animation-delay: .22s; }
.ah-title span:nth-child(3) i { animation-delay: .34s; }
.ah-title span:nth-child(4) { padding-left: 14%; } .ah-title span:nth-child(4) i { animation-delay: .46s; }
@keyframes ah-up { to { transform: none; } }

/* المربعان: أغلفة أعمالك تتبدّل فيهما */
.ah-sq {
  position: absolute; z-index: 3;
  width: clamp(92px, 15vw, 210px); aspect-ratio: 1;
  background: var(--navy); overflow: hidden;
  box-shadow: 0 20px 50px -20px rgba(0,0,0,.45);
  transition: transform .6s cubic-bezier(.2,.8,.2,1);
  opacity: 0; animation: ah-pop .8s .7s forwards;
}
.ah-sq img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  opacity: 0; transform: scale(1.08); transition: opacity .9s ease, transform 3s ease;
}
.ah-sq img.on { opacity: 1; transform: scale(1); }
.ah-sq--a { top: 13%; left: 56%; }
.ah-sq--b { top: 58%; left: 7%; animation-delay: .9s; }
@keyframes ah-pop { from { opacity: 0; transform: scale(.6) rotate(-8deg); } to { opacity: 1; } }

.ah-hero__ar {
  position: absolute; z-index: 3; right: clamp(16px, 5vw, 72px); bottom: 26px; margin: 0;
  font-family: "IBM Plex Sans Arabic", "Geeza Pro", system-ui, sans-serif; direction: rtl;
  color: var(--cream); font-size: clamp(16px, 2vw, 22px); font-weight: 600;
}
.ah-hint { position: absolute; z-index: 3; left: clamp(16px, 5vw, 72px); bottom: 28px; color: var(--cream); font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase; }

/* الأقسام الملوّنة */
.ah-band { padding: clamp(56px, 9vw, 120px) clamp(16px, 5vw, 72px); }
.ah-band--cream { background: var(--cream); }
.ah-band--mist { background: var(--mist); }
.ah-kicker { display: block; text-align: center; color: var(--accent); font-family: var(--display); font-weight: 800; letter-spacing: -.02em; font-size: clamp(17px, 1.6vw, 21px); margin-bottom: clamp(36px, 6vw, 72px); }
.ah-split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 6vw, 88px); align-items: center; max-width: 1180px; margin: 0 auto; }
.ah-para { margin: 0; color: var(--navy); }
.ah-para--en {
  max-width: 560px; margin-left: auto; text-align: right;
  font-family: var(--display); font-weight: 800; letter-spacing: -.02em;
  font-size: clamp(17px, 1.75vw, 22px); line-height: 1.22;
}
.ah-para--ar {
  max-width: 560px; margin-right: auto; direction: rtl; text-align: right;
  font-family: "IBM Plex Sans Arabic", "Geeza Pro", system-ui, sans-serif; font-weight: 700;
  font-size: clamp(17px, 1.75vw, 22px); line-height: 1.7;
}
.ah-art { margin: 0; max-width: 440px; will-change: translate; }
.ah-split:not(.ah-split--rev) .ah-art { margin-left: auto; margin-right: 0; }
.ah-art img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; box-shadow: 0 30px 60px -30px rgba(14, 42, 69, .45); }

.ah-pill {
  display: flex; justify-content: center; align-items: center;
  width: max-content; min-width: 220px; margin: clamp(36px, 5vw, 56px) auto 0;
  padding: 16px 34px; border-radius: 999px;
  font-family: var(--display); font-weight: 700; font-size: 12px; letter-spacing: .12em; text-transform: uppercase;
  transition: transform .3s, background .3s, color .3s;
}
.ah-pill:hover { transform: translateY(-3px); }
.ah-pill--coral { background: var(--accent); color: var(--cream); }
.ah-pill--coral:hover { background: var(--navy); }
.ah-pill--cream { background: var(--cream); color: var(--navy); }
.ah-pill--cream:hover { background: var(--navy); color: var(--cream); }

/* شريط الأعمال المتحرك */
.ah-marquee { background: var(--navy); padding: clamp(28px, 4vw, 48px) 0; overflow: hidden; margin-top: clamp(40px, 6vw, 80px); }
.ah-marquee__label { color: var(--cream); font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase; padding: 0 clamp(16px, 5vw, 72px) 18px; display: flex; justify-content: space-between; }
.ah-marquee__label .ar { letter-spacing: 0; text-transform: none; font-size: 13px; }
.ah-marquee__label a:hover { opacity: .7; }
.ah-track { display: flex; gap: 14px; width: max-content; animation: ah-slide 45s linear infinite; }
.ah-marquee:hover .ah-track { animation-play-state: paused; }
.ah-track a { width: clamp(150px, 18vw, 240px); aspect-ratio: 1; flex: none; overflow: hidden; background: #123f69; }
.ah-track img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.ah-track a:hover img { transform: scale(1.06); }
@keyframes ah-slide { to { transform: translateX(-50%); } }

/* الخدمات والعرض والمجاني تحت الواجهة الفنية */
body[data-variant="art"] .landing { padding-top: 0; }
body[data-variant="art"] .landing > .block:first-child { margin-top: clamp(48px, 7vw, 96px); }
body[data-variant="art"] .site-footer { padding-top: clamp(20px, 3vw, 40px); }

@media (max-width: 760px) {
  body[data-variant="art"] .nav a:not([href="#contact"]):not([href="work.html"]) { display: none; }
  .ah-hero { min-height: 640px; align-items: flex-start; padding-top: 140px; background-position: 30% center; }
  .ah-hint { display: none; }
  .ah-title span:nth-child(2) { padding-left: 16%; }
  .ah-title span:nth-child(4) { padding-left: 8%; }
  .ah-sq--a { top: 10%; left: auto; right: 8%; }
  .ah-sq--b { top: auto; bottom: 90px; left: 8%; }
  .ah-split { grid-template-columns: 1fr; }
  .ah-split--rev .ah-art { order: 2; }
  .ah-para--en, .ah-para--ar { max-width: none; }
  .ah-art, .ah-split:not(.ah-split--rev) .ah-art { width: 78%; max-width: none; margin: 8px auto 0; }
}
@media (prefers-reduced-motion: reduce) {
  .ah-title i { transform: none; animation: none; }
  .ah-sq { opacity: 1; animation: none; }
  .ah-track { animation: none; }
}

/* العرض المميز بالكحلي في الواجهة الفنية ليتناسق مع المربعات وشريط الأعمال */
body[data-variant="art"] .offer { background: var(--navy); }

/* =====================================================================
   ثيم «الأرض» — ألوان وروح لوحة الإلهام (body[data-theme="earth"])
   كريمي · ميرمية · كحلي · أزرق ذرة · زبدي · زيتوني · مغرة · طحلبي · نبيذي · تيراكوتا · صدئي
   ===================================================================== */
body[data-theme="earth"] {
  --bg: #f3ebd6;
  --ink: #1f2a33;
  --muted: #7a7466;
  --line: #d8ccb3;
  --tile: #e6dcc5;
  --accent: #a5432e;      /* صدئي */
  --navy: #0f3558;
  --cream: #f6eed8;
  --paper: #efefec;
  --mist: #c9d3dd;
  --peri: #8ea3d3;
  --sage: #d3d4b8;
  --stone: #dcd8cc;
  --corn: #5b8cc2;
  --butter: #fcf7cf;
  --olive: #cbc27c;
  --ochre: #b99a45;
  --moss: #5e6b50;
  --wine: #8a4c48;
  --terra: #bb5e52;
  --serif: "Cormorant Garamond", Georgia, serif;
  --mono: "IBM Plex Mono", ui-monospace, Menlo, monospace;
  background: var(--bg);
}
/* حبيبات ورق خفيفة على كامل الصفحة */
body[data-theme="earth"]::before {
  content: ""; position: fixed; inset: 0; z-index: 100; pointer-events: none; opacity: .07; mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}

/* البنر: دفء بني خفيف + زوايا مدوّرة للمربعين */
body[data-theme="earth"] .ah-hero::after { background: linear-gradient(180deg, rgba(60,35,20,.30), rgba(60,35,20,.04) 45%, rgba(60,35,20,.32)); }
body[data-theme="earth"] .ah-title { color: var(--cream); }
body[data-theme="earth"] .ah-sq { border-radius: 12px; background: var(--wine); }
body[data-theme="earth"] .ah-sq--b { background: var(--moss); }
body[data-theme="earth"] .ah-hero__ar { color: var(--butter); }
body[data-theme="earth"] .earth-note {
  position: absolute; z-index: 3; right: clamp(16px, 5vw, 72px); top: 92px; max-width: 250px; margin: 0;
  font-family: var(--mono); font-size: 11.5px; line-height: 1.5; color: var(--cream); text-align: left;
}

/* القسمان: كريمي + ميرمية، وكلمة الاستوديو بخط سيريف مائل */
body[data-theme="earth"] .ah-band--cream { background: var(--bg); }
body[data-theme="earth"] .ah-band--mist { background: var(--sage); }
body[data-theme="earth"] .ah-kicker { font-family: var(--serif); font-style: italic; font-weight: 600; font-size: clamp(24px, 2.4vw, 32px); letter-spacing: 0; color: var(--accent); }
body[data-theme="earth"] .ah-para { color: var(--navy); }
body[data-theme="earth"] .ah-band--mist .ah-para { color: #2f3a25; }
body[data-theme="earth"] .ah-art img { border-radius: 14px; box-shadow: 0 30px 60px -30px rgba(60, 35, 20, .45); }
body[data-theme="earth"] .ah-pill--coral { background: var(--accent); color: var(--cream); }
body[data-theme="earth"] .ah-pill--coral:hover { background: var(--wine); }
body[data-theme="earth"] .ah-pill--cream { background: var(--butter); color: var(--moss); }
body[data-theme="earth"] .ah-pill--cream:hover { background: var(--moss); color: var(--butter); }

/* العناوين الصغيرة بخط الآلة الكاتبة */
body[data-theme="earth"] .block__label,
body[data-theme="earth"] .services__num,
body[data-theme="earth"] .free__tag,
body[data-theme="earth"] .offer__tag,
body[data-theme="earth"] .offer__label,
body[data-theme="earth"] .contact__label,
body[data-theme="earth"] .ah-marquee__label > a { font-family: var(--mono); letter-spacing: .04em; }
body[data-theme="earth"] .block { border-top-color: var(--line); }
body[data-theme="earth"] .block__label span:first-child::before { background: var(--accent); }
body[data-theme="earth"] .services__name h3 { color: var(--navy); }
body[data-theme="earth"] .services__cta { color: var(--accent); }

/* شريط الألوان (مثل لوحة الإلهام) */
.earth-palette { display: grid; grid-template-columns: repeat(8, 1fr); gap: 8px; margin: clamp(48px, 7vw, 90px) 0 0; }
.earth-palette span { aspect-ratio: 1; border-radius: 8px; }
@media (max-width: 760px) { .earth-palette { grid-template-columns: repeat(8, 1fr); gap: 5px; } .earth-palette span { border-radius: 5px; } }

/* الجلسة: صدئي دافئ مع زبدي */
body[data-theme="earth"] .offer { background: var(--accent); border-radius: 18px; color: var(--cream); }
body[data-theme="earth"] .offer__tag, body[data-theme="earth"] .offer__label { color: var(--butter); }
body[data-theme="earth"] .offer__ar { color: var(--butter) !important; }
body[data-theme="earth"] .offer__text, body[data-theme="earth"] .offer__price { color: #f3dccf; }
body[data-theme="earth"] .offer__list li { border-bottom-color: rgba(252, 247, 207, .25); }
body[data-theme="earth"] .offer__list li .ar { color: #f0d2c4; }
body[data-theme="earth"] .offer__title { font-family: var(--serif); font-weight: 600; letter-spacing: -.01em; font-size: clamp(36px, 5vw, 66px); }
body[data-theme="earth"] .offer .btn--solid { background: var(--butter); border-color: var(--butter); color: var(--accent); }
body[data-theme="earth"] .offer .btn--solid:hover { background: var(--navy); border-color: var(--navy); color: var(--butter); }

/* المجاني: بطاقات بألوان مختلفة وزوايا مدوّرة */
body[data-theme="earth"] .free__card { border-radius: 16px; background: var(--butter); }
body[data-theme="earth"] .free__card:nth-child(2) { background: var(--mist); }
body[data-theme="earth"] .free__card:nth-child(3) { background: var(--sage); }
body[data-theme="earth"] .free__tag { color: var(--accent); }
body[data-theme="earth"] .btn { border-radius: 999px; }
body[data-theme="earth"] .btn--solid { background: var(--accent); border-color: var(--accent); }

/* شريط الأعمال: طحلبي + صور مدوّرة */
body[data-theme="earth"] .ah-marquee { background: var(--moss); }
body[data-theme="earth"] .ah-track a { border-radius: 12px; background: #4e5a42; }
body[data-theme="earth"] .ah-marquee__label { color: var(--butter); }

/* التواصل */
body[data-theme="earth"] .contact__title { font-family: var(--serif); font-weight: 600; font-style: italic; letter-spacing: -.01em; font-size: clamp(32px, 4.4vw, 56px); color: var(--navy); }
body[data-theme="earth"] .contact__list a:hover { color: var(--accent); }

@media (max-width: 760px) {
  body[data-theme="earth"] .earth-note { right: auto; left: 16px; top: 82px; max-width: 52%; font-size: 10.5px; }
  body[data-theme="earth"] .ah-hero { padding-top: 180px; }
}

/* =====================================================================
   كولاج الأعمال المرقّم 01–06 (مثل صفحات المجلات)
   ===================================================================== */
.ac { padding: clamp(56px, 8vw, 110px) clamp(16px, 4vw, 56px) clamp(40px, 6vw, 80px); max-width: 1280px; margin: 0 auto; }
.ac__grid {
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: clamp(10px, 1.6vw, 22px); row-gap: clamp(18px, 3vw, 40px);
  align-items: start;
}
.ac__item { display: block; position: relative; }
.ac__img { overflow: hidden; background: var(--tile); }
.ac__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s cubic-bezier(.2,.7,.2,1); }
.ac__item:hover .ac__img img { transform: scale(1.04); }
.ac__num {
  display: block; margin-top: 6px;
  font-family: "Inter Tight", "Helvetica Neue", Arial, sans-serif; font-weight: 500;
  font-size: clamp(40px, 6vw, 92px); line-height: .9; letter-spacing: -.05em; color: var(--ink);
}
/* الأماكن والمقاسات — كل صورة بحجم ومكان مختلف */
.ac__item--1 { grid-column: 1 / span 4; grid-row: 1; }
.ac__item--1 .ac__img { aspect-ratio: 4 / 5; }
.ac__item--2 { grid-column: 5 / span 4; grid-row: 1; }
.ac__item--2 .ac__img { aspect-ratio: 1; }
.ac__item--3 { grid-column: 9 / span 4; grid-row: 1; }
.ac__item--3 .ac__img { aspect-ratio: 5 / 4; }
.ac__item--3 .ac__num, .ac__item--5 .ac__num, .ac__item--6 .ac__num { text-align: right; }
.ac__item--4 { grid-column: 5 / span 3; grid-row: 2; margin-top: clamp(-120px, -8vw, -40px); }
.ac__item--4 .ac__img { aspect-ratio: 3 / 4; }
.ac__item--5 { grid-column: 8 / span 5; grid-row: 2; margin-top: clamp(-60px, -3vw, -20px); padding-left: clamp(16px, 4vw, 60px); }
.ac__item--5 .ac__img { aspect-ratio: 1; }
.ac__item--6 { grid-column: 10 / span 3; grid-row: 3; margin-top: clamp(-60px, -4vw, -20px); }
.ac__item--6 .ac__img { aspect-ratio: 4 / 5; filter: grayscale(1); }
.ac__item--6:hover .ac__img { filter: none; }
.ac__index {
  grid-column: 1 / span 8; grid-row: 3; align-self: end;
  list-style: none; margin: 0; padding: 0;
  font-family: "Inter Tight", "Helvetica Neue", Arial, sans-serif; font-size: clamp(15px, 1.5vw, 20px); line-height: 1.45; color: var(--ink);
}
.ac__index b { font-weight: 700; }
.ac__index a:hover { opacity: .6; }
.ac__all { margin-top: 14px; font-size: 11px; letter-spacing: .12em; text-transform: uppercase; }
.ac__all a { border-bottom: 1px solid currentColor; padding-bottom: 2px; }

@media (max-width: 760px) {
  .ac__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 10px; }
  .ac__item { grid-row: auto !important; margin-top: 0 !important; padding-left: 0 !important; }
  .ac__item--1 { grid-column: 1 / span 2; width: 78%; }
  .ac__item--2 { grid-column: 2; }
  .ac__item--3 { grid-column: 1; margin-top: 40px !important; }
  .ac__item--4 { grid-column: 2; }
  .ac__item--5 { grid-column: 1 / span 2; width: 70%; justify-self: end; }
  .ac__item--6 { grid-column: 2; }
  .ac__index { grid-column: 1 / span 2; grid-row: auto; margin-top: 18px; }
  .ac__num { font-size: 44px; }
}

/* =====================================================================
   ثيم حيادي (body[data-theme="neutral"]) — الألوان تأتي من الصور فقط
   ===================================================================== */
body[data-theme="neutral"] {
  --bg: #e7e5e0; --ink: #161616; --muted: #6f6c66; --line: #cfccc5; --tile: #d9d6cf;
  --accent: #161616; --cream: #f4f3ef; --navy: #161616; --mist: #efeeea;
  background: var(--bg); color: var(--ink);
}
body[data-theme="neutral"] .ah-hero::after { background: linear-gradient(180deg, rgba(0,0,0,.30), rgba(0,0,0,.04) 45%, rgba(0,0,0,.30)); }
body[data-theme="neutral"] .ah-sq { background: #222; }
body[data-theme="neutral"] .ah-band--cream { background: var(--bg); }
body[data-theme="neutral"] .ah-band--mist { background: var(--mist); }
body[data-theme="neutral"] .ah-kicker { color: var(--ink); }
body[data-theme="neutral"] .ah-para { color: var(--ink); }
body[data-theme="neutral"] .ah-pill--coral { background: var(--ink); color: var(--cream); }
body[data-theme="neutral"] .ah-pill--coral:hover { background: #3a3a3a; }
body[data-theme="neutral"] .ah-pill--cream { background: transparent; color: var(--ink); border: 1px solid var(--ink); }
body[data-theme="neutral"] .ah-pill--cream:hover { background: var(--ink); color: var(--cream); }
body[data-theme="neutral"] .block__label span:first-child::before { background: var(--ink); }
body[data-theme="neutral"] .services__num, body[data-theme="neutral"] .services__cta, body[data-theme="neutral"] .free__tag { color: var(--ink); }
body[data-theme="neutral"] .offer { background: #161616; }
body[data-theme="neutral"] .offer__tag, body[data-theme="neutral"] .offer__label { color: #bdb9b1; }
body[data-theme="neutral"] .offer__ar { color: #d9d6cf !important; }
body[data-theme="neutral"] .offer .btn--solid { background: var(--cream); border-color: var(--cream); color: #161616; }
body[data-theme="neutral"] .free__card { background: var(--mist); }
body[data-theme="neutral"] .btn--solid { background: var(--ink); border-color: var(--ink); color: var(--cream); }
body[data-theme="neutral"] .ah-marquee { display: none; }   /* الكولاج المرقّم يحل محله */

/* الجوال: ٤ روابط ما تكفي، فنخفي Services (موجودة في الرئيسية) */
@media (max-width: 560px) {
  .site-header .nav a[href$="#services"] { display: none; }
}
