/* موقع نادي النادي شيراتون.
   اللغة البصرية: مؤسّسة رياضية عريقة — بتروليّ غامق، خط نحاسي واحد كلون مميّز،
   شعرية رفيعة، تيبوغرافيا تحريرية، وحركة هادية واثقة. مفيش حارات ولا خط نهاية. */

:root {
  /* سلّم البتروليّ (من قرص الشعار) */
  --ink-900: #041418;
  --ink-850: #06212a;
  --ink-800: #083038;
  --ink-700: #04444d;

  /* النحاسي: اللون المميّز الوحيد — ميداليّة، مش علم سباق */
  --brass: #bd9449;
  --brass-2: #d9b776;
  --brass-3: #efdcb4;
  --brass-wash: rgba(189, 148, 73, .14);

  /* شعريات */
  --hair-d: rgba(239, 244, 243, .13);
  --hair-d2: rgba(239, 244, 243, .065);
  --hair-l: rgba(6, 33, 42, .13);
  --hair-l2: rgba(6, 33, 42, .07);

  --stand: #f4f6f5;
  --stand-2: #eaeeed;

  /* حبيبات ورق مطبوع — بتدّي الألواح إحساس طبقة، مش مطّاط ملاعب */
  --grain: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='180' height='180'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='4' stitchTiles='stitch'/><feColorMatrix type='saturate' values='0'/></filter><rect width='180' height='180' filter='url(%23n)' opacity='.26'/></svg>");

  --wrap: 1240px;
  --gutter: clamp(18px, 4vw, 52px);
  --header-h: 76px;
  --ease-expo: cubic-bezier(.16, 1, .3, 1);

  /* أنصاف أقطار هادية: معمارية، مش لُعَب */
  --r-card: 6px;
  --r-btn: 8px;
  --r-panel: 10px;

  --track-wide: .24em;
  --track-num: .1em;   /* تتبّع أهدى لأرقام الفهرسة عشان تُقرأ ٠١ مش ٠ ١ */
}

/* ===== انتقال الصفحات: شريحة نحاسية رفيعة، مش مسحة بألوان علم ===== */
@view-transition { navigation: auto; }
::view-transition-old(root) { animation: vt-old .8s var(--ease-expo) both; }
::view-transition-new(root) { animation: vt-new .8s var(--ease-expo) both; }
::view-transition-group(sport-photo) { animation-duration: .85s; animation-timing-function: var(--ease-expo); }
::view-transition-old(sport-photo), ::view-transition-new(sport-photo) { width: 100%; height: 100%; object-fit: cover; }
@keyframes vt-old { to { transform: translateX(-5%); filter: brightness(.6); } }
@keyframes vt-new { from { clip-path: inset(0 0 0 100%); } to { clip-path: inset(0); } }
.wipe { display: none; position: fixed; inset-block: 0; inset-inline-end: 0; width: 100%; z-index: 200; pointer-events: none; }
.vt-in .wipe { display: block; animation: wipe .8s var(--ease-expo) both; }
.wipe i { position: absolute; inset-block: 0; inset-inline-end: 0; width: 3px; background: var(--brass); box-shadow: -30px 0 60px rgba(4, 20, 24, .55); }
@keyframes wipe { from { translate: 100vw 0; } to { translate: -20px 0; } }
@media (prefers-reduced-motion: reduce) {
  ::view-transition-group(*), ::view-transition-old(*), ::view-transition-new(*) { animation: none !important; }
  .vt-in .wipe { display: none; }
}

html { scroll-padding-top: calc(var(--header-h) + 12px); }
html:not(.lenis) { scroll-behavior: smooth; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }
body.site { background: var(--stand); color: var(--ink); overflow-x: clip; }
.site main { overflow-x: clip; }
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.skip { position: absolute; inset-inline-start: 12px; top: -60px; z-index: 100; background: var(--surface); padding: 10px 16px; border-radius: var(--r-btn); font-weight: 600; }
.skip:focus { top: 12px; }

/* ===== الألواح الغامقة ===== */
.ink {
  position: relative;
  background-color: var(--ink-850);
  background-image:
    linear-gradient(to left, transparent, rgba(189, 148, 73, .3) 22%, rgba(189, 148, 73, .3) 78%, transparent),
    var(--grain),
    radial-gradient(120% 85% at 88% 4%, rgba(189, 148, 73, .1) 0%, rgba(189, 148, 73, 0) 58%),
    linear-gradient(168deg, var(--ink-800) 0%, var(--ink-850) 46%, var(--ink-900) 100%);
  background-size: 100% 1px, auto, auto, auto;
  background-position: top, 0 0, 0 0, 0 0;
  background-repeat: no-repeat, repeat, no-repeat, no-repeat;
  background-blend-mode: normal, overlay, normal, normal;
  color: var(--on-petrol);
}
.ink ::selection { background: var(--brass); color: var(--ink-900); }
/* شعرية رأسية رفيعة جدًا: معمارية، وبتتلاشى من فوق ومن تحت */
.ink-grid { position: relative; }
.ink-grid::before {
  content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background-image: linear-gradient(to left, var(--hair-d2) 0 1px, transparent 1px 100%);
  background-size: 96px 100%;
  -webkit-mask-image: linear-gradient(to bottom, transparent, #000 24%, #000 76%, transparent);
  mask-image: linear-gradient(to bottom, transparent, #000 24%, #000 76%, transparent);
}
.ink-grid > .wrap { position: relative; z-index: 1; }

/* إضاءة ناعمة بتتبع المؤشر — نحاسية، خفيفة */
.spotlight { --mx: 70%; --my: 30%; }
.spotlight::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; z-index: 0;
  background: radial-gradient(560px circle at var(--mx) var(--my), rgba(217, 183, 118, .07), transparent 62%);
}
.spotlight > .wrap { position: relative; z-index: 1; }

/* ===== الهيدر ===== */
.site-header {
  position: fixed; inset-inline: 0; top: 0; z-index: 50;
  padding-top: var(--safe-top);
  transition: background .4s var(--ease-out), box-shadow .4s var(--ease-out), transform .5s var(--ease-expo);
  color: var(--on-petrol);
}
.site-header.is-solid {
  background: color-mix(in srgb, var(--ink-900) 88%, transparent);
  backdrop-filter: saturate(1.15) blur(18px);
  -webkit-backdrop-filter: saturate(1.15) blur(18px);
  box-shadow: 0 1px 0 var(--hair-d), 0 18px 40px -26px rgba(0, 0, 0, .7);
}
.site-header.is-hidden { transform: translateY(-110%); }
.site-header .wrap { display: flex; align-items: center; gap: 22px; min-height: var(--header-h); }
.brand { display: flex; align-items: center; gap: 13px; text-decoration: none; color: inherit; flex: none; }
.brand .crest { width: 44px; height: 44px; transition: transform .7s var(--ease-expo); }
.brand:hover .crest { transform: scale(1.05); }
.brand .wordmark { width: 104px; height: auto; filter: brightness(0) invert(1); opacity: .92; }
.site-nav { position: relative; display: flex; gap: 2px; margin-inline-start: 10px; }
.nav-ind {
  position: absolute; bottom: 6px; inset-inline-start: 0; width: 0; height: 1px; opacity: 0; pointer-events: none;
  background: var(--brass-2); transform-origin: 100% 50%; transition: opacity .3s;
}
.site-nav a {
  position: relative; padding: 10px 13px; color: var(--on-petrol-2); text-decoration: none;
  font-weight: 500; font-size: 15px; transition: color .25s;
}
.site-nav a:hover, .site-nav a[aria-current="true"] { color: #fff; }
html:not(.js) .site-nav a[aria-current="true"] { text-decoration: underline 1px; text-underline-offset: 8px; }
.header-actions { margin-inline-start: auto; display: flex; align-items: center; gap: 12px; }
.staff-link { color: var(--on-petrol-2); font-size: 14px; text-decoration: none; padding: 8px 6px; min-height: 44px; display: inline-flex; align-items: center; gap: 7px; transition: color .25s; }
.staff-link:hover { color: #fff; }
.menu-btn { display: none; width: 46px; height: 46px; border-radius: var(--r-btn); border: 1px solid var(--hair-d); background: transparent; color: #fff; place-items: center; cursor: pointer; }
.menu-btn .i { width: 23px; height: 23px; }

/* شريط التقدّم: خط نحاسي رفيع، من غير كورة بتجري */
.progress-rail { position: fixed; inset-inline: 0; top: 0; height: 2px; z-index: 55; pointer-events: none; }
.progress-rail i { display: none; }
.progress-rail span {
  display: block; height: 100%; transform-origin: right; transform: scaleX(var(--p, 0));
  background: linear-gradient(to left, var(--brass), var(--brass-2));
}

/* ===== الأزرار ===== */
.btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 13px 26px; border-radius: var(--r-btn); overflow: hidden; isolation: isolate;
  font-weight: 600; font-size: 16px; text-decoration: none; cursor: pointer; border: 1px solid transparent;
  transition: background .3s, box-shadow .4s, color .3s, border-color .3s, transform .4s var(--ease-expo);
}
.btn:active { transform: translateY(1px); }
.btn .i { width: 20px; height: 20px; }
/* الأساسي: ورق فاتح على الغامق، بخط نحاسي تحتيه */
.btn-start { background: #fff; color: var(--ink-850); box-shadow: inset 0 -2px 0 var(--brass), 0 16px 34px -18px rgba(0, 0, 0, .65); }
.btn-start::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(112deg, transparent 34%, rgba(189, 148, 73, .18) 50%, transparent 66%);
  transform: translateX(110%); transition: transform 1s var(--ease-expo);
}
.btn-start:hover::before { transform: translateX(-110%); }
.btn-start:hover { box-shadow: inset 0 -2px 0 var(--brass), 0 22px 42px -18px rgba(0, 0, 0, .7); }
.btn-line { color: #fff; border-color: var(--hair-d); background: rgba(4, 20, 24, .3); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.btn-line:hover { border-color: var(--brass-2); color: var(--brass-3); }
.btn-petrol { background: var(--ink-700); color: #fff; box-shadow: inset 0 -2px 0 var(--brass); }
.btn-petrol:hover { background: var(--ink-800); }
.btn-quiet { color: var(--ink-850); border-color: var(--hair-l); background: var(--surface); }
.btn-quiet:hover { border-color: var(--brass); color: var(--ink-900); }
.btn-sm { min-height: 42px; padding: 9px 17px; font-size: 14.5px; }

/* ===== الهيرو ===== */
.hero {
  position: relative; isolation: isolate; overflow: hidden;
  min-height: 100svh; display: grid; align-items: center;
  padding-block: calc(var(--header-h) + 48px) 100px;
  background: var(--ink-900);
}
.hero-media { position: absolute; inset: -5% 0 0; z-index: -3; will-change: transform; }
.hero-media picture, .hero-img { display: block; width: 100%; height: 100%; }
.hero-img { object-fit: cover; object-position: 62% 46%; }
/* ستارة هادية: الصورة تفضل مقروءة والكلام يقعد عليها بثقة */
.hero-shade {
  position: absolute; inset: 0; z-index: -2; pointer-events: none;
  background:
    linear-gradient(to bottom, rgba(4, 20, 24, .72) 0%, rgba(4, 20, 24, 0) 26%),
    linear-gradient(to left, rgba(4, 20, 24, .94) 0%, rgba(5, 26, 31, .74) 42%, rgba(5, 26, 31, .26) 78%),
    linear-gradient(to top, rgba(4, 20, 24, .94) 0%, rgba(4, 20, 24, 0) 34%);
}
.hero-shade::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; mix-blend-mode: overlay;
  background-image: var(--grain); opacity: .5;
}
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 60px; align-items: center; }
/* عمق: الصورة والكلام والكارت على مستويات مختلفة، بحركة قليلة جدًا */
.hero-media { translate: calc(var(--px, 0) * -10px) calc(var(--py, 0) * -7px); }
.hero-copy { translate: calc(var(--px, 0) * 6px) calc(var(--py, 0) * 4px); }
.hero-card { translate: calc(var(--px, 0) * 14px) calc(var(--py, 0) * 10px); }

/* السطر النحاسي فوق العنوان */
.eyebrow {
  display: flex; align-items: center; flex-wrap: wrap; gap: 8px 14px; margin-bottom: 22px;
  justify-content: flex-start;
  font-size: 13px; font-weight: 600; color: var(--brass-2);
}
.eyebrow .ltr { letter-spacing: var(--track-wide); font-size: 12px; }
.eyebrow::before { content: ""; width: 46px; height: 1px; background: var(--brass); flex: none; }
.eyebrow .sep { color: var(--hair-d); }

.hero h1 {
  font-size: clamp(42px, 6.1vw, 86px); font-weight: 800; line-height: 1.12; color: #fff;
  max-width: 15ch; letter-spacing: -.012em;
}
.hero-lede { margin-top: 24px; font-size: clamp(17px, 1.4vw, 19.5px); line-height: 1.85; color: #cbdcdc; max-width: 48ch; }
.hero-lede b { color: #fff; font-weight: 600; }
.hero-actions { margin-top: 36px; display: flex; flex-wrap: wrap; gap: 12px; }
.hero-meta { margin-top: 30px; display: flex; flex-wrap: wrap; gap: 10px 24px; color: #a9bfc0; font-size: 14.5px; }
.hero-meta span { display: inline-flex; align-items: center; gap: 8px; }
.hero-meta .i { width: 17px; height: 17px; color: var(--brass-2); }
.hero-meta .now { gap: 10px; }
.hero-meta .now b { font-weight: 600; color: #d4e2e2; }
.now-clock { margin-inline-start: 4px; color: var(--brass-2); font-variant-numeric: tabular-nums; unicode-bidi: isolate; }
.scroll-cue {
  position: absolute; bottom: 30px; inset-inline-start: 50%; transform: translateX(50%);
  width: 1px; height: 54px; background: var(--hair-d); overflow: hidden;
}
.cue-line { display: block; width: 1px; height: 18px; background: var(--brass-2); animation: cue 2.4s var(--ease-expo) infinite; }
@keyframes cue { 0% { transform: translateY(-20px); } 70%, 100% { transform: translateY(54px); } }

/* ظهور العنوان كلمة كلمة */
.split-words .w { display: inline-block; overflow: hidden; vertical-align: bottom; padding-bottom: .1em; margin-bottom: -.1em; }
.split-words .wi { display: inline-block; will-change: transform; }

/* ===== الكارنيه الرقمي ===== */
.member-card {
  justify-self: center; width: min(352px, 88%);
  transform: rotate(-3deg);
  border-radius: 18px; overflow: hidden; background: var(--surface); color: var(--ink);
  box-shadow: 0 1px 3px rgba(0, 0, 0, .3), 0 48px 90px -36px rgba(0, 0, 0, .8), 0 0 0 1px rgba(255, 255, 255, .07);
}
.hero-card {
  position: relative; transform-style: preserve-3d; will-change: transform;
  transform: translateY(var(--lift, 0px)) perspective(1200px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) rotate(var(--rz, -3deg)) translateY(var(--float, 8px));
}
.card-shine {
  position: absolute; inset: 0; z-index: 3; pointer-events: none; mix-blend-mode: soft-light;
  background: radial-gradient(440px circle at var(--sx, 30%) var(--sy, 10%), rgba(255, 255, 255, .5), transparent 56%);
}
.member-card-top {
  position: relative; overflow: hidden; isolation: isolate; padding: 20px 20px 17px; color: var(--on-petrol);
  background: linear-gradient(150deg, var(--ink-700) 0%, var(--ink-800) 52%, var(--ink-900) 100%);
}
/* شريط العلم المصري ده على الكارنيه الحقيقي، فبيفضل — بس كلمح رفيع */
.member-card-top::after { content: ""; position: absolute; inset-inline: 0; bottom: 0; height: 3px; background: linear-gradient(to bottom, var(--flag-red) 0 33%, #f4f6f5 33% 66%, var(--flag-black) 66%); }
.member-card-top .rings { position: absolute; inset-inline-end: -116px; top: -116px; width: 300px; height: 300px; color: var(--brass-2); opacity: .14; z-index: -1; }
.member-card-id { display: flex; align-items: center; gap: 12px; }
.member-card-id .crest { width: 42px; height: 42px; }
.member-card-id small { display: block; font-size: 12px; font-weight: 600; color: var(--brass-2); }
.member-card-id b { font-family: var(--font-display); font-size: 19px; font-weight: 700; color: #fff; }
.member-card-meta { margin-top: 16px; display: flex; gap: 24px; font-size: 12.5px; color: var(--on-petrol-2); }
.member-card-meta b { display: block; margin-top: 2px; color: #fff; font-size: 15px; font-weight: 600; letter-spacing: 0; }
.member-card-qr { display: grid; justify-items: center; gap: 10px; padding: 20px 20px 22px; }
.member-card-qr [data-site-qr] { width: 168px; height: 168px; }
.member-card-qr [data-site-qr] svg { width: 100%; height: 100%; }
.member-card-note { font-size: 12.5px; color: var(--muted); text-align: center; }

/* ===== الشريط الجاري: سطر تحريري هادي ===== */
.ribbon {
  position: relative; background: var(--surface); padding-block: 15px; overflow: hidden;
  border-block: 1px solid var(--hair-l);
}
.ribbon-row { display: flex; overflow: hidden; position: relative; }
.ribbon-row + .ribbon-row { margin-top: 4px; }
.ribbon-track { display: flex; align-items: center; flex: none; gap: 0; will-change: transform; }
.ribbon-item {
  display: inline-flex; align-items: center; gap: 11px; padding-inline: 22px; white-space: nowrap;
  font-size: 14.5px; font-weight: 600; color: var(--ink-800);
}
.ribbon-item .i { width: 17px; height: 17px; color: var(--brass); }
/* الفاصل: معيّن نحاسي صغير */
.ribbon-dot { width: 5px; height: 5px; rotate: 45deg; background: var(--brass); flex: none; opacity: .7; }
.ribbon-row.alt .ribbon-item { font-size: 13px; color: var(--muted); font-weight: 500; }
.ribbon-row.alt .ribbon-item .i { color: var(--silver-dim); }
.ribbon-row.alt .ribbon-dot { background: var(--silver-dim); opacity: .5; }

/* ===== لوحة الأرقام ===== */
.board { background: var(--ink-900); color: #fff; padding-block: clamp(50px, 6vw, 86px); }
.board-grid {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0;
  border-top: 1px solid var(--brass-wash);
}
.board-cell {
  position: relative; display: grid; gap: 8px; align-content: start;
  padding: 30px 26px 26px; border-bottom: 1px solid var(--hair-d2); border-inline-end: 1px solid var(--hair-d2);
}
.board-cell:last-child { border-inline-end: 0; }
.board-cell::before { content: ""; position: absolute; inset-inline-end: 0; top: -1px; width: 38px; height: 1px; background: var(--brass); }
.digits {
  font-family: var(--font-display); font-weight: 700; font-size: clamp(56px, 6.2vw, 92px); line-height: 1;
  color: #fff; font-variant-numeric: tabular-nums; unicode-bidi: isolate; letter-spacing: -.02em;
}
.board-cell b { font-size: 17px; font-weight: 600; color: var(--brass-3); }
.board-cell small { font-size: 13.5px; color: #8ba3a5; line-height: 1.65; }

/* ساعة النادي */
.board-live {
  margin-top: 26px; display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px;
  padding-block: 16px; padding-inline: 24px; border-radius: var(--r-card);
  background: rgba(239, 244, 243, .035); border: 1px solid var(--hair-d2);
}
.bl-label { color: var(--brass-2); font-size: 12.5px; font-weight: 600; }
.bl-clock { font-family: var(--font-display); font-weight: 700; font-size: clamp(28px, 3.2vw, 40px); line-height: 1; color: #fff; direction: ltr; unicode-bidi: isolate; font-variant-numeric: tabular-nums; }
.bl-clock i { font-style: normal; }
.bl-clock small { font-size: .46em; margin-inline-start: .35em; color: #8ba3a5; }
.bl-text { margin-inline-start: auto; color: #d4e2e2; font-size: 15.5px; }
.bl-text b { color: #63c79a; font-family: var(--font-display); font-size: 1.2em; }
@media (prefers-reduced-motion: no-preference) { .bl-clock i { animation: blink 1.1s steps(2, jump-none) infinite; } }
@keyframes blink { 50% { opacity: .2; } }

/* ===== رؤوس الأقسام: فصل في تقرير، مش حارة ===== */
.band { padding-block: clamp(80px, 9.5vw, 136px); position: relative; }
.sec-head { display: grid; gap: 0; margin-bottom: clamp(34px, 4vw, 58px); }
/* الرقم بقى فهرس صغير مبوّش، مش رقم مدهون على الأرض */
.sec-no {
  display: flex; align-items: center; justify-content: flex-end; direction: ltr;
  gap: 12px; margin-bottom: 16px;
  font-size: 12.5px; font-weight: 600; letter-spacing: var(--track-num); color: var(--brass);
  font-variant-numeric: tabular-nums; unicode-bidi: isolate; user-select: none;
}
.sec-no::before { content: "0"; }
.sec-no::after { content: ""; width: 38px; height: 1px; background: var(--brass); opacity: .55; }
.ink .sec-no, .membership-section .sec-no { color: var(--brass-2); }
.ink .sec-no::after, .membership-section .sec-no::after { background: var(--brass-2); }
.sec-head h2 { font-size: clamp(32px, 4vw, 54px); font-weight: 700; line-height: 1.22; color: var(--ink); letter-spacing: -.015em; max-width: 24ch; }
.ink .sec-head h2, .membership-section .sec-head h2 { color: #fff; }
.sec-head p { margin-top: 14px; font-size: 17.5px; color: var(--muted); max-width: 60ch; line-height: 1.85; }
.ink .sec-head p, .membership-section .sec-head p { color: #a9bfc0; }
.sec-head p a { color: inherit; border-bottom: 1px solid var(--brass); text-decoration: none; }
/* الخط اللي بيترسم تحت الرأس: شعرية واحدة متّصلة */
.sec-head::after {
  content: ""; margin-top: clamp(26px, 3vw, 40px); height: 1px; transform-origin: right; transform: scaleX(var(--lh, 1));
  background: linear-gradient(to left, var(--brass) 0 46px, var(--hair-l) 46px);
}
.ink .sec-head::after, .membership-section .sec-head::after { background: linear-gradient(to left, var(--brass-2) 0 46px, var(--hair-d) 46px); }

/* ===== المعرض الأفقي (الرياضات المميزة) ===== */
.showcase-section { padding-bottom: 0; background: var(--stand); }
.gallery { position: relative; overflow: hidden; padding-block: 8px 44px; }
.gallery-track { display: flex; gap: clamp(14px, 1.8vw, 22px); padding-inline: var(--gutter); width: max-content; will-change: transform; }
.g-card {
  position: relative; flex: none; width: clamp(300px, 44vw, 620px); aspect-ratio: 4 / 5;
  border-radius: var(--r-card); overflow: hidden; isolation: isolate; text-decoration: none; color: #fff;
  background: var(--ink-800); box-shadow: 0 26px 56px -34px rgba(4, 20, 24, .66);
}
.g-media { position: absolute; inset: 0; z-index: -2; overflow: hidden; }
.g-media img { width: 118%; max-width: none; height: 100%; object-fit: cover; margin-inline-start: -9%; will-change: transform; transition: transform 1.6s var(--ease-expo); }
.g-card:hover .g-media img { transform: scale(1.045); }
.g-card::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(to top, rgba(4, 20, 24, .95) 0%, rgba(4, 20, 24, .34) 48%, rgba(4, 20, 24, 0) 72%); }
/* رقم الكارت: فهرس صغير في الزاوية فوق خط نحاسي */
.g-no {
  position: absolute; top: 22px; inset-inline-start: 24px; z-index: 1;
  font-size: 12px; font-weight: 600; letter-spacing: var(--track-num); color: var(--brass-3);
  padding-bottom: 7px; border-bottom: 1px solid var(--brass); unicode-bidi: isolate;
}
.g-no::before { content: "0"; }
.g-body { position: absolute; inset-inline: 0; bottom: 0; padding: 28px 28px 30px; display: grid; gap: 7px; }
.g-cat { display: inline-flex; align-items: center; gap: 9px; font-size: 13px; font-weight: 600; color: var(--brass-2); }
.g-cat .i { width: 18px; height: 18px; }
.g-name { font-family: var(--font-display); font-weight: 700; font-size: clamp(30px, 3.2vw, 48px); line-height: 1.18; letter-spacing: -.015em; }
.g-en { font-size: 12.5px; letter-spacing: .2em; text-transform: uppercase; color: rgba(255, 255, 255, .55); direction: ltr; text-align: end; }
.g-go { margin-top: 12px; display: inline-flex; align-items: center; gap: 9px; font-weight: 600; font-size: 14.5px; color: var(--brass-3); }
.g-go .i { width: 18px; height: 18px; transition: transform .5s var(--ease-expo); }
.g-card:hover .g-go .i { transform: translateX(-7px); }
.g-all {
  display: grid; align-content: end; gap: 8px; padding: 30px;
  background: linear-gradient(155deg, var(--ink-700) 0%, var(--ink-850) 55%, var(--ink-900) 100%);
}
.g-all::before { display: none; }
.g-all-no { font-family: var(--font-display); font-weight: 700; font-size: clamp(96px, 11vw, 170px); line-height: .92; color: var(--brass-2); unicode-bidi: isolate; letter-spacing: -.03em; }
/* تقدّم المعرض: شعرية + عدّاد، من غير أمتار ولا عدّاء */
.gallery-progress { position: relative; height: 1px; margin: 34px var(--gutter) 0; background: var(--hair-l); }
.gallery-progress::after { content: ""; position: absolute; inset: 0; background: var(--brass); transform-origin: right; transform: scaleX(var(--gp, 0)); }
.gp-count { position: absolute; top: 14px; inset-inline-end: 0; direction: ltr; font-size: 12.5px; font-weight: 600; letter-spacing: var(--track-num); color: var(--muted); font-variant-numeric: tabular-nums; unicode-bidi: isolate; }

/* ===== دليل الرياضات ===== */
.index-section { padding-top: clamp(58px, 7vw, 96px); }
.heat-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 18px 28px; margin-bottom: 22px; }
.heat-head h2 { font-size: clamp(26px, 2.8vw, 36px); font-weight: 700; letter-spacing: -.012em; }
.heat-head .chips { margin: 0; flex-basis: 100%; position: relative; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; }
.chip {
  min-height: 40px; padding: 8px 17px; border-radius: var(--r-btn); cursor: pointer;
  border: 1px solid var(--hair-l); background: var(--surface); color: var(--ink-2);
  font-weight: 600; font-size: 14px; transition: background .25s, color .25s, border-color .25s;
}
.chip:hover { border-color: var(--brass); }
.chip[aria-pressed="true"] { background: var(--ink-850); border-color: var(--ink-850); color: #fff; }
.chip-ind { position: absolute; top: 0; inset-inline-start: 0; z-index: 0; height: 40px; border-radius: var(--r-btn); background: var(--ink-850); opacity: 0; pointer-events: none; transform-origin: 100% 50%; }
.chips.is-live .chip-ind { opacity: 1; }
.chips.is-live .chip { position: relative; z-index: 1; }
.chips.is-live .chip[aria-pressed="true"] { background: transparent; border-color: transparent; }

.heat { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--ink-850); }
.heat li { border-bottom: 1px solid var(--hair-l); }
.heat li[hidden] { display: none; }
.heat a {
  display: grid; grid-template-columns: 48px 42px minmax(0, 1fr) auto 22px; gap: 16px; align-items: center;
  padding: 17px 4px; text-decoration: none; color: inherit; position: relative;
  transition: background .3s var(--ease-out);
}
.heat a > * { transition: transform .5s var(--ease-expo); }
.heat a:hover { background: var(--surface); }
.heat a:hover > :not(.heat-go) { transform: translateX(-9px); }
.heat a::before {
  content: ""; position: absolute; inset-inline-start: 0; top: 0; bottom: 0; width: 2px; background: var(--brass);
  transform: scaleY(0); transform-origin: center; transition: transform .35s var(--ease-out);
}
.heat a:hover::before, .heat a:focus-visible::before { transform: scaleY(1); }
.heat .heat-no { font-size: 13px; font-weight: 600; letter-spacing: var(--track-num); color: var(--silver-dim); text-align: center; unicode-bidi: isolate; font-variant-numeric: tabular-nums; }
.heat .heat-glyph { width: 42px; height: 42px; border-radius: var(--r-card); display: grid; place-items: center; background: var(--stand-2); color: var(--ink-700); border: 1px solid var(--hair-l); transition: background .3s, color .3s, border-color .3s; }
.heat a:hover .heat-glyph { background: var(--ink-850); color: var(--brass-3); border-color: var(--ink-850); }
.heat .heat-glyph .i { width: 22px; height: 22px; }
.heat .heat-name { font-family: var(--font-display); font-weight: 700; font-size: 19px; color: var(--ink); line-height: 1.45; }
.heat .heat-sub { font-size: 13.5px; color: var(--muted); display: block; }
.heat .heat-en { font-size: 12px; letter-spacing: .18em; text-transform: uppercase; color: var(--silver-dim); direction: ltr; white-space: nowrap; }
.heat .heat-go { color: var(--silver-dim); }
.heat a:hover .heat-go { color: var(--brass); }
.heat-empty { padding-block: 36px; text-align: center; color: var(--muted); font-size: 17px; }

.find { position: relative; display: flex; align-items: center; gap: 10px; flex: 1 1 260px; max-width: 420px; min-height: 50px; padding-inline: 15px 10px; border-radius: var(--r-btn); background: var(--surface); border: 1px solid var(--hair-l); color: var(--muted); transition: border-color .25s, box-shadow .25s; }
.find:focus-within { border-color: var(--brass); box-shadow: 0 0 0 3px var(--brass-wash); }
.find input { flex: 1; min-width: 0; height: 48px; border: 0; outline: 0; background: transparent; font: inherit; font-size: 16px; color: var(--ink); }
.find input::-webkit-search-cancel-button { display: none; }
.find kbd { font-family: var(--font-body); font-size: 12px; min-width: 24px; text-align: center; padding-inline: 6px; border: 1px solid var(--hair-l); border-radius: 3px; color: var(--muted); }

.heat-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 40px; align-items: start; }
.heat-panel { display: none; }
@media (min-width: 1101px) {
  .heat-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 350px); }
  .heat-panel { display: block; position: sticky; top: calc(var(--header-h) + 24px); aspect-ratio: 4 / 5; border-radius: var(--r-card); overflow: hidden; isolation: isolate; color: #fff; background: var(--ink-800); box-shadow: 0 24px 50px -22px rgba(4, 20, 24, .45); }
}
.hp-media { position: absolute; inset: 0; z-index: -2; }
.hp-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.heat-panel::before { content: ""; position: absolute; inset-inline-end: 0; top: 0; width: 64px; height: 2px; z-index: 1; background: var(--brass); }
.heat-panel::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(to top, rgba(4, 20, 24, .95) 0%, rgba(4, 20, 24, .28) 52%, rgba(4, 20, 24, 0) 74%); }
.hp-body { position: absolute; inset-inline: 0; bottom: 0; display: grid; gap: 6px; padding: 28px; }
.hp-ix { font-size: 12px; font-weight: 600; letter-spacing: var(--track-num); color: var(--brass-2); unicode-bidi: isolate; }
.hp-ix b { font-weight: 600; }
.hp-name { font-family: var(--font-display); font-weight: 700; font-size: clamp(28px, 2.4vw, 38px); line-height: 1.24; letter-spacing: -.015em; }
.hp-sub { color: #bdcfcf; font-size: 14.5px; }

/* ===== الملاعب ===== */
.bento { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: clamp(200px, 21vw, 280px); gap: 12px; }
.tile { position: relative; border-radius: var(--r-card); overflow: hidden; isolation: isolate; background: rgba(4, 20, 24, .3); border: 1px solid var(--hair-d2); }
.tile-1 { grid-column: span 2; grid-row: span 2; }
.tile-2 { grid-row: span 2; }
.tile-5 { grid-column: span 2; }
.tile-media { position: absolute; inset: -10% 0; z-index: -2; translate: calc(var(--tx, 0) * -10px) calc(var(--ty, 0) * -10px); transition: translate .8s var(--ease-expo); }
.tile-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.6s var(--ease-expo), filter .8s; filter: saturate(.86); will-change: transform; }
.tile:hover .tile-media img { filter: saturate(1); }
.tile-media.ph { display: grid; place-items: center; color: var(--brass-2); inset: 0; background: rgba(4, 20, 24, .22); }
.tile-media.ph .i { width: 56px; height: 56px; stroke-width: 1.2; opacity: .6; }
.tile::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(to top, rgba(4, 20, 24, .94) 0%, rgba(4, 20, 24, .18) 56%, rgba(4, 20, 24, 0) 76%); }
.tile::after { content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none; background: linear-gradient(104deg, transparent 40%, rgba(239, 244, 243, .1) 50%, transparent 60%); translate: 105% 0; transition: translate 1.2s var(--ease-expo); }
.tile:hover::after { translate: -105% 0; }
.tile-body { position: absolute; inset-inline: 0; bottom: 0; z-index: 1; padding: 20px 22px; display: grid; gap: 5px; translate: calc(var(--tx, 0) * 5px) calc(var(--ty, 0) * 5px); transition: translate .8s var(--ease-expo); }
.tile-body b { font-family: var(--font-display); font-weight: 700; font-size: clamp(18px, 1.7vw, 24px); color: #fff; line-height: 1.34; letter-spacing: -.01em; }
.tile-1 .tile-body b { font-size: clamp(25px, 2.6vw, 36px); }
.tile-count { margin-inline-start: 7px; padding: 1px 9px; border-radius: 999px; background: rgba(239, 244, 243, .12); font-size: 12.5px; color: #fff; }
.tile-hours { display: inline-flex; align-items: center; gap: 7px; font-size: 13.5px; font-weight: 600; color: var(--brass-3); font-variant-numeric: tabular-nums; }
.tile-hours .i { width: 15px; height: 15px; }
.tile-body small { font-size: 12.5px; color: #8ba3a5; line-height: 1.5; }
.tile-now { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; color: #d4e2e2; }

.all-fac { margin-top: 26px; border-top: 1px solid var(--hair-d); }
.all-fac summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 19px 2px; font-weight: 600; color: #fff; }
.all-fac summary::-webkit-details-marker { display: none; }
.all-fac summary:hover { color: var(--brass-3); }
.all-fac summary .i { transition: transform .35s var(--ease-out); color: var(--brass-2); }
.all-fac[open] summary .i { transform: rotate(180deg); }
.all-fac ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 0 32px; }
.all-fac li { display: flex; justify-content: space-between; gap: 12px; padding: 13px 2px; border-bottom: 1px solid var(--hair-d2); color: var(--on-petrol-2); }
.all-fac li span:first-child { display: inline-flex; align-items: center; gap: 10px; color: #fff; }
.all-fac li .i { width: 17px; height: 17px; color: var(--brass-2); }
.fac-hours { display: inline-flex; align-items: center; gap: 8px; font-variant-numeric: tabular-nums; }
.visit-list .fac-hours { color: var(--muted); font-size: 14.5px; }
.visit-list .fac-hours .led:not(.on):not(.soon) { background: #b3c2c4; box-shadow: none; }

/* ===== الأكاديميات ومسطرة السن ===== */
.academies-grid { display: grid; grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr); gap: clamp(30px, 4vw, 66px); align-items: start; }
.academies-photo { position: sticky; top: calc(var(--header-h) + 28px); }
.ap-frame { display: block; position: relative; border-radius: var(--r-card); overflow: hidden; aspect-ratio: 4 / 5; background: var(--ink-800); box-shadow: 0 36px 72px -36px rgba(4, 20, 24, .5); }
.ap-frame img { position: absolute; inset: -10% 0; width: 100%; height: 120%; object-fit: cover; will-change: transform; clip-path: inset(0 0 0 100%); transition: clip-path 1.2s var(--ease-expo), scale 1.8s var(--ease-expo); scale: 1.07; }
.ap-frame img.is-on { clip-path: inset(0 0 0 0); scale: 1; }
.ap-frame::after { content: ""; position: absolute; inset: 0; border: 1px solid var(--hair-d); border-radius: inherit; pointer-events: none; }

.ruler-wrap { background: var(--surface); border: 1px solid var(--hair-l); border-radius: var(--r-panel); padding: clamp(22px, 3vw, 38px); container-type: inline-size; }
.ruler-title { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px 20px; margin-bottom: 28px; }
.ruler-title h3 { font-size: 22px; font-weight: 700; letter-spacing: -.01em; }
.ruler-title p { color: var(--muted); font-size: 15px; }
.ruler { position: relative; }
.ruler-rows { position: relative; display: grid; gap: 15px; }
.ruler-axis { position: relative; height: 34px; margin-top: 18px; border-top: 1px solid var(--ink-850); }
.ruler-tick { position: absolute; top: 0; height: 8px; width: 1px; background: var(--ink-850); }
.ruler-tick span { position: absolute; top: 12px; inset-inline-start: 0; transform: translateX(50%); font-size: 12.5px; color: var(--muted); white-space: nowrap; font-variant-numeric: tabular-nums; }
.ruler-row { display: grid; gap: 7px; }
.ruler-label { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 12px; }
.ruler-label b { font-weight: 600; font-size: 15.5px; color: var(--ink); }
.ruler-label small { font-size: 13.5px; color: var(--muted); }
.ruler-bed { position: relative; height: 10px; border-radius: 2px; overflow: hidden; background: var(--stand-2); border: 1px solid var(--hair-l2); }
.ruler-bar { position: absolute; top: 0; bottom: 0; border-radius: 2px; background: var(--ink-700); }
.ruler-row:nth-child(even) .ruler-bar { background: var(--ink-800); }
.ruler-cursor { position: absolute; top: -8px; bottom: -18px; inset-inline-start: calc(var(--ap, 0) * 100% - 1px); width: 1px; background: var(--brass); opacity: 0; pointer-events: none; transition: opacity .3s; }
.ruler.is-picking .ruler-cursor { opacity: 1; }
.ruler.is-picking .ruler-row { opacity: .3; transition: opacity .4s var(--ease-expo); }
.ruler.is-picking .ruler-row.is-fit { opacity: 1; }
.ruler.is-picking .ruler-row.is-fit .ruler-bar { background: var(--brass); }
.age-pick { position: absolute; inset-inline: -11px; bottom: 23px; height: 22px; }
.age-pick input { display: block; width: 100%; height: 22px; margin: 0; background: transparent; -webkit-appearance: none; appearance: none; cursor: grab; direction: rtl; }
.age-pick input:active { cursor: grabbing; }
.age-pick input::-webkit-slider-runnable-track { height: 22px; background: transparent; }
.age-pick input::-moz-range-track { height: 22px; background: transparent; }
.age-pick input::-webkit-slider-thumb { -webkit-appearance: none; width: 20px; height: 20px; border-radius: 50%; background: var(--brass); border: 3px solid #fff; box-shadow: 0 0 0 1px var(--hair-l), 0 4px 12px rgba(189, 148, 73, .4); }
.age-pick input::-moz-range-thumb { width: 14px; height: 14px; border-radius: 50%; background: var(--brass); border: 3px solid #fff; box-shadow: 0 0 0 1px var(--hair-l), 0 4px 12px rgba(189, 148, 73, .4); }
.age-pick input:focus-visible { outline: none; }
.age-pick input:focus-visible::-webkit-slider-thumb { box-shadow: 0 0 0 4px var(--brass-wash), 0 4px 12px rgba(189, 148, 73, .4); }
.age-tip { position: absolute; bottom: calc(100% + 8px); inset-inline-start: calc(var(--ap, 0) * (100% - 22px) + 11px); translate: 50% 0; white-space: nowrap; padding-block: 3px; padding-inline: 10px; border-radius: 4px; background: var(--ink-850); color: #fff; font-size: 12.5px; font-weight: 600; pointer-events: none; }
.age-tip::after { content: ""; position: absolute; top: 100%; inset-inline-start: 50%; margin-inline-start: -5px; border: 5px solid transparent; border-top-color: var(--ink-850); }
.ruler-title p[data-age-out] { transition: color .3s; }
.ruler-more { margin-top: 18px; font-size: 15px; }
.ruler-more a { color: var(--ink-700); text-decoration: none; border-bottom: 1px solid var(--brass); padding-bottom: 2px; }
.ruler-more a:hover { color: var(--ink-900); }
@container (max-width: 560px) { .ruler-tick.minor { display: none; } }
@container (max-width: 400px) { .ruler-tick.mid { display: none; } }
@media (hover: none) { .find kbd { display: none; } }

.academies { margin-top: clamp(30px, 4vw, 46px); display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 0; border-top: 1px solid var(--ink-850); }
.academy { padding: 24px 4px 24px 24px; border-bottom: 1px solid var(--hair-l); display: grid; gap: 7px; }
.academy b { font-family: var(--font-display); font-size: 18px; font-weight: 700; }
.academy span { color: var(--muted); font-size: 14.5px; line-height: 1.75; }

/* ===== العضوية ===== */
.membership-section { color: #fff; overflow: hidden; isolation: isolate; background: var(--ink-900); }
.membership-bg { position: absolute; inset: -12% 0; z-index: -2; }
.membership-bg img { width: 100%; height: 100%; object-fit: cover; opacity: .62; filter: saturate(.6) contrast(1.05); will-change: transform; }
.membership-section::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(to left, rgba(4, 20, 24, .94) 0%, rgba(4, 20, 24, .74) 55%, rgba(4, 20, 24, .46) 100%); }
.steps-track { position: relative; }
.steps-line { position: relative; height: 1px; background: var(--hair-d); margin-bottom: 34px; }
.steps-line span { position: absolute; inset-block: 0; inset-inline-start: 0; width: 100%; transform-origin: right; transform: scaleX(var(--sp, 1)); background: var(--brass); }
/* العقدة اللي بتمشي: معيّن نحاسي صغير، مش عصا تتابع */
.steps-line i { position: absolute; top: 50%; inset-inline-start: calc(var(--sp, 1) * (100% - 9px)); width: 9px; height: 9px; margin-top: -4.5px; rotate: 45deg; background: var(--brass-2); }
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; }
.steps li { position: relative; padding: 0 0 0 24px; }
.steps .step-no {
  display: flex; align-items: center; justify-content: flex-end; direction: ltr;
  gap: 11px; margin-bottom: 14px;
  font-size: 12.5px; font-weight: 600; letter-spacing: var(--track-num); color: var(--brass-2);
  unicode-bidi: isolate; transition: color .5s var(--ease-expo);
}
.steps .step-no::before { content: "0"; }
.steps .step-no::after { content: ""; width: 26px; height: 1px; background: currentColor; opacity: .5; }
.steps-track.is-live li:not(.is-passed) .step-no { color: rgba(239, 244, 243, .3); }
.steps h3 { font-size: 20px; font-weight: 700; margin-bottom: 9px; color: #fff; letter-spacing: -.01em; }
.steps p { color: #a9bfc0; line-height: 1.8; max-width: 30ch; font-size: 15px; }
.steps-track.is-live li :is(h3, p) { transition: opacity .7s var(--ease-expo); }
.steps-track.is-live li:not(.is-passed) :is(h3, p) { opacity: .4; }
.types { margin-top: 52px; padding-top: 26px; border-top: 1px solid var(--hair-d); display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 0; font-size: 16px; color: #d4e2e2; }
.types strong { font-size: 13px; font-weight: 600; color: var(--brass-2); margin-inline-end: 18px; }
.type { font-weight: 600; }
.type + .type::before { content: ""; display: inline-block; width: 4px; height: 4px; rotate: 45deg; margin-inline: 12px; background: var(--brass); vertical-align: middle; }

/* ===== التطبيق ===== */
.app-section { overflow: visible; }
.app-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .85fr); gap: clamp(34px, 5vw, 82px); align-items: start; }
.app-feats { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; border-top: 1px solid var(--hair-d); }
.app-feats li { display: grid; grid-template-columns: 44px 1fr; gap: 18px; padding: 28px 0; border-bottom: 1px solid var(--hair-d2); transition: opacity .6s var(--ease-expo); cursor: pointer; }
.js .app-feats li:not(.is-on) { opacity: .42; }
.app-feats .i { width: 28px; height: 28px; color: var(--silver-dim); margin-top: 3px; transition: color .5s; }
.app-feats li.is-on .i { color: var(--brass-2); }
.app-feats b { display: block; font-size: 18.5px; font-weight: 700; color: #fff; font-family: var(--font-display); letter-spacing: -.01em; }
.app-feats span { color: var(--on-petrol-2); line-height: 1.8; font-size: 15px; }
.stores { margin-top: 34px; display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.store-soon { color: var(--on-petrol-2); font-size: 15px; }
.app-phone { position: sticky; top: calc(var(--header-h) + 32px); display: grid; justify-items: center; }
.phone {
  justify-self: center; width: min(330px, 86%); aspect-ratio: 9 / 19.2; border-radius: 46px; padding: 12px;
  background: linear-gradient(150deg, #1a2529, #0a1215 58%, var(--ink-900));
  box-shadow: 0 50px 90px -40px rgba(0, 0, 0, .85), inset 0 0 0 1px rgba(217, 183, 118, .22);
  position: relative;
}
.real-phone { width: min(340px, 82vw); aspect-ratio: 1320 / 2868; padding: 11px; border-radius: 50px; transform-style: preserve-3d; }
.real-phone .phone-screen { position: relative; display: block; border-radius: 40px; background: var(--paper); }
.real-phone .screen { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.03); transition: opacity .7s var(--ease-expo), transform 1s var(--ease-expo); }
.real-phone .screen.is-on { opacity: 1; transform: none; }
.real-phone::after { content: ""; position: absolute; top: 22px; left: 50%; width: 30%; height: 26px; margin-left: -15%; border-radius: 20px; background: #0b1314; }
.phone-screen { width: 100%; height: 100%; border-radius: 36px; overflow: hidden; background: var(--paper); display: grid; grid-template-rows: auto 1fr auto; }
.phone-status { height: 34px; background: var(--paper); }
.phone-body { padding: 10px 12px; display: grid; gap: 10px; align-content: start; overflow: hidden; }
.phone-body .member-card { transform: none; width: 100%; border-radius: 14px; box-shadow: 0 10px 24px -14px rgba(4, 20, 24, .5); }
.phone-body .member-card-qr [data-site-qr] { width: 132px; height: 132px; }
.phone-tabs { display: grid; grid-template-columns: repeat(5, 1fr); border-top: 1px solid var(--line); background: #fff; padding: 8px 4px 16px; }
.phone-tabs span { display: grid; justify-items: center; gap: 2px; font-size: 12px; font-weight: 600; color: var(--muted); }
.phone-tabs span.on { color: var(--ink-700); }
.phone-tabs .i { width: 20px; height: 20px; }
.glare { position: absolute; inset: 0; z-index: 3; pointer-events: none; border-radius: inherit; background: linear-gradient(112deg, transparent 36%, rgba(255, 255, 255, .24) 48%, rgba(255, 255, 255, .04) 56%, transparent 66%); translate: 130% 0; }
.phone.is-glare .glare { animation: glare 1.3s var(--ease-expo); }
@keyframes glare { from { translate: 130% 0; } to { translate: -130% 0; } }
.motion .real-phone .screen { transition: none; transform: none; }

/* ===== قراءة الكارنيه عند البوابة (لمحة واحدة هادية) ===== */
.qr-box { position: relative; width: 168px; height: 168px; }
.qr-box [data-site-qr] { width: 100%; height: 100%; }
.qr-box [data-site-qr] svg { width: 100%; height: 100%; }
.scan-beam { position: absolute; inset-inline: -10px; top: 0; height: 1px; background: var(--brass); box-shadow: 0 0 10px 1px rgba(189, 148, 73, .55); opacity: 0; pointer-events: none; }
.hero-card.is-scan .scan-beam { animation: scan 1.3s var(--ease-expo) both; }
@keyframes scan { 0% { opacity: 0; transform: translateY(0); } 14% { opacity: 1; } 86% { opacity: 1; transform: translateY(166px); } 100% { opacity: 0; transform: translateY(166px); } }
.gate-ok { position: absolute; inset-inline: 8px; top: 50%; margin-top: -20px; height: 40px; display: flex; align-items: center; justify-content: center; gap: 8px; border-radius: var(--r-btn); background: var(--ink-850); color: var(--brass-3); font-weight: 600; font-size: 14.5px; box-shadow: 0 12px 26px -10px rgba(4, 20, 24, .5); opacity: 0; pointer-events: none; }
.gate-ok .i { width: 18px; height: 18px; }
.hero-card.is-ok .gate-ok { animation: gate-ok 1.8s var(--ease-expo) both; }
@keyframes gate-ok { 0% { opacity: 0; transform: translateY(8px); } 18%, 76% { opacity: 1; transform: none; } 100% { opacity: 0; } }

/* ===== الأخبار ===== */
.news-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 24px; }
.news-item { display: grid; gap: 13px; text-decoration: none; color: inherit; align-content: start; }
.news-item .ph, .news-media { width: 100%; aspect-ratio: 4 / 3; border-radius: var(--r-card); background: var(--ink-800); overflow: hidden; }
.news-media { position: relative; display: block; isolation: isolate; }
.news-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease-expo), filter 1.8s var(--ease-expo); }
.news-media::after { content: ""; position: absolute; inset: 0; background: var(--ink-700); mix-blend-mode: color; opacity: 0; transition: opacity 1.8s var(--ease-expo); pointer-events: none; }
.motion .news-media:not(.is-dev)::after { opacity: 1; }
.motion .news-media:not(.is-dev) img { filter: contrast(1.08) brightness(.84); }
.news-item:hover .news-media img { transform: scale(1.04); }
.article-cover { max-width: 74ch; aspect-ratio: auto; margin-block-end: 30px; }
.news-item .ph { display: grid; place-items: center; color: var(--brass-2); }
.news-item small { color: var(--muted); font-size: 13px; font-weight: 600; }
.news-item b { font-family: var(--font-display); font-size: 19px; font-weight: 700; line-height: 1.55; letter-spacing: -.01em; justify-self: start; background: linear-gradient(var(--brass), var(--brass)) no-repeat 100% 100% / 0 1px; transition: background-size .8s var(--ease-expo), color .25s; }
.news-item:hover b { background-size: 100% 1px; color: var(--ink-700); }
.news-ex { color: var(--muted); font-size: 14.5px; line-height: 1.75; }

/* ===== تواصل ===== */
.visit-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: clamp(30px, 4vw, 58px); align-items: start; }
.visit-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--ink-850); }
.visit-list li { display: grid; grid-template-columns: 42px 1fr auto; gap: 16px; align-items: center; padding: 19px 4px; border-bottom: 1px solid var(--hair-l); }
.visit-list .i { width: 22px; height: 22px; color: var(--brass); justify-self: center; }
.visit-list small { display: block; color: var(--muted); font-size: 13px; font-weight: 600; }
.visit-list b { font-size: 17px; font-weight: 600; }
.visit-list a { color: inherit; text-decoration: none; }
.visit-list a:hover b { color: var(--ink-700); }
.faq-board {
  background-color: var(--ink-850); background-image: var(--grain), linear-gradient(165deg, var(--ink-800), var(--ink-900));
  background-blend-mode: overlay, normal; color: var(--on-petrol);
  border-radius: var(--r-panel); padding: 28px; display: grid; gap: 2px;
}
.faq-board h3 { font-size: 13px; font-weight: 600; color: var(--brass-2); margin-bottom: 14px; }
.faq-board a { color: #fff; text-decoration: none; display: flex; justify-content: space-between; gap: 12px; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--hair-d2); font-weight: 500; font-size: 15.5px; min-height: 48px; transition: color .25s; }
.faq-board a:last-child { border-bottom: 0; }
.faq-board a .i { width: 18px; height: 18px; color: var(--brass-2); transition: transform .4s var(--ease-expo); }
.faq-board a:hover { color: var(--brass-3); }
.faq-board a:hover .i { transform: translateX(-6px); }

/* ===== خاتمة الصفحة الرئيسية ===== */
.closing { position: relative; background: var(--ink-900); color: #fff; overflow: hidden; padding-block: clamp(72px, 9vw, 120px); }
.closing::before { content: ""; position: absolute; inset-inline: 0; top: 0; height: 1px; background: linear-gradient(to left, transparent, var(--brass) 18%, var(--brass) 82%, transparent); opacity: .6; }
.closing-inner { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 34px 60px; }
.closing .crest { width: 68px; height: 68px; margin-bottom: 26px; }
.closing h2 { font-size: clamp(30px, 3.8vw, 50px); font-weight: 700; line-height: 1.22; letter-spacing: -.015em; max-width: 26ch; }
.closing p { margin-top: 16px; font-size: 17.5px; color: #a9bfc0; line-height: 1.85; max-width: 54ch; }
.closing-actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* شعرية نحاسية رفيعة في آخر الصفحات الداخلية */
.endrule { height: 1px; background: linear-gradient(to left, transparent, var(--brass-wash) 20%, var(--brass) 50%, var(--brass-wash) 80%, transparent); }

/* ===== الفوتر ===== */
.site-footer { background: var(--ink-900); color: var(--on-petrol-2); padding-block: 62px calc(32px + var(--safe-bottom)); border-top: 1px solid var(--hair-d2); }
.footer-grid { display: grid; grid-template-columns: 1.5fr repeat(3, 1fr); gap: 36px; }
.footer-brand { display: grid; gap: 16px; align-content: start; }
.footer-brand .crest { width: 60px; height: 60px; }
.footer-brand p { max-width: 36ch; line-height: 1.85; font-size: 14.5px; }
.site-footer h4 { color: var(--brass-2); font-size: 12.5px; font-weight: 600; margin-bottom: 16px; font-family: var(--font-body); }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.site-footer a { color: var(--on-petrol-2); text-decoration: none; display: inline-flex; align-items: center; gap: 8px; min-height: 36px; font-size: 14.5px; transition: color .25s; }
.site-footer a .i { width: 16px; height: 16px; }
.site-footer a:hover { color: #fff; }
.footer-base { margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--hair-d2); display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 14px; font-size: 13.5px; }
.socials { display: flex; gap: 8px; }
.socials a { width: 40px; height: 40px; border-radius: var(--r-btn); border: 1px solid var(--hair-d); justify-content: center; }
.socials a:hover { border-color: var(--brass); color: var(--brass-3); }

/* ===== المؤشر الجانبي ===== */
.rail { position: fixed; inset-inline-end: 22px; top: 50%; transform: translateY(-50%); z-index: 40; display: none; transition: opacity .4s; }
.rail ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.rail a { position: relative; display: flex; align-items: center; justify-content: flex-end; gap: 12px; text-decoration: none; height: 14px; }
.rail .rail-label { opacity: 0; transform: translateX(-6px); transition: opacity .25s, transform .25s var(--ease-out); font-size: 12.5px; font-weight: 600; color: var(--ink-2); background: var(--surface); padding: 3px 10px; border-radius: 4px; box-shadow: var(--shadow-1); white-space: nowrap; }
.rail a:hover .rail-label, .rail a:focus-visible .rail-label { opacity: 1; transform: none; }
/* شُرَط رفيعة: الحالية بتطول وتتنحّس */
.rail .rail-no { width: 18px; height: 1px; font-size: 0; background: rgba(6, 33, 42, .3); transition: width .4s var(--ease-expo), background .4s; }
.rail a[aria-current="true"] .rail-no { width: 34px; background: var(--brass); }
.rail.on-dark .rail-no { background: rgba(239, 244, 243, .32); }
.rail.on-dark a[aria-current="true"] .rail-no { background: var(--brass-2); }
.rail.is-away, .rail.is-tucked, .rail.is-done { opacity: 0; pointer-events: none; }

/* ===== الصفحات الداخلية ===== */
.page-hero { position: relative; isolation: isolate; overflow: hidden; padding-block: calc(var(--header-h) + 68px) 76px; }
.page-hero::before {
  content: ""; position: absolute; inset-inline: 0; top: 0; height: calc(var(--header-h) + 70px); z-index: 0; pointer-events: none;
  background: linear-gradient(to bottom, var(--ink-900) 0%, rgba(6, 33, 42, .78) 48%, rgba(6, 33, 42, 0) 100%);
}
.page-hero > .wrap { position: relative; z-index: 1; }
.page-hero.has-media { background: var(--ink-900); min-height: min(76svh, 740px); display: grid; align-items: end; padding-bottom: clamp(48px, 7vw, 92px); }
.page-hero-media { position: absolute; inset: -8% 0; z-index: -2; }
.page-hero-media img { width: 100%; height: 100%; object-fit: cover; will-change: transform; }
.page-hero.has-media::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(to left, rgba(4, 20, 24, .92) 0%, rgba(4, 20, 24, .55) 54%, rgba(4, 20, 24, .2) 100%), linear-gradient(to top, rgba(4, 20, 24, .93) 0%, rgba(4, 20, 24, 0) 58%); }
.page-hero h1 { font-size: clamp(38px, 5.4vw, 72px); font-weight: 700; color: #fff; line-height: 1.18; letter-spacing: -.015em; }
.page-hero.has-media h1 { font-size: clamp(44px, 7vw, 100px); font-weight: 800; line-height: 1.1; }
.page-hero p { margin-top: 16px; color: var(--on-petrol-2); font-size: 18px; max-width: 58ch; line-height: 1.85; }
.page-hero.has-media p { color: #cbdcdc; }
.page-hero .en-name { margin-top: 8px; direction: ltr; text-align: end; letter-spacing: .2em; text-transform: uppercase; font-size: 13px; color: var(--brass-2); }
.crumbs { display: flex; gap: 9px; flex-wrap: wrap; font-size: 13px; font-weight: 600; color: var(--on-petrol-2); margin-bottom: 22px; }
.crumbs a { color: var(--on-petrol-2); text-decoration: none; }
.crumbs a:hover { color: var(--brass-3); }
.crumbs span[aria-hidden] { color: var(--brass); }
.sport-hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .8fr); gap: 44px; align-items: center; }
.sport-hero-glyph { justify-self: center; width: min(240px, 58%); aspect-ratio: 1; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--brass-wash); color: var(--brass-2); box-shadow: 0 0 0 1px rgba(189, 148, 73, .08), 0 0 0 26px rgba(189, 148, 73, .045); }
.sport-hero-glyph .i { width: 40%; height: 40%; stroke-width: 1.1; }
.cols-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(26px, 4vw, 50px); }

/* الموتيف المعماري: حلقات الشعار وشعرية رفيعة — بديل رسم المضمار */
.motif { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; pointer-events: none; }
.motif .m-ring { fill: none; stroke: var(--hair-d); stroke-width: 1; vector-effect: non-scaling-stroke; }
.motif .m-ring.m-accent { stroke: rgba(189, 148, 73, .42); }
.motif .m-grid { stroke: var(--hair-d2); stroke-width: 1; vector-effect: non-scaling-stroke; }
.motif .m-crest { opacity: .08; }
.motif-tall { display: none; }
@media (max-width: 960px) {
  .motif-wide { display: none; }
  .motif-tall { display: block; }
}

.ghost-name { position: absolute; z-index: 0; bottom: 7%; inset-inline: 0; direction: ltr; white-space: nowrap; pointer-events: none; font-family: var(--font-body); font-weight: 600; font-size: clamp(110px, 13vw, 200px); line-height: .9; letter-spacing: .02em; color: transparent; -webkit-text-stroke: 1px rgba(239, 244, 243, .13); }
.page-hero .ghost-name { opacity: .9; }
.facts { display: flex; flex-wrap: wrap; gap: 0; margin-top: 32px; border-top: 1px solid var(--hair-d); }
.facts div { display: grid; gap: 4px; min-width: 128px; padding-block: 18px 2px; padding-inline: 0 34px; }
.facts dt { order: 2; font-size: 13px; font-weight: 600; color: var(--brass-2); }
.facts dd { margin: 0; }
.facts .digits { font-size: clamp(34px, 3.6vw, 48px); }
.heat-row { display: grid; grid-template-columns: 48px 1fr; gap: 16px; align-items: center; padding-block: 17px; padding-inline: 4px; }
.p-note { color: var(--muted); font-size: 16.5px; line-height: 1.85; }
.cta-band { padding-block: clamp(58px, 7vw, 88px); }
.cta-band .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; }
.cta-band h2 { color: #fff; font-size: clamp(25px, 2.6vw, 34px); font-weight: 700; letter-spacing: -.012em; }
.cta-band p { color: var(--on-petrol-2); margin-top: 8px; font-size: 16px; }
.others { padding-block: clamp(58px, 7vw, 80px); }
.others h2 { font-size: 24px; font-weight: 700; margin-bottom: 20px; letter-spacing: -.01em; }
.others .chip { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; }
.others .chip .i { width: 17px; height: 17px; color: var(--brass); }
.empty-state { display: grid; justify-items: center; gap: 14px; padding-block: 48px; text-align: center; }
.empty-state .i { width: 38px; height: 38px; color: var(--brass); stroke-width: 1.2; }
.empty-state h2 { font-size: 23px; font-weight: 700; }
.empty-state p { color: var(--muted); }
.pager { display: flex; justify-content: space-between; margin-top: 40px; }

/* ===== صفحات القراءة ===== */
.doc { padding-block: 58px 98px; }
.doc-body { max-width: 74ch; font-size: 17px; line-height: 1.95; color: var(--ink-2); }
.doc-body h2 { font-size: 23px; font-weight: 700; color: var(--ink); margin: 46px 0 13px; letter-spacing: -.01em; }
.doc-body h3 { font-size: 18px; font-weight: 600; color: var(--ink); margin: 28px 0 8px; font-family: var(--font-body); }
.doc-body p + p { margin-top: 13px; }
.doc-body ul { padding-inline-start: 22px; margin: 11px 0; display: grid; gap: 7px; }
.doc-body a { color: var(--ink-700); border-bottom: 1px solid var(--brass); text-decoration: none; }
.doc-body[lang="en"] { direction: ltr; text-align: left; font-family: var(--font-body); }
.doc-meta { display: flex; flex-wrap: wrap; gap: 10px 18px; align-items: center; margin-bottom: 32px; color: var(--muted); font-size: 14.5px; }
.lang-switch { display: inline-flex; border: 1px solid var(--hair-l); border-radius: var(--r-btn); overflow: hidden; }
.lang-switch a { padding: 7px 15px; text-decoration: none; color: var(--ink-2); font-weight: 600; font-size: 13.5px; }
.lang-switch a[aria-current="true"] { background: var(--ink-850); color: #fff; }
.callout { margin: 24px 0; padding: 20px 22px; border-radius: var(--r-panel); background: var(--surface); border: 1px solid var(--hair-l); border-inline-start: 2px solid var(--brass); }
.faq details { border-bottom: 1px solid var(--hair-l); padding: 17px 0; }
.faq summary { cursor: pointer; font-weight: 600; font-size: 17.5px; color: var(--ink); list-style: none; display: flex; justify-content: space-between; gap: 12px; align-items: center; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .i { transition: transform .3s var(--ease-out); color: var(--brass); }
.faq details[open] summary .i { transform: rotate(180deg); }
.faq details p { margin-top: 11px; color: var(--ink-2); }
.form-card { background: var(--surface); border: 1px solid var(--hair-l); border-radius: var(--r-panel); padding: clamp(22px, 3vw, 32px); display: grid; gap: 17px; max-width: 520px; }
.form-card label { font-weight: 600; display: grid; gap: 7px; }
.form-card input[type=text], .form-card input[type=password] { min-height: 52px; padding: 13px 15px; border: 1px solid var(--hair-l); border-radius: var(--r-btn); font-size: 16px; background: #fff; }
.form-card input:focus { outline: none; border-color: var(--brass); box-shadow: 0 0 0 3px var(--brass-wash); }
.notice { padding: 15px 17px; border-radius: var(--r-panel); display: flex; gap: 11px; }
.notice.ok { background: var(--ok-soft); color: #0f4d31; }
.notice.bad { background: var(--bad-soft); color: #6d1215; }
.pill { display: inline-flex; align-items: center; gap: 7px; padding: 4px 12px; border-radius: 999px; font-size: 12.5px; font-weight: 600; line-height: 1.6; }
.pill .dot { width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.pill-ok { background: var(--ok-soft); color: var(--ok); }

/* لمبة «شغّال دلوقتي» — وظيفية، مش ديكور */
.led { display: inline-block; flex: none; width: 7px; height: 7px; border-radius: 50%; background: #6c8486; }
.led.on { background: #63c79a; box-shadow: 0 0 0 3px rgba(99, 199, 154, .16); }
.led.soon { background: var(--brass-2); box-shadow: 0 0 0 3px rgba(217, 183, 118, .16); }

/* ===== الحركة: الأجزاء اللي بالـCSS (الباقي GSAP) ===== */
@media (prefers-reduced-motion: no-preference) {
  /* الهيرو: زحف بطيء جدًا على الصورة — إحساس سينمائي، من غير حركة صارخة */
  .motion .hero-img { animation: drift 36s ease-in-out infinite alternate; }
  @keyframes drift { from { transform: scale(1.02) translate3d(0, 0, 0); } to { transform: scale(1.085) translate3d(-1.2%, -1%, 0); } }
  .js .motif .m-ring { stroke-dasharray: var(--len) var(--len); stroke-dashoffset: var(--len); animation: draw-ring 2.2s var(--ease-out) var(--d, 0s) forwards; }
  @keyframes draw-ring { to { stroke-dashoffset: 0; } }
  .js .motif .m-grid { opacity: 0; animation: fade-in 1s 1s var(--ease-out) forwards; }
  @keyframes fade-in { to { opacity: 1; } }
  .js .motif .m-crest { opacity: 0; animation: fade-crest 1.4s 1.1s var(--ease-out) forwards; }
  @keyframes fade-crest { to { opacity: .08; } }
}
@media (prefers-reduced-motion: reduce) {
  .cue-line { animation: none; }
}

/* الحالات المخفيّة قبل الظهور موجودة تحت .motion بس */
.motion .hero .split-words .wi { transform: translateY(110%); }
.motion .hero [data-rise], .motion .hero-card, .motion .hero .scroll-cue, .motion .hero .eyebrow { opacity: 0; }
.motion .page-hero [data-split] { visibility: hidden; }
.motion .page-hero [data-rise] { opacity: 0; }
.motion .tile .tile-media { filter: brightness(.25) saturate(.4); }

@media (min-width: 761px) {
  .g-card { width: auto; height: min(calc(100svh - var(--header-h) - 160px), 680px); aspect-ratio: 4 / 5; }
}
@media (min-width: 961px) {
  .app-feats li { min-height: 23vh; align-content: center; }
}

/* ===== الاستجابة ===== */
@media (min-width: 1200px) { .rail { display: block; } }
@media (max-width: 1100px) {
  .site-nav { display: none; }
  .menu-btn { display: inline-grid; }
  .staff-link span { display: none; }
  .board-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .board-cell:nth-child(2n) { border-inline-end: 0; }
  .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tile-1, .tile-5 { grid-column: span 2; }
  .tile-2 { grid-row: span 1; }
}
@media (max-width: 960px) {
  .hero-grid, .app-grid, .visit-grid, .sport-hero-grid, .cols-2, .academies-grid, .closing-inner { grid-template-columns: 1fr; }
  .closing-inner { align-items: start; }
  .hero { min-height: auto; padding-bottom: 84px; }
  .hero-card { width: min(340px, 92%); margin-top: 10px; }
  .academies-photo { position: static; }
  .ap-frame { aspect-ratio: 16 / 10; }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 34px 0; }
  .news-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .app-phone { position: relative; top: 0; order: -1; }
  .scroll-cue { display: none; }
}
@media (max-width: 760px) {
  .gallery { overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding-bottom: 22px; }
  .gallery::-webkit-scrollbar { display: none; }
  .gallery-track { width: auto; }
  .g-card { width: 82vw; scroll-snap-align: center; aspect-ratio: 4 / 5.2; }
  .gallery-progress { display: none; }
  .bl-text { margin-inline-start: 0; flex-basis: 100%; }
  .find { max-width: none; flex-basis: 100%; order: 2; }
}
@media (max-width: 600px) {
  :root { --header-h: 64px; --track-wide: .2em; }
  .ink-grid::before { display: none; }  /* الشعرية بتزحم شاشة الموبايل */
  .hero-lede { margin-top: 16px; line-height: 1.8; }
  .hero-actions { margin-top: 24px; display: grid; grid-template-columns: 1fr 1fr; }
  .hero-actions .btn { padding-inline: 12px; font-size: 15px; }
  .hero-meta { margin-top: 20px; }
  .hero-grid { gap: 32px; }
  .hero h1 { font-size: 42px; max-width: none; }
  .eyebrow { margin-bottom: 18px; font-size: 11.5px; }
  .eyebrow::before { width: 28px; }
  .brand .wordmark { width: 86px; }
  .brand .crest { width: 38px; height: 38px; }
  .header-actions .btn-sm { min-height: 40px; padding: 7px 13px; font-size: 14px; }
  .header-actions .staff-link { display: none; }
  .site-header .wrap { gap: 12px; }
  .hero { padding-block: calc(var(--header-h) + 30px) 68px; }
  .board-cell { padding: 24px 18px 22px; }
  .digits { font-size: 52px; }
  .board-cell b { font-size: 16px; }
  .bento { grid-template-columns: 1fr; grid-auto-rows: 220px; }
  .tile-1, .tile-2, .tile-5 { grid-column: auto; grid-row: auto; }
  .tile-1 { grid-row: span 1; }
  .heat a { grid-template-columns: 30px 38px minmax(0, 1fr) 20px; gap: 12px; }
  .heat .heat-en { display: none; }
  .heat .heat-glyph { width: 38px; height: 38px; }
  .steps { grid-template-columns: 1fr; gap: 30px; }
  .steps li { padding: 0; }
  .steps-line { display: none; }
  .ruler-tick.minor { display: none; }
  .footer-grid { grid-template-columns: 1fr; }
  .ribbon-item { padding-inline: 16px; }
  .facts div { padding-inline-end: 26px; }
  .ghost-name { bottom: auto; top: calc(var(--header-h) + 18px); font-size: 70px; }
  .board-live { padding-inline: 18px; }
  .heat-head .chips { width: calc(100% + 2 * var(--gutter)); flex-wrap: nowrap; overflow-x: auto; margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); padding-block: 2px; scrollbar-width: none; }
  .heat-head .chips::-webkit-scrollbar { display: none; }
  .heat-head .chip { flex: none; }
}

/* ===== قائمة الموبايل ===== */
.menu-sheet { position: fixed; inset: 0; z-index: 60; display: none; }
.menu-sheet.is-open { display: block; }
.menu-sheet .sheet { position: absolute; inset: 0; padding: calc(var(--safe-top) + 14px) var(--gutter) calc(var(--safe-bottom) + 24px); display: grid; grid-template-rows: auto 1fr auto; overflow-y: auto; }
.menu-sheet .sheet-top { display: flex; align-items: center; justify-content: space-between; min-height: 56px; }
.menu-sheet nav ol { list-style: none; margin: 22px 0 0; padding: 0; border-top: 1px solid var(--brass-wash); }
.menu-sheet nav a { display: grid; grid-template-columns: 44px 1fr; align-items: center; gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--hair-d2); color: #fff; text-decoration: none; font-family: var(--font-display); font-size: 21px; font-weight: 700; letter-spacing: -.01em; }
.menu-sheet nav a span { font-size: 12px; font-weight: 600; letter-spacing: var(--track-num); color: var(--brass-2); unicode-bidi: isolate; text-align: start; font-family: var(--font-body); }
.menu-sheet nav a span::before { content: "0"; }
.menu-sheet .sheet-actions { display: grid; gap: 10px; margin-top: 26px; }
@media (prefers-reduced-motion: no-preference) {
  .menu-sheet.is-open .sheet { animation: sheet-wipe .7s var(--ease-expo); }
  @keyframes sheet-wipe { from { clip-path: inset(0 0 0 100%); } to { clip-path: inset(0); } }
  .menu-sheet.is-open::after { content: ""; position: fixed; inset-block: 0; inset-inline-end: 0; width: 2px; z-index: 61; pointer-events: none; background: var(--brass); animation: wipe .7s var(--ease-expo) both; }
  .menu-sheet.is-open nav li { animation: sheet-item .65s var(--ease-expo) both; }
  .menu-sheet.is-open nav li:nth-child(2) { animation-delay: .04s; }
  .menu-sheet.is-open nav li:nth-child(3) { animation-delay: .08s; }
  .menu-sheet.is-open nav li:nth-child(4) { animation-delay: .12s; }
  .menu-sheet.is-open nav li:nth-child(5) { animation-delay: .16s; }
  .menu-sheet.is-open nav li:nth-child(n+6) { animation-delay: .2s; }
  @keyframes sheet-item { from { opacity: 0; transform: translateX(-20px); } }
}

/* ===== عن النادي: فقرة تحريرية جنب رأس القسم ===== */
.about-section { background: var(--surface); border-block: 1px solid var(--hair-l2); }
.about-grid { display: grid; grid-template-columns: minmax(0, .78fr) minmax(0, 1.22fr); gap: clamp(28px, 5vw, 84px); align-items: start; }
.about-grid .sec-head { margin-bottom: 0; }
.about-body { display: grid; gap: 22px; padding-inline-start: clamp(0px, 3.4vw, 46px); border-inline-start: 1px solid var(--hair-l); }
.about-lead { font-family: var(--font-display); font-weight: 700; font-size: clamp(21px, 2.2vw, 30px); line-height: 1.8; color: var(--ink-850); letter-spacing: -.01em; text-wrap: pretty; max-width: 40ch; }
.about-more { font-size: 17.5px; line-height: 1.95; color: var(--muted); max-width: 62ch; text-wrap: pretty; }
.about-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 6px; }
@media (min-width: 961px) { .about-grid .sec-head { position: sticky; top: calc(var(--header-h) + 28px); } }
@media (max-width: 960px) {
  .about-grid { grid-template-columns: 1fr; }
  .about-body { border-inline-start: 0; padding-inline-start: 0; }
}

/* ===== الهيرو حسب ساعة النادي (data-sky من توقيت القاهرة) =====
   درجة لونية خفيفة على الصورة بس: فجر دافي، نهار صافي، غروب نحاسي، ليل أهدى.
   الكلام والكارت ثابتين في كل الحالات علشان التباين ما يتغيرش. */
.hero-media::after { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity 1.6s var(--ease-expo); }
.hero-img { transition: filter 1.6s var(--ease-expo); }
.hero[data-sky="dawn"] .hero-media::after { opacity: 1; background: radial-gradient(90% 70% at 18% 100%, rgba(239, 220, 180, .26), rgba(239, 220, 180, 0) 70%); }
.hero[data-sky="dawn"] .hero-img { filter: saturate(.92) brightness(.96); }
.hero[data-sky="day"] .hero-img { filter: saturate(1.04) brightness(1.03); }
.hero[data-sky="dusk"] .hero-media::after { opacity: 1; background: linear-gradient(200deg, rgba(217, 183, 118, .28) 0%, rgba(189, 148, 73, .12) 38%, rgba(189, 148, 73, 0) 70%); }
.hero[data-sky="dusk"] .hero-img { filter: saturate(.95) sepia(.12) brightness(.95); }
.hero[data-sky="night"] .hero-media::after { opacity: 1; background: linear-gradient(to bottom, rgba(4, 20, 24, .34), rgba(4, 20, 24, .12)); }
.hero[data-sky="night"] .hero-img { filter: saturate(.78) brightness(.8) hue-rotate(-6deg); }
@media (prefers-reduced-motion: reduce) { .hero-media::after, .hero-img { transition: none; } }

/* ===== تواصل من غير بيانات متسجلة: مكتب شئون العضوية هو أول سطر ===== */
.visit-list .visit-office small + small { margin-top: 4px; font-weight: 500; }
