/* ============================================================
   Huthayfa Abbas · ha.bigalc.com · v4 (cinematic WOW)
   Fonts: Cairo Black (AR display), Anton (EN display),
          Bodoni Moda (EN serif italic), Tajawal/Inter (body)
   ============================================================ */

:root {
  --bg:           #000;
  --bg-soft:      #0a0a0a;
  --line:         #1a1a1a;
  --text:         #f3efe6;
  --text-soft:    #a8a39a;
  --text-mute:    #5d574d;
  --gold:         #c9a961;
  --gold-hi:      #f0d5a0;
  --gold-deep:    #6e5828;
  --max:          1280px;
  --pad:          clamp(20px, 4vw, 64px);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; background: var(--bg); }
body {
  background: var(--bg);
  color: var(--text);
  font-family: "Tajawal", -apple-system, system-ui, sans-serif;
  font-weight: 400; line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
html[lang="en"] body { font-family: "Inter", -apple-system, system-ui, sans-serif; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ol, ul { list-style: none; }
button { font-family: inherit; }

.container { max-width: var(--max); margin: 0 auto; padding: 0 var(--pad); width: 100%; }

[data-en-only] { display: none; }
html[lang="en"] [data-ar-only] { display: none; }
html[lang="en"] [data-en-only] { display: inline; }

::selection { background: var(--gold); color: #000; }

/* ============ NAV ============ */
.nav {
  position: fixed; top: 0; inset-inline: 0; z-index: 50;
  display: flex; justify-content: space-between; align-items: center;
  padding: 22px var(--pad);
  pointer-events: none;
}
.nav > * { pointer-events: auto; }
.nav-mark {
  font: 800 13px/1 "Inter", monospace;
  letter-spacing: 0.08em;
  color: #fff;
  padding: 10px 14px;
  border: 1px solid rgba(255,255,255,.4);
  border-radius: 999px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  background: rgba(0,0,0,.25);
  transition: all .25s ease;
}
html[lang="ar"] .nav-mark { font-family: "Cairo", sans-serif; font-weight: 900; }
.nav-mark:hover { background: #fff; color: #000; border-color: #fff; }
.lang-toggle {
  background: rgba(0,0,0,.25); border: 1px solid rgba(255,255,255,.4);
  color: #fff; padding: 10px 16px; border-radius: 999px;
  font: 600 11px/1 "Inter", monospace; letter-spacing: 0.18em;
  cursor: pointer; transition: all .25s ease;
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
}
.lang-toggle:hover { background: #fff; color: #000; border-color: #fff; }

/* ============ BUTTONS ============ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  padding: 16px 30px;
  border-radius: 999px;
  font: 600 14px/1 "Inter", sans-serif;
  letter-spacing: 0.02em;
  cursor: pointer; border: 1px solid transparent;
  transition: all .3s cubic-bezier(.2,.8,.2,1);
  text-align: center; white-space: nowrap;
}
html[lang="ar"] .btn { font-family: "Cairo", sans-serif; font-weight: 700; font-size: 15px; }
.btn-gold {
  background: linear-gradient(180deg, var(--gold-hi) 0%, var(--gold) 100%);
  color: #000;
  box-shadow: 0 12px 40px -10px rgba(201,169,97,.55);
}
.btn-gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 20px 60px -10px rgba(201,169,97,.75);
}
.btn-ghost {
  background: rgba(255,255,255,.04); border-color: rgba(255,255,255,.2); color: #fff;
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
}
.btn-ghost:hover { border-color: var(--gold); color: var(--gold-hi); }
.btn-xl { padding: 22px 44px; font-size: 16px; }
.btn-full { width: 100%; }

/* ============ CINEMATIC SCREEN BASE ============ */
.cine {
  position: relative;
  min-height: 100vh; min-height: 100svh;
  display: flex; align-items: stretch;
  overflow: hidden;
  isolation: isolate;
}
.cine + .cine { border-top: 1px solid var(--line); }

.cine-img {
  position: absolute; inset: 0; z-index: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 18%;
  filter: contrast(1.05) saturate(.95);
  animation: kenBurns 18s ease-out infinite alternate;
}
.cine-hero .cine-img { object-position: center 14%; }
.cine-on-stage .cine-img { object-position: center 22%; }
.cine-screens .cine-img { object-position: center 38%; }
.cine-quote .cine-img { object-position: center 12%; }
@keyframes kenBurns {
  from { transform: scale(1.02); }
  to   { transform: scale(1.08); }
}

.cine-veil {
  position: absolute; inset: 0; z-index: 1;
  background:
    linear-gradient(180deg, rgba(0,0,0,.55) 0%, rgba(0,0,0,.1) 30%, rgba(0,0,0,.2) 50%, rgba(0,0,0,.92) 100%);
}
.cine-veil-heavy {
  background:
    linear-gradient(180deg, rgba(0,0,0,.75) 0%, rgba(0,0,0,.55) 40%, rgba(0,0,0,.9) 100%);
}

.cine-content {
  position: relative; z-index: 2;
  width: 100%;
  display: flex; flex-direction: column;
  justify-content: flex-end;
  padding: 100px 0 clamp(48px, 8vh, 96px);
  gap: 24px;
}
.cine-content-bottom { justify-content: flex-end; }
.cine-content-center { justify-content: center; padding: 100px 0; }

/* ============ EYEBROW ============ */
.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font: 700 11px/1 "Inter", monospace;
  letter-spacing: 0.32em; text-transform: uppercase;
  color: var(--gold-hi);
  align-self: flex-start;
  padding: 10px 16px;
  border: 1px solid rgba(240,213,160,.35);
  border-radius: 999px;
  background: rgba(201,169,97,.08);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
html[lang="ar"] .eyebrow { font-family: "Cairo", sans-serif; font-weight: 700; letter-spacing: 0.16em; font-size: 12px; }
.eyebrow-dot {
  width: 7px; height: 7px;
  background: #4ade80; border-radius: 50%;
  box-shadow: 0 0 12px #4ade80;
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: .35; } }

/* ============ DISPLAY NAME ============ */
.display-name {
  font-family: "Anton", "Cairo", sans-serif;
  font-size: clamp(80px, 14vw, 220px);
  line-height: 0.92;
  font-weight: 400;
  letter-spacing: -0.02em;
  color: #fff;
  text-transform: uppercase;
}
html[lang="en"] .display-name { font-family: "Anton", sans-serif; }
html[lang="ar"] .display-name {
  font-family: "Cairo", sans-serif; font-weight: 900;
  font-size: clamp(62px, 10vw, 160px);
  line-height: 1.05;
  letter-spacing: -0.01em;
  text-transform: none;
}
.display-name .line { display: block; }
.display-name .line-em {
  color: var(--gold-hi);
  margin-inline-start: clamp(20px, 4vw, 80px);
}
html[lang="ar"] .display-name .line-em { margin-inline-start: clamp(40px, 8vw, 140px); }

/* ============ HERO SUB + CTAs ============ */
.hero-sub {
  font-size: clamp(15px, 1.4vw, 19px);
  color: #cdc8be;
  line-height: 1.7;
  max-width: 40ch;
  margin-top: 8px;
}
html[lang="en"] .hero-sub { font-family: "Bodoni Moda", serif; font-style: italic; font-size: clamp(17px, 1.6vw, 22px); font-weight: 400; }

.hero-ctas {
  display: flex; gap: 12px; flex-wrap: wrap;
  margin-top: 12px;
}

/* ============ SCROLL CUE ============ */
.cine-scroll {
  position: absolute; z-index: 3;
  inset-block-end: 24px; inset-inline-end: var(--pad);
  display: flex; align-items: center; flex-direction: column; gap: 12px;
  font: 600 10px/1 "Inter", monospace;
  letter-spacing: 0.32em; text-transform: uppercase;
  color: rgba(255,255,255,.6);
  writing-mode: vertical-lr;
}
html[lang="ar"] .cine-scroll { font-family: "Cairo", sans-serif; letter-spacing: 0.18em; }
.cine-scroll-line {
  width: 1px; height: 56px;
  background: linear-gradient(180deg, rgba(255,255,255,.6) 0%, transparent 100%);
  animation: scrollPulse 2.2s ease-in-out infinite;
}
@keyframes scrollPulse {
  0%, 100% { transform: scaleY(1); opacity: 1; }
  50%      { transform: scaleY(1.4); opacity: .35; }
}
@media (max-width: 600px) { .cine-scroll { display: none; } }

/* ============ S2 · NUMBER + PHOTO ============ */
.cine-number .cine-img { object-position: center 30%; filter: contrast(1.05) saturate(.9) brightness(.65); }
.number-stack {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: clamp(32px, 6vw, 96px);
  align-items: end;
}
.big-num {
  font-family: "Anton", "Bodoni Moda", serif;
  font-weight: 400;
  font-size: clamp(180px, 32vw, 520px);
  line-height: 0.8;
  color: transparent;
  -webkit-text-stroke: 1.5px var(--gold-hi);
  letter-spacing: -0.05em;
}
.big-num em {
  font-style: normal;
  -webkit-text-stroke: 0;
  color: var(--gold);
  font-size: 0.4em;
  vertical-align: top;
  margin-inline-start: 6px;
}
.number-meta {
  display: flex; flex-direction: column; gap: 18px;
  padding-block-end: clamp(40px, 8vh, 100px);
}
.meta-rule { width: 80px; height: 1px; background: var(--gold); }
.meta-line {
  font-family: "Tajawal", sans-serif;
  font-size: clamp(17px, 1.6vw, 22px);
  font-weight: 500; color: #fff;
  line-height: 1.4;
  max-width: 28ch;
}
html[lang="en"] .meta-line { font-family: "Inter", sans-serif; }
.meta-line-soft { color: var(--text-soft); font-weight: 400; font-size: clamp(13px, 1.1vw, 15px); letter-spacing: 0.02em; }

@media (max-width: 800px) {
  .number-stack { grid-template-columns: 1fr; gap: 12px; }
  .number-meta { padding-block-end: 0; }
}

/* ============ S3, S5, S7, S9, S10 · TEXT SCREENS ============ */
.cine-text { background: var(--bg); }
.cine-text-light { background: var(--bg-soft); }
.cine-text .container {
  display: flex; flex-direction: column; justify-content: center;
  padding-block: 100px;
  width: 100%;
}

.display-statement {
  font-family: "Bodoni Moda", "Tajawal", serif;
  font-size: clamp(40px, 6.5vw, 96px);
  line-height: 1.1;
  font-weight: 400;
  letter-spacing: -0.02em;
  color: var(--text);
  max-width: 22ch;
}
html[lang="ar"] .display-statement {
  font-family: "Cairo", "Tajawal", sans-serif;
  font-weight: 700;
  font-size: clamp(34px, 5vw, 72px);
  line-height: 1.3;
  letter-spacing: -0.01em;
  max-width: 24ch;
}
.display-statement em {
  font-style: italic;
  color: var(--gold-hi);
  font-family: "Bodoni Moda", serif;
  font-weight: 700;
}
html[lang="ar"] .display-statement em {
  font-family: "Cairo", serif; font-style: normal; font-weight: 900; color: var(--gold-hi);
}
.display-sig {
  margin-top: clamp(28px, 4vh, 56px);
  font: 500 12px/1 "Inter", monospace;
  letter-spacing: 0.32em; text-transform: uppercase;
  color: var(--gold);
}
html[lang="ar"] .display-sig { font-family: "Cairo", sans-serif; letter-spacing: 0.18em; font-size: 13px; }

/* ============ CINE HEADLINE (large) ============ */
.cine-num {
  display: block;
  font: 500 12px/1 "Inter", monospace;
  letter-spacing: 0.32em;
  color: var(--gold);
  margin-bottom: 18px;
}
html[lang="ar"] .cine-num { font-family: "Cairo", sans-serif; letter-spacing: 0.12em; font-size: 13px; }

.cine-headline {
  font-family: "Anton", "Cairo", sans-serif;
  font-size: clamp(72px, 12vw, 200px);
  line-height: 0.9;
  font-weight: 400;
  letter-spacing: -0.02em;
  color: #fff;
  text-transform: uppercase;
  margin: 0;
}
html[lang="en"] .cine-headline { font-family: "Anton", sans-serif; }
html[lang="ar"] .cine-headline {
  font-family: "Cairo", sans-serif; font-weight: 900;
  font-size: clamp(54px, 9vw, 140px);
  line-height: 1.05; text-transform: none;
  letter-spacing: -0.01em;
}
.cine-headline em {
  color: var(--gold-hi);
  font-style: italic;
  font-family: "Bodoni Moda", serif;
  font-weight: 700;
}
html[lang="ar"] .cine-headline em { font-family: "Cairo", serif; font-style: normal; font-weight: 900; }
.cine-headline-small {
  font-size: clamp(40px, 6vw, 88px);
}
html[lang="ar"] .cine-headline-small { font-size: clamp(34px, 5vw, 72px); }
.cine-headline-center { text-align: center; max-width: 20ch; margin: 0 auto; }

.cine-lede {
  font-size: clamp(15px, 1.4vw, 20px);
  color: #cdc8be;
  line-height: 1.7;
  max-width: 50ch;
  margin-top: 14px;
}
html[lang="en"] .cine-lede { font-family: "Bodoni Moda", serif; font-style: italic; font-size: clamp(17px, 1.6vw, 23px); }

/* ============ EVENTS LIST ============ */
.events-container { max-width: 1080px; }
.events-head {
  margin-bottom: clamp(40px, 6vh, 80px);
  padding-bottom: 28px;
  border-bottom: 1px solid var(--line);
}
.events-list { padding: 0; margin: 0; }
.events-list li {
  display: grid;
  grid-template-columns: 100px 1fr auto;
  gap: clamp(20px, 4vw, 56px);
  align-items: baseline;
  padding: clamp(24px, 4vh, 40px) 0;
  border-bottom: 1px solid var(--line);
  transition: all .35s cubic-bezier(.2,.8,.2,1);
}
.events-list li:hover {
  padding-inline-start: 18px;
  border-bottom-color: var(--gold-deep);
}
.event-year {
  font-family: "Bodoni Moda", serif;
  font-style: italic;
  font-weight: 400;
  font-size: clamp(28px, 3.4vw, 42px);
  color: var(--gold-hi);
  letter-spacing: -0.02em;
}
.event-name {
  font-size: clamp(18px, 1.8vw, 24px);
  color: #fff;
  font-weight: 500;
  line-height: 1.25;
}
html[lang="ar"] .event-name { font-family: "Cairo", sans-serif; font-weight: 700; }
.event-place {
  font: 400 13px/1.4 "Inter", sans-serif;
  color: var(--text-soft);
  text-align: end;
  letter-spacing: 0.02em;
}
html[lang="ar"] .event-place { font-family: "Tajawal", sans-serif; font-size: 14px; }
@media (max-width: 700px) {
  .events-list li { grid-template-columns: 70px 1fr; gap: 14px; row-gap: 6px; padding: 22px 0; }
  .event-place { grid-column: 2; text-align: start; }
}

/* ============ CREDENTIALS ============ */
.creds-container { max-width: 1080px; }
.creds-rows {
  margin-top: clamp(40px, 6vh, 64px);
}
.cred-row {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: clamp(20px, 4vw, 56px);
  align-items: baseline;
  padding: clamp(20px, 3vh, 32px) 0;
  border-bottom: 1px solid var(--line);
}
.cred-row:first-child { border-top: 1px solid var(--line); }
.cred-key {
  font: 600 12px/1 "Inter", monospace;
  letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--text-mute);
}
html[lang="ar"] .cred-key { font-family: "Cairo", sans-serif; letter-spacing: 0.08em; font-size: 13px; }
.cred-val {
  font-family: "Bodoni Moda", serif;
  font-style: italic;
  font-size: clamp(17px, 1.7vw, 24px);
  color: #fff;
  font-weight: 400;
}
html[lang="ar"] .cred-val {
  font-family: "Tajawal", sans-serif;
  font-style: normal;
  font-weight: 500;
  font-size: clamp(16px, 1.5vw, 20px);
}
.cred-link {
  color: var(--gold-hi);
  border-bottom: 1px solid var(--gold-deep);
  padding-block-end: 2px;
}
.cred-link:hover { color: #fff; border-bottom-color: var(--gold-hi); }
@media (max-width: 800px) { .cred-row { grid-template-columns: 110px 1fr; gap: 18px; padding: 18px 0; } }

/* ============ QUOTE INTERLUDE ============ */
.cine-quote .cine-img { filter: contrast(1.0) saturate(.85) brightness(.55); object-position: center 18%; }
.cine-quote-text {
  font-family: "Bodoni Moda", "Cairo", serif;
  font-size: clamp(28px, 4.4vw, 60px);
  line-height: 1.25;
  font-weight: 400;
  font-style: italic;
  color: #fff;
  margin: 0;
  max-width: 26ch;
  letter-spacing: -0.01em;
}
html[lang="ar"] .cine-quote-text {
  font-family: "Cairo", "Tajawal", serif;
  font-style: normal;
  font-weight: 500;
  font-size: clamp(24px, 3.6vw, 50px);
  line-height: 1.45;
  max-width: 22ch;
}
.cine-quote-sig {
  display: block;
  margin-top: 28px;
  font: 600 12px/1 "Inter", monospace;
  letter-spacing: 0.32em; text-transform: uppercase;
  color: var(--gold-hi);
}
html[lang="ar"] .cine-quote-sig { font-family: "Cairo", sans-serif; letter-spacing: 0.18em; font-size: 13px; }

/* ============ TELEGRAM ============ */
.cine-tg {
  background:
    radial-gradient(ellipse 70% 50% at 50% 50%, rgba(34,158,217,.16) 0%, transparent 70%),
    var(--bg);
}
.tg-inner {
  display: flex; flex-direction: column; align-items: center;
  gap: 32px; text-align: center;
  max-width: 920px;
  width: 100%;
}
.tg-handle {
  font: 700 14px/1 "Inter", monospace;
  letter-spacing: 0.18em;
  color: var(--gold-hi);
  padding: 12px 20px;
  border: 1px solid var(--gold-deep);
  border-radius: 999px;
  background: rgba(201,169,97,.06);
}

/* ============ MENTORSHIP ============ */
.cine-mentor { background: var(--bg-soft); }
.mentor-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 100px);
  align-items: start;
}
.mentor-sub {
  font-size: clamp(15px, 1.3vw, 19px);
  color: var(--text-soft);
  line-height: 1.6;
  margin-top: 18px;
  max-width: 36ch;
}
html[lang="en"] .mentor-sub { font-family: "Bodoni Moda", serif; font-style: italic; }
.mentor-list {
  display: flex; flex-direction: column; gap: 14px;
  margin-top: 32px;
}
.mentor-list li {
  position: relative;
  padding-inline-start: 28px;
  font-size: 15px;
  color: #cdc8be;
}
.mentor-list li::before {
  content: ''; position: absolute;
  inset-inline-start: 0; top: 9px;
  width: 14px; height: 1px;
  background: var(--gold);
}

.mentor-form {
  background: rgba(255,255,255,.02);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: clamp(24px, 3.5vw, 36px);
}
.form-title {
  margin-bottom: 24px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
  font-family: "Bodoni Moda", "Cairo", serif;
  font-size: 22px;
  font-style: italic;
  font-weight: 400;
}
html[lang="ar"] .form-title { font-family: "Cairo", sans-serif; font-style: normal; font-weight: 700; }

.field { display: block; margin-bottom: 18px; }
.field > span {
  display: block;
  font: 600 10px/1 "Inter", monospace;
  letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--text-mute);
  margin-bottom: 10px;
}
html[lang="ar"] .field > span { font-family: "Cairo", sans-serif; letter-spacing: 0.08em; font-size: 12px; }
.field input, .field select, .field textarea {
  width: 100%;
  background: transparent;
  border: 0;
  border-bottom: 1px solid rgba(255,255,255,.18);
  color: #fff;
  padding: 12px 0;
  font: 400 16px/1.4 inherit;
  transition: border-color .25s ease;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-bottom-color: var(--gold); }
.field textarea { resize: vertical; min-height: 60px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.btn-spinner {
  width: 14px; height: 14px;
  border: 2px solid rgba(0,0,0,.3); border-top-color: #000;
  border-radius: 50%;
  animation: spin .8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
.mentor-msg { margin-top: 16px; padding: 12px 16px; border-radius: 8px; font-size: 13px; }
.mentor-msg.ok  { background: rgba(74,222,128,.08); border: 1px solid rgba(74,222,128,.3); color: #86efac; }
.mentor-msg.err { background: rgba(248,113,113,.08); border: 1px solid rgba(248,113,113,.3); color: #fca5a5; }

@media (max-width: 880px) { .mentor-grid { grid-template-columns: 1fr; gap: 40px; } }
@media (max-width: 480px) { .field-row { grid-template-columns: 1fr; } }

/* ============ FOOTER ============ */
.footer {
  background: var(--bg);
  border-top: 1px solid var(--line);
  padding: 56px 0 32px;
}
.footer-inner { display: grid; gap: 32px; }
.footer-name {
  font-family: "Anton", "Cairo", sans-serif;
  font-size: clamp(36px, 4vw, 56px);
  letter-spacing: -0.01em;
  font-weight: 400;
  color: #fff;
  text-transform: uppercase;
  line-height: 1;
}
html[lang="ar"] .footer-name { font-family: "Cairo", sans-serif; font-weight: 900; text-transform: none; }

.footer-links { display: flex; gap: 28px; flex-wrap: wrap; }
.footer-links a {
  font: 600 12px/1 "Inter", monospace;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--text-soft);
  padding-block: 4px;
  border-bottom: 1px solid transparent;
  transition: all .25s ease;
}
.footer-links a:hover { color: var(--gold-hi); border-bottom-color: var(--gold-deep); }
.footer-disclaimer {
  font-size: 11px;
  color: var(--text-mute);
  line-height: 1.7;
  max-width: 80ch;
}
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center;
  gap: 16px; flex-wrap: wrap;
  padding-top: 28px;
  border-top: 1px solid var(--line);
  font: 600 11px/1 "Inter", monospace;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--text-mute);
}
.footer-bottom a { color: var(--text-soft); transition: color .2s ease; }
.footer-bottom a:hover { color: var(--gold-hi); }

/* ============ REVEAL ANIMATIONS (always visible, gentle fade-in only on hero) ============ */
.cine-hero .cine-content { animation: heroFade 1.4s cubic-bezier(.2,.8,.2,1) .3s both; }
@keyframes heroFade { from { opacity: 0; transform: translateY(36px); } to { opacity: 1; transform: none; } }

/* ============ REDUCED MOTION ============ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
  .cine-img { animation: none; transform: none; }
}
