/* «عن الدار» — photo reel version. Light paper plain. */
.mct-about{padding-block:120px 130px;background:var(--mct-paper);overflow:hidden}
.ma-head{max-width:900px;text-align:center}
.ma-head .mct-lead{font-size:18px;line-height:2;color:var(--mct-text);max-width:none}
.ma-arts{display:flex;flex-wrap:wrap;justify-content:center;align-items:center;gap:10px 18px;margin:22px 0 0;font-weight:700;font-size:16.5px;color:var(--mct-ink)}
.ma-arts .ma-sep{width:5px;height:5px;border-radius:50%;background:var(--mct-gold);flex:none}
.ma-btns{justify-content:center;margin-top:34px}

/* «الطيّات والحبل» (mockup C, 24 Nov 2026): two tied-back curtains hanging from the section's top edge, just outside
   the 900px text (they run off the page edge on smaller laptops; the section clips them). Narrow screens: two small
   corners inside the top padding, above the kicker, never over the text. The left one is the right one mirrored. */
.ma-drape{position:absolute;z-index:0;top:0;width:210px;height:480px;pointer-events:none}
.ma-drape svg{display:block;width:100%;height:100%;overflow:visible}
.ma-drape.is-r{left:calc(50% + 470px)}
.ma-drape.is-l{right:calc(50% + 470px)}
.ma-drape.is-l svg{transform:scaleX(-1)}
.ma-drape__fold{stroke-dasharray:1;stroke-dashoffset:0}
@media (max-width:1179px){
  .ma-drape{width:47px;height:112px}
  .ma-drape.is-r{left:auto;right:0}
  .ma-drape.is-l{right:auto;left:0}
}
@media (max-width:640px){.ma-drape{width:34px;height:80px}}

/* z-index 1 + isolate: the fan's card order stays inside the row, so the figures card (z 2) is always on top */
.ma-reel{position:relative;z-index:1;isolation:isolate;margin-top:70px;display:flex;align-items:center;justify-content:center;gap:18px;padding-inline:20px}
.ma-fig{margin:0;flex:none;position:relative;border-radius:16px;overflow:hidden;box-shadow:0 30px 50px -26px rgb(var(--mct-ink-rgb) / .6);background:var(--mct-stage-2)}
.ma-fig img{width:100%;height:100%;object-fit:cover;scale:1.12;display:block}
.ma-fig figcaption{position:absolute;inset:auto 0 0;padding:28px 14px 12px;font-size:13.5px;font-weight:700;color:#fff;background:linear-gradient(transparent, rgb(var(--mct-stage-rgb) / .8))}
.ma-fig.is-r1{width:15vw;height:22vw}.ma-fig.is-r2{width:19vw;height:28vw}.ma-fig.is-r3{width:24vw;height:32vw}.ma-fig.is-r4{width:19vw;height:26vw}.ma-fig.is-r5{width:15vw;height:21vw}
/* Abdelkader Alloula (design أ «الإطار الذهبي»): his portrait in a gold stage frame, a velvet name plate across the
   frame's bottom edge; a little taller than its place in the row */
.ma-fig.ma-gold{overflow:visible;background:none;box-shadow:none;border-radius:0;display:flex;flex-direction:column}
.ma-gold__frame{flex:1;min-height:0;display:block;padding:clamp(6px,.65vw,10px);border-radius:6px;
  background:linear-gradient(145deg,var(--mct-gold-lt),var(--mct-gold) 40%,var(--mct-gold-deep) 70%,var(--mct-gold-lt));
  box-shadow:0 34px 60px -24px rgb(var(--mct-ink-rgb) / .75), inset 0 0 0 1px rgb(255 255 255 / .4)}
.ma-gold__frame>span{display:block;height:100%;overflow:hidden;padding:clamp(3px,.35vw,5px);border-radius:3px;background:var(--mct-velvet-d);box-shadow:inset 0 0 0 1px rgb(255 255 255 / .25)}
.ma-gold__frame img{border-radius:2px;object-position:42% 30%;filter:grayscale(1) contrast(1.04)}
.ma-fig .ma-gold__plate{position:relative;inset:auto;width:88%;margin:-22px auto 0;padding:10px 12px 9px;text-align:center;border-radius:6px;
  background:linear-gradient(160deg,var(--mct-velvet-b),var(--mct-velvet-d));color:var(--mct-cream);
  box-shadow:0 14px 24px -12px rgb(0 0 0 / .6), inset 0 0 0 1px var(--mct-gold-lt)}
.ma-fig .ma-gold__plate small{display:block;font-size:12.5px;font-weight:700;color:var(--mct-orange-lt)}
.ma-fig .ma-gold__plate b{display:block;font-size:clamp(16px,1.45vw,22px);font-weight:900;line-height:1.35;color:#fff4e2}
.ma-fig .ma-gold__plate span{display:block;font-size:12.5px;color:rgb(255 244 226 / .72)}
/* it rises above the row's top (not below: the figures card covers the reel's bottom 60px, and the plate must show) */
.ma-fig.ma-gold{align-self:flex-start;top:-3vw} /* top, not margin: Elementor zeroes figure margins with a stronger selector; not transform: GSAP owns it */
/* in the middle it is the tallest card, so it can't rise (the buttons are above): it gets an empty band below it
   instead (padding, not margin — see above), which the figures card covers */
.ma-fig.ma-gold.is-r3{align-self:flex-start;top:0;width:25vw;height:39vw;padding-bottom:5vw}
.ma-fig .ma-gold__plate{font-style:normal}

/* «ضوء الكشّاف» (design ب): a warm light follows the pointer (--mx/--my, js), the other photos dim. The tilt toward the
   light and the photo's zoom are GSAP tweens in w-about.js (GSAP owns these transforms and writes `rotate/scale:none`
   inline, so CSS can't do them) */
.ma-fig{transition:filter .45s}
.ma-gold__frame>span{position:relative}
.ma-fig:not(.ma-gold)::after,.ma-gold__frame>span::after{content:"";position:absolute;inset:0;z-index:1;pointer-events:none;border-radius:inherit;opacity:0;transition:opacity .35s;mix-blend-mode:soft-light;
  background:radial-gradient(circle at var(--mx,50%) var(--my,50%), color-mix(in srgb, var(--mct-orange-lt) 35%, #fff), color-mix(in srgb, var(--mct-orange-lt) 30%, transparent) 28%, transparent 55%)}
.ma-fig.is-lit:not(.ma-gold)::after,.ma-gold.is-lit .ma-gold__frame>span::after{opacity:1}
.ma-reel.has-lit .ma-fig:not(.is-lit){filter:brightness(.72) saturate(.8)}
@media (prefers-reduced-motion: reduce){.ma-fig{transition:none}}
.ma-fig.ma-gold.is-r1{height:24vw}.ma-fig.ma-gold.is-r2{height:30vw}.ma-fig.ma-gold.is-r4{height:29vw}.ma-fig.ma-gold.is-r5{height:24vw}

.ma-figs{position:relative;z-index:2;max-width:1040px;margin:-60px auto 0;display:grid;grid-template-columns:repeat(4, minmax(0,1fr));background:var(--mct-card);border:1px solid var(--mct-line);border-radius:20px;box-shadow:0 30px 60px -30px rgb(var(--mct-ink-rgb) / .45)}
.ma-num{display:flex;align-items:center;gap:18px;padding:26px 22px;position:relative}
.ma-num + .ma-num::before{content:"";position:absolute;inset-inline-start:0;top:24%;bottom:24%;width:1px;background:linear-gradient(to bottom, transparent, var(--mct-gold), transparent)}
.ma-ic{width:56px;height:56px;border-radius:50%;display:grid;place-items:center;color:var(--mct-orange-txt);background:radial-gradient(circle at 30% 30%, #fff, var(--mct-orange-soft));box-shadow:inset 0 0 0 1px rgb(201 162 79 / .35);flex:none}
.ma-ic .mct-i{width:26px;height:26px}
.ma-num b{display:block;font-size:clamp(34px,3.4vw,48px);font-weight:900;line-height:1.1;color:var(--mct-ink);font-variant-numeric:tabular-nums;text-align:start}
[dir="rtl"] .ma-num b{text-align:right}
.ma-num b em{font-style:normal;color:var(--mct-orange);font-weight:800}
.ma-lb{display:block;font-size:14.5px;color:var(--mct-mute);font-weight:600}

@media (max-width:1100px){
  .ma-figs{grid-template-columns:repeat(2, minmax(0,1fr))}
  .ma-num:nth-child(3)::before{content:none}
  .ma-fig.is-r1,.ma-fig.is-r5{display:none}
  .ma-fig.is-r2{width:26vw;height:36vw}.ma-fig.is-r3{width:34vw;height:44vw}.ma-fig.is-r4{width:26vw;height:34vw}
  .ma-fig.ma-gold.is-r2{height:41vw}.ma-fig.ma-gold.is-r3{width:34vw;height:54vw;padding-bottom:8vw}.ma-fig.ma-gold.is-r4{height:39vw}
  .ma-fig.ma-gold.is-r1,.ma-fig.ma-gold.is-r5{display:flex;width:26vw;height:39vw} /* never hidden */
}
@media (max-width:640px){
  .mct-about{padding-block:84px 96px}
  .ma-head .mct-lead{font-size:16.5px}
  .ma-reel{justify-content:flex-start;overflow-x:auto;scroll-snap-type:x mandatory;padding-bottom:10px;scrollbar-width:none}
  .ma-fig{scroll-snap-align:center}
  .ma-fig.is-r1,.ma-fig.is-r5{display:block}
  .ma-fig.ma-gold.is-r1,.ma-fig.ma-gold.is-r5{display:flex}
  .ma-fig,.ma-fig.is-r1,.ma-fig.is-r2,.ma-fig.is-r3,.ma-fig.is-r4,.ma-fig.is-r5{width:62vw;height:78vw}
  .ma-fig.ma-gold,.ma-fig.ma-gold.is-r1,.ma-fig.ma-gold.is-r2,.ma-fig.ma-gold.is-r3,.ma-fig.ma-gold.is-r4,.ma-fig.ma-gold.is-r5{height:86vw}
  .ma-fig.ma-gold,.ma-fig.ma-gold.is-r3{align-self:center;top:0;width:62vw;height:86vw;padding-bottom:0}
  .ma-fig .ma-gold__plate b{font-size:20px}
  .ma-figs{margin:24px auto 0}
  .ma-num{padding:20px 12px;gap:12px;flex-direction:column;align-items:flex-start}
  .ma-ic{width:44px;height:44px}
}
