/* =================================================================
   النسخة الإنجليزي (/en) — 2026-11-14
   نفس الهوية بالظبط (نفس الألوان والمكوّنات والخط Alexandria اللي فيه لاتيني)،
   والفرق: اتجاه شمال لليمين، والعناوين نص حقيقي بستايل «الستيكر» بدل الصور العربي.
   بيتحمّل بعد site/home/v2/pages فقط في صفحات /en.
   ================================================================= */
html[lang="en"] {
  --f-body: 'IBM Plex Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --f-display: 'Alexandria', 'IBM Plex Sans', sans-serif;
}
html[lang="en"] body { font-family: var(--f-body); letter-spacing: 0; }
html[lang="en"] :is(h1, h2, h3, .sec__title, .psec__title, .phead__title, .thero__title, .whero__title, .agsec__t) { letter-spacing: -.01em; }
html[lang="en"] p, html[lang="en"] li { hyphens: manual; }

/* ---------- العلامة: الاسم نص، والتوقيع «الأفندي» بالرقعة زي ما هو ---------- */
html[lang="en"] .snav__brand { direction: ltr; display: inline-flex; flex-direction: column; align-items: flex-end; }
html[lang="en"] .snav__brand .snav__name { font-size: 1.02rem !important; width: auto; height: auto; background: none; display: inline; font-family: var(--f-display); font-weight: 800; letter-spacing: -.01em; white-space: nowrap; }
/* التوقيع «Afandy» (المؤسس 2026-11-14): نفس روح ختم «الأفندي» — برتقالي بحدّ أبيض ومايل — بخط فرشاة لاتيني */
html[lang="en"] { --f-sig-en: 'Kaushan Script', cursive; }
html[lang="en"] .snav__brand .snav__sig { font-size: 1.12rem !important; width: auto; height: auto; background: none; display: block; margin: -2px -22px 0 0; font-family: var(--f-sig-en); font-weight: 400; line-height: 1; color: var(--or); paint-order: stroke fill; -webkit-text-stroke: .16em #fff; transform: rotate(-6deg); filter: drop-shadow(0 2px 3px rgba(31,26,22,.25)); }


/* الفوتر */
.sfoot__brand--en { position: relative; display: inline-block; text-decoration: none; margin-bottom: 1.6rem; }
.sfoot__en { font-family: var(--f-display); font-weight: 800; font-size: clamp(1.5rem, 3.6vw, 2.1rem); color: var(--ink); paint-order: stroke fill; -webkit-text-stroke: .1em #fff; filter: drop-shadow(0 2px 0 rgba(31,26,22,.08)) drop-shadow(0 6px 10px rgba(31,26,22,.12)); line-height: 1.1; }
.sfoot__brand--en .sfoot__sig--en { position: absolute; left: auto; right: -2%; bottom: -62%; width: auto; font-family: var(--f-sig-en); font-size: clamp(1.6rem, 3.4vw, 2.1rem); line-height: 1; color: var(--or); paint-order: stroke fill; -webkit-text-stroke: .16em #fff; transform: rotate(-8deg); filter: drop-shadow(0 6px 10px rgba(31,26,22,.2)); }

/* ---------- عناوين الستيكر (نص حقيقي) ---------- */
.st { margin: 0; font-family: var(--f-display); font-weight: 800; line-height: 1.12; color: var(--ink); paint-order: stroke fill; -webkit-text-stroke: .13em #fff; filter: drop-shadow(0 2px 0 rgba(31,26,22,.10)) drop-shadow(0 10px 14px rgba(31,26,22,.14)); text-wrap: balance; }
.st em { font-style: normal; color: var(--or); }
.sec__title.st { font-size: clamp(2.1rem, 4.6vw, 3.4rem); }
.hero .st { font-size: clamp(2.1rem, 4.8vw, 3.9rem); line-height: 1.06; -webkit-text-stroke: .12em #fff; filter: drop-shadow(0 10px 24px rgba(0,0,0,.35)); }
.hero .st em { color: var(--or); }
.hero .hero__line.st { text-shadow: none; color: var(--ink); -webkit-text-stroke: .14em #fff; paint-order: stroke fill; filter: drop-shadow(0 8px 18px rgba(0,0,0,.4)); }
.prow__title.st { font-size: clamp(1.7rem, 3.4vw, 2.4rem); }
.about__title.st, .prof__title.st { font-size: clamp(2rem, 4.2vw, 3rem); }
.kick--txt span { transform: rotate(-2deg); }
html[lang="en"] .sec__kicker.kick--txt { line-height: 1.2; }

/* ---------- الاتجاه: الحاجات اللي كانت بأسهم أو left/right ثابتة ---------- */
html[lang="en"] .phead__title, html[lang="en"] .thero__title, html[lang="en"] .whero__title { line-height: 1.12; }
html[lang="en"] .lockup__stamp { left: auto; right: -7%; transform: rotate(8deg); }
html[lang="en"] .about__p, html[lang="en"] .prof__text, html[lang="en"] .agsec__d, html[lang="en"] .sec__lead, html[lang="en"] .psec__lead { line-height: 1.7; }
html[lang="en"] .quote p { font-style: normal; }
.en-note { display: inline-flex; align-items: center; gap: .4rem; margin: .6rem 0 0; font-size: .85rem; font-weight: 600; color: var(--ink-soft); }
.en-note::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--or); }

/* الهيرو الإنجليزي: السطر الفرعي أقصر */
html[lang="en"] .hero__ans { font-family: var(--f-display); font-size: clamp(1.15rem, 2.2vw, 1.6rem); background: none; display: block; padding: 0; }
html[lang="en"] .hero__ans span { background: linear-gradient(transparent 62%, rgba(229,128,42,.85) 62%, rgba(229,128,42,.85) 92%, transparent 92%); padding-inline: .3em; -webkit-box-decoration-break: clone; box-decoration-break: clone; }
html[lang="en"] .hero__sub { max-width: 36rem; margin-inline: auto; }

/* فيديو المحاضرة (بدل التلفزيون) */
.envid { max-width: 980px; margin: 0 auto; }
.envid video { display: block; width: 100%; height: auto; border-radius: 18px; background: #000; box-shadow: 0 30px 60px -30px rgba(31,26,22,.55); }
.envid figcaption { margin-top: .7rem; font-size: .9rem; color: var(--ink-soft); text-align: center; }

/* أعمال (الصفحة الإنجليزي المختصرة) */
.enw { display: grid; gap: 1.2rem; grid-template-columns: repeat(auto-fill, minmax(min(100%, 230px), 1fr)); }
.enw__i { margin: 0; background: var(--white, #fff); border: 1px solid var(--line); border-radius: 18px; overflow: hidden; box-shadow: 0 14px 30px -24px rgba(31,26,22,.5); }
.enw__i video { display: block; width: 100%; height: auto; background: #111; }
.enw__i figcaption { padding: .8rem 1rem 1rem; }
.enw__i b { display: block; font-family: var(--f-display); font-size: 1.02rem; color: var(--ink); }
.enw__i span { display: block; margin-top: .2rem; font-size: .88rem; color: var(--ink-soft); line-height: 1.5; }
.enw--wide { grid-template-columns: repeat(auto-fill, minmax(min(100%, 380px), 1fr)); }
.enwith { display: flex; flex-wrap: wrap; justify-content: center; gap: .5rem .6rem; margin: 0; padding: 0; list-style: none; }
.enwith li { padding: .45rem .9rem; border-radius: 999px; background: var(--white, #fff); border: 1px solid var(--line); font-family: var(--f-display); font-weight: 600; font-size: .92rem; color: var(--ink); }
.ensites { display: grid; gap: 1.2rem; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); }
.ensite { display: block; text-decoration: none; color: inherit; background: var(--white, #fff); border: 1px solid var(--line); border-radius: 18px; overflow: hidden; transition: transform .25s ease, box-shadow .25s ease; }
.ensite:hover { transform: translateY(-3px); box-shadow: 0 20px 40px -26px rgba(31,26,22,.55); }
.ensite img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; object-position: top; }
.ensite span { display: block; padding: .8rem 1rem; font-family: var(--f-display); font-weight: 700; color: var(--ink); }
.ensite small { display: block; font-family: var(--f-body); font-weight: 500; color: var(--ink-soft); font-size: .85rem; margin-top: .15rem; }

/* أدوار */
.enroles { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); }
.enrole { margin: 0; padding: 1.2rem 1.25rem; background: var(--white, #fff); border: 1px solid var(--line); border-radius: 18px; }
.enrole__w { font-size: .82rem; font-weight: 700; color: var(--or-deep); text-transform: uppercase; letter-spacing: .04em; }
.enrole h3 { margin: .35rem 0 .15rem; font-family: var(--f-display); font-size: 1.12rem; line-height: 1.35; color: var(--ink); }
.enrole__o { margin: 0 0 .5rem; font-weight: 600; color: var(--ink); font-size: .95rem; }
.enrole p:last-child { margin: 0; color: var(--ink-soft); font-size: .94rem; line-height: 1.6; }

/* الخصوصية والشروط */
.enlegal { max-width: 46rem; margin: 0 auto; }
.enlegal h2 { font-family: var(--f-display); font-size: 1.25rem; margin: 2rem 0 .5rem; color: var(--ink); }
.enlegal p, .enlegal li { color: var(--ink-soft); line-height: 1.75; }
html[lang="en"] .hero__inner { max-width: 52rem; }
html[lang="en"] .hero__ans { text-wrap: balance; }
.pcard2 h3 a { color: inherit; text-decoration: none; }
.pcard2 h3 a:hover { color: var(--or-deep); }
/* الترجمة الإنجليزي على الفيديوهات العربي */
video::cue { font-family: 'IBM Plex Sans', system-ui, sans-serif; font-size: 1em; line-height: 1.35; color: #fff; background: rgba(20, 14, 10, .78); }
.preel video::cue, .enw__i video::cue { font-size: 15px; }
.about__clip video::cue { font-size: 14px; }
/* الموبايل: فيديوهات العلامات والأفلام اتنين جنب بعض بدل ما كل واحد ياخد شاشة (المؤسس 2026-11-14: «في بوكينج… ما شفتوش») */
@media (max-width: 600px) {
  .enw:not(.enw--wide) { grid-template-columns: 1fr 1fr; gap: .7rem; }
  .enw:not(.enw--wide) .enw__i figcaption { padding: .55rem .65rem .7rem; }
  .enw:not(.enw--wide) .enw__i b { font-size: .9rem; }
  .enw:not(.enw--wide) .enw__i span { font-size: .78rem; line-height: 1.4; }
  .enw:not(.enw--wide) video::cue { font-size: 11px; }
}
/* المقالات الإنجليزي: رابط النسخة العربي تحت الكاتب */
.ax-lang { margin: .8rem 0 0; }
.ax-lang a { font-family: 'IBM Plex Sans Arabic', 'Geeza Pro', 'Segoe UI', sans-serif; font-weight: 600; font-size: .95rem; color: var(--or-deep); text-decoration: none; border-bottom: 1px solid currentColor; }
/* المقالات الإنجليزي: أرقام لاتيني، وفاصل مسار الصفحة باتجاه الشمال لليمين، وعلامة الاقتباس */
html[lang="en"] .ax-crumbs li + li::before { content: '\203A'; }
html[lang="en"] .ax-toc li a::before { content: counter(toc); }
html[lang="en"] .ax-body ol > li::before { content: counter(ol); }
html[lang="en"] .ax-body ul.art-sources > li::before { content: counter(src); }
html[lang="en"] .ax-body blockquote::before { content: '“'; }
html[lang="en"] .ax-body { hyphens: manual; }
