/* =============================================================
   ملتقى سكيتش للاقتصاد الإبداعي 2026
   ============================================================= */

:root {
  --ink:    #14161A;
  --paper:  #EDE9E0;
  --card:   #FDFCF8;
  --line:   #DED9CE;
  --muted:  #5A5952;
  --body:   #3A3A36;
  --dim:    #8A877F;
  --ink-2:  #1D2026;
  --ink-3:  #24272E;
  --ink-4:  #3A3A36;

  --blue:   #2F4BFF;
  --blue-2: #3B56FF;
  --lime:   #C9F24D;
  --coral:  #FF5233;
  --amber:  #FFC93C;
  --lilac:  #B79CFF;
  --teal:   #00C2B2;

  --font-ar:   'IBM Plex Sans Arabic', system-ui, sans-serif;
  --font-disp: 'Manrope', system-ui, sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, monospace;

  --pad-x: 45px;
  --maxw:  1152px;
  --ease:  cubic-bezier(.2, .8, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-ar);
  font-size: 13px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
h1, h2, h3 { margin: 0; font-weight: 700; letter-spacing: -.01em; }
p { margin: 0; }

.mono { font-family: var(--font-mono); letter-spacing: .14em; }

.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* مصيدة السبام — مخفية عن البشر.
   نتجنّب left:-9999px لأنه يوسّع عرض الصفحة في الاتجاه RTL. */
.hp {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px; border: 0;
  overflow: hidden;
  clip-path: inset(50%);
  opacity: 0;
  pointer-events: none;
}

:focus-visible {
  outline: 2.5px solid var(--coral);
  outline-offset: 2.5px;
}

/* ------------------------------------------------------------- الشعار */
.wordmark {
  font-family: var(--font-disp);
  font-weight: 800;
  letter-spacing: -.03em;
  --wordmark-underline: var(--coral);
}
.wordmark--sm { font-size: 22px; }
.wordmark--lg { font-size: 35px; }

.wordmark__text {
  position: relative;
  display: inline-block;
  line-height: 1;
  margin-bottom: .2em;
}
.wordmark__underline {
  position: absolute;
  left: 2%; bottom: -.13em;
  width: 64%; height: .11em;
  overflow: visible;
}

/* ------------------------------------------------------------- الترويسة */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}

.nav__spectrum {
  height: 5px;
  background: linear-gradient(90deg,
    var(--blue) 0 16.6%, var(--lime) 16.6% 33.3%, var(--coral) 33.3% 50%,
    var(--amber) 50% 66.6%, var(--lilac) 66.6% 83.3%, var(--teal) 83.3% 100%);
}

.nav__bar {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 16px var(--pad-x);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 22px;
  font-size: 13px;
  font-weight: 600;
}
.nav__links a {
  padding: 5px 0;
  border-bottom: 2px solid transparent;
  transition: border-color .2s var(--ease), color .2s var(--ease);
}
.nav__links a:hover,
.nav__links a:focus-visible { border-bottom-color: var(--coral); }

.nav__actions { display: flex; align-items: center; gap: 10px; }

.nav__toggle {
  display: none;
  flex-direction: column;
  gap: 4px;
  background: none;
  border: 1px solid var(--ink);
  padding: 8px;
  cursor: pointer;
}
.nav__toggle span {
  display: block; width: 16px; height: 2px; background: var(--ink);
}

/* ------------------------------------------------------------- الأزرار */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: inherit;
  font-size: 14px;
  font-weight: 700;
  padding: 14px 24px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background-color .2s var(--ease), color .2s var(--ease),
              border-color .2s var(--ease);
}

.btn--primary { background: var(--coral); color: var(--ink); }
.btn--primary:hover { background: var(--ink); color: var(--card); }

.btn--outline { border-color: var(--ink); padding: 14px 24px; }
.btn--outline:hover { background: var(--ink); color: var(--card); }

.btn--lime { background: var(--lime); color: var(--ink); }
.btn--lime:hover { background: var(--card); }

.btn--ghost {
  border-color: var(--ink);
  font-size: 10px;
  padding: 10px 16px;
  direction: ltr;
}
.btn--ghost:hover { background: var(--ink); color: var(--card); }

.btn--ticket-sm {
  background: var(--ink); color: var(--card);
  font-family: var(--font-mono); font-size: 10px; letter-spacing: .14em;
  padding: 8px 13px; direction: ltr;
}
.btn--ticket-sm:hover { background: var(--coral); color: var(--ink); }

.btn--lime-sm {
  background: var(--lime); color: var(--ink);
  font-family: var(--font-mono); font-size: 10px; letter-spacing: .14em;
  padding: 11px 16px; direction: ltr;
}
.btn--lime-sm:hover { background: var(--card); }

.btn--dark-sm {
  background: var(--ink); color: var(--card);
  font-size: 10px; padding: 10px 16px; direction: ltr;
}
.btn--dark-sm:hover { background: var(--coral); color: var(--ink); }

/* ------------------------------------------------------------- عناصر مشتركة */
.eyebrow {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: .16em;
  color: var(--muted);
  direction: ltr;
}
.eyebrow--lime { color: var(--lime); }
.eyebrow--ink  { color: rgba(20, 22, 26, .78); }

.dot { width: 10px; height: 10px; flex-shrink: 0; }
.dot--coral { background: var(--coral); }
.dot--teal  { background: var(--teal); }

.swatch { width: 21px; height: 21px; flex-shrink: 0; transition: background-color .32s var(--ease); }

.section {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 70px var(--pad-x);
}
.section--ink  { background: var(--ink); color: var(--card); max-width: none; }
.section--card { background: var(--card); max-width: none; }
.section--blue { background: var(--blue); color: var(--card); max-width: none; }
.section--lime { background: var(--lime); max-width: none; padding-block: 61px; }

/* الأقسام ذات الخلفية تحتاج غلافاً داخلياً بعرض محدود */
.section--ink  > *, .section--card > *,
.section--blue > *, .section--lime > * {
  max-width: var(--maxw);
  margin-inline: auto;
}

.section__head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 32px;
  margin-bottom: 27px;
  flex-wrap: wrap;
}
.section__title { font-size: 42px; margin-top: 10px; }
.section__title--sm { font-size: 30px; }
.section__note {
  font-size: 14px;
  color: var(--muted);
  max-width: 320px;
  line-height: 1.7;
}
.section--ink .section__note { color: inherit; opacity: .72; }

/* ------------------------------------------------------------- البطل */
.hero {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 51px var(--pad-x) 0;
}

/* الهيرو يتوسّط: عمود واحد، الشعار في منتصفه */
.hero { text-align: center; }
.hero__copy { max-width: 780px; margin-inline: auto; }

.hero__logo { position: relative; margin-top: 19px; }

.hero__wordmark {
  position: relative; z-index: 1;
  width: 100%; max-width: 560px; height: auto;
  display: block; overflow: visible;
  margin-inline: auto;
}
.hero__wordmark-text {
  font-family: var(--font-disp);
  font-size: 182px;
  font-weight: 800;
  letter-spacing: -7px;
  fill: var(--ink);
  stroke: var(--ink);
  stroke-width: 1.5;
  stroke-linejoin: round;
  stroke-dasharray: 1600;
  animation: sketchTrace 2.2s var(--ease) both,
             sketchFill 2.9s ease-out both,
             sketchStroke 2.9s ease-out both;
}
.hero__wordmark-underline {
  stroke: var(--coral);
  stroke-width: 16;
  stroke-linecap: round;
  stroke-dasharray: 280;
  animation: sketchUnder 2.9s var(--ease) both;
}



.hero__title {
  display: flex; align-items: center; justify-content: center; gap: 11px;
  margin-top: 18px;
  font-size: 24px; font-weight: 700;
}

.hero__lead {
  font-size: 16px; line-height: 1.7;
  color: var(--body);
  max-width: 520px;
  margin: 14px auto 0;
  text-wrap: pretty;
}

.hero__cta {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 11px;
  margin-top: 26px;
}
.hero__stock {
  display: flex; align-items: center; gap: 8px;
  margin-inline-start: 8px;
  font-size: 10px; color: var(--muted); direction: ltr; white-space: nowrap;
}

/* الأرقام */
.stats {
  display: flex;
  border-top: 1px solid var(--line);
  padding-top: 19px;
  margin-top: 42px;
  padding-bottom: 51px;
  gap: 19px;
}
.stats__item { flex: 1; }
.stats__value { font-family: var(--font-disp); font-size: 30px; font-weight: 800; }
.stats__label { font-size: 12px; color: var(--muted); margin-top: 2px; }

/* ------------------------------------------------------------- العد التنازلي */
.countdown { background: var(--ink); color: var(--card); overflow: hidden; }

.countdown__bar {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 32px var(--pad-x);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
  border-bottom: 1px solid rgba(253, 252, 248, .16);
}

.clock { display: flex; gap: 11px; }
.clock__unit { text-align: center; min-width: 83px; }
.clock__num {
  font-family: var(--font-disp);
  font-size: 42px; font-weight: 800; line-height: 1;
  font-variant-numeric: tabular-nums;
}
.clock__num--lime { color: var(--lime); }
.clock__sep {
  font-family: var(--font-disp);
  font-size: 42px; font-weight: 800; line-height: 1;
  color: var(--ink-4);
}
.clock__label { font-size: 9px; letter-spacing: .16em; color: var(--dim); margin-top: 5px; }

/* انقضى موعد النسخة الحالية */
.clock.is-ended { opacity: .5; }
.clock.is-ended .clock__num--lime { color: inherit; }

.marquee { padding: 14px 0; overflow: hidden; }
.marquee__track {
  display: flex;
  width: max-content;
  animation: wMarch 26s linear infinite;
  font-family: var(--font-disp);
  font-size: 21px; font-weight: 800; letter-spacing: -.02em;
  white-space: nowrap;
}
.marquee__group { display: flex; align-items: center; gap: 21px; padding-left: 21px; }
.marquee__dot { width: 11px; height: 11px; }

/* ------------------------------------------------------------- الركائز */
.pillars {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
.pillar {
  background: var(--card);
  padding: 27px;
  min-height: 224px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: background-color .25s var(--ease), color .25s var(--ease);
}
.pillar:hover {
  background: var(--pillar-hover);
  color: var(--pillar-hover-ink);
}
.pillar__title { font-size: 21px; }
.pillar__body { font-size: 13px; line-height: 1.7; margin-top: 6.5px; opacity: .86; }
.pillar__mark { height: 46px; }
.pillar__mark svg { width: 100%; height: 37px; display: block; }

.pillar__grid { display: grid; gap: 4px; }
.pillar__grid--2 { grid-template-columns: repeat(2, 21px); grid-auto-rows: 21px; }
.pillar__grid--3 { grid-template-columns: repeat(3, 18px); grid-auto-rows: 18px; gap: 3px; }
.pillar__grid i { display: block; }

.pillar__checker {
  display: block; width: 51px; height: 21px;
  background: repeating-conic-gradient(var(--teal) 0% 25%, var(--card) 0% 50%) 0 0 / 10px 10px;
}

/* ------------------------------------------------------------- البرنامج */
.tabs { display: flex; gap: 8px; margin-bottom: 21px; flex-wrap: wrap; }
.tab {
  padding: 13px 24px;
  font-size: 14px; font-weight: 700;
  background: var(--ink-2);
  color: var(--card);
  cursor: pointer;
  transition: background-color .2s var(--ease), color .2s var(--ease);
}
.tab:hover { background: var(--ink-3); }
.tab.is-active { background: var(--lime); color: var(--ink); }

.schedule {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 13px;
}
.schedule.is-hidden { display: none; }

.session {
  background: var(--ink-2);
  padding: 21px;
  display: flex;
  gap: 18px;
  align-items: flex-start;
  border-inline-end: 5px solid var(--lime);
  transition: background-color .2s var(--ease);
}
.session:hover { background: var(--ink-3); }
.session__time {
  font-size: 12px; letter-spacing: .06em; color: var(--lime);
  flex-shrink: 0; min-width: 46px;
}
.session__body { flex: 1; }
.session__title { font-size: 17px; line-height: 1.3; }
.session__who { font-size: 12px; opacity: .72; margin-top: 5px; line-height: 1.6; }
.session__hall {
  font-size: 9px; background: var(--ink-4); color: var(--card);
  padding: 4px 7px; flex-shrink: 0; white-space: nowrap;
}

/* ------------------------------------------------------------- المتحدثون */
.speakers {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
.speaker__frame {
  aspect-ratio: 4 / 5;
  position: relative;
  overflow: hidden;
  background: var(--ink);
  display: flex;
  align-items: center;
  justify-content: center;
}
.speaker__photo {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
}
.speaker__placeholder { color: rgba(253, 252, 248, .5); font-size: 11px; }
.speaker__scrim {
  position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg,
    rgba(20, 22, 26, .05) 0%, rgba(20, 22, 26, .05) 46%,
    rgba(20, 22, 26, .86) 88%, rgba(20, 22, 26, .6) 100%);
}
.speaker__chip {
  position: absolute; left: 0; top: 0;
  width: 35px; height: 35px;
  pointer-events: none;
}
.speaker__plate {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 18px;
  color: var(--card);
  pointer-events: none;
}
.speaker__name { font-size: 18px; line-height: 1.25; }
.speaker__role { font-size: 9px; letter-spacing: .1em; margin-top: 4px; direction: ltr; }
.speaker__talk { margin-top: 10px; font-size: 13px; color: var(--body); line-height: 1.6; }

/* ------------------------------------------------------------- المعارض */
.halls {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 13px;
}
.hall {
  aspect-ratio: 4 / 3;
  background: var(--hall-bg);
  color: var(--hall-fg);
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: filter .2s var(--ease);
}
.hall:hover { filter: brightness(.94); }
.hall__top { display: flex; justify-content: space-between; align-items: flex-start; }
.hall__num { font-family: var(--font-disp); font-size: 42px; font-weight: 800; line-height: 1; }
.hall__tag { font-size: 9px; white-space: nowrap; }
.hall__name { font-size: 21px; line-height: 1.25; }
.hall__desc { font-size: 12px; line-height: 1.65; margin-top: 6.5px; opacity: .86; }

/* ------------------------------------------------------------- الورش */
.workshops {
  display: flex;
  flex-direction: column;
  gap: 2px;
  background: var(--line);
}
.workshop { background: var(--paper); }

.workshop__row {
  padding: 21px 24px;
  display: flex;
  align-items: center;
  gap: 19px;
  cursor: pointer;
  list-style: none;
  transition: background-color .2s var(--ease);
}
.workshop__row::-webkit-details-marker { display: none; }
.workshop__row:hover { background: var(--card); }

.workshop__dot { width: 11px; height: 11px; flex-shrink: 0; }
.workshop__code { font-size: 10px; color: var(--muted); flex-shrink: 0; min-width: 88px; }
.workshop__title { flex: 1; font-size: 19px; font-weight: 700; line-height: 1.3; }
.workshop__meta { font-size: 10px; color: var(--muted); flex-shrink: 0; white-space: nowrap; }

.workshop__sign {
  font-family: var(--font-disp);
  font-size: 21px; font-weight: 800; color: var(--muted);
  flex-shrink: 0; width: 21px; text-align: center; line-height: 1;
}
.workshop__sign::before { content: '+'; }
.workshop[open] .workshop__sign::before { content: '−'; }

.workshop__panel {
  padding: 0 54px 24px 24px;
  display: flex;
  gap: 29px;
  align-items: flex-end;
  flex-wrap: wrap;
}
.workshop__body { flex: 1; font-size: 14px; line-height: 1.75; color: var(--body); max-width: 528px; }
.workshop__book { display: flex; align-items: center; gap: 11px; flex-shrink: 0; }
.workshop__seats { font-size: 10px; color: var(--muted); white-space: nowrap; }

/* ------------------------------------------------------------- العارضون */
.exhibit {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 45px;
  align-items: center;
}
.exhibit__title { font-size: 45px; line-height: 1.15; margin-top: 11px; }
.exhibit__lead { font-size: 15px; line-height: 1.75; margin-top: 16px; max-width: 448px; }

.packages {
  list-style: none;
  margin: 24px 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-width: 416px;
}
.package {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: var(--blue-2);
  padding: 14px 18px;
  font-size: 10px;
}
.package__area { color: var(--lime); }

.exhibit__cta { display: flex; gap: 11px; margin-top: 24px; align-items: center; flex-wrap: wrap; }
.exhibit__deadline { font-size: 10px; color: var(--lime); direction: ltr; }

.exhibit__mosaic {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: repeat(3, 1fr);
  gap: 8px;
  aspect-ratio: 1;
}
.exhibit__mosaic > span { position: relative; overflow: hidden; }
.exhibit__mosaic-ink { background: var(--ink); }
.exhibit__mosaic-ink svg { position: absolute; inset: 0; width: 100%; height: 100%; }

/* ------------------------------------------------------------- الشركاء */
.partners {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 13px;
}
.partner {
  height: 83px;
  background: var(--paper);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  color: var(--muted);
}
.partner img { max-height: 48px; width: auto; object-fit: contain; }

/* ------------------------------------------------------------- التذاكر */
.tickets {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
.ticket {
  background: var(--card);
  padding: 27px;
  min-height: 264px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.ticket--featured { background: var(--coral); color: var(--ink); }
.ticket--dark     { background: var(--ink);   color: var(--card); }

.ticket__chip { display: block; width: 29px; height: 29px; margin-bottom: 16px; }
.ticket__badge {
  display: inline-block;
  font-size: 9px;
  background: var(--ink); color: var(--card);
  padding: 4px 7px;
  margin-bottom: 13px;
}
.ticket__name { font-size: 21px; }
.ticket__price {
  font-family: var(--font-disp);
  font-size: 35px; font-weight: 800;
  margin-top: 8px;
}
.ticket__desc { font-size: 13px; line-height: 1.8; margin-top: 13px; color: var(--body); }
.ticket--featured .ticket__desc { color: var(--ink); }
.ticket--dark .ticket__desc { color: inherit; opacity: .86; }

/* بطاقة التذكرة — قصّ دائري على الجانبين يحاكي تذكرة حقيقية */
.ticket__cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  background: var(--ink);
  color: var(--card);
  font-size: 13px; font-weight: 700;
  padding: 12px 19px;
  transition: background-color .2s var(--ease), color .2s var(--ease);
  -webkit-mask-image:
    radial-gradient(circle 7px at 0 50%, transparent 97%, #000 100%),
    radial-gradient(circle 7px at 100% 50%, transparent 97%, #000 100%);
  -webkit-mask-composite: source-in;
          mask-image:
    radial-gradient(circle 7px at 0 50%, transparent 97%, #000 100%),
    radial-gradient(circle 7px at 100% 50%, transparent 97%, #000 100%);
          mask-composite: intersect;
}
.ticket__cta:hover { background: var(--coral); color: var(--ink); }
.ticket--featured .ticket__cta:hover { background: var(--card); color: var(--ink); }
.ticket--dark .ticket__cta { background: var(--lime); color: var(--ink); }
.ticket--dark .ticket__cta:hover { background: var(--card); }

.ticket__admit {
  font-size: 9px; letter-spacing: .16em;
  border-inline-start: 1px dashed currentColor;
  padding-inline-start: 10px;
  opacity: .75;
}

/* ------------------------------------------------------------- النشرة */
.newsletter {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 45px;
  flex-wrap: wrap;
}
.newsletter__copy { flex: 1; min-width: 240px; }
.newsletter__title { font-size: 35px; line-height: 1.2; margin-top: 10px; }
.newsletter__lead { font-size: 14px; line-height: 1.7; margin-top: 10px; max-width: 416px; }

.newsletter__form-wrap { flex: 1; max-width: 416px; min-width: 240px; }
.newsletter__form { display: flex; }

.newsletter__input {
  flex: 1;
  min-width: 0;
  background: var(--card);
  border: 0;
  padding: 16px 18px;
  font-family: inherit;
  font-size: 14px;
  color: var(--ink);
}
.newsletter__input::placeholder { color: var(--muted); }

.newsletter__submit {
  background: var(--ink);
  color: var(--card);
  border: 0;
  font-family: inherit;
  font-size: 14px; font-weight: 700;
  padding: 16px 24px;
  cursor: pointer;
  white-space: nowrap;
  transition: background-color .2s var(--ease), color .2s var(--ease);
}
.newsletter__submit:hover { background: var(--coral); color: var(--ink); }

.newsletter__msg { margin-top: 10px; font-size: 12px; font-weight: 600; }
.newsletter__msg.is-ok    { color: #14161A; }
.newsletter__msg.is-warn  { color: #6B4E00; }
.newsletter__msg.is-error { color: #8A1B0A; }

.newsletter__fine {
  font-size: 9px; letter-spacing: .12em;
  color: rgba(20, 22, 26, .78);
  margin-top: 11px;
}

/* ------------------------------------------------------------- التذييل */
.footer { background: var(--ink); color: var(--card); }

.footer__grid,
.footer__base { max-width: var(--maxw); margin-inline: auto; }

.footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 38px;
  padding: 58px var(--pad-x) 35px;
  border-bottom: 1px solid rgba(253, 252, 248, .18);
}
.footer__about { font-size: 14px; line-height: 1.75; opacity: .78; margin-top: 14px; max-width: 272px; }
.footer__spectrum { display: grid; grid-template-columns: repeat(6, 16px); grid-auto-rows: 16px; margin-top: 19px; }

.footer__col { display: flex; flex-direction: column; gap: 9px; font-size: 13px; }
.footer__col a { transition: color .2s var(--ease); }
.footer__col a:hover { color: var(--lime); }
.footer__label { font-size: 9px; letter-spacing: .16em; color: var(--dim); margin-bottom: 4px; }

.footer__contact { display: flex; flex-direction: column; gap: 9px; font-size: 10px; letter-spacing: .06em; }

.footer__base {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 21px var(--pad-x) 35px;
  font-size: 9px;
  color: var(--dim);
  flex-wrap: wrap;
  /* اسم الحدث محفوظ بحروفه الصحيحة في قاعدة البيانات؛
     هنا فقط يُعرض بحروف كبيرة ليتناسق مع بقية السطر */
  text-transform: uppercase;
}

/* ------------------------------------------------- شريط التخصصات العرضي */
/* يجلس فوق التذييل ويمتد بعرض الشاشة كاملاً */
.strip {
  background: var(--card);
  border-top: 1px solid var(--line);
  padding-top: 45px;
  overflow: hidden;
}

.strip__head {
  max-width: var(--maxw);
  margin-inline: auto;
  padding: 0 var(--pad-x) 26px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.strip__title { font-size: 34px; margin-top: 10px; letter-spacing: -.01em; }

.strip__readout {
  display: flex; align-items: center; gap: 11px;
  padding-bottom: 4px;
}
.strip__ar { font-size: 22px; font-weight: 700; }
.strip__en {
  font-size: 11px; letter-spacing: .16em; color: var(--muted);
}

/* الصف: اثنا عشر خانة متساوية بعرض الصفحة */
.strip__row {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
}
.strip__cell {
  aspect-ratio: 1;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 0;
  padding: 0;
  margin: 0;
}
.strip__tile {
  background: var(--tile-colour);
  cursor: pointer;
  transition: background-color .32s var(--ease);
}
.strip__tile.is-active { background: var(--ink); }

.strip__cell--photo { background: var(--line); }
.strip__cell--ink   { background: var(--ink); }
.strip__cell svg    { position: absolute; inset: 0; width: 100%; height: 100%; }

.strip__ph { font-size: 11px; color: var(--muted); }
.strip__ph--light { color: rgba(253, 252, 248, .6); }

.strip__badge {
  position: absolute;
  font-size: 8px; letter-spacing: .16em;
  padding: 4px 6px;
  pointer-events: none;
}
.strip__badge--reel { left: 0; bottom: 0; background: var(--lime); color: var(--ink); }
.strip__badge--hall { right: 0; top: 0;  background: var(--card); color: var(--ink); }

.strip__cell--date {
  background: var(--paper);
  align-items: flex-end;
  justify-content: flex-start;
  padding: 9px;
}
.strip__cell--date .mono { font-size: 8px; color: var(--muted); line-height: 1.8; }

/* --------------------------------------------------- خلفية الهيرو (صور/فيديو) */
/* الهيرو يصبح طبقات: الوسيط في الخلف، ثم طبقة الوضوح، ثم المحتوى */
.hero--media {
  position: relative;
  isolation: isolate;
  max-width: none;
  padding-inline: 0;
}
/* المحتوى والأرقام يعودان لعرض الحاوية داخل الهيرو ذي الخلفية */
.hero--media > .hero__copy,
.hero--media > .stats {
  position: relative;
  z-index: 2;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--pad-x);
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}

.hero__video,
.hero__slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* الشرائح: تعتيم متقاطع + زحف بطيء للكاميرا (Ken Burns) */
.hero__slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1.6s var(--ease);
}
.hero__slide.is-on { opacity: 1; }

.hero__slide img {
  transform: scale(1.12);
  transition: transform 0s;
}
/* الحركة تبدأ فقط على الشريحة الظاهرة، فلا تُهدر على المخفية */
.hero__slide.is-on img {
  animation: heroDrift 9s linear forwards;
}

@keyframes heroDrift {
  from { transform: scale(1.04) translate3d(0, 0, 0); }
  to   { transform: scale(1.16) translate3d(-1.5%, -1.5%, 0); }
}

/* طبقة الوضوح: كثيفة في المنتصف حيث النص، وتخفّ عند الأطراف
   ليبقى الوسيط ظاهراً — النص يبقى مقروءاً دون حجب الصورة */
.hero__scrim {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(112% 86% at 50% 42%,
      rgba(237, 233, 224, .95) 0%,
      rgba(237, 233, 224, .88) 42%,
      rgba(237, 233, 224, .58) 78%,
      rgba(237, 233, 224, .42) 100%),
    linear-gradient(to bottom,
      rgba(237, 233, 224, .70) 0%,
      rgba(237, 233, 224, .55) 45%,
      rgba(237, 233, 224, .97) 100%);
}

/* شريط ألوان الهوية أسفل الوسيط — يربط الخلفية ببقية الصفحة */
.hero--media .hero__bg::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 4px;
  background: linear-gradient(90deg,
    var(--blue) 0 16.6%, var(--lime) 16.6% 33.3%, var(--coral) 33.3% 50%,
    var(--amber) 50% 66.6%, var(--lilac) 66.6% 83.3%, var(--teal) 83.3% 100%);
}

/* مع وجود خلفية، النص يحتاج ثِقلاً بصرياً أكبر قليلاً */
.hero--media .hero__lead { color: var(--ink); }
.hero--media .eyebrow    { color: var(--body); }

@media (prefers-reduced-motion: reduce) {
  .hero__slide.is-on img { animation: none; transform: scale(1.04); }
  .hero__slide { transition-duration: .2s; }
}

/* ------------------------------------------------------------- الحركات */
@keyframes wMarch { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes wBlock { from { transform: scale(.4); opacity: 0; } to { transform: scale(1); opacity: 1; } }
@keyframes sketchTrace  { 0% { stroke-dashoffset: 1200; } 55%, 100% { stroke-dashoffset: 0; } }
@keyframes sketchFill   { 0%, 50% { fill-opacity: 0; } 82%, 100% { fill-opacity: 1; } }
@keyframes sketchUnder  { 0%, 62% { stroke-dashoffset: 220; } 88%, 100% { stroke-dashoffset: 0; } }
@keyframes sketchStroke { 0%, 50% { stroke-opacity: 1; } 90%, 100% { stroke-opacity: 0; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
  html { scroll-behavior: auto; }
}

/* ------------------------------------------------------------- الاستجابة */
@media (max-width: 1200px) {
  :root { --pad-x: 32px; }
  .hero__grid { flex-direction: column; }
  .pillars, .speakers, .tickets { grid-template-columns: repeat(2, 1fr); }
  .strip__row { grid-template-columns: repeat(6, 1fr); }
  .strip__title { font-size: 28px; }
  .halls { grid-template-columns: repeat(2, 1fr); }
  .partners { grid-template-columns: repeat(3, 1fr); }
  .footer__grid { grid-template-columns: repeat(2, 1fr); }
  .hero__wordmark-text { font-size: 160px; }
}

@media (max-width: 860px) {
  :root { --pad-x: 19px; }

  .nav__links {
    display: none;
    position: absolute;
    inset-inline: 0;
    top: 100%;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    padding: 6.5px var(--pad-x) 16px;
  }
  .nav.is-open .nav__links { display: flex; }
  .nav__links a { padding: 10px 0; width: 100%; }
  .nav__bar { position: relative; }
  .nav__toggle { display: flex; }
  .nav__actions { display: none; }

  .section { padding: 45px var(--pad-x); }
  .section__title { font-size: 29px; }
  .exhibit__title { font-size: 30px; }
  .newsletter__title { font-size: 26px; }

  .schedule { grid-template-columns: 1fr; }
  .exhibit { grid-template-columns: 1fr; gap: 26px; }
  .stats { flex-wrap: wrap; gap: 19px 0; }
  .stats__item { flex: 0 0 50%; }

  .clock { gap: 6.5px; }
  .clock__unit { min-width: 54px; }
  .clock__num, .clock__sep { font-size: 27px; }

  .workshop__row { flex-wrap: wrap; gap: 10px 13px; padding: 16px; }
  .workshop__title { flex-basis: 100%; font-size: 16px; order: 3; }
  .workshop__panel { padding: 0 16px 19px; }

  .footer__grid { grid-template-columns: 1fr; gap: 26px; }
}

@media (max-width: 560px) {
  /* الساعة تتسع لأربع خانات داخل 300px دون قصّ */
  .clock { gap: 3px; }
  .clock__unit { min-width: 45px; }
  .clock__num, .clock__sep { font-size: 21px; }
  .clock__label { font-size: 7px; letter-spacing: .1em; }

  .pillars, .speakers, .tickets, .halls { grid-template-columns: 1fr; }
  .strip__row { grid-template-columns: repeat(4, 1fr); }
  .strip__ph, .strip__cell--date .mono { font-size: 7px; }
  .partners { grid-template-columns: repeat(2, 1fr); }
  .newsletter__form { flex-direction: column; }
  .hero__wordmark-text { font-size: 120px; }
}
