/* ===== الأساس ===== */
:root {
  --bg: #090909;
  --bg-2: #111110;
  --gold: #ffd34e;
  --gold-deep: #c9a24b;
  --ink: #f2ebdd;
  --muted: rgba(242, 235, 221, 0.62);
  --faint: rgba(242, 235, 221, 0.32);
  --hair: rgba(242, 235, 221, 0.12);
  --gutter: clamp(22px, 6vw, 96px);
  --display: "Reem Kufi", "IBM Plex Sans Arabic", system-ui, sans-serif;
  --body: "IBM Plex Sans Arabic", system-ui, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, monospace;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { background: var(--bg); -webkit-text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.7;
  font-weight: 400;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4, p { margin: 0; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 4px; }
::selection { background: var(--gold); color: #111; }

main { position: relative; z-index: 2; }
section { position: relative; }

#stage { position: fixed; inset: 0; width: 100%; height: 100%; z-index: 0; pointer-events: none; }
.grain {
  position: fixed; inset: 0; z-index: 60; pointer-events: none; opacity: 0.07; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* الخط الذهبي */
.thread { position: absolute; top: 0; left: 0; width: 100%; z-index: 1; pointer-events: none; overflow: visible; }
.thread path { fill: none; stroke-linejoin: miter; stroke-linecap: butt; }
.thread__ghost { stroke: var(--hair); stroke-width: 1; }
.thread__line { stroke: var(--gold); stroke-width: 1.5; }
.thread__tip { fill: var(--gold); filter: drop-shadow(0 0 8px rgba(255, 211, 78, 0.9)); }

/* الشعار المرسوم */
.logo-svg { display: block; width: 100%; height: auto; overflow: visible; }
.logo-svg path { fill: none; stroke: var(--gold); stroke-width: 32; stroke-linejoin: miter; }
.logo-svg circle { fill: var(--gold); }

/* ===== العدّ التنازلي ===== */
.loader {
  position: fixed; inset: 0; z-index: 100; background: var(--bg);
  display: none; flex-direction: column; align-items: center; justify-content: center; gap: 40px;
}
.js .loader { display: flex; animation: loader-safety 0.5s 7s forwards; }
@keyframes loader-safety { to { opacity: 0; visibility: hidden; } }
.loader__logo { width: 132px; }
.loader__count { font-family: var(--mono); font-size: 14px; color: var(--muted); letter-spacing: 0.2em; }

/* ===== الشريط العلوي ===== */
.hud {
  position: fixed; inset: 0 0 auto 0; z-index: 40; height: 72px; padding: 0 var(--gutter);
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center;
  background: linear-gradient(to bottom, rgba(9, 9, 9, 0.92), rgba(9, 9, 9, 0));
}
.hud__brand { display: inline-flex; align-items: center; gap: 12px; justify-self: start; }
.hud__logo { width: 30px; }
.hud__name { font-family: var(--display); font-size: 19px; font-weight: 500; }
.hud__nav { display: flex; gap: 34px; font-size: 15px; color: var(--muted); }
.hud__nav a { transition: color 0.2s; padding: 8px 0; }
.hud__nav a:hover, .hud__nav a.is-here { color: var(--gold); }
.hud__meta { justify-self: end; display: flex; gap: 18px; align-items: baseline; font-size: 13px; color: var(--muted); }
.hud__meta { align-items: center; }
.hud__sound { display: inline-flex; align-items: center; justify-content: center; gap: 3px; width: 36px; height: 36px; border: 1px solid var(--hair); border-radius: 50%; transition: border-color 0.2s; }
.hud__sound:hover { border-color: var(--gold); }
.hud__sound i { width: 2px; height: 13px; background: var(--gold); border-radius: 1px; animation: eq 1.1s ease-in-out infinite; }
.hud__sound i:nth-child(2) { animation-delay: -0.35s; }
.hud__sound i:nth-child(3) { animation-delay: -0.7s; }
.hud__sound i:nth-child(4) { animation-delay: -0.2s; }
.hud__sound.is-off i { animation: none; transform: scaleY(0.18); background: var(--muted); }
@keyframes eq { 0%, 100% { transform: scaleY(0.3); } 50% { transform: scaleY(1); } }
.hud__tc { font-family: var(--mono); color: var(--gold); font-variant-numeric: tabular-nums; }

/* ===== الأزرار ===== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 52px; padding: 0 26px; border-radius: 4px; font-size: 16px; font-weight: 500;
  transition: background 0.2s, color 0.2s, transform 0.2s var(--ease);
}
.btn svg { width: 20px; height: 20px; fill: currentColor; }
.btn--gold { background: var(--gold); color: #14110a; }
.btn--gold:hover { background: #ffe08a; }
.btn--gold:active { transform: scale(0.98); }

/* ===== الافتتاح ===== */
.hero { min-height: 100svh; display: grid; place-items: end center; padding: 0 var(--gutter) max(15vh, 132px); text-align: center; }
.hero__pre { font-size: 14px; color: var(--muted); margin-bottom: 18px; }
.hero__title {
  font-family: var(--display); font-weight: 500; line-height: 1.05;
  font-size: clamp(68px, 12.5vw, 196px);
}
.hero__title span { display: inline-block; }
.hero__line { font-family: var(--display); font-size: clamp(20px, 2.4vw, 34px); color: var(--gold); margin-top: 14px; }
.hero__roles { font-size: 15px; color: var(--muted); margin-top: 22px; }
.hero__cue {
  position: absolute; bottom: 26px; left: 50%; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 10px; font-size: 13px; color: var(--faint);
}
.hero__cue i { width: 1px; height: 34px; background: linear-gradient(var(--gold), transparent); animation: cue 2s var(--ease) infinite; transform-origin: top; }
@keyframes cue { 0% { transform: scaleY(0); } 60% { transform: scaleY(1); opacity: 1; } 100% { transform: scaleY(1); opacity: 0; } }

/* ===== البيان ===== */
.manifesto { min-height: 130vh; display: grid; place-items: center; padding: 20vh var(--gutter); }
.manifesto__text {
  font-family: var(--display); font-weight: 400; text-align: center;
  font-size: clamp(27px, 4.3vw, 64px); line-height: 1.65; max-width: 19em;
}
.manifesto__text .w { display: inline-block; }
.js .manifesto__text .w { opacity: 0.13; }

/* ===== الجواهر ===== */
.gate { padding: 18vh var(--gutter) 22vh; text-align: center; }
.gate__title { font-family: var(--display); font-weight: 500; font-size: clamp(30px, 4vw, 52px); line-height: 1.3; }
.gate__sub { color: var(--muted); max-width: 30em; margin: 14px auto 0; }
.gate__crown, .gate__jewels { width: min(900px, 100%); margin-inline: auto; }
.gate__jewels { container-type: inline-size; display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 90px; position: relative; z-index: 2; }
.gate { display: flex; flex-direction: column; }
.gate__crown { order: 3; margin-top: -11px; }
.gate__crown svg { display: block; width: 100%; overflow: visible; }
.gate__path { fill: none; stroke: var(--gold); stroke-width: 2.5; stroke-linejoin: miter; vector-effect: non-scaling-stroke; }
.js .gate__path { stroke-dasharray: 1; stroke-dashoffset: 1; }
.jewel { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 10px 6px 0; transform: translateY(4.44cqw); }
.jewel--mid { transform: none; }
.jewel__word { font-family: var(--display); font-size: clamp(24px, 3.4vw, 44px); font-weight: 500; line-height: 1.3; transition: color 0.25s; }
.jewel__name { font-size: 14px; color: var(--muted); }
.jewel__gem {
  order: 3; width: 22px; height: 22px; border-radius: 50%; margin-top: 18px;
  border: 2.5px solid var(--gold); background: var(--bg); transition: background 0.25s, box-shadow 0.25s;
}
.jewel:hover .jewel__word { color: var(--gold); }
.jewel:hover .jewel__gem { background: var(--gold); box-shadow: 0 0 28px rgba(255, 211, 78, 0.7); }

/* ===== الفصول ===== */
.act { padding-bottom: 16vh; }
.act__card { min-height: 100svh; display: flex; flex-direction: column; justify-content: center; padding: 14vh var(--gutter); }
.act__no { font-size: 15px; color: var(--gold); }
.act__word {
  font-family: var(--display); font-weight: 600; line-height: 1.25;
  font-size: clamp(96px, 21vw, 340px);
  color: var(--bg); -webkit-text-stroke: 2px var(--gold); paint-order: stroke fill;
  margin: -0.06em 0 0;
}
.act__name { font-family: var(--display); font-weight: 500; font-size: clamp(26px, 3.2vw, 44px); line-height: 1.3; }
.act__desc { color: var(--muted); font-size: 18px; max-width: 30em; margin-top: 12px; }

/* العمل الرئيسي */
.feature { padding: 0 var(--gutter); }
.feature .work { width: 100%; }
.feature .work__frame { aspect-ratio: 16 / 9; }
.act--cinema .feature .work__frame { aspect-ratio: 2.39 / 1; }
.feature .work__meta { padding-top: 18px; }
.feature .work__meta h4 { font-size: clamp(22px, 2.4vw, 32px); }
.feature .work__tag { display: inline-block; }

/* بطاقة العمل */
.work { display: block; text-align: start; width: 100%; }
.work__frame { position: relative; overflow: hidden; background: var(--bg-2); aspect-ratio: 16 / 9; }
.work__frame > svg, .work__frame > video, .work__frame > img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block;
  transition: transform 0.9s var(--ease);
}
.work__frame > video { opacity: 0; transition: opacity 0.4s; }
.work.is-playing .work__frame > video { opacity: 1; }
.work:hover .work__frame > svg, .work:hover .work__frame > img { transform: scale(1.045); }
.work__frame::after {
  content: ""; position: absolute; inset: 0; border: 1px solid rgba(255, 211, 78, 0); transition: border-color 0.3s; pointer-events: none;
}
.work:hover .work__frame::after, .work:focus-visible .work__frame::after { border-color: rgba(255, 211, 78, 0.75); }
.work__play {
  position: absolute; inset-inline-start: 18px; bottom: 18px; z-index: 2;
  width: 46px; height: 46px; border-radius: 50%; background: var(--gold); display: grid; place-items: center;
  transform: scale(0.6); opacity: 0; transition: transform 0.35s var(--ease), opacity 0.25s;
}
.work__play::before { content: ""; border-style: solid; border-width: 7px 0 7px 11px; border-color: transparent transparent transparent #14110a; margin-inline-start: -3px; transform: translateX(2px); }
.work:hover .work__play, .work:focus-visible .work__play { transform: scale(1); opacity: 1; }
.work__meta { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding-top: 14px; }
.work__meta h4 { font-family: var(--display); font-weight: 500; font-size: 19px; line-height: 1.4; }
.work__meta span { font-size: 14px; color: var(--muted); white-space: nowrap; }
.work__tag { display: none; font-size: 13px; color: var(--gold); margin-inline-end: 12px; }

/* الفيديو العمودي: يظهر كاملاً فوق خلفية ضبابية من نفس اللقطة */
[hidden] { display: none !important; }

/* الكوفر: لقطة العمل بالأسود والذهبي، وعند المرور تعود ألوانها الحقيقية */
.cover { isolation: isolate; }
.cover > img { filter: grayscale(1) contrast(1.18) brightness(0.82); transition: transform 0.9s var(--ease), filter 0.6s; }
.cover::before {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(140deg, #f1c75a 0%, #b98a2c 55%, #6e5216 100%);
  mix-blend-mode: multiply; transition: opacity 0.6s;
}
.work:hover .cover > img, .work:focus-visible .cover > img { filter: none; }
.work:hover .cover::before, .work:focus-visible .cover::before { opacity: 0; }
.cover::after { z-index: 3; inset: 12px; border-color: rgba(255, 211, 78, 0.28); }
.work:hover .cover::after, .work:focus-visible .cover::after { border-color: rgba(255, 211, 78, 0.9); }
.cover__text {
  position: absolute; inset: auto 0 0 0; z-index: 2; display: flex; flex-direction: column; gap: 2px; text-align: start;
  padding: 70px 30px 26px; background: linear-gradient(to top, rgba(9, 9, 9, 0.94) 8%, rgba(9, 9, 9, 0.6) 55%, rgba(9, 9, 9, 0));
}
.cover__text em { font-style: normal; font-size: 13px; color: var(--gold); }
.cover__text strong { font-family: var(--display); font-weight: 500; font-size: clamp(20px, 2.1vw, 30px); line-height: 1.35; color: var(--ink); }
.feature .cover__text { padding: 120px clamp(26px, 4vw, 56px) clamp(26px, 3.4vw, 46px); }
.feature .cover__text em { font-size: 15px; }
.feature .cover__text strong { font-size: clamp(30px, 5vw, 76px); line-height: 1.25; }
.cover__gems { position: absolute; top: 28px; inset-inline-start: 30px; z-index: 2; display: flex; gap: 7px; }
.cover__gems i { width: 8px; height: 8px; border-radius: 50%; border: 1.5px solid var(--gold); }
.cover__gems i.on { background: var(--gold); box-shadow: 0 0 12px rgba(255, 211, 78, 0.8); }
.work__short { color: var(--muted); font-size: 15px; line-height: 1.6; padding-top: 12px; text-align: start; }
.feature .work__short { font-size: 18px; padding-top: 18px; }
.cover .work__play { inset: 0; margin: auto; z-index: 4; width: 58px; height: 58px; }
.grid .cover::after { display: block; clip-path: none; inset: 0; border: 0; }
.scatter .cover::after { border-radius: 12px; }

/* السينمائي: شريط أفقي */
.strip { margin-top: 14vh; min-height: 100svh; display: flex; flex-direction: column; justify-content: center; gap: 36px; overflow: hidden; }
.strip__head { display: flex; justify-content: space-between; align-items: baseline; padding: 0 var(--gutter); }
.strip__head h3, .act__grid-title { font-family: var(--display); font-weight: 500; font-size: clamp(24px, 2.6vw, 36px); }
.strip__head p { font-size: 14px; color: var(--muted); }
.strip__track { display: flex; gap: 28px; padding: 0 var(--gutter); width: max-content; will-change: transform; }
.strip__track .work { width: min(56vw, 820px); flex: none; }
.strip__track .work__frame { aspect-ratio: 2.39 / 1; }

/* العمل العمودي داخل الشريط: بطاقة ضيقة بنفس ارتفاع البقية */
.strip__track { align-items: flex-start; }
.strip__track .work--tall { width: calc(min(56vw, 820px) * 0.2354); }
.strip__track .work--tall .work__frame { aspect-ratio: 9 / 16; }
.strip__track .work--tall .work__frame > img:not(.work__bg), .strip__track .work--tall .work__frame > video { object-fit: cover; }
.strip__track .work--tall .work__bg { display: none; }
.strip__track .work--tall .work__meta { flex-direction: column; gap: 2px; }

/* الموشن: شبكة هندسية */
.grid { margin-top: 14vh; padding: 0 var(--gutter); display: grid; grid-template-columns: repeat(3, 1fr); gap: 44px 26px; }
.grid .work__frame {
  --c: 22px;
  clip-path: polygon(var(--c) 0, 100% 0, 100% calc(100% - var(--c)), calc(100% - var(--c)) 100%, 0 100%, 0 var(--c));
}
.grid .work__frame::after { display: none; }
.grid .work:hover .work__meta h4 { color: var(--gold); }
.grid .work__meta h4 { transition: color 0.2s; }

/* الأنميشن: بطاقات مائلة */
.scatter { margin-top: 14vh; padding: 0 var(--gutter); display: grid; grid-template-columns: repeat(3, 1fr); gap: 64px 34px; }
.scatter .work__frame { border-radius: 22px; }
.scatter .work__frame::after { border-radius: 22px; }
.scatter .work { transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1); }
.scatter .work:nth-child(3n + 1) { transform: rotate(-2deg); }
.scatter .work:nth-child(3n + 2) { transform: translateY(46px) rotate(1.4deg); }
.scatter .work:nth-child(3n) { transform: rotate(-0.8deg) translateY(14px); }
.scatter .work:hover { transform: rotate(0) translateY(-6px) !important; }

/* ===== مراسم التتويج ===== */
.rite { display: grid; grid-template-columns: 1fr 1fr; padding: 10vh var(--gutter) 0; gap: 6vw; border-top: 1px solid var(--hair); }
.rite__stage { position: sticky; top: 0; height: 100svh; display: grid; place-items: center; }
.rite__logo { width: min(340px, 72%); }
.rite__head { min-height: 62vh; display: flex; flex-direction: column; justify-content: center; }
.rite__head h2 { font-family: var(--display); font-weight: 500; font-size: clamp(34px, 4.4vw, 60px); line-height: 1.25; }
.rite__head p { color: var(--muted); max-width: 26em; margin-top: 14px; font-size: 18px; }
.step { min-height: 62vh; display: flex; flex-direction: column; justify-content: center; border-top: 1px solid var(--hair); transition: opacity 0.4s; }
.js .step { opacity: 0.3; }
.js .step.is-on { opacity: 1; }
.step__no { font-family: var(--mono); font-size: 14px; color: var(--gold); align-self: flex-start; }
.step h3 { font-family: var(--display); font-weight: 500; font-size: clamp(30px, 3.4vw, 46px); line-height: 1.3; margin-top: 6px; }
.step p { color: var(--muted); font-size: 18px; max-width: 24em; margin-top: 10px; }

/* ===== التترات ===== */
.credits { padding: 0 var(--gutter) 16vh; }
.credits__head { min-height: 100svh; display: flex; flex-direction: column; align-items: center; justify-content: flex-end; text-align: center; padding-bottom: 12vh; }
.credits__pre { font-size: 15px; color: var(--gold); }
.credits__head h2 { font-family: var(--display); font-weight: 500; font-size: clamp(52px, 9vw, 136px); line-height: 1.2; }
.credits__head p:last-child { color: var(--muted); max-width: 28em; margin-top: 12px; font-size: 18px; }
.credits__body { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(32px, 6vw, 96px); align-items: start; max-width: 1180px; margin-inline: auto; }

.brief { display: grid; gap: 34px; }
.field { display: grid; gap: 10px; border: 0; padding: 0; margin: 0; min-width: 0; }
.field > span, .field legend { font-size: 14px; color: var(--muted); padding: 0; margin-bottom: 2px; }
.field small { color: var(--faint); font-size: 13px; }
.field input[type="text"], .field textarea {
  width: 100%; background: transparent; border: 0; border-bottom: 1px solid var(--hair); border-radius: 0;
  color: var(--ink); font-family: var(--display); font-size: 24px; padding: 8px 0 12px; resize: none; transition: border-color 0.2s;
}
.field textarea { font-family: var(--body); font-size: 17px; line-height: 1.7; }
.field input::placeholder, .field textarea::placeholder { color: var(--faint); }
.field input:focus, .field textarea:focus { outline: none; border-bottom-color: var(--gold); }
.field__err { font-style: normal; font-size: 14px; color: #ff9d7a; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chips label { position: relative; cursor: pointer; }
.chips input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.chips span {
  display: inline-flex; align-items: center; height: 42px; padding: 0 18px; border: 1px solid var(--hair); border-radius: 4px;
  font-size: 15px; color: var(--muted); transition: border-color 0.2s, color 0.2s, background 0.2s;
}
.chips label:hover span { border-color: var(--faint); color: var(--ink); }
.chips input:checked + span { border-color: var(--gold); color: var(--gold); background: rgba(255, 211, 78, 0.07); }
.chips input:focus-visible + span { outline: 2px solid var(--gold); outline-offset: 3px; }
.brief .btn { justify-self: start; }
.brief__note { font-size: 14px; color: var(--faint); margin-top: -18px; }

.roll { position: sticky; top: 110px; border: 1px solid var(--hair); background: rgba(9, 9, 9, 0.72); padding: clamp(36px, 5vw, 64px) 28px; text-align: center; overflow: hidden; }
.roll__k { font-size: 13px; color: var(--muted); margin-top: 30px; }
.roll__k:first-child { margin-top: 0; }
.roll__v { font-family: var(--display); font-size: 26px; line-height: 1.4; overflow-wrap: anywhere; }
.roll__v--star { font-size: clamp(34px, 4vw, 54px); color: var(--gold); font-weight: 500; line-height: 1.3; }

/* ===== النهاية ===== */
.end { position: relative; z-index: 2; text-align: center; padding: 14vh var(--gutter) 120px; border-top: 1px solid var(--hair); }
.end__word { font-family: var(--display); font-weight: 600; font-size: clamp(72px, 13vw, 200px); line-height: 1.3; color: var(--bg); -webkit-text-stroke: 2px var(--gold); paint-order: stroke fill; }
.end__sub { font-family: var(--display); font-size: clamp(20px, 2.2vw, 30px); }
.end__links { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px 40px; margin-top: 44px; font-family: var(--mono); font-size: 15px; }
.end__links a { border-bottom: 1px solid var(--hair); padding-bottom: 4px; transition: color 0.2s, border-color 0.2s; }
.end__links a:hover { color: var(--gold); border-color: var(--gold); }
.end__copy { font-size: 13px; color: var(--faint); margin-top: 56px; }

/* زر واتساب العائم */
.wa {
  position: fixed; left: 22px; bottom: 22px; z-index: 45; display: inline-flex; align-items: center; gap: 9px;
  height: 46px; padding: 0 18px 0 16px; border-radius: 4px; background: rgba(17, 17, 16, 0.92); border: 1px solid var(--hair);
  font-size: 14px; transition: border-color 0.2s, transform 0.5s var(--ease), opacity 0.3s;
}
.wa svg { width: 19px; height: 19px; fill: var(--gold); }
.wa:hover { border-color: var(--gold); }
.js .wa { transform: translateY(90px); opacity: 0; }
.js .wa.is-on { transform: none; opacity: 1; }

/* ===== نافذة العرض ===== */
.box { border: 0; padding: 0; margin: 0; width: 100vw; height: 100dvh; max-width: none; max-height: none; background: rgba(5, 5, 5, 0.97); color: var(--ink); }
.box[open] { display: flex; flex-direction: column; justify-content: center; gap: 22px; padding: 76px var(--gutter) 36px; overflow-y: auto; }
.box::backdrop { background: #000; }
.box__close { position: absolute; top: 20px; inset-inline-end: var(--gutter); width: 44px; height: 44px; border: 1px solid var(--hair); border-radius: 50%; font-size: 15px; transition: border-color 0.2s, color 0.2s; }
.box__close:hover { border-color: var(--gold); color: var(--gold); }
.box__media { position: relative; width: min(1180px, 100%); max-height: 58dvh; aspect-ratio: 16 / 9; margin-inline: auto; background: var(--bg-2); overflow: hidden; }
.box__media > * { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; }
.box__media > svg { object-fit: cover; }
.box__soon { display: grid; place-items: center; text-align: center; background: rgba(9, 9, 9, 0.55); font-family: var(--display); font-size: clamp(18px, 2.2vw, 28px); padding: 20px; }
.box__bar { width: min(1180px, 100%); margin-inline: auto; display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; }
.box__title { font-family: var(--display); font-weight: 500; font-size: clamp(22px, 2.6vw, 34px); line-height: 1.3; }
.box__kind { color: var(--gold); font-size: 14px; }
.box__desc { color: var(--muted); font-size: 16px; line-height: 1.75; max-width: 44em; margin-top: 8px; }
.box__bar > div { flex: 1 1 320px; }

/* ===== الجوال ===== */
@media (max-width: 900px) {
  body { font-size: 16px; }
  .hud { grid-template-columns: 1fr auto; height: 62px; }
  .hud__nav { display: none; }
  .hud__act { display: none; }
  .grid, .scatter { grid-template-columns: repeat(2, 1fr); }
  .scatter .work:nth-child(n) { transform: none; }
  .scatter .work:nth-child(odd) { transform: rotate(-1.2deg); }
  .scatter .work:nth-child(even) { transform: translateY(26px) rotate(1deg); }
  .strip { min-height: 0; overflow: visible; }
  .strip__track { width: auto; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding-bottom: 6px; }
  .strip__track::-webkit-scrollbar { display: none; }
  .strip__track .work { width: 80vw; scroll-snap-align: center; }
  .strip__track .work--tall { width: 46vw; }
  .rite { grid-template-columns: 1fr; gap: 0; }
  .rite__stage { height: 34svh; z-index: 3; background: linear-gradient(var(--bg) 78%, transparent); }
  .rite__logo { width: 120px; }
  .rite__head, .step { min-height: 52vh; }
  .credits__body { grid-template-columns: 1fr; }
  .roll { position: static; order: -1; }
  .wa span { display: none; }
  .wa { padding: 0; width: 48px; justify-content: center; left: 16px; bottom: 16px; }
}
@media (max-width: 560px) {
  .grid, .scatter { grid-template-columns: 1fr; gap: 36px; }
  .scatter .work:nth-child(n) { transform: none; }
  .act__word { -webkit-text-stroke-width: 1.5px; }
  .jewel__name { font-size: 12px; }
  .box[open] { padding: 72px 16px 24px; }
  .feature .work--tall .work__frame { aspect-ratio: 4 / 5; }
  .box__cta { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  .hero__cue i { animation: none; }
  .js .manifesto__text .w { opacity: 1; }
  .js .gate__path { stroke-dashoffset: 0; }
  .js .step { opacity: 1; }
  .js .loader { display: none; }
  * { transition-duration: 0.01ms !important; }
}

/* حقل الموعد الذي يكتبه الزائر */
.field .field__when { font-family: var(--body); font-size: 18px; margin-top: 4px; }
