/* ============================================================
   شمس · المكوّنات
   ============================================================ */

/* ------------------------------------------------------------
   الأزرار
   ------------------------------------------------------------ */

.btn {
  --btn-bg: var(--teal-700);
  --btn-fg: #fff;
  --btn-bd: var(--teal-700);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.8rem 1.5rem;
  border: 1px solid var(--btn-bd);
  border-radius: var(--r-pill);
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-family: var(--font-body);
  font-size: 0.9375rem;
  font-weight: 500;
  line-height: 1.4;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: transform 0.2s var(--ease-out), box-shadow 0.25s var(--ease-out),
              background 0.2s var(--ease-out), border-color 0.2s var(--ease-out),
              color 0.2s var(--ease-out);
}
.btn:hover {
  color: var(--btn-fg);
  transform: translateY(-2px);
  box-shadow: 0 12px 24px -12px rgb(10 103 113 / 0.55);
}
.btn:active { transform: translateY(0); }
.btn svg { flex-shrink: 0; transition: transform 0.25s var(--ease-out); }
/* السهم يشير يسارًا في الاتجاه العربي؛ يتحرّك نحو اتجاه القراءة */
.btn:hover svg { transform: translateX(-0.2rem); }

.btn--ghost {
  --btn-bg: transparent;
  --btn-fg: var(--deep-800);
  --btn-bd: var(--line-strong);
}
.btn--ghost:hover {
  --btn-bd: var(--teal-600);
  --btn-fg: var(--teal-700);
  background: var(--teal-50);
  box-shadow: none;
}

.btn--light {
  --btn-bg: #fff;
  --btn-fg: var(--deep-900);
  --btn-bd: #fff;
}
.btn--light:hover { box-shadow: 0 14px 28px -14px rgb(0 0 0 / 0.45); }

.btn--outline-light {
  --btn-bg: transparent;
  --btn-fg: #fff;
  --btn-bd: rgb(255 255 255 / 0.35);
}
.btn--outline-light:hover {
  --btn-bd: rgb(255 255 255 / 0.8);
  background: rgb(255 255 255 / 0.08);
  box-shadow: none;
}

.btn--sm { padding: 0.55rem 1.1rem; font-size: 0.875rem; }

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-block-start: 2.25rem;
}

/* رابط نصّي بسهم */
.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--teal-700);
  text-decoration: none;
}
.link-arrow svg { transition: transform 0.25s var(--ease-out); }
.link-arrow:hover svg { transform: translateX(-0.25rem); }

/* ------------------------------------------------------------
   رؤوس الأقسام
   ------------------------------------------------------------ */

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  margin-block-end: 1.1rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--gold-700);
}
.eyebrow::before {
  content: '';
  width: 1.6rem;
  height: 1px;
  background: var(--gold-500);
}
.section--deep .eyebrow { color: var(--gold-300); }
.section--deep .eyebrow::before { background: var(--gold-500); }

.section-head { max-width: var(--wrap-mid); margin-block-end: clamp(2.25rem, 4vw, 3.5rem); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head--center .eyebrow { justify-content: center; }

.lede {
  margin-block-start: 1.25rem;
  max-width: 62ch;
  font-size: clamp(1.03rem, 0.99rem + 0.2vw, 1.1875rem);
  line-height: 1.85;
  color: var(--ink-soft);
}
.section-head--center .lede { margin-inline: auto; }

/* ------------------------------------------------------------
   البطل — الصفحة الرئيسية
   ------------------------------------------------------------ */

.hero {
  position: relative;
  isolation: isolate;
  padding-block: clamp(3.5rem, 7vw, 6rem) clamp(7.5rem, 13vw, 10.5rem);
  overflow: hidden;
  background:
    radial-gradient(90% 70% at 78% 12%, rgb(170 223 228 / 0.55) 0%, transparent 60%),
    radial-gradient(70% 60% at 8% 92%, rgb(246 236 216 / 0.9) 0%, transparent 62%),
    linear-gradient(178deg, var(--sand-100) 0%, var(--teal-50) 60%, var(--teal-100) 100%);
}

/* قرص الشمس خلف العنوان */
.hero-sun {
  position: absolute;
  inset-block-start: clamp(2rem, 9vw, 7rem);
  inset-inline-end: clamp(2rem, 12vw, 11rem);
  width: clamp(15rem, 30vw, 26rem);
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: radial-gradient(circle,
    rgb(232 200 135 / 0.42) 0%, rgb(232 200 135 / 0.16) 45%, transparent 70%);
  z-index: -2;
  pointer-events: none;
  animation: sun-breathe 14s var(--ease-io) infinite;
}
.hero-sun::after {
  content: '';
  width: 34%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle at 38% 34%, #f2ddb2 0%, #e8c887 62%, #dcb36a 100%);
  box-shadow: 0 0 3.5rem rgb(232 200 135 / 0.75);
}
/* على الشاشات الضيقة يزحف القرص خلف العنوان، فنزيحه إلى الهامش أعلاه */
@media (max-width: 48rem) {
  .hero-sun {
    inset-block-start: -2rem;
    inset-inline-end: -4.5rem;
    width: 13rem;
    opacity: 0.7;
  }
}

@keyframes sun-breathe {
  0%, 100% { transform: scale(1); opacity: 0.9; }
  50%      { transform: scale(1.06); opacity: 1; }
}

/* الأمواج أسفل البطل */
.hero-waves {
  position: absolute;
  inset-inline: 0;
  inset-block-end: -1px;
  z-index: -1;
  width: 100%;
  height: clamp(7rem, 16vw, 13rem);
  pointer-events: none;
}
.hero-waves path { transform-origin: center; }
.hero-waves .wave-a { animation: wave-drift 22s linear infinite; }
.hero-waves .wave-b { animation: wave-drift 30s linear infinite reverse; }
@keyframes wave-drift {
  from { transform: translateX(0); }
  to   { transform: translateX(-8%); }
}

.hero-inner { position: relative; z-index: 1; max-width: 46rem; }
.hero h1 { letter-spacing: -0.015em; }
.hero h1 em {
  font-style: normal;
  color: var(--teal-700);
}
.hero .lede { font-size: clamp(1.0625rem, 1rem + 0.35vw, 1.3125rem); max-width: 54ch; }
.hero .lede + .lede { margin-block-start: 1rem; font-size: 1.0625rem; color: var(--ink-mute); }

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  margin-block-end: 1.75rem;
  padding: 0.4rem 0.95rem 0.4rem 0.5rem;
  border: 1px solid rgb(10 47 57 / 0.09);
  border-radius: var(--r-pill);
  background: rgb(255 255 255 / 0.7);
  backdrop-filter: blur(6px);
  font-size: 0.8125rem;
  color: var(--ink-soft);
}
.hero-badge b {
  padding: 0.15rem 0.55rem;
  border-radius: var(--r-pill);
  background: var(--gold-100);
  color: var(--gold-700);
  font-size: 0.75rem;
  font-weight: 600;
}


/* ------------------------------------------------------------
   الأرقام
   ------------------------------------------------------------ */

.stats {
  display: grid;
  gap: 1px;
  background: var(--line-soft);
  border: 1px solid var(--line-soft);
  border-radius: var(--r-lg);
  overflow: hidden;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 13rem), 1fr));
}
.stat {
  padding: clamp(1.5rem, 3vw, 2.25rem);
  background: var(--surface);
  transition: background 0.3s var(--ease-out);
}
.stat:hover { background: var(--teal-50); }
.stat-value {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 1.05rem + 1.15vw, 1.95rem);
  font-weight: 400;
  line-height: 1.3;
  text-wrap: balance;
  color: var(--teal-800);
  letter-spacing: -0.02em;
}
.stat-value small {
  font-size: 0.45em;
  font-weight: 500;
  color: var(--gold-600);
  margin-inline-start: 0.25rem;
}
.stat-label {
  display: block;
  margin-block-start: 0.75rem;
  font-size: 0.9375rem;
  line-height: 1.65;
  color: var(--ink-mute);
}

/* ------------------------------------------------------------
   البطاقات
   ------------------------------------------------------------ */

.card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: clamp(1.5rem, 2.6vw, 2rem);
  border: 1px solid var(--line-soft);
  border-radius: var(--r);
  background: var(--surface);
  box-shadow: var(--shadow-xs);
  transition: transform 0.35s var(--ease-out), box-shadow 0.35s var(--ease-out),
              border-color 0.35s var(--ease-out);
}
.card h3 { margin-block-end: 0.65rem; }
.card p { color: var(--ink-mute); font-size: 0.9375rem; line-height: 1.8; }
.card .link-arrow { margin-block-start: auto; padding-block-start: 1.35rem; }

.card--hover:hover,
.card--link:hover {
  transform: translateY(-4px);
  border-color: var(--teal-200);
  box-shadow: var(--shadow);
}

/* بطاقة كاملة قابلة للنقر: الرابط يغطّي البطاقة */
.card--link .stretch::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
}

/* شارة أيقونة */
.chip {
  display: grid;
  place-items: center;
  width: 3rem;
  height: 3rem;
  margin-block-end: 1.35rem;
  border-radius: var(--r-sm);
  background: var(--teal-50);
  color: var(--teal-700);
  transition: background 0.3s var(--ease-out), color 0.3s var(--ease-out);
}
.chip--gold { background: var(--gold-100); color: var(--gold-700); }
.card:hover .chip { background: var(--teal-600); color: #fff; }
.card:hover .chip--gold { background: var(--gold-600); color: #fff; }

/* بطاقة مرقّمة */
.card--numbered { padding-block-start: 2.75rem; }
.card-num {
  position: absolute;
  inset-block-start: clamp(1.25rem, 2vw, 1.6rem);
  inset-inline-end: clamp(1.35rem, 2.4vw, 1.85rem);
  font-family: var(--font-display);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--sand-400);
  letter-spacing: 0.04em;
}

/* شريط القيم الخمس — خمسة أعمدة كي لا يتيتّم العنصر الأخير */
.value-strip {
  display: grid;
  gap: 1px;
  background: var(--line-soft);
  border: 1px solid var(--line-soft);
  border-radius: var(--r-lg);
  overflow: hidden;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 10.5rem), 1fr));
}
.value-strip-item {
  display: grid;
  justify-items: center;
  align-content: start;
  gap: 0.9rem;
  padding: clamp(1.5rem, 3vw, 2.25rem) clamp(0.9rem, 1.6vw, 1.25rem);
  background: var(--surface);
  text-align: center;
  transition: background 0.3s var(--ease-out);
}
.value-strip-item:hover { background: var(--teal-50); }
.value-strip-item:hover .chip { background: var(--teal-600); color: #fff; }
.value-strip-item .chip { margin: 0; }
.value-strip-item h3 { font-size: 1.0625rem; }
.value-strip-item p {
  font-size: 0.8125rem;
  line-height: 1.75;
  color: var(--ink-mute);
}

/* قائمة قيم بخطوط فاصلة بدل البطاقات */
.value-list {
  display: grid;
  gap: 0;
  border-block-start: 1px solid var(--line);
}
.value-item {
  display: grid;
  gap: 0.5rem 2rem;
  padding-block: clamp(1.5rem, 3vw, 2.25rem);
  border-block-end: 1px solid var(--line);
  transition: background 0.3s var(--ease-out);
}
@media (min-width: 48rem) {
  .value-item { grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); align-items: baseline; }
}
.value-item:hover { background: rgb(255 255 255 / 0.6); }
.value-item h3 {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  font-size: clamp(1.15rem, 1rem + 0.7vw, 1.5rem);
}
.value-item h3 .value-idx {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--gold-600);
  letter-spacing: 0.05em;
}
.value-item p { color: var(--ink-soft); }

/* ------------------------------------------------------------
   بطاقة المشروع الكبيرة
   ------------------------------------------------------------ */

.project {
  display: grid;
  gap: 0;
  border: 1px solid var(--line-soft);
  border-radius: var(--r-lg);
  background: var(--surface);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.4s var(--ease-out), transform 0.4s var(--ease-out);
}
.project:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); }
@media (min-width: 52rem) {
  .project { grid-template-columns: 1.05fr 1fr; }
}
.project-art {
  position: relative;
  min-height: clamp(15rem, 32vw, 24rem);
  background: linear-gradient(165deg, var(--teal-100), var(--teal-200) 55%, var(--sand-200));
  overflow: hidden;
}
.project-art svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.project-body {
  padding: clamp(1.75rem, 4vw, 3.25rem);
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.project-body h3 { font-size: clamp(1.4rem, 1.1rem + 1.2vw, 2rem); font-weight: 400; }
.project-loc {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin-block-end: 1rem;
  font-size: 0.8125rem;
  color: var(--ink-mute);
}
.project-body p { margin-block-start: 1rem; color: var(--ink-soft); }
.project-body .btn-row { margin-block-start: 1.85rem; }

/* وسوم */
.tags { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-block-start: 1.6rem; padding: 0; list-style: none; }
.tag {
  padding: 0.3rem 0.8rem;
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
  background: var(--bg-alt);
  font-size: 0.8125rem;
  color: var(--ink-soft);
}

/* ------------------------------------------------------------
   اللوحات البصرية (SVG)
   ------------------------------------------------------------ */

.art-panel {
  position: relative;
  border-radius: var(--r-lg);
  overflow: hidden;
  background: linear-gradient(165deg, var(--sand-100), var(--teal-100));
  aspect-ratio: 4 / 3;
  box-shadow: var(--shadow);
}
.art-panel svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.art-panel--tall { aspect-ratio: 3 / 4; }

/* بطاقة عائمة فوق اللوحة */
.art-note {
  position: absolute;
  inset-block-end: 1.25rem;
  inset-inline-start: 1.25rem;
  z-index: 2;
  max-width: 15rem;
  padding: 1rem 1.15rem;
  border-radius: var(--r-sm);
  background: rgb(255 255 255 / 0.92);
  backdrop-filter: blur(8px);
  box-shadow: var(--shadow-sm);
  font-size: 0.8125rem;
  line-height: 1.7;
  color: var(--ink-soft);
}
.art-note b {
  display: block;
  font-family: var(--font-display);
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--deep-900);
  margin-block-end: 0.15rem;
}

/* ------------------------------------------------------------
   البيان المقتبس
   ------------------------------------------------------------ */

.statement {
  position: relative;
  max-width: 44rem;
  margin-inline: auto;
  text-align: center;
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 1.05rem + 1.5vw, 2.15rem);
  font-weight: 300;
  line-height: 1.55;
  letter-spacing: -0.01em;
  color: var(--deep-800);
  text-wrap: balance;
}
.statement strong { font-weight: 500; color: var(--teal-700); }
.statement::before {
  content: '';
  display: block;
  width: 2.5rem;
  height: 2px;
  margin: 0 auto 2rem;
  background: var(--gold-500);
}
.section--deep .statement { color: rgb(255 255 255 / 0.94); }
.section--deep .statement strong { color: var(--teal-300); }

/* ------------------------------------------------------------
   قوائم بعلامات
   ------------------------------------------------------------ */

.list-check { list-style: none; margin: 1.75rem 0 0; padding: 0; display: grid; gap: 0.9rem; }
.list-check li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.85rem;
  align-items: start;
  color: var(--ink-soft);
}
.list-check svg { margin-block-start: 0.45rem; color: var(--teal-600); flex-shrink: 0; }

/* ------------------------------------------------------------
   شريط الدعوة للتواصل
   ------------------------------------------------------------ */

.cta-band {
  position: relative;
  isolation: isolate;
  padding-block: clamp(3.25rem, 7vw, 5.5rem);
  border-radius: var(--r-lg);
  background: linear-gradient(145deg, var(--deep-800) 0%, var(--teal-800) 100%);
  color: #fff;
  overflow: hidden;
  text-align: center;
}
.cta-band::before {
  content: '';
  position: absolute;
  inset-block-start: -55%;
  inset-inline-start: 50%;
  translate: -50% 0;
  width: min(46rem, 120%);
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgb(229 198 140 / 0.20) 0%, transparent 62%);
  z-index: -1;
}
.cta-band h2 { color: #fff; font-weight: 400; max-width: 22ch; margin-inline: auto; }
.cta-band .lede { color: rgb(255 255 255 / 0.74); margin-inline: auto; max-width: 48ch; }
.cta-band .btn-row { justify-content: center; }

/* ------------------------------------------------------------
   جدول/قائمة الوثائق
   ------------------------------------------------------------ */

.doc-list { list-style: none; margin: 0; padding: 0; border-block-start: 1px solid var(--line); }
.doc-list li { border-block-end: 1px solid var(--line); }
.doc-list a,
.doc-list .doc-row {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding-block: 1.15rem;
  color: var(--ink);
  text-decoration: none;
  transition: padding-inline-start 0.25s var(--ease-out), color 0.2s var(--ease-out);
}
.doc-list a:hover { color: var(--teal-700); padding-inline-start: 0.35rem; }
.doc-list .doc-title { font-weight: 500; font-size: 0.9688rem; }
.doc-list .doc-meta { margin-inline-start: auto; font-size: 0.8125rem; color: var(--ink-mute); white-space: nowrap; }

/* ------------------------------------------------------------
   الأخبار
   ------------------------------------------------------------ */

.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-block-end: 2.5rem;
}
.filter {
  padding: 0.5rem 1.1rem;
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
  background: transparent;
  font-size: 0.875rem;
  color: var(--ink-soft);
  cursor: pointer;
  transition: all 0.2s var(--ease-out);
}
.filter:hover { border-color: var(--teal-300); color: var(--teal-700); }
.filter[aria-pressed="true"] {
  background: var(--deep-900);
  border-color: var(--deep-900);
  color: #fff;
}

.news-card { overflow: hidden; padding: 0; }
.news-card .news-art { aspect-ratio: 16 / 9; background: linear-gradient(150deg, var(--teal-100), var(--sand-200)); }
.news-card .news-body { padding: clamp(1.35rem, 2.4vw, 1.75rem); display: flex; flex-direction: column; flex: 1; }
.news-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.65rem;
  margin-block-end: 0.85rem;
  font-size: 0.75rem;
  color: var(--ink-mute);
}
.news-meta .tag { padding: 0.15rem 0.6rem; font-size: 0.7188rem; }

.empty-state {
  display: grid;
  place-items: center;
  gap: 1rem;
  padding: clamp(3rem, 8vw, 5.5rem) 1.5rem;
  border: 1px dashed var(--line-strong);
  border-radius: var(--r-lg);
  background: rgb(255 255 255 / 0.5);
  text-align: center;
}
.empty-state svg { color: var(--sand-400); }
.empty-state h3 { font-weight: 400; }
.empty-state p { max-width: 42ch; color: var(--ink-mute); font-size: 0.9375rem; }

/* ------------------------------------------------------------
   التواصل
   ------------------------------------------------------------ */

.contact-grid { display: grid; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
@media (min-width: 56rem) { .contact-grid { grid-template-columns: 1fr 1.25fr; } }

.info-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 1.5rem; }
.info-item { display: grid; grid-template-columns: auto 1fr; gap: 1rem; align-items: start; }
.info-item .chip { width: 2.5rem; height: 2.5rem; margin: 0; }
.info-item h3 { font-family: var(--font-body); font-size: 0.75rem; font-weight: 600; letter-spacing: 0.08em; color: var(--ink-mute); margin-block-end: 0.3rem; }
.info-item a, .info-item address {
  font-style: normal;
  font-size: 1rem;
  color: var(--ink);
  text-decoration: none;
  line-height: 1.7;
}
.info-item a:hover { color: var(--teal-600); }

/* ---- النموذج ---- */
.form {
  padding: clamp(1.5rem, 3.5vw, 2.5rem);
  border: 1px solid var(--line-soft);
  border-radius: var(--r-lg);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
}
.form-grid { display: grid; gap: 1.25rem; }
@media (min-width: 40rem) { .form-grid--2 { grid-template-columns: 1fr 1fr; } }

.field { display: grid; gap: 0.5rem; }
.field label { font-size: 0.875rem; font-weight: 500; color: var(--ink-soft); }
.field label .req { color: var(--gold-600); }
.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 0.75rem 0.95rem;
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  background: var(--sand-50);
  font-size: 0.9375rem;
  line-height: 1.6;
  transition: border-color 0.2s var(--ease-out), background 0.2s var(--ease-out),
              box-shadow 0.2s var(--ease-out);
}
.field textarea { resize: vertical; min-height: 8rem; }
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  background: #fff;
  border-color: var(--teal-500);
  box-shadow: 0 0 0 3px rgb(18 152 165 / 0.15);
}
.field input::placeholder,
.field textarea::placeholder { color: var(--ink-faint); }

.field .error {
  font-size: 0.8125rem;
  color: #a8341f;
  min-height: 1.2em;
}
.field.is-invalid input,
.field.is-invalid select,
.field.is-invalid textarea { border-color: #c4553d; background: #fdf6f4; }

.form-note { margin-block-start: 1.25rem; font-size: 0.8125rem; color: var(--ink-mute); line-height: 1.7; }

.form-status {
  margin-block-start: 1.25rem;
  padding: 0.9rem 1.1rem;
  border-radius: var(--r-sm);
  border: 1px solid var(--teal-200);
  background: var(--teal-50);
  font-size: 0.9375rem;
  color: var(--teal-800);
}

/* ------------------------------------------------------------
   فواصل الأمواج
   ------------------------------------------------------------ */

.wave-divider { display: block; width: 100%; height: clamp(3rem, 6vw, 5rem); }
.wave-divider path { fill: var(--bg-alt); }
.wave-divider--to-deep path { fill: var(--deep-900); }
.wave-divider--to-bg path { fill: var(--bg); }

/* ------------------------------------------------------------
   الظهور عند التمرير
   ------------------------------------------------------------ */

.reveal {
  opacity: 0;
  transform: translateY(1.35rem);
  transition: opacity 0.75s var(--ease-out), transform 0.75s var(--ease-out);
  transition-delay: var(--d, 0ms);
}
.reveal.is-in { opacity: 1; transform: none; }

/* لا حركة قبل تحميل JS إن كان مُعطّلًا */
.no-js .reveal { opacity: 1; transform: none; }

/* ------------------------------------------------------------
   مساعدات
   ------------------------------------------------------------ */

.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}
.mt-0 { margin-block-start: 0; }
.center { text-align: center; }
.prose > * + * { margin-block-start: 1.35rem; }
.prose p { color: var(--ink-soft); }
